/* LB AI Prompt side bar — 公式サイト
   タイポグラフィの方針（日本語を、きれいに組む）
   ・見出し：Zen Kaku Gothic New（太字）＋ palt（プロポーショナルな字詰め）＋ わずかなマイナスの字間
   ・本文：Noto Sans JP、行間は広め（1.95）、字間はほんの少し広げる。長い文章に palt は使わない
   ・数字・英字：Inter（等幅ではなく、見出し用に字間を詰める）／ {{role}} のような記号：JetBrains Mono
   ・改行：text-wrap: balance / pretty、line-break: strict、word-break: auto-phrase（文節で折る）。
     見出しは、意味のかたまり（.nb）が途中で割れないようにして、改行の位置を決める
   ・約物：text-spacing-trim（行頭のカッコ・句読点の余白を詰める）、text-autospace（和欧文の間のすき間）
*/

/* ---------- 変数 ---------- */
:root {
  --ink: #0d0912;
  --ink-2: #170f1f;
  --ink-3: #241832;
  --paper: #fffafb;
  --paper-2: #fff0f3;
  --white: #fff;
  --muted: #6b6273;
  --line: rgba(13, 9, 18, .1);
  --line-d: rgba(255, 255, 255, .14);
  --rose: #e11d48;
  --rose-2: #ff4d73;
  --rose-3: #ff8fa8;
  --rose-deep: #9f1239;
  --grad: linear-gradient(100deg, #ff8fa8 0%, #ff4d73 45%, #e11d48 100%);
  --f-display: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Segoe UI", sans-serif;
  --f-latin: "Inter", "Noto Sans JP", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --maxw: 1180px;
  --gutter: clamp(20px, 4.5vw, 40px);
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.95 var(--f-body);
  letter-spacing: .035em;
  color: var(--ink);
  background: var(--paper);
  font-kerning: normal;
  line-break: strict;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  text-spacing-trim: trim-start;
  text-autospace: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; }
::selection { background: var(--rose); color: #fff; }

h1, h2, h3, h4, .kicker, .eyebrow, .btn, .nav, .price, .num, .why-no, .step-no, .plan-badge, .tag {
  font-family: var(--f-display);
  font-feature-settings: "palt" 1, "kern" 1;
  text-wrap: balance;
  text-autospace: no-autospace;
}
p, li, summary { text-wrap: pretty; }
.nb { display: inline-block; white-space: nowrap; }
.lat { font-family: var(--f-latin); font-weight: 800; letter-spacing: -.04em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--rose-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* ---------- ヘッダー ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(13, 9, 18, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line-d); }
.bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
.brand img { border-radius: 10px; box-shadow: 0 4px 16px rgba(225, 29, 72, .45); }
.brand-name { font: 800 17px/1 var(--f-latin); letter-spacing: -.01em; }
.brand-name span { font-weight: 500; opacity: .72; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .06em; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 15px; letter-spacing: .06em; text-decoration: none; color: #fff;
  background: linear-gradient(180deg, #ff4d73, #e11d48);
  box-shadow: 0 10px 30px -8px rgba(225, 29, 72, .65), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(225, 29, 72, .75), inset 0 1px 0 rgba(255, 255, 255, .35); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn small { font: 700 11px/1 var(--f-display); letter-spacing: .08em; padding: 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, .22); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; margin-left: 4px; }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 16.5px; }
.btn-ghost { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--line-d); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.btn-light { background: #fff; color: var(--rose-deep); box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .5); }
.btn-light small { background: var(--paper-2); color: var(--rose-deep); }
.btn-light:hover { filter: none; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--ink); overflow: clip; padding: clamp(112px, 15vh, 150px) 0 clamp(72px, 10vh, 120px); }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(225, 29, 72, .6), transparent 70%),
    radial-gradient(45% 45% at 8% 92%, rgba(139, 92, 246, .28), transparent 70%),
    radial-gradient(40% 40% at 55% 105%, rgba(255, 77, 115, .22), transparent 70%),
    var(--ink); }
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  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: 56px 56px;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 40%, #000 20%, transparent 80%); mask-image: radial-gradient(75% 70% at 50% 40%, #000 20%, transparent 80%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); align-items: center; gap: clamp(24px, 3.4vw, 48px); }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: .08em; color: #fff; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--line-d); backdrop-filter: blur(8px); text-autospace: no-autospace; }
.kicker-bolt { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: 0 0 20px rgba(255, 77, 115, .7); }
.kicker-bolt .ic { width: 14px; height: 14px; }
.ic { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -.12em; }
.hero h1 { margin-top: 26px; font-weight: 900; font-size: clamp(2.6rem, 4.9vw, 4.5rem); line-height: 1.2; letter-spacing: -.03em; text-autospace: no-autospace; }
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .grad { padding-right: .06em; padding-bottom: .06em; }
.lead { margin-top: 28px; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 2; color: rgba(255, 255, 255, .8); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.cta-center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.hero-points li { position: relative; padding-left: 18px; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--rose-2); box-shadow: 0 0 10px var(--rose-2); }
.hero-points b { font-weight: 700; color: #fff; margin-right: .3em; }

/* 図：後ろ＝AIのチャット、前＝サイドパネル（大きさは、図の幅に合わせて変わる） */
.hero-visual { position: relative; container-type: inline-size; margin-right: clamp(-48px, -3vw, 0px); }
.mock { position: relative; width: 100%; aspect-ratio: 1 / 1.04; }
.browser { position: absolute; left: 0; top: 24%; width: 76%; height: 58%; display: flex; flex-direction: column; border-radius: 3.4cqw; background: #f4f4f8; overflow: hidden; box-shadow: 0 6cqw 14cqw -3cqw rgba(225, 29, 72, .5), 0 0 0 1px rgba(255, 255, 255, .14), 0 3cqw 6cqw -2cqw rgba(0, 0, 0, .6); }
.browser-bar { flex: none; display: flex; align-items: center; gap: 1.3cqw; height: 6.6cqw; padding: 0 3cqw; background: #e9e9f0; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.browser-bar i { width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: #c9c9d3; }
.browser-bar .url { margin-left: 1.6cqw; flex: 1; max-width: 50%; font: 500 2cqw/4.2cqw var(--f-latin); letter-spacing: .02em; color: #8a8a96; background: #f7f7fb; border-radius: 999px; padding: 0 2.4cqw; }
.chat { position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 7cqw 4cqw 0; background: #fafafd; }
.chat-title { font: 700 clamp(14px, 1.7vw, 19px)/1.4 var(--f-display); color: #8b8b9c; letter-spacing: .02em; text-autospace: no-autospace; }
.chat-sub { margin-top: .5em; font-size: clamp(10px, 1.1vw, 12.5px); color: #a9a9b8; }
.mock .chat-title { font-size: 3.2cqw; white-space: nowrap; }
.mock .chat-sub { font-size: 2.2cqw; white-space: nowrap; }
.composer { position: absolute; left: 3.2cqw; right: 3.2cqw; bottom: 3.2cqw; min-height: 16cqw; display: flex; align-items: flex-start; gap: 2cqw; text-align: left; padding: 2.8cqw 3.2cqw; border-radius: 4cqw; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 2cqw 6cqw -2.4cqw rgba(0, 0, 0, .18); transition: box-shadow .4s, background .4s; }
.composer.on { box-shadow: 0 0 0 2px rgba(225, 29, 72, .55), 0 0 0 1.4cqw rgba(225, 29, 72, .12), 0 2.4cqw 7cqw -2.4cqw rgba(225, 29, 72, .4); }
.composer-text { flex: 1; min-width: 0; font-size: 2.3cqw; line-height: 1.75; letter-spacing: .02em; color: #34323c; max-height: 12.6cqw; overflow: hidden; }
.mock .composer { right: 25cqw; }
.composer-text .ph { color: #b3b3c0; }
.composer-text .tok { color: var(--rose); font-weight: 700; }
.composer-text .caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: var(--rose); animation: caret 1s steps(1) infinite; }
.composer-send { flex: none; display: grid; place-items: center; width: 5cqw; height: 5cqw; border-radius: 50%; background: #e4e4ec; color: #fff; font-size: 2.6cqw; font-weight: 700; }
.composer.on .composer-send { background: var(--ink); }
@keyframes caret { 50% { opacity: 0; } }
.panel-card { position: absolute; right: 0; top: 0; width: 45%; height: auto; border-radius: 5cqw; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 8cqw 16cqw -4cqw rgba(225, 29, 72, .55), 0 3cqw 7cqw -2cqw rgba(0, 0, 0, .65); transform: rotate(2deg); transform-origin: 50% 100%; transition: transform .8s var(--ease); }
.hero-visual:hover .panel-card { transform: rotate(0deg) translateY(-1.2cqw); }

.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 1.4cqw; padding: 1.4cqw 3.2cqw 1.4cqw 1.4cqw; border-radius: 999px; font: 700 clamp(12px, 2.7cqw, 15px)/1 var(--f-display); letter-spacing: .06em; color: var(--ink); background: #fff; box-shadow: 0 3cqw 7cqw -2cqw rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .04); animation: bob 5s ease-in-out infinite; white-space: nowrap; }
.chip b { display: grid; place-items: center; width: 5cqw; height: 5cqw; min-width: 22px; min-height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font: 800 12px/1 var(--f-latin); }
.chip b .ic { width: 13px; height: 13px; }
.chip-1 { left: 41%; top: 12%; }
.chip-2 { left: 42%; top: 49%; animation-delay: -1.6s; }
.chip-3 { left: 6%; top: 56%; animation-delay: -3.2s; background: var(--ink); color: #fff; box-shadow: 0 3cqw 7cqw -2cqw rgba(225, 29, 72, .65), 0 0 0 1px rgba(255, 255, 255, .18); }
@keyframes bob { 50% { transform: translateY(-1.4cqw); } }

/* ---------- 対応AI ---------- */
.ais { background: var(--ink); color: #fff; padding: 0 0 44px; border-top: 1px solid var(--line-d); }
.ais-label { padding: 28px var(--gutter) 22px; text-align: center; font-size: 13px; letter-spacing: .16em; color: rgba(255, 255, 255, .55); font-weight: 500; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; font: 700 clamp(18px, 2.4vw, 26px)/1 var(--f-latin); letter-spacing: -.01em; color: rgba(255, 255, 255, .55); padding: 12px 22px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-d); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- セクション共通 ---------- */
.section { padding: clamp(84px, 12vw, 152px) 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .22em; color: var(--rose); }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }
.section h2 { margin-top: 18px; font-weight: 900; font-size: clamp(2rem, 4.8vw, 3.6rem); line-height: 1.28; letter-spacing: -.02em; }
.section-lead { margin-top: 22px; font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--muted); max-width: 36em; }

/* ---------- 困りごと ---------- */
.why { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 64px); }
.why-card { position: relative; padding: 34px 30px 36px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -30px rgba(13, 9, 18, .25); overflow: hidden; }
.why-no { display: block; font: 800 14px/1 var(--f-latin); letter-spacing: .12em; color: var(--rose); margin-bottom: 22px; }
.why-card h3 { font-weight: 900; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.4; letter-spacing: -.01em; }
.why-card p { margin-top: 14px; font-size: 15px; color: var(--muted); }
.why-answer { text-autospace: no-autospace; margin-top: clamp(48px, 7vw, 80px); font: 900 clamp(1.8rem, 4.2vw, 3rem)/1.3 var(--f-display); letter-spacing: -.02em; font-feature-settings: "palt" 1; text-align: center; }

/* ---------- 使い方 ---------- */
.how { background: linear-gradient(180deg, var(--paper), var(--paper-2) 30%, var(--paper-2) 70%, var(--paper)); }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 88px); margin-top: clamp(56px, 9vw, 112px); }
.step-rev .step-copy { order: 2; }
.step-no { display: block; font: 800 clamp(64px, 9vw, 120px)/.9 var(--f-latin); letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; opacity: .95; }
.step h3 { margin-top: 10px; font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; letter-spacing: -.02em; }
.step-sub { margin-top: 12px; font: 700 clamp(1.05rem, 1.6vw, 1.25rem)/1.6 var(--f-display); font-feature-settings: "palt" 1; color: var(--ink); }
.step-copy p:last-child { margin-top: 16px; color: var(--muted); max-width: 30em; }
.bolt { color: var(--rose); margin-right: .06em; }
.bolt .ic { width: .82em; height: .82em; vertical-align: -.06em; }
.device { justify-self: center; width: min(100%, 360px); border-radius: 30px; padding: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 50px 100px -40px rgba(225, 29, 72, .45), 0 24px 50px -24px rgba(13, 9, 18, .35); }
.device img { border-radius: 22px; width: 100%; max-height: 640px; object-fit: cover; object-position: top; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.insert-demo { position: relative; justify-self: center; width: min(100%, 520px); }
.insert-chat { position: relative; padding: 40px 24px 24px; border-radius: 26px; background: #fafafd; box-shadow: 0 0 0 1px var(--line), 0 50px 100px -40px rgba(225, 29, 72, .45), 0 24px 50px -24px rgba(13, 9, 18, .3); }
.insert-chat .chat-title { text-align: center; margin-bottom: 34px; }
.insert-chat .composer { position: relative; inset: auto; left: auto; right: auto; bottom: auto; min-height: 0; padding: 18px 20px; }
.insert-chat .composer-text { font-size: 13px; max-height: none; line-height: 1.85; }
.composer-filled { box-shadow: 0 0 0 2px rgba(225, 29, 72, .55), 0 0 0 8px rgba(225, 29, 72, .1), 0 14px 40px -14px rgba(225, 29, 72, .4); }
.composer-filled .composer-send { background: var(--ink); }
.insert-bolt { position: absolute; right: -14px; top: -22px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 22px; background: var(--grad); color: #fff; font-size: 30px; box-shadow: 0 24px 50px -10px rgba(225, 29, 72, .7), inset 0 1px 0 rgba(255, 255, 255, .5); transform: rotate(8deg); animation: bob 4s ease-in-out infinite; }

/* ---------- 機能 ---------- */
.features { background: var(--paper); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.card { grid-column: span 2; position: relative; padding: 30px 28px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(225, 29, 72, .25), 0 30px 60px -30px rgba(225, 29, 72, .35); }
.card h3 { font-weight: 900; font-size: 1.2rem; line-height: 1.4; letter-spacing: -.005em; }
.card p { font-size: 14.5px; line-height: 1.85; color: var(--muted); }
.card-big { grid-column: span 4; flex-direction: row; align-items: stretch; gap: 20px; padding-bottom: 0; min-height: 380px; }
.card-launcher { grid-column: span 2; padding-bottom: 0; }
.card-wide { grid-column: span 3; }
.card-pro { grid-column: span 3; color: #fff; background: linear-gradient(145deg, #2a1236, #170f1f 60%); box-shadow: 0 0 0 1px var(--line-d); }
.card-pro h3 { color: #fff; }
.card-pro:hover { box-shadow: 0 0 0 1px rgba(255, 77, 115, .5), 0 30px 60px -30px rgba(225, 29, 72, .5); }
.card-copy { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-big .card-copy { padding-bottom: 28px; }
.num { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.num b { font: 800 clamp(64px, 8vw, 96px)/.9 var(--f-latin); letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.num span { font: 900 1.2rem/1 var(--f-display); color: var(--ink); }
.crop { position: relative; flex: none; overflow: hidden; border-radius: 16px 16px 0 0; box-shadow: 0 0 0 1px var(--line); }
.crop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crop-tabs { width: 44%; margin-top: 30px; }
.crop-tabs img { object-position: 50% 8%; }
.crop-launcher { margin: auto -4px 0; height: 190px; }
.crop-launcher img { object-position: 50% 31%; }
.card-keys { align-items: flex-start; }
.keys { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.keys i { font: 500 18px/1 var(--f-latin); color: var(--muted); }
kbd { display: inline-grid; place-items: center; min-width: 54px; height: 54px; padding: 0 14px; border-radius: 14px; font: 700 20px/1 var(--f-latin); letter-spacing: 0; color: var(--ink); background: linear-gradient(180deg, #fff, #f1eef4); box-shadow: 0 0 0 1px var(--line), 0 4px 0 #dcd6e3, 0 10px 18px -8px rgba(13, 9, 18, .3); }
.glyph { font: 900 42px/1 var(--f-display) !important; color: var(--rose) !important; margin-bottom: 6px; letter-spacing: 0; }
.glyph-lang { font-size: 30px !important; letter-spacing: .02em; font-family: var(--f-latin) !important; font-weight: 800 !important; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--rose); padding: 5px 12px; border-radius: 999px; background: var(--paper-2); }
.card .tag { color: var(--rose); }
.card .tag-pro { color: #fff; background: var(--grad); }
.ticks { display: grid; gap: 4px 24px; margin-top: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ticks li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.7; }
.ticks li::before { content: ""; position: absolute; left: 1px; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--rose-2); border-bottom: 2.5px solid var(--rose-2); transform: rotate(-45deg) scale(.85); transform-origin: center; }
.card-pro .ticks li { color: rgba(255, 255, 255, .88); }

/* ---------- プライバシー ---------- */
.privacy { color: #fff; background: var(--ink); isolation: isolate; overflow: clip; }
.privacy-bg { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 15% 0%, rgba(225, 29, 72, .35), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgba(139, 92, 246, .2), transparent 70%), var(--ink); }
.privacy .eyebrow { color: var(--rose-3); }
.privacy .section-lead { color: rgba(255, 255, 255, .72); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: clamp(36px, 5vw, 56px) 0 32px; }
.facts li { padding: 26px 28px; border-radius: var(--r); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-d); backdrop-filter: blur(6px); }
.fact-k { display: inline-block; font: 700 12px/1 var(--f-display); letter-spacing: .16em; color: var(--rose-3); margin-bottom: 12px; }
.facts p { font-size: 15.5px; color: rgba(255, 255, 255, .88); }
.textlink { display: inline-block; font-weight: 700; letter-spacing: .06em; color: #fff; text-decoration: none; padding-bottom: 3px; background: linear-gradient(var(--rose-2), var(--rose-2)) left bottom / 100% 2px no-repeat; transition: background-size .3s var(--ease), color .2s; }
.textlink:hover { background-size: 0 2px; color: var(--rose-3); }

/* ---------- 料金 ---------- */
.pricing { background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 6vw, 64px); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 30px 32px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(13, 9, 18, .3); }
.plan h3 { font-weight: 900; font-size: 1.2rem; letter-spacing: .04em; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.price b { font: 800 clamp(46px, 5.2vw, 62px)/1 var(--f-latin); letter-spacing: -.045em; }
.price span { font: 700 1rem/1 var(--f-display); color: var(--muted); }
.price-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); min-height: 3.4em; }
.plan .ticks { grid-template-columns: 1fr; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); gap: 8px; }
.plan-main { color: #fff; background: linear-gradient(160deg, #3a1230 0%, #1d0f27 55%, #170f1f); box-shadow: 0 0 0 1px rgba(255, 77, 115, .55), 0 50px 100px -40px rgba(225, 29, 72, .7); transform: translateY(-14px); }
.plan-main .price span, .plan-main .price-note { color: rgba(255, 255, 255, .72); }
.plan-main .ticks { border-top-color: var(--line-d); }
.plan-main .ticks li { color: rgba(255, 255, 255, .9); }
.plan-badge { position: absolute; top: -13px; left: 30px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #fff; padding: 7px 14px; border-radius: 999px; background: var(--grad); box-shadow: 0 10px 24px -6px rgba(225, 29, 72, .7); }
.plan-offer { margin-top: auto; padding-top: 22px; font-size: 14.5px; line-height: 1.8; color: rgba(255, 255, 255, .85); }
.plan-offer b { display: block; padding: 16px 18px; border-radius: 14px; font-weight: 700; line-height: 1.7; color: #fff; background: rgba(255, 77, 115, .16); box-shadow: inset 0 0 0 1px rgba(255, 77, 115, .4); }
.plan-offer small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .75); }
.plan-offer .lat { font-size: 1.5em; color: var(--rose-3); }
.fine { margin-top: 30px; font-size: 13.5px; line-height: 1.9; color: var(--muted); max-width: 52em; }
.fine a { color: var(--rose); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper-2); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-note { margin-top: 22px; font-size: 14px; color: var(--muted); max-width: 22em; }
.faq-note a { color: var(--rose); word-break: break-all; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { position: relative; list-style: none; cursor: pointer; padding: 24px 56px 24px 0; font: 700 clamp(1rem, 1.6vw, 1.15rem)/1.6 var(--f-display); font-feature-settings: "palt" 1; letter-spacing: .03em; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--rose); }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background:
  linear-gradient(var(--rose), var(--rose)) center / 10px 2px no-repeat,
  linear-gradient(var(--rose), var(--rose)) center / 2px 10px no-repeat,
  rgba(225, 29, 72, .1); transition: transform .35s var(--ease); }
.qa details[open] summary::after { transform: rotate(135deg); }
.qa details p { padding: 0 56px 26px 0; color: var(--muted); font-size: 15.5px; }
.qa a { color: var(--rose); }

/* ---------- 最後の呼びかけ ---------- */
.final { position: relative; isolation: isolate; overflow: clip; text-align: center; color: #fff; padding: clamp(96px, 14vw, 170px) 0; }
.final-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 0%, rgba(255, 143, 168, .55), transparent 70%), linear-gradient(135deg, #9f1239 0%, #e11d48 45%, #ff4d73 100%); }
.final-bg::after { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent); }
.final h2 { text-autospace: no-autospace; font: 900 clamp(2.2rem, 6vw, 4.6rem)/1.2 var(--f-display); letter-spacing: -.025em; font-feature-settings: "palt" 1; text-wrap: balance; }
.final p { margin-top: 20px; font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .88); }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 72px 0 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 18px; line-height: 1.8; }
.foot-col h4 { font: 700 12px/1 var(--f-latin); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 18px; }
.foot-col a { display: block; padding: 5px 0; color: rgba(255, 255, 255, .82); text-decoration: none; transition: color .2s, transform .2s; }
.foot-col a:hover { color: var(--rose-3); transform: translateX(3px); }
.foot-note { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-d); font-size: 12.5px; line-height: 1.9; color: rgba(255, 255, 255, .5); }
.foot-copy { margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .5); font-family: var(--f-latin); letter-spacing: .02em; }

/* ---------- 言語の切り替え ---------- */
.nav a.lang-switch { display: inline-flex; align-items: center; justify-content: center; height: 34px; margin-left: 8px; padding: 0 14px; font: 700 12.5px/1 var(--f-latin); letter-spacing: .08em; color: #fff; box-shadow: inset 0 0 0 1px var(--line-d); }
.nav a.lang-switch[lang="ja"] { font-family: var(--f-body); letter-spacing: .04em; }
.nav a.lang-switch:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }

/* ---------- 英語のページの組み ---------- */
/* 英語は、字間を広げず、行間を詰め、見出しは Inter の太字で字間を詰める。小見出しは大文字＋広めの字間 */
html:lang(en) body { letter-spacing: 0; line-height: 1.75; font-family: var(--f-latin); word-break: normal; line-break: auto; overflow-wrap: break-word; }
html:lang(en) h1, html:lang(en) h2, html:lang(en) h3, html:lang(en) h4, html:lang(en) .kicker, html:lang(en) .btn, html:lang(en) .nav, html:lang(en) .price, html:lang(en) .num, html:lang(en) .why-no, html:lang(en) .step-no, html:lang(en) .plan-badge, html:lang(en) .tag, html:lang(en) .chip, html:lang(en) .qa summary, html:lang(en) .step-sub, html:lang(en) .why-answer, html:lang(en) .final h2, html:lang(en) .num span { font-family: var(--f-latin); font-feature-settings: "kern" 1, "calt" 1; }
html:lang(en) .eyebrow { font-family: var(--f-latin); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
html:lang(en) .hero h1 { font-weight: 800; font-size: clamp(2.7rem, 4.9vw, 4.6rem); line-height: 1.06; letter-spacing: -.045em; }
html:lang(en) .section h2 { font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.12; letter-spacing: -.04em; }
html:lang(en) .final h2 { font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
html:lang(en) .why-answer { font-weight: 800; letter-spacing: -.035em; }
html:lang(en) .why-card h3, html:lang(en) .card h3, html:lang(en) .plan h3, html:lang(en) .step h3 { font-weight: 800; letter-spacing: -.02em; }
html:lang(en) .step h3 { letter-spacing: -.035em; }
html:lang(en) .lead, html:lang(en) .section-lead { line-height: 1.7; }
html:lang(en) .btn { letter-spacing: .01em; }
html:lang(en) .nav a { letter-spacing: .01em; font-weight: 600; }
html:lang(en) .nav a.lang-switch { font-family: var(--f-body); font-weight: 700; letter-spacing: .04em; }
html:lang(en) .qa summary { letter-spacing: -.005em; }
html:lang(en) .kicker { letter-spacing: .02em; }
html:lang(en) .hero-points { letter-spacing: .005em; }
html:lang(en) .price-note, html:lang(en) .fine, html:lang(en) .faq-note { letter-spacing: 0; }
html:lang(en) .chat-title, html:lang(en) .chat-sub { font-family: var(--f-latin); }
html:lang(en) .composer-text { letter-spacing: 0; font-family: var(--f-latin); }
html:lang(en) .nb { white-space: normal; }
html:lang(en) .hero h1 .line { white-space: nowrap; }
html:lang(en) .nb.grad, html:lang(en) .why-answer .nb { white-space: nowrap; }

/* ---------- 出現のアニメーション ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .hero .rv:nth-child(2) { transition-delay: .08s; }
.js .hero .rv:nth-child(3) { transition-delay: .16s; }
.js .hero .rv:nth-child(4) { transition-delay: .24s; }
.js .hero .rv:nth-child(5) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .chip, .insert-bolt, .marquee-track, .caret { animation: none !important; }
  .browser { transition: none; }
}

/* ---------- 画面の幅に合わせる ---------- */
@media (max-width: 980px) {
  .nav { margin-left: auto; }
  .nav a:not(.lang-switch) { display: none; }
  .btn-sm { margin-left: 4px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 600px; }
  .why-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .step-rev .step-copy { order: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card, .card-launcher, .card-wide, .card-pro { grid-column: span 1; }
  .card-big { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .plan-main { transform: none; order: -1; }
  .price-note { min-height: 0; }
  .facts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .bar { height: 60px; }
  .brand-name { font-size: 15px; }
  .btn-sm small { display: none; }
  .hero { padding-top: 96px; }
  .cta .btn-lg { width: 100%; }
  .hero-visual { width: 100%; max-width: 460px; margin: 0 auto; }
  .chip b { min-width: 0; min-height: 0; }
  .bento { grid-template-columns: 1fr; }
  .card, .card-big, .card-launcher, .card-wide, .card-pro { grid-column: auto; }
  .card-big { flex-direction: column; padding-bottom: 0; }
  .crop-tabs { width: 100%; height: 180px; margin-top: 0; }
  .ticks { grid-template-columns: 1fr; }
  .insert-bolt { right: -6px; top: -26px; width: 54px; height: 54px; font-size: 25px; }
  .qa summary { padding-right: 44px; }
  .qa details p { padding-right: 0; }
  .foot-grid { grid-template-columns: 1fr; }
}
