:root {
    --color-bg: var(--brand-color-bg-soft, #f5f5f3);
    --color-bg-soft: #fafaf8;
    --color-panel: rgba(255, 255, 255, 0.72);
    --color-panel-solid: var(--brand-color-white, #ffffff);
    --color-line: var(--brand-color-line, rgba(0, 0, 0, 0.08));
    --color-line-strong: var(--brand-color-line-strong, rgba(0, 0, 0, 0.14));
    --color-text: var(--brand-color-text, #111111);
    --color-muted: #666666;
    --color-dark: var(--brand-color-black, #0b0b0b);
    --color-white: var(--brand-color-white, #ffffff);
    --color-accent: var(--brand-color-accent, #c51f1a);
    --color-accent-soft: rgba(197, 31, 26, 0.08);
    --container: var(--brand-container, 1180px);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --header-height: var(--brand-header-height, 84px);
    --shadow-sm: var(--brand-shadow-sm, 0 12px 30px rgba(0, 0, 0, 0.05));
    --shadow-md: var(--brand-shadow-md, 0 18px 48px rgba(0, 0, 0, 0.08));
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    font-family: var(--brand-font-sans, "Inter", sans-serif);
    color: var(--color-text);
    background:
      radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 28%),
      linear-gradient(180deg, #f8f8f6 0%, #f2f2ef 100%);
    line-height: var(--brand-body-line, 1.7);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  
  img {
    display: block;
    width: 100%;
    height: auto;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  button,
  input,
  textarea {
    font: inherit;
  }
  
  .site-wrap {
    min-height: 100vh;
  }
  
  .container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
  }
  
  /* =========================
     Hero
  ========================= */
  
  .pre-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background:
      linear-gradient(135deg, rgba(10, 10, 10, 0.94) 0%, rgba(16, 16, 16, 0.98) 55%, rgba(7, 7, 7, 1) 100%);
  }
  
  .pre-hero__bg,
  .pre-hero__bg::before,
  .pre-hero__bg::after {
    position: absolute;
    inset: 0;
  }
  
  .pre-hero__bg::before,
  .pre-hero__bg::after {
    content: "";
  }
  
  .pre-hero__bg::before {
    background:
      linear-gradient(90deg, transparent 0%, rgba(197, 31, 26, 0.09) 48%, transparent 100%);
    opacity: 0.8;
  }
  
  .pre-hero__bg::after {
    background:
      radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.08), transparent 16%),
      radial-gradient(circle at 18% 80%, rgba(197, 31, 26, 0.08), transparent 20%);
  }
  
  .pre-hero__content {
    position: relative;
    z-index: 2;
    padding: 112px 0 88px;
    max-width: 820px;
  }
  
  .pre-hero__content::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 116px;
    width: 2px;
    height: 86px;
    background: linear-gradient(180deg, var(--color-accent), transparent);
    opacity: 0.9;
  }
  
  .eyebrow {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.68);
    font-size: var(--brand-eyebrow-size, 11px);
    letter-spacing: var(--brand-eyebrow-spacing, 0.22em);
    font-weight: 800;
    text-transform: uppercase;
  }
  
  .eyebrow--dark {
    color: var(--color-muted);
  }
  
  .pre-hero h1,
  .section h2,
  .action-panel h2 {
    margin: 0;
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: var(--brand-h1-weight, 900);
  }
  
  .pre-hero h1 {
    font-size: var(--brand-h1-size, clamp(2.4rem, 5vw, 4.25rem));
    color: var(--color-white);
    max-width: 760px;
  }
  
  .pre-hero__lead {
    margin: 22px 0 0;
    max-width: 690px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.85;
  }
  
  .hero-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  /* =========================
     Buttons
  ========================= */
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    transition:
      transform 0.2s ease,
      background 0.2s ease,
      border-color 0.2s ease,
      color 0.2s ease,
      box-shadow 0.2s ease;
  }
  
  .btn:hover {
    transform: translateY(-1px);
  }
  
  .btn--light {
    background: var(--color-white);
    color: var(--color-dark);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  }
  
  .btn--light:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  }
  
  .btn--ghost {
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.03);
  }
  
  .btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
  }
  
  .btn--dark {
    background: #111111;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  }
  
  /* =========================
     Sections
  ========================= */
  
  .section {
    padding: 88px 0;
  }
  
  .section h2,
  .action-panel h2 {
    font-size: var(--brand-h2-size, clamp(20px, 3.8vw, 3rem));
  }
  
  .section-head {
    margin-bottom: 30px;
  }
  
  /* =========================
     Guide
  ========================= */
  
  .guide-section {
    position: relative;
    background: transparent;
  }
  
  .guide-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.65), transparent 22%);
    pointer-events: none;
  }
  
  .guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  
  .guide-card {
    position: relative;
    background: var(--color-panel);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }
  
  .guide-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-accent), transparent 78%);
    opacity: 0.9;
  }
  
  .guide-card__label {
    margin: 0 0 10px;
    color: #7a7a7a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  
  .guide-card h3 {
    margin: 0 0 14px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-size: 1.28rem;
    font-weight: 800;
  }
  
  .guide-card p,
  .guide-flow {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.85;
  }
  
  .guide-card strong {
    color: var(--color-text);
  }
  
  .guide-flow {
    padding-left: 1.2em;
  }
  
  .guide-flow li + li {
    margin-top: 8px;
  }

  /* =========================
     Template
  ========================= */

  .template-section,
  .operations-section {
    padding-top: 8px;
  }

  .template-grid,
  .operations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .template-card,
  .operations-card {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }

  .template-card {
    padding: 26px;
  }

  .template-card--body {
    grid-column: 1 / -1;
  }

  .template-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
  }

  .template-card__label,
  .operations-card__label {
    margin: 0 0 8px;
    color: #7a7a7a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .template-card h3,
  .operations-card h3 {
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-size: 1.24rem;
    font-weight: 800;
  }

  .copy-button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition:
      transform 0.2s ease,
      background 0.2s ease,
      border-color 0.2s ease;
  }

  .copy-button:hover {
    transform: translateY(-1px);
    background: var(--color-accent);
    border-color: var(--color-accent);
  }

  .template-box {
    width: 100%;
    min-height: 92px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 18px;
    padding: 18px;
    background: #0f0f10;
    color: rgba(255, 255, 255, 0.92);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    resize: none;
  }

  .template-box--large {
    min-height: 640px;
  }

