@charset "UTF-8";
/* ==========================================================================
   三浦 海の学校 — トップページ専用（2026-09 リニューアル）
   css/style.css（全ページ共通）の上に重ねる。共通側は触らないので、
   ほかのページの見た目と ?v= には影響しない。
   --------------------------------------------------------------------------
   ページ全体の構成は「潜る」:
     ヒーロー（水面の上）→ 映像の帯（水面を抜けて水の中）→ 明るい浅瀬（白地）
     → … → 相談（いちばん深いところ）
   右端の水深計（デスクトップ）が、いまどの深さ＝どのセクションにいるかを示す。
   ========================================================================== */

:root {
  /* 白地・色地の上で文字のコントラスト 4.5:1 以上を満たす「文字用」の色。
     元のパステル（--teal / --coral / --sky）は面・飾りにだけ使う */
  --ink:        #0B2A3A;
  --teal-ink:   #0F766E;
  --coral-ink:  #D12F6A;
  --coral-ink2: #B8245A;
  --sky-ink:    #1A7898;
  --line:       #00873C;   /* LINEのボタン。白文字で 4.6:1（#06C755 は 2.3:1 で読めない） */
  --line-hover: #00722F;
  --line-brand: #06C755;   /* ロゴの丸の中だけに使う */
  --deep-1: #0F849E;       /* 水の帯（ocean-src/src/campaign.js の PALETTE と同じ値） */
  --deep-2: #095574;
  --deep-3: #063A57;
  --abyss:  #04263A;
  --home-max: 1180px;
}

/* ---------- 共通の部品 ---------- */
.h-label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--ff-accent); font-size: .74rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--teal-ink);
  margin-bottom: .8rem;
}
.h-label::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.h-label small { font-family: var(--ff-body); letter-spacing: .08em; text-transform: none; font-size: .78rem; font-weight: 700; }
.h-title {
  font-size: clamp(1.7rem, 4.6vw, 2.75rem); font-weight: 700; line-height: 1.35;
  letter-spacing: .01em; color: var(--ink); margin-bottom: 1rem;
}
.h-title .nw { display: inline-block; }
.h-lead { font-size: clamp(.98rem, 2.2vw, 1.08rem); line-height: 1.95; color: var(--text-sub); max-width: 680px; }
.h-center { text-align: center; }
.h-center .h-lead { margin-left: auto; margin-right: auto; }
.h-wrap { width: 100%; max-width: var(--home-max); margin: 0 auto; padding: 0 1.25rem; }
.fa-svg { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; fill: currentColor; flex: none; }

/* 水のcanvas（.page-water・z-index:1）が写真や映像の上に光を落とさないように、
   メディアと主要カードだけ一段上に置く。白地そのものには光が流れる */
.lift { position: relative; z-index: 2; }

/* LINEボタン（ページ全体で共通） */
.btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  background: var(--line); color: #fff !important; text-decoration: none;
  font-weight: 700; font-size: 1.02rem; line-height: 1.3;
  padding: 1rem 1.7rem; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 110, 50, .28);
  transition: transform var(--ease), background var(--ease), box-shadow var(--ease);
}
.btn-line:hover { background: var(--line-hover); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 110, 50, .34); color: #fff; }
.btn-line:active { transform: scale(.98); }
.btn-line .line-mark {
  width: 1.55em; height: 1.55em; border-radius: .45em; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.btn-line .line-mark svg { width: 1.25em; height: 1.25em; fill: var(--line-brand); }
.btn-line small { display: block; font-size: .72rem; font-weight: 700; opacity: .92; }
.btn-ink {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--coral-ink); color: #fff; text-decoration: none; font-weight: 700;
  padding: .95rem 1.6rem; border-radius: 999px; line-height: 1.3;
  box-shadow: 0 10px 24px rgba(209, 47, 106, .25);
  transition: transform var(--ease), background var(--ease);
}
.btn-ink:hover { background: var(--coral-ink2); color: #fff; transform: translateY(-2px); }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--teal-ink); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform var(--ease); }
.link-arrow:hover { color: var(--coral-ink); }
.link-arrow:hover::after { transform: translateX(4px); }

/* 日本語の改行を「文節」で。Chrome の auto-phrase（未対応ブラウザは従来どおり） */
.home :is(h1, h2, h3, p, li, figcaption, summary, .faq-answer, .proof__txt, .finder-tab small) { word-break: auto-phrase; }
.home :is(h1, h2, h3) { text-wrap: balance; }
.home :is(p, li, .faq-answer) { text-wrap: pretty; }

/* フォーカスが見えること（キーボード操作） */
.home :is(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid #FFB020; outline-offset: 3px; border-radius: 10px;
}

/* ================================================================
   HEADER — トップ用の差分
   ================================================================ */
.home .desktop-nav .nav-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--line); color: #fff !important; border-radius: 999px;
  padding: .55rem 1.1rem; font-size: .85rem; font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 110, 50, .25);
}
.home .desktop-nav .nav-cta::after { display: none; }
.home .desktop-nav .nav-cta:hover { background: var(--line-hover); }
.home .desktop-nav .nav-campaign { display: none; }
@media (min-width: 1320px) {
  .home .desktop-nav .nav-campaign {
    display: inline-block; background: var(--coral-ink); color: #fff !important;
    border-radius: 50px; padding: .4rem .95rem; font-size: .8rem; font-weight: 700; white-space: nowrap;
  }
  .home .desktop-nav .nav-campaign::after { display: none; }
}
.home .mobile-nav-panel .nav-campaign { color: var(--coral-ink); font-weight: 700; }
.home .mobile-nav-cta { display: grid; gap: .6rem; }
.home .mobile-nav-cta .btn-line { width: 100%; }

/* ================================================================
   HERO（写真は差し替えない・水は js/ocean が重ねる）
   ================================================================ */
.home .hero-content { max-width: 760px; }
.hero-eyebrow .nw, .hero-campaign-pill .nw { display: inline-block; }
.hero-eyebrow {
  display: inline-block; font-size: .84rem; font-weight: 700; letter-spacing: .06em;
  background: rgba(8, 34, 45, .42); border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px; padding: .38rem 1.1rem; margin-bottom: 1.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.home .hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); line-height: 1.3; letter-spacing: .02em; margin-bottom: 1.1rem; }
.home .hero h1 .ln { display: inline-block; }
.home .hero-sub { max-width: 620px; margin-left: auto; margin-right: auto; }
.home .hero-buttons { gap: .85rem; }
.home .hero-buttons .btn-line { font-size: 1.05rem; padding: 1.05rem 1.9rem; }
.home .hero-buttons .btn--ghost { padding: 1.05rem 1.8rem; font-weight: 700; background: rgba(8, 34, 45, .34); border-color: rgba(255, 255, 255, .62); }
.hero-play {
  margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .75rem;
  background: none; border: 0; color: #fff; cursor: pointer; font: inherit;
  font-weight: 700; font-size: .95rem; letter-spacing: .03em; padding: .3rem .4rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}
