/* 話し相手サービス LP 専用（site.css は読み込まない）— tokens: docs/HANASHI_DESIGN_PLAN.md */
:root {
  --h-ink: #2C3440;
  --h-ai: #3F5D78;
  --h-ai-d: #2F4A62;
  --h-sage: #6E8B7B;
  --h-paper: #FFFFFF;
  --h-mist: #F2F6F4;
  --h-line: #D9E0DC;
  --h-mute: #55606C;
  --h-notice-bg: #FFF3CF;
  --h-notice: #6B4F00;
  --h-focus: #F2B705;
  --h-round: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'BIZ UDPGothic', sans-serif;
  --h-sans: 'BIZ UDPGothic', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  --h-gut: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body.hanashi { margin: 0; background: var(--h-paper); color: var(--h-ink); font-family: var(--h-sans); font-size: 17.5px; line-height: 1.9; overflow-wrap: anywhere; }
:where(.hanashi) a { color: var(--h-ai); text-underline-offset: .2em; }
.hanashi :focus-visible { outline: 3px solid var(--h-focus); outline-offset: 2px; border-radius: 4px; }
:where(.hanashi) :is(h1, h2, h3) { font-family: var(--h-round); font-weight: 700; line-height: 1.5; margin: 0; letter-spacing: .02em; }
:where(.hanashi) p { margin: 0 0 1em; }
:where(.hanashi) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
.hanashi .ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.25em; }
.hanashi .nb { display: inline-block; white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--h-ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 8px; }
.h-wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--h-gut); }
.h-preview { background: var(--h-notice-bg); color: var(--h-notice); font-size: 14px; line-height: 1.6; padding: 7px var(--h-gut); text-align: center; }
.h-preview b { margin-right: .6em; }
.h-pv-short { display: none; }
@media (max-width: 560px) { .h-preview { font-size: 13px; padding: 5px 12px; } .h-pv-long { display: none; } .h-pv-short { display: inline; } }

