/*
Theme Name: KDI
Theme URI: https://kdi-fukuoka.jp
Description: KidsDuo International 福岡アイランドシティ LP
Version: 1.0
Author: KSK
*/

/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
  --green-heading: #226941;
  --teal-label: #00929a;
  --orange-cta: #ff9702;
  --orange-label: #f09558;
  --bg-fv: #eff4f8;
  --text-body: #5c707e;
  --text-dark: #1a1a1a;
  --black: #000000;
  --white: #ffffff;
  --font-jp: "Zen Maru Gothic", sans-serif;
  --header-h: 80px;
}

/* =============================================
     Reset / Base
     ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-jp);
  color: var(--text-body);
  background-color: var(--bg-fv);
  line-height: 1.8;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* =============================================
     Header — 透明背景、画像の上に被る
     ============================================= */
.site-header {
  position: fixed;
  top: 15px;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
}

.header-inner {
  height: 100%;
  padding: 0 clamp(24px, 6vw, 120px);
  display: flex;
  align-items: center;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  height: 56px;
  width: auto;
}

/* ナビ全体：1つの白いピル */
.header-nav {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.nav-list {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.nav-list a {
  display: block;
  padding: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--green-heading);
}

/* 「園見学の予約」— ピル内側、垂直線で区切り、オレンジ背景 */
.nav-cta {
  display: flex;
  align-items: center;
  padding: 0 24px;
  margin: 2px;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  background-color: var(--orange-cta);
  white-space: nowrap;
  border-left: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 0px 25px 25px 0px;
}

.hamburger {
  display: none;
}

/* =============================================
     Page Load Fade-in
     ============================================= */
.site-header,
.fv {
  opacity: 0.01;
  transition: opacity 1.2s cubic-bezier(0.47, 0, 0.745, 0.715);
}

body.ready .site-header,
body.ready .fv {
  opacity: 1;
  transition-delay: 0.2s;
}

/* =============================================
     First View
     ============================================= */
.fv {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background-color: var(--bg-fv);
  padding-bottom: 100px;
}

/* ---- 左：コンテンツエリア ---- */
.fv-content {
  flex: 0 0 max(35.5%, 380px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) clamp(24px, 6vw, 120px) 0px
    clamp(24px, 6vw, 120px);
}

.fv-heading {
  font-size: clamp(34px, 3vw, 58px);
  font-weight: 600;
  color: var(--green-heading);
  line-height: 1.2;
  letter-spacing: -0.2rem;
  margin-bottom: 25px;
}

.fv-catchphrase-img {
  width: 100%;
  height: auto;
}

.fv-desc {
  margin-bottom: 50px;
}

.fv-desc p {
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: clamp(1.4, 0.8vw + 1, 1.8);
  font-weight: 600;
  color: var(--text-body);
}

.fv-desc p + p {
  margin-top: 0;
}

/* 電話ブロック */
.fv-tel-block {
  margin-bottom: 50px;
}

.fv-tel-label {
  display: block;
  background-color: var(--teal-label);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  border-radius: 5px;
  padding: 0px 0;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.fv-tel-img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* CTA ボタン */
.fv-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background-color: var(--orange-cta);
  color: var(--white);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 500;
  padding: 10px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.fv-cta-btn:hover {
  opacity: 0.9;
}

.fv-cta-text {
  transform: translateY(-2px);
}

.fv-cta-icon {
  display: block;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}

/* ---- 右：ヒーロー画像 ---- */
.fv-photo {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 0px 0 0 20px;
}

.fv-photo > img {
  width: 100%;
  height: 95vh;
  object-fit: cover;
  border-radius: 0 0px 0px 50px;
  object-position: center;
}

/* SP 用のオーバーレイ見出し：PC では非表示 */
.fv-sp-heading {
  display: none;
}
.pc-only {
  display: block;
}
.sp-only {
  display: none;
}
/* =============================================
     ナビ → ハンバーガー切替：(≤ 1399px)
     ============================================= */
@media (max-width: 1399px) {
  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 70px;
    height: 70px;
    padding: 0;
    flex-shrink: 0;
    overflow: hidden;
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 230;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .hamburger-bars {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .hamburger-bars span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 1px;
  }

  .hamburger-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-dark);
    margin-top: 5px;
  }
}

/* =============================================
     Responsive: SP (≤ 767px)
     ============================================= */
@media (max-width: 767px) {
  :root {
    --header-h: 100px;
  }

  /* ヘッダー全体は透明・背景なし */
  .site-header {
    position: absolute;
    top: 0;
    background: transparent;
    box-shadow: none;
  }

  .header-inner {
    padding: 0 20px;
    justify-content: space-between;
  }

  /* ロゴ部分のみ白い背景、右下のみ角丸、左・上は端に密着 */
  .header-logo {
    background: var(--white);
    padding: 0 20px 0 20px;
    margin-left: -20px;
    align-self: stretch;
    display: flex;
    align-items: center;
    border-radius: 0 0 20px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .header-logo img {
    height: 44px;
  }

  /* FV：縦並び、画像はページ最上部から（ヘッダーに被られる） */
  .fv {
    flex-direction: column;
    min-height: auto;
  }

  /* 画像：先頭、右寄せ（左20pxスペース）、左下のみ角丸 */
  .fv-photo {
    order: -1;
    flex: none;
    height: clamp(480px, 66vh, 640px);
    border-radius: 0;
    overflow: visible;
    margin-left: 20px;
  }

  .fv-photo > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 0 40px;
    object-position: -130px center;
  }

  /* キャッチコピー：ソリッド背景で画像に被る、左端から */
  .fv-sp-heading {
    display: inline-block;
    position: absolute;
    bottom: 50px;
    left: -20px;
    background: #2ca39d;
    padding: 10px 20px 12px 20px;
    font-size: 30px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
    letter-spacing: 0.02em;
    border-radius: 0 15px 15px 0;
  }

  /* コンテンツエリア */
  .fv-content {
    flex: none;
    order: 1;
    padding: 28px 20px 0px;
  }

  .fv-heading {
    display: none;
  }

  .fv-desc {
    margin-bottom: 24px;
  }

  .fv-desc p {
    font-size: 18px;
    line-height: 1.6;
  }

  .fv-tel-block {
    margin-bottom: 20px;
  }

  .fv-cta-btn {
    font-size: 24px;
    padding: 18px 24px;
  }
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
}

/* =============================================
   Section 1 — 英語教育コンセプト
   ============================================= */
.s1 {
  background-color: #cadde3;
}

.s1-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 100px 0px;
}

