@charset "utf-8";

@font-face {
  font-family: 'Noto Sans JP';
  src: url('font/NotoSansJP-VariableFont_wght.woff2') format('woff2'),
    url('font/NotoSansJP-VariableFont_wght.woff') format('woff'),
    url('font/NotoSansJP-VariableFont_wght.eot') format('eot'),
    url('font/NotoSansJP-VariableFont_wght.ttf') format('truetype');
}

@font-face {
  font-family: 'Noto Serif JP';
  src: url('font/NotoSerifJP-VariableFont_wght.woff2') format('woff2'),
    url('font/NotoSerifJP-VariableFont_wght.woff') format('woff'),
    url('font/NotoSerifJP-VariableFont_wght.eot') format('eot'),
    url('font/NotoSerifJP-VariableFont_wght.ttf') format('truetype');
}


html {
  font-size: min(1vw, calc(var(--contentWidth) / 100));
  overflow-x: hidden;
}

body {
  width: 100%;
  background-color: #f9f9f9;
  font-size: 4.5rem;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-attachment: fixed;
  color: var(--black);
  font-weight: 500;
  line-height: 1.6;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
}

* {
  box-sizing: border-box;
}

img {
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: underline;
  color: revert;
}

#contents {
  background: #fff;
  max-width: var(--contentWidth);
  margin-inline: auto;
  box-shadow: 0 0 20rem 0 #00000059;
}

main {
  overflow: hidden;
}

.l-header-info {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: calc(50% - 250px);
  display: grid;
  place-content: center stretch;
}

.l-header-logo {
  width: 50%;
  margin: 0 auto;
}

header {
  background: var(--blue2);
}

.header_mv {
  position: relative;
}

.header_mv video {
  position: absolute;
  bottom: 0;
  left: 0;
  transform-origin: center center;
  /* 拡大縮小の基準点 */
}

/* head1 用 */
.header_mv.head1 video {
  bottom: 2rem;
  left: -11rem;
  transform: scale(0.74);
  /* 等倍 */
}

/* head2 用 */
.header_mv.head2 video {
  bottom: 6.5rem;
  left: 0;
  transform: scale(0.91);
  /* 20%拡大 */
}

/* head3 用 */
.header_mv.head3 video {
  bottom: 16rem;
  left: 0;
  transform: scale(0.8);
  /* 80%に縮小 */
}


.r_grad {
  background-image: linear-gradient(90deg, #a9211a 0%, #ca2035 50%, #a9211a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/*------------------------------------------------
カウントダウンタイマー
--------------------------------------------------*/
#scheader {
  z-index: 100;
  /* Updated to higher z-index */
  position: sticky;
  /* Changed from fixed to sticky */
  top: 0;
  /* Added for sticky positioning */
  width: 100%;
  font-size: 3.5rem;
  font-weight: bold;
  /* Removed duplicate declaration */
  text-align: center;
  background: var(--black);
  /* Updated to use variable */
  color: #fff;
  padding: 2rem 0;
  /* Added for consistent spacing */
  line-height: 1;
  /* Unified line-height */
}

#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;
}

#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;
}

/*--------------------------------------------------
 Section
-------------------------------------------------- */
section {
  padding: 12rem 0;
  position: relative;
}

.sub_head {
  font-size: 6rem;
  line-height: 1.5;
  text-align: center;
  font-weight: 700;
}

.img_arrow {
  width: 60%;
  margin: 0 auto;
  margin-top: 3rem;
}

.sec_inner {
  padding: 0 5rem;
}

video {
  width: 100%;
}

/* Form
------------------------- */

/* Form
------------------------- */
.form {
  background: #29211E;
  color: #fff;
  position: relative;
}

.form_inner {
  padding: 8rem 5rem;
}

.form.head2 {
  color: #111111;
}

.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: 2fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 0 2rem;
}

.form_prev {
  margin: 0rem 0 3rem;
  font-size: 4rem;
  font-weight: bold;
  text-align: center;
}

.form_prev p {
  line-height: 1.3;
}

.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: 2.5rem 0.5rem 2.5rem 10rem;
  font-size: 4rem;
  height: 100%;
}

header .form_prev {
  margin: 0rem 0 3rem;

}

header .merit_icon {
  margin: 0rem 0 3rem;
}

