/* =========================================================
   福島スマイルプロジェクト 2026
   デザイントークン（配色はロゴ・昨年度チラシから実測）
   ========================================================= */
:root {
  /* Brand */
  --green:        #8CCA7F;
  --green-deep:   #5FA352;
  --green-soft:   #EAF5E7;
  --pink:         #E58184;
  --pink-deep:    #C9585C;
  --pink-soft:    #FBEDED;
  --blue:         #3F4C9E;
  --blue-soft:    #EDEFF8;
  --lime:         #C8D400;
  --yellow:       #FFD84D;

  /* Ink & paper */
  --ink:          #2B2A28;
  --ink-2:        #55524E;
  --ink-3:        #7C7873;
  --paper:        #FFFFFF;
  --paper-2:      #FBF9F4;
  --paper-3:      #F3F0E8;
  --line:         rgba(43, 42, 40, .12);

  /* Spacing scale */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --s9: 96px; --s10: 128px;

  /* Radii (concentric: inner = outer - padding) */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;

  /* Shadows — one light source (from above), neutral tint, layered */
  --sh-1: 0 1px 2px rgba(60,55,48,.06), 0 2px 6px rgba(60,55,48,.05);
  --sh-2: 0 1px 2px rgba(60,55,48,.06), 0 4px 12px rgba(60,55,48,.07), 0 12px 28px rgba(60,55,48,.05);
  --sh-3: 0 2px 4px rgba(60,55,48,.07), 0 10px 24px rgba(60,55,48,.09), 0 24px 56px rgba(60,55,48,.07);

  /* Motion */
  --ease-out: cubic-bezier(.16, .84, .44, 1);
  --ease-in:  cubic-bezier(.55, .06, .68, .19);
  --d-press: 140ms;
  --d-state: 220ms;
  --d-enter: 320ms;

  /* 申し込み・フッターの地色（パステル） */
  --apply-bg:  #FBEDEF;
  --footer-bg: #FDF8E4;

  --wrap: 1080px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h, 81px) + var(--s5));
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans",
               "BIZ UDPGothic", "Yu Gothic Medium", "Meiryo", sans-serif;
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--paper-2);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  text-wrap: pretty;
  overflow-wrap: break-word;
  word-break: normal;
  line-break: strict;
}
@media (min-width: 768px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .25em; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.5; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--s5), var(--wrap)); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 2 * var(--s7), var(--wrap)); } }
.center { text-align: center; }
.pc { display: none; }
@media (min-width: 860px) { .pc { display: inline; } }
.sub { font-size: .88em; color: var(--ink-2); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: var(--s3) var(--s5); border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: var(--s4);
  min-height: 64px; padding-block: var(--s2);
}
.brand { flex: 0 0 auto; display: block; line-height: 0; }
.brand img { width: 54px; }
/* ページ内メニューはヘッダーに置く。760px 未満だけ下の帯に逃がす */
.gnav { display: none; }
@media (min-width: 760px) {
  .gnav { display: flex; gap: var(--s4); margin-left: var(--s5); flex-wrap: nowrap; }
  .gnav a {
    color: var(--ink-2); text-decoration: none; font-size: 13.5px; font-weight: 500;
    letter-spacing: .01em; white-space: nowrap;
    padding: var(--s2) 2px; border-bottom: 2px solid transparent;
    transition: color var(--d-state) var(--ease-out), border-color var(--d-state) var(--ease-out);
  }
  .gnav a:hover { color: var(--ink); border-bottom-color: var(--green); }
}
@media (min-width: 1000px) {
  .header-inner { min-height: 80px; }
  .brand img { width: 66px; }
  .gnav { gap: var(--s5); }
  .gnav a { font-size: 15px; }
}
/* ヘッダーにメニューが出る幅では、下の帯は不要 */
@media (min-width: 760px) { .quicknav { display: none; } }
.header-cta { margin-left: auto; }
@media (max-width: 560px) { .header-inner .header-cta { display: none; } }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --btn-bg: var(--green);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 48px; padding: var(--s3) var(--s5);
  border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 16px; text-decoration: none; text-align: center;
  box-shadow: var(--sh-1);
  transition: transform var(--d-press) var(--ease-out),
              box-shadow var(--d-press) var(--ease-out),
              filter var(--d-press) var(--ease-out);
}
/* larger invisible hit area — Fitts's law */
.btn::before { content: ""; position: absolute; inset: -6px; border-radius: inherit; }
.btn:hover { filter: brightness(1.05); box-shadow: var(--sh-2); }
.btn:active { transform: scale(.975); box-shadow: var(--sh-1); }
.btn-apply { --btn-bg: var(--pink-deep); }
.btn-ghost {
  --btn-bg: #fff; --btn-fg: var(--ink);
  border: 2px solid var(--line); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--green); }
