@charset "UTF-8";
/* ==========================================================================
   YouRairo 公式サイト トップページ v5「CHAPTER CITY」テーマ（新規）
   - v4.x「GRAPH PAPER STUDIO」のテーマCSS（theme-graphpaper.css／scroll-effects.css）と、v08 の style.css は読み込まない。
     レイアウト・部品の見た目はこのファイルで一から書く。デモ作品の画面の見た目だけは v5-works.css へ移植（変更なし）。
   - 章ごとの全画面の色（テイクオーバー）は v5-motion.css＋js/v5-scroll-engine.js。
     JSなし・動きを減らす設定では、各章がその章の色（--v5-k）の平らな背景で完成した状態のまま表示される。
   - グラデーションは使わない。本文・料金・リンクは必ず白い不透明のカード／パネルの上に置く。
   ========================================================================== */

:root {
  --v5-ink: #202F3A;
  --v5-ink-2: #46586A;
  --v5-cream: #FFFDF6;
  --v5-white: #FFFFFF;
  --v5-pale-sky: #E6F3FB;
  --v5-pale-yellow: #FFF3C4;
  --v5-green: #1FA35A;
  --v5-blue: #1E6AE0;
  --v5-magenta: #E23C8A;
  --v5-purple: #7550E2;
  --v5-pink: #F8AFD2;
  --v5-yellow: #FFE66B;
  --v5-lime: #BAE65C;
  --v5-sky: #81CFEA;
  --v5-r: 24px;
  --v5-r-s: 16px;
  --v5-shadow: 0 10px 32px rgba(32, 47, 58, .10);
  --v5-hh: 64px;                 /* ヘッダーの高さ（SP）。PCは下で上書き */
  --font-ja: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-en: "Cairo", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --focus: #1E6AE0;
  color-scheme: light;
}
@media (min-width: 768px) {
  :root { --v5-r: 38px; --v5-r-s: 22px; --v5-shadow: 0 22px 70px rgba(32, 47, 58, .12); --v5-hh: 84px; }
}

/* --- 基本 -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--v5-hh) + 8px); }
body {
  margin: 0;
  background: var(--v5-cream);
  color: var(--v5-ink);
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--v5-blue); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.nb, .ib { display: inline-block; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; position: relative; }
.container--narrow { max-width: 920px; }
.container--wide { max-width: 1320px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--v5-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
main, .site-footer { position: relative; z-index: 1; }
.page-bg, .hero__bg { display: none; }
.ico { width: 20px; height: 20px; flex: none; }

/* --- ヘッダー（白い角丸のバー。どの章の色の上でも読める）------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; padding: 6px 8px 6px; pointer-events: none; }
.header-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 16px;
  max-width: 1320px; min-height: 52px; margin: 0 auto; padding: 0 8px 0 14px;
  background: var(--v5-white); border: 2px solid var(--v5-ink); border-radius: 999px;
}
.brand { display: flex; align-items: center; min-height: 44px; flex: none; border-radius: 10px; }
.brand img { width: 52px; }
.global-nav { margin-left: auto; }
.global-nav ul { display: flex; align-items: center; gap: 2px; }
.global-nav a:not(.btn) { display: block; padding: 10px 12px; color: var(--v5-ink); text-decoration: none; font-size: 14px; font-weight: 700; border-radius: 999px; }
.global-nav a:not(.btn):hover { background: var(--v5-pale-sky); }
.global-nav__cta { margin-left: 8px; }
.header-tools { display: flex; align-items: center; flex: none; }
.menu-toggle { display: none; }
@media (min-width: 768px) {
  .site-header { padding: 10px 16px; }
  .header-inner { min-height: 64px; padding: 0 10px 0 22px; }
  .brand img { width: 60px; }
}
@media (max-width: 960px) {
  .header-tools { margin-left: auto; }
  .menu-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto; padding: 0;
    border: 2px solid var(--v5-ink); border-radius: 50%; background: var(--v5-yellow); cursor: pointer;
  }
  .menu-toggle__bars { display: grid; gap: 4px; width: 18px; }
  .menu-toggle__bars span { display: block; height: 2px; border-radius: 2px; background: var(--v5-ink); transition: transform .3s var(--ease), opacity .2s; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .global-nav {
    position: absolute; left: 8px; right: 8px; top: calc(100% - 2px);
    padding: 10px; border: 2px solid var(--v5-ink); border-radius: var(--v5-r-s); background: var(--v5-white);
    box-shadow: var(--v5-shadow); display: none;
  }
  .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; align-items: stretch; }
  .global-nav a:not(.btn) { padding: 12px 14px; font-size: 15px; }
  .global-nav__cta { margin: 8px 0 0; }
  .global-nav__cta .btn { width: 100%; }
  html:not(.js) .global-nav { position: static; display: block; border: 0; box-shadow: none; padding: 0; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; border-radius: var(--v5-r-s); padding: 6px 12px; }
}

/* --- ボタン（平らな濃色の角丸。グラデーション・光沢なし）--------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 10px 24px;
  border: 2px solid var(--v5-ink); border-radius: 999px;
  background: var(--v5-ink); color: var(--v5-white);
  font: inherit; font-weight: 700; letter-spacing: .06em; text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--v5-ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--v5-ink); background: #2C4050; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--v5-ink); }
.btn--sm { min-height: 44px; padding: 6px 18px; font-size: 13.5px; box-shadow: none; }
.btn--sm:hover { box-shadow: none; transform: none; }
.btn--lg { min-height: 64px; padding: 12px 28px; font-size: 17px; width: 100%; max-width: 420px; }
.btn .ico { width: 22px; height: 22px; }
.btn--lg span { flex: 1; text-align: left; }
.btn .ico--arrow { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.btn:hover .ico--arrow { transform: translateX(4px); }
.cta-block { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.6; color: var(--v5-ink-2); font-weight: 600; }
.cta-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--v5-magenta); }

/* --- 共通：章・白い読字カード・見出し --------------------------------------------- */
.v5-ch { position: relative; overflow-x: clip; background: var(--v5-k, var(--v5-cream)); }
.hero { --v5-k: var(--v5-pale-sky); }
.features { --v5-k: var(--v5-green); }
.plans { --v5-k: var(--v5-purple); }
.flow-sec { --v5-k: var(--v5-magenta); }
.sample { --v5-k: var(--v5-blue); }
.faq-sec { --v5-k: var(--v5-purple); }
.contact { --v5-k: var(--v5-pale-yellow); }
.site-footer { --v5-k: var(--v5-cream); }
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 120px 0; } }
.section > .container, .site-footer > .container, .site-footer > .footer__bottom { position: relative; z-index: 3; }