header .form_inner {
  padding: 6rem 5rem 6rem;
}

.form_must {
  position: absolute;
  /* width: 10rem; */
  left: 3rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 3rem;
  text-align: center;
  z-index: 10;
  width: auto;
  padding: 1rem;
  font-size: 2.5rem;
  line-height: 1.2;
}

header .form_label {
  left: 11rem;
}

.form_label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: ease 0.3s;
  pointer-events: none;
  color: #aaa;
  z-index: 10;
  font-size: 3rem;
  left: 12rem;
}

.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: #00ad48;
  border: 2px solid #7dff88;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: bold;
  color: #fff;
  text-align: center;
  font-size: 4rem;
  line-height: 1.3;
  padding-right: 0.5em;
}

.form_btn button .form_btn_icon::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0.6em;
  height: 0.6em;
  border-top: 0.5rem solid #fff;
  border-right: 0.5rem solid #fff;
  transform: translate(0.1em, -50%) rotate(45deg);
  filter: drop-shadow(0 2px 3px #00865c);
}

.form_btn button:hover {
  filter: brightness(1.2);
}

.form_notice p {
  font-size: 2.5rem;
  padding-top: 0.5rem;
  text-align: center;
}

header .form_notice p {
  padding-top: 2.5rem;
}

.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: 3rem;
  text-align: center;
}

.form_text-wrap {
  font-size: 3rem;
  margin: 1rem 0rem;
  padding: 1rem 1rem .7rem;
  width: 32% !important;
  border: 1px dotted #fff;
  border-radius: 2rem;
  line-height: 1.3;
}

.head2 .form_text-wrap {
  border: 1px dotted #111111;
}

.merit_icon .form_text-wrap:nth-child(2) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.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;
  /* パディング込みで幅を調整 */
}

/*css変更*/
/* ----------------------------------------------------
intro
--------------------------------------------------- */
#intro {
  padding-top: 8rem;
  background-color: #ffffff;
}

#intro .sub_head {
  margin-bottom: 2rem;
}

#intro .notice {
  padding-top: 0;
}

/* ----------------------------------------------------
voice
--------------------------------------------------- */
#voice {
  background-color: #333;
  background-image: url('../img/bg_bk.png');
  /* 画像のパスを指定 */
  background-repeat: repeat;
  /* 画像をタイル状に繰り返す */
  background-size: auto;
  /* 画像の実寸サイズで表示 */
}

.voice_wrap {
  background-color: #fff;
  /* 画像のパスを指定 */
  background-repeat: repeat;
  /* 画像をタイル状に繰り返す */
  background-size: auto;
  /* 画像の実寸サイズで表示 */
  padding: 7rem 5rem;
  border-radius: 5rem;
}

.voice_box {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin-bottom: 5rem;
  align-items: center;
}

.voice_img {
  width: 40%;
}

.voice_txt {
  width: 40%;
  text-align: center;
  border-bottom: 2px solid #222222;
  padding-bottom: 2rem;
}

.voice_bf {
  background-color: #2b58c82a;
  padding: 4rem 3rem 5rem;
  margin-bottom: 5rem;
}

.voice_af {
  background-color: #e3655e24;
  padding: 4rem 3rem 5rem;
  margin-bottom: 5rem;
}

#voice .notice {
  color: #fff;
}

.voice_deco {
  position: relative;
}

.voice_deco::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5rem;
  height: 5.5rem;
  background: url(../img/voice1.png) no-repeat center bottom;
  background-size: 90% auto;
  opacity: 0.4;
  pointer-events: none;
}

.balloon-up {
  position: relative;
  display: inline-block;
  padding: 3rem;
  background: #fff;
  border: 0.5rem solid #ccc;
  /* 枠線太め */
  border-radius: 1rem;
}

/* 大きめ正三角形 + 枠線 */
.balloon-up::before,
.balloon-up::after {
  content: "";
  position: absolute;
  left: 10rem;
  /* 角の横位置 */
  top: -3.5rem;
  /* 角の高さに合わせて上にずらす */
  border-left: 3rem solid transparent;
  border-right: 3rem solid transparent;
}

.balloon-up::before {
  border-bottom: 3.5rem solid #ccc;
  /* 枠線用 */
}

