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

/* ==================================================
   ページタイトル
================================================== */
.hopetaxi-title-wrap {
  max-width: 1100px;
  margin: 56px auto 48px;
}

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

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

  padding: 0 40px;

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

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

/* ==================================================
   予約フロー（主役）
================================================== */
.hopetaxi-reserve {
  max-width: 900px;
  margin: 0 auto 96px;
  padding: 32px 24px;

  background: #fff;
  border: 2px solid #1b1464;
  border-radius: 20px;
  text-align: center;

  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* タイトル */
.reserve-title {
  font-size: 22px;
  font-weight: 700;
  color: #1b1464;
  margin-bottom: 16px;
}

.reserve-title::before {
  content: "ご予約が必要です";
  display: inline-block;
  background: #d64545;
  color: #fff;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.reserve-title strong {
  display: inline-block;
  background: #fff3c4;
  color: #1b1464;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 24px;
  margin-bottom: 8px;
}

/* 説明文 */
.reserve-note {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}

/* CTA */
.hopetaxi-cta {
  margin: 16px auto 20px;
  padding: 24px;

  background: #1b1464;
  color: #fff;
  border-radius: 20px;

  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cta-label {
  font-size: 14px;
  opacity: .9;
}

.cta-phone {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: .04em;
}

.cta-time {
  font-size: 14px;
  opacity: .85;
}

/* 注意書き */
.reserve-attention {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

/* ==================================================
   サービス説明
================================================== */
.hopetaxi-about {
  max-width: 900px;
  margin: 80px auto 80px;
  line-height: 1.9;
}

.hopetaxi-lead {
  font-weight: 700;
  margin-bottom: 16px;
}

.hopetaxi-about p {
  margin-bottom: 14px;
}

.hopetaxi-about .note {
  font-size: 13px;
  color: #555;
}

/* ==================================================
   写真＋情報カード
================================================== */
.hopetaxi-info {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.hopetaxi-photo-wrap img {
  width: 100%;
  border-radius: 16px;
}

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

.hopetaxi-info-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #1b1464;
}

.hopetaxi-info-card dt {
  font-weight: 700;
  color: #1b1464;
  margin-top: 12px;
}

.hopetaxi-info-card dd {
  margin: 4px 0 0;
  line-height: 1.6;
}

/* ===============================
   モバイル最終修正版
=============================== */
@media (max-width: 767px) {

  /* ページ全体に安全な左右余白 */
  .page-main {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* 予約ブロック */
  .hopetaxi-reserve {
    margin: 0 0 64px;      /* ← 横marginは使わない */
    padding: 24px 20px;
    box-sizing: border-box;
  }

  .reserve-title {
    font-size: 18px;
  }

  .reserve-title strong {
    font-size: 22px;
  }

  /* CTA（はみ出し防止の本丸） */
  .hopetaxi-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 18px 12px;
    box-sizing: border-box;
  }

  .cta-phone {
    font-size: 22px;
    letter-spacing: 0;
    white-space: nowrap;   /* 電話番号折り返し防止 */
  }

  .hopetaxi-about,
  .hopetaxi-info {
    padding: 0;
  }

  .hopetaxi-info {
    grid-template-columns: 1fr;
  }

  .hopetaxi-info-card {
    padding: 20px;
  }
}




.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;
}