@charset "UTF-8";
/* =========================================================
   common.css
   全ページ共通のスタイル。
   base / layout / component / SP専用要素 / 道路状況モーダル /
   重要なお知らせバー / header / drawer / footer / 追従SNS と、
   それらのレスポンシブ・アニメーション・ホバーをまとめている。
   ページ固有のスタイルは各ページの CSS（top.css など）に置く。
   読み込み順は destyle.css → common.css → 各ページのCSS。
   ========================================================= */

/* =========================================================
   base
   ========================================================= */

html {
  font-size: 62.5%; /* 1rem = 10px */
  /* ヘッダーが fixed なので、ページ内リンクの着地点がヘッダーの下に
     隠れてしまう。余白 30px ＋ ヘッダー 120px ＋ 少しの余白 */
  scroll-padding-top: 166px;
  /* ページ内リンク（安全・安心のためのルールの目次など）を
     すべるように移動させる。JS からのスクロール操作は無いので、
     ここで指定すればページ内リンクだけに効く */
  scroll-behavior: smooth;
}

/* 重要なお知らせバーも上に残るので、出ているあいだはその高さぶん足す。
   :has() が使えないブラウザではバーの下に潜るだけで、動作はする */
:root:has(> body[data-road="caution"]),
:root:has(> body[data-road="closed"]) {
  scroll-padding-top: 226px;
}

:root:has(> body.is-alert-dismissed) {
  scroll-padding-top: 166px;
}

/* =========================================================
   道路状況の状態
   body[data-road] を open / caution / closed で出し分けると、
   マークの形・状態色・重要なお知らせバーの表示がまとめて切り替わる。
   状態色はマークと道路状況カードの見出し背景で共有する（Figmaでも同色）
   ========================================================= */
body {
  --status-color: #23c39e;
  /* ヘッダー（とドロワーのパネル）の上端。
     --header-base はデザイン上の余白、--alert-h は重要なお知らせバーの高さ。
     バーも画面の上に残る（position: sticky）ので、
     ヘッダーは常にバーの下に置けばよい。
     --alert-collapse は「閉じたときに詰める量」。閉じると --alert-h と同じ値に
     なり、バーが上へ抜けるのと同じ量ぶんヘッダーも上がる。
     --alert-h 自体は 0 にしない（バーを上へ動かす距離として使うため） */
  --header-base: 30px;
  --alert-h: 0px;
  --alert-collapse: 0px;
  --header-y: calc(var(--header-base) + var(--alert-h) - var(--alert-collapse));
  color: #333;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 1.6rem;
  line-height: 1.8;
  background-color: #efefef;
  -webkit-font-smoothing: antialiased;
}

/* 状態色は重要なお知らせバーの帯と同じ値にそろえている。
   以前は三角が #dfbd15、バツが #ff5b2a で、帯（#ffcc14 / #e64d22）より
   三角は暗く、バツは明るくズレていた */
body[data-road="caution"] {
  --status-color: #ffcc14;
  --alert-h: 60px;
}

body[data-road="closed"] {
  --status-color: #e64d22;
  --alert-h: 60px;
}

/* バーを閉じたら、その高さぶんを詰める。
   上の data-road と同じ詳細度なので、必ずこの順で書く */
body.is-alert-dismissed {
  --alert-collapse: var(--alert-h);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* キーボード操作時のフォーカス表示 */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #3ea1ac;
  outline-offset: 3px;
}

/* =========================================================
   layout
   ========================================================= */
.l-page {
  position: relative;
  overflow-x: clip;
}

/* 全体にかかるノイズテクスチャ */
.l-page__noise {
  position: absolute;
  inset: 0;
  background-image: url(../img/noise.png);
  background-repeat: repeat;
  background-size: 307.2px 307.2px;
  mix-blend-mode: soft-light;
  opacity: 0.7;
  pointer-events: none;
}

.l-inner {
  position: relative;
  /* 1200px 時点でコンテンツ列（お知らせタブ・カード類が必要とする幅）を確保するため
     左右余白は 40px。1240px 以上では min() の 1200px 側が効くので、
     余白は 20px → 100px と自然に増える */
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

/* =========================================================
   component
   ========================================================= */
/* セクション見出し */
.c-sec-head {
  display: block;
  text-align: center;
}

.c-sec-head__ja {
  display: block;
  /* GTranslate で英語などに切り替わると文字数が増えるので、
     囲みから出さないために上限と折り返しを持たせる。
     区切りのない長い単語（固有名詞など）も途中で折り返す */
  max-width: 100%;
  color: #3ea1ac;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 4rem;
  line-height: 32px;
  overflow-wrap: anywhere;
}

.c-sec-head__en {
  display: block;
  margin-top: 24px;
  color: #333;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.96px;
  text-transform: uppercase;
}

.c-sec-head--left {
  text-align: left;
}

.c-sec-head--left .c-sec-head__en {
  margin-top: 18px;
}

.c-sec-head--white .c-sec-head__ja,
.c-sec-head--white .c-sec-head__en {
  color: #fff;
}

.c-sec-head--white .c-sec-head__ja {
  line-height: 1.32;
}

.c-sec-head--white .c-sec-head__en {
  font-family: "Open Sans", sans-serif;
}

/* 丸矢印ボタン */
.c-arrow-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  flex: none;
  /* 矢印が円の外へ抜ける動きを円の内側で隠すため */
  overflow: hidden;
}

.c-arrow-btn img {
  width: 16.33px;
  height: 9.8px;
}

.c-arrow-btn--sm {
  width: 30px;
  height: 30px;
}

.c-arrow-btn--sm img {
  width: 12.25px;
  height: 7.35px;
}

.c-arrow-btn--lg {
  width: 44px;
  height: 44px;
}

/* 外部リンクの丸ボタン（丸のサイズは 40px のまま）。
   アイコンは 12x12 の正方形で、SVG は線幅 0.5px 分の余白を含む 13x13。
   共通指定の 16.33x9.8 が効くと正方形が横長に潰れるので上書きする */
.c-arrow-btn--ext img {
  width: 13px;
  height: 13px;
}

/* テキスト＋丸矢印のリンク */
.c-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

/* 高さは下限にする。固定だと翻訳で2行になったときに
   2行目が下線の外へはみ出して切れて見える */
.c-link__text {
  display: inline-block;
  min-height: 28px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5;
  border-bottom: 1.5px solid currentColor;
}

.c-link__text--dark {
  color: #333;
}

/* LANGUAGE ボタン */
.c-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 115px;
  height: 28px;
  background-color: #333;
  border-radius: 14px;
  color: #fff;
  flex: none;
}

.c-lang__globe {
  width: 9.63px;
  height: 9.63px;
}

.c-lang__text {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* ボタンとドロップダウンの入れ物。ドロップダウンの基準位置になる */
.c-lang-wrap {
  position: relative;
  flex: none;
}

/* 言語ドロップダウン。幅はボタンと同じ 115px */
.c-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  width: 115px;
  /* 上下 11px は、デザインの余白 17.5px から
     行の余白（line-height 1.5 の上下 6.2px ぶん）を引いた値。
     これで枠の高さがデザインの 149px に合う。
     左右 10px は丸の左に余白を残すための値 */
  padding: 11px 10px;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
  /* display: none だとフェードが効かないので visibility で出し入れする。
     visibility は途中の値を持たないため、閉じるときは
     透明になり切ってから消える（transition の時間を揃えてある） */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.c-lang__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* 現在の言語に付く緑の丸を置くための余白。
   丸（5px）＋丸と文字の間（11px）ぶん文字を右に寄せる */
.c-lang__item {
  position: relative;
  padding-left: 16px;
}

/* GTranslate の [gt-link] が出す <a>。クラスは付けられないので要素で当てる */
.c-lang__item a {
  display: block;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.8px;
}

/* ホバーで色が変わるので、変化をなめらかにする */
.c-lang__item a {
  transition: color 0.3s ease;
}

/* 日本語（=既定の言語）だけ少し太い */
.c-lang__item:first-child a {
  font-weight: 500;
}

/* いま表示している言語。base.js が .gt-current-lang を付け替える */
.c-lang__item a.gt-current-lang {
  color: #01a491;
}

/* 位置の基準は .c-lang__item（padding の外側）。
   left: 0 だと枠の内側の余白（10px）の位置＝縁寄りになるので、
   5px 右にずらして文字寄りに置く（丸の左 15px / 丸と文字の間 6px） */
.c-lang__item a.gt-current-lang::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #01a491;
  transform: translateY(-50%);
}

/* JS が動かない環境ではここで隠したまま。
   JS は読み込み時に hidden を外して、以降は .is-open で切り替える */
.c-lang__menu[hidden] {
  display: none;
}

.c-lang-wrap.is-open .c-lang__menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* 開いているあいだは矢印を上向きに、ボタンはホバーと同じ色にする */
.c-lang-wrap.is-open .c-lang {
  background-color: #3ea1ac;
}

.c-lang-wrap.is-open .c-lang__caret {
  transform: rotate(0deg);
}

.c-lang__caret {
  width: 6px;
  height: 3px;
  transform: rotate(180deg);
}

/* =========================================================
   SP専用要素（PCでは非表示）
   ========================================================= */
.l-header__toggle,
.l-menu,
.l-float-sns,
.-u-pc-none {
  display: none;
}

/* 画面には出さず、読み上げにだけ伝える（表のキャプションなど） */
.-u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   道路状況の詳細モーダル
   ========================================================= */
.c-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 言語メニューと同じ考え方で、display ではなく visibility で出し入れする */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s ease, visibility 0.32s;
}

.c-modal.is-open {
  visibility: visible;
  opacity: 1;
}

/* JS が動かない環境ではここで隠したまま。
   JS は読み込み時に hidden を外して、以降は .is-open で切り替える */
.c-modal[hidden] {
  display: none;
}

.c-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

/* 位置は動かさず、その場で出す（フェードは外側の .c-modal が持つ）。
   以前は下から浮き上がる動き（translateY + scale）を付けていた */
.c-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(980px, calc(100% - 40px));
  /* 本文が短いとパネルが潰れるので、デザイン実測値の高さを下限にする。
     画面が低いときは下限より画面を優先する（min() で頭を押さえる） */
  min-height: min(403px, calc(100dvh - 80px));
  /* 本文（WPで可変）が長いとき、パネルはここまで伸びて、
     あとは .c-modal__detail だけがスクロールする */
  max-height: calc(100dvh - 80px);
  padding: 32px 75px 40px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 40px rgba(72, 86, 71, 0.16);
}

/* 見出しの下の罫線。デザインでは左右75pxインセット */
.c-modal__title {
  flex: none;
  padding-bottom: 25px;
  border-bottom: 1px solid #d0d0d0;
  color: #333;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.4;
  text-align: center;
}

.c-modal__close {
  position: absolute;
  top: 12px;
  right: 13px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.c-modal__close::before,
.c-modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2.4px;
  background-color: #333;
}

.c-modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.c-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* 本文が少ないときに見出しとのあいだが空かないよう、
   flex: 1 で伸ばさず、中身も上揃えにする */
