@charset "utf-8";

/* ==========================================================
  Design tokens & reset
========================================================== */

:root {
  --color-bg: #000000;
  --color-bg-elevated: #070707;
  --color-bg-panel: #0c0c0c;
  --color-text: #f7f7f7;
  --color-muted: rgba(247, 247, 247, 0.74);
  --color-line: rgba(247, 247, 247, 0.12);
  --color-red: #d21819;
  --color-red-hover: #ea3638;
  --color-red-dim: rgba(210, 24, 25, 0.45);

  --radius-s: 10px;
  --radius-m: 14px;
  --shadow: 0 22px 48px rgba(0, 0, 0, 0.62);
  --shadow-red: 0 0 28px rgba(210, 24, 25, 0.22);

  --container: 1280px;
  --gutter: 24px;
  --header-h: 80px;
  --prose-max: min(42rem, 100%);
  --section-pad-y: clamp(48px, 10vw, 72px);
  --section-heading-en-size: clamp(32px, 8vw, 40px);

  --text-base: 16px;
  --text-sm: 14px;
  --text-copyright: 12px;
  --font-sport: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
}

@media (min-width: 721px) {
  :root {
    --section-pad-y: clamp(64px, 8vw, 96px);
    --section-heading-en-size: clamp(44px, 4.2vw, 52px);
  }
}