/* 上部3画像：左端・中央・右端に配置 */
.s1-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.s1-deco-l,
.s1-deco-r {
  width: 103px;
  height: 103px;
}

.s1-logo-c {
  width: 78px;
  height: 95px;
}

/* boy ─ [text+heading] ─ girl の横並び */
.s1-main {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.s1-boy,
.s1-girl {
  flex-shrink: 0;
  width: 118px;
  height: 385px;
  object-fit: contain;
  object-position: bottom;
}

.s1-body {
  flex: 1;
  text-align: center;
  padding-bottom: 40px;
}

.s1-heading {
  display: block;
  margin: 0 auto 28px;
  max-width: 400px;
  width: 100%;
}

.s1-text {
  font-size: clamp(13px, 1.05vw, 18px);
  color: var(--text-dark);
  line-height: 2.3;
  letter-spacing: -0.8px;
  font-weight: 500;
}

.s1-text p {
  margin: 0;
}

/* ≤1000px：SP レイアウト */
@media (max-width: 1000px) {
  .s1-inner {
    padding: 100px 20px 100px;
  }

  .s1-top {
    margin-bottom: 28px;
    align-items: flex-start;
  }

  .s1-logo-c {
    margin-top: 30px;
  }

  /* body→全幅(order:1)、boy/girlは下段に横並び(order:2) */
  .s1-main {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 25px;
  }

  .s1-body {
    flex: none;
    width: 100%;
    order: 1;
    padding-bottom: 75px;
  }

  .s1-text {
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: -0.8px;
  }

  .s1-boy,
  .s1-girl {
    order: 2;
    width: 75px;
    height: 250px;
  }
}

/* ≤768px：テキスト左寄せ */
@media (max-width: 768px) {
  .s1-body {
    text-align: left;
  }

  .s1-text {
    text-align: left;
  }
}

/* ≤440px：text_01.png を全幅に */
@media (max-width: 440px) {
  .s1-heading {
    max-width: 100%;
  }
}

/* =============================================
   Section 2 — 園見学体験
   ============================================= */
.s2 {
  position: relative;
  background-color: #fffbfa;
  overflow: hidden;
}

.s2-bg-l {
  position: absolute;
  left: 120px;
  bottom: 60px;
  width: clamp(100px, 12vw, 180px);
  pointer-events: none;
}

.s2-bg-r {
  position: absolute;
  right: -16%;
  top: 45%;
  transform: translateY(-50%);
  width: clamp(1117px, 12vw, 180px);
  pointer-events: none;
}

.s2-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0px;
  position: relative;
}

.s2-head {
  position: relative;
  text-align: center;
  margin-bottom: 50px;
}

.s2-book {
  position: absolute;
  left: -186px;
  top: 186%;
  transform: translateY(-50%);
  width: clamp(60px, 7vw, 100px);
}

.s2-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--green-heading);
  line-height: 1.4;
}

/* 4枚カード：2列グリッド */
.s2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.s2-card {
  border: 3px solid #2da39e;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  padding: 3px 3px 0;
}

.s2-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 9px 9px 0 0;
}

.s2-card-body {
  padding: 20px 24px 28px;
}

.s2-card-title {
  color: var(--teal-label);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.s2-card-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dark);
}

.s2-blocks {
  position: absolute;
  right: -130px;
  bottom: 100px;
  width: clamp(60px, 7vw, 100px);
}

/* SP */
@media (max-width: 767px) {
  .s2-inner {
    padding: 100px 20px;
  }

  .s2-head {
    margin-bottom: 40px;
  }
  .s2-card-body {
    padding: 10px 10px 15px;
  }

  .s2-card-text {
    font-size: 16px;
  }

  .s2-book {
    position: absolute;
    top: -50px;
    left: 0;
    transform: none;
    width: 60px;
  }

  .s2-title {
    font-size: clamp(28px, 6vw, 32px);
    padding-top: 8px;
    letter-spacing: -0.2rem;
  }

  .s2-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .s2-card-title {
    margin-bottom: 0px;
  }
  .s2-card-img {
    height: auto;
  }

  .s2-blocks {
    width: 70px;
    bottom: 20px;
    right: 20px;
  }
  .s2-bg-r {
    position: absolute;
    left: -50px;
    top: 50px;
    transform: none;
    width: 700px;
    max-width: none;
    pointer-events: none;
  }
  .s2-bg-l {
    position: absolute;
    left: -20px;
    bottom: 40px;
    width: clamp(200px, 12vw, 180px);
    pointer-events: none;
  }
}

/* =============================================
   Section 3 — 教育方針
   ============================================= */
.s3 {
  background-color: #e2f6ff;
  padding-top: 100px;
  padding-bottom: 100px;
}

.s3-title {
  text-align: center;
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 700;
  color: var(--green-heading);
  margin-bottom: 50px;
}

/* 画像フラッシュ左 ─ 100px gap ─ テキスト ─ s2右端に揃える余白 */
.s3-body {
  display: flex;
  align-items: center;
  gap: 80px;
  padding-right: max(20px, calc((100vw - 1200px) / 2 + 0px));
}

.s3-img {
  flex: 0 0 55vw;
  width: 58vw;
  aspect-ratio: 1120 / 700;
  object-fit: cover;
  border-radius: 0 20px 20px 0;
}
.s3-desc {
  font-weight: 500;
  letter-spacing: -0.8px;
}
.s3-text {
  flex: 1;
  position: relative;
}

.s3-rainbow {
  position: absolute;
  top: 50px;
  right: -100px;
  width: clamp(80px, 8vw, 120px);
}

.s3-subtitle {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  color: var(--black);
  margin-bottom: 20px;
  margin-left: -14px;
}

.s3-desc p {
  font-size: clamp(16px, 1.1vw, 18px);
  color: var(--text-dark);
  line-height: 2;
  margin: 0;
}

.s3-crayon {
  position: absolute;
  bottom: -100px;
  left: -50px;
  width: clamp(20px, 2.5vw, 40px);
}

/* SP */
@media (max-width: 767px) {
  .s3-body {
    flex-direction: column;
    gap: 30px;
    padding-right: 0;
    align-items: stretch;
  }

  .s3-img {
    flex: none;
    width: calc(100% - 20px);
    border-radius: 0 25px 25px 0;
  }

  .s3-text {
    padding: 0 20px;
  }

  .s3-subtitle {
    font-size: 24px;
    margin-left: -11px;
  }

  .s3-desc p {
    font-size: 15px;
    line-height: 1.9;
  }

  .s3-rainbow {
    width: 80px;
    top: 50px;
    right: 10px;
  }

  .s3-crayon {
    width: 30px;
    bottom: -50px;
    right: auto;
    left: 10px;
  }
}

