body {
  margin: 0;
  padding: 0;
  font-family: "zen-kaku-gothic-antique", sans-serif;

}

.lp-container {
  max-width: 767px;
  width: 100%;
  margin: 0 auto;
  background-color: #FFF2DA;
  position: relative;
  min-height: 100vh;
  /* 最低でも画面の高さ分は確保 */
  /* 初期色 */
  background-color: var(--gradient-color-1);
  /* アニメーション設定：16秒かけて色が循環 */
  -webkit-animation: bgColorAnimation 16s ease infinite;
  animation: bgColorAnimation 16s ease infinite;

  /* 子要素の配置用（必要に応じて調整してください） */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .lp-container {
    padding-bottom: 130px;
  }
}

/* 画像の下に隙間ができないようにする */
.lp-container img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
}

/* リンクボタンを画像の上に重ねる場合（イメージマップ的な使い方）用クラス */
/* 必要に応じて使用してください */
.link-area {
  position: absolute;
  display: block;
  /* background: rgba(255, 0, 0, 0.3); リンク位置確認用（本番は透明にする） */
  z-index: 10;
}

/* =========================================
CSS変数・リセット・基本設定
========================================= */
:root {
  --color-bg: #F1DCA8;
  --color-brown: #8B5A3C;
  --color-brown-light: #A97558;
  --color-text: #5A3D2B;
  --color-white: #ffffff;
  --color-gray-text: #374151;
  --radius-lg: 24px;
  --spacing-base: 16px;
  /* グラデーションに使用する4色を変数で定義 */
  --gradient-color-1: #F2C69E;
  --gradient-color-2: #E6B778;
  --gradient-color-3: #D7D79B;
  --gradient-color-4: #F4CE82;
  --base-bg-color: #F2C69E;
}


.heading-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.heading-jp {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #894A23;
  margin: 0;
}

/* 英語テキスト「FAQ」の設定 */
.heading-en {
  font-family: "DIN Alternate", "DIN Next", "Oswald", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.3em;
  color: #C8734B;
  margin-top: 8px;
  text-transform: uppercase;
}

/* =========================================
  FAQリストコンポーネント
  ========================================= */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- 質問ボタンエリア --- */
.faq-header {
  width: 100%;
  background-color: var(--color-brown);
  color: var(--color-white);
  padding: 16px 24px 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  transition: border-radius 0.3s ease;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  /* 角丸の変化もアニメーション */
}

/* 開いている時は下の角丸をなくす */
.faq-item.active .faq-header {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.faq-header-content {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 16px;
}

/* Qアイコン */
.q-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-brown-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DIN Alternate", "DINAlternate-Bold", "Barlow", sans-serif;
  font-size: 24px;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.question-text {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.6;
  letter-spacing: 0.025em;
}

@media (min-width: 768px) {
  .question-text {
    font-size: 1rem;
  }
}

/* --- プラス/マイナスアイコン --- */
.toggle-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-left: 8px;
}

.toggle-icon span {
  position: absolute;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  transition: transform 0.3s ease;
}

/* 横棒 */
.toggle-icon .bar-h {
  width: 16px;
  height: 2px;
}

/* 縦棒 */
.toggle-icon .bar-v {
  width: 2px;
  height: 16px;
}

/* 開いている時のアイコン変形 */
.faq-item.active .toggle-icon .bar-v {
  transform: rotate(90deg);
  /* 縦棒を回転させて横棒に重ねる（マイナスに見える） */
  opacity: 0;
  /* あるいは消す */
}

/* --- 回答エリア --- */
.faq-answer {
  background-color: var(--color-white);
  color: var(--color-text);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);

  /* アニメーション用設定 */
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.faq-item.active .faq-answer {
  opacity: 1;
}

.answer-content {
  padding: 24px;
  font-size: 0.875rem;
  line-height: 1.75;
  letter-spacing: 0.025em;
  color: var(--color-gray-text);
  font-family: "Zen Kaku Gothic Antique", sans-serif;
}

/* フッター全体のスタイル */
.site-footer {
  /* 画像から抽出した茶色 (お好みに合わせて変更してください) */
  background-color: #714C34;
  color: #fff;
  padding: 40px 20px;
  /* 上下の余白 */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  /* リンクとコピーライトの間隔 */
}

.footer-links {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.8;
  /* 180% */
  letter-spacing: 0.15em;
  /* 15% */
  text-align: center;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}

.separator {
  margin: 0 1em;
  /* 区切り線の余白 */
  opacity: 0.8;
  font-weight: normal;
}

/* * 下段: コピーライト部分のスタイル
       * フォント: DIN Alternate (代替: Barlow)
       * ウェイト: Bold (700)
       * サイズ: 9px
       * 行送り: 160%
       * 文字詰め: 15%
       */
.footer-copyright {
  font-family: "DIN Alternate", "Barlow", sans-serif;
  font-weight: 700;
  font-size: 9px;
  line-height: 1.6;
  /* 160% */
  letter-spacing: 0.15em;
  /* 15% */
  text-align: center;
}

/* 動画プレイヤーのカスタムスタイル */
.video-container {
  width: 90%;
  height: auto;
  border-radius: 16px;
  /* 角丸の推測値 */
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  background-color: #000;
  margin: 30px auto;
}

.play-button {
  width: 43px;
  height: 43px;
  background-color: #D26E50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;

}

.play-button:hover {
  transform: scale(1.1);
}