@media (min-width: 1025px) {
  :root {
    --section-pad-y: clamp(80px, 7vw, 120px);
    --section-heading-en-size: 60px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: radial-gradient(ellipse 1400px 560px at 10% -8%, rgba(210, 24, 25, 0.14), transparent 58%),
    radial-gradient(ellipse 900px 520px at 96% 12%, rgba(210, 24, 25, 0.08), transparent 55%),
    radial-gradient(ellipse 800px 400px at 50% 120%, rgba(20, 20, 22, 0.9), transparent 45%),
    linear-gradient(180deg, #030303 0%, #000 22%, #020202 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 72px);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(210, 24, 25, 0.9);
  outline-offset: 3px;
}

.page {
  min-height: 100svh;
}

/* ==========================================================
  Layout
========================================================== */

.site-main {
  display: block;
}

.common-container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.common-section {
  padding-top: var(--section-pad-y);
  padding-bottom: 0;
}

.common-section--tight {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: 0;
}

/* ==========================================================
  Sport typography（背番号・ポジション・スコア等の英数字）
  ※本文・パンくず・フッター・日本語長文・小注釈には付与しない
  ※各HTMLに class を付与した要素のみ適用（一括指定しない）
========================================================== */

.sport-font {
  font-family: var(--font-sport);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.sport-number {
  font-family: var(--font-sport);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
}

.sport-position {
  font-family: var(--font-sport);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* 大見出し英字（KV） */
.page-kv__title.sport-font {
  font-family: var(--font-sport);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.page-kv--simple .page-kv__title.sport-font {
  font-family: var(--font-sport);
  font-weight: 400;
}

/* セクション見出し英字 */
.section-heading__en.sport-font,
.section-heading__row .section-heading__en.sport-font {
  font-family: var(--font-sport);
  font-weight: 400;
  letter-spacing: 0.12em;
}

.section-heading.section-heading--inline-team .section-heading__en.sport-font,
.section-heading.section-heading--inline-ge .section-heading__en.sport-font,
.section-heading.section-heading--inline-pm .section-heading__en.sport-font,
.section-heading.section-heading--inline-os .section-heading__en.sport-font {
  font-family: var(--font-sport);
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* ==========================================================
  Section heading (共通)
========================================================== */

.section-heading {
  display: grid;
  gap: clamp(8px, 1vw, 12px);
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.section-heading__en {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 18px);
  font-weight: 950;
  letter-spacing: 0.12em;
  color: var(--color-red);
  text-transform: uppercase;
  line-height: 1.05;
  font-style: italic;
  font-size: var(--section-heading-en-size);
  text-shadow: 0 0 40px rgba(210, 24, 25, 0.22);
  transform: skewX(-4deg);
  transform-origin: left center;
}

.section-heading__en::after {
  content: "";
  width: min(96px, 22vw);
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), rgba(210, 24, 25, 0.15));
  transform: skewX(-4deg);
  border-radius: 1px;
}

.section-heading__ja {
  font-size: clamp(14px, 1.4vw, 16px);
  letter-spacing: 0.14em;
  color: var(--color-muted);
  max-width: var(--prose-max);
  font-weight: 600;
}

.section-heading__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.5vw, 20px) clamp(16px, 2vw, 28px);
}

.section-heading__row .section-heading__en::after {
  display: none;
}

.section-heading__row .section-heading__en {
  transform: none;
  font-size: var(--section-heading-en-size);
}

/* ==========================================================
  Buttons
========================================================== */

.common-button {
  --btn-bg: rgba(210, 24, 25, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 2px;
  border: 1px solid rgba(210, 24, 25, 0.55);
  background: linear-gradient(135deg, rgba(210, 24, 25, 0.2), rgba(8, 8, 8, 0.4) 55%, rgba(8, 8, 8, 0.75)), var(--btn-bg);
  color: var(--color-text);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.common-button:hover {
  transform: translateY(-2px);
  border-color: var(--color-red-hover);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-red);
}

.common-button:active {
  transform: translateY(0);
}

.common-button--primary {
  border-color: #8f1213;
  background: linear-gradient(180deg, #ea3638 0%, var(--color-red) 48%, #8c1112 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 28px rgba(210, 24, 25, 0.28);
}

.common-button--primary:hover {
  background: linear-gradient(180deg, var(--color-red-hover) 0%, #ea3638 55%, var(--color-red) 100%);
  border-color: #d21819;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 14px 36px rgba(210, 24, 25, 0.38);
}

.common-button--outline {
  border-color: rgba(247, 247, 247, 0.42);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.common-button--outline:hover {
  background: rgba(210, 24, 25, 0.12);
  color: #fff;
  border-color: rgba(210, 24, 25, 0.85);
}

.common-button--block {
  width: 100%;
}

.common-button__icon {
  font-weight: 900;
}

/* ==========================================================
  Cards
========================================================== */

.common-card {
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.common-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(210, 24, 25, 0.32);
}

/* ==========================================================
  Breadcrumb
========================================================== */

.breadcrumb {
  margin-bottom: clamp(16px, 2.5vw, 24px);
  padding: 10px 14px;
  border-left: 3px solid var(--color-red);
  background: linear-gradient(90deg, rgba(210, 24, 25, 0.08), transparent 65%);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  color: rgba(245, 245, 245, 0.72);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb__item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 1px;
  margin-right: 2px;
  flex-shrink: 0;
  vertical-align: middle;
  box-sizing: border-box;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  color: var(--color-red);
}

.breadcrumb__link:hover {
  color: #fff;
}

/* ==========================================================
  Lower page KV
========================================================== */

.page-kv {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid rgba(247, 247, 247, 0.08);
  box-shadow: 0 1px 0 rgba(210, 24, 25, 0.35);
}

/* 画像ありKV：TOPの MV（.top-mv--hero）と同じ高さに統一 */
.page-kv--visual {
  min-height: clamp(520px, 82vh, 900px);
  max-height: min(900px, 92vh);
  height: auto;
}
/* 左の見出し用のみ薄いスクリム（画像ありKVのみ） */
.page-kv--visual::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(72%, 900px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.18) 44%, transparent 100%);
}

/* 画像なしKV：タイトル帯のみ（低め・黒＋赤アクセント） */
.page-kv--simple {
  min-height: clamp(220px, 32vw, 320px);
  min-height: 180px;
  height: auto;
  background: linear-gradient(165deg, #0c0c0c 0%, #050505 45%, #000 100%);
  box-shadow: inset 0 0 0 1px rgba(210, 24, 25, 0.1), 0 1px 0 rgba(210, 24, 25, 0.35);
}

.page-kv--simple .page-kv__breadcrumb-row .breadcrumb__link {
  text-shadow: none;
}

.page-kv--simple .page-kv__inner {
  padding-block: clamp(18px, 2.5vw, 28px) clamp(24px, 3.5vw, 36px);
}

.page-kv--simple .page-kv__title {
  font-size: clamp(32px, 6.5vw, 72px);
}

@media (min-width: 1025px) {
  .page-kv--simple {
    min-height: clamp(260px, 24vw, 320px);
  }
}

.page-kv__bg {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

.page-kv__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ページごとのトリミング調整（必要に応じて） */
.page-kv--visual.page-kv--kv-our-style .page-kv__bg-image {
  object-position: center 34%;
}

.page-kv--visual.page-kv--kv-team .page-kv__bg-image {
  object-position: center 32%;
}

.page-kv--visual.page-kv--kv-game .page-kv__bg-image {
  object-position: center 36%;
}

.page-kv--visual.page-kv--kv-news .page-kv__bg-image {
  object-position: center 38%;
}

.page-kv--visual.page-kv--kv-partner .page-kv__bg-image {
  object-position: center 30%;
}

/* KV内の左右余白をヘッダー（.site-header__inner）に揃える */
.page-kv > .common-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: clamp(40px, 4.5vw, 64px);
  box-sizing: border-box;
}

.page-kv__breadcrumb-row {
  flex: 0 0 auto;
  align-self: stretch;
  padding-top: clamp(10px, 1.6vw, 16px);
  padding-bottom: 0;
}

/* パンくず：タイトルブロックから分離・ロゴ下付近（KV上端）に配置。控えめ表示 */
.page-kv__breadcrumb-row .breadcrumb.page-kv__breadcrumb {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}

.page-kv__breadcrumb-row .breadcrumb__list {
  font-size: clamp(14px, 1.15vw, 14px);
  letter-spacing: 0.06em;
  color: rgba(245, 245, 245, 0.78);
}

.page-kv__breadcrumb-row .breadcrumb__link {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.page-kv__breadcrumb-row .breadcrumb__link:hover {
  color: #fff;
}

.page-kv__inner {
  flex: 0 0 auto;
  align-self: stretch;
  margin-top: auto;
  padding-block: clamp(20px, 3vw, 40px) clamp(44px, 6vw, 80px);
}

.page-kv__title {
  font-size: clamp(44px, 7.2vw, 92px);
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 0.98;
  font-style: italic;
  text-transform: uppercase;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.45), 0 20px 48px rgba(0, 0, 0, 0.75), 0 0 60px rgba(210, 24, 25, 0.18);
  transform: skewX(-3deg);
  transform-origin: left center;
  max-width: min(22ch, 100%);
}

.page-kv__tagline {
  max-width: var(--prose-max);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.45;
}

.page-kv__tagline-accent {
  display: inline;
  padding: 0.18em 0.42em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background: linear-gradient(105deg, rgba(210, 24, 25, 0.98) 0%, rgba(210, 24, 25, 0.55) 72%, rgba(210, 24, 25, 0.2) 100%);
  box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.35);
}

.page-kv__lead {
  margin-top: clamp(16px, 2.2vw, 24px);
  max-width: var(--prose-max);
  color: var(--color-muted);
  font-size: var(--text-base);
  line-height: 1.8;
}

.page-kv__brush {
  margin-top: clamp(22px, 3vw, 36px);
  height: 12px;
  max-width: min(560px, 100%);
  background: linear-gradient(90deg, var(--color-red), rgba(210, 24, 25, 0.12));
  transform: skewX(-14deg);
  opacity: 0.95;
  border-radius: 1px;
  filter: drop-shadow(0 10px 18px rgba(210, 24, 25, 0.25));
}

@media screen and (max-width: 1024px) {
  .page-kv--visual {
    min-height: clamp(360px, 89.33vw, 520px);
    max-height: none;
  }

  .page-kv--visual::before {
    width: 100%;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.22) 45%,
      rgba(0, 0, 0, 0.35) 100%
    );
  }

  .page-kv > .common-container {
    padding-inline: clamp(20px, 5vw, 24px);
  }

  .page-kv__breadcrumb-row .breadcrumb__list {
    font-size: clamp(14px, 1.35vw, 14px);
  }
}

@media screen and (max-width: 767px) {
  .page-kv--visual {
    min-height: clamp(340px, 95vw, 480px);
  }
}

/* ==========================================================
  Header inner width（フッターは .common-container と同じコンテンツ幅）
========================================================== */

.site-header__inner.common-container {
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(40px, 4.5vw, 64px);
  box-sizing: border-box;
}

/* ==========================================================
  Header
========================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000;
  border-bottom: none;
  box-shadow: none;
}

.site-header__inner {
  --header-row-h: 68px;
  min-height: var(--header-row-h);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.2vw, 28px);
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo-link {
  display: inline-flex;
  align-items: center;
}

.site-header__logo-image {
  width: clamp(100px, 8.5vw, 128px);
  height: auto;
  display: block;
}

.site-header__nav-area {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 2.8vw, 40px);
  margin-left: auto;
  min-width: 0;
}

.site-header__nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-header__nav-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(6px, 1vw, 16px);
}

.site-header__nav-link {
  display: inline-flex;
  padding: 8px clamp(4px, 0.6vw, 10px);
  font-size: clamp(14px, 1.08vw, 16px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  position: relative;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.site-header__nav-link::after {
  content: "";
  position: absolute;
  left: clamp(4px, 0.6vw, 10px);
  right: clamp(4px, 0.6vw, 10px);
  bottom: 2px;
  height: 2px;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.site-header__nav-link:hover {
  color: var(--color-red);
}

.site-header__nav-link:hover::after {
  transform: scaleX(1);
}

.site-header__nav-link--current {
  color: var(--color-red);
}

.site-header__nav-link--current::after {
  transform: scaleX(1);
  background: var(--color-red);
}

.site-header__sns {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-header__sns-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.site-header__sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 0;
  background-color: transparent;
  transition: opacity 0.15s ease;
}

.site-header__sns-link:hover {
  opacity: 0.78;
}

.site-header__sns-icon {
  width: clamp(20px, 1.9vw, 24px);
  height: auto;
  display: block;
}

.site-header__toggle {
  display: none;
  flex-shrink: 0;
  margin-left: auto;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #000;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.site-header__toggle:hover {
  border-color: var(--color-red);
}

.site-header__toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__toggle-line + .site-header__toggle-line {
  margin-top: 5px;
}

/* ハンバーガー内のみ表示（PCヘッダーでは非表示） */
.site-header__menu-cta,
.site-header__menu-sub {
  display: none;
}

@media screen and (max-width: 1024px) {
  :root {
    --header-h: 76px;
  }

  body.is-menu-open {
    overflow: hidden;
  }

  .site-header {
    overflow: visible;
  }

  .site-header__inner {
    --header-row-h: var(--header-h);
    min-height: var(--header-row-h);
    overflow: visible;
  }

  .site-header__logo {
    overflow: visible;
    align-self: center;
  }

  .site-header__logo-link {
    line-height: 0;
    overflow: visible;
  }

  .site-header__logo-image {
    display: block;
    width: clamp(84px, 14vw, 108px);
    height: auto;
    max-height: 52px;
    object-fit: contain;
    object-position: left center;
  }

  .site-header__nav-area {
    display: none;
    position: fixed;
    z-index: 49;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: clamp(12px, 3vw, 24px) clamp(20px, 4vw, 40px) max(24px, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
  }

  body.is-menu-open .site-header__nav-area {
    display: flex;
    padding-top: 0;
  }

  .site-header__nav {
    flex: 0 0 auto;
    order: 1;
    width: 100%;
    min-width: 0;
  }

  .site-header__nav-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .site-header__nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header__nav-link {
    display: block;
    padding: clamp(14px, 2.5vw, 18px) 4px;
    font-size: clamp(14px, 2.8vw, 16px);
    white-space: normal;
  }

  .site-header__nav-link::after {
    display: none;
  }

  .site-header__menu-cta {
    display: block;
    flex-shrink: 0;
    order: 3;
    width: 100%;
    margin-top: clamp(10px, 2vw, 16px);
    padding-top: clamp(14px, 2.5vw, 20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* フッター CONTACT ボタンと同系の primary（メニュー内のみサイズ調整） */
  .site-header__menu-cta-link.common-button {
    width: 100%;
    max-width: 100%;
    min-height: clamp(52px, 12vw, 60px);
    padding-block: clamp(14px, 3vw, 18px);
    padding-inline: clamp(18px, 2.5vw, 28px);
    font-size: clamp(14px, 2.8vw, 16px);
    box-sizing: border-box;
  }

  .site-header__menu-cta-link::after {
    content: "›";
    font-weight: 700;
    font-size: 1.15em;
    line-height: 1;
    opacity: 0.95;
  }

  .site-header__menu-sub {
    display: block;
    flex-shrink: 0;
    order: 2;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .site-header__menu-sub-list {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-header__menu-sub-item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header__menu-sub-link {
    display: block;
    padding: clamp(14px, 2.5vw, 18px) 4px;
    color: #fff;
    font-size: clamp(14px, 2.8vw, 16px);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: normal;
    transition: color 0.15s ease;
  }

  .site-header__menu-sub-link:hover {
    color: var(--color-red);
  }

  .site-header__sns {
    flex-shrink: 0;
    order: 4;
    margin-top: clamp(16px, 3vw, 24px);
    padding-top: clamp(14px, 2.5vw, 20px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-header__sns-list {
    justify-content: flex-start;
    gap: clamp(8px, 2vw, 16px);
  }

  .site-header__toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  body.is-menu-open .site-header__toggle {
    border-color: var(--color-red);
  }

  body.is-menu-open .site-header__toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.is-menu-open .site-header__toggle-line:nth-child(2) {
    opacity: 0;
  }

  body.is-menu-open .site-header__toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ==========================================================
  Footer
========================================================== */

.site-footer {
  margin-top: 50px;
  background: #000;
  border-top: 1px solid rgba(210, 24, 25, 0.5);
}

.site-footer__inner {
  display: grid;
  gap: 0;
  padding-top: 30px;
  padding-bottom: 0;
}

.site-footer__bottom-inner {
  margin-top: clamp(28px, 4vw, 40px);
  padding-block: 0 clamp(24px, 3vw, 36px);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.55fr) minmax(120px, 0.88fr) minmax(100px, 0.72fr) minmax(260px, 1.2fr);
  gap: 0;
  column-gap: clamp(40px, 4.5vw, 72px);
  row-gap: 0;
  align-items: start;
}

.site-footer__grid > * {
  min-width: 0;
  padding-left: clamp(20px, 2.5vw, 36px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__grid > .site-footer__brand {
  padding-left: 0;
  border-left: none;
}

.site-footer__brand {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(16px, 2.2vw, 28px);
}

.site-footer__logo-link {
  display: inline-flex;
  flex-shrink: 0;
}

.site-footer__logo-image {
  width: clamp(108px, 10vw, 140px);
  height: auto;
  display: block;
}

.site-footer__description {
  flex: 1 1 18rem;
  min-width: min(100%, 16rem);
  margin: 0;
  padding-top: 0.2em;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-sm);
  line-height: 1.92;
  max-width: min(58ch, 100%);
}

.site-footer__title {
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: var(--text-sm);
  color: var(--color-red);
  margin: 0 0 14px;
  text-transform: uppercase;
  font-style: normal;
}

.site-footer__title::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 8px;
  background: var(--color-red);
}

.site-footer__list {
  display: grid;
  gap: 6px;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.15s ease;
}

.site-footer__link:hover {
  color: var(--color-red);
}

.site-footer__sns .site-footer__link {
  gap: 10px;
}

.site-footer__sns-icon {
  width: clamp(18px, 1.7vw, 22px);
  height: auto;
  flex-shrink: 0;
  display: block;
  transition: opacity 0.15s ease;
}

.site-footer__sns-label {
  letter-spacing: 0.04em;
}

.site-footer__sns .site-footer__link:hover .site-footer__sns-icon {
  opacity: 0.82;
}

.site-footer__contact {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.site-footer__contact-text {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-sm);
  line-height: 1.82;
  max-width: min(48ch, 100%);
}

.site-footer__contact-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding-inline: clamp(18px, 2.2vw, 32px);
  padding-block: 14px 16px;
  white-space: nowrap;
  text-align: center;
}

.site-footer__contact-button::after {
  content: "";
  position: absolute;
  right: clamp(18px, 2.2vw, 32px);
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  box-sizing: border-box;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
  pointer-events: none;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer__bottom-link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s ease;
}

.site-footer__bottom-link:hover {
  color: var(--color-red);
}

.site-footer__copyright {
  font-size: var(--text-copyright);
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================
  Back to top
========================================================== */

.back-to-top {
  position: fixed;
  right: clamp(32px, 3vw, 48px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(16px, 2.8vh, 28px));
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.back-to-top:hover {
  transform: translateY(-2px);
  border-color: var(--color-red);
  color: var(--color-red);
}

.back-to-top__icon {
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
  overflow: hidden;
  text-indent: -9999px;
  white-space: nowrap;
}

.back-to-top__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ==========================================================
  Utility
========================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================
  Responsive
========================================================== */

@media screen and (max-width: 1024px) {
  :root {
    --section-pad-y: 30px;
  }

  /* セクション開始位置（見出し上）の上余白を統一 */
  .common-section,
  .common-section--tight {
    padding-top: 30px;
  }

  .page-band,
  .page-band.common-section {
    padding-top: 30px;
  }

  /* ページ末尾でコピーライト帯と FAB が縦に干渉しにくいよう下余白を確保 */
  .site-footer__bottom-inner {
    padding-bottom: 20px;
  }
}

@media (max-width: 1200px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(24px, 3.5vw, 44px);
    row-gap: clamp(28px, 4vw, 48px);
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  :root {
    --gutter: 20px;
  }

  .site-header__inner.common-container {
    padding-inline: clamp(20px, 3.5vw, 40px);
  }

  .page-kv > .common-container {
    padding-inline: clamp(20px, 3.5vw, 40px);
  }
}

@media screen and (min-width: 1025px) and (max-width: 1320px) {
  .site-header__nav-list {
    gap: clamp(4px, 0.5vw, 10px);
  }

  .site-header__nav-link {
    padding-inline: clamp(3px, 0.4vw, 8px);
    font-size: clamp(12px, 0.95vw, 15px);
  }
}

@media screen and (max-width: 767px) {
  /* SITE MAP 左 / SNS 右の2カラム（各リストは縦並びのまま） */
  .site-footer__grid {
    column-gap: clamp(16px, 5vw, 28px);
    row-gap: clamp(20px, 4vw, 32px);
  }

  .site-footer__grid > .site-footer__sitemap {
    padding-left: 0;
    border-left: none;
  }

  .site-footer__grid > .site-footer__sns {
    padding-left: 0;
    border-left: none;
    margin-left: 0;
  }

  .site-footer__grid > .site-footer__contact {
    width: 100%;
    max-width: none;
    padding-left: 0;
    border-left: none;
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .site-footer__contact-button {
    width: 100%;
    max-width: none;
    min-height: 50px;
    min-width: 0;
    white-space: nowrap;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-inline-end: max(0px, env(safe-area-inset-right, 0px));
    padding-bottom: max(0px, env(safe-area-inset-bottom, 0px));
  }

  .back-to-top {
    right: clamp(20px, 4vw, 44px);
    bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(14px, 2.8vh, 26px));
  }
}
