/* レイアウト: 縦1カラムのLP。白地とピンクの帯を交互に置き、写真・バッジ・吹き出しで飾る */
:root {
  --ink: #26313d;
  --muted: #66717d;
  --bg: #f9fbfd;
  --paper: #ffffff;
  --blush: #eaf3fa;       /* 帯の背景 */
  --accent: #2f6fa8;      /* キーカラー（イラストの blue #8FC5EA を濃くした紺寄りの青） */
  --accent-soft: #8fc5ea;
  --gold: #e9b44c;        /* バッジの差し色 */
  --line: #06c755;        /* LINE 公式のブランド色 */
  --border: #dfe8f0;
  --radius: 18px;
  --font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --font-body: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
}
* { 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-family: var(--font-body); line-height: 1.85; font-size: 16px; padding-bottom: 88px; }
a { color: var(--accent); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.4; margin: 0 0 .6em; text-wrap: balance; }
h2 { font-size: clamp(1.45rem, 5.4vw, 1.9rem); text-align: center; font-weight: 900; }
h3 { font-size: 1.08rem; font-weight: 700; }
main > section { max-width: 760px; margin: 0 auto; padding: 64px 16px; }
.eyebrow { text-align: center; font-family: var(--font-display); font-weight: 700; letter-spacing: .25em; color: var(--accent); font-size: .78rem; margin: 0 0 6px; }
.marker { background: linear-gradient(transparent 62%, var(--accent-soft) 62%); }
.note { font-size: .8rem; color: var(--muted); }

/* 帯（横幅いっぱいの背景） */
.promise, .cta, .facts { max-width: none !important; background: var(--blush); }
.band-inner, .facts > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.promise, .cta { position: relative; }
.promise::before, .cta::before { /* 帯の上端を波形に */
  content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 20px;
  background: radial-gradient(circle at 12px -4px, transparent 14px, var(--blush) 15px) repeat-x;
  background-size: 24px 20px;
}

