/* ⚠ hidden を どの display 指定よりも優先（2026-10-11 点検: 拡大の画面の灰色の枠・作例のページの空の帯） */
[hidden]{display:none !important}
/* MEZAME（mezamestudio.jp）の見た目。⚠ 変えたら 全ページの site.css?v= を上げる（README） */

:root {
  --bg: #fbf8fd;
  --bg2: #f3edf9;
  --card: rgba(255, 255, 255, .78);
  --card-solid: #ffffff;
  --ink: #1d1a2e;
  --ink2: #5d5875;
  --ink3: #8a849e;
  --line: rgba(40, 30, 80, .10);
  --pink: #e7508b;
  --violet: #7b5cf0;
  --sky: #5aa6ff;
  --grad: linear-gradient(115deg, #ff7aa8 0%, #b07cff 52%, #6aa8ff 100%);
  --dawn: radial-gradient(1100px 620px at 85% -10%, rgba(255, 170, 200, .55), transparent 60%),
          radial-gradient(900px 600px at -10% 20%, rgba(170, 150, 255, .35), transparent 60%),
          radial-gradient(800px 500px at 60% 110%, rgba(140, 200, 255, .30), transparent 60%);
  --shadow: 0 18px 50px -20px rgba(60, 30, 120, .28);
  --radius: 22px;
  --wrap: 1160px;
  --gutter: 16px;
  --header-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0d1a;
    --bg2: #161327;
    --card: rgba(255, 255, 255, .06);
    --card-solid: #1b1830;
    --ink: #f4f1fb;
    --ink2: #bab4d0;
    --ink3: #8d87a6;
    --line: rgba(255, 255, 255, .10);
    --dawn: radial-gradient(1100px 620px at 85% -10%, rgba(231, 80, 139, .30), transparent 60%),
            radial-gradient(900px 600px at -10% 20%, rgba(123, 92, 240, .28), transparent 60%),
            radial-gradient(800px 500px at 60% 110%, rgba(90, 166, 255, .18), transparent 60%);
    --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0d1a;
  --bg2: #161327;
  --card: rgba(255, 255, 255, .06);
  --card-solid: #1b1830;
  --ink: #f4f1fb;
  --ink2: #bab4d0;
  --ink3: #8d87a6;
  --line: rgba(255, 255, 255, .10);
  --dawn: radial-gradient(1100px 620px at 85% -10%, rgba(231, 80, 139, .30), transparent 60%),
          radial-gradient(900px 600px at -10% 20%, rgba(123, 92, 240, .28), transparent 60%),
          radial-gradient(800px 500px at 60% 110%, rgba(90, 166, 255, .18), transparent 60%);
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
.en { font-family: "Outfit", "Noto Sans JP", sans-serif; letter-spacing: .14em; }
/* 韓国語版（2026-10-11 夜）: ハングルの字体・語の途中で折り返さない（keep-all） */
html[lang="ko"] body { font-family: "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; letter-spacing: 0; word-break: keep-all; overflow-wrap: break-word; }
html[lang="ko"] .en { font-family: "Outfit", "Noto Sans KR", sans-serif; letter-spacing: .14em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 10px; }
.logo-text { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 21px; letter-spacing: .18em; }
.logo-text small { display: block; font-size: 9.5px; font-weight: 500; letter-spacing: .32em; color: var(--ink3); margin-top: -4px; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink2); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--bg2); }
.nav .btn { margin-left: 8px; color: #fff; }
.nav .btn:hover { color: #fff; background: none; }
.nav a, .nav .btn { white-space: nowrap; }   /* 英語の「How it works」などを 2 行にしない */
@media (max-width: 1099px) { .nav { gap: 2px; } .nav a { padding: 8px 5px; font-size: 13.5px; } .nav .lang-sw a, .nav .lang-sw b { padding: 6px 2px; } .nav .btn { margin-left: 4px; padding-left: 12px; padding-right: 12px; } }   /* 3 言語の切り替えで 900px でも ロゴに重ならない（2026-10-11 夜 韓国語版） */
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); color: var(--ink); cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; transition: transform .25s; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 20px;
  display: none;
}
body.menu-open .mobile-nav { display: block; }
.mobile-nav a { display: block; padding: 14px 4px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 16px; width: 100%; border: 0; }
/* 日本語 / English の切り替え（2026-10-11 夜 英語版）*/
.lang-sw { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; color: var(--ink3); white-space: nowrap; }
.lang-sw b { font-weight: 600; color: var(--ink); padding: 6px 4px; }
.lang-sw i { font-style: normal; color: var(--ink3); }
.nav .lang-sw a { padding: 6px 6px; font-size: 13px; }
.lang-sw.m { display: flex; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; gap: 8px; }
.mobile-nav .lang-sw.m a { display: inline; padding: 0; border: 0; }
.lang-sw.f { font-size: 13px; }
.lang-mini { margin-left: auto; display: inline-flex; align-items: center; gap: 0; font-size: 13px; font-weight: 600; padding: 3px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); white-space: nowrap; }
.lang-mini a { text-decoration: none; color: var(--ink2); padding: 5px 6px; }
.lang-mini i { font-style: normal; color: var(--ink3); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
  .lang-mini { display: none; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  border-radius: 999px; border: 0;
  background: var(--grad); background-size: 160% 100%; background-position: 0% 0;
  color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .04em;
  box-shadow: 0 10px 28px -10px rgba(176, 80, 200, .65);
  transition: background-position .5s, transform .2s, box-shadow .2s;
  cursor: pointer; font-family: inherit;
}
.btn:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 14px 32px -10px rgba(176, 80, 200, .75); }
.btn.small { min-height: 40px; padding: 8px 18px; font-size: 13.5px; }
.btn.ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { background: var(--bg2); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; overflow: hidden; background: var(--dawn); padding: 28px 0 0; }
.hero .wrap { display: grid; gap: 8px; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 12px 0 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: var(--violet); }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }
.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(30px, 8.2vw, 54px);
  line-height: 1.3; font-weight: 800; letter-spacing: .02em;
}
.hero h1 .nb { display: inline-block; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--ink2); font-size: clamp(15px, 3.8vw, 17px); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--ink3); }
.hero-visual { position: relative; z-index: 1; display: flex; justify-content: center; }
.hero-glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; top: 6%; left: 11%; background: var(--grad); filter: blur(60px); opacity: .35; }
.hero-figure {
  position: relative; width: min(100%, 470px);
  transform-origin: 50% 100%;
  animation: breathe 5.2s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(#000 78%, transparent 100%);
  mask-image: linear-gradient(#000 78%, transparent 100%);
}
.hero-figure img { width: 100%; }
/* まばたき（閉じた目だけの絵を 一瞬だけ重ねる）。位置は scripts/make_images.py が出す値 */
.hero-figure .hero-blink {
  position: absolute; left: 37.971%; top: 25.155%; width: 23.931%;
  opacity: 0; animation: blink 6.4s infinite;
}
@keyframes blink {
  0%, 44% { opacity: 0; }
  45%, 47% { opacity: 1; }
  48%, 86% { opacity: 0; }
  87%, 88.6% { opacity: 1; }
  89.6%, 90.6% { opacity: 0; }
  91.4%, 93% { opacity: 1; }
  94%, 100% { opacity: 0; }
}
@keyframes breathe {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  30% { transform: translateY(-4px) rotate(.5deg) scale(1.006); }
  65% { transform: translateY(-1px) rotate(-.5deg) scale(1.003); }
}
.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none; }
.chip.c1 { left: 0; top: 18%; }
.chip.c2 { right: 0; top: 34%; animation-delay: -2s; }
.chip.c3 { left: 2%; top: 56%; animation-delay: -4s; }
.chip.c4 { right: 2%; top: 70%; animation-delay: -1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (min-width: 900px) {
  .hero { padding: 40px 0 0; }
  .hero .wrap { grid-template-columns: 1.08fr .92fr; gap: 24px; min-height: calc(100vh - var(--header-h) - 40px); max-height: 860px; }
  .hero-copy { padding: 40px 0 80px; }
  .chip { font-size: 13.5px; }
  .chip.c1 { left: -4%; }
  .chip.c2 { right: -4%; }
}

/* ---------- 節 ---------- */
.section { padding: 84px 0; position: relative; }
.section.alt { background: var(--bg2); }
.sec-head { margin-bottom: 40px; }
.sec-head.center { text-align: center; }
.sec-head .en { display: block; font-size: 13px; font-weight: 600; color: var(--violet); margin-bottom: 8px; }
.sec-head h2 { margin: 0; font-size: clamp(26px, 6vw, 38px); line-height: 1.4; font-weight: 800; letter-spacing: .03em; }
.sec-head p { margin: 14px 0 0; color: var(--ink2); }
.sec-head.center p { margin-left: auto; margin-right: auto; max-width: 40em; }
.more { margin-top: 32px; text-align: center; }
@media (min-width: 900px) { .section { padding: 120px 0; } .sec-head { margin-bottom: 56px; } }

/* カード */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.grid2 { display: grid; gap: 20px; }
.grid3 { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; gap: 24px; } .grid3 { grid-template-columns: repeat(3, 1fr); } }

/* 作るもの */
.service { position: relative; overflow: hidden; }
.service .num { font-family: "Outfit", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--pink); }
.service h3 { margin: 6px 0 4px; font-size: 24px; line-height: 1.45; }
.service .sub { color: var(--ink2); font-size: 14px; margin-bottom: 18px; }
.service dl { margin: 0; display: grid; gap: 12px; }
.service dt { font-size: 12px; font-weight: 700; color: var(--ink3); letter-spacing: .1em; }
.service dd { margin: 2px 0 0; font-size: 15px; }
.service::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--grad); opacity: .12; filter: blur(4px); }