.balloon-up::after {
  margin-top: 0.9rem;
  /* 枠線の厚み分 */
  border-bottom: 3rem solid #fff;
  /* 背景色 */
}


/* ----------------------------------------------------
case
--------------------------------------------------- */
#case {
  background-image: url('../img/bg_case.jpg');
  /* 画像パス */
  background-repeat: no-repeat;
  /* 繰り返さない */
  background-position: center center;
  /* 中央に配置 */
  background-size: cover;
  padding-bottom: 0;
}

.balloon {
  position: relative;
  display: inline-block;
  max-width: 75%;
  padding: 1rem 2rem 1.2rem;
  color: #ffed65;
  font-weight: bold;
  text-align: center;
  border-bottom: 3px solid #ffed65;
  background: transparent;
  border-radius: 0;
}

/* 吹き出しの「しっぽ」部分 */
.balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #ffed65;
}


/* ----------------------------------------------------
merit
--------------------------------------------------- */
#merit {
  background-color: #ffffff;
  background-image: url("https://www.transparenttextures.com/patterns/hexellence.png");
  /* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */
  padding-top: 0;
}

.merit_title {
  position: relative;
  top: -4rem;
  margin: 0 auto;
  background: #397c40;
  border-radius: 38px;
  text-align: center;
  font-size: 4.5rem;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.2;
  padding: 2rem 7rem;
  width: fit-content;
}

.merit_box {
  background-color: #fff;
  border-radius: 3rem;
  padding: 0 5rem 5rem;
  margin: 5rem 0 14rem;
  position: relative;
  box-shadow: 10px 10px 20px 0px #4e4e4e2e;
}

.merit_box:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------------------
profile
--------------------------------------------------- */
#profile {
  background-color: #fffcf9;

  padding: 12rem 0;
}

ul {
  list-style: none;
}

/*------------------------
  プロフィールボックス
------------------------*/
#profile {
  background-color: #1D1D1F;
  color: #fff;
}

.img_wrapper {
  padding: 0 8.2rem;
}

.img_box img {
  border-radius: 3rem;
}

h3 {
  font-size: 5.8rem;
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-feature-settings: 'palt'1;
  font-feature-settings: 'palt'1;
  padding: 3rem 1rem 0;
  line-height: 1.3;
  font-weight: bold;
  color: #AAAAAA;
}


.img50 {
  width: 50%;
  margin: 0 auto;
  padding: 4rem 0 2rem;
  ;
}

.img80 {
  width: 80%;
  margin: 0 auto;
}

.bg_gl {
  background-color: #eaeaea;

}

/* ----------------------------------------------------
reco
--------------------------------------------------- */
#reco {
  background: url(https://www.transparenttextures.com/patterns/az-subtle.png) rgb(54, 34, 4);
  padding-bottom: 8rem;
}

#reco .notice {
  color: #ddd;
}

/* ----------------------------------------------------
Information
--------------------------------------------------- */
#information {
  padding: 10rem 0;
  background: #fff;
  color: #000;
}

#information p {
  font-size: 3.9rem;
  font-weight: bold;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

#information ul {
  font-size: 3rem;
  line-height: 1.5;
}

#information ul li {
  text-align: justify;
  text-indent: -1em;
  padding: 0.2em 0 0.2em 1em;
}

#information ul li::before {
  content: "●";
}

/* 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;
}

#scfooter .form_label {
  font-size: 3rem;
  left: 10rem;
}

#scfooter .form_input:focus+.form_label {
  top: 20%;
  font-size: 2rem;
}

#scfooter .form_btn button {
  font-size: 4rem;
  line-height: 1.3;
  padding-right: 0.5em;
}

/*アニメーション*/
/* ----------------------------------------------------
ふわっと表示
------------------------------------------------------ */
.scroll-up {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: all 1s;
}

.scroll-up.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

.rela {
  position: relative;
}

.reco_deco::before,
.reco_deco::after {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 0rem;
  width: 10rem;
  /* 画像の横幅に合わせて調整 */
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.reco_deco::before {
  left: 5rem;
  background-image: url("../img/reco_l.png");
  /* ←＼の画像パスに置き換えてください */
}

.reco_deco::after {
  right: 5rem;
  background-image: url("../img/reco_r.png");
  /* ←／の画像パスに置き換えてください */
}