:root {
    --bg: var(--brand-color-bg, #ffffff);
    --bg-soft: #f4f4f1;
    --bg-dark: #0b0b0b;
  
    --text: var(--brand-color-text, #111111);
    --text-muted: var(--brand-color-text-muted, rgba(17, 17, 17, 0.66));
    --text-light: rgba(255, 255, 255, 0.82);
  
    --line: var(--brand-color-line, rgba(17, 17, 17, 0.08));
    --line-strong: rgba(17, 17, 17, 0.16);
  
    --container: var(--brand-container, 1180px);
    --radius-lg: var(--brand-radius-lg, 28px);
    --radius-md: var(--brand-radius-md, 20px);
    --radius-sm: var(--brand-radius-sm, 14px);
    --header-height: var(--brand-header-height, 84px);
    --shadow-lg: var(--brand-shadow-lg, 0 24px 60px rgba(0, 0, 0, 0.15));
  
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--brand-font-sans, "Inter", "Noto Sans JP", sans-serif);
    line-height: var(--brand-body-line, 1.7);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  
  img {
    display: block;
    max-width: 100%;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  button {
    font: inherit;
  }
  
  .container {
    width: min(100% - 48px, var(--container));
    margin: 0 auto;
  }
  
  .eyebrow {
    margin: 0 0 18px;
    font-size: var(--brand-eyebrow-size, 11px);
    font-weight: var(--brand-eyebrow-weight, 700);
    letter-spacing: var(--brand-eyebrow-spacing, 0.22em);
    text-transform: uppercase;
    color: var(--text-muted);
  }
  
  h1,
  h2,
  h3,
  p {
    margin-top: 0;
  }
  
  h1,
  h2,
  h3 {
    letter-spacing: -0.05em;
  }
  
  h1 {
    font-size: var(--brand-h1-size, clamp(40px, 10vw, 110px));
    line-height: var(--brand-h1-line, 0.9);
    font-weight: var(--brand-h1-weight, 900);
  }
  
  h2 {
    font-size: var(--brand-h2-size, clamp(34px, 5vw, 64px));
    line-height: var(--brand-h2-line, 0.98);
    font-weight: var(--brand-h2-weight, 800);
  }
  
  p {
    font-size: var(--brand-body-size, 16px);
    color: var(--text-muted);
  }
  
  /* =========================
     Hero
  ========================= */
  
  .history-hero {
    padding: 52px 0 56px;
  }
  
  .history-hero__title {
    margin-bottom: 0;
  }
  
  .history-hero__lead {
    margin-top: 28px;
    margin-left: auto;
    max-width: 340px;
    font-size: 18px;
    line-height: 1.9;
    color: rgba(17, 17, 17, 0.8);
  }
  
  /* =========================
     Intro image
  ========================= */
  
  .history-intro {
    padding: 0 0 110px;
  }
  
  .history-intro__image {
    width: 100%;
    overflow: hidden;
    border-radius: 0;
  }
  
  .history-intro__image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
  }
  
  /* =========================
     Timeline
  ========================= */
  
  .history-timeline {
    padding: 20px 0 120px;
  }
  
  .history-timeline--last {
    padding-top: 120px;
  }
  
  .history-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 44px;
    padding: 56px 0;
    border-top: 1px solid var(--line);
  }
  
  .history-row:last-child {
    border-bottom: 1px solid var(--line);
  }
  
  .history-row__year span {
    display: inline-block;
    font-size: 56px;
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: rgba(17, 17, 17, 0.18);
  }
  
  .history-row__content {
    max-width: 780px;
  }
  
  .history-row__content h2 {
    max-width: 10ch;
    margin-bottom: 26px;
  }
  
  .history-row__content p {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 18px;
  }
  
  .history-row__content p:last-child {
    margin-bottom: 0;
  }
  
  /* =========================
     Full image
  ========================= */
  
  .history-full-image {
    padding: 0;
  }
  
  .history-full-image img {
    width: 100%;
    height: 68vh;
    min-height: 460px;
    object-fit: cover;
  }
  
  /* =========================
     Answer
  ========================= */
  
  .history-answer {
    padding: 110px 0;
    background: var(--bg-dark);
    color: #ffffff;
  }
  
  .history-answer .eyebrow {
    color: rgba(255, 255, 255, 0.58);
  }
  
  .history-answer__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 52px;
  }
  
  .history-answer__left h2 {
    max-width: 7ch;
  }
  
  .history-answer__right {
    max-width: 720px;
    margin-left: auto;
  }
  
  .history-answer__right p {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 18px;
    color: var(--text-light);
  }
  
  .history-answer__right p:last-child {
    margin-bottom: 0;
  }
  
  /* =========================
     N SERIES
  ========================= */
  
  .n-series {
    padding: 140px 0;
  }
  
  .n-series__lead {
    margin-top: 20px;
    font-size: 18px;
    max-width: 26ch;
  }
  
  .n-series__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
  }
  
  .n-series__card {
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }
  
  .n-series__card h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }
  
  .n-series__conclusion {
    margin-top: 40px;
    font-size: 20px;
    font-weight: 700;
  }
  
  /* =========================
     CTA
  ========================= */
  
  .history-cta {
    padding: 130px 0 150px;
  }
  
  .history-cta__inner {
    text-align: center;
  }
  
  .history-cta__inner h2 {
    max-width: none;
    margin-bottom: 28px;
  }
  
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    border: 1px solid #111111;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition:
      transform 0.2s ease,
      background 0.2s ease,
      border-color 0.2s ease;
  }
  
  .btn-primary:hover {
    transform: translateY(-1px);
    background: #000000;
    border-color: #000000;
  }
  
  .text-link {
    display: block;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
  }
  
  .text-link:hover {
    color: var(--text);
  }
  
  /* =========================
     Footer
  ========================= */
  
  .site-footer {
    padding: 36px 0 42px;
    border-top: 1px solid var(--line);
  }
  
  .footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
  }
  
  .footer-brand strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 800;
  }
  
  .footer-brand p {
    margin: 0;
    font-size: 14px;
  }
  
  .footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .footer-nav a {
    font-size: 14px;
    color: var(--text-muted);
  }
  
  .footer-nav a:hover {
    color: var(--text);
  }
  
  /* =========================
     Reveal
  ========================= */
  
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 0.8s var(--ease),
      transform 0.8s var(--ease);
  }
  
  .reveal--delay-1 {
    transition-delay: 0.08s;
  }
  
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* =========================
     Responsive
  ========================= */
  
  @media (max-width: 980px) {
    .history-row,
    .history-answer__inner {
      grid-template-columns: 1fr;
    }
  
    .history-answer__right {
      margin-left: 0;
    }
  
    .history-row__content h2,
    .history-answer__left h2 {
      max-width: none;
    }
  }
  
  @media (max-width: 920px) {
    .header-inner {
      grid-template-columns: 1fr auto 1fr;
    }
  
    .brand {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      justify-self: auto;
    }
  
    .menu-toggle {
      display: block;
      grid-column: 3;
      justify-self: end;
    }
  
    .nav-primary,
    .header-actions {
      display: none;
    }
  
    .nav-primary.is-open {
      display: flex;
      position: fixed;
      top: calc(var(--header-height) + 10px);
      right: 12px;
      left: auto;
      width: min(320px, calc(100vw - 24px));
      z-index: 60;
      flex-direction: column;
      align-items: stretch;
      gap: 8px;
      padding: 14px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 22px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(10, 10, 10, 0.94);
      backdrop-filter: blur(16px);
      box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
      animation: navFadeUp 0.28s ease;
    }
  
    .nav-primary.is-open a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 58px;
      padding: 0 18px;
      border-radius: 16px;
      color: #ffffff;
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      border: 1px solid transparent;
      background: rgba(255, 255, 255, 0.02);
      transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.2s ease,
        color 0.25s ease;
    }
  
    .nav-primary.is-open a::after {
      content: "→";
      font-size: 0.95rem;
      opacity: 0.5;
      transition: transform 0.25s ease, opacity 0.25s ease;
    }
  
    .nav-primary.is-open a:hover,
    .nav-primary.is-open a:active {
      background: rgba(197, 31, 26, 0.12);
      border-color: rgba(197, 31, 26, 0.22);
      transform: translateX(2px);
    }
  
    .nav-primary.is-open a:hover::after,
    .nav-primary.is-open a:active::after {
      opacity: 1;
      transform: translateX(4px);
    }
  
    .history-hero {
      padding: 28px 0 40px;
    }
  
    .history-hero__lead {
      margin-left: 0;
      max-width: 300px;
      font-size: 16px;
    }
  
    .history-intro {
      padding-bottom: 80px;
    }
  
    .history-intro__image img {
      height: 320px;
    }
  
    .history-timeline,
    .history-timeline--last,
    .history-cta {
      padding-top: 70px;
      padding-bottom: 90px;
    }
  
    .history-row {
      gap: 18px;
      padding: 40px 0;
    }
  
    .history-row__year span {
      font-size: 42px;
    }
  
    .history-row__content p,
    .history-answer__right p {
      font-size: 16px;
    }
  
    .history-full-image img {
      height: 42vh;
      min-height: 280px;
    }
  
    .history-answer {
      padding: 78px 0;
    }
  
    .footer-inner {
      flex-direction: column;
    }
  
    .reveal,
    .reveal--delay-1 {
      transition-delay: 0s;
    }
  
    .n-series__grid {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 640px) {
    :root {
      --header-height: 74px;
    }
  
    .container {
      width: min(100% - 24px, var(--container));
    }
  
    .nav-primary.is-open {
      top: calc(var(--header-height) + 8px);
      right: 10px;
      left: auto;
      width: min(300px, calc(100vw - 20px));
      padding: 12px;
      border-radius: 18px;
      gap: 6px;
    }
  
    .nav-primary.is-open a {
      min-height: 54px;
      padding: 0 16px;
      border-radius: 14px;
      font-size: 0.9rem;
    }
  }
  
  @keyframes navFadeUp {
    from {
      opacity: 0;
      transform: translateY(-10px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  .nav-booking {
    display: none;
  }
  
  @media (max-width: 920px) {
    .nav-booking {
      display: inline-flex;
    }
  
    .header-actions {
      display: none;
    }
  }
  .history-full-image {
    padding: 0;
  }
  
  .history-full-image picture,
  .history-full-image img {
    display: block;
    width: 100%;
  }
  
  .history-full-image img {
    height: 68vh;
    min-height: 460px;
    object-fit: cover;
  }
  
  @media (max-width: 920px) {
    .history-full-image img {
      height: 42vh;
      min-height: 280px;
    }
  }
