/* AI動画レシピ図鑑（見本） */
:root {
  --bg: #f6f4ef;
  --paper: #fffdf9;
  --ink: #23211d;
  --sub: #6a655c;
  --faint: #9a948a;
  --line: #e3ded4;
  --line-strong: #cfc8bb;
  --accent: #2e5b57;
  --accent-soft: #e3eeea;
  --open: #2e5b57;
  --open-bg: #e3eeea;
  --try: #8a5a12;
  --try-bg: #f7ead0;
  --soon: #9a948a;
  --radius: 10px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  font-feature-settings: "palt" 0;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}
h1, h2, h3 {
  font-feature-settings: "palt" 1;
  letter-spacing: 0.04em;
  line-height: 1.5;
  font-weight: 700;
}
a { color: var(--accent); text-underline-offset: 0.2em; }
img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* 見本の帯 */
.draft-bar {
  background: var(--ink);
  color: #f1ede4;
  font-size: 12px;
  text-align: center;
  padding: 6px 12px;
  letter-spacing: 0.08em;
}

/* 頭 */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 60px;
}
.logo {
  font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none;
  letter-spacing: 0.08em; font-feature-settings: "palt" 1;
}
.logo small { display: block; font-size: 11px; font-weight: 400; color: var(--sub); letter-spacing: 0.06em; }
.head-link {
  font-size: 13px; color: var(--ink); text-decoration: none;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 14px; white-space: nowrap;
}

/* 最初の段 */
.hero { padding: 44px 0 20px; }
.hero h1 { font-size: clamp(24px, 5.4vw, 34px); margin: 0 0 12px; }
.hero p { margin: 0; color: var(--sub); max-width: 40em; }
.hero .meta { margin-top: 14px; font-size: 13px; color: var(--faint); }

/* 凡例 */
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--sub); }
.legend li { display: flex; align-items: center; gap: 7px; }
.chip-state {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 1px 8px; border-radius: 4px; line-height: 1.7; white-space: nowrap;
}
.s-open { background: var(--open-bg); color: var(--open); }
.s-try { background: var(--try-bg); color: var(--try); }
.s-soon { background: transparent; color: var(--soon); border: 1px dashed var(--line-strong); }

/* 絞り込み */
.filters { margin: 28px 0 14px; display: grid; gap: 10px; }
.filters > * { min-width: 0; }
.filter-row { display: flex; min-width: 0; align-items: baseline; gap: 12px; }
.filter-label { flex: 0 0 4.5em; font-size: 12px; color: var(--sub); letter-spacing: 0.1em; }
.chips {
  display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; min-width: 0; flex: 1 1 auto;
}
.chips::-webkit-scrollbar { display: none; }
.chips button {
  font: inherit; font-size: 13px; letter-spacing: 0.03em;
  white-space: nowrap; cursor: pointer;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 5px 13px; line-height: 1.5;
}
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.count { font-size: 13px; color: var(--sub); margin: 0 0 10px; }
.scroll-hint { display: none; font-size: 12px; color: var(--faint); }

/* 表 */
.matrix-box {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
table.matrix { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 760px; }
.matrix th, .matrix td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); vertical-align: top; }
.matrix tr:last-child th, .matrix tr:last-child td { border-bottom: 0; }
.matrix th:last-child, .matrix td:last-child { border-right: 0; }
.matrix thead th {
  font-size: 13px; text-align: left; padding: 12px 12px 10px; background: var(--paper);
  font-weight: 700; letter-spacing: 0.04em; line-height: 1.4;
}
.matrix thead th .cost { display: block; font-weight: 400; font-size: 11px; color: var(--faint); margin-top: 3px; letter-spacing: 0.02em; }
.matrix th.genre {
  position: sticky; left: 0; z-index: 1;
  background: var(--paper);
  text-align: left; font-size: 13px; font-weight: 700; padding: 12px;
  width: 9.5em; min-width: 9.5em; line-height: 1.55;
  font-feature-settings: "palt" 1;
}
.matrix thead th.corner { position: sticky; left: 0; z-index: 2; font-size: 11px; color: var(--faint); font-weight: 400; }
.matrix td { padding: 6px; min-width: 7.4em; }

