/* ==========================================================================
   Hiroshima RV & Campervan Rental — style.css
   Elementor版（2026年11月時点）の見た目を、素のCSSで再現したもの

   しくみ
   - 色・文字は下の :root の変数を使う
   - ページの中身は .band（帯）/ .c（箱）/ .hd（見出し）/ .rt（本文）/ .btn（ボタン）の組み合わせ。
     余白や文字の大きさは、HTMLの style="--p:…; --fs:…" で1つずつ指定している（下の「変数の意味」参照）
   - スマホ（767px以下）用の値は「-sp」の付いた変数（例 --p-sp, --fs-sp）
   ========================================================================== */

/* ---------- 文字（フォント） ----------
   英字の Work Sans は、このサイトのサーバーに置いたファイルを使う（/assets/fonts/、ライセンスは同じフォルダの OFL.txt）。
   Google Fonts から読み込むと、別のサーバーへの接続と読み込み待ちで表示が遅くなるため（2026-12 速さの改善で変更）。
   1つのファイルに太さ 400〜700 が入っている（可変フォント）。Google Fonts と同じく 400・500・700 を登録している。
   日本語・中国語は、端末に入っている文字（iPhone・Mac はヒラギノ／蘋方、Windows はメイリオ／微軟正黑體、
   Android は Noto）で表示する。日本語・中国語の Web フォントは1ページで1〜1.6MBあり、スマホで重かったため */
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/work-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/work-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/work-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/work-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/work-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/work-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --green: #006738;        /* メインカラー */
  --accent: #00a35a;       /* 明るい緑（元 #00BD67。白文字の読みやすさのため少し濃くした） */
  --brown: #774838;
  --text: #252022;
  --ink: #0c0c0c;
  --muted: #5f5f5f;        /* 補足の灰色（元 #808080。読みやすさのため少し濃くした） */
  --beige: #e3e2d8;        /* ページの背景 */
  --paper: #fcfcfc;
  --mint: #ecfff6;
  --cream: #f0efe5;
  --stone: #5c5350;
  --white: #ffffff;
  --link: #0047d6;        /* リンク（元 #0055FF。背景との明暗差のため少し濃くした） */
  --line: rgba(128, 128, 128, 0.5);
  --focus: #0055ff;

  --f-base: "Work Sans", sans-serif;
  --header-h: 139px;
}
html[lang="ja"] { --f-base: "Work Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", Meiryo, sans-serif; }
html[lang="zh-Hant-TW"] { --f-base: "Work Sans", "PingFang TC", "Noto Sans TC", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif; }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body { margin: 0; background: var(--beige); color: var(--text); font-family: var(--f-base); font-size: 16px; line-height: 1.4; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 1000; padding: 10px 18px; background: var(--white); color: var(--green); font-weight: 700; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.site-header { position: relative; z-index: 50; background: linear-gradient(var(--beige) 0%, rgba(227, 226, 216, 0) 100%); }
.site-header__bar { height: 20px; background: var(--green); }
.site-header__in { display: flex; align-items: center; gap: 20px; max-width: 1400px; margin: 0 auto; padding: 0 20px; min-height: 119px; }
.site-header__logo { flex: 0 0 auto; }
.site-header__logo img { width: 130px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 10px 0.5vw; color: var(--green); font-weight: 700; font-size: clamp(15px, 1.46vw, 21px); letter-spacing: -0.3px; text-decoration: none; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: currentColor; }
.btn--header { flex: 0 0 auto; }
.btn.btn--header { --fs: 22; --fs-sp: 17; --bp: 13px 20px 14px; --bp-sp: 10px 15px; }
html[lang="ja"] .btn.btn--header, html[lang="zh-Hant-TW"] .btn.btn--header { --fs: 18; --fs-sp: 15; }
.menu-button { flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--green); cursor: pointer; display: grid; place-items: center; }
.menu-button__icon { position: relative; width: 32px; height: 24px; }
.menu-button__icon span { position: absolute; left: 0; width: 100%; height: 4px; border-radius: 2px; background: currentColor; }
.menu-button__icon span:nth-child(1) { top: 0; }
.menu-button__icon span:nth-child(2) { top: 10px; }
.menu-button__icon span:nth-child(3) { top: 20px; }