.btn-lg { min-height: 60px; font-size: 18px; padding-inline: var(--s6); }
.btn-xl { min-height: 76px; font-size: 22px; padding-inline: var(--s7); width: min(100%, 460px); }
.btn-sub { display: block; font-size: 13px; font-weight: 500; opacity: .85; margin-top: 2px; }

/* =========================================================
   Hero
   ========================================================= */
/* =========================================================
   ヒーロー：これまで撮ってきた写真を画面いっぱいに流す
   文字が乗るところだけ、ぼかした白いもやを敷いて視認性を保つ
   （境界を作らず、文字のかたちに沿って自然に広がるようにする）
   ========================================================= */
.hero { position: relative; background: var(--paper); overflow: hidden; isolation: isolate; }
.hero-strips {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; justify-content: center;
  gap: 6px; overflow: hidden;
}
.strip { overflow: hidden; }
.strip-track {
  display: flex; gap: 6px; width: max-content;
  animation: reel-scroll 78s linear infinite;
  will-change: transform;
}
.strip-2 .strip-track { animation-direction: reverse; animation-duration: 94s; }
.strip-3 .strip-track { animation-duration: 112s; }
.strip-4 .strip-track { animation-direction: reverse; animation-duration: 86s; }

.strip-card { flex: 0 0 auto; width: 116px; margin: 0; background: #fff; padding: 4px; }
@media (min-width: 560px) { .strip-card { width: 148px; padding: 5px; } }
@media (min-width: 900px) { .strip-card { width: 176px; padding: 6px; } }
@media (min-width: 1400px) { .strip-card { width: 204px; } }
.strip-card img { width: 100%; display: block; }

.hero-inner {
  position: relative; z-index: 1; padding-block: var(--s8); text-align: center;
}
@media (min-width: 768px) { .hero-inner { padding-block: var(--s9); } }

/* もや：文字の塊にだけかける。ぼかしをかけるので境目が出ない */
.hero-inner::before {
  content: ""; position: absolute; z-index: -1;
  inset: 8% 2%;
  background: rgba(255,255,255,.94);
  border-radius: 50% / 42%;
  filter: blur(34px);
}
@media (min-width: 768px) {
  .hero-inner::before { inset: 7% 4%; filter: blur(46px); }
}

@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
}

.hero-catch {
  font-size: clamp(20px, 3.4vw, 44px);
  font-weight: 700; letter-spacing: .12em; line-height: 1.55;
  text-wrap: balance;
  color: var(--ink); margin: 0 0 var(--s4);
}

/* ロゴ＋無料バッジ（チラシと同じ並び）
   バッジと同じ幅のダミーを左に置き、ロゴの中心をページ中央にそろえる */
.hero-logo-wrap {
  --badge: 74px;
  display: flex; align-items: center; justify-content: center;
  gap: var(--s3); margin: 0 auto var(--s3);
}
@media (min-width: 768px) { .hero-logo-wrap { --badge: clamp(84px, 7vw, 106px); gap: var(--s5); } }
.hero-balance { flex: 0 0 var(--badge); height: 1px; }
.hero-logo { width: min(44vw, 168px); flex: 0 1 auto; }
@media (min-width: 768px) { .hero-logo { width: clamp(190px, 17vw, 268px); } }
.hero-logo-wrap .badge-free { margin: 0; flex: 0 0 var(--badge); }
/* 幅が足りないときはダミーを畳んで、はみ出しを防ぐ */
@media (max-width: 380px) {
  .hero-logo-wrap { --badge: 68px; gap: var(--s3); }
  .hero-balance { display: none; }
}