/* =============================================
   Section 4 — 保護者の声
   ============================================= */
.s4 {
  position: relative;
  background-color: #fffbfa;
  padding: 100px 0;
  overflow: hidden;
}

.s4-bg {
  position: absolute;
  left: -100px;
  top: 50px;
  width: clamp(180px, 50vw, 977px);
  pointer-events: none;
  z-index: 0;
}

.s4-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0px;
  position: relative;
  z-index: 1;
}

.s4-head {
  text-align: center;
  margin-bottom: 50px;
}

.s4-title {
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 700;
  color: var(--green-heading);
  margin-bottom: 10px;
}

.s4-subtitle {
  font-size: clamp(13px, 1.1vw, 18px);
  color: var(--black);
}

/* PC：4枚横並び */
.s4-slider-wrap {
  position: relative;
}

.s4-track {
  display: flex;
  gap: 20px;
}

.s4-slide {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.s4-card-face {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  z-index: 1;
}

.s4-card-face img {
  width: 100%;
  height: auto;
  display: block;
}

.s4-card-wrap {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.08));
}

.s4-face-bg {
  width: 120px;
  height: 120px;
  background: var(--white);
  border-radius: 50%;
  margin-bottom: -60px;
  flex-shrink: 0;
}

.s4-card {
  width: 100%;
  border-radius: 12px;
  background: var(--white);
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.s4-card-inset {
  border: 1px dashed #ddd;
  border-radius: 8px;
  padding: 40px 15px 15px;
  text-align: center;
  flex: 1;
}

.s4-card-label {
  display: inline-block;
  background-color: #fce9db;
  color: var(--orange-label);
  font-size: 18px;
  font-weight: 700;
  padding: 0px 10px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.s4-card-title {
  font-size: clamp(16px, 1vw, 16px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: -0.8px;
}

.s4-card-text {
  font-size: clamp(16px, 0.85vw, 16px);
  color: var(--text-dark);
  line-height: 1.8;
  text-align: left;
  letter-spacing: -0.8px;
}

.s4-btn {
  display: none;
}

.s4-dots {
  display: none;
}

.s4-note {
  text-align: center;
  font-size: 16px;
  color: var(--black);
  margin-top: 50px;
  font-weight: 500;
}

/* SP：スライダー */
@media (max-width: 767px) {
  .s4-bg {
    width: 977px;
    max-width: none;
    left: -445px;
    top: 50px;
  }

  .s4-inner {
    padding: 0;
  }

  .s4-head {
    padding: 0 20px;
    margin-bottom: 40px;
  }

  .s4-slider-wrap {
    padding-top: 0;
  }

  .s4-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
  }

  .s4-track::-webkit-scrollbar {
    display: none;
  }

  .s4-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 0 20px 20px;
  }

  .s4-card-wrap {
    filter: none;
  }

  .s4-face-bg {
    width: 140px;
    height: 140px;
    margin-bottom: -70px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.08);
  }

  .s4-card {
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.08);
  }

  .s4-card-face {
    top: 15px;
    width: 110px;
  }

  .s4-card-inset {
    padding-top: 48px;
  }

  .s4-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 900;
    z-index: 10;
    font-size: 18px;
    color: #fff;
    background: var(--teal-label);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }

  .s4-prev {
    left: 10px;
  }

  .s4-next {
    right: 10px;
  }

  .s4-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    padding: 0 20px;
  }

  .s4-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: background 0.2s;
  }

  .s4-dot.active {
    background: var(--teal-label);
  }

  .s4-note {
    padding: 0 10px;
    letter-spacing: -0.8px;
  }

  .s4-subtitle {
    font-size: 18px;
    letter-spacing: -0.8px;
  }
}

/* =============================================
   Section 5 — 園見学について
   ============================================= */
.s5 {
  background-color: #e6e9fc;
  padding: 100px 0;
}

.s5-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0px;
}

.s5-top {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  margin-bottom: 80px;
  padding-left: max(20px, calc((100vw - 1200px) / 2 + 0px));
}

.s5-info {
  flex: 0 0 700px;
  max-width: 560px;
  position: relative;
}

.s5-photo {
  flex: 1;
  min-width: 0;
}

.s5-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 0 0 20px;
  aspect-ratio: 1120 / 700;
}

.s5-head {
  margin-bottom: 20px;
}

.s5-flag {
  position: absolute;
  top: -25px;
  left: -100px;
  width: 60px;
}

.s5-title {
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 700;
  color: #216941;
}

.s5-desc {
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 2;
  font-weight: 500;
  letter-spacing: -0.8px;
  color: var(--text-dark);
}

.s5-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.s5-table tr {
  border-top: 1px dashed #216941;
}

.s5-table tr:last-child {
  border-bottom: 1px dashed #216941;
}

.s5-table th {
  background-color: #eff4f7;
  color: #216941;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 16px;
  white-space: nowrap;
  width: 100px;
  text-align: center;
}

.s5-table td {
  padding: 14px 20px;
  font-size: 16px;
  color: var(--text-dark);
}

.s5-note {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
}

.s5-flow-title {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  color: #216941;
  margin-bottom: 40px;
  white-space: nowrap;
}

.s5-flow-title::before,
.s5-flow-title::after {
  content: "";
  flex: 1;
  height: 3px;
  background-color: #216941;
}

.s5-flow-list {
  display: flex;
  align-items: center;
  gap: 16px;
}

.s5-flow-item {
  flex: 1;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.s5-flow-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  flex-shrink: 0;
}

.s5-flow-body {
  padding: 15px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.s5-flow-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-label);
  margin-bottom: 0px;
}

.s5-flow-num {
  color: var(--teal-label);
  font-size: 110%;
}

.s5-flow-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-label);
  letter-spacing: -0.8px;
}

.s5-flow-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
}

.s5-flow-arrow {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid var(--teal-label);
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .s5-inner {
    padding: 0 20px;
  }
  .s5-flow-heading {
    font-size: 18px;
  }
  .s5-note {
    letter-spacing: -0.8px;
  }
  .s5-flow-heading {
    margin-bottom: 0px;
  }
  .s5-flow-text {
    letter-spacing: -0.8px;
  }
  .s5-flow-sub {
    font-size: 12px;
  }
}

@media (max-width: 392px) {
  .s5-flow-sub {
    font-size: 10px;
  }
}

/* =============================================
   Section 7 — 1日のスケジュール
   ============================================= */
.s7 {
  background-color: #eff4f7;
  padding: 100px 0;
}

.s7-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0px;
  position: relative;
}