/* パネル（縦並びの flex）の残り高さいっぱいを使い、足りなければ縮む。
   flex: none だと中身の高さのままになり、詳細がパネルからはみ出す */
.c-modal__body {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-start;
  gap: 62px;
  min-height: 0;
  margin-top: 48px;
}

/* マークと状態テキストは中央で揃える */
.c-modal__state {
  display: flex;
  flex: none;
  align-items: center;
  gap: 20px;
}

/* モーダル内のマーク。丸はデザイン実測値 84px・枠線12px */
.p-status__mark {
  display: block;
  flex: none;
  width: 84px;
  height: 84px;
  border: 12px solid var(--status-color);
  border-radius: 50%;
}

body[data-road="caution"] .p-status__mark,
body[data-road="closed"] .p-status__mark {
  border: 0;
  border-radius: 0;
  background-color: var(--status-color);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* 三角・バツのサイズはモーダル版のデザインが無いため、
   カードの比率（丸73.92 → モーダル84 ＝ 1.136倍）で換算した値 */
body[data-road="caution"] .p-status__mark {
  width: 102px;
  height: 102px;
  -webkit-mask-image: url(../img/mark-triangle.svg);
  mask-image: url(../img/mark-triangle.svg);
}

body[data-road="closed"] .p-status__mark {
  width: 68px;
  height: 66.7px;
  -webkit-mask-image: url(../img/mark-cross.svg);
  mask-image: url(../img/mark-cross.svg);
}

.c-modal__state-text {
  /* 道路状況カードのタイトルと同じ文字（管理画面で自由に入力できる）が入る。
     親の .c-modal__state は flex: none で縮まないので、ここで幅に頭を
     押さえないと、長い文字がそのままパネルの外へ伸びてしまう。
     240px はデザインの文字ブロックの幅（「通行止めや規制は」＝8文字 × 30px）。
     デザイン通りの文面なら折り返し位置は変わらない。
     min-width: 0 と overflow-wrap は、区切りのない長い英数字用 */
  min-width: 0;
  max-width: 240px;
  color: #333;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* 本文（WPで可変）が長いとき、ここだけスクロールさせる。
   高さは画面から逆算せず、親（.c-modal__body）の高さに合わせる。
   align-self: stretch ＋ min-height: 0 で「親の残り高さぴったり」になるので、
   見出しやマークの高さが変わってもパネルからはみ出さない */
/* 幅は「デザインの本文幅 400px ＋ 右の余白 20px」。
   overflow: auto のスクロールバーは padding の外側に出るので、
   padding-right が本文とスクロールバーの間の逃げになる。
   scrollbar-gutter: stable は、本文が短くてスクロールが出ないときも
   同じ幅を確保して、文字の折り返し位置が変わらないようにするため */
.c-modal__detail {
  width: 420px;
  align-self: stretch;
  min-height: 0;
  padding-right: 20px;
  overflow-y: auto;
  scrollbar-gutter: stable;
  /* 端まで来たときにページ側へスクロールが連鎖しないようにする */
  overscroll-behavior: contain;
  color: #111827;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2;
}

/* スクロールバーは細く控えめに */
.c-modal__detail {
  scrollbar-width: thin;
  scrollbar-color: #c9c9c9 transparent;
}

.c-modal__detail::-webkit-scrollbar {
  width: 6px;
}

.c-modal__detail::-webkit-scrollbar-track {
  background-color: transparent;
}

.c-modal__detail::-webkit-scrollbar-thumb {
  background-color: #c9c9c9;
  border-radius: 3px;
}

/* 管理画面で空行を入れたところは段落（<p>）になる。destyle で段落の余白が
   消えているので、ここで段落のあいだを空ける（2026-11-27。以前は空行を入れても見た目が変わらなかった） */
.c-modal__detail p + p {
  margin-top: 1em;
}

/* 詳細の中のリンク（管理画面で「[文字](URL)」と書いたもの。別タブで開く）。
   見た目はよくある質問の文中リンク（.p-faq__notice a）と同じ */
.c-modal__detail a {
  color: #3ea1ac;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* モーダル・ドロワーを開くと body の overflow を切るため、
   スクロールバーの幅ぶん中身が横にずれて「かくっ」と動く。
   scrollbar-gutter で常にバーの幅を確保しておけばずれない。
   未対応ブラウザ向けには js/main.js が padding-right で補う */
html {
  scrollbar-gutter: stable;
}

body.is-modal-open {
  overflow: hidden;
}

/* =========================================================
   重要なお知らせバー
   body[data-road="closed"] のときだけ表示する。
   通常フローの先頭に置いてあるので、表示すると main が押し下がる。
   ヘッダーは fixed なので、バーのぶんの位置合わせは
   body の --alert-h（＝--header-y）で面倒を見ている。
   バー自体もスクロール中は画面の上に貼り付く
   ========================================================= */
.l-alert {
  /* スクロールしても画面の上に残す。
     通常フローに置いたまま貼り付くので、下の中身の位置は変わらない */
  position: sticky;
  top: 0;
  z-index: 110;
  /* 閉じたとき、バーは transform で上へ抜け、
     margin-bottom（負の値）で下の中身が同じ速さで詰まる。
     margin-top を使うと sticky の固定位置に引っかかって動かないので、
     必ず margin-bottom 側で詰める */
  margin-bottom: calc(-1 * var(--alert-collapse));
  transform: translateY(calc(-1 * var(--alert-collapse)));
  display: none;
  align-items: center;
  gap: 9px;
  /* 本文は管理画面から入るので長さが変わる。高さは固定せず、
     デザイン実測値の 60px を下限にして、長い本文では下へ伸ばす。
     実際の高さは js/main.js が --alert-h に入れ直すので、
     ヘッダーの位置と閉じるときの移動量もそれに追従する */
  min-height: 60px;
  /* 右は 60px。バツボタン（右端から約19px）の下に本文が回り込まないよう、
     左の 44px より広く取っている。バツは padding の外側に絶対配置なので、
     ここを広げてもバツの位置は動かない */
  padding: 12px 60px 12px 44px;
  color: #fff;
}

body[data-road="caution"] .l-alert,
body[data-road="closed"] .l-alert {
  display: flex;
}

/* 通行止めは赤、規制ありは黄色。
   黄色に白文字だとコントラスト比が 1.5:1 しかなく読めないので、
   規制ありのときは文字・罫線・バツを #333 にする（8.4:1）。
   罫線とバツは currentColor 指定なので文字色に追従する */
body[data-road="closed"] .l-alert {
  background-color: #e64d22;
}

body[data-road="caution"] .l-alert {
  background-color: #ffcc14;
  color: #333;
}

/* アイコンと「＋」は白い SVG なので、明度を落として #333 にする
   （白 255 × 0.2 = 51 = #333）。画像を2種類持たなくて済む */
body[data-road="caution"] .l-alert__icon,
body[data-road="caution"] .l-alert__more img {
  filter: brightness(0.2);
}

/* 閉じるボタンで消したとき。
   display: none だと動きが付けられないので visibility で隠す。
   visibility は途中の値を持たないため、上へ抜け切ってから消える。
   data-road は変えないので、道路状況カードの色は赤のまま残る */
body.is-alert-dismissed .l-alert {
  visibility: hidden;
}

/* バーを閉じる動きは、初回描画のあとだけ有効にする。
   前回閉じた状態を localStorage から復元するときに動いてしまうと、
   ページを開くたびにバーがスライドして消えることになるため。
   .is-anim-ready は js/main.js が最初の描画のあとに付ける */
body.is-anim-ready .l-alert {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    margin-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
}

/* ヘッダーもバーと同じ速さで上へ詰める */
body.is-anim-ready .l-header {
  transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.l-alert__icon {
  display: block;
  flex: none;
  width: 18.34px;
  height: 17.31px;
}

.l-alert__body {
  display: flex;
  align-items: center;
  gap: 28px;
  /* 中身の幅ぶんだけ使い、狭いときだけ縮む。
     広げてしまうと「詳細をみる」が右端まで飛んでいく（デザインは本文の直後） */
  flex: 0 1 auto;
  min-width: 0;
}

/* 見出しは絶対に縮めない。縮むと「重要なお知らせ」が潰れてしまう */
.l-alert__label {
  flex: none;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.2;
  white-space: nowrap;
}

/* ラベルと本文のあいだの縦罫線。デザインでは高さ21pxの線 */
.l-alert__text {
  display: flex;
  align-items: center;
  /* デザインでは縦罫線の左右がどちらも 28px */
  gap: 28px;
  /* 長い本文はここだけが縮んで折り返す */
  flex: 0 1 auto;
  min-width: 0;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.3;
  /* カードのタイトルと同じ文字が入るので、こちらも折り返せるようにする */
  overflow-wrap: anywhere;
}

.l-alert__text::before {
  content: "";
  flex: none;
  width: 1px;
  height: 21px;
  background-color: currentColor;
}

/* 下線付きの白いテキストリンク。
   下線はデザイン実測値で、文字の左右に 4px はみ出し、
   文字の下 5px の位置に 1px で入る */
.l-alert__more {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 12px;
  /* 下線ぶん（padding 5px ＋ 線 1px）だけ箱が下に伸びているので、
     align-items: center だと文字が本文より 3px 高く見える。
     margin-top を 6px 入れると箱が 3px 下がり、文字の高さが揃う。
     左の 19px は、.l-alert__body の外へ出したことで失われた
     デザイン値 28px との差（.l-alert の gap 9px ＋ 19px ＝ 28px） */
  margin: 6px 0 0 19px;
  padding: 0 4px 5px;
  border-bottom: 1px solid currentColor;
  /* 色はバーの文字色に合わせる（赤帯＝白 / 黄帯＝#333） */
  color: inherit;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 14px;
  cursor: pointer;
}

.l-alert__more img {
  display: block;
  width: 11px;
  height: 11px;
}

/* バーの上のボタン2つ（「詳細をみる」とバツ）は、
   帯の色が状態で変わるので色替えではなくフェードで反応させる。
   離したときも同じ時間でゆっくり戻る */
.l-alert__more,
.l-alert__close {
  transition: opacity 0.3s ease;
}

/* 閉じるボタン。線はCSSで引く（デザインは白い×） */
.l-alert__close {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  cursor: pointer;
}

.l-alert__close::before,
.l-alert__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1.5px;
  /* バーの文字色に合わせる（赤帯＝白 / 黄帯＝#333） */
  background-color: currentColor;
}

.l-alert__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.l-alert__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* =========================================================
   header
   ========================================================= */
.l-header {
  /* スクロールしても付いてくるように fixed にしている。
     absolute と同じく通常フローから外れるので、レイアウトは変わらない */
  position: fixed;
  top: var(--header-y);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1328px, calc(100% - 72px));
  /* PC は2段組み（上段：ロゴ・よくある質問・お問い合わせ・LANGUAGE ／ 下段：ナビ）。
     2026-11-19 に1段（80px）から変更。Figma 2745:5498 */
  height: 120px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 40px rgba(72, 86, 71, 0.08);
}

.l-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 34px 0 35px;
}

.l-header__logo {
  flex: none;
  width: 184px;
}

.l-header__logo img {
  display: block;
  width: 184px;
  height: 27px;
  object-fit: contain;
}

/* --- PC（1200px 以上）は2段組み ---
   上段 56px：ロゴ ／ よくある質問・お問い合わせ ／ LANGUAGE
   下段 64px：ナビ（中央そろえ・項目のあいだに縦線）。段の境目に横線 */
@media (min-width: 1200px) {
  .l-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    grid-template-rows: 56px 64px;
    align-items: start;
    padding: 0 32px;
  }

  .l-header__logo {
    grid-area: 1 / 1;
    margin-top: 20px;
  }

  .l-header__sub {
    grid-area: 1 / 3;
    margin-top: 22px;
  }

  .l-header .c-lang-wrap {
    grid-area: 1 / 4;
    margin-top: 16px;
  }

  /* 段の境目の横線はヘッダーの左右 30px 内側まで（Figma の 1268px） */
  .l-header__nav {
    grid-area: 2 / 1 / 3 / -1;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: -2px;
    border-top: 1px solid #ededed;
  }
}