.hero-program {
  font-size: clamp(17px, 1.9vw, 27px); font-weight: 700; line-height: 1.6;
  margin: 0 0 var(--s3);
}
.hero-program b { color: var(--pink-deep); }

.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--s2) var(--s3); margin: 0 0 var(--s4);
  font-size: clamp(15px, 1.5vw, 20px); font-weight: 700;
}
.hero-meta .dot { color: var(--ink-3); font-weight: 400; }
.badge-free {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--green); color: #fff; line-height: 1.2;
  font-size: 12px; font-weight: 700;
  box-shadow: 0 2px 4px rgba(60,55,48,.10), 0 8px 20px rgba(60,55,48,.14), 0 0 0 4px rgba(255,255,255,.9);
  transform: rotate(-7deg);
}
@media (min-width: 768px) { .badge-free { width: clamp(84px, 7vw, 106px); height: clamp(84px, 7vw, 106px); font-size: 13px; } }
.badge-free span { display: block; }
.badge-free b { display: block; font-size: 25px; letter-spacing: .04em; }
@media (min-width: 768px) { .badge-free b { font-size: 28px; } }

.hero-lead {
  color: var(--ink-2); margin: 0 auto var(--s5); max-width: 34em;
  font-size: clamp(15px, 1.15vw, 18px); line-height: 1.85;
}
@media (min-width: 768px) { .hero-lead { font-size: 17px; } }
.hero-lead { text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; }

/* =========================================================
   Sections
   ========================================================= */
/* =========================================================
   情報の強弱（3段階）
   強 … お申し込み（ページの目的。唯一の反転ブロック）
   中 … 開催日程 / ワークショップ / 写真館（来場を決める中身）
   弱 … プロジェクト紹介 / 会場 / よくある質問 / お問い合わせ（補足）
   余白・見出しの大きさ・囲みの有無を段階ごとに変えて、
   全部が同じ重さに見えないようにする
   ========================================================= */
.section { padding-block: clamp(56px, 7vw, 88px); }

/* 中：来場を決めるための情報。しっかり取る */
.section-schedule,
.section-workshop,
.section-studio { padding-block: clamp(72px, 9vw, 116px); }

/* 強：ページの目的 */
.section-apply { padding-block: clamp(84px, 11vw, 144px); }

/* 弱：補足。詰めて流し読みできるように */
.section-about,
.section-access,
.section-faq { padding-block: clamp(52px, 6vw, 76px); }
.section-contact { padding-block: clamp(44px, 5vw, 64px); }

.section-schedule { background: var(--paper); }
.section-workshop { background: var(--green-soft); }
.section-studio   { background: var(--paper); }
.section-apply    { background: var(--apply-bg); }
.section-about    { background: var(--paper-2); }
.section-access   { background: var(--paper); }
.section-faq      { background: var(--paper-2); }
.section-contact  { background: var(--paper-2); }

/* ── 見出し：中 ── */
.sec-title {
  font-size: clamp(27px, 6.6vw, 40px); text-align: center; margin: 0 0 var(--s3);
  letter-spacing: .04em;
}
.sec-title::after {
  content: ""; display: block; width: 56px; height: 5px; border-radius: var(--r-pill);
  background: var(--green); margin: var(--s3) auto 0;
}
.sec-lead { text-align: center; color: var(--ink-2); margin: 0 auto var(--s7); max-width: 42em; }

/* ── 見出し：弱。小さく、下線もなし ── */
.section-about .sec-title,
.section-access .sec-title,
.section-faq .sec-title,
.section-contact .sec-title {
  font-size: clamp(20px, 3.6vw, 26px); letter-spacing: .1em;
  color: var(--ink-2); font-weight: 700;
}
.section-about .sec-title::after,
.section-access .sec-title::after,
.section-faq .sec-title::after,
.section-contact .sec-title::after {
  width: 24px; height: 2px; background: var(--ink-3); opacity: .45; margin-top: var(--s3);
}
.section-about .sec-lead,
.section-access .sec-lead,
.section-faq .sec-lead,
.section-contact .sec-lead { font-size: 15px; margin-bottom: var(--s6); }