/* 作例（7 枚・画像は 全部 600x1200 で 顔の大きさと高さを そろえてある＝ どのカードも 同じ倍率で見せる） */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .works-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
/* 大きいカード（.wide＝ build_pages.py の WIDE）は 2 マス分。体の数＋大きい数＝ 12 マス → スマホ 2 列で 6 段／4 列で 3 段＝ 余りが出ない（10-12 は 8 体＋4・10-13 アイドルを足して 9 体＋3） */
.works-grid .work.wide { grid-column: span 2; aspect-ratio: 10 / 7; }  /* 高さ ≒ ほかの 1 マス（3/4.2＝ 幅の 1.4 倍）と同じ */
/* 2026-10-13 大きいカードを a5n・a6・f_idol に（龍の姫は 1 マス）: ⚠ スマホ 2 列では 龍の姫（1 マス）の右に アイドル（2 マス）が入らず 穴が空く
   → dense で 後ろの 1 マス（軍服の青年）を 穴に詰める（パソコン 4 列は 並びどおり）。
   1 マスと 2 マスが同じ段にあると 2 マスの方が gap×0.7 ぶん 高い → 同じ段の 1 マスも その高さまで伸ばす（stretch） */
.works-grid { grid-auto-flow: row dense; }
.works-grid .work { align-self: stretch; justify-self: stretch; }   /* ⚠ justify-self も stretch（無いと aspect-ratio で 横に はみ出す） */
.work {
  position: relative; display: block; overflow: hidden; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 160, 200, .35), rgba(150, 130, 255, .30) 60%, rgba(120, 190, 255, .25));
  border: 1px solid var(--line); text-decoration: none; color: inherit;
  aspect-ratio: 3 / 4.2;
}
.work img { position: absolute; left: 50%; top: 2%; width: 150%; max-width: none; transform: translateX(-50%); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.work:hover img, .work:focus-visible img { transform: translateX(-50%) scale(1.06) translateY(-2%); }
/* 2 マス分のカード: 幅 2c＋gap に対して ほかと同じ 1.5c ≒ 72% */
.works-grid .work.wide img { width: 72%; }
.work .cap {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  padding: 10px 12px; border-radius: 12px;
  background: color-mix(in srgb, var(--card-solid) 82%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 12.5px; line-height: 1.5;
}
.work .cap b { display: block; font-size: 13.5px; }
.work .cap span { color: var(--ink3); }
.work .cap .cap-note { display: block; font-size: 11.5px; color: var(--ink2); }   /* 名前の下の一言（2026-10-13 アイドルの 3 つの姿） */
.works-note { margin-top: 20px; font-size: 13px; color: var(--ink3); text-align: center; }

/* 作例のページ（全身） */
.work-full { display: grid; gap: 20px; }
@media (min-width: 760px) { .work-full { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .work-full { grid-template-columns: repeat(4, 1fr); } }
.work-full { grid-auto-flow: row dense; }   /* 2 列（760〜1039px）で 2 マスの アイドルが 龍の姫の右に入らず 穴が空く → 後ろの 1 マスで詰める（2026-10-13） */
/* 大きいカード（.wide）は 2 マス分。絵の幅は ほかの 1 マスと同じ（中の幅 2c−20 の 半分−30 ＝ c−40） */
@media (min-width: 760px) {
  .work-full figure.wide { grid-column: span 2; }
  .work-full figure.wide .pic img { max-width: calc(50% - 30px); }
}
.work-full figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.work-full .pic { background: linear-gradient(160deg, rgba(255, 160, 200, .30), rgba(150, 130, 255, .25) 60%, rgba(120, 190, 255, .22)); padding: 20px 20px 0; }
.work-full .pic img { margin: 0 auto; max-height: 560px; width: auto; }
.work-full figcaption { padding: 16px 20px 20px; font-size: 14px; color: var(--ink2); }
.work-full figcaption b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--bg2); color: var(--ink2); border: 1px solid var(--line); }

/* 動き */
.motion { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .motion { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.motion-demo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1; background: linear-gradient(160deg, rgba(255, 160, 200, .45), rgba(150, 130, 255, .35) 60%, rgba(120, 190, 255, .3)); border: 1px solid var(--line); }
.motion-demo .hero-figure { position: absolute; width: 150%; left: -25%; top: -8%; -webkit-mask-image: none; mask-image: none; }
.motion-demo .label { position: absolute; left: 14px; bottom: 14px; z-index: 2; font-size: 12px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--card-solid) 82%, transparent); }
.feat { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 560px) { .feat { grid-template-columns: 1fr 1fr; } }
.feat li { padding: 18px 18px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.feat .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 10px; }
.feat .ico svg { width: 20px; height: 20px; }
.feat b { display: block; font-size: 15.5px; }
.feat span { font-size: 13.5px; color: var(--ink2); line-height: 1.7; display: block; margin-top: 2px; }
.deliver { margin-top: 22px; padding: 18px 20px; border-radius: 18px; border: 1px dashed color-mix(in srgb, var(--violet) 45%, transparent); font-size: 14.5px; }
.deliver b { color: var(--violet); }

