/* フリースクール夢学舎 紹介ページ
   モチーフ：ロゴの「青い空にふたつの星（ひし形）」と「白い帯に流れる赤・青・黄の三本の帯」
   比喩は「帯」と「星」の2語だけ。見出し＝比喩／本文＝実務語。
   配色はロゴ準拠：空の青 #1E4D95／帯の赤 #DC442F・青 #3B69B4・黄 #F2E24F（帯の色は装飾専用）
   紙は公式サイトの生成り #FFFAF1 */

:root {
  --sky: #1E4D95;        /* ロゴの地。見出し・ボタン・白文字の下地 */
  --sky-d: #163a72;      /* 押したとき・フッター */
  --ink: #17284a;        /* 本文 */
  --ink-s: #45536e;      /* 補足（生成り上 7.3:1） */
  --red: #DC442F;        /* 帯（装飾専用） */
  --red-d: #B13220;      /* 赤のテキスト用（生成り上 5.6:1） */
  --blue: #3B69B4;       /* 帯（装飾・大きな数字） */
  --yel: #F2E24F;        /* 帯（装飾専用・青の上の文字は可） */
  --yel-l: #FBF3B8;      /* 黄の淡色（面） */
  --paper: #FFFAF1;      /* 公式サイトの生成り */
  --paper-2: #F3F6FB;    /* 交互の面（空の青をうすく） */
  --line: #DCE3EE;
  --white: #fff;
  --shadow: 0 10px 30px rgba(23, 40, 74, .08);
  --radius: 18px;
  --head: "Murecho", "BIZ UDPGothic", "Hiragino Sans", sans-serif;
  --body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --num: "Nunito", "Murecho", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); }
a:hover { color: var(--sky-d); }
h1, h2, h3 { font-family: var(--head); line-height: 1.45; margin: 0; letter-spacing: .03em; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.sp-br { display: none; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--sky); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 8px; }