.section-head {
  position: relative;
  max-width: 760px; margin: 0 auto 40px; padding: 26px 22px 28px;
  background: var(--v5-white); border: 2px solid var(--v5-ink); border-radius: var(--v5-r);
  box-shadow: var(--v5-shadow); text-align: center;
}
.section-head__en { font-family: var(--font-en); font-size: 14px; font-weight: 700; letter-spacing: .24em; line-height: 1.4; color: var(--v5-ink); }
.section-head__en::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--v5-k, var(--v5-pink)); border: 2px solid var(--v5-ink); vertical-align: 1px; }
.section-head__ja { margin-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--v5-ink-2); }
.section-head h2 { margin-top: 10px; font-size: clamp(25px, 3.2vw, 40px); font-weight: 900; line-height: 1.45; letter-spacing: .03em; }
.section-head__lead { margin-top: 14px; font-size: 15px; font-weight: 600; text-align: left; }
@media (min-width: 768px) {
  .section-head { padding: 36px 48px 40px; margin-bottom: 64px; }
  .section-head__lead { text-align: center; }
}

/* --- 吹き出し（既存の文字要素に、枠と尾だけを付ける。文字は常に見えている）------------------ */
.v5-bubble { position: relative; z-index: 0; }
.v5-bubble::before, .v5-bubble::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  opacity: var(--v5-pop, 1);
  transform: translate(calc(var(--v5-pop-x, 0) * (1 - var(--v5-pop, 1)) * 1px), calc((1 - var(--v5-pop, 1)) * 14px)) scale(calc(.92 + .08 * var(--v5-pop, 1)));
  transform-origin: 30% 100%;
}
.v5-bubble::before { inset: -10px -16px; background: var(--v5-bubble-bg, #FFFFFF); border: 2px solid var(--v5-ink); border-radius: 20px; }
.v5-bubble::after {
  left: 26px; bottom: -19px; width: 18px; height: 18px;
  background: var(--v5-bubble-bg, #FFFFFF); border-right: 2px solid var(--v5-ink); border-bottom: 2px solid var(--v5-ink);
  transform: translate(calc(var(--v5-pop-x, 0) * (1 - var(--v5-pop, 1)) * 1px), calc((1 - var(--v5-pop, 1)) * 14px)) rotate(45deg) scale(calc(.92 + .08 * var(--v5-pop, 1)));
  border-radius: 0 0 4px 0;
}

/* --- 巨大ウォーターマーク・既存英字の装飾写し（擬似要素で描く。読み上げ対象外）------------- */
.v5-wm, .v5-drift { position: absolute; z-index: 1; pointer-events: none; user-select: none; white-space: nowrap; line-height: .9; }
.v5-wm::before, .v5-drift::before { content: attr(data-v5-label); }
.v5-wm {
  left: 50%; font-weight: 900; letter-spacing: .02em;
  font-size: clamp(96px, 32vw, 150px);
  color: var(--v5-wm-c, #F18CBC);
  opacity: var(--v5-wm-o, .2);
  transform: translateX(calc(-50% + var(--v5-x, 0) * 1px));
}
.v5-wm--hero { top: calc(var(--v5-hh) + 4px); }
.v5-wm--contact { top: 40px; --v5-wm-c: #F2A93B; }
@media (min-width: 768px) { .v5-wm { font-size: clamp(220px, 22vw, 330px); } .v5-wm--hero { top: 20%; } }
.v5-drift {
  font-family: var(--font-en); font-weight: 700; font-style: italic; letter-spacing: .02em;
  font-size: clamp(64px, 20vw, 120px); color: #FFFFFF; opacity: .22;
  transform: translateX(calc(var(--v5-x, 0) * 1px));
}
.v5-drift--features { left: -8px; top: 320px; }
@media (min-width: 768px) { .v5-drift { font-size: clamp(120px, 14vw, 220px); } .v5-drift--features { top: 380px; left: 2vw; } }

/* --- v5.1：ページ全体を1本で縫う手描き風のライン（main の中の単一のSVGパス）--------------------
   z-index 2：章の背景・静止時の街より手前、文字カード（各 .container などの z-index 3）より後ろ。
   JS は main の実寸で d と viewBox を作り直し、stroke-dashoffset（pathLength=100）で描画率を決める。
   JSなし・動きを減らす設定では、正規化した座標の完成形を表示する。 */
.v5-line { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.v5-line path { stroke: var(--v5-pink); stroke-width: 3px; }
@media (min-width: 768px) { .v5-line path { stroke-width: 4px; } }

/* --- 絵の共通 ------------------------------------------------------------------- */
.v5-art { display: block; width: 100%; height: auto; overflow: visible; }

/* ==========================================================================
   ① ヒーロー（オープニング章・淡い色）
   ========================================================================== */
.hero { padding: 18px 0 64px; overflow: clip; }
.hero__inner {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 640px; margin: 0 auto; padding: 0 16px;
}
.hero__logo { width: 112px; margin: 8px 0 18px; }
.hero__eyebrow { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .12em; line-height: 1.6; margin: 0 0 36px; padding: 0 4px; --v5-pop-x: -12; }
.hero__eyebrow span { position: relative; }
.hero__title {
  width: fit-content; margin: 0 auto 30px;
  font-size: clamp(30px, 8.6vw, 40px); font-weight: 900; line-height: 1.3; letter-spacing: .03em;
}
.hero__title.v5-bubble::before { inset: -14px -18px -16px; border-radius: 26px; border-width: 2.5px; }
.hero__title.v5-bubble::after { left: auto; right: 40px; bottom: -24px; }
.hero__accent { color: var(--v5-magenta); }
.hero__l1, .hero__accent { display: block; }
.hero__rule { display: none; }
.hero__lead {
  margin-bottom: 18px; padding: 18px 20px;
  background: var(--v5-white); border: 2px solid var(--v5-ink); border-radius: var(--v5-r-s);
  font-size: 15px; font-weight: 600; line-height: 1.9; text-align: left;
}
.hero__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.hero__points li {
  padding: 6px 14px; border: 2px solid var(--v5-ink); border-radius: 999px; background: var(--v5-yellow);
  font-size: 13.5px; font-weight: 800; line-height: 1.5;
}
.hero__points li:nth-child(2) { background: var(--v5-white); }
.hero__points li:nth-child(3) { background: var(--v5-pink); }
.hero .cta-block { width: 100%; }
.hero .cta-note { max-width: 420px; text-align: left; padding: 8px 14px; background: var(--v5-white); border: 2px solid var(--v5-ink); border-radius: 14px; }
.hero__scroll {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px; min-height: 44px; min-width: 44px; margin-top: 20px;
  font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .3em; color: var(--v5-ink); text-decoration: none;
  padding: 8px 14px 6px; background: var(--v5-white); border: 2px solid var(--v5-ink); border-radius: 999px;
}
.hero__scroll i { display: block; width: 2px; height: 30px; background: var(--v5-ink); border-radius: 2px; }

/* シーンカード（街への入口の絵と、v5.2：写真の代わりに描いたホームページのトップページのモックアップ） */
.v5-card--hero {
  position: relative; z-index: 3;
  width: calc(100% - 32px); max-width: 780px; margin: 56px auto 0;
  padding: 16px 16px 18px;
  background: var(--v5-white); border: 2px solid var(--v5-ink); border-radius: var(--v5-r);
  box-shadow: var(--v5-shadow);
}
.v5-scene--hero { padding: 0 18% 0 0; transform: translateY(calc(var(--v5-rise, 0) * 1px)); }
.hero__photo {
  position: relative; z-index: 1; width: 60%; margin: -16% 0 0 auto;
  padding: 6px; background: var(--v5-white); border: 2px solid var(--v5-ink); border-radius: var(--v5-r-s);
  box-shadow: var(--v5-shadow);
  transform: translateY(calc(var(--v5-photo, 0) * .25px)) rotate(2.5deg);
}
.hero__photo img, .hero__mock { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--v5-r-s) - 6px); }
.hero__mock { display: block; height: auto; }
@media (min-width: 768px) {
  .hero { padding: 24px 0 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; column-gap: 40px; max-width: none; }
  .hero__inner { grid-column: 1; grid-row: 1; justify-self: end; width: 100%; max-width: 600px; padding: 0 0 0 40px; align-items: flex-start; text-align: left; }
  .hero__logo { width: 120px; margin-top: 0; }
  .hero__title { margin: 0 0 34px 12px; font-size: clamp(40px, 4.4vw, 64px); }
  .hero__eyebrow { margin-left: 12px; }
  .hero__points { justify-content: flex-start; }
  .hero .cta-block { align-items: flex-start; }
  .v5-card--hero { grid-column: 2; grid-row: 1; justify-self: start; width: min(100% - 40px, 720px); margin: 0; padding: 24px 24px 26px; position: sticky; top: calc(var(--v5-hh) + 24px); }
  .hero__photo { width: 54%; margin-top: -18%; }
}
@media (min-width: 1440px) { .hero__inner { padding-left: 0; } }

/* ==========================================================================
   ② 特徴（シーンカード3枚。SPは順に縦スクロール／PCは中央で次のカードに交代）
   ========================================================================== */
.features__grid { display: block; }
.feature-list { display: grid; gap: 34vh; padding-bottom: 8vh; }
.v5-card--feature {
  position: relative;
  display: grid; grid-template-columns: 1fr;
  max-width: 760px; margin: 0 auto; width: 100%;
  background: var(--v5-white); border: 2px solid var(--v5-ink); border-radius: var(--v5-r);
  box-shadow: var(--v5-shadow);
}
.feature .v5-scene { order: -1; padding: 18px 20px 10px; border-radius: var(--v5-r) var(--v5-r) 0 0; background: var(--v5-pale-sky); border-bottom: 2px solid var(--v5-ink); }
.feature:nth-child(2) .v5-scene { background: #FFF6D8; }
.feature:nth-child(3) .v5-scene { background: #FDE8F2; }
.feature .v5-scene svg { max-height: 250px; width: auto; max-width: 100%; margin: 0 auto; }
.feature__body { padding: 28px 22px 46px; }
.feature__body h3 { display: inline-block; margin: 0 0 22px 14px; font-size: 22px; font-weight: 900; line-height: 1.4; --v5-bubble-bg: var(--v5-yellow); }
.feature__body p { font-size: 15px; font-weight: 600; }
.feature__num {
  position: absolute; right: 18px; bottom: -.52em; z-index: 2;
  font-family: var(--font-en); font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -.02em;
  color: var(--v5-ink); -webkit-text-stroke: 0; text-shadow: 3px 3px 0 #FFFFFF, -2px -2px 0 #FFFFFF, 2px -2px 0 #FFFFFF, -2px 2px 0 #FFFFFF;
}
@media (min-width: 768px) {
  .feature-list { gap: 40vh; padding-bottom: 10vh; }
  .v5-card--feature { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; }
  .feature .v5-scene { order: 0; grid-column: 1; grid-row: 1; display: grid; place-items: center; padding: 28px 26px; border-radius: var(--v5-r) 0 0 var(--v5-r); border-bottom: 0; border-right: 2px solid var(--v5-ink); }
  .feature__body { grid-column: 2; grid-row: 1; align-self: center; padding: 40px 40px 64px; }
  .feature .v5-scene svg { max-height: 320px; }
  .feature__body h3 { font-size: 28px; }
  .feature__num { font-size: 96px; right: 30px; }
}

/* ==========================================================================
   ③ 料金（静止。中央固定の演出なし）
   ========================================================================== */
.plan-list { display: grid; gap: 18px; }
.plan {
  position: relative; padding: 26px 22px 24px;
  background: var(--v5-white); border: 2px solid var(--v5-ink); border-radius: var(--v5-r);
  box-shadow: var(--v5-shadow);
}
.plan__name { font-family: var(--font-en); font-size: 26px; font-weight: 700; line-height: 1.3; letter-spacing: .02em; }
.plan__sub { display: block; font-family: var(--font-ja); font-size: 13.5px; font-weight: 700; color: var(--v5-ink-2); letter-spacing: .04em; }
.plan__body { margin-top: 16px; }
.plan__price { padding: 14px 16px; border-radius: var(--v5-r-s); background: var(--v5-pale-yellow); border: 2px solid var(--v5-ink); }
.plan__price dt { font-size: 13px; font-weight: 700; }
.plan__price dd { margin: 0; display: flex; align-items: baseline; gap: 4px; }
.plan__num { font-family: var(--font-en); font-size: 44px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.plan__unit { font-size: 17px; font-weight: 800; }
.plan__row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px 0; margin-top: 12px; border-top: 2px dashed rgba(32, 47, 58, .2); font-size: 14.5px; }
.plan__row dt { font-weight: 600; color: var(--v5-ink-2); }
.plan__row dd { margin: 0; font-weight: 800; white-space: nowrap; }
.plan:nth-child(2) .plan__price { background: #E3F0FF; }
.plan:nth-child(3) .plan__price { background: #FDE6F1; }
.plan-notes {
  margin-top: 22px; padding: 22px 22px; display: grid; gap: 12px;
  background: var(--v5-white); border: 2px solid var(--v5-ink); border-radius: var(--v5-r);
  font-size: 14px; font-weight: 600; line-height: 1.9;
}
@media (min-width: 768px) {
  .plan-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .plan { padding: 32px 28px 30px; }
  .plan-notes { margin-top: 32px; padding: 30px 40px; font-size: 14.5px; }
}

/* ==========================================================================
   ④ 制作の流れ（8工程を2つずつ4つの街の小場面に。カード内の説明は静止）
   ========================================================================== */
.flow { display: grid; gap: 16px; counter-reset: none; }
.v5-card--step {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: start;
  padding: 22px 18px 22px; max-width: 560px; width: 100%;
  background: var(--v5-white); border: 2px solid var(--v5-ink); border-radius: var(--v5-r-s);
  box-shadow: var(--v5-shadow);
}
.flow__step:nth-child(2n):not(:last-child) { margin-bottom: 26vh; }
.flow__num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--v5-yellow); border: 2px solid var(--v5-ink);
  font-family: var(--font-en); font-size: 18px; font-weight: 700; line-height: 1;
}
.flow__step--key .flow__num { background: var(--v5-pink); }
.flow__body h3 { display: inline-block; margin: 6px 0 18px 12px; font-size: 18px; font-weight: 900; line-height: 1.45; --v5-bubble-bg: #FFF6D8; }
.flow__body h3.v5-bubble::before { inset: -8px -14px; border-radius: 16px; }
.flow__body h3.v5-bubble::after { width: 14px; height: 14px; bottom: -15px; left: 18px; }
.flow__body p { font-size: 14.5px; font-weight: 600; line-height: 1.85; }
.v5-tool {
  position: absolute; right: 10px; top: -40px; width: 82px; pointer-events: none;
  opacity: var(--v5-pop, 1); transform: translateY(calc((1 - var(--v5-pop, 1)) * 12px));
}
.flow__step .flow__body { padding-right: 46px; }
@media (min-width: 768px) {
  .flow { gap: 22px; }
  .v5-card--step { padding: 28px 26px; column-gap: 18px; }
  .flow__step:nth-child(4n+1), .flow__step:nth-child(4n+2) { margin-right: auto; }
  .flow__step:nth-child(4n+3), .flow__step:nth-child(4n+4) { margin-left: auto; }
  .flow__step:nth-child(2n):not(:last-child) { margin-bottom: 30vh; }
  .flow__num { width: 56px; height: 56px; font-size: 21px; }
  .flow__body h3 { font-size: 20px; }
  .v5-tool { width: 110px; right: 14px; top: -56px; }
  .flow__step .flow__body { padding-right: 80px; }
}

/* ==========================================================================
   ⑤ WORKS（見出し・注記・下のリンク。5作品の舞台は v5-works.css）
   ========================================================================== */
.gallery-head { overflow: visible; }
.gallery-head__catch { margin-top: 10px; font-size: clamp(17px, 2.2vw, 22px); font-weight: 900; line-height: 1.6; color: var(--v5-blue); }
.gallery-head__bg.v5-drift { left: 50%; top: -0.8em; z-index: -1; translate: -50% 0; color: #FFFFFF; opacity: .2; font-size: clamp(80px, 26vw, 120px); }
@media (min-width: 768px) { .gallery-head__bg.v5-drift { font-size: clamp(160px, 18vw, 280px); } }
.works__disclaimer {
  display: flex; align-items: flex-start; gap: 10px; max-width: 760px; margin: -12px auto 36px; padding: 14px 18px;
  background: var(--v5-white); border: 2px solid var(--v5-ink); border-radius: var(--v5-r-s);
  font-size: 14px; font-weight: 700; line-height: 1.8;
}
.works__disclaimer svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--v5-blue); }
.gallery-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: 48px; }
.gallery-cta__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  background: var(--v5-white); color: var(--v5-ink); border: 2px solid var(--v5-ink); border-radius: 999px;
  font-weight: 800; text-decoration: none; transition: transform .25s var(--ease);
}
.gallery-cta__link:hover { transform: translateY(-2px); }
.gallery-cta__link--primary { background: var(--v5-ink); color: var(--v5-white); }
@media (max-width: 640px) { .gallery-cta { flex-direction: column; align-items: stretch; } }

/* ==========================================================================
   ⑥ FAQ（丸囲みQ＋タイル状の質問行、開くと全幅の角丸Aパネル。質問・回答はスクロールで動かさない）
   ========================================================================== */
.faq { display: grid; gap: 18px; }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 14px;
  padding: 4px 0; min-height: 60px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--v5-white); border: 2.5px solid var(--v5-ink);
  font-family: var(--font-en); font-size: 26px; font-weight: 700; line-height: 1; color: var(--v5-ink);
}
.faq__qt {
  font-size: 16px; font-weight: 800; line-height: 2.05; color: var(--v5-ink);
}
/* 質問の各行を白いタイルにする（行ごとに背景を切り直す。文字は1回だけ） */
.faq__qt { background: none; }
.faq__qt { display: inline; }
.faq__item summary .faq__qt {
  background-color: var(--v5-white);
  padding: .18em .5em;
  border-radius: 8px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  box-shadow: 0 0 0 2px var(--v5-ink);
}
.faq__qt .gp-mark { background: var(--v5-yellow); border-radius: 4px; padding: 0 .15em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.faq__icon {
  position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--v5-yellow); border: 2px solid var(--v5-ink); flex: none;
}
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; border-radius: 2px; background: var(--v5-ink); transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item summary:hover .faq__q { background: var(--v5-yellow); }
.faq__a {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: start;
  width: calc(100vw - 32px); margin: 14px 0 6px calc(50% - 50vw + 16px);
  padding: 26px 22px 66px;
  background: var(--v5-blue); color: var(--v5-white); border: 2px solid var(--v5-ink); border-radius: var(--v5-r);
}
.faq__al {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--v5-white); color: var(--v5-blue); border: 2.5px solid var(--v5-ink);
  font-family: var(--font-en); font-size: 26px; font-weight: 700; line-height: 1;
}
.faq__a p { position: relative; z-index: 1; align-self: center; font-size: 15.5px; font-weight: 700; line-height: 1.95; color: #FFFFFF; }
.faq__a .gp-mark { padding: 0 .2em; border-radius: 4px; background: var(--v5-white); color: var(--v5-blue); }
.v5-alines { position: absolute; z-index: 0; right: 14px; bottom: 6px; width: 150px; height: 50px; pointer-events: none; }
.v5-alines path { fill: none; stroke: #FFFFFF; stroke-width: 6; stroke-linecap: round; }
@media (min-width: 768px) {
  .faq { gap: 22px; }
  .faq__q { width: 74px; height: 74px; font-size: 36px; }
  .faq__qt, .faq__item summary .faq__qt { font-size: 18.5px; }
  .faq__item summary { column-gap: 20px; }
  .faq__a {
    width: min(100vw - 80px, 1240px); margin-left: calc(50% - min(100vw - 80px, 1240px) / 2);
    grid-template-columns: 74px minmax(0, 1fr); column-gap: 24px; padding: 40px 60px 104px max(40px, calc((min(100vw - 80px, 1240px) - 840px) / 2));
  }
  .faq__al { width: 74px; height: 74px; font-size: 36px; }
  .faq__a p { font-size: 17px; max-width: 46em; }
  .v5-alines { width: 300px; height: 92px; right: 40px; bottom: 8px; }
  .v5-alines path { stroke-width: 9; }
}

/* ==========================================================================
   ⑦ 最終CTA（クロージング章・淡い色。街の先のWeb窓のシーンカード）
   ========================================================================== */
.contact { padding-top: 96px; }
.v5-card--contact {
  position: relative; overflow: visible; isolation: isolate;
  max-width: 980px; margin: 0 auto; padding: 0 0 40px;
  background: var(--v5-white); border: 2px solid var(--v5-ink); border-radius: var(--v5-r);
  box-shadow: var(--v5-shadow); text-align: center;
}
.contact__deco { position: relative; border-radius: var(--v5-r) var(--v5-r) 0 0; background: var(--v5-pale-sky); border-bottom: 2px solid var(--v5-ink); padding: 26px 20px 10px; }
.contact__glow, .contact__line { display: none; }
.v5-scene--contact svg { max-height: 280px; width: auto; max-width: 100%; margin: 0 auto; }
.contact__body { padding: 40px 20px 0; max-width: 760px; margin: 0 auto; }
.contact__body .section-head__en::before { background: var(--v5-yellow); }
.contact__body h2 {
  width: fit-content; max-width: 100%; margin: 26px auto 34px;
  font-size: clamp(22px, 3.2vw, 38px); font-weight: 900; line-height: 1.55; --v5-bubble-bg: #FFF6D8;
}
.contact__text { font-size: 15px; font-weight: 600; text-align: left; margin-bottom: 30px; }
.contact__reply { margin-top: 20px; font-size: 14.5px; font-weight: 700; }
@media (min-width: 768px) {
  .contact { padding-top: 140px; }
  .contact__deco { padding: 36px 40px 14px; }
  .contact__body { padding: 52px 48px 10px; }
  .contact__text { text-align: center; }
}

/* ==========================================================================
   ⑧ フッター（静かな終点。白い角丸のリンクカード）
   ========================================================================== */
.site-footer { padding: 72px 0 24px; }
.footer__inner { display: grid; gap: 18px; }
.footer__brand { display: grid; place-items: center; padding: 18px; background: var(--v5-white); border: 2px solid var(--v5-ink); border-radius: var(--v5-r-s); }
.footer__brand img { width: 104px; }
.footer__nav ul, .footer__legal ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.footer__legal ul { grid-template-columns: 1fr; }
.footer__nav a, .footer__legal a {
  display: flex; align-items: center; min-height: 52px; padding: 8px 16px;
  background: var(--v5-white); color: var(--v5-ink); border: 2px solid var(--v5-ink); border-radius: var(--v5-r-s);
  font-size: 14px; font-weight: 700; text-decoration: none;
}
.footer__nav a:hover, .footer__legal a:hover { background: var(--v5-yellow); }
.footer__bottom { margin-top: 26px; text-align: center; font-size: 13px; font-weight: 600; }
@media (min-width: 768px) {
  .site-footer { padding: 110px 0 30px; }
  .footer__inner { grid-template-columns: 200px minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .footer__nav ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --- 作品の拡大表示（白い角丸のダイアログ） ------------------------------------------- */
html.is-modal-open, html.is-modal-open body { overflow: hidden; }
.work-dialog {
  width: min(1180px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0;
  border: 2px solid var(--v5-ink); border-radius: var(--v5-r); background: var(--v5-white); color: var(--v5-ink); overflow: hidden;
}
.work-dialog[open] { display: flex; flex-direction: column; }
.work-dialog::backdrop { background: rgba(32, 47, 58, .62); }
.work-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 2px solid var(--v5-ink); }
.work-dialog__head .work__kind { margin-bottom: 4px; }
.work-dialog__title { font-size: 20px; font-weight: 900; line-height: 1.4; }
.work-dialog__close { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 2px solid var(--v5-ink); border-radius: 999px; background: var(--v5-yellow); color: var(--v5-ink); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.work-dialog__close svg { width: 18px; height: 18px; }
.work-dialog__body { overflow-y: auto; overscroll-behavior: contain; padding: 22px 20px 28px; }
.work-dialog .work__screens { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 25%); gap: 28px; align-items: start; }
.work-dialog .scr { position: relative; inset: auto; width: auto; transform: none !important; }
.work-dialog .scr--sp { display: block; position: sticky; top: 0; }
.work-dialog .scr__view { aspect-ratio: auto; }
.work-dialog .demo { transform: none !important; transition: none; }
.work-dialog__info { display: grid; grid-template-columns: auto 1fr; gap: 8px 32px; align-items: start; margin-top: 24px; }
.work-dialog__info .work__spec, .work-dialog__info .work__concept { margin: 0; }
.work-dialog__info .work__notice, .work-dialog__info .work__demo { grid-column: 1 / -1; margin: 0; }
.work-dialog__note { margin-top: 18px; padding-top: 14px; border-top: 2px dashed rgba(32, 47, 58, .25); font-size: 13.5px; font-weight: 600; }
@media (max-width: 760px) {
  .work-dialog .work__screens { grid-template-columns: 1fr; }
  .work-dialog .scr--sp { position: static; order: -1; width: min(300px, 82%); margin: 0 auto; }
  .work-dialog__info { grid-template-columns: 1fr; gap: 12px; }
  .work-dialog__title { font-size: 17px; }
}

/* ==========================================================================
   v5.4 全体の磨き上げ（design_spec_v5_4.md）。v5.3 の上に重ねる小さな層。
   - 情報の文字・料金・リンク・章の順序は変えない。WORKS の合成ボックスの寸法には触れない（v5-works.css 側も影・接地線だけ）。
   - js/v5-scroll-engine.js は変更しない。新しい小物と英字ラベルの動きは、既存の data-v5-pop（エンジンの単一rAFが
     書く --v5-pop＝箱の通過進捗を 0.30〜0.70 で 0→1 に変換したもの）だけを受ける。逆スクロールで同じ値に戻る。
   ========================================================================== */
/* §2 共通トークン（既存の --v5-* は残し、その上に重ねる） */
:root {
  --polish-radius-card: var(--v5-r);
  --polish-radius-inner: var(--v5-r-s);
  --polish-radius-control: 999px;
  --polish-outline: 2px solid var(--v5-ink);
  --polish-shadow-card: 0 10px 28px rgba(32, 47, 58, .11);
  --polish-shadow-control: 0 4px 0 rgba(32, 47, 58, .88), 0 8px 15px rgba(32, 47, 58, .08);
  --polish-shadow-hover: 0 6px 0 rgba(32, 47, 58, .88), 0 12px 18px rgba(32, 47, 58, .10);
  --polish-shadow-active: 0 2px 0 rgba(32, 47, 58, .88), 0 5px 10px rgba(32, 47, 58, .08);
  --polish-focus-ring: #FFFFFF;
  --polish-space-1: 8px; --polish-space-2: 12px; --polish-space-3: 16px; --polish-space-4: 24px; --polish-space-5: 32px;
  --polish-spot-opacity: .22;
  --polish-ease: ease;
  --v5-shadow: var(--polish-shadow-card);          /* カード・見出し・料金・作品カードの影を1つに揃える */
}
@media (min-width: 768px) {
  /* PC：v5.3 の 0 22px 70px は大きく、SP（0 10px 28px）と重さが違った。両者の中間へ寄せて視覚重量を揃える */
  :root { --polish-shadow-card: 0 16px 40px rgba(32, 47, 58, .12); --v5-shadow: var(--polish-shadow-card); }
}

/* §3 章間の縦リズム：章の境界の余白だけを詰める（sticky の特長カードの間隔・WORKS の章の高さには触れない） */
.features.section { padding-top: 56px; }
.plans.section { padding-top: 48px; padding-bottom: 56px; }
.flow-sec.section { padding-top: 56px; padding-bottom: 56px; }
.contact { padding-top: 72px; }
@media (min-width: 768px) {
  .features.section { padding-top: 96px; }
  .plans.section { padding-top: 88px; padding-bottom: 96px; }
  .flow-sec.section { padding-top: 96px; padding-bottom: 96px; }
  .contact { padding-top: 112px; }
}
/* 章の境界の小さな遠景の小物（新しく描いたオリジナルの線画。文字なし・装飾のみ・操作の邪魔をしない） */
.v5-spot { position: absolute; z-index: 1; display: block; pointer-events: none; color: #FFFFFF; opacity: var(--polish-spot-opacity);
  transform: translateY(calc((1 - var(--v5-pop, 1)) * 12px)); }
.v5-spot svg { display: block; width: 100%; height: auto; overflow: visible; }
.v5-spot--sign   { width: 46px; left: 16px;  bottom: 18px; }
.v5-spot--bird-f { width: 50px; right: 20px; bottom: 64px; }
.v5-spot--lamp   { width: 24px; right: 22px; top: 4px; }
.v5-spot--branch { width: 72px; left: 12px;  top: 16px; }
.v5-spot--bird-c { width: 46px; right: 20px; top: 14px; color: var(--v5-ink); }
.v5-spot--leaves { width: 44px; left: 18px;  top: 22px; color: var(--v5-ink); }
@media (min-width: 768px) {
  .v5-spot--sign   { width: 64px; left: 48px;  bottom: 28px; }
  .v5-spot--bird-f { width: 68px; right: 56px; bottom: 96px; }
  .v5-spot--lamp   { width: 34px; right: 56px; top: 12px; }
  .v5-spot--branch { width: 104px; left: 40px; top: 28px; }
  .v5-spot--bird-c { width: 64px; right: 64px; top: 24px; }
  .v5-spot--leaves { width: 60px; left: 48px;  top: 34px; }
}
/* 既存の英字ラベル「PLAN」の装飾写し（擬似要素。読み上げなし）。SP −18→+18px／PC −32→+32px、章の進捗 0.30〜0.70 */
.v5-drift.v5-drift--plans { left: 50%; top: 0; translate: -50% 0; opacity: .14;
  transform: translateX(calc((var(--v5-pop, 1) * 2 - 1) * 18px)); }
@media (min-width: 768px) { .v5-drift.v5-drift--plans { top: 8px; transform: translateX(calc((var(--v5-pop, 1) * 2 - 1) * 32px)); } }

/* §4 PLANS：v5.3 は料金の章で街を消して（エンジンの world:0）一面の紫だった。
   その上に、街のカメラと同じ位置（P3）・同じ倍率の止まった街を置き、紫は 20% の薄い単色の膜にする（街の屋根・窓・道路が読める）。
   動きがあるときは、章の範囲だけを窓にして画面に固定（位置は固定の街とぴったり重なる）。JSなし・動きを減らす設定では、ほかの章と同じ静止の街。 */
.v5-still--plans .v5-still__pin, .v5-still--plans .v5-still__view { position: absolute; inset: 0; }
/* 窓は不透明（下の固定の街と二重に見えないように）。紫は窓の中の単色の膜 .20 と、街の外側の地の色だけ（グラデーションなし） */
.v5-still--plans .v5-still__view { background: var(--v5-purple); }
.v5-still--plans .v5-still__view::after { content: ""; position: absolute; inset: 0; background: var(--v5-purple); opacity: .2; pointer-events: none; }
html.v5-motion-ready .plans > .v5-still--plans { display: block; overflow: clip; }
html.v5-motion-ready .v5-still--plans .v5-still__pin { inset: -100vh 0; inset: -100dvh 0; }
html.v5-motion-ready .v5-still--plans .v5-still__view { position: sticky; inset: auto; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
html.v5-motion-ready .v5-still--plans .v5-still__cam { top: 52%; }
@media (min-width: 768px) and (max-width: 1279px) { html.v5-motion-ready .v5-still--plans .v5-still__cam { --s: .56; } }
.plans .section-head__en::before { background: var(--v5-purple); }

/* §5 FEATURES：3つのイラストの台の色（背景色だけ。絵・輪郭は変えない） */
.feature:nth-child(1) .v5-scene { background-color: #FFF5D7; }
.feature:nth-child(2) .v5-scene { background-color: #E7F5F8; }
.feature:nth-child(3) .v5-scene { background-color: #FBEAF3; }

/* §6 FLOW：8工程のタイトルを「白地＋濃色2px枠・尾なしの角丸チップ」に統一（吹き出しの枠と尾は FLOW だけ外す）。
   出現の演出は既存の --v5-pop のまま（チップごと 6px 下から。文字は常に見えている） */
.flow__body h3.v5-bubble--step {
  display: inline-block; margin: 0 0 14px; padding: 8px 12px;
  background: #FFFFFF; border: 2px solid var(--v5-ink); border-radius: 14px;
  font-size: 17px; font-weight: 900; line-height: 1.45;
  transform: translateY(calc((1 - var(--v5-pop, 1)) * 6px));
}
.flow__body h3.v5-bubble--step::before, .flow__body h3.v5-bubble--step::after { content: none; }
@media (min-width: 768px) {
  .flow__body h3.v5-bubble--step { margin-bottom: 16px; padding: 9px 16px; border-radius: 16px; font-size: 18px; }
}

/* §8 FAQ：Q行のリズム・丸囲みQ・区切り線（質問・回答・開閉の仕組みは変えない） */
.faq { gap: 10px; }
.faq__item { border-top: 1px solid rgba(32, 47, 58, .16); }
.faq__item:last-child { border-bottom: 1px solid rgba(32, 47, 58, .16); }
.faq__item summary { align-items: start; column-gap: 14px; padding: 20px 16px; min-height: 0; }
.faq__q { width: 40px; height: 40px; margin-top: -3.6px; background: var(--v5-yellow); border: 2px solid var(--v5-ink); font-size: 24px; }
.faq__icon { margin-top: -3.6px; background: var(--v5-white); }
.faq__item summary:hover .faq__q { background: var(--v5-white); }
.faq__a { margin-top: 0; }
@media (min-width: 768px) {
  .faq { gap: 12px; }
  .faq__item summary { column-gap: 20px; padding: 24px 24px; }
  .faq__q { width: 44px; height: 44px; margin-top: -3px; font-size: 26px; }
  .faq__icon { margin-top: -1px; }
}

/* §10A カード内の白余白（情報の外周だけ）／§10C 章見出しの下のリズム */
.feature__body { padding-top: 24px; }
.plan { padding: 24px 22px 24px; }
.contact__body { padding-top: 32px; }
.section-head { margin-bottom: 32px; }
@media (min-width: 768px) {
  .feature__body { padding: 36px 36px 64px; }
  .plan { padding: 32px 28px 30px; }
  .plan-notes { padding: 30px 36px; }
  .contact__body { padding: 44px 36px 10px; }
  .section-head { margin-bottom: 48px; }
}

/* §9 ボタン・CTA の共通の状態（hover はポインターのある端末だけ。active は 1px 沈む。動きを減らす設定では移動なし） */
.btn { box-shadow: var(--polish-shadow-control); transition: transform .16s var(--polish-ease), box-shadow .16s var(--polish-ease), background-color .16s var(--polish-ease); }
.btn:hover { transform: none; box-shadow: var(--polish-shadow-control); background: var(--v5-ink); }
.btn:active { transform: translateY(1px); box-shadow: var(--polish-shadow-active); }
.btn--sm, .btn--sm:hover { box-shadow: none; }
.btn--sm:active { box-shadow: none; }
/* LINE の CTA（ヒーロー・最後のCTA）：外側にごく薄い重ね影 */
.btn--lg { box-shadow: 0 4px 0 #202F3A, 0 10px 22px rgba(32, 47, 58, .14); }
.btn--lg:active { box-shadow: 0 3px 0 #202F3A, 0 6px 14px rgba(32, 47, 58, .12); }
.gallery-cta__link { box-shadow: var(--polish-shadow-control); transition: transform .16s var(--polish-ease), box-shadow .16s var(--polish-ease), background-color .16s var(--polish-ease); }
.gallery-cta__link:hover { transform: none; }
.gallery-cta__link:active { transform: translateY(1px); box-shadow: var(--polish-shadow-active); }
.hero__scroll, .footer__nav a, .footer__legal a, .work-dialog__close, .menu-toggle, .work__open, .work__demo-link { transition: transform .16s var(--polish-ease), background-color .16s var(--polish-ease); }
.hero__scroll:active, .footer__nav a:active, .footer__legal a:active, .work-dialog__close:active, .menu-toggle:active, .work__open:active, .work__demo-link:active { transform: translateY(1px); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: var(--polish-shadow-hover); background: #2C4050; }
  .btn--lg:hover { box-shadow: 0 6px 0 #202F3A, 0 14px 26px rgba(32, 47, 58, .16); }
  .btn--sm:hover { transform: translateY(-2px); box-shadow: none; }
  .gallery-cta__link:hover { transform: translateY(-2px); box-shadow: var(--polish-shadow-hover); }
  .gallery-cta__link:not(.gallery-cta__link--primary):hover { background: var(--v5-yellow); }
  .hero__scroll:hover, .footer__nav a:hover, .footer__legal a:hover, .work-dialog__close:hover, .work__open:hover, .work__demo-link:hover { transform: translateY(-2px); }
  .btn:active, .gallery-cta__link:active, .hero__scroll:active, .footer__nav a:active, .footer__legal a:active, .work-dialog__close:active, .work__open:active, .work__demo-link:active { transform: translateY(1px); }
}
/* §10D フォーカスリング：濃色3px＋白の分離帯（どの章の色の上でも見える） */
:focus-visible { outline: 3px solid var(--v5-ink); outline-offset: 3px; }
.btn:focus-visible { box-shadow: 0 0 0 3px var(--polish-focus-ring), var(--polish-shadow-control); }
.btn--sm:focus-visible { box-shadow: 0 0 0 3px var(--polish-focus-ring); }
.gallery-cta__link:focus-visible { box-shadow: 0 0 0 3px var(--polish-focus-ring), var(--polish-shadow-control); }
.hero__scroll:focus-visible, .footer__nav a:focus-visible, .footer__legal a:focus-visible, .work-dialog__close:focus-visible, .menu-toggle:focus-visible,
.work__open:focus-visible, .work__demo-link:focus-visible, .faq__item summary:focus-visible, .global-nav a:focus-visible, .brand:focus-visible, .skip-link:focus-visible {
  box-shadow: 0 0 0 3px var(--polish-focus-ring);
}
.faq__item summary:focus-visible { border-radius: var(--v5-r-s); }

@media (prefers-reduced-motion: reduce) {
  .v5-spot { transform: none !important; }
  .flow__body h3.v5-bubble--step { transform: none !important; }
  .btn, .gallery-cta__link, .hero__scroll, .footer__nav a, .footer__legal a, .work-dialog__close, .menu-toggle, .work__open, .work__demo-link { transition: none !important; transform: none !important; }
}
