/* Blaze太子BC 公式サイト 共通スタイル
   ティールグリーン（--brand）を面で敷き、白抜きの大きな文字と波形の切り抜きで構成する */

:root {
  --brand: #0e8573;      /* 地色。参考サイトのティールを少し緑に寄せ、白文字で 4.54:1 を満たす明るさまで濃くした色 */
  --brand-deep: #0c7968; /* 淡い背景に載せる文字（コントラスト 5.3:1） */
  --paper: #f4fbf9;      /* 白地セクションの背景 */
  --ink: #12261f;        /* 本文・差し色 */
  --sun: #ffc21a;        /* 優勝・フォーカス */
  --muted: #5d6475;
  --line: #d3ebe5;
  --wrap: 1180px;
  --font: "Zen Kaku Gothic New", -apple-system, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-en: "Lexend", "Zen Kaku Gothic New", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 日本語の改行：文節の区切りで折り返し（対応ブラウザのみ）、見出しは行の長さをそろえる */
body { word-break: auto-phrase; overflow-wrap: anywhere; }
h1, h2, h3, .rules b, .cheki-note, .docs a { text-wrap: balance; }
p, dd, li { text-wrap: pretty; }

img { max-width: 100%; display: block; }
a { color: inherit; }
svg { display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; }
@media (max-width: 620px) { .wrap { padding: 0 16px; } }

/* ---------- 見出し ---------- */
.eyebrow {
  font-family: var(--font-en); font-weight: 500; font-size: 15px; letter-spacing: .06em;
  margin: 0 0 18px; display: flex; align-items: center; gap: 12px; color: #fff;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.is-ink { color: var(--brand-deep); }

.statement {
  font-weight: 700; font-size: clamp(52px, 8.4vw, 112px); line-height: 1.3;
  letter-spacing: .16em; margin: 0; color: #fff;
}
.statement.is-sm { font-size: clamp(40px, 6vw, 80px); }

.section-title {
  font-weight: 700; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.5;
  letter-spacing: .08em; margin: 0;
}
.section-title.is-sm { font-size: clamp(22px, 2.6vw, 30px); }
.lead { margin: 20px 0 0; max-width: 34em; }

.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.head-row > div { flex-shrink: 0; }
.head-row .lead { margin: 0; color: var(--muted); font-size: 15px; max-width: 30em; }
@media (max-width: 820px) { .head-row { flex-direction: column; align-items: flex-start; gap: 16px; } }

.note { font-size: 14px; color: var(--muted); margin: 24px 0 0; }

/* ---------- ボタン・リンク ---------- */
.link-arrow {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  min-width: 300px; padding: 12px 4px; margin-top: 16px;
  color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .06em;
  border-bottom: 1px solid rgba(255,255,255,.6);
}
.link-arrow svg { width: 20px; height: 20px; transition: transform .25s ease; }
.link-arrow:hover svg { transform: translateX(6px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid #fff;
  background: #fff; color: var(--brand-deep); font-weight: 700; font-size: 15px;
  text-decoration: none; line-height: 1.3; letter-spacing: .04em;
  transition: background .2s ease, color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.is-line { background: transparent; color: #fff; }
.btn.is-line:hover { background: #fff; border-color: #fff; color: var(--brand-deep); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 32px; color: #fff;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-solid { background: var(--brand); box-shadow: 0 6px 24px rgba(0,80,70,.18); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; }
.brand-name { font-family: var(--font-en); font-weight: 600; font-size: 20px; letter-spacing: .04em; }

.gnav { display: flex; gap: 28px; margin-left: auto; }
.gnav a {
  font-family: var(--font-en); font-weight: 500; font-size: 15px; letter-spacing: .04em;
  color: #fff; text-decoration: none; text-align: center; line-height: 1.3;
}
.gnav small { display: block; font-family: var(--font); font-size: 10px; letter-spacing: .08em; }
.gnav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ヘッダーの体験入部ボタン。差し色の黄色で、写真の上でも緑の帯の上でも目立たせる。数秒おきに光が流れる */
.header-cta {
  position: relative; overflow: hidden; flex: none;
  padding: 11px 22px; gap: 8px; font-size: 15px; font-weight: 800;
  background: var(--sun); border-color: var(--sun); color: var(--ink);
  box-shadow: 0 4px 16px rgba(255,194,26,.45), 0 2px 6px rgba(0,0,0,.2);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.header-cta svg { width: 16px; height: 16px; transition: transform .2s ease; }
.header-cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent);
  transform: skewX(-20deg); animation: cta-shine 4s ease-in-out 1.5s infinite;
}
@keyframes cta-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.header-cta:hover { background: #fff; border-color: #fff; color: var(--brand-deep); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.header-cta:hover svg { transform: translateX(3px); }

.menu-toggle {
  width: 52px; height: 52px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0;
  position: relative; z-index: 2;
}
.menu-toggle svg { width: 24px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .3s ease; }
.menu-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--brand); color: #fff;
  display: flex; align-items: center; padding: 96px 32px 48px; overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu nav { width: 100%; max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 40px; }
.menu a {
  font-family: var(--font-en); font-weight: 600; font-size: clamp(28px, 5vw, 44px); line-height: 1.2;
  text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.3);
}
.menu small { display: block; font-family: var(--font); font-size: 13px; font-weight: 500; letter-spacing: .1em; margin-top: 4px; }
.menu a:hover { text-decoration: underline; text-underline-offset: 6px; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: transparent; box-shadow: none; }

@media (max-width: 960px) {
  .gnav { display: none; }
  .site-header { padding: 0 16px; height: 68px; gap: 12px; }
  .header-cta { margin-left: auto; padding: 9px 14px; font-size: 13px; letter-spacing: .02em; }
}
.brand-name { white-space: nowrap; }
/* 狭い画面ではロゴ名を折り返さないよう「受付中」を省く */
@media (max-width: 420px) {
  .brand-name { font-size: 17px; }
  .brand { gap: 8px; }
  .header-cta-sub { display: none; }
}
@media (max-width: 520px) { .menu nav { grid-template-columns: 1fr; } }

/* ---------- ファーストビュー ---------- */
.kv {
  position: relative; height: 100svh; min-height: 620px; max-height: 1000px;
  background: var(--brand); overflow: hidden; color: #fff;
}
.hero { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
/* スライドショー：重ねた写真をクロスフェードし、表示中はゆっくり寄っていく */
.hero-slide {
  position: absolute; inset: 0; background: center / cover no-repeat;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease, transform 8s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,30,24,.5) 0%, rgba(10,30,24,0) 28%),
    linear-gradient(0deg, rgba(10,30,24,.45) 20%, rgba(10,30,24,0) 60%);
}

.kv-controls { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.kv-dots { display: flex; flex-direction: column; gap: 10px; }
.kv-dots button {
  width: 12px; height: 12px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1.5px solid #fff; background: transparent; transition: background .3s ease, transform .3s ease;
}
.kv-dots button[aria-current="true"] { background: #fff; transform: scale(1.2); }
.kv-pause {
  width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.8);
  background: rgba(10,30,24,.2); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0;
}
.kv-pause svg { width: 16px; height: 16px; }

.kv-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 38%; fill: var(--brand); pointer-events: none; }
.kv-wave .is-narrow { display: none; }

/* 文字の大きさと通り道は main.js が画面幅に合わせて決める */
.kv-arc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.kv-arc text { font-family: var(--font-en); font-weight: 600; letter-spacing: .05em; fill: #fff; }
.kv-shuttle path, .kv-shuttle circle { fill: #fff; }
.kv-shuttle .kv-shuttle-rib { fill: none; stroke: var(--brand); stroke-width: 2; }
/* クラブ名を左から1文字ずつ、黄色く光らせてから白に落ち着かせる。最後にシャトルが現れる */
.kv-arc.is-anim tspan { fill-opacity: 0; animation: arc-letter .9s cubic-bezier(.2, .7, .2, 1) calc(.5s + var(--i) * .08s) forwards; }
.kv-arc.is-anim .kv-shuttle { opacity: 0; animation: arc-shuttle .6s ease-out calc(.6s + var(--n) * .08s) forwards; }
@keyframes arc-letter {
  0% { fill-opacity: 0; fill: var(--sun); stroke: var(--sun); stroke-width: 0; }
  35% { fill-opacity: 1; fill: var(--sun); stroke: var(--sun); stroke-width: 3px; stroke-opacity: .5; }
  100% { fill-opacity: 1; fill: #fff; stroke-width: 0; }
}
@keyframes arc-shuttle { to { opacity: 1; } }

.kv-copy { position: absolute; right: 6%; bottom: 7%; text-align: right; }
.kv-copy h1 {
  margin: 0; font-weight: 700; font-size: clamp(20px, 2.3vw, 30px); line-height: 1.6; letter-spacing: .12em;
}
/* 説明文は SVG でクラブ名の上に沿わせて描くので、HTML 側は読み上げ用に見えなくしておく */
.kv-lead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 文字の大きさは main.js が決める。写真の上でも読めるよう影を付ける */
.kv-arc .kv-lead-arc {
  font-family: var(--font); font-weight: 700; letter-spacing: .1em; fill: #fff;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.6));
}
.kv-arc.is-anim .kv-lead-arc { opacity: 0; animation: arc-shuttle .8s ease-out .2s forwards; }

.kv-scroll {
  position: absolute; left: 32px; bottom: 28px; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 13px; letter-spacing: .08em; color: #fff; text-decoration: none;
}
.kv-scroll span { width: 1px; height: 56px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.kv-scroll span::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: #fff;
  animation: drip 2s ease-in-out infinite;
}
@keyframes drip { to { top: 100%; } }

@media (max-width: 820px) {
  .kv { min-height: 560px; }
  /* 縦長の画面では写真の中央しか映らないので、写真ごとに見せたい位置（--sp-pos）を中心にする */
  .hero-slide { background-position: var(--sp-pos, 50% 50%); }
  .kv-wave { height: 34%; }
  .kv-wave .is-wide { display: none; }
  .kv-wave .is-narrow { display: inline; }
  .kv-copy { left: 16px; right: 16px; bottom: 32px; text-align: right; }
  .kv-copy h1 { font-size: 22px; }
  .kv-arc .kv-lead-arc { letter-spacing: .02em; } /* 1行に収めるため字間を詰め、そのぶん文字を大きくする */
  .kv-scroll { display: none; }
  .kv-controls { right: 16px; top: 96px; transform: none; }
}

/* ---------- ティールグリーンの面（About / Style / Rules / Join / Footer） ---------- */
.about, .style, .rules-sec, .join, .site-footer { background: var(--brand); color: #fff; }

.about { padding: 120px 0 140px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.about-illustration {
  width: clamp(280px, 30vw, 420px);
  height: auto;
  object-fit: contain;
  margin-top: 24px;
}
.poem p { margin: 0 0 28px; font-size: 16px; line-height: 2.2; letter-spacing: .06em; }
@media (max-width: 900px) {
  .about { padding: 88px 0 100px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-illustration { width: 280px; margin-top: 12px; }
}

/* 写真の帯：上下を波形で切り抜く */
.photo-band { position: relative; background: var(--brand); }
.photo-band img { width: 100%; height: clamp(280px, 48vw, 640px); object-fit: cover; }
.band-wave { position: absolute; left: 0; width: 100%; height: clamp(40px, 7vw, 110px); fill: var(--brand); }
.band-wave.is-top { top: -1px; }
.band-wave.is-bottom { bottom: -1px; }
.band-wave.is-paper { fill: var(--paper); }

/* 流体アニメーションの細い帯（Rules と Practice のあいだ） */
/* 読み込み中は背景色だけ。アニメーションを出せないとき（is-static）だけ写真を表示する */
.fluid-band { position: relative; overflow: hidden; height: clamp(180px, 22vw, 300px); background: #091226; } /* 流体の背景色（シェーダーの navy）と同じ */
.fluid-band.is-static { background: var(--ink) url("../img/gym.jpg") center / cover no-repeat; }
.fluid-band.is-static::after { content: ""; position: absolute; inset: 0; background: rgba(10,30,24,.45); }
.fluid-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; touch-action: pan-y; }
.fluid-band.is-fluid .fluid-canvas { opacity: 1; }
.fluid-band .band-wave { z-index: 1; height: clamp(22px, 3.2vw, 48px); }

.style { padding: 100px 0 120px; }
.style-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 56px; }
.style-item { padding: 0 0 48px 48px; border-left: 1px solid rgba(255,255,255,.35); }
.style-item:nth-child(odd) { padding: 0 48px 48px 0; border-left: 0; }
.style-item:nth-child(n+3) { padding-top: 48px; padding-bottom: 0; border-top: 1px solid rgba(255,255,255,.35); }
.spot-illustration {
  width: clamp(148px, 16vw, 190px); height: 150px; margin: 0 0 28px;
  object-fit: contain; object-position: left center;
}
.style-item h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.6; letter-spacing: .08em; margin: 0 0 16px; }
@media (min-width: 901px) { .style-item h3 { min-height: 3.2em; } } /* 左右で説明文の上端をそろえる（見出し2行分） */
.style-item p { margin: 0; font-size: 15px; line-height: 2; }
@media (max-width: 900px) {
  .style-grid { grid-template-columns: 1fr; gap: 48px; }
  .style-item, .style-item:nth-child(n) { padding: 40px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.35); }
  .style-item:first-child { border-top: 0; padding-top: 0; }
  .spot-illustration { width: 156px; height: 132px; margin-bottom: 22px; }
}

.rules-sec { padding: 40px 0 120px; }
.rules-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; padding-top: 80px; border-top: 1px solid rgba(255,255,255,.35); }
.rules { list-style: none; margin: 0; padding: 0; }
.rules li { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.35); display: grid; gap: 4px; }
.rules li:first-child { padding-top: 0; }
.rules b { font-size: clamp(19px, 2vw, 24px); letter-spacing: .08em; line-height: 1.5; }
.rules span { font-size: 14px; }
@media (max-width: 900px) { .rules-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; } }

/* ---------- 白地のセクション ---------- */
.practice, .results-sec, .ig, .support { padding: 120px 0; }
.results-sec { background: #fff; }
.support { border-top: 1px solid var(--line); padding-bottom: 180px; }
@media (max-width: 620px) { .practice, .results-sec, .ig, .support { padding: 80px 0; } }

/* 練習日程：縦書きの英字曜日を添える */
.schedule { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.day {
  position: relative; background: #fff; border-radius: 24px; padding: 28px 24px 28px 64px;
  border: 1px solid var(--line);
}
.day-en {
  position: absolute; left: 22px; top: 28px; writing-mode: vertical-rl;
  font-family: var(--font-en); font-weight: 500; font-size: 14px; letter-spacing: .3em; color: var(--brand-deep);
}
.day-name { font-weight: 900; font-size: 56px; line-height: 1; color: var(--brand-deep); }
.day-time { font-family: var(--font-en); font-weight: 500; font-size: 20px; margin: 18px 0 4px; letter-spacing: .02em; }
.day-time i { font-style: normal; margin: 0 4px; color: var(--muted); }
.day-place { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.day-place svg { width: 15px; height: 15px; color: var(--brand-deep); }
@media (max-width: 960px) { .schedule { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) {
  .schedule { grid-template-columns: 1fr; gap: 12px; }
  .day { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; padding: 18px 20px 18px 54px; }
  .day-en { left: 18px; top: 50%; transform: translateY(-50%); }
  .day-name { grid-row: span 2; font-size: 44px; }
  .day-time { margin: 0; font-size: 18px; }
}

.fee-head { margin-top: 120px; }
.fees { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fee { background: var(--brand); color: #fff; border-radius: 24px; padding: 32px 36px; }
.fee-label { font-size: 14px; letter-spacing: .08em; }
.fee-price { font-family: var(--font-en); font-weight: 600; font-size: clamp(44px, 5vw, 60px); line-height: 1.2; margin: 6px 0 10px; }
.fee-price small { font-family: var(--font); font-size: 16px; font-weight: 700; margin-left: 6px; }
.fee p { margin: 0; font-size: 14px; }
.fee-extra { margin: 24px 0 0; padding-left: 1.2em; font-size: 14px; color: var(--muted); }
.fee-extra li { margin-bottom: 4px; }
.eligibility { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 8px 36px; }
.eligibility > div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.eligibility > div:last-child { border-bottom: 0; }
.eligibility dt { font-weight: 700; color: var(--brand-deep); letter-spacing: .06em; }
.eligibility dd { margin: 0; }
.eligibility a { margin-left: .5em; color: var(--brand-deep); font-weight: 700; }
.eligibility .dd-note { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); text-wrap: wrap; }
@media (max-width: 620px) {
  .eligibility { padding: 4px 20px; }
  .eligibility > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .eligibility a { display: inline-block; margin: 4px 0 0; }
  .eligibility dd { text-wrap: wrap; }
}
@media (max-width: 680px) { .fees { grid-template-columns: 1fr; } .fee { padding: 28px 24px; } }

/* 活動実績：縦書きの年月＋大きな結果タイル */
.results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.result { position: relative; padding-right: 40px; }
.result-date {
  position: absolute; right: 0; top: 0; writing-mode: vertical-rl;
  font-family: var(--font-en); font-weight: 500; font-size: 22px; letter-spacing: .08em; color: var(--brand-deep);
}
.result-tile {
  aspect-ratio: 4 / 3; border-radius: 20px; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 900; font-size: clamp(40px, 4.4vw, 60px); letter-spacing: .1em;
  margin-bottom: 18px;
}
.result-tile.is-gold { background: var(--sun); color: var(--ink); }
.result-tile.is-ink { background: var(--ink); }
.result-tile { aspect-ratio: 16 / 7; }
.results-sub { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.results-sub h3 { font-size: 15px; letter-spacing: .06em; margin: 0 0 8px; color: var(--muted); }
.results-sub ul { list-style: none; margin: 0; padding: 0; }
.results-sub li { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.results-sub .rs-cat { margin-left: 1em; color: var(--muted); }
.results-sub time { font-family: var(--font-en); font-weight: 500; color: var(--brand-deep); letter-spacing: .06em; }
.results-sub b { font-weight: 900; color: var(--brand-deep); }
@media (max-width: 620px) {
  .results-sub li { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .results-sub time { grid-column: 1 / -1; }
  .results-sub .rs-cat { display: block; margin-left: 0; }
}
.result h3 { font-size: 16px; line-height: 1.7; margin: 0 0 6px; letter-spacing: .04em; }
.result p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .results { grid-template-columns: 1fr; gap: 48px; } .result-tile { aspect-ratio: 16 / 7; } }

/* ---------- 見学・体験 ---------- */
.join { position: relative; padding: 60px 0 120px; margin-top: 0; }
.sec-wave { position: absolute; left: 0; bottom: 100%; width: 100%; height: clamp(40px, 6vw, 90px); fill: var(--brand); margin-bottom: -1px; }
.join .lead { max-width: 38em; }
.join .lead a { color: #fff; font-weight: 700; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  border: 1px solid rgba(255,255,255,.5); border-radius: 24px; padding: 32px 28px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.step-no { font-family: var(--font-en); font-weight: 500; font-size: 14px; letter-spacing: .1em; }
.step h3 { font-size: 22px; letter-spacing: .08em; margin: 6px 0 10px; }
.step p { margin: 0 0 24px; font-size: 15px; }
.step .btn { margin-top: auto; }
.join .note { color: #fff; }

/* 体験入部の申込みページ（Googleフォームを埋め込む） */
.entry-page { padding: 96px 0 120px; }
.entry { max-width: 880px; margin: 0 auto; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 28px; padding: 40px 40px 28px; }
.entry-head h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: .08em; margin: 0; }
.entry-head p { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.entry-form { display: block; width: 100%; max-width: 720px; height: 1600px; border: 0; margin: 24px auto 0; background: #fff; }
.entry-alt { margin: 16px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.entry-alt a { color: var(--brand-deep); font-weight: 700; }
.entry-links { max-width: 880px; margin: 32px auto 0; font-size: 14px; color: var(--muted); text-align: center; }
.entry-links a { color: var(--brand-deep); font-weight: 700; }
@media (max-width: 620px) {
  .entry-page { padding: 56px 0 96px; }
  /* 狭い画面ではフォームを画面の端まで広げ、Googleフォーム内の不自然な改行を減らす。文字の部分だけ余白を残す */
  .entry-page > .wrap { padding: 0; }
  .entry { padding: 28px 0 20px; border-radius: 0; border-left: 0; border-right: 0; overflow: hidden; }
  .entry-head, .entry-alt, .entry-links { padding: 0 16px; }
  /* Googleフォームのカードは枠の幅の90%で中央に置かれる。枠を広げてはみ出た左右を隠し、カードの左右の余白を8pxまで詰める */
  .entry-form { height: 1950px; max-width: none; width: calc((100% - 16px) / .9); margin-left: calc(50% - (100% - 16px) / 1.8); margin-right: 0; }
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Instagram ---------- */
/* 最新の投稿：チェキを少し傾けて重ね、マスキングテープで留めたように見せる */
.cheki-row { display: flex; justify-content: center; align-items: flex-start; padding: 24px 0 24px; margin-bottom: 56px; }
.cheki {
  --r: -4deg;
  position: relative; z-index: 1; display: block; width: min(31%, 330px);
  background: #fff; padding: 14px 14px 0; border-radius: 3px;
  color: var(--ink); text-decoration: none;
  box-shadow: 0 16px 32px rgba(0,60,50,.14), 0 2px 6px rgba(0,0,0,.08);
  transform: rotate(var(--r));
  transition: transform .35s ease, box-shadow .35s ease;
}
.cheki + .cheki { margin-left: -2.5%; }
.cheki:nth-child(1) { --r: -5deg; margin-top: 32px; }
.cheki:nth-child(2) { --r: 3deg; z-index: 2; }
.cheki:nth-child(3) { --r: -2deg; margin-top: 48px; }
.cheki::before {
  content: ""; position: absolute; top: -13px; left: 50%; width: 96px; height: 26px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(14,133,115,.32); box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.cheki:nth-child(2)::before { transform: translateX(-40%) rotate(5deg); background: rgba(255,194,26,.4); }
.cheki:hover, .cheki:focus-visible {
  z-index: 3; transform: rotate(0deg) translateY(-10px) scale(1.03);
  box-shadow: 0 24px 44px rgba(0,60,50,.2), 0 4px 10px rgba(0,0,0,.08);
}
.cheki-photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.cheki-photo img { width: 100%; height: 100%; object-fit: cover; }
.cheki-note {
  display: block; padding: 12px 4px 18px; text-align: center;
  font-family: "Klee One", var(--font); font-weight: 600; font-size: 15px; line-height: 1.5;
}
.cheki-note time { display: block; font-family: var(--font-en); font-weight: 500; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 620px) {
  .cheki-row { flex-direction: column; align-items: stretch; padding-top: 16px; }
  .cheki, .cheki:nth-child(n) { width: 78%; margin: 0; }
  /* 題名が隠れないよう、上の写真ほど手前に重ねる */
  .cheki:nth-child(1) { z-index: 3; }
  .cheki:nth-child(2) { align-self: flex-end; margin-top: -40px; z-index: 2; }
  .cheki:nth-child(3) { margin-top: -40px; z-index: 1; }
}

.ig-profile {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 28px 36px; border-radius: 999px; border: 1.5px solid var(--brand);
  color: var(--brand-deep); text-decoration: none; transition: background .2s ease, color .2s ease;
}
.ig-profile:hover { background: var(--brand); color: #fff; }
.ig-icon { width: 36px; height: 36px; }
.ig-id { font-family: var(--font-en); font-weight: 600; font-size: clamp(20px, 3vw, 30px); letter-spacing: .02em; }
.ig-go { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.ig-go svg { width: 18px; height: 18px; }
@media (max-width: 620px) { .ig-profile { border-radius: 24px; padding: 24px; } .ig-go { margin-left: 0; } }

/* ---------- 支援企業・資料 ---------- */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.support .lead { color: var(--muted); font-size: 15px; }
.sponsors { list-style: none; margin: 28px 0 0; padding: 0; }
.sponsors li { padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 700; letter-spacing: .06em; }
.docs { list-style: none; margin: 28px 0 0; padding: 0; }
.docs a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 15px;
}
.docs svg { width: 18px; height: 18px; color: var(--brand-deep); flex: none; transition: transform .2s ease; }
.docs a:hover { color: var(--brand-deep); }
.docs a:hover svg { transform: translate(3px, -3px); }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; gap: 64px; } }

/* ---------- フッター ---------- */
.site-footer { position: relative; padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 48px; align-items: start; }
.footer-brand p { margin: 20px 0 0; font-size: 14px; line-height: 1.9; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 40px; }
.footer-nav a {
  font-family: var(--font-en); font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); text-decoration: none; line-height: 1.3;
  padding: 8px 0;
}
.footer-nav small { display: block; font-family: var(--font); font-size: 12px; letter-spacing: .1em; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* 回転するバッジ（体験申込み） */
.badge { position: relative; width: 190px; height: 190px; display: grid; place-items: center; color: #fff; text-decoration: none; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.badge text { font-family: var(--font-en); font-weight: 500; font-size: 13.4px; letter-spacing: 2px; fill: #fff; }
.badge-core {
  width: 116px; height: 116px; border-radius: 50%; background: #fff; color: var(--brand-deep);
  display: grid; place-items: center; text-align: center; font-weight: 900; font-size: 16px; line-height: 1.5;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.badge:hover .badge-core { transform: scale(1.06); background: var(--ink); color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

.copyright { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.35); font-family: var(--font-en); font-size: 12px; letter-spacing: .08em; }
@media (max-width: 900px) {
  .site-footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .badge { width: 160px; height: 160px; }
  .badge-core { width: 100px; height: 100px; font-size: 14px; }
}

/* ---------- 下層ページ（FAQ） ---------- */
.page-hero { position: relative; background: var(--brand); color: #fff; padding: 168px 0 96px; }
.page-hero .statement { font-size: clamp(40px, 6.4vw, 84px); }
.page-hero p { margin: 28px 0 0; max-width: 36em; letter-spacing: .04em; }
.page-hero .band-wave { bottom: -1px; fill: var(--paper); }

.faq { padding: 96px 0 120px; }
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; }
.faq-toc { position: sticky; top: 104px; }
.faq-toc ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.faq-toc a {
  display: block; padding: 8px 16px; text-decoration: none; font-size: 14px; font-weight: 700;
  margin-left: -1px; border-left: 2px solid transparent;
}
.faq-toc a:hover { color: var(--brand-deep); border-left-color: var(--brand-deep); }
@media (max-width: 820px) {
  .faq { padding: 64px 0 96px; }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-toc { position: static; }
  .faq-toc ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .faq-toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; margin: 0; background: #fff; }
}

.faq-group { margin-bottom: 64px; }
.faq-group h2 {
  font-size: 24px; letter-spacing: .08em; margin: 0 0 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--ink); display: flex; align-items: center; gap: 12px;
}
.faq-group h2 svg { width: 24px; height: 24px; color: var(--brand-deep); }

details.qa { border-bottom: 1px solid var(--line); }
details.qa summary {
  list-style: none; cursor: pointer; padding: 20px 48px 20px 52px; position: relative;
  font-weight: 700; line-height: 1.7; letter-spacing: .04em;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary:hover { color: var(--brand-deep); }
details.qa summary::before {
  content: "Q"; position: absolute; left: 6px; top: 18px;
  font-family: var(--font-en); font-weight: 600; font-size: 22px; color: var(--brand-deep); line-height: 1.3;
}
details.qa summary::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background:
    linear-gradient(currentColor, currentColor) center / 16px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 16px no-repeat;
  transition: transform .25s ease;
}
details.qa[open] summary::after { transform: rotate(45deg); }
.qa-body { padding: 0 20px 24px 52px; position: relative; }
.qa-body::before {
  content: "A"; position: absolute; left: 6px; top: -2px;
  font-family: var(--font-en); font-weight: 600; font-size: 22px; color: var(--ink); line-height: 1.3;
}
.qa-body p { margin: 0 0 12px; }
.qa-body p:last-child { margin-bottom: 0; }
.qa-body ul { margin: 0 0 12px; padding-left: 1.2em; }
.qa-body a { color: var(--brand-deep); }
.qa-body table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 4px 0 12px; background: #fff; }
.qa-body th, .qa-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.qa-body th { background: var(--paper); white-space: nowrap; }
.qa-body h4 { margin: 14px 0 4px; font-size: 15px; }
.faq .btn { background: var(--brand); color: #fff; border-color: var(--brand-deep); }
.faq .btn:hover { background: var(--ink); border-color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 48px 16px; background: var(--brand); color: #fff; }
.notfound h1 { font-family: var(--font-en); font-weight: 600; font-size: clamp(80px, 16vw, 160px); margin: 0; line-height: 1; }
.notfound p { letter-spacing: .08em; }

/* ---------- スクロールで浮かび上がる ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- アクセシビリティ ---------- */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .badge svg, .kv-scroll span::after { animation: none; }
  .kv-arc.is-anim tspan { fill-opacity: 1; animation: none; }
  .kv-arc.is-anim .kv-shuttle, .kv-arc.is-anim .kv-lead-arc { opacity: 1; animation: none; }
  .header-cta::after { animation: none; display: none; }
  .header-cta, .header-cta svg { transition: none; }
  .hero-slide { transform: none; transition: opacity .6s ease; }
  .link-arrow svg, .btn, .badge-core, .cheki { transition: none; }
}
