/* =========================================================
   もりもりキャリア（2026-10-02 作り直し）
   見た目の基準＝森さん支給の事業案内スライド12枚：実写の森・木漏れ日・すりガラスの板・金色の光
   根拠にした数値（UX調査 2026-10-02）
     本文16px・行間1.75・字間0.04em（デジタル庁）／押せる範囲48px以上（Material・Apple）
     表示の動きは400ms以内・ease-out・1回だけ（NN/g）／動かすのは transform と opacity だけ（web.dev）
     動きを減らす設定の人には止める（WCAG 2.3.3）
   ========================================================= */
:root {
  --moss: #3f9a4f;
  --moss-deep: #2f7d43;
  --moss-text: #2a6e3b; /* 白・クリーム地で4.5:1以上になる緑 */
  --forest: #1f3d2f;
  --leaf: #e7f2df;
  --wood: #a3754a;
  --wood-deep: #7d5634;
  --wood-light: #efe1cb;
  --cream: #f7f3e9;
  --paper: #fffdf8;
  --gold: #f2cf86;
  --gold-deep: #b8862f;
  --amber: #9b5a1e;
  --ink: #2f2c26;
  --muted: #6b665a;
  --line: #e4dccb;
  --radius: 22px;
  --shadow: 0 10px 30px -18px rgba(60, 45, 20, 0.35);
  --glass: rgba(255, 255, 255, 0.13);
  --glass-line: rgba(255, 255, 255, 0.38);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; overflow-x: clip; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.75; letter-spacing: 0.04em;
  line-break: strict; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 700; }
