:root {
  --accent: #c8324f; --accent-2: #ff7d8e; --accent-soft: #fdecef; --ink: #1f2328; --sub: #5d6470;
  --line: #e6e8eb; --bg: #ffffff; --bg-2: #f7f7f9; --them: #f1f1f1; --me: #fe6970;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.8 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
/* 行末に1〜2文字だけ残る折り返しを避ける（対応ブラウザ） */
p, li, figcaption, dd, .step-list span { text-wrap: pretty; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: 13px; color: var(--sub); }
h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.4; margin: 0 0 24px; text-align: center; letter-spacing: .02em; }
h3 { font-size: 18px; line-height: 1.5; margin: 0 0 8px; }
section { padding: 72px 0; }
.section-lead { max-width: 720px; margin: -8px auto 32px; text-align: center; color: var(--sub); }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; margin: 0; }
.site-header nav { display: flex; gap: 20px; margin-left: auto; }
.site-header nav a { color: var(--ink); text-decoration: none; font-size: 14px; }
.site-header nav a:hover { color: var(--accent); }
@media (max-width: 760px) { .site-header nav { display: none; } .bar .btn-small { margin-left: auto; } }

.btn { display: inline-block; border-radius: 999px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 8px 20px rgba(200, 50, 79, .28); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(200, 50, 79, .34); }
.btn:focus-visible { outline: 3px solid #1f2328; outline-offset: 3px; }
.btn-small { padding: 8px 18px; font-size: 14px; box-shadow: none; }
.btn-large { padding: 16px 36px; font-size: 18px; }
.btn-light { background: #fff; color: var(--accent); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.cta-row { margin-top: 28px; }
.cta-note { margin: 10px 0 0; font-size: 13px; color: var(--sub); }
.cta-note.light { color: rgba(255, 255, 255, .9); }

.hero { padding: 64px 0 80px; background: radial-gradient(1200px 400px at 80% 0%, var(--accent-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow { display: inline-block; margin: 0 0 16px; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid #f5c2cc; color: var(--accent); font-size: 13px; font-weight: 700; }
h1 { font-size: clamp(30px, 3.9vw, 44px); line-height: 1.35; margin: 0; letter-spacing: .01em; }
/* 日本語の見出しを文節で折り返す（対応ブラウザ）。.ph は語の途中で折らない塊 */
h1, h2, h3, .pain-answer, .pain-list li, .step-list b, .mock figcaption, .table-note { word-break: auto-phrase; }
.ph { display: inline-block; }
/* 1行目の「マッチングアプリの返信、」（12字）を、2段組みの左側でもスマホでも1行に収める */
@media (max-width: 480px) { h1 { font-size: min(30px, 7.1vw); } }
.accent { color: var(--accent); }
.lead { font-size: 17px; color: #3d434b; margin: 20px 0 0; }

.mock { margin: 0; }
.mock-chat { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 16px 16px 20px; box-shadow: 0 24px 48px rgba(15, 23, 42, .10); max-width: 400px; }
.mock-head { text-align: center; font-weight: 700; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.b { max-width: 82%; margin: 0 0 8px; padding: 9px 14px; border-radius: 20px; font-size: 14px; line-height: 1.6; }
.b.them { background: var(--them); }
.b.me { background: var(--me); color: #fff; margin-left: auto; }
.mock-input { margin-top: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-size: 13px; color: var(--ink); background: #fafafa; }
.caret { display: inline-block; width: 1px; height: 14px; background: var(--ink); vertical-align: middle; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock-panel { position: relative; width: min(320px, 86%); margin: -20px 0 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: 0 16px 36px rgba(15, 23, 42, .16); font-size: 12px; }
.mp-head { display: flex; justify-content: space-between; margin: 0 0 4px; font-weight: 700; }
.mp-head em { font-style: normal; color: #1a7f37; font-weight: 400; }
.mp-stage { margin: 0 0 6px; color: var(--sub); }
.mp-card { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; margin-top: 6px; }
.mp-card.picked { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.mp-card b { color: var(--accent); font-size: 11px; }
.mp-card span + span { border-top: 1px dashed var(--line); padding-top: 2px; }
.mock figcaption { margin-top: 14px; font-size: 13px; color: var(--sub); }

.pain { background: var(--bg-2); }
.pain-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; margin: 0 0 32px; }
@media (max-width: 760px) { .pain-list { grid-template-columns: 1fr; } }
.pain-list li { background: #fff; border-radius: 16px; padding: 24px 20px; font-weight: 700; text-align: center; border: 1px solid var(--line); }
.pain-list li::before { content: "💭"; display: block; font-size: 28px; margin-bottom: 8px; }
.pain-answer { text-align: center; font-size: 18px; margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: #fff; }
.feature p { margin: 0; color: #3d434b; }
.num { display: inline-block; font-weight: 800; color: var(--accent); font-size: 14px; letter-spacing: .1em; margin-bottom: 8px; }
.tag { font-style: normal; font-size: 12px; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 1px 8px; margin-left: 4px; vertical-align: middle; }

.template { background: linear-gradient(180deg, #fff, var(--accent-soft)); }
.template-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .template-grid { grid-template-columns: 1fr; } }
.template-text { margin: 0; white-space: pre-wrap; word-break: break-word; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; font: 14px/1.9 inherit; font-family: inherit; }
.branches { display: grid; gap: 16px; }
.branch { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; }
.branch-title { margin: 0 0 10px; font-weight: 700; font-size: 14px; color: var(--sub); }
.note { text-align: center; color: var(--sub); margin: 24px 0 0; font-size: 14px; }

.safety-list { max-width: 760px; margin: 0 auto; padding: 0; list-style: none; display: grid; gap: 12px; }
.safety-list li { background: var(--bg-2); border-radius: 14px; padding: 14px 18px 14px 48px; position: relative; }
.safety-list li::before { content: "✓"; position: absolute; left: 18px; top: 13px; color: var(--accent); font-weight: 800; }

.steps { background: var(--bg-2); }
.step-list { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0 0 32px; }
@media (max-width: 760px) { .step-list { grid-template-columns: 1fr; } }
.step-list li { counter-increment: step; background: #fff; border-radius: 20px; padding: 28px 24px; border: 1px solid var(--line); display: grid; gap: 6px; }
.step-list li::before { content: "STEP " counter(step); color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: .08em; }
.step-list b { font-size: 18px; }
.step-list span { color: #3d434b; font-size: 15px; }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 780px; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
th, td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); font-size: 15px; word-break: auto-phrase; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { text-align: left; font-weight: 600; background: var(--bg-2); }
thead th { font-size: 14px; color: var(--sub); }
.us { background: var(--accent-soft); color: var(--accent); font-weight: 800; }
/* スマホでは横にスクロールしても項目名が見えるよう、左の列を固定する */
@media (max-width: 760px) {
  .table-scroll { border: 1px solid var(--line); border-radius: 16px; }
  table { min-width: 720px; border: 0; border-radius: 0; overflow: visible; }
  th, td { padding: 12px 10px; font-size: 14px; }
  tbody th, thead th:first-child { position: sticky; left: 0; z-index: 1; width: 132px; box-shadow: 1px 0 0 var(--line); }
  thead th:first-child { background: #fff; }
}
.table-note { max-width: 820px; margin: 14px auto 0; font-size: 13px; color: var(--sub); text-align: center; }

.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 820px; margin: 0 auto 16px; }
@media (max-width: 760px) { .plan-grid { grid-template-columns: 1fr; } }
.plan { position: relative; border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; background: #fff; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 16px 40px rgba(200, 50, 79, .14); }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); margin: 0; background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; padding: 4px 16px; border-radius: 999px; white-space: nowrap; }
.price { font-size: 40px; font-weight: 800; margin: 4px 0 0; line-height: 1.2; }
.price small { font-size: 15px; font-weight: 600; color: var(--sub); margin-left: 4px; }
.plan-sub { color: var(--sub); font-size: 14px; margin: 4px 0 16px; }
.plan ul { margin: 0; padding-left: 20px; }
.plan li { margin-bottom: 6px; }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 22px; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.faq p { margin: 10px 0 0; color: #3d434b; }

.final-cta { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; }
.final-cta h2 { color: #fff; }

.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer nav a { color: var(--sub); text-decoration: none; }
.site-footer nav a:hover { color: var(--accent); }
.copy { margin: 0 0 0 auto; color: var(--sub); }
.unofficial { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--sub); }

/* 法的文書・購入完了などの本文ページ */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.doc h1 { font-size: 28px; margin-bottom: 24px; }
.doc h2 { font-size: 18px; text-align: left; margin: 32px 0 8px; }
.doc dl { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--line); margin: 0; }
.doc dt, .doc dd { margin: 0; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.doc dt { font-weight: 700; background: var(--bg-2); }
@media (max-width: 640px) { .doc dl { grid-template-columns: 1fr; } .doc dt { border-bottom: 0; padding-bottom: 4px; } }
.doc p, .doc li { color: #3d434b; }
.doc .updated { color: var(--sub); font-size: 14px; }
.card-box { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: #fff; box-shadow: 0 16px 36px rgba(15, 23, 42, .06); }
.key { display: inline-block; font-size: 22px; font-weight: 800; letter-spacing: .06em; background: var(--bg-2); padding: 10px 18px; border-radius: 12px; user-select: all; margin: 8px 0; }
.copy-btn { margin-left: 8px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer; font: inherit; font-size: 14px; }

/* スマホで来た人への案内（site.js が .is-mobile を付けて差し込む） */
.is-mobile .js-store.btn-large { display: none; }
.mobile-send { max-width: 440px; margin: 0 auto; background: #fff; border: 1px solid #f5c2cc; border-radius: 20px; padding: 20px; text-align: center; color: var(--ink); box-shadow: 0 12px 28px rgba(200, 50, 79, .10); }
.cta-row .mobile-send { margin: 0; }
.mobile-send p { word-break: auto-phrase; text-wrap: balance; }
.ms-title { margin: 0; font-weight: 800; font-size: 17px; }
.ms-title::before { content: "💻"; display: block; font-size: 26px; line-height: 1.3; }
.ms-text { margin: 4px 0 0; font-size: 14px; color: var(--sub); }
.mobile-send .btn { width: 100%; margin-top: 14px; padding: 14px 16px; border: 0; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.ms-status { margin: 0; font-size: 14px; font-weight: 700; color: #1a7f37; overflow-wrap: anywhere; }
.ms-status:not(:empty) { margin-top: 10px; }
.ms-mail { margin: 10px 0 0; font-size: 14px; }

/* アンインストールの理由・意見フォーム */
.form-lead { color: var(--sub); margin: -12px 0 24px; }
.field { border: 0; padding: 0; margin: 0 0 20px; }
.field legend, .field-label { display: block; font-weight: 700; margin-bottom: 10px; padding: 0; }
.field-label small, .field legend small { font-weight: 400; color: var(--sub); margin-left: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; border: 1px solid #d0d5dc; border-radius: 999px; padding: 8px 16px; font-size: 15px; background: #fff; cursor: pointer; transition: background .12s, border-color .12s; }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 700; }
.chip input:checked + span::before { content: "✓ "; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.textarea { width: 100%; min-height: 128px; border: 1px solid #d0d5dc; border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 16px; line-height: 1.7; resize: vertical; }
.textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.form-actions .btn { border: 0; padding: 14px 40px; font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; }
.form-actions .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.doc .form-error { color: var(--accent); font-size: 14px; font-weight: 700; margin: 0; }
.notice { background: #fff8e6; border: 1px solid #f3d58a; border-radius: 14px; padding: 14px 18px; margin: 0 0 24px; font-size: 15px; }
.notice p { margin: 0; color: #5c4400; }
.thanks-box { text-align: center; }
.thanks-box h2 { text-align: center; margin: 0 0 8px; font-size: 22px; }
.thanks-box h2::before { content: "✓"; display: block; width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; background: #eefbf1; color: #1a7f37; font-size: 26px; line-height: 48px; }
.soft-link { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--sub); }
.card-box p { word-break: auto-phrase; }
.soft-link a { white-space: nowrap; }
@media (max-width: 640px) { .card-box { padding: 22px 18px; } .doc { padding: 32px 16px 64px; } }
