/* 販売サイトのデザイン。あたたかいクリーム色を基調に、アプリごとの色をアクセントに使います。 */
:root {
  --bg: #FFFBF4;
  --bg-soft: #F7F0E5;
  --card: #FFFFFF;
  --ink: #2F2A25;
  --ink-soft: #6B6157;
  --line: #E8DDCD;
  --brand: #2E6E6A;
  --brand-ink: #FFFFFF;
  --coral: #E9765B;
  --warn-bg: #FFF3D6;
  --warn-ink: #7A5410;
  --err-bg: #FDE4DF;
  --err-ink: #8E2E1D;
  --radius: 16px;
  --shadow: 0 2px 0 rgba(80, 60, 30, .06), 0 8px 24px rgba(80, 60, 30, .07);
  font-size: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Hiragino Maru Gothic ProN", "BIZ UDPGothic", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  line-height: 1.8; letter-spacing: .02em;
}
a { color: var(--brand); }
img, svg { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.left { text-align: left; }
small { font-size: .8em; color: var(--ink-soft); }

/* バー */
.mode-bar, .notice-bar { padding: 8px 16px; text-align: center; font-size: .88rem; font-weight: 700; }
.mode-bar.mock { background: #3B3355; color: #fff; }
.mode-bar.test { background: #5B4BA0; color: #fff; }
.notice-bar { background: var(--warn-bg); color: var(--warn-ink); }

/* ヘッダー */
.site-header { background: rgba(255,251,244,.92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.logo { font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.logo-mark { color: var(--coral); margin-right: 6px; }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-img { width: 30px; height: 30px; display: block; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: 10px; font-size: .92rem; }
.main-nav a:hover { background: var(--bg-soft); }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; min-height: 48px; }
.btn.primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 3px 0 #1E4C49; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.primary:active { transform: translateY(2px); box-shadow: 0 1px 0 #1E4C49; }
.btn.ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn.big { width: 100%; max-width: 440px; font-size: 1.06rem; padding: 16px 22px; }
.text-link { font-weight: 700; }

/* ヒーロー */
.hero { padding: 48px 0 40px; background: radial-gradient(circle at 85% 20%, #FCE4D8 0, transparent 40%), radial-gradient(circle at 10% 90%, #DDEFEA 0, transparent 40%); }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.eyebrow { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; font-size: .85rem; color: var(--ink-soft); margin: 0 0 12px; }
.hero h1 { font-size: clamp(1.6rem, 4.2vw, 2.5rem); line-height: 1.45; margin: 0 0 16px; }
.nb { display: inline-block; }
.lead { color: var(--ink-soft); font-size: 1.04rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.hero-art { position: relative; height: 260px; }
.bubble { position: absolute; width: 104px; height: 104px; border-radius: 32px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; font-size: 46px; }
.b1 { left: 10%; top: 6%; transform: rotate(-6deg); }
.b2 { left: 52%; top: 0; transform: rotate(5deg); }
.b3 { left: 22%; top: 52%; transform: rotate(4deg); }
.b4 { left: 62%; top: 46%; transform: rotate(-4deg); }

/* セクション */
.section { padding: 48px 0; }
.section.soft, .flow { background: var(--bg-soft); }
.section-title { font-size: clamp(1.35rem, 3.2vw, 1.8rem); text-align: center; margin: 0 0 8px; line-height: 1.5; }
.section-title.left { text-align: left; }
.section-lead { text-align: center; color: var(--ink-soft); margin: 0 0 28px; }
.section-lead.left { text-align: left; }
.page-title { font-size: clamp(1.4rem, 3.6vw, 1.9rem); margin: 8px 0 20px; line-height: 1.5; }
h3 { font-size: 1.15rem; margin: 28px 0 10px; }

/* お悩みカード */
.pain-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.pain-card { display: flex; flex-direction: column; gap: 6px; height: 100%; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; position: relative; }
.pain-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.pain-check { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.pain-text { font-weight: 700; font-size: 1.02rem; line-height: 1.6; }
.pain-to { margin-top: auto; color: var(--ink-soft); font-size: .9rem; }

/* アプリカード */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.app-card { display: flex; gap: 14px; background: var(--card); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border-top: 6px solid var(--accent); }
.app-icon { flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--bg-soft); display: grid; place-items: center; font-size: 30px; }
.app-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.app-head h3 { margin: 0; font-size: 1.12rem; }
.app-catch { font-weight: 700; margin: 6px 0 2px; color: var(--accent); filter: brightness(.8); }
.app-summary { margin: 0 0 8px; color: var(--ink-soft); font-size: .93rem; }
.app-price { margin: 0; font-size: .92rem; }
.app-more { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--brand); }
.tentative { display: inline-block; margin-left: 6px; font-size: .7rem; padding: 0 7px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-soft); vertical-align: middle; font-weight: 700; }
.badge { font-size: .75rem; padding: 1px 10px; border-radius: 999px; font-weight: 700; }
.badge.on { background: #DDF1E4; color: #1F6B3A; }
.badge.off { background: var(--warn-bg); color: var(--warn-ink); }
.tbd { display: inline-block; background: var(--warn-bg); color: var(--warn-ink); border: 1px dashed #E2BC6B; border-radius: 6px; padding: 0 8px; font-size: .88rem; font-weight: 700; }

/* 手順 */
.steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.steps p { margin: 6px 0 0; font-size: .92rem; color: var(--ink-soft); }
.step-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; margin-right: 8px; }
.mini-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 20px; flex-wrap: wrap; font-size: .85rem; }
.mini-steps li { padding: 4px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-soft); }
.mini-steps li.done { background: #DDF1E4; color: #1F6B3A; }
.mini-steps li.now { background: var(--brand); color: #fff; font-weight: 700; }

/* 商品ページ */
.p-hero { padding: 28px 0 36px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 14%, var(--bg)) 0, var(--bg) 100%); }
.p-hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; }
.crumb { font-size: .85rem; color: var(--ink-soft); margin: 0 0 8px; }
.crumb a { color: var(--ink-soft); }
.p-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.p-title h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.p-emoji { font-size: 2.2rem; }
.p-catch { font-size: 1.2rem; font-weight: 800; margin: 10px 0 6px; }
.illus { margin: 0; }
.illus svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 8px 18px rgba(80,60,30,.1)); }
.illus figcaption { font-size: .8rem; color: var(--ink-soft); text-align: center; margin-top: 6px; }
.checklist { list-style: none; padding: 0; margin: 0 0 8px; }
.checklist li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 46px; margin-bottom: 10px; position: relative; font-weight: 700; }
.checklist li::before { content: "✓"; position: absolute; left: 14px; top: 11px; width: 22px; height: 22px; border-radius: 6px; background: var(--coral); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.feat { padding-left: 1.3em; }
.feat li { margin-bottom: 4px; }
.feat.planned li::marker { content: "◇ "; color: var(--ink-soft); }
.caution { font-size: .88rem; background: var(--warn-bg); color: var(--warn-ink); border-radius: 10px; padding: 8px 12px; }
.note-box { background: #fff; border: 2px solid var(--line); border-left: 6px solid var(--coral); border-radius: 12px; padding: 14px 16px; margin: 24px 0; }
.note-box p { margin: 6px 0 0; }

/* 表 */
.cond { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0 0 16px; }
.cond th, .cond td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.cond th { width: 32%; background: #FBF6EE; font-weight: 700; }
.cond tr:last-child th, .cond tr:last-child td { border-bottom: 0; }
.cond .total { font-size: 1.2rem; font-weight: 800; }
.sub { margin: 6px 0 0; padding-left: 1.2em; }

/* 購入ボックス */
.buy-box { margin-top: 20px; background: var(--card); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.buy-box.not-ready { border: 2px dashed #E2BC6B; background: #FFFCF4; }
.buy-title { font-weight: 800; font-size: 1.1rem; margin: 0 0 4px; }
.buy-price { font-size: 1.6rem; font-weight: 800; margin: 0 0 10px; }
.missing { text-align: left; margin-top: 10px; font-size: .9rem; }
.missing summary { cursor: pointer; color: var(--warn-ink); font-weight: 700; }

/* 確認画面 */
.confirm-form { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; }
.agree { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 2px solid var(--brand); border-radius: 12px; padding: 14px; width: 100%; max-width: 560px; cursor: pointer; font-weight: 700; }
.agree input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.next-hint { font-size: .9rem; background: var(--bg-soft); border-radius: 10px; padding: 10px 14px; max-width: 560px; margin: 0; }
.alert { border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; font-weight: 700; }
.alert.info { background: var(--warn-bg); color: var(--warn-ink); }
.alert.err { background: var(--err-bg); color: var(--err-ink); }

/* 完了・ダウンロード */
.done-mark { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: #DDF1E4; color: #1F6B3A; display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; }
.dl-box { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); text-align: center; margin: 20px 0; }
.dl-box ul, .dl-notes { margin: 16px auto 0; max-width: 560px; }
.fine { font-size: .85rem; color: var(--ink-soft); }
.big-mail { font-size: 1.2rem; font-weight: 800; }
.sub-title { font-size: 1.1rem; margin-top: 24px; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 16px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; }
.faq summary::before { content: "Q. "; color: var(--coral); }
.faq details p { margin: 0 0 14px; color: var(--ink-soft); }

/* 法定表示 */
.legal h2 { font-size: 1.1rem; margin: 26px 0 8px; border-left: 5px solid var(--coral); padding-left: 10px; }

/* フッター */
.site-footer { background: #2F2A25; color: #E9E1D5; padding: 32px 0; margin-top: 24px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; }
.footer-nav a { color: #fff; font-size: .9rem; }
.site-footer .fine { color: #C9BEAF; margin: 4px 0; }
.copy { font-size: .8rem; color: #A99E90; margin: 12px 0 0; }

/* 模擬決済 */
.mock-pay label { display: block; margin: 12px 0; font-weight: 700; }
.mock-pay input[type=email] { display: block; width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem; margin-top: 4px; }
.mock-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* スマホ */
@media (max-width: 760px) {
  .hero { padding: 28px 0; }
  .hero-inner, .p-hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 150px; order: -1; }
  .bubble { width: 70px; height: 70px; font-size: 32px; border-radius: 22px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cond th, .cond td { display: block; width: 100%; }
  .cond th { border-bottom: 0; padding-bottom: 4px; }
  .cond td { padding-top: 4px; }
  .app-grid { grid-template-columns: 1fr; }
  .section { padding: 36px 0; }
  .main-nav a { padding: 6px 8px; font-size: .86rem; }
}
@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* セット */
.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.set-card { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 2px solid var(--brand); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.set-card h3 { margin: 0; font-size: 1.15rem; }
.set-apps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.chip { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: .85rem; }
.set-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.set-list a { display: flex; flex-direction: column; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink); }
.sub-label { margin: 10px 0 0; font-weight: 700; font-size: .9rem; }
.soft-rule { border: 0; border-top: 1px dashed var(--line); margin: 10px 0; }
.dl-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.dl-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.dl-item > div { min-width: 0; }
.dl-item p { margin: 2px 0 0; }

/* 価格・お試し価格 */
.intro-price { font-weight: 800; color: var(--err-ink); }
.intro-note { display: block; font-size: .82rem; color: var(--ink-soft); font-weight: 400; }
/* プロモーションコード */
.promo-form { background: var(--card); border: 1px dashed var(--line); border-radius: 12px; padding: 14px; margin: 0 0 16px; }
.promo-form label { font-weight: 700; font-size: .92rem; display: block; margin-bottom: 6px; }
.promo-row { display: flex; gap: 8px; flex-wrap: wrap; }
.promo-row input { flex: 1 1 180px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; font-family: inherit; }
.promo-row .btn { min-height: 44px; padding: 8px 18px; }
.promo-err { color: var(--err-ink); font-weight: 700; margin: 8px 0 0; font-size: .9rem; }
/* 比較表 */
.table-scroll { overflow-x: auto; margin-top: 8px; }
.compare { width: 100%; min-width: 420px; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; font-size: .92rem; }
.compare th[scope=row] { text-align: left; background: #FBF6EE; }
.compare thead th { background: var(--bg-soft); }
.compare .yes { color: #1F6B3A; font-weight: 800; font-size: 1.1rem; }
.compare .no { color: var(--ink-soft); }
.compare .price-row td { font-weight: 700; }
/* おすすめ・体験版 */
.checklist.soft li::before { background: var(--brand); }
.trial-box { background: #EAF4F2; border-radius: 12px; padding: 16px; margin: 20px 0; display: grid; gap: 8px; justify-items: start; }
.trial-box p { margin: 0; }

/* いちばんお得の印・割引表示 */
.best-badge { display: inline-block; background: var(--coral); color: #fff; font-size: .75rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; margin-bottom: 4px; }
.set-card.best { border-color: var(--coral); border-width: 3px; }
.compare th.best-col, .compare .best-col { background: #FDEDE7; }
.deal-line { margin: 0; display: grid; gap: 2px; }
.deal { font-weight: 800; color: var(--err-ink); font-size: .92rem; }
.per-app { font-size: .82rem; color: var(--ink-soft); }
.upsell { background: var(--card); border: 2px dashed var(--brand); border-radius: 12px; padding: 16px; margin: 20px 0; }
.upsell ul { margin: 8px 0; padding-left: 1.2em; }
.compare { min-width: 560px; }
.compare th[scope=row] { white-space: nowrap; }
.compare thead th { min-width: 120px; }

.best-lead { text-align: center; font-weight: 700; margin: -12px 0 24px; }
.trial-compare { min-width: 0; }
.trial-compare td { font-size: .88rem; }
.alert.ok { background: #E3F4E6; color: #1F5A2B; }
.resend-form { display: grid; gap: 12px; margin: 16px 0; }
.resend-form label { display: grid; gap: 6px; font-weight: 700; }
.resend-form input { font: inherit; padding: 10px 12px; border: 1px solid #CDBFAF; border-radius: 10px; width: 100%; box-sizing: border-box; }
.legal ol, .legal ul { padding-left: 1.4em; }
.agree.notify { font-weight: 400; }
.news-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.news-list li { border: 1px solid #E6DCCF; border-radius: 12px; padding: 12px 14px; background: #fff; }

/* ===== 見た目：案3「すっきり（白）」（2026-11-01 販売者が決定） ===== */
:root {
  --bg: #FFFFFF; --bg-soft: #FBF7F3; --card: #FFFFFF;
  --ink: #1F1C19; --ink-soft: #5A524A; --line: #ECE7E1;
  --brand: #1F1C19; --brand-ink: #FFFFFF; --coral: #C4502F;
  --radius: 12px; --shadow: none;
}
body { font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic UI", "Meiryo", system-ui, sans-serif; }
a { color: #B4462C; } a:hover { color: #8E331F; }
.site-header { background: rgba(255,255,255,.94); }
.btn.primary { background: var(--ink); color: #fff; box-shadow: none; }
.btn.primary:active { transform: none; box-shadow: none; }
.btn.ghost { color: var(--ink); border: 1.5px solid #D9D3CC; }
.hero { background: none; padding: 72px 0 48px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.hero h1 { font-size: clamp(1.8rem, 5vw, 3.2rem); line-height: 1.35; margin: 0; font-weight: 900; }
.hero .lead { max-width: 640px; margin: 0; }
.hero-actions { justify-content: center; margin-top: 4px; }
.trust-list { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: .9rem; color: var(--ink-soft); }
.trust-list li::before { content: "・"; color: var(--coral); }
.hero-icons { display: flex; gap: 18px; justify-content: center; color: var(--ink-soft); margin-top: 18px; }
.hero-icons span { width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; }
.pain-card { border: 1px solid var(--line); border-radius: var(--radius); }
.pain-card:hover { border-color: var(--ink); transform: none; }
.pain-check { background: var(--coral); }
.app-grid { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.app-card { box-shadow: none; border-radius: 0; border-top: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 24px; }
.app-card:hover { background: var(--bg-soft); }
.app-icon { background: none; border: 1px solid var(--line); color: var(--ink); }
.app-catch { color: var(--ink); filter: none; }
.app-more { color: #B4462C; }
.p-emoji { display: inline-grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
.ic { display: inline-flex; vertical-align: -3px; color: var(--ink-soft); }
.set-card { border: 1px solid var(--line); box-shadow: none; }
.set-card.best { border: 2px solid var(--coral); }
.home-faq { background: var(--bg-soft); }
.site-footer { background: var(--bg-soft); color: var(--ink-soft); border-top: 1px solid var(--line); }
.site-footer a, .footer-nav a { color: var(--ink); }
.site-footer .fine { color: var(--ink-soft); }
.illus svg { filter: none; }