.l-header__sub {
  display: flex;
  gap: 34px;
}

.l-header__sub-item {
  font-size: 1.3rem;
  line-height: 16px;
  white-space: nowrap;
}

.l-header__sub-item > a {
  position: relative;
  display: inline-block;
}

.l-header__list {
  /* 項目と縦線のあいだ（デザインは 38px）。1440px 付近まではデザイン値で、
     1200px（ヘッダーの内側 約1064px）でも収まるよう段差なく詰める */
  --nav-gap: clamp(20px, calc((100vw - 846px) / 12), 38px);
  display: flex;
  align-items: center;
  gap: calc(var(--nav-gap) * 2 + 1px);
}

.l-header__item {
  position: relative;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}

/* 項目のあいだの縦線（高さ 30px） */
.l-header__item + .l-header__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(var(--nav-gap) * -1 - 1px);
  width: 1px;
  height: 30px;
  background-color: #ededed;
  transform: translateY(-50%);
}

.l-header__item--has-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.l-header__caret {
  display: block;
  width: 5.66px;
  height: 5.66px;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  transform: rotate(45deg);
  margin-top: -3px;
}

/* 「料金」は下層3ページへのドロップダウンを開くボタン。
   見た目はほかのナビ項目と同じにする */
.l-header__child-toggle {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* ドロップダウン本体。作りは LANGUAGE のポップアップと同じで、
   幅だけは中身（最長「プリペイドカード」）に合わせて広くしている */
.l-header__child {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 30;
  width: 200px;
  padding: 10px 0;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

/* JS が動かない環境ではここで隠したまま。
   JS は読み込み時に hidden を外して、以降は .is-open で切り替える */
.l-header__child[hidden] {
  display: none;
}

.l-header__item--has-child.is-open .l-header__child {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* 開いているあいだは矢印を上向きにする */
.l-header__item--has-child.is-open .l-header__caret {
  margin-top: 3px;
  transform: rotate(-135deg);
}

/* 各項目はドロワーメニューと同じで、右端に「＞」を置く */
.l-header__child-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 16px;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0.8px;
}

.l-header__child-list img {
  flex: none;
  width: 5px;
  height: 9px;
}

/* ボタンはドロップダウンのラッパーに包まれているので、余白はラッパー側に持たせる */
.l-header .c-lang-wrap {
  margin-left: 35px;
}

/* 縦組み Follow us（PCのみ。SPは右下の .l-float-sns が同じ役割） */
/* 画面右端に固定してスクロールに追従させる。
   お知らせセクション内に absolute で置くと、セクション高さ417pxのうち
   要素が 117〜308px を占めるため、sticky にしても動ける距離が
   110px しかなく追従にならない。そのため fixed にしている。
   z-index はヘッダー(100)より下、SPの追従SNSと同じ 90 */
.p-news__follow {
  position: fixed;
  top: 50%;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48px;
  transform: translateY(-50%);
  /* 既定は非表示。お知らせ〜フッター手前の間だけ js/main.js が
     .is-visible を付け外しする */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.p-news__follow.is-visible {
  opacity: 1;
  visibility: visible;
}

.p-news__follow-label {
  display: block;
  height: 56px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 20px;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.p-news__sns {
  margin-top: 20px;
}

.p-news__sns:last-child {
  margin-top: 19px;
}

.p-news__sns img {
  display: block;
  width: 48px;
  height: 48px;
}

/* =========================================================
   footer
   ========================================================= */
.l-footer {
  position: relative;
  height: 376px;
  background-color: #333;
  color: #fff;
}

.l-footer__body {
  position: relative;
  height: 334px;
}

.l-footer__company {
  position: absolute;
  top: 0;
  left: 6px;
}

.l-footer__logo-mark {
  position: absolute;
  top: 53px;
  left: 3px;
  width: 143px;
  height: 87px;
  max-width: none;
}

.l-footer__logo-text {
  position: absolute;
  top: 145px;
  left: 1px;
  width: 145px;
  height: 28px;
  max-width: none;
}

/* nowrap だと翻訳で住所が長くなったときに右のナビ（left: 319px）へ
   はみ出すので、折り返しを許して手前で止める幅を持たせる
   （319 － 会社ブロックの left 6px － 間隔 33px ＝ 280px）。
   max-width ではなく width で持たせているのは、親（.l-footer__company）が
   幅を持たない絶対配置なので、上限だけだと折り返し幅が 1文字分まで
   潰れてしまうため。日本語（実測196px）は 280px の中に収まる */
.l-footer__address {
  position: absolute;
  top: 188px;
  left: 0;
  width: 280px;
  font-size: 1.4rem;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* iOS は住所を見つけると勝手に <a x-apple-data-detectors> で包み、
   点線と地図へのリンクを付けてしまう。<head> の format-detection で
   止めているが、効かない環境のために見た目と操作も打ち消しておく */
.l-footer__address a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none;
}

.l-footer__sns {
  position: absolute;
  top: 251px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.l-footer__sns img {
  display: block;
  max-width: none;
}

.l-footer__sns a:first-child img {
  width: 27px;
  height: 28px;
}

.l-footer__sns a:last-child img {
  width: 34.3px;
  height: 34.8px;
}

/* gap を最小値にして space-between で配る。コンテンツ列 1200px では
   隙間 49px ＝ デザイン値と一致する */
.l-footer__nav {
  position: absolute;
  top: 76px;
  right: 0;
  left: 319px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: auto;
}

/* SPの2列グルーピング用ラッパー。PCでは中身をそのまま並べる */
.l-footer__group {
  display: contents;
}

.l-footer__group--sub {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.l-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
}

.l-footer__col--toll {
  width: 112px;
}

.l-footer__col--sub {
  font-size: 1.2rem;
  font-weight: 400;
}

.l-footer__line {
  position: absolute;
  top: 334px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #8d8d8d;
  border: 0;
}

.l-footer__copy {
  position: absolute;
  top: 345px;
  right: -9px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 16px;
  text-align: right;
}

/* =========================================================
   SP（767px以下）
   デザイン幅375pxを基準に、横位置は % で可変にしている
   ========================================================= */
@media (max-width: 1199px) {
  body.is-menu-open {
    overflow: hidden;
  }

  .l-inner {
    width: calc(100% - 24px);
  }

  /* --- ユーティリティ --- */
  .-u-sp-none {
    display: none;
  }

  .-u-pc-none {
    display: inline;
  }

  /* --- component --- */
  .c-sec-head,
  .c-sec-head--left {
    text-align: center;
  }

  .c-sec-head__ja {
    font-size: 2.8rem;
    line-height: 1.3;
  }

  .c-sec-head__en,
  .c-sec-head--left .c-sec-head__en {
    margin-top: 3px;
    font-size: 1.1rem;
    letter-spacing: 0.66px;
  }

  .c-arrow-btn {
    width: 32px;
    height: 31px;
  }

  .c-arrow-btn--lg {
    width: 35px;
    height: 35px;
  }

  .c-arrow-btn--lg img {
    width: 12.99px;
    height: 7.79px;
  }

  /* 丸が 32px（PC 40px の 0.8 倍）なので、アイコンも同じ比率で縮める */
  .c-arrow-btn--ext img {
    width: 10.4px;
    height: 10.4px;
  }

  .c-link {
    gap: 8px;
  }

  .c-link__text {
    min-height: 27px;
    height: auto;
    font-size: 1.4rem;
    border-bottom-width: 1px;
  }

  /* ナビが無くなって場所に余裕があるので、PC（115×28）より小さくしつつ
     読める大きさを確保する。幅は中身に合わせ、左右の余白で調整する */
  .c-lang {
    width: auto;
    height: 26px;
    gap: 5px;
    padding-inline: 13px;
    border-radius: 13px;
  }

  .c-lang__globe {
    width: 11px;
    height: 11px;
  }

  .c-lang__text {
    font-size: 1.2rem;
  }

  .c-lang__caret {
    display: none;
  }

  /* ボタンが PC より小さいので、115px の枠は右端を合わせて内側に開く */
  .c-lang__menu {
    right: 0;
    left: auto;
    top: calc(100% + 6px);
  }

  /* --- 重要なお知らせバー ---
     横並びのままで 768px まで粘る（縦積みは 767px 以下だけ）。
     ヘッダーのずらし量はバーの高さに合わせて 2段階 */
  body[data-road="caution"] .l-alert,
  body[data-road="closed"] .l-alert {
    display: flex;
  }

  /* --- 道路状況の詳細モーダル --- */
  /* 基底の min-height はPC用なので打ち消す。max-height は画面に合わせて詰める */
  .c-modal__panel {
    width: min(331px, calc(100% - 24px));
    min-height: 0;
    max-height: calc(100dvh - 48px);
    padding: 26px 25px 32px;
    border-radius: 6px;
  }

  /* 下線は PC と同じように引く。余白だけ文字サイズに合わせて詰める */
  .c-modal__title {
    padding-bottom: 18px;
    font-size: 2.2rem;
  }

  .c-modal__close {
    top: 4px;
    right: 4px;
  }

  .c-modal__close::before,
  .c-modal__close::after {
    width: 20px;
    height: 2px;
  }

  /* SPは縦並び。詳細だけをスクロールさせるため block ではなく flex にする */
  .c-modal__body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 26px;
  }

  .c-modal__state {
    flex: none;
    margin-top: 0;
  }

  .c-modal__state {
    gap: 12px;
  }

  .p-status__mark {
    width: 60.94px;
    height: 60.81px;
    border-width: 10px;
  }

  body[data-road="caution"] .p-status__mark {
    width: 72px;
    height: 72px;
  }

  body[data-road="closed"] .p-status__mark {
    width: 49px;
    height: 48px;
  }

  /* SPは本文が縦積みになり横幅を使えるので、PC用の上限は外す */
  .c-modal__state-text {
    max-width: none;
    font-size: 2.4rem;
  }

  /* SPは縦並びなので、詳細は縦方向の残りを使う。
     max-height の決め打ちは解除する（画面高さから逆算すると
     マークや見出しの高さが変わったときに合わなくなる） */
  .c-modal__detail {
    width: auto;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    margin-top: 24px;
    padding-right: 14px;
    font-size: 1.5rem;
    line-height: 1.8;
  }

  /* --- header --- */
  /* SP・タブレットはヘッダーの余白が 12px */
  body {
    --header-base: 12px;
  }

  /* 余白 12px ＋ ヘッダー 65px ＋ 少しの余白 */
  html {
    scroll-padding-top: 89px;
  }

  :root:has(> body[data-road="caution"]),
  :root:has(> body[data-road="closed"]) {
    scroll-padding-top: 149px;
  }

  :root:has(> body.is-alert-dismissed) {
    scroll-padding-top: 89px;
  }

  .l-header {
    width: calc(100% - 24px);
    height: 65px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(72, 86, 71, 0.08);
  }

  .l-header__inner {
    padding: 0 20px 0 18px;
  }

  .l-header__logo,
  .l-header__logo img {
    width: 169px;
  }

  .l-header__logo img {
    height: 24px;
  }

  .l-header__nav,
  .l-header__sub {
    display: none;
  }

  .l-header .c-lang-wrap {
    margin-left: auto;
  }

  /* 三本線（31×16px・線2px）。メニューを開くとそのままバツに変形する */
  .l-header__toggle {
    position: relative;
    display: block;
    flex: none;
    width: 31px;
    height: 16px;
    margin-left: 12px;
  }

  .l-header__toggle span {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    /* 中央の線は消えるだけなので、太さの変わり目が出ないよう
       3本とも同じ時間・同じイージングで動かす */
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease,
      background-color 0.3s ease;
  }

  .l-header__toggle span:nth-child(1) {
    top: 0;
  }

  .l-header__toggle span:nth-child(2) {
    top: 7px;
  }

  .l-header__toggle span:nth-child(3) {
    top: 14px;
  }

  /* 上下の線は中央（7px）へ寄せてから回し、
     scaleX でデザインのバツの長さ（24px ÷ 31px）に縮める */
  body.is-menu-open .l-header__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) scaleX(0.774);
  }

  body.is-menu-open .l-header__toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.4);
  }

  body.is-menu-open .l-header__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) scaleX(0.774);
  }

  .p-news__follow {
    display: none;
  }

  /* --- footer --- */
  .l-footer {
    height: auto;
    padding-bottom: 22px;
  }

  /* SPの見た目の順序は 会社情報 → 区切り線 → ナビ → 区切り線 → コピーライト。
     HTMLでは区切り線が .l-footer__body の外にあるので、body の箱を
     display: contents で消して order で並べ替える */
  .l-footer .l-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .l-footer__body {
    height: auto;
    display: contents;
  }

  /* 元は position: absolute のままだったため、子の left: 10.08% などが
     幅0の箱に対する % となって 0 に潰れ、ロゴと住所が左端に張り付いていた */
  .l-footer__company {
    position: static;
    order: 1;
    left: auto;
  }

  .l-footer__logo-mark {
    position: static;
    top: auto;
    display: block;
    width: 129.19px;
    height: 78.6px;
    margin: 64.6px 0 0 10.08%;
  }

  .l-footer__logo-text {
    position: static;
    top: auto;
    display: block;
    width: 131px;
    height: 25.3px;
    margin: 4.5px 0 0 9.6%;
  }

  .l-footer__address {
    position: static;
    top: auto;
    /* この幅ではナビが下に回るので、PC 側の固定幅は外す */
    width: auto;
    margin: 15px 0 0 9.33%;
  }

  .l-footer__sns {
    position: static;
    top: auto;
    margin: 21px 0 0 9.33%;
    gap: 28px;
  }

  .l-footer__nav {
    position: static;
    top: auto;
    order: 3;
    display: grid;
    grid-template-columns: 57.4% 42.6%;
    gap: 22px 0;
    width: 81.34%;
    margin: 32px 0 0 9.33%;
  }

  .l-footer__group {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .l-footer__group--sub {
    display: contents;
  }

  .l-footer__col {
    line-height: 1.1;
  }

  .l-footer__col--toll {
    width: auto;
  }

  .l-footer__col--sub {
    line-height: 16px;
  }

  /* 生成順に注意。--sp 側の要素は class に l-footer__line も付いているので、
     汎用ルールを先に書き、--sp の上書きを後に置く
     （元は逆で、SP用の区切り線が下端の線と同じ位置に重なっていた） */
  .l-footer__line {
    position: static;
    top: auto;
    order: 4;
    width: 83.2%;
    margin: 18px 0 0 8.4%;
  }

  .l-footer__line--sp {
    display: block;
    order: 2;
    margin-top: 28.2px;
  }

  .l-footer__copy {
    position: static;
    top: auto;
    order: 5;
    right: auto;
    margin: 17px 0 0 9.33%;
    text-align: left;
  }

  /* --- 追従SNSボタン --- */
  body.is-menu-open .l-float-sns {
    display: none;
  }

  /* 既定は非表示。ヒーローを抜けてからフッター手前までの間だけ
     js/main.js が .is-visible を付け外しする */
  .l-float-sns {
    position: fixed;
    right: 14px;
    bottom: 23px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 11px;
    opacity: 0;
    visibility: hidden;
    /* 透明度だけだとパッと切り替わって見えるので、
       少し下から浮き上がる動きを足してゆっくり出入りさせる */
    transform: translateY(10px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
      visibility 0.7s;
  }

  .l-float-sns.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .l-float-sns img {
    display: block;
    width: 40px;
    height: 40px;
  }

  /* --- ドロワーメニュー --- */
  /* 暗い下敷きは ::before に持たせて、そこだけフェードさせる。
     .l-menu 自体を透過させると中のパネルまで透けてしまい、
     閉じるときにヘッダーとの継ぎ目が見えてしまう */
  .l-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    /* visibility はパネルが縮み切るまで残す（下の clip-path と同じ 0.4s） */
    transition: visibility 0.4s;
  }

  .l-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(51, 51, 51, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .l-menu.is-open {
    visibility: visible;
  }

  .l-menu.is-open::before {
    opacity: 1;
  }

  /* ヘッダーの真下から始める。ロゴ・LANGUAGE・三本線はヘッダーのものが
     そのまま見えるので、パネルはメニューの中身だけを持つ。
     8px ぶんヘッダーの下に潜り込ませているのは、ヘッダーの角丸（8px）の
     切り欠きから下敷きが見えないようにするため。
     開くと clip-path で下へ伸びて「ヘッダーが伸びた」ように見える */
  .l-menu__panel {
    position: absolute;
    top: calc(var(--header-y) + 65px - 8px);
    left: 50%;
    width: calc(100% - 24px);
    max-height: calc(100vh - var(--header-y) - 65px - 4px);
    /* 100vh はアドレスバー・下部バーを含まない高さなので、
       バーが出ているとパネルの下が隠れてしまう。
       svh（バーが出ている状態の高さ）で測り直す。
       dvh はスクロール中にバーが出入りするたび高さが変わって
       中身が跳ねるため使わない。上の 100vh は svh 非対応環境用 */
    max-height: calc(100svh - var(--header-y) - 65px - 4px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #fff;
    /* 上端はヘッダーに隠れるので角丸なし。下端だけ丸める */
    border-radius: 0 0 8px 8px;
    transform: translateX(-50%);
    clip-path: inset(0 0 100% 0 round 0 0 8px 8px);
    transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .l-menu.is-open .l-menu__panel {
    clip-path: inset(0 0 0 0 round 0 0 8px 8px);
  }

  /* ヘッダーは常にドロワー（z-index 200）より手前に置く。
     「開いているあいだだけ」にすると、閉じた瞬間にヘッダーが後ろへ戻り、
     まだ消えかけている下敷きがヘッダーに被って一瞬灰色に見えてしまう */
  .l-header {
    z-index: 210;
  }

  /* デザインではロゴの行の下に区切り線が入る。
     ヘッダーは角丸のカードなので、線は内側に絶対配置で引く */
  .l-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background-color: #d4d4d4;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  body.is-menu-open .l-header::after {
    opacity: 1;
  }

  /* パネル内のスクロール範囲。ヘッダーの下から下端まで。
     上の 8px は、パネルをヘッダーに潜り込ませているぶんの逃げ。
     これが無いと1つ目の項目がヘッダーに隠れる */
  .l-menu__scroll {
    flex: 1 1 auto;
    min-height: 0;
    padding-top: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .l-menu__list li,
  .l-menu__sub li {
    height: 48px;
    border-bottom: 1px solid #d4d4d4;
  }

  .l-menu__list a,
  .l-menu__sub a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 22.29px;
    color: #333;
    font-weight: 500;
  }

  .l-menu__list a {
    font-size: 1.6rem;
    line-height: 23.4px;
  }

  .l-menu__list img,
  .l-menu__sub img {
    flex: none;
    width: 5.01px;
    height: 9.35px;
  }

  .l-menu__sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .l-menu__sub li:nth-child(odd) {
    border-right: 1px solid #d4d4d4;
  }

  .l-menu__sub a {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .l-menu__foot {
    padding: 11px 0 15px;
    background-color: #f5f5f5;
    border-radius: 0 0 8px 8px;
    text-align: center;
  }

  .l-menu__tel-label {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1;
  }

  .l-menu__tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 26px;
    color: #333;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 2rem;
    line-height: 25.83px;
  }

  .l-menu__tel img {
    width: 22.07px;
    height: 12.63px;
  }

  .l-menu__sns {
    display: flex;
    justify-content: center;
    gap: 31px;
    margin-top: 4px;
    padding-top: 15px;
    border-top: 1px solid #d4d4d4;
  }

  .l-menu__sns img {
    display: block;
    max-width: none;
    height: 21px;
  }
}

/* =========================================================
   狭い端末（374px以下）
   デザイン幅375px前提のため、はみ出す箇所だけ微調整する
   ========================================================= */
/* =========================================================
   タブレット（768〜1199px）
   道路状況カードは重要な情報なので、この幅までは PC と同じ
   「ヒーロー右上」に残し、スクロールせずに見える位置を保つ。
   縦積みになるのは SP（767px以下）だけ
   ========================================================= */
@media (min-width: 768px) and (max-width: 1199px) {
  /* バーは横1列のまま。左の余白と間隔だけ詰めて収める。
     右の 44px はバツボタンのぶんの逃げ（本文が回り込まないように）。
     上下は基底と同じ 12px を残す（打ち消すと本文が増えても伸びなくなる） */
  .l-alert {
    padding: 12px 44px 12px 16px;
  }

  .l-alert__body {
    gap: 16px;
  }

  /* 本文との間隔もこの幅帯の 16px に合わせる（gap 9px ＋ 7px） */
  .l-alert__more {
    margin-left: 7px;
  }

  .l-alert__close {
    right: 0;
  }

  /* 丸矢印も PC と同じ 30px・同じ位置に戻す。
     1199px 以下の「ラベルの中心に合わせる」指定（margin-top ＋ transform）は
     ここでは要らないので打ち消す */
  .c-arrow-btn--sm {
    width: 30px;
    height: 30px;
  }

  .c-arrow-btn--sm img {
    width: 12.25px;
    height: 7.35px;
  }

  /* モーダルは SP 指定（331px）のままだと細すぎるので、この幅帯だけ広げる。
     中身は SP と同じ縦積みのままにしておく（PCの2カラムはこの幅では収まらない） */
  .c-modal__panel {
    width: min(700px, calc(100% - 48px));
    min-height: 0;
    padding: 32px 40px 40px;
  }
}

/* =========================================================
   重要なお知らせバー（767px以下だけ3段組み）
   768px 以上は横1列のままにしている。横並びに必要なのは約755pxで、
   タブレット幅なら十分入るため
   ========================================================= */
@media (max-width: 767px) {
  /* SPは横幅が厳しいので、地球アイコンをやめてそのぶん文字を大きくする。
     「LANGUAGE」だけなら意味は通るので、アイコンは省いてよいという判断 */
  .c-lang {
    height: 24px;
    gap: 0;
    padding-inline: 12px;
    border-radius: 12px;
  }

  .c-lang__globe {
    display: none;
  }

  .c-lang__text {
    font-size: 1.2rem;
  }

  body[data-road="caution"],
  body[data-road="closed"] {
    --alert-h: 88px;
  }

  /* SPは「見出し＋本文（2行）」＋「詳細をみる」の3行組みで 88px
     （実際の高さは js/main.js が測って --alert-h に入れ直す） */
  :root:has(> body[data-road="caution"]),
  :root:has(> body[data-road="closed"]) {
    scroll-padding-top: 177px;
  }

  :root:has(> body.is-alert-dismissed) {
    scroll-padding-top: 89px;
  }

  .l-alert {
    display: none;
    /* 見出し・本文・「詳細をみる」が最大2行に収まるようになったので、
       下限は PC と同じ 60px まで詰めている */
    min-height: 60px;
    padding: 11px 44px 12px;
  }

  body[data-road="caution"] .l-alert,
  body[data-road="closed"] .l-alert {
    display: block;
  }

  /* アイコンだけ左の余白（15px）に置き、ラベル・本文・ボタンは左44pxに揃える */
  .l-alert__icon {
    position: absolute;
    top: 14px;
    left: 15px;
    width: 13.26px;
    height: 12.89px;
  }

  /* 1〜2行目に「見出し ｜ 本文」をひと続きのインラインで流し、
     入りきらないぶんは2行目の末尾に「…」を出して省略する。
     「詳細をみる」はこの箱の外（3行目）にあるので、
     省略に巻き込まれることはない */
  .l-alert__body {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
  }

  /* 中の文字はすべて 12px の太字。個別指定は親から継がせる。
     <p> は既定が block なので、インラインに戻さないと
     見出しだけで1行を使ってしまう */
  .l-alert__label {
    display: inline;
    font-size: inherit;
    font-weight: inherit;
  }

  /* 本文は見出しのすぐ後ろに続ける。折り返しと省略は親に任せる */
  .l-alert__text {
    display: inline;
    margin-top: 0;
    font-size: inherit;
    font-weight: inherit;
  }

  /* 見出しと本文のあいだの縦罫線。PC と同じ 1px で、
     高さは 12px の文字に合わせる。インラインなので
     vertical-align で文字の高さに合わせている */
  .l-alert__text::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 12px;
    margin: 0 8px;
    background-color: currentColor;
    vertical-align: -1px;
  }

  /* 「詳細をみる」は本文の下（3行目）に独立して置く。
     右上のバツボタンから離れるので押し間違えにくい。
     文字サイズは .l-alert__body の外に出たので inherit ではなく直に指定する */
  .l-alert__more {
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 2.5px;
    margin: 8px 0 0;
    padding: 0 1px 2px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
  }

  .l-alert__more img {
    align-self: center;
    width: 8px;
    height: 8px;
  }

  /* 高さが伸びても位置を変えたくないので、上端からの固定にする。
     -2px は、44px の当たり判定の中心をデザインのバツの中心
     （上から 18.1px）に合わせるための値。はみ出す分は画面の外側 */
  .l-alert__close {
    top: -2px;
    right: 0;
    width: 40px;
    height: 40px;
    transform: none;
  }

  .l-alert__close::before,
  .l-alert__close::after {
    width: 20px;
  }

  /* アクセスカードの丸矢印。171.5px 幅のカードに 22px は大きく見えたので
     20px まで小さくする。768〜1199px はカードが PC と同じ 280px なので
     1199px 以下の 22px のまま（ここで小さくすると逆に頼りなく見える） */
  .c-arrow-btn--sm {
    width: 20px;
    height: 20px;
  }

  .c-arrow-btn--sm img {
    width: 7.28px;
    height: 4.37px;
  }
}

@media (max-width: 374px) {
  /* 375px（デザイン幅）より狭いと、ロゴ169 ＋ LANGUAGE78 ＋ 三本線31 と
     余白がヘッダーに収まらず、三本線がカードから飛び出す。
     足りない分はロゴを縮めて吸収する。
     100vw はスクロールバーのぶんズレるので、親（ヘッダー内側）の幅を基準にし、
     LANGUAGE 91 ＋ 隙間 12 ＋ 三本線 31 ＋ 最低の余白 8 = 142px を必ず残す */
  .l-header__logo {
    width: min(169px, calc(100% - 142px));
  }

  .l-header__logo img {
    width: 100%;
    height: auto;
  }
}

/* --- 丸矢印：右へ抜けて左から戻る1周 ---
   矢印画像1枚を動かしている。円の外に出ている間は overflow: hidden で
   隠れているので、その隙に左端へ瞬間移動させて入り直させる。
   移動量は画像幅基準の % なので --sm（30px）でも円の外まで届く */
@keyframes c-arrow-loop {
  0% {
    transform: translateX(0);
    /* 加速して出ていく */
    animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
  }
  40% {
    transform: translateX(220%);
    /* 左端への移動は補間させない */
    animation-timing-function: steps(1, end);
  }
  41% {
    transform: translateX(-220%);
    /* 減速して収まる */
    animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1);
  }
  100% {
    transform: translateX(0);
  }
}

