@charset "UTF-8";

/* =========================================================
   交通系区分ページ 共通ヒーロー
   対象：バス・JR・往復バスのみ・宿泊プラン
   ========================================================= */

.transport-hero {
  --transport-main: #087bf5;
  --transport-deep: #064e7c;
  --transport-accent: #ffd84d;
  --transport-hero-image: none;
  --transport-hero-position: center center;

  position: relative;
  z-index: 1;
  display: flex;
  min-height: 540px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--transport-deep);
}

.transport-hero *,
.transport-hero *::before,
.transport-hero *::after {
  box-sizing: border-box;
}

.transport-hero__background,
.transport-hero__overlay {
  position: absolute;
  inset: 0;
}

/* 静止画。アニメーション・フェード処理は設定しない */
.transport-hero__background {
  z-index: -2;
  background-image: var(--transport-hero-image);
  background-repeat: no-repeat;
  background-position: var(--transport-hero-position);
  background-size: cover;
}

.transport-hero__overlay {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(2, 30, 52, 0.86) 0%,
      rgba(3, 45, 76, 0.66) 42%,
      rgba(3, 45, 76, 0.18) 72%,
      rgba(3, 45, 76, 0.04) 100%
    );
}

.transport-hero__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 82px;
}

.transport-hero__content {
  width: min(680px, 67%);
}

.transport-hero__content_bus-on {
  width: min(870px);
}

.transport-hero__season {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #fff;
  background: rgba(6, 78, 124, 0.35);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.transport-hero__season span {
  color: #b9e8ff;
  font-size: 8px;
}

.transport-hero__catch {
  margin: 0 0 10px;
  color: #d9f2ff;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 12px rgba(0, 24, 44, 0.4);
}

.transport-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0.01em;
  text-shadow: 0 3px 18px rgba(0, 24, 44, 0.42);
}

.transport-hero__title span {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.75em;
}

.transport-hero__lead {
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
  text-shadow: 0 2px 10px rgba(0, 24, 44, 0.5);
}

.transport-hero__sp-break {
  display: none;
}

.transport-hero__search-trigger {
  display: inline-flex;
  min-width: 286px;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 7px 8px 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: var(--transport-deep);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 25px rgba(0, 25, 46, 0.24);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.transport-hero__search-icon,
.transport-hero__search-icon-morning,
.transport-hero__search-arrow {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
}

.transport-hero__search-icon {
  width: 48px;
  height: 48px;
  color: #fff;
  background: linear-gradient(145deg, var(--transport-main), var(--transport-deep));
}

.transport-hero__search-icon-morning {
  width: 48px;
  height: 48px;
  color: #fff;
  background: linear-gradient(145deg, #ff8303, #e27300);
}

.transport-hero__search-icon svg {
  width: 27px;
  height: 27px;
}

.transport-hero__search-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  line-height: 1.25;
}

.transport-hero__search-copy small {
  color: #657b8d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.transport-hero__search-copy strong {
  margin-top: 2px;
  color: var(--transport-deep);
  font-size: 16px;
  font-weight: 900;
}

.transport-hero__search-arrow {
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--transport-main);
  transition: transform 0.2s ease;
}

.transport-hero__search-arrow svg {
  width: 18px;
  height: 18px;
}

.transport-hero__search-trigger svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.transport-hero__search-trigger:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 25, 46, 0.32);
}

.transport-hero__search-trigger:hover .transport-hero__search-arrow {
  transform: translateX(3px);
}

.transport-hero__search-trigger:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

/* ページ別カラー。背景画像・位置はHTML側のCSS変数で設定 */
.transport-hero--jr {
  --transport-main: #15906e;
  --transport-deep: #075c46;
  --transport-accent: #f7dc58;
}

.transport-hero--bus {
  --transport-main: #f18524;
  --transport-deep: #064e7c;
  --transport-accent: #ffd84d;
}

.transport-hero--bus-only {
  --transport-main: #8b65c9;
  --transport-deep: #4a3478;
  --transport-accent: #ffdc6a;
}

.transport-hero--stay {
  --transport-main: #e34a32;
  --transport-deep: #7d2318;
  --transport-accent: #ffd84d;
}

/* =========================================================
   JRページ専用 QUICK VALUE
   ========================================================= */

.jr-quick-value {
  position: relative;
  z-index: 10;
  isolation: isolate;
  margin-top: -34px;
  padding: 0 20px;
}

.jr-quick-value__inner {
  display: grid;
  width: min(1040px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid #d9e8f3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(18, 49, 75, 0.13);
}

.jr-quick-value__item {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 22px;
}

.jr-quick-value__item + .jr-quick-value__item {
  border-left: 1px solid #d9e8f3;
}

.jr-quick-value__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 50%;
  color: #15906e;
  background: #d9f3d9;
}

.jr-quick-value__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.jr-quick-value__text {
  min-width: 0;
}

.jr-quick-value__text strong,
.jr-quick-value__text small {
  display: block;
}

.jr-quick-value__text strong {
  color: #0c4933;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
}

.jr-quick-value__text small {
  margin-top: 2px;
  color: #587083;
  font-size: 12px;
  line-height: 1.5;
}

/* =========================================================
   BUSページ専用 QUICK VALUE
   ========================================================= */

.bus-quick-value {
  position: relative;
  z-index: 10;
  isolation: isolate;
  margin-top: -34px;
  padding: 0 20px;
}

.bus-quick-value__inner {
  display: grid;
  width: min(1040px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid #d9e8f3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(18, 49, 75, 0.13);
}

.bus-quick-value__item {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 22px;
}

.bus-quick-value__item + .bus-quick-value__item {
  border-left: 1px solid #d9e8f3;
}

.bus-quick-value__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 50%;
  color: #087bf5;
  background: #d9e9f3;
}

.bus-quick-value__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.bus-quick-value__text {
  min-width: 0;
}

.bus-quick-value__text strong,
.bus-quick-value__text small {
  display: block;
}

.bus-quick-value__text strong {
  color: #0c2e49;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
}

.bus-quick-value__text small {
  margin-top: 2px;
  color: #587083;
  font-size: 12px;
  line-height: 1.5;
}
/* =========================================================
   JRページ専用 導入コピー
   ========================================================= */

.jr-hero-intro {
  padding: 80px 20px 64px;
  color: #15906e;
  background: #fff;
}

.jr-hero-intro__inner {
  width: min(1060px, 100%);
  margin: 0 auto;
  text-align: center;
}

