@charset "utf-8";

html {
  font-size: min(1vw, calc(var(--contentWidth) / 100));
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

.pb_none {
  padding-bottom: 0 !important;
}
.box-shadow{
  filter: drop-shadow(0px 15px 15px rgba(0,0,0,0.3));
}

img {
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: underline;
  color: revert;
}

ruby {
  ruby-align: center;
}

rt {
  font-size: 0.5em;
  line-height: 1;
}

.txt_ib {
  display: inline-block;
  padding: 0 1rem;
}

.tilt-5 {
  transform: rotate(-5deg);
  position: relative;
  text-align: center;
}

.b900 {
  font-weight: 900;
}

#contents {
  background: #fff;
  max-width: var(--contentWidth);
  margin-inline: auto;
  box-shadow: 0 0 20rem 0 #00000059;
}
/* 斜め吹き出し */
.slash {
    position: relative;
    text-align: center;
}

.slash_inner {
    display: inline-block;
    position: relative;
    padding: 0 10rem;
}

.slash_inner::before, .slash_inner::after {
    content: "";
    background-color: var(--black);
    height: 100%;
    width: 2px;
    position: absolute;
    top: 10px;
}
.slash_inner::before {
    left: 20px;
    transform: rotate(-25deg);
}

.slash_inner::after {
    right: 20px;
    transform: rotate(25deg);
}

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;
  /* 拡大縮小の基準点 */
}

ul.list li {
  position: relative;
  padding-left: 8rem;
  /* チェックボックス分の余白 */
  margin: 1rem;
}

/* 枠（チェックボックスの箱） */
ul.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  transform: translateY(-50%);
  width: 1em;
  height: 1em;
  border: 2px solid var(--red);
  border-radius: 2px;
  background: var(--red);
}

/* チェックマーク */
ul.list li::after {
  content: "";
  position: absolute;
  left: 0.3em;
  top: 0.85em;
  transform: translateY(-60%) rotate(45deg);
  width: 0.4em;
  height: 0.65em;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
}

ul.list.black li::before {
  border: 2px solid var(--gray);
  border-radius: 2px;
  background: var(--gray);
}

/* 枠（チェックボックスの箱） */
ul.list.list_gold li::before {
  border: 2px solid var(--gray);
  background: var(--gray);
}

ul.list_circle li {
  position: relative;
  padding-left: 16px;
  /* チェックボックス分の余白 */
  margin: 1rem 0;
}

ul.list_circle li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 100px;
  background: var(--blue4);
}


/*------------------------------------------------
カウントダウンタイマー
--------------------------------------------------*/
#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: 10rem 0;
  position: relative;
}

.img_arrow {
  width: 60%;
  margin: 0 auto;
}

.arrow_txt {
  text-align: center;
  position: relative;
  top: 5rem;
}

.img30 {
  width: 30%;
}

.img40 {
  width: 40%;
}

.img50 {
  width: 50%;
}

.img70 {
  width: 70%;
}

.img80 {
  width: 80%;
}

.sec_inner {
  padding: 0 5rem;
}

video {
  width: 100%;
}

/* Form
------------------------- */

/* Form
------------------------- */
.form {
  background: linear-gradient(90deg, #000000, #22242C, #000000);
  color: #fff;
  position: relative;
}

.form_inner {
  padding: 5rem;
}

.form.detail .form_inner {
  padding-top: 3rem;
}

.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: 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: 5rem 0.5rem 5rem 10rem;
  font-size: 4rem;
  height: 100%;
}


.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;
}

.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: 11rem;
}

.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;
  margin-top: 2rem;
}

/* ↓↓↓Bパターンフォームレイアウト↓↓↓ */
.form.pattern-b form{
  display: block;
}
.form.pattern-b .form_btn button {
  margin-top: 3rem;
  padding: 3rem;
}
.form.pattern-b .form_btn button .form_btn_icon::after{
  right: 5rem;
}

/* ↑↑↑Bパターンフォームレイアウト↑↑↑ */

.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_lead {
  font-size: 90%;
  text-align: center;
  margin-bottom: 2rem;
}

.form_text-wrap {
  font-size: 3rem;
  padding: 2rem 4rem;
  width: 49%;
  border: 1px dotted #fff;
  border-radius: 2rem;
  line-height: 1.3;
}

.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;
  /* パディング込みで幅を調整 */
}

/* ===== 二重矢印 上下アニメ（div版） ===== */
.scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-hint_inner {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  gap: 0;
  /* ← ここを詰める（0〜4pxくらいで調整） */
  pointer-events: none;
  color: var(--red);
  animation: hintMove 2s ease-in-out infinite;
}