/* =========================================================
   hover / focus
   マウス操作のある環境のみ。色の変化だけに頼らず、
   下線・矢印の移動・拡大など形の変化で伝える
   ========================================================= */
.c-arrow-btn,
.c-arrow-btn img,
.c-link__text,
.c-lang,
.c-lang__caret,
.l-header__caret,
.l-header__child-list a,
.l-header__child-list img,
.p-news__sns img,
.l-float-sns img {
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.35s ease,
    border-color 0.3s ease, color 0.3s ease, border-bottom-width 0.2s ease,
    filter 0.3s ease;
}

/* ヘッダーナビ：下線がスッと伸びる */
.l-header__item > a {
  position: relative;
  display: inline-block;
}

.l-header__item > a::after,
.l-header__sub-item > a::after,
.l-header__item--has-child::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  /* 1.5px は等倍ディスプレイで1pxに丸められて薄く見えるため、
     はっきり細くしたいときは 1px にする */
  height: 1px;
  background-color: #3ea1ac;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

/* 「料金」は矢印の下まで線を引きたいので、下線は li 側に持たせる */
.l-header__item--has-child {
  position: relative;
}

.l-header__item--has-child > a::after {
  content: none;
}

/* フッターナビ：ヘッダーと同じく下線が左から伸びる。
   ヘッダーはティールだが、フッターは #333 背景なので線も文字と同じ白にする。
   太さはヘッダーと同じ 1px。位置だけは文字が小さいぶん控えめ（-4px） */