.jr-hero-intro__label {
  margin: 0 0 8px !important;
  color: #137452 ;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.jr-hero-intro h2 {
  margin: 0;
  color: #0c4933;
  font-size: clamp(27px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.jr-hero-intro h2::after {
  display: block;
  width: 52px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: #15906e;
  content: "";
}

.jr-hero-intro__inner > p:last-child {
  max-width: 1060px;
  margin: 24px auto 0;
  color: #587083;
  font-size: 16px;
  line-height: 2;
}

/* =========================================================
   busページ専用 導入コピー
   ========================================================= */

.bus-hero-intro {
  padding: 80px 20px 64px;
  color: #087bf5;
  background: #fff;
}

.bus-hero-intro__inner {
  width: min(1060px, 100%);
  margin: 0 auto;
  text-align: center;
}

.bus-hero-intro__label {
  margin: 0 0 8px !important;
  color: #087bf5 ;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.bus-hero-intro h2 {
  margin: 0;
  color: #0c2e49;
  font-size: clamp(27px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.bus-hero-intro h2::after {
  display: block;
  width: 52px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: #087bf5;
  content: "";
}

.bus-hero-intro__inner > p:last-child {
  max-width: 1060px;
  margin: 24px auto 0;
  color: #587083;
  font-size: 16px;
  line-height: 2;
}

@media (max-width: 767px) {
  .transport-hero {
    min-height: 470px;
    align-items: flex-end;
  }

  .transport-hero__background {
    background-position: var(--transport-hero-position);
  }

  .transport-hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(2, 30, 52, 0.08) 0%,
        rgba(2, 30, 52, 0.42) 43%,
        rgba(2, 30, 52, 0.92) 100%
      );
  }

  .transport-hero__inner {
    width: calc(100% - 28px);
    padding: 150px 0 58px;
  }

  .transport-hero__content, .transport-hero__content_bus-on	{
    width: 100%;
  }

  .transport-hero__season {
    margin-bottom: 12px;
    padding: 6px 10px;
    font-size: 10px;
  }

  .transport-hero__catch {
    margin-bottom: 7px;
    font-size: 15px;
  }

  .transport-hero__title {
    font-size: 35px;
  }

  .transport-hero__title span {
    font-size: 0.72em;
  }

  .transport-hero__lead {
    margin: 14px 0 19px;
    font-size: 13px;
    line-height: 1.65;
  }

  .transport-hero__sp-break {
    display: block;
  }

  .transport-hero__search-trigger {
    width: 100%;
    min-width: 0;
    min-height: 58px;
  }

  .transport-hero__search-icon,
  .transport-hero__search-icon-morning{
    width: 43px;
    height: 43px;
  }

  .transport-hero__search-copy strong {
    font-size: 15px;
  }

  .jr-quick-value {
    z-index: 20;
    margin-top: -18px;
    margin-bottom: -18px;
    padding: 0 14px;
    background: transparent;
    transform: translateZ(0);
  }

  .jr-quick-value__inner {
    grid-template-columns: 1fr;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(18, 49, 75, 0.09);
  }

  .jr-quick-value__item {
    min-height: 68px;
    justify-content: flex-start;
    padding: 10px 18px;
  }

  .jr-quick-value__item + .jr-quick-value__item {
    border-top: 1px solid #d9e8f3;
    border-left: 0;
  }

  .jr-quick-value__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .jr-quick-value__icon svg {
    width: 23px;
    height: 23px;
  }

  .jr-quick-value__text strong {
    display: inline;
    font-size: 14px;
  }

  .jr-quick-value__text small {
    display: inline;
    margin-top: 0;
    margin-left: 8px;
    font-size: 11px;
  }

  .jr-quick-value__text small::before {
    margin-right: 8px;
    color: #b2c2ce;
    content: "/";
  }

  .bus-quick-value {
    z-index: 20;
    margin-top: -18px;
    margin-bottom: -18px;
    padding: 0 14px;
    background: transparent;
    transform: translateZ(0);
  }

  .bus-quick-value__inner {
    grid-template-columns: 1fr;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(18, 49, 75, 0.09);
  }

  .bus-quick-value__item {
    min-height: 68px;
    justify-content: flex-start;
    padding: 10px 18px;
  }

  .bus-quick-value__item + .bus-quick-value__item {
    border-top: 1px solid #d9e8f3;
    border-left: 0;
  }

  .bus-quick-value__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .bus-quick-value__icon svg {
    width: 23px;
    height: 23px;
  }

  .bus-quick-value__text strong {
    display: inline;
    font-size: 14px;
  }

  .bus-quick-value__text small {
    display: inline;
    margin-top: 0;
    margin-left: 8px;
    font-size: 11px;
  }

  .bus-quick-value__text small::before {
    margin-right: 8px;
    color: #b2c2ce;
    content: "/";
  }

  .jr-hero-intro {
    padding: 54px 20px 48px;
  }

  .jr-hero-intro__label {
    font-size: 10px;
  }

  .jr-hero-intro h2 {
    font-size: 27px;
  }

  .jr-hero-intro h2::after {
    margin-top: 15px;
  }

  .jr-hero-intro__inner > p:last-child {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
  }
  .bus-hero-intro {
    padding: 54px 20px 48px;
  }

  .bus-hero-intro__label {
    font-size: 10px;
  }

  .bus-hero-intro h2 {
    font-size: 27px;
  }

  .bus-hero-intro h2::after {
    margin-top: 15px;
  }

  .bus-hero-intro__inner > p:last-child {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .transport-hero__search-trigger,
  .transport-hero__search-arrow {
    transition: none;
  }
}

/* =========================================================
   ツアーラインナップ
   ========================================================= */

.tour-lineup {
  padding: 72px 20px;
  color: #12314b;
  background:
    linear-gradient(
      180deg,
      #f4faff 0%,
      #ffffff 100%
    );
}

.tour-lineup *,
.tour-lineup *::before,
.tour-lineup *::after {
  box-sizing: border-box;
}

.tour-lineup__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.tour-lineup__heading {
  margin-bottom: 32px;
  text-align: center;
}

.tour-lineup__label {
  margin: 0 0 7px;
  color: #087bf5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.tour-lineup__title {
  margin: 0;
  color: #12314b;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 0;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.tour-lineup__title-jr {
  margin: 0;
  color: #0c4933;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 0;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.tour-lineup__lead {
  margin: 12px 0 0;
  color: #647b8d;
  font-size: 15px;
  line-height: 1.8;
}

.tour-lineup__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tour-lineup__grid-stay {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* カード */

.tour-lineup-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #dbe8f1;
  border-radius: 17px;
  color: inherit !important;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 49, 75, 0.09);
  text-decoration: none !important;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.tour-lineup-card:hover {
  z-index: 2;
  border-color: rgba(8, 123, 245, 0.4);
  box-shadow: 0 16px 36px rgba(18, 49, 75, 0.16);
  transform: translateY(-5px);
}

.tour-lineup-card:focus-visible {
  outline: 3px solid #087bf5;
  outline-offset: 3px;
}

/* 画像 */

.tour-lineup-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eaf6ff;
}

.tour-lineup-card__image::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background:
    linear-gradient(
      180deg,
      rgba(4, 37, 63, 0) 0%,
      rgba(4, 37, 63, 0.3) 100%
    );
  content: "";
  pointer-events: none;
}

.tour-lineup-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.tour-lineup-card:hover .tour-lineup-card__image img {
  transform: scale(1.045);
}

/* バッジ */

.tour-lineup-card__badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: #087bf5;
  box-shadow: 0 4px 12px rgba(0, 39, 76, 0.2);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.tour-lineup-card--day .tour-lineup-card__badge {
  background: #087bf5;
}

.tour-lineup-card--sale .tour-lineup-card__badge {
  background: #e94f64;
}

.tour-lineup-card--value .tour-lineup-card__badge {
  background: #15906e;
}

.tour-lineup-card--hotel .tour-lineup-card__badge {
  background: #6959b8;
}

/* テキスト部分 */

.tour-lineup-card__content {
  display: grid;
  min-height: 132px;
  grid-template-columns: 42px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 11px;
  padding: 18px 16px;
}

.tour-lineup-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #087bf5;
  background: #eaf6ff;
}

