:root {
  --contentWidth: max(500px, 20vw);
  --mainTxtColor: #2f2f2f;
  --black: #000000;
  --red: #a52929;
  --red2: #E8501B;
  --blue: #17313f;
  --yellow: #f5eaac;
  --white: #fff;
  --gray: #8a8a8a;
  --gold: linear-gradient(to right, #efd794 0%, #fff8e5 100%);
  --radius: 1rem;
}

.wht {
  color: var(--white);
}

.r {
  color: var(--red);
}

.y {
  color: var(--yellow);
}

.b {
  color: var(--blue);
}

.gold {
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bold {
  font-weight: 700;
}

/*----------------------------------------------
リセットCSS
 ---------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  letter-spacing: 0.05em;
}

img {
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: underline;
  color: revert;
}

/*--------------------------------------
html,body,main,content,header
-------------------------------------- */
html {
  font-size: min(1vw, calc(var(--contentWidth) / 100));
  overflow-x: hidden;
}

body {
  width: 100%;
  font-size: 4rem;
  color: var(--mainTxtColor);
  font-weight: 400;
  line-height: 1.7;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
}

#contents {
  background: #fff;
  max-width: var(--contentWidth);
  margin-inline: auto;
  box-shadow: 0 0 20rem 0 rgba(0, 0, 0, 0.3);
}

main {
  overflow: hidden;
}

/* ----------------------
font-size
---------------------- */
.font40 {
  font-size: 40%;
}

.font50 {
  font-size: 50%;
}

.font60 {
  font-size: 60%;
}

.font70 {
  font-size: 70%;
}

.font80 {
  font-size: 80%;
}

.font85 {
  font-size: 85%;
}

.font90 {
  font-size: 90%;
}

.font95 {
  font-size: 95%;
}

.font110 {
  font-size: 110%;
}

.font115 {
  font-size: 115%;
}

.font120 {
  font-size: 120%;
}

.font125 {
  font-size: 125%;
}

.font130 {
  font-size: 130%;
}

.font140 {
  font-size: 140%;
}

.font145 {
  font-size: 145%;
}

.font150 {
  font-size: 150%;
}

.font155 {
  font-size: 155%;
}

.font160 {
  font-size: 160%;
}

.font165 {
  font-size: 165%;
}

.font170 {
  font-size: 170%;
}

.font180 {
  font-size: 180%;
}

.font190 {
  font-size: 190%;
}

.font200 {
  font-size: 200%;
}

.font230 {
  font-size: 230%;
}

.font250 {
  font-size: 250%;
}

/*--------------------------------------
font-family
-------------------------------------- */
.serif {
  font-family: "Noto Serif JP", serif;
}

/*--------------------------------------
text-align
-------------------------------------- */
.txt_c {
  text-align: center;
}

.txt_r {
  text-align: right;
}

.txt_l {
  text-align: left;
}

/*--------------------------------------
margin-bottom
-------------------------------------- */
.bottom1 {
  margin-bottom: 1rem;
}

.bottom2 {
  margin-bottom: 2rem;
}

.bottom3 {
  margin-bottom: 3rem;
}

.bottom4 {
  margin-bottom: 4rem;
}

.bottom5 {
  margin-bottom: 5rem;
}

.bottom6 {
  margin-bottom: 6rem;
}

.bottom7 {
  margin-bottom: 7rem;
}

.bottom8 {
  margin-bottom: 8rem;
}

.bottom9 {
  margin-bottom: 9rem;
}

.bottom10 {
  margin-bottom: 10rem;
}

.bottom12 {
  margin-bottom: 12rem;
}

.bottom14 {
  margin-bottom: 14rem;
}

.bottom15 {
  margin-bottom: 15rem;
}

.bottom16 {
  margin-bottom: 16rem;
}

.bottom20 {
  margin-bottom: 20rem;
}

.middle {
  margin: 6rem 0;
}

.space {
  letter-spacing: -0.1em;
}

/*--------------------------------------
line-height
-------------------------------------- */
.lh_11 {
  line-height: 1.1;
}

.lh_12 {
  line-height: 1.2;
}

.lh_13 {
  line-height: 1.3;
}

.lh_14 {
  line-height: 1.4;
}

.lh_15 {
  line-height: 1.5;
}

.b {
  font-weight: 600;
}

.dash {
  letter-spacing: -3px;
}

/*--------------------------------------------------
 Section
-------------------------------------------------- */
section {
  padding: 14rem 0;
  position: relative;
}

.sub_head {
  font-size: 6.5rem;
  margin-bottom: 6rem;
  line-height: 1.5;
  text-align: center;
  font-weight: 700;
}

.lead {
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.sec_inner {
  padding: 0 5rem;
}

video {
  width: 100%;
}

/* ルビ */
ruby[data-ruby] rt {
  display: none;
}

ruby[data-ruby] {
  position: relative;
  display: inline-block;
}

ruby[data-ruby]::after {
  content: attr(data-ruby);
  position: absolute;
  transform: translate(-50%, -2rem);
  display: block;
  left: 50%;
  top: 0;
  white-space: nowrap;
  font-size: 2rem;
  letter-spacing: 0;
}

/*--------------------------------------
arrow_head
 --------------------------------------*/
.arrow_head {
  background: var(--blue);
  padding: 16rem 5rem 0;
  color: #fff;
  position: relative;
  margin-bottom: 12rem;
}

.arrow_head::after {
  content: "";
  width: 100%;
  height: 10rem;
  background: var(--blue);
  position: absolute;
  display: inline-block;
  bottom: -9.9rem;
  left: 0;
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/*----------------------------------------------
注釈
 ---------------------------------------------- */
.notice {
  padding-top: 4rem;
  font-size: 2.4rem;
  font-weight: 400;
  color: #8a8a8a;
  letter-spacing: 1px;
}

.notice li {
  position: relative;
  padding-left: 3rem;
  display: inline-block;
}

.notice li::before {
  content: "※";
  position: absolute;
  left: 0;
}

/*------------------------------------------------
カウントダウンタイマー
--------------------------------------------------*/
#scheader {
  z-index: 100;
  position: sticky;
  top: 0;
  width: 100%;
  font-size: 3.5rem;
  font-weight: bold;
  text-align: center;
  background: var(--blue);
  color: #fff;
  padding: 2rem 0;
  line-height: 1;
}

#scheader .countdown {
  padding: 1rem 0;
  margin: 0 auto;
  line-height: 1.2;
  /* Retained specific line-height */
  font-family: Verdana, Roboto, "Droid Sans", "游ゴシック", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", sans-serif, monospace;
  letter-spacing: 0;
}

#scheader .countdown .timer_num {
  display: inline-block;
  padding: 0 0.4rem;
  margin: 0 0.4rem;
  border-radius: 3px;
  color: var(--black);
  font-size: 150%;
  background: #fff;
}

