@charset "UTF-8";
/* ============================================================
// route.scss (路線バス事業)
============================================================ */
/* ------------------------------------------------------------
// Fluid Design Function
// 最小値〜最大値の間で数値を可変させる共通関数
------------------------------------------------------------ */
/* ------------------------------------------------------------
// Page Header / ページトップ画像見出し
------------------------------------------------------------ */
.page-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(240px, 16vw + 180px, 500px);
  margin-bottom: clamp(60px, 3.6923076923vw + 46.1538461538px, 120px);
  padding-top: clamp(76px, 3.3230769231vw + 63.5384615385px, 130px);
  overflow: hidden;
  background-color: #333333;
  background-image: url(../images/route/bg-page-header.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.page-header__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  text-align: center;
}
.page-header__title-area {
  color: #ffffff;
}
.page-header__en {
  display: block;
  font-size: clamp(34px, 1.6vw + 28px, 60px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
}
.page-header__jp {
  display: inline-block;
  margin-top: 10px;
  font-size: clamp(14px, 0.1230769231vw + 13.5384615385px, 16px);
  font-weight: 500;
  letter-spacing: 0.2em;
  position: relative;
  padding-bottom: 5px;
}
.page-header__jp::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #1068c0;
}

/* ------------------------------------------------------------
// 路線バス事業
------------------------------------------------------------ */
.route-category__nav-category {
  margin: 0 auto clamp(60px, 2.4615384615vw + 50.7692307692px, 100px);
}
.route-category__category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}
.route-category__category-link {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: clamp(15px, 0.0615384615vw + 14.7692307692px, 16px);
  font-weight: 700;
  color: #1068c0;
  letter-spacing: 0.1em;
  text-align: center;
  min-width: 160px;
  padding: clamp(6px, 0.4923076923vw + 4.1538461538px, 14px) clamp(24px, 0.2461538462vw + 23.0769230769px, 28px);
  background: #ffffff;
  border: 2px solid #1068c0;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  z-index: 1;
}
.route-category__category-link::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: #1068c0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 48px;
  z-index: -1;
}
.route-category__category-link:hover {
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(16, 104, 192, 0.2);
}
.route-category__category-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
@media screen and (max-width: 767px) {
  .route-category__category-list {
    gap: 10px;
  }
  .route-category__category-item {
    width: calc(50% - 5px);
  }
  .route-category__category-link {
    min-width: auto;
    border-width: 1.5px;
  }
  .route-category__category-link:hover {
    transform: none;
  }
}

.route-detail:not(:last-child) {
  margin-bottom: 60px;
}
.route-detail__name {
  font-size: clamp(20px, 0.2461538462vw + 19.0769230769px, 24px);
  font-weight: 700;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #dddddd;
}
.route-detail__image {
  display: flex;
  align-items: flex-start;
  gap: clamp(30px, 0.6153846154vw + 27.6923076923px, 40px);
  margin-bottom: 40px;
}
.route-detail__visual, .route-detail__body {
  flex: 1;
}
.route-detail__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: clamp(0px, 1.2307692308vw + -4.6153846154px, 20px);
  padding-inline: 20px;
}
.route-detail__text {
  font-size: clamp(16px, 0.1230769231vw + 15.5384615385px, 18px);
}
.route-detail__note {
  font-size: clamp(15px, 0.0615384615vw + 14.7692307692px, 16px);
  color: #d33838;
}
.route-detail .btn-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  background: linear-gradient(135deg, #a8d179 0%, #1cb5e0 100%);
  font-weight: 700;
  color: #ffffff;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(28, 181, 224, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.route-detail .btn-pdf:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 181, 224, 0.4);
}
@media screen and (max-width: 991px) {
  .route-detail__image {
    align-items: center;
    flex-direction: column;
  }
  .route-detail__text {
    text-align: center;
  }
}