/* ===== 全体の基本設定 ===== */
:root {
  --main: #1769e0;      /* メインカラー（青） */
  --main-dark: #0f4fa8;
  --accent: #ff8a00;    /* アクセント（オレンジ） */
  --text: #243044;
  --muted: #5b6677;
  --bg-gray: #f4f7fb;
  --line: #e3e9f1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: #fff;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255,138,0,.35);
}
.btn--ghost {
  background: #fff;
  color: var(--main);
  border: 2px solid var(--main);
}

/* ===== ヘッダー ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--main);
  line-height: 1.2;
}
.logo span {
  display: block;
  font-size: .65rem;
  color: var(--muted);
  font-weight: 600;
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--main); }
.nav__cta {
  background: var(--main);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
}
.nav__cta:hover { background: var(--main-dark); }

/* ===== ヒーロー ===== */
.hero {
  background: linear-gradient(135deg, #e8f1ff 0%, #f4f7fb 100%);
  padding: 72px 0 80px;
}
.hero__text h1 {
  font-size: 2.2rem;
  line-height: 1.4;
  margin-bottom: 20px;
}
.hero__text p { color: var(--muted); font-size: 1.05rem; }
.hero__btns { display: flex; gap: 14px; margin: 28px 0 14px; flex-wrap: wrap; }
.hero__note { font-size: .9rem; color: var(--muted); }

/* ===== 選ばれる理由 ===== */
.reasons { margin-top: -40px; }
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.reason {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(23,105,224,.06);
}
.reason__icon { font-size: 2.2rem; margin-bottom: 10px; }
.reason h3 { font-size: 1.1rem; margin-bottom: 8px; }
.reason p { font-size: .92rem; color: var(--muted); }

/* ===== 共通セクション ===== */
.section { padding: 72px 0; }
.section--gray { background: var(--bg-gray); }
.section__title {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 10px;
}
.section__lead {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ===== サービスカード ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px;
  transition: box-shadow .2s ease;
}
.card:hover { box-shadow: 0 10px 28px rgba(23,105,224,.1); }
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}
.card p { font-size: .92rem; color: var(--muted); }

/* ===== 料金 ===== */
.price {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 22px;
  text-align: center;
}
.price__item--main {
  border: 2px solid var(--accent);
  box-shadow: 0 10px 28px rgba(255,138,0,.15);
}
.price__item h3 { font-size: 1.1rem; margin-bottom: 12px; }
.price__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--main);
}
.price__num span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price__caution {
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  margin-top: 24px;
}

/* ===== ご利用の流れ ===== */
.flow { max-width: 720px; margin: 0 auto; list-style: none; }
.flow li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
}
.flow__no {
  flex: 0 0 40px;
  height: 40px;
  background: var(--main);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.flow h3 { font-size: 1.05rem; }
.flow p { font-size: .92rem; color: var(--muted); }

/* ===== お客様の声 ===== */
.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.voice {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--line);
}
.voice p { font-size: .95rem; }
.voice cite {
  display: block;
  margin-top: 12px;
  font-size: .85rem;
  color: var(--muted);
  font-style: normal;
}

/* ===== よくある質問 ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
}
.faq summary::after { content: "＋"; float: right; color: var(--main); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 16px; color: var(--muted); font-size: .92rem; }

/* ===== お問い合わせ ===== */
.contact {
  background: linear-gradient(135deg, var(--main) 0%, var(--main-dark) 100%);
  color: #fff;
  padding: 72px 0;
}
.contact__inner { text-align: center; }
.contact h2 { font-size: 1.7rem; margin-bottom: 12px; }
.contact > .container > p { opacity: .9; }
.contact__box {
  background: rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 30px;
  max-width: 460px;
  margin: 28px auto 0;
}
.contact__tel { font-size: 1.9rem; font-weight: 800; }
.contact__time { opacity: .9; margin-bottom: 18px; font-size: .95rem; }
.contact__note { font-size: .82rem; opacity: .8; margin-top: 18px; }

/* ===== フッター ===== */
.footer {
  background: #1b2430;
  color: #cdd6e2;
  padding: 30px 0;
  text-align: center;
}
.footer__logo { font-weight: 700; margin-bottom: 6px; }
.footer__copy { font-size: .82rem; color: #8c98a8; }

/* ===== スマホ対応（画面が狭いとき） ===== */
@media (max-width: 880px) {
  .reasons__grid,
  .cards,
  .price,
  .voices {
    grid-template-columns: 1fr;
  }
  .reasons { margin-top: 0; }
}
@media (max-width: 680px) {
  .nav a:not(.nav__cta) { display: none; }
  .hero__text h1 { font-size: 1.7rem; }
  .section { padding: 52px 0; }
}