/*--------------------------------------
form
-------------------------------------- */
.form {
  background: var(--blue);
  position: relative;
  color: #fff;
  letter-spacing: 0;
}

.form.form_arrow::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  border-top: 7rem solid transparent;
  border-left: min(calc(var(--contentWidth) / 2), 50vw) solid var(--formColor);
  border-right: min(calc(var(--contentWidth) / 2), 50vw) solid var(--formColor);
  border-bottom: none;
  top: calc(-7rem + 1px);
  left: 0;
}

.form form {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr auto;
  gap: 3rem;
}

header .form form {
  grid-template-columns: 12fr 6fr;
  grid-template-rows: 1fr auto;
  gap: 0 2rem;
}

.form_p {
  font-size: 3.5rem;
  margin-bottom: 3rem;
  text-align: center;
  letter-spacing: 0;
}

.form_prev {
  margin: 0rem 0 5rem;
  font-size: 3.7rem;
  font-weight: bold;
  text-align: center;
}

.form_box {
  position: relative;
}

.form_input {
  position: relative;
  background: #fff;
  width: 100%;
  border: 2px solid #ccc;
  border-radius: 2rem;
  color: #111111;
  text-align: left;
  padding: 0.5em 0.5em 0.5em 10rem;
  font-size: 4.5rem;
  height: 100%;
}

header .form_prev {
  margin: 0rem 0 3rem;
}

.form_must {
  position: absolute;
  left: 3rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  background: var(--red2);
  color: #fff;
  font-size: 3rem;
  text-align: center;
  z-index: 10;
  width: auto;
  padding: 0.4em 0.4em 0.45em 0.4em;
  font-size: 2.5rem;
  line-height: 1.2;
}

.form_label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: ease 0.3s;
  pointer-events: none;
  color: #aaa;
  z-index: 10;
  font-size: 3.5rem;
  left: 11rem;
}

header .form_label {
  left: 9rem;
}

.form_input:focus+.form_label,
.form_input:not(:placeholder-shown)+.form_label {
  top: 15%;
  font-size: 3rem;
  color: #3377ff;
}

.form_btn button {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffd814;
  border: 2.6px solid #ffef9e;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: bold;
  color: #0f1111;
  text-align: center;
  font-size: 5rem;
  padding: 2.5rem;
}

.form_btn button .form_btn_icon {
  position: absolute;
  top: 50%;
  right: 4.5rem;
  width: 5.5rem;
  height: 5.5rem;
  background: #0f1111;
  border-radius: 50%;
  transform: translateY(-50%);
}