@media (max-width: 1024px) {
  .site-nav { display: none; }
  .btn--header { margin-left: auto; }
}
@media (max-width: 767px) {
  .site-header { position: sticky; top: 0; background: var(--beige); }
  .site-header__in { min-height: 0; padding: 4px 12px 6px 20px; gap: 12px; }
  .site-header__logo img { width: 86px; }
}

/* ---------- 全画面メニュー ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; background: rgba(12, 12, 12, 0.5); display: flex; justify-content: flex-end; }
.drawer[hidden] { display: none; }
.drawer__panel { width: min(420px, 100%); height: 100%; overflow-y: auto; background: var(--green); color: var(--white); padding: 72px 32px 40px; position: relative; display: grid; gap: 32px; align-content: start; }
.drawer__close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border: 0; background: none; color: var(--white); font-size: 40px; line-height: 1; cursor: pointer; }
.drawer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.drawer a { display: block; padding: 8px 0; color: var(--white); text-decoration: none; }
.drawer a:hover { text-decoration: underline; }
.drawer a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.drawer__main a { font-size: 22px; font-weight: 700; }
.drawer__lang { grid-auto-flow: column; justify-content: start; gap: 8px 20px !important; border-top: 1px solid rgba(255, 255, 255, 0.4); border-bottom: 1px solid rgba(255, 255, 255, 0.4); padding: 12px 0 !important; }
.drawer__legal a { font-size: 15px; }
body.is-menu-open { overflow: hidden; }

/* ==========================================================================
   ページの中身（Elementor のコンテナを置き換えたもの）
   変数の意味
     --p 内側の余白 / --m 外側の余白 / --gap 中身どうしの間隔
     --bg 背景色 / --bgi 背景画像 / --ov 写真の上にかける色 / --r 角丸 / --bd --bt --bb 枠線
     --w 幅 / --fb 横並びのときの幅（%） / --mw 中身の最大幅 / --mh 最低の高さ
     --jc 主軸の寄せ / --ai 交差軸の寄せ / --cols グリッドの列数
     --fs 文字の大きさ（px の数字）/ --fw 太さ / --c 色 / --lh 行間（--lh-sp はスマホだけの行間）/ --ta 文字揃え
   ========================================================================== */
.band, .c {
  --p: initial; --p-sp: initial; --m: initial; --m-sp: initial; --gap: initial; --gap-sp: initial;
  --bg: initial; --bgi: initial; --bgi-tab: initial; --bgi-sp: initial; --bgs: initial; --bgp: initial; --ov: initial; --ovo: initial;
  --r: initial; --bt: initial; --bb: initial; --bl: initial; --bd: initial; --sh: initial; --mh: initial; --mh-sp: initial;
  --w: initial; --fb: initial; --fb-sp: initial; --mw: initial; --jc: initial; --ai: initial; --ai-sp: initial;
  --cols: initial; --cols-sp: initial; --fd: initial; --fd-sp: initial;
  position: relative;
  padding: var(--p, 0);
  margin: var(--m, 0);
  background-color: var(--bg, transparent);
  background-image: var(--bgi, none);
  background-size: var(--bgs, cover);
  background-position: var(--bgp, center);
  background-repeat: no-repeat;
  border-radius: var(--r, 0);
  border: var(--bd, 0 none);
  border-top: var(--bt, var(--bd, 0 none));
  border-bottom: var(--bb, var(--bd, 0 none));
  border-left: var(--bl, var(--bd, 0 none));
  box-shadow: var(--sh, none);
  min-height: var(--mh, 0);
}
.band { width: 100%; }
.c { display: flex; flex-direction: column; gap: var(--gap, 20px); justify-content: var(--jc, flex-start); align-items: var(--ai, stretch); width: var(--w, auto); max-width: 100%; min-width: 0; }
.band > .c { width: 100%; max-width: var(--mw, none); margin-inline: auto; }
.c:not(.r) > .c:not([style*="--w:"]), .c:not(.r) > .band { align-self: stretch; }
.c.r { flex-direction: var(--fd, row); }
.c.r > * { flex: 0 1 var(--fb, auto); min-width: 0; }
.c.r > .c { width: auto; }
.c.wrap { flex-wrap: wrap; }
.c.g { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
.c > .hd, .c > .rt, .c > .il { max-width: 100%; }

/* 下のほうの背景写真は、画面に近づいてから読み込む（main.js が data-lazybg を外す。2026-12 速さの改善）
   html の js クラスは <head> の最初のほう（viewport の直後）の script で付ける（JavaScript が動かない環境・main.js が読み込めないときは表示される） */
.js [data-lazybg] { background-image: none; }

/* 写真の上にかける色 */
.ov { isolation: isolate; }
.ov::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ov); opacity: var(--ovo, 1); z-index: -1; pointer-events: none; }