/* 流れ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: st; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.steps li { position: relative; padding: 24px 20px 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); counter-increment: st; }
.steps li::before {
  content: counter(st, decimal-leading-zero);
  font-family: "Outfit", sans-serif; font-weight: 700; font-size: 30px; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 12px;
}
.steps b { display: block; font-size: 16.5px; margin-bottom: 6px; }
.steps span { font-size: 13.5px; color: var(--ink2); line-height: 1.75; display: block; }
@media (min-width: 900px) {
  .steps li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 38px; width: 8px; height: 8px; border-top: 2px solid var(--ink3); border-right: 2px solid var(--ink3); transform: rotate(45deg); opacity: .6; }
}
.flow-detail { display: grid; gap: 18px; counter-reset: fd; }
.flow-detail .card { position: relative; padding-left: 76px; counter-increment: fd; }
.flow-detail .card::before {
  content: counter(fd, decimal-leading-zero); position: absolute; left: 22px; top: 26px;
  font-family: "Outfit", sans-serif; font-weight: 700; font-size: 28px; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.flow-detail h3 { margin: 0 0 8px; font-size: 19px; }
.flow-detail p, .flow-detail ul { margin: 0 0 .6em; color: var(--ink2); font-size: 15px; }
.flow-detail ul { padding-left: 1.2em; }

/* 料金 */
.plans { display: grid; gap: 20px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border: 1.5px solid transparent; background: linear-gradient(var(--card-solid), var(--card-solid)) padding-box, var(--grad) border-box; }
.plan .badge { position: absolute; top: -12px; left: 22px; font-size: 11.5px; font-weight: 700; color: #fff; padding: 4px 12px; border-radius: 999px; background: var(--grad); }
.plan h3 { margin: 0; font-size: 21px; }
.plan .for { color: var(--ink2); font-size: 14px; margin: 4px 0 16px; }
.plan .price { font-size: 30px; font-weight: 800; letter-spacing: .04em; margin: 0; }
.plan .price small { font-size: 13px; font-weight: 500; color: var(--ink3); margin-left: 6px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; align-content: start; font-size: 14.5px; flex: 1; }
.plan li { position: relative; padding-left: 26px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--pink); border-bottom: 2px solid var(--pink); transform: rotate(-45deg); }
.price-note { margin-top: 22px; text-align: center; color: var(--ink2); font-size: 14.5px; }
.options { margin-top: 28px; }
.options h3 { font-size: 17px; margin: 0 0 12px; }
.options ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.options li { font-size: 13.5px; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.options p { font-size: 13px; color: var(--ink3); margin-top: 12px; }

/* FAQ（details のアコーディオン） */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative;
  font-weight: 700; font-size: 15.5px; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: "Outfit", sans-serif; color: var(--pink); margin-right: 10px; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--ink3); border-bottom: 2px solid var(--ink3); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .a { padding: 0 20px 20px 44px; color: var(--ink2); font-size: 15px; }