/* 矢印1本 */
.scroll-hint .chev {
  width: 30px;
  height: 30px;
  border-right: 6px solid currentColor;
  border-bottom: 6px solid currentColor;
  transform: rotate(45deg);
  /* 回転は子に集約 */
}

.scroll-hint .chev:nth-of-type(2) {
  margin-top: -30px;
}

/* 上下移動＋フェードは親だけ */
@keyframes hintMove {
  0% {
    transform: translateY(-20px);
  }

  50% {
    transform: translateY(-5px);

  }

  100% {
    transform: translateY(-20px);
  }
}

header h1{
  position: relative;
}

#head2 video{
  position: absolute;
  width: 90%;
  left: 5%;
  top: 36rem;
}

#head4 video{
  position: absolute;
  width: 90%;
  left: 5%;
  bottom: 10rem;
}

/*css変更*/
/* ----------------------------------------------------
intro_special
--------------------------------------------------- */
#intro_special {
  background-image: url(../img/bg_yellow.jpg);
  background-size: cover;
  padding-bottom: 18rem;
}

/* ----------------------------------------------------
present
--------------------------------------------------- */
#present {
  padding-top: 57rem;
  background-image: url(../img/bg_silver.jpg);
  background-size: cover;
}
#present .title{
  position: absolute;
  top: -11rem;
}
/* ----------------------------------------------------
#method
--------------------------------------------------- */
#method {
  background-color: #E5F6FF;
  padding-top: 0;
  padding-bottom: 3rem;
}

#method .sub_head {
  background: linear-gradient(to right, #0878D5, #0F1D4E);
  color: #fff;
  padding: 3rem 0;
  margin-bottom: 5rem;
}

/* 共通のスタイル */
.triangle {
  background: linear-gradient(to top, #8c1d2d, rgb(140, 29, 45, 0) 100%);
  height: 60px;
  width: 200px;
  margin-left: auto;
  margin-right: auto;
}

/* 下三角形 */
.triangle-bottom {
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

/* ----------------------------------------------------
case
--------------------------------------------------- */
#case {
  position: relative;
  padding-top: 0;
  z-index: 0;
}

.case_ba_bg {
  color: var(--white);
  text-align: center;
  padding: 3rem 1rem;
  line-height: 1.3;
  font-weight: bold;
}

.case_box {
  background-color: #fff;
  border: 1px solid #223092;
  border-radius: 5rem;
  overflow: hidden;
  margin-bottom: 10rem;
}

.case_box:last-child {
  margin-bottom: 0;
}

.case_title {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(to bottom, #0878D5, #0F1D4E);
  color: #fff;
  font-size: 5rem;
}

.case_box .sec_inner {
  margin: 3rem 5rem 8rem;
  padding: 0;
}

#case .case_box .img_arrow {
  margin-top: 3rem;
}

.ac_area {
  display: none;
}

/* フォームボタンの文言・アイコン */
.cta_btn:after {
  content: '+';
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5rem;
}

.cta_btn.opened {
  border: 1px solid #333;
  color: #333;
}

.cta_btn.opened:before {
  content: '閉じる';
  font-size: 4.5rem;
  font-weight: 500;
}

.cta_btn.opened:after {
  content: 'ー';
  font-size: 4rem;
}

.cta_btn span {
  display: block;
  font-size: 4.5rem;
  font-weight: 500;
}

.cta_btn.opened span {
  display: none;
}

.cta_btn {
  display: block;
  width: 100%;
  background: none;
  color: var(--black);
  line-height: 1.2;
  padding: 3rem 0;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  z-index: 10;
  font-family: inherit;
  border-radius: 40px;
  border: 1px solid var(--black);
  text-align: center;
}

.cta_btn:hover {
  filter: brightness(1.3);
}

.box {
  padding: 5rem 5%;
}

.balloon1 {
  position: relative;
  display: block;
  margin: 1.5em 0;
  padding: 3rem 1rem;
  min-width: 120px;
  max-width: 100%;
  font-size: 16px;
  background: #BDC0CC;
  text-align: center;
  line-height: 1.3;
}

.balloon1:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #BDC0CC;
}

.balloon1 p {
  margin: 0;
  padding: 0;
}

.balloon_up {
  position: relative;
  display: inline-block;
  padding: 1.8rem 8rem;
  background: #d9f2ff;
  /* 吹き出しの色 */
  border-radius: 2rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
  font-size: 4.3rem;
  margin-top: 5rem;
}

/* 上の三角 */
.balloon_up::before {
  content: "";
  position: absolute;
  top: -3.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 2.2rem solid transparent;
  border-right: 2.2rem solid transparent;
  border-bottom: 3.2rem solid #d9f2ff;
}

/* ----------------------------------------------------
#cv_middle
--------------------------------------------------- */
#cv_middle {
  padding: 0;
}