.l-footer__col a {
  position: relative;
  display: inline-block;
}

.l-footer__col a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

@media (hover: hover) and (min-width: 768px) {
  .c-modal__detail a:hover {
    text-decoration: none;
  }

  .l-header__item > a:hover,
  .l-header__sub-item > a:hover {
    color: #3ea1ac;
  }

  .l-header__item > a:hover::after,
  .l-header__sub-item > a:hover::after {
    transform: scaleX(1);
  }

  /* 「料金」は矢印の下まで下線を引く。矢印自体は動かさない */
  .l-header__item--has-child:hover::after {
    transform: scaleX(1);
  }

  .l-header__item--has-child:hover > a,
  .l-header__item--has-child:hover > .l-header__child-toggle {
    color: #3ea1ac;
  }

  .l-header__item--has-child:hover .l-header__caret {
    border-color: #3ea1ac;
  }

  /* 「料金」ドロップダウンの各項目。お知らせの行と同じ考え方で、
     背景がうすく色づいて「＞」が右へ動く */
  .l-header__child-list a:hover {
    background-color: rgba(62, 161, 172, 0.06);
    color: #3ea1ac;
  }

  .l-header__child-list a:hover img {
    transform: translateX(3px);
  }

  /* LANGUAGEボタン：背景色が変わるので矢印は動かさない */
  .c-lang:hover {
    background-color: #3ea1ac;
  }

  /* 言語ドロップダウンの各項目。いま選んでいる言語と同じ色を当てる */
  .c-lang__menu .c-lang__item a:hover {
    color: #01a491;
  }

  /* 重要なお知らせバーの「詳細をみる」とバツ：フェードで半透明になる */
  .l-alert__more:hover,
  .l-alert__close:hover {
    opacity: 0.6;
  }

  /* テキスト＋丸矢印リンク：丸は動かさず、矢印だけが右へ抜けて左から戻る */
  .c-link:hover .c-arrow-btn img {
    animation: c-arrow-loop 0.4s 1;
  }

  /* 文字が --dark（＝明るい背景に置かれている）ときは、文字と丸をティールへ。
     下線は currentColor なので文字色に追従する。
     .p-about の中は背景が #3ea1ac そのものでティールが使えないため、
     あちらは下の反転パターンで伝える */
  .c-link:hover .c-link__text--dark {
    color: #3ea1ac;
  }

  .c-link:has(.c-link__text--dark):hover .c-arrow-btn {
    background-color: #3ea1ac;
  }

  /* SNSアイコン（フッターは拡大させない） */
  .p-news__sns:hover img,
  .l-float-sns a:hover img {
    transform: scale(1.12);
  }

  /* フッターリンク：下線が左から伸びる（線は currentColor＝白。文字色は変えない） */
  .l-footer__col a:hover::after {
    transform: scaleX(1);
  }

  /* ドロワーメニュー */
  .l-menu__list a:hover,
  .l-menu__sub a:hover {
    background-color: #f5f5f5;
  }

  .l-menu__list a:hover img,
  .l-menu__sub a:hover img {
    transform: translateX(4px);
  }

  .l-header__toggle:hover span {
    background-color: #3ea1ac;
  }
}

.l-menu__list img,
.l-menu__sub img {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.l-menu__list a,
.l-menu__sub a {
  transition: background-color 0.3s ease;
}

/* =========================================================
   動きを減らす設定への配慮
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* ページ内リンクも、すべらせずその場で移動する */
  html {
    scroll-behavior: auto;
  }
}

