@import url("common.css");

/* パンくずリストのスタイル */
.encity-breadcrumb {
  background-color: #f5f7fa;
  padding: 12px 15px;
  font-size: 17px; /* 高齢者にも見やすい少し大きめサイズ */
  border-bottom: 2px solid #e0e4ec;
  font-family: sans-serif;
}
.encity-breadcrumb a {
  color: #0056b3;
  text-decoration: underline;
  font-weight: bold;
}
.encity-breadcrumb a:hover {
  color: #003366;
  text-decoration: none;
}
.encity-breadcrumb .bc-divider {
  color: #718096;
  margin: 0 8px;
  font-weight: bold;
}
.encity-breadcrumb .bc-current {
  color: #2d3748;
  font-weight: bold;
}

/* ツアーバスエリアの全体コンテナ */
.encity-tour-bus {
  background-color: #ffffff;
  color: #2d3748;
  padding: 30px 20px;
  margin: 25px auto;
  max-width: 1000px;
  border: 2px solid #cbd5e0;
  border-radius: 12px;
  font-family: sans-serif;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* タイトルと説明文 */
.encity-tour-bus .bus-title {
  font-size: 20px;
  font-weight: bold;
  color: #1a202c;
  text-align: center;
  margin-bottom: 5px;
}
.encity-tour-bus .bus-lead {
  font-size: 15px;
  color: #4a5568;
  text-align: center;
  margin-bottom: 25px;
}

/* 2×2（スマホでは1列）で並ぶグリッド */
.encity-tour-bus .bus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1-fraction));
  gap: 20px;
}

/* 各バスカードの基本スタイル */
.encity-tour-bus .bus-card {
  background-color: #f7fafc;
  border: 1px solid #e2e8f0;
  border-left: 6px solid #4a5568; /* 左端のカラーライン */
  padding: 20px;
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* コースごとの識別色（左端のライン） */
.encity-tour-bus .card-beginner { border-left-color: #3182ce; } /* 青 */
.encity-tour-bus .card-study    { border-left-color: #805ad5; } /* 紫 */
.encity-tour-bus .card-comm     { border-left-color: #dd6b20; } /* オレンジ */
.encity-footer-nav .card-media   { border-left-color: #e53e3e; } /* 赤 */

/* ジャンルバッジ */
.encity-tour-bus .bus-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  background-color: #edf2f7;
  color: #4a5568;
  padding: 3px 8px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 10px;
}

/* バス名 */
.encity-tour-bus .bus-card h3 {
  font-size: 18px;
  margin: 0 0 10px 0;
  color: #1a202c;
}

/* 経由ルートのテキスト */
.encity-tour-bus .bus-route {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.4;
  margin: 0 0 20px 0;
  background: #fff;
  padding: 8px;
  border-radius: 4px;
  border: 1px dashed #cbd5e0;
}

/* 乗車ボタン（大きく押しやすく） */
.encity-tour-bus .bus-button {
  display: block;
  text-align: center;
  background-color: #2b6cb0;
  color: #ffffff;
  text-decoration: none;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 3px 0 #1a446c;
  transition: all 0.2s;
}
.encity-tour-bus .bus-button:hover {
  background-color: #2c5282;
  transform: translateY(1px);
  box-shadow: 0 2px 0 #1a446c;
}

/* フッター路線図の全体コンテナ */
.encity-footer-nav {
  background-color: #2d3748; /* 暗めの背景で文字をくっきり目立たせる */
  color: #ffffff;
  padding: 25px 15px;
  margin-top: 40px;
  border-top: 4px solid #4a5568;
  font-family: sans-serif;
  text-align: center;
}

/* タイトル */
.encity-footer-nav .footer-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* ボタンを並べるグリッド（スマホでもパソコンでも綺麗に並びます） */
.encity-footer-nav .route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1-fraction));
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}

/* 各「駅（ボタン）」の基本共通スタイル */
.encity-footer-nav .station {
  display: block;
  padding: 12px 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
.encity-footer-nav .station span {
  font-size: 12px;
  font-weight: normal;
  opacity: 0.9;
}
.encity-footer-nav .station:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

/* 各区画ごとの色分け（視認性を高める路線カラー） */
.encity-footer-nav .font-main    { background-color: #4a5568; } /* グレー */
.encity-footer-nav .font-info    { background-color: #2b6cb0; } /* 青 */
.encity-footer-nav .font-media   { background-color: #dd6b20; } /* オレンジ */
.encity-footer-nav .font-study   { background-color: #44337a; } /* 紫 */
.encity-footer-nav .font-life    { background-color: #2f855a; } /* 緑 */
.encity-footer-nav .font-comm    { background-color: #b7791f; } /* 黄土 */
.encity-footer-nav .font-ruins   { background-color: #718096; } /* 薄グレー */
.encity-footer-nav .font-analizer{ background-color: #4a5568; } /* グレー */

/* 総合ポータルへの帰り道ボタン */
.encity-footer-nav .footer-back-home {
  margin-top: 25px;
}
.encity-footer-nav .footer-back-home a {
  color: #63b3ed;
  font-size: 17px;
  font-weight: bold;
  text-decoration: underline;
}
.encity-footer-nav .footer-back-home a:hover {
  color: #90cdf4;
}