/* ---------- ボタン ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--head); font-weight: 800; font-size: 16px; line-height: 1.4;
  text-decoration: none; transition: transform .2s, background-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--yel); color: var(--ink); box-shadow: 0 6px 0 rgba(0,0,0,.18); }
.btn-main:hover { background: #fff1a0; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.8); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-nav { min-height: 42px; padding: 8px 18px; font-size: 14px; background: var(--sky); color: #fff; }
.btn-nav:hover { background: var(--sky-d); color: #fff; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- ナビ ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 241, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(30, 77, 149, .12);
}
.nav-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand b { display: block; font-family: var(--head); font-size: 18px; letter-spacing: .12em; line-height: 1.2; }
.brand small { display: block; font-size: 12px; color: var(--ink-s); line-height: 1.4; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  position: relative; padding: 8px 12px; font-size: 14px; font-weight: 700;
  color: var(--ink); text-decoration: none; border-radius: 8px;
}
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--red) 0 33.3%, var(--blue) 33.3% 66.6%, var(--yel) 66.6%);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 0%, #2a5fae 0%, var(--sky) 55%, #1a4588 100%);
  color: #fff;
  padding: clamp(56px, 8vw, 104px) 0 clamp(150px, 19vw, 280px);
}
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.hero-star { position: absolute; fill: #fff; }
.hero-star.big { width: clamp(80px, 11vw, 160px); right: 20%; top: 11%; }
.hero-star.small { width: clamp(40px, 5.5vw, 80px); right: 11%; top: 38%; }
.tw { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.tw.t1 { right: 34%; top: 10%; } .tw.t2 { right: 7%; top: 18%; }
.tw.t3 { right: 28%; top: 46%; width: 4px; height: 4px; } .tw.t4 { right: 4%; top: 52%; width: 4px; height: 4px; }
.hero-in { position: relative; z-index: 2; max-width: 1120px; }
.pill {
  display: inline-flex; align-items: center; gap: .5em;
  margin: 0 0 20px; padding: 6px 16px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  font-size: 14px; font-weight: 700; line-height: 1.5;
}
.kicker {
  margin: 0 0 6px; font-family: var(--head); font-weight: 800; font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: .3em; color: var(--yel);
}
.hero h1 {
  font-weight: 800; font-size: clamp(40px, 6.6vw, 84px); line-height: 1.25; letter-spacing: .06em;
  margin: 0 0 24px; text-shadow: 0 2px 18px rgba(0,0,0,.18);
}
.hero-lead { max-width: 640px; font-size: clamp(15px, 1.5vw, 17px); line-height: 2; margin: 0 0 28px; }
.hero-notes { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.hero-notes li { display: flex; align-items: baseline; gap: .6em; }
.hero-notes b { font-family: var(--head); color: var(--yel); font-weight: 800; }

/* 帯（ヒーローの下端・クロージングの上端） */
.ribbon { position: absolute; left: 0; width: 100%; display: block; pointer-events: none; }
.ribbon-bottom { bottom: -1px; height: clamp(130px, 19vw, 290px); z-index: 1; }
.ribbon-top { top: -1px; height: clamp(130px, 19vw, 290px); z-index: 1; }
.r-paper { fill: var(--paper); }
.r-paper2 { fill: var(--paper-2); }
.r-white { fill: #fff; }
.r-red { fill: var(--red); }
.r-blue { fill: var(--blue); }
.r-yel { fill: var(--yel); }

/* ---------- セクション共通 ---------- */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec.alt { background: var(--paper-2); }
.sh { margin-bottom: clamp(32px, 4.5vw, 52px); }
.sh .bars { display: inline-flex; gap: 4px; vertical-align: middle; margin-right: 10px; }
.sh .bars i { display: block; width: 22px; height: 6px; border-radius: 6px; transform: skewX(-24deg); }
.sh .bars i:nth-child(1) { background: var(--red); }
.sh .bars i:nth-child(2) { background: var(--blue); }
.sh .bars i:nth-child(3) { background: var(--yel); }
.sh .en { font-family: var(--num); font-weight: 800; font-size: 14px; letter-spacing: .24em; color: var(--sky); vertical-align: middle; }
.sh h2 { margin-top: 10px; font-weight: 800; font-size: clamp(26px, 3.6vw, 40px); color: var(--ink); }
.sh-lead { margin: 16px 0 0; max-width: 760px; color: var(--ink-s); }
.src { margin: 14px 0 0; font-size: 13px; color: var(--ink-s); }

.divider { display: block; width: 100%; height: 44px; margin: -22px 0; position: relative; z-index: 2; }
.divider path { fill: none; stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.d-red { stroke: var(--red); } .d-blue { stroke: var(--blue); } .d-yel { stroke: var(--yel); }

/* ---------- 社是・理念 ---------- */
.respect-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.motto {
  position: relative; margin: 0; padding: clamp(28px, 4vw, 44px);
  background: var(--sky); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.motto-stars { position: absolute; right: 10px; top: 6px; width: 96px; fill: rgba(255,255,255,.9); }
.motto blockquote {
  margin: 0 0 18px; padding-right: 64px;
  font-family: var(--head); font-weight: 600; font-size: clamp(17px, 1.9vw, 21px); line-height: 2;
}
.motto figcaption { font-size: 13px; color: #dfe8f7; }
.mission {
  padding: clamp(24px, 3.4vw, 36px); background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.m-label { margin: 0 0 4px; font-family: var(--head); font-weight: 800; font-size: 14px; color: var(--red-d); letter-spacing: .1em; }
.m-text { margin: 0 0 18px; }
.m-text:last-child { margin-bottom: 0; }

.creed { margin-top: clamp(48px, 6vw, 72px); }
.creed-h { font-weight: 800; font-size: clamp(22px, 2.8vw, 30px); color: var(--sky); }
.creed-lead { margin: 12px 0 26px; color: var(--ink-s); max-width: 760px; }
.creed-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.creed-list li {
  position: relative; display: flex; align-items: center; gap: 18px;
  padding: 20px 24px 20px 92px; min-height: 84px;
  background: #fff; border-radius: 14px; border: 1px solid var(--line);
  overflow: hidden;
}
.creed-list li::before {
  /* 帯の切れ端：少し傾いた太い帯 */
  content: ""; position: absolute; left: -18px; top: -10px; bottom: -10px; width: 82px;
  transform: skewX(-14deg); transform-origin: bottom;
}
.creed-list li:nth-child(2) { margin-left: clamp(0px, 3vw, 36px); }
.creed-list li:nth-child(3) { margin-left: clamp(0px, 6vw, 72px); }
.c-red::before { background: var(--red); }
.c-blue::before { background: var(--blue); }
.c-yel::before { background: var(--yel); }
.cn {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 38px; text-align: center;
  font-family: var(--num); font-weight: 800; font-size: 30px; line-height: 1; color: #fff;
}
.c-yel .cn { color: var(--ink); }
.creed-list p { margin: 0; font-family: var(--head); font-weight: 600; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.7; }

/* ---------- 居場所 ---------- */
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.place {
  position: relative; padding: 30px 24px 24px; background: #fff;
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow);
  overflow: hidden;
}
.place::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
}
.p-red::before { background: var(--red); }
.p-blue::before { background: var(--blue); }
.p-yel::before { background: var(--yel); }
.p-tag { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--ink-s); line-height: 1.6; }
.plan {
  display: inline-block; margin-right: 8px; padding: 1px 10px; border-radius: 999px;
  background: var(--yel-l); color: var(--ink); font-size: 12px; border: 1px solid #e6d35a;
}
.place h3 { font-size: 19px; font-weight: 800; color: var(--sky); margin-bottom: 12px; }
.place > p { font-size: 15px; line-height: 1.85; }
.place dl { margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; font-size: 14px; }
.place dt { font-weight: 700; color: var(--red-d); }
.place dd { margin: 0; }
.place .p-more { margin: 10px 0 0; font-size: 13px; color: var(--ink-s); }
.places-note { margin: 26px 0 0; padding: 16px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.places-note > i { color: var(--sky); margin-right: 6px; }

/* ---------- 支える人 ---------- */
.staff {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  padding: 18px 24px; margin-bottom: 28px; border-radius: var(--radius);
  background: var(--sky); color: #fff;
}
.staff-h { margin: 0; font-family: var(--head); font-weight: 800; color: var(--yel); }
.staff ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.staff li {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 6px 16px; border-radius: 999px; background: #fff; color: var(--ink);
  font-weight: 700; font-size: 15px;
}
.staff li i { color: var(--red-d); }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.f-ico {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px;
  border-radius: 16px; background: var(--paper-2); color: var(--sky); font-size: 24px;
}
.feat h3 { font-size: 20px; font-weight: 800; color: var(--sky); margin-bottom: 10px; }
.feat p { margin: 0; font-size: 15px; }

/* ---------- 年表（帯） ---------- */
.tl { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; max-width: 880px; }
.tl::before {
  /* 縦に流れる三色の帯 */
  content: ""; position: absolute; left: 92px; top: 8px; bottom: 8px; width: 18px; border-radius: 9px;
  background: linear-gradient(90deg, var(--red) 0 33.3%, var(--blue) 33.3% 66.6%, var(--yel) 66.6%);
  box-shadow: 0 0 0 4px #fff;
  transform-origin: top;
}
.tl li { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 56px; padding: 0 0 26px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::after {
  /* 星（ひし形）の結び目 */
  content: ""; position: absolute; left: 89px; top: 6px; width: 24px; height: 38px;
  background: var(--sky);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.tl time {
  text-align: right; font-family: var(--num); font-weight: 800; font-size: 22px; line-height: 1.6; color: var(--sky);
}
.tl h3 { font-size: 18px; font-weight: 800; line-height: 1.6; padding-top: 2px; }
.tl p { margin: 6px 0 0; font-size: 15px; color: var(--ink); }

/* ---------- XedPlex（黒子） ---------- */
.records { background: #fff; }
.rec-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.rec-grid { align-items: start; }
.rec-art { margin: 0; position: sticky; top: 100px; }
.rec-art svg { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: var(--shadow); }
.rec-art figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-s); text-align: center; }
.rec-sky { fill: var(--sky); }
.rec-star { fill: #fff; }
.rec-days { fill: var(--sky); }
.rec-body .en { font-family: var(--num); font-weight: 800; font-size: 14px; letter-spacing: .24em; color: var(--sky); }
.rec-body h2 { margin: 8px 0 18px; font-weight: 800; font-size: clamp(24px, 3.1vw, 34px); }
.rec-list { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.rec-list li { padding: 14px 18px; border-radius: 12px; background: var(--paper-2); font-size: 15px; }
.rec-list b { display: block; font-family: var(--head); color: var(--sky); font-size: 16px; }
.rec-note { margin: 0; font-size: 14px; color: var(--ink-s); }
.rec-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 0; }
.rec-shots figure { margin: 0; padding: 8px 8px 6px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; }
.rec-shots img { border-radius: 6px; }
.rec-shots figcaption { margin-top: 6px; font-size: 13px; font-weight: 700; line-height: 1.5; text-align: center; color: var(--ink); }
.rec-cap { margin: 8px 0 14px; font-size: 13px; color: var(--ink-s); }

/* ---------- はじめの一歩 ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 30px 24px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.st-dia { width: 22px; height: 36px; fill: var(--sky); margin-bottom: 10px; }
.steps li:nth-child(2) .st-dia { fill: var(--red); }
.steps li:nth-child(3) .st-dia { fill: #c9b51e; }
.sn { display: block; font-family: var(--num); font-weight: 800; font-size: 13px; letter-spacing: .2em; color: var(--ink-s); }
.steps h3 { font-size: 20px; font-weight: 800; margin: 2px 0 10px; color: var(--sky); }
.steps p { margin: 0; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.q { background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.q summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 18px 56px 18px 56px; font-family: var(--head); font-weight: 600; font-size: 17px; line-height: 1.6;
}
.q summary::-webkit-details-marker { display: none; }
.q summary::before {
  content: "Q"; position: absolute; left: 18px; top: 16px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sky); color: #fff;
  font-family: var(--num); font-weight: 800; font-size: 14px; line-height: 1;
}
.q summary::after {
  content: "+"; position: absolute; right: 20px; top: 14px; font-family: var(--num); font-weight: 800;
  font-size: 24px; color: var(--sky); transition: transform .2s;
}
.q[open] summary::after { transform: rotate(45deg); }
.q .a { padding: 0 24px 22px 56px; font-size: 15px; }

/* ---------- アクセス ---------- */
.access { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; }
.card { padding: clamp(22px, 3vw, 32px); background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.card dl { margin: 0; display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 12px 16px; }
.card dt { font-weight: 700; color: var(--sky); }
.card dd { margin: 0; overflow-wrap: anywhere; }
.dd-s { font-size: 14px; color: var(--ink-s); }
.links h3 { font-size: 18px; font-weight: 800; color: var(--sky); margin-bottom: 12px; }
.links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.links a {
  display: flex; align-items: center; gap: .7em; padding: 10px 14px; border-radius: 10px;
  background: var(--paper-2); text-decoration: none; font-weight: 700; color: var(--ink);
}
.links a:hover { background: #e6edf8; color: var(--ink); }
.links a i { width: 1.2em; text-align: center; color: var(--sky); font-size: 18px; }

/* ---------- クロージング ---------- */
.close {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(110% 90% at 50% 100%, #2a5fae 0%, var(--sky) 60%, #1a4588 100%);
  padding: clamp(180px, 22vw, 320px) 0 clamp(64px, 8vw, 104px);
}
.close-in { position: relative; z-index: 2; }
.close-stars { width: 120px; margin: 0 auto 18px; fill: #fff; }
.close blockquote {
  margin: 0; font-family: var(--head); font-weight: 800; font-size: clamp(24px, 4vw, 44px); line-height: 1.6; letter-spacing: .06em;
}
.close-src { margin: 10px 0 26px; font-size: 13px; color: #dfe8f7; }
.close-lead { margin: 0 0 24px; font-size: 16px; }
.close .btns { justify-content: center; }
.contact-row { margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 14px; }
.contact-row a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }
.contact-row a:hover { color: var(--yel); }

/* ---------- フッター ---------- */
.foot { background: var(--sky-d); color: #e3eaf6; padding: 48px 0 28px; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
.foot .brand { color: #fff; }
.foot .brand small { color: #c9d6ec; }
.foot p { margin: 16px 0 0; line-height: 1.9; }
.foot a { color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.foot .copy { width: min(1120px, 100% - 40px); margin: 32px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; color: #c9d6ec; }

/* ---------- 演出（JSが html.js を付けたときだけ巻き戻す） ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-star { animation: twinkle 4.8s ease-in-out infinite; }
.js .hero-star.small { animation-delay: 1.6s; }
.js .tw { animation: twinkle 3.6s ease-in-out infinite; }
.js .tw.t2 { animation-delay: .9s; } .js .tw.t3 { animation-delay: 1.8s; } .js .tw.t4 { animation-delay: 2.7s; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.js .ribbon-bottom .r-red, .js .ribbon-bottom .r-blue, .js .ribbon-bottom .r-yel {
  clip-path: inset(0 100% 0 0); animation: flow 1.6s cubic-bezier(.3,.7,.2,1) forwards;
}
.js .ribbon-bottom .r-blue { animation-delay: .15s; }
.js .ribbon-bottom .r-yel { animation-delay: .3s; }
@keyframes flow { to { clip-path: inset(0 0 0 0); } }
.js .tl::before { transform: scaleY(0); transition: transform 1.6s ease; }
.js .tl.in::before { transform: scaleY(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.in { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .hero-star, .js .tw { animation: none !important; }
  .js .ribbon-bottom .r-red, .js .ribbon-bottom .r-blue, .js .ribbon-bottom .r-yel { clip-path: none !important; animation: none !important; }
  .js .tl::before { transform: none !important; transition: none !important; }
  .btn { transition: none; }
}

/* ---------- レスポンシブ ---------- */
@media screen and (max-width: 1000px) {
  .nav-links { display: none; }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .respect-grid { grid-template-columns: minmax(0, 1fr); }
  .rec-grid { grid-template-columns: minmax(0, 1fr); }
  .rec-art { max-width: 360px; position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .access { grid-template-columns: minmax(0, 1fr); }
}
@media screen and (max-width: 640px) {
  body { font-size: 15px; }
  .wrap, .narrow, .foot .copy { width: calc(100% - 32px); }
  .sp-br { display: inline; }
  .nav-in { min-height: 60px; gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand b { font-size: 16px; }
  .btn-nav span { display: none; }
  .btn-nav { width: 44px; height: 44px; min-height: 44px; padding: 0; }
  .hero { padding-top: 40px; }
  .hero-star.big { right: 10%; top: 38px; width: 36px; }
  .hero-star.small { right: 3%; top: 88px; width: 18px; }
  .tw.t1 { right: 30%; top: 22px; } .tw.t2 { right: 4%; top: 30px; }
  .tw.t3, .tw.t4 { display: none; }
  .pill { font-size: 12.5px; padding: 6px 12px; max-width: 78%; }
  .hero h1 { font-size: clamp(36px, 11vw, 46px); }
  .btns { flex-direction: column; }
  .btns .btn { width: 100%; padding: 12px 14px; font-size: 15px; }
  .hero-notes li { flex-wrap: wrap; gap: 0 .6em; }
  .hero-notes b { white-space: nowrap; }
  .brand small { white-space: nowrap; font-size: 12px; }
  .hero-notes { flex-direction: column; gap: 4px; }
  .places { grid-template-columns: minmax(0, 1fr); }
  .motto blockquote { padding-right: 0; padding-top: 40px; }
  .motto-stars { width: 70px; }
  .creed-list li { padding: 18px 16px 18px 76px; }
  .creed-list li::before { width: 66px; }
  .creed-list li:nth-child(2), .creed-list li:nth-child(3) { margin-left: 0; }
  .cn { left: 12px; font-size: 26px; }
  .staff { padding: 18px; }
  .tl::before { left: 9px; }
  .tl li { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 46px; }
  .tl li::after { left: 6px; }
  .tl time { text-align: left; font-size: 18px; }
  .q summary { padding: 16px 44px 16px 50px; font-size: 16px; }
  .q summary::before { left: 14px; }
  .q .a { padding: 0 18px 20px 50px; }
  .card dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .card dd { margin-bottom: 10px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
}