.s7-head {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.s7-title {
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 700;
  color: var(--green-heading);
}

.s7-clock {
  position: absolute;
  top: 50px;
  right: -150px;
  width: clamp(60px, 7vw, 90px);
}

.s7-tabs {
  display: none;
}

.s7-body {
  display: flex;
  gap: 40px;
}

.s7-col {
  flex: 1;
  min-width: 0;
}

.s7-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 16px;
}

.s7-col-title {
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 700;
  color: var(--teal-label);
  white-space: nowrap;
}

.s7-col-dec {
  width: clamp(40px, 5vw, 70px);
  height: auto;
}

.s7-schedule-img {
  width: 100%;
  height: auto;
  padding: 0px;
}

@media (max-width: 767px) {
  .s7-inner {
    padding: 0 20px;
  }

  /* タブ：上部角丸のみ、選択中=白でカードと一体化 */
  .s7-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
  }

  .s7-tab {
    flex: 1;
    padding: 14px 8px;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-jp);
    border: none;
    cursor: pointer;
    color: var(--white);
    background: var(--teal-label);
    border-radius: 14px 14px 0 0;
    transition:
      background 0.2s,
      color 0.2s;
  }

  .s7-tab.active {
    background: var(--white);
    color: var(--teal-label);
  }

  /* コンテンツカード：タブの直下から始まり、下のみ角丸 */
  .s7-col {
    display: none;
    flex: none;
    width: 100%;
    background: var(--white);
    border-radius: 0 0 16px 16px;
    overflow: hidden;
  }

  .s7-col.active {
    display: block;
  }

  /* SP ではサブタイトル行を非表示（タブがその役割を担う） */
  .s7-col-head {
    display: none;
  }

  .s7-schedule-img {
    padding: 20px;
  }
}

/* =============================================
   Section 8 — 幼児教育無償化
   ============================================= */
.s8 {
  position: relative;
  background-color: #fffbfa;
  padding: 100px 0;
  overflow: hidden;
}

.s8-bg-l {
  position: absolute;
  left: 140px;
  top: 75px;
  transform: translateY(0%);
  width: clamp(150px, 50vw, 750px);
  pointer-events: none;
}

.s8-bg-r {
  position: absolute;
  right: 120px;
  bottom: 50px;
  width: clamp(80px, 10vw, 200px);
  pointer-events: none;
}

.s8-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0px;
  position: relative;
}

.s8-title {
  text-align: center;
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 700;
  color: var(--green-heading);
  margin-bottom: 40px;
}

.s8-card {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid #bd9f66;
  border-radius: 12px;
  overflow: hidden;
}

.s8-card-head {
  background-color: #bd9f66;
  padding: 14px 30px;
  text-align: center;
}

.s8-card-date {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}

.s8-card-body {
  background: var(--white);
  padding: 40px 75px;
}

.s8-card-desc {
  font-size: 18px;
  line-height: 2;
  color: var(--text-dark);
  margin: 0 75px 40px;
  font-weight: 500;
}

.s8-divider {
  border: none;
  border-top: 1px solid #bd9f66;
  margin: 0 0 40px;
}

.s8-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 75px 40px;
}

.s8-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.s8-label {
  background-color: #bd9f66;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 120px;
  text-align: center;
}

.s8-value {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
}

.s8-note {
  font-size: 18px;
  color: var(--text-dark);
  line-height: 1.8;
  font-weight: 500;
  letter-spacing: -0.8px;
  margin: 0 75px;
}

@media (max-width: 767px) {
  .s8-inner {
    padding: 0 20px;
  }
  .s8-card-body {
    padding: 28px 24px;
  }
  .s8-card-desc {
    margin: 0 0px 20px;
  }
  .s8-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .s8-bg-l {
    width: 860px;
    left: -300px;
    top: 50px;
    max-width: none;
  }

  .s8-bg-r {
    width: 200px;
    bottom: 50px;
    right: 0;
  }
  .s8-list {
    margin: 0 0px 40px;
  }
  .s8-note {
    margin: 0 0px;
  }
}

/* =============================================
   Section 9 — 送迎バス
   ============================================= */
.s9 {
  background-color: #e2f6ff;
  padding: 100px 0;
}

.s9-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0px;
}

.s9-head {
  text-align: center;
  margin-bottom: 50px;
}

.s9-title {
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 700;
  color: var(--green-heading);
  margin-bottom: 10px;
}

.s9-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
}

.s9-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  margin: 0 0px;
}

.s9-card-photo {
  flex: 0 0 55%;
  padding: 50px 0 50px 50px;
}

.s9-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.s9-card-body {
  flex: 1;
  padding: 50px 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  overflow: hidden;
}

.s9-feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.s9-feature-icon {
  width: 38px;
  height: auto;
  flex-shrink: 0;
}

.s9-feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.s9-feature-text {
  font-size: 16px;
  line-height: 1.9;
  color: #000000;
  font-weight: 500;
}

.s9-feature-text strong {
  color: #2da39e;
  font-weight: 700;
}

.s9-bus-side {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: clamp(160px, 18vw, 260px);
  pointer-events: none;
  z-index: 0;
}

.s9-feature {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .s9-card {
    flex-direction: column;
  }

  .s9-card-photo {
    flex: none;
    width: 100%;
    padding: 20px 20px 0 20px;
  }

  .s9-card-photo img {
    height: auto;
  }

  .s9-inner {
    padding: 0;
  }

  .s9-card {
    margin: 0 20px;
  }

  .s9-card-body {
    padding: 20px 20px 100px;
    gap: 20px;
  }

  .s9-bus-side {
    width: 200px;
  }
}

/* =============================================
   Section 6 — 園舎の紹介
   ============================================= */
.s6 {
  position: relative;
  background-color: #fffbfa;
  overflow: hidden;
}

.s6-bg {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 35vw, 580px);
  pointer-events: none;
}

.s6-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0px;
  position: relative;
}

.s6-head {
  text-align: center;
  margin-bottom: 50px;
}

.s6-title {
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 700;
  color: var(--green-heading);
  margin-bottom: 10px;
}

.s6-desc {
  font-size: clamp(14px, 1.1vw, 18px);
  color: var(--text-dark);
  line-height: 2;
  font-weight: 500;
}

.s6-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.s6-card {
  border: 3px solid #2da39e;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  padding: 3px 3px 0;
}

.s6-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 9px 9px 0 0;
}

.s6-card-body {
  padding: 16px 16px 20px;
}