.faq .a p:last-child { margin-bottom: 0; }

/* CTA の帯 */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 48px 24px; text-align: center; color: #fff; background: linear-gradient(120deg, #2a1d4f, #4a2a77 50%, #23305f); }
.cta-band::before { content: ""; position: absolute; inset: -40%; background: radial-gradient(closest-side, rgba(255, 122, 168, .45), transparent), radial-gradient(closest-side at 80% 70%, rgba(106, 168, 255, .35), transparent); }
.cta-band > * { position: relative; }
.cta-band h2 { margin: 0 0 10px; font-size: clamp(22px, 5.4vw, 32px); line-height: 1.5; }
.cta-band p { color: rgba(255, 255, 255, .82); margin-bottom: 26px; }
.cta-band .btn.ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .25); }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* 下のページの見出し */
.page-head { background: var(--dawn); padding: 56px 0 44px; }
.page-head .en { font-size: 13px; font-weight: 600; color: var(--violet); }
.page-head h1 { margin: 6px 0 10px; font-size: clamp(28px, 6.4vw, 42px); line-height: 1.4; }
.page-head p { color: var(--ink2); margin: 0; max-width: 42em; }
.crumb { font-size: 12.5px; color: var(--ink3); margin-bottom: 18px; }
.crumb a { color: var(--ink3); }

/* 規約などの文書 */
.doc { max-width: 820px; margin: 0 auto; padding: 48px var(--gutter) 96px; }
.doc .date { color: var(--ink3); font-size: 14px; }
.doc h2 { font-size: 19px; margin: 44px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 16px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--ink2); font-size: 15px; }
.doc ol, .doc ul { padding-left: 1.4em; }
.doc li { margin-bottom: .4em; }
.doc dl { display: grid; grid-template-columns: 1fr; margin: 0; border-top: 1px solid var(--line); }
.doc dt { font-weight: 700; font-size: 14px; padding: 14px 0 0; }
.doc dd { margin: 0; padding: 4px 0 14px; color: var(--ink2); font-size: 15px; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) {
  .doc dl { grid-template-columns: 220px 1fr; }
  .doc dt { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
  .doc dd { padding: 16px 0; }
}
.box { border-radius: 16px; padding: 16px 18px; background: var(--bg2); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink2); margin: 16px 0; }
.box p:last-child { margin-bottom: 0; }

/* お問い合わせのフォーム */
.form { display: grid; gap: 18px; }
.field label, .field .label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.field .req { font-size: 11px; color: #fff; background: var(--pink); border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.field .opt { font-size: 11px; color: var(--ink3); border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; margin-left: 6px; vertical-align: 2px; }
.field .hint { font-size: 13px; color: var(--ink3); margin-top: 4px; }
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--card-solid); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid color-mix(in srgb, var(--violet) 55%, transparent); outline-offset: 1px; }
.radios { display: grid; gap: 8px; }
@media (min-width: 600px) { .radios { grid-template-columns: repeat(3, 1fr); } }
.radios label { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14.5px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-solid); cursor: pointer; margin: 0; }
.radios input { accent-color: var(--violet); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.check input { margin-top: 6px; accent-color: var(--violet); }
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: start; } }
.side-card h3 { margin: 0 0 10px; font-size: 17px; }
.side-card ul { padding-left: 1.2em; margin: 0; color: var(--ink2); font-size: 14.5px; }
.mail-line { word-break: break-all; }

/* フッター */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 120px; background: var(--bg); }
.site-footer .top { display: grid; gap: 32px; }
@media (min-width: 760px) { .site-footer .top { grid-template-columns: 1.2fr 1fr 1fr; } .site-footer { padding-bottom: 40px; } }
.site-footer p { color: var(--ink2); font-size: 13.5px; margin: 14px 0 0; }
.site-footer h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .2em; color: var(--ink3); font-family: "Outfit", sans-serif; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.site-footer a { text-decoration: none; color: var(--ink2); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink3); display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }

/* スマホの下に出す 依頼のボタン */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: flex; gap: 10px; padding: 10px; border-radius: 20px;
  background: color-mix(in srgb, var(--card-solid) 86%, transparent);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { flex: 1; min-height: 46px; padding: 10px 14px; font-size: 14px; }
.sticky-cta .btn.ghost { flex: 0 0 auto; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* 出てくる動き（.js のときだけ 隠してから出す） */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; } .js .reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 動く見本（背景なしの動画・2026-10-11）---------- */
/* 静止画の上に 動画を重ね、流れ始めたら（.is-playing・site.js）静止画を隠す。流れない時は 静止画のまま */
.mv { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .35s; pointer-events: none; }
.is-playing > .mv { opacity: 1; }
.is-playing > img:not(.wd-zoom) { visibility: hidden; }
.hero-figure.is-playing { animation: none; }
.motion-demo .mv-box { position: absolute; inset: 4% 4% 0; }
.motion-demo .mv-box img { width: 100%; height: 100%; object-fit: contain; }

/* トップの作例のカード: 拡大の印 */
.work .play {
  position: absolute; right: 10px; top: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; padding-left: 2px; color: #fff; background: var(--grad);
  box-shadow: var(--shadow); opacity: .92;
}
.work { cursor: zoom-in; }

/* 作例のページ: 絵を押すと 拡大 */
.work-full .pic { display: block; width: 100%; border: 0; margin: 0; cursor: zoom-in; position: relative; font: inherit; color: inherit; text-align: center; }
.work-full .pic .zoom {
  position: absolute; left: 50%; top: 12px; transform: translateX(-50%); white-space: nowrap;   /* ⚠ 下に置くと 足元に かぶる */
  font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--card-solid) 86%, transparent); border: 1px solid var(--line);
  opacity: .95; transition: transform .3s;
}
.work-full .pic:hover .zoom, .work-full .pic:focus-visible .zoom { transform: translateX(-50%) translateY(-3px); }

/* 拡大の画面（dialog） */
.work-dialog {
  padding: 0; border: 0; border-radius: 26px; max-width: min(1040px, calc(100vw - 32px)); width: 100%;
  max-height: calc(100dvh - 32px); background: var(--card-solid); color: var(--ink); box-shadow: 0 30px 80px rgba(20, 10, 50, .35);
}
.work-dialog::backdrop { background: rgba(15, 10, 35, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.wd-inner { display: grid; position: relative; }
@media (min-width: 820px) { .wd-inner { grid-template-columns: 1fr 1fr; } }
.wd-close {
  position: absolute; right: 12px; top: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card-solid); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer;
}
.wd-stage {
  position: relative; height: min(78dvh, 820px); width: min(39dvh, 410px); max-width: 100%; margin: 0 auto;
}
@media (max-width: 819px) { .wd-stage { height: 56dvh; width: 28dvh; margin-top: 8px; } }
.wd-left { display: grid; place-items: center; padding: 12px 0 0;
  background: linear-gradient(160deg, rgba(255, 160, 200, .30), rgba(150, 130, 255, .25) 60%, rgba(120, 190, 255, .22)); }
.wd-stage img, .wd-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.wd-stage video { opacity: 0; transition: opacity .3s; }
.wd-stage.is-playing video { opacity: 1; }
.wd-stage.is-playing img.wd-poster { visibility: hidden; }
.wd-info { padding: 26px 22px 26px; overflow-y: auto; max-height: calc(100dvh - 32px); }
@media (min-width: 820px) { .wd-info { padding: 40px 34px 30px; max-height: min(78dvh, 820px); } }
.wd-info .en { font-size: 12px; font-weight: 600; color: var(--violet); letter-spacing: .1em; }
.wd-info h2 { margin: 4px 0 4px; font-size: 22px; line-height: 1.45; }
.wd-desc { color: var(--ink2); font-size: 14px; margin: 0 0 14px; }
.wd-info h3 { font-size: 13.5px; margin: 18px 0 8px; color: var(--ink2); letter-spacing: .05em; }
.wd-info h3 small { font-weight: 500; color: var(--ink3); }
.wd-moves { margin: 0; padding-left: 1.2em; font-size: 14px; line-height: 1.8; }
.wd-expr { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; }
.wd-expr figure { margin: 0; text-align: center; font-size: 11.5px; color: var(--ink2); }
.wd-expr img { width: 100%; aspect-ratio: 1; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); }
/* 表情を押すと 大きく見る（2026-10-11 夜）: 左の大きい絵を その表情の上半身に替える */
.wd-expr button { all: unset; display: block; cursor: pointer; border-radius: 14px; text-align: center; font-size: 11.5px; color: var(--ink2); }
.wd-expr button:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.wd-expr button:hover img { border-color: var(--violet); }
.wd-expr button[aria-pressed="true"] img { border: 2px solid transparent; background: linear-gradient(var(--bg2), var(--bg2)) padding-box, var(--grad) border-box; }
.wd-expr button[aria-pressed="true"] span { color: var(--violet); font-weight: 700; }
.wd-expr button span { display: block; margin-top: 2px; }
.wd-hint { font-weight: 500; color: var(--ink3); }
.wd-stage.is-zoom { height: auto; aspect-ratio: 1; width: min(100% - 24px, 70dvh, 520px); }
@media (max-width: 819px) { .wd-stage.is-zoom { width: min(100vw - 72px, 46dvh); height: auto; } }
.wd-stage.is-zoom .wd-poster, .wd-stage.is-zoom .wd-video { visibility: hidden; }
.wd-stage .wd-zoom { object-fit: contain; }
/* 配信の大きさ（2026-10-29）: 上半身の 正方形（表情を大きく見る絵と 同じ 大きさ・切り方） */
.wd-stage.is-close { height: auto; aspect-ratio: 1; width: min(100% - 24px, 70dvh, 520px); }
@media (max-width: 819px) { .wd-stage.is-close { width: min(100vw - 72px, 46dvh); height: auto; } }
.wd-size { display: flex; justify-content: center; gap: 6px; padding: 8px 0 14px; }
.wd-size[hidden] { display: none; }
.wd-size button { border: 1px solid var(--line); background: var(--card-solid); color: var(--ink2); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; cursor: pointer; }
.wd-size button[aria-pressed="true"] { border-color: transparent; background: var(--grad); color: #fff; font-weight: 700; }
.wd-zoombar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 6px 0 14px; }
.wd-zoombar[hidden] { display: none; }
.wd-zoomname { font-weight: 700; font-size: 15px; }
.wd-parts { font-size: 13px; color: var(--ink3); margin: 14px 0 0; }
.wd-note { font-size: 12px; color: var(--ink3); margin: 6px 0 0; }
.wd-sw-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.wd-sw-btns button {
  font: inherit; font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg2); color: var(--ink);
}
.wd-sw-btns button[aria-pressed="true"] { background: var(--grad); color: #fff; border-color: transparent; }
/* 姿の 3 択（2026-10-13 アイドル）: 上の段＝「姿：」と 3 つ・下の段＝ あり／なし のボタン */
.wd-sw-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex-basis: 100%; }
.wd-sw-lab { font-size: 13px; font-weight: 700; color: var(--ink2); margin-right: 2px; }
.wd-nav { display: flex; justify-content: space-between; gap: 10px; margin: 20px 0 14px; }
.wd-info > .btn { width: 100%; }
body.dialog-open { overflow: hidden; }
html:has(body.dialog-open) { overflow: hidden; }   /* 後ろのページを動かさない（iOS Safari も） */