@media (max-width: 1199px) {
  .band, .c { background-image: var(--bgi-tab, var(--bgi, none)); }
}
@media (max-width: 767px) {
  .band, .c {
    padding: var(--p-sp, var(--p, 0));
    margin: var(--m-sp, var(--m, 0));
    min-height: var(--mh-sp, var(--mh, 0));
    background-image: var(--bgi-sp, var(--bgi-tab, var(--bgi, none)));
  }
  .c { gap: var(--gap-sp, var(--gap, 20px)); align-items: var(--ai-sp, var(--ai, stretch)); }
  .c.sp-c { flex-direction: var(--fd-sp, column); }
  .c.sp-c > * { flex: 0 0 auto; }
  .c[style*="--bl:"] { border-left: 0; }
  .c.sp-wrap { flex-wrap: wrap; }
  .c.r:not(.sp-c) > * { flex-basis: var(--fb-sp, var(--fb, auto)); }
  .c.g { grid-template-columns: repeat(var(--cols-sp, 1), minmax(0, 1fr)); }
}

/* ---------- 文字 ---------- */
.hd, .rt, .il, .acc, .btn {
  --fs: initial; --fs-sp: initial; --fw: initial; --c: initial; --lh: initial; --lh-sp: initial; --ta: initial; --ta-sp: initial; --ls: initial; --tt: initial;
  --m: initial; --m-sp: initial; --w: initial;
}
.hd, .rt, .il {
  /* PC（1440px）の大きさ --fs と、スマホ（390px）の大きさ --fs-sp のあいだを、画面幅に合わせてなめらかに変える
     ただし 13px より小さくはしない（スマホで読みにくいため。2026-12 点検で追加） */
  font-size: max(13px, clamp(
    calc(min(var(--fs-sp, var(--fs, 16)), var(--fs, 16)) * 1px),
    calc(var(--fs-sp, var(--fs, 16)) * 1px + (var(--fs, 16) - var(--fs-sp, var(--fs, 16))) * (100vw - 390px) / 1050),
    calc(max(var(--fs-sp, var(--fs, 16)), var(--fs, 16)) * 1px)));
  font-weight: var(--fw, 400);
  color: var(--c, inherit);
  line-height: var(--lh, 1.4);
  text-align: var(--ta, left);
  letter-spacing: var(--ls, normal);
  text-transform: var(--tt, none);
  margin: var(--m, 0);
  width: var(--w, auto);
  overflow-wrap: break-word;
}
.hd a { color: inherit; }
/* 改行のきれいさ（2026-12 点検で追加）
   見出しは行の長さをそろえ、本文は最後の行に1〜2文字だけ残らないようにする（対応していないブラウザでは今まで通り） */
h1, h2, h3, h4, .hd, summary, .btn { text-wrap: balance; }
p, li, td, th, dd, label, figcaption, .rt { text-wrap: pretty; }
.nw { white-space: nowrap; } /* 中国語の文末3文字は改行で離さない */
@media (max-width: 767px) {
  .hd, .rt, .il { text-align: var(--ta-sp, var(--ta, left)); margin: var(--m-sp, var(--m, 0)); line-height: var(--lh-sp, var(--lh, 1.4)); }
}