/* 再生中はボタンを隠すクラス */
.is-playing .overlay {
  opacity: 0;
  pointer-events: none;
}

.tracking-widest-custom {
  letter-spacing: 0.1em;
  /* 10% */
}

.tracking-wide-custom {
  letter-spacing: 0.05em;
  /* 5% */
}

.leading-relaxed-custom {
  line-height: 1.8;
  /* 180% */
}

/* 点線の下線 */
.border-dashed-custom {
  border-bottom: 1px dashed #E5CDAA;
}

.lesson-text {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
}

/* 吹き出しの三角形 */
.speech-bubble-triangle {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  background-color: #894A23;
  /* メインの茶色と同じ色 */
}

/* --- ボタンのスタイル --- */
.btn-wrap {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.reservation-btn {
  background: linear-gradient(90deg, #DB2B2B 0%, #EB9C13 100%);
  border: none;
  border-radius: 9999px;
  padding: 6px 12px 6px 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, -webkit-filter 0.2s ease;
  transition: transform 0.2s ease, filter 0.2s ease;
  transition: transform 0.2s ease, filter 0.2s ease, -webkit-filter 0.2s ease;

  /* ドロップシャドウ設定 */
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.reservation-btn:hover {
  transform: translateY(-2px);
  -webkit-filter: brightness(1.05);
  filter: brightness(1.05);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.25);
}

.reservation-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

/* アイコンが入る白い円 */
.icon-circle {
  background-color: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

/* 画像アイコンの設定 */
.lp-container .icon-img {
  width: 28px;
  /* サイズ指定 */
  height: auto;
  display: block;
}

/* ボタンテキストの設定 */
.btn-text {
  color: #FFFFFF;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  white-space: nowrap;
}


/* * 4色が順番にフェードイン・フェードアウトしながら切り替わる設定 
         * 0% -> 25% -> 50% -> 75% -> 100%(最初に戻る)
         */
@-webkit-keyframes bgColorAnimation {
  0% {
    background-color: var(--gradient-color-1);
  }

  25% {
    background-color: var(--gradient-color-2);
  }

  50% {
    background-color: var(--gradient-color-3);
  }

  75% {
    background-color: var(--gradient-color-4);
  }

  100% {
    background-color: var(--gradient-color-1);
  }
}

@keyframes bgColorAnimation {
  0% {
    background-color: var(--gradient-color-1);
  }

  25% {
    background-color: var(--gradient-color-2);
  }

  50% {
    background-color: var(--gradient-color-3);
  }

  75% {
    background-color: var(--gradient-color-4);
  }

  100% {
    background-color: var(--gradient-color-1);
  }
}


.img-wrap-pl20 {
  width: 100%;
  height: auto;
  padding-left: 20px;
}

.img-wrap-pd20 {
  width: 100%;
  height: auto;
  padding-right: 20px;
  padding-left: 20px;
}

.img-wrap-pd35 {
  width: 100%;
  height: auto;
  padding-right: 35px;
  padding-left: 35px;
}

.mb30 {
  margin-bottom: 30px;
}

.mb40 {
  margin-bottom: 40px;
}

.mb50 {
  margin-bottom: 50px;
}

.section-reviews {
  padding-top: 20px;
}

.section-service {
  padding-top: 40px;
}

.section-about {
  padding-bottom: 20px;
}

.section-story {
  padding-top: 90px;
  padding-bottom: 30px;
}

.section-message {
  padding-bottom: 30px;
}

.section-features {
  padding-top: 40px;
}

.section-lesson {
  padding-top: 80px;
}

.section-qa {
  padding-top: 30px;
  padding-bottom: 40px;
}

.reservation-btn.schedule-mode {
  /* 指定されたグラデーション: #4C9557(0%) -> #97E03E(100%) */
  background: linear-gradient(90deg, #4C9557 0%, #97E03E 100%);
  box-shadow: 0 4px 10px rgba(76, 149, 87, 0.4);
}

.reservation-btn.schedule-mode .btn-text {
  /* 必要に応じてテキスト調整 */
  font-size: 14px;
  letter-spacing: 0.1em;
  /* 少し広めに */
}



/* ボタンのラッパー */
.btn-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* アイコン画像/SVGのサイズ */
.icon-circle img,
.icon-circle svg {
  width: 24px;
  height: 24px;
  -o-object-fit: contain;
  object-fit: contain;
}

.hero-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
}

.hero-title {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.5);

}

.pb40 {
  padding-bottom: 40px;
}


/* --------------------------------------------------
      スクロール検知・アニメーション共通
      -------------------------------------------------- */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  pointer-events: none;
  visibility: hidden;
}

.fade-in-element.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}


/* --------------------------------------------------
           SP用 追従フッターエリアのレイアウト
           (ユーザー指定CSS + 補完スタイル)
        -------------------------------------------------- */

/* デフォルトは非表示 */
.sp-sticky-footer {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-sticky-footer {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 30px 20px 30px;
    box-sizing: border-box;
  }


  .sticky-header-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 4px;
    gap: 0;
  }

  .sticky-info-text {
    font-size: 13px;
    font-weight: 500;
    color: #A73E2C;
    letter-spacing: 0.05em;
    line-height: 1.5;
    border-bottom: 1px solid #A73E2C;
    padding-bottom: 2px;
    padding-right: 8px;
    white-space: nowrap;
  }

}

.pt40 {
  padding-top: 40px;
  background-color: rgb(255 242 218 / var(--tw-bg-opacity, 1));
}