/* =========================================================
   Design tokens
   色：デザイン案 index.css の oklch 値を hex に変換
   文字サイズ：現行サイト（bus.fujikyu.co.jp）のデザインガイドに準拠
   ========================================================= */
:root {
  --bg-50:#FFFFFF; --bg-100:#F5F5F7; --bg-200:#EBF1F6; --bg-300:#DEE7ED;
  --fg-400:#9EA2A6; --fg-500:#7C8185; --fg-600:#191A1C; --fg-700:#191A1C; --fg-800:#191A1C; --fg-900:#191A1C; --fg-950:#191A1C;  /* 現行サイトは本文・見出し・説明すべて #191A1C */
  --primary-500:#D53233; --primary-600:#B51E23;
  --accent-300:#FFCC6D;
  --sec-50:#EFF7FF; --sec-200:#B9D9F9; --sec-400:#64A6E2; --sec-600:#116ABA; --sec-700:#0258A7; --sec-800:#004789; --sec-950:#02254A;
  --blue-50:#EFF6FF; --blue-500:#3B82F6; --blue-700:#1D4ED8;

  /* 現行サイトと同値 */
  --blue:#005AAB; --blue-dark:#368AD5; --blue-deeper:#003F78; --blue-vivid:#0A70E3;
  --white:#ffffff; --off-white:#F9F9F8; --gray-100:#D0D0D9; --gray-200:#9EAAB1; --gray-400:#656568; --gray-600:#5F6368; --text:#191A1C;

  /* タイポグラフィ（PC）— 現行 top-index.css / highway-top.css / news-excerpt.css の値 */
  --fs-h2: 36px;     /* セクション見出し（.section__title） */
  --fs-h3: 28px;     /* 中見出し（.section-heading） */
  --fs-title: 24px;  /* カードタイトル（.card-grid__title / .card-list__title） */
  --fs-body: 18px;   /* 本文・説明（.card-grid__desc）、ボタン（.btn-primary） */
  --fs-sub: 16px;    /* 補助テキスト・小ボタン・ナビ */
  --fs-small: 12px;  /* ラベル・日付・タグ（.card-price__label / .news-date） */
  --fs-price: 36px;  /* 運賃（.card-list__price） */

  --font: "Gen Interface JP", "Inter", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --content: 1200px;
  --gutter: 48px;    /* 現行 .section__inner と同じ左右余白 */
  --transition: .18s ease;
}
@media (max-width: 768px) {
  /* タイポグラフィ（SP）— 現行サイトの768px以下の値 */
  :root { --fs-h2: 24px; --fs-h3: 16px; --fs-title: 16px; --fs-body: 12px; --fs-sub: 12px; --fs-small: 10px; --fs-price: 20px; --gutter: 20px; }
}

