/* =============================================
   Bカートレビュー — 共通スタイル
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@400;500;700&family=Zen+Kaku+Gothic+New:wght@500;700;900&display=swap');

:root {
  /* Ink: ソフト黒（真っ黒は避ける）+ グレースケール */
  --ink: #1a1a1a;
  --ink-2: #2a2a2a;
  --ink-3: #525252;
  --ink-4: #7a7a7a;
  --ink-5: #a8a8a8;

  /* Surface */
  --bg: #f6f6f5;
  --bg-2: #ffffff;
  --bg-3: #ededec;
  --bg-4: #e0e0df;

  --line: #e3e3e2;
  --line-2: #c9c9c8;

  /* Accent: 要所のみ */
  --accent: #ea580c;
  --accent-2: #c2410c;

  --ok: #15803d;
  --ng: #b91c1c;

  --font-jp: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-body: "Outfit", "Noto Sans JP", sans-serif;

  --content: 1120px;
  --content-narrow: 880px;

  --pad-section: clamp(72px, 9vw, 128px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.012em;
}

:lang(ja), body :where(p, li, dd, dt, td, th, a, span, div, h1, h2, h3, h4) {
  font-feature-settings: "palt";
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--ink); color: var(--bg); }

/* =============================================
   Container
   ============================================= */
.container {
  max-width: var(--content);
  margin: 0 auto;
  padding-inline: 24px;
}

.container--narrow {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding-inline: 24px;
}

/* =============================================
   Header
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 246, 245, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
}

.header-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.brand-mark svg { width: 24px; height: 24px; }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover { color: var(--ink); background: rgba(0,0,0,0.04); }

.nav .btn-cta {
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  margin-left: 6px;
}

.nav .btn-cta:hover {
  background: var(--ink-2);
  color: #fff;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-lg { padding: 18px 36px; font-size: 17px; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); color: #fff; transform: translateY(-1px); }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); color: #fff; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-2);
}
.btn-light:hover { background: var(--bg-3); color: var(--ink); }

.btn-icon { width: 18px; height: 18px; }

/* =============================================
   Section common
   ============================================= */
section {
  padding: var(--pad-section) 0;
}

.sec-head {
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
}

.sec-head.left {
  margin-inline: 0;
  text-align: left;
}

.sec-h2 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 22px;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

.sec-lead {
  font-size: 19px;
  line-height: 2;
  color: var(--ink-3);
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

/* =============================================
   Page hero (内部ページ共通の見出しエリア)
   ============================================= */
.page-hero {
  background: var(--bg);
  padding: clamp(64px, 8vw, 96px) 0 clamp(40px, 5vw, 56px);
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(10,10,10,0.04) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
}

.page-hero-inner {
  position: relative;
  max-width: var(--content);
  margin: 0 auto;
  padding-inline: 24px;
}

.page-crumbs {
  font-size: 13px;
  color: var(--ink-4);
  margin-bottom: 16px;
}

.page-crumbs a { color: var(--ink-3); text-decoration: none; }
.page-crumbs a:hover { color: var(--ink); }
.page-crumbs span { color: var(--ink-5); margin: 0 6px; }

.page-title {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

.page-desc {
  font-size: 18px;
  line-height: 1.95;
  color: var(--ink-3);
  max-width: 680px;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

.page-date {
  font-size: 14px;
  color: var(--ink-4);
  margin-top: 8px;
}

/* =============================================
   Content body (article, legal, form等で使う)
   ============================================= */
.content-wrap {
  padding: clamp(48px, 6vw, 80px) 0 clamp(72px, 9vw, 128px);
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(28px, 3.5vw, 48px);
}

.card-title {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 20px;
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
  background: #050505;
  color: rgba(255,255,255,0.55);
  padding: 64px 0 32px;
}

.footer-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding-inline: 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 17px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand .brand-mark { background: transparent; color: var(--accent); }

.footer-desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}

.footer-addr {
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
}

.footer-addr a { color: rgba(255,255,255,0.55); }
.footer-addr a:hover { color: #fff; }

.footer-col-h {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s ease;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 18px;
}

.footer-legal a { color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  :root { --pad-section: 64px; }
  .nav a:not(.btn-cta) { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
}