.tour-lineup-card__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.tour-lineup-card--sale .tour-lineup-card__icon {
  color: #d83951;
  background: #fff0f2;
}

.tour-lineup-card--value .tour-lineup-card__icon {
  color: #11765a;
  background: #eaf8f3;
}

.tour-lineup-card--hotel .tour-lineup-card__icon {
  color: #5d4fa6;
  background: #f1effb;
}

.tour-lineup-card__text {
  min-width: 0;
}

.tour-lineup-card__text h3 {
  margin: 0 0 6px;
  color: #12314b;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

.tour-lineup-card__text p {
  margin: 0;
  color: #647b8d;
  font-size: 12px;
  line-height: 1.7;
}

/* 矢印 */

.tour-lineup-card__arrow {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #087bf5;
  background: #eff7ff;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.tour-lineup-card__arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.tour-lineup-card:hover .tour-lineup-card__arrow {
  color: #fff;
  background: #087bf5;
  transform: translateX(3px);
}

/* タブレット */

@media (max-width: 960px) {
  .tour-lineup__grid,.tour-lineup__grid-stay {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマートフォン */

@media (max-width: 600px) {
  .tour-lineup {
    padding: 52px 14px;
  }

  .tour-lineup__heading {
    margin-bottom: 24px;
  }

  .tour-lineup__label {
    font-size: 10px;
  }

  .tour-lineup__title {
    font-size: 25px;
  }

  .tour-lineup__lead {
    font-size: 13px;
  }

  .tour-lineup__grid,.tour-lineup__grid-stay {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tour-lineup-card {
    display: grid;
    grid-template-columns: 37% 63%;
    border-radius: 13px;
  }

  .tour-lineup-card__image {
    height: 100%;
    min-height: 142px;
    aspect-ratio: auto;
  }

  .tour-lineup-card__badge {
    top: 9px;
    left: 9px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .tour-lineup-card__content {
    min-height: 142px;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 7px;
    padding: 15px 12px;
  }

  .tour-lineup-card__icon {
    display: none;
  }

  .tour-lineup-card__text h3 {
    font-size: 15px;
  }

  .tour-lineup-card__text p {
    font-size: 11px;
    line-height: 1.6;
  }

  .tour-lineup-card__arrow {
    width: 28px;
    height: 28px;
  }
}

/* =========================================================
   JR TOUR GUIDE
========================================================= */

.jr-guide {
  --jr-navy: #092d4d;
  --jr-blue: #0876b9;
  --jr-sky: #eaf6fc;
  --jr-green: #137452;
  --jr-line: #dbe6ec;

  position: relative;
  padding: 72px 20px 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #f2f8fc 0, #fff 280px);
  color: #1c2b36;
}

.jr-guide::before {
  content: "";
  position: absolute;
  top: -230px;
  right: -170px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(8, 118, 185, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(8, 118, 185, 0.035),
    0 0 0 120px rgba(8, 118, 185, 0.02);
  pointer-events: none;
}

.jr-guide__inner {
  position: relative;
  z-index: 1;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.jr-guide__header {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.jr-guide__eyebrow,
.jr-info-card__eyebrow {
  margin: 0 0 8px;
  color: var(--jr-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.jr-guide__title {
  margin: 0;
  color: #0c4933;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.jr-guide__lead {
  margin: 17px auto 0;
  font-size: 16px;
  line-height: 1.9;
}

/* =========================================================
   TOUR POINTS
========================================================= */

.jr-guide-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1040px;
  margin: 0 auto 20px;
  padding: 0;
  list-style: none;
}

.jr-guide-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--jr-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.jr-guide-points__number {
  color: var(--jr-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.jr-guide-points strong,
.jr-guide-points small {
  display: block;
}

.jr-guide-points strong {
  color: #0c4933;
  font-size: 15px;
  line-height: 1.45;
}

.jr-guide-points small {
  margin-top: 3px;
  color: #657681;
  font-size: 12px;
  line-height: 1.5;
}


/* =========================================================
   CARD CONTAINER
========================================================= */

.jr-guide__cards {
  display: grid;
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}


/* =========================================================
   SURCHARGE CONTENT
========================================================= */

.jr-guide__surcharge {
  min-width: 0;
}

.jr-guide__surcharge > .main-in {
  width: 100%;
  max-width: none;
}

.jr-guide__surcharge table {
  max-width: 100%;
}


/* =========================================================
   INFORMATION CARD
========================================================= */

.jr-info-card {
  display: grid;
  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(300px, 1.2fr);
  overflow: hidden;
  border: 1px solid var(--jr-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(9, 45, 77, 0.08);
}

.jr-info-card__body {
  padding: 38px;
}

.jr-info-card__title {
  margin: 0;
  color: var(--jr-navy);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
}

.jr-info-card__lead {
  margin: 17px 0 0;
  font-size: 14px;
  line-height: 1.85;
}

.jr-info-card--station .jr-info-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #f4f9fc;
}

.jr-info-card--station .jr-info-card__visual img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

/* =========================================================
   CARD IMAGE
========================================================= */

.jr-info-card__visual {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #dcecf5;
}

.jr-info-card__visual img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.jr-info-card__visual figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 6px 9px;
  border-radius: 4px;
  background: rgba(5, 39, 31, 0.76);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}


/* =========================================================
   STATION FARES
========================================================= */

.jr-station-fares {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.jr-station-fares__item {
  padding: 16px;
  border: 1px solid #cfe2ed;
  border-radius: 12px;
  background: #f6fbfe;
}

.jr-station-fares__item--primary {
  border-color: #acd4e9;
  background: var(--jr-sky);
}

.jr-station-fares__station,
.jr-station-fares__price,
.jr-station-fares__oneway {
  display: block;
}

.jr-station-fares__station {
  color: var(--jr-navy);
  font-size: 13px;
  font-weight: 800;
}

.jr-station-fares__price {
  margin-top: 4px;
  font-size: 12px;
}

.jr-station-fares__price strong {
  color: #d94f32;
  font-size: 28px;
  line-height: 1;
}

.jr-station-fares__price small {
  margin-left: 2px;
  font-size: 12px;
}

.jr-station-fares__oneway {
  margin-top: 5px;
  color: #677985;
  font-size: 11px;
}


/* =========================================================
   NOTES / TARGET PRODUCT
========================================================= */

.jr-info-notes {
  margin: 16px 0 0;
  padding-left: 1.5em;
  color: #66757e;
  font-size: 11px;
  line-height: 1.75;
}

.jr-info-card__target {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px 0 0;
  font-size: 12px;
  font-weight: 700;
}

.jr-info-card__target span {
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--jr-navy);
  color: #fff;
  font-size: 10px;
}


/* =========================================================
   GREEN CAR
========================================================= */

.jr-info-card--green {
  grid-template-columns:
    minmax(300px, 0.92fr)
    minmax(0, 1.08fr);
  border-color: #cde1d7;
}

.jr-info-card--green .jr-info-card__eyebrow {
  color: var(--jr-green);
}

.jr-green-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px 10px;
  margin-top: 21px;
}

.jr-green-price__label {
  font-size: 13px;
  font-weight: 700;
}

.jr-green-price__main {
  margin: 0;
  color: var(--jr-green);
}

.jr-green-price__main strong {
  font-size: 39px;
  line-height: 1;
}

.jr-green-price__main span {
  margin-left: 3px;
  font-size: 16px;
  font-weight: 800;
}

.jr-green-price__note {
  color: #68766f;
  font-size: 11px;
}

.jr-green-period {
  margin: 15px 0 0;
  padding: 10px 12px;
  border-radius: 7px;
  background: #edf6f1;
  color: #49645a;
  font-size: 12px;
}

.jr-green-period span {
  margin-right: 7px;
  color: var(--jr-green);
  font-weight: 800;
}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 767px) {
  .jr-guide {
    padding: 48px 15px 56px;
  }

  .sp-only {
    display: block;
  }

  .jr-guide__header {
    margin-bottom: 24px;
    text-align: left;
  }

  .jr-guide__title {
    font-size: 22px;
  }

  .jr-guide__lead {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.8;
  }


  /* Tour points
  ----------------------------------------- */

  .jr-guide-points {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .jr-guide-points li {
    padding: 13px 15px;
  }

  .jr-guide-points li > span:last-child {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 8px;
  }

  .jr-guide-points small {
    margin-top: 0;
  }


  /* Cards
  ----------------------------------------- */

  .jr-guide__cards {
    gap: 14px;
  }

  .jr-info-card,
  .jr-info-card--green {
    grid-template-columns: 1fr;
    border-radius: 15px;
  }

  .jr-info-card__body {
    padding: 24px 18px;
  }

  .jr-info-card__title {
    font-size: 21px;
  }

  .jr-info-card__lead {
    margin-top: 13px;
    font-size: 13px;
    line-height: 1.8;
  }


  /* Card image
  ----------------------------------------- */

  .jr-info-card__visual {
    min-height: auto;
    order: -1;
  }

  .jr-info-card__visual img {
    min-height: 0;
    aspect-ratio: 16 / 8.5;
  }

  .jr-info-card--station .jr-info-card__visual {
    padding: 12px;
  }

  .jr-info-card--station .jr-info-card__visual img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }
  /* Station fares
  ----------------------------------------- */

  .jr-station-fares {
    margin-top: 18px;
  }

  .jr-station-fares__item {
    padding: 13px 10px;
  }

  .jr-station-fares__price strong {
    font-size: 25px;
  }

  .jr-info-card__target {
    align-items: flex-start;
  }


  /* Green car
  ----------------------------------------- */

  .jr-green-price__main strong {
    font-size: 35px;
  }

  .jr-green-period span {
    display: block;
    margin: 0 0 2px;
  }
}

/* =========================================================
   BUS TOUR GUIDE
========================================================= */

.bus-guide {
  --bus-navy: #092d4d;
  --bus-blue: #0876b9;
  --bus-sky: #eaf6fc;
  --bus-green: #137452;
  --bus-line: #dbe6ec;
  --jr-navy: #064e7c;
  --jr-blue: #087bf5;
  --jr-sky: #eaf6ff;
  --jr-green: #087bf5;
  --jr-line: #d9e8f3;

  position: relative;
  padding: 72px 20px 40px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef8ff 0, #fff 280px);
  color: #1c2b36;
}

.bus-guide::before {
  content: "";
  position: absolute;
  top: -230px;
  right: -170px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(8, 118, 185, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(8, 118, 185, 0.035),
    0 0 0 120px rgba(8, 118, 185, 0.02);
  pointer-events: none;
}

.bus-guide__inner {
  position: relative;
  z-index: 1;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.bus-guide__header {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.bus-guide__eyebrow,
.bus-info-card__eyebrow {
  margin: 0 0 8px;
  color: #087bf5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.bus-guide__title {
  margin: 0;
  color: #092d4d;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.bus-guide__lead {
  margin: 17px auto 0;
  font-size: 16px;
  line-height: 1.9;
}

.sp-only {
  display: none;
}


/* =========================================================
   TOUR POINTS
========================================================= */

.bus-guide-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1040px;
  margin: 0 auto 20px;
  padding: 0;
  list-style: none;
}

.bus-guide-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--bus-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.bus-guide-points__number {
  color: #0876b9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.bus-guide-points strong,
.bus-guide-points small {
  display: block;
}

.bus-guide-points strong {
  color: #092d4d;
  font-size: 15px;
  line-height: 1.45;
}

.bus-guide-points small {
  margin-top: 3px;
  color: #657681;
  font-size: 12px;
  line-height: 1.5;
}


/* =========================================================
   CARD CONTAINER
========================================================= */

.bus-guide__cards {
  display: grid;
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}


/* =========================================================
   SURCHARGE CONTENT
========================================================= */

.bus-guide__surcharge {
  min-width: 0;
}

.bus-guide__surcharge > .main-in {
  width: 100%;
  max-width: none;
}

.bus-guide__surcharge table {
  max-width: 100%;
}


/* =========================================================
   INFORMATION CARD
========================================================= */

.bus-info-card {
  display: grid;
  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(300px, 1.2fr);
  overflow: hidden;
  border: 1px solid var(--bus-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(9, 45, 77, 0.08);
}

.bus-info-card__body {
  padding: 38px;
}

.bus-info-card__title {
  margin: 0;
  color: var(--bus-navy);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
}

.bus-info-card__lead {
  margin: 17px 0 0;
  font-size: 14px;
  line-height: 1.85;
}

.bus-info-card--station .bus-info-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #f4f9fc;
}

.bus-info-card--station .bus-info-card__visual img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

/* =========================================================
   CARD IMAGE
========================================================= */

.bus-info-card__visual {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #dcecf5;
}

.bus-info-card__visual img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.bus-info-card__visual figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 6px 9px;
  border-radius: 4px;
  background: rgba(5, 39, 31, 0.76);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}


/* =========================================================
   STATION FARES
========================================================= */

.bus-station-fares {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.bus-station-fares__item {
  padding: 16px;
  border: 1px solid #cfe2ed;
  border-radius: 12px;
  background: #f6fbfe;
}

.bus-station-fares__item--primary {
  border-color: #acd4e9;
  background: var(--bus-sky);
}

.bus-station-fares__station,
.bus-station-fares__price,
.bus-station-fares__oneway {
  display: block;
}

.bus-station-fares__station {
  color: var(--bus-navy);
  font-size: 13px;
  font-weight: 800;
}

.bus-station-fares__price {
  margin-top: 4px;
  font-size: 12px;
}

.bus-station-fares__price strong {
  color: #d94f32;
  font-size: 28px;
  line-height: 1;
}

.bus-station-fares__price small {
  margin-left: 2px;
  font-size: 12px;
}

.bus-station-fares__oneway {
  margin-top: 5px;
  color: #677985;
  font-size: 11px;
}


/* =========================================================
   NOTES / TARGET PRODUCT
========================================================= */

.bus-info-notes {
  margin: 16px 0 0;
  padding-left: 1.5em;
  color: #66757e;
  font-size: 11px;
  line-height: 1.75;
}

.bus-info-card__target {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px 0 0;
  font-size: 12px;
  font-weight: 700;
}

.bus-info-card__target span {
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--bus-navy);
  color: #fff;
  font-size: 10px;
}


/* =========================================================
   GREEN CAR
========================================================= */

.bus-info-card--green {
  grid-template-columns:
    minmax(300px, 0.92fr)
    minmax(0, 1.08fr);
  border-color: #cde1d7;
}

.bus-info-card--green .bus-info-card__eyebrow {
  color: var(--bus-green);
}

.bus-green-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px 10px;
  margin-top: 21px;
}

.bus-green-price__label {
  font-size: 13px;
  font-weight: 700;
}

.bus-green-price__main {
  margin: 0;
  color: var(--bus-green);
}

.bus-green-price__main strong {
  font-size: 39px;
  line-height: 1;
}

.bus-green-price__main span {
  margin-left: 3px;
  font-size: 16px;
  font-weight: 800;
}

.bus-green-price__note {
  color: #68766f;
  font-size: 11px;
}

.bus-green-period {
  margin: 15px 0 0;
  padding: 10px 12px;
  border-radius: 7px;
  background: #edf6f1;
  color: #49645a;
  font-size: 12px;
}

.bus-green-period span {
  margin-right: 7px;
  color: var(--bus-green);
  font-weight: 800;
}

.bus-guide-card {
  padding: 26px;
  border: 1px solid #cfe3f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 78, 124, 0.08);
}

.bus-guide-card h3 {
  margin: 0 0 10px;
  color: #064e7c;
  font-size: 22px;
}

.bus-guide-card p {
  margin: 0;
  color: #587083;
  font-size: 14px;
  line-height: 1.8;
}

.bus-guide-card button {
  width: 100%;
  margin-top: 18px;
  padding: 13px 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #087bf5, #064e7c);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bus-guide-card--night button {
  background: linear-gradient(135deg, #315caa, #172d63);
}

.bus-guide-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(6, 78, 124, 0.2);
}

.bus-guide-card button:focus-visible {
  outline: 3px solid #87c9ff;
  outline-offset: 3px;
}
/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 767px) {
  .bus-guide {
    padding: 48px 15px 56px;
  }

  .bus-guide__header {
    margin-bottom: 24px;
    text-align: left;
  }

  .bus-guide__title {
    font-size: 22px;
  }

  .bus-guide__lead {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.8;
  }


  /* Tour points
  ----------------------------------------- */

  .bus-guide-points {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bus-guide-points li {
    padding: 13px 15px;
  }

  .bus-guide-points li > span:last-child {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 8px;
  }

  .bus-guide-points small {
    margin-top: 0;
  }


  /* Cards
  ----------------------------------------- */

  .bus-guide__cards {
    gap: 14px;
  }

  .bus-info-card,
  .bus-info-card--green {
    grid-template-columns: 1fr;
    border-radius: 15px;
  }

  .bus-info-card__body {
    padding: 24px 18px;
  }

  .bus-info-card__title {
    font-size: 21px;
  }

  .bus-info-card__lead {
    margin-top: 13px;
    font-size: 13px;
    line-height: 1.8;
  }


  /* Card image
  ----------------------------------------- */

  .bus-info-card__visual {
    min-height: auto;
    order: -1;
  }

  .bus-info-card__visual img {
    min-height: 0;
    aspect-ratio: 16 / 8.5;
  }

  .bus-info-card--station .bus-info-card__visual {
    padding: 12px;
  }

  .bus-info-card--station .bus-info-card__visual img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .transport-hero__bus-actions {
    display: grid;
    gap: 10px;
  }

  .transport-hero__bus-actions .transport-hero__search-trigger {
    width: 100%;
    min-width: 0;
  }

  .bus-guide .jr-guide__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bus-guide-card {
    padding: 20px;
  }
	
/* Station fares
  ----------------------------------------- */

  .bus-station-fares {
    margin-top: 18px;
  }

  .bus-station-fares__item {
    padding: 13px 10px;
  }

  .bus-station-fares__price strong {
    font-size: 25px;
  }

  .bus-info-card__target {
    align-items: flex-start;
  }
}
/* =========================================================
   バスページ：小物販売・時刻表・運行ルート
========================================================= */

.transport-hero__bus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.transport-hero__bus-actions .transport-hero__search-trigger {
  min-width: 280px;
}

.transport-hero__search-trigger--night .transport-hero__search-icon {
  background: linear-gradient(145deg, #315caa, #172d63);
}

.transport-hero__search-trigger--night .transport-hero__search-arrow {
  background: #315caa;
}

.transport-hero__search-trigger--return .transport-hero__search-icon {
  background: linear-gradient(145deg, #019393, #31aaaa);
}

.transport-hero__search-trigger--return .transport-hero__search-arrow {
  background: #31aaaa;
}

.bus-quick-value .jr-quick-value__icon {
  color: #087bf5;
  background: #eaf6ff;
}

.bus-quick-value .jr-quick-value__text strong {
  color: #064e7c;
}

.bus-hero-intro .jr-hero-intro__label {
  color: #087bf5;
}

.bus-guide .jr-guide__title,
.bus-guide .jr-guide-points strong {
  color: #064e7c;
}

/* =========================================================
   バスページ：小物販売・時刻表・運行ルート
========================================================= */

.bus-detail-section {
  width: min(1120px, calc(100% - 40px));
  margin: 44px auto 0;
  overflow: hidden;
  border: 1px solid #d7e8f4;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(6, 78, 124, 0.1);
}

.bus-detail-section__heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 34px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #087bf5 0%, #064e7c 100%);
}

.bus-detail-section__heading::after {
  content: "";
  position: absolute;
  top: -65px;
  right: -30px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.05);
}

.bus-detail-section__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
}

.bus-detail-section__icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bus-detail-section__heading > div {
  position: relative;
  z-index: 1;
}

.bus-detail-section__label {
  margin: 0 0 4px;
  color: #bfe5ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.bus-detail-section__heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.3;
}

.bus-detail-section__heading div > p:last-child {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.7;
}

.bus-detail-section__body {
  padding: 32px 34px 36px;
  background: linear-gradient(180deg, #f7fbfe 0, #fff 170px);
}

/* include側の横幅・余白をセクション内に統一 */
.bus-detail-section__body > .main-in {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* 小物販売 */
.bus-item-panel .bo-b_ble-gray {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  color: #064e7c;
}

.bus-item-panel h2::before,
.bus-item-panel h2::after,
.bus-detail-section__heading h2::before,
.bus-detail-section__heading h2::after {
  display: none !important;
  content: none !important;
}

.bus-item-panel .h-gray_x_blu {
  border: 0;
  border-radius: 10px 10px 0 0;
  color: #064e7c;
  background: #eaf6ff;
}

.bus-item-panel img {
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(6, 78, 124, 0.12);
}

.bus-item-panel table.normal {
  overflow: hidden;
  border-radius: 0 0 10px 10px;
}

/* 時刻表タブ・表 */
.bus-time-switcher {
  position: relative;
}

.bus-time-switcher > .panel-radios {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.bus-time-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
  margin: 0 auto 24px;
}

/* 旧 top.css の #tabs-list 系指定より優先する */
#tabs-list.bus-time-tabs {
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-sizing: border-box;
}

.bus-time-tab {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 12px 20px;
  border: 2px solid #c9e0ef;
  border-radius: 16px;
  color: #064e7c;
  background: #fff;
  box-shadow: 0 7px 18px rgba(6, 78, 124, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#tabs-list.bus-time-tabs .bus-time-tab {
  border: 1px solid #d7e8f4;
  box-sizing: border-box;
}

.bus-time-tab:hover {
  border-color: #087bf5;
  transform: translateY(-2px);
  box-shadow: 0 11px 24px rgba(6, 78, 124, 0.15);
}

.bus-time-tab__icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ffb400, #e27300);
  font-size: 23px;
  line-height: 1;
}

.bus-time-tab--night .bus-time-tab__icon {
  background: linear-gradient(135deg, #526db2, #172d63);
}

.bus-time-tab--return .bus-time-tab__icon {
  background: linear-gradient(135deg, #47c4c4, #249696);
}

.bus-time-tab small,
.bus-time-tab strong {
  display: block;
}

.bus-time-tab small {
  margin-bottom: 2px;
  color: #6a8192;
  font-size: 11px;
  font-weight: 700;
}

.bus-time-tab strong {
  font-size: 18px;
  font-weight: 900;
}

#panel-1-ctrl:checked ~ .bus-time-tabs [for="panel-1-ctrl"],
#panel-4-ctrl:checked ~ .bus-time-tabs [for="panel-4-ctrl"],
#panel-5-ctrl:checked ~ .bus-time-tabs [for="panel-5-ctrl"] {
  border-color: transparent !important;
  outline: 0;
  color: #fff;
  background: linear-gradient(135deg, #ff8303, #e26600);
  box-shadow: 0 12px 28px rgba(6, 78, 124, 0.24);
}

#panel-4-ctrl:checked ~ .bus-time-tabs [for="panel-4-ctrl"] {
  background: linear-gradient(135deg, #315caa, #172d63);
}

#panel-5-ctrl:checked ~ .bus-time-tabs [for="panel-5-ctrl"] {
  background: linear-gradient(135deg, #31aaaa, #197f8a);
  box-shadow: 0 12px 28px rgba(49, 170, 170, 0.28);
}

#panel-1-ctrl:checked ~ .bus-time-tabs [for="panel-1-ctrl"] small,
#panel-4-ctrl:checked ~ .bus-time-tabs [for="panel-4-ctrl"] small,
#panel-5-ctrl:checked ~ .bus-time-tabs [for="panel-5-ctrl"] small {
  color: rgba(255, 255, 255, 0.78);
}

.bus-time-panels {
  border: 1px solid #d7e8f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6, 78, 124, 0.07);
}

/* 旧 top.css の #panels 指定を時刻表内だけでリセット */
#panels.bus-time-panels {
  width: 100%;
  max-width: none;
  border: 1px solid #d7e8f4 !important;
  box-sizing: border-box;
}

.bus-time-panel {
  display: none;
  width: 100%;
  max-width: none;
  padding: 24px 28px 28px;
  box-sizing: border-box;
}

#panels.bus-time-panels > .bus-time-panel {
  float: none;
  width: 100% !important;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

#panel-1-ctrl:checked ~ .bus-time-panels #panel-1,
#panel-4-ctrl:checked ~ .bus-time-panels #panel-4,
#panel-5-ctrl:checked ~ .bus-time-panels #panel-5 {
  display: block;
}

.bus-time-note {
  margin: 0 0 10px;
  color: #657b8d;
  font-size: 12px;
  text-align: right;
}

.bus-time-table {
  width: 100% !important;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  table-layout: fixed;
  box-sizing: border-box;
}

.bus-time-table th,
.bus-time-table td {
  padding: 13px 15px;
  border-color: #dce9f2;
  vertical-align: middle;
}

.bus-time-table > thead th,
.bus-time-table > thead td {
  color: #fff;
  background: #064e7c;
}

.bus-time-table__departure {
  border-bottom: 4px double #8ca9bc;
}

.bus-time-table__arrival {
  border-top: 4px double #8ca9bc;
}

/* PC：旧CSSの幅・float指定をリセットし、時刻表をパネル全幅で表示 */
@media (min-width: 769px) {
  #panels.bus-time-panels {
    overflow: hidden;
  }

  #panels.bus-time-panels > section.bus-time-panel {
    position: static !important;
    float: none !important;
    clear: both;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 28px 32px 32px !important;
  }

  #panels.bus-time-panels .bus-time-note {
    display: block;
    width: 100%;
    margin: 0 0 18px !important;
    padding: 11px 15px;
    border-left: 4px solid #087bf5;
    border-radius: 0 8px 8px 0;
    color: #426175;
    background: #eff8fd;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
  }

  #panels.bus-time-panels table.normal.bus-time-table {
    display: table !important;
    float: none !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed !important;
  }

  #panels.bus-time-panels .bus-time-table th,
  #panels.bus-time-panels .bus-time-table td {
    height: auto;
    padding: 14px 18px;
    border-color: #d9e6ef;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.55;
  }

  #panels.bus-time-panels .bus-time-table tbody th {
    color: #17394f;
    background: #f4f8fb;
  }

  #panels.bus-time-panels .bus-time-table tbody tr:nth-child(even) td {
    background: #f9fcfe;
  }

  #panels.bus-time-panels .bus-time-table tbody strong {
    color: #083f68;
    font-size: 1.06em;
  }

  #panels.bus-time-panels .bus-time-alert {
    width: 100%;
    margin: 18px 0 0 !important;
    box-sizing: border-box;
  }
}