/* header */
.h-hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--h-line); }
.h-hdr-in { max-width: 1180px; margin: 0 auto; padding: 0 var(--h-gut); height: 66px; display: flex; align-items: center; gap: 20px; }
.h-brand { display: flex; flex-direction: column; text-decoration: none; color: var(--h-ink); margin-right: auto; line-height: 1.25; min-height: 48px; justify-content: center; }
.h-brand-name { font-family: var(--h-round); font-weight: 700; font-size: 20px; }
.h-brand small { font-size: 12.5px; color: var(--h-mute); }
.h-nav ul { display: flex; gap: 2px; }
.h-nav a { display: block; padding: 10px 12px; color: var(--h-ink); text-decoration: none; font-size: 15px; border-radius: 8px; }
.h-nav a:hover { background: var(--h-mist); }
.h-hdr-cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 99px; background: var(--h-ai); color: #fff !important; text-decoration: none; font-weight: 700; font-size: 15px; }
.h-hdr-cta:hover { background: var(--h-ai-d); }
.h-menu-btn, .h-menu-close { display: none; align-items: center; gap: 6px; min-height: 48px; min-width: 48px; padding: 0 10px; border: 1px solid var(--h-line); background: #fff; border-radius: 10px; font: inherit; font-size: 14px; color: var(--h-ink); cursor: pointer; }
.h-drawer { position: fixed; inset: 0; z-index: 60; background: rgba(44,52,64,.4); }
.h-drawer-in { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 100%); background: #fff; padding: 10px var(--h-gut) 28px; overflow-y: auto; }
.h-drawer-top { display: flex; justify-content: space-between; align-items: center; height: 56px; font-family: var(--h-round); font-weight: 700; }
.h-drawer .h-menu-close { display: inline-flex; }
.h-drawer ul { border-top: 1px solid var(--h-line); }
.h-drawer li a { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--h-line); color: var(--h-ink); text-decoration: none; }
.h-drawer-other { margin-top: 20px; font-size: 15px; }
.h-drawer-other a { display: inline-flex; min-height: 44px; align-items: center; }
body.h-drawer-open { overflow: hidden; }
@media (max-width: 900px) { .h-nav { display: none; } .h-menu-btn { display: inline-flex; } }
@media (max-width: 420px) {
  .h-hdr-in { height: 60px; gap: 8px; }
  .h-brand-name { font-size: 17px; }
  .h-hdr-cta { padding: 0 14px; font-size: 14px; min-height: 44px; }
  .h-menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* hero */
.h-hero { padding: 56px 0 64px; background: linear-gradient(var(--h-mist), var(--h-paper)); }
.h-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.h-h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.35; letter-spacing: .04em; margin-bottom: 16px; }
.h-sub { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.9; margin-bottom: 20px; }
.h-methods-mini { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.h-methods-mini li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--h-line); font-weight: 700; font-size: 16px; }
.h-methods-mini .ic { color: var(--h-sage); }
.h-mini-note { font-size: 14.5px; color: var(--h-mute); margin-bottom: 16px; }
.h-hero-topics { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 28px; font-size: 15.5px; color: var(--h-mute); }
.h-hero-topics li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--h-sage); margin-right: 6px; vertical-align: .2em; }
.h-hero-art { display: flex; justify-content: center; }
.h-cups { width: 100%; max-width: 340px; height: auto; }
.h-cup { fill: #fff; stroke: var(--h-ink); stroke-width: 3; stroke-linejoin: round; }
.h-cup--b { fill: var(--h-mist); }
.h-steam { fill: none; stroke: var(--h-sage); stroke-width: 3; stroke-linecap: round; }
.h-table { stroke: var(--h-line); stroke-width: 3; stroke-linecap: round; }
@media (max-width: 760px) {
  .h-hero { padding: 24px 0 36px; }
  .h-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .h-hero-art { display: none; }
  .h-h1 { margin-bottom: 10px; }
  .h-sub { margin-bottom: 14px; }
  .h-mini-note { margin-bottom: 10px; }
  .h-hero-topics { margin-bottom: 16px; font-size: 15px; }
}

/* CTA */
.h-ctas { display: grid; gap: 8px; max-width: 520px; }
.h-ctas-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.h-btn { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 18px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.35; }
.h-btn small { display: block; font-weight: 400; font-size: 13px; }
.h-btn .ic { width: 24px; height: 24px; }
.h-btn--main { background: var(--h-ai); color: #fff !important; min-height: 66px; font-size: 18px; }
.h-btn--main:hover { background: var(--h-ai-d); }
.h-btn--line { background: #fff; color: var(--h-ink) !important; border: 1.5px solid var(--h-ai); }
.h-btn--off { background: #F4F5F6; color: var(--h-mute); border: 1.5px dashed #B3BCC6; cursor: not-allowed; font-size: 15px; padding: 8px 12px; }
.h-inq-note { font-size: 14.5px; color: var(--h-mute); margin: 4px 0 0; line-height: 1.7; }
.h-ctas-sub:empty { display: none; }
@media (max-width: 360px) { .h-ctas-sub { grid-template-columns: 1fr; } }

/* sections */
.h-sec { padding: 80px 0; }
.h-sec--mist { background: var(--h-mist); }
.h-sec h2 { font-size: clamp(25px, 3vw, 34px); margin-bottom: 28px; }
.h-note { color: var(--h-mute); font-size: 16px; margin-top: 24px; max-width: 760px; }
@media (max-width: 760px) { .h-sec { padding: 56px 0; } .h-sec h2 { margin-bottom: 20px; } }

.h-moments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--h-line); }
.h-moments li { padding: 18px 0 18px 26px; border-bottom: 1px solid var(--h-line); position: relative; font-size: 18px; line-height: 1.7; }
.h-moments li::before { content: ''; position: absolute; left: 4px; top: 1.45em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--h-sage); }
@media (max-width: 760px) { .h-moments { grid-template-columns: 1fr; } .h-moments li { font-size: 17px; padding: 14px 0 14px 26px; } }

/* 話せること：話し言葉で見せる */
.h-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
.h-topics li { display: flex; flex-direction: column; padding: 4px 0 4px 18px; border-left: 3px solid var(--h-sage); }
.h-topic-t { font-family: var(--h-round); font-weight: 700; font-size: 15px; color: var(--h-sage); }
.h-topic-q { font-family: var(--h-round); font-size: clamp(19px, 2.1vw, 24px); line-height: 1.55; }
@media (max-width: 760px) { .h-topics { grid-template-columns: 1fr; gap: 14px; } }

.h-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; }
.h-features h3 { font-size: 21px; margin-bottom: 6px; }
.h-features p { margin: 0; }
@media (max-width: 760px) { .h-features { grid-template-columns: 1fr; gap: 24px; } .h-features h3 { font-size: 19px; } }

