/* ==============================
  カスタムプロパティ（後でここを変更するだけで全体の色が変わる）
============================== */
:root {
  --color-primary: #1a73e8;       /* メインカラー（後で変更） */
  --color-primary-dark: #1558b0;
  --color-accent: #ff6600;        /* アクセントカラー（後で変更） */
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fa;
  --color-bg-dark: #1e2a38;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #e0e0e0;
  --color-ok: #2e7d32;
  --color-ng: #c62828;

  --font-main: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);

  --section-padding: 60px 0;
  --container-max: 720px;
}


/* ==============================
  リセット・ベース
============================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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


/* ==============================
  共通レイアウト
============================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-primary);
  margin: 10px auto 0;
  border-radius: 2px;
}


/* ==============================
  ① ファーストビュー
============================== */
.section-hero {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}

.service-label {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 8px;
}

.service-name {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.service-name-ja {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-top: 4px;
}

.catchcopy {
  font-size: 1.2rem;
  margin: 24px 0;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.85rem;
}

.badge--highlight {
  background: var(--color-accent);
  border-color: var(--color-accent);
  font-weight: 700;
  font-size: 0.9rem;
}


/* ==============================
  電話ボタン（共通）
============================== */
.btn-call {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 40px;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.btn-call:hover,
.btn-call:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.btn-call-label {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 4px;
}

.btn-call-number {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}


/* ==============================
  ② 4コマ風フロー
============================== */
.section-usecases {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
}

.manga-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.manga-panel {
  width: 100%;
  max-width: 400px;
  background: var(--color-bg);
  border: 3px solid var(--color-text);
  border-radius: var(--radius-lg);
  padding: 24px 20px 20px;
  text-align: center;
  position: relative;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.12);
}

.manga-panel--accent {
  border-color: var(--color-primary);
  background: #eef4ff;
  box-shadow: 4px 4px 0 rgba(26, 115, 232, 0.2);
}

.manga-panel--goal {
  border-color: var(--color-accent);
  background: #fff4ee;
  box-shadow: 4px 4px 0 rgba(255, 102, 0, 0.2);
}

.manga-num {
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--color-text);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manga-panel--accent .manga-num {
  background: var(--color-primary);
}

.manga-panel--goal .manga-num {
  background: var(--color-accent);
}

.manga-emoji {
  font-size: 3rem;
  margin-bottom: 10px;
}

.manga-text {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.manga-sub {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.manga-arrow {
  font-size: 1.6rem;
  color: var(--color-text-light);
  line-height: 1;
  padding: 6px 0;
  opacity: 0.5;
}


/* ==============================
  ③ 料金シミュレーション
============================== */
.section-price {
  padding: var(--section-padding);
  background: var(--color-bg);
}

/* ステップ共通 */
.sim-step {
  margin-bottom: 28px;
}

.sim-step-label {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* 位置情報ボタン */
.sim-gps-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 2px dashed var(--color-primary);
  border-radius: var(--radius);
  background: #f0f6ff;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.sim-gps-btn:hover {
  background: #e0edff;
}

.sim-gps-btn:active {
  transform: scale(0.98);
}

.sim-gps-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.sim-gps-btn.is-done {
  border-style: solid;
  border-color: var(--color-ok);
  background: #f0faf0;
  color: var(--color-ok);
  font-size: 0.8rem;
  font-weight: 400;
}

.sim-gps-icon {
  font-size: 1.1rem;
}

.sim-gps-status {
  display: none;
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 10px;
}

.sim-gps-status.is-visible {
  display: block;
}

.sim-gps-status.is-error {
  color: var(--color-ng);
}

/* 手動入力エリア（GPS取得後に非表示） */
.sim-manual-addr {
  transition: opacity 0.3s, max-height 0.3s;
}

.sim-manual-addr.is-hidden {
  display: none;
}

/* エリア選択ボタン */
.sim-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.sim-area-btn {
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 10px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  text-align: center;
}

.sim-area-btn:hover {
  border-color: var(--color-primary);
  background: #f0f6ff;
}

.sim-area-btn:active {
  transform: scale(0.97);
}

.sim-area-btn.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

/* テキスト入力 */
.sim-input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

.sim-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.sim-input::placeholder {
  color: #aaa;
}

/* ワンタップ店舗ボタン */
.sim-quick-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.sim-quick-btn {
  padding: 8px 16px;
  border: 2px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-bg);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.sim-quick-btn:hover {
  border-color: var(--color-primary);
}

.sim-quick-btn.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

/* 計算ボタン */
.sim-calc-btn {
  display: block;
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--color-accent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.15s;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.sim-calc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.sim-calc-btn:active {
  transform: scale(0.98);
}

.sim-calc-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ローディング */
.sim-loading {
  display: none;
  text-align: center;
  padding: 20px 0;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.sim-loading.is-visible {
  display: block;
}

.sim-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  margin: 0 auto 10px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* エラー */
.sim-error {
  display: none;
  color: var(--color-ng);
  background: #fff5f5;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  text-align: center;
}

.sim-error.is-visible {
  display: block;
}

/* 結果パネル */
.sim-result {
  background: var(--color-bg-alt);
  border: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 24px;

  display: none;
}

.sim-result.is-visible {
  display: block;
}

.sim-result-heading {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.sim-result-route {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sim-result-arrow {
  color: var(--color-accent);
  font-size: 1.2rem;
}

.sim-result-distance {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.sim-result-fee {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1.2;
}

.sim-result-note {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 10px;
}

/* 料金ルール補足 */
.price-note {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 16px;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

.price-note strong {
  color: var(--color-primary);
}


/* ==============================
  ④ 対応できる場所
============================== */
.section-shops {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
}

.shop-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.shop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}

.shop-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.shop-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
}


/* ==============================
  ⑤ 対応エリア
============================== */
.section-area {
  padding: var(--section-padding);
  background: var(--color-bg);
  text-align: center;
}

.area-list {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.area-list li {
  background: var(--color-primary);
  color: #fff;
  border-radius: 20px;
  padding: 8px 24px;
  font-size: 1rem;
  font-weight: 700;
}

/* 地図プレースホルダー（地図追加後に削除） */
.area-map-placeholder {
  background: var(--color-bg-alt);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.area-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
}


/* ==============================
  ⑥ 支払い方法
============================== */
.section-payment {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
}

.payment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
  margin: 0 auto;
}

.payment-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  font-size: 1rem;
}

.payment-mark {
  font-size: 1.2rem;
  font-weight: 700;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.payment-ok .payment-mark {
  color: var(--color-ok);
}

.payment-ng {
  opacity: 0.5;
}

.payment-ng .payment-mark {
  color: var(--color-ng);
}


/* ==============================
  ⑦ CTA
============================== */
.section-cta {
  padding: var(--section-padding);
  background: var(--color-bg-dark);
  color: #fff;
  text-align: center;
}

.cta-lead {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 8px;
}

.cta-sub {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 32px;
}

.cta-info {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 0.85rem;
  opacity: 0.8;
}

.cta-info span::before {
  content: '▸ ';
}


/* ==============================
  フッター
============================== */
.site-footer {
  background: #111;
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 2;
}

.footer-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.footer-tel a,
.footer-sns a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

.footer-copy {
  margin-top: 12px;
  font-size: 0.75rem;
  opacity: 0.5;
}


/* ==============================
  レスポンシブ（スマホ）
============================== */
@media (max-width: 600px) {
  :root {
    --section-padding: 48px 0;
  }

  .service-name {
    font-size: 2.4rem;
  }

  .catchcopy {
    font-size: 1.05rem;
  }

  .btn-call-number {
    font-size: 1.5rem;
  }

  /* 対応場所：1列に */
  .shop-list {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.3rem;
  }
}