.bus-time-alert {
  margin: 14px 0 0;
  padding: 11px 14px;
  border-radius: 10px;
  color: #a13d2d;
  background: #fff4f1;
  font-size: 12px;
  line-height: 1.65;
}

/* 運行ルート */
.bus-route-group + .bus-route-group {
  margin-top: 34px;
}

.bus-route-group-title {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 12px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  color: #064e7c;
  background: transparent;
}

.bus-route-group-title::before,
.bus-route-group-title::after {
  display: none !important;
  content: none !important;
}

.bus-route-group-title .fas {
  grid-row: 1 / 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: #fff !important;
  background: linear-gradient(135deg, #087bf5, #064e7c);
  font-size: 20px;
}

.bus-route-group-title span {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
}

.bus-route-group-title small {
  color: #657b8d;
  font-size: 12px;
  font-weight: 500;
}

.bus-route-grid {
  display: grid !important;
  gap: 16px;
  width: 100%;
}

.bus-route-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bus-route-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bus-route-card {
  position: relative;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 20px;
  border: 1px solid #d7e8f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(6, 78, 124, 0.07);
}

.bus-route-card h3 {
  margin: -20px -20px 18px;
  border: 0;
  border-radius: 16px 16px 0 0;
  color: #fff;
  background: linear-gradient(135deg, #087bf5, #064e7c);
}

.bus-route-card--night h3 {
  background: linear-gradient(135deg, #315caa, #172d63);
}

.bus-route-card p {
  position: relative;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.6;
}

.bus-route-panel .bus-route-card {
  color: #087bf5 !important;
}

@media (max-width: 767px) {
  .bus-detail-section {
    width: calc(100% - 24px);
    margin-top: 28px;
    border-radius: 18px;
  }

  .bus-detail-section__heading {
    align-items: flex-start;
    gap: 14px;
    padding: 22px 18px;
  }

  .bus-detail-section__icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 14px;
  }

  .bus-detail-section__icon svg {
    width: 29px;
    height: 29px;
  }

  .bus-detail-section__heading div > p:last-child {
    font-size: 12px;
  }

  .bus-detail-section__body {
    padding: 12px;
  }

  .bus-item-panel .w70per,
  .bus-item-panel .w48per,
  .bus-item-panel .mw48per,
  .bus-item-panel .mw50per {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
  }

  .bus-item-panel .mw50per {
    margin: 16px 0;
  }

  .bus-time-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 12px;
  }

  .bus-time-tab {
    min-height: 76px;
    flex-direction: column;
    gap: 4px;
    padding: 7px 3px;
    border-radius: 12px;
  }

  .bus-time-tab__icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 16px;
  }

  .bus-time-tab small {
    display: none;
  }

  .bus-time-tab strong {
    font-size: 11px;
    white-space: nowrap;
  }

  /* SP：旧CSSの左寄せを打ち消し、アイコンと文言をボタン中央へ */
  #tabs-list.bus-time-tabs .bus-time-tab {
    justify-content: center !important;
    align-items: center !important;
    padding: 10px 4px !important;
    text-align: center !important;
  }

  #tabs-list.bus-time-tabs .bus-time-tab__icon {
    margin: 0 auto 5px !important;
  }

  #tabs-list.bus-time-tabs .bus-time-tab > span:not(.bus-time-tab__icon) {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center !important;
  }

  #tabs-list.bus-time-tabs .bus-time-tab strong,
  #tabs-list.bus-time-tabs .bus-time-tab small {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    text-align: center !important;
  }

  .bus-time-panels {
    overflow: visible;
    border-radius: 12px;
  }

  .bus-time-panel {
    padding: 10px;
  }

  .bus-time-note {
    font-size: 10px;
    line-height: 1.5;
    text-align: left;
  }

  .bus-time-table,
  .bus-time-table tbody {
    display: block;
    width: 100%;
  }

  .bus-time-table tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #d7e8f4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(6, 78, 124, 0.06);
  }

  .bus-time-table--morning tr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bus-time-table--night tr {
    grid-template-columns: 1fr;
  }

  .bus-time-table--return tr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bus-time-table > thead {
    display: none;
  }

  .bus-time-table th,
  .bus-time-table td {
    display: block;
    width: auto !important;
    min-width: 0;
    padding: 10px 6px;
    border: 0;
    border-right: 1px solid #e2edf4;
    background: #fff;
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .bus-time-table th {
    grid-column: 1 / -1;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid #d7e8f4;
    color: #064e7c;
    background: #eef8ff;
    text-align: left;
  }

  .bus-time-table td:last-child {
    border-right: 0;
  }

  .bus-time-table td::before {
    display: block;
    margin-bottom: 4px;
    color: #6a8192;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.3;
  }

  .bus-time-table--morning td:nth-of-type(1)::before {
    content: "朝発 12/25～1/23";
  }

  .bus-time-table--morning td:nth-of-type(2)::before {
    content: "朝発 1/24～3/29";
  }

  .bus-time-table--morning td[colspan="2"] {
    grid-column: span 2;
  }

  .bus-time-table--morning td[colspan="2"]::before {
    content: "朝発";
  }

  .bus-time-table--night td:nth-of-type(1)::before {
    content: "夜発";
  }

  .bus-time-table--return td:nth-of-type(1)::before {
    content: "通常運行日";
  }

  .bus-time-table--return td:nth-of-type(2)::before {
    content: "日曜・特定日";
  }

  .bus-time-table__departure {
    border-bottom: 1px solid #d7e8f4;
  }

  .bus-route-grid--3,
  .bus-route-grid--2 {
    grid-template-columns: 1fr;
  }

  .bus-route-group-title span {
    font-size: 18px;
  }
}

