/* キーワード別の着地ページ（/kurabe・/minaoshi・/keiyakumae・/tochi-madori。2026-10-24）の共通の見た目
   2026-10-24 ブラッシュアップ（広告運用・CRO・コピー・施主目線・表示の決まり・デザインの6つの目線で見直し）：
   ・スマホの最初の画面に、見出し＋短い説明＋状況のボタン（#start）が2つ以上見えるように詰める
   ・そのすぐ下に「結果の見本」（.peek。点数・判定は出さない・「見本」の札）
   ・白いカードが続かないよう、背景のない段（.band）と交互に。h2 の上の橙の線は出さない
   効果を約束する言い方・あおる言い方はしない。中身の診断はいつもと同じ */
:root { --g: #1F7F73; --gd: #17655B; --g2: #E8F4F1; --o: #E8833A; --o2: #FCEFE4; --ink: #2B2F33; --mut: #5F646B; --ln: #E7E5E0; }
body { background: #FBFAF7; color: var(--ink); padding-bottom: 88px; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 18px 48px; }
.top { max-width: 640px; margin: 0 auto; padding: 14px 18px 0; display: flex; align-items: center; justify-content: space-between; }
.top a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; }
.top small { font-size: 12px; color: var(--mut); }
@media (max-width: 480px) { .top small { display: none; } }
/* 見出しまわり（最初の画面） */
.hero { padding: 18px 0 6px; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--g); letter-spacing: .05em; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 24px; height: 3px; background: var(--o); border-radius: 2px; }
h1 { margin: 0; font-size: clamp(26px, 7.4vw, 36px); line-height: 1.38; font-weight: 900; letter-spacing: .01em; }
.lead { margin: 12px 0 0; font-size: 15px; line-height: 1.75; color: var(--mut); }
.tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 700; color: var(--gd); }
.tags span::before, .tags li::before { content: '✓ '; }
.total-count { margin: 8px 0 0 !important; }
/* 状況のボタン（いちばん大事な部品） */
.card { background: #fff; border: 1px solid var(--ln); border-radius: 18px; padding: 20px 18px; margin-top: 18px; }
.card#start { border-color: #CFE5E0; box-shadow: 0 8px 24px rgba(31, 127, 115, .08); }
h2 { margin: 0 0 6px; font-size: 19px; font-weight: 900; line-height: 1.5; }
.wrap section > h2:first-child::before, .card > h2:first-child::before { content: none !important; display: none !important; }
.card > p, .band > p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--mut); }
.stages { display: grid; gap: 8px; margin-top: 12px; }
.stages a { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 48px; padding: 13px 40px 13px 16px; border: 1.5px solid #D5D3CD; border-radius: 14px; color: var(--ink); text-decoration: none; background: #fff; transition: transform .08s; }
.stages a::after { content: '›'; position: absolute; right: 16px; top: 50%; transform: translateY(-52%); font-size: 24px; color: var(--g); }
.stages a:hover, .stages a:focus-visible { border-color: var(--g); background: #F6FBFA; }
.stages a:active { transform: scale(.98); }
.stages b { font-size: 16px; }
.stages small { font-size: 13px; color: var(--mut); line-height: 1.55; }
.stages a.main { border-color: var(--g); box-shadow: 0 0 0 1px var(--g) inset; background: #F6FBFA; }
.stages a .pill { align-self: flex-start; margin-bottom: 2px; padding: 1px 8px; border-radius: 999px; background: var(--g); color: #fff; font-size: 11px; font-weight: 700; }
.start-note { margin: 10px 0 0 !important; font-size: 12.5px !important; }
/* 結果の見本 */
.peek { position: relative; margin: 22px 0 0; padding: 18px 16px 14px; background: #fff; border: 1px solid var(--ln); border-radius: 18px; box-shadow: 0 12px 28px rgba(31, 127, 115, .10); }
.peek-tag { position: absolute; top: -11px; left: 14px; padding: 2px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.peek-cap { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--g); }
.peek-body { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; align-items: center; }
.peek-radar { width: 124px; height: 124px; display: block; overflow: visible; }
.peek-k { margin: 0; font-size: 11.5px; color: var(--mut); }
.peek-t { margin: 2px 0 0; font-size: 18px; font-weight: 900; line-height: 1.35; }
.peek-c { margin: 6px 0 0; font-size: 13px; line-height: 1.6; color: #A0521C; font-weight: 700; }
.peek-rows { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--ln); display: grid; gap: 6px; }
.peek-rows li { display: grid; grid-template-columns: 26px auto minmax(0, 1fr); gap: 8px; align-items: center; font-size: 13px; line-height: 1.5; }
.peek-rows i { width: 26px; height: 26px; display: block; }
.peek-rows i svg { width: 100%; height: 100%; display: block; }
.peek-rows b { font-size: 11.5px; padding: 1px 8px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.peek-rows .good b { color: var(--g); }
.peek-rows .weak b { color: #B4561B; }
.peek-foot { margin: 10px 0 0; font-size: 12px; color: var(--mut); line-height: 1.6; }
/* 2つの案を並べる見本（/kurabe） */
.peek.pair .peek-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.peek.pair .peek-two > div { padding: 10px 8px 8px; border-radius: 14px; background: #F7F6F2; text-align: center; }
.peek.pair .peek-two b { display: block; font-size: 13px; }
.peek.pair .peek-two small { display: block; margin-top: 2px; font-size: 12px; color: var(--mut); line-height: 1.5; }
.peek.pair .peek-radar { margin: 0 auto; width: 120px; height: 120px; }
/* 土地の見本（/tochi-madori） */
.peek-bars { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.peek-bars li { display: grid; grid-template-columns: 6.5em minmax(0, 1fr) 2.2em; gap: 8px; align-items: center; font-size: 13px; }
.peek-bars s { display: block; height: 8px; border-radius: 4px; background: #ECEAE4; text-decoration: none; overflow: hidden; }
.peek-bars s i { display: block; height: 100%; background: var(--g); border-radius: 4px; }
.peek-bars li.low s i { background: var(--o); }
.peek-bars em { font-style: normal; font-weight: 700; text-align: right; }
/* 背景のない段（カードが続かないように） */
.band { margin-top: 30px; }
.band h2 { font-size: 19px; }
/* 場面（施主のあるある） */
.scenes { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.scenes li { position: relative; padding: 12px 14px 12px 40px; border-radius: 14px; background: #fff; border: 1px solid var(--ln); font-size: 14.5px; line-height: 1.7; }
.scenes li::before { content: '💭'; position: absolute; left: 13px; top: 11px; font-size: 17px; }
/* 6つの観点（キャラの顔つき） */
.axes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.axes div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 8px; align-items: center; padding: 10px; border-radius: 12px; background: #F6F5F1; }
.axes i { grid-row: span 2; width: 34px; height: 34px; display: block; }
.axes i svg { width: 100%; height: 100%; display: block; }
.axes b { display: block; font-size: 14px; }
.axes span { font-size: 12.5px; color: var(--mut); line-height: 1.5; }
/* 手順は番号つきの縦の流れ */
ol.steps { list-style: none; counter-reset: st; margin: 14px 0 0; padding: 0; }
ol.steps li { counter-increment: st; position: relative; padding: 0 0 16px 42px; font-size: 14.5px; line-height: 1.75; }
ol.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--g); color: #fff; font-size: 14px; font-weight: 900; display: grid; place-items: center; }
ol.steps li:not(:last-child)::after { content: ''; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: #CFE5E0; }
ol.steps small { display: block; color: var(--mut); font-size: 13px; }
.steps-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.steps-wrap figure { margin: 0 auto; }
@media (min-width: 560px) { .steps-wrap { grid-template-columns: minmax(0, 1fr) 180px; align-items: start; } .steps-wrap .ld-video { width: 180px !important; } }
ul.points { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
ul.points li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 10px; padding: 12px 14px; border-radius: 12px; background: #F6F5F1; font-size: 14px; line-height: 1.75; }
ul.points li > i { grid-row: span 3; width: 34px; height: 34px; display: block; }
ul.points li > i svg { width: 100%; height: 100%; display: block; }
ul.points li b { display: block; font-size: 14.5px; color: var(--ink); }
ul.points li span { color: var(--mut); }
ul.points li em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--g); }
ul.points.plain li { grid-template-columns: minmax(0, 1fr); }
/* チェックリスト */
.check { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.check label { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; min-height: 44px; padding: 12px 14px; border: 1px solid var(--ln); border-radius: 12px; font-size: 14px; line-height: 1.7; cursor: pointer; background: #fff; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--g); }
.check b { display: block; }
.check span { color: var(--mut); font-size: 13px; }
.check label:has(input:checked) { background: #F6FBFA; border-color: #BFDCD6; }
.check .key { display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 999px; background: var(--o2); color: #A0521C; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.check-more > summary { list-style: none; cursor: pointer; margin-top: 8px; padding: 12px; border-radius: 12px; border: 1.5px dashed #CFCBC2; text-align: center; font-size: 14px; font-weight: 700; color: var(--g); }
.check-more > summary::-webkit-details-marker { display: none; }
.check-more[open] > summary { display: none; }
.count { margin: 10px 0 0; font-size: 13.5px; color: var(--g); font-weight: 700; line-height: 1.7; }
/* ボタン（主ボタンは各ページ1種類） */
.btn { display: block; margin-top: 16px; padding: 15px; border-radius: 14px; background: var(--g); color: #fff; font-size: 16px; font-weight: 900; text-align: center; text-decoration: none; box-shadow: 0 6px 16px rgba(31, 127, 115, .2); }
.btn small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; opacity: .92; }
.btn.sub { background: #fff; color: var(--g); border: 1.5px solid var(--g); box-shadow: none; }
.hero-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 11px 16px; border-radius: 12px; background: var(--g); color: #fff; font-size: 15px; font-weight: 900; text-decoration: none; }
.hero-btn small { font-weight: 500; font-size: 12px; opacity: .9; }
body.checked .after-check { box-shadow: 0 0 0 3px rgba(232, 131, 58, .35), 0 6px 16px rgba(31, 127, 115, .2); }
.links { display: grid; gap: 10px; margin-top: 14px; }
.links a { display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; gap: 12px; align-items: center; min-height: 48px; padding: 14px; border: 1.5px solid #D5D3CD; border-radius: 14px; color: var(--ink); text-decoration: none; background: #fff; }
.links a:hover, .links a:focus-visible { border-color: var(--g); background: #F6FBFA; }
.links a:active { transform: scale(.98); }
.links img { width: 40px; height: 40px; border-radius: 10px; }
.links b { display: block; font-size: 15.5px; }
.links small { display: block; font-size: 13px; color: var(--mut); line-height: 1.6; }
.links a::after { content: '›'; font-size: 24px; color: var(--g); }
.links a.main { border-color: var(--g); box-shadow: 0 0 0 1px var(--g) inset; background: #F6FBFA; }
.wrap .note { display: block; margin-top: 12px; padding: 0; border-radius: 0; font-size: 13px; color: var(--mut); line-height: 1.75; }
/* つくっている人 */
.maker { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: start; margin-top: 30px; padding: 16px; border-radius: 16px; background: var(--g2); }
.maker img { width: 52px; height: 52px; border-radius: 14px; background: #fff; }
.maker b { display: block; font-size: 14.5px; }
.maker p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.75; color: #3E4447; }
/* よくある質問 */
.faq { margin-top: 8px; border-top: 1px solid var(--ln); }
.faq details { border-bottom: 1px solid var(--ln); }
.faq summary { cursor: pointer; padding: 15px 28px 15px 0; position: relative; list-style: none; font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 20px; font-weight: 400; color: var(--g); }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 0 0 14px; font-size: 14px; line-height: 1.8; color: #4D514F; }
.faq a, .card a.inl, .band a.inl { color: var(--g); }
.more { margin-top: 20px; font-size: 13.5px; line-height: 1.9; }
.more a { color: var(--g); }
.foot { margin-top: 36px; font-size: 13px; color: var(--mut); text-align: center; line-height: 1.9; }
.foot a { color: var(--mut); }
/* 下に固定のボタン（見出しを過ぎてから出る） */
.float { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 250, 247, .96); border-top: 1px solid var(--ln); transition: transform .2s; }
.float.off { transform: translateY(120%); }
.float a { display: block; max-width: 600px; min-height: 48px; margin: 0 auto; padding: 14px; border-radius: 12px; background: var(--g); color: #fff; font-size: 15.5px; font-weight: 900; text-align: center; text-decoration: none; }
@media (min-width: 900px) { .hero { padding-top: 30px; } }
/* /kurabe の「住宅選びのプロに相談する」（2026-10-25。家づくり相談所に直接。写真は相談所からもらったもの） */
.iez-direct { border-color: #F2D9C4; }
.iez-kicker { margin: 0 0 6px !important; font-size: 12.5px !important; font-weight: 700; color: var(--o) !important; }
.iez-direct h2 { line-height: 1.5; }
.iez-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 14px 0 0; }
.iez-photos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; background: var(--ln); }
.iez-direct > p.iez-cap { margin: 4px 0 12px; font-size: 11px; }
.iez-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.6; }
.iez-list li { position: relative; padding-left: 22px; }
.iez-list li::before { content: '✓'; position: absolute; left: 2px; color: var(--g); font-weight: 900; }
.iez-direct .note { margin-top: 10px; font-size: 12.5px; }
/* 3つのお約束（2026-10-25。結果の見本のすぐ下） */
.promise { display: grid; gap: 8px; margin-top: 18px; }
.promise div { display: grid; gap: 2px; padding: 12px 14px 12px 40px; position: relative; border-radius: 12px; background: var(--g2); }
.promise div::before { content: '✓'; position: absolute; left: 14px; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--g); color: #fff; font-size: 11px; font-weight: 900; display: grid; place-items: center; }
.promise b { font-size: 15px; }
.promise span { font-size: 13px; color: var(--mut); line-height: 1.6; }
@media (min-width: 560px) { .promise { grid-template-columns: repeat(3, minmax(0, 1fr)); } .promise div { padding: 40px 14px 14px; } .promise div::before { top: 14px; } }