.s6-card-title {
  color: var(--teal-label);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.s6-card-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

@media (max-width: 767px) {
  .s6-bg {
    left: -100px;
    top: 50px;
    transform: none;
    max-width: none;
    width: 720px !important;
  }

  .s6-inner {
    padding: 80px 20px;
  }

  .s6-head {
    margin-bottom: 40px;
  }

  .s6-desc {
    font-size: 18px;
    text-align: left;
  }

  .s6-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .s6-card-title {
    margin-bottom: 0px;
  }

  .s6-card-img {
    height: auto;
  }

  .s6-card-body {
    padding: 10px 10px 15px;
  }
}

@media (max-width: 767px) {
  .s7-clock {
    top: -50px;
    right: -10px;
  }
  .s5-title {
    text-align: center;
  }
  .s5-top {
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .s5-info {
    flex: none;
    max-width: 100%;
    width: 100%;
    order: 0;
  }

  .s5-photo {
    flex: none;
    width: calc(100% + 20px);
    margin-right: -20px;
    order: 1;
  }

  .s5-photo img {
    width: 100%;
    height: auto;
    border-radius: 25px 0 0 25px;
  }

  .s5-head {
    margin-bottom: 16px;
  }

  .s5-flag {
    width: 44px;
    top: -25px;
    left: -10px;
  }

  .s5-flow-list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .s5-flow-item {
    width: 100%;
  }

  .s5-flow-arrow {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid var(--teal-label);
    border-bottom: none;
    align-self: center;
    margin: 12px 0;
  }
}

/* =============================================
   Section 10 — スタッフ紹介
   ============================================= */
.s10 {
  position: relative;
  background-color: #fffbfb;
  padding: 100px 0;
  overflow: hidden;
}

.s10-bg {
  position: absolute;
  top: 75px;
  right: 60px;
  width: clamp(200px, 50vw, 800px);
  pointer-events: none;
  z-index: 0;
}

.s10-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.s10-head {
  text-align: center;
  margin-bottom: 50px;
}

.s10-title {
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 700;
  color: var(--green-heading);
  margin-bottom: 10px;
}

.s10-subtitle {
  font-size: clamp(14px, 1.1vw, 18px);
  color: var(--text-dark);
  font-weight: 500;
}

.s10-slider-wrap {
  position: relative;
}

.s10-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--teal-label);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

.s10-prev {
  left: max(10px, calc(50% - 600px + -70px));
}
.s10-next {
  right: max(10px, calc(50% - 600px + -70px));
}

.s10-track {
  position: relative;
  max-width: 1236px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 16px;
  padding-left: 16px;
  margin-bottom: -16px;
  scroll-padding-left: 16px;
  padding-right: 16px;
}

.s10-track::-webkit-scrollbar {
  display: none;
}

.s10-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
}

.s10-card {
  border-radius: 20px;
  padding: 20px 20px 20px;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.08);
}

.s10-photo-wrap {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.s10-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s10-name-box {
  background: var(--white);
  border-radius: 10px;
  padding: 10px 10px;
  margin: -40px 0 20px;
  position: relative;
  z-index: 1;
}

.s10-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0px;
}

.s10-role {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--teal-label);
}

.s10-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  text-align: left;
}

.s10-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  padding: 0 20px;
}

.s10-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: background 0.2s;
}

.s10-dot.active {
  background: var(--teal-label);
}

@media (max-width: 767px) {
  .s10-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
    top: 37.8%;
  }
  .s10-role {
    font-size: 14px;
  }
  .s10-bg {
    position: absolute;
    top: 50px;
    right: -350px;
    width: 800px;
    max-width: none;
  }
  .s10-prev {
    left: 10px;
  }
  .s10-next {
    right: 10px;
  }

  .s10-track {
    gap: 20px;
  }

  .s10-slide {
    flex: 0 0 100%;
    padding: 0 0;
  }

  .s10-subtitle {
    font-size: 18px;
  }
}

/* =============================================
   Section 11 — よくある質問
   ============================================= */
.s11 {
  background-color: #eff4f7;
  padding: 100px 0;
}

.s11-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0px;
}

.s11-head {
  position: relative;
  text-align: center;
  margin-bottom: 50px;
  min-height: 100px;
}

.s11-icon {
  position: absolute;
  left: -150px;
  top: 50px;
  width: clamp(80px, 9vw, 110px);
}

.s11-title-wrap {
  display: inline-block;
}

.s11-title {
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 700;
  color: var(--green-heading);
  margin-bottom: 10px;
}

.s11-subtitle {
  font-size: 18px;
  color: var(--text-dark);
  font-weight: 500;
}

.s11-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.s11-item {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.s11-item.open {
  border-color: var(--teal-label);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.s11-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--teal-label);
  border: none;
  padding: 20px 20px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.s11-item.open .s11-q {
  background: var(--white);
}

.s11-q-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--teal-label);
  color: var(--white);
  font-weight: 600;
  font-size: 40px;
  font-family: var(--font-jp);
  flex-shrink: 0;
  padding-bottom: 6px;
  transition: background 0.2s;
}

.s11-item.open .s11-q-badge {
  background: var(--teal-label);
}

.s11-q-text {
  flex: 1;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  transition: color 0.2s;
}

.s11-item.open .s11-q-text {
  color: var(--text-dark);
}

.s11-chevron {
  color: var(--white);
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    color 0.2s;
}

.s11-item.open .s11-chevron {
  color: var(--teal-label);
  transform: rotate(180deg);
}

.s11-a-wrap {
  display: none;
  background: var(--white);
  padding: 0 20px 20px;
}

.s11-item.open .s11-a-wrap {
  display: block;
}

.s11-divider {
  border: none;
  border-top: 1px solid #2da39e;
  margin: 0 0 15px;
}

.s11-a {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.s11-a-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #eff5f6;
  color: var(--teal-label);
  font-weight: 700;
  font-size: 40px;
  font-family: var(--font-jp);
  flex-shrink: 0;
  padding-bottom: 6px;
}

.s11-a-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark);
  padding-top: 10px;
}

@media (max-width: 767px) {
  .s11-inner {
    padding: 0 20px;
  }
  .s11-head {
    min-height: 80px;
  }
  .s11-a-text {
    padding-top: 5px;
  }
  .s11-icon {
    position: absolute;
    left: -10px;
    top: 0;
    width: 60px;
  }
  .s11-a-text {
    font-size: 16px;
  }
  .s11-title-wrap {
    display: block;
  }

  .s11-title {
  }

  .s11-subtitle {
    font-size: 18px;
  }

  .s11-q {
    padding: 15px;
  }

  .s11-q-text {
    font-size: 16px;
  }

  .s11-q-badge,
  .s11-a-badge {
    font-size: 24px;
    width: 40px;
    height: 40px;
  }

  .s11-a-wrap {
    padding: 0 15px 15px;
  }
}