.hero-play .ring {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .18); border: 1.5px solid rgba(255, 255, 255, .75);
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform var(--ease), background var(--ease);
}
.hero-play .ring::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .45); animation: ring-pulse 2.4s ease-out infinite;
}
.hero-play .ring svg { width: 16px; height: 16px; fill: #fff; margin-left: 3px; }
.hero-play:hover .ring { transform: scale(1.08); background: rgba(255, 255, 255, .3); }
.hero-play small { font-family: var(--ff-accent); font-weight: 600; opacity: .85; margin-left: .2rem; }
@keyframes ring-pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }

@media (max-width: 768px) {
  .home .hero h1 { font-size: clamp(2rem, 9.6vw, 2.7rem); line-height: 1.25; }
  /* スマホでは帯を外して文字だけに（2行に折れても重たく見えないように） */
  .hero-eyebrow { font-size: .8rem; padding: 0; margin-bottom: .7rem; background: none; border: 0; line-height: 1.6; text-shadow: 0 1px 3px rgba(0, 0, 0, .75), 0 4px 14px rgba(0, 0, 0, .45); }
  .hero-eyebrow .sep { display: none; }
  .hero-eyebrow .nw + .sep + .nw { display: block; }
  .home .hero-sub { font-size: .95rem; line-height: 1.8; margin-bottom: 1.4rem; }
  .home .hero-buttons .btn-line,
  .home .hero-buttons .btn--ghost { width: min(100%, 340px); min-height: 56px; }
  .hero-play { margin-top: .9rem; font-size: .9rem; }
  .hero-play .ring { width: 42px; height: 42px; }
}
@media (min-width: 900px) {
  /* 下に重なる「信頼の帯」のぶん、スクロールの合図を上げる */
  .home .scroll-hint { bottom: 5.4rem; }
}

/* ================================================================
   PROOF — ヒーローの下に重なる、数字の帯
   ================================================================ */
.proof { position: relative; z-index: 3; padding: 0 1.25rem; }
.proof__card {
  list-style: none; padding: 0;
  max-width: 1080px; margin: 0 auto; background: #fff; border-radius: 24px;
  box-shadow: 0 24px 60px rgba(6, 58, 87, .16), 0 2px 8px rgba(6, 58, 87, .06);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.proof__item { padding: 1.35rem 1.2rem 1.25rem; text-align: center; position: relative; }
.proof__item + .proof__item::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--border);
}
.proof__num {
  display: block; font-family: var(--ff-accent); font-weight: 700; color: var(--ink);
  font-size: clamp(1.45rem, 2.6vw, 2.05rem); line-height: 1.15; letter-spacing: .01em;
}
.proof__num em { font-style: normal; font-family: var(--ff-body); font-size: .55em; margin-left: .15em; color: var(--teal-ink); }
.proof__txt { display: block; font-size: .8rem; line-height: 1.6; color: var(--text-sub); margin-top: .35rem; }
.proof__txt b { color: var(--ink); }
@media (min-width: 900px) { .proof { margin-top: -3.4rem; } }
@media (max-width: 899px) {
  .proof { margin-top: 1.25rem; }
  .proof__card { grid-template-columns: 1fr; padding: .3rem 0; }
  .proof__item {
    display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); gap: .8rem; align-items: center;
    text-align: left; padding: .85rem 1.1rem;
  }
  .proof__item + .proof__item::before { left: 1.1rem; right: 1.1rem; top: 0; bottom: auto; width: auto; height: 1px; }
  .proof__num { font-size: 1.45rem; }
  .proof__txt { margin-top: 0; font-size: .8rem; line-height: 1.6; overflow-wrap: anywhere; }
  .proof__txt br { display: none; }
}

/* ================================================================
   FILM — 水の中の帯（WebGPUの水はここに載る）
   ================================================================ */