/* 宿泊プラン ご利用の流れ */
.stay-flow {
  --sf-deep: #12364a;
  --sf-blue: #087cc1;
  --sf-sky: #eaf7ff;
  --sf-accent: #ffb547;
  --sf-text: #304553;
  --sf-line: #c9dfeb;
  position: relative;
  margin-top: 80px;
  padding: 80px 20px 88px;
  overflow: hidden;
  color: var(--sf-text);
  background:
    radial-gradient(circle at 8% 4%, rgba(8, 124, 193, .11), transparent 25%),
    radial-gradient(circle at 95% 95%, rgba(115, 202, 237, .16), transparent 28%),
    #f7fbfd;
}

.stay-flow::before,
.stay-flow::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.stay-flow::before {
  top: 46px;
  right: 7%;
  width: 9px;
  height: 9px;
  background: rgba(8, 124, 193, .22);
  box-shadow: 32px 25px 0 rgba(8, 124, 193, .12), -18px 52px 0 rgba(8, 124, 193, .1);
}

.stay-flow::after {
  bottom: -100px;
  left: -80px;
  width: 260px;
  height: 260px;
  border: 45px solid rgba(255, 255, 255, .72);
}

.stay-flow__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.stay-flow__heading {
  margin-bottom: 48px;
  text-align: center;
}