/* =============================================
   Section 12 — アクセス
   ============================================= */
.s12 {
  background-color: #fffbfa;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.s12-left-bg {
  position: absolute;
  left: 120px;
  top: 50px;
  width: clamp(200px, 28vw, 453px);
  height: auto;
  pointer-events: none;
}

.s12-right-bg {
  position: absolute;
  right: 60px;
  bottom: 50px;
  width: clamp(160px, 22vw, 425px);
  height: auto;
  pointer-events: none;
}

.s12-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0px;
  position: relative;
  z-index: 1;
}

.s12-content {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.s12-left {
  flex: 0 0 calc(50% - 20px);
  min-width: 0;
}

.s12-title {
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 700;
  color: var(--green-heading);
  margin-bottom: 10px;
}

.s12-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 25px;
}

.s12-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.s12-table tr {
  border-bottom: 1px dashed #216941;
}

.s12-table tr:first-child {
  border-top: 1px dashed #216941;
}

.s12-table th {
  background: #ffffff;
  color: var(--green-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 20px;
  white-space: nowrap;
  text-align: center;
  vertical-align: top;
  width: 110px;
}

.s12-table td {
  padding: 16px 20px;
  font-size: 16px;
  color: var(--text-dark);
  vertical-align: top;
  line-height: 1.7;
}

.s12-note {
  font-size: 16px;
  color: var(--black);
}

.s12-right {
  flex: 0 0 calc(50% - 20px);
  display: flex;
  flex-direction: column;
}

.s12-map {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 300px;
  border-radius: 16px;
}

/* SP */
@media (max-width: 767px) {
  .s12 {
    padding: 70px 0;
  }

  .s12-inner {
    padding: 0 20px;
  }

  .s12-title,
  .s12-subtitle {
    text-align: center;
  }

  .s12-subtitle {
    font-size: 18px;
  }

  .s12-content {
    flex-direction: column;
    gap: 32px;
  }

  .s12-left {
    width: 100%;
  }
  .s12-left-bg {
    left: -50px;
    top: 25px;
    width: clamp(275px, 28vw, 453px);
  }
  .s12-right {
    width: 100%;
  }
  .s12-right-bg {
    right: -50px;
    bottom: 25px;
    width: clamp(300px, 22vw, 425px);
  }
  .s12-map {
    width: 100%;
    height: 320px;
  }

  .s12-table th {
    width: 90px;
    font-size: 16px;
    padding: 14px 12px;
    vertical-align: inherit;
  }

  .s12-table td {
    font-size: 16px;
    padding: 14px 12px;
  }
}



/* =============================================
   Contact Form Section
   ============================================= */
.s-contact {
  padding: 80px 20px;
  background:#e6e9fc;
}

.s-contact-inner {
  max-width: 960px;
  margin: 0 auto;
}

.s-contact-title {
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 700;
  color: var(--green-heading);
  text-align: center;
  margin-bottom: 12px;
}

.s-contact-subtitle {
  text-align: center;
  margin-bottom: 40px;
  font-size: 18px;
  color: var(--text-dark);
  font-weight: 500;
}

/* CF7 フォーム本体 */
.wpcf7-form {
  background: #fff;
  padding: 48px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

/* フォーム冒頭テキスト */
.kdi-form-intro {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8ecf0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-body);
}

/* フィールドグループ */
.kdi-form-field {
  margin-bottom: 28px;
}

/* ラベル */
.kdi-form-field label,
.kdi-form-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.6;
}

/* 必須バッジ */
.kdi-badge {
  display: inline-block;
  background: var(--orange-cta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

/* 入力欄共通 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  border: 1px solid #ced6df;
  border-top: 3px solid #b8c8d4;
  border-radius: 6px;
  background: #f5f8fa;
  padding: 14px 16px;
  font-size: 16px;
  font-family: var(--font-jp);
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.07);
  margin-top: 10px;
}

.wpcf7-form select {
  width: 100%;
  border: 1px solid #ced6df;
  border-top: 3px solid #b8c8d4;
  border-radius: 6px;
  background: #fff;
  padding: 14px 16px;
  font-size: 16px;
  font-family: var(--font-jp);
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.07);
  margin-top: 10px;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--teal-label);
  border-top-color: #007a82;
  background: #fff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05), 0 0 0 3px rgba(0, 146, 154, 0.12);
}

.wpcf7-form textarea {
  height: 180px;
  resize: vertical;
}

/* セレクトボックス（独自矢印） */
.wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235c707e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

/* 日程選択セクション */
.kdi-form-section {
  background: #eff4f7;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.kdi-form-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--green-heading);
  margin-bottom: 0px;
}

.kdi-form-section-desc {
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: 0px;
}

.kdi-form-note {
  font-size: 13px;
  color: var(--text-body);
  margin-top: 12px;
  line-height: 1.7;
}

/* 注意事項ボックス */
.kdi-form-notice {
  background: #f6f8fa;
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 32px;
  margin-bottom: 32px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-body);
  font-family: "Noto Sans JP", sans-serif;
}

.kdi-form-notice p:first-child {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.kdi-form-notice ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.kdi-form-notice ul li {
  margin-bottom: 4px;
}

/* 送信ボタン */
.wpcf7-form input[type="submit"],
.wpcf7-submit {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: var(--teal-label);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-jp);
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.2s;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 16px rgba(0, 146, 154, 0.35);
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover {
  opacity: 0.85;
}

/* バリデーションエラー */
.wpcf7-not-valid-tip {
  color: #e53e3e;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form select.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
  border-color: #e53e3e;
}

.wpcf7-response-output {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin-top: 16px;
  text-align: center;
}

/* Privacy Policy Scroll Block */
.kdi-privacy-block {
  background: #f7f9fa;
  border: 1px solid #d0dce3;
  border-radius: 8px;
  margin-top: 32px;
  height: 160px;
  overflow-y: scroll;
  padding: 20px 20px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-body);
  font-family: "Noto Sans JP", sans-serif;
}

.kdi-privacy-block::-webkit-scrollbar {
  width: 6px;
}

.kdi-privacy-block::-webkit-scrollbar-track {
  background: #e8eef2;
  border-radius: 3px;
}

.kdi-privacy-block::-webkit-scrollbar-thumb {
  background: #b0c4ce;
  border-radius: 3px;
}

.kdi-privacy-block h3 {
  margin-bottom: 16px;
}

.kdi-privacy-block dl {
  margin-bottom: 16px;
}

.kdi-privacy-block dl:last-child {
  margin-bottom: 0;
}

.kdi-privacy-block dt {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.kdi-privacy-block dd {
  margin-left: 0;
}

.kdi-privacy-agree {
    display: block;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0 20px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    text-align: center;
}

.turnstile {
    text-align: center;
    margin-bottom: 50px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
}
.cf-turnstile {
    display: block;
    text-align: center;
}

.wpcf7-list-item {
    margin: 0 0 0 0em;
}
.kdi-privacy-agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--teal-label);
  cursor: pointer;
}
.kdi-privacy-agree span.wpcf7-list-item-label {
    margin-left: 5px;
    position: relative;
    top: -3px;
    font-family: "Noto Sans JP", sans-serif;
}