.dive-band {
  position: relative; z-index: 2;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding: 0 0 clamp(3.2rem, 8vw, 5.5rem);
  background: linear-gradient(180deg, #0F849E 0%, #095574 45%, #063A57 100%);
  color: #fff;
}
.dive-band.is-watered { background: transparent; }
/* 帯の上端の水面ぶんの余白。下辺が水面の高さになる（js/ocean が実寸で測る） */
.dive-band .sc-waterline { height: clamp(1.5rem, 3.5vw, 2.5rem); margin-bottom: clamp(1rem, 2.5vw, 1.75rem); }
.dive-head { text-align: center; max-width: 760px; margin: 0 auto 2rem; padding: 0 1.25rem; }
.dive-head .h-label { color: #CFF3FF; }
.dive-head h2 { color: #fff; font-size: clamp(1.7rem, 4.8vw, 2.8rem); font-weight: 700; line-height: 1.35; margin-bottom: .8rem; text-shadow: 0 2px 16px rgba(0, 20, 32, .35); }
.dive-head p { font-size: clamp(.95rem, 2.3vw, 1.06rem); line-height: 1.95; color: rgba(255, 255, 255, .94); text-shadow: 0 1px 6px rgba(0, 20, 32, .45); }

.film { max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; }
.film-stage {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
  border-radius: clamp(16px, 2.4vw, 26px); overflow: hidden; cursor: pointer;
  background: #03202f center / cover no-repeat;
  box-shadow: 0 40px 90px rgba(1, 16, 26, .55), 0 0 0 1px rgba(207, 243, 255, .18);
  isolation: isolate;
}
.film-stage img, .film-stage video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.film-stage video { opacity: 0; transition: opacity 1s ease; }
.film-stage video.is-playing { opacity: 1; }
.film-stage::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(3, 32, 47, 0) 35%, rgba(3, 32, 47, .55) 100%),
              linear-gradient(0deg, rgba(3, 32, 47, .75) 0%, rgba(3, 32, 47, 0) 42%);
  transition: opacity var(--ease);
}
.film-stage:hover::after { opacity: .7; }
.film-play {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(72px, 9vw, 104px); height: clamp(72px, 9vw, 104px); border-radius: 50%;
  background: rgba(255, 255, 255, .95); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35); transition: transform var(--ease);
}
.film-play::before, .film-play::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7);
  animation: ring-pulse 2.6s ease-out infinite;
}
.film-play::after { animation-delay: 1.3s; }
.film-play svg { width: 34%; height: 34%; fill: var(--deep-2); margin-left: 8%; }
.film-stage:hover .film-play { transform: translate(-50%, -50%) scale(1.07); }
.film-meta {
  position: absolute; z-index: 2; left: clamp(1rem, 3vw, 1.8rem); bottom: clamp(.9rem, 2.6vw, 1.5rem);
  right: 1rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; text-align: left; color: #fff;
}
.film-meta b { font-size: clamp(1rem, 2.4vw, 1.3rem); font-weight: 700; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.film-meta span { font-family: var(--ff-accent); font-size: .8rem; font-weight: 600; letter-spacing: .08em; opacity: .9; }
.film-chapters {
  list-style: none; margin: 1.1rem 0 0; padding: 0 0 .3rem; display: flex; gap: .55rem;
  overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.film-chapters::-webkit-scrollbar { display: none; }
.film-chapters li { flex: none; scroll-snap-align: start; }
.film-chapters button {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font: inherit;
  background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(207, 243, 255, .35);
  border-radius: 999px; padding: .5rem .95rem; font-size: .84rem; font-weight: 700; white-space: nowrap;
  transition: background var(--ease), border-color var(--ease);
}
.film-chapters button:hover { background: rgba(255, 255, 255, .2); border-color: rgba(207, 243, 255, .7); }
.film-chapters time { font-family: var(--ff-accent); font-size: .74rem; opacity: .8; }
.film-note { margin-top: .7rem; font-size: .74rem; color: rgba(255, 255, 255, .78); text-align: right; }
@media (min-width: 1100px) { .film-chapters { justify-content: center; flex-wrap: wrap; overflow: visible; } }

/* ---- 夏のLINE特典（帯の中・2026/9/30まで。data-expires でJSが自動で外す） ---- */
.sc { max-width: 940px; margin: clamp(2.8rem, 6vw, 4rem) auto 0; padding: 0 1.25rem; }
.sc-head {
  text-align: center; background: rgba(3, 30, 46, .55); border: 1px solid rgba(207, 243, 255, .22);
  border-radius: 22px; padding: 1.4rem 1.2rem 1.3rem; margin-bottom: 1.4rem;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.sc-label { display: block; font-family: var(--ff-accent); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #FFE66D; margin-bottom: .45rem; }
.sc-head h2 { font-size: clamp(1.3rem, 4.2vw, 1.9rem); font-weight: 700; line-height: 1.5; color: #fff; margin-bottom: .6rem; }
.sc-hl { color: var(--ink); background: #FFE66D; border-radius: 8px; padding: 0 .35rem; display: inline-block; }
.sc-lead { font-size: clamp(.9rem, 2.6vw, 1rem); line-height: 1.85; margin-bottom: .8rem; }
.sc-lead strong { background: rgba(255, 255, 255, .2); border-radius: 6px; padding: .05rem .3rem; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sc-count { display: inline-block; background: #fff; color: var(--coral-ink); font-weight: 700; font-size: .92rem; padding: .3rem 1.1rem; border-radius: 50px; }
[data-deadline-days][hidden] { display: none !important; }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.1rem; }
.sc-card {
  display: flex; flex-direction: column; background: #fff; color: var(--text-dark); text-decoration: none;
  border-radius: var(--radius-lg); box-shadow: 0 18px 46px rgba(3, 32, 50, .38);
  padding: 1.5rem 1.4rem 1.3rem; border-top: 6px solid var(--coral);
  transition: transform var(--ease), box-shadow var(--ease);
}
.sc-card--aow { border-top-color: var(--sky); }
.sc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 58px rgba(3, 32, 50, .46); color: var(--text-dark); }
.sc-card__tag { align-self: flex-start; background: var(--bg-soft); color: var(--teal-ink); border: 1px solid #BFE6E2; font-size: .74rem; font-weight: 700; padding: .2rem .8rem; border-radius: 50px; margin-bottom: .6rem; }
.sc-card--aow .sc-card__tag { color: var(--sky-ink); border-color: #A9DDEA; }
.sc-card h3 { font-size: clamp(1.02rem, 3.2vw, 1.2rem); font-weight: 700; line-height: 1.5; color: var(--ink); margin-bottom: .5rem; }
.sc-card__price { background: var(--bg-soft); border-radius: var(--radius-md); padding: .8rem 1rem; text-align: center; margin-bottom: .9rem; }
.sc-card__price-label { display: block; font-size: .74rem; font-weight: 700; color: var(--teal-ink); }
.sc-card__price-now { display: block; font-size: clamp(1.6rem, 6vw, 2rem); font-weight: 700; color: var(--coral-ink); line-height: 1.25; font-family: var(--ff-accent); }
.sc-card__price-was { display: block; font-size: .76rem; color: var(--text-sub); text-decoration: line-through; }
.sc-card__points { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.sc-card__points li { position: relative; padding-left: 1.4em; font-size: .86rem; color: var(--text-sub); line-height: 1.75; }
.sc-card__points li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-ink); font-weight: 700; }
.sc-card__go { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: .4rem; background: var(--coral-ink); color: #fff; font-size: .92rem; font-weight: 700; padding: .8rem 1rem; border-radius: 50px; }
.sc-card--aow .sc-card__go { background: var(--sky-ink); }
.sc-note { margin-top: 1.1rem; font-size: .8rem; line-height: 1.85; color: var(--text-sub); background: rgba(255, 255, 255, .96); border-radius: var(--radius-md); padding: 1rem 1.2rem; }
.sc-note strong { color: var(--ink); background: #FFE66D; border-radius: 5px; padding: .05rem .3rem; }
.sc-cta { text-align: center; margin-top: 1.4rem; }
.sc-cta__note { display: inline-block; max-width: 620px; font-size: .82rem; margin-top: .9rem; line-height: 1.8; color: var(--text-sub); background: rgba(255, 255, 255, .96); border-radius: var(--radius-md); padding: .7rem 1.1rem; }
.sc-cta__note strong { color: var(--ink); background: #FFE66D; border-radius: 5px; padding: .05rem .3rem; }

/* ---- 秋冬（帯の中・常設。夏のLINE特典が外れたあとの、この帯の季節の枠）
        映像の本体ページは /winter-diving/ ---- */
.wf { max-width: 1080px; margin: clamp(2.8rem, 6vw, 4rem) auto 0; padding: 0 1.25rem; }
.wf-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.2rem, 3vw, 2.2rem); align-items: center;
  background: rgba(3, 30, 46, .55); border: 1px solid rgba(207, 243, 255, .22); border-radius: 26px;
  padding: clamp(1.1rem, 3vw, 2rem);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.wf-label { display: block; font-family: var(--ff-accent); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #CFF3FF; margin-bottom: .45rem; }
.wf-text h2 { font-size: clamp(1.35rem, 3.6vw, 1.9rem); font-weight: 700; line-height: 1.5; color: #fff; margin-bottom: .7rem; }
.wf-text h2 .nw { display: inline-block; }
.wf-lead { font-size: clamp(.9rem, 2.4vw, 1rem); line-height: 1.9; color: rgba(255, 255, 255, .94); }
.wf-lead b { color: #fff; background: rgba(111, 233, 247, .2); border-radius: 6px; padding: 0 .25rem; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.wf-facts { list-style: none; margin: 1rem 0 1.2rem; padding: 0; display: grid; gap: .5rem; }
.wf-facts li { display: flex; align-items: baseline; gap: .8rem; border-top: 1px solid rgba(207, 243, 255, .18); padding-top: .5rem; }
.wf-facts b { flex: 0 0 auto; min-width: 8.2em; font-family: var(--ff-accent); font-size: 1.02rem; color: #6FE9F7; white-space: nowrap; }
.wf-facts b small { font-family: var(--ff-body); font-size: .7em; margin-left: .1em; }
.wf-facts span { font-size: .8rem; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.wf-more {
  display: inline-flex; align-items: center; gap: .4rem; background: #fff; color: var(--deep-2); text-decoration: none;
  font-weight: 700; font-size: .92rem; padding: .75rem 1.3rem; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(1, 16, 26, .35); transition: transform var(--ease);
}
.wf-more:hover { transform: translateY(-2px); color: var(--deep-3); }
.wf-stage { border-radius: 18px; }
.wf-film .film-note { text-align: left; }
/* ---- 20秒の紹介映像「SEA GLASS」（帯の最後・常設）。秋冬の枠と左右を入れ替え、映像を左に
        （HTMLでも映像を先に置いているので、見た目とキーボード・読み上げの順が同じ） ---- */
.wf--sg .wf-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.sg-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: 1.2rem; }
.sg-cta .btn-line { font-size: .98rem; padding: .85rem 1.5rem; }
.sg-more { display: inline-flex; align-items: center; min-height: 44px; color: #CFF3FF; font-weight: 700; font-size: .92rem; text-decoration: underline; text-underline-offset: .28em; }
.sg-more:hover { color: #fff; }
@media (max-width: 860px) { .wf-grid, .wf--sg .wf-grid { grid-template-columns: 1fr; } .wf-film { order: -1; } }
@media (max-width: 520px) { .sg-cta .btn-line { width: 100%; } }
/* 幅の狭いスマホでは、映像カードの「音ありで観る」が再生ボタンに重ならないように（秋冬の枠にも効く） */
@media (max-width: 359px) {
  .wf-stage .film-play { width: 56px; height: 56px; }
  .wf-stage .film-meta > span:not(.sr-only) { display: none; }
}
@media (max-width: 420px) { .wf-facts li { flex-direction: column; gap: .1rem; } }

.hero-campaign-pill {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: .5rem;
  background: var(--coral-ink); color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .5); padding: .42rem 1.05rem; border-radius: 50px;
  font-size: .8rem; font-weight: 700; line-height: 1.5; margin-bottom: .8rem;
  box-shadow: 0 6px 18px rgba(209, 47, 106, .35); transition: transform var(--ease);
}
.hero-campaign-pill:hover { transform: translateY(-2px); color: #fff; }
.hero-campaign-pill .flag { background: #FFE66D; color: var(--ink); border-radius: 50px; padding: .1rem .6rem; font-size: .72rem; font-weight: 700; }
@media (max-width: 480px) { .hero-campaign-pill { font-size: .74rem; padding: .38rem .8rem; } }

/* ================================================================
   FINDER — いまのあなたに合うのは？
   ================================================================ */
.finder { padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem); }
.finder-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 2.2rem 0 1.2rem; }
.finder-tab {
  position: relative; text-align: left; cursor: pointer; font: inherit; color: var(--ink);
  background: #fff; border: 2px solid var(--border); border-radius: 20px; padding: 1rem 1rem 1rem 1.05rem;
  display: flex; flex-direction: column; gap: .2rem; min-height: 96px;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.finder-tab:hover { border-color: #9ADBD5; transform: translateY(-2px); }
.finder-tab .no { font-family: var(--ff-accent); font-size: .7rem; font-weight: 700; letter-spacing: .14em; color: var(--teal-ink); }
.finder-tab b { font-size: 1.02rem; line-height: 1.45; }
.finder-tab small { font-size: .8rem; color: var(--text-sub); line-height: 1.5; }
.finder-tab[aria-selected="true"] {
  border-color: var(--teal-ink); background: linear-gradient(160deg, #F2FBFA, #fff 60%);
  box-shadow: 0 14px 34px rgba(15, 118, 110, .16);
}
.finder-tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: -12px; width: 18px; height: 18px; background: #fff;
  border-right: 2px solid var(--teal-ink); border-bottom: 2px solid var(--teal-ink); transform: translateX(-50%) rotate(45deg);
}
.finder-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 0; align-items: stretch;
  background: #fff; border-radius: 28px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(6, 58, 87, .10);
}
.finder-panel + .finder-panel { margin-top: 1.2rem; }
.finder-media { position: relative; min-height: 300px; background: var(--bg-soft); }
.finder-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finder-media figcaption {
  position: absolute; left: 1rem; bottom: 1rem; background: rgba(8, 34, 45, .62); color: #fff;
  font-size: .76rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px;
}
.finder-body { padding: clamp(1.4rem, 3vw, 2.3rem); }
.finder-kicker { font-size: .78rem; font-weight: 700; color: var(--coral-ink); letter-spacing: .06em; margin-bottom: .2rem; }
.finder-body h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.4; color: var(--ink); margin-bottom: .7rem; }
.finder-body h3 small { display: block; font-size: .82rem; color: var(--text-sub); font-weight: 700; margin-top: .15rem; }
.finder-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; background: var(--bg-soft); border-radius: 16px; padding: .8rem 1rem; margin-bottom: 1rem; }
.finder-price .yen { font-family: var(--ff-accent); font-size: clamp(1.7rem, 4.4vw, 2.2rem); font-weight: 700; color: var(--coral-ink); line-height: 1.1; }
.finder-price .yen small { font-size: .5em; font-family: var(--ff-body); margin-left: .15em; color: var(--coral-ink2); }
.finder-price .sub { font-size: .8rem; color: var(--text-sub); line-height: 1.6; }
.finder-price .deal { flex-basis: 100%; font-size: .82rem; font-weight: 700; color: var(--ink); }
.finder-price .deal mark { background: #FFE66D; color: var(--ink); border-radius: 4px; padding: 0 .3rem; }
.finder-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .45rem; }
.finder-list li { position: relative; padding-left: 1.6rem; font-size: .93rem; line-height: 1.75; color: var(--text-dark); }
.finder-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--teal-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}
.finder-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; }
.finder-hint { margin-top: .8rem; font-size: .78rem; color: var(--text-sub); line-height: 1.7; }
.finder-hint q { color: var(--ink); font-weight: 700; quotes: "「" "」"; }
.finder-also { margin-top: 1.6rem; text-align: center; font-size: .9rem; color: var(--text-sub); }
.js-tabs .finder-panel[hidden] { display: none; }
.js-tabs .finder-panel.is-in { animation: panel-in .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) {
  .finder-tabs { grid-template-columns: repeat(2, 1fr); }
  .finder-tab[aria-selected="true"]::after { display: none; }
  .finder-panel { grid-template-columns: 1fr; }
  .finder-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 380px) { .finder-tab b { font-size: .94rem; } }

/* ================================================================
   SEA — 城ヶ島と宮川湾（スクロールで映像の章が切り替わる）
   ================================================================ */
.sea { position: relative; padding: clamp(3.5rem, 9vw, 6.5rem) 0; background: linear-gradient(180deg, #fff 0%, #EEF8FB 100%); }
.sea-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.4rem; align-items: start; }
.sea-media { position: sticky; top: 92px; z-index: 2; }
.sea-screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #0B2A3A;
  box-shadow: 0 30px 70px rgba(6, 58, 87, .28);
}
.sea-screen video, .sea-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sea-screen img { transition: opacity .6s ease; }
.sea-screen video { opacity: 0; transition: opacity .6s ease; }
.sea-screen.is-video video { opacity: 1; }
.sea-screen.is-video img { opacity: 0; }
.sea-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .18); z-index: 2; }
.sea-bar i { display: block; height: 100%; width: 0; background: #FFE66D; }
.sea-dots { position: absolute; z-index: 2; top: .8rem; right: .8rem; display: flex; gap: .35rem; }
.sea-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: background var(--ease), transform var(--ease); }
.sea-dots span.on { background: #fff; transform: scale(1.25); }
.sea-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .8rem; }
.sea-sound {
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; font: inherit;
  background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: .65rem 1.1rem; font-size: .88rem; font-weight: 700;
  transition: transform var(--ease), background var(--ease);
}
.sea-sound:hover { transform: translateY(-2px); background: #0F3D52; }
.sea-sound svg { width: .8rem; height: .8rem; fill: #fff; }
.sea-credit { font-size: .7rem; color: var(--text-sub); line-height: 1.5; }
.sea-steps { list-style: none; margin: 0; padding: 0; }
.sea-step {
  position: relative; min-height: 62vh; display: flex; flex-direction: column; justify-content: center;
  padding: 1.5rem 0 1.5rem 1.4rem;
}
/* いまの章に、左の線で目印（文字は薄くしない＝読めなくしない） */
.sea-step::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0; border-radius: 3px;
  background: linear-gradient(180deg, var(--teal), var(--sky-ink)); transform: translateY(-50%);
  transition: height .6s cubic-bezier(.2, .8, .2, 1);
}
.sea-step.is-active::before { height: min(70%, 16rem); }
.sea-step h3 { transition: color .4s ease; }
.sea-step.is-active h3 { color: var(--teal-ink); }
.sea-step:first-child { min-height: 48vh; padding-top: 0; }
.sea-step:last-child { min-height: 56vh; }
.sea-step .no { font-family: var(--ff-accent); font-size: .74rem; font-weight: 700; letter-spacing: .16em; color: var(--sky-ink); }
.sea-step h3 { font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.4; color: var(--ink); margin: .35rem 0 .2rem; }
.sea-step .catch { font-weight: 700; color: var(--teal-ink); margin-bottom: .7rem; font-size: 1.02rem; }
.sea-step p { font-size: .95rem; line-height: 1.95; color: var(--text-dark); }
.sea-step .facts { list-style: none; padding: 0; margin: .9rem 0 .8rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.sea-step .facts li { font-size: .8rem; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: .3rem .8rem; }
.sea-step .still { display: none; }
.js-sea .sea-step .still { display: none; }
@media (max-width: 899px) {
  .sea-grid { grid-template-columns: 1fr; gap: 0; }
  /* 映像は上に貼りつき、文章がその下を流れる */
  .sea-media { top: 46px; margin: 0 -1.25rem; padding: .8rem 1.25rem 1.4rem; background: linear-gradient(180deg, #fff 0%, #fff 82%, rgba(255, 255, 255, 0) 100%); }
  .sea-screen { border-radius: 16px; }
  .sea-tools { margin-top: .5rem; }
  .sea-credit { font-size: .64rem; }
  .sea-step { min-height: 70svh; padding: 2rem 0; }
  .sea-step:first-child { min-height: 60svh; }
}
/* 映像を動かさない環境では、章ごとの静止画を本文に並べる */
.no-motion .sea-media { position: static; }
.no-motion .sea-step { min-height: 0; padding: 1.4rem 0 1.4rem 1.4rem; }
.no-motion .sea-step .still { display: block; width: 100%; border-radius: 16px; margin-bottom: 1rem; aspect-ratio: 16 / 9; object-fit: cover; }

/* ================================================================
   COURSES — コースと料金
   ================================================================ */
.courses { padding: clamp(3.5rem, 9vw, 6.5rem) 0; background: #fff; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.4rem; }
.course {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: 24px; padding: 1.5rem 1.4rem 1.3rem; text-decoration: none; color: var(--text-dark);
  box-shadow: 0 4px 18px rgba(6, 58, 87, .05); transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.course:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(6, 58, 87, .12); border-color: #BFE6E2; color: var(--text-dark); }
.course__tag { align-self: flex-start; font-size: .72rem; font-weight: 700; color: var(--teal-ink); background: var(--bg-soft); border-radius: 999px; padding: .2rem .75rem; margin-bottom: .7rem; }
.course h3 { font-size: 1.15rem; line-height: 1.45; color: var(--ink); margin-bottom: .55rem; }
.course h3 small { display: block; font-size: .78rem; color: var(--text-sub); font-weight: 700; }
.course__price { font-family: var(--ff-accent); font-weight: 700; color: var(--coral-ink); font-size: 1.85rem; line-height: 1.15; }
.course__price .from { font-family: var(--ff-body); font-size: .5em; color: var(--text-sub); margin-right: .25em; }
.course__price small { font-family: var(--ff-body); font-size: .45em; color: var(--text-sub); margin-left: .2em; }
.course__price2 { font-size: .86rem; font-weight: 700; color: var(--ink); margin-top: .15rem; }
.course__inc { font-size: .8rem; color: var(--text-sub); line-height: 1.7; margin: .5rem 0 .8rem; }
.course__meta { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.course__meta li { font-size: .76rem; font-weight: 700; color: var(--ink); background: #F5F8FA; border-radius: 8px; padding: .2rem .55rem; }
.course__deal { font-size: .8rem; font-weight: 700; color: var(--ink); background: #FFF6CC; border-radius: 10px; padding: .45rem .7rem; margin-bottom: .9rem; }
.course__go { margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--teal-ink); }
.course__go::after { content: " →"; }
.courses-note { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.courses-note p { font-size: .84rem; line-height: 1.75; color: var(--text-dark); background: var(--bg-soft); border-radius: 16px; padding: .9rem 1rem; }
.courses-note b { color: var(--ink); }
.perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.2rem; }
.perk {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .2rem 1rem; align-items: start; text-decoration: none;
  border-radius: 22px; padding: 1.3rem 1.4rem; color: #fff; box-shadow: var(--shadow-md);
  transition: transform var(--ease);
}
.perk:hover { transform: translateY(-3px); color: #fff; }
.perk--tsuzukeru { background: linear-gradient(135deg, #0F766E, #1A7898); }
.perk--buddy { background: linear-gradient(135deg, #B8245A, #D12F6A 60%, #E0457A); }
.perk .big { grid-row: span 2; font-family: var(--ff-accent); font-weight: 700; font-size: 1.7rem; line-height: 1; background: rgba(255, 255, 255, .16); border-radius: 16px; padding: .8rem .75rem; text-align: center; min-width: 5.5rem; }
.perk .big small { display: block; font-family: var(--ff-body); font-size: .62rem; margin-top: .35rem; letter-spacing: .04em; }
.perk b { font-size: 1.02rem; line-height: 1.5; }
.perk span { font-size: .84rem; line-height: 1.7; opacity: .95; }
@media (max-width: 959px) {
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-note { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .course-grid { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
}

/* ================================================================
   INSTRUCTOR — 教えるのは、インストラクターを育てる人。
   ================================================================ */
.teacher { padding: clamp(3.5rem, 9vw, 6.5rem) 0; background: var(--bg-soft); }
.teacher-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.teacher-photo { position: relative; }
.teacher-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 70px rgba(6, 58, 87, .22); }
.teacher-badge {
  position: absolute; right: -10px; bottom: 22px; background: #fff; border-radius: 18px; padding: .9rem 1.1rem;
  box-shadow: 0 18px 40px rgba(6, 58, 87, .2); max-width: 250px;
}
.teacher-badge b { display: block; font-family: var(--ff-accent); font-size: .78rem; letter-spacing: .12em; color: var(--sky-ink); }
.teacher-badge span { display: block; font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.45; }
.teacher-badge small { display: block; font-size: .74rem; color: var(--text-sub); line-height: 1.6; margin-top: .2rem; }
.teacher-body p { font-size: .98rem; line-height: 2; color: var(--text-dark); margin-bottom: 1rem; }
.timeline { list-style: none; margin: 1.4rem 0 1.6rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--sky)); opacity: .5; }
.timeline li { position: relative; padding-top: 2.1rem; font-size: .8rem; line-height: 1.6; color: var(--text-sub); }
.timeline li::before { content: ""; position: absolute; top: 5px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--teal-ink); }
.timeline b { display: block; font-family: var(--ff-accent); font-size: 1.05rem; color: var(--ink); }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 2.4rem; }
.promise { background: #fff; border-radius: 22px; padding: 1.3rem 1.2rem; border: 1px solid var(--border); }
.promise .n { font-family: var(--ff-accent); font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--coral-ink); }
.promise h3 { font-size: 1.05rem; line-height: 1.5; color: var(--ink); margin: .3rem 0 .4rem; }
.promise p { font-size: .86rem; line-height: 1.8; color: var(--text-sub); }
@media (max-width: 899px) {
  .teacher-grid { grid-template-columns: 1fr; }
  .teacher-photo { max-width: 520px; margin: 0 auto; width: 100%; }
  .teacher-badge { right: 12px; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
  .timeline::before { display: none; }
  .promises { grid-template-columns: 1fr; }
}

/* ================================================================
   VOICE — 写真が流れる帯＋お客様の声
   ================================================================ */
.v-card blockquote { margin: 0; }
.voice { padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem); background: #fff; overflow: hidden; }
.marquee { margin-top: 2.2rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee img { width: clamp(220px, 26vw, 330px); aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; }
.v-card { position: relative; background: var(--bg-soft); border-radius: 22px; padding: 1.6rem 1.4rem 1.3rem; }
.v-card::before { content: "“"; position: absolute; top: .2rem; left: 1rem; font-family: Georgia, serif; font-size: 3.4rem; line-height: 1; color: #9ADBD5; }
.v-card p { font-size: .93rem; line-height: 1.95; color: var(--text-dark); padding-top: 1.1rem; margin-bottom: .9rem; }
.v-card figcaption { font-size: .8rem; font-weight: 700; color: var(--ink); }
.v-card figcaption small { display: block; font-weight: 500; color: var(--text-sub); }
@media (max-width: 899px) { .voices { grid-template-columns: 1fr; } }

/* ================================================================
   MORE — アプリと本（小さく）
   ================================================================ */
.more { padding: clamp(2.5rem, 6vw, 4rem) 0; background: #fff; }
.more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.more-card { border-radius: 24px; padding: 1.4rem 1.5rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: center; }
.more-card--app { background: linear-gradient(135deg, #0B5F73, #063A4A); color: #fff; }
.more-card--app img.icon { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
.more-card--app .tag { display: inline-block; font-size: .7rem; font-weight: 700; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: .15rem .7rem; margin-bottom: .45rem; }
.more-card--app h2 { font-size: 1.05rem; line-height: 1.5; color: #fff; margin-bottom: .35rem; }
.more-card--app p { font-size: .82rem; line-height: 1.7; opacity: .95; margin-bottom: .7rem; }
.more-card--app .row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.more-card--app .row img { height: 42px; width: auto; }
.more-card--app .row a:not(:first-child) { color: #fff; font-weight: 700; font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; }
.more-card--books { background: var(--bg-soft); grid-template-columns: 1fr; }
.more-card--books h2 { font-size: 1.05rem; line-height: 1.5; color: var(--ink); }
.more-card--books p { font-size: .82rem; line-height: 1.7; color: var(--text-sub); }
.books { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; }
.books a { display: block; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--border); transition: transform var(--ease); }
.books a:hover { transform: translateY(-3px); }
.books img { width: 100%; aspect-ratio: 7 / 5; object-fit: contain; background: #fff; }
.more-card--books .all { font-size: .84rem; font-weight: 700; color: var(--coral-ink); }
@media (max-width: 899px) { .more-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .more-card--app { grid-template-columns: 1fr; } }

/* ================================================================
   CONDITION — 今週のダイビングコンディション
   ================================================================ */
.cond { padding: clamp(3.5rem, 9vw, 6rem) 0; background: var(--bg-soft); }
.cond-cards {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; margin-top: 2.2rem;
}
.cond-card {
  font: inherit; cursor: pointer; text-align: center; background: #fff; border: 2px solid transparent;
  border-radius: 18px; padding: .9rem .4rem .8rem; box-shadow: 0 4px 14px rgba(6, 58, 87, .06);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease); color: var(--ink);
}
.cond-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(6, 58, 87, .12); }
.cond-card[aria-pressed="true"] { border-color: var(--teal-ink); box-shadow: 0 14px 30px rgba(15, 118, 110, .2); }
.cond-card .d { display: block; font-size: .72rem; font-weight: 700; color: var(--text-sub); min-height: 1.1em; }
.cond-card .date { display: block; font-weight: 700; font-size: .98rem; }
.cond-card .sun { color: #C0392B; }
.cond-card .sat { color: #1F6FB2; }
.cond-card .ic { display: block; font-size: 1.7rem; line-height: 1.3; margin: .2rem 0; }
.cond-card .t, .cond-card .w { display: block; font-size: .74rem; color: var(--text-sub); line-height: 1.5; }
.cond-card .rank { display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; color: #fff; font-weight: 700; margin-top: .45rem; }
.cond-card .rl { display: block; font-size: .7rem; color: var(--text-sub); margin-top: .15rem; font-weight: 700; }
.rank-best { background: #0F766E; } .rank-good { background: #1A7898; } .rank-caution { background: #B26A00; } .rank-ng { background: #B83A2E; }
.cond-loading { grid-column: 1 / -1; color: var(--text-sub); padding: 2rem 0; }
.cond-action {
  margin: 1.2rem auto 0; max-width: 760px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.2rem;
  background: #fff; border-radius: 20px; padding: 1rem 1.2rem; box-shadow: 0 10px 30px rgba(6, 58, 87, .1);
}
.cond-action[hidden] { display: none; }
.cond-action p { font-weight: 700; color: var(--ink); }
.cond-action .btn-line { padding: .8rem 1.3rem; font-size: .95rem; }
.cond-action .alt { font-size: .86rem; font-weight: 700; color: var(--teal-ink); }
.cond-note { font-size: .78rem; color: var(--text-sub); margin-top: 1rem; }
@media (max-width: 899px) {
  .cond-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; -webkit-overflow-scrolling: touch; }
  .cond-card { flex: 0 0 112px; scroll-snap-align: start; }
}

/* ================================================================
   FAQ
   ================================================================ */
.faq { padding: clamp(3.5rem, 9vw, 6rem) 0; background: #fff; }
.faq .faq-list { max-width: 820px; margin: 2rem auto 0; }
.faq .faq-item summary { font-size: 1rem; color: var(--ink); padding: 1.2rem 0; }
.faq .faq-item summary::after { color: var(--teal-ink); }
.faq .faq-answer { font-size: .94rem; line-height: 1.95; }

/* ================================================================
   CONTACT — まずは、LINEで聞いてみる。（いちばん深いところ）
   ================================================================ */
.ask {
  position: relative; z-index: 2; color: #fff; text-align: center; overflow: hidden;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(78, 205, 196, .28), rgba(78, 205, 196, 0) 70%),
    linear-gradient(180deg, #06405E 0%, #04263A 100%);
}
.ask::before {
  /* 上から差す光の柱（CSSだけ・動きなし） */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(100deg, rgba(207, 243, 255, 0) 0 60px, rgba(207, 243, 255, .06) 60px 90px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.ask > * { position: relative; }
.ask .h-label { color: #9FE8E1; }
.ask h2 { color: #fff; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.35; margin-bottom: 1rem; }
.ask .h-lead { color: rgba(255, 255, 255, .88); margin: 0 auto; }
.ask-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1rem; max-width: 900px; margin: 2.4rem auto 0; text-align: left; }
.ask-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(207, 243, 255, .2); border-radius: 26px; padding: 1.6rem 1.5rem; }
.ask-card--line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 1.4rem; align-items: center; background: #fff; color: var(--ink); }
.ask-card h3 { font-size: 1.2rem; line-height: 1.5; margin-bottom: .4rem; }
.ask-card p { font-size: .88rem; line-height: 1.8; opacity: .92; margin-bottom: 1rem; }
.ask-card--line p { color: var(--text-sub); }
.ask-card--line .btn-line { width: 100%; }
.ask-qr { text-align: center; font-size: .72rem; color: var(--text-sub); }
.ask-qr img { width: 124px; height: 124px; border-radius: 12px; border: 1px solid var(--border); margin: 0 auto .3rem; }
.ask-card--form h3 { color: #fff; }
.ask-form-btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%;
  background: #fff; color: var(--ink); font-weight: 700; border-radius: 999px; padding: 1rem 1.2rem; text-decoration: none;
  transition: transform var(--ease);
}
.ask-form-btn:hover { transform: translateY(-2px); color: var(--ink); }
.ask-info { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: 1.8rem; font-size: .84rem; color: rgba(255, 255, 255, .85); }
.ask-info span { display: inline-flex; align-items: center; gap: .4rem; }
.ask-info svg { width: 1em; height: 1em; fill: #9FE8E1; }
@media (max-width: 899px) {
  .ask-grid { grid-template-columns: 1fr; }
  .ask-card--line { grid-template-columns: 1fr; }
  .ask-qr { display: none; }
}

/* ================================================================
   SNS — 毎週の海を、SNSで。
   ================================================================ */
.sns { padding: clamp(3.5rem, 9vw, 6rem) 0; background: #fff; }
.sns-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; max-width: 980px; margin: 0 auto; }
.phone {
  position: relative; width: clamp(220px, 26vw, 280px); aspect-ratio: 9 / 19.2; border-radius: 42px; padding: 10px;
  background: linear-gradient(145deg, #1d2a33, #0b1319); box-shadow: 0 40px 80px rgba(6, 58, 87, .3), inset 0 0 0 2px rgba(255, 255, 255, .08);
  margin: 0 auto;
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #03202f; }
.phone__screen video, .phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__notch { position: absolute; z-index: 2; top: 18px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; background: #0b1319; border-radius: 999px; }
.phone__sound {
  position: absolute; z-index: 3; right: 12px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .55); color: #fff; display: flex; align-items: center; justify-content: center;
}
.phone__sound svg { width: 20px; height: 20px; fill: #fff; }
.sns-body .h-title { margin-bottom: .8rem; }
.sns-links { display: grid; gap: .7rem; margin-top: 1.4rem; max-width: 460px; }
.sns-link {
  display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--ink);
  background: var(--bg-soft); border-radius: 18px; padding: .9rem 1.1rem; font-weight: 700;
  transition: transform var(--ease), background var(--ease);
}
.sns-link:hover { transform: translateX(4px); background: #E6F3F7; color: var(--ink); }
.sns-link .ico { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.sns-link .ico svg { width: 22px; height: 22px; fill: #fff; }
.sns-link small { display: block; font-size: .76rem; font-weight: 500; color: var(--text-sub); }
.ico--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.ico--fb { background: #1877F2; }
.ico--x { background: #111; }
.fb-slot { margin-top: 1rem; max-width: 460px; }
.fb-load { font: inherit; cursor: pointer; width: 100%; background: #fff; border: 1.5px dashed #9CC3D3; color: var(--ink); border-radius: 16px; padding: .9rem; font-size: .86rem; font-weight: 700; }
.fb-load:hover { background: var(--bg-soft); }
.fb-slot iframe { width: 100%; height: 520px; border: 0; border-radius: 16px; background: #fff; }
@media (max-width: 767px) {
  .sns-grid { grid-template-columns: 1fr; text-align: center; }
  .sns-links, .fb-slot { margin-left: auto; margin-right: auto; text-align: left; }
}

/* ================================================================
   ABOUT（検索向けの補足文）
   ================================================================ */
.about { padding: 2.2rem 0 3rem; background: #fff; }
.about-box { max-width: 900px; margin: 0 auto; font-size: .84rem; line-height: 1.95; color: var(--text-sub); }
.about-box h2 { font-size: 1rem; color: var(--ink); margin-bottom: .6rem; }
.about-box p + p { margin-top: .6rem; }
.about-box a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ================================================================
   DEPTH GAUGE — 右端の水深計（ページ内の目次）
   ================================================================ */
.depth { display: none; }
@media (min-width: 1400px) and (pointer: fine) {
  .depth {
    display: block; position: fixed; z-index: 900; right: 18px; top: 50%; transform: translateY(-50%);
    opacity: 0; pointer-events: none; transition: opacity .5s ease;
  }
  .depth.is-on { opacity: 1; pointer-events: auto; }
  .depth__read {
    display: block; text-align: right; font-family: var(--ff-accent); font-weight: 700; font-size: .72rem;
    letter-spacing: .08em; color: var(--ink); margin-bottom: .5rem; text-shadow: 0 0 6px #fff;
  }
  .depth__read b { font-size: 1.05rem; }
  .depth.is-dark .depth__read { color: #fff; text-shadow: 0 0 6px rgba(0, 0, 0, .5); }
  .depth ol { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; }
  .depth ol::before { content: ""; position: absolute; right: 5px; top: 6px; bottom: 6px; width: 2px; background: rgba(15, 118, 110, .25); border-radius: 2px; }
  .depth.is-dark ol::before { background: rgba(255, 255, 255, .35); }
  .depth li a {
    position: relative; display: flex; align-items: center; justify-content: flex-end; gap: .55rem;
    height: 26px; text-decoration: none; font-size: .72rem; font-weight: 700; color: transparent;
    transition: color .3s ease;
  }
  .depth li a::after {
    content: ""; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid rgba(15, 118, 110, .45);
    transition: transform .3s ease, background .3s ease, border-color .3s ease;
  }
  .depth:hover li a { color: var(--ink); }
  .depth.is-dark:hover li a { color: #fff; }
  .depth li a:hover::after { transform: scale(1.25); }
  .depth li a.on::after { background: var(--teal-ink); border-color: var(--teal-ink); transform: scale(1.35); }
  .depth li a.on { color: var(--ink); }
  .depth.is-dark li a.on { color: #fff; }
  .depth li a span { background: rgba(255, 255, 255, .92); padding: .1rem .5rem; border-radius: 999px; }
  .depth.is-dark li a span { background: rgba(4, 38, 58, .8); }
  .depth li a:not(.on) span { background: transparent; }
  .depth:hover li a span { background: rgba(255, 255, 255, .92); }
  .depth.is-dark:hover li a span { background: rgba(4, 38, 58, .8); }
}

/* ================================================================
   THEATER — 映像を大きく観る（<dialog>）
   ================================================================ */
.theater {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: #fff; overflow: hidden;
}
.theater::backdrop { background: rgba(2, 14, 22, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.theater[open] { display: flex; align-items: center; justify-content: center; animation: fade-in .35s ease; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.theater__inner { width: min(100%, 1280px, calc((100dvh - 150px) * 16 / 9)); padding: 0 1rem; }
.theater--vertical .theater__inner { width: min(100%, 420px, calc((100dvh - 150px) * 9 / 16)); }
.theater__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; }
.theater__bar p { font-weight: 700; font-size: .95rem; line-height: 1.4; }
.theater__close {
  flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.theater__close:hover { background: rgba(255, 255, 255, .2); }
.theater__screen { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); transform-origin: top left; }
.theater--vertical .theater__screen { aspect-ratio: 9 / 16; }
.theater__screen video { width: 100%; height: 100%; display: block; background: #000; }
.theater__chapters { display: flex; gap: .45rem; overflow-x: auto; margin-top: .8rem; padding-bottom: .3rem; scrollbar-width: none; }
.theater__chapters::-webkit-scrollbar { display: none; }
.theater__chapters button {
  flex: none; font: inherit; cursor: pointer; font-size: .8rem; font-weight: 700; white-space: nowrap;
  background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: .4rem .8rem;
}
.theater__chapters button:hover, .theater__chapters button.on { background: #fff; color: var(--ink); }
.theater__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1rem; margin-top: 1rem; }
.theater__cta .btn-line { padding: .8rem 1.3rem; font-size: .95rem; }
.theater__cta a.sub { color: #CFF3FF; font-weight: 700; font-size: .88rem; }
html.is-theater { overflow: hidden; }

/* ================================================================
   TOAST — 「メッセージをコピーしました」
   ================================================================ */
.toast {
  position: fixed; z-index: 2000; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px);
  max-width: min(92vw, 520px); background: var(--ink); color: #fff; font-size: .88rem; line-height: 1.6; font-weight: 700;
  padding: .8rem 1.2rem; border-radius: 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ================================================================
   モバイル下部の固定CTA（トップだけ色を読みやすく）
   ================================================================ */
.home .mobile-cta-bar .cta-line { background: var(--line); box-shadow: 0 4px 14px rgba(0, 110, 50, .3); }
.home .mobile-cta-bar .cta-form { background: var(--coral-ink); box-shadow: 0 4px 14px rgba(209, 47, 106, .25); }
.home .mobile-cta-bar svg { width: 1.1em; height: 1.1em; fill: currentColor; }
/* ヒーローにいる間は重複するので出さない（出入りはJSが .is-hidden で制御） */
.home .mobile-cta-bar { transition: transform .35s ease; }
.home .mobile-cta-bar.is-hidden { transform: translateY(110%); }

/* フッター（トップ用の差分） */
.home .footer-bottom p { color: rgba(255, 255, 255, .72); }
.home .footer-nav h2, .home .footer-social h2 { color: #fff; font-size: .9rem; margin-bottom: .75rem; }
.home .footer-social-icons svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }

/* ================================================================
   動きを減らす設定
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track img[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .hero-play .ring::after, .film-play::before, .film-play::after { animation: none; }
  .js-tabs .finder-panel.is-in { animation: none; }
  .theater[open] { animation: none; }
}
@media print {
  .depth, .theater, .toast, .dive-band video { display: none !important; }
}


/* 海学公式アプリ・2026-09-30公開 */
.more-card--umigaku {
  grid-column: 1 / -1; grid-template-columns: 128px minmax(0, 1fr);
  gap: clamp(1.3rem, 4vw, 3rem); padding: clamp(1.7rem, 4vw, 3.3rem);
  border-radius: 30px;
  background: radial-gradient(ellipse at 5% 0%, #116f7a 0%, transparent 60%), linear-gradient(130deg, #0b5264, #063744);
}
.more-card--umigaku img.icon { width: 128px; height: 128px; border-radius: 28px; }
.more-card--umigaku .tag { font-size: .78rem; padding: .3rem .85rem; margin-bottom: .75rem; }
.more-card--umigaku h2 { font-size: clamp(1.1rem, 2.6vw, 1.6rem); margin-bottom: .5rem; }
.more-card--umigaku .umigaku-headline { font-size: clamp(1.2rem, 3vw, 1.85rem); font-weight: 700; color: #d6fff2; opacity: 1; margin-bottom: .55rem; }
.more-card--umigaku p { font-size: clamp(.88rem, 1.7vw, 1rem); line-height: 1.9; max-width: 690px; margin-bottom: 1rem; }
.more-card--umigaku .row { gap: 1rem 1.3rem; }
.more-card--umigaku .row img { height: 56px; }
.more-card--umigaku .row a:not(:first-child) { font-size: .96rem; padding: .6rem 0; }
.umigaku-icon-link { border-radius: 28px; display: block; }
.umigaku-store-link { display: block; }
.more-card--umigaku a:focus-visible { outline: 3px solid #f3d797; outline-offset: 6px; }
/* 句で折り返す（Safari は auto-phrase 未対応のため） */
.more-card--umigaku .nw { display: inline-block; max-width: 100%; }
@media (max-width: 560px) {
  .more-card--umigaku { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; border-radius: 24px; }
  .more-card--umigaku img.icon { width: 88px; height: 88px; border-radius: 20px; }
}
