@charset "UTF-8";
/* ==========================================================
   access.html 固有CSS（2026-09-03 D-1 グループC 再批評の反映 r4）
   所要時間は BY CAR の青帯カードに一本化し、ACCESS は広域マップを版面いっぱいで主役にする。

   ▼ 再批評の反映
   ・C-17: 3カラムの白パネルを等高に戻し（align-items: stretch）、アクション行だけ下端に寄せる。
   ・C-13: EN小ラベル（PARKING 等）を 12.6px → 14px（SP 11.14 → 12px）。
   ・C-14: .cx-ph の文字色（#808080 = 3.08:1）をページ側で #636363（4.6:1）に落とす。
   ・C-22: ヒーロー白見出しのコントラスト（実測 1.71:1）を追いスクリムで底上げ。

   ▼ components.css へ昇格候補（本ファイルで暫定上書き）
   ・.ac-gmap … iframe を 1px青枠・r6 で囲み、背後に .cx-ph を敷く枠
   ・.cx-bluesec の margin-top 83px → 96px
   ・.cx-panel__title の SP 字送り 0.17em → 0.04em
   ・.cx-panel__label の 12.6px（自社ガイドの本文下限14px を下回る）
   ・.cx-ph の文字色（#808080 は白地でも面上でも 4.5:1 未満）
   ・.cx-panel__actions のボタンを共通トークンへ
   ・.cx-wcard__title の SP（青ベタ帯・中央・12.53px）を PC と同じ役割に戻す
   ========================================================== */

/* ---- ヒーロー: 白見出しのコントラスト確保（subpage.css は編集不可のためページ側で上書き） ---- */
.page-hero::after {
  background:
    linear-gradient(180deg, rgba(var(--c-navy-overlay), 0.34) 0%, rgba(var(--c-navy-overlay), 0.34) 100%),
    linear-gradient(180deg,
      rgba(var(--c-navy-overlay), 0.18) 0%,
      rgba(var(--c-navy-overlay), 0.10) 45%,
      rgba(var(--c-navy-overlay), 0.20) 100%);
}

/* ---- セクション間リズム ---- */
.ac-bluesec { margin-top: var(--cx-gap-sec); }

/* ---- 広域マップ（版面いっぱい） ---- */
/* 素材の実寸は 976×739。版面(1272)まで拡大すると解像度が足りず甘くなるため実寸で中央に置く */
.ac-map { max-width: 976px; margin: 0 auto; }
.ac-map img { display: block; width: 100%; height: auto; }
.ac-map figcaption { margin-top: 10px; text-align: left; }