.h-method-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h-method-list li { background: #fff; border-radius: 16px; padding: 24px; border: 1px solid var(--h-line); }
.h-method-list .ic { width: 30px; height: 30px; color: var(--h-ai); }
.h-method-list h3 { font-size: 22px; margin: 8px 0 6px; }
.h-method-list p { margin: 0; font-size: 16.5px; }
@media (max-width: 760px) { .h-method-list { grid-template-columns: 1fr; } .h-method-list li { padding: 18px; } }

.h-price-box { border-top: 3px solid var(--h-ai); border-bottom: 1px solid var(--h-line); padding: 24px 0; max-width: 760px; }
.h-price-main { font-family: var(--h-round); font-weight: 700; font-size: clamp(19px, 2.2vw, 23px); }

.h-flow { counter-reset: f; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 28px; }
.h-flow li { counter-increment: f; position: relative; padding-top: 60px; }
.h-flow li::before { content: counter(f); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--h-ai); color: var(--h-ai); display: grid; place-items: center; font-family: var(--h-round); font-weight: 700; font-size: 20px; }
.h-flow h3 { font-size: 20px; margin-bottom: 4px; }
.h-flow p { margin: 0; font-size: 16.5px; }
@media (max-width: 760px) { .h-flow { grid-template-columns: 1fr; gap: 18px; } .h-flow li { padding: 4px 0 0 62px; min-height: 50px; } }

.h-about p { max-width: 760px; }

.h-faq { border-top: 1px solid var(--h-line); max-width: 820px; }
.h-faq details { border-bottom: 1px solid var(--h-line); }
.h-faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font-weight: 700; position: relative; min-height: 48px; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: ''; position: absolute; right: 12px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--h-ink); border-bottom: 2px solid var(--h-ink); transform: translateY(-75%) rotate(45deg); }
.h-faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.h-faq details p { padding: 0 0 18px; margin: 0; }

