/* 共通LPスタイル（全LPで共有） */
:root {
  --navy: #13294b;
  --navy-2: #1d3a66;
  --accent: #e07a1f;
  --accent-dark: #c4650f;
  --ink: #1f2933;
  --muted: #5b6876;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --danger-bg: #fff4ec;
  --radius: 12px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.section-title {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.5;
  text-align: center;
  margin: 0 0 12px;
  color: var(--navy);
}
.section-lead { text-align: center; color: var(--muted); margin: 0 auto 40px; max-width: 720px; }
.eyebrow {
  display: block; text-align: center; font-size: .8rem; font-weight: 700;
  letter-spacing: .15em; color: var(--accent); margin-bottom: 8px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { font-weight: 700; color: var(--navy); text-decoration: none; line-height: 1.3; }
.brand small { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-tel { text-decoration: none; color: var(--navy); font-weight: 700; line-height: 1.2; text-align: right; }
.header-tel span { display: block; font-size: .7rem; font-weight: 400; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit;
  transition: background .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(224,122,31,.35); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 80px 0 72px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: rgba(255,255,255,.05);
}
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 4px 14px; border-radius: 999px; font-size: .85rem; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(1.7rem, 5vw, 2.8rem); line-height: 1.45; margin: 0 0 20px; }
.hero h1 em { font-style: normal; color: #ffc48a; }
.hero p.lead { font-size: clamp(1rem, 2.2vw, 1.15rem); max-width: 640px; margin: 0 0 32px; opacity: .92; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.trust-bar { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; font-size: .9rem; opacity: .9; padding: 0; list-style: none; }
.trust-bar li::before { content: "✓ "; color: #ffc48a; font-weight: 700; }

/* Grid / cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
}
.card h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--navy); line-height: 1.5; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .tag {
  display: inline-block; font-size: .75rem; font-weight: 700; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 4px; padding: 0 8px; margin-bottom: 10px;
}
.card .num { font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 12px; display: block; }

/* Checklist (悩み) */
.checklist { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; display: grid; gap: 12px; }
.checklist li {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px 14px 50px;
  position: relative; font-weight: 500;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 16px; top: 13px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: .8rem; display: grid; place-items: center;
}
.resolve { text-align: center; margin-top: 32px; font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.resolve span { background: linear-gradient(transparent 60%, #ffe2c4 60%); }

/* Alert box */
.alert-box {
  background: var(--danger-bg); border-left: 5px solid var(--accent); border-radius: 8px;
  padding: 28px 24px; max-width: 860px; margin: 0 auto;
}
.alert-box h3 { margin: 0 0 12px; color: var(--accent-dark); }
.alert-box ul { margin: 12px 0 0; padding-left: 1.2em; }
.alert-box .note { font-size: .82rem; color: var(--muted); margin-top: 14px; }

/* Table */
.table-wrap { overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
table.cmp th, table.cmp td { border: 1px solid var(--line); padding: 14px; text-align: left; vertical-align: top; font-size: .95rem; }
table.cmp thead th { background: var(--navy); color: #fff; }
table.cmp tbody th { background: var(--bg-soft); color: var(--navy); white-space: nowrap; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li {
  counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 20px 76px; position: relative;
}
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center;
}
.steps h3 { margin: 0 0 4px; font-size: 1.05rem; color: var(--navy); }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 56px 0; }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.3rem, 3vw, 1.7rem); }
.cta-band p { margin: 0 0 24px; opacity: .85; }
.cta-band .tel-big { display: block; color: #fff; font-size: 1.6rem; font-weight: 700; text-decoration: none; margin-top: 16px; }
.cta-band .tel-big small { display: block; font-size: .8rem; font-weight: 400; opacity: .8; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; }
.faq summary {
  cursor: pointer; padding: 18px 28px 18px 0; font-weight: 700; color: var(--navy); list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q. "; color: var(--accent); }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 1.3rem; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--ink); }

/* Form */
.form-wrap { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 28px; }
.form-row { margin-bottom: 20px; }
.form-row label, .form-row .label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.req, .opt { font-size: .7rem; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: 2px; font-weight: 700; }
.req { background: var(--accent); color: #fff; }
.opt { background: var(--line); color: var(--muted); }
.form-row input[type=text], .form-row input[type=email], .form-row input[type=tel], .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c5ced8; border-radius: 8px; font-size: 1rem; font-family: inherit; background: #fff;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--navy-2); outline-offset: 1px; border-color: transparent; }
.radio-group { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.radio-group label { font-weight: 400; display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.form-2col { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-2col { grid-template-columns: 1fr 1fr; } }
.consent { font-size: .9rem; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 12px; }
.form-msg { display: none; border-radius: 8px; padding: 16px; margin-top: 16px; font-weight: 700; }
.form-msg.ok { display: block; background: #e8f6ee; color: #1e6b3f; }
.form-msg.err { display: block; background: #fdecec; color: #a12a2a; }
.hp { position: absolute; left: -9999px; }

/* Manga（縦スクロール型。コマはSVG、セリフは <text>） */
.manga { display: grid; gap: 14px; max-width: 600px; margin: 0 auto; }
.manga > svg { display: block; width: 100%; height: auto; background: #fff; }
.mg-frame { fill: none; stroke: #1a1a1a; stroke-width: 3; }
.mg-t { font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif; font-weight: 700; font-size: 24px; fill: #1a1a1a; text-anchor: middle; }
.mg-en { font-size: 22px; }
.mg-narr { font-family: "Noto Sans JP", sans-serif; font-weight: 700; font-size: 20px; fill: #fff; }
.mg-sfx {
  font-family: "Dela Gothic One", "Noto Sans JP", sans-serif; fill: #1a1a1a;
  stroke: #fff; stroke-width: 8px; paint-order: stroke; stroke-linejoin: round;
}
.mg-shout { font-family: "Dela Gothic One", "Noto Sans JP", sans-serif; font-size: 38px; fill: #1a1a1a; text-anchor: middle; }
.mg-bb .tail { fill: #fff; stroke: #1a1a1a; stroke-width: 5; stroke-linejoin: round; }
.mg-bb .body { fill: #fff; stroke: #1a1a1a; stroke-width: 3; }
.mg-bb .cover { fill: #fff; stroke: none; }
.mg-spiky { fill: #fff; stroke: #1a1a1a; stroke-width: 3.5; stroke-linejoin: miter; }
.manga-cta { text-align: center; margin-top: 36px; }
.manga-cta p { font-weight: 700; color: var(--navy); margin: 0 0 14px; }

/* Footer */
.site-footer { background: #0d1d36; color: #c9d3df; padding: 40px 0 100px; font-size: .88rem; }
.site-footer strong { color: #fff; }
.site-footer a { color: #c9d3df; }

/* Mobile sticky CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  grid-template-columns: 1fr 1.4fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(0,0,0,.08);
}
.sticky-cta a { padding: 14px 8px; text-align: center; font-weight: 700; text-decoration: none; font-size: .95rem; }
.sticky-cta .s-tel { color: var(--navy); }
.sticky-cta .s-form { background: var(--accent); color: #fff; }

@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .header-tel { display: none; }
  .brand { font-size: .95rem; }
  .brand small { font-size: .62rem; }
  .site-header .btn-sm { white-space: nowrap; padding: 8px 14px; font-size: .82rem; }
  .sticky-cta { display: grid; }
  .hero { padding: 56px 0 48px; }
  .hero-cta .btn { width: 100%; }
  .form-wrap { padding: 28px 18px; }
}
