/* TY Trip — tokens from DESIGN.md (Uber skeleton × Airbnb warmth, ocean-blue accent) */
:root {
  --primary: #2f62c2;
  --primary-active: #244d9e;
  --primary-disabled: #c9d8f2;
  --ink: #222222;
  --body: #5e5e5e;
  --muted: #8a8a8a;
  --hairline: #dddddd;
  --hairline-soft: #ebebeb;
  --canvas: #ffffff;
  --canvas-soft: #f4f6f9;
  --pressed: #e1e7ef;
  --on-dark: #ffffff;
  --on-dark-muted: #aeb6c2;
  --r-sm: 8px;
  --r-md: 12px;
  --r-xl: 16px;
  --r-pill: 999px;
  --shadow-float: rgba(0,0,0,0.02) 0 0 0 1px, rgba(0,0,0,0.04) 0 2px 6px, rgba(0,0,0,0.1) 0 4px 8px;
  --shadow-card: rgba(0,0,0,0.16) 0 4px 16px;
  --font: "Inter", "Noto Sans JP", system-ui, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px; line-height: 1.5;
  color: var(--ink); background: var(--canvas);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 800px; }

/* ---------- Type scale ---------- */
h1 { font-size: 52px; font-weight: 700; line-height: 1.23; letter-spacing: -0.5px; }
h2 { font-size: 36px; font-weight: 700; line-height: 1.22; letter-spacing: -0.25px; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.4; }
.lead { font-size: 18px; color: var(--body); margin-top: 16px; }
.eyebrow {
  font-size: 14px; font-weight: 500; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px;
}
/* Never letter-space CJK text (DESIGN.md) */
:lang(ja) .eyebrow, :lang(zh) .eyebrow { letter-spacing: 0; }
.section-sub { color: var(--body); margin: 8px 0 32px; max-width: 560px; }

/* ---------- Buttons (pill signature) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px;
  border-radius: var(--r-pill); border: none; cursor: pointer;
  font-family: var(--font); font-size: 16px; font-weight: 500;
  transition: background 0.15s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover, .btn-primary:active { background: var(--primary-active); }
.btn-on-dark { background: var(--canvas); color: var(--ink); }
.btn-on-dark:hover { background: var(--pressed); }
.btn-block { width: 100%; margin-top: 16px; }

/* ---------- Nav ---------- */
.nav-bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--canvas); border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 32px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: -0.25px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { height: 40px; padding: 0 20px; }

.lang-switch {
  display: flex; background: var(--canvas-soft); border-radius: var(--r-pill); padding: 3px;
}
.lang-switch button {
  border: none; background: transparent; cursor: pointer;
  font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--body);
  padding: 5px 10px; border-radius: var(--r-pill); white-space: nowrap;
}
.lang-switch button.active { background: var(--ink); color: #fff; }

.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }
.nav-mobile { display: none; flex-direction: column; padding: 8px 32px 16px; border-top: 1px solid var(--hairline-soft); }
.nav-mobile a { padding: 10px 0; font-weight: 500; border-bottom: 1px solid var(--hairline-soft); }
.nav-mobile.open { display: flex; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start;
}
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.badges li {
  font-size: 14px; font-weight: 500;
  background: var(--canvas-soft); border-radius: var(--r-pill); padding: 8px 16px;
}
.hero-photo { margin-top: 32px; }
.hero-photo img { border-radius: var(--r-xl); width: 100%; object-fit: cover; aspect-ratio: 16/9; }

.contact-card {
  background: var(--canvas); border-radius: var(--r-xl); padding: 24px;
  box-shadow: var(--shadow-card);
  position: sticky; top: 88px;
}
.contact-card h2 { font-size: 24px; }
.contact-card > p { font-size: 14px; color: var(--body); margin: 8px 0 16px; }
.contact-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--canvas-soft); border-radius: var(--r-sm);
  padding: 12px 16px; margin-bottom: 8px;
}
.contact-row:hover { background: var(--pressed); }
.contact-ico { font-size: 20px; }
.contact-row strong { display: block; font-size: 15px; }
.contact-row small { display: block; font-size: 13px; color: var(--body); }
.card-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-soft { background: var(--canvas-soft); }

