:root {
  --blue-900: #0b3d66;
  --blue-700: #0f5fa0;
  --blue-500: #1f7fc2;
  --blue-100: #e8f3fb;
  --accent: #f5a623;
  --text: #1c2b36;
  --text-light: #5a6b78;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --border: #dbe6ee;
  --radius: 12px;
  --max-width: 1120px;
  --cream: #fbf6e9;
  --cream-border: #ece2c6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  padding-bottom: 56px; /* モバイル固定電話バー分の余白 */
}

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3 { line-height: 1.4; margin: 0 0 .5em; }

/* ===== ヘッダー ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--blue-900);
  font-weight: 700;
  font-size: 1.05rem;
  margin-right: auto;
}

.logo__icon { color: var(--blue-500); display: flex; }

.nav {
  display: none;
  gap: 20px;
  font-size: .92rem;
  font-weight: 600;
}

.nav a { text-decoration: none; color: var(--text); }
.nav a:hover { color: var(--blue-700); }

.btn-call {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--blue-700);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.btn-call small { display: block; font-weight: 400; font-size: .68rem; opacity: .85; }
.btn-call__text { display: flex; flex-direction: column; line-height: 1.2; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--blue-900); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  gap: 14px;
}

/* ===== ヒーロー ===== */
.hero {
  background-image: linear-gradient(160deg, rgba(9,42,71,.88), rgba(15,95,160,.78)), var(--hero-img, none);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 56px 16px 48px;
}
.hero__inner { max-width: var(--max-width); margin: 0 auto; }
.hero__eyebrow { font-size: .85rem; letter-spacing: .02em; color: var(--blue-100); margin-bottom: 12px; font-weight: 600; }
.hero__title { font-size: 1.8rem; font-weight: 800; }
.hero__lead { color: #dceaf5; max-width: 46em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: .98rem;
}
.btn--primary { background: var(--accent); color: #22160b; }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn--lg { padding: 16px 32px; font-size: 1.1rem; }

.hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 0;
  margin: 0;
  font-size: .9rem;
  color: var(--blue-100);
}
.hero__badges strong { color: var(--accent); font-size: 1.15rem; margin-right: 4px; }

/* ===== サブナビ帯 ===== */
.subnav {
  display: flex;
  overflow-x: auto;
  gap: 4px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
}
.subnav a {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--blue-900);
  font-size: .72rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
}
.subnav a:hover { background: var(--blue-100); }
.subnav a svg { color: var(--blue-500); }

@media (min-width: 768px) {
  .subnav { justify-content: center; gap: 12px; overflow-x: visible; }
}

/* ===== 選ばれる理由（写真＋テキスト） ===== */
.reasons { background: var(--cream); padding: 48px 16px; }
.feature-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--cream-border);
}
.reasons .feature-row:last-child { border-bottom: none; }
.feature-row__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.feature-row__eyebrow {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--accent);
  margin: 0 0 8px;
}
.feature-row__body h3 { color: var(--blue-900); font-size: 1.2rem; }
.feature-row__body p { color: var(--text-light); margin: 0; }

@media (min-width: 768px) {
  .feature-row { flex-direction: row; align-items: center; gap: 40px; }
  .feature-row__media, .feature-row__body { flex: 1 1 50%; min-width: 0; }
  .feature-row--reverse { flex-direction: row-reverse; }
}

/* ===== セクション共通 ===== */
.section { padding: 56px 16px; }
.section--alt { background: var(--bg-alt); }
.section__inner { max-width: var(--max-width); margin: 0 auto; }
.section__title { font-size: 1.5rem; font-weight: 800; color: var(--blue-900); }
.section__lead { color: var(--text-light); margin-bottom: 28px; }

.grid { display: grid; gap: 18px; }
.grid--4 { grid-template-columns: 1fr; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.card__icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  margin-bottom: 12px;
}
.card h3 { font-size: 1.05rem; color: var(--blue-900); }
.card p { color: var(--text-light); font-size: .92rem; margin: 0; }

/* ===== 料金表 ===== */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 420px; background: #fff; }
.price-table th, .price-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.price-table thead th { background: var(--blue-900); color: #fff; }
.price-table tbody tr:last-child td { border-bottom: none; }

.price-notes { margin-top: 18px; color: var(--text-light); font-size: .92rem; padding-left: 1.2em; }

.info-table th, .info-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; text-align: left; }
.info-table th { width: 9em; background: var(--bg-alt); color: var(--blue-900); white-space: nowrap; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

.note { color: var(--text-light); font-size: .85rem; margin-top: 14px; }

/* ===== 対応エリア ===== */
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 16px; }
.chip-list li {
  background: var(--blue-100);
  color: var(--blue-900);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
}

/* ===== FAQ アコーディオン ===== */
.accordion__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 18px;
  margin-bottom: 10px;
}
.accordion__item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  color: var(--blue-900);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 1.3rem;
  color: var(--blue-500);
}
.accordion__item[open] summary::after { content: "−"; }
.accordion__item p { margin: 0 0 16px; color: var(--text-light); }

/* ===== お客様の声 ===== */
.voice-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.voice-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.voice-card p { color: var(--text-light); font-size: .9rem; margin: 0 0 10px; }
.voice-card cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: .85rem;
  color: var(--blue-900);
}

/* ===== 地図 ===== */
.map-wrap { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ===== CTA ===== */
.cta {
  background: var(--blue-900);
  color: #fff;
  text-align: center;
  padding: 56px 16px;
}
.cta__inner { max-width: 640px; margin: 0 auto; }
.cta p { color: var(--blue-100); margin-bottom: 24px; }

/* ===== フッター ===== */
.footer { background: #08263f; color: #b9cfe0; padding: 28px 16px; font-size: .85rem; }
.footer__inner { max-width: var(--max-width); margin: 0 auto; text-align: center; }
.footer__copy { margin-top: 10px; opacity: .7; }

/* ===== モバイル固定電話バー ===== */
.mobile-call-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--accent);
  color: #22160b;
  text-align: center;
  padding: 14px 12px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 200;
  font-size: .92rem;
}

/* ===== レスポンシブ：タブレット以上 ===== */
@media (min-width: 768px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .voice-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 2.4rem; }
}

@media (min-width: 960px) {
  .nav { display: flex; }
  .btn-call { display: flex; }
  .nav-toggle { display: none; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .voice-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 80px 16px 64px; }
  .hero__title { font-size: 2.9rem; }
  .mobile-call-bar { display: none; }
  body { padding-bottom: 0; }
}