.template-card__note,
.operations-card__lead {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.operations-card__subcopy {
  margin: 14px 0 0;
  color: var(--color-text);
  font-size: 1.02rem;
  line-height: 1.75;
}

.operations-card {
  padding: 28px;
}

  .operations-list {
    margin: 18px 0 0;
    padding-left: 1.2em;
    color: var(--color-muted);
    line-height: 1.9;
  }

.athlete-card-visual {
  margin-top: 24px;
  position: relative;
  padding: 16px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(197, 31, 26, 0.12), transparent 34%),
    linear-gradient(180deg, #111111 0%, #060606 100%);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.athlete-card-visual::before {
  content: "";
  position: absolute;
  inset: 8% 6% auto;
  height: 68%;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 68%);
  filter: blur(26px);
  opacity: 0.58;
  pointer-events: none;
}

.athlete-card-visual img {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.operations-card__note {
  margin: 16px 0 0;
  color: #5f5f5f;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.operations-card__conditions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.operations-card__conditions span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.04);
  color: var(--color-text);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
  
  /* =========================
     Action Panel
  ========================= */
  
  .action-section {
    padding-top: 12px;
  }
  
  .action-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 50px 42px;
    background:
      linear-gradient(135deg, rgba(18, 18, 18, 0.98) 0%, rgba(10, 10, 10, 1) 100%);
    text-align: center;
    box-shadow: var(--shadow-md);
  }
  
  .action-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, transparent 0%, rgba(197, 31, 26, 0.07) 48%, transparent 100%),
      radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05), transparent 18%);
    pointer-events: none;
  }
  
  .action-panel > * {
    position: relative;
    z-index: 1;
  }
  
  .action-panel h2 {
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 18px;
    color: #ffffff;
  }
  
  .action-panel__lead {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    line-height: 1.9;
  }
  
  .action-panel__lead strong {
    color: #ffffff;
  }
  
  .action-buttons {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .action-note {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.88rem;
    letter-spacing: 0.02em;
  }
  
  /* =========================
     Footer
  ========================= */
  
  .site-footer {
    padding: 44px 0 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: transparent;
  }
  
  .footer-bottom p {
    margin: 0;
    color: #888888;
    font-size: 0.86rem;
  }
  
  /* =========================
     Reveal
  ========================= */
  
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* =========================
     Responsive
  ========================= */
  
@media (max-width: 1100px) {
    .guide-grid,
    .template-grid,
    .operations-grid {
      grid-template-columns: 1fr;
    }

    .template-card--body {
      grid-column: auto;
    }
  
    .pre-hero__content::before {
      left: -18px;
    }
  }
  
  @media (max-width: 920px) {
    .header-inner {
      grid-template-columns: 1fr auto 1fr;
    }
  
    .brand {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
  
    .menu-toggle {
      display: block;
      grid-column: 3;
      justify-self: end;
    }
  
    .nav-primary {
      display: none;
    }
  
    .nav-primary.is-open {
      display: flex;
      position: fixed;
      top: calc(var(--header-height) + 10px);
      right: 12px;
      width: min(320px, calc(100vw - 24px));
      z-index: 60;
      flex-direction: column;
      gap: 8px;
      padding: 14px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 22px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        rgba(10, 10, 10, 0.96);
      backdrop-filter: blur(16px);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
    }
  
    .nav-primary.is-open a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 56px;
      padding: 0 16px;
      border-radius: 14px;
      color: var(--color-white);
      font-size: 0.92rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      background: rgba(255, 255, 255, 0.03);
    }
  
    .nav-primary.is-open a::after {
      content: "→";
      opacity: 0.45;
    }
  
    .nav-primary.is-open a:hover {
      background: rgba(197, 31, 26, 0.12);
    }
  
    .pre-hero__content {
      padding: 92px 0 72px;
    }
  
    .pre-hero__content::before {
      display: none;
    }
  
    .section {
      padding: 76px 0;
    }

    .template-card__head {
      flex-direction: column;
    }
  }
  
  @media (max-width: 640px) {
    .container {
      width: min(calc(100% - 24px), var(--container));
    }
  
    .pre-hero__content {
      padding: 74px 0 54px;
    }
  
    .pre-hero h1 {
      font-size: clamp(25px, 25px, 2.8rem);
      line-height: 1.15;
    }
  
    .pre-hero__lead {
      margin-top: 16px;
      font-size: 0.9rem;
      line-height: 1.8;
    }
  
    .section {
      padding: 60px 0;
    }
  
    .guide-card,
    .action-panel,
    .template-card,
    .operations-card {
      padding: 24px;
    }
  
    .action-panel {
      border-radius: 24px;
    }
  
    .action-buttons,
    .hero-actions {
      flex-direction: column;
    }
  
    .action-buttons .btn,
    .hero-actions .btn,
    .copy-button {
      width: 100%;
    }

    .template-box {
      padding: 16px;
      font-size: 0.84rem;
    }

    .template-box--large {
      min-height: 720px;
    }

    .athlete-card-visual {
      padding: 18px;
      border-radius: 20px;
    }

    .operations-card__conditions span {
      width: 100%;
      justify-content: center;
      text-align: center;
    }
  }
   /* =========================
   FOOTER
========================= */

.site-footer {
    position: relative;
    padding: 64px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }
  
  /* =========================
     BRAND
  ========================= */
  
  .footer-brand strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
  }
  
  .footer-brand p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
  }
  
  /* 住所 */
  .footer-address {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
  }
  
  /* =========================
     NAV
  ========================= */
  
  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-nav a {
    font-size: 13px;
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s ease, opacity 0.3s ease;
  }
  
  .footer-nav a:hover {
    color: #ffffff;
    opacity: 1;
  }
  
  /* =========================
     RESPONSIVE
  ========================= */
  
  @media (max-width: 920px) {
    .footer-inner {
      flex-direction: column;
      gap: 28px;
    }
  
    .footer-brand strong {
      font-size: 16px;
    }
  
    .footer-brand p {
      font-size: 12px;
    }
  
    .footer-nav {
      flex-direction: row;
      gap: 16px;
      flex-wrap: wrap;
    }
  
    .footer-nav a {
      font-size: 12px;
    }
  }
