/* KLATCH RENT-A-CAR モック 共通。色は今の Canva サイトから拾ったもの。字は今のサイトと同じ Zen Kaku Gothic New */
:root {
  --ink: #303030;
  --ink-strong: #0f1015;
  --paper: #fafafa;
  --white: #ffffff;
  --line: #d9d9d9;
  --muted: #6b6b6b;
  --blue: #268dce;
  --blue-deep: #1b6fa6;
  --cyan: #e4feff;
  --lime: #c1ff72;
  --orange: #f5a623;
  --red: #ed1c24;
  --line-green: #06c755;
  --ok: #1f9d55;
  --ok-bg: #e7f6ec;
  --few: #b7791f;
  --few-bg: #fdf3e1;
  --full: #c53030;
  --full-bg: #fdecec;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 16, 21, .10);
}
* { box-sizing: border-box; }
/* ページの外側（iPhone の Safari でフッターの下やバーの裏に見える所）はフッターと同じ色にする。本文の地は body が持つ */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink-strong); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.7; word-break: auto-phrase;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
input[type=number] { appearance: textfield; -moz-appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px; }

/* スクロールでじんわり出す（今のサイトと同じ動き） */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }


/* ヘッダー */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(250, 250, 250, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 12px; }
/* ロゴは portal が配る絵（/brand）。屋号を字で打たない */
.logo { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.logo img { display: block; height: auto; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.lang button { border: 0; background: transparent; padding: 4px 12px; font-size: 12px; font-weight: 700; cursor: pointer; }
.lang button[aria-pressed=true] { background: var(--ink-strong); color: #fff; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 14px 18px; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; letter-spacing: .06em; }
.btn-primary { background: var(--ink-strong); color: #fff; }
.btn-line { background: var(--line-green); color: #fff; }
.btn-ghost { background: transparent; border: 1.5px solid var(--ink-strong); color: var(--ink-strong); }
.btn-white { background: #fff; color: var(--blue-deep); }
.btn-block { width: 100%; }
.textlink { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; color: var(--blue-deep); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.textlink.on-blue { color: #fff; }

.h2 { font-size: 22px; text-align: center; margin: 0 0 18px; color: var(--ink-strong); font-weight: 700; letter-spacing: .2em; line-height: 1.6; }
.lead { text-align: center; font-size: 14px; margin: -6px 0 18px; }
section.block { padding: 48px 0 8px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px; }
.note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }

/* スマホの絵（今のサイトの枠の画像に、画面のスクリーンショットをはめる） */
.phone { position: relative; aspect-ratio: 398 / 800; width: 100%; }
.phone .screen { position: absolute; top: 1.9%; bottom: 1.9%; left: 4.2%; right: 4.2%; width: 91.6%; height: 96.2%; object-fit: cover; object-position: top; border-radius: 11% / 5.4%; background: #e9e9e9; }
.phone .frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* フッター */
footer { background: var(--ink-strong); color: #fff; margin-top: 56px; padding: 32px 0 calc(110px + env(safe-area-inset-bottom)); }
footer .logo { margin-bottom: 6px; }
footer .addr { font-size: 13px; margin: 8px 0 14px; opacity: .85; }
footer h4 { margin: 20px 0 6px; font-size: 13px; opacity: .7; letter-spacing: .1em; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
footer a { text-decoration: none; }
.sns { display: flex; gap: 12px; }
.sns a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); }

/* PC のメニュー（トップだけが持つ）。スマホでは出さない */
.pc-nav { display: none; }

/* PC（幅 960px 以上）。ヘッダーとフッターは広げる。本文の幅はページごとに決める
   （トップは広く使い、利用方法の詳細とよくある質問は読みやすい 1 列のまま） */
@media (min-width: 960px) {
  header.top .wrap, footer .wrap { max-width: 1120px; padding: 0 32px; }
  .pc-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 700; }
  .pc-nav a:not(.btn) { text-decoration: none; }
  .pc-nav a:not(.btn):hover { color: var(--blue-deep); }
  .pc-nav .btn { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
  /* 利用方法の詳細とよくある質問の本文は 1 列のまま、少しだけ広げる（ヘッダーのロゴと離れすぎないように） */
  main.wrap, .page-head.wrap, .steps-nav .wrap { max-width: 800px; }
  /* フッターは 3 列（屋号と住所 / ご利用ガイド / 運営グループ）。下に「空きを見る」の帯が無いので余白も詰める */
  footer { padding-bottom: 48px; }
  footer .wrap { display: grid; grid-template-columns: 1fr auto auto; column-gap: 72px; align-items: start; }
  footer .wrap > :is(.logo, .addr, .sns) { grid-column: 1; }
  footer .wrap > h4 { margin-top: 0; }
  footer .wrap > h4:nth-of-type(1), footer .wrap > ul:nth-of-type(1) { grid-column: 2; }
  footer .wrap > h4:nth-of-type(2), footer .wrap > ul:nth-of-type(2) { grid-column: 3; }
  /* 見出しとリンクは左の列（ロゴ・住所・SNS）の高さに引きずられないよう、同じ升目の上から重ねて置く */
  footer .wrap > :is(h4, ul) { grid-row: 1 / span 3; align-self: start; }
  footer .wrap > ul { margin-top: 30px; }
}

/* 字間は日本語に合わせて広げてある。英語は字間が広いと「E a s i e r .」のように読みにくいので、
   英語の時だけまとめて戻す（大文字だけの小さな見出し「STEP 1」などは広いままにする）。
   :is() の中のどれかが一番強い指定になるので、各ページの <style> の字間より必ず勝つ */
html[lang=en] :is(.btn, .h2, footer h4, .page-head h1, .g-head h2, .cat-sec h2, .hero h1, .hero p, .search h2,
  .tagline p, .tagline .sub, .tab, .badge, .step, .step-body h3, .line-cta h3) { letter-spacing: .02em; }