/* form */
.h-form { max-width: 720px; margin-top: 36px; }
.h-form-note { background: var(--h-notice-bg); color: var(--h-notice); border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.7; }
.h-form-note:empty { display: none; }
.h-form-note b { display: block; }
.h-form-lead { font-size: 16px; color: var(--h-mute); }
.h-fld { border: 0; padding: 0; margin: 0 0 26px; }
.h-fld > label, .h-fld > legend { display: block; font-weight: 700; margin-bottom: 10px; padding: 0; }
.h-fld small { display: block; font-weight: 400; font-size: 14.5px; color: var(--h-mute); }
.h-req, .h-any { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 0 8px; border-radius: 4px; margin-left: 8px; vertical-align: .15em; }
.h-req { background: var(--h-ai); color: #fff; }
.h-any { background: var(--h-mist); color: var(--h-mute); }
.h-fld input[type=text], .h-fld select { width: 100%; font: inherit; font-size: 17px; min-height: 52px; padding: 10px 14px; border: 1.5px solid #9AA5B1; border-radius: 10px; background: #fff; color: var(--h-ink); }
.h-sublabel { display: block; font-size: 15px; margin: 14px 0 6px; }
.h-opts { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 10px; }
.h-opt { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 12px; border: 1.5px solid var(--h-line); border-radius: 10px; background: #fff; cursor: pointer; }
.h-opt input { width: 22px; height: 22px; margin: 0; accent-color: var(--h-ai); }
.h-opt:has(input:checked) { border-color: var(--h-ai); background: var(--h-mist); }
.h-fld--agree .h-opt { border: 0; padding-left: 0; }
.h-fld--agree a { display: inline-block; padding: 12px 0; }
.h-fld.is-err .h-opts { outline: 2px solid #B3261E; outline-offset: 4px; }
.h-fld [aria-invalid=true] { border-color: #B3261E; }
.h-err { color: #B3261E; font-weight: 700; font-size: 15px; margin: 8px 0 0; }
.h-errs { border: 2px solid #B3261E; border-radius: 10px; padding: 12px 16px; margin-bottom: 22px; color: #B3261E; }
.h-errs ul { list-style: disc; padding-left: 1.3em; }
.h-errs a { color: #B3261E; }
.h-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 28px; border: 0; border-radius: 99px; background: var(--h-ai); color: #fff; font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; margin: 0 8px 10px 0; }
.h-submit:disabled { background: #8994A1; cursor: not-allowed; }
.h-back { min-height: 52px; padding: 0 22px; border: 1.5px solid var(--h-ai); border-radius: 99px; background: #fff; color: var(--h-ai); font: inherit; font-weight: 700; cursor: pointer; }
.h-confirm { display: grid; grid-template-columns: 11em 1fr; border-top: 1px solid var(--h-line); margin: 16px 0 22px; }
.h-confirm dt, .h-confirm dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--h-line); }
.h-confirm dt { font-weight: 700; }
.h-stop { background: var(--h-notice-bg); color: var(--h-notice); padding: 14px 16px; border-radius: 12px; }
.h-stop b { display: block; }
@media (max-width: 640px) { .h-confirm { grid-template-columns: 1fr; } .h-confirm dt { border: 0; padding-bottom: 0; } .h-submit, .h-back { width: 100%; } }

/* footer & bar */
.h-ftr { background: var(--h-ink); color: #E3E8EE; padding: 44px 0 110px; }
.h-ftr-in { max-width: 1080px; margin: 0 auto; padding: 0 var(--h-gut); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.h-ftr-brand { font-family: var(--h-round); font-weight: 700; font-size: 19px; margin: 0; }
.h-ftr-brand small { display: block; font-family: var(--h-sans); font-weight: 400; font-size: 14px; color: #B9C3CE; }
.h-ftr-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.h-ftr-links a { color: #fff; display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; }
.h-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; gap: 6px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--h-line); }
.h-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 99px; background: var(--h-ai); color: #fff !important; text-decoration: none; font-weight: 700; }
@media (max-width: 760px) { .h-bar { display: flex; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .h-hdr, .h-bar, .h-preview, .h-ftr { display: none; } }

/* LINE 公式アイコン（無加工）：PC 32px／スマホ 40px */
.hanashi .line-logo { width: 32px; height: 32px; flex: none; object-fit: contain; }
.h-btn .line-logo { margin: -4px 0; }
.h-bar .line-logo { width: 40px; height: 40px; margin: 0; }
@media (max-width: 760px) { .hanashi .line-logo { width: 40px; height: 40px; } .h-btn .line-logo { margin: -8px -2px; } }
@media (max-width: 360px) {
  .h-hdr-in { gap: 4px; }
  .h-brand-name { font-size: 15px; white-space: nowrap; }
  .h-hdr-cta { padding: 0 8px; white-space: nowrap; flex-shrink: 0; }
  .h-ctas-sub .h-btn small { display: none; }
}

/* 料金（電話・出張の2つ） */
.h-price-list { margin: 0 0 16px; display: grid; gap: 0; border-bottom: 1px solid var(--h-line); }
.h-price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--h-line); }
.h-price-row:first-child { border-top: 0; padding-top: 0; }
.h-price-row dt { font-weight: 700; }
.h-price-row dd { margin: 0; font-family: var(--h-round); font-weight: 700; font-size: clamp(20px, 2.4vw, 24px); color: var(--h-ai); white-space: nowrap; }
