/* フィールド サンプルHP 共通スタイル */
:root {
  --navy: #1f3a5f;
  --navy-dark: #152a45;
  --accent: #e8822a;
  --accent-dark: #c96b17;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --text: #2b2f36;
  --muted: #5f6b7a;
  --line: #dde3ea;
  --radius: 10px;
  --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", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 1.35rem; color: var(--navy); text-decoration: none; letter-spacing: .05em; }
.logo small { display: block; font-size: .7rem; font-weight: 400; color: var(--muted); letter-spacing: 0; line-height: 1.2; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--text); font-size: .93rem; }
.nav a:hover { color: var(--accent); }
.nav .nav-tel { font-weight: 700; color: var(--navy); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; font-size: .9rem; cursor: pointer; }

/* ボタン */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; text-decoration: none; text-align: center;
  transition: background .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn small { display: block; font-weight: 400; font-size: .78rem; }

/* ファーストビュー */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2e5a8a 100%);
  color: #fff; padding: 88px 0 80px;
}
.hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1.4; margin: 0 0 18px; }
.hero p.lead { font-size: clamp(1rem, 2.2vw, 1.15rem); max-width: 720px; margin: 0 0 32px; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.hero-badges li { background: rgba(255,255,255,.14); border-radius: 999px; padding: 4px 14px; font-size: .85rem; }

/* セクション共通 */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.section-title { text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--navy); margin: 0 0 36px; }
.section-title:has(+ .section-lead) { margin-bottom: 12px; }
.contact-box { align-self: start; }
.section-lead { text-align: center; color: var(--muted); margin: 0 auto 40px; max-width: 720px; }

/* お困りごと */
.check-list { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.check-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 14px 46px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 16px; top: 13px; color: #fff; background: var(--accent); width: 20px; height: 20px; border-radius: 50%; font-size: .75rem; display: grid; place-items: center; line-height: 1; }
.check-note { text-align: center; margin-top: 28px; font-weight: 700; color: var(--navy); }

/* 3本柱 */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; border-top: 5px solid var(--navy); }
.pillar .num { color: var(--accent); font-weight: 700; font-size: .9rem; }
.pillar h3 { margin: 4px 0 12px; color: var(--navy); font-size: 1.25rem; }
.pillar ul { margin: 0; padding-left: 1.2em; }
.pillar li { margin-bottom: 4px; }
.pillar .note { font-size: .88rem; color: var(--muted); margin-top: 12px; }

