/* 三重のAI相談 7版目（2026-11-29 LPの型 reference_lp_framework.md に沿って構成から作り直し）。見た目は5版目のYaaha参考を引き継ぐ。5版目 · 矢野の指示でYaaha（yaaha.co.jp）の見た目を参考：黄色の面・白い角丸カード・黒の丸ボタン・英字の大見出し・カラー写真（2026-11-29）
 * Hallmarkの配色（Specimen・白黒の写真加工）は矢野「白黒はおかしい」で取りやめ */

:root {
  --c-bg: #fffdf6;
  --c-ink: #1f1f1f;
  --c-ink-2: #4a4a4a;
  --c-muted: #6b6b6b;
  --c-yellow: #f6b704;
  --c-yellow-soft: #fff3c4;
  --c-green: #33a68f;
  --c-green-soft: #e3f4ef;
  --c-white: #ffffff;
  --c-line: #e7e1cf;
  --c-focus: #1a5fd0;
  --c-line-green: #06a24a;
  --c-shadow: rgb(0 0 0 / .08);
  --c-shadow-2: rgb(0 0 0 / .25);
  --c-rule: rgb(0 0 0 / .14);
  --c-red: #c8442f;
  --c-on-ink: var(--c-on-ink);
  --font-body: "Noto Sans JP", ui-sans-serif, system-ui, sans-serif;
  --container: 68rem;
  --r-card: 20px;
  --r-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font-family: var(--font-body); font-size: 16px; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

/* ナビ */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in oklab, var(--c-bg) 92%, transparent); backdrop-filter: blur(6px); }
.nav-in { display: flex; justify-content: space-between; align-items: center; min-height: 64px; gap: 12px; }
.mark { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; color: var(--c-ink); text-decoration: none; font-size: 1.05rem; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c-yellow); box-shadow: 6px 0 0 -2px var(--c-green); }

/* ボタン */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 10px 0 24px; border-radius: var(--r-pill); background: var(--c-ink); color: var(--c-white); font: 700 1rem var(--font-body); text-decoration: none; border: 2px solid var(--c-ink); cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.pill .arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--c-white); position: relative; flex: none; }
.pill .arrow::after { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-top: 2px solid var(--c-ink); border-right: 2px solid var(--c-ink); transform: translateX(-1px) rotate(45deg); }
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: translateY(0); }
.pill-w { background: var(--c-white); color: var(--c-ink); }
.pill-w .arrow { background: var(--c-line-green); }
.pill-w .arrow::after { border-color: var(--c-white); }
.pill-y { background: var(--c-yellow); border-color: var(--c-yellow); color: var(--c-ink); min-height: 42px; padding: 0 18px; font-size: .92rem; }
.pill:focus-visible, .mark:focus-visible, .sticky:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; transition: none; }

/* ファーストビュー */
.hero { background: var(--c-yellow-soft); border-radius: 0 0 48px 48px; padding-block: 28px 48px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.tag { display: inline-block; margin: 0 0 12px; padding: 4px 14px; border-radius: var(--r-pill); background: var(--c-yellow); font-weight: 700; font-size: .9rem; }
h1 { text-wrap: balance; margin: 0; font-weight: 900; font-size: clamp(2.1rem, 7.6vw, 3.6rem); line-height: 1.35; letter-spacing: .02em; overflow-wrap: break-word; min-width: 0; }
.lede { margin: 16px 0 24px; color: var(--c-ink-2); max-width: 32em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-face { margin: 0; position: relative; justify-self: center; width: min(72%, 360px); }
.hero-face img { aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--c-white); box-shadow: 18px 18px 0 var(--c-yellow); }
.hero-face figcaption { position: absolute; left: -6px; bottom: 6px; background: var(--c-white); border-radius: 16px; padding: 10px 16px; font-size: .85rem; line-height: 1.5; box-shadow: 0 6px 20px var(--c-shadow); }
@media (min-width: 860px) {
  .hero { padding-block: 56px 72px; }
  .hero-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
}

/* セクション共通（7版目：英字の大見出し・同じ角丸カードの反復・01/02/03の番号をやめ、節ごとに組み方を変える） */
.sec { padding-block: 64px; }
h2 { margin: 0 0 24px; font-weight: 900; font-size: clamp(1.5rem, 5.6vw, 2.1rem); line-height: 1.4; }
.sec-lede { margin: -12px 0 24px; color: var(--c-ink-2); max-width: 36em; }
mark { background: linear-gradient(transparent 60%, var(--c-yellow) 60%); color: inherit; padding: 0 .1em; }
.band-y { background: var(--c-yellow-soft); border-radius: 48px; margin-inline: 8px; }
.band-g { background: var(--c-green-soft); border-radius: 48px; margin-inline: 8px; }
.hero-note { margin: 12px 0 0; font-size: .88rem; color: var(--c-ink-2); }

/* 悩み：チェックの罫線リスト */
.checks { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--c-ink); max-width: 44rem; }
.checks li { position: relative; padding: 16px 0 16px 40px; border-bottom: 1px solid var(--c-line); font-weight: 700; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 20px; height: 20px; border: 2px solid var(--c-ink); border-radius: 4px; background: var(--c-white); }
.checks li::after { content: ""; position: absolute; left: 10px; top: 22px; width: 7px; height: 12px; border-right: 3px solid var(--c-green); border-bottom: 3px solid var(--c-green); transform: rotate(45deg); }