.grecaptcha-badge {
  visibility: hidden;
}


/* SP */
@media (max-width: 767px) {
  .wpcf7-form {
    padding: 28px 20px;
  }
  .kdi-form-section {
    padding: 16px;
  }
  .kdi-form-notice {
    padding: 16px;
  }
  .kdi-privacy-block {
    height: 140px;
    font-size: 12px;
  }
  .turnstile {
    text-align:left;
  }
}

/* =============================================
   Section 13 — パララックスCTA
   ============================================= */
.s13 {
  position: relative;
  background-image: url("img/exterior.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  text-align: center;
}

.s13-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.s13-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.s13-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.s13-subtitle {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--white);
  margin-bottom: 40px;
}

.s13-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--orange-cta);
  color: var(--white);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 500;
  padding: 10px 60px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  width: 100%;
  margin-bottom: 36px;
  transition: opacity 0.2s;
  max-width: 451px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.s13-btn:hover {
  opacity: 0.9;
}

.s13-btn-text {
  transform: translateY(-2px);
}

.s13-btn-icon {
  display: block;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}

.s13-tel-img {
  max-width: 451px;
  width: 100%;
  margin: 0 auto;
}

/* SP */
@media (max-width: 767px) {
  .s13 {
    background-attachment: scroll;
    padding: 80px 0;
  }

  .s13-btn {
    font-size: 24px;
    padding: 18px 24px;
  }

  .s13-subtitle {
    font-size: 18px;
  }
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
  background-color: #fffbfa;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 20px 48px;
  text-align: center;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.footer-logo {
  max-width: 180px;
  width: auto;
  margin: 0 auto 36px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-body);
}

.footer-plaid {
  width: 100%;
  line-height: 0;
}

.footer-plaid-img {
  width: 100%;
  height: 70px;
  display: block;
}

@media (max-width: 767px) {
  .footer-plaid-img {
    height: 70px;
    object-fit: cover;
  }
}

/* =============================================
   SP Floating Bar
   ============================================= */
.sp-float {
  display: none;
}

@media (max-width: 767px) {
  .sp-float {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    background: #2ca39e;
    border-radius: 20px 20px 0 0;
    z-index: 200;
    transform: translateY(110%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .sp-float.visible {
    transform: translateY(0);
  }

  .sp-float-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--orange-cta);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 50px;
    letter-spacing: 0.04em;
  }

  .sp-float-btn-text {
    transform: translateY(-1px);
  }

  .sp-float-btn-icon {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .sp-float-tel {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sp-float-tel-icon {
    display: block;
    width: 28px;
    height: 28px;
  }
}

/* =============================================
   Drawer Menu
   ============================================= */
.drawer-overlay {
  display: none;
}

.drawer {
  display: none;
}

@media (max-width: 1399px) {
  /* Overlay */
  .drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 210;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Drawer panel */
  .drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 80px;
    width: min(340px, 85vw);
    background: var(--white);
    border-radius: 0 0 0 24px;
    z-index: 220;
    padding: 100px 32px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .drawer.is-open {
    transform: translateX(0);
  }

  /* Drawer header (logo) */
  .drawer-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    display: flex;
    align-items: center;
    padding: 0 24px;
  }

  .drawer-logo img {
    height: 44px;
    width: auto;
  }

  /* Nav list */
  .drawer-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 32px;
  }

  .drawer-link {
    display: block;
    padding: 18px 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    border-bottom: 1px solid #d0d0d0;
  }

  .drawer-list li:first-child .drawer-link {
    border-top: 1px solid #d0d0d0;
  }

  /* CTA button */
  .drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--orange-cta);
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
    padding: 16px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
  }

  .drawer-cta-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  /* Tel area */
  .drawer-tel {
    text-align: center;
    background: var(--teal-label);
    border-radius: 12px;
    padding: 16px;
  }

  .drawer-tel-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
  }

  .drawer-tel-num {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.04em;
    margin-bottom: 2px;
  }

  .drawer-tel-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
  }

  /* Hamburger → X animation */
  .hamburger.is-open .hamburger-bars span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.is-open .hamburger-bars span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .hamburger.is-open .hamburger-bars span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hamburger-bars span {
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  .hamburger.is-open .hamburger-label {
    display: none;
  }

  .hamburger.is-open {
    overflow: visible;
  }

  /* Prevent body scroll when drawer open */
  body.drawer-open {
    overflow: hidden;
  }
}

/* =============================================
   Lazy Load (Fade Up)
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =============================================
   Wide display (≥ 1922px) — S3 / S5 layout
   ============================================= */
@media (min-width: 1922px) {
  .fv-heading {
    font-size: clamp(34px, 3.1vw, 86px);
  }

  .fv-desc p {
    font-size: 19px;
  }

  .fv-tel-img {
    width: 100%;
  }

  .s3-body {
    display: flex;
    align-items: center;
    gap: 100px;
    padding-right: max(20px, calc((100vw - 100%) / 2 + 240px));
  }

  .s3-img {
    flex: 0 0 55vw;
    width: 58vw;
    aspect-ratio: 1120 / 700;
    object-fit: cover;
    border-radius: 0 20px 20px 0;
  }

  .s3-text {
    flex: 1;
    position: relative;
  }

  .s5-top {
    display: flex;
    align-items: center;
    gap: 100px;
    margin-bottom: 80px;
    padding-left: max(20px, calc((100vw - 100%) / 2 + 240px));
  }

  .s5-info {
    max-width: 100%;
    flex: 1;
    position: relative;
  }

  .s5-photo {
    flex: none;
    display: flex;
    align-items: center;
    gap: 100px;
  }

  .s5-photo img {
    flex: 0 0 55vw;
    width: 58vw;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
    aspect-ratio: 1120 / 700;
  }
}

/* =============================================
   Tablet (768px – 1024px)
   ============================================= */