/* =========================================================
   下層ページ共通
   ヒーロー（弧・パンくず・ページ見出し）、セクションの2カラム、
   見出しラベル、資料リンクカード。TOPでは使わない。
   ブレークポイントはヘッダー・フッターに合わせて 1199px で切る
   （768〜1199px でヘッダーがSP表示になるため、本文だけPC2カラムに
   残すと噛み合わない）
   ========================================================= */

/* --- ヒーロー（パンくず＋ページ見出し） --- */
.l-sub-hero {
  position: relative;
  /* ヘッダー（上から 30px ＋ 高さ 120px）の下 25px にパンくず */
  padding-top: 175px;
}

/* ページ見出しのすぐ下の最初のブロックは、どのページも上余白 PC 56px / タブレット・SP 36px。
   以前はページごとにデザイン値（32〜88px）を入れていてばらついていたので、
   ここでまとめてそろえている（ページ側の padding-top より詳細度を上げて上書き）。
   変えたいときはここだけ直す。SP の値は 1199px 以下のブロックにある */
.l-sub-hero + .l-sub-block,
.l-sub-hero + .l-sub-section {
  padding-top: 56px;
}

/* 弧の装飾。TOPのヒーローと違いアニメーションはしない。
   位置・大きさはデザイン（1440px幅）の実測値を画面中央から逆算している。

   線の両端は mask でフェードアウトさせている。画面が広いと端が画面内に
   入ってきて、そのままだとプツッと切れて見えるため。
   線の左端は SVG 座標の x=25、右端は x=1662 にあり、x の大小と端が
   一致しているので、横方向のグラデーションで両端だけを消せる。

   完全に透明にする範囲は、線の「切り口」が隠れるところまで取る。
   線は太さ 61px で斜めに走っているので、切り口は点ではなく幅を持ち、
   左端は x=2〜48、右端は x=1634〜1690 に広がっている。
   ここが少しでも残ると切れた線が見えるので、左は 50px まで、
   右は 1630px から先を透明にしている */