/* ── 見出し：強 ── */
.section-apply .sec-title { font-size: clamp(29px, 7.4vw, 46px); }
.section-apply .sec-title::after { background: var(--pink); width: 72px; }
.section-apply .sec-lead { color: var(--ink-2); font-size: 17px; }

/* Pills */
.pill {
  display: inline-block; border-radius: var(--r-pill);
  padding: 4px 20px; font-size: 15px; font-weight: 700; color: #fff; line-height: 1.7;
}
.pill-green { background: var(--green); }
.pill-pink  { background: var(--pink); }

/* =========================================================
   Schedule
   ========================================================= */
.venue-grid { display: grid; gap: var(--s5); }
@media (min-width: 800px) { .venue-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.venue-card {
  background: var(--paper); border-radius: var(--r-xl); padding: var(--s5);
  box-shadow: var(--sh-2); border: 1px solid var(--line);
}
@media (min-width: 768px) { .venue-card { padding: var(--s6); } }
.venue-name { text-align: center; margin: 0 0 var(--s5); }
.day-list { display: grid; gap: var(--s4); }
.day {
  border-radius: var(--r-md); background: var(--paper-2);
  padding: var(--s4) var(--s5); border: 1px solid var(--line);
}
.day-date { margin: 0 0 var(--s2); font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.day-date .md { font-size: 32px; line-height: 1; font-feature-settings: "tnum"; margin: 0 2px; }
.day-date .dow { font-size: 15px; color: var(--ink-2); }
.day-kind { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin: 0 0 var(--s2); }
.note-req, .note-free { font-size: 14px; font-weight: 700; }
.note-req { color: var(--pink-deep); }
.note-free { color: var(--green-deep); }
.day-time { margin: 0 0 2px; font-weight: 700; font-size: 16px; }
.day-place { margin: 0 0 2px; color: var(--ink-2); font-size: 15px; }
.day-addr { margin: 0; color: var(--ink-3); font-size: 13.5px; }
.tbd { color: var(--ink-3); font-size: .82em; }
.tbd-note { margin: var(--s5) 0 0; text-align: center; font-size: 14px; color: var(--ink-2); }

/* =========================================================
   Spec list（無料・定員などの要点）
   ========================================================= */
/* 要点は1行にまとめる（ボタン状に分けるとくどいため） */
.spec-line {
  margin: 0 0 var(--s6); text-align: center;
  font-size: 16px; font-weight: 500; color: var(--ink-2);
  padding: var(--s3) var(--s4);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) { .spec-line { font-size: 17px; } }
.spec-line b { color: var(--green-deep); font-weight: 700; }
.spec-line .sep { color: var(--ink-3); margin: 0 var(--s3); font-weight: 400; }

/* =========================================================
   Workshop
   ========================================================= */
.ws-grid { display: grid; gap: var(--s5); margin-bottom: var(--s6); }
@media (min-width: 800px) { .ws-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.ws-card {
  background: var(--paper); border-radius: var(--r-xl); padding: var(--s5);
  box-shadow: var(--sh-2); border-top: 6px solid var(--green);
}
@media (min-width: 768px) { .ws-card { padding: var(--s6); } }
.ws-pm { border-top-color: var(--pink); }
.ws-time {
  display: inline-block; font-weight: 700; font-size: 15px; letter-spacing: .04em;
  color: var(--green-deep); margin: 0 0 var(--s3);
}
.ws-pm .ws-time { color: var(--pink-deep); }
.ws-title { font-size: clamp(19px, 4.4vw, 23px); margin: 0 0 var(--s4); line-height: 1.6; }
.ws-title span { font-size: .8em; color: var(--ink-2); font-weight: 500; }
.ws-body { margin: 0; color: var(--ink-2); }
.ws-route {
  margin: var(--s4) 0 0; padding: var(--s3) var(--s4); border-radius: var(--r-sm);
  background: var(--pink-soft); font-size: 14px; color: var(--ink-2); line-height: 1.8;
}
.ws-note { margin: var(--s3) 0 0; font-size: 13.5px; color: var(--ink-3); }

.notice {
  background: var(--paper); border-radius: var(--r-xl); padding: var(--s5);
  border: 1px solid var(--line); box-shadow: var(--sh-1); margin-bottom: var(--s6);
}
@media (min-width: 768px) { .notice { padding: var(--s6); } }
.notice-title {
  font-size: 15px; letter-spacing: .12em; color: var(--ink-3); font-weight: 700;
  margin: 0 0 var(--s4); padding-bottom: var(--s3); border-bottom: 1px solid var(--line);
}
.check-list { display: grid; gap: var(--s3); }
.check-list li { position: relative; padding-left: 34px; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft);
}
.check-list li::after {
  content: ""; position: absolute; left: 7px; top: .95em;
  width: 8px; height: 4px; border-left: 2.5px solid var(--green-deep); border-bottom: 2.5px solid var(--green-deep);
  transform: rotate(-45deg);
}
.check-list strong { color: var(--ink); }

.wide-photo { margin: 0 0 var(--s6); }
.wide-photo img { border-radius: var(--r-lg); box-shadow: var(--sh-2); width: 100%; }
.wide-photo figcaption, .studio-photo figcaption, .about-photo figcaption {
  margin-top: var(--s2); font-size: 13px; color: var(--ink-3); text-align: center;
}

/* =========================================================
   Studio
   ========================================================= */
.studio-grid { display: grid; gap: var(--s6); }
.studio-grid .check-list { max-width: 46em; margin-inline: auto; }
.studio-photo img { border-radius: var(--r-lg); box-shadow: var(--sh-2); }

/* 撮影した写真＋手書きメッセージのギャラリー（26点） */
.gallery-title {
  margin: var(--s8) 0 var(--s2); text-align: center;
  font-size: clamp(19px, 4.4vw, 23px); letter-spacing: .04em;
}
.smile-note { margin: 0 auto var(--s5); text-align: center; font-size: 14px; color: var(--ink-2); max-width: 40em; }
/* リールの共通動作（フィルムの帯が使う） */
@keyframes reel-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* カーソルが乗っただけで止まると、ページを横切るたびに動きが途切れて
   かえって気になるため、hover では止めない */



/* 「これまでに撮影した笑顔」の見出しは写真館から外したので不要 */
.gallery-title, .smile-note { display: none; }

/* 写真館の様子：2面を段違いに。左が縦、右が横（ワークショップとは左右が逆） */
.studio-slideshow {
  margin: var(--s7) 0 0; display: grid; grid-template-columns: 1fr; gap: var(--s4);
}
@media (min-width: 720px) {
  .studio-slideshow {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: var(--s5); align-items: start;
    width: 100%; max-width: 800px; margin-inline: auto;
  }
}
.studio-stage {
  position: relative; overflow: hidden;
  border-radius: var(--r-md); box-shadow: var(--sh-1); background: var(--paper-3);
}
.studio-stage-a { aspect-ratio: 3 / 4; }
.studio-stage-b { aspect-ratio: 4 / 3; }
@media (min-width: 720px) { .studio-stage-b { margin-top: var(--s6); } }
.studio-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: studio-show 16.5s infinite;
}
.studio-stage img:nth-child(1) { animation-delay: 0s; }
.studio-stage img:nth-child(2) { animation-delay: 5.5s; }
.studio-stage img:nth-child(3) { animation-delay: 11s; }
.studio-stage-b img { animation-duration: 19.5s; }
.studio-stage-b img:nth-child(2) { animation-delay: 6.5s; }
.studio-stage-b img:nth-child(3) { animation-delay: 13s; }
@keyframes studio-show {
  0%   { opacity: 0; transform: scale(1.05); }
  5%   { opacity: 1; }
  28%  { opacity: 1; transform: scale(1); }
  33%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .studio-stage { aspect-ratio: auto !important; margin-top: 0 !important;
    display: grid; gap: var(--s3); background: none; box-shadow: none; }
  .studio-stage img { position: static; opacity: 1; animation: none; height: auto; border-radius: var(--r-md); }
}

/* 開催日程に入れた「会場のご案内」の小見出し */
.sub-title {
  margin: var(--s8) 0 var(--s5); text-align: center;
  font-size: clamp(18px, 2.2vw, 22px); letter-spacing: .1em; color: var(--ink-2);
}

/* ワークショップ写真：2面を段違いに置き、それぞれ2枚を切り替える
   （同じ会場の別角度なので、並べるより順に見せる。左右で高さと速さをずらす） */
.ws-slideshow {
  margin: 0 0 var(--s6);
  display: grid; grid-template-columns: 1fr; gap: var(--s4);
}
@media (min-width: 720px) {
  .ws-slideshow {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: var(--s5); align-items: start;
    width: 100%; max-width: 800px; margin-inline: auto;
  }
}
.ws-stage {
  position: relative; overflow: hidden; background: var(--paper-3);
  border-radius: var(--r-md); box-shadow: var(--sh-1);
}
.ws-stage-a { aspect-ratio: 4 / 3; }
.ws-stage-b { aspect-ratio: 3 / 4; }
@media (min-width: 720px) {
  .ws-stage-b { margin-top: var(--s6); }   /* 段違いにして、そろえすぎない */
}
.ws-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: ws-show 11s infinite;
}
.ws-stage img:nth-child(1) { animation-delay: 0s; }
.ws-stage img:nth-child(2) { animation-delay: 5.5s; }
.ws-stage-b img { animation-duration: 13s; }
.ws-stage-b img:nth-child(2) { animation-delay: 6.5s; }
@keyframes ws-show {
  0%   { opacity: 0; transform: scale(1.06); }
  6%   { opacity: 1; }
  46%  { opacity: 1; transform: scale(1); }
  52%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.06); }
}
/* 左右の高さ差でできた余白にキャプションを置く */
.ws-slideshow figcaption {
  grid-column: 1 / -1; margin-top: var(--s2);
  font-size: 13px; color: var(--ink-3); text-align: center;
}
@media (min-width: 720px) {
  .ws-slideshow figcaption {
    grid-column: 1; grid-row: 2; align-self: start;
    margin-top: var(--s4); text-align: left;
    letter-spacing: .1em;
  }
  .ws-stage-b { grid-column: 2; grid-row: 1 / span 2; }
}
/* 動きを減らす設定：切り替えず、並べて見せる */
@media (prefers-reduced-motion: reduce) {
  .ws-stage {
    aspect-ratio: auto !important; margin-top: 0 !important;
    display: grid; gap: var(--s3); background: none; box-shadow: none;
  }
  .ws-stage img {
    position: static; opacity: 1; animation: none; height: auto;
    border-radius: var(--r-md); box-shadow: var(--sh-1);
  }
}