.card-grid { display: grid; gap: 24px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Service & fleet cards ---------- */
.service-card, .fleet-card {
  background: var(--canvas); border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--hairline-soft);
  transition: box-shadow 0.15s ease;
}
.service-card:hover, .fleet-card:hover { box-shadow: var(--shadow-float); }
.service-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-body { padding: 20px 24px 24px; }
.service-body p { font-size: 14px; color: var(--body); margin-top: 8px; }

.fleet-placeholder {
  aspect-ratio: 4/3; background: var(--canvas-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--muted); padding: 24px; text-align: center;
}
.fleet-placeholder svg { width: 72px; height: 45px; opacity: 0.45; }
.fleet-placeholder span { font-size: 13px; }

/* ---------- Dark band ---------- */
.band-dark { background: var(--ink); color: var(--on-dark); padding: 72px 0; }
.band-grid { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.band-dark p { color: var(--on-dark-muted); margin-top: 12px; max-width: 640px; }
.band-dark .btn { flex-shrink: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { position: relative; border-radius: var(--r-md); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.gallery .tall { grid-row: span 2; }
.gallery .tall img { aspect-ratio: auto; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 12px 10px; font-size: 12px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
}

/* ---------- FAQ ---------- */
#faq h2 { margin-bottom: 24px; }
.faq-row { border-bottom: 1px solid var(--hairline); }
.faq-row summary {
  cursor: pointer; list-style: none; position: relative;
  font-weight: 500; padding: 16px 32px 16px 0;
}
.faq-row summary::-webkit-details-marker { display: none; }
.faq-row summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--muted);
}
.faq-row[open] summary::after { content: "–"; }
.faq-row p { color: var(--body); font-size: 15px; padding: 0 0 16px; max-width: 640px; }

/* ---------- Contact ---------- */
.qr-grid { display: grid; grid-template-columns: repeat(3, 220px); gap: 24px; justify-content: start; }
.qr-card {
  background: var(--canvas); border: 1px solid var(--hairline-soft); border-radius: var(--r-xl);
  padding: 20px; text-align: center;
}
.qr-card img { width: 160px; height: 160px; margin: 0 auto 12px; }
.qr-card strong { display: block; font-size: 15px; }
.qr-card a, .qr-card span { font-size: 13px; color: var(--body); }
.qr-card a:hover { color: var(--primary); }
.contact-lines { margin-top: 32px; color: var(--body); }
.contact-lines p { margin-bottom: 6px; }
.contact-lines a { font-weight: 500; color: var(--ink); }
.contact-lines a:hover { color: var(--primary); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink); color: var(--on-dark);
  padding: 48px 0; text-align: left;
}
.footer-brand { font-weight: 700; font-size: 18px; }
.footer-brand span { font-weight: 400; font-size: 14px; color: var(--on-dark-muted); }
.footer-legal { font-size: 13px; color: var(--on-dark-muted); margin-top: 12px; }
.footer-credit { font-size: 11px; color: var(--on-dark-muted); opacity: 0.7; margin-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1128px) {
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr 360px; gap: 32px; }
  .nav-links { display: none; }
}

@media (max-width: 744px) {
  .container { padding: 0 16px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .hero { padding: 40px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; order: -1; }
  .cols-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .tall { grid-row: auto; }
  .gallery .tall img { aspect-ratio: 4/3; }
  .section { padding: 48px 0; }
  .band-grid { flex-direction: column; align-items: flex-start; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-inner { padding: 10px 16px; gap: 12px; }
  .brand img { height: 32px; }
  .lang-switch { margin-left: auto; }
  .lang-switch button { padding: 4px 7px; font-size: 12px; }
  .qr-grid { grid-template-columns: 1fr; justify-content: center; }
  .qr-card { max-width: 260px; margin: 0 auto; width: 100%; }
}