.l-sub-hero__arc {
  position: absolute;
  top: -193px;
  left: calc(50% - 796.14px);
  width: 1632.27px;
  pointer-events: none;
  /* 50 / 200 / 1480 / 1630px を弧の幅（1632.27px）に対する % にしたもの。
     タブレット〜SPでは弧を画面幅に合わせて縮めるので、px だと
     フェードの範囲が相対的に広がってしまうため % で持つ */
  -webkit-mask-image: linear-gradient(to right, transparent 3.06%, #000 12.25%, #000 90.67%, transparent 99.86%);
  mask-image: linear-gradient(to right, transparent 3.06%, #000 12.25%, #000 90.67%, transparent 99.86%);
}

.l-sub-hero__arc img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- パンくずリスト --- */
/* 行の高さはデザイン上 PC・SP とも 19.5px 固定（文字サイズだけ変わる） */
.c-breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1.3rem;
  line-height: 1.95rem;
}

.c-breadcrumb li {
  display: flex;
  flex: none;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

/* 最後（いまのページ）は改行させず、長いときはこの項目だけ横にスクロールする。
   手前の「TOP ＞ お知らせ ＞」は縮めずに残す（flex: none）。
   スクロールバーは出さない（SPは指で、PCはトラックパッド・Shift＋ホイールで動く） */
.c-breadcrumb li:last-child {
  flex: 0 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.c-breadcrumb li:last-child::-webkit-scrollbar {
  display: none;
}

.c-breadcrumb a,
.c-breadcrumb__plain {
  color: rgba(51, 51, 51, 0.7);
}

/* 「＞」は本文と同じ 70% の濃さ。画像は #333 の実線なので不透明度で合わせる */
.c-breadcrumb img {
  flex: none;
  opacity: 0.7;
}

.c-breadcrumb [aria-current="page"] {
  color: #333;
  font-weight: 700;
}

/* --- ページ見出し --- */
.c-page-head {
  margin-top: 65px;
}

.c-page-head__ja {
  color: #3ea1ac;
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
}


/* --- セクション（左に見出しラベル・右に本文の2カラム） --- */
.l-sub-section__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* デザイン値は 880px 固定だが、1400px 未満では縮められるようにしておく
   （見出しラベルとの合計が入りきらなくなるため） */
.l-sub-section__body {
  flex: 0 1 880px;
}

/* --- 見出しラベル（左の縦罫線つき） --- */
/* 上下の余白は取らず、行の高さで箱の大きさを作る（30px × 1.4 ＝ 42px で
   デザイン実測値どおり）。
   以前は Figma の値をそのまま入れて padding 10px ＋ line-height 0.733 に
   していたが、翻訳で2行になると行間が詰まりすぎて文字が箱から出ていた */
.c-block-head {
  padding-left: 16px;
  border-left: 6px solid #3ea1ac;
  color: #333;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.4;
}

/* --- 中見出し（h3）・小見出し（h4） --- */
/* Figma は leading-none で組まれているが、翻訳で2行になったときに
   詰まらないよう行の高さを 1.4 にしている（.c-block-head と同じ考え方）。
   そのぶん増える余分（文字サイズ × 0.4 ÷ 2）は、置く側の余白から引く */
.c-head3 {
  color: #333;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.c-head4 {
  color: #333;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
}

/* --- 本文 --- */
/* 下層ページの本文はどのページもこの値。字送りだけデザインによって
   0.4〜0.54px と幅があるので、違うところはページ側で上書きする */
.c-text {
  color: #333;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.48px;
}

/* --- 注記（※つきの補足） --- */
.c-note {
  color: #333;
  font-size: 1.4rem;
  line-height: 1.7;
  letter-spacing: 0.3px;
}

/* --- 白い面（カード・パネル） --- */
/* 内側の余白はページごとに違うので持たせない */
.c-panel {
  background-color: #fff;
  border-radius: 8px;
}

/* --- 資料リンクのカード（約款一覧など） --- */
.c-doc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 286px;
  max-width: 590px;
  padding: 19.5px 29.5px;
  background-color: #fff;
  border: 1.5px solid #3ea1ac;
  border-radius: 12px;
  color: #333;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.87;
  transition: color 0.3s ease;
}

/* 添付ファイルのカード（お知らせ詳細・ブロック royu/doc-link）。
   資料リンクより幅が広く、丸矢印の代わりにファイル種別のアイコンが入る */
.c-doc-link--file {
  width: 460px;
}

.c-doc-link--file img {
  flex: none;
  width: 22px;
  height: 24.4px;
}

/* ダウンロードさせるファイル（Word など）はダウンロードのアイコン（各種届出・申請） */
.c-doc-link--file .c-doc-link__download {
  width: 24px;
  height: 24px;
}

/* --- 丸矢印 36px（下層ページのリンク・カードで使う） --- */
.c-arrow-btn--md {
  width: 36px;
  height: 36px;
}

.c-arrow-btn--md img {
  width: 12.33px;
  height: 7.4px;
}

/* =========================================================
   下層ページの弧（1199px以下）

   ■ 480〜1199px：PC用の弧を画面幅に合わせて縮める
   以前は PC用を原寸（1632px）のまま上にずらしていたため、タブレットでは
   右のループしか見えず、SP用（幅の上限 586px）は 600px 前後で左に寄って
   右側が空いていた。
   1440px デザインでの位置関係（幅 113.35%・左 -5.29%・上 -193px）を
   そのまま画面幅の比率にしている。これで常に中央に置かれ、両端は
   画面の外に出る。
   線の最下点は SVG 座標の y=558 なので、本文への被りは
   (558 - 193) / 1440 × 画面幅 − ヒーローの高さ ＝ 1199px でも 20px ほど。

   ■ 479px以下：SP用の弧（375px デザインの形）
   位置は 375px デザインの実測値を画面幅の比率にしたもの。
   上限を置かずに比率のまま拡大するので、両端は必ず画面の外に出る。
   SP用に切り替えるのを 480px 未満にしているのは、それより広いと
   弧の下端が伸びて本文に大きく被るため（600px で 80px ほど）。
   <picture> の <source media> も同じ 479px にそろえること

   top は画面幅に比例させたいので vw（% だと親の高さが基準になる）。
   ただし比率のままだと、広い側（850〜1199px / 375〜479px）で弧の下端が
   伸びて本文の見出しに被る。そこで min() で「下端がヒーローの底で
   止まる位置」より下には来ないようにしている。
     タブレット：線の最下点は弧の上端から 38.75vw（558 / 1632.27 × 113.35%）。
                 ヒーロー（約222px）の底の少し上 215px で止める
     SP        ：弧の下端は上端から 69.96vw（262.36 / 586.33 × 156.35%）。
                 375px デザインと同じ被り方になる 243.5px で止める
   ========================================================= */
@media (max-width: 1199px) {
  .l-sub-hero__arc {
    top: min(-13.4vw, calc(215px - 38.75vw));
    left: -5.29%;
    width: 113.35%;
  }
}

@media (max-width: 479px) {
  .l-sub-hero__arc {
    top: min(-5.02vw, calc(243.5px - 69.96vw));
    left: -26.84%;
    width: 156.35%;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* =========================================================
   下層ページ共通（1199px以下）
   ========================================================= */
@media (max-width: 1199px) {
  .l-sub-hero {
    padding-top: 90px;
  }

  .l-sub-hero + .l-sub-block,
  .l-sub-hero + .l-sub-section {
    padding-top: 36px;
  }

  /* 下層ページの左右余白は 20px（TOPのカード類は 12px で別値）。
     .l-sub-block は「見出しラベルを持たないブロック」用。
     リード文・ページ内目次・ボタンだけの帯など、.l-sub-section に
     するほどでもない箱に付ける（付け忘れるとTOP用の 12px になる） */
  .l-sub-hero .l-inner,
  .l-sub-section .l-inner,
  .l-sub-block .l-inner {
    width: calc(100% - 40px);
  }

  .c-breadcrumb {
    font-size: 1.2rem;
  }

  .c-page-head {
    margin-top: 48px;
  }

  /* SPは行の高さも文字サイズと同じ（デザイン実測値） */
  .c-page-head__ja {
    font-size: 3.2rem;
    line-height: 1;
  }

  .l-sub-section__inner {
    flex-direction: column;
    gap: 24px;
  }

  .l-sub-section__body {
    flex: none;
    width: 100%;
  }

  .c-block-head {
    padding-left: 10px;
    font-size: 2.2rem;
  }

  .c-head3 {
    font-size: 1.8rem;
  }

  .c-head4 {
    font-size: 1.6rem;
  }

  .c-text {
    font-size: 1.4rem;
  }

  .c-note {
    font-size: 1.3rem;
  }

  /* 幅は置き場所に合わせて広がるが、上限は 590px。
     PCの2カラムが1カラムになるページ（約款・各種届出・お知らせ詳細など）で
     カードだけがコンテンツ幅いっぱいに伸びてしまうのを防ぐ。
     590px はデザイン側でもSPカードの上限として使われている値 */
  .c-doc-link {
    width: 100%;
    max-width: 590px;
    padding: 15.5px 22.5px;
    border-radius: 8px;
    font-size: 1.6rem;
  }

  /* SPはファイル名よりアイコンの方が高いので、共通の行送り（1.87）は使わない
     （文字側が高くなってカードが膨らむため） */
  .c-doc-link--file {
    padding-block: 19.5px;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1;
  }

  .c-doc-link--file img {
    width: 18px;
    height: 19.96px;
  }

  .c-doc-link--file .c-doc-link__download {
    width: 20px;
    height: 20px;
  }

  .c-arrow-btn--md {
    width: 30px;
    height: 30px;
  }

  .c-arrow-btn--md img {
    width: 12.25px;
    height: 7.35px;
  }
}

/* =========================================================
   下層ページ共通（ホバー）
   ========================================================= */
@media (hover: hover) and (min-width: 768px) {
  .c-breadcrumb a:hover {
    text-decoration: underline;
  }

  /* カード類と同じ考え方。面は動かさず、文字と丸矢印で伝える */
  .c-doc-link:hover {
    color: #3ea1ac;
  }

  .c-doc-link:hover .c-arrow-btn {
    background-color: #3ea1ac;
  }

  .c-doc-link:hover .c-arrow-btn img {
    animation: c-arrow-loop 0.4s 1;
  }
}

/* =========================================================
   下層ページ共通（通行料金・定期券で追加したパーツ）

   .c-page-toc     ページ内目次（下向きの丸矢印つきの下線リンク）
   .c-alert-note   赤い注意書きの帯（ETCカード・日割りの注意）
   .c-accordion    車種ごとの開閉（<details> なので JS は使わない）
   .c-fare-table   料金表（通行料金＝入口×出口／定期券＝区間×期間）

   安全・安心のためのルールの目次（rule.css の .p-rule__toc）は
   見た目が同じだが先に作っていたもの。Phase 4 でまとめる
   ========================================================= */

/* --- ページ内目次 --- */
/* PC は4列。項目が5つ以上あれば2行目に折り返す（定期券） */
.c-page-toc {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 32px;
}

.c-page-toc a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  padding-bottom: 12px;
  border-bottom: 1px solid #333;
  color: #333;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.c-page-toc .c-arrow-btn {
  width: 32px;
  height: 32px;
  transition: background-color 0.3s ease;
}

/* 右向きの矢印を下向きに回して使う */
.c-page-toc .c-arrow-btn img {
  width: 10.957px;
  height: 6.574px;
  transform: rotate(90deg);
}

/* --- 赤い注意書きの帯 --- */
/* 幅は文字に合わせる（PC）。SP は幅いっぱい */
.c-alert-note {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 5px 13px;
  background-color: rgba(194, 34, 20, 0.08);
  border-radius: 8px;
  color: #c22214;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
}

.c-alert-note img {
  flex: none;
  width: 24px;
  height: 24px;
}

/* --- アコーディオン（車種ごと） --- */
/* 上下の罫線は項目どうしで重ねる（1px ずつずらして二重線にしない） */
.c-accordion__item {
  border-block: 1px solid #adadad;
}

.c-accordion__item + .c-accordion__item {
  margin-top: -1px;
}

.c-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 27px 34px;
  color: #333;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Safari の既定の三角を消す */
.c-accordion__summary::-webkit-details-marker {
  display: none;
}

/* ＋／− は2本の線。開いたら縦線を消して − にする */
.c-accordion__icon {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
}

.c-accordion__icon::before,
.c-accordion__icon::after {
  content: "";
  position: absolute;
  background-color: #333;
}

.c-accordion__icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.c-accordion__icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
  transition: transform 0.3s ease;
}

/* 開いたら縦線を90度回して横線に重ね、− にする。
   閉じる動きの間（.is-closing・main.js）は ＋ に戻し始める */
.c-accordion__item[open]:not(.is-closing) .c-accordion__icon::after {
  transform: rotate(90deg);
}

/* 下の余白はページ側（通行料金 40px / 定期券 25px） */
.c-accordion__body {
  padding: 0 34px 40px;
}

/* --- 料金表 --- */
/* 表の外枠は1本線。セルの区切りは上と左だけに引いて二重線を避ける */
.c-fare-table {
  width: 100%;
  background-color: #fff;
  border: 1px solid #adadad;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  color: #333;
  text-align: center;
}

.c-fare-table th,
.c-fare-table td {
  padding: 8px;
  border-top: 1px solid #adadad;
  border-left: 1px solid #adadad;
  text-align: center;
  vertical-align: middle;
}

.c-fare-table tr > :first-child {
  border-left: 0;
}

.c-fare-table thead tr:first-child > * {
  border-top: 0;
}

/* 見出し行（ティール）。行の中の区切りは白の 40% */
.c-fare-table thead th {
  background-color: #3ea1ac;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

/* 左上の見出し・行見出し（グレー） */
.c-fare-table .c-fare-table__corner,
.c-fare-table tbody th {
  background-color: #dedede;
  border-color: #adadad;
  color: #333;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}

.c-fare-table td {
  font-family: "Roboto", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

/* 表の下の注記 */
.c-fare-table-notes {
  margin-top: 16px;
}

.c-fare-table-notes li + li {
  margin-top: 2px;
}

/* =========================================================
   通行料金・定期券で追加したパーツ（1199px以下）
   ========================================================= */
@media (max-width: 1199px) {
  .c-page-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .c-page-toc a {
    gap: 8px;
    padding-bottom: 8px;
    font-size: 1.4rem;
  }

  .c-page-toc .c-arrow-btn {
    width: 30px;
    height: 30px;
  }

  .c-page-toc .c-arrow-btn img {
    width: 10.66px;
    height: 6.396px;
  }

  .c-alert-note {
    align-items: flex-start;
    gap: 7px;
    width: 100%;
    padding: 12px 13px;
    border-radius: 4px;
    font-size: 1.4rem;
  }

  /* 1行目の文字の高さ（14px × 1.5）の中央にアイコンを置く */
  .c-alert-note img {
    width: 14px;
    height: 14px;
    margin-top: 3.5px;
  }

  .c-accordion__summary {
    gap: 10px;
    padding: 23px 0;
    font-size: 1.8rem;
    line-height: 1.67;
  }

  .c-accordion__icon {
    width: 16px;
    height: 16px;
  }

  .c-accordion__icon::before {
    top: 7.2px;
    width: 16px;
    height: 1.6px;
  }

  .c-accordion__icon::after {
    left: 7.2px;
    width: 1.6px;
    height: 16px;
  }

  .c-accordion__body {
    padding: 0 0 28px;
  }

  .c-fare-table th,
  .c-fare-table td {
    padding: 6px 2px;
  }

  .c-fare-table thead th {
    font-size: 1.4rem;
  }

  .c-fare-table .c-fare-table__corner,
  .c-fare-table tbody th {
    font-size: 1.2rem;
  }

  .c-fare-table td {
    font-size: 1.8rem;
  }

  .c-fare-table-notes {
    margin-top: 9px;
  }
}

/* =========================================================
   通行料金・定期券で追加したパーツ（ホバー）
   ========================================================= */
@media (hover: hover) and (min-width: 768px) {
  .c-page-toc a:hover {
    color: #3ea1ac;
  }

  .c-page-toc a:hover .c-arrow-btn {
    background-color: #3ea1ac;
  }

  .c-accordion__summary:hover {
    color: #3ea1ac;
  }
}

/* =========================================================
   記事本文（.c-post-body）
   お知らせ詳細の本文（.p-news-detail__body）と、よくある質問の回答
   （.p-faq__a-body）で共通。WordPress のエディタが出す HTML に
   そのまま効かせるため、クラスではなく要素セレクタで当てている。
   以前は news-detail.css にあった。編集画面用は editor-style.css
   ========================================================= */
/* 本文に貼られた長い URL は区切りが無く、SP で画面の右にはみ出していたので
   途中でも折り返す（2026-11-30。お知らせ「キッチンカー出店スケジュール」で発生） */
.c-post-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-wrap: anywhere;
}

.c-post-body p {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.028em;
}

.c-post-body h2 {
  padding: 5px 14px 5px 18px;
  border-left: 4px solid #3ea1ac;
  background-color: rgba(238, 238, 238, 0.8);
  color: #333;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.5;
}

.c-post-body h3 {
  padding-top: 16px;
  color: #3ea1ac;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.5;
}

.c-post-body h4 {
  color: red;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
}

/* --- 箇条書き --- */
.c-post-body ul {
  display: flex;
  flex-direction: column;
  /* 項目どうしの間隔。デザインは 18px だが、離れすぎて見えるので詰めている */
  gap: 8px;
}

.c-post-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.028em;
}

/* 6px の丸。1行目の文字の高さに合わせて少し下げる */
.c-post-body ul li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  background-color: #3ea1ac;
  border-radius: 50%;
}

/* --- 番号リスト --- */
.c-post-body ol {
  display: flex;
  flex-direction: column;
  /* 箇条書きと同じく 8px（デザインは 18px） */
  gap: 8px;
  counter-reset: news-ol;
}

/* 行送りはデザイン上 30.4px 固定。比率にすると番号（18px）だけ
   行が高くなり、本文と1行目がそろわない */
.c-post-body ol li {
  display: flex;
  align-items: flex-start;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 3.04rem;
  letter-spacing: 0.028em;
}

.c-post-body ol li::before {
  counter-increment: news-ol;
  content: counter(news-ol) ".";
  flex: none;
  width: 24px;
  color: #3ea1ac;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
}

/* WordPress の表ブロックも figure で table を包むので、
   画像が入っている figure だけに絞っている */
.c-post-body figure:has(img),
.c-post-body figure:has(.p-news-detail__imgbox) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
}

/* --- 本文中の画像とキャプション --- */
.c-post-body figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 表ブロックの figure は余白だけ打ち消す（table 側で幅を持つ） */
.c-post-body figure:has(table) {
  margin: 0;
}

/* 画像との間隔は figure の gap で取るので、WordPress のブロック用 CSS が
   付ける上下の余白（7px / 14px）は消す */
.c-post-body figcaption {
  margin: 0;
  color: #333;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.58;
}

/* --- 引用・注記ボックス --- */
.c-post-body blockquote {
  padding: 20px 24px;
  background-color: #eee;
}

.c-post-body blockquote p {
  font-size: 1.5rem;
  line-height: 1.8;
  letter-spacing: 0.028em;
}

/* --- 表 --- */
.c-post-body table {
  width: 100%;
  border: 1px solid #d4d4d4;
  border-collapse: collapse;
  background-color: #fff;
}

/* 上下の余白はデザイン値（20px）から行の高さの余白ぶんを引いた値。
   これで行の高さがデザインの 46px にそろう。

   border を一度 0 にしているのは、WordPress のブロック用 CSS が
   表のセルの全辺に線（`border: 1px solid` ＝ currentColor）を引くため。
   指定していない辺に黒い線が出るので、消してから必要な辺だけ引き直す */
.c-post-body table th,
.c-post-body table td {
  border: 0;
  padding: 9px 28px;
  vertical-align: middle;
  font-size: 1.6rem;
}

.c-post-body table th,
.c-post-body table td {
  text-align: left;
}

/* WordPress の表ブロックでセルごとに文字揃えを変えたときのクラス。
   wp-block-library の CSS を読み込まない構成でも効くよう、自分で持っておく。
   セレクタの詳細度は上の th / td 指定より強いので、こちらが勝つ */
.c-post-body table .has-text-align-left {
  text-align: left;
}

.c-post-body table .has-text-align-center {
  text-align: center;
}

.c-post-body table .has-text-align-right {
  text-align: right;
}

/* 「表のセル幅を固定」を選んだとき */
.c-post-body table.has-fixed-layout {
  table-layout: fixed;
}

/* WordPress のブロック用 CSS は thead に 3px の下線、tfoot に 3px の
   上線を引く。見出し行は背景色で区切るので、どちらも消す */
.c-post-body table thead,
.c-post-body table tfoot {
  border: 0;
}

/* 見出し行。行の高さはデザイン上 PC・SP とも 22.4px 固定。
   区切りの縦線は白の半透明 */
.c-post-body thead th {
  padding-block: 11.8px;
  background-color: #3ea1ac;
  color: #fff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  line-height: 2.24rem;
}

.c-post-body thead th + th {
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

/* 1列目の幅。「表のセル幅を固定」を選ぶと列幅は見出し行が基準になるので、
   thead にも効くよう tbody に限定せず当てている */
.c-post-body table tr > :first-child {
  width: 200px;
}

/* 1列目は項目名。静的HTMLでは <th scope="row"> にしているが、
   WordPress の表ブロックは本文セルをすべて <td> で出力するので、
   どちらでも効くよう「行の最初のセル」で当てている */
.c-post-body tbody tr > :first-child {
  background-color: #eee;
  font-weight: 700;
  line-height: 1.5;
}

/* 2列目以降。3列以上の表でも縦の区切りが入る */
.c-post-body tbody tr > :not(:first-child) {
  border-left: 1px solid #d4d4d4;
  font-weight: 500;
  line-height: 1.7;
}

/* 行と行のあいだ。1行目は見出し行との境目が色で分かるので引かない */
.c-post-body tbody tr + tr > * {
  border-top: 1px solid #d4d4d4;
}

/* リンクだけの段落は、本文の行送りではなくリンクの行送りに合わせる
   （そうしないとリンクの上下に本文ぶんの余白が入る） */
.c-post-body p:has(> a:only-child) {
  line-height: 1.5;
}

/* --- 本文中のリンク --- */
.c-post-body a:not(.c-doc-link) {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: #3ea1ac;
  font-weight: 700;
  line-height: 1.5;
  transition: opacity 0.3s ease;
}

/* 外部リンク（別のタブで開くリンク）にはアイコンを自動で付ける。
   WordPress で「新しいタブで開く」を選ぶと target="_blank" が付くので、
   本文にアイコンを置かなくてもそろう */
.c-post-body a[target="_blank"]:not(.c-doc-link)::after {
  content: "";
  flex: none;
  width: 15.52px;
  height: 15.52px;
  background: url(../img/icon-external-teal.svg) no-repeat center / contain;
}

@media (max-width: 1199px) {
  .c-post-body {
    gap: 22px;
  }

  .c-post-body p {
    font-size: 1.4rem;
  }

  .c-post-body h2 {
    font-size: 2rem;
    line-height: 1.2;
  }

  /* SPは前の要素との間隔（gap 22px）だけで足りる */
  .c-post-body h3 {
    padding-top: 0;
  }

  .c-post-body ul li,
  .c-post-body ol li {
    font-size: 1.4rem;
  }

  .c-post-body ol li::before {
    font-weight: 500;
  }

  .c-post-body figure {
    padding-top: 0;
  }

  .c-post-body figcaption {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .c-post-body blockquote {
    padding: 18px 20px;
  }

  .c-post-body blockquote p {
    font-size: 1.3rem;
    line-height: 1.6;
  }

  .c-post-body table th,
  .c-post-body table td {
    padding: 11px 18px;
    font-size: 1.4rem;
  }

  .c-post-body thead th {
    padding-block: 12.3px;
  }

  .c-post-body table tr > :first-child {
    width: 82px;
  }

  .c-post-body tbody tr > :first-child {
    padding-inline: 27px 8px;
  }

  .c-post-body a:not(.c-doc-link) {
    gap: 10px;
    font-weight: 500;
    font-size: 1.4rem;
  }

  .c-post-body a[target="_blank"]:not(.c-doc-link)::after {
    width: 14px;
    height: 14px;
  }
}

@media (hover: hover) and (min-width: 768px) {
  /* 本文中のリンクは、ゆっくり薄くなる。
     WordPress の本文に入るリンクは下線つきの文字だけなので、
     動かすと本文の行がずれてしまう */
  .c-post-body a:not(.c-doc-link):hover {
    opacity: 0.6;
  }
}

/* =========================================================
   翻訳（GTranslate）表示時の調整（2026-11-30）
   GTranslate は翻訳中に <html> へ .translated-ltr（右から左の言語は
   .translated-rtl）を付ける。英語などは日本語の 1.5〜2 倍の長さになり、
   折り返さない指定（nowrap）や固定幅のところで文字が重なる・切れるので、
   翻訳中だけ折り返しを許す。日本語の表示には影響しない
   ========================================================= */

/* --- ヘッダー（PC 2段目のナビ）---
   項目が横に入りきらず、文字が隣の項目・縦線にはみ出していた。
   項目ごとに2行まで折り返し、文字と間隔を少し詰める */
@media (min-width: 1200px) {
  html:is(.translated-ltr, .translated-rtl) .l-header__list {
    --nav-gap: clamp(10px, calc((100vw - 1100px) / 14), 26px);
    min-width: 0;
    max-width: 100%;
  }

  html:is(.translated-ltr, .translated-rtl) .l-header__item {
    flex: 0 1 auto;
    font-size: 1.4rem;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }
}

/* --- フッター（PC）---
   列が nowrap で隣の列に重なっていたので折り返す。
   住所が3行になると SNS（絶対配置）にくっつくので、住所と SNS を
   縦に積んで、住所の長さに SNS が付いていくようにする */
html:is(.translated-ltr, .translated-rtl) .l-footer__col {
  flex: 0 1 auto;
  /* 単語の途中では縮めない（元の指定に min-width: 0 がある） */
  min-width: min-content;
  line-height: 1.3;
  white-space: normal;
}

html:is(.translated-ltr, .translated-rtl) .l-footer__col--toll {
  width: auto;
}

html:is(.translated-ltr, .translated-rtl) .l-footer__group--sub {
  flex: 0 1 auto;
  min-width: min-content;
}

@media (min-width: 1200px) {
  /* ロゴ2つは絶対配置のまま。住所の上端（188px）を padding で作る */
  html:is(.translated-ltr, .translated-rtl) .l-footer__company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
    width: 280px;
    padding-top: 188px;
  }

  html:is(.translated-ltr, .translated-rtl) .l-footer__address,
  html:is(.translated-ltr, .translated-rtl) .l-footer__sns {
    position: static;
  }
}

/* 日本語の改行位置を決めるための <br>（PC だけ・SP だけで改行するもの）は、
   英語では文の途中で行が切れるだけなので外す */
html:is(.translated-ltr, .translated-rtl) br:is(.-u-sp-none, .-u-pc-none) {
  display: none;
}

/* --- セクション見出し（ABOUT など）---
   行の高さ（32px）が文字（40px）より小さく、2行になると上下が重なる */
html:is(.translated-ltr, .translated-rtl) .c-sec-head__ja {
  line-height: 1.2;
}

/* 日本語の改行位置（<br>）は英語では意味がなく、翻訳で文が <br> の後ろへ
   まとめられて1行目が空になる（ABOUT の見出しで発生）ので外す */
html:is(.translated-ltr, .translated-rtl) .c-sec-head__ja br {
  display: none;
}

@media (max-width: 1199px) {
  /* フッター（1199px 以下は縦積み）：2列の左の列が右の列まではみ出していた */
  html:is(.translated-ltr, .translated-rtl) .l-footer__group {
    min-width: 0;
  }

  html:is(.translated-ltr, .translated-rtl) .l-footer__group:first-child {
    padding-right: 12px;
  }
}

/* 資料リンクのカード：行の高さが文字と同じ（1）で、英語で2行になると詰まる */
html:is(.translated-ltr, .translated-rtl) .c-doc-link {
  line-height: 1.3;
}

/* ページ見出し・料金表のセル：行の高さが文字と同じ（1）で、
   英語で2行になると上下が詰まる（SP の「Higashi Rokko Observation Deck」など） */
html:is(.translated-ltr, .translated-rtl) .c-page-head__ja {
  line-height: 1.2;
}

html:is(.translated-ltr, .translated-rtl) .c-fare-table :is(th, td) {
  line-height: 1.3;
}

/* ドロワー（1199px 以下）：項目の高さが 48px 固定で、英語で2〜3行になると
   下の項目に重なる。高さを下限にして、上下に余白を持たせる */
@media (max-width: 1199px) {
  html:is(.translated-ltr, .translated-rtl) :is(.l-menu__list, .l-menu__sub) li {
    height: auto;
    min-height: 48px;
  }

  html:is(.translated-ltr, .translated-rtl) :is(.l-menu__list, .l-menu__sub) a {
    gap: 8px;
    min-height: 48px;
    padding-block: 8px;
  }
}

/* ページ内目次：リンクが flex のため、翻訳で文が分割されると
   それぞれが横並びの flex アイテムになり、文が左右に割れる
   （定期券の「How to purchase /　　Sales period」）。
   翻訳中はリンクを普通のブロックにし、丸矢印は右端に重ねる。
   矢印の上下位置は、下線までの余白（padding-bottom）を除いた高さの中央 */
html:is(.translated-ltr, .translated-rtl) .c-page-toc a {
  position: relative;
  display: block;
  padding-right: 44px;
}

html:is(.translated-ltr, .translated-rtl) .c-page-toc .c-arrow-btn {
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -22px; /* 丸の半分 16px ＋ padding-bottom の半分 6px */
}

@media (max-width: 1199px) {
  html:is(.translated-ltr, .translated-rtl) .c-page-toc a {
    padding-right: 38px;
  }

  html:is(.translated-ltr, .translated-rtl) .c-page-toc .c-arrow-btn {
    margin-top: -19px; /* 丸の半分 15px ＋ padding-bottom の半分 4px */
  }
}

/* 左に見出しラベル・右に本文の2カラム（PC）：英語の見出しが長いと
   本文が押されて、ブロックごとに本文の左端がずれる。
   本文の幅を保ち、見出しは残りの幅で折り返す */
@media (min-width: 1200px) {
  html:is(.translated-ltr, .translated-rtl) .l-sub-section__inner > .c-block-head {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 24px;
    overflow-wrap: anywhere;
  }

  html:is(.translated-ltr, .translated-rtl) .l-sub-section__body {
    flex-shrink: 0;
  }
}