@media (min-width: 768px) and (max-width: 1024px) {
  /* --- FV --- */

  .site-header {
    top: 0;
  }

  /* ロゴ部分のみ白い背景、右下のみ角丸、左・上は端に密着 */
  .header-logo {
    background: var(--white);
    padding: 0 20px 0 20px;
    margin-left: -20px;
    height: 110px;
    align-self: stretch;
    display: flex;
    align-items: center;
    border-radius: 0 0 20px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .fv {
    flex-direction: column;
    min-height: auto;
    padding-bottom: 60px;
  }

  .fv-photo {
    order: -1;
    flex: none;
    height: clamp(480px, 66vh, 640px);
    border-radius: 0;
    overflow: visible;
    margin-left: 20px;
  }

  .fv-photo > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 0 40px;
    object-position: center;
  }

  .fv-sp-heading {
    display: inline-block;
    position: absolute;
    bottom: 50px;
    left: -20px;
    background: #2ca39d;
    padding: 10px 24px 12px 24px;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
    letter-spacing: 0.02em;
    border-radius: 0 15px 15px 0;
  }

  .fv-heading {
    display: none;
  }

  .fv-content {
    flex: none;
    order: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    padding: 32px 20px 0;
  }

  .fv-desc {
    grid-column: 1 / -1;
    margin-bottom: 24px;
    text-align: center;
  }

  .fv-desc p {
    font-size: 18px;
    line-height: 1.6;
  }

  .fv-tel-block {
    grid-column: 1;
    margin-bottom: 0;
  }

  .fv-cta-btn {
    grid-column: 2;
    align-self: center;
    font-size: 20px;
    padding: 24px 20px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .s1-inner {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .s1-boy {
    margin-left: 50px;
  }

  .s1-girl {
    margin-right: 50px;
  }

  .s2-grid {
    max-width: 100%;
    margin: 0 auto;
  }
  /* --- S2 園見学体験 --- */
  .s2-inner {
    padding: 80px 20px;
  }

  .s2-book {
    left: -10px;
    top: 100%;
  }

  .s2-blocks {
    right: 10px;
    bottom: 50px;
  }

  .s2-card-text {
    font-size: 16px;
  }

  /* --- S3 教育方針 --- */
  .s3-body {
    gap: 40px;
    padding-right: 20px;
  }

  .s3-body {
    align-items: flex-start;
  }

  .s3-img {
    flex: 0 0 46vw;
    width: 46vw;
  }
  .s3-rainbow {
    top: 50px;
    right: 0px;
  }

  .s3-crayon {
    bottom: -50px;
    left: -50px;
  }

  /* --- S4 保護者の声 (2×2グリッド) --- */
  .s4-inner {
    padding: 0 20px;
  }
  .s4-track {
    flex-wrap: wrap;
    gap: 16px;
  }
  .s4-slide {
    flex: 0 0 calc(50% - 8px);
  }

  /* --- S5 園見学について --- */
  .s5-inner {
    padding: 0 20px;
  }
  .s5-head {
    text-align: center;
  }

  .s5-flag {
    top: -25px;
    left: 0px;
  }

  .s5-desc {
    text-align: center;
  }
  .s5-top {
    flex-direction: column;
    padding: 0 20px;
    gap: 32px;
    margin-bottom: 50px;
  }
  .s5-info {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  .s5-photo {
    flex: none;
    width: calc(100% + 20px);
    margin-right: -20px;
  }
  .s5-photo img {
    width: 100%;
    height: auto;
    border-radius: 20px 0 0 20px;
    aspect-ratio: auto;
  }
  .s5-flow-list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .s5-flow-item {
    width: 100%;
  }

  .s5-flow-img {
    width: 240px;
    height: 160px;
  }

  .s5-flow-arrow {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid var(--teal-label);
    border-bottom: none;
    align-self: center;
    margin: 12px 0;
  }

  /* --- S6 園舎の紹介 (2列) --- */
  .s6-inner {
    padding: 80px 20px;
  }

  .s6-desc {
    font-size: 18px;
  }

  .s6-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    margin: 0 auto;
  }
  .s6-card-img {
    height: auto;
  }

  /* --- S7 1日のスケジュール --- */
  .s7-inner {
    padding: 0 20px;
    max-width: 100%;
  }
  .s7-body {
    gap: 20px;
  }

  /* --- S8 幼児教育無償化 --- */
  .s8-inner {
    padding: 0 20px;
    max-width: 100%;
  }
  .s8-card {
    max-width: 100%;
  }
  .s8-card-body {
    padding: 28px 24px;
  }
  .s8-card-desc {
    margin: 0 0 24px;
  }
  .s8-list {
    margin: 0 0 24px;
  }
  .s8-note {
    margin: 0;
  }

  /* --- S9 送迎バス (縦積み) --- */
  .s9-inner {
    padding: 0 20px;
    max-width: 100%;
  }
  .s9-card {
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
  }
  .s9-card-photo {
    flex: none;
    width: 100%;
    padding: 20px 20px 0;
  }
  .s9-card-photo img {
    height: auto;
  }
  .s9-card-body {
    padding: 24px 24px 80px;
    gap: 20px;
  }

  /* --- 装飾画像はみ出し抑制 --- */
  .s3,
  .s5,
  .s7 {
    overflow: hidden;
  }

  /* --- S10 スタッフ紹介 (2枚表示 + 両サイド余白) --- */
  .s10-track {
    padding: 0 20px 20px;
    scroll-padding-left: 20px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
  }
  .s10-slide {
    flex: 0 0 calc((100% - 20px) / 2);
  }

  /* --- S11 よくある質問 --- */
  .s11-inner {
    padding: 0 20px;
    max-width: 100%;
  }

  /* --- S12 アクセス (マップ高さを左コンテンツに揃える) --- */
  .s12-inner {
    padding: 0 20px;
    max-width: 100%;
    margin: 0 auto;
  }
  .s12-map {
    height: 350px;
  }

  /* --- S13 パララックス --- */
  .s13 {
    background-attachment: scroll;
  }

  /* --- サブタイトル統一 18px --- */
  .s3-subtitle {
    font-size: 24px;
  }

  .s4-subtitle,
  .s10-subtitle,
  .s11-subtitle,
  .s12-subtitle,
  .s13-subtitle {
    font-size: 18px;
  }
}



/* =============================================
   送信完了ページ
   ============================================= */
.thanks-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 200px 20px 100px;
}

.thanks-inner {
  text-align: center;
  max-width: 600px;
}

.thanks-title {
  font-size: 28px;
  color: var(--green-heading);
  margin-bottom: 24px;
}

.thanks-text {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 20px;
}

.thanks-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 40px;
  background: var(--orange-cta);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.2s;
}

.thanks-btn:hover {
  opacity: 0.85;
}
}