/* ---- Googleマップ枠（読み込めない環境では背後の .cx-ph が見える） ---- */
.ac-gmap {
  position: relative;
  height: 400px;
  border: 1px solid var(--cx-blue);
  border-radius: 6px;
  overflow: hidden;
}
.ac-gmap__ph { position: absolute; inset: 0; z-index: 0; color: #636363; }
.ac-gmap iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

/* ---- ルートカード（青帯の上の白カード） ---- */
.ac-route__path { margin-top: 2px; }
.ac-route__time {
  display: block;
  margin-top: 16px;
  white-space: normal;   /* .cx-val の nowrap を解除（3カラムに収める） */
  line-height: 1.6;
}
.ac-route .cx-note { margin-top: 10px; }

/* ---- パネル（駐車場／公共交通／冬季注意・道路情報） ---- */
/* 中身の量が違っても下端は揃える（カンプの RENTAL カードと同じ「積んで、アクション行だけ底へ」） */
.ac-panels { align-items: stretch; }
.ac-panel { height: 100%; }
.ac-panel .cx-panel__body { flex: 1; }
.ac-panel .cx-panel__actions { margin-top: auto; padding-top: 24px; }
.ac-panel__tbd { margin-top: 16px; }
.ac-panel__val { display: block; margin-top: 16px; }
.ac-road__actions { flex-wrap: wrap; }

/* ---- EN小ラベルを本文下限（14px）へ ---- */
.cx-panel__label { font-size: 14px; letter-spacing: 0.12em; }

/* ---- パネル内ボタンを共通トークンへ戻す ---- */
.cx-panel__actions .cx-btn { flex: 0 0 auto; width: 300px; min-height: 70px; }
.cx-panel__actions .cx-btn__text { font-size: 17px; letter-spacing: 0.05em; }

@media (max-width: 768px) {
  .ac-bluesec { margin-top: var(--cx-gap-sec-sp); }
  .ac-gmap { height: 300px; }
  .ac-route__time { margin-top: 12px; }
  .ac-panel .cx-panel__actions { padding-top: 18px; }
  .ac-road__actions { flex-direction: column; }

  /* 白カード見出しは PC と同じ役割（墨・左寄せ・面なし）で SP スケールへ */
  .ac-route .cx-wcard__title {
    background: none;
    color: var(--cx-ink);
    text-align: left;
    border-radius: 0;
    padding: 0;
    margin-bottom: 12px;
    font-size: 19.25px;
    line-height: 23.62px;
    letter-spacing: 0.07em;
  }

  .cx-panel__title { font-size: 15.25px; line-height: 20px; letter-spacing: 0.04em; }
  .cx-panel__label { font-size: 12px; letter-spacing: 0.1em; }
  .cx-panel__actions { flex-direction: column; align-items: center; }
  .cx-panel__actions .cx-btn { width: 100%; max-width: 265.2px; min-height: 61.9px; }
  .cx-panel__actions .cx-btn__text { font-size: 15.03px; }
}

/* ---- SP 本文下限14px（design-language §2・メイン判断5）:
   components.css の .cx-val は SP 12.53px（カンプ実在3ページ用のトークン）。
   新規ページの本文値なので 14px に戻す ---- */
@media (max-width: 768px) {
  .ac-route__time, .ac-panel__val { font-size: 14px; }
}

/* ==========================================================
   D-1 r5（グループC 再批評 crit3）
   ・C-17: 現行HTMLにあった確定見出し「OVERVIEW / アクセス概要」が
     「ACCESS / 広域マップ」に置き換わって消えていたため復帰（HTML側）。
     所要時間の BY CAR への一本化はそのまま（見出し「BY CAR / 車でお越しの方」も確定コピー）。
   ========================================================== */

/* ==========================================================
   【2026-09-16 打ち合わせ反映】
   ・広域図は現行サイトの図（544×705・赤丸入り）＝原寸以上に拡大しない
   ・BY CAR に 7カ所の所要時間（白カード・4列）と高山ICからの目印図
   ========================================================== */
.ac-map--wide { max-width: 560px; }
.ac-times { margin-top: 40px; }
.ac-times__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ac-times__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0 12px;
  border-top: 1px solid rgba(45, 45, 45, 0.12);
}
.ac-times__from { font-size: 15px; line-height: 1; letter-spacing: 0.11em; color: var(--cx-blue); }
.ac-times__val { white-space: normal; line-height: 1.4; }
.ac-routemap { margin: 32px auto 0; max-width: 795px; }
.ac-routemap img { display: block; width: 100%; height: auto; background: #fff; border-radius: 6px; }
.ac-routemap figcaption { margin-top: 10px; color: #fff; }
@media (max-width: 768px) {
  .ac-map--wide { max-width: 100%; }
  .ac-times { margin-top: 24px; }
  .ac-times__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
  .ac-times__item { gap: 8px; padding: 10px 0 8px; }
  .ac-times__from { font-size: 13px; }
  .ac-routemap { margin-top: 22px; }
}

/* 【2026-09-17 議事録】各地からの所要時間＝トップと同じピル＋行の罫線（重複していた名古屋・大阪・富山は上のカードへ集約）
   高山ICからの目印ポイント＝画像をやめて新サイトの様式で（3ステップ＋距離）／道路・安全情報のボタンは3等分 */
.ac-times__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.ac-times__item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(22, 92, 226, 0.18); }
.ac-times__from { display: inline-flex; align-items: center; justify-content: center; min-width: 104px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--cx-blue); color: #fff; font-size: 14px; line-height: 1; letter-spacing: 0.08em; }
.ac-times__val { font-size: 17px; }
.ac-steps { margin-top: 32px; padding: 26px 28px 28px; background: #fff; border-radius: 10px; }
.ac-steps__title { font-size: 17px; letter-spacing: 0.08em; }
.ac-steps__sub { margin-left: 10px; font-size: 13px; letter-spacing: 0.05em; color: #5f6761; }
.ac-steps__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 150px; gap: 12px; margin: 18px 0 0; padding: 0; align-items: stretch; }
.ac-steps__item { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 50px; border: 1px solid rgba(22, 92, 226, 0.35); border-radius: 8px; }
.ac-steps__num { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--cx-blue); color: #fff; font-size: 14px; }
.ac-steps__name { margin: 0; font-size: 16px; letter-spacing: 0.06em; }
.ac-steps__desc { margin: 0; font-size: 13.5px; line-height: 1.7; letter-spacing: 0.04em; color: #5f6761; }
.ac-steps__dist { position: absolute; right: 14px; bottom: 12px; display: inline-flex; align-items: baseline; gap: 2px; padding: 4px 12px; border-radius: 999px; background: #ffe434; color: #2d2d2d; font-size: 13px; letter-spacing: 0.04em; }
.ac-steps__dist b { font-weight: 400; font-size: 18px; }
.ac-steps__item--goal { justify-content: center; align-items: center; padding: 16px; background: var(--cx-blue); border-color: var(--cx-blue); color: #fff; text-align: center; }
.ac-road__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ac-road__actions .cx-btn { width: auto; max-width: none; }
@media (max-width: 768px) {
  .ac-times__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ac-times__item { gap: 10px; padding: 10px 0; }
  .ac-times__from { min-width: 92px; height: 30px; font-size: 13px; }
  .ac-times__val { font-size: 15px; }
  .ac-steps { margin-top: 22px; padding: 18px 16px 20px; }
  .ac-steps__list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ac-steps__item { padding: 14px 16px 44px; }
  .ac-steps__item--goal { padding: 14px; }
  .ac-road__actions { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

/* 【2026-09-18】アクセス概要＝トップと同じイラスト地図（青丸ピン＋ロゴラベル。位置はトップと同じ 48% / 47.5%） */
.ac-illust { max-width: 976px; margin: 0 auto; }
.ac-illust__wrap { position: relative; }
.ac-illust__img { display: block; width: 100%; height: auto; }
.ac-illust__pin { position: absolute; left: 48%; top: 47.5%; width: 22px; height: 22px; transform: translate(-50%, -50%); border-radius: 50%; background: #1673e2; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(22, 115, 226, 0.25); }
.ac-illust__label { position: absolute; left: 48%; top: 47.5%; display: flex; align-items: center; transform: translate(-50%, 18px); padding: 8px 14px; border-radius: 6px; background: #1673e2; }
.ac-illust__label img { display: block; width: auto; height: 30px; }
@media (max-width: 768px) {
  .ac-illust__pin { width: 16px; height: 16px; border-width: 2px; box-shadow: 0 0 0 4px rgba(22, 115, 226, 0.25); }
  .ac-illust__label { transform: translate(-50%, 12px); padding: 5px 10px; }
  .ac-illust__label img { height: 20px; }
}

/* 【2026-09-18】市岡さん指示: 方面カードの見出しも青いピルにして所要時間リストと統一／
   所要時間は「ピル＋時間」を改行させず1行に・数字を大きく・1段4列にして余白を詰める（旧ルールの column と border-top を打ち消す） */
.ac-route .cx-wcard__title { display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border-radius: 999px; background: var(--cx-blue); color: #fff; font-size: 14px; line-height: 1.3; letter-spacing: 0.08em; }
.ac-route__path { margin-top: 12px; }
.ac-times { padding-bottom: 22px; }
.ac-times__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; margin-top: 6px; }
.ac-times__item { flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; padding: 12px 0; border-top: 0; text-align: left; }
.ac-times__from { min-width: 88px; }
.ac-times__val { font-size: 18px; white-space: nowrap; }
.ac-times__val .cx-val__num { font-size: 28px; }
@media (max-width: 1100px) and (min-width: 769px) { .ac-times__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .ac-route .cx-wcard__title { min-height: 30px; padding: 0 12px; font-size: 13px; }
  .ac-times__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ac-times__item { flex-direction: row; padding: 9px 0; }
  .ac-times__val { font-size: 16px; }
  .ac-times__val .cx-val__num { font-size: 24px; }
}

/* 【2026-09-18】目印ポイントに交差点のイラスト（旧サイトの図を参考に新サイトの配色で）。次のポイントまでの距離は、カードの間にまたがる矢印形のチップに */
.ac-steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)) 150px; gap: 34px; }
.ac-steps__item { padding: 14px 16px 18px; gap: 8px; }
.ac-steps__map { margin-bottom: 4px; }
.ac-steps__svg { display: block; width: 100%; height: auto; border-radius: 8px; }
.ac-steps__dist { right: -31px; bottom: auto; top: 50%; transform: translateY(-50%); z-index: 1; padding: 6px 18px 6px 12px; border-radius: 4px 0 0 4px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); white-space: nowrap; }
.ac-steps__goalicon { width: 34px; height: 34px; margin-bottom: 8px; }
@media (max-width: 768px) {
  .ac-steps__list { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .ac-steps__item { padding: 12px 14px 22px; }
  .ac-steps__dist { top: auto; right: auto; left: 50%; bottom: -24px; transform: translateX(-50%); padding: 5px 14px 12px; border-radius: 4px 4px 0 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), 50% 100%, 0 calc(100% - 9px)); }
  .ac-steps__item--goal { flex-direction: row; gap: 10px; }
  .ac-steps__goalicon { width: 26px; height: 26px; margin-bottom: 0; }
}

/* 【2026-09-18】市岡さん指示: アクセス概要の地図を「はみ出るくらい大きく」し、ヘッダー画像と下の BY CAR 帯につなぐ。
   PC: 導入文と OVERVIEW 見出しは地図の上に重ね（地図の左上は海＝空き）、地図は幅112%で左右にブリード、
   下端は BY CAR の青帯を重ねて切れ目をなくす */
@media (min-width: 769px) {
  .page-hero + .cx-sec { position: relative; z-index: 2; padding-top: 44px; }
  #overview { position: relative; z-index: 1; margin-top: -40px; padding-top: 0; overflow: hidden; }
  #overview > .cx-inner { position: static; width: 100%; max-width: none; }
  #overview .cx-head { position: absolute; left: max(24px, calc(50% - 636px)); top: 132px; z-index: 2; margin: 0; }
  .ac-illust { width: 112%; max-width: none; margin: 0 0 0 -6%; }
  .ac-illust__label img { height: 34px; }
  #overview + .ac-bluesec { position: relative; z-index: 2; margin-top: -140px; }
}
@media (max-width: 768px) {
  .ac-illust { width: calc(100% + 44px); max-width: none; margin: 0 -22px; }
}

/* ==========================================================
   【2026-09-18 打ち合わせ反映】冬季道路・安全情報のボタンが5つになったため、
   PCは2列（最後の1つは全幅）にして文言の長いボタンでも折り返さないようにする
   ========================================================== */
.ac-road__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ac-road__actions .cx-btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ac-road .cx-note { display: block; margin-top: 10px; }
@media (max-width: 768px) {
  /* SPは1列のまま（上の2列指定が後勝ちで効かないよう、同じ位置で打ち消す） */
  .ac-road__actions { grid-template-columns: minmax(0, 1fr); }
  .ac-road__actions .cx-btn:last-child:nth-child(odd) { grid-column: auto; }
}

/* ==========================================================
   【2026-09-22 HEROU定例】アクセス概要の地図が大きすぎて見出しと重なる
   → 9/18 の「見出しを地図に重ねる・幅112%でブリード」をやめ、見出しの下に本文幅で置く。
     下端の切れ目（画像の端で陸地が切れている）は BY CAR の青帯を少し重ねて隠す
   ========================================================== */
@media (min-width: 769px) {
  #overview { margin-top: 0; padding-top: 56px; overflow: visible; }
  #overview > .cx-inner { position: relative; width: var(--cx-content); max-width: none; }
  #overview .cx-head { position: static; margin: 0 0 24px; }
  .ac-illust { width: 100%; max-width: 1000px; margin: 0 auto; }
  .ac-illust__label img { height: 28px; }
  /* 画像の上端で陸地が一直線に切れて見えるため、上端12%だけ透明へぼかす */
  .ac-illust__img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%); mask-image: linear-gradient(to bottom, transparent 0, #000 12%); }
  #overview + .ac-bluesec { margin-top: -80px; }
}
