/* =========================================================
   産後ケアナビ（東京版）  共通スタイル
   テーマ: パステルピンク（メイン） / パステルイエロー（差し色）
   コンセプト: 洗練・信頼感・やさしい・見やすい・シンプル
   ========================================================= */

:root {
  /* ブランドカラー（くすみ系・大人トーン：ダスティローズ × トープ／少し明るめ） */
  --pink-50:  #fdf7f5;
  --pink-100: #fbece8;
  --pink-200: #f4d9d2;
  --pink-300: #e6b3aa;
  --pink-400: #d18a83;
  --pink-500: #b56b66; /* アクセント濃いめ（ボタン等）：明るめくすみローズ */

  --yellow-100: #fcf6ec;
  --yellow-200: #f6ecd8;
  --yellow-300: #ecd8b4;
  --yellow-400: #d8be93; /* 差し色：温かみのあるゴールド */

  /* ニュートラル */
  --ink:    #3a343a; /* 本文（落ち着いたダークグレー寄り） */
  --ink-soft: #6d646a; /* 補足テキスト：白背景でAAコントラスト確保 */
  --line:   #f1e4de;
  --white:  #ffffff;
  --bg:     #fffdfb;

  /* システム */
  --shadow-sm: 0 2px 10px rgba(60, 50, 55, 0.05);
  --shadow-md: 0 8px 26px rgba(60, 50, 55, 0.09);
  --radius:    14px;
  --radius-sm: 10px;
  --maxw:      1080px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
          "Yu Gothic", Meiryo, system-ui, sans-serif;
}

/* ---------- リセット ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pink-500); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .75; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.5; letter-spacing: .02em; }
strong, b { font-weight: 700; }

/* キーボード操作時のフォーカス表示（読みやすさ・アクセシビリティ） */
a:focus-visible, button:focus-visible, .chip:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--pink-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- レイアウト ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--pink-400);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .02em;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0; transform: translateX(-50%);
  width: 48px; height: 4px; border-radius: 2px;
  background: var(--yellow-400);
}
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 15px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 251, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); }
.brand .logo {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-300), var(--yellow-300));
  display: grid; place-items: center; font-size: 18px;
}
.brand small { display:block; font-size: 11px; color: var(--ink-soft); font-weight: 500; letter-spacing:.05em; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); font-size: 15px; font-weight: 500; }
.nav a.is-active { color: var(--pink-500); font-weight: 700; }

.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 360px; }
  .nav a { width: 100%; padding: 14px 20px; border-top: 1px solid var(--line); }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; cursor: pointer; border: 0;
  transition: transform .15s, box-shadow .2s;
}
.btn-primary { background: var(--pink-500); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); opacity: 1; box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--white); color: var(--pink-500); border: 1.5px solid var(--pink-200); }
.btn-ghost:hover { background: var(--pink-50); opacity: 1; }
.btn-yellow { background: var(--yellow-400); color: var(--ink); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 400px at 80% -10%, var(--yellow-200), transparent 60%),
    linear-gradient(160deg, var(--pink-100), var(--pink-50) 60%, var(--bg));
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero .inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-copy h1 { font-size: 38px; line-height: 1.5; letter-spacing: .01em; }
.hero-copy h1 .hl {
  background: linear-gradient(transparent 62%, var(--yellow-300) 62%);
  padding: 0 4px;
}
.hero-copy p.lead { margin: 22px 0 30px; color: var(--ink-soft); font-size: 17px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  aspect-ratio: 4/3; border-radius: 28px;
  background:
    radial-gradient(circle at 30% 30%, var(--white), transparent 40%),
    linear-gradient(135deg, var(--pink-200), var(--yellow-200));
  box-shadow: var(--shadow-md);
  display: grid; place-items: center; font-size: 96px;
  overflow: hidden;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .hero .inner { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 30px; }
  .hero-visual { order: -1; aspect-ratio: 16/10; font-size: 72px; }
}

/* ---------- カードグリッド共通 ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 14px; }

/* 機能カード（トップの3本柱） */
.feature {
  text-align: center; padding: 34px 26px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .ico {
  width: 112px; height: 112px; margin: 0 auto 22px; border-radius: 22px;
  overflow: hidden; background: var(--yellow-100);
}
.feature .ico img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: 14.5px; }
.feature .more { margin-top: 16px; font-weight: 700; font-size: 14px; }