/* 上部のPR表記・ヘッダー */
.pr-bar { margin: 0; padding: 6px 16px; font-size: .72rem; color: var(--muted); background: #eef2f6; text-align: center; }
.pr-bar a { margin-left: .5em; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; max-width: 960px; margin: 0 auto; }
.logo { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; letter-spacing: .1em; color: var(--ink); text-decoration: none; }
.logo span { font-size: .7rem; font-weight: 500; margin-left: .5em; color: var(--muted); letter-spacing: 0; }

/* ボタン */
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 16px 36px; text-align: center; font-family: var(--font-display); }
.btn-line { background: var(--line); color: #fff; box-shadow: 0 5px 0 #05a648; font-size: 1.1rem; }
.btn-line:active { transform: translateY(3px); box-shadow: 0 2px 0 #05a648; }
.btn-line:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-sub { display: block; width: fit-content; margin: -30px auto 6px; background: #fff; color: var(--line); border: 2px solid var(--line); border-radius: 999px; font-size: .72rem; padding: 0 12px; line-height: 1.8; }
.btn-sm { padding: 8px 16px; font-size: .85rem; box-shadow: none; }


/* ファーストビュー */
.hero { max-width: none !important; padding-top: 32px !important; background:
  radial-gradient(circle at 92% 8%, var(--accent-soft) 0 60px, transparent 61px),
  radial-gradient(circle at 4% 70%, #dcebf7 0 90px, transparent 91px),
  linear-gradient(180deg, var(--blush), var(--bg)); }
.hero-inner { max-width: 960px; margin: 0 auto; display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) { .hero-inner { grid-template-columns: 1.1fr 1fr; } }
.hero-copy { min-width: 0; }
.hero .eyebrow { text-align: left; letter-spacing: .1em; }
.hero h1 { font-size: clamp(2.3rem, 10vw, 3.4rem); font-weight: 900; line-height: 1.25; }
.hero-brand { display: block; font-size: 1rem; color: var(--accent); letter-spacing: .15em; margin-bottom: 8px; }
.hero-brand small { font-size: .7rem; margin-left: .6em; color: var(--muted); letter-spacing: 0; }
.hero-lead { color: var(--muted); margin: 0; }
.hero-visual { position: relative; max-width: 360px; width: 100%; margin: 0 auto; }
.badges { list-style: none; padding: 0; margin: 0; }
.badges li { position: absolute; width: 84px; height: 84px; border-radius: 50%; background: #fff; border: 3px solid var(--accent);
  display: grid; place-content: center; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: .72rem; line-height: 1.3; color: var(--ink); box-shadow: 0 6px 16px rgba(47,111,168,.18); }
.badges b { display: block; font-size: 1.15rem; color: var(--accent); }
.badges li:nth-child(1) { left: -12px; top: 18%; }
.badges li:nth-child(2) { right: -12px; top: 42%; border-color: var(--gold); }
.badges li:nth-child(2) b { color: var(--gold); }
.badges li:nth-child(3) { left: 4%; bottom: -14px; }
.hero-cta { text-align: center; margin-top: 36px; }
.hero-hours { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }

/* 数字 */
.facts { padding-block: 48px !important; }
.fact-list { list-style: none; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .fact-list { grid-template-columns: repeat(3, 1fr); } }
.fact-list li { background: var(--paper); border-radius: var(--radius); padding: 18px 16px; text-align: center; display: grid; gap: 4px; }
.fact-num { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 1rem; font-variant-numeric: tabular-nums; }
.fact-num b { font-size: 2.1rem; font-weight: 900; margin: 0 2px; }
.fact-label { font-size: .85rem; color: var(--ink); }
.fact-list a { font-size: .72rem; color: var(--muted); }

/* 悩み（吹き出し） */
.worries-body { display: grid; gap: 16px; align-items: center; }
@media (min-width: 640px) { .worries-body { grid-template-columns: 1.3fr 1fr; } }
.bubbles { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bubbles li { position: relative; background: var(--paper); border: 2px solid var(--border); border-radius: 22px; padding: 10px 18px; font-size: .95rem; }
.bubbles li:nth-child(odd) { margin-right: 28px; }
.bubbles li:nth-child(even) { margin-left: 28px; }
.bubbles li::after { content: ""; position: absolute; bottom: -9px; width: 14px; height: 14px; background: var(--paper); border-right: 2px solid var(--border); border-bottom: 2px solid var(--border); }
.bubbles li:nth-child(odd)::after { left: 26px; transform: rotate(45deg); }
.bubbles li:nth-child(even)::after { right: 26px; transform: rotate(45deg); }
.bubbles strong { color: var(--accent); }
.worries-close { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-top: 32px; }

/* イラスト */
.illust { mix-blend-mode: multiply; display: block; height: auto; margin: 0 auto 16px; width: min(100%, 260px); }

/* サービス */
.cards { list-style: none; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.cards li { background: var(--paper); border-radius: var(--radius); padding: 22px 20px; box-shadow: 0 6px 20px rgba(58,47,54,.06); }
.cards .num { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--accent-soft); line-height: 1; }
.cards h3 { font-size: 1.3rem; color: var(--accent); margin: 4px 0 6px; }
.cards p { margin: 0; font-size: .92rem; }

/* 約束 */
.promise-list { list-style: none; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .promise-list { grid-template-columns: 1fr 1fr; } }
.promise-list li { background: var(--paper); border-radius: var(--radius); padding: 16px 16px 16px 76px; position: relative; min-height: 76px; }
.promise-icon { position: absolute; left: 14px; top: 14px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: .78rem; line-height: 1.15; text-align: center; }
.promise-list h3 { margin: 0; }
.promise-list p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }

/* 相談員 */
.counselor-card { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; background: var(--paper); border-radius: var(--radius); padding: 24px 20px; box-shadow: 0 6px 20px rgba(58,47,54,.06); }
.counselor-text { flex: 1 1 260px; min-width: 0; }
.counselor-role { margin: 0; font-size: .8rem; color: var(--accent); font-weight: 700; }
.counselor-name { margin: 0 0 8px; font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; }
.counselor-msg { margin: 0; font-size: .92rem; background: var(--blush); border-radius: 14px; padding: 12px 14px; }

/* 流れ */
.steps { list-style: none; padding: 0; display: grid; gap: 10px; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 12px 16px 12px 92px; position: relative; min-height: 56px; display: flex; align-items: center; }
.steps span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; border-radius: 999px; padding: 2px 10px; }

/* CTA帯 */
.cta { text-align: center; }
.cta-lead { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0 0 36px; }

/* ここから下: AI が読む層（控えめな見た目） */
.about p, .why-free p { margin-top: 0; }
.why-free ul { padding-left: 1.2em; font-size: .95rem; }
.faq details { background: var(--paper); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 40px 14px 16px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q. "; color: var(--accent); font-family: var(--font-display); }
.faq summary::after { content: "+"; position: absolute; right: 16px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 16px 16px; font-size: .95rem; }
.company table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.company th, .company td { border-bottom: 1px solid var(--border); padding: 10px 8px; text-align: left; vertical-align: top; }
.company th { width: 32%; color: var(--muted); font-weight: 500; }
.sources ol { font-size: .8rem; color: var(--muted); padding-left: 1.4em; overflow-wrap: anywhere; }

.site-footer { text-align: center; padding: 32px 16px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--border); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-bottom: 8px; }
.site-footer a { color: var(--muted); }

.floating { transition: opacity .2s; position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(92vw, 360px); z-index: 10; padding: 14px 20px; font-size: 1rem; }
.floating:active { transform: translate(-50%, 2px); }
.floating.is-hidden { opacity: 0; pointer-events: none; }

/* ---- v3: ピタ婚との差分対応 ---- */
:root { --ink-band: #23344a; --cream: #fdf7ea; --gray-band: #f1f4f7; }
.accent-text { color: var(--accent); }
.accent-gold { color: var(--gold); }
.boxed { border: 2px solid var(--ink); padding: 0 .2em; margin: 0 .1em; background: var(--paper); }

/* LASISAとは（ファーストビュー直後） */
.intro { padding-block: 8px 40px !important; }
.intro-box { position: relative; background: var(--paper); border: 2px solid var(--accent-soft); border-radius: var(--radius);
  padding: 28px 20px 20px; background-image: linear-gradient(var(--blush) 1px, transparent 1px), linear-gradient(90deg, var(--blush) 1px, transparent 1px); background-size: 18px 18px; }
.intro-q { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); margin: 0; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 900; padding: 4px 20px; border-radius: 999px; white-space: nowrap; }
.intro-q span { letter-spacing: .1em; }
.intro-def { margin: 0; text-align: center; font-weight: 700; line-height: 2; }

/* 悩み: グレーの帯 */
.worries { max-width: none !important; background: var(--gray-band); }
.worries > * { max-width: 760px; margin-left: auto; margin-right: auto; }

/* データ */
.facts { padding-block: 64px !important; }
.fact-block { background: var(--paper); border-radius: var(--radius); padding: 20px 18px; margin-bottom: 16px; }
.fact-head { margin: 0 0 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.fact-head b { color: var(--accent); font-size: 1.3rem; }
.point { background: var(--accent); color: #fff; font-size: .7rem; border-radius: 6px; padding: 2px 8px; letter-spacing: .05em; }
.fact-note { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }
.fact-note b { color: var(--ink); }
.fact-note a { font-size: .72rem; margin-left: 2px; }
.dots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; max-width: 340px; margin: 0 auto; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--border); }
.dots i.on { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.donut-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.donut-row .fact-note { flex: 1 1 180px; min-width: 0; margin: 0; }
.donut { width: 150px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--accent) 0 32.4%, var(--border) 32.4% 100%); display: grid; place-items: center; flex: none; }
.donut span { width: 66%; aspect-ratio: 1; border-radius: 50%; background: var(--paper); display: grid; place-content: center; text-align: center; font-size: .72rem; color: var(--muted); }
.donut b { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--accent); font-variant-numeric: tabular-nums; }

/* 知っておきたいこと: 濃色の帯 */
.caution { max-width: none !important; background: var(--ink-band); color: #fff; position: relative; }
.caution::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--gold) 0 14px, var(--ink-band) 14px 28px); }
.caution h2 { color: #fff; }
.caution-lead { text-align: center; font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; margin: 0; }
.caution-list { list-style: none; padding: 0; counter-reset: c; display: grid; gap: 10px; }
.caution-list li { background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 16px 14px 52px; position: relative; counter-increment: c; }
.caution-list li::before { content: counter(c); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink-band); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.caution-list b { display: block; color: var(--accent); font-family: var(--font-display); }
.caution-list span { font-size: .88rem; }
.caution-list a { color: var(--muted); font-size: .72rem; }
.caution-close { text-align: center; font-weight: 700; margin: 24px 0 0; }

/* 転換ブロック */
.turn { max-width: none !important; text-align: center; background: linear-gradient(180deg, #d6e9f7, var(--blush)); }
.turn > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.turn-small { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.turn-big { margin: 0 0 10px; font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.3; }
.turn-big span { color: #fff; background: var(--accent); padding: 0 .25em; border-radius: 8px; letter-spacing: .05em; }
.turn-sub { margin: 0 0 40px; color: var(--muted); }

/* 選ばれる理由: クリームの帯 */
.reasons { max-width: none !important; background: var(--cream); }
.reasons > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.reason-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.reason-list li { background: var(--paper); border-radius: var(--radius); padding: 16px; display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: start; box-shadow: 6px 6px 0 var(--accent-soft); }
.reason-list li > div:last-child { min-width: 0; }
.reason-no { font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .1em; color: var(--accent); }
.reason-list h3 { margin: 2px 0 6px; background: linear-gradient(transparent 60%, var(--accent-soft) 60%); display: inline; }
.reason-list p { margin: 8px 0 0; font-size: .88rem; }

/* 流れ: 絵付き */
.steps li { padding: 10px 14px; gap: 12px; }
.steps li img { width: 72px; height: 72px; flex: none; mix-blend-mode: multiply; }
.steps li div { min-width: 0; }
.steps span { position: static; transform: none; display: inline-block; margin-bottom: 4px; }
.reason-no { display: block; margin-bottom: 2px; }
.steps span { display: table; }
.facts-note { text-align: center; font-size: .8rem; color: var(--muted); margin: -4px 0 16px; }

/* v4: 全カットをイラストに */
.hero-illust { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.hero-visual { max-width: 420px; }
.badges li:nth-child(1) { top: 4%; } .badges li:nth-child(2) { top: 30%; } .badges li:nth-child(3) { bottom: -24px; }
.turn-illust { width: min(70%, 240px); }
.reason-illust { width: 100%; height: auto; border-radius: 12px; background: var(--blush); mix-blend-mode: multiply; }
.steps li img { width: 80px; height: 80px; }

.for-both { margin: 0 0 10px; font-size: .85rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.for-both span { background: var(--accent); color: #fff; border-radius: 999px; padding: 0 10px; font-size: .78rem; }
.for-both span + span { background: var(--gold); }

/* v5: 男性版（ブルー）と女性版（ピンク）を左右に並べる */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; position: relative; }
.duo img { width: 100%; height: auto; mix-blend-mode: multiply; display: block; }
.duo-hero { max-width: 420px; margin: 0 auto; }
.duo-mid { width: min(100%, 320px); margin: 0 auto; }
.duo-reason { width: 100%; }
.duo-step { width: 96px; flex: none; gap: 0; }
.duo-hero::after, .duo-mid::after { content: ""; position: absolute; left: 50%; top: 12%; bottom: 12%; border-left: 2px dotted var(--border); }
.reason-list li { grid-template-columns: 1fr; }
.duo-reason, .reason-illust { width: min(100%, 240px); margin: 0 auto; }
.reason-illust { background: none; }
/* 性別の色をイラストに揃える（男性=ブルー / 女性=ピンク） */
:root { --male: #4f8fc6; --female: #e8899c; }
.for-both span { background: var(--male); }
.for-both span + span { background: var(--female); }
/* バッジはイラストに重ねず、下に横並び */
.badges { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.badges li { position: static !important; width: 76px; height: 76px; }
.reason-illust { width: min(60%, 150px); }

/* v6: ベースを若干女性寄りに（くすみローズ×アイボリー）。男性ブルーのイラストと並べても浮かない彩度に抑える */
:root {
  --ink: #3a2e35;
  --muted: #76686f;
  --bg: #fffaf7;
  --blush: #fbeef0;
  --accent: #c8667b;
  --accent-soft: #efbcc6;
  --border: #f0e2e5;
  --ink-band: #4a3540;
  --cream: #fdf6ee;
  --gray-band: #f7f2f2;
}
.hero { background:
  radial-gradient(circle at 92% 8%, var(--accent-soft) 0 60px, transparent 61px),
  radial-gradient(circle at 4% 70%, #f9e3e7 0 90px, transparent 91px),
  linear-gradient(180deg, var(--blush), var(--bg)); }
.turn { background: linear-gradient(180deg, #f8dde3, var(--blush)); }
.pr-bar { background: #f6eff0; }
.badges li { box-shadow: 0 6px 16px rgba(200,102,123,.18); }
.for-both span.f { background: var(--female); }
.for-both span.m { background: var(--male); }

/* v7: 帯セクションの中央寄せを、子要素の margin に依存しない形に（見出しの margin 指定で左寄りになっていた） */
.facts, .worries, .turn, .reasons, .promise, .cta, .caution {
  padding-left: max(16px, calc((100% - 760px) / 2)) !important;
  padding-right: max(16px, calc((100% - 760px) / 2)) !important;
}
.facts > *, .worries > *, .turn > *, .reasons > * { max-width: none; }
.turn-illust, .duo-mid, .duo-reason, .reason-illust { margin-left: auto !important; margin-right: auto !important; }

/* 流れ: 絵を上・文を下のカードにして、絵を潰さない大きさで並べる */
.steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.steps li { flex-direction: column; align-items: center; text-align: center; padding: 18px 14px; gap: 8px; }
.steps li > img, .steps .duo-step img { width: auto !important; height: 110px !important; }
.steps .duo-step { width: auto; display: flex; gap: 8px; justify-content: center; }
.steps span { margin: 0 auto 4px; }
.flow .note { text-align: center; }
.steps { display: flex; flex-wrap: wrap; justify-content: center; }
.steps li { flex: 1 1 220px; max-width: 240px; }
@media (max-width: 520px) {
  .steps li { max-width: none; flex-direction: row; text-align: left; align-items: center; }
  .steps li > img, .steps .duo-step img { height: 72px !important; }
  .steps .duo-step { gap: 2px; }
  .steps span { margin: 0 0 4px; }
}
@media (max-width: 520px) {
  .steps li > :first-child { width: 120px; flex: none; display: flex; justify-content: center; }
  .steps .duo-step img { height: 60px !important; }
}
@media (max-width: 520px) {
  .steps li > img { width: 120px !important; height: 72px !important; object-fit: contain; flex: 0 0 120px; }
  .steps .duo-step { flex: 0 0 120px; width: 120px; gap: 0; }
  .steps .duo-step img { width: 60px !important; height: 60px !important; object-fit: contain; }
}