/* 日本語の改行：文節で折り返し（Chrome・Edge）、行末に1〜2文字だけ残るのを減らす */
h1, h2, h3, p, li, figcaption { word-break: auto-phrase; text-wrap: pretty; }
.ph { word-break: keep-all; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; position: relative; z-index: 2; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ─── 表示の動き（本文は0.4秒以内に出す。1回だけ） ─── */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ─── ボタン（押したら0.1秒で沈む） ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 1rem/1.4 var(--sans); letter-spacing: 0.06em; text-decoration: none;
  transition: transform 0.1s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s;
  -webkit-tap-highlight-color: transparent; position: relative; overflow: hidden;
}
.btn::after { content: ""; position: absolute; inset: 0; background: currentColor; opacity: 0; transition: opacity 0.1s; }
.btn:active { transform: scale(0.97); }
.btn:active::after { opacity: 0.1; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.55); }
  .btn:hover::after { opacity: 0.08; }
  .btn:active { transform: translateY(0) scale(0.97); }
}
.btn-moss { background: var(--moss-text); color: #fff; box-shadow: 0 10px 22px -12px rgba(47, 125, 67, 0.9); }
.btn-ghost { background: rgba(255, 255, 255, 0.75); color: var(--forest); box-shadow: inset 0 0 0 2px rgba(47, 125, 67, 0.45); }
.btn-gold { background: linear-gradient(180deg, #ffe2a2, #e8b65c); color: #4a3008; box-shadow: 0 12px 30px -12px rgba(232, 182, 92, 0.9); }
.btn-wood { background: var(--paper); color: var(--wood-deep); box-shadow: inset 0 0 0 2px var(--wood-light); }
.btn-lg { min-height: 60px; padding-inline: 40px; font-size: 1.05rem; }

/* ─── ヘッダー（森の上では透明、スクロールしたらすりガラス） ─── */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--moss), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
.site-header.is-solid { background: rgba(255, 253, 248, 0.86); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; width: min(1200px, 100% - 24px); margin-inline: auto; }
.wordmark { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: #fff; text-decoration: none; letter-spacing: 0.08em; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); min-height: 48px; }
.is-solid .wordmark { color: var(--forest); text-shadow: none; }
.logo-badge { display: inline-grid; place-items: center; text-align: center; border-radius: 50%; background: #2fae4f; color: #fff; font-weight: 700; line-height: 1.1; letter-spacing: 0.02em; }
.wordmark .logo-badge { width: 40px; height: 40px; font-size: 0.5rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
.nav-pc { display: none; gap: 4px; font-size: 0.9rem; }
.nav-pc a { white-space: nowrap; text-decoration: none; color: #fff; font-weight: 700; padding: 12px 12px; border-radius: 999px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); transition: background-color 0.2s, color 0.2s; }
.is-solid .nav-pc a { color: var(--forest); text-shadow: none; }
@media (hover: hover) { .nav-pc a:hover { background: rgba(255, 255, 255, 0.18); } .is-solid .nav-pc a:hover { background: var(--leaf); } }
.nav-toggle { width: 48px; height: 48px; border: 0; background: rgba(255, 255, 255, 0.2); border-radius: 50%; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.is-solid .nav-toggle { background: transparent; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform 0.2s, background-color 0.2s; }
.is-solid .bars, .is-solid .bars::before, .is-solid .bars::after, .nav-toggle[aria-expanded="true"] .bars::before, .nav-toggle[aria-expanded="true"] .bars::after { background: var(--forest); }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] { background: var(--paper); }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
.nav-sp { display: grid; padding: 8px 20px 18px; background: rgba(255, 253, 248, 0.97); box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.4); }
.nav-sp[hidden] { display: none; }
.nav-sp a { padding: 14px 4px; min-height: 48px; text-decoration: none; color: var(--forest); font-weight: 700; border-bottom: 1px dashed var(--line); }
@media (min-width: 1280px) { .nav-pc { display: flex; } .nav-toggle, .nav-sp { display: none !important; } }
body:not(.home) .site-header { background: rgba(255, 253, 248, 0.92); box-shadow: 0 1px 0 var(--line); }
body:not(.home) .wordmark, body:not(.home) .nav-pc a { color: var(--forest); text-shadow: none; }
body:not(.home) .bars, body:not(.home) .bars::before, body:not(.home) .bars::after { background: var(--forest); }
body:not(.home) main { padding-top: 64px; }

/* ─── 背景写真（スライドの写真。ゆっくり奥行きをつけて動く） ─── */
.bg { position: absolute; inset: -12% 0; z-index: 0; overflow: hidden; will-change: transform; }
.bg img { width: 100%; height: 100%; object-fit: cover; }
.slide { position: relative; overflow: hidden; color: #fff; padding: clamp(84px, 11vw, 132px) 0; isolation: isolate; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 22, 12, 0.42), rgba(10, 22, 12, 0.18) 40%, rgba(10, 22, 12, 0.45)); pointer-events: none; }
.slide-title {
  font-family: var(--serif); font-weight: 800; text-align: center;
  font-size: clamp(1.5rem, 4.2vw, 2.6rem); line-height: 1.55; letter-spacing: 0.06em;
  color: #fff8e6; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 210, 120, 0.25);
}
.slide-title.dark { color: #6a3d12; text-shadow: 0 0 22px rgba(255, 245, 220, 0.9), 0 0 2px rgba(255, 255, 255, 0.8); }
.glass {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 22px;
  backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.glass.light { background: rgba(255, 252, 244, 0.62); border-color: rgba(255, 236, 190, 0.9); color: #3a2a12; box-shadow: 0 0 0 1px rgba(255, 220, 150, 0.35), 0 0 34px -6px rgba(255, 200, 110, 0.75); }
.source { margin-top: 10px; text-align: center; font-size: 0.85rem; opacity: 0.85; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }

/* ① ヒーロー（スライド1：上が森、下が白い霧） */
.hero { position: relative; min-height: min(92svh, 860px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; background: #f6f6f2; }
.bg-hero { inset: 0; }
.bg-hero img { object-position: 50% 0; animation: kenburns 24s ease-in-out infinite alternate; transform-origin: 50% 10%; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.sunburst { position: absolute; z-index: 1; left: 50%; top: -6%; width: 120vmax; height: 120vmax; transform: translateX(-50%); pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 246, 210, 0.22) 0deg 3deg, transparent 3deg 12deg);
  mask-image: radial-gradient(circle at 50% 0, #000 0, transparent 46%); -webkit-mask-image: radial-gradient(circle at 50% 0, #000 0, transparent 46%);
  animation: rays 40s linear infinite; mix-blend-mode: screen; }
@keyframes rays { to { transform: translateX(-50%) rotate(360deg); } }
.fireflies { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 140px; z-index: 1; background: linear-gradient(180deg, rgba(8, 20, 10, 0.45), transparent); pointer-events: none; }
.hero-mist { position: relative; z-index: 2; padding: 56px 0 72px; background: linear-gradient(180deg, rgba(246, 246, 242, 0) 0, rgba(246, 246, 242, 0.88) 26%, #f6f6f2 60%); }
.hero-inner { width: min(1160px, 100% - 32px); margin-inline: auto; text-align: center; }
.hero-catch { font-weight: 700; color: var(--amber); font-size: clamp(1.45rem, 4.4vw, 2.7rem); line-height: 1.55; letter-spacing: 0.06em; }
.hero-lead { margin-top: 10px; font-weight: 700; color: #1d1b17; font-size: clamp(1.02rem, 2.6vw, 1.55rem); line-height: 1.6; }
.hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-cta .btn { min-width: min(100%, 230px); }
.hero-name { margin-top: 24px; font-size: 0.95rem; color: #33302a; }
.hero-name strong { font-size: 1.15rem; margin-right: 6px; letter-spacing: 0.12em; }
.hero-logo { position: absolute; right: max(16px, calc((100% - 1160px) / 2)); bottom: 74px; width: 72px; height: 72px; font-size: 0.82rem; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.4); }
@media (max-width: 760px) { .hero-logo { display: none; } .hero-cta .btn { flex: 1 1 100%; } }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%); width: 48px; height: 48px; display: grid; place-items: center; }
.scroll-cue span { width: 22px; height: 34px; border: 2px solid rgba(47, 61, 40, 0.55); border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--moss); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ② 信念（スライド2：大きな言葉と金色の引用符） */
#belief::before { background: rgba(10, 22, 12, 0.2); }
.glass-quote { max-width: 1040px; margin-inline: auto; padding: clamp(36px, 7vw, 76px) clamp(20px, 6vw, 72px); text-align: center; }
.quote { position: relative; font-family: var(--sans); font-weight: 700; font-size: clamp(1.75rem, 6vw, 4rem); line-height: 1.4; letter-spacing: 0.04em; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35); }
.qmark { font-family: Georgia, serif; color: #d9b36c; font-size: 1.6em; line-height: 0; vertical-align: -0.35em; text-shadow: none; }
.qmark.open { margin-right: 0.08em; } .qmark.close { margin-left: 0.04em; }
.quote-body { margin-top: clamp(22px, 4vw, 40px); display: grid; gap: 6px; font-weight: 700; font-size: clamp(1rem, 1.9vw, 1.15rem); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }

/* ③ すれ違いの谷（スライド3） */
.gap-grid { margin-top: clamp(28px, 5vw, 48px); display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .gap-grid { grid-template-columns: 1fr 1.5fr 1fr; } }
.gap-stat { padding: clamp(26px, 4vw, 40px); text-align: center; border-color: rgba(255, 220, 160, 0.7); box-shadow: 0 0 0 1px rgba(255, 210, 140, 0.25), 0 0 46px -10px rgba(255, 190, 100, 0.6); }
.gap-stat-label { font-weight: 700; font-size: clamp(1.25rem, 3.4vw, 2.1rem); letter-spacing: 0.08em; }
.gap-stat-num { margin-top: 4px; font-family: var(--serif); font-weight: 800; line-height: 1.1; font-size: clamp(3.4rem, 11vw, 5.6rem); font-variant-numeric: tabular-nums; }
.gap-stat-num small { font-size: 0.55em; }
.gap-stat-num em { display: block; font-style: normal; font-size: clamp(1rem, 2.6vw, 1.6rem); font-family: var(--sans); font-weight: 700; margin-top: 6px; }
.gap-side { text-align: center; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75); }
.gap-who { font-weight: 700; font-size: 1.15rem; margin: 10px 0 4px; }
.gap-voice { font-weight: 700; font-size: clamp(1rem, 2vw, 1.15rem); }
.icon-tile { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 18px; color: #fff; }
.icon-tile svg { width: 56px; height: 56px; }
.lone-figure-unused { display: inline-block; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 238, 190, 0.55), transparent 65%); position: relative; }
.lone-figure-unused::after { content: ""; position: absolute; left: 50%; top: 18px; width: 14px; height: 58px; margin-left: -7px; border-radius: 7px 7px 3px 3px; background: rgba(40, 40, 36, 0.85); box-shadow: 0 -16px 0 -2px rgba(40, 40, 36, 0.85); }
.bar-note { margin-top: clamp(28px, 4vw, 40px); background: rgba(255, 255, 255, 0.9); color: #2a2620; border-radius: 14px; padding: 16px 22px; text-align: center; font-weight: 700; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5); }

/* ④ 氷の壁（スライド4：スクロールで氷が溶ける＝--p） */
.wall-grid { margin-top: clamp(28px, 5vw, 44px); display: grid; gap: 18px; }
@media (min-width: 900px) { .wall-grid { grid-template-columns: 1fr 2.1fr 1fr; align-items: stretch; } }
.path-card { min-height: 180px; border-radius: 6px; display: grid; place-items: center; font-family: var(--serif); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 1.8rem); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  background: radial-gradient(circle at 30% 10%, rgba(255, 230, 160, 0.55), transparent 55%), linear-gradient(180deg, rgba(120, 90, 40, 0.35), rgba(40, 60, 30, 0.55)); border: 1px solid rgba(255, 230, 170, 0.5); box-shadow: 0 0 30px -10px rgba(255, 200, 110, 0.7); }
.ice { position: relative; display: grid; gap: 18px; padding: 34px 22px; border-radius: 14px; text-align: center; color: #1d2f3d;
  background: linear-gradient(160deg, rgba(235, 248, 255, 0.92), rgba(180, 214, 232, 0.86) 55%, rgba(214, 236, 248, 0.9));
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.8), 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  opacity: calc(1 - var(--p, 0) * 0.45); transform: scale(calc(1 - var(--p, 0) * 0.04)); }
@media (min-width: 640px) { .ice { grid-template-columns: 1fr 1fr; align-items: center; min-height: 300px; } }
.ice-block { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.ice-block i { display: none; }
.ice-block i:nth-child(1) { left: 8%; top: 22%; width: 46%; transform: rotate(18deg); }
.ice-block i:nth-child(2) { left: 50%; top: 10%; width: 2px; height: 82%; transform: rotate(4deg); }
.ice-block i:nth-child(3) { left: 30%; top: 70%; width: 52%; transform: rotate(-12deg); }
.ice-block::after { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.75) 50%, transparent 60%); animation: shine 5.5s ease-in-out infinite; }
@keyframes shine { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.ice-item { position: relative; }
.ice-item h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.ice-item p { font-weight: 700; margin-top: 4px; font-size: 1rem; }
.paper-note { margin-top: 28px; background: rgba(255, 255, 255, 0.92); color: #2a2620; border-radius: 6px; padding: 18px 22px; display: grid; gap: 4px; font-weight: 700; text-align: center; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.6); }

/* ⑤ 原点の物語（スライド5：3つの光の玉をつるがつなぐ） */
.story { position: relative; margin-top: clamp(30px, 5vw, 50px); display: grid; gap: 22px; }
@media (min-width: 900px) { .story { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.story-vine { position: absolute; inset: 20% 0 auto; width: 100%; height: 60%; display: none; }
@media (min-width: 900px) { .story-vine { display: block; } }
.story-vine path { fill: none; stroke: url(#none); stroke: rgba(240, 210, 120, 0.85); stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(255, 210, 120, 0.9)); stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s var(--ease) 0.3s; }
.story.is-lit .story-vine path { stroke-dashoffset: 0; }
.orb { position: relative; aspect-ratio: 1; max-width: min(300px, 78vw); width: 100%; margin-inline: auto; border-radius: 50%; display: grid; align-content: center; justify-items: center; gap: 10px; padding: 14%; text-align: center;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08) 60%); border: 1px solid rgba(255, 255, 255, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 40px -6px rgba(255, 255, 255, 0.35); }
.orb h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: #ffe7a8; text-shadow: 0 0 14px rgba(255, 190, 90, 0.9); }
.orb p { font-weight: 700; font-size: 1rem; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.orb-1 { background: radial-gradient(circle at 35% 30%, rgba(200, 200, 210, 0.35), rgba(60, 60, 70, 0.35) 70%); }
.orb-3 { background: radial-gradient(circle at 40% 35%, rgba(255, 248, 220, 0.95), rgba(255, 210, 120, 0.75) 60%, rgba(255, 190, 90, 0.5)); color: #4a2e08; box-shadow: 0 0 80px 10px rgba(255, 200, 100, 0.55); }
.orb-3 h3 { color: #6a3d12; text-shadow: none; } .orb-3 p { text-shadow: none; }
.orb-3::after { content: ""; position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 220, 140, 0.5), transparent 65%); z-index: -1; animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: 0.7; } }
.gold-note { margin-top: clamp(28px, 4vw, 44px); padding: 18px 24px; border-radius: 14px; text-align: center; font-weight: 700; color: #3a2408; display: grid; gap: 4px;
  background: linear-gradient(180deg, #fff3cf, #f3d48e); box-shadow: 0 0 0 1px rgba(255, 230, 170, 0.8), 0 0 40px -8px rgba(255, 200, 110, 0.9); }

/* ⑥ 温かい架け橋（スライド6：2つの円が寄って重なる） */
.venn { position: relative; margin: clamp(30px, 5vw, 50px) auto 0; max-width: 1000px; display: grid; gap: 16px; }
.venn-c { border-radius: 28px; padding: 26px 22px; text-align: center; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.venn-l { background: radial-gradient(circle at 40% 40%, rgba(90, 150, 200, 0.55), rgba(30, 80, 120, 0.5)); box-shadow: 0 0 40px -6px rgba(140, 200, 255, 0.6); }
.venn-r { background: radial-gradient(circle at 60% 40%, rgba(200, 130, 50, 0.6), rgba(130, 70, 20, 0.5)); box-shadow: 0 0 40px -6px rgba(255, 170, 80, 0.6); }
.venn-c h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.45; word-break: keep-all; }
.venn-c ul { margin-top: 14px; display: grid; gap: 4px; font-weight: 700; font-size: 1rem; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 14px rgba(0, 0, 0, 0.6); }
.venn-c li::before { content: "・"; }
.venn-core { text-align: center; padding: 18px; border-radius: 22px; font-weight: 700; font-size: clamp(1.05rem, 2.2vw, 1.4rem); line-height: 1.6; background: radial-gradient(circle, rgba(255, 236, 190, 0.55), rgba(255, 210, 140, 0.15)); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }
.core-label { font-size: 0.85em; }
@media (min-width: 900px) {
  .venn { display: block; height: 560px; }
  .venn-c { position: absolute; top: 0; width: 560px; height: 560px; border-radius: 50%; padding: 0 80px; display: grid; align-content: center; transition: transform 0.8s var(--ease); }
  .venn-l { left: 0; padding-right: 210px; transform: translateX(-60px); }
  .venn-r { right: 0; padding-left: 210px; transform: translateX(60px); }
  .venn.is-in .venn-l, .venn.is-in .venn-r { transform: none; }
  .venn-core { position: absolute; left: 50%; top: 50%; width: 300px; font-size: 1.15rem; transform: translate(-50%, -50%); background: none; opacity: 0; transition: opacity 0.4s var(--ease) 0.4s; }
  .venn.is-in .venn-core { opacity: 1; }
}

/* ⑦ 立ち位置（スライド7：2×2の四象限。右上だけ光る） */
.quad { margin: clamp(30px, 5vw, 48px) auto 0; max-width: 1040px; display: grid; gap: 14px; }
.q { border-radius: 26px; padding: 26px 22px; text-align: center; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); display: grid; align-content: center; gap: 6px; }
.q h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(1.15rem, 2.4vw, 1.7rem); line-height: 1.45; }
.q p { font-weight: 700; font-size: 1rem; }
.q-ours { order: -1; border: 2px solid rgba(255, 228, 160, 0.95); background: linear-gradient(160deg, rgba(255, 240, 200, 0.28), rgba(255, 200, 110, 0.12)); box-shadow: 0 0 0 1px rgba(255, 220, 150, 0.4), 0 0 60px -6px rgba(255, 200, 100, 0.8); position: relative; overflow: hidden; }
.q-ours h3 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: #fff8e0; }
.q-ours::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background: radial-gradient(circle, rgba(255, 250, 220, 0.95), rgba(255, 220, 140, 0.4) 35%, transparent 65%); animation: breathe 4.5s ease-in-out infinite; pointer-events: none; }
.q-tag { font-size: 0.85rem !important; color: #ffe7a8; }
.axis { font-weight: 700; font-size: 1rem; text-align: center; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); color: #fff1cf; }
@media (min-width: 900px) {
  .quad { grid-template-columns: 52px 1fr 1fr; grid-template-rows: 230px 230px auto; column-gap: 18px; row-gap: 18px; }
  .axis-y { grid-row: 1 / 3; grid-column: 1; writing-mode: vertical-rl; display: flex; align-items: center; justify-content: center; border-left: 2px solid rgba(255, 230, 180, 0.8); }
  .q-tl { grid-row: 1; grid-column: 2; } .q-tr { grid-row: 1; grid-column: 3; order: 0; } .q-bl { grid-row: 2; grid-column: 2; } .q-br { grid-row: 2; grid-column: 3; }
  .axis-x { grid-row: 3; grid-column: 2 / 4; border-top: 2px solid rgba(255, 230, 180, 0.8); padding-top: 10px; }
}

/* ⑧ イキイキ循環（スライド8：つるの輪がゆっくり回り、4枚の板が囲む） */
.cycle { position: relative; margin: clamp(30px, 5vw, 50px) auto 0; max-width: 1040px; display: grid; gap: 14px; }
.cycle-ring { display: block; width: min(86vw, 420px); margin: 0 auto; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cycle-ring circle { fill: none; }
.ring-a { stroke: url(#vine); stroke-width: 10; filter: drop-shadow(0 0 10px rgba(190, 230, 110, 0.9)); stroke-dasharray: 60 10 30 10; }
.ring-b { stroke: rgba(120, 190, 90, 0.75); stroke-width: 4; stroke-dasharray: 4 14; }
.ring-c { stroke: rgba(240, 220, 140, 0.6); stroke-width: 3; stroke-dasharray: 30 18; }
.spark { fill: #fff3b0 !important; filter: drop-shadow(0 0 6px #ffd76a); animation: twinkle 2.6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes twinkle { 50% { opacity: 0.2; } }
.cycle-center { position: absolute; left: 50%; top: 0; width: min(52vw, 220px); height: min(86vw, 420px); transform: translateX(-50%); display: grid; place-items: center; text-align: center; font-weight: 700; font-size: clamp(0.92rem, 1.7vw, 1.08rem); line-height: 1.7; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9); }
.cycle-card { padding: 18px 20px; text-align: center; background: rgba(22, 34, 16, 0.55); color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); }
.cycle-card h3 { font-size: 1.1rem; }
.cycle-card p { margin-top: 4px; font-weight: 700; font-size: 1rem; }
@media (min-width: 900px) {
  .cycle { display: block; height: 600px; }
  .cycle-ring { position: absolute; left: 50%; top: 50%; width: 460px; margin: -230px 0 0 -230px; }
  .cycle-center { top: 50%; height: auto; width: 270px; transform: translate(-50%, -50%); }
  .cycle-card { position: absolute; width: 290px; }
  .c1 { left: 50%; top: 0; transform: translateX(-50%); } .c2 { right: 0; top: 50%; transform: translateY(-50%); }
  .c3 { left: 50%; bottom: 0; transform: translateX(-50%); } .c4 { left: 0; top: 50%; transform: translateY(-50%); }
  .cycle .cycle-card { opacity: 0; transition: opacity 0.4s var(--ease); }
  .cycle.is-in .cycle-card { opacity: 1; }
  .cycle.is-in .c2 { transition-delay: 0.12s; } .cycle.is-in .c3 { transition-delay: 0.24s; } .cycle.is-in .c4 { transition-delay: 0.36s; }
}

/* ⑨ 悩みと解決（スライド9：写真つきの2枚） */
.targets { margin-top: clamp(30px, 5vw, 48px); display: grid; gap: 22px; }
@media (min-width: 900px) { .targets { grid-template-columns: 1fr 1fr; gap: 40px; } }
.target { border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)); border: 2px solid rgba(255, 225, 150, 0.85); box-shadow: 0 0 46px -8px rgba(255, 200, 100, 0.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-bottom: 22px; }
.target-photo { aspect-ratio: 49 / 21; overflow: hidden; }
.target-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s var(--ease); }
.target.is-in .target-photo img { transform: scale(1.06); }
.target h3 { font-family: var(--serif); font-weight: 800; text-align: center; font-size: clamp(1.1rem, 2.6vw, 1.8rem); word-break: keep-all; padding: 16px 16px 12px; border-bottom: 1px solid rgba(255, 230, 170, 0.6); margin: 0 22px 16px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.tg-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 8px 22px; }
.tg-row p { font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85); }
.target { background: linear-gradient(180deg, rgba(40, 30, 12, 0.5), rgba(40, 30, 12, 0.62)); }
.chip { display: inline-block; background: linear-gradient(180deg, #f6dfa9, #d9b06a); color: #3a2408; border-radius: 10px; padding: 2px 14px; font-weight: 700; font-size: 0.9rem; margin-top: 2px; }

/* ⑩ 4つの基盤（スライド10：根っこから伸びる板と木の看板） */
.ways { margin-top: clamp(30px, 5vw, 48px); display: grid; gap: 14px; }
@media (min-width: 640px) { .ways { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ways { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.way { padding: 26px 20px; text-align: center; border-radius: 10px; background: rgba(28, 22, 10, 0.45); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.way h3 { font-family: var(--serif); font-weight: 800; font-size: 1.35rem; }
.way-sub { font-weight: 700; }
.way p:last-child { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.45); font-weight: 700; font-size: 1rem; }
.js .way[data-reveal]:not(.is-in) { transform: translateY(36px) scaleY(0.96); transform-origin: 50% 100%; }
.wood-sign { margin-top: clamp(30px, 5vw, 56px); padding: 22px clamp(20px, 4vw, 48px); border-radius: 18px 26px 22px 30px; text-align: center; font-weight: 700; font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.8; color: #fff8e6; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  background: repeating-linear-gradient(178deg, rgba(0, 0, 0, 0.08) 0 2px, transparent 2px 9px), linear-gradient(180deg, #8a5a2c, #6b4220); box-shadow: 0 0 0 2px rgba(255, 210, 120, 0.7), 0 0 50px -8px rgba(255, 190, 90, 0.8); }

/* 学生のみなさんへ・カード */
.sec { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.sec-cream { background: var(--cream); }
.sec-paper { background: var(--paper); }
.sec-wood { background-color: #f6ecdc; background-image: repeating-linear-gradient(92deg, rgba(163, 117, 74, 0.05) 0 2px, transparent 2px 22px), repeating-linear-gradient(88deg, rgba(163, 117, 74, 0.04) 0 1px, transparent 1px 9px); }
.sec-eyebrow { color: var(--moss-text); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.24em; margin-bottom: 10px; }
.sec-eyebrow.light { color: #bfe3b6; }
.sec-title { font-family: var(--serif); font-weight: 800; font-size: clamp(1.6rem, 4.6vw, 2.5rem); line-height: 1.5; color: var(--forest); }
.sec-lead { margin: 18px auto 0; max-width: 38em; color: var(--muted); }
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.student-points { margin: 44px 0 32px; display: grid; gap: 18px; }
@media (min-width: 860px) { .student-points { grid-template-columns: repeat(3, 1fr); } }
.student-points li { padding: 30px 26px; position: relative; overflow: hidden; }
.pt-leaf { width: 30px; height: 30px; color: var(--moss); margin-bottom: 10px; }
.student-points h3 { font-size: 1.15rem; color: var(--moss-deep); line-height: 1.6; }
.student-points p { margin-top: 10px; color: #575247; font-size: 1rem; }

/* 代表インタビュー（縦長動画。画面の高さの7割に収める） */
.interview { position: relative; overflow: hidden; color: #fff; padding: clamp(80px, 11vw, 130px) 0; background: radial-gradient(ellipse at 70% 20%, #2f5a3a, #12241a 70%); isolation: isolate; }
.interview-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 860px) { .interview-grid { grid-template-columns: 1fr auto; gap: 64px; } }
.interview h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(1.8rem, 4.6vw, 2.8rem); line-height: 1.4; color: #fff3d0; }
.interview-text > p:nth-of-type(2) { margin-top: 16px; color: #dfeadb; max-width: 30em; font-size: 1.05rem; }
.topics-label { margin-top: 28px; font-weight: 700; color: var(--gold); font-size: 1rem; letter-spacing: 0.1em; }
.topics { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 36em; }
.topics li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 1rem; font-weight: 700; }
.topics span { display: inline-grid; place-items: center; min-width: 34px; height: 24px; border-radius: 999px; background: #1f4fa0; color: #fff; font-size: 0.72rem; }
.video-frame { position: relative; width: min(68vw, calc(70svh * 9 / 16), 380px); aspect-ratio: 9 / 16; margin-inline: auto; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 230, 170, 0.5), 0 30px 70px -20px rgba(0, 0, 0, 0.8), 0 0 60px -10px rgba(255, 200, 110, 0.5); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play { position: absolute; inset: 0; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25)); display: grid; justify-items: center; align-content: start; padding-top: 128%; }
.video-play span { width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); position: relative; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); transition: transform 0.1s var(--ease); }
.video-play span::before { content: ""; position: absolute; left: 34px; top: 26px; border-left: 26px solid var(--moss); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.video-play span::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.8); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(0.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.video-play:active span { transform: scale(0.94); }
.video-frame.is-playing .video-play { display: none; }
.video-frame video::-webkit-media-controls-panel { display: none; }
.video-frame.is-playing video::-webkit-media-controls-panel { display: flex; }

/* ⑪ 未来の森（スライド11：日本地図に光の線） */
#vision::before { background: linear-gradient(180deg, rgba(255, 245, 225, 0.1), rgba(10, 22, 12, 0.05) 50%, rgba(10, 22, 12, 0.35)); }
.vision-grid { margin-top: clamp(26px, 4vw, 40px); display: grid; gap: 22px; align-items: center; }
@media (min-width: 960px) { .vision-grid { grid-template-columns: 1fr 1.1fr; } }
.vision-cards { display: grid; gap: 16px; }
.vcard { padding: 22px 24px; }
.vcard h3 { font-size: 1.15rem; color: #5a3410; }
.vcard p { margin-top: 6px; font-weight: 700; font-size: 1rem; }
.japan-map { width: 100%; max-width: 560px; margin-inline: auto; display: block; overflow: visible; }
.coast path { fill: rgba(255, 236, 190, 0.16); stroke: rgba(255, 238, 200, 0.95); stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255, 200, 110, 0.9)); stroke-dasharray: 1; stroke-dashoffset: 1; }
.japan.is-in .coast path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease); }
.japan { padding: 10px; border-radius: 30px; background: radial-gradient(closest-side, rgba(20, 30, 20, 0.35), transparent); }
.okinawa-frame { fill: none; stroke: rgba(255, 240, 200, 0.6); stroke-dasharray: 4 6; }
.arcs path { fill: none; stroke: rgba(255, 226, 150, 0.7); stroke-width: 0.9; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 3px rgba(255, 200, 100, 0.9)); }
.dots g { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0.3); }
.halo { animation: pulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: 0.5; } }
.core { fill: #fffbe8; }
.hub { fill: #fff; filter: drop-shadow(0 0 10px #ffd27a) drop-shadow(0 0 20px #ffb347); }
.japan.is-in .arcs path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease); transition-delay: var(--d); }
.japan.is-in .dots g { opacity: 1; transform: scale(1); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); transition-delay: var(--d); }

/* カレンダー */
.cal-wrap { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 900px) { .cal-wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.cal { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(10px, 4vw, 30px); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head p { font-weight: 700; font-size: 1.15rem; color: var(--forest); }
.cal-head button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); font-size: 1.4rem; line-height: 1; color: var(--forest); cursor: pointer; transition: transform 0.1s, background-color 0.2s; }
.cal-head button:active { transform: scale(0.94); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.cal-w { font-size: 0.75rem; color: var(--muted); padding: 4px 0; }
.cal-w.sun { color: #a8462f; } .cal-w.sat { color: #2d6890; }
.cal-d { aspect-ratio: 1; min-height: 44px; display: grid; place-items: center; border-radius: 12px; font-size: 0.95rem; position: relative; border: 0; background: transparent; font-family: inherit; color: var(--ink); }
.cal-d.today { outline: 2px solid var(--wood-light); }
.cal-d.has { background: var(--leaf); color: var(--forest); font-weight: 700; cursor: pointer; transition: transform 0.1s, background-color 0.2s; }
.cal-d.has:active { transform: scale(0.94); }
.cal-d.has i { position: absolute; bottom: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--moss); }
.cal-d.has.on, .cal-d.has:focus-visible { background: var(--moss); color: #fff; }
@media (hover: hover) { .cal-d.has:hover { background: var(--moss); color: #fff; } .cal-d.has:hover i { background: #fff; } }
.cal-d.has.on i { background: #fff; }
.cal-hint { margin-top: 14px; font-size: 1rem; color: #575247; display: flex; gap: 8px; align-items: center; }
.cal-hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--moss); flex: none; }
.cal-side-label { font-weight: 700; color: var(--forest); margin-bottom: 12px; }
.upcoming { display: grid; gap: 10px; }
.upcoming a { display: grid; gap: 2px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; text-decoration: none; min-height: 48px; transition: border-color 0.2s, transform 0.1s; }
.upcoming a:active { transform: scale(0.98); }
@media (hover: hover) { .upcoming a:hover { border-color: var(--moss); } }
.up-date { font-size: 0.85rem; color: var(--moss-deep); font-weight: 700; }
.up-title { font-weight: 500; }
.ev-card { background: var(--paper); border-radius: var(--radius); border: 2px solid var(--moss); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 10px; justify-items: start; }
.ev-card + .ev-card { margin-top: 14px; }
.ev-date { font-weight: 700; color: var(--moss-deep); }
.ev-card h3 { font-size: 1.25rem; color: var(--forest); line-height: 1.5; }
.ev-status { font-size: 0.85rem; font-weight: 700; background: var(--leaf); color: #24603a; padding: 2px 12px; border-radius: 999px; }
.ev-status.closed { background: #f1e3de; color: #8f3f2b; }
.ev-place { font-size: 0.95rem; }
.ev-place span { display: inline-block; font-size: 0.75rem; background: var(--wood-light); color: var(--wood-deep); border-radius: 6px; padding: 0 8px; margin-right: 8px; }
.ev-desc { color: var(--muted); white-space: pre-line; }
.ev-card .btn { margin-top: 4px; }
.link-back { margin-top: 14px; background: none; border: 0; color: var(--moss-deep); cursor: pointer; font: inherit; padding: 12px 0; min-height: 48px; }

/* お知らせ */
.news { margin-top: 36px; border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); }
.news a { display: grid; gap: 4px; padding: 20px 4px; text-decoration: none; transition: background-color 0.2s; }
@media (hover: hover) { .news a:hover span { color: var(--moss-deep); text-decoration: underline; } }
@media (min-width: 700px) { .news a { grid-template-columns: 7.5em 1fr; } }
.news time { font-size: 0.85rem; color: var(--moss-deep); font-weight: 700; font-variant-numeric: tabular-nums; }

/* 代表 */
.profile { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .profile { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } }
.profile-photo { width: min(100%, 340px); margin-inline: auto; }
@media (min-width: 900px) { .profile-photo { width: 100%; } }
.profile-photo { max-width: 380px; }
.profile-photo img { width: 100%; height: auto; aspect-ratio: 9 / 8; object-fit: cover; object-position: 50% 30%; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: 0 24px 50px -24px rgba(60, 45, 20, 0.6); }
.profile-name { font-family: var(--serif); font-weight: 800; font-size: clamp(1.9rem, 5vw, 2.6rem); color: var(--forest); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
.profile-name span { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); font-weight: 400; letter-spacing: 0.1em; }
.titles { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.titles li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 1rem; font-weight: 700; color: var(--wood-deep); }
.message { margin-top: 26px; display: grid; gap: 12px; max-width: 38em; }
.career { margin-top: 56px; display: grid; gap: 12px; }
@media (min-width: 860px) { .career { grid-template-columns: repeat(3, 1fr); } }
.career li { background: var(--paper); border-radius: 18px; padding: 22px; border: 1px solid var(--line); }
.career-era { font-weight: 700; color: var(--moss-text); }
.career-role { font-weight: 700; color: var(--forest); margin-top: 2px; }
.career-skill { font-size: 1rem; color: #575247; margin-top: 6px; }
.achievements { margin-top: 24px; padding: clamp(24px, 5vw, 36px); }
.achievements h3 { color: var(--forest); font-size: 1.15rem; }
.achievements ul { margin-top: 14px; display: grid; gap: 8px; }
@media (min-width: 700px) { .achievements ul { grid-template-columns: 1fr 1fr; } }
.achievements li { padding-left: 20px; position: relative; }
.achievements li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 8px; height: 8px; border-radius: 50%; background: var(--moss); }

/* ⑫ 結び（スライド12：夕日と白いふち取りのすりガラス） */
.closing::before { background: rgba(10, 18, 10, 0.25); }
.glass-closing { max-width: 1040px; margin-inline: auto; padding: clamp(40px, 7vw, 80px) clamp(20px, 6vw, 72px); text-align: center; background: rgba(20, 16, 8, 0.28); border: 2px solid rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.25), 0 0 0 8px rgba(255, 255, 255, 0.08), 0 30px 70px -30px rgba(0, 0, 0, 0.8); }
.closing-title { font-family: var(--serif); font-weight: 800; font-size: clamp(1.9rem, 5.4vw, 3.6rem); line-height: 1.35; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5); }
.closing-body { margin-top: clamp(20px, 3.4vw, 34px); display: grid; gap: 8px; font-weight: 700; font-size: clamp(1rem, 1.8vw, 1.12rem); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.closing-tag { margin-top: clamp(22px, 4vw, 36px); color: #ffd38a; font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.5rem); line-height: 1.6; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.closing-tag strong { font-size: 1.25em; letter-spacing: 0.08em; }
.contact-box { margin-top: clamp(28px, 4vw, 40px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid rgba(255, 255, 255, 0.35); display: grid; gap: 18px; justify-items: center; }
.contact-box p { max-width: 34em; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.pending { display: inline-block; background: rgba(255, 255, 255, 0.9); color: var(--muted); border-radius: 16px; padding: 14px 20px; text-shadow: none !important; }

/* フッター */
.site-footer { background: #12241a; color: #cfe3d3; padding: 40px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
body .site-footer .wordmark { color: #fff; text-shadow: none; }
.copy { font-size: 0.8rem; }

/* 下層ページ（イベント詳細・お知らせ・申込フォーム） */
.hp { position: absolute; left: -9999px; }
.page-pad { min-height: 70vh; }
.crumb { margin-bottom: 18px; font-size: 0.9rem; }
.crumb a { color: var(--moss-deep); }
.single-card { padding: clamp(26px, 5vw, 48px); display: grid; gap: 14px; justify-items: start; }
.single-title { font-family: var(--serif); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--forest); line-height: 1.5; }
.single-img { border-radius: 16px; width: 100%; height: auto; }
.entry { width: 100%; display: grid; gap: 1em; }
.entry img { border-radius: 12px; height: auto; }
.apply { margin-top: 28px; padding: clamp(26px, 5vw, 44px); }
.apply h2 { color: var(--forest); font-size: 1.35rem; margin-bottom: 18px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; color: var(--forest); font-size: 0.95rem; }
.form em { font-style: normal; font-size: 0.7rem; background: var(--moss); color: #fff; border-radius: 6px; padding: 0 8px; margin-left: 8px; vertical-align: middle; }
.form input, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--leaf); border-color: var(--moss); }
.form .btn { justify-self: start; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; font-weight: 700; }
.notice.ok { background: var(--leaf); color: var(--moss-deep); }
.notice.ng { background: #f8e4de; color: #a2503b; }
.tag-sample { font-style: normal; font-size: 0.7rem; background: var(--gold); color: #5a4210; border-radius: 6px; padding: 1px 8px; margin-left: 8px; vertical-align: middle; font-weight: 700; }

/* 動きを減らす設定の人には、動きを止めて最初から全部見せる（WCAG 2.3.3） */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .bg { transform: none !important; }
  .story-vine path, .arcs path, .coast path { stroke-dashoffset: 0; }
  .dots g { opacity: 1 !important; transform: none; }
  .cycle .cycle-card, .venn-core { opacity: 1 !important; }
  .venn-l, .venn-r { transform: none !important; }
  .fireflies { display: none; }
}
