/* 英字はUbuntuに統一（Google Fontsのフォントをページに同梱・外部通信なし／Ubuntu Font Licence：assets/fonts/UFL.txt）
   日本語の文中に出る英数字も「Ubuntu Latin」でUbuntuになる */
@font-face { font-family: "Ubuntu"; src: url("assets/fonts/Ubuntu-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("assets/fonts/Ubuntu-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("assets/fonts/Ubuntu-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Ubuntu Latin"; src: url("assets/fonts/Ubuntu-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2122; }
@font-face { font-family: "Ubuntu Latin"; src: url("assets/fonts/Ubuntu-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2122; }
@font-face { font-family: "Ubuntu Latin"; src: url("assets/fonts/Ubuntu-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2122; }

/* marutto design — Figma「途中まで」デザイン準拠（FV／メッセージ／3つの問い／つくれるもの） */
:root {
  --white: #ffffff;
  --black: #000000;
  --ink: #0b0b0b;
  --gray: #6b6b6b;
  --gut: 20px;
  --jp: "Ubuntu Latin", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic", Meiryo, sans-serif;
  --en: "Ubuntu", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ring: min(84svh, 92vw);
}
@media (min-width: 768px) { :root { --gut: 32px; } }
@media (min-width: 1200px) { :root { --gut: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--jp); font-size: 16px; line-height: 1.9; letter-spacing: .04em; font-weight: 500;
  line-break: strict; word-break: auto-phrase; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--black); color: #fff; padding: 12px 16px; }
.skip:focus { top: 12px; }
br.pc { display: none; }
@media (min-width: 900px) { br.pc { display: inline; } }

/* ── 3Dアイコンの箱（Figmaの切り抜き位置を％で再現） ── */
/* 切り抜き枠の外は透明なので overflow は隠さない（浮いた時に絵が切れないように） */
.ic { position: relative; display: block; aspect-ratio: 1; overflow: visible; }
/* マウスの方向へ向く（--rx/--ry はJSで更新） */
.item .ic, .make-grid .ic, .cta-star img { transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.ic img { position: absolute; max-width: none; height: auto; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.m-logo img   { left: -11.875%; top: -11.875%; width: 123.75%; }
.m-site img   { left: 0; top: 0; width: 100%; }
.m-folio img  { left: -13.125%; top: -13.125%; width: 126.25%; }
.m-card img   { left: -5.94%; top: -8.75%; width: 111.875%; }
.m-reserve img{ left: -5.31%; top: -5.625%; width: 112.8%; }
.m-print img  { left: -2.19%; top: -4.375%; width: 104.375%; } /* Print Design（緑のグラフ）：Figmaの切り抜き位置 */
.m-shop img   { left: -1.25%; top: -.625%; width: 103.125%; }
.m-sns img    { left: -7.5%; top: -9.375%; width: 115%; } /* SNS（紫の本）：Figmaの切り抜き位置 */

/* ── 固定：右上メニュー（白黒反転）・右下の相談ボタン ── */
.fx { position: fixed; z-index: 40; color: #fff; mix-blend-mode: difference; }
.fx-nav { top: 0; right: 0; padding: 16px var(--gut); }
.fx-nav ul { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fx-nav a { display: block; font-size: 16px; font-weight: 800; line-height: 1.2; letter-spacing: 0; text-decoration: none; position: relative; }
@property --g { syntax: "<number>"; inherits: false; initial-value: 0; }
.fx-nav a { padding-right: 0; transition: padding-right .5s var(--ease); }
.fx-nav a:is(:hover, :focus-visible) { padding-right: 22px; } /* ホバー時、文字が左へ寄って丸の場所をあける */
/* 丸は色を保つため、反転(difference)しない別レイヤー。文字の右に、メニューのホバーに合わせて 0→100 */
.fx-rings { top: 0; right: 0; padding: 16px var(--gut); mix-blend-mode: normal; pointer-events: none; }
.fx-rings ul { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fx-rings a { display: block; font-size: 16px; font-weight: 800; line-height: 1.2; letter-spacing: 0; padding-right: 0; position: relative; color: transparent; transition: padding-right .5s var(--ease); }
.fx-rings a::after { content: ""; position: absolute; right: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: conic-gradient(var(--rc) calc(var(--g) * 1%), transparent 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0); --g: 0; transition: --g .5s var(--ease); }
body:has(.fx-nav li:nth-child(1) a:is(:hover, :focus-visible)) .fx-rings li:nth-child(1) a::after,
body:has(.fx-nav li:nth-child(2) a:is(:hover, :focus-visible)) .fx-rings li:nth-child(2) a::after,
body:has(.fx-nav li:nth-child(3) a:is(:hover, :focus-visible)) .fx-rings li:nth-child(3) a::after,
body:has(.fx-nav li:nth-child(4) a:is(:hover, :focus-visible)) .fx-rings li:nth-child(4) a::after { --g: 100; }
body:has(.fx-nav li:nth-child(1) a:is(:hover, :focus-visible)) .fx-rings li:nth-child(1) a,
body:has(.fx-nav li:nth-child(2) a:is(:hover, :focus-visible)) .fx-rings li:nth-child(2) a,
body:has(.fx-nav li:nth-child(3) a:is(:hover, :focus-visible)) .fx-rings li:nth-child(3) a,
body:has(.fx-nav li:nth-child(4) a:is(:hover, :focus-visible)) .fx-rings li:nth-child(4) a { padding-right: 22px; }
@media (min-width: 1200px) { .fx-nav, .fx-rings { padding: 24px; } }
@media (max-width: 767px) { .fx-nav ul, .fx-rings ul { gap: 10px; } .fx-nav a, .fx-rings a { font-size: 14px; } }

.cta-star {
  position: fixed; z-index: 45; right: 12px; bottom: 12px; width: 104px; height: 104px;
  display: grid; place-items: center; text-decoration: none; color: #fff;
  transform: translate(var(--mgx, 0px), var(--mgy, 0px)); transition: transform .5s var(--spring);
}
.cta-star img { position: absolute; left: 50%; top: 50%; width: 124%; max-width: none; translate: -50% -50%; animation: spin 22s linear infinite; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .12)); transition: scale .5s var(--spring); }
.cta-star span { position: relative; font-size: 12px; font-weight: 900; line-height: 1.4; text-align: center; letter-spacing: .02em; }
.cta-star:hover img { scale: 1.12; animation-duration: 4s; }
@media (min-width: 768px) { .cta-star { right: 24px; bottom: 24px; width: 136px; height: 136px; } .cta-star span { font-size: 14px; } }
@keyframes spin { to { rotate: 360deg; } }
.js .cta-star { opacity: 0; scale: .2; transition: transform .5s var(--spring), opacity .6s var(--ease) 1.6s, scale .9s var(--spring) 1.6s; }
.is-ready .cta-star { opacity: 1; scale: 1; }

/* ── FV（スクロール固定） ── */
.stage { position: relative; height: 640svh; }
.pin { position: sticky; top: 0; height: 100svh; height: 100lvh; overflow: hidden; background: var(--white); }
.ring {
  position: absolute; left: 50%; top: 50svh; width: var(--ring); height: var(--ring); overflow: visible;
  transform: translate(-50%, -50%) rotate(-90deg) scale(var(--rs, 1));
}
.ring circle { fill: none; stroke: var(--black); stroke-width: 13.89; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .ring circle { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.75, 0, .2, 1) .1s; }
.is-ready .ring circle { stroke-dashoffset: 0; }
.is-drawn .ring circle { stroke-dasharray: none; }

.items { position: absolute; inset: 0; pointer-events: none; }
.item { position: absolute; left: 50%; top: 50svh; width: calc(var(--ring) * var(--w) / 720); opacity: 0; will-change: transform, opacity; transform: translate(-50%, -50%); }
.item .ic img { animation: bob 5.5s ease-in-out infinite; }
.item:nth-child(2) .ic img { animation-delay: -1.2s; } .item:nth-child(3) .ic img { animation-delay: -2.4s; } .item:nth-child(4) .ic img { animation-delay: -3.3s; } .item:nth-child(5) .ic img { animation-delay: -4.4s; }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -6%; rotate: -4deg; } }

/* まるの中の言葉：スクロール区間に入った時点で全文を表示 */
.say { z-index: 2; position: absolute; left: 50%; top: 50svh; translate: -50% -50%; width: calc(var(--ring) * .6); text-align: center; pointer-events: none; color: #fff; mix-blend-mode: difference; }
.say p { visibility: hidden; position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; font-weight: 900; font-size: clamp(16px, calc(var(--ring) * .0444), 32px); line-height: 1.4; letter-spacing: .02em; }
.say p.on { visibility: visible; }

/* 左上のブランド・左右の大きな文字・左下の見出し（すべて白黒反転） */
.fv-brand, .fv-side, .fv-copy, .scroll-hint { color: #fff; mix-blend-mode: difference; }
.fv-brand { position: absolute; left: 0; top: 0; padding: 16px var(--gut); font-family: var(--en); font-weight: 500; font-size: 15px; line-height: 1.2; letter-spacing: 0; }
.fv-brand small { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .02em; }
@media (min-width: 1200px) { .fv-brand { padding: 24px; font-size: 16px; } }
.fv-side { position: absolute; left: 0; right: 0; top: 50svh; translate: 0 -50%; display: flex; justify-content: space-between; align-items: center; padding: 0 var(--gut); line-height: 1.2; pointer-events: none; white-space: nowrap; }
.fv-side span { display: block; font-weight: 700; font-size: clamp(26px, 4.03vw, 58px); letter-spacing: 0; will-change: transform; }
.fv-side .en { font-family: var(--en); font-weight: 500; font-size: clamp(28px, 4.44vw, 64px); }
.js .fv-side span { opacity: 0; transition: opacity 1s var(--ease) .7s, translate 1.2s var(--ease) .7s; }
.js .fv-side .en { translate: -40px 0; } .js .fv-side span:last-child { translate: 40px 0; }
.is-ready .fv-side .en, .is-ready .fv-side span:last-child { opacity: 1; translate: 0 0; }

.fv-copy { position: absolute; left: 0; bottom: 0; padding: 0 var(--gut) 28px; }
.eyebrow { display: block; font-size: 12px; font-weight: 800; letter-spacing: .04em; line-height: 1.2; margin-bottom: 12px; }
.h1-l { display: block; overflow: hidden; font-size: clamp(30px, 3.34vw, 48px); font-weight: 900; line-height: 1.2; letter-spacing: .04em; padding-bottom: .06em; }
.h1-l > span { display: inline-block; }
.js .fv-copy .eyebrow { opacity: 0; transition: opacity 1s var(--ease) 1.2s; }
.js .h1-l > span { transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.js .h1-l:nth-child(2) > span { transition-delay: .95s; } .js .h1-l:nth-child(3) > span { transition-delay: 1.07s; }
.is-ready .fv-copy .eyebrow { opacity: 1; }
.is-ready .h1-l > span { transform: none; }
@media (min-width: 768px) { .eyebrow { font-size: 14px; } .fv-copy { padding-bottom: var(--gut); } }

/* スクロールの誘導：中央下 */
.scroll-hint { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: none; font-family: var(--en); font-weight: 500; font-size: 12px; letter-spacing: .16em; line-height: 1; }
.scroll-hint span { writing-mode: vertical-rl; }
.scroll-hint::after { content: ""; width: 1px; height: 48px; background: currentColor; animation: hint 1.8s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.js .scroll-hint { opacity: 0; transition: opacity .3s linear; }
.is-drawn .scroll-hint { opacity: var(--ho, 1); }
@media (max-width: 767px) { .scroll-hint::after { height: 32px; } }

/* 黒い円が◯の中を満たし、画面いっぱいに広がる */
.disc { position: absolute; left: 50%; top: 50svh; width: calc(var(--ring) * .7222); aspect-ratio: 1; border-radius: 50%; background: var(--black); transform: translate(-50%, -50%) scale(0); will-change: transform; }

/* 画面幅ごとの◯の大きさ */
@media (max-width: 767px) {
  :root { --ring: min(78svh, 88vw); }
  .ring, .say, .disc, .fv-side { top: 44svh; }
  .item { top: 44svh; }
  .is-moving .fv-side span { opacity: 0 !important; transition: opacity .4s var(--ease); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  :root { --ring: min(62svh, 74vw); }
  .ring, .say, .disc, .fv-side, .item { top: 45svh; }
}
@media (min-width: 1024px) { :root { --ring: min(75svh, 92vw); } }

/* ── 黒い面 ── */
.dark { position: relative; background: var(--black); color: #fff; margin-top: -1px; }
.intro { position: relative; padding: 0 0 12vh; }
/* 流れる帯：画面の中ほどに留まり、メッセージがその上を通り過ぎる */
.marquee { position: sticky; top: calc(50svh - 80px); height: 160px; margin-bottom: -160px; overflow: hidden; display: flex; align-items: center; pointer-events: none; }
.mq { display: flex; width: max-content; will-change: transform; }
.mq-set { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.mq b { font-family: var(--en); font-weight: 500; font-size: 72px; line-height: 1; letter-spacing: 0; color: rgba(255, 255, 255, .24); white-space: nowrap; }
.mq .ic { width: 96px; flex: none; transform: perspective(700px) rotate(var(--rot, 0deg)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
@media (min-width: 1024px) {
  .marquee { top: calc(50svh - 120px); height: 240px; margin-bottom: -240px; }
  .mq-set { gap: 60px; padding-right: 60px; }
  .mq b { font-size: 120px; }
  .mq .ic { width: 160px; }
}
.msg { position: relative; z-index: 1; padding: 62svh var(--gut) 0; max-width: calc(623px + 2 * var(--gut)); }
@media (min-width: 1024px) { .msg { padding-left: max(var(--gut), 8.33vw); max-width: calc(623px + max(var(--gut), 8.33vw)); padding-right: 0; } }
.msg-title { font-size: clamp(26px, 3.34vw, 48px); font-weight: 900; line-height: 1.4; letter-spacing: 0; }
.msg-title .ph { display: inline-block; white-space: nowrap; }
.msg-title .nw { white-space: nowrap; }
.msg-title .ch { display: inline-block; }
.js .msg-title .ch { opacity: 0; transform: translateY(.5em) rotate(6deg); filter: blur(8px); transition: opacity .6s var(--ease), transform .8s var(--spring), filter .6s var(--ease); transition-delay: calc(var(--i) * 26ms); }
.js .msg-title.is-in .ch { opacity: 1; transform: none; filter: none; }
.msg-lead { margin-top: 42px; color: #dfdfdf; font-size: 15px; line-height: 2; letter-spacing: .04em; }
@media (min-width: 768px) { .msg-lead { font-size: 16px; } }

/* 3つの問い */
.qs { position: relative; margin-top: 160px; } /* 1つ目の「？」の上の余白 */
.qrow { position: relative; }
.qimg { will-change: transform; transform: perspective(900px) rotate(var(--qt, 0deg)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.qq { color: #fff; mix-blend-mode: difference; font-weight: 700; letter-spacing: .04em; line-height: 1.6; }
.qa-t { font-size: 20px; font-weight: 700; line-height: 1.6; letter-spacing: .04em; }
.qa-a p:not(.qa-t) { margin-top: 16px; color: #dfdfdf; font-size: 15px; line-height: 2; letter-spacing: .04em; }
/* スマホ・タブレット：縦に並べ、「？」が飛び出す */
@media (max-width: 899px), (max-height: 599px) {
  .qs-list { padding: 8vh var(--gut) 14vh; display: grid; gap: 12vh; }
  .qrow { display: grid; }
  .qimg { width: min(64vw, 300px); margin: 0 auto 0 18%; grid-area: 1 / 1; scale: .2; rotate: -40deg; opacity: 0; transition: scale 1s var(--spring), rotate 1s var(--spring), opacity .4s; }
  .qq { grid-area: 1 / 1; align-self: center; font-size: clamp(26px, 7.4vw, 40px); z-index: 1; }
  .qa-a { margin-top: 20px; opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) .25s, transform .8s var(--ease) .25s; }
  .qrow.is-in .qimg { scale: 1; rotate: 0deg; opacity: 1; }
  .qrow.is-in .qa-a { opacity: 1; transform: none; }
}
/* PC：固定して、1問ずつ「？」がタイミングよく拡大 */
@media (min-width: 900px) and (min-height: 600px) {
  .qs { height: 400svh; }
  .qs-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
  .qs-list { position: relative; height: 100%; }
  .qrow { position: absolute; inset: 0; visibility: hidden; }
  .qrow.on { visibility: visible; }
  .qimg { position: absolute; left: 33.8vw; top: 50%; width: min(64svh, 40vw); translate: -50% -50%; scale: 0; rotate: -35deg; opacity: 0; transition: scale .5s cubic-bezier(.5, 0, .75, 0), rotate .5s cubic-bezier(.5, 0, .75, 0), opacity .35s .15s; }
  .qq { position: absolute; left: max(var(--gut), 8.33vw); top: 50%; translate: 0 -50%; font-size: clamp(32px, 3.34vw, 48px); }
  .qq .ln { display: block; overflow: hidden; }
  .qq .ln > span { display: inline-block; transform: none; }
  .qa-a { position: absolute; left: 50vw; top: 50%; translate: 0 -50%; width: min(474px, 42vw); opacity: 1; }
  .qa-t { font-size: clamp(20px, 1.67vw, 24px); }
  .qa-a p:not(.qa-t) { font-size: 16px; }
  /* 表示中の問い */
  .qrow.on .qimg { scale: 1; rotate: 0deg; opacity: 1; transition: scale 1.1s cubic-bezier(.34, 1.7, .5, 1) .05s, rotate 1.1s cubic-bezier(.34, 1.7, .5, 1) .05s, opacity .2s; }
  /* 説明は即時表示。動きは装飾の「？」だけに限定する。 */
}

/* 問いのページ進捗：Figmaの8pxの点と16pxの黄色いリング。 */
.q-progress { display: none; }
@media (min-width: 900px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  .js .q-progress { position: absolute; z-index: 3; right: 24px; top: 50%; translate: 0 -50%; display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
  .q-progress-dot { position: relative; display: block; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .24); }
  .q-progress-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; opacity: 0; background: conic-gradient(var(--gauge, #ffd640) calc(var(--progress, 0) * 1turn), transparent 0); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 0); }
  .q-progress-dot.is-current::after { opacity: 1; }
  .q-progress-dot:nth-child(1) { --gauge: #1f63ff; } /* 青 */
  .q-progress-dot:nth-child(2) { --gauge: #ffd640; } /* 黄 */
  .q-progress-dot:nth-child(3) { --gauge: #ff4fa3; } /* ピンク */
  /* 右端のゲージと本文の間を確保する。 */
  .qa-a { width: min(474px, calc(50vw - 64px)); }
}

/* ── つくれるもの ── */
.make { position: relative; background: #eff0f6; padding: 112px var(--gut) 120px; border-radius: 24px 24px 0 0; margin-top: -24px; z-index: 2; }
@media (min-width: 1024px) { .make { padding: 160px 0 260px; border-radius: 40px 40px 0 0; margin-top: -40px; } }
.make-head { text-align: center; }
.make-en { font-family: var(--en); font-weight: 500; font-size: 20px; line-height: 1.2; letter-spacing: 0; }
.make-head h2 { margin-top: 8px; font-size: clamp(30px, 4.03vw, 58px); font-weight: 900; line-height: 1.4; letter-spacing: .02em; }
.make-head h2 .ph { display: inline-block; white-space: nowrap; }
.make-head h2 .ch { display: inline-block; }
.js .make-head h2 .ch { opacity: 0; transform: translateY(.7em) scale(.6); transition: opacity .5s var(--ease), transform .8s var(--spring); transition-delay: calc(var(--i) * 40ms); }
.js .make-head h2.is-in .ch { opacity: 1; transform: none; }
.make-sub { margin-top: 32px; color: #5c5c5c; font-size: 15px; line-height: 1.6; }
@media (min-width: 768px) { .make-en { font-size: 24px; } .make-sub { font-size: 16px; } }
.make-grid { margin: 64px auto 0; max-width: 1440px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 16px; }
@media (min-width: 900px) { .make-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 60px 80px; padding: 0 max(var(--gut), 9.72vw); margin-top: 80px; } }
.make-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.make-grid .ic { width: min(100%, 160px); }
.make-grid li::before { content: ""; order: 1; width: min(80%, 128px); height: 12px; margin-top: 8px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .13), transparent); transition: transform .5s var(--spring); }
.make-grid .mk { order: 2; margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; font-family: var(--en); font-weight: 500; font-size: 18px; line-height: 1.2; letter-spacing: .02em; color: #0b0b0b; }
.make-grid .md { order: 3; margin-top: 12px; color: #5c5c5c; font-size: 13px; line-height: 1.4; letter-spacing: .02em; }
@media (min-width: 900px) { .make-grid .mk { font-size: 20px; } .make-grid .md { font-size: 14px; } }
/* 出てくる時：下からポンと弾んで登場。ホバーでジャンプ */
.js .make-grid li { opacity: 1; transform: none; }
.js .make-grid .ic { translate: 0 40px; scale: .3; rotate: -25deg; opacity: 0; transition: translate 1s var(--spring), scale 1s var(--spring), rotate 1s var(--spring), opacity .4s; transition-delay: var(--d, 0s); }
.js .make-grid li::before { scale: 0; transition: scale .8s var(--spring); transition-delay: var(--d, 0s); }
.js .make-grid .mk, .js .make-grid .md { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0s) + .2s); }
.js .make-grid li.is-in .ic { translate: 0 0; scale: 1; rotate: 0deg; opacity: 1; }
.js .make-grid li.is-in::before { scale: 1; }
.js .make-grid li.is-in .mk, .js .make-grid li.is-in .md { opacity: 1; transform: none; }
/* ふわふわ浮く：絵と影を同じ周期で動かす（上がると影が小さく薄く） */
.make-grid .ic img { animation: bob 5.5s ease-in-out infinite; animation-delay: var(--fd, 0s); }
.make-grid li::before { animation: shadow 5.5s ease-in-out infinite; animation-delay: var(--fd, 0s); translate: var(--sx, 0px) 0; }
@keyframes shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.78); opacity: .55; } }
/* ホバー：ジャンプ。影も同じタイミングで縮む */
.make-grid li:hover .ic img { animation: jump .9s var(--ease); }
.make-grid li:hover::before { animation: jumpShadow .9s var(--ease); }
@keyframes jumpShadow { 0% { transform: scaleX(1); opacity: 1; } 18% { transform: scaleX(1.12); opacity: 1; } 45% { transform: scaleX(.55); opacity: .35; } 70% { transform: scaleX(1.06); opacity: 1; } 100% { transform: scaleX(1); opacity: 1; } }
@keyframes jump { 0% { translate: 0 0; scale: 1 1; } 18% { translate: 0 2%; scale: 1.08 .9; } 45% { translate: 0 -16%; scale: .94 1.08; } 70% { translate: 0 0; scale: 1.05 .95; } 85% { scale: .98 1.02; } 100% { translate: 0 0; scale: 1 1; } }

/* 共通のふわっと表示 */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease) .1s, transform .9s var(--ease) .1s; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* 本文はスクロール速度やObserverの発火にかかわらず読める状態に保つ。 */
.js .msg-title .ch, .js .make-head h2 .ch,
.js .msg-lead[data-reveal], .js .make-grid .mk, .js .make-grid .md {
  opacity: 1; transform: none; filter: none; transition: none;
}
@media (max-width: 899px), (max-height: 599px) {
  .qa-a { opacity: 1; transform: none; transition: none; }
}
/* JSが読み込めない場合も、問いを通常の文書として読める。 */
html:not(.js) .stage { height: 100svh; }
html:not(.js) .qs { height: auto; }
html:not(.js) .qs-pin { position: relative; height: auto; overflow: visible; }
html:not(.js) .qs-list { height: auto; padding: 8vh var(--gut) 14vh; display: grid; gap: 10vh; }
html:not(.js) .qrow { position: relative; visibility: visible; }
html:not(.js) .qimg { position: relative; left: auto; top: auto; translate: none; scale: 1; rotate: none; opacity: 1; width: min(64vw, 300px); }
html:not(.js) .qq, html:not(.js) .qa-a { position: relative; left: auto; top: auto; translate: none; transform: none; opacity: 1; width: auto; }

/* ボタン（以降のセクションで使用） */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px; padding: 0 26px; width: 100%; background: #fff; color: var(--ink); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .04em; transition: transform .3s var(--ease); }
.btn svg, .link svg { fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease); }
.btn svg { width: 22px; height: 12px; }
.btn:hover svg { transform: translateX(4px); }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.link svg { width: 11px; height: 11px; }
@media (min-width: 560px) { .btn { width: auto; } }

/* ── 動きを減らす設定 ── */
@media (prefers-reduced-motion: reduce) {
  .stage { height: auto; }
  .pin { position: relative; height: 100svh; }
  .items, .say, .disc { display: none; }
  .marquee { position: relative; top: auto; margin: 0; }
  .msg { padding-top: 10vh; }
  .qs { height: auto !important; }
  .qs-pin { position: relative !important; height: auto !important; }
  .qs-list { height: auto !important; padding: 8vh var(--gut) 14vh !important; display: grid; gap: 10vh; }
  .qrow, .qimg, .qq, .qa-a { position: relative !important; inset: auto !important; left: auto !important; top: auto !important; translate: none !important; transform: none !important; opacity: 1 !important; }
  .qq .ln > span { transform: none !important; }
  .qrow { visibility: visible !important; }
  .qimg { width: min(64vw, 300px) !important; scale: 1 !important; rotate: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
}

/* =========================================================
   ここから下：FV以降のセクション（白黒＋ちょこっとカラー）
   ========================================================= */
:root {
  --pink: #ff4fa3; --yellow: #ffd640; --blue: #2e86ff; --mint: #33d49f; --orange: #ff6b3d; --purple: #b05cff;
  --paper: #f3f3f0; --line: #e2e2de; --sub: #5c5c5c;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.blob { display: block; overflow: visible; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-3deg); } }

.sec { position: relative; padding: 96px 0; }
@media (min-width: 1024px) { .sec { padding: 144px 0; } }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gut); }
.split { display: grid; gap: 40px; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; } .sticky-head { position: sticky; top: 96px; } }
.dark-sec { background: var(--black); color: #fff; }

.label { display: flex; align-items: center; gap: 12px; font-family: var(--en); font-weight: 500; font-size: 14px; letter-spacing: .04em; }
.label .no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 13px; letter-spacing: 0; }
.sec-head h2 { margin-top: 18px; font-size: clamp(28px, 4.6vw, 56px); font-weight: 800; line-height: 1.38; letter-spacing: 0; font-feature-settings: "palt"; text-wrap: balance; }
.sec-head .sub { margin-top: 18px; max-width: 34em; color: var(--sub); line-height: 2; text-wrap: pretty; }
.dark-sec .sec-head .sub { color: #b9b9b9; }
.sec-head.center { text-align: center; } .sec-head.center .label { justify-content: center; } .sec-head.center .sub { margin-inline: auto; }
.js [data-reveal] { transition-delay: .05s; }


/* ── 料金（Figma準拠）：白いパネルが「つくれるもの」に重なって上がる ── */
/* つくれるもの：下端が画面下に来たら止まり、その上をパネルが通過（--mh/--cv はJSで更新） */
.make { position: sticky; top: min(0px, calc(100svh - var(--mh, 0px))); }
.make > * { scale: calc(1 - var(--cv, 0) * .07); opacity: calc(1 - var(--cv, 0) * .55); transform-origin: 50% 100%; }
.price { position: relative; z-index: 3; background: #fff; border-radius: 24px; padding: 96px var(--gut) 112px; box-shadow: 0 -30px 80px rgba(0, 0, 0, .06); }
.stack { position: relative; }
.stack + .sec { position: relative; z-index: 2; margin-top: -24px; padding-top: calc(96px + 24px); }
@media (min-width: 1024px) {
  .price { border-radius: 40px; padding: 160px 0; }
  .stack + .sec { margin-top: -40px; padding-top: calc(144px + 40px); }
}
.price-head, .plans, .options { max-width: 1200px; margin-inline: auto; }
@media (min-width: 1024px) { .price-head, .plans, .options { width: calc(100% - 2 * var(--gut)); } }
.price-head { display: grid; gap: 24px; }
@media (min-width: 900px) { .price-head { grid-template-columns: 1fr auto; align-items: end; } }
.price-en { font-family: var(--en); font-weight: 500; font-size: 20px; line-height: 1.2; letter-spacing: 0; }
.price-head h2 { margin-top: 8px; font-size: clamp(32px, 4.03vw, 58px); font-weight: 900; line-height: 1.4; letter-spacing: .02em; }
.price-head h2 .ph { display: inline-block; white-space: nowrap; } .price-head h2 .ch { display: inline-block; }
.js .price-head h2 .ch { opacity: 0; transform: translateY(.7em) rotate(10deg); transition: opacity .5s var(--ease), transform .9s var(--spring); transition-delay: calc(var(--i) * 45ms); }
.js .price-head h2.is-in .ch { opacity: 1; transform: none; }
.price-sub { color: #5c5c5c; font-size: 15px; line-height: 1.6; }
@media (min-width: 900px) { .price-sub { text-align: right; font-size: 16px; padding-bottom: 12px; } .price-en { font-size: 24px; } }

/* 3つのプラン */
.plans { margin-top: 56px; display: grid; gap: 20px; position: relative; }
@media (min-width: 900px) { .plans { margin-top: 80px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 24px; padding: 40px 32px; border-radius: 24px; background: #eff0f6; color: #000; transition: translate .6s var(--spring), box-shadow .6s var(--ease); }
.plan-rec { background: #000; color: #fff; }
.plan-name { font-size: 20px; font-weight: 900; line-height: 1.4; letter-spacing: .02em; }
.plan-for { margin-top: -16px; font-size: 12px; line-height: 1.6; color: #5c5c5c; }
.plan-rec .plan-for, .plan-rec .plan-list { color: #dfdfdf; }
.plan-price { display: flex; align-items: baseline; gap: 2px; font-family: var(--en); font-weight: 500; line-height: 1.2; letter-spacing: 0; white-space: nowrap; }
.plan-price .yen { font-size: 24px; } .plan-price .num { font-size: 40px; font-variant-numeric: tabular-nums; }
.plan-list { display: grid; gap: 8px; font-size: 14px; line-height: 1.6; color: #5c5c5c; }
@media (hover: hover) { .plan:hover { translate: 0 -10px; box-shadow: 0 24px 50px rgba(0, 0, 0, .12); } }
/* お勧めバッジ */
.rec { position: absolute; right: 4px; top: -59px; width: 120px; height: 120px; display: grid; place-items: center; rotate: 5deg; z-index: 1; }
.rec img { position: absolute; inset: 0; width: 100%; transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); animation: spin 26s linear infinite; }
.rec span { position: relative; font-size: 14px; font-weight: 700; color: #fff; line-height: 1.4; }
@media (max-width: 899px) { .rec { width: 96px; height: 96px; top: -40px; } .rec span { font-size: 13px; } }
/* 出てくる時：下から時間差で、少し傾いて弾む。バッジはあとからポンと出る */
.js .plan { opacity: 0; translate: 0 120px; rotate: -3deg; transition: opacity .6s var(--ease), translate 1.1s var(--spring), rotate 1.1s var(--spring), box-shadow .6s var(--ease); }
.js .plan:nth-child(2) { rotate: 2deg; transition-delay: .12s; } .js .plan:nth-child(3) { rotate: 4deg; transition-delay: .24s; }
.js .plan.is-in { opacity: 1; translate: 0 0; rotate: 0deg; }
.js .plan.is-in:hover { transition-delay: 0s; }
.js .rec { scale: 0; rotate: -120deg; transition: scale .9s var(--spring) .7s, rotate .9s var(--spring) .7s; }
.js .plan.is-in .rec { scale: 1; rotate: 5deg; }

/* オプション：「+ Option」は縦書きで、一覧が流れる間は止まる */
.options { margin-top: 72px; display: grid; gap: 24px; }
.opt-label { font-family: var(--en); font-weight: 500; font-size: 56px; line-height: 1; letter-spacing: 0; white-space: nowrap; }
.opt-label span { display: inline-block; }
@media (min-width: 900px) {
  .options { margin-top: 67px; grid-template-columns: 115px minmax(0, 1fr); gap: 60px; align-items: start; }
  .opt-label { position: sticky; top: 120px; height: 390px; display: flex; align-items: center; justify-content: center; font-size: 96px; }
  .opt-label span { writing-mode: vertical-rl; }
  .opt-body { padding-top: 80px; }
}
.js .opt-label span { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1); }
.js .options.is-in .opt-label span { clip-path: inset(0 0 0 0); }
.opt-list { display: grid; gap: 32px; }
@media (min-width: 900px) { .opt-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
.opt-list li { position: relative; display: flex; flex-direction: column; gap: 8px; padding-bottom: 32px; }
@media (min-width: 900px) { .opt-list li { padding-bottom: 40px; } }
.opt-list li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-bottom: 1px dashed #c9cbd6; transform-origin: left; transition: transform 1.1s cubic-bezier(.7, 0, .2, 1) .2s; }
.js .opt-list li::after { transform: scaleX(0); }
.js .opt-list li.is-in::after { transform: scaleX(1); }
.js .opt-list li:nth-child(even) { transition-delay: .1s; }
.o-name { font-size: 18px; font-weight: 700; line-height: 1.4; }
.o-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px; font-family: var(--en); font-weight: 500; font-size: 24px; line-height: 1.2; letter-spacing: 0; }
.o-price .yen { font-size: 18px; }
.o-price small { font-family: var(--jp); font-weight: 700; font-size: 18px; }
.o-price em { align-self: center; margin-left: 6px; padding: 0 6px; border-radius: 2px; background: #dadada; color: #5c5c5c; font-family: var(--jp); font-style: normal; font-weight: 500; font-size: 14px; line-height: 1.6; }
.o-desc { font-size: 14px; line-height: 1.6; color: #5c5c5c; }
@media (max-width: 899px) { .o-desc br { display: none; } }
.price-note { margin-top: 30px; display: grid; gap: 4px; font-size: 13px; line-height: 1.6; color: #5c5c5c; }
.price-note li { display: flex; gap: 4px; }
.price-note li::before { content: "※"; flex: none; }
@media (min-width: 900px) { .price-note { font-size: 14px; } }

/* 08 FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-list { border-top: 2px solid var(--black); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; font-size: 17px; font-weight: 700; line-height: 1.6; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--orange); }
.faq summary:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.faq details p { padding: 0 48px 24px 0; color: var(--sub); line-height: 2; }

/* 09 相談 */
.contact-blobs { display: flex; gap: 12px; margin-top: 40px; }
.contact-blobs .blob { width: 64px; animation: float 5s ease-in-out infinite; }
.contact-blobs .blob:nth-child(2) { animation-delay: -1.6s; } .contact-blobs .blob:nth-child(3) { animation-delay: -3.2s; }
.demo-note { padding: 14px 18px; border-radius: 14px; background: #1b1b1b; color: #d6d6d6; font-size: 14px; line-height: 1.8; }
.demo-note b { color: var(--yellow); margin-right: 6px; }
.form { margin-top: 24px; display: grid; gap: 24px; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 700; }
.chips legend small { margin-left: 8px; font-size: 12px; color: #9a9a9a; font-weight: 600; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1.5px solid #4a4a4a; font-size: 14px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.chips input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.field label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.req { font-size: 12px; font-weight: 700; padding: 0 8px; border-radius: 99px; background: var(--pink); color: var(--black); line-height: 1.7; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid #3a3a3a; background: #151515; color: #fff; font: inherit; font-size: 16px; }
.field textarea { resize: vertical; line-height: 1.8; }
.field input:focus, .field textarea:focus { outline: none; border-color: #fff; }
.field [aria-invalid="true"] { border-color: #ff8a8a; }
.err { margin-top: 6px; font-size: 13px; color: #ff9c9c; }
.form-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.btn { border: 0; cursor: pointer; font-family: var(--jp); }
.link-btn { min-height: 44px; background: none; border: 0; color: #cfcfcf; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.form-small { font-size: 12px; color: #9a9a9a; }
.confirm { margin-top: 24px; padding: 28px 24px; border-radius: 20px; border: 1.5px solid #3a3a3a; }
.confirm h3 { font-size: 20px; font-weight: 800; }
.confirm-list { margin: 16px 0; display: grid; gap: 12px; }
.confirm-list dt { font-size: 13px; color: #9a9a9a; }
.confirm-list dd { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.btn-ghost { margin-top: 16px; background: transparent; color: #fff; border: 1.5px solid #fff; }

/* 10 運営 */
.company-dl { border-top: 2px solid var(--black); }
.company-dl > div { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .company-dl > div { grid-template-columns: 8em 1fr; gap: 16px; } }
.company-dl dt { font-size: 14px; font-weight: 700; color: var(--sub); }
.company-dl dd { margin: 0; }
.company-dl a { font-weight: 700; text-underline-offset: 4px; }

.dd-link { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; }
@media (min-width: 1024px) { .split .sec-head h2 { font-size: clamp(30px, 3.2vw, 46px); } }

/* 問いの行は常に改行 */
.qq .ln { display: block; }

/* スマホ：左右の大きな文字は◯の上下へ。誘導・見出し・相談ボタンが重ならないように */
@media (max-width: 767px) {
  .scroll-hint { display: none; }
  .h1-l { font-size: 28px; }
  .cta-star { width: 88px; height: 88px; right: 8px; bottom: 8px; }
  .cta-star span { font-size: 12px; line-height: 1.3; }
  .make-grid .ic { width: min(100%, 128px); }
  .make-grid .md br { display: none; }
}
/* タッチ端末：メニューの押せる範囲を上下に広げる（見た目の間隔はそのまま） */
@media (pointer: coarse) { .fx-nav a, .fx-rings a { padding-top: 10px; padding-bottom: 10px; padding-left: 16px; margin: -10px 0; } }
[tabindex="-1"]:focus { outline: none; }

/* スマホ：アドレスバーが隠れて画面が縦に伸びても、固定FVが画面いっぱいになるよう高さはlvh。下に寄せる要素は、バーが出ている時の画面（svh）の下端に合わせる */
.fv-copy { bottom: calc(100lvh - 100svh); }
.scroll-hint { bottom: calc(14px + 100lvh - 100svh); }
html:not(.js) .pin { height: 100svh; }
html:not(.js) .fv-copy { bottom: 0; }
html:not(.js) .scroll-hint { bottom: 14px; }
@media (prefers-reduced-motion: reduce) { .fv-copy { bottom: 0; } .scroll-hint { bottom: 14px; } }
/* 進め方の次のセクション：黒い面の上に角丸で重ねて、ページ全体のつながりをそろえる */
.flow + .sec { position: relative; z-index: 2; margin-top: -24px; border-radius: 24px 24px 0 0; }
@media (min-width: 1024px) { .flow + .sec { margin-top: -40px; border-radius: 40px 40px 0 0; } }

/* Examples・Designer削除後：FAQが黒い面の直後に来るため、角丸の内側を白で塗り、上の線を消す */
.flow + .sec { background: #fff; }
.flow + .faq { border-top: 0; }
/* 演出中の一瞬のはみ出しで横スクロールが出ないように（clipなのでstickyは効いたまま） */
html, body { overflow-x: clip; }

/* ===== 進め方（Process）— Figma 1150:4393 準拠 ===== */
.flow { background: #000; color: #fff; padding: 0; overflow: clip; }
.stack + .flow { padding-top: 24px; padding-bottom: 24px; }
@media (min-width: 1024px) { .stack + .flow { padding-top: 40px; padding-bottom: 40px; } }
.pf-head, .pf-rail-in { width: min(1200px, calc(100% - 2 * var(--gut))); margin-inline: auto; }
.pf-head { padding-top: 72px; }
.pf-en { font-family: var(--en); font-weight: 500; font-size: 20px; line-height: 1.2; letter-spacing: 0; }
.pf-row { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pf-title { font-size: clamp(32px, 4.03vw, 58px); font-weight: 900; line-height: 1.4; letter-spacing: 0; }
.pf-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.pf-title .ln > span { display: inline-block; }
.js .pf-title .ln > span { transform: translateY(105%); transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.js .pf-title .ln + .ln > span { transition-delay: .1s; }
.js .pf-title.is-in .ln > span { transform: none; }
.pf-lead { margin-top: 24px; color: #dfdfdf; font-size: 15px; line-height: 2; letter-spacing: .04em; }
@media (min-width: 768px) { .pf-en { font-size: 24px; } .pf-lead { margin-top: 32px; font-size: 16px; } }

/* 前へ・次へ。次へのまわりの紫の弧は、表示中の工程の進み具合 */
.pf-nav { display: flex; gap: 12px; flex: none; }
.pf-btn { position: relative; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: opacity .3s, transform .5s cubic-bezier(.16, 1, .3, 1); }
.pf-btn img, .pf-arrow { width: 22px; height: 22px; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.pf-arrow { fill: none; stroke: #fff; stroke-width: 1.467; stroke-linecap: round; stroke-linejoin: round; }
.pf-ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; overflow: visible; }
.pf-ring-base { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.pf-ring-arc { fill: none; stroke: #b458c7; stroke-width: 1.5; stroke-linecap: butt; stroke-dasharray: 0 100; transition: stroke-dasharray .45s cubic-bezier(.65, 0, .35, 1); }
/* ホバー（キーボード操作のフォーカスでも）で、紫のゲージがぐるっと溜まる */
.pf-btn:not([disabled]):hover .pf-ring-arc, .pf-btn:not([disabled]):focus-visible .pf-ring-arc { stroke-dasharray: 100 0; transition-duration: .8s; }
.pf-btn:hover { transform: scale(1.06); }
.pf-prev:hover img { transform: translateX(-3px); } .pf-next:hover .pf-arrow { transform: translateX(3px); }
.pf-btn[disabled] { opacity: .3; cursor: default; transform: none; }

/* 舞台・カード */
.pf-stage { position: relative; }
.pf-track { position: relative; }
.pf-card { display: flex; flex-direction: column; padding: 36px 28px; border-radius: 20px; background: #0e0e0e; border: 1px solid rgba(255, 255, 255, .08); transition: background .6s, border-color .6s, box-shadow .6s; }
.pf-card.on { background: #141414; border-color: rgba(255, 255, 255, .16); box-shadow: 0 40px 40px rgba(0, 0, 0, .6); }
.pf-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; background: #252424; transition: background .6s; }
.pf-card.on .pf-icon { background: #2a2a2a; }
.pf-icon img { width: 22px; height: 22px; }
.pf-icon .pf-pen { width: 16.6px; height: 16.6px; }
.pf-body { margin-top: 16px; display: grid; gap: 8px; }
.pf-name { font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
.pf-desc { color: #dfdfdf; font-size: 14px; line-height: 1.6; letter-spacing: .02em; }
.pf-ask { margin-top: auto; padding-top: 28px; display: grid; gap: 8px; font-size: 14px; line-height: 1.2; } /* 「お願いすること」はカードの下端にそろえる */
.pf-ask small { font-size: 12px; line-height: 18px; color: var(--c, #7a7c86); } /* カードごとの色（緑・黄・青・ピンク） */
.pf-card .pf-name, .pf-card .pf-desc, .pf-card .pf-ask { transition: opacity .6s; }
.pf-card:not(.on) .pf-name, .pf-card:not(.on) .pf-desc, .pf-card:not(.on) .pf-ask { opacity: .5; }

/* レール・番号札 */
.pf-rail { position: relative; height: 46px; }
.pf-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #474545; }
.pf-line b { position: absolute; left: 0; top: 0; height: 1px; width: var(--fill, 0px); background: #fff; transition: width 1s cubic-bezier(.16, 1, .3, 1); }
.pf-pill { cursor: pointer; padding: 0; min-width: 60px; height: 46px; border-radius: 8px; background: #141414; border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-family: var(--en); font-weight: 500; font-size: 16px; line-height: 20px; letter-spacing: 0; transition: background .5s, border-color .5s, color .5s, scale .4s cubic-bezier(.16, 1, .3, 1); }
.pf-pill:hover { scale: 1.06; }
.pf-pills li.on .pf-pill { background: var(--c); border-color: var(--c); color: #fff; }
.pf-pills li.done .pf-pill { color: #6b6b6b; }
.pf-glow { position: absolute; pointer-events: none; width: 740px; height: 740px; transition: transform 1s cubic-bezier(.16, 1, .3, 1), opacity .6s; }
.pf-glow img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; opacity: 0; transition: opacity .9s; }
.pf-glow img.on { opacity: 1; } /* 工程ごとの色の光（Figmaの書き出しをそのまま使用） */

/* ── PC：固定して1段ずつ進む（JSが data-mode="pin" を付ける） ── */
.flow[data-mode="pin"] .pf-run { height: var(--run, 400vh); }
.flow[data-mode="pin"] .pf-pin { position: sticky; top: var(--pin-top, 0px); padding-bottom: var(--pad, 80px); }
.flow[data-mode="pin"] .pf-head { padding-top: var(--pad, 80px); }
.flow[data-mode="pin"] .pf-stage { height: 504px; margin-top: var(--gap, 80px); }
.flow[data-mode="pin"] .pf-track { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.flow[data-mode="pin"] .pf-card { position: absolute; left: 0; top: 0; width: 360px; height: 342px; transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(var(--s, 1)) rotate(var(--r, 0deg)); opacity: var(--o, 1); transform-origin: 0% 100%; transition: transform 1s cubic-bezier(.16, 1, .3, 1), opacity .7s, background .6s, border-color .6s, box-shadow .6s; will-change: transform; }
.flow[data-mode="pin"] .pf-rail { position: absolute; left: 0; right: 0; top: 458px; }
.flow[data-mode="pin"] .pf-pills li { position: absolute; left: 0; top: 0; transform: translateX(var(--px, 0px)); transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.flow[data-mode="pin"] .pf-glow { left: 0; top: 0; transform: translate3d(var(--gx, 190px), var(--gy, -115px), 0); }

/* ── SP・低い画面・動きを減らす設定：横にスワイプするカード ── */
.flow:not([data-mode="pin"]) .pf-head { padding-top: 72px; }
.flow:not([data-mode="pin"]) .pf-nav { display: none; }
.flow:not([data-mode="pin"]) .pf-stage { margin-top: 40px; padding-bottom: 72px; }
.flow:not([data-mode="pin"]) .pf-glow { left: -200px; top: -230px; opacity: .8; }
.flow:not([data-mode="pin"]) .pf-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 4px var(--gut) 40px; scrollbar-width: none; overscroll-behavior-x: contain; }
.flow:not([data-mode="pin"]) .pf-track::-webkit-scrollbar { display: none; }
.flow:not([data-mode="pin"]) .pf-card { flex: none; width: min(300px, 82vw); min-height: 340px; scroll-snap-align: start; }
.flow:not([data-mode="pin"]) .pf-rail { width: min(1200px, calc(100% - 2 * var(--gut))); margin: 8px auto 0; }
.flow:not([data-mode="pin"]) .pf-pills { position: relative; display: flex; gap: 8px; }
.flow:not([data-mode="pin"]) .pf-line { left: calc(-1 * var(--gut)); right: calc(-1 * var(--gut)); }
@media (min-width: 768px) { .flow:not([data-mode="pin"]) .pf-card { width: 340px; } }
/* 「前へ」のゲージは反時計回りに溜まる（左右対称） */
.pf-prev .pf-ring { scale: 1 -1; }

/* ===== SP：3つの問い — 文章はふつうに流れ、画面中央の「？」が表示中の問いに合わせて切り替わる ===== */
@media (max-width: 899px), (max-height: 599px) {
  .qs.qs-floating .qs-list { display: block; padding-top: 4vh; }
  .qs.qs-floating .qrow { display: block; min-height: 64svh; padding-top: 18svh; }
  .qs.qs-floating .qrow + .qrow { margin-top: 10vh; }
  .qs.qs-floating .qrow > .qimg { display: none; }
  .qs.qs-floating .qq { position: relative; z-index: auto; }
  .qs.qs-floating .qa-a { position: relative; margin-top: 28px; } /* 本文はPCと同じく反転させない */
  .q-float { position: sticky; top: calc(50svh - min(64vw, 300px) / 2); width: min(64vw, 300px); height: min(64vw, 300px); margin: 0 auto calc(-1 * min(64vw, 300px)); pointer-events: none; }
  .q-float img { position: absolute; inset: 0; width: 100%; height: 100%; scale: .2; rotate: -40deg; opacity: 0; transition: scale .45s cubic-bezier(.5, 0, .75, 0), rotate .45s cubic-bezier(.5, 0, .75, 0), opacity .3s .1s; }
  .q-float img.on { scale: 1; rotate: 0deg; opacity: 1; transition: scale 1s cubic-bezier(.34, 1.6, .5, 1) .05s, rotate 1s cubic-bezier(.34, 1.6, .5, 1) .05s, opacity .2s; }
}
@media (prefers-reduced-motion: reduce) { .q-float img { transition: none !important; } }

/* SPだけの改行 */
@media (min-width: 900px) { br.sp { display: none; } }

/* Process：上下に余白200pxを追加 */
.stack + .flow.flow { padding-top: 0; padding-bottom: 0; }
.stack + .flow.flow[data-mode="pin"] { padding-top: calc(160px - var(--pad, 80px)); padding-bottom: calc(160px - var(--pad, 80px)); }
.stack + .flow.flow:not([data-mode="pin"]) { padding-top: 88px; padding-bottom: 88px; }

/* 前へ・次へ：右上のメニューと重ならないよう、説明文の下端のラインに揃える */
.pf-head { position: relative; }
.pf-nav { position: absolute; right: 0; bottom: 0; }

/* ===== カジュアルに相談する：入力中の吹き出し（ふわふわ浮く） ===== */
.talk { display: inline-block; margin-top: 42px; text-decoration: none; color: #000; animation: talk-float 4.6s ease-in-out infinite; }
.talk-in { position: relative; display: inline-flex; align-items: center; gap: 16px; height: 80px; min-width: 312px; padding: 0 36px 0 42px; border-radius: 34px 34px 34px 8px; background: #fff; font-size: 16px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; white-space: nowrap; transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), border-radius .6s; transform-origin: 0% 100%; }
.talk:hover .talk-in, .talk:focus-visible .talk-in { transform: scale(1.04) rotate(-1deg); border-radius: 40px 40px 40px 6px; }
.talk-dots { display: flex; gap: 6px; }
.talk-dots i { width: 7px; height: 7px; border-radius: 50%; background: #000; animation: talk-dot 1.2s ease-in-out infinite; }
.talk-dots i:nth-child(2) { animation-delay: .15s; } .talk-dots i:nth-child(3) { animation-delay: .3s; }
.talk-text:empty { display: none; }
.talk-text::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.15em; background: #000; animation: talk-caret .8s steps(1) infinite; }
.talk.is-typed .talk-text::after { display: none; }
.talk-arrow { width: 22px; height: 22px; margin-left: auto; fill: none; stroke: #000; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .5s cubic-bezier(.16, 1, .3, 1); }
.talk.is-typed .talk-arrow { opacity: 1; transform: none; }
.talk.is-typing .talk-dots, .talk.is-typed .talk-dots { display: none; }
@keyframes talk-float { 0%, 100% { translate: 0 0; rotate: 0deg; } 30% { translate: 0 -7px; rotate: -1.2deg; } 65% { translate: 0 -3px; rotate: .8deg; } }
@keyframes talk-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes talk-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .talk, .talk-dots i, .talk-text::after { animation: none; } }
/* SP：吹き出しは浮かせない */
@media (max-width: 899px) { .talk { animation: none; } }

/* 英字タイトル：白＋Difference。表示されたら、カラフルな丸が円を描く */
.en-title { position: relative; display: inline-block; margin: 0; font-family: var(--en); font-weight: 500; font-size: 20px; line-height: 1.2; letter-spacing: 0; }
@media (min-width: 768px) { .en-title { font-size: 24px; } }
.sec-en { font-size: 20px; } @media (min-width: 768px) { .sec-en { font-size: 24px; } }
.en-title { isolation: isolate; background: var(--eb, transparent); }
.en-title .t { position: relative; z-index: 1; color: #fff; mix-blend-mode: difference; }
.en-ring { position: absolute; left: var(--rx, 0); top: var(--ry, 0); width: 1em; height: 1em; overflow: visible; pointer-events: none; }
.en-ring circle { fill: none; stroke: var(--rc, #ff4fa3); stroke-width: 3; stroke-dasharray: 0 100; stroke-linecap: butt; }
.en-title.is-in .en-ring circle { stroke-dasharray: var(--arc, 80) 100; transition: stroke-dasharray 1.1s cubic-bezier(.65, 0, .35, 1) .1s; }
html:not(.js) .en-ring circle, .no-anim .en-ring circle { stroke-dasharray: var(--arc, 80) 100; }
@media (prefers-reduced-motion: reduce) { .en-ring circle { stroke-dasharray: var(--arc, 80) 100; transition: none; } }

/* 左上のロゴ：スクロールしても固定。クリックで一番上へ */
.fx-brand { top: 0; left: 0; padding: 16px var(--gut); font-family: var(--en); font-weight: 500; font-size: 15px; line-height: 1.2; letter-spacing: 0; text-decoration: none; }
.fx-brand small { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .02em; }
@media (min-width: 1200px) { .fx-brand { padding: 24px; font-size: 16px; } }
@media (pointer: coarse) { .fx-brand { padding-bottom: 20px; } }

/* ===== FAQ — Figma 1170:607 準拠。枠のどこを押しても開閉 ===== */
.faq .wrap { max-width: 1200px; }
.faq .split { gap: 40px; }
@media (min-width: 1024px) { .faq .split { grid-template-columns: minmax(0, 348px) minmax(0, 1fr); gap: 100px; } .faq .sec-head { position: sticky; top: 96px; } }
.faq .sec-head h2 { margin-top: 8px; font-size: clamp(36px, 4.03vw, 58px); font-weight: 900; line-height: 1.4; }
.faq .sec-head .sub { margin-top: 32px; font-size: 16px; line-height: 1.6; max-width: none; }
.faq-list { border-top: 0; display: grid; gap: 8px; padding-right: 14px; }
.fq { position: relative; border-radius: 20px; background: #eff0f6; transition: background-color .3s var(--ease); }
.fq:hover { background: #e8e9f2; }
.fq-h { margin: 0; font-size: 16px; line-height: 1.4; }
.fq-q { display: block; width: 100%; padding: 32px 32px; border: 0; background: transparent; color: #000; font: inherit; font-weight: 700; line-height: 1.4; letter-spacing: 0; text-align: left; cursor: pointer; border-radius: 20px; }
.fq.is-open .fq-q { padding-bottom: 16px; }
.fq-q { transition: padding .45s var(--ease); }
@media (max-width: 767px) { .fq.is-open .fq-q { padding-bottom: 12px; } }
.fq-q::before { content: ""; position: absolute; inset: 0; border-radius: 20px; } /* 枠全体を押せる範囲にする */
.fq-q:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.fq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--ease), visibility 0s .45s; pointer-events: none; }
.fq-a > div { overflow: hidden; }
.fq-a p { margin: 0; padding: 0 32px 32px; color: var(--sub); font-size: 14px; font-weight: 500; line-height: 1.6; letter-spacing: .04em; }
.fq.is-open .fq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .45s var(--ease), visibility 0s; }
.fq-ic { position: absolute; right: -14px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: #eff0f6; border: 2px solid #fff; transition: background-color .3s, transform .4s var(--ease); pointer-events: none; }
.fq:hover .fq-ic { background: #e8e9f2; }
.fq-ic::before, .fq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 1.5px; margin: -.75px 0 0 -4.5px; background: #000; border-radius: 1px; transition: background-color .3s; }
.fq-ic::after { rotate: 90deg; }
.fq.is-open .fq-ic { background: #f44b1b; transform: rotate(45deg); }
.fq.is-open .fq-ic::before, .fq.is-open .fq-ic::after { background: #fff; }
@media (max-width: 767px) { .fq-q { padding: 24px 24px; font-size: 15px; } .fq-a p { padding: 0 24px 24px; font-size: 14px; } .faq .sec-head .sub { margin-top: 20px; font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .fq-a, .fq.is-open .fq-a, .fq-ic { transition: none; } }
html:not(.js) .fq-a { grid-template-rows: 1fr; visibility: visible; }

/* ===== まとめの一文：◯のレンズ（輪郭の文字が流れ、◯の中だけ白く読める） ===== */
.faq { position: relative; z-index: 3; border-radius: 0 0 24px 24px; }
@media (min-width: 1024px) { .faq { border-radius: 0 0 40px 40px; } }
.lens { position: relative; background: #000; color: #fff; margin-top: -40px; padding: 120px 0 40px; overflow: clip; }
@media (min-width: 1024px) { .lens { padding: 200px 0 64px; } }
.lens-band { position: relative; height: calc(var(--lfs) * 1.25); --lfs: clamp(56px, 9.3vw, 134px); --lr: clamp(90px, 13vw, 170px); }
.lens-layer { position: absolute; inset: 0; overflow: hidden; }
.lens-track { display: flex; width: max-content; height: 100%; align-items: center; transform: translate3d(var(--lx-track, 0px), 0, 0); will-change: transform; }
.lens-track span { padding-right: .6em; font-size: var(--lfs); font-weight: 900; line-height: 1; letter-spacing: .02em; white-space: nowrap; }
.lens-line span { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .5); }
.lens-fill { clip-path: circle(var(--lr) at var(--lx, 50%) var(--ly, 50%)); }
.lens-fill span { color: #fff; }
.lens-ring { position: absolute; left: var(--lx, 50%); top: var(--ly, 50%); width: calc(var(--lr) * 2); height: calc(var(--lr) * 2); translate: -50% -50%; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .9); pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .lens-line, .lens-ring { display: none; }
  .lens-fill { clip-path: none; }
}

/* ===== Contact（Figma準拠＋見出し文言の提案） ===== */
.contact { padding-top: 64px; }
.ct-wrap { width: min(1200px, calc(100% - 2 * var(--gut))); margin: 0 auto; display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact { padding: 96px 0 160px; } .ct-wrap { grid-template-columns: 348px minmax(0, 557px); justify-content: space-between; gap: 80px; } .ct-head { position: sticky; top: 96px; align-self: start; } }
.ct-title { margin-top: 8px; font-size: clamp(36px, 4.03vw, 58px); font-weight: 900; line-height: 1.4; letter-spacing: .01em; }
.ct-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.ct-title .ln > span { display: inline-block; }
.js .ct-title .ln > span { transform: translateY(105%); transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.js .ct-title .ln + .ln > span { transition-delay: .12s; }
.js .ct-title.is-in .ln > span { transform: none; }
.ct-lead { margin-top: 32px; color: #dfdfdf; font-size: 16px; line-height: 2; letter-spacing: .04em; }
.contact .demo-note { margin-bottom: 32px; }
.contact .form { margin-top: 0; gap: 40px; }
.contact .field label, .contact .chips legend { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 16px; font-weight: 700; line-height: 1.5; }
.contact .req { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: #ff4fa3; color: #fff; line-height: 1.4; }
.contact .chips legend small { margin-left: 0; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: #2a2a2a; color: #bdbdbd; line-height: 1.4; }
/* 入力欄：フォーカスで紫の線（Processの前へ・次へボタンと同じ色） */
.contact .field input, .contact .field textarea { min-height: 54px; padding: 16px; border-radius: 8px; border: 1px solid #2a2a2a; background: #141414; color: #fff; font-size: 16px; transition: border-color .3s, box-shadow .3s; }
.contact .field textarea { min-height: 240px; }
.contact .field input::placeholder, .contact .field textarea::placeholder { color: #6b6b6b; }
.contact .field input:hover, .contact .field textarea:hover { border-color: #3a3a3a; }
.contact .field input:focus, .contact .field textarea:focus { outline: none; border-color: #b458c7; box-shadow: 0 0 0 3px rgba(180, 88, 199, .25); }
.contact .field [aria-invalid="true"] { border-color: #ff8a8a; }
/* 選択チップ：選ぶと白地に黒文字＋チェック（色の意味は工程の4色だけに） */
.contact .chips span { min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid #2a2a2a; background: #141414; font-size: 14px; font-weight: 700; gap: 0; transition: background .25s, color .25s, border-color .25s, padding .25s; }
.contact .chips span::before { content: ""; width: 0; height: 14px; margin-right: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3 3L13 4.6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: width .25s, margin .25s; }
.contact .chips input:checked + span { background: #fff; border-color: #fff; color: #000; }
.contact .chips input:checked + span::before { width: 14px; margin-right: 8px; }
.contact .chips label:hover span { border-color: #4a4a4a; }

/* 送信ボタン：吹き出し。点が必須項目の数だけ灯る → そろうと文言が打ち込まれる */
.contact .form-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.send { padding: 0; border: 0; background: none; cursor: pointer; color: #000; font: inherit; }
.send-in { display: inline-flex; align-items: center; gap: 16px; height: 80px; min-width: 312px; padding: 0 36px 0 42px; border-radius: 34px 34px 34px 8px; background: #fff; font-size: 16px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), border-radius .6s; transform-origin: 0% 100%; }
.send:hover .send-in, .send:focus-visible .send-in { transform: scale(1.04) rotate(-1deg); border-radius: 40px 40px 40px 6px; }
.send:focus-visible { outline: none; } .send:focus-visible .send-in { box-shadow: 0 0 0 3px #b458c7; }
.send-dots { display: flex; gap: 8px; }
.send-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d4d4d4; transition: background .3s, transform .5s cubic-bezier(.34, 1.8, .5, 1); }
.send-dots i.on { background: #000; transform: scale(1.25); }
.send:not(.is-ready) .send-dots i:not(.on) { animation: talk-dot 1.2s ease-in-out infinite; }
.send-dots i:nth-child(2) { animation-delay: .15s; } .send-dots i:nth-child(3) { animation-delay: .3s; }
.send-text:empty { display: none; }
.send-arrow { width: 22px; height: 22px; margin-left: auto; fill: none; stroke: #000; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .5s cubic-bezier(.16, 1, .3, 1); }
.send.is-typed .send-arrow { opacity: 1; transform: none; }
.send.is-typing .send-dots, .send.is-typed .send-dots { display: none; }
.send-status { font-size: 13px; color: #8a8a8a; }
.send.is-ready + .send-status { color: #b458c7; }
.contact .form-small { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
@media (prefers-reduced-motion: reduce) { .send-dots i { animation: none !important; } }
@media (max-width: 767px) { .send-in { min-width: 0; width: 100%; } .send { width: 100%; } }

/* 調整：レンズが切れない高さ／見出しの列幅／フッターロゴの文字切れ・相談ボタンとの重なり */
.lens-band { height: calc(var(--lfs) * 2.3); --lr: calc(var(--lfs) * 1); }
.lens { padding-bottom: 24px; }
@media (min-width: 1024px) { .ct-wrap { grid-template-columns: 420px minmax(0, 557px); } }
.ct-title .ln + .ln + .ln > span { transition-delay: .24s; }
/* レンズ改：外側は「ぼんやり」した文字（まだ決まっていない状態）、◯の中だけ大きく・くっきり見える */
.lens-line { filter: blur(clamp(4px, .7vw, 9px)); opacity: .6; }
.lens-line span { color: rgba(255, 255, 255, .32); -webkit-text-stroke: 0; }
.lens-fill { --lz: 1.28; transform: scale(var(--lz)); transform-origin: var(--lx, 50%) var(--ly, 50%); clip-path: circle(calc(var(--lr) / var(--lz)) at var(--lx, 50%) var(--ly, 50%)); }
@media (prefers-reduced-motion: reduce) { .lens-fill { transform: none; } }
/* ご相談したいこと：選択時は青（#1f63ff）・白文字。チェックの印は残す（白いチェック） */
.contact .chips input:checked + span { background: #1f63ff; border-color: rgba(31, 99, 255, .12); color: #fff; }
.contact .chips input:checked + span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3 3L13 4.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* 送信ボタン：Figma 1182:1105 準拠（未入力＝入力中の点／未入力でホバー＝赤みの面に「必須項目を記入してください」／そろった＝「送信内容の確認 →」） */
.send-in { justify-content: space-between; width: 312px; min-width: 0; padding: 0 40px; border-radius: 34px 34px 34px 8px; transition: background-color .35s, color .35s, transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.send:hover .send-in, .send:focus-visible .send-in { transform: none; border-radius: 34px 34px 34px 8px; }
.send.is-ready:hover .send-in, .send.is-ready:focus-visible .send-in { transform: scale(1.03); }
.send-dots i, .send-dots i.on { background: #000; transform: none; }
.send-dots i { animation: talk-dot 1.2s ease-in-out infinite; }
.send-warn { display: none; color: #fff; font-size: 16px; font-weight: 700; }
.send:not(.is-ready):hover .send-in, .send:not(.is-ready):focus-visible .send-in, .send.is-warn:not(.is-ready) .send-in { background: rgba(244, 75, 27, .2); color: #fff; }
.send:not(.is-ready):hover .send-dots, .send:not(.is-ready):focus-visible .send-dots, .send.is-warn:not(.is-ready) .send-dots { display: none; }
.send:not(.is-ready):hover .send-warn, .send:not(.is-ready):focus-visible .send-warn, .send.is-warn:not(.is-ready) .send-warn { display: block; }
.send-arrow { width: 32px; height: 32px; margin-left: 0; stroke-width: 1.5; }
@media (max-width: 767px) { .send-in { width: 100%; } }

/* ===== レンズの表現 比較（A：現行のぼかし／B：強いぼかし／C：網点） ===== */
/* B：霧の向こうのように強くぼかす。◯を通した部分だけがはっきり読める */
.lens[data-lens="b"] .lens-line { filter: blur(clamp(10px, 1.8vw, 26px)); opacity: .75; }
.lens[data-lens="b"] .lens-line span { color: rgba(255, 255, 255, .42); }
/* C：網点（印刷の粗いドット）で文字の形だけを見せる。◯を通すと、なめらかな文字になる */
.lens[data-lens="c"] .lens-line { filter: none; opacity: 1; }
.lens[data-lens="c"] .lens-line span { color: rgba(255, 255, 255, .55);
  -webkit-mask-image: radial-gradient(circle, #000 32%, transparent 36%); mask-image: radial-gradient(circle, #000 32%, transparent 36%);
  -webkit-mask-size: clamp(5px, .55vw, 8px) clamp(5px, .55vw, 8px); mask-size: clamp(5px, .55vw, 8px) clamp(5px, .55vw, 8px); }
/* ◯の内側には外側の文字（ぼかし・網点）を出さない。拡大したくっきりの文字だけが見える */
.lens-line { -webkit-mask-image: radial-gradient(circle var(--lr) at var(--lx, 50%) var(--ly, 50%), transparent calc(var(--lr) - 1px), #000 var(--lr)); mask-image: radial-gradient(circle var(--lr) at var(--lx, 50%) var(--ly, 50%), transparent calc(var(--lr) - 1px), #000 var(--lr)); }
@media (prefers-reduced-motion: reduce) { .lens-line { -webkit-mask-image: none; mask-image: none; } }

/* Formspree送信：ハニーポット・確認画面のボタン・完了表示 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.confirm-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.send-result { margin-top: 16px; font-size: 14px; line-height: 1.6; color: #ff9c9c; }
.thanks { padding: 40px 0; color: #fff; }
.thanks h3 { font-size: 24px; font-weight: 800; line-height: 1.4; }
.thanks p { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--sub, #a0a2ac); }

/* フッターが見えている間は、右下の「ご相談はこちら」を隠す（フッター内に同じ導線があるため） */
/* ページの一番下（フッター）では、星が「ページの先頭へ」ボタンに変わる */
.cta-star .st-top { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; opacity: 0; scale: .7; transition: opacity .35s, scale .5s var(--spring); pointer-events: none; }
.cta-star .st-go { transition: opacity .35s, scale .5s var(--spring); }
.at-foot .cta-star .st-go { opacity: 0; scale: .7; }
.at-foot .cta-star .st-top { opacity: 1; scale: 1; }
/* 一番下では、Figmaの3つの形（花・ドーナツ・三角）のどれかに変わる。フッターに着くたびに順番に切り替わる */
.cta-star .st-alt { opacity: 0; scale: .6; pointer-events: none; transition: opacity .35s, scale .5s var(--spring); }
.at-foot .cta-star > img:not(.st-alt) { opacity: 0; scale: .6; }
.at-foot .cta-star[data-shape="0"] .st-alt[data-shape="0"],
.at-foot .cta-star[data-shape="1"] .st-alt[data-shape="1"],
.at-foot .cta-star[data-shape="2"] .st-alt[data-shape="2"] { opacity: 1; scale: 1; }
.cta-star .st-alt[data-shape="2"] { width: 112%; }
.cta-star .st-alt[data-shape="1"] { width: 100%; }

/* 右下の星が「ページの先頭へ」に変わるため、フッター内の同じ文字リンクは隠す（HTMLは残してある） */
.foot .to-top { display: none; }

/* ===== フッター（Figma 1190:1772）：中央で◯が描かれ → 左右に「marutt」「design」が現れる → 左へ流れ続け、◯の中のアイコンが入れ替わる ===== */
main { position: relative; z-index: 1; }
/* 黒いContactの下の角を丸くし、フッターはその裏に置く。PCで画面に収まる時は画面の下に固定され、黒い面が上へ抜けると現れる（.foot-reveal はJSが付ける） */
.contact { border-radius: 0 0 32px 32px; }
@media (min-width: 1024px) { .contact { border-radius: 0 0 60px 60px; } }
.foot { position: relative; z-index: 0; margin-top: -32px; padding: calc(32px + 88px) 0 120px; background: #fff; color: #000; overflow: clip; }
@media (min-width: 1024px) { .foot { margin-top: -60px; padding: calc(60px + 160px) 0 28px; } }
@media (min-width: 1024px) and (max-height: 860px) { .foot { padding-top: calc(60px + 112px); } .foot-bar { margin-top: 88px !important; } }
.foot-reveal .foot { position: sticky; bottom: 0; }
/* 文字の大きさ：1440pxで300px（Figma）。◯は文字の0.8倍（240px）、アイコンは◯の中に112px */
.fo-stage { position: relative; font-family: var(--en); font-weight: 500; font-size: clamp(96px, 20.84vw, 300px); line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; }
@media (max-width: 767px) { .fo-stage { font-size: 28vw; } }
.fo-track { display: flex; width: max-content; will-change: transform; transform: translate3d(var(--tx, 0px), 0, 0); }
.fo-unit { display: flex; align-items: center; flex: none; }
.fo-w { display: block; flex: none; }
.fo-w1 { margin-right: .12em; }
.fo-w2 { margin: 0 .3em 0 .12em; }
.fo-unit > .fo-o:last-child { margin-right: .3em; }
.fo-o { position: relative; z-index: 1; display: block; flex: none; width: .8em; height: .8em; border-radius: 50%; background: #fff; } /* 白く塗り、文字が◯の後ろから出てくるように */
.fo-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; rotate: -90deg; }
.fo-ring circle { fill: none; stroke: #000; stroke-width: 32; }
/* ◯は、点線ではなく「角度のマスク」で描く。描き始める前は完全に隠し（黒い筋・うっすらした弧が出ない）、描き終えたらマスクを外して、つなぎ目のない線にする */
@property --fa { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.js .foot:not(.is-drawn) .fo-ring { --fa: 0deg; -webkit-mask: conic-gradient(from 90deg, #000 var(--fa), transparent 0); mask: conic-gradient(from 90deg, #000 var(--fa), transparent 0); transition: --fa 1.1s cubic-bezier(.65, 0, .25, 1); }
.js .foot:not(.is-play) .fo-ring { visibility: hidden; }
.js .foot.is-play:not(.is-drawn) .fo-ring { --fa: 360deg; }
.fo-ic { position: absolute; left: 50%; top: 50%; width: .3733em; height: auto; margin: -.1867em 0 0 -.1867em; scale: 0; rotate: -40deg; opacity: 0;
  transition: scale .4s cubic-bezier(.5, 0, .75, 0), rotate .4s cubic-bezier(.5, 0, .75, 0), opacity .25s .12s; }
.fo-ic.on { scale: 1; rotate: 0deg; opacity: 1; transition: scale .85s cubic-bezier(.34, 1.7, .5, 1), rotate .85s cubic-bezier(.34, 1.7, .5, 1), opacity .2s; }
/* 登場の順番：①◯が描かれる（0〜1.1秒） ②◯の縁から左右へ文字が現れる（1.05秒〜） ③アイコン（JS）④流れ始める（JS） */
.js .fo-stage { clip-path: inset(.2em calc(50% - .4em) round .4em); /* 最初は◯と同じ丸い窓。左右へカプセル状に広がる */ transition: clip-path 1.35s cubic-bezier(.76, 0, .18, 1) 1.05s; }
.js .fo-w1 { translate: .5em 0; } .js .fo-w2 { translate: -.5em 0; }
/* 文字は◯の後ろに隠れているだけだと、◯の縁（アンチエイリアス）から黒い筋やうっすらした弧がにじむ。◯を描き終える頃まで、文字そのものを出さない */
.js .fo-w { opacity: 0; transition: translate 1.35s cubic-bezier(.76, 0, .18, 1) 1.05s, opacity 0s linear 1.05s; }
.js .foot.is-play .fo-stage { clip-path: inset(-.1em 0 round 0); }
.js .foot.is-play .fo-w { translate: 0 0; opacity: 1; }
/* 下段：リンクと著作権表示 */
.foot-bar { display: grid; gap: 8px; margin: 72px var(--gut) 0; padding-top: 20px; border-top: 1px solid rgba(0, 0, 0, .14); font-size: 14px; color: #000; }
.foot-bar .foot-ext { display: flex; flex-direction: column; }
.foot-bar .foot-ext a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #000; font-weight: 700; text-decoration: none; }
.foot-bar .foot-ext .t { background: linear-gradient(#000, #000) left 100% / 0 1px no-repeat; transition: background-size .45s cubic-bezier(.16, 1, .3, 1); }
.foot-bar .foot-ext a:hover .t { background-size: 100% 1px; }
.foot-bar .arw { flex: none; width: 16px; height: 16px; overflow: hidden; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.foot-bar .foot-ext a:hover .arw path { animation: fo-arw .55s cubic-bezier(.65, 0, .25, 1); }
@keyframes fo-arw { 0% { translate: 0 0; } 45% { translate: 12px -12px; } 46% { translate: -12px 12px; } 100% { translate: 0 0; } }
.foot-bar .copy { margin-top: 16px; white-space: nowrap; font-family: var(--en); font-size: 13px; letter-spacing: .04em; color: #5a5a5a; }
@media (min-width: 768px) {
  .foot-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; padding-right: 150px; } /* 右下の星と重ならないように */
  .foot-bar .foot-ext { flex-direction: row; flex-wrap: wrap; gap: 0 32px; }
  .foot-bar .copy { margin: 0; }
}
@media (min-width: 1024px) { .foot-bar { margin-top: 120px; } }
@media (prefers-reduced-motion: reduce) {
  .js .fo-stage, .js .fo-ring, .js .fo-ring circle, .js .fo-w { transition: none !important; }
  .fo-ic { transition: none !important; }
  .foot-bar .foot-ext a:hover .arw path { animation: none; }
}

/* ── プライバシーポリシー（privacy/index.html） ── */
.pp-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--gut); }
.pp-brand { font-family: var(--en); font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-decoration: none; }
.pp-brand small { display: block; margin-top: 2px; font-size: 10px; font-weight: 500; }
.pp-back, .pp-foot a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 800; }
.pp { padding: 40px var(--gut) 80px; }
.pp-body { max-width: 720px; margin: 0 auto; }
.pp-body h1 { font-size: clamp(28px, 6vw, 40px); font-weight: 900; line-height: 1.4; }
.pp-body h2 { margin-top: 48px; font-size: 18px; font-weight: 800; line-height: 1.5; }
.pp-body p, .pp-body li { font-size: 15px; line-height: 1.9; font-weight: 500; }
.pp-body p { margin-top: 12px; }
.pp-body ul { margin-top: 12px; padding-left: 1.3em; list-style: disc; }
.pp-body li + li { margin-top: 4px; }
.pp-body a { text-underline-offset: .2em; }
.pp-lead { margin-top: 24px; }
.pp-draft, .pp-state { padding: 16px 18px; border-radius: 12px; background: #fff4cc; color: #3a2e00; }
.pp-draft { margin-top: 24px; }
.pp-dl { margin-top: 12px; display: grid; gap: 0; border-top: 1px solid #ddd; }
.pp-dl > div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid #ddd; }
.pp-dl dt { font-size: 13px; color: var(--gray); }
.pp-dl dd { font-size: 15px; font-weight: 700; }
.pp-tbd { background: #fff4cc; padding: 0 6px; border-radius: 4px; width: fit-content; }
@media (min-width: 600px) { .pp-dl > div { grid-template-columns: 200px 1fr; align-items: baseline; } .pp-body p, .pp-body li { font-size: 16px; } }
.pp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px var(--gut) 40px; border-top: 1px solid #e6e6e6; font-size: 13px; }
.pp-foot p { align-self: center; color: var(--gray); }

/* 同意チェック（初期は未選択） */
.consent { margin-top: 8px; }
.consent label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; line-height: 1.7; color: #fff; }
.consent input { flex: none; appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 2px solid #8a8a8a; border-radius: 6px; background: transparent; cursor: pointer; display: grid; place-content: center; transition: background .2s, border-color .2s; }
.consent input::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #000; border-bottom: 2.5px solid #000; rotate: -45deg; translate: 0 -1px; opacity: 0; }
.consent input:checked { background: #fff; border-color: #fff; }
.consent input:checked::after { opacity: 1; }
.consent input[aria-invalid="true"] { border-color: #ff8a8a; }
.consent a { text-underline-offset: .2em; }
.consent input:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.consent .err { margin-top: 8px; }

/* 送信ボタンの点：FVの「カジュアルに相談する」と同じ（黒・7px・間隔6px・順番に弾む） */
.send-dots { gap: 6px; }
.send-dots i, .send-dots i.on { width: 7px; height: 7px; background: #000; transform: none; animation: talk-dot 1.2s ease-in-out infinite; }
.send .send-dots i:nth-child(2) { animation-delay: .15s !important; }
.send .send-dots i:nth-child(3) { animation-delay: .3s !important; }
@media (prefers-reduced-motion: reduce) { .send-dots i { animation: none !important; } }

/* Contact見出し：行の途中で折り返さない（8文字が収まるよう文字サイズを幅に合わせる）／行末の「。」が切れないよう右に余白 */
.ct-title { font-size: min(clamp(36px, 4.03vw, 58px), (100vw - 2 * var(--gut)) / 8.8); }
.ct-title .ln { white-space: nowrap; padding-right: .15em; }
@media (min-width: 768px) and (max-width: 1023px) { .ct-title { font-size: min(clamp(36px, 6vw, 58px), (100vw - 2 * var(--gut)) / 8.8); } }
.pp-body h3 { margin-top: 28px; font-size: 16px; font-weight: 800; line-height: 1.6; }