@font-face { font-family: "Gen Interface JP"; src: url("/fonts/gen-interface-jp/GenInterfaceJP-Regular.woff2") format("woff2"), local("Gen Interface JP"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gen Interface JP"; src: url("/fonts/gen-interface-jp/GenInterfaceJP-Bold.woff2") format("woff2"), local("Gen Interface JP-Bold"); font-weight: 700 800; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); font-size: 18px; background: var(--bg-50); color: var(--text); line-height: 1.8; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible { outline: 2px solid var(--blue-vivid); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter); }

/* 共通ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; border-radius: 999px; font-weight: 600; cursor: pointer; transition: background-color var(--transition), border-color var(--transition), color var(--transition); }
.btn--primary { background: var(--primary-500); color: var(--bg-50); border: 0; }
.btn--primary:hover { background: var(--primary-600); }
.btn--outline { border: 1px solid var(--bg-300); color: var(--fg-800); background: transparent; }
.btn--outline:hover { border-color: var(--sec-400); color: var(--sec-700); }
.btn--lg { padding: 12px 28px; font-size: var(--fs-body); }
.btn--sm { padding: 8px 20px; font-size: var(--fs-sub); }


/* 見出し */
.group-title, .sec-title { font-size: var(--fs-h2); font-weight: 700; line-height: 1.5; color: var(--fg-800); }
.group-title, .sec-title, .section-heading { margin-block: .83em; } /* 現行 .section__title の既定の上下余白と同じ */
.group-title, .sec-title { margin-bottom: calc(.83em + 40px); }
#h-highway { margin-bottom: .83em; } /* 現行は見出し下の余白＋gap 40px が足し算になる */
.sub-title { font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; color: var(--fg-800); }
.lead { margin-top: 12px; max-width: 42rem; font-size: var(--fs-body); line-height: 1.8; color: var(--fg-600); }

/* =========================================================
   HEADER（PC・SPともハンバーガー。予約ボタンは常設）
   ========================================================= */
.site-header { position: relative; display: flex; align-items: center; gap: 24px; padding: 24px 40px; background: var(--white); }
.site-header__logo { display: inline-flex; align-items: center; gap: 16px; min-width: 0; }
.site-header__logo-mark { width: 85px; height: 54.4px; flex-shrink: 0; background: url("/img/logo_fujiq_bus.png") center / contain no-repeat; }
.site-header__logo-text { font-weight: 700; font-size: 24px; color: var(--blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-header__actions { display: flex; align-items: center; gap: 24px; margin-left: auto; flex-shrink: 0; }
.header-booking { padding: 12px 28px; font-size: var(--fs-body); font-weight: 700; }
.header-booking i { font-size: .85em; }

.hamburger-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 52px; background: none; border: none; cursor: pointer; padding: 4px; flex-shrink: 0; }
.hamburger-btn__icon { display: flex; flex-direction: column; gap: 5px; }
.hamburger-btn__icon span { display: block; width: 22px; height: 1px; background: var(--text); transition: transform .25s ease, opacity .25s ease; }
.hamburger-btn.open .hamburger-btn__icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger-btn.open .hamburger-btn__icon span:nth-child(2) { opacity: 0; }
.hamburger-btn.open .hamburger-btn__icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.hamburger-btn__label { font-size: 10px; line-height: 1; color: var(--text); margin-top: 10px; white-space: nowrap; }

.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 490; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.drawer-overlay.visible { opacity: 1; pointer-events: auto; }
.drawer-nav { position: fixed; top: 0; right: 0; width: 320px; max-width: 86vw; height: 100%; background: var(--white); z-index: 500; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); overflow-y: auto; box-shadow: -4px 0 24px rgba(0,0,0,.12); }
.drawer-nav.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--gray-100); height: 52px; }
.drawer-title { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--gray-600); }
.drawer-close { width: 32px; height: 32px; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--gray-600); font-size: 16px; }
.drawer-list { padding: 8px 0; }
.drawer-item { display: block; padding: 15px 24px; font-size: 15px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--gray-100); }
.drawer-item:hover { background: var(--off-white); color: var(--blue); }
.drawer-item.active { color: var(--blue); font-weight: 600; }
.drawer-item.nav-btn-primary { color: var(--blue); font-weight: 700; }
.drawer-item i { font-size: 11px; color: var(--gray-400); margin-left: 6px; }
.drawer-booking { padding: 16px 24px 4px; }
.drawer-booking .btn { width: 100%; padding: 14px 20px; font-size: 16px; font-weight: 700; }
.drawer-lang { padding: 16px 24px 20px; }
.drawer-lang__title { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--gray-600); margin-bottom: 12px; }
.drawer-lang__list { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer-lang__item { all: unset; box-sizing: border-box; cursor: pointer; padding: 8px 16px; border-radius: 100px; border: 1px solid var(--gray-200); font-size: 13px; color: var(--text); }
.drawer-lang__item.selected { background: var(--blue); border-color: var(--blue); color: #fff; }

/* =========================================================
   HERO（バナーサイズは現行サイトと同一：エリア16:5／スライド2:1）
   ========================================================= */
.hero-section { position: relative; overflow: hidden; aspect-ratio: 16 / 5; background: #fff; }
.hero-slider { position: absolute; inset: 0; display: flex; align-items: center; gap: 6px; transition: transform .9s cubic-bezier(.77,0,.175,1); }
.hero-slide { flex: 0 0 auto; height: 100%; aspect-ratio: 2 / 1; position: relative; overflow: hidden; border-radius: 16px; background: #eef2f5; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(22,26,31,.8), rgba(22,26,31,.45) 50%, rgba(22,26,31,.1)); pointer-events: none; }
.hero-slide__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 5% 7%; color: var(--bg-50); }
/* スライド自体が画面幅に比例して伸縮するため、文字も比例（PC最大48px＝現行 .page-hero__title／説明18px） */
.hero-slide__title { max-width: 48rem; font-size: clamp(14px, 3.33vw, 48px); font-weight: 700; line-height: 1.3; color: var(--bg-50); }
.hero-slide__text { margin-top: .75em; max-width: 36rem; font-size: clamp(12px, 1.25vw, 18px); line-height: 1.8; color: var(--bg-200); }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: transparent; border: 1.5px solid #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; color: #fff; font-size: 16px; border-radius: 50%; transition: background-color var(--transition), color var(--transition); }
.slider-arrow:hover { background: #fff; color: var(--blue); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }
.hero-indicator-bar { display: flex; justify-content: center; padding: 16px 0; background: #fff; }
.slider-controls { display: flex; gap: 8px; }
.slider-dot { width: 22px; height: 3px; background: var(--gray-100); cursor: pointer; border: none; border-radius: 999px; padding: 0; transition: background-color var(--transition), width var(--transition); }
.slider-dot.active { background: var(--blue); width: 36px; }

/* =========================================================
   高速バス：人気路線
   ========================================================= */
.sec { padding: 60px 0; }
.sec--tint { background: var(--bg-100); }
.sec--plain { background: var(--bg-50); }
.sec--line { border-top: 1px solid var(--bg-200); }
.popular__head { margin-top: 48px; }

.route-card { position: relative; border-radius: 8px; background: var(--bg-50); }
.route-card--featured { margin-top: 32px; }
.route-card__bar { display: flex; align-items: center; border-radius: 8px 8px 0 0; background: var(--sec-700); padding: 20px 28px; transition: background-color var(--transition); }
.route-card__bar:hover { background: var(--sec-800); }
.route-card__name { min-width: 0; font-size: var(--fs-title); font-weight: 400; line-height: 1.35; color: var(--bg-50); }
.route-card__body { display: flex; gap: 32px; padding: 28px; }
.route-card__thumb { width: 380px; flex-shrink: 0; overflow: hidden; border-radius: 6px; background: var(--bg-100); }
.route-card__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.route-card__main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.route-meta { display: flex; align-items: center; gap: 6px; font-size: var(--fs-body); color: var(--fg-700); }
.route-meta i { font-size: .9em; color: var(--sec-600); }
.route-card__desc { margin-top: 16px; font-size: var(--fs-body); line-height: 1.8; color: var(--fg-600); }
.route-card__foot { margin-top: auto; padding-top: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fare__label { display: block; font-size: var(--fs-sub); color: var(--fg-600); }
.fare__value { font-size: var(--fs-price); font-weight: 700; color: var(--fg-800); white-space: nowrap; }
.route-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.route-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 20px; }
.route-grid .route-card { margin-top: 0; display: flex; flex-direction: column; min-width: 0; }
.route-grid .route-card__bar { padding: 16px 20px; }
/* 帯の高さを揃えるため1行固定。文字サイズはJSでカード幅に合わせて自動調整（2枚で同じサイズ） */
.route-grid .route-card__name { white-space: nowrap; overflow: hidden; }
.route-grid .route-card__body { flex: 1; gap: 20px; padding: 20px; }
.route-grid .route-card__thumb { width: 96px; height: 96px; }
.route-grid .route-card__desc { margin-top: 8px; }
.route-grid .route-card__foot { padding-top: 16px; }
.route-grid .fare__value { font-size: clamp(24px, 2.3vw, 36px); } /* 現行 .card-price__value と同じ */
.route-grid .route-card__actions { gap: 8px; }

/* ---- おすすめ高速バス：1位を全幅の大カードに（色・角丸・帯・ボタンは現行UIのまま） ---- */
.route-card--featured .route-card__bar { padding-top: 24px; padding-bottom: 24px; }
.route-card--featured .route-card__body { gap: 0; padding: 0; align-items: stretch; }
.route-visual { position: relative; width: 56%; flex-shrink: 0; min-height: 440px; overflow: hidden; border-radius: 0 0 0 8px; background: var(--bg-100); }
.route-visual__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 35% 45%; }
.route-card--featured .route-card__main { padding: 32px 36px; }
.route-card--featured .route-card__desc { margin-top: 20px; }
.route-card--featured .route-card__foot { padding-top: 32px; }

/* 情報の優先順位：所要時間と運賃を主役に。ラベル・補足は小さく、細く */
.route-meta--time { flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.route-meta--time i { align-self: center; }
.route-meta__value { font-size: var(--fs-title); font-weight: 700; line-height: 1.3; color: var(--fg-900); }
.route-meta__note { font-size: var(--fs-sub); color: var(--fg-600); }
.route-meta--sub { margin-top: 6px; font-size: var(--fs-sub); color: var(--fg-700); }
.route-grid .route-card__thumb { width: 120px; height: 120px; }
.route-grid .route-card__thumb img { object-position: center; }
.route-grid .route-meta__value { font-size: calc(var(--fs-body) * 1.2); }
.route-grid .route-card__desc { margin-top: 12px; }

@media (max-width: 768px) {
  .route-card--featured .route-card__bar { padding-top: 16px; padding-bottom: 16px; }
  .route-visual { width: 100%; min-height: 0; aspect-ratio: 16 / 10; border-radius: 0; }
  .route-card--featured .route-card__main { padding: 20px; }
  .route-card--featured .route-card__desc { margin-top: 12px; }
  .route-card--featured .route-card__foot { padding-top: 20px; }
  .route-grid .route-card__thumb { width: 100%; height: 160px; }
}

/* =========================================================
   発着エリア別
   ========================================================= */
.tags { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tag { cursor: pointer; white-space: nowrap; border-radius: 999px; border: 1px solid var(--bg-300); background: var(--bg-50); padding: 8px 20px; font-size: var(--fs-sub); font-weight: 500; color: var(--fg-700); transition: background-color var(--transition), border-color var(--transition), color var(--transition); }
.tag:hover { border-color: var(--sec-400); color: var(--sec-700); }
.tag[aria-pressed="true"] { border-color: var(--sec-700); background: var(--sec-700); color: var(--bg-50); }
.tag.is-dim[aria-pressed="true"] { border-color: var(--bg-300); background: var(--bg-50); color: var(--fg-700); }
.tag--all { border-color: var(--sec-400); color: var(--sec-700); }
.tag--all:hover { border-color: var(--sec-600); background: var(--sec-50); }
.tag__hash { margin-right: 2px; }

.dir-list { margin-top: 32px; overflow: hidden; border-radius: 8px; background: var(--bg-50); }
.dir-item { border-bottom: 1px solid rgba(235,241,246,.7); transition: background-color var(--transition); }
.dir-item:last-child { border-bottom: 0; }
.dir-item:hover { background: var(--sec-50); }
.dir-item[hidden] { display: none; }
.dir-item__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; }
.dir-item__route { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; font-size: var(--fs-body); line-height: 1.4; color: var(--fg-800); }
.dir-item__sep { color: var(--fg-400); }
.dir-item__meta { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; row-gap: 4px; }
.dir-item__time { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: var(--fs-body); color: var(--fg-700); }
.dir-item__time i { font-size: .85em; color: var(--sec-600); }
.dir-item__fare { white-space: nowrap; font-size: var(--fs-body); font-weight: 700; color: var(--primary-600); }
.dir-item__actions { display: flex; flex-shrink: 0; flex-wrap: wrap; align-items: center; gap: 12px; }
.dir-empty { margin-top: 24px; border-radius: 8px; background: var(--bg-50); padding: 32px 20px; text-align: center; font-size: var(--fs-sub); color: var(--fg-600); }

/* =========================================================
   チケット購入方法
   ========================================================= */

.buy-panel { position: relative; margin-top: 40px; overflow: hidden; border-radius: 8px; background: var(--blue-50); box-shadow: inset 0 0 0 2px rgba(59,130,246,.7); padding: 40px; }
.buy-panel__badge { position: absolute; right: 16px; top: 16px; z-index: 1; border-radius: 999px; background: var(--blue-500); padding: 6px 16px; font-size: var(--fs-sub); font-weight: 700; color: #fff; white-space: nowrap; }
.buy-panel__main { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: 40px; }
.buy-panel__visual { display: flex; min-height: 208px; align-items: center; justify-content: center; border-radius: 8px; background: var(--bg-50); padding: 32px; }
.buy-panel__logo { height: 80px; width: auto; object-fit: contain; }
.buy-panel__body { display: flex; flex-direction: column; }
.buy-panel__title { font-size: var(--fs-title); font-weight: 700; line-height: 1.5; color: var(--blue-700); }
.buy-panel__desc { margin-top: 12px; font-size: var(--fs-body); line-height: 1.8; }
.buy-panel__cta { display: flex; justify-content: center; margin-top: 32px; }
.buy-panel .steps { margin-top: 40px; }
.buy-counter { margin-top: 20px; font-size: var(--fs-body); line-height: 1.8; }
@media (max-width: 768px) {
  .buy-panel { margin-top: 32px; padding: 56px 20px 20px; }
  .buy-panel__main { grid-template-columns: 1fr; gap: 20px; }
  .buy-panel__visual { min-height: 120px; padding: 24px; }
  .buy-panel__logo { height: 56px; }
  .buy-panel .steps { margin-top: 32px; }
}
.steps { margin-top: 56px; }
.steps__title { font-size: var(--fs-title); font-weight: 700; color: var(--fg-800); }
.steps__list { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; display: flex; min-height: 230px; flex-direction: column; overflow: hidden; border-radius: 8px; background: var(--bg-50); padding: 28px; }
.step__num { position: absolute; right: 28px; top: 20px; font-size: 52px; font-weight: 800; font-style: italic; line-height: 1; color: var(--bg-200); pointer-events: none; user-select: none; }
.step__content { position: relative; z-index: 1; margin-top: 64px; }
.step__title { display: block; font-size: var(--fs-title); font-weight: 700; line-height: 1.5; color: var(--fg-800); }
.step__text { margin-top: 12px; font-size: var(--fs-body); line-height: 1.8; color: var(--fg-600); }
.steps__note { margin-top: 20px; font-size: var(--fs-body); line-height: 1.8; color: var(--fg-700); }

/* =========================================================
   他のバス
   ========================================================= */
.sec--bus { padding: 60px 0; }
.bus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.bus-card { position: relative; display: block; aspect-ratio: 16 / 7; overflow: hidden; border-radius: 8px; }
.bus-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease-out; }
.bus-card:hover img { transform: scale(1.05); }
.bus-card__veil { position: absolute; inset: 0; background: rgba(252,253,254,.7); }
.bus-card__frame { position: absolute; inset: 16px; border: 1px solid rgba(37,41,47,.2); border-radius: 6px; pointer-events: none; }
.bus-card__body { position: absolute; inset: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 80px; text-align: center; }
.bus-card__title { font-size: var(--fs-title); font-weight: 700; line-height: 1.35; color: var(--fg-800); }
.bus-card__title i { font-size: .65em; margin-left: 6px; vertical-align: 2px; }
.bus-card__text { margin-top: 10px; max-width: 90%; font-size: var(--fs-body); line-height: 1.8; color: var(--fg-700); }
.bus-card__arrow { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary-500); color: var(--bg-50); font-size: 16px; transition: background-color var(--transition); }
.bus-card:hover .bus-card__arrow { background: var(--primary-600); }

/* =========================================================
   お知らせ（現行 news-excerpt.css と同じUI）
   ========================================================= */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.section-heading { font-size: var(--fs-h2); font-weight: 700; color: var(--text); line-height: 1.5; letter-spacing: -.02em; }
.section-more { font-size: var(--fs-body); font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 6px; letter-spacing: .03em; white-space: nowrap; }
.section-more i, .news-item::after { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--blue); color: var(--blue); font-size: 11px; flex-shrink: 0; transition: background-color var(--transition), color var(--transition); }
.section-more:hover i { background: var(--blue); color: #fff; }
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item { position: relative; display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; row-gap: 8px; border: 1px solid var(--gray-200); border-radius: 16px; padding: 24px 64px 24px 24px; transition: border-color var(--transition), box-shadow var(--transition); }
.news-item:hover { border-color: var(--blue-vivid); box-shadow: 0 4px 16px rgba(10,112,227,.10); }
.news-item::after { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
.news-item:hover::after { background: var(--blue); color: #fff; }
.news-item .news-title { order: 1; flex: 1 0 100%; width: 100%; font-size: var(--fs-body); color: var(--text); line-height: 1.5; }
.news-item .news-title::before { content: ""; position: absolute; inset: 0; }
.news-item .news-tag { order: 2; display: inline-block; border-radius: 4px; width: 72px; padding: 4px 0; font-size: var(--fs-small); font-weight: 700; white-space: nowrap; letter-spacing: .03em; text-align: center; }
.news-item .news-date { order: 3; font-size: var(--fs-small); color: var(--text); font-weight: 500; letter-spacing: .02em; }
.tag-important { background: #C62828; color: #fff; }
.tag-info { background: #656568; color: #fff; }
.tag-service { background: #1E7E34; color: #fff; }
.tag-event { background: #005AAB; color: #fff; }

/* =========================================================
   富士急バスについて
   ========================================================= */
.company { position: relative; overflow: hidden; border-top: 1px solid rgba(235,241,246,.7); margin-bottom: 80px; }
.company > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.company__veil { position: absolute; inset: 0; background: rgba(252,253,254,.7); }
.company .container { position: relative; padding-top: 80px; padding-bottom: 80px; }
.company__frame { border-radius: 8px; border: 1px solid rgba(37,41,47,.2); padding: 56px 48px; }
.company__title { font-size: var(--fs-h2); font-weight: 700; line-height: 1.5; color: var(--fg-800); }
.company__text { margin-top: 16px; max-width: 42rem; font-size: var(--fs-body); line-height: 1.8; color: var(--fg-700); word-break: auto-phrase; line-break: strict; text-wrap: pretty; }

/* =========================================================
   お得なチケット
   ========================================================= */
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.ticket-card { display: block; }
.ticket-card__img { position: relative; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 8px; background: var(--bg-100); }
.ticket-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease-out; }
.ticket-card:hover .ticket-card__img img { transform: scale(1.05); }
.ticket-card__title { margin-top: 12px; font-size: var(--fs-title); font-weight: 700; line-height: 1.5; color: var(--fg-800); transition: color var(--transition); }
.ticket-card:hover .ticket-card__title { color: var(--primary-600); }

/* =========================================================
   FOOTER
   ========================================================= */

/* ---- フッター：現行サイト（/css/component/site-footer.css）と同じ ---- */
.footer { --sans: "Gen Interface JP", Helvetica, "Hiragino Sans", "Noto Sans JP", sans-serif;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 40px; padding: 120px 0 40px;
  background-color: var(--blue);
  color: rgba(255,255,255,0.92);
}
.footer .inner { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 40px; }
.footer__body { display: flex; flex-direction: column; gap: 120px; width: 100%; }
.footer__row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 40px; width: 100%; }

.footer-logo { display: inline-flex; flex-direction: row; align-items: center; gap: 16px; text-decoration: none; color: inherit; }
.footer-logo-mark {
  width: 87.5px; height: 56px;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  filter: brightness(0) invert(1);
}
.footer-logo-text { font-family: var(--sans); font-weight: 700; font-size: 24px; color: #fff; line-height: 1.8; }

.footer-nav-cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 64px; }
.footer-nav-col { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-nav-col__title { font-family: var(--sans); font-weight: 400; font-size: 18px; color: #fff; line-height: 1.8; white-space: nowrap; }
.footer-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; }
.footer-nav-item { display: flex; align-items: flex-start; }
.footer-nav-item__bullet { font-family: "LINE Seed JP", var(--sans); font-size: 16px; color: #fff; line-height: 1.8; }
.footer-nav-item a { font-family: var(--sans); font-weight: 400; font-size: 16px; color: #fff; line-height: 1.8; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; transition: opacity var(--transition); }
.footer-nav-item a:hover { opacity: 0.75; }
.footer-nav-item__external-icon { font-size: 14px; color: #fff; }

.footer__copy-row { display: inline-flex; align-items: flex-start; justify-content: center; width: 100%; }
.footer-copy { font-family: var(--sans); font-weight: 400; font-size: 16px; color: #fff; text-align: center; }

@media (max-width: 768px) {
  .footer { padding: 56px 20px 24px; gap: 32px; }
  .footer .inner { padding: 0; }
  .footer__body { gap: 32px; }
  .footer__row:first-child { flex-direction: column; align-items: center; text-align: center; gap: 24px; width: 100%; }
  .footer-logo { flex-direction: column; align-items: center; gap: 12px; }
  .footer-nav-cols { flex-wrap: wrap; gap: 24px 72px; width: 100%; text-align: left; }
  .footer-copy { font-size: 12px; }
}

.sp-booking-bar { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1023px) {
  .route-card__thumb { width: 300px; }
}
@media (max-width: 768px) {
  .site-header { padding: 16px 20px; gap: 12px; }
  .site-header__logo { gap: 10px; }
  .site-header__logo-mark { width: 32px; height: 20.5px; }
  .site-header__logo-text { font-size: clamp(13px, 7vw - 9px, 20px); }
  .header-booking { display: none; } /* SPは下部固定バーで代替 */
  .sp-booking-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; background: var(--bg-50); padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -2px 12px rgba(0,0,0,.06); }
  .sp-booking-bar .btn { flex: 1; padding: 12px; font-size: 16px; font-weight: 700; }
  body { padding-bottom: 72px; }

  .slider-arrow { width: 36px; height: 36px; font-size: 13px; }
  .slider-arrow.prev { left: 12px; }
  .slider-arrow.next { right: 12px; }
  .hero-slide__text { display: none; }
  .hero-slide__body { padding: 0 6% 8%; }

  .sec { padding: 24px 0; }
  .group-title, .sec-title { margin-bottom: calc(.83em + 20px); }
  #h-highway { margin-bottom: .83em; }
  .sec--bus { padding: 24px 0; }


  .popular__head { margin-top: 32px; }
  .route-card__bar { padding: 16px 20px; }
  .route-card__body { flex-direction: column; gap: 24px; padding: 20px; }
  .route-card__thumb { width: 100%; height: 224px; }
  .route-card__foot { flex-direction: column; align-items: stretch; }
  .route-grid { grid-template-columns: 1fr; row-gap: 20px; }
  .route-grid .route-card__bar { padding: 14px 20px; }
  .route-grid .route-card__name { white-space: normal; }
  .route-grid .route-card__body { padding: 16px; flex-direction: column; }
  .route-grid .route-card__thumb { width: 100%; height: 160px; }
  .route-grid .fare__value { font-size: var(--fs-price); }
  .route-grid .route-card__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .btn--lg { padding: 12px 28px; font-size: 16px; }
  .btn--sm { padding: 10px 16px; }

  .tags { margin-top: 24px; gap: 8px; }
  .tag { padding: 6px 16px; }
  .dir-list { margin-top: 24px; }
  .dir-item__inner { flex-direction: column; align-items: stretch; }
  .dir-item__actions { gap: 8px; }

  .steps { margin-top: 48px; }
  .steps__list { grid-template-columns: 1fr; }
  .step { min-height: 160px; padding: 24px; }
  .step__content { margin-top: auto; }
  .step__num { font-size: 40px; right: 24px; top: 16px; }

  .bus-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .bus-card { aspect-ratio: 16 / 8; }
  .bus-card__frame, .bus-card__body { inset: 12px; }
  .bus-card__body { padding: 0 48px; }
  .bus-card__text { margin-top: 8px; }
  .bus-card__arrow { right: 24px; width: 36px; height: 36px; font-size: 14px; }

  .section-header { margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }
    
  .company .container { padding-top: 56px; padding-bottom: 56px; }
  .company { margin-bottom: 56px; }
  .company__frame { padding: 40px 24px; }

  .ticket-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }

}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slider, .bus-card img, .ticket-card__img img { transition: none; }
}

/* ---- 「一覧を見る」ボタン：現行サイトTOP（/css/top-index.css）の .btn-more と同じ寸法・見た目 ---- */
.section__more { display: flex; justify-content: center; padding-top: 16px; margin-top: 40px; }
.btn-more { all: unset; box-sizing: border-box; display: flex; width: 320px; align-items: center; justify-content: center; gap: 8px; padding: 16px 0; background-color: var(--blue); border-radius: 100px; cursor: pointer; transition: background-color var(--transition); }
.btn-more:hover { background-color: var(--blue-dark); }
.btn-more:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn-more__label { font-family: "Gen Interface JP", Helvetica, "Hiragino Sans", "Noto Sans JP", sans-serif; font-weight: 400; color: #fff; font-size: 18px; line-height: 1.8; white-space: nowrap; }
.btn-more i { color: #fff; font-size: 14px; }
@media (max-width: 768px) {
  .section__more { margin-top: 20px; padding-top: 0; }
  .btn-more { width: 100%; padding: 12px 0; }
  .btn-more__label { font-size: 16px; }
}

/* ---- 日本語の改行：文節の途中で切れにくくする（Chrome / Edge 対応。未対応ブラウザは通常の改行） ---- */
main, .footer, .site-header, .drawer-nav { word-break: auto-phrase; line-break: strict; }
h1, h2, h3, h4, .hero-slide__title, .route-card__name { text-wrap: balance; }
p, li, .lead { text-wrap: balance; }
.s { display: inline-block; max-width: 100%; text-wrap: balance; }
.nw { white-space: nowrap; }
@media (min-width: 769px) {
  /* デスクトップのハンバーガー：従来の1.3倍 */
  .hamburger-btn { width: 57px; height: 68px; }
  .hamburger-btn__icon { gap: 6.5px; }
  .hamburger-btn__icon span { width: 29px; height: 1.5px; }
  .hamburger-btn.open .hamburger-btn__icon span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger-btn.open .hamburger-btn__icon span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hamburger-btn__label { font-size: 16px; margin-top: 10px; }
}
@media (max-width: 768px) {
  .route-card__actions, .route-grid .route-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .route-card .btn { padding: 12px 0; font-size: 16px; }
  .route-grid .route-card__body { padding-left: 20px; padding-right: 20px; }
  .dir-item__actions { justify-content: center; }
}

#notices .news-excerpt .section-header .section-more { display: none; }

.ml-pos-route-mishima { object-position: left 62%; }
.ml-pos-route-gotemba { object-position: center 30%; }
#faq .faq-question span { font-weight: 400; }
#faq .faq-section { margin-bottom: 0; }
.is-translated .nw, html:not([lang="ja"]) .nw { white-space: normal; }
.is-translated .s, html:not([lang="ja"]) .s { display: inline; }
.is-en .s + .s::before, html[lang="en"] .s + .s::before,
.is-en .nw::before, html[lang="en"] .nw::before,
.is-en .nw::after, html[lang="en"] .nw::after { content: " "; }
