/* ===============================
   共通余白
=============================== */
.page-main {
  padding-bottom: 80px;
  font-family: "Kosugi Maru", sans-serif;
}

.hopebus-title-wrap {
  max-width: 1100px;
  margin: 56px auto 48px;
}


/* ===== タイトル（主役） ===== */
/* ★ PCは左寄せ */

.hopebus-title {
  width: fit-content;
  min-width: 280px;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  /* ★ PCは左寄せ（taxi-contentと同じ位置） */
  margin: 0 0 64px calc((100% - 1100px) / 2);
  padding: 0 40px;

  border-radius: 999px;
  border: 2px solid #1b1464;
  background: #fff;

  font-size: 18px;
  font-weight: 700;
  color: #1b1464;
}

/* ===============================
   時刻表（主役）
=============================== */
.hopebus-timetable {
  max-width: 1100px;
  margin: 0 auto 80px;
}

/* 見出し */
.timetable-heading {
  font-size: 22px;
  margin-bottom: 8px;
}

.timetable-note {
  margin-bottom: 24px;
}

/* 3カラムレイアウト */
.timetable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* カード */
.timetable-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.timetable-card h4 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #1b1464;
}

/* ===== テーブル本体 ===== */
.timetable-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.timetable-table tr {
  border-bottom: 1px solid #ddd;
}

.timetable-table th,
.timetable-table td {
  padding: 8px 6px;
  font-size: 14px;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

.timetable-table th {
  background: #f3f4f8;
  font-weight: 600;
  text-align: left;
  width: 65%;
}

.timetable-table td {
  text-align: center;
  width: 35%;
}



/* ===== 写真＋料金 ===== */
.hopebus-info {
  max-width: 1100px;
  margin: 0 auto 120px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
}

.hopebus-photo {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
}

.hopebus-fare {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.hopebus-fare dt {
  font-weight: 700;
  color: #1b1464;
}

.hopebus-fare dd {
  margin: 0 0 12px;
}

/* ===== モバイル ===== */
@media (max-width: 767px) {
  
  .hopebus-info {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  
  .hopebus-title {
    margin: 40px auto 48px;
    height: 52px;
    font-size: 16px;
  }

    .timetable-grid {
    grid-template-columns: 1fr;
  }

  .timetable-card {
    padding: 16px;
  }

  .timetable-table th,
  .timetable-table td {
    font-size: 13px;
    padding: 6px 4px;
  }

    .hopebus-timetable {
    padding: 0 16px;   /* ← 左右余白 */
  }
  
}

/* ===== 時刻表：統合カード ===== */
.timetable-card--wide {
  padding: 24px;
}

.timetable-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1b1464;
  margin-bottom: 16px;
}

/* 3列構成 */
.timetable-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.timetable-col-title {
  font-size: 15px;
  font-weight: 700;
  color: #1b1464;
  margin-bottom: 10px;
}

/* モバイル */
@media (max-width: 767px) {
  .timetable-columns {
    grid-template-columns: 1fr;
  }

  .timetable-col-title {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 8px 0;
    z-index: 1;
  }
}

.hopebus-public-link {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.hopebus-public-link a {
  color: #1b1464;
  font-weight: 700;
  text-decoration: underline;
}

.hopebus-public-link a:hover {
  opacity: 0.8;
}