/* =========================================================
   Apply
   ========================================================= */
.section-apply .sec-title::after { background: var(--pink); }
/* 淡い地色なので、囲まず罫線で組む */
.deadline {
  background: transparent; border-radius: 0; padding: 0;
  box-shadow: none; border: none;
  max-width: 560px; margin: var(--s7) auto 0;
  border-top: 1px solid rgba(201,88,92,.35);
}
.deadline-title {
  font-size: 15px; text-align: center; margin: var(--s5) 0 var(--s4);
  letter-spacing: .12em; color: var(--ink-3); font-weight: 700;
}
.deadline-table { width: 100%; border-collapse: collapse; }
.deadline-table th, .deadline-table td {
  text-align: left; padding: var(--s4) 0;
  border-bottom: 1px solid rgba(201,88,92,.2); font-size: 16px;
}
.deadline-table th { font-weight: 400; color: var(--ink-2); }
.deadline-table td { text-align: right; font-weight: 700; white-space: nowrap; }
.deadline-note { margin: var(--s4) 0 0; font-size: 13.5px; color: var(--ink-3); }
.apply-help { margin: var(--s6) 0 0; text-align: center; font-size: 15px; color: var(--ink-2); }
.section-apply .btn-apply { box-shadow: var(--sh-2); }

/* =========================================================
   About / Profile
   ========================================================= */