/* ---------- タグ／バッジ ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.tag {
  font-size: 12px; padding: 4px 11px; border-radius: 999px;
  background: var(--pink-50); color: var(--pink-500); border: 1px solid var(--pink-100);
  font-weight: 600;
}
.tag.yellow { background: var(--yellow-100); color: #b8860b; border-color: var(--yellow-200); }

/* ---------- ホテル一覧（ホットペッパー風） ---------- */
.hotel-card { display: grid; grid-template-columns: 240px 1fr; }
.hotel-thumb {
  position: relative; min-height: 180px;
  display: grid; place-items: center; font-size: 64px; color: #fff;
}
.hotel-thumb .area-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.92); color: var(--pink-500);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.hotel-card .card-body { padding: 22px 24px; }
.hotel-meta { display: flex; flex-wrap: wrap; gap: 16px; margin: 8px 0 12px; font-size: 13px; color: var(--ink-soft); }
.hotel-meta b { color: var(--ink); }
.hotel-price { font-size: 20px; font-weight: 700; color: var(--pink-500); }
.hotel-price small { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.stars { color: var(--yellow-400); letter-spacing: 2px; }
.stars .num { color: var(--ink-soft); font-size: 13px; margin-left: 6px; }
@media (max-width: 640px) {
  .hotel-card { grid-template-columns: 1fr; }
  .hotel-thumb { min-height: 150px; }
}

/* ---------- フィルター ---------- */
.filterbar {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 32px;
}
.chip {
  border: 1.5px solid var(--pink-200); background: var(--white);
  color: var(--ink); padding: 8px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s;
}
.chip:hover { background: var(--pink-50); }
.chip.active { background: var(--pink-400); color: #fff; border-color: var(--pink-400); }

.searchbox {
  display: flex; max-width: 480px; margin: 0 auto 28px;
  border: 1.5px solid var(--pink-200); border-radius: 999px;
  overflow: hidden; background: #fff;
}
.searchbox input { flex: 1; border: 0; padding: 13px 20px; font-size: 15px; outline: none; font-family: inherit; }
.searchbox span { display: grid; place-items: center; padding: 0 18px; font-size: 18px; color: var(--pink-400); }

/* ---------- 補助金テーブル ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
table.subsidy { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
table.subsidy th, table.subsidy td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: top; }
table.subsidy thead th { background: var(--pink-100); color: var(--ink); font-weight: 700; position: sticky; top: 0; }
table.subsidy tbody tr:nth-child(even) { background: var(--pink-50); }
table.subsidy tbody tr:hover { background: var(--pink-100); }
table.subsidy td.area { font-weight: 700; white-space: nowrap; }
table.subsidy td .amount { color: var(--pink-500); font-weight: 700; }

/* ---------- コラム ---------- */
.column-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--pink-50); }
.column-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.column-card:hover .thumb img { transform: scale(1.02); }
.column-card .meta { font-size: 12px; color: var(--ink-soft); margin-bottom: 6px; }
.column-card .cat {
  display:inline-block; font-size: 11px; font-weight:700; color:#fff;
  background: var(--pink-400); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}

/* 記事本文 */
.article { max-width: 760px; margin: 0 auto; }
.article-hero { aspect-ratio: 16/7; border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; background: var(--pink-50); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article h1 { font-size: 30px; line-height: 1.5; margin-bottom: 14px; }
.article .meta { color: var(--ink-soft); font-size: 14px; margin-bottom: 32px; }
.article h2 {
  font-size: 22px; margin: 40px 0 16px; padding-left: 14px;
  border-left: 5px solid var(--yellow-400);
}
.article h3 { font-size: 18px; margin: 28px 0 12px; color: var(--pink-500); }
.article p { margin-bottom: 18px; }
.article ul.bullet { margin: 0 0 18px 0; }
.article ul.bullet li { padding-left: 26px; position: relative; margin-bottom: 10px; }
.article ul.bullet li::before { content: "🌸"; position: absolute; left: 0; font-size: 13px; }
.callout {
  background: var(--yellow-100); border: 1px solid var(--yellow-200);
  border-radius: var(--radius-sm); padding: 18px 22px; margin: 24px 0;
}
.callout b { color: #b8860b; }

/* ---------- 法務・情報ページ ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--pink-100), var(--pink-50));
  padding: 48px 0; text-align: center;
}
.page-hero h1 { font-size: 30px; }
.page-hero p { color: var(--ink-soft); margin-top: 8px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 20px; margin: 32px 0 12px; padding-left: 12px; border-left: 5px solid var(--yellow-400); }
.prose p { margin-bottom: 16px; }
.prose dl { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.prose dl > div { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--line); }
.prose dl > div:last-child { border-bottom: 0; }
.prose dt { background: var(--pink-50); padding: 16px 20px; font-weight: 700; }
.prose dd { padding: 16px 20px; }
@media (max-width: 640px){ .prose dl > div { grid-template-columns: 1fr; } .prose dt{ border-bottom:1px solid var(--line);} }

/* フォーム */
.form { max-width: 600px; margin: 0 auto; }
.form .field { margin-bottom: 20px; }
.form label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.form label .req { color: var(--pink-500); font-size: 12px; margin-left: 6px; }
.form input, .form textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-size: 15px; font-family: inherit; background:#fff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--pink-300); }
.form textarea { min-height: 150px; resize: vertical; }

/* ---------- 注意書き ---------- */
.notice {
  background: var(--yellow-100); border: 1px dashed var(--yellow-300);
  border-radius: var(--radius-sm); padding: 16px 20px; font-size: 13.5px; color: #8a6d12;
  margin: 0 0 28px;
}

/* ---------- CTA帯 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--pink-300), var(--yellow-300));
  border-radius: var(--radius); padding: 44px; text-align: center; color: var(--ink);
}
.cta-band h2 { font-size: 26px; margin-bottom: 10px; }
.cta-band p { margin-bottom: 22px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--pink-50); border-top: 1px solid var(--line); margin-top: 40px; }
.site-footer .inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 48px 0 32px; }
.site-footer h4 { font-size: 14px; margin-bottom: 14px; letter-spacing:.05em; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: var(--ink-soft); font-size: 14px; }
.site-footer .brand { margin-bottom: 12px; }
.site-footer .desc { color: var(--ink-soft); font-size: 13.5px; max-width: 320px; }
.copyright { text-align: center; padding: 18px; font-size: 12.5px; color: var(--ink-soft); border-top: 1px solid var(--line); }
@media (max-width: 820px){ .site-footer .inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .site-footer .inner { grid-template-columns: 1fr; } }

/* ---------- ユーティリティ ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.hidden { display: none !important; }
.breadcrumb { font-size: 13px; color: var(--ink-soft); padding: 16px 0; }
.breadcrumb a { color: var(--ink-soft); }