/* 拡大の画面: 下に続きがあることの印（2026-10-11 夜 Yuji「スクロールできるか分かりづらい」）
   スクロールする所＝ パソコンは 右の .wd-info／スマホは ダイアログ全体。site.js が .has-more（下に続きあり）・.is-scrolled（少し下げた）・.cue-done（一度動かした）を付ける */
.wd-info, .work-dialog { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--violet) 55%, transparent) transparent; overscroll-behavior: contain; }
.wd-info::-webkit-scrollbar, .work-dialog::-webkit-scrollbar { width: 8px; }
.wd-info::-webkit-scrollbar-thumb, .work-dialog::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--violet) 55%, transparent); border-radius: 8px; }
.wd-info::-webkit-scrollbar-track, .work-dialog::-webkit-scrollbar-track { background: transparent; }
.wd-fade { position: absolute; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .25s; }
.wd-fade-bottom { bottom: 0; height: 72px; background: linear-gradient(to bottom, transparent, var(--card-solid) 85%); }
.wd-fade-top { top: 0; height: 28px; background: linear-gradient(to top, transparent, var(--card-solid)); }
.work-dialog.has-more .wd-fade-bottom { opacity: 1; }
.work-dialog.is-scrolled .wd-fade-top { opacity: 1; }
.wd-more {
  position: absolute; z-index: 3; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px 7px 16px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font: inherit; font-size: 13px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(80, 40, 140, .35); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.wd-more-arrow { display: inline-block; animation: wd-bob 1.4s ease-in-out infinite; }
@keyframes wd-bob { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .wd-more-arrow { animation: none; } }
.work-dialog.has-more:not(.cue-done) .wd-more { opacity: 1; pointer-events: auto; }
@media (min-width: 820px) {
  .wd-fade, .wd-more { left: 50%; }
  .wd-fade { right: 8px; }               /* 右の欄（.wd-info）の上だけ・スクロールの棒は隠さない */
  .wd-more { left: 75%; }
}
@media (max-width: 819px) {
  .work-dialog { overflow-y: auto; }
  .wd-info { max-height: none; overflow: visible; padding-bottom: 40px; }
  .wd-fade { position: fixed; left: 17px; right: 17px; }
  .wd-fade-bottom { bottom: 16px; border-radius: 0 0 26px 26px; }
  .wd-fade-top { top: 16px; border-radius: 26px 26px 0 0; }
  .wd-more { position: fixed; left: 50%; bottom: 30px; }
}

/* お問い合わせ: 人には見えない欄（ロボットよけ）・送信の結果 */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-status .ok { border-color: color-mix(in srgb, #2bb673 45%, var(--line)); }
#form-status .ng { border-color: color-mix(in srgb, #e5484d 50%, var(--line)); }
.form button[disabled] { opacity: .6; cursor: progress; }
@media (prefers-reduced-motion: reduce) { .mv { display: none; } }
@media (max-width: 819px) { .wd-close { position: fixed; right: 26px; top: 26px; } }   /* スマホは 下へ流しても × が見える */

/* 料金と納期のページ（⚠ 案・2026-10-11） */
.plan .days { margin: 6px 0 0; font-size: 14px; color: var(--ink2); }
.plan .days b { color: var(--ink); font-size: 16px; }
.plans.three { gap: 22px; }
@media (min-width: 760px) { .plans.three { grid-template-columns: repeat(3, 1fr); } }
.plan.tier ul { font-size: 14px; }
.tier-guide { display: grid; gap: 10px; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
@media (min-width: 760px) { .tier-guide { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.tier-guide p { margin: 0; font-size: 14px; color: var(--ink2); line-height: 1.6; }
.tier-guide b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tier-table-wrap { border-radius: 20px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.tier-table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.55; table-layout: fixed; }
.tier-table th, .tier-table td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; line-break: strict; }
.tier-table tbody tr:last-child th, .tier-table tbody tr:last-child td { border-bottom: 0; }
.tier-table thead th { font-size: 14px; font-weight: 800; padding: 14px 8px; }
.tier-table tbody th { text-align: left; font-weight: 600; color: var(--ink2); width: 32%; }
.tier-table .hl { background: color-mix(in srgb, var(--violet) 8%, transparent); }
.tier-table small { display: block; font-size: 11px; font-weight: 500; color: var(--ink3); }
/* 組の見出し（動き・表情など 共通／注文制作だけ／一式だけ・2026-10-11） */
.tier-table tr.tg th { text-align: left; width: auto; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--violet); background: color-mix(in srgb, var(--violet) 5%, transparent); padding-top: 9px; padding-bottom: 9px; }
.tier-table td.span { font-weight: 600; }
@media (max-width: 559px) { .tier-table { font-size: 12.5px; } .tier-table th, .tier-table td { padding: 10px 4px; } .tier-table tbody th { width: 27%; padding-left: 10px; } .tier-table thead th { font-size: 11.5px; letter-spacing: 0; white-space: nowrap; } }
@media (min-width: 760px) { .tier-table { font-size: 14.5px; } .tier-table th, .tier-table td { padding: 13px 16px; } .tier-table tbody th { width: 30%; } }
.notes { margin: 18px 0 0; padding-left: 1.2em; color: var(--ink2); font-size: 13.5px; }
.notes li { margin-bottom: 4px; }
.monitor { display: grid; gap: 22px; padding: 26px 22px; border-radius: 24px; border: 1.5px solid transparent; background: linear-gradient(var(--card-solid), var(--card-solid)) padding-box, var(--grad) border-box; }
@media (min-width: 860px) { .monitor { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 34px 36px; gap: 36px; } }
.monitor h2 { margin: 8px 0 8px; font-size: clamp(22px, 5vw, 28px); }
.monitor p { margin: 0 0 8px; color: var(--ink2); font-size: 15px; }
.monitor .cond { font-size: 13.5px; color: var(--ink3); }
.tag-strong { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; padding: 3px 12px; border-radius: 999px; background: var(--grad); }
.mini-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.mini-table th, .mini-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.mini-table thead th { font-size: 13px; color: var(--ink3); font-weight: 600; }
.mini-table tbody th { text-align: left; font-weight: 700; }
.mini-table td { font-weight: 800; letter-spacing: .02em; }
.opt-list { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: grid; gap: 10px; }
@media (min-width: 760px) { .opt-list { grid-template-columns: 1fr 1fr; gap: 12px 16px; } }
.opt-list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.opt-list b { display: block; font-size: 15px; }
.opt-list span { display: block; font-size: 12.5px; color: var(--ink3); line-height: 1.6; margin-top: 2px; }
.opt-list em { font-style: normal; font-weight: 800; white-space: nowrap; font-size: 15px; }
.opt-list li, .opt-list li > div { min-width: 0; }   /* 英語の長い値段（Individual ¥11,000 / …）で はみ出さない */
@media (max-width: 520px) { .opt-list em { white-space: normal; text-align: right; max-width: 42%; } }
/* オプションの見本（見本つきの組・押すと大きく） */
.opt-media { list-style: none; margin: 0 auto 8px; padding: 0; max-width: 860px; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .opt-media { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.om { display: flex; flex-direction: column; border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.om-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 8px; border: 0; cursor: zoom-in;
  background: linear-gradient(135deg, #f6eefb, #eaf2fc); }
.om-thumb { overflow: hidden; min-height: 0; }
.om-thumb img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; display: block; }
.om-thumb img[src*="bg_still"] { object-fit: cover; border-radius: 10px; }
.om-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%;
  background: rgba(20, 12, 40, .6); color: #fff; font-style: normal; display: grid; place-items: center; font-size: 16px; padding-left: 3px; }
.om-spots { display: flex; gap: 6px; padding: 10px 14px 0; flex-wrap: wrap; }
.om-spots button { font: inherit; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink2); cursor: pointer; }
.om-spots button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--card-solid); }
.om-spots button:focus-visible { outline: 2px solid var(--accent, #7b5cff); outline-offset: 2px; }
.oz-spots { justify-content: center; padding: 12px 0 0; }
.om-body { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 12px 14px 14px; flex: 1; }
.om-body b { display: block; font-size: 14.5px; }
.om-body span { display: block; font-size: 12px; color: var(--ink3); line-height: 1.6; margin-top: 2px; }
.om-body em { font-style: normal; font-weight: 800; white-space: nowrap; font-size: 14px; }
@media (max-width: 520px) { .om-body { flex-direction: column; gap: 4px; } }
.opt-sub { max-width: 860px; margin: 26px auto 10px; font-size: 13px; font-weight: 700; color: var(--ink3); }
.opt-zoom { padding: 0; border: 0; border-radius: 22px; max-width: min(960px, calc(100vw - 32px)); width: 100%;
  max-height: calc(100dvh - 32px); background: var(--card-solid); color: var(--ink); box-shadow: 0 30px 80px rgba(20, 10, 50, .35); }
.opt-zoom::backdrop { background: rgba(15, 10, 35, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.oz-stage { display: grid; place-items: center; padding: 56px 16px 8px; background: linear-gradient(135deg, #f6eefb, #eaf2fc); }
.oz-stage img, .oz-stage video { max-width: 100%; max-height: calc(100dvh - 180px); display: block; border-radius: 10px; }
.oz-cap { margin: 0; padding: 12px 18px 16px; font-size: 13.5px; color: var(--ink2); }
.rules .card h3 { margin: 0 0 10px; font-size: 18px; }
.rules .card p, .rules .card li { color: var(--ink2); font-size: 14.5px; }
.rules .card p { margin: 0 0 8px; }
.rules .card ul { padding-left: 1.2em; margin: 0 0 8px; }
.rules .card .small { font-size: 13px; color: var(--ink3); }

/* ---------- 段ごとの見本の動画・増えるもの・作例の段（2026-10-11 Yuji「このプランだったら ここまで動かせる が分かるか」）---------- */
.tier-demo { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 760px) { .tier-demo { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.td { margin: 0; border-radius: 20px; background: var(--card); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-columns: 42% 1fr; }
@media (min-width: 760px) { .td { grid-template-columns: 1fr; } }
.td-stage { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(180deg, rgba(123,92,240,.07), rgba(231,80,139,.06)); }
.td-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.td figcaption { padding: 14px 16px 16px; font-size: 13.5px; line-height: 1.6; }
.td-cap { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink3); }
.td figcaption b { display: block; font-size: 19px; margin-top: 2px; }
.td-gain { display: block; font-weight: 700; color: var(--pink); margin: 2px 0 6px; }
.td ul { margin: 0; padding-left: 1.1em; color: var(--ink2); }
.td-note { font-size: 12.5px; color: var(--ink3); margin: 12px 0 0; text-align: center; }
.plan .gain { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: var(--pink); letter-spacing: .02em; }
.plan .tier-works { display: block; font-size: 13.5px; font-weight: 700; margin: -8px 0 14px; color: var(--violet, #7c5cff); text-decoration: none; }
.plan .tier-works:hover { text-decoration: underline; }
.plan .tier-works.muted { color: var(--ink3); font-weight: 500; }
.tier-badge { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; color: #fff; background: #8b8bb0; text-decoration: none; }
.tier-badge.t-full { background: var(--grad); }
.tier-badge.t-std { background: #7c86c9; }
.work { position: relative; }
.work .tier-badge { position: absolute; top: 10px; left: 10px; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.tier-tag { color: #fff !important; border: 0; text-decoration: none; }
.tier-tag.t-full { background: var(--grad); }
.tier-tag.t-std { background: #7c86c9; }
.wd-tier { margin: -4px 0 10px; font-size: 13px; color: var(--ink2); }
/* 拡大の画面の 名前＋料金の段の札（2026-10-13 Yuji: 札は 名前のすぐ右・長い名前は 折り返す）
   ⚠ flex にすると 名前が 2 行になったとき 札だけ 次の行の左へ落ちる → 名前も札も 行の中に並べ（inline）、札は 名前の最後の語の すぐ右に付ける */
.wd-head { margin: 4px 0 4px; font-size: 22px; line-height: 1.45; }
.wd-info .wd-head h2 { display: inline; margin: 0 8px 0 0; }
.wd-head .tier-badge { vertical-align: middle; white-space: nowrap; position: relative; top: -3px; }
.tier-filter { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-bottom: 20px; padding: 12px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.tier-filter .tf-all { font-weight: 700; }

/* 映る範囲の絵（料金のページ・2026-10-11 夜） */
.range-fig { margin: 0 auto 24px; max-width: 420px; text-align: center; }
.rf-stage { position: relative; display: inline-block; width: 100%; max-width: 330px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.rf-stage img { display: block; width: 100%; height: auto; }
.rf-line { position: absolute; left: 0; right: 0; border-top: 2px dashed #e0559a; text-align: left; padding: 4px 8px 0; }
.rf-line span, .rf-full span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.94); color: #2a2233; font-size: 12px; line-height: 1.3; font-weight: 600; padding: 3px 9px 3px 3px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.rf-line b, .rf-full b { display: inline-block; background: #e0559a; color: #fff; border-radius: 999px; padding: 1px 8px; font-size: 11.5px; }
.rf-full { position: absolute; left: 8px; bottom: 8px; }
.range-fig figcaption { font-size: 12.5px; color: var(--ink3); margin-top: 10px; line-height: 1.6; }
.wd-tiernote { display: block; margin-top: 4px; font-size: 12px; color: var(--ink3); line-height: 1.5; }
/* よくある質問の目次（2026-10-11） */
.faq-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 8px; }
.faq-index a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 13.5px; text-decoration: none; }
.faq-index a:hover { border-color: #e0559a; color: #e0559a; }

/* お譲り済み（2026-10-12・build_pages.py の TRANSFERRED） */
.taken-badge { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; color: #fff; background: #3c3755; letter-spacing: .04em; }
.work .taken-badge { position: absolute; top: 10px; right: 46px; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.taken-badge.inline { position: static; margin-left: 8px; vertical-align: 2px; }
.wd-taken { margin: 4px 0 0; }
.wd-taken .taken-badge.inline { margin-left: 0; }
