/* assets/css/style-nav.css */
/* —— 駅エリア一覧グリッド —— */
.term-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.term-card {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  transition: box-shadow .3s;
}
.term-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.term-name {
  font-size: 1.2em;
  font-weight: bold;
  color: #005bac;
  margin-bottom: 8px;
}
.term-desc {
  font-size: 0.9em;
  color: #555;
  line-height: 1.4;
}

/* —— 親タブ・子タブ ボタン共通 —— */
.area-tabs-title {
  text-align: center;
  color: #005bac;
  font-size: 1.5em;
  margin-bottom: 1em;
  border-bottom: 2px solid #e60012;
  display: inline-block;
  padding-bottom: 6px;
  font-family: 'Noto Serif JP', serif; /* フォントファミリーを統一 */
}
.tab-button {
  display: inline-block;
  padding: 8px 16px;
  margin: 4px;
  border: 2px solid #005bac;
  border-radius: 6px;
  background: #fff;
  color: #005bac;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  font-family: 'Noto Serif JP', serif; /* フォントファミリーを統一 */
}
.tab-button:hover,
.tab-button.active {
  background: #005bac;
  color: #fff;
}
.area-tab {
  min-width: 100px;
  font-family: 'Noto Serif JP', serif; /* フォントファミリーを統一 */
}