/* ポチっと AI 電話番 先行公開 LP。
   姉妹サービス ポチっとFAX (pop.css) と同じ「ネオブルータル」: 白地に方眼、3px の黒枠、右下のベタ影、原色 (黄・ピンク・青)。
   見出しは Dela Gothic One (自前配信のサブセット。tools/subset-font.py で作る。SIL OFL 1.1 / fonts/OFL.txt) */
@font-face {
  font-family: "Dela Gothic One";
  src: url("/fonts/dela-gothic-one-subset.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #111111;
  --mute: #5a5a5a;
  --paper: #f4f4f0;
  --yellow: #ffe600;
  --yellow-soft: #fff9c2;
  --pink: #ff7bc1;
  --blue: #4d8bff;
  --ng: #e02020;
  --ok: #0b7a3e;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: #fff;
  background-image: linear-gradient(rgba(17, 17, 17, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: var(--ink); }
.disp { font-family: "Dela Gothic One", "Hiragino Sans", "Yu Gothic", sans-serif; font-weight: 400; }
.ac { background: var(--yellow); padding: 0 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hidden { display: none !important; }

/* 上の帯 */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: #fff; border-bottom: 3px solid var(--ink);
}
.logo { font-size: 1.15rem; text-decoration: none; white-space: nowrap; }
.logo .ac { padding: 0 5px; margin-left: 2px; }
.top-cta {
  font-size: 0.8rem; font-weight: 900; text-decoration: none; white-space: nowrap;
  border: 3px solid var(--ink); background: var(--pink); padding: 4px 10px; box-shadow: 3px 3px 0 var(--ink);
}
.top-cta:active { transform: translate(3px, 3px); box-shadow: none; }

main { max-width: 980px; margin: 0 auto; padding: 0 16px; }

/* ファーストビュー */
.hero { display: grid; grid-template-columns: 1fr; grid-template-areas: "copy" "art" "cta"; gap: 8px 36px; padding: 32px 0 8px; align-items: center; }
@media (min-width: 820px) { .hero { grid-template-columns: 1fr 1fr; grid-template-areas: "copy art" "cta art"; padding-top: 52px; } }
.hero-copy { grid-area: copy; align-self: end; }
.hero-art { grid-area: art; }
.hero-cta { grid-area: cta; align-self: start; }
.badge {
  display: inline-block; margin: 0 0 14px; padding: 3px 10px;
  font-size: 0.8rem; font-weight: 900; background: var(--ink); color: #fff;
}
.hero h1 { font-size: min(8.4vw, 3.2rem); line-height: 1.22; margin: 0 0 18px; letter-spacing: 0.01em; }
@media (min-width: 820px) { .hero h1 { font-size: min(3.9vw, 3.2rem); } }
.lead { font-size: 1.12rem; font-weight: 700; margin: 0 0 22px; }
.micro { font-size: 0.8rem; color: var(--mute); font-weight: 700; margin: 10px 0 0; }

.btn {
  display: inline-block; text-align: center; text-decoration: none; cursor: pointer;
  font: inherit; font-weight: 900; font-size: 1.08rem; color: var(--ink);
  padding: 14px 26px; border: 3px solid var(--ink); border-radius: 0;
  background: var(--yellow); box-shadow: 5px 5px 0 var(--ink);
  transition: transform .08s, box-shadow .08s;
}
.btn.pink { background: var(--pink); }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn:disabled { background: var(--paper); color: var(--mute); cursor: wait; transform: none; box-shadow: 5px 5px 0 var(--mute); }
.btn:focus-visible, .top-cta:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ファーストビューのイラスト */
.hero-art svg { display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
.art-text { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", sans-serif; }
.hero-cta .btn { margin-top: 8px; }
@media (max-width: 819px) { .hero-cta .btn { display: block; } }

/* 流れの帯と着信レポートの例 */
.flow { padding: 28px 0 0; }
.flow-bar { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 3px solid var(--ink); background: #fff; }
.flow-bar li { text-align: center; font-weight: 900; font-size: clamp(0.72rem, 2.6vw, 1rem); padding: 10px 4px; border-right: 3px solid var(--ink); }
.flow-bar li:last-child { border-right: none; }
.flow-bar li.on { background: var(--yellow); }
.report { padding: 0 20px 18px; }
.report-tag { display: inline-block; margin: 0 0 12px; padding: 4px 12px; background: var(--ink); color: #fff; font-weight: 900; font-size: 0.9rem; }
.report-body { display: flex; align-items: center; gap: 18px; }
.report-icon { width: 64px; flex: none; }
.report-text { border-left: 3px solid var(--ink); padding-left: 18px; min-width: 0; }
.report-title { margin: 0 0 6px; font-weight: 900; font-size: 1.2rem; line-height: 1.4; }
.report-hl { margin: 0 0 6px; display: inline-block; background: var(--yellow-soft); padding: 4px 10px; font-weight: 700; }
.report-meta { margin: 0; font-size: 0.85rem; color: var(--mute); font-weight: 700; }
.sample { font-size: 0.72rem; color: var(--mute); margin: 10px 0 0; }

/* 各ブロック */
.block { padding: 44px 0 8px; }
.block h2 { font-size: clamp(1.45rem, 5vw, 1.9rem); line-height: 1.35; margin: 0 0 20px; }
.card {
  background: #fff; border: 3px solid var(--ink); border-radius: 6px; box-shadow: 7px 7px 0 var(--ink);
  padding: 22px 20px;
}

.scenes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.scenes li { background: #fff; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.sc-ico { font-size: 1.6rem; line-height: 1; margin-bottom: 6px; }
.scenes b { font-size: 1.02rem; }
.scenes small { font-size: 0.86rem; color: var(--mute); font-weight: 500; }
.answer { font-weight: 700; font-size: 1.05rem; margin: 26px 0 0; line-height: 1.9; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: none; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; background: #fff; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.steps .num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 6px;
  font-family: "Dela Gothic One", sans-serif; font-size: 1.2rem; background: var(--yellow); border: 3px solid var(--ink);
}
.steps li:nth-child(2) .num { background: var(--pink); }
.steps li:nth-child(3) .num { background: var(--blue); color: #fff; }
.steps b { font-size: 1.05rem; }
.steps small { font-size: 0.88rem; font-weight: 500; }
.note { font-size: 0.8rem; color: var(--mute); margin: 14px 0 0; font-weight: 700; }

.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feat { background: #fff; border: 3px solid var(--ink); padding: 16px; border-left-width: 12px; }
.feat:nth-child(4n+1) { border-left-color: var(--yellow); }
.feat:nth-child(4n+2) { border-left-color: var(--pink); }
.feat:nth-child(4n+3) { border-left-color: var(--blue); }
.feat:nth-child(4n+4) { border-left-color: var(--ink); }
.feat b { font-size: 1.02rem; }
.feat p { margin: 4px 0 0; font-size: 0.9rem; }

.price { background: var(--yellow-soft); }
.price-main { font-family: "Dela Gothic One", sans-serif; font-size: 1.5rem; margin: 0 0 6px; }
.price p:last-child { margin-bottom: 0; }

/* 事前登録フォーム */
#notify-form, #notify-done { max-width: 620px; }
.form-lead { margin: 0 0 18px; font-weight: 700; }
.field { display: block; margin: 0 0 18px; border: none; padding: 0; min-width: 0; }
.lbl {
  display: inline-block; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.06em;
  background: var(--ink); color: #fff; padding: 2px 8px; margin-bottom: 8px;
}
.lbl em { font-style: normal; margin-left: 8px; padding: 0 5px; background: var(--pink); color: var(--ink); font-size: 0.7rem; }
.lbl em.opt { background: #fff; }
fieldset.field legend { float: left; width: auto; }
fieldset.field legend + * { clear: left; }
input[type="email"], select, textarea {
  width: 100%; border: 3px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink);
  font: inherit; font-size: 1.05rem; font-weight: 700;
}
input[type="email"] { height: 52px; padding: 0 14px; }
select { height: 52px; padding: 0 12px; }
textarea { padding: 10px 14px; resize: vertical; font-weight: 500; }
input::placeholder, textarea::placeholder { color: #b0b0b0; font-weight: 400; }
input[type="email"]:focus, select:focus, textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--blue); }
input.ng { border-color: var(--ng); }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0; font-weight: 700; font-size: 0.95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.consent { margin: 4px 0 16px; }
.consent a { color: #1d4ed8; }
.turnstile { min-height: 0; margin: 0 0 14px; }
.hint { display: block; margin-top: 8px; font-size: 0.85rem; font-weight: 700; color: var(--mute); min-height: 1.2em; }
.hint.ng { color: var(--ng); }
.hint.ok { color: var(--ok); }
#notify-form .btn { width: 100%; }
.done { background: var(--yellow-soft); }
.done-title { font-size: 1.6rem; margin: 0 0 8px; }

/* よくある質問 */
details { background: #fff; border: 3px solid var(--ink); margin: 0 0 12px; }
summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 900; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 900; }
details[open] summary { border-bottom: 3px solid var(--ink); background: var(--yellow); }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 14px 16px; font-size: 0.95rem; }
details a { color: #1d4ed8; }

footer { max-width: 980px; margin: 56px auto 0; padding: 22px 16px 40px; border-top: 3px solid var(--ink); font-size: 0.9rem; text-align: center; }
footer p { margin: 4px 0; }
.sep { margin: 0 8px; color: var(--mute); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .top-cta { transition: none; }
}
