:root {
    --bg: #333333;
    --bg-soft: #3b3b3b;
    --bg-deep: #2c2c2c;
    --surface: #ffffff;
    --surface-soft: #f3f3f1;
  
    --text: #ffffff;
    --text-dark: #111111;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-soft-dark: rgba(17, 17, 17, 0.68);
  
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.18);
  
    --container: 1240px;
    --header-height: 84px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.28);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    background:
      linear-gradient(180deg, #333333 0%, #343434 100%);
    color: var(--text);
    font-family: "Inter", "Noto Sans JP", sans-serif;
    line-height: 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;
  }
  
  h1,
  h2,
  h3,
  p {
    margin-top: 0;
  }
  
  h1,
  h2,
  h3 {
    letter-spacing: -0.05em;
  }
  
  h1 {
    font-size: clamp(42px, 8.5vw, 110px);
    line-height: 0.9;
    font-weight: 900;
  }
  
  h2 {
    font-size: clamp(34px, 3.5vw, 72px);
    line-height: 0.96;
    font-weight: 800;
  }
  
  h3 {
    font-size: clamp(22px, 2vw, 32px);
    line-height: 1.08;
    font-weight: 800;
  }
  
  p {
    font-size: 16px;
    color: var(--text-muted);
  }
  
  .eyebrow {
    margin: 0 0 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
  }
  
  /* =========================
     Hero
  ========================= */
  
  .page-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #fff;
    border-bottom: 1px solid var(--line);
  }
  
  .page-hero__bg {
    position: absolute;
    inset: 0;
    background:
    linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.6)),
    url("/img/slider-top2.jpg") center / cover no-repeat;
    z-index: 0;
  }
  
  .page-hero__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.34;
  }
  
  .page-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.52) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.08) 65%);
  }
  
  .page-hero__inner {
    position: relative;
    z-index: 2;
    padding-bottom: 72px;
  }
  
  .page-hero__title {
    margin-bottom: 0;
    color: #ffffff;
    max-width: 8ch;
  }
  
  .page-hero__lead {
    margin-top: 26px;
    font-size: 18px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.82);
    max-width: 34em;
  }
  
  /* =========================
     Intro
  ========================= */
  
  .intro-note {
    padding: 42px 0 0;
  }
  
  .intro-note__inner {
    padding: 28px 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
  }
  
  .intro-note__inner p:last-child {
    margin-bottom: 0;
    font-size: 17px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.78);
  }
  
  /* =========================
     Blocks
  ========================= */
  
  .brain-block {
    padding: 120px 0;
    border-top: 1px solid var(--line);
  }
  
  .brain-block--soft {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  }
  
  .brain-block--strong {
    background: #ffffff;
  }
  
  .brain-block--strong .eyebrow,
  .brain-block--strong h2,
  .brain-block--strong p {
    color: var(--text-dark);
  }
  
  .brain-block__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 120px;
    align-items: center;
  }
  
  .brain-block__grid--reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
  
  .brain-block__grid--reverse .brain-block__content {
    order: 2;
  }
  
  .brain-block__grid--reverse .brain-block__visual {
    order: 1;
  }
  
  .brain-block__content h2 {
    max-width: 12ch;
    margin-bottom: 26px;
  }
  
  .brain-block__content p {
    max-width: 34em;
    font-size: 18px;
    line-height: 2;
    margin-bottom: 14px;
  }
  
  .brain-block__content p:last-child {
    margin-bottom: 0;
  }
  
  .brain-block__visual {
    min-height: 420px;
  }
  
  .brain-block__visual--panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
  }
  
  .data-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
    padding: 26px 22px;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
    box-shadow: var(--shadow-lg);
  }
  
  .data-card__label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.54);
  }
  
  .data-card strong {
    display: block;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.06em;
    color: #ffffff;
  }
  
  .data-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
  }
  
  .quote-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 420px;
    padding: 42px;
    border: 1px solid var(--line-strong);
    border-radius: 28px;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.015));
    box-shadow: var(--shadow-lg);
  }
  
  .quote-panel__text {
    margin: 0;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.45;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.04em;
  }
  
  .brain-graph {
    position: relative;
    min-height: 420px;
    border: 1px solid var(--line-strong);
    border-radius: 28px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    overflow: hidden;
  }
  
  .brain-graph::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.38;
  }
  
  .brain-graph__line {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 52%;
    height: 2px;
    background:
      linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.4) 12%,
        rgba(255,255,255,0.85) 48%,
        rgba(255,255,255,0.4) 82%,
        transparent 100%);
    transform: rotate(-10deg);
  }
  
  .brain-graph__points span {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.9);
    border-radius: 999px;
    background: #333333;
    box-shadow: 0 0 0 8px rgba(255,255,255,0.06);
  }
  
  .brain-graph__points span:nth-child(1) { left: 16%; top: 62%; }
  .brain-graph__points span:nth-child(2) { left: 38%; top: 48%; }
  .brain-graph__points span:nth-child(3) { left: 62%; top: 38%; }
  .brain-graph__points span:nth-child(4) { left: 82%; top: 29%; }
  
  .focus-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    border-radius: 28px;
    background: #f5f5f3;
    padding: 24px;
  }
  
  .focus-frame__inner {
    width: min(100%, 460px);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 50%;
    position: relative;
  }
  
  .focus-frame__inner::before,
  .focus-frame__inner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 12%;
    border: 1px solid rgba(17, 17, 17, 0.08);
  }
  
  .focus-frame__inner::after {
    inset: 28%;
  }
  
  .focus-frame__inner span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: rgba(17, 17, 17, 0.66);
  }
  
  /* =========================
     Detail
  ========================= */
  
  .detail-section {
    padding: 130px 0;
    background: #ffffff;
    color: var(--text-dark);
  }
  
  .detail-section .eyebrow,
  .detail-section h2 {
    color: var(--text-dark);
  }
  
  .detail-section h2 {
    margin-bottom: 48px;
  }
  
  .detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  
  .detail-card {
    min-height: 280px;
    padding: 30px 28px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 22px;
    background: #fbfbfa;
    transition:
      transform 0.35s var(--ease),
      box-shadow 0.35s var(--ease),
      border-color 0.35s var(--ease);
  }
  
  .detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(17, 17, 17, 0.2);
  }
  
  .detail-card h3 {
    margin-bottom: 18px;
    color: var(--text-dark);
  }
  
  .detail-card p {
    color: var(--text-soft-dark);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 0;
  }
  
  /* =========================
     Final
  ========================= */
  
  .final-section {
    position: relative;
    padding: 140px 0;
    color: #fff;
    overflow: hidden;
  }
  
  .final-section__bg {
    position: absolute;
    inset: 0;
    background:
    url("/img/brain3.jpg") center / cover no-repeat;
    z-index: 0;
  }
  
  .final-section__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 90px 90px;
    opacity: 0.28;
  }
  
  .final-section__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.6) 100%);
  }
  
  .final-section__inner {
    position: relative;
    z-index: 2;
  }
  
  .final-section .eyebrow,
  .final-section h2,
  .final-section p {
    color: #ffffff;
  }
  
  .final-section h2 {
    margin-bottom: 28px;
  }
  
  .final-section p {
    max-width: 34em;
    font-size: 18px;
    line-height: 2;
  }
  
  /* =========================
     Footer
  ========================= */
  
  .site-footer {
    padding: 36px 0 42px;
    border-top: 1px solid var(--line);
    background: #2f2f2f;
  }
  
  .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;
    color: rgba(255, 255, 255, 0.68);
  }
  
  .footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.68);
  }
  
  .footer-nav a:hover {
    color: #ffffff;
  }
  
  /* =========================
     Reveal
  ========================= */
  
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.8s var(--ease),
      transform 0.8s var(--ease);
  }
  
  .reveal--delay-1 {
    transition-delay: 0.08s;
  }
  
  .reveal--delay-2 {
    transition-delay: 0.16s;
  }
  
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* =========================
     Responsive
  ========================= */
  
  @media (max-width: 1100px) {
    .brain-block__visual--panel {
      grid-template-columns: 1fr;
    }
  
    .data-card {
      min-height: 180px;
    }
  }
  
  @media (max-width: 980px) {
    .brain-block__grid,
    .brain-block__grid--reverse,
    .detail-grid {
      grid-template-columns: 1fr;
    }
  
    .brain-block__grid--reverse .brain-block__content,
    .brain-block__grid--reverse .brain-block__visual {
      order: initial;
    }
  
    .brain-block__grid {
      gap: 48px;
    }
  
    .brain-block__content h2,
    .detail-section h2,
    .final-section h2 {
      max-width: none;
    }
  }
  
  @media (max-width: 920px) {
    :root {
      --header-height: 74px;
    }
  
    .container {
      width: min(100% - 24px, var(--container));
    }
  
    .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(24, 24, 24, 0.96);
      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(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.14);
      transform: translateX(2px);
    }
  
    .nav-primary.is-open a:hover::after,
    .nav-primary.is-open a:active::after {
      opacity: 1;
      transform: translateX(4px);
    }
  
    .page-hero {
      min-height: 72vh;
    }
  
    .page-hero__inner {
      padding-bottom: 40px;
    }
  
    .page-hero__lead,
    .intro-note__inner p:last-child,
    .brain-block__content p,
    .detail-card p,
    .final-section p {
      font-size: 16px;
    }
  
    .brain-block,
    .detail-section,
    .final-section {
      padding: 82px 0;
    }
  
    .brain-block__visual,
    .quote-panel,
    .brain-graph,
    .focus-frame {
      min-height: 320px;
    }
  
    .footer-inner {
      flex-direction: column;
    }
  
    .reveal,
    .reveal--delay-1,
    .reveal--delay-2 {
      transition-delay: 0s;
    }
  }
  
  @media (max-width: 640px) {
    .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;
    }
  
    .intro-note__inner {
      padding: 22px 20px;
    }
  
    .detail-card,
    .data-card {
      padding: 24px 20px;
    }
  }
  
  .nav-booking {
    display: none;
  }
  
  @media (max-width: 920px) {
    .nav-booking {
      display: inline-flex;
    }
  
    .header-actions {
      display: none;
    }
  }
  
  @keyframes navFadeUp {
    from {
      opacity: 0;
      transform: translateY(-10px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }