/* =========================================================
   Unicorn Studio 紹介ページ（LP）の共通スタイル
   ・白いキャンバスに虹の絵の具（アプリのデザインの決まり FOUNDATION.md と同じ色）
   ・絵柄の芯はロゴと同じステッカー調。主役は、つくった求人の画像
   ・全ページ（トップ／特定商取引法／プライバシー／お問い合わせ／404）がこの1枚を読む
   ========================================================= */

/* ---------- 1. 値（役割の名前で持つ） ---------- */
:root {
  color-scheme: light;

  /* キャンバス */
  --canvas: #ffffff;
  --canvas-warm: #fafaf7;
  --canvas-cool: #f4f4f6;
  --surface: #eeeef0;
  --line: #e4e4ea;
  --line-strong: #cfcfd8;

  /* 文字（白地でのコントラスト: ink 17:1 / ink-2 7.2:1） */
  --ink: #1a1a2e;
  --ink-2: #55556b;

  /* 夜のキャンバス（見本の区画とフッター） */
  --night: #12121f;
  --night-2: #1c1c2e;
  --night-line: rgba(255, 255, 255, 0.14);
  --night-ink: #f4f4fa;
  --night-ink-2: #b4b4c8;

  /* 絵の具（アプリと同じ6色） */
  --rose: #ff3366;
  --orange: #ff6633;
  --yellow: #ffcc00;
  --emerald: #00cc88;
  --cobalt: #3366ff;
  --violet: #9933ff;

  /* 文字に使う濃い絵の具（白地で 4.5:1 以上） */
  --rose-ink: #d81b4f;
  --cobalt-ink: #2350e6;
  --violet-ink: #7b22e0;
  --emerald-ink: #00805a;
  --orange-ink: #c2410c;

  /* 虹（ロゴ・主役の言葉） */
  --rainbow: linear-gradient(100deg, #ff3366 0%, #ff6633 20%, #f2b100 38%, #00c281 58%, #3366ff 78%, #9933ff 100%);
  --rainbow-wide: linear-gradient(90deg, #ff3366, #ff6633, #ffcc00, #00cc88, #3366ff, #9933ff, #ff3366);

  /* 文字（英数字 Inter・和文 Zen Kaku Gothic New） */
  --font: "Inter", "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  /* 文字の大きさ（部品13・小14・カード15・本文16・リード20・小見出し22・数字30・値段40＋見出し2つ） */
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-15: 0.9375rem;
  --fs-16: 1rem;
  --fs-20: 1.25rem;
  --fs-22: 1.375rem;
  --fs-30: 1.875rem;
  --fs-40: 2.5rem;
  --fs-h2: clamp(1.75rem, 1.15rem + 2.1vw, 2.875rem);

  /* 余白（8px 基準） */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px;
  --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px; --s20: 80px;
  --section-y: clamp(72px, 5vw + 48px, 128px);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1200px;
  --max-wide: 1200px;

  /* 角丸（4段＋丸） */
  --r-xs: 3px; --r-sm: 8px; --r-md: 14px; --r-lg: 24px; --r-xl: 32px; --r-full: 999px;

  /* 影（3段） */
  --shadow-1: 0 1px 2px rgba(26, 26, 46, 0.06), 0 2px 8px rgba(26, 26, 46, 0.05);
  --shadow-2: 0 10px 30px rgba(26, 26, 46, 0.10), 0 2px 6px rgba(26, 26, 46, 0.06);
  --shadow-3: 0 30px 70px rgba(26, 26, 46, 0.16), 0 8px 24px rgba(26, 26, 46, 0.08);

  /* 動き */
  --dur-fast: 180ms;
  --dur-base: 260ms;
  --dur-slow: 420ms;
  --dur-reveal: 700ms;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-std: cubic-bezier(0.2, 0, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* 大きい画面では、ヒーローと見本だけ広げる */
@media (min-width: 1600px) { :root { --max-wide: 1360px; } }

/* ---------- 2. 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-16);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-break: strict;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cobalt-ink); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 800; font-feature-settings: "palt" 1; letter-spacing: 0.02em; word-break: auto-phrase; text-wrap: balance; }
strong, b { font-weight: 700; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(153, 51, 255, 0.18); }

/* 短い文は語のかたまりで折り、1〜2文字だけ次の行へ落とさない */
.tile p, .flow p, .more span, .cmp-note, .section-lead, .space-note, .plan-common li, .price-foot li,
.faq .a p, .doc-body p, .doc-body li, .doc-table td, .contact-note, .hero-ask, .offer-copy p, .finale-card p, .stage-cap, .yield-note {
  word-break: auto-phrase; text-wrap: pretty;
}

/* キーボード操作の時だけ、輪を出す */
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: var(--r-sm); }

/* 線のアイコン（<use> で部品を呼ぶ。色は文字色に合わせる） */
.ic { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 読み上げ用だけに残す文字 */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 本文へ飛ぶリンク（キーボード操作の最初の1手） */
.skip { position: absolute; left: 12px; top: -120px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r-sm); text-decoration: none; transition: top var(--dur-fast) var(--ease-std); }
.skip:focus { top: 12px; }

/* 横幅の器 */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: calc(var(--max-wide) + var(--gutter) * 2); }

/* 虹の文字 */
.rainbow-text {
  background: var(--rainbow);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* 語の途中で折らないかたまり */
.nb { display: inline-block; }

/* ---------- 3. ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-std), background-color var(--dur-base) var(--ease-std);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s6); min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(26, 26, 46, 0.08);
  background: #fff; user-select: none;
  transition: transform var(--dur-fast) var(--ease-spring);
}
.brand-mark:hover { transform: rotate(-8deg) scale(1.06); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-weight: 800; font-size: var(--fs-20); letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: var(--s1); margin-left: auto; }
.nav a:not(.btn) {
  position: relative; color: var(--ink-2); text-decoration: none; font-size: var(--fs-14); font-weight: 700;
  padding: 10px 12px; border-radius: var(--r-full);
  transition: color var(--dur-fast) var(--ease-std), background-color var(--dur-fast) var(--ease-std);
}
.nav a:not(.btn):hover { color: var(--ink); background: var(--canvas-cool); }
/* 今いる区画の印 */
.nav a[aria-current="true"] { color: var(--ink); }
.nav a[aria-current="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: var(--r-xs); background: var(--rainbow); }
.nav .btn { margin-left: var(--s2); }

/* ---------- 4. ボタン ---------- */
.btn {
  --h: 52px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px;
  border-radius: var(--r-full); border: 0;
  font-weight: 700; font-size: var(--fs-16); line-height: 1.2; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-std), box-shadow var(--dur-fast) var(--ease-std), background-color var(--dur-fast) var(--ease-std), color var(--dur-fast) var(--ease-std);
}
.btn:active { transform: scale(0.97); }
.btn .ic { width: 18px; height: 18px; }

/* 主役のボタン：墨色に、触れると虹の縁が回る */
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 20px rgba(26, 26, 46, 0.22); }
.btn-primary::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  background: var(--rainbow-wide); background-size: 200% 100%;
  opacity: 0; transition: opacity var(--dur-base) var(--ease-std);
}
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ink); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(153, 51, 255, 0.28); }
.btn-primary:hover::before { opacity: 1; animation: rainbow-slide 2.4s linear infinite; }

/* 控えめのボタン：白地に細い枠 */
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-1px); }

.btn-sm { --h: 42px; padding: 0 18px; font-size: var(--fs-14); }

@keyframes rainbow-slide { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }

/* ---------- 5. 見出しのまとまり ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-13); font-weight: 700; letter-spacing: 0.12em;
  color: var(--ink-2); margin: 0 0 var(--s4);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: var(--r-xs); background: var(--rainbow); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 3.4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
/* 見出しを左、リードを右へ（PCで右側を空けない） */
.section-head.split { max-width: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s8); align-items: end; }
.section-head.split .section-lead { margin: 0 0 6px; }
.section-title { font-size: var(--fs-h2); line-height: 1.25; }
.section-lead { margin-top: var(--s4); font-size: var(--fs-16); color: var(--ink-2); line-height: 1.9; max-width: 40em; }
.section-head.center .section-lead { margin-inline: auto; }

.section { padding-block: var(--section-y); position: relative; }
.section.warm { background: var(--canvas-warm); }

/* ---------- 6. ヒーロー ---------- */
.hero { position: relative; overflow-x: clip; margin-top: -69px; padding: calc(69px + clamp(24px, 3.4vw, 56px)) 0 clamp(40px, 4vw, 72px); isolation: isolate; }
/* 背景の絵の具の飛び沫（うすく。下へ向かって白に溶かす） */
.hero::before {
  content: ""; position: absolute; inset: 0 0 -80px 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 42% at 6% 14%, rgba(255, 51, 102, 0.10), transparent 70%),
    radial-gradient(30% 36% at 94% 6%, rgba(51, 102, 255, 0.09), transparent 70%),
    radial-gradient(34% 40% at 72% 92%, rgba(255, 204, 0, 0.10), transparent 70%),
    radial-gradient(30% 34% at 28% 90%, rgba(0, 204, 136, 0.08), transparent 70%),
    radial-gradient(26% 30% at 56% 30%, rgba(153, 51, 255, 0.06), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}
.hero-grid {
  display: grid; gap: 0 clamp(32px, 4vw, 72px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "copy studio" "actions studio";
  grid-template-rows: auto 1fr;
  align-items: start;
}
.hero-copy { grid-area: copy; position: relative; z-index: 2; container-type: inline-size; padding-top: clamp(8px, 2vw, 40px); }
.hero-studio { grid-area: studio; position: relative; }
.hero-actions { grid-area: actions; container-type: inline-size; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--s6);
  padding: 6px 14px 6px 8px; border-radius: var(--r-full);
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
  font-size: var(--fs-13); font-weight: 700; color: var(--ink-2); letter-spacing: 0.04em;
}
.hero-kicker .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--rainbow); box-shadow: inset 0 0 0 3px #fff; }
.hero h1 { font-size: clamp(2.25rem, 14.4cqi, 5.4rem); line-height: 1.14; letter-spacing: 0; font-weight: 900; }
.hero h1 .line { display: block; white-space: nowrap; }
.hero-lead { margin: var(--s6) 0 0; font-size: var(--fs-20); color: var(--ink-2); line-height: 1.85; word-break: auto-phrase; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s8); }
.hero-ask { margin: var(--s4) 0 0; font-size: var(--fs-15); color: var(--ink-2); }
.hero-ask a { font-weight: 700; margin-left: 4px; }

/* 主な数字：入れ物の幅で、4列か2列×2段を決める（文字の読み込みの前後で変わらない） */
.hero-facts { display: grid; grid-template-columns: repeat(2, max-content); gap: 16px 0; margin: var(--s10) 0 0; }
.hero-facts li { padding: 0 22px; border-left: 1px solid var(--line-strong); line-height: 1.35; white-space: nowrap; }
.hero-facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
.hero-facts b { display: block; color: var(--ink); font-weight: 800; font-size: var(--fs-16); letter-spacing: 0.01em; }
.hero-facts span { display: block; margin-top: 4px; font-size: var(--fs-13); font-weight: 700; color: var(--ink-2); }
@container (min-width: 470px) {
  .hero-facts { grid-template-columns: repeat(4, max-content); }
  .hero-facts li:nth-child(3) { padding-left: 22px; border-left: 1px solid var(--line-strong); }
}

/* ---------- 7. 小さなスタジオ（ヒーローの右） ---------- */
.studio-mascot {
  position: absolute; z-index: 3; width: 178px; right: -30px; top: -52px;
  filter: drop-shadow(0 10px 18px rgba(26, 26, 46, 0.18));
  animation: bob 5s ease-in-out infinite; pointer-events: none;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
.hero.is-paused .studio-mascot { animation-play-state: paused; }

.studio {
  position: relative; z-index: 2;
  background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(26, 26, 46, 0.05);
  overflow: hidden;
}
.studio-bar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 10px 0 18px; border-bottom: 1px solid var(--line); background: var(--canvas-warm); }
.studio-dots { display: flex; gap: 6px; }
.studio-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.studio-dots i:nth-child(1) { background: #ff5f57; } .studio-dots i:nth-child(2) { background: #febc2e; } .studio-dots i:nth-child(3) { background: #28c840; }
.studio-title { font-size: var(--fs-13); font-weight: 800; color: var(--ink-2); letter-spacing: 0.06em; }
.studio-toggle { margin-left: 2px; width: 30px; height: 30px; }

.studio-body { display: grid; grid-template-columns: minmax(0, 236px) minmax(0, 1fr); }
.studio-panel { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-right: 1px solid var(--line); }
.field { display: grid; gap: 6px; min-width: 0; }
.field-label { display: flex; align-items: center; gap: 8px; font-size: var(--fs-13); font-weight: 700; color: var(--ink-2); }
.field-row { display: grid; gap: 14px; }
.field-value {
  display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px;
  border-radius: var(--r-sm); background: var(--canvas-cool); box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-15); line-height: 1.35;
  transition: box-shadow var(--dur-base) var(--ease-std), background-color var(--dur-base) var(--ease-std);
}
.field-value b { font-weight: 700; }
.field-value.flash { background: #fff; box-shadow: inset 0 0 0 2px var(--accent, var(--cobalt)); }
.field-value.text { display: grid; gap: 2px; align-items: start; }
.field-value.text b { font-weight: 800; word-break: auto-phrase; }
.field-value.text span { font-size: var(--fs-13); color: var(--ink-2); font-weight: 700; }
.tone-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent, var(--rose)); flex-shrink: 0; }
.ratio-icon { width: calc(14px * min(var(--ar, 1), 1.6)); height: calc(14px / max(var(--ar, 1), 0.6)); max-width: 22px; max-height: 22px; border-radius: var(--r-xs); border: 2px solid var(--ink); flex-shrink: 0; transition: width var(--dur-base) var(--ease-std), height var(--dur-base) var(--ease-std); }
.ai-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--r-full); background: color-mix(in srgb, var(--violet) 10%, white); color: var(--violet-ink); font-size: var(--fs-13); font-weight: 700; }
.ai-pill .ic { width: 13px; height: 13px; }

.job-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.job-chip {
  min-height: 36px; padding: 6px 12px; border: 0; border-radius: var(--r-full); cursor: pointer;
  background: var(--canvas-cool); color: var(--ink); font-size: var(--fs-14); font-weight: 700; line-height: 1.2;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color var(--dur-fast) var(--ease-std), color var(--dur-fast) var(--ease-std), box-shadow var(--dur-fast) var(--ease-std), transform var(--dur-fast) var(--ease-std);
}
.job-chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.job-chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }

/* 「Generate」：アプリの生成ボタンと同じ虹（飾り。切り替えのたびに押される） */
.gen-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto;
  min-height: 44px; border-radius: var(--r-full);
  background: var(--rainbow-wide); background-size: 220% 100%; color: #fff;
  font-size: var(--fs-15); font-weight: 800; letter-spacing: 0.04em; text-shadow: 0 1px 2px rgba(26, 26, 46, 0.35);
  box-shadow: 0 8px 18px rgba(255, 51, 102, 0.20), 0 4px 10px rgba(51, 102, 255, 0.16);
}
.gen-btn .ic { width: 16px; height: 16px; }
.gen-btn.press { animation: press 520ms var(--ease-std); }
@keyframes press { 0% { transform: scale(1); } 35% { transform: scale(0.95); } 100% { transform: scale(1); background-position: 100% 50%; } }

.studio-stage { display: flex; flex-direction: column; gap: 12px; padding: 20px; background:
  radial-gradient(60% 50% at 80% 10%, rgba(153, 51, 255, 0.05), transparent 70%),
  radial-gradient(50% 50% at 10% 90%, rgba(0, 204, 136, 0.05), transparent 70%), #fff; }
/* 画像の置き場：箱の大きさに収まる比率の額（CSSだけで計算） */
.stage-box { position: relative; height: clamp(300px, 30vw, 440px); container-type: size; }
.stage-frame {
  position: absolute; inset: 0; margin: auto;
  width: min(100cqw, calc(100cqh * var(--ar))); height: min(100cqh, calc(100cqw / var(--ar)));
  border-radius: var(--r-md); overflow: hidden; background: var(--surface);
  box-shadow: 0 18px 40px rgba(26, 26, 46, 0.18), 0 0 0 1px rgba(26, 26, 46, 0.06);
  opacity: 0; transform: scale(0.96);
  transition: opacity var(--dur-slow) var(--ease-std), transform var(--dur-slow) var(--ease-out);
}
.stage-frame.is-on { opacity: 1; transform: none; }
.stage-frame img { width: 100%; height: 100%; object-fit: cover; }
/* できあがる時のきらめき */
.stage-shimmer { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; border-radius: var(--r-md);
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.8) 45%, transparent 65%); background-size: 240% 100%; }
.stage-box.is-busy .stage-shimmer { animation: shimmer 0.8s var(--ease-std) 1; }
@keyframes shimmer { 0% { opacity: 0; background-position: 130% 0; } 30% { opacity: 1; } 100% { opacity: 0; background-position: -30% 0; } }
.stage-cap { margin: 0; text-align: center; font-size: var(--fs-13); color: var(--ink-2); font-weight: 700; }

/* 一時停止のボタン（スタジオ・空の共通） */
.media-toggle {
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; flex-shrink: 0;
  display: grid; place-items: center; color: var(--ink);
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
  transition: transform var(--dur-fast) var(--ease-std);
}
.media-toggle:hover { transform: scale(1.06); }
.media-toggle .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.media-toggle .ic-play { display: none; }
.media-toggle[aria-pressed="true"] .ic-play { display: block; }
.media-toggle[aria-pressed="true"] .ic-pause { display: none; }

/* ---------- 8. 見比べ ---------- */
.fixed-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--s8); }
.fixed-chips li { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 14px; border-radius: var(--r-full); background: var(--canvas-cool); font-size: var(--fs-14); font-weight: 700; line-height: 1.6; }
.fixed-chips li span { font-size: var(--fs-13); color: var(--ink-2); white-space: nowrap; flex-shrink: 0; }
.cmp-row { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: var(--s6); align-items: start; padding-block: var(--s6); border-top: 1px solid var(--line); }
.cmp-label { font-size: var(--fs-22); line-height: 1.3; padding-top: 4px; }
.cmp-label small { display: block; margin-top: 6px; font-size: var(--fs-13); color: var(--ink-2); font-weight: 700; letter-spacing: 0.02em; }
.cmp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.cmp-card { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; color: inherit; }
.cmp-img { display: block; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-2); transition: transform var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std); }
.cmp-img img { width: 100%; height: 100%; object-fit: cover; }
.cmp-card:hover .cmp-img { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.cmp-name { display: block; margin-top: 12px; font-size: var(--fs-16); font-weight: 800; line-height: 1.3; }
.cmp-sub { display: block; margin-top: 2px; font-size: var(--fs-13); color: var(--ink-2); font-weight: 700; }
.cmp-note { margin: var(--s4) 0 0; font-size: var(--fs-15); color: var(--ink-2); text-align: right; }

/* ---------- 9. 見本（夜のキャンバス） ---------- */
.gallery { background: var(--night); color: var(--night-ink); overflow: hidden; }
.gallery .eyebrow { color: var(--night-ink-2); }
.gallery .section-lead { color: var(--night-ink-2); }
.gallery::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 0% 0%, rgba(153, 51, 255, 0.22), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(51, 102, 255, 0.20), transparent 70%),
    radial-gradient(30% 40% at 85% 10%, rgba(255, 51, 102, 0.14), transparent 70%);
}
.gallery .wrap { position: relative; }
.pick-mark { display: inline-flex; align-items: center; gap: 4px; padding: 1px 10px 1px 7px; margin-right: 2px; border-radius: var(--r-full); background: var(--yellow); color: var(--ink); font-size: var(--fs-14); font-weight: 800; line-height: 1.6; vertical-align: 1px; }
.pick-mark .ic { width: 14px; height: 14px; stroke-width: 2.2; }
/* 比率どおりの額を、行の高さを揃えて並べる（JSで行ごとの高さを決める） */
.justified { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 1.4vw, 20px); }
.justified li { flex: 0 0 auto; width: calc(280px * var(--ar)); }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; color: inherit; border-radius: var(--r-md); }
.shot-img { display: block; height: 280px; border-radius: var(--r-md); overflow: hidden; background: var(--night-2); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); transition: transform var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std); }
.shot-img img { width: 100%; height: 100%; object-fit: cover; }
.shot:hover .shot-img { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.18); }
/* 額の中の札（比率・選んだだけ・拡大の印） */
.shot-ratio { display: block; margin-top: 8px; font-size: var(--fs-13); font-weight: 700; line-height: 1.4; color: var(--night-ink-2); font-family: var(--font); letter-spacing: 0.02em; white-space: nowrap; }
/* 選んだだけの見本：黄色の縁と、角の丸い印（画像の上には重ねない） */
.shot.is-pick .shot-img { box-shadow: 0 0 0 3px var(--yellow), 0 18px 40px rgba(0, 0, 0, 0.35); }
.shot-pick { position: absolute; z-index: 3; left: -9px; top: -9px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 3px var(--night), 0 4px 10px rgba(0, 0, 0, 0.3); pointer-events: none; }
.shot-pick .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.shot-zoom { position: absolute; z-index: 2; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.92); color: var(--ink); opacity: 0; transform: scale(0.85); transition: opacity var(--dur-fast) var(--ease-std), transform var(--dur-fast) var(--ease-std); }
.shot-zoom .ic { width: 15px; height: 15px; }
.shot:hover .shot-zoom, .shot:focus-visible .shot-zoom { opacity: 1; transform: none; }
/* 比率と使い道 */
.ratio-groups { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-top: clamp(32px, 3.4vw, 52px); }
.ratio-groups li { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--night-line); }
.rg-name { font-size: var(--fs-13); font-weight: 700; color: var(--night-ink-2); }
.rg-items { display: inline-flex; gap: 12px; }
.rg-items > span { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-14); font-weight: 800; color: var(--night-ink); }
.shape { display: inline-block; flex-shrink: 0; height: 15px; width: calc(15px * var(--ar)); border-radius: var(--r-xs); border: 2px solid currentColor; opacity: 0.85; }

/* 画像を大きく見るダイアログ */
.lightbox { width: min(1120px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow-3); overflow: hidden; }
.lightbox::backdrop { background: rgba(18, 18, 31, 0.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { animation: pop var(--dur-slow) var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.lb-inner { display: grid; grid-template-columns: minmax(0, 1fr) 320px; max-height: 92vh; }
.lb-media { position: relative; background: var(--canvas-cool); display: grid; place-items: center; padding: clamp(14px, 2vw, 28px) 64px; min-height: 0; }
.lb-media img { max-height: calc(92vh - 56px); width: auto; max-width: 100%; border-radius: var(--r-sm); box-shadow: var(--shadow-2); }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: var(--shadow-2); transition: transform var(--dur-fast) var(--ease-std); }
.lb-nav:hover { transform: scale(1.06); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-side { padding: 56px 26px 28px; overflow: auto; border-left: 1px solid var(--line); }
.lb-count { margin: 0 0 14px; font-size: var(--fs-13); font-weight: 700; color: var(--ink-2); font-family: var(--font); }
.lb-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: var(--fs-14); }
.lb-dl dt { color: var(--ink-2); font-weight: 700; white-space: nowrap; }
.lb-dl dd { margin: 0; font-weight: 700; }
.lb-dl dd .q { display: block; font-weight: 700; color: var(--ink); background: var(--canvas-cool); border-radius: var(--r-sm); padding: 8px 10px; margin-top: 4px; line-height: 1.6; }
.lb-dl dd .q:first-child { margin-top: 0; }
.lb-dl dd .none { display: inline-block; padding: 2px 10px; border-radius: var(--r-full); background: var(--yellow); color: var(--ink); font-size: var(--fs-13); font-weight: 800; }
.lb-close { position: absolute; right: 12px; top: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow-1); cursor: pointer; display: grid; place-items: center; }
.lb-close .ic { width: 20px; height: 20px; }

/* ---------- 10. 無料の見本 ---------- */
.offer { background:
  radial-gradient(40% 60% at 100% 0%, rgba(255, 204, 0, 0.12), transparent 70%),
  radial-gradient(40% 60% at 0% 100%, rgba(255, 51, 102, 0.08), transparent 70%), var(--canvas); }
.offer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.offer-visual { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.9fr); align-items: center; gap: 18px; }
.offer-mail { padding: 22px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); }
.om-head { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: var(--fs-14); font-weight: 800; color: var(--ink-2); }
.om-head .ic { width: 18px; height: 18px; color: var(--rose-ink); }
.offer-mail dl { margin: 0; display: grid; gap: 4px; }
.offer-mail dt { font-size: var(--fs-13); font-weight: 700; color: var(--ink-2); }
.offer-mail dd { margin: 0 0 10px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--canvas-cool); font-size: var(--fs-15); font-weight: 700; line-height: 1.6; }
.offer-mail dd:last-child { margin-bottom: 0; }
.offer-arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: var(--shadow-2); }
.offer-arrow .ic { width: 18px; height: 18px; }
.offer-result { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-3); transform: rotate(2deg); }
.offer-result img { width: 100%; }

/* ---------- 11. 機能の箱組み ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); padding: clamp(22px, 2.2vw, 32px); display: flex; flex-direction: column; min-width: 0; }
.tile h3 { font-size: var(--fs-22); line-height: 1.4; }
.tile > p { color: var(--ink-2); margin: 10px 0 0; font-size: var(--fs-15); line-height: 1.85; }
.tile-tag { display: inline-flex; align-self: flex-start; gap: 6px; align-items: center; margin-bottom: 14px; padding: 4px 12px; border-radius: var(--r-full); font-size: var(--fs-13); font-weight: 800; letter-spacing: 0.04em; color: var(--tc, var(--cobalt-ink)); background: color-mix(in srgb, var(--tc, var(--cobalt-ink)) 9%, white); }
.t-remix { grid-column: span 12; --tc: var(--violet-ink); }
.t-company { grid-column: span 6; --tc: var(--rose-ink); }
.t-models { grid-column: span 6; --tc: var(--emerald-ink); }
.t-logo { grid-column: span 5; --tc: var(--orange-ink); }
.t-more { grid-column: span 7; --tc: var(--ink-2); }
/* 差し替え：見出しを左、説明を右に（全幅の箱） */
.t-remix .tile-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px; align-items: end; }
.t-remix .tile-head p { margin: 0; color: var(--ink-2); font-size: var(--fs-15); line-height: 1.85; }

/* 文字だけ差し替え */
.remix-row { margin-top: auto; padding-top: var(--s6); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.remix-card { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; color: inherit; }
.remix-img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-2); transition: transform var(--dur-base) var(--ease-std); }
.remix-img img { width: 100%; height: 100%; object-fit: cover; }
.remix-card:hover .remix-img { transform: translateY(-3px); }
.remix-tag { display: block; margin-top: 10px; font-size: var(--fs-13); font-weight: 700; color: var(--ink-2); }
.remix-text { display: inline-block; margin-top: 4px; padding: 3px 10px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--violet) 9%, white); color: var(--violet-ink); font-size: var(--fs-14); font-weight: 800; }
.remix-row li:first-child .remix-text { background: var(--canvas-cool); color: var(--ink); }