.stay-flow__eyebrow {
  margin: 0 0 9px;
  color: var(--sf-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}

.stay-flow__title {
  margin: 0;
  color: var(--sf-deep);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .04em;
}

.stay-flow__title span {
  display: inline-block;
  margin-left: .3em;
  color: var(--sf-blue);
}

.stay-flow__lead {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.8;
}

.stay-flow__feature {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.stay-flow__feature span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: 1px solid #d6e7f0;
  border-radius: 999px;
  color: var(--sf-deep);
  background: rgba(255, 255, 255, .9);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 18px rgba(24, 71, 96, .05);
}

.stay-flow__feature svg {
  width: 19px;
  height: 19px;
  fill: var(--sf-blue);
}

.stay-flow__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stay-flow__item {
  position: relative;
  min-width: 0;
}

.stay-flow__item:not(:last-child)::after {
  position: absolute;
  z-index: 3;
  top: 72px;
  right: -17px;
  width: 30px;
  height: 30px;
  box-sizing: border-box;
  border: 4px solid #f7fbfd;
  border-radius: 50%;
  background: var(--sf-blue);
  content: "";
  box-shadow: 0 5px 12px rgba(8, 124, 193, .2);
}

.stay-flow__item:not(:last-child)::before {
  position: absolute;
  z-index: 4;
  top: 83px;
  right: -6px;
  width: 8px;
  height: 8px;
  box-sizing: border-box;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
  transform: rotate(45deg);
}

.stay-flow__card {
  height: 100%;
  padding: 24px 23px 22px;
  border: 1px solid rgba(170, 202, 218, .72);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(24, 71, 96, .09);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.stay-flow__card:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 124, 193, .45);
  box-shadow: 0 20px 42px rgba(24, 71, 96, .14);
}