/* 本文（テキストエディタ） */
.rt p, .rt ul, .rt ol, .rt table, .rt blockquote { margin: 0 0 0.9em; }
.rt > :last-child, .rt > div > :last-child { margin-bottom: 0; }
.rt ul, .rt ol { padding-left: 1.6em; }
.rt li + li { margin-top: 0.2em; }
.rt h2 { font-size: 1.6em; line-height: 1.3; margin: 1.4em 0 0.6em; }
.rt h3 { font-size: 1.25em; line-height: 1.35; margin: 1.2em 0 0.5em; }
.rt blockquote { padding: 12px 18px; border-left: 4px solid var(--green); background: rgba(255, 255, 255, 0.5); }
.rt table { width: 100%; font-size: max(12px, 0.92em); }
.rt table:not([style]) th, .rt table:not([style]) td { padding: 15px; line-height: 1.5; vertical-align: top; border: 1px solid var(--line); text-align: left; }
.rt table:not([style]) tbody > tr:nth-child(odd) > td, .rt table:not([style]) tbody > tr:nth-child(odd) > th { background-color: rgba(128, 128, 128, 0.07); }
.rt .table-scroll { overflow-x: auto; }
.muted { color: var(--muted); }
.small { font-size: max(12px, 0.85em); }
.fw4 { font-weight: 400; }
.green { color: var(--green); }
.red { color: #c00000; }
.u { text-decoration: underline; }

/* 箇条書き（フッターの住所など） */
.il { list-style: none; margin: 0; padding: 0; }
.il a { color: inherit; }

/* 画像 */
.pic { --iw: initial; --iw-sp: initial; --ar: initial; --if: initial; --ir: initial; --m: initial; --m-sp: initial; --w: initial; margin: var(--m, 0); width: var(--w, auto); max-width: 100%; }
.pic img { width: var(--iw, 100%); filter: var(--if, none); border-radius: var(--ir, 0); }
.pic--crop img { aspect-ratio: var(--ar); object-fit: cover; }
.pic--center img { margin-inline: auto; }
@media (max-width: 767px) {
  .pic { margin: var(--m-sp, var(--m, 0)); }
  .pic img { width: var(--iw-sp, var(--iw, 100%)); }
}

/* 区切り線 */
.dv { --dc: initial; --dw: initial; --dl: initial; --m: initial; --m-sp: initial; --p: initial; border: 0; border-top: var(--dw, 1px) solid var(--dc, var(--text)); width: var(--dl, 100%); max-width: 100%; margin: 15px 0; }

/* ボタン */
.btn-wrap { --m: initial; --m-sp: initial; --ta: initial; margin: var(--m, 0); text-align: var(--ta, left); }
.c[style*="--ai:center"] > .btn-wrap { text-align: center; }
@media (max-width: 767px) { .btn-wrap { margin: var(--m-sp, var(--m, 0)); } }
.btn {
  --bbg: initial; --bp: initial; --bp-sp: initial; --br: initial;
  display: inline-block;
  padding: var(--bp, 12px 24px);
  border: 0;
  border-radius: var(--br, 10px);
  background: var(--bbg, var(--green));
  color: var(--c, var(--white));
  font-size: clamp(
    calc(min(var(--fs-sp, var(--fs, 16)), var(--fs, 16)) * 1px),
    calc(var(--fs-sp, var(--fs, 16)) * 1px + (var(--fs, 16) - var(--fs-sp, var(--fs, 16))) * (100vw - 390px) / 1050),
    calc(max(var(--fs-sp, var(--fs, 16)), var(--fs, 16)) * 1px));
  font-weight: var(--fw, 700);
  line-height: var(--lh, 1.5);
  letter-spacing: var(--ls, normal);
  text-transform: var(--tt, none);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.btn:hover { background: #ee4037; color: var(--white); }
@media (max-width: 767px) { .btn { padding: var(--bp-sp, var(--bp, 12px 24px)); } }
.btn--block { display: block; width: 100%; }
.btn--small { --fs: 15; padding: 9px 18px; }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.15); }

/* ページタイトル（新しく作ったページ用） */
.page-title { padding: 60px 20px 0; text-align: center; }
.page-title .hd { --fs: 40; --fs-sp: 28; font-weight: 700; text-align: center; }

/* ---------- アコーディオン（よくある質問） ---------- */
.acc { --qfs: initial; --qfs-sp: initial; --gap: initial; display: grid; gap: var(--gap, 10px); margin: var(--m, 0); }
.acc__item { border-radius: 10px; }
.acc__q { display: flex; align-items: center; gap: 10px; padding: 15px; border: 1px solid #d5d8dc; border-radius: 5px; background: rgba(236, 255, 246, 0.68); color: var(--text); font-size: calc(var(--qfs, 16) * 1px); font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none; }
@media (max-width: 767px) { .acc__q { font-size: calc(var(--qfs-sp, var(--qfs, 16)) * 1px); } }
.acc__q::-webkit-details-marker { display: none; }
.acc__icon { order: -1; flex: 0 0 auto; width: 12px; height: 12px; position: relative; }
.acc__icon::before { content: ""; position: absolute; inset: 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg) scale(0.75); }
.acc__item[open] > .acc__q { color: var(--green); }
.acc__item[open] > .acc__q .acc__icon::before { border-right: 0; transform: translateY(-5px) scale(0.9); }
.acc__a { margin-top: 10px; padding: 15px 20px; background: var(--paper); border: 1px solid #d5d8dc; border-radius: 5px; }
.acc__a > .c { gap: 10px; }

/* ---------- ギャラリー ---------- */
.gal { --cols: initial; --cols-sp: initial; --gap: initial; --gap-sp: initial; --ar: initial; --m: initial; --m-sp: initial;
  list-style: none; margin: var(--m, 0); padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--gap, 10px); }
.gal img { width: 100%; aspect-ratio: var(--ar, 3/2); object-fit: cover; border-radius: 10px; }
@media (max-width: 767px) { .gal { grid-template-columns: repeat(var(--cols-sp, 2), minmax(0, 1fr)); gap: var(--gap-sp, var(--gap, 10px)); margin: var(--m-sp, var(--m, 0)); } }

/* ---------- 写真のスライド（車両） ---------- */
.car { width: 100%; }
.car__view { position: relative; overflow: hidden; border-radius: 20px 20px 0 0; }
.car__track { display: flex; list-style: none; margin: 0; padding: 0; transition: transform 0.6s ease; }
.car__slide { flex: 0 0 100%; }
.car__slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.car__nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.85); color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.car__nav--prev { left: 10px; }
.car__nav--next { right: 10px; }
.car__pause { position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; border: 0; border-radius: 20px; background: rgba(255, 255, 255, 0.9); color: var(--text); font-size: 13px; cursor: pointer; }
.car__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; list-style: none; margin: 6px 0 0; padding: 0; }
.car__thumbs li:nth-child(n+6) { display: none; }
.car__thumb { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 6px; background: none; cursor: pointer; overflow: hidden; }
.car__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: 0.7; }
.car__thumb[aria-current="true"] { border-color: var(--green); }
.car__thumb[aria-current="true"] img { opacity: 1; }