/* 会社の専用の枠 */
.space-card { margin-top: var(--s6); border-radius: var(--r-md); background: var(--canvas-warm); box-shadow: inset 0 0 0 1px var(--line); padding: 14px; }
.space-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.space-name { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: var(--fs-15); }
.space-name .lock { width: 30px; height: 30px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--ink); color: #fff; flex-shrink: 0; }
.space-name .lock .ic { width: 16px; height: 16px; }
.avatars { display: flex; align-items: center; }
.avatars span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-left: -7px; color: #fff; font-size: var(--fs-13); font-weight: 800; box-shadow: 0 0 0 3px var(--canvas-warm); }
.avatars span:first-child { margin-left: 0; }
/* 比率どおりの額で、高さを揃えて並べる（幅を比率に比例させる） */
.cg { display: grid; gap: 6px; }
.cg-row { display: flex; gap: 6px; }
.cg-item { flex: var(--ar) 1 0; min-width: 0; aspect-ratio: var(--ar); border-radius: var(--r-sm); overflow: hidden; }
.cg-item img { width: 100%; height: 100%; object-fit: cover; }
.space-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 14px 0 0; font-size: var(--fs-14); font-weight: 700; color: var(--ink); }
.space-note .ic { width: 18px; height: 18px; color: var(--rose-ink); }

/* ロゴの重ね付け */
.stamp-demo { margin-top: auto; padding-top: var(--s6); }
/* PCでは、箱の残りの高さいっぱいに画像を広げる（隣の箱と高さがそろう） */
@media (min-width: 1181px) {
  .t-logo .stamp-demo { flex: 1; display: flex; flex-direction: column; }
  .t-logo .stamp-media { flex: 1; min-height: 240px; aspect-ratio: auto; }
}
.stamp-media { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; }
.stamp-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.stamp-logo {
  position: absolute; right: 5%; bottom: 7%; width: 34%;
  transform: scale(1.4) rotate(-8deg); opacity: 0;
  transition: transform var(--dur-slow) var(--ease-spring), opacity var(--dur-base) var(--ease-std);
  filter: drop-shadow(0 6px 14px rgba(26, 26, 46, 0.25));
}
.stamp-demo.is-on .stamp-logo { transform: none; opacity: 1; }
.stamp-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 14px; }
.switch { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 700; font-size: var(--fs-15); color: var(--ink); }
.switch .track { width: 48px; height: 28px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background-color var(--dur-base) var(--ease-std); flex-shrink: 0; }
.switch .track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform var(--dur-base) var(--ease-spring); }
.switch[aria-checked="true"] .track { background: var(--emerald); }
.switch[aria-checked="true"] .track::after { transform: translateX(20px); }
.credit-zero { font-size: var(--fs-13); font-weight: 800; color: var(--emerald-ink); background: color-mix(in srgb, var(--emerald) 12%, white); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }

/* 2つのAI */
.ai-row { margin-top: auto; padding-top: var(--s6); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ai-card { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; color: inherit; }
.ai-img { display: block; aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-2); transition: transform var(--dur-base) var(--ease-std); }
.ai-img img { width: 100%; height: 100%; object-fit: cover; }
.ai-card:hover .ai-img { transform: translateY(-3px); }
.ai-name { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: var(--fs-15); font-weight: 800; line-height: 1.3; }
.ai-spec { display: block; margin-top: 4px; font-size: var(--fs-13); font-weight: 700; color: var(--ink-2); }
.mdot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.mdot.gpt { background: var(--emerald); box-shadow: 0 0 0 3px color-mix(in srgb, var(--emerald) 20%, white); }
.mdot.nano { background: var(--yellow); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 25%, white); }

/* API（小さく。例は畳む） */
.code-box { margin-top: auto; padding-top: var(--s5); }
.code-box summary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: var(--r-full); background: var(--canvas-cool); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-size: var(--fs-14); font-weight: 700; list-style: none; }
.code-box summary::-webkit-details-marker { display: none; }
.code-box summary .ic { width: 16px; height: 16px; color: var(--cobalt-ink); }
.code-box pre { margin: 12px 0 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--night); overflow: auto; font-family: var(--mono); font-size: var(--fs-13); line-height: 1.75; color: #dfe3ff; white-space: pre; }
.code-box .k { color: #9db4ff; } .code-box .s { color: #ffd479; } .code-box .m { color: #ff9ab8; font-weight: 700; }

/* ほかにも */
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: var(--s5); }
.more li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.more .mi { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--canvas-cool); color: var(--ink); }
.more b { display: block; font-weight: 800; font-size: var(--fs-16); line-height: 1.5; color: var(--ink); }
.more b + span { display: block; font-size: var(--fs-14); color: var(--ink-2); line-height: 1.75; margin-top: 2px; }

/* ---------- 12. 料金 ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.plan { position: relative; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); padding: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; overflow: hidden; }
.plan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--pc); }
.plan:nth-child(1) { --pc: linear-gradient(90deg, var(--emerald), var(--cobalt)); --dot: var(--emerald); }
.plan:nth-child(2) { --pc: linear-gradient(90deg, var(--cobalt), var(--violet)); --dot: var(--cobalt); }
.plan:nth-child(3) { --pc: linear-gradient(90deg, var(--violet), var(--rose)); --dot: var(--violet); }
.plan-name { display: flex; align-items: center; gap: 10px; font-size: var(--fs-20); font-weight: 800; letter-spacing: 0.04em; }
.plan-name::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot) 18%, white); }
.price { display: flex; align-items: baseline; gap: 6px; margin: var(--s4) 0 2px; font-family: var(--font); flex-wrap: wrap; }
.price strong { font-size: var(--fs-40); font-weight: 800; letter-spacing: -0.01em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-weight: 800; font-size: var(--fs-16); }
.price small { font-size: var(--fs-13); color: var(--ink-2); font-weight: 700; }
.price-total { font-size: var(--fs-13); color: var(--ink-2); margin: 0 0 var(--s5); }
/* いちばん見せたい数：1か月につくれる枚数 */
.plan-yield { padding: 16px 0 6px; border-top: 1px solid var(--line); }
.plan-yield .yl { display: block; font-size: var(--fs-13); font-weight: 700; color: var(--ink-2); }
.plan-yield b { display: block; margin-top: 4px; font-size: var(--fs-30); font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.plan-yield b small { font-size: var(--fs-16); font-weight: 800; margin: 0 2px; }
.yield-note { margin: 4px 0 0; font-size: var(--fs-13); color: var(--ink-2); line-height: 1.7; }
.plan-credit { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--line-strong); font-size: var(--fs-14); font-weight: 700; color: var(--ink); }
.plan .btn { margin-top: var(--s6); width: 100%; }

.plan-common { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: center; gap: 10px 28px; margin-top: var(--s6); padding: 16px 22px; border-radius: var(--r-lg); background: var(--canvas-cool); }
.plan-common li { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-15); font-weight: 700; line-height: 1.6; }
.plan-common .ic { width: 18px; height: 18px; color: var(--emerald-ink); margin-top: 2px; stroke-width: 2.4; }