/* 解決の宣言：濃い面に大きく1行 */
.answer { background: var(--c-ink); color: var(--c-white); padding-block: 64px; }
.answer-in { max-width: 44rem; }
.answer-lead { margin: 0 0 8px; color: var(--c-yellow); font-weight: 700; }
.answer-big { margin: 0 0 20px; font-weight: 900; font-size: clamp(1.8rem, 6.6vw, 2.8rem); line-height: 1.4; }
.answer-big mark { background: linear-gradient(transparent 62%, var(--c-yellow) 62%); color: var(--c-white); }
.answer p:last-child { margin: 0; color: var(--c-on-ink); }

/* 渡す1枚の見本：紙の見た目＋罫線の表 */
.sheet { position: relative; max-width: 44rem; background: var(--c-white); border: 1px solid var(--c-line); box-shadow: 10px 10px 0 var(--c-yellow-soft); padding: 28px 22px 24px; }
.sheet-stamp { position: absolute; top: 14px; right: 14px; margin: 0; padding: 2px 10px; border: 2px solid var(--c-red); color: var(--c-red); font-weight: 900; font-size: .85rem; transform: rotate(6deg); }
.sheet-title small { font-size: .85rem; font-weight: 700; color: var(--c-ink-2); }
.sheet-title { margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--c-ink); font-weight: 900; padding-right: 64px; }
.sheet table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.sheet th, .sheet td { text-align: left; vertical-align: top; padding: 10px 6px; border-bottom: 1px solid var(--c-line); }
.sheet th { width: 7.5em; color: var(--c-ink-2); font-weight: 700; white-space: nowrap; }

/* 相談できること：見出しと説明の2列の行 */
.rows { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--c-ink); }
.rows > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--c-rule); }
.rows dt { font-weight: 900; font-size: 1.1rem; }
.rows dd { margin: 0; color: var(--c-ink-2); }
@media (min-width: 860px) { .rows > div { grid-template-columns: 16em minmax(0, 1fr); gap: 24px; } }
.not { margin: 20px 0 0; font-size: .92rem; color: var(--c-ink-2); }

/* 料金 */
.price { background: var(--c-white); border: 3px solid var(--c-ink); border-radius: var(--r-card); padding: 28px; display: grid; gap: 16px; }
.price-label { margin: 0; font-weight: 700; }
.big { margin: 0; font-weight: 900; font-size: clamp(3.4rem, 14vw, 5rem); line-height: 1.1; color: var(--c-ink); background: linear-gradient(transparent 62%, var(--c-yellow) 62%); display: inline-block; }
.price-note { margin: 0; color: var(--c-ink-2); }
@media (min-width: 860px) { .price { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 40px; } }
.mid-cta { margin-top: 28px; }

/* 申し込みから相談まで：縦の線でつなぐ */
.flow { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 3px solid var(--c-yellow); display: grid; gap: 22px; max-width: 40rem; }
.flow li { position: relative; display: grid; gap: 2px; }
.flow li::before { content: ""; position: absolute; left: -37px; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--c-white); border: 3px solid var(--c-ink); }
.flow b { font-size: 1.08rem; }
.flow span { color: var(--c-ink-2); }

/* 相談を受ける人 */
.profile { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.profile-img { width: min(56%, 260px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--c-white); }
.profile h2 { margin-bottom: 8px; }
.profile .name { margin: 0 0 8px; font-weight: 900; font-size: 1.25rem; }
.profile p { max-width: 36em; }
.solo { font-weight: 700; border-left: 4px solid var(--c-green); padding-left: 12px; }
@media (min-width: 860px) { .profile { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; } }

/* よく聞かれること */
.faq { max-width: 44rem; border-top: 2px solid var(--c-ink); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--c-ink-2); }
.faq summary:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }

/* フォーム */
.form-sec { background: var(--c-yellow-soft); }
.form { display: grid; gap: 18px; max-width: 40rem; padding: 28px 22px; background: var(--c-white); border-radius: var(--r-card); border: 2px solid var(--c-ink); }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.form legend { font-weight: 700; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.form .opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid var(--c-line); border-radius: 12px; font-weight: 700; cursor: pointer; }
.form .opt:has(input:checked) { border-color: var(--c-ink); background: var(--c-yellow-soft); }
.form .opt input { width: 18px; height: 18px; accent-color: var(--c-ink); margin: 0; }
.form > label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.form input:not([type=radio]), .form textarea, .form select { font: 400 1rem var(--font-body); color: var(--c-ink); background: var(--c-bg); border: 2px solid var(--c-line); border-radius: 12px; padding: 12px 14px; }
.form .hp { position: absolute; left: -9999px; }
.form .pill { justify-self: start; }
.note { color: var(--c-muted); font-size: .92rem; margin: 0; font-weight: 400; }

/* 画面下の追従ボタン（スマホだけ） */
.sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: var(--r-pill); background: var(--c-ink); color: var(--c-white); font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px var(--c-shadow-2); }
.sticky:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.sticky { transition: opacity .2s ease, transform .2s ease; }
.sticky.off { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media (min-width: 860px) { .sticky { display: none; } }
@media (max-width: 859px) { body { padding-bottom: 80px; } }

.foot { background: var(--c-ink); padding-block: 36px; }
.foot .mark { color: var(--c-white); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .pill:hover, .pill:active { transform: none; } }