.stay-flow__item--accent .stay-flow__card {
  border-color: rgba(8, 124, 193, .5);
  background: linear-gradient(150deg, #fff 58%, #eef9ff 100%);
}

.stay-flow__card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.stay-flow__number {
  color: var(--sf-blue);
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}

.stay-flow__timing {
  justify-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  color: #407084;
  background: var(--sf-sky);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.stay-flow__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: var(--sf-blue);
  background: var(--sf-sky);
}

.stay-flow__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stay-flow__card h3 {
  margin: 0 0 13px;
  color: var(--sf-deep);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
}

.stay-flow__card > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
}

.stay-flow__card .stay-flow__note {
  margin-top: 17px;
  padding: 12px 13px;
  border-left: 3px solid var(--sf-accent);
  border-radius: 0 8px 8px 0;
  color: #526976;
  background: #fff8ed;
  font-size: 12px;
  line-height: 1.65;
}

.stay-flow__note strong {
  color: #9b5900;
}

@media (max-width: 960px) {
  .stay-flow__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stay-flow__item:nth-child(2)::after {
    display: none;
  }

  .stay-flow__item:nth-child(2)::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .stay-flow {
    margin-top: 55px;
    padding: 58px 16px 64px;
  }

  .stay-flow__heading {
    margin-bottom: 34px;
  }

  .stay-flow__title span {
    display: block;
    margin: 2px 0 0;
  }

  .stay-flow__lead {
    text-align: left;
  }

  .stay-flow__feature {
    gap: 7px;
  }

  .stay-flow__feature span {
    padding: 7px 10px;
    font-size: 11px;
  }

  .stay-flow__list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stay-flow__item:not(:last-child)::after {
    top: auto;
    right: 26px;
    bottom: -21px;
  }

  .stay-flow__item:not(:last-child)::before {
    top: auto;
    right: 37px;
    bottom: -10px;
    transform: rotate(135deg);
  }

  .stay-flow__item:nth-child(2)::after {
    display: block;
  }

  .stay-flow__item:nth-child(2)::before {
    display: block;
  }

  .stay-flow__card {
    padding: 21px 19px 19px;
    border-radius: 17px;
  }

  .stay-flow__card-head {
    margin-bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stay-flow__card {
    transition: none;
  }
}

/* =========================================================
   宿泊プラン：雪道ドライブ特集
   transport.css 追記用
========================================================= */
.stay-drive {
  --drive-deep: #12384b;
  --drive-blue: #087fb9;
  --drive-cyan: #52bfd5;
  --drive-ice: #edf9fc;
  --drive-text: #405966;
  position: relative;
  margin-top: 80px;
  padding: 82px 20px 76px;
  overflow: hidden;
  color: var(--drive-text);
  background:
    radial-gradient(circle at 8% 10%, rgba(82, 191, 213, .18), transparent 28%),
    radial-gradient(circle at 95% 90%, rgba(8, 127, 185, .12), transparent 27%),
    linear-gradient(155deg, #f7fcfe 0%, #edf8fb 100%);
}

.stay-drive::before,
.stay-drive::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.stay-drive::before {
  top: -145px;
  right: -95px;
  width: 330px;
  height: 330px;
  border: 58px solid rgba(255, 255, 255, .65);
}

.stay-drive::after {
  bottom: 50px;
  left: 4%;
  width: 8px;
  height: 8px;
  background: rgba(8, 127, 185, .18);
  box-shadow:
    25px 18px 0 rgba(8, 127, 185, .1),
    -12px 42px 0 rgba(8, 127, 185, .12);
}

.stay-drive__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.stay-drive__header {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.15fr) auto;
  align-items: end;
  gap: 42px;
  margin-bottom: 42px;
}

.stay-drive__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--drive-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.stay-drive__eyebrow span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--drive-blue);
  font-size: 10px;
  letter-spacing: .12em;
}