/* ----------------------------------------------------
#profile
--------------------------------------------------- */
#profile {
  padding-top: 0;
  background: var(--blue3);
}

.auto-slide {
  height: 220px;
  width: 100%;
  overflow: hidden;
  background-image: url("../img/slide.jpg");
  /* 5808x300 */
  background-repeat: no-repeat;

  /* 縦は220pxにフィット、横は実寸比で伸びる */
  background-size: auto 220px;

  animation: bgSlide 100s linear infinite;
}

/*
  -2808px は
  (表示後の実効横幅 = 5808 * (220 / 300) ≒ 4259px)
  → 想定表示幅との差分をざっくり見た安全値
  ※ viewport によって最適値は前後する
*/
@keyframes bgSlide {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -2808px 0;
  }
}

/* 動きが苦手な人向け配慮 */
@media (prefers-reduced-motion: reduce) {
  .auto-slide {
    animation: none;
  }
}

#profile .box {
  box-shadow: 0 0 20px #176DD5;
  text-align: center;
  font-weight: bold;
  font-size: 110%;
  line-height: 1.5;
  position: relative;
  bottom: 30px;
  padding: 3rem 0;
}

#profile .box span {
  display: inline-block;
  line-height: 1;
}

#profile .notice {
  padding-top: 0;
}

/* ----------------------------------------------------
#about
--------------------------------------------------- */
#about {
  padding-top: 0;
  background-image: linear-gradient(180deg, #000000 0%, #5E4505 100%);
}

#about .box {
  border: 1px solid #75580C;
  padding: 0;
}

#about .box .bg_black {
  display: flex;
}

#about .box .label {
  background-image: linear-gradient(45deg, #75580C 0%, #3E2D00 100%);
  padding: 0;
  color: var(--white);
  text-align: center;
  line-height: 1;
  font-size: 80%;
  width: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-weight: bold;
}

#about .box h3 {
  background: #000;
  color: var(--white);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 200%;
  width: calc(100% - 85px);
  font-weight: bold;
  line-height: 1.2
}

#about .bg_wht {
  padding: 5rem 5%;
}

#about .lead {
  text-align: center;
  font-size: 130%;
  color: #5E4505;
  font-weight: bold;
  line-height: 1.4;
}

/* ----------------------------------------------------
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 5rem 30rem;
}

#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: fixed;
  /* ← sticky から変更 */
  left: 0;
  right: 0;
  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: 1em 0.5em 1em 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;
}

/* ===== パネル（フォームの上に固定表示・位置は動かさない） ===== */
.scfooter_ac {
  position: fixed;
  left: 0;
  right: 0;
  max-width: var(--contentWidth);
  margin-inline: auto;

  background: var(--red);
  z-index: 50;

  /* フォームの高さぶん持ち上げ */
  bottom: var(--scfooter-offset, 0px);

  /* ふわっと用 */
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .25s ease, visibility .25s ease;
}

/* 閉じ：ふわっと消える */
.scfooter_ac.is-close {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 中身 */
.scfooter_ac .scfooter_ac_inner {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 3rem;
  font-size: 90%;
  line-height: 1.4;
  padding: 2rem 5rem;
  align-items: center;
}

/* ===== トグルボタン ===== */
.scfooter_toggle {
  position: fixed;
  right: 16px;
  height: auto;
  padding: 1rem 3rem;
  border-radius: 6px 6px 0 0;

  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;

  display: grid;
  place-items: center;

  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;

  z-index: 102;
  transition: bottom .25s ease, opacity .2s ease;

  /* 閉じている時：フォーム直上 */
  bottom: calc(var(--scfooter-offset, 0px));
  background-color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

/* 開いている時：パネル右上へ（パネル高さ分だけ上がる） */
.scfooter_toggle.is-open {
  bottom: calc(var(--scfooter-offset, 0px) + var(--scfooter-panel-h, 0px) - 1px);
  background-color: var(--red);
}

/* 動きが苦手な人向け */
@media (prefers-reduced-motion: reduce) {

  .scfooter_ac,
  .scfooter_toggle {
    transition: none;
  }
}

/* 矢印共通 */
.scfooter_toggle .toggle_arrow {
  width: 8px;
  height: 8px;
  box-sizing: border-box;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transition: transform .25s ease;
}

/* 閉じている時：▼（下向き） */
.scfooter_toggle:not(.is-open) .toggle_arrow {
  transform: rotate(-135deg) translateY(-1.5px);
}

/* 開いている時：▲（上向き） */
.scfooter_toggle.is-open .toggle_arrow {
  transform: rotate(45deg) translateY(1.5px);
}

.scfooter_toggle .toggle_arrow {
  transform-origin: 50% 50%;
}