/* モダン化CSS: 既存style.cssの上に追加・上書き用 */

/* Google Fonts: Inter, Montserrat, Roboto */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Montserrat:wght@400;700&display=swap');

:root {
  --FONT_FAMILY_MODERN: 'Roboto', sans-serif,'Yu Gothic', '游ゴシック体', 'Meiryo', 'メイリオ', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Noto Sans JP', 'Roboto', 'Arial';
  --COLOR_PRIMARY: #2563eb;
  --COLOR_SECONDARY: #06b6d4;
  --COLOR_ACCENT: #f59e42;
  --COLOR_BG: #f8fafc;
  --COLOR_SURFACE: #fff;
  --COLOR_TEXT: #222;
  --COLOR_BORDER: #e5e7eb;
  --COLOR_SECTION: #e0f2fe;
  --RADIUS: 18px;
  --SHADOW: 0 4px 24px rgba(0,0,0,0.08);
}

/* 全体フォント・背景 */
body {
  font-family: var(--FONT_FAMILY_MODERN);
  background: var(--COLOR_BG);
  color: var(--COLOR_TEXT);
  letter-spacing: 0.01em;
  font-feature-settings: "palt";
}

/* 見出し */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--FONT_FAMILY_MODERN);
  font-weight: 700;
  color: var(--COLOR_PRIMARY);
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
}
h1 { font-size: 2.4rem; line-height: 1.2; }
h2 { font-size: 2rem !important; line-height: 1.3; }
h3 { font-size: 1.6rem; line-height: 1.4; }
h4 { font-size: 1.3rem; line-height: 1.5; }
h5 { font-size: 1.1rem; line-height: 1.5; }
h6 { font-size: 1rem; line-height: 1.5; }
h2 {
  background: none !important;
  color: var(--COLOR_PRIMARY) !important;
  font-size: 1.5em !important;
    padding: 0.2rem;
    margin-bottom: 0.2rem;
    border-bottom: 10px solid #ddddb3;
    font-weight: 900!important;}

/* セクション・カード */
section, .card, .brown, .area-card, .station-card {
  /*background: var(--COLOR_SURFACE);
  box-shadow: var(--SHADOW);
  border: 1px solid var(--COLOR_BORDER);
  padding: 2.2em 1.5em;
  margin-bottom: 2.5em;*/
}

/* ボタン */
.btn, .btn-success, .btn-primary {
  border-radius: var(--RADIUS);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.btn-success, .btn-primary {
  background: linear-gradient(90deg, var(--COLOR_PRIMARY) 60%, var(--COLOR_SECONDARY) 100%);
  border: none;
  color: #fff !important;
}
.btn-success:hover, .btn-primary:hover {
  background: var(--COLOR_ACCENT);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}

/* 入力フォーム */
.form-control, .form-select {
  border-radius: var(--RADIUS);
  border: 1.5px solid var(--COLOR_BORDER);
  background: #f9fafb;
  transition: border 0.2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--COLOR_PRIMARY);
  outline: none;
  box-shadow: 0 0 0 2px var(--COLOR_SECONDARY)33;
}

/* カード・リスト */
.card, .area-card, .station-card {
  border-radius: var(--RADIUS);
  box-shadow: var(--SHADOW);
  border: 1px solid var(--COLOR_BORDER);
  background: var(--COLOR_SURFACE);
  padding: 1em 1em;
}
.towns-list li, .station-list .station-card {
  border-radius: var(--RADIUS);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid var(--COLOR_BORDER);
}

/* 画像・ヒーローエリア */
.fullwidth-visual {
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0,0,0,0.10);
  margin-bottom: 2.5em;
}
.kv-slide {
  filter: brightness(0.98) contrast(1.04) saturate(1.1);
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

/* アコーディオン */
.accordion-item {
  border-radius: var(--RADIUS);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-bottom: 0.7em;
}
.accordion-button {
  border-radius: var(--RADIUS) !important;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--COLOR_PRIMARY);
  transition: background 0.2s;
}

.accordion-header{
  border: none;
}
.accordion-button:not(.collapsed) {
  background: var(--COLOR_SECONDARY);
  color: #fff;
}

/* ホバー・アニメーション */
a, .btn, .area-card a, .station-card a {
  transition: color 0.18s, background 0.18s, box-shadow 0.18s;
}
a:hover, .area-card a:hover, .station-card a:hover {
  color: var(--COLOR_ACCENT);
  text-decoration: underline;
}


.towns-list, .station-list {
  gap: 1.2em;
}

/* その他 */
::-webkit-scrollbar {
  width: 8px;
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 8px;
}