.form_btn button .form_btn_icon::after {
  content: "";
  position: absolute;
  top: 51%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 1.1rem 0 1.1rem 1.8rem;
  border-color: transparent transparent transparent #ffd814;
}


.form_btn button:hover {
  filter: brightness(1.2);
}

.form_notice p {
  font-size: 2.5rem;
  text-align: center;
  margin-top: -1rem;
}

.form_merit {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  text-align: center;
}

.form_merit p {
  font-size: 3.5rem;
  width: 32%;
  margin: 1rem 0rem;
  padding: 1rem;
  border: 1px dotted #fff;
  border-radius: 2rem;
  line-height: 1.3;
  align-items: center;
  justify-content: center;
}

.form_inner {
  padding: 7rem 5rem;
}

/*------------------------------------------------
header_form
--------------------------------------------------*/
header .form_label {
  font-size: 2.8rem;
}

header .form_btn button {
  font-size: 3.8rem;
}

header .form_btn button {
  padding-right: 5.5rem;
  line-height: 0.5;
  padding-top: 2rem;
}

header .form_input {
  padding: 0.8em 0.5em 0.8em 10rem;
  font-size: 3.8rem;
}

header .form_btn button .form_btn_icon {
  width: 4rem;
  height: 4rem;
  right: 1.5rem;
}

header .form_btn button .form_btn_icon::after {
  border-width: .8rem 0 .8rem 1.4rem;
}

.ui-autocomplete {
  position: absolute !important;
  background: #fff;
  list-style: none;
  border-radius: 1rem;
  overflow: hidden;
  z-index: 100;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.ui-autocomplete li {
  border-bottom: 1px solid #ccc;
  padding: 1rem;
  font-family: inherit !important;
  text-align: left;
  color: #111111;
}

.ui-autocomplete li:hover,
.ui-state-focus {
  background: #ff7;
}

.ui-helper-hidden-accessible {
  display: none !important;
}

.merit_icon {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  text-align: center;
}

.form_text-wrap {
  font-size: 3rem;
  margin: 1rem 0rem;
  padding: .8rem 1rem 1rem;
  width: 35%;
  border: 1px dotted #fff;
  border-radius: 2rem;
  line-height: 1.3;
}

.merit_icon .form_text-wrap:nth-child(2) {
  width: 25%;
}

.form_icon {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  align-items: stretch;
  /* 子要素の高さを揃える */
}

.form_icon p {
  font-weight: bold;
  font-size: 3.5rem;
  margin: 1rem 0;
  padding: 1rem;
  width: 49%;
  /* 横幅の調整 */
  border: 1px dotted #fff;
  border-radius: 2rem;
  text-align: center;
  display: flex;
  /* コンテンツを中央揃え */
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  /* パディング込みで幅を調整 */
}

/* ----------------------------------------------------
footer
--------------------------------------------------- */
footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: #dddddd;
  color: #707070;
  padding: 5rem;
}

#footer_logo {
  text-align: center;
  width: 65%;
  margin: 0 auto;
}

#footer_info p {
  font-size: 2rem;
  text-align: center;
}

#footer_info ul {
  width: fit-content;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 2rem;
}

#footer_info ul li a {
  display: block;
  padding: 0.5em;
  font-size: 3rem;
  text-align: center;
  color: inherit !important;
  text-decoration: none;
}

#footer_info p a {
  color: inherit !important;
  text-decoration: none;
}

/* ----------------------------------------------------
scfooter
--------------------------------------------------- */
#scfooter {
  display: none;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2rem);
  position: sticky;
  bottom: 0;
  max-width: var(--contentWidth);
  margin-inline: auto;
  z-index: 100;
}

#scfooter .form {
  max-width: var(--contentWidth);
  padding: 3rem 5rem;
  margin-inline: auto;
  background: transparent;
}

#scfooter .form form {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 0 2rem;
}

#scfooter .form_input {
  padding: 0.5em 0.5em 0.5em 10rem;
  font-size: 4rem;
  height: 100%;
}

#scfooter .form_must {
  width: auto;
  padding: 0.5em;
  font-size: 2.5rem;
  line-height: 1.2;
  left: 2rem;
}

#scfooter .form_label {
  font-size: 3rem;
  left: 8.5rem;
}

#scfooter .form_input:focus+.form_label,
#scfooter .form_input:not(:placeholder-shown)+.form_label {
  top: 20%;
  font-size: 2rem;
}

#scfooter .form_btn button {
  font-size: 3.8rem;
  line-height: 1.5;
  padding-right: 5.5rem;
  padding-bottom: 2.8rem;
}

#scfooter .form_btn button .form_btn_icon {
  width: 4rem;
  height: 4rem;
  right: 1.5rem;
}

#scfooter .form_btn button .form_btn_icon::after {
  border-width: .8rem 0 .8rem 1.4rem;
}