/* ============================================================
   オレンジメール 比較代行型・選定完了ファネル 共通スタイル
   対象: lp1 / lp2 / lp3 / oto / ikou-support
   方針: 外部依存ゼロ（Webフォント・CDN不使用）・レスポンシブ
   ============================================================ */
:root {
  --orange: #EA5B0C;
  --orange-dark: #B54607;
  --orange-light: #FDEFE4;
  --ink: #26211D;
  --gray: #6E675F;
  --line: #E8E2DB;
  --bg: #FFFFFF;
  --bg-alt: #FAF6F1;
  --ok: #1B7F4D;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(38, 33, 29, .10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-dark); }

.container { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }

/* ---------- ヘッダー ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); z-index: 50;
}
.brand { font-weight: 700; color: var(--orange); text-decoration: none; font-size: 18px; letter-spacing: .02em; }
.brand small { color: var(--gray); font-weight: 500; font-size: 11px; display: block; letter-spacing: .08em; }
.header-cta { font-size: 14px; }

/* ---------- ヒーロー ---------- */
.hero { padding: 84px 0 72px; background:
  radial-gradient(1200px 500px at 85% -10%, var(--orange-light), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; background: var(--orange-light); color: var(--orange-dark);
  font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; margin-bottom: 18px; letter-spacing: .04em;
}
h1.catch { font-size: clamp(26px, 3.8vw, 38px); line-height: 1.5; font-weight: 800; letter-spacing: .01em; }
h1.catch .em { color: var(--orange); }
.hero .sub { margin-top: 18px; font-size: clamp(15px, 2vw, 18px); color: var(--gray); font-weight: 500; }
.hero .fv-note { margin-top: 10px; font-weight: 700; }

/* 資料モックアップ（画像なし・CSSのみ） */
.mockups { position: relative; height: 340px; }
.mock {
  position: absolute; width: 220px; height: 300px; background: #fff;
  border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
  padding: 22px 18px; font-size: 12px; color: var(--gray);
}
.mock .mk-title { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.6; margin: 10px 0; }
.mock .mk-tag { color: #fff; background: var(--orange); display: inline-block; padding: 2px 10px; border-radius: 4px; font-weight: 700; font-size: 11px; }
.mock--a { left: 4%; top: 12px; transform: rotate(-4deg); }
.mock--b { right: 4%; top: 46px; transform: rotate(3.5deg); }
.mock .mk-table { margin-top: 12px; border-top: 1px solid var(--line); }
.mock .mk-row { display: flex; border-bottom: 1px solid var(--line); }
.mock .mk-row span { flex: 1; padding: 4px 2px; border-right: 1px solid var(--line); font-size: 10px; overflow: hidden; white-space: nowrap; }
.mock .mk-row span:last-child { border-right: 0; }
.mock .mk-row.head { background: var(--orange-light); font-weight: 700; }

/* ---------- ボタン・CTA ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center; cursor: pointer;
  background: linear-gradient(180deg, #FF7A26, var(--orange));
  color: #fff; font-weight: 800; font-size: 18px;
  padding: 18px 44px; border: 0; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(234, 91, 12, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(234, 91, 12, .45); }
.btn--ghost { background: #fff; color: var(--orange-dark); border: 2px solid var(--orange); box-shadow: none; }
.btn--sub { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; font-weight: 700; font-size: 16px; }
.btn-note { font-size: 13px; color: var(--gray); margin-top: 10px; }
.cta-block { text-align: center; margin-top: 32px; }
.btn-pair { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- 見出し・部品 ---------- */
h2.sec {
  font-size: clamp(22px, 3.2vw, 30px); font-weight: 800; text-align: center; line-height: 1.6; margin-bottom: 40px;
}
h2.sec::after { content: ""; display: block; width: 56px; height: 4px; background: var(--orange); margin: 14px auto 0; border-radius: 2px; }
h3.mini { font-size: 18px; font-weight: 800; margin-bottom: 12px; color: var(--orange-dark); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 4px 16px rgba(38,33,29,.05); }
.card .num { color: var(--orange); font-weight: 800; font-size: 14px; letter-spacing: .06em; }
.card h4 { font-size: 17px; margin: 6px 0 10px; line-height: 1.6; }
.card p { font-size: 14px; color: var(--gray); }

.checklist { list-style: none; max-width: 760px; margin: 0 auto; }
.checklist li { padding: 14px 0 14px 40px; position: relative; border-bottom: 1px dashed var(--line); font-size: 16px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 6px; top: 12px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff;
  font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.checklist--x li::before { content: "×"; background: var(--gray); }

.notice-box {
  background: var(--orange-light); border-left: 5px solid var(--orange);
  border-radius: 0 10px 10px 0; padding: 22px 26px; margin: 26px auto; max-width: 820px;
}
.notice-box p { margin-bottom: 8px; }
.notice-box .src { font-size: 12px; color: var(--gray); word-break: break-all; }

.steps { counter-reset: step; max-width: 820px; margin: 0 auto; }
.step { position: relative; padding: 0 0 28px 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.step::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--gray); font-size: 15px; }

table.plain { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
table.plain th, table.plain td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
table.plain th { background: var(--orange-light); }
.table-wrap { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; background: #fff; }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; padding: 18px 48px 18px 52px; position: relative;
}
.faq summary::before { content: "Q"; position: absolute; left: 18px; color: var(--orange); font-weight: 800; }
.faq summary::after { content: "＋"; position: absolute; right: 18px; color: var(--gray); }
.faq details[open] summary::after { content: "－"; }
.faq .a { padding: 0 20px 18px 52px; color: var(--gray); position: relative; }
.faq .a::before { content: "A"; position: absolute; left: 18px; color: var(--ok); font-weight: 800; }

/* ---------- フォーム ---------- */
.form-panel {
  max-width: 640px; margin: 0 auto; background: #fff; border: 2px solid var(--orange);
  border-radius: var(--radius); padding: 40px 36px; box-shadow: var(--shadow);
}
.form-panel h3 { text-align: center; font-size: 22px; margin-bottom: 8px; }
.form-panel .lead { text-align: center; color: var(--gray); font-size: 14px; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field .req { color: var(--orange); font-size: 11px; border: 1px solid var(--orange); border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; }
.field .opt { color: var(--gray); font-size: 11px; border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; }
.field input, .field select, .field textarea {
  width: 100%; font-size: 16px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.field .err { color: #C0392B; font-size: 13px; display: none; margin-top: 4px; }
.field.invalid .err { display: block; }
.field.invalid input,
.field.invalid select { border-color: #C0392B; }
.form-panel .btn { width: 100%; }

/* ハニーポット（スパム対策・人間には見えない） */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 送信中・送信エラー表示 */
.btn.is-sending { opacity: .55; pointer-events: none; }
.form-error { display: none; margin-top: 14px; padding: 12px 14px; border: 1.5px solid #C0392B;
  border-radius: 10px; background: #FDF0EE; color: #C0392B; font-size: 13px; line-height: 1.7; text-align: center; }
.form-error.show { display: block; }
.privacy-note { font-size: 12px; color: var(--gray); margin-top: 14px; text-align: center; }
.slots { text-align: center; font-weight: 700; color: var(--orange-dark); margin-top: 10px; }

/* 分岐結果カード（LP2/LP3） */
.branch-result { display: none; max-width: 640px; margin: 24px auto 0; }
.branch-result.show { display: block; }
.calendar-placeholder {
  border: 2px dashed var(--orange); border-radius: var(--radius); background: var(--orange-light);
  padding: 40px 24px; text-align: center; color: var(--orange-dark); font-weight: 700;
}

/* ---------- 安心バッジ ---------- */
.assure { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: 860px; margin: 0 auto; }
.assure .item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; text-align: center; }
.assure .item strong { display: block; margin-bottom: 6px; color: var(--orange-dark); }
.assure .item span { font-size: 13px; color: var(--gray); }

/* ---------- OTO ---------- */
.oto-price { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 28px 0; }
.price-card { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px 30px; text-align: center; min-width: 240px; background: #fff; }
.price-card.best { border: 2.5px solid var(--orange); position: relative; }
.price-card.best::before {
  content: "2ヶ月分無料"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 14px; border-radius: 999px; white-space: nowrap;
}
.price-card .amount { font-size: 30px; font-weight: 800; color: var(--ink); }
.price-card .amount small { font-size: 14px; color: var(--gray); font-weight: 500; }
.price-card .label { color: var(--gray); font-size: 14px; margin-bottom: 6px; }
.strike { text-decoration: line-through; color: var(--gray); }

/* ---------- フッター ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 20px; font-size: 13px; color: var(--gray); background: var(--bg-alt); }
.site-footer .cols { max-width: 1060px; margin: 0 auto; display: flex; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.site-footer a { color: var(--gray); }

/* ---------- 汎用 ---------- */
.center { text-align: center; }
.muted { color: var(--gray); }
.small { font-size: 13px; }
.mt-0 { margin-top: 0; } .mt-16 { margin-top: 16px; } .mt-32 { margin-top: 32px; } .mb-16 { margin-bottom: 16px; }
.badge-line { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 13px; color: var(--gray); }

@media (max-width: 900px) {
  section { padding: 52px 0; }
  .hero { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .mockups { height: 300px; transform: scale(.88); transform-origin: top center; }
  .form-panel { padding: 30px 20px; }
}