.price-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); margin-top: clamp(24px, 2.6vw, 36px); }
.note-card { border-radius: var(--r-lg); background: var(--canvas-warm); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(20px, 2vw, 28px); }
.note-card h3 { font-size: var(--fs-16); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kv { display: grid; gap: 10px; }
.kv li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: var(--fs-14); padding-bottom: 10px; border-bottom: 1px dashed var(--line-strong); }
.kv li:last-child { border-bottom: 0; padding-bottom: 0; }
.kv li span { color: var(--ink-2); font-weight: 700; }
.kv li b { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.kv li b small { font-weight: 700; color: var(--ink-2); font-size: var(--fs-13); margin-left: 2px; }
.price-foot { margin-top: var(--s8); display: grid; gap: 8px; font-size: var(--fs-15); line-height: 1.75; color: var(--ink-2); max-width: 42em; }
.price-foot li { padding-left: 1.1em; text-indent: -1.1em; }
.price-foot li::before { content: "※"; margin-right: 0.1em; }

/* ---------- 13. 始めるまで ---------- */
.flow { --gap: clamp(16px, 2vw, 28px); position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
/* 番号をつなぐ虹の線（4つ目の丸の中心で止める） */
.flow::before { content: ""; position: absolute; left: 28px; right: calc((100% - 3 * var(--gap)) / 4 - 28px); top: 27px; height: 3px; border-radius: var(--r-xs); background: var(--rainbow); opacity: 0.85; transform-origin: left; transform: scaleX(var(--p, 1)); transition: transform 1.2s var(--ease-out); }
.flow li { position: relative; }
.flow .num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 3px var(--sc), var(--shadow-1); font-family: var(--font); font-weight: 800; font-size: var(--fs-20); color: var(--ink); }
.flow li:nth-child(1) { --sc: var(--rose); }
.flow li:nth-child(2) { --sc: var(--yellow); }
.flow li:nth-child(3) { --sc: var(--emerald); }
.flow li:nth-child(4) { --sc: var(--cobalt); }
.flow h3 { font-size: var(--fs-20); margin: var(--s5) 0 8px; }
.flow p { margin: 0; color: var(--ink-2); font-size: var(--fs-15); line-height: 1.85; }
.flow .meta { display: inline-block; margin-top: 12px; font-size: var(--fs-13); font-weight: 800; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 4px 12px; border-radius: 999px; }

/* ---------- 14. よくある質問 ---------- */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--dur-base) var(--ease-std); }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-2); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 14px; padding: 16px 20px; min-height: 64px; font-weight: 800; font-size: var(--fs-16); line-height: 1.55; word-break: auto-phrase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--canvas-cool); font-family: var(--font); font-weight: 800; font-size: var(--fs-15); color: var(--violet-ink); }
.faq summary .pm { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--canvas-cool); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: var(--r-xs); background: var(--ink); transition: transform var(--dur-base) var(--ease-std); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq .a { padding: 0 20px 18px 68px; color: var(--ink-2); font-size: var(--fs-15); line-height: 1.9; }
.faq .a p { max-width: 40em; }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- 15. 最後の誘い（ロゴと同じ世界の空） ---------- */
.finale { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #b9e4f6 0%, #d8f1fb 55%, #eef9fd 100%); }
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cloud-lane { position: absolute; left: 0; display: flex; width: max-content; animation: drift linear infinite; }
.lane-1 { top: 8%; gap: 18vw; animation-duration: 90s; }
.lane-2 { bottom: 4%; gap: 26vw; animation-duration: 120s; animation-direction: reverse; }
.cloud { width: clamp(110px, 12vw, 190px); height: auto; aspect-ratio: 2 / 1; }
.lane-2 .cloud { width: clamp(150px, 16vw, 260px); }
.c-pink { color: #f6aec6; } .c-teal { color: #8ed4c6; } .c-yellow { color: #ffd978; } .c-blue { color: #86c8ee; } .c-white { color: #ffffff; }
.lane-1 .cloud:nth-child(2n) { margin-top: 70px; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* 隅にかかる虹（絵の具の6色） */
.sky-rainbow { position: absolute; right: -18%; bottom: -58%; width: 66%; aspect-ratio: 1; border-radius: 50%; opacity: 0.42;
  background: radial-gradient(circle, transparent 0 60%, #9933ff 60% 62%, #3366ff 62% 64%, #00cc88 64% 66%, #ffcc00 66% 68%, #ff6633 68% 70%, #ff3366 70% 72%, transparent 72%); }
.sky-mascot { position: absolute; left: max(2%, calc(50% - 640px)); top: 50%; width: clamp(200px, 22vw, 300px); translate: 0 -50%; filter: drop-shadow(0 14px 24px rgba(40, 80, 120, 0.22)); animation: bob 5s ease-in-out infinite; }
.finale.is-paused .cloud-lane, .finale.is-paused .sky-mascot { animation-play-state: paused; }
.finale .wrap { position: relative; display: flex; justify-content: flex-end; padding-block: clamp(88px, 9vw, 150px); }
.finale-card {
  width: min(520px, 100%); padding: clamp(28px, 3vw, 44px); container-type: inline-size;
  border-radius: var(--r-xl); background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 30px 70px rgba(40, 80, 120, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}
.finale h2 { font-size: var(--fs-h2); line-height: 1.25; font-weight: 900; letter-spacing: 0; }
.finale h2 .line { display: block; white-space: nowrap; }
.finale-card > p { margin: var(--s4) 0 0; font-size: var(--fs-16); color: var(--ink-2); }
.finale .hero-cta { margin-top: var(--s6); }
.finale-mail { margin: 6px 0 0; font-size: var(--fs-15); color: var(--ink-2); }
.finale-mail a { font-weight: 700; color: var(--ink); }
.sky-toggle { position: absolute; right: var(--gutter); bottom: 18px; z-index: 2; }

/* ---------- 16. フッター ---------- */
.site-footer { background: var(--night); color: var(--night-ink-2); padding: clamp(56px, 6vw, 88px) 0 40px; font-size: var(--fs-15); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.site-footer .brand { color: var(--night-ink); }
.site-footer .brand-mark { box-shadow: none; }
.foot-about { margin: 14px 0 0; max-width: 26em; line-height: 1.85; }
.foot-about + .foot-about { margin-top: 4px; }
.foot-col h2 { font-size: var(--fs-13); letter-spacing: 0.12em; color: var(--night-ink); margin-bottom: 12px; font-weight: 800; }
.foot-col ul { display: grid; gap: 2px; }
.foot-col a { color: var(--night-ink-2); text-decoration: none; display: inline-block; padding: 6px 0; }
.foot-col a:hover { color: var(--night-ink); text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: var(--fs-13); }

/* ---------- 17. 文書ページ（特定商取引法・プライバシー・お問い合わせ） ---------- */
.doc-hero { position: relative; margin-top: -69px; padding: calc(69px + clamp(44px, 5vw, 80px)) 0 clamp(28px, 3vw, 44px); overflow: hidden; isolation: isolate; }
.doc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 70% at 0% 0%, rgba(255, 51, 102, 0.08), transparent 70%), radial-gradient(40% 80% at 100% 0%, rgba(51, 102, 255, 0.08), transparent 70%); }
.doc-hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.875rem); font-weight: 900; }
.doc-hero p { margin: var(--s4) 0 0; color: var(--ink-2); max-width: 40em; word-break: auto-phrase; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: var(--fs-13); color: var(--ink-2); margin-bottom: var(--s5); }
.crumbs a { color: var(--ink-2); }
.doc { padding-bottom: clamp(72px, 8vw, 120px); }
.doc-table { width: 100%; max-width: 860px; border-collapse: separate; border-spacing: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: var(--fs-15); line-height: 1.85; }
.doc-table tr:last-child th, .doc-table tr:last-child td { border-bottom: 0; }
.doc-table th { width: 15em; background: var(--canvas-warm); font-weight: 800; color: var(--ink); }
.doc-table td ul { padding-left: 1.2em; list-style: disc; }
.doc-table td ul li + li { margin-top: 4px; }
.doc-table .tbl-price { display: grid; grid-template-columns: auto auto 1fr; gap: 4px 18px; align-items: baseline; }
.doc-table .tbl-price b { font-variant-numeric: tabular-nums; }
.doc-table .sub { color: var(--ink-2); font-size: var(--fs-14); }
.doc-table .tax-note { margin: 12px 0 0; padding-left: 1.2em; list-style: disc; color: var(--ink-2); font-size: var(--fs-15); }
.doc-table .tax-note li + li { margin-top: 2px; }
.doc-meta { margin-top: var(--s6); color: var(--ink-2); font-size: var(--fs-13); }
.doc-body { max-width: 40em; }
.doc-body h2 { font-size: var(--fs-20); margin: var(--s12) 0 var(--s4); display: flex; align-items: center; gap: 12px; }
.doc-body h2::before { content: ""; width: 6px; height: 22px; border-radius: var(--r-xs); background: var(--rainbow); flex-shrink: 0; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p, .doc-body li { color: var(--ink); font-size: var(--fs-16); line-height: 1.95; }
.doc-body ul { padding-left: 1.3em; margin: 0 0 1em; list-style: disc; }
/* 利用規約（/terms）：本文の列と、右に追いかける目次 */
.terms-layout { display: grid; grid-template-columns: minmax(0, 40em) 252px; justify-content: space-between; gap: 48px; align-items: start; }
.terms-toc { order: 2; position: sticky; top: 92px; padding: 18px 18px 14px; border-radius: var(--r-lg); background: var(--canvas-warm); box-shadow: inset 0 0 0 1px var(--line); }
.toc-title { margin: 0 0 8px; font-size: var(--fs-13); font-weight: 800; letter-spacing: 0.12em; color: var(--ink-2); }
.toc { display: grid; gap: 2px; }
.toc a { display: flex; gap: 8px; align-items: baseline; padding: 5px 8px; margin-inline: -8px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: var(--fs-13); line-height: 1.5; }
.toc a:hover { background: #fff; }
.toc b { flex-shrink: 0; font-weight: 800; }
.toc span { color: var(--ink-2); font-weight: 700; word-break: auto-phrase; text-wrap: pretty; }
.terms h2 { scroll-margin-top: 92px; }
@media (max-width: 1080px) {
  .terms-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .terms-toc { order: 0; position: static; }
  .toc { grid-template-columns: repeat(auto-fill, minmax(5.2em, 1fr)); gap: 6px; }
  .toc a { justify-content: center; margin: 0; padding: 6px 4px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .toc span { display: none; }
}
/* 利用規約（/terms）：条ごとの番号つきの項 */
.terms ol { padding-left: 1.6em; margin: 0 0 1em; list-style: decimal; }
.terms ol li + li { margin-top: 6px; }

/* お問い合わせ：アドレスと、送る文面（コピーできる） */
.mail-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: var(--s6); padding: 16px 20px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); max-width: 760px; }
.mail-bar .addr { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font); font-weight: 800; font-size: var(--fs-20); color: var(--ink); word-break: break-all; }
.mail-bar .addr .ic { color: var(--rose-ink); }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-full); cursor: pointer; background: var(--ink); color: #fff; font-size: var(--fs-14); font-weight: 700; white-space: nowrap; transition: transform var(--dur-fast) var(--ease-std), background-color var(--dur-fast) var(--ease-std); }
.copy-btn:hover { transform: translateY(-1px); }
.copy-btn .ic { width: 16px; height: 16px; }
.copy-btn.is-done { background: var(--emerald-ink); }
.copy-btn.light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.copy-btn.light.is-done { background: var(--emerald-ink); color: #fff; box-shadow: none; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.c-card { scroll-margin-top: 96px; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); padding: clamp(22px, 2.4vw, 30px); transition: box-shadow var(--dur-slow) var(--ease-std); }
.c-card.is-target { box-shadow: inset 0 0 0 2px var(--cobalt), var(--shadow-3); }
.c-card h2 { font-size: var(--fs-20); }
.c-card > p { margin: 8px 0 0; color: var(--ink-2); font-size: var(--fs-15); word-break: auto-phrase; }
.plan-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 14px; padding: 5px; border-radius: var(--r-md); background: var(--canvas-cool); }
.plan-seg button { min-height: 40px; border: 0; border-radius: var(--r-sm); background: transparent; cursor: pointer; font-size: var(--fs-14); font-weight: 800; color: var(--ink-2); }
.plan-seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.tpl { margin-top: 14px; display: grid; gap: 8px; }
.tpl-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--fs-13); font-weight: 700; color: var(--ink-2); }
.tpl-box { margin: 0; padding: 12px 14px; border-radius: var(--r-md); background: var(--canvas-warm); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font); font-size: var(--fs-15); line-height: 1.85; white-space: pre-wrap; word-break: break-word; }
/* 申し込みの近くの利用規約の案内：ボタンと一緒にカードの下へ寄せる */
.apply-terms { margin: auto 0 0; padding-top: 16px; font-size: var(--fs-14); color: var(--ink-2); }
.apply-terms + .actions { margin-top: 0; padding-top: 10px; }
.c-card .actions { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.c-card .actions a { font-size: var(--fs-14); font-weight: 700; }
.contact-list { display: grid; }
.contact-list li { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-15); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { color: var(--ink-2); font-weight: 700; }
.contact-list b { font-weight: 700; }
.operator { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.operator > div { border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: clamp(20px, 2.2vw, 28px); }
.operator h2 { font-size: var(--fs-16); margin-bottom: 6px; }
.contact-note { margin: 0; font-size: var(--fs-15); color: var(--ink-2); }
.contact-note + .contact-note { margin-top: 8px; }
.copy-status { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 90; padding: 10px 18px; border-radius: var(--r-full); background: var(--ink); color: #fff; font-size: var(--fs-15); font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std); pointer-events: none; }
.copy-status.show { opacity: 1; transform: none; }

/* 404 */
.lost { text-align: center; padding-bottom: 120px; }
.lost img { width: 240px; margin: 0 auto 8px; animation: bob 5s ease-in-out infinite; }

/* ---------- 18. 出てくる動き ---------- */
.reveal.motion-ready { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.motion-ready.in { opacity: 1; transform: none; }

/* 隠し遊び：ロゴのユニコーンをダブルクリックすると、ステッカーのユニコーンが虹を残して走る */
.unicorn-runner { position: fixed; z-index: 9999; width: 150px; pointer-events: none; animation: unicorn-run 4s ease-in-out forwards; }
@keyframes unicorn-run { 0% { left: calc(100% + 20px); top: 40%; } 50% { top: 34%; } 100% { left: -180px; top: 42%; } }
.rainbow-dot { position: fixed; z-index: 9998; border-radius: 50%; pointer-events: none; animation: dot-fade 1s ease-out forwards; }
@keyframes dot-fade { from { opacity: 0.8; } to { opacity: 0; transform: scale(0.4); } }

/* ---------- 19. 画面の幅ごとの組み替え ---------- */
@media (max-width: 1180px) {
  .studio-body { grid-template-columns: minmax(0, 212px) minmax(0, 1fr); }
  .studio-panel { padding: 16px; gap: 12px; }
  .t-logo, .t-more { grid-column: span 12; }
  .t-logo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-rows: auto auto 1fr; column-gap: 32px; }
  .t-logo > .tile-tag, .t-logo > h3, .t-logo > p { grid-column: 1; }
  .t-logo > .tile-tag { justify-self: start; }
  .t-logo .stamp-demo { grid-column: 2; grid-row: 1 / 4; margin: 0; padding: 0; }
  .more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-common { grid-template-columns: repeat(2, minmax(0, auto)); }
}
@media (max-width: 1080px) {
  .hero-lead { font-size: var(--fs-16); }
  .offer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contact-cards { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .lb-inner { grid-template-columns: minmax(0, 1fr) 280px; }
}
/* ここから1列（ヒーロー・料金・機能） */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "studio" "actions"; grid-template-rows: auto; }
  .hero-copy { padding-top: 0; }
  .hero-studio { margin-top: 72px; }
  .hero-actions .hero-cta { margin-top: var(--s6); }
  .studio-mascot { width: 140px; right: -6px; top: -66px; }
  .section-head.split { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .section-head.split .section-lead { margin-top: var(--s4); }
  .cmp-row { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .cmp-label { display: flex; align-items: baseline; gap: 12px; }
  .cmp-label small { margin-top: 0; }
  .cmp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp-note { text-align: left; }
  .offer-grid { grid-template-columns: minmax(0, 1fr); }
  .offer-visual { max-width: 560px; }
  .t-company, .t-models { grid-column: span 12; }
  .t-logo { display: flex; }
  .t-logo .stamp-demo { padding-top: var(--s6); }
  .more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-remix .tile-head { grid-template-columns: minmax(0, 1fr); }
  /* 料金：横へ送るカード（1枚＋隣が少し見える） */
  .plans { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 min(82%, 400px); scroll-snap-align: center; }
  .plan-common { grid-template-columns: minmax(0, 1fr); justify-content: stretch; }
  .price-notes { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .flow::before { display: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .lb-inner { grid-template-columns: minmax(0, 1fr); max-height: 92vh; overflow: auto; }
  .lb-side { border-left: 0; border-top: 1px solid var(--line); padding: 20px 22px 26px; }
  .lb-media { padding: 14px 56px; }
  .lb-media img { max-height: 58vh; }
  .finale .wrap { justify-content: center; padding-top: 210px; }
  .sky-mascot { left: 50%; top: 110px; translate: -50% -50%; width: 200px; }
  .operator { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .nav a:not(.btn):not(.nav-keep) { display: none; }
  .brand-name { font-size: var(--fs-16); }
  .hero-lead { font-size: var(--fs-16); }
  .studio-body { grid-template-columns: minmax(0, 1fr); }
  .studio-panel { order: 2; border-right: 0; border-top: 1px solid var(--line); }
  .studio-stage { order: 1; padding: 16px; }
  .stage-box { height: clamp(240px, 70vw, 320px); }
  .field-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .field-row .field-value { padding: 6px 10px; min-height: 36px; font-size: var(--fs-14); }
  .gen-btn { display: none; }
  .doc-table th, .doc-table td { display: block; width: 100%; }
  .doc-table th { border-bottom: 0; padding-bottom: 4px; background: transparent; color: var(--ink-2); font-size: var(--fs-13); letter-spacing: 0.04em; }
  .doc-table td { padding-top: 0; }
  .doc-table tr { display: block; border-bottom: 1px solid var(--line); }
  .doc-table tr:last-child { border-bottom: 0; }
  .doc-table th, .doc-table td { border-bottom: 0; }
  .doc-table .tbl-price { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
  .doc-table .tbl-price .sub { grid-column: 1 / -1; margin-bottom: 10px; }
  .doc-table .tbl-price b { text-align: right; }
}
@media (max-width: 560px) {
  :root { --section-y: 72px; }
  .site-header .wrap { gap: var(--s3); }
  .nav .btn { margin-left: 0; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-lead { font-size: var(--fs-15); }
  .studio-mascot { width: 118px; right: -4px; top: -60px; }
  .studio-bar { height: 42px; }
  .job-chip { padding: 6px 11px; }
  .fixed-chips li { font-size: var(--fs-13); padding: 6px 12px; }
  .cmp-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px var(--gutter) 14px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
  .cmp-grid::-webkit-scrollbar { display: none; }
  .cmp-grid li { flex: 0 0 42%; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .cmp-row { padding-block: var(--s4); }
  .justified { gap: 10px; }
  .ratio-groups li { flex-wrap: wrap; justify-content: center; }
  .offer-visual { grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr); }
  .offer-arrow { display: none; }
  .offer-mail { padding: 16px; }
  .remix-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .remix-row li:first-child { grid-column: 1 / -1; }
  .remix-text { font-size: var(--fs-13); padding: 2px 8px; }
  .ai-row { gap: 10px; }
  .more { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .flow::before { display: block; left: 21px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; background: linear-gradient(180deg, var(--rose), var(--yellow), var(--emerald), var(--cobalt)); transform: none; }
  .flow li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; }
  .flow .num { width: 44px; height: 44px; font-size: var(--fs-16); grid-row: 1 / 4; }
  .flow h3 { margin: 8px 0 4px; font-size: var(--fs-16); }
  .flow .meta { justify-self: start; margin-top: 8px; }
  .faq .a { padding-left: 20px; }
  .faq summary { grid-template-columns: 30px 1fr 26px; gap: 12px; padding: 14px 16px; font-size: var(--fs-15); }
  .faq summary .q { width: 30px; height: 30px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
  .foot-col a { font-size: var(--fs-14); }
  .contact-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .lb-media { padding: 12px 50px; }
  .lb-nav { width: 40px; height: 40px; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
}

/* 動きを減らす設定の人には、動きを止めて最後の姿を見せる */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal.motion-ready { opacity: 1; transform: none; }
  .cloud-lane, .sky-mascot, .studio-mascot, .lost img { animation: none !important; }
}
@media print {
  .site-header, .sky, .media-toggle { display: none !important; }
  .reveal.motion-ready { opacity: 1; transform: none; }
}