/* 強み（移転） */
.strength { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.scatter { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 24px; }
.scatter-title { font-weight: 700; color: var(--muted); margin: 0 0 12px; font-size: .95rem; }
.scatter ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scatter li { background: var(--bg-soft); border-radius: 6px; padding: 10px; font-size: .9rem; text-align: center; }
.arrow { text-align: center; font-size: 1.6rem; color: var(--accent); margin: 10px 0; }
.one-window { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 18px; text-align: center; font-weight: 700; font-size: 1.1rem; }
.packs { display: grid; gap: 14px; margin-top: 20px; }
.pack { background: #fff; border-left: 4px solid var(--accent); border-radius: 6px; padding: 14px 18px; }
.pack strong { color: var(--navy); }

/* 選ばれる理由 */
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; counter-reset: reason; }
.reason { background: #fff; border-radius: var(--radius); padding: 24px 24px 24px 72px; position: relative; border: 1px solid var(--line); }
.reason::before { counter-increment: reason; content: counter(reason, decimal-leading-zero); position: absolute; left: 22px; top: 20px; font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.reason h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.1rem; }
.reason p { margin: 0; font-size: .95rem; }

/* 料金 */
.price-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; align-items: start; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.price-card h3 { margin: 0 0 14px; color: var(--navy); }
table.price { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.price th, table.price td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
table.price thead th { background: var(--bg-soft); color: var(--navy); }
table.price td.num { font-weight: 700; white-space: nowrap; }
table.plans th[scope="row"] { color: var(--muted); font-weight: 400; white-space: nowrap; }
table.plans .plan-head { text-align: center; }
table.plans .plan-head .amount { display: block; font-size: 1.5rem; color: var(--accent); }
table.plans td { text-align: center; }
.recommend { display: inline-block; background: var(--accent); color: #fff; font-size: .72rem; border-radius: 999px; padding: 1px 10px; }
.price-notes { font-size: .88rem; color: var(--muted); margin: 14px 0 0; padding-left: 1.2em; }
.table-scroll { overflow-x: auto; }

/* 流れ */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; text-align: center; position: relative; }
.flow li::before { counter-increment: step; content: "STEP " counter(step); display: block; color: var(--accent); font-weight: 700; font-size: .8rem; margin-bottom: 6px; }
.flow h3 { margin: 0 0 6px; font-size: 1.02rem; color: var(--navy); }
.flow p { margin: 0; font-size: .88rem; color: var(--muted); }

/* 代表・事業者情報 */
.about { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }
.photo-placeholder { width: 220px; height: 260px; background: var(--bg-soft); border: 2px dashed var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--muted); font-size: .9rem; text-align: center; }
.profile-name { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 0; }
.profile-role { color: var(--muted); margin: 0 0 12px; }
table.info { width: 100%; border-collapse: collapse; margin-top: 18px; }
table.info th, table.info td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
table.info th { width: 7em; color: var(--muted); font-weight: 400; }
.area { background: #fff; border-radius: var(--radius); padding: 18px 22px; border: 1px solid var(--line); margin-top: 24px; }

/* お問い合わせ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; }
.contact-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; }
.contact-box a { color: #fff; }
.contact-box .tel { font-size: 1.7rem; font-weight: 700; text-decoration: none; display: block; margin: 4px 0; }
.contact-box p { margin: 0 0 16px; }
form.contact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
form.contact label { display: block; font-weight: 700; font-size: .92rem; margin: 0 0 6px; }
form.contact .req { color: #fff; background: var(--accent); font-size: .7rem; border-radius: 4px; padding: 1px 6px; margin-left: 6px; font-weight: 400; }
form.contact input[type=text], form.contact input[type=email], form.contact input[type=tel], form.contact textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font: inherit; margin-bottom: 18px; background: #fff;
}
form.contact textarea { min-height: 140px; resize: vertical; }
form.contact .consent { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; margin-bottom: 18px; }
form.contact button { border: none; cursor: pointer; font: inherit; font-weight: 700; width: 100%; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 10px; }
form.contact button:disabled { opacity: .6; cursor: wait; }
form.contact .cf-turnstile { margin-bottom: 18px; min-height: 65px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-size: .9rem; min-height: 1em; }
.form-status.is-error { color: #b42318; font-weight: 700; }
.thanks { text-align: center; padding-top: 60px; padding-bottom: 60px; }

/* フッター */
.site-footer { background: var(--navy-dark); color: #cfd8e3; padding: 36px 0; font-size: .88rem; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

/* プライバシーポリシー */
.policy { max-width: 820px; margin: 0 auto; padding: 56px 20px 72px; }
.policy h1 { color: var(--navy); font-size: 1.8rem; }
.policy h2 { color: var(--navy); font-size: 1.15rem; border-left: 4px solid var(--accent); padding-left: 10px; margin-top: 36px; }
.policy .date { text-align: right; color: var(--muted); margin-top: 40px; }

/* モバイル追従ボタン */
.mobile-cta { display: none; }

/* レスポンシブ */
@media (max-width: 900px) {
  .strength, .price-grid, .contact-grid, .about { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .photo-placeholder { width: 100%; max-width: 260px; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; width: 100%; border-top: 1px solid var(--line); }
  section { padding: 56px 0; }
  .hero { padding: 60px 0 56px; }
  .hero h1 { font-size: 1.45rem; }
  .scatter ul { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; }
  .mobile-cta a { flex: 1; text-align: center; padding: 14px 0; font-weight: 700; color: #fff; text-decoration: none; }
  .mobile-cta .m-tel { background: var(--navy); }
  .mobile-cta .m-form { background: var(--accent); }
  body { padding-bottom: 52px; }
}