/* ---------- 地図 ---------- */
.map { --h: initial; --h-sp: initial; width: 100%; }
.map iframe { width: 100%; height: var(--h, 300px); border: 0; }
@media (max-width: 767px) { .map iframe { height: var(--h-sp, var(--h, 300px)); } }

.social { display: inline-flex; width: 32px; height: 32px; padding: 4px; color: inherit; }
.social svg { width: 100%; height: 100%; }

/* ==========================================================================
   フォーム
   ========================================================================== */
.form-wrap { width: 100%; max-width: 640px; margin-inline: auto; }
.form__legend { font-size: 14px; margin-bottom: 10px; }
.form__grid { display: flex; flex-wrap: wrap; margin: 0 -5px; }
.form__field, .form__fieldset, .form__note { flex: 0 0 var(--col, 100%); max-width: var(--col, 100%); padding: 0 5px; margin: 0 0 14px; }
.form__fieldset { border: 0; min-width: 0; }
.form__field label, .form__fieldset legend { display: block; margin-bottom: 4px; padding: 0; font-size: 14px; font-weight: 700; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #8a897f; border-radius: 6px; background: #f4f3ec; color: var(--text); font-size: 16px; }
.form textarea { min-height: 110px; resize: vertical; }
.form ::placeholder { color: #5f5f5f; opacity: 1; }
.form__check { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0; font-size: 14px; cursor: pointer; }
.form__check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); }
.form__note { font-size: 13px; line-height: 1.5; }
.form__note p { margin: 0 0 0.4em; }
.form .req { color: #c00000; margin-left: 4px; }
.form [aria-invalid="true"] { border-color: #c00000 !important; box-shadow: 0 0 0 1px #c00000; }
.form__error { margin: 4px 0 0; color: #c00000; font-size: 13px; font-weight: 700; }
.form__hint { margin: 4px 0 0; color: #8a4b00; font-size: 13px; font-weight: 700; line-height: 1.5; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { padding: 6px 0 0; }
.form__submit .btn { letter-spacing: 0.05em; font-size: 17px; }
.form__status:empty { display: none; }
.form__turnstile { margin-top: 12px; }
.form__turnstile:empty { display: none; }
.form__status { margin-top: 16px; padding: 14px 18px; border-radius: 8px; font-weight: 700; line-height: 1.6; }
.form__status.is-success { background: var(--mint); color: var(--green); border: 2px solid var(--green); }
.form__status.is-error { background: #fff1f0; color: #a30000; border: 2px solid #c00000; }
.form__status:focus { outline: 3px solid var(--focus); }
.form button[disabled] { opacity: 0.6; cursor: wait; }
@media (max-width: 767px) {
  .form__field, .form__fieldset, .form__note { flex-basis: 100%; max-width: 100%; }
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer { background: var(--green); color: var(--white); padding: 0 20px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__in { max-width: 1280px; margin: 0 auto; }
.site-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 48px 10px; border-bottom: 1px solid var(--white); }
.site-footer__logo img { width: 130px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 4px 34px; list-style: none; margin: 0; padding: 0; font-weight: 700; font-size: 18px; }
.site-footer__nav a[aria-current="page"] { color: #8fe3b6; }
/* 指で押しやすいよう、フッターのリンクは高さ24px以上にする（2026-12 点検で追加） */
.site-footer__nav a, .site-footer__legal a, .site-footer__legal .link-button, .site-footer__addr a { display: inline-block; padding-block: 4px; }
.site-footer__mid { display: flex; align-items: center; gap: 10px; padding: 32px 0; border-bottom: 1px solid var(--white); }
.site-footer__info, .site-footer__map { flex: 1 1 50%; padding: 10px; }
.site-footer__name { font-size: 33px; font-weight: 700; line-height: 1; margin-bottom: 20px; }
.site-footer__sub { font-size: 20px; margin-bottom: 20px; }
.site-footer__addr { list-style: none; margin: 0 0 16px; padding: 0; line-height: 1.6; }
.site-footer__map iframe { width: 100%; height: 333px; border: 0; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 32px 0; }
.site-footer__copy { font-size: 16px; }
.site-footer__copy small { font-size: inherit; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.link-button { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 767px) {
  .site-footer__top { flex-direction: column; padding: 30px 0 24px; }
  .site-footer__logo img { width: 160px; }
  .site-footer__nav { flex-direction: column; align-items: center; gap: 14px; font-size: 22px; padding: 20px 0; }
  .site-footer__mid { flex-direction: column; align-items: stretch; padding: 28px 0; }
  .site-footer__info, .site-footer__map { padding: 0; }
  .site-footer__name { font-size: 21px; margin-bottom: 10px; }
  .site-footer__sub { font-size: 20px; margin-bottom: 10px; }
  .site-footer__map iframe { height: 180px; }
  .site-footer__bottom { flex-direction: column-reverse; padding: 18px 0 24px; }
  .site-footer__legal { justify-content: center; gap: 10px 26px; font-size: 15px; }
}

/* ページ上部へ戻るボタン */
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-size: 22px; font-weight: 700; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.to-top.is-shown, .to-top:focus { opacity: 1; visibility: visible; }

/* ==========================================================================
   クッキー同意バナー
   ========================================================================== */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 760px; margin: 0 auto; padding: 18px 20px; background: #1d3b2e; color: var(--white); border-radius: 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.consent[hidden] { display: none; }
.consent__text { flex: 1 1 360px; font-size: 14px; line-height: 1.6; }
.consent__text a { color: var(--white); text-decoration: underline; }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn:not(.btn--ghost) { background: var(--white); color: var(--green); }
.consent .btn:not(.btn--ghost):hover { background: var(--mint); }

/* ==========================================================================
   コラム
   ========================================================================== */
.article { max-width: 720px; margin: 0 auto; padding: 60px 20px 80px; }
.article__title { color: var(--green); font-size: clamp(26px, 3vw, 32px); line-height: 1.4; margin-bottom: 14px; }
.article__date { color: var(--muted); font-size: 0.92em; margin-bottom: 12px; }
.article__date span { color: inherit !important; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 32px; padding: 0; }
.tags a { display: inline-block; padding: 4px 12px; border: 1px solid var(--green); border-radius: 20px; color: var(--green); font-size: 13px; text-decoration: none; }
.tags a:hover { background: var(--green); color: var(--white); }
.article__body { font-size: 16px; line-height: 1.9; }
.article__body h2 { font-size: 26px; line-height: 1.4; }
.article__cta > div { background: var(--cream) !important; }
.article__cta a { display: inline-block; }

.column-list { max-width: 900px; margin: 0 auto; padding: 50px 20px 80px; }
.column-list__title { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
.column-list__sub { font-size: 0.6em; font-weight: 400; margin-left: 8px; }
.column-list__filter ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 30px; padding: 0; }
.column-list__filter a { display: inline-block; padding: 6px 14px; border: 1px solid var(--green); border-radius: 20px; color: var(--green); text-decoration: none; font-size: 14px; }
.column-list__filter a[aria-current="page"], .column-list__filter a:hover { background: var(--green); color: var(--white); }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.post-list__item { padding: 22px 24px; background: var(--paper); border-radius: 14px; }
.post-list__title { font-size: 22px; line-height: 1.4; margin-bottom: 6px; }
.post-list__title a { color: var(--link); text-decoration: none; }
.post-list__title a:hover { text-decoration: underline; }
.post-list__date { color: var(--muted); font-size: 13px; margin-bottom: 8px; }

.simple-page { max-width: 720px; margin: 0 auto; padding: 80px 20px 100px; text-align: center; }
.simple-page .hd { --fs: 36; --fs-sp: 26; font-weight: 700; text-align: center; margin-bottom: 24px; }
.simple-page p { margin-bottom: 1em; line-height: 1.7; }
.notfound-links { display: flex; justify-content: center; gap: 20px; list-style: none; padding: 0; }

/* 暗い写真の上に置くフォーム（日本語・中国語の予約フォーム） */
.form-wrap--dark { max-width: 715px; color: var(--white); }
.form-wrap--dark .form__field label, .form-wrap--dark .form__fieldset legend, .form-wrap--dark .form__check, .form-wrap--dark .form__note, .form-wrap--dark .form__legend { color: var(--white); }
.form-wrap--dark .form__note a, .form-wrap--dark .form__check a { color: var(--white); text-decoration: underline; }
.form-wrap--dark input:not([type="checkbox"]), .form-wrap--dark select, .form-wrap--dark textarea { background: var(--beige); border: 2px solid var(--beige); border-radius: 10px; }
.form-wrap--dark .req { color: #ffb3b3; }
.form-wrap--dark .form__error { color: #ffd6d6; }
.form-wrap--dark .form__hint { color: #ffe2a8; }
.form-wrap--dark [aria-invalid="true"] { border-color: #ff8a8a !important; box-shadow: 0 0 0 2px #ff8a8a; }
.form-wrap--dark .form__note [style*="color"] { color: inherit !important; }

/* 予約前の安心ポイント（トップの「料金を払う前に分かること」の帯。英・日・中） */
.assure { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1140px; }
.assure li { background: var(--paper); border-radius: 14px; padding: 18px 18px 16px; border-top: 4px solid var(--green); color: var(--text); line-height: 1.45; }
.assure strong { display: block; font-size: 17px; color: var(--green); margin-bottom: 4px; }
.assure > li > span { display: block; font-size: 14px; color: var(--muted); }
.assure-title { text-align: center; font-weight: 700; font-size: 22px; color: var(--ink); margin: 0 0 18px; line-height: 1.3; }
@media (max-width: 1024px) { .assure { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .assure { grid-template-columns: 1fr; gap: 10px; } .assure li { padding: 14px 16px; } .assure-title { font-size: 19px; } }

/* 白いカード（写真が上いっぱい＋下に文字。車両・料金のカードなど。英・日・中）
   写真は端まで、文字だけ左右に余白をとる。余白はカードの幅の7%（14〜32px） */
.c.card > :not(.pic):not(.car) { max-width: calc(100% - 2 * clamp(14px, 7%, 32px)); }
@media (max-width: 767px) { .c.card { padding-bottom: 24px; } }
/* 英語トップの車両カード3枚：iPad縦（768〜1023px）では3列だと狭すぎるので2列に */
@media (min-width: 768px) and (max-width: 1023px) {
  .c.r.cards3 { flex-wrap: wrap; }
  .c.r.cards3 > .c.card { flex: 0 1 calc(50% - 20px); }
}

/* トップの最初の画面の予約ボタン（2026-12-03） */
.hero-cta { margin-top: 10px; }
@media (max-width: 767px) { .hero-cta { margin-top: 6px; } }
/* スマホの画面下に固定する予約ボタン（main.js が作る。2026-12-03） */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 39; padding: 10px 76px calc(10px + env(safe-area-inset-bottom)) 12px; background: rgba(227, 226, 216, 0.96); box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12); transform: translateY(110%); transition: transform 0.25s; }
  .sticky-cta.is-shown { transform: none; }
  .sticky-cta .btn { display: block; width: 100%; --fs: 17; background: var(--accent); }
  .sticky-cta .btn:hover { background: #ee4037; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
