/* ハイヨ 集客ページ・規約ページ共通CSS（JSなしで読める静的ページ用） */
:root {
  --accent: #e8590c;
  --accent-dark: #c2410c;
  --bg: #fffaf5;
  --surface: #ffffff;
  --text: #2b2118;
  --muted: #6b5a4b;
  --line: #eadfd3;
  --soft: #fff1e6;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  line-height: 1.85;
  font-size: 16px;
}
a { color: var(--accent-dark); }
img, svg { max-width: 100%; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* ヘッダー・フッター */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.3rem; color: var(--accent); text-decoration: none; margin-right: auto; }
.brand img { border-radius: 8px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 14px; font-size: .95rem; }
.site-nav a { color: var(--text); text-decoration: none; padding: 8px 0; font-weight: 600; }
.site-nav a:hover { color: var(--accent); }
.site-footer { margin-top: 64px; padding: 32px 0 48px; background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 12px; }
.site-footer p { margin: 4px 0; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.1rem; text-decoration: none; border: 2px solid var(--accent); text-align: center; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.secondary { background: #fff; color: var(--accent-dark); }
.btn.secondary:hover { background: var(--soft); }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }
.btn[hidden], [hidden] { display: none !important; }

/* 見出し・本文 */
h1 { font-size: 1.75rem; line-height: 1.4; margin: 28px 0 8px; }
h2 { font-size: 1.35rem; line-height: 1.5; margin: 48px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--soft); }
h3 { font-size: 1.1rem; margin: 28px 0 6px; }
p { margin: 10px 0; }
ul, ol { padding-left: 1.4em; }
li { margin: 6px 0; }
.meta { color: var(--muted); font-size: .85rem; }
.lead { font-size: 1.1rem; color: var(--muted); }
.crumbs { font-size: .85rem; color: var(--muted); margin-top: 16px; }
.crumbs a { color: var(--muted); }
.note { background: var(--soft); border-radius: 10px; padding: 12px 16px; font-size: .95rem; }
.todo { background: #fff8db; border: 1px dashed #d9b800; border-radius: 10px; padding: 10px 14px; font-size: .9rem; }

/* LP */
.hero { padding: 40px 0 24px; text-align: center; background: linear-gradient(#fff1e6, var(--bg)); }
.hero h1 { font-size: 2.1rem; margin: 0 0 12px; }
.hero h1 span { color: var(--accent); }
.hero .lead { margin: 0 auto 8px; max-width: 34em; }
.hero .btn-row { justify-content: center; }
.hero .small { font-size: .85rem; color: var(--muted); }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: 1fr 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.cta-band { margin: 48px 0 0; padding: 28px 16px; text-align: center; background: var(--soft); border-radius: 16px; }
.cta-band h2 { border: 0; margin-top: 0; }
.cta-band .btn-row { justify-content: center; }

/* 料金表 */
.plans { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--surface); border: 2px solid var(--line); border-radius: 16px; padding: 18px; }
.plan.plus { border-color: var(--accent); }
.plan h3 { margin: 0; }
.price { font-size: 2rem; font-weight: 800; color: var(--accent); margin: 4px 0; }
.price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.plan ul { padding-left: 1.2em; margin: 8px 0 0; }

/* 手順 */
.steps { list-style: none; counter-reset: step; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding: 14px 16px 14px 60px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin: 12px 0; }
.steps > li::before { content: counter(step); position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps > li h3 { margin: 0 0 4px; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; padding: 0 16px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; min-height: 48px; }
.faq details[open] summary { color: var(--accent-dark); }
.faq details p { margin-top: 0; padding-bottom: 12px; }

/* 表 */
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; font-size: .95rem; }
th { background: var(--soft); white-space: nowrap; }
.tablewrap { overflow-x: auto; }

/* 法務ページ */
.legal h1 { margin-top: 24px; }
.legal h2 { font-size: 1.1rem; margin: 32px 0 8px; }
.legal dl { margin: 0; }
.legal dt { font-weight: 700; margin-top: 20px; }
.legal dd { margin: 4px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