.cell {
  display: flex; flex-direction: column; gap: 4px; height: 100%; min-height: 78px;
  padding: 9px 10px; border-radius: 7px; text-decoration: none; color: var(--ink);
  font-size: 12px; line-height: 1.5;
  transition: background .15s, opacity .15s;
}
.cell .t { font-weight: 700; font-size: 12.5px; }
.cell .d { color: var(--sub); font-size: 11px; }
.cell.open { background: var(--open-bg); }
.cell.try { background: var(--try-bg); }
.cell.soon { color: var(--faint); border: 1px dashed var(--line); }
.cell.soon .chip-state { border: 0; padding: 0; }
a.cell:hover { filter: brightness(0.97); }
a.cell:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.matrix td.empty { background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(0,0,0,0.018) 8px 16px); }
.cell.dim { opacity: 0.25; }
.cell .go { margin-top: auto; font-size: 11px; color: var(--accent); }
.cell.try .go { color: var(--try); }

.hidden { display: none !important; }

/* 段 */
.section { padding: 48px 0 8px; }
.section h2 { font-size: 20px; margin: 0 0 16px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps li {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 16px; font-size: 14px; color: var(--sub); counter-increment: st;
}
.steps li b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.steps li b::before { content: counter(st) "．"; color: var(--accent); }

/* 会員の案内 */
.member {
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 28px 24px; margin: 8px 0 0;
}
.member h2, .member h3 { margin: 0 0 6px; font-size: 20px; }
.member .lead { color: var(--sub); margin: 0 0 18px; font-size: 14px; }
.price { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.price > div { flex: 1 1 160px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.price .n { font-size: 24px; font-weight: 700; letter-spacing: 0.02em; font-feature-settings: "palt" 1; }
.price .n small { font-size: 13px; font-weight: 400; color: var(--sub); }
.price .note { font-size: 12px; color: var(--sub); }
.member ul { margin: 0 0 20px; padding-left: 1.2em; font-size: 14px; }
.member li { margin: 2px 0; }
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  background: var(--accent); color: #fff; font-weight: 700; letter-spacing: 0.06em;
  border-radius: 999px; padding: 12px 28px; font-size: 15px;
}
.btn:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.member .small { font-size: 12px; color: var(--faint); margin: 12px 0 0; }

.kari { color: #a0452e; font-size: 0.82em; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }

.site-foot { margin-top: 64px; padding: 26px 0 40px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.site-foot p { margin: 2px 0; }

/* ===== レシピのページ ===== */
.crumb { font-size: 12px; color: var(--sub); margin: 22px 0 0; }
.crumb a { color: var(--sub); }
.r-title { margin: 10px 0 8px; font-size: clamp(22px, 5vw, 30px); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.tag { font-size: 12px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 1px 8px; color: var(--sub); }

.video {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.025) 0 12px, transparent 12px 24px),
    #e9e5dc;
  border-radius: var(--radius); border: 1px solid var(--line);
  display: grid; place-items: center; text-align: center; color: var(--sub);
}
.video .in b { display: block; font-size: 15px; color: var(--ink); letter-spacing: 0.1em; }
.video .in span { font-size: 12px; }
.video .play {
  width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  margin: 0 auto 10px; position: relative;
}
.video .play::after {
  content: ""; position: absolute; left: 21px; top: 16px;
  border-left: 16px solid var(--line-strong); border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.one-line { font-size: 17px; font-weight: 700; margin: 22px 0 0; line-height: 1.7; font-feature-settings: "palt" 1; }

.r-sec { margin: 40px 0 0; }
.r-sec h2 {
  font-size: 17px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.r-sec h2 .lock { font-size: 11px; font-weight: 700; color: var(--sub); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 7px; white-space: nowrap; letter-spacing: 0.06em; }
.r-sec p { margin: 0 0 10px; }

dl.facts { display: grid; grid-template-columns: 7.5em 1fr; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
dl.facts dt, dl.facts dd { padding: 11px 14px; border-bottom: 1px solid var(--line); margin: 0; font-size: 14px; }
dl.facts dt { color: var(--sub); background: #faf8f3; font-size: 13px; }
dl.facts dt:nth-last-of-type(1), dl.facts dd:last-of-type { border-bottom: 0; }

.prompt {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin: 0 0 12px;
}
.prompt .p-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12px; color: var(--sub); margin-bottom: 8px; }
.prompt .p-head b { color: var(--ink); font-size: 13px; }
.prompt pre {
  margin: 0; white-space: pre-wrap; word-break: break-word;
  font-family: var(--mono); font-size: 13px; line-height: 1.75; letter-spacing: 0;
  background: #f5f2eb; border-radius: 6px; padding: 12px 14px;
}
.prompt .ja { font-size: 13px; color: var(--sub); margin: 8px 0 0; }
.copy {
  font: inherit; font-size: 12px; cursor: pointer; background: transparent;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; color: var(--ink);
}

/* ぼかし（中身はダミー。本物は会員側にだけ置く） */
.locked { position: relative; border-radius: var(--radius); overflow: hidden; }
.locked .blur { filter: blur(5px); user-select: none; pointer-events: none; opacity: 0.75; }
.locked .gate {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: linear-gradient(to bottom, rgba(246,244,239,0.2), rgba(246,244,239,0.92) 55%);
  padding: 20px;
}
.locked .gate p { margin: 0 0 12px; font-size: 14px; font-weight: 700; }
.locked .gate .sub { font-weight: 400; font-size: 12px; color: var(--sub); margin: -6px 0 12px; }

table.cuts { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 13px; }
.cuts th, .cuts td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.65; }
.cuts th { font-size: 12px; color: var(--sub); font-weight: 400; background: #faf8f3; white-space: nowrap; }
.cuts td:first-child, .cuts td:nth-child(2) { white-space: nowrap; color: var(--sub); }
.cuts tr:last-child td { border-bottom: 0; }

.checked { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; background: var(--accent-soft); border-radius: var(--radius); padding: 14px 16px; font-size: 14px; }
.checked b { font-size: 16px; }

ol.how { margin: 0; padding-left: 1.4em; }
ol.how li { margin: 0 0 10px; }
ul.trip { margin: 0; padding-left: 1.2em; }
ul.trip li { margin: 0 0 10px; }
ul.trip li b { display: block; }

.try-banner { background: var(--try-bg); color: #5c3c0a; border-radius: var(--radius); padding: 12px 16px; font-size: 14px; margin: 0 0 18px; }
.try-banner b { color: var(--try); }

.sticky-cta { display: none; }

/* スマホ */
@media (max-width: 720px) {
  body { font-size: 15px; line-height: 1.8; }
  .wrap { padding: 0 16px; }
  .hero { padding: 30px 0 10px; }
  .scroll-hint { display: inline; }
  .matrix th.genre { width: 7.2em; min-width: 7.2em; font-size: 12px; padding: 10px 8px; }
  table.matrix { min-width: 0; }
  .matrix td { min-width: 6.6em; padding: 4px; }
  .cell { min-height: 70px; padding: 7px 8px; }
  .steps { grid-template-columns: 1fr; }
  .member { padding: 22px 18px; }
  .btn { display: block; }
  dl.facts { grid-template-columns: 7.2em 1fr; }
  dl.facts dt, dl.facts dd { padding: 10px 12px; }
  .head-link { font-size: 12px; padding: 4px 11px; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,253,249,0.96); border-top: 1px solid var(--line);
  }
  .has-sticky { padding-bottom: 80px; }
}

/* 共通の帯（どのレシピもFable 5.2＋無料ソフト） */
.common {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  background: var(--paper); border: 1px solid var(--line-strong); border-left: 4px solid var(--accent);
  border-radius: 8px; padding: 12px 16px; margin: 18px 0 0; font-size: 14px;
}
.common b { font-size: 15px; letter-spacing: 0.04em; }
.common span { color: var(--sub); font-size: 13px; }

code { font-family: var(--mono); font-size: 0.86em; background: #efebe2; border-radius: 4px; padding: 1px 6px; letter-spacing: 0; word-break: break-all; }
.copy { white-space: nowrap; flex-shrink: 0; }
/* ソフトが8列あるので、パソコンでも1画面に収める */
@media (min-width: 721px) {
  .matrix th.genre { width: 8.6em; min-width: 8.6em; }
  .matrix td { min-width: 0; width: 9%; }
  .cell { padding: 8px 8px; }
}

/* 長編（設計図つき）の行 */
.s-plan { background: #e6e8f2; color: #3a4373; align-self: flex-start; }
.long-tag { display: block; width: max-content; margin-top: 4px; font-size: 10px; font-weight: 700; color: #3a4373; background: #e6e8f2; border-radius: 4px; padding: 0 6px; letter-spacing: 0.06em; }
.matrix tr.long th.genre { background: #f7f7fb; }

/* 設計図（流れ図） */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: fl; }
.flow li {
  position: relative; counter-increment: fl;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px 12px 52px; font-size: 14px; color: var(--sub); margin-bottom: 22px;
}
.flow li:last-child { margin-bottom: 0; }
.flow li::before {
  content: counter(fl); position: absolute; left: 14px; top: 12px;
  width: 26px; height: 26px; border-radius: 50%; background: #3a4373; color: #fff;
  font-size: 13px; font-weight: 700; display: grid; place-items: center; letter-spacing: 0;
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; left: 26px; bottom: -19px;
  border-top: 9px solid var(--line-strong); border-left: 6px solid transparent; border-right: 6px solid transparent;
}
.flow li b { display: block; color: var(--ink); font-size: 15px; }
.flow li .tool { display: inline-block; font-size: 11px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 6px; margin: 4px 4px 0 0; color: var(--sub); }
.note-box { background: #fbf3ee; border: 1px solid #ecd6c8; border-radius: var(--radius); padding: 14px 16px; font-size: 14px; }
.note-box ul { margin: 6px 0 0; padding-left: 1.2em; }
.note-box li { margin: 0 0 6px; }
/* 列見出しは英単語の途中で折らない */
.matrix thead th { overflow-wrap: normal; word-break: keep-all; }
.matrix thead th .cost { word-break: normal; overflow-wrap: anywhere; }
@media (min-width: 721px) {
  .matrix thead th { font-size: 12px; padding: 10px 8px 8px; }
  .matrix th.genre { width: 8em; min-width: 8em; }
  .matrix td { padding: 5px 4px; }
}

/* スキル */
.skill-mark { font-size: 10px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; }
.skill-mark::before { content: "↓ "; }
.common .common-skill { flex-basis: 100%; color: var(--ink); font-size: 13px; }
.quick { margin: 18px 0 0; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 14px; padding: 18px 18px 8px; }
.quick h2 { font-size: 16px; margin: 0 0 12px; }
.quick ol { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.quick li { counter-increment: q; position: relative; padding: 0 0 14px 40px; font-size: 14px; }
.quick li::before {
  content: counter(q); position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: 0;
}
.quick li b { display: block; margin-bottom: 6px; }
.quick .dl { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; font-size: 14px; }
.quick .dl small { font-weight: 400; font-size: 11px; opacity: 0.85; }
.quick .dl[aria-disabled="true"] { background: var(--line-strong); color: #fff; pointer-events: none; }
.quick .members-only { display: block; font-size: 12px; color: var(--sub); margin-top: 6px; }
.quick .one { display: flex; gap: 8px; align-items: flex-start; background: #f5f2eb; border-radius: 6px; padding: 10px 12px; font-size: 14px; }
.quick .one span { flex: 1; }

/* 縦長の完成動画 */
.video-v { width: 100%; max-width: 360px; margin: 0 auto; aspect-ratio: 9 / 16; background: #0b1437; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.video-v video { width: 100%; height: 100%; display: block; object-fit: contain; background: #0b1437; }

/* ===== 12/02 作り直し：レシピの1画面（動画 → アプリ → 準備物 → プロンプト → できあがり） ===== */
.rx { padding: 14px 0 0; }
.rx-name { font-size: 15px; font-weight: 700; margin: 0 0 10px; text-align: center; color: var(--sub); line-height: 1.5; }
.rx .video-v { width: min(100%, calc(56svh * 9 / 16)); max-width: 380px; }
.rx-row { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 0; }
.rx-label { font-size: 13px; font-weight: 700; color: var(--sub); letter-spacing: 0.06em; white-space: nowrap; }
.rx-block { margin: 14px auto 0; max-width: 520px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 14px; padding: 14px 16px; }
.rx-block .rx-label { display: block; margin-bottom: 8px; }
.rx-block .btn { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; padding: 12px 16px; font-size: 16px; }
.rx-block .btn small { font-weight: 400; font-size: 12px; opacity: 0.85; }
.rx-block .where { font-size: 12px; color: var(--sub); margin: 8px 0 0; }
.rx-prompt { display: flex; gap: 10px; align-items: center; background: #f5f2eb; border-radius: 10px; padding: 12px 14px; }
.rx-prompt span { flex: 1; min-width: 0; font-size: 19px; font-weight: 700; line-height: 1.55; font-feature-settings: "palt" 1; }
.rx-prompt .copy { font-size: 14px; padding: 6px 14px; background: var(--accent); color: #fff; border-color: var(--accent); }
.rx-done { text-align: center; margin: 16px 0 0; font-size: 18px; font-weight: 700; }
.rx-done b { font-size: 26px; color: var(--accent); }
.rx-done small { display: block; font-size: 12px; font-weight: 400; color: var(--sub); }

/* アプリのタイル（公式ロゴは使わない：頭文字と色だけ） */
.apps { display: inline-flex; align-items: flex-start; gap: 6px; flex-wrap: wrap; justify-content: center; }
.app { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; width: 64px; }
.app i { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 17px; color: #fff; letter-spacing: 0; box-shadow: 0 2px 6px rgba(0,0,0,0.12); }
.app span { font-size: 11px; line-height: 1.3; text-align: center; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
.plus { font-size: 20px; font-weight: 700; color: var(--faint); line-height: 46px; }
.apps.sm .app { width: 52px; }
.apps.sm .app i { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }
.apps.sm .app span { font-size: 10px; }
.apps.sm .plus { font-size: 15px; line-height: 34px; }
.a-fable { background: #c4673f; }
.a-remotion { background: #2563eb; }
.a-voicevox { background: #3fa45b; }
.a-blender { background: #e07b1a; }
.a-threejs { background: #222; }
.a-hyperframes { background: #7c3aed; }
.a-manim { background: #0e7490; }
.a-motioncanvas { background: #db2777; }
.a-ffmpeg { background: #4d7c0f; }
.a-claudecode { background: #57534e; }
.a-aquestalk { background: #b45309; }

/* くわしく（畳む） */
details.more { margin: 34px 0 0; border-top: 1px solid var(--line); }
details.more > summary { cursor: pointer; list-style: none; text-align: center; padding: 14px 0; font-weight: 700; color: var(--accent); }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: " ▼"; font-size: 12px; }
details.more[open] > summary::after { content: " ▲"; }

/* ===== 表紙：見本動画のカード ===== */
.g-sec { margin: 30px 0 0; }
.g-sec h2 { font-size: 17px; margin: 0 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.g-sec.hidden, .card.hidden { display: none; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--ink); text-decoration: none; min-width: 0; }
a.card:hover { border-color: var(--accent); }
.card .thumb { aspect-ratio: 9 / 16; max-height: 300px; width: 100%; object-fit: cover; background: #0b1437; display: block; }
.card .body { padding: 10px 12px 12px; display: grid; gap: 8px; }
.card .t { font-size: 15px; font-weight: 700; line-height: 1.5; font-feature-settings: "palt" 1; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.card .go { font-size: 12px; color: var(--accent); font-weight: 700; }
.card.soon { background: transparent; border-style: dashed; }
.card.soon .t { color: var(--sub); }
.card .apps { justify-content: flex-start; }
/* 1画面に収める詰め（スマホで動画からできあがりまで） */
.rx { padding: 8px 0 0; }
.rx-name { font-size: 13px; margin: 0 0 6px; }
.rx .video-v { width: min(100%, calc(40svh * 9 / 16)); }
.rx-row { margin: 10px 0 0; gap: 6px 10px; }
.rx-block { margin: 8px auto 0; padding: 10px 12px; }
.rx-block .rx-label { margin-bottom: 6px; }
.rx-block .btn { padding: 9px 14px; font-size: 15px; }
.rx-block .where { font-size: 11px; margin: 6px 0 0; line-height: 1.6; }
.rx-prompt { padding: 8px 10px; }
.rx-prompt span { font-size: 16px; }
.rx-done { margin: 8px 0 0; font-size: 16px; }
.rx-done b { font-size: 22px; }
@media (min-width: 721px) { .rx .video-v { width: min(100%, calc(52svh * 9 / 16)); } }
.rx-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx .app { width: 70px; }
.rx .app span { font-size: 10px; word-break: keep-all; overflow-wrap: normal; white-space: nowrap; }
.rx-row { flex-wrap: nowrap; }
.rx-block .where code { font-size: 11px; }
.rx .apps { flex-wrap: nowrap; gap: 2px; }
.rx .app { width: 62px; }
.rx .plus { font-size: 16px; }
.rx-row .rx-label { font-size: 12px; }
.rx .video-v { width: min(100%, calc(36svh * 9 / 16)); }
@media (min-width: 721px) { .rx .video-v { width: min(100%, calc(50svh * 9 / 16)); } }
.hero { padding: 26px 0 6px; }
.hero .common { padding: 8px 12px; }
.cards { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.card .thumb { max-height: none; }
.card .body { padding: 8px 10px 10px; gap: 6px; }
.card .t { font-size: 14px; }
.card .apps.sm { gap: 0; }
.card .apps.sm .app { width: 46px; }
.card .apps.sm .plus { font-size: 13px; }
@media (min-width: 721px) { .cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.card .apps.sm .app { width: auto; min-width: 38px; }
.card .apps.sm .app span { font-size: 9px; white-space: nowrap; overflow-wrap: normal; letter-spacing: 0; }
.card .apps.sm .plus { margin: 0 1px; }
.cards { align-items: start; }

/* 表紙 12/02 作り直し2：できた見本を大きく・準備中は一覧に */
.hero { padding: 32px 0 18px; }
.cards.top { grid-template-columns: repeat(2, minmax(0, 240px)); gap: 12px; align-items: stretch; }
@media (min-width: 721px) { .cards.top { grid-template-columns: repeat(auto-fill, minmax(220px, 260px)); gap: 18px; } }
.cards.top .card { box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.cards.top .body { gap: 7px; flex: 1; align-content: start; }
.cards.top .go { margin-top: auto; }
.thumb-box { position: relative; display: block; }
.thumb-box .len { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,0.65); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 99px; }
.badge { justify-self: start; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 99px; line-height: 1.8; }
.b-try { background: var(--try-bg); color: var(--try); }
.b-open { background: var(--open-bg); color: var(--open); }
.h-sub { font-size: 13px; font-weight: 400; color: var(--sub); margin-left: 10px; letter-spacing: 0.02em; }
.soon-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.soon-list li { border: 1px dashed var(--line-strong); border-radius: 8px; padding: 6px 12px; font-size: 13px; color: var(--sub); line-height: 1.6; }
.soon-list li b { font-weight: 700; color: var(--ink); }
.soon-list li span { display: block; font-size: 12px; color: var(--faint); }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 8px; } }
