/* 石綿アシスタント LP 共通スタイル */
:root {
  --brand: #1f6f78;
  --brand-dark: #175259;
  --brand-light: #e6f0f1;
  --accent: #f2a03d;
  --ink: #1f2733;
  --ink-soft: #55606e;
  --line: #e2e7ea;
  --bg: #ffffff;
  --bg-soft: #f5f7f8;
  --radius: 14px;
  --maxw: 1080px;
  --shadow: 0 8px 30px rgba(31, 111, 120, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
    "Noto Sans JP", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- ヘッダー ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img { height: 30px; width: auto; display: block; }
.brand .mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: grid; place-items: center;
  color: #fff; font-size: 16px;
}
.nav a {
  color: var(--ink-soft);
  margin-left: 22px;
  font-size: 14px;
  font-weight: 600;
}
.nav a:hover { color: var(--brand); text-decoration: none; }
@media (max-width: 640px) { .nav { display: none; } }

/* ---- ボタン ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--line); }

/* ---- ヒーロー ---- */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, var(--brand-light), transparent),
              var(--bg-soft);
  padding: 72px 0 64px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.35;
  margin: 12px 0 16px;
  letter-spacing: .01em;
}
.hero h1 .hl { color: var(--brand); }
.hero p.lead { font-size: 17px; color: var(--ink-soft); margin: 0 0 28px; }
.eyebrow {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  font-weight: 700;
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 999px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-soft); }
@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
}

/* 端末モックアップ */
.phone {
  width: 260px;
  margin: 0 auto;
  background: #0d1b1e;
  border-radius: 34px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(13, 27, 30, 0.28);
}
.phone .screen {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  line-height: 0;
}
.phone .screen > img { width: 100%; height: auto; display: block; }
.phone .screen .bar {
  background: var(--brand);
  color: #fff;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14px;
}
.phone .screen .body { padding: 16px; }
.phone .card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}
.phone .card h4 { margin: 0 0 6px; font-size: 13px; }
.phone .chip {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px;
  background: #fdecdd; color: #b9661a;
}
.phone .muted { color: var(--ink-soft); font-size: 11.5px; margin: 4px 0 0; }

/* ---- セクション ---- */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-soft); }
.section h2 {
  font-size: 28px;
  text-align: center;
  margin: 0 0 8px;
}
.section .sub {
  text-align: center;
  color: var(--ink-soft);
  margin: 0 auto 44px;
  max-width: 640px;
}

/* 特徴グリッド */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center; font-size: 22px;
  margin-bottom: 14px;
}
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ステップ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 10px; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800;
  display: grid; place-items: center; margin: 0 auto 14px; font-size: 18px;
}
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* 料金テーブル */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px; position: relative;
}
.plan.featured { border-color: var(--brand); box-shadow: var(--shadow); }
.plan .tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}
.plan h3 { margin: 0 0 4px; font-size: 18px; }
.plan .price { font-size: 26px; font-weight: 800; margin: 6px 0 2px; }
.plan .price small { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.plan .cr { color: var(--brand); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { font-size: 13.5px; padding: 6px 0 6px 24px; position: relative; color: var(--ink-soft); }
.plan li::before {
  content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800;
}
.plan li.off { color: #aab2ba; }
.plan li.off::before { content: "—"; color: #cad0d5; }
.pack-note { text-align: center; color: var(--ink-soft); font-size: 13.5px; margin-top: 22px; }

/* 注意書き */
.disclaimer {
  background: #fff8ec;
  border: 1px solid #f0dcb4;
  border-radius: var(--radius);
  padding: 22px 24px;
  color: #7a5a1e;
  font-size: 14px;
}
.disclaimer strong { color: #6a4d16; }

/* FAQ */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); font-size: 14.5px; }

/* CTA 帯 */
.cta-band {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; text-align: center; padding: 60px 0;
}
.cta-band h2 { color: #fff; margin: 0 0 10px; font-size: 26px; }
.cta-band p { margin: 0 0 24px; opacity: .92; }
.cta-band .btn-primary { background: #fff; color: var(--brand); }
.cta-band .btn-primary:hover { background: #eef4f4; color: var(--brand-dark); }

/* ---- フッター ---- */
.site-footer {
  background: #0f1c1f; color: #c7d2d4; padding: 48px 0 28px; font-size: 14px;
}
.site-footer .cols {
  display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer h4 { color: #fff; font-size: 14px; margin: 0 0 12px; }
.site-footer a { color: #c7d2d4; }
.site-footer a:hover { color: #fff; }
.site-footer .links a { display: block; margin-bottom: 8px; }
.site-footer .company p { margin: 4px 0; color: #97a6a8; }
.site-footer .copy { text-align: center; padding-top: 22px; color: #8a999b; font-size: 12.5px; }

/* ---- 本文（規約・PP） ---- */
.legal { padding: 56px 0 72px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: 28px; margin: 0 0 6px; }
.legal .meta { color: var(--ink-soft); font-size: 13.5px; margin: 0 0 32px; }
.legal h2 {
  font-size: 18px; margin: 34px 0 10px; padding-top: 10px;
  border-top: 1px solid var(--line);
}
.legal h3 { font-size: 15.5px; margin: 20px 0 6px; }
.legal p, .legal li { color: var(--ink); font-size: 15px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .back { display: inline-block; margin-bottom: 24px; font-weight: 600; }
.legal table {
  width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14.5px;
}
.legal th, .legal td {
  border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top;
}
.legal th { background: var(--bg-soft); width: 34%; white-space: nowrap; }
