/* =========================
   基本設定
========================= */

* {
  box-sizing: border-box;
}

:root {
  --bg: #f4f6f8;
  --text: #222;
  --muted: #5a6675;
  --brand: #1e3c72;
  --brand2: #2a5298;
  --card: #ffffff;
  --shadow: rgba(0, 0, 0, 0.06);
  --notice-bg: #fff8e6;
  --notice-border: #ff9900;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

/* リンク */
a {
  color: var(--brand);
}

a:hover {
  opacity: 0.9;
}

/* コンテナ */
.container {
  width: 92%;
  max-width: 920px;
  margin: 0 auto;
}

/* =========================
   ヘッダー
========================= */

.site-header {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  padding: 42px 0 26px;
  text-align: center;
}

/* 上段：ブランド＋電話 */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.brand {
  min-width: 0;
}

.site-title {
  font-size: 32px;
  margin: 0 0 8px;
  letter-spacing: 0.2px;
}

.site-subtitle {
  font-size: 16px;
  margin: 0;
  opacity: 0.92;
}

/* 電話ボタン */
.cta-phone {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.cta-phone:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* =========================
   ナビゲーション（白ボタンで見やすく）
========================= */

.site-nav {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.site-nav a {
  display: inline-block;
  background: #fff;
  color: var(--brand);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
  transition: transform 0.15s ease, background 0.15s ease;
}

.site-nav a:hover {
  background: #f0f3f8;
  transform: translateY(-2px);
}

/* =========================
   カード
========================= */

.card {
  background: var(--card);
  padding: 30px;
  margin: 26px 0;
  border-radius: 14px;
  box-shadow: 0 10px 24px var(--shadow);
}

.card h2 {
  margin: 0 0 14px;
  font-size: 22px;
  border-left: 6px solid var(--brand2);
  padding-left: 12px;
}

.card h3 {
  margin: 22px 0 10px;
  font-size: 18px;
}

/* 注意表示 */
.notice {
  background: var(--notice-bg);
  padding: 14px 16px;
  border-left: 5px solid var(--notice-border);
  border-radius: 10px;
  margin: 14px 0 18px;
}

/* リスト */
ul {
  padding-left: 22px;
  margin: 10px 0 0;
}

ul li {
  margin-bottom: 8px;
}

/* 連絡先 */
.contact {
  font-style: normal;
}

.contact a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 800;
}

.contact a:hover {
  text-decoration: underline;
}

/* =========================
   フッター
========================= */

.site-footer {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 18px 0;
  margin-top: 34px;
}

/* =========================
   スマホ対応
========================= */

@media (max-width: 700px) {
  .site-header {
    padding: 32px 0 18px;
  }

  .header-top {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .site-title {
    font-size: 24px;
  }

  .site-subtitle {
    font-size: 15px;
  }

  .cta-phone {
    text-align: center;
    padding: 12px 14px;
  }

  .site-nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .card {
    padding: 20px;
    border-radius: 12px;
  }
}
