/* Studio Lvmyn — 見た目（Fable 設計 2026-11-16「一層ずつ、形になる」）。ja と en の両方で使う */
:root {
  --ink: #1F2226; --sub: #5b6068; --line: #e2e0dc; --bg: #FAF9F7; --card: #fff; --stage: #ECEBE7;
  --accent: #E8742A; --accent-ink: #b85315; --todo: #fff3c4; --radius: 16px;
  --f-teal: #2F8F8A; --f-teal-bg: #DEEAE8; --f-yellow: #D9A21B; --f-yellow-bg: #F5EDD8; --f-sky: #4F9FD0; --f-sky-bg: #E2ECF2;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { overflow-x: hidden; margin: 0; background: var(--bg); color: var(--ink); line-height: 1.75; font-size: 16px;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 720px) { .wrap { padding: 0 16px; } }
.todo { background: var(--todo); color: var(--ink); border-radius: 4px; padding: 0 4px; font-style: normal; }
h1, h2 { font-feature-settings: "palt"; }

/* ヘッダー */
.top { position: sticky; top: 0; z-index: 20; background: rgba(250,249,247,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.top img { height: 42px; width: auto; }
nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
nav a.navlink { color: var(--ink); text-decoration: none; }
nav a.navlink:hover { color: var(--accent-ink); }
nav a.en { font-size: 12px; color: var(--sub); text-decoration: none; font-family: var(--mono); }
@media (max-width: 720px) { nav { gap: 10px; } nav a.navlink { display: none; } .top img { height: 34px; } }

/* ボタン：オレンジのピル形は「写真1枚で相談する」（と見出しの「相談する」）だけ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 15px; border: 0; cursor: pointer; font-family: inherit; }
.btn.primary { background: var(--accent); color: var(--ink); }
.btn.primary:hover { background: #f08a45; }
.btn.navbtn { padding: 6px 16px; font-size: 14px; }
@media (max-width: 720px) { .btn.navbtn { padding: 5px 12px; font-size: 13px; } }
.btnrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.textlink, .more { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 14px; }
.textlink span, .more span { display: inline-block; transition: transform .2s; color: var(--accent-ink); }
.textlink:hover span, .more:hover span { transform: translateX(4px); }

/* オレンジの点＋文字（札・箇条書き） */
.dots { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--sub); }
.dots li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: 2px; }

/* 写真のラベル（等幅） */
.ph { position: relative; background: var(--stage); border-radius: var(--radius); overflow: hidden; }
.ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ph img.contain { object-fit: contain; background: #f3f3f3; }
.label { position: absolute; left: 10px; bottom: 10px; background: rgba(31,34,38,.82); color: #fff; font: 11px/1.7 var(--mono); padding: 1px 9px; border-radius: 6px; }
.label.photo { background: var(--accent-ink); }

/* 実物の写真の枠（空なら四隅のL字の細線と「準備中」） */
.photo-slot, .pending { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: var(--radius); color: var(--sub); width: 100%;
  background:
    linear-gradient(currentColor, currentColor) left 12px top 12px / 18px 1px no-repeat, linear-gradient(currentColor, currentColor) left 12px top 12px / 1px 18px no-repeat,
    linear-gradient(currentColor, currentColor) right 12px top 12px / 18px 1px no-repeat, linear-gradient(currentColor, currentColor) right 12px top 12px / 1px 18px no-repeat,
    linear-gradient(currentColor, currentColor) left 12px bottom 12px / 18px 1px no-repeat, linear-gradient(currentColor, currentColor) left 12px bottom 12px / 1px 18px no-repeat,
    linear-gradient(currentColor, currentColor) right 12px bottom 12px / 18px 1px no-repeat, linear-gradient(currentColor, currentColor) right 12px bottom 12px / 1px 18px no-repeat; }
.photo-slot.filled { background: none; overflow: hidden; }
.photo-slot.filled img { width: 100%; height: 100%; object-fit: cover; }
.slot-note { font: 11px/1.5 var(--mono); letter-spacing: .04em; text-align: center; padding: 0 28px; }
.photo-slot.sq { aspect-ratio: 1; width: 104px; flex: 0 0 104px; }
.photo-slot.sq .slot-note { font-size: 10px; padding: 0 22px; }

/* 帯（節の間は線でなく地の色で区切る） */
.band { padding: 96px 0; }
.band.paper { background: var(--bg); }
.band.stage-band { background: var(--stage); }
.band.ink-band { background: var(--ink); color: #fff;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px; }
@media (max-width: 720px) { .band { padding: 64px 0; } }

/* 節の見出し：オレンジの線と点の印＋等幅の番号 */
.sec-top { margin-bottom: 32px; }
.sec-mark { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mark { width: 56px; height: 12px; }
.mark line { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.mark circle { fill: var(--accent); }
.num { font: 700 13px var(--mono); color: var(--sub); letter-spacing: .08em; }
.ink-band .num { color: #9ea3aa; }
h2 { font-size: clamp(24px, 6.4vw, 40px); line-height: 1.35; margin: 0 0 12px; font-weight: 800; }
.section-lead { color: var(--sub); margin: 0; max-width: 44em; }
.ink-band .section-lead, .ink-band .para { color: #c9ccd1; }
.endcta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.endcta p { margin: 0; color: var(--sub); font-size: 15px; flex: 1 1 22em; }
.fine { font-size: 12px; color: var(--sub); margin: 18px 0 0; }

/* 1 ヒーロー */
.hero { padding-top: 56px; padding-bottom: 72px; display: grid; gap: 28px 48px; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "text stage" "dots stage"; }
.hero-text { grid-area: text; }
.hero .stage { grid-area: stage; }
.hero-dots { grid-area: dots; align-self: start; }
.kicker { font: 700 13px var(--mono); color: var(--accent-ink); letter-spacing: .08em; margin: 0 0 12px; }
.hero h1 { font-size: clamp(30px, 9.2vw, 56px); line-height: 1.25; font-weight: 800; margin: 0 0 18px; letter-spacing: .01em; }
.ul { position: relative; display: inline-block; }
.ul::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: .16em; border-radius: 1em; background: var(--accent); transform-origin: left; }
.js:not(.rm) .ul::after { transform: scaleX(0); animation: ul .6s cubic-bezier(.2,.7,.2,1) .3s forwards; }
@keyframes ul { to { transform: scaleX(1); } }
.hero p.lead { color: var(--sub); font-size: clamp(15px, 2vw, 17px); margin: 0 0 26px; max-width: 34em; }
@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "stage" "dots"; padding-top: 32px; padding-bottom: 48px; gap: 24px; }
}

/* 台（積層の絵の舞台）：24px の薄い方眼、下から28pxに造形台の線 */
.stage { position: relative; border-radius: 20px; aspect-ratio: 4 / 3; cursor: pointer; overflow: hidden;
  background-color: var(--stage);
  background-image: linear-gradient(rgba(31,34,38,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(31,34,38,.06) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px; }
.stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-cap { position: absolute; left: 16px; top: 12px; margin: 0; font: 12px var(--mono); color: var(--sub); }
@media (max-width: 720px) { .stage { aspect-ratio: 16 / 10; } }
.hero-photo { position: absolute; right: 14px; bottom: 14px; width: 44%; aspect-ratio: 4 / 3; border: 4px solid #fff; border-radius: 10px; overflow: hidden; transform: rotate(-2deg); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* 一言の帯（動き4） */
.ticker { overflow: hidden; background: var(--ink); color: #fff; padding: 12px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker .track { display: flex; width: max-content; align-items: center; white-space: nowrap; font-size: 14px; animation: tick 60s linear infinite; }
.ticker .track span { padding: 0 18px; }
.ticker .track i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 6px; }
.ticker:hover .track, .ticker.paused .track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.rm .ticker .track { animation: none; }

/* 2 たとえば、こんな相談です */
.group { margin-top: 40px; }
.group h3 { font-size: 19px; margin: 0 0 2px; display: flex; align-items: center; gap: 8px; }
.group h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--gc); box-sizing: border-box; }
.group .gsub { color: var(--sub); font-size: 14px; margin: 0 0 14px; }
.g-teal { --gc: var(--f-teal); --gb: var(--f-teal-bg); }
.g-yellow { --gc: var(--f-yellow); --gb: var(--f-yellow-bg); }
.g-sky { --gc: var(--f-sky); --gb: var(--f-sky-bg); }
.rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.idea { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 0 0 1px rgba(31,34,38,.06); transition: transform .2s, box-shadow .2s; }
.idea .vis { position: relative; aspect-ratio: 16 / 10; background: var(--gb); display: flex; align-items: center; justify-content: center; }
.idea .vis img { width: 100%; height: 100%; object-fit: cover; }
.idea .vis .shape { position: absolute; top: 20%; left: 50%; height: 60%; width: auto; aspect-ratio: 1; transform: translateX(-50%); }
.idea .vis .pending { aspect-ratio: auto; height: 100%; border-radius: 0; }
.idea .vis .label { font-size: 10px; left: 8px; bottom: 8px; }
.idea .bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.idea q { font-weight: 700; font-size: 17px; line-height: 1.5; quotes: "「" "」"; }
.idea p { margin: 0; font-size: 13px; color: var(--sub); flex: 1; }
.idea .more { margin-top: 6px; align-self: flex-end; font-size: 13px; }
@media (hover: hover) {
  .idea:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(31,34,38,.12), 0 0 0 1px rgba(31,34,38,.06); }
  .idea:hover .more span { transform: translateX(4px); }
}
@media (max-width: 900px) {
  .rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; gap: 12px; padding: 4px 16px 10px; margin: 0 -16px; scrollbar-width: thin; }
  .idea { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; }
}

/* 積層の絵（motion.js が描く） */
.shape line { stroke-linecap: round; }

/* 3 送るのは、写真1枚とひとこと */
.pairs { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .pairs { grid-template-columns: minmax(0, 1fr); } }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); align-items: center; gap: 6px; background: var(--card); border-radius: var(--radius); padding: 14px; }
.pair .side { display: flex; flex-direction: column; gap: 6px; }
.pair .side small { color: var(--sub); font: 11px var(--mono); }
.pair .side b { font-size: 14px; }
.pair .sendvis { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.pair .sendvis svg { width: 52%; color: #8a8f96; }
.pair .ph { border-radius: 10px; }
.pair .shape-ph { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: var(--gb); }
.pair .shape-ph .shape { position: absolute; top: 6%; left: 50%; height: 56%; width: auto; aspect-ratio: 1; transform: translateX(-50%); }
.pair .arrow { position: relative; height: 12px; }
.pair .arrow .track { position: absolute; left: 4px; right: 4px; top: 5px; height: 2px; background: var(--line); }
.pair .arrow .dot { position: absolute; left: 0; top: 1px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.flow { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: step; position: relative; }
.flow::before { content: ""; position: absolute; left: 22px; right: calc((100% - 36px) / 4 - 22px); top: 22px; height: 2px; background: var(--accent); transform-origin: left; }
.flow li { position: relative; counter-increment: step; padding-top: 0; }
.flow li::before { content: "0" counter(step); position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--ink); font: 700 14px var(--mono); margin-bottom: 10px; }
.flow b { display: block; font-size: 16px; }
.flow span { font-size: 13px; color: var(--sub); }
@media (max-width: 820px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .flow::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; transform-origin: top; }
  .flow li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
  .flow li::before { grid-row: 1 / 3; margin: 0; }
}

/* 4 作例 */
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; margin-top: 18px; }
.work { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 0 1px rgba(31,34,38,.06); }
.work .ph { border-radius: 0; }
.work .ph .pending { border-radius: 0; }
.work .thumbs { display: flex; gap: 6px; padding: 8px 12px 0; }
.work .thumbs button { border: 2px solid transparent; padding: 0; border-radius: 6px; overflow: hidden; width: 64px; cursor: pointer; background: none; }
.work .thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.work .thumbs img { aspect-ratio: 4 / 3; object-fit: cover; }
.work .bd { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work .entry { font: 700 12px var(--mono); color: var(--accent-ink); }
.work h3 { font-size: 18px; margin: 0; line-height: 1.45; }
.work p { margin: 0; font-size: 14px; color: var(--sub); }
.work .cap { font-size: 12px; }
.work dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; font-size: 13px; }
.work dt { color: var(--sub); }
.work dd { margin: 0; }
.work .est { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; border-top: 1px solid var(--line); padding-top: 10px; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.work .est span { font-size: 12px; color: var(--sub); }
.work .est b { font-size: 17px; }
.work .more { margin-top: auto; padding-top: 4px; }
.work.feat { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.work.feat .ph { height: 100%; min-height: 320px; }
.work.feat .ph img, .work.feat model-viewer { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work.feat .bd { padding: 24px; }
.work.feat h3 { font-size: 22px; }
.tap3d { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.92); border: 0; border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 12px; font-family: inherit; color: var(--ink); cursor: pointer; }
model-viewer { display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--stage); --poster-color: var(--stage); --progress-bar-color: var(--accent); }
@media (max-width: 900px) {
  .work.feat { grid-template-columns: minmax(0, 1fr); }
  .work.feat .ph { min-height: 0; }
  .works { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; gap: 12px; padding: 4px 16px 10px; margin: 18px -16px 0; }
  .works .work { flex: 0 0 86%; scroll-snap-align: start; }
}

/* 5 刷って、測ってから送ります（暗い帯） */
.trust { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.spec { margin: 0 0 24px; border-top: 1px solid rgba(255,255,255,.18); }
.spec > div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.spec dt { font: 700 12px/1.9 var(--mono); color: #9ea3aa; letter-spacing: .06em; }
.spec dd { margin: 0; font-size: 15px; }
.mats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.mats i { font: 600 12px var(--mono); font-style: normal; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; padding: 1px 8px; }
.para { font-size: 15px; margin: 0 0 12px; }
.trust .photos { display: grid; gap: 16px; }
.ink-band .photo-slot { color: #8a9099; }
.self { display: flex; gap: 16px; align-items: center; margin-top: 20px; }
.self p { margin: 0; font-size: 15px; }
@media (max-width: 820px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* 6 目安 */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price { background: var(--card); border-radius: var(--radius); padding: 20px 22px; box-shadow: 0 0 0 1px rgba(31,34,38,.06); }
.price h3 { margin: 0 0 6px; font-size: 15px; color: var(--sub); }
.price .yen { font: 800 34px/1.2 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.price .yen small { font: 600 14px var(--mono); color: var(--sub); margin-left: 4px; }
.price .yen.ask { font-family: inherit; font-size: 26px; }
@media (max-width: 820px) { .prices { grid-template-columns: minmax(0, 1fr); } }
/* 費用の内訳（モデリング代＋印刷代。2026-11-18） */
.costparts { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 12px; margin: 0 0 10px; }
.costparts .cp { background: var(--card); border-radius: var(--radius); padding: 14px 18px; box-shadow: 0 0 0 1px rgba(31,34,38,.06); }
.costparts .cp b { display: block; font-size: 16px; }
.costparts .cp span { display: block; font-size: 13px; color: var(--sub); line-height: 1.6; margin-top: 2px; }
.costparts i { align-self: center; font-style: normal; font: 800 22px var(--mono); color: var(--accent-ink); }
.costnote { margin: 0 0 18px; font-size: 14px; font-weight: 700; }
.price .psplit { margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--sub); line-height: 1.6; font-variant-numeric: tabular-nums; }
.work .split { display: flex; gap: 10px; margin: 6px 0 0; font-size: 13px; color: var(--sub); line-height: 1.65; font-variant-numeric: tabular-nums; }
.work .split .k { font-size: 12px; flex: none; }
.work .split .v > span { display: block; white-space: nowrap; font-family: var(--mono); }
.work .split small { display: block; font-size: 12px; }
@media (max-width: 600px) { .costparts { grid-template-columns: minmax(0, 1fr); gap: 4px; } .costparts i { justify-self: center; } }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; }
@media (max-width: 820px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.box { background: var(--card); border-radius: var(--radius); padding: 18px 22px; font-size: 14px; box-shadow: 0 0 0 1px rgba(31,34,38,.06); }
.box.warn { background: #fff7f1; }
.box b.h { display: block; margin-bottom: 6px; font-size: 15px; }
.box ul { margin: 0; padding-left: 1.2em; color: var(--sub); }
.box p { margin: 8px 0 0; color: var(--sub); }
.faq details { border-bottom: 1px solid var(--line); padding: 8px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 4px 0 0; }

/* 7 相談 */
.contact { background: var(--ink); color: #fff; border-radius: 24px; padding: 40px 28px; }
.contact h2 { color: #fff; }
.contact .section-lead { color: #c9ccd1; }
.contact .num { color: #9ea3aa; }
.contact .sec-top { margin-bottom: 22px; }
.prefill { display: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-size: 15px; }
.prefill.on { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.prefill.flash { animation: flash .9s ease-out; }
@keyframes flash { from { box-shadow: 0 0 0 2px var(--accent); } to { box-shadow: 0 0 0 2px transparent; } }
.prefill button { background: none; border: 0; color: #c9ccd1; text-decoration: underline; font-size: 12px; cursor: pointer; padding: 2px 4px; }
.formframe { background: #fff; color: var(--ink); border-radius: 14px; min-height: 380px; overflow: hidden; }
.formframe iframe { width: 100%; min-height: 560px; border: 0; display: block; }
.formslot { padding: 22px; }
.formslot .slothead { font-weight: 700; margin-bottom: 4px; }
.formslot .slotnote { font-size: 13px; color: var(--sub); }
.formslot ol { margin: 10px 0 0; padding-left: 1.3em; font-size: 14px; color: var(--sub); }
.formslot .after { margin-top: 12px; font-size: 13px; color: var(--sub); }
.contact .small { font-size: 13px; color: #9ea3aa; margin: 16px 0 0; }
.contact .small a { color: #ffd2b3; }

footer { padding: 40px 0 100px; color: var(--sub); font-size: 13px; }
footer .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
footer img { height: 26px; width: auto; }
footer p { margin: 10px 0 0; font-size: 12px; }

/* スマホの固定ボタン：下から出る */
.dock { display: none; }
@media (max-width: 720px) {
  .dock { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; transform: translateY(120%); transition: transform .2s ease-out; }
  .dock.on { transform: none; }
  .dock .btn { width: 100%; box-shadow: 0 6px 20px rgba(0,0,0,.18); padding: 15px; }
}

/* 出てくる動き（動き2）。隠すのは html.js のときだけ */
.js [data-reveal] { opacity: 0; transform: translateY(16px); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .5s, transform .5s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 60ms); }
.js .sec-top[data-reveal] { opacity: 1; transform: none; }
.js .sec-top h2, .js .sec-top .section-lead { opacity: 0; transform: translateY(16px); }
.js .sec-top.in h2, .js .sec-top.in .section-lead { opacity: 1; transform: none; transition: opacity .5s .35s, transform .5s cubic-bezier(.2,.7,.2,1) .35s; }
.js .sec-top.in .section-lead { transition-delay: .45s; }
.js .mark line { stroke-dasharray: 34; stroke-dashoffset: 34; }
.js .mark circle { opacity: 0; }
.js .in .mark line { stroke-dashoffset: 0; transition: stroke-dashoffset .4s ease-out; }
.js .in .mark circle { opacity: 1; transition: opacity .2s .4s; }
/* カードの積層の絵：入ったら1層ずつ刷り上がる（最上層はオレンジで刷ってから色に） */
.js:not(.rm) .shape line { stroke-dasharray: var(--L); stroke-dashoffset: var(--L); }
.js:not(.rm) .in .shape line { animation: draw var(--d) linear var(--t) forwards; }
.js:not(.rm) .in .shape line.top { animation-name: drawtop; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drawtop { from { stroke: var(--accent); } 99% { stroke: var(--accent); } to { stroke-dashoffset: 0; } }
/* 流れ（動き6）：オレンジの線が 01→04 へ進み、通った番号が点く */
.js:not(.rm) .flow::before { transform: scaleX(0); }
.js:not(.rm) .flow li::before { background: var(--line); color: var(--sub); }
.js:not(.rm) .flow.in::before { transform: none; transition: transform 1.6s linear .2s; }
.js:not(.rm) .flow.in li::before { background: var(--accent); color: var(--ink); transition: background .2s, color .2s; }
.js:not(.rm) .flow.in li:nth-child(1)::before { transition-delay: .2s; }
.js:not(.rm) .flow.in li:nth-child(2)::before { transition-delay: .73s; }
.js:not(.rm) .flow.in li:nth-child(3)::before { transition-delay: 1.27s; }
.js:not(.rm) .flow.in li:nth-child(4)::before { transition-delay: 1.8s; }
@media (max-width: 820px) { .js:not(.rm) .flow::before { transform: scaleY(0); } }
/* 送るもの→届くもの：点が左から右へ動いてから、右の画像が下から段々に現れる */
.js:not(.rm) .pair .get .ph { clip-path: inset(100% 0 0 0); }
.js:not(.rm) .pair.in .arrow .dot { animation: hop .6s ease-in-out calc(var(--i, 0) * 120ms + .2s) forwards; }
.js:not(.rm) .pair.in .get .ph { animation: build .9s steps(8, end) calc(var(--i, 0) * 120ms + .8s) forwards; }
@keyframes hop { to { left: calc(100% - 10px); } }
@keyframes build { to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .sec-top h2, .js .sec-top .section-lead { opacity: 1; transform: none; }
  .js .mark line { stroke-dashoffset: 0; } .js .mark circle { opacity: 1; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