/* 紹介文の背後にニコちゃんマークを薄く敷く。
   本文そのものを基準にするので、画面幅が変わっても文章の左上に重なる */
.about-grid { display: grid; gap: var(--s6); }
.about-text { position: relative; max-width: 46em; margin-inline: auto; }
.about-text::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: -7%; top: -14%;
  width: clamp(160px, 20vw, 300px); aspect-ratio: 760 / 718;
  background: url("images/nico.png") center / contain no-repeat;
  opacity: .1;
}
.about-text > * { position: relative; z-index: 1; }
.profile {
  margin-top: var(--s7); background: var(--paper); border-radius: var(--r-xl);
  padding: var(--s5); box-shadow: var(--sh-1); border: 1px solid var(--line);
}
@media (min-width: 768px) { .profile { padding: var(--s6); } }
/* 近影。狭い画面では回り込ませない
   （回り込ませると見出しが「市川 勝弘」の途中で折り返してしまう） */
/* 講師プロフィール：左に写真、右に本文の2カラム */
/* 狭い画面では本文が細くなりすぎるので縦積み。広い画面だけ2カラム */
.profile { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
@media (min-width: 700px) { .profile { grid-template-columns: 176px minmax(0, 1fr); gap: var(--s7); } }
@media (max-width: 699px) { .profile-photo { width: 116px; } }

/* 写真の枠：白マットの奥に緑の面をずらして重ね、単純な四角にしない */
.profile-photo { position: relative; margin: 0; align-self: start; }
.profile-photo::before {
  content: ""; position: absolute; inset: 0;
  transform: translate(9px, 9px);
  background: var(--green); opacity: .5;
}
@media (min-width: 700px) { .profile-photo::before { transform: translate(14px, 14px); } }
.profile-photo img {
  position: relative; width: 100%; display: block;
  background: #fff; padding: 6px;
  border: 1px solid var(--line);
}
@media (min-width: 700px) { .profile-photo img { padding: 9px; } }
.profile-heading { font-size: 20px; margin: 0 0 var(--s4); }
.profile-heading .name { white-space: nowrap; }
.profile-heading .en { font-size: 14px; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.profile-body { color: var(--ink-2); font-size: 16px; }
.profile-more { margin-top: var(--s4); }
.profile-more summary, .faq summary {
  cursor: pointer; font-weight: 700; list-style: none;
  padding: var(--s3) var(--s6) var(--s3) var(--s4); border-radius: var(--r-md);
  background: var(--paper-2); position: relative; min-height: 48px;
  display: flex; align-items: center;
  transition: background var(--d-state) var(--ease-out);
}
.profile-more summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.profile-more summary:hover, .faq summary:hover { background: var(--green-soft); }
.profile-more summary::after, .faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2.5px solid var(--ink-3); border-bottom: 2.5px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform var(--d-state) var(--ease-out);
}
.profile-more[open] summary::after, .faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.profile-more-body { padding: var(--s4) var(--s4) 0; font-size: 15px; color: var(--ink-2); }
.profile-more-body h4 { margin: var(--s4) 0 var(--s2); font-size: 15px; color: var(--ink); }
.profile-more-body h4:first-child { margin-top: 0; }
.profile-more-body li { padding-left: 1em; text-indent: -1em; }
.profile-more-body li::before { content: "・"; }

/* =========================================================
   Access
   ========================================================= */
.access-grid { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .access-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .access-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s5); } }
.access-card {
  background: transparent; border-radius: 0; padding: var(--s5) 0;
  border-top: 1px solid var(--line); display: flex; flex-direction: column;
}
.access-when { margin: 0 0 var(--s3); font-size: 13px; font-weight: 700; color: var(--green-deep); }
.access-name { font-size: 18px; margin: 0 0 var(--s3); line-height: 1.55; }
.access-name span { font-size: .85em; font-weight: 500; color: var(--ink-2); }
.access-addr { margin: 0 0 var(--s4); font-size: 14px; color: var(--ink-2); }
.map-link {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 15px; font-weight: 700; text-decoration: none; color: var(--blue);
}
.map-link::after {
  content: ""; width: 7px; height: 7px; margin-left: 8px;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg);
  transition: transform var(--d-press) var(--ease-out);
}
.map-link:hover::after { transform: rotate(45deg) translate(2px, -2px); }
@media (min-width: 1000px) { .access-grid { gap: 0 var(--s6); } }
.access-note { margin: 0; font-size: 13px; color: var(--ink-2); }