.stay-drive__title {
  margin: 0;
  color: var(--drive-deep);
  font-size: clamp(29px, 3.2vw, 43px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
}

.stay-drive__title span {
  color: var(--drive-blue);
  font-size: .68em;
}

.stay-drive__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.stay-drive__top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 210px;
  padding: 14px 18px;
  border: 1px solid rgba(8, 127, 185, .3);
  border-radius: 999px;
  color: var(--drive-blue);
  background: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(24, 78, 101, .06);
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.stay-drive__top-link svg,
.stay-drive-card__more svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stay-drive__top-link:hover {
  color: #fff;
  background: var(--drive-blue);
  transform: translateY(-2px);
}

.stay-drive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.stay-drive-card {
  min-width: 0;
}

.stay-drive-card__link {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(151, 193, 209, .55);
  border-radius: 20px;
  color: inherit;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(24, 78, 101, .09);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.stay-drive-card__link:hover {
  border-color: rgba(8, 127, 185, .58);
  transform: translateY(-7px);
  box-shadow: 0 22px 45px rgba(24, 78, 101, .16);
}

.stay-drive-card__image {
  position: relative;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: #dcecf2;
}

.stay-drive-card__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(5, 37, 52, .48) 100%);
  content: "";
  pointer-events: none;
}

.stay-drive-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.stay-drive-card__link:hover .stay-drive-card__image img {
  transform: scale(1.055);
}

.stay-drive-card__number {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 18px;
  color: rgba(255, 255, 255, .96);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  text-shadow: 0 2px 12px rgba(0, 35, 51, .25);
}

.stay-drive-card__label {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  padding: 7px 15px;
  border-radius: 999px;
  color: var(--drive-deep);
  background: rgba(255, 255, 255, .94);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 5px 16px rgba(0, 35, 51, .14);
}

.stay-drive-card__body {
  position: relative;
  min-height: 205px;
  padding: 24px 24px 22px;
}

.stay-drive-card__sub {
  margin: 0 0 7px;
  color: var(--drive-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.stay-drive-card__body h3 {
  margin: 0 0 11px;
  color: var(--drive-deep);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
}

.stay-drive-card__body > p:not(.stay-drive-card__sub) {
  margin: 0;
  padding-bottom: 43px;
  font-size: 13px;
  line-height: 1.8;
}

.stay-drive-card__more {
  position: absolute;
  right: 23px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--drive-blue);
  font-size: 12px;
  font-weight: 800;
}

.stay-drive-card__more svg {
  width: 18px;
  height: 18px;
  transition: transform .25s ease;
}

.stay-drive-card__link:hover .stay-drive-card__more svg {
  transform: translateX(4px);
}

.stay-drive__safety {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 30px auto 0;
  padding: 12px 19px;
  border-radius: 12px;
  color: #385866;
  background: rgba(255, 255, 255, .76);
  font-size: 12px;
  line-height: 1.65;
}

.stay-drive__safety svg {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--drive-blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 960px) {
  .stay-drive__header {
    grid-template-columns: 1fr auto;
    gap: 20px 30px;
  }

  .stay-drive__lead {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .stay-drive__top-link {
    grid-column: 2;
    grid-row: 1;
  }

  .stay-drive__grid {
    gap: 16px;
  }

  .stay-drive-card__body {
    min-height: 230px;
    padding: 20px 18px;
  }

  .stay-drive-card__more {
    right: 18px;
  }
}

@media (max-width: 700px) {
  .stay-drive {
    margin-top: 55px;
    padding: 58px 16px 55px;
  }

  .stay-drive::before {
    top: -100px;
    right: -110px;
    width: 250px;
    height: 250px;
    border-width: 42px;
  }

  .stay-drive__header {
    display: block;
    margin-bottom: 30px;
  }

  .stay-drive__lead {
    margin-top: 17px;
    font-size: 13px;
  }

  .stay-drive__top-link {
    width: 100%;
    min-width: 0;
    margin-top: 20px;
    box-sizing: border-box;
  }

  .stay-drive__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stay-drive-card__link {
    border-radius: 17px;
  }

  .stay-drive-card__body {
    min-height: 0;
    padding: 21px 20px 19px;
  }

  .stay-drive-card__body > p:not(.stay-drive-card__sub) {
    padding-bottom: 39px;
  }

  .stay-drive__safety {
    align-items: flex-start;
    margin-top: 23px;
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stay-drive__top-link,
  .stay-drive-card__link,
  .stay-drive-card__image img,
  .stay-drive-card__more svg {
    transition: none;
  }
}