/* =========================================================
   FAQ
   ========================================================= */
/* 補足セクションなので、カードで囲まず罫線で区切る（囲みを減らして重さを落とす） */
.faq-list { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { background: transparent; border-radius: 0; padding-inline: 0 var(--s6); }
.faq summary:hover { background: transparent; color: var(--pink-deep); }
.faq summary::after { right: 6px; }
.faq-a { padding: 0 var(--s6) var(--s4) 0; color: var(--ink-2); font-size: 16px; }

/* =========================================================
   Contact / Footer
   ========================================================= */
.contact-box {
  background: var(--paper-2); border-radius: var(--r-xl); padding: var(--s6);
  text-align: center; max-width: 620px; margin-inline: auto; border: 1px solid var(--line);
}
.contact-org { font-weight: 700; font-size: 19px; margin: 0 0 var(--s2); }
.contact-addr { margin: 0 0 var(--s3); font-size: 15px; color: var(--ink-2); }
.contact-mail { margin: 0 0 var(--s3); font-size: 18px; font-weight: 700; }
.contact-mail a { word-break: break-all; }
.contact-note { margin: 0; font-size: 14px; color: var(--ink-2); }

.site-footer {
  background: var(--footer-bg); color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-block: var(--s7) calc(var(--s7) + 76px); text-align: center; font-size: 14px;
}
@media (min-width: 700px) { .site-footer { padding-bottom: var(--s7); } }
/* ロゴは背景透過。白フチがあるので暗い地にそのまま置ける */
.footer-logo { width: 104px; margin: 0 auto var(--s5); }
.footer-line { margin: 0 0 var(--s2); }
.footer-small { margin: var(--s4) 0 0; font-size: 13px; color: var(--ink-3); }
.copyright { margin: var(--s5) 0 0; font-size: 12.5px; color: var(--ink-3); }

/* =========================================================
   Sticky mobile CTA
   ========================================================= */
.sticky-cta {
  position: fixed; left: var(--s4); right: var(--s4); bottom: var(--s4); z-index: 60;
  display: flex; align-items: center; justify-content: center;
  min-height: 60px; border-radius: var(--r-pill);
  background: var(--pink-deep); color: #fff; font-weight: 700; font-size: 17px;
  text-decoration: none; box-shadow: var(--sh-3);
  transform: translateY(140%);
  transition: transform var(--d-state) var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta:active { transform: translateY(0) scale(.98); }
@media (min-width: 700px) { .sticky-cta { display: none; } }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--d-enter) var(--ease-out), transform var(--d-enter) var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .reveal.is-in { transition: none; transition-delay: 0ms; }
  .sticky-cta { transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* =========================================================
   ページ内クイックナビ（ヘッダーにナビが出ない幅で表示）
   ========================================================= */
/* 画面が狭いとヘッダーのナビが隠れるため、ここを追従させて現在地を示す
   ヘッダーの直下にくっつくと窮屈なので、上下に余白を取って一段の帯にする */
.quicknav {
  /* ヘッダーの実寸は JS で --header-h に入れる。固定値だと上の余白が潜り込む */
  position: sticky; top: var(--header-h, 81px); z-index: 45;
  background: rgba(251,249,244,.94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 16px -12px rgba(60,55,48,.5);
}
.quicknav-inner {
  display: flex; gap: var(--s2); padding-block: var(--s4);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.quicknav-inner::-webkit-scrollbar { display: none; }
.quicknav-inner a {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 0 var(--s4); border-radius: var(--r-pill);
  background: var(--paper); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700;
  box-shadow: var(--sh-1);
  transition: background var(--d-press) var(--ease-out), transform var(--d-press) var(--ease-out);
}
.quicknav-inner a:hover { background: var(--green-soft); }
.quicknav-inner a:active { transform: scale(.97); }
.quicknav-inner a[aria-current="true"] {
  background: var(--green-deep); border-color: var(--green-deep); color: #fff;
}
.gnav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--green); }



/* 日程欄の施設名リンク */
.place-link {
  color: var(--ink-2); text-decoration: underline;
  text-decoration-color: rgba(43,42,40,.3); text-underline-offset: .25em;
  transition: color var(--d-press) var(--ease-out), text-decoration-color var(--d-press) var(--ease-out);
}
.place-link:hover { color: var(--blue); text-decoration-color: var(--blue); }
