:root {
  --color-brown-dark: #3C2823;
  --color-brown-mid: #2E1E1A;
  --color-brown-deepest: #1F1512;
  --color-brown-deepest-rgb: 31, 21, 18;
  --color-brown-card: #2E1E1A;
  --color-black: #000000;
  --color-black-rgb: 0, 0, 0;
  --color-bg-black: #110C0A;
  --color-bg-black-rgb: 17, 12, 10;
  --color-gold-matte: #B8924A;
  --color-gold-matte-rgba: 184, 146, 74;
  --color-silver: 220, 220, 220;
  --color-white-warm: 245, 240, 232;
  --color-white-pure: #FFFFFF;
  --color-cta-orange: #CE5514;
  --color-cta-orange-rgb: 206, 85, 20;
  --color-cta-orange-shadow: rgba(var(--color-cta-orange-rgb), 0.25);
  --font-family-base: 'Klee One', 'Yu Mincho', 'YuMincho', serif;
  --duration-standard: 800ms;
  --duration-quick: 300ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
  --container-width: 1280px;
  --space-section-y: 80px;
  --space-side: 24px;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  max-width: 100%;
  overflow-x: hidden;
  color: rgba(var(--color-white-warm), 0.85);
  font-family: var(--font-family-base);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.04em;
  background: var(--color-bg-black);
}

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

:focus-visible {
  outline: 2px solid rgba(var(--color-gold-matte-rgba), 0.85);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 8px 16px;
  color: var(--color-white-pure);
  background: var(--color-cta-orange);
  transform: translateY(calc(-100% - 24px));
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100%, var(--container-width));
  margin: 0 auto;
  padding: 0 var(--space-side);
}

.section {
  padding: var(--space-section-y) 0;
  background: var(--color-bg-black);
  position: relative;
}

/* 背景ルール（馬場様2026-07-19指示）：主背景は黒＝Award背景と同じ合成値#110C0A。茶背景を残すのは Access・Recruit のみ */
.section--recruit {
  background: var(--color-brown-mid);
}

/* セクション境界のゴールド装飾区切り */
.section + .section::before,
.section--footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(var(--color-gold-matte-rgba), 0.4),
    transparent
  );
  z-index: 2;
}

.section__heading {
  color: rgba(var(--color-white-warm), 0.95);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.section__label {
  color: rgba(var(--color-gold-matte-rgba), 0.85);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.2em;
}

.section__divider {
  width: 40px;
  height: 1px;
  margin-top: 12px;
  background: rgba(var(--color-gold-matte-rgba), 0.65);
}

@media (max-width: 1023px) {
  .section .section__photo,
  .section--champion .section--champion__media,
  .section--menu .section--menu__course-photo {
    width: calc(100% + (var(--space-side) * 2));
    max-width: none;
    margin-left: calc(var(--space-side) * -1);
    margin-right: calc(var(--space-side) * -1);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .section--access .access-store {
    width: calc(100% + (var(--space-side) * 2));
    margin-left: calc(var(--space-side) * -1);
    margin-right: calc(var(--space-side) * -1);
    padding-left: var(--space-side);
    padding-right: var(--space-side);
    border-left: 0;
    border-right: 0;
  }

  :where(
    .section__heading,
    .section__label,
    .section--fv__title-line,
    .section--champion__caption,
    .section--about__lead,
    .section--menu__course,
    .section--menu__option-heading,
    .option-card__title,
    .staff-card__name,
    .staff-card__catch
  ) {
    word-break: keep-all;
    line-break: strict;
    overflow-wrap: normal;
  }

  :where(.section p, .section li, .section dt, .section dd) {
    word-break: auto-phrase;
    line-break: strict;
    overflow-wrap: normal;
  }
}

.btn-cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
  color: var(--color-white-pure);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  background: var(--color-cta-orange);
  box-shadow: 0 10px 22px var(--color-cta-orange-shadow);
  transition:
    box-shadow var(--duration-standard) var(--ease-standard),
    transform var(--duration-standard) var(--ease-standard);
}

.btn-cta {
  position: relative;
  overflow: hidden;
}

/* CTAボタン左のカレンダーアイコン（現行サイト踏襲・馬場様7/25指示） */
.btn-cta__icon {
  flex: none;
  width: 1em;
  height: 1em;
  margin-top: -1px;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 100%
  );
  transition: left 600ms var(--ease-standard);
  pointer-events: none;
}

.btn-cta:hover::before,
.btn-cta:focus-visible::before {
  left: 130%;
}

.btn-cta:hover,
.btn-cta:focus-visible {
  box-shadow: 0 15px 30px rgba(var(--color-cta-orange-rgb), 0.4);
  transform: translateY(-2px);
}

/* スクロール進行インジケーター（右端ゴールドバー） */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(
    to bottom,
    rgba(var(--color-gold-matte-rgba), 0.95),
    rgba(var(--color-gold-matte-rgba), 0.55)
  );
  z-index: 999;
  transition: height 80ms linear;
  pointer-events: none;
}

/* SP floating CTA（ページ最上部から画面下部固定） */
.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity var(--duration-quick) var(--ease-standard),
    transform var(--duration-quick) var(--ease-standard);
  pointer-events: none;
}

.floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta .btn-cta {
  min-width: 214px;
  min-height: 56px;
  padding: 0 28px;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(var(--color-cta-orange-rgb), 0.52);
}

@media (min-width: 768px) {
  .floating-cta {
    display: none;
  }
}

/* カーソル追従ゴールド円（PCのみ・繊細演出） */
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 1px solid rgba(var(--color-gold-matte-rgba), 0.55);
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition:
    opacity 200ms ease,
    width 260ms cubic-bezier(0.2, 0.6, 0.2, 1),
    height 260ms cubic-bezier(0.2, 0.6, 0.2, 1),
    margin 260ms cubic-bezier(0.2, 0.6, 0.2, 1),
    background-color 200ms ease,
    border-color 200ms ease;
  mix-blend-mode: screen;
  display: none;
}

.cursor-follower.is-active {
  opacity: 1;
}

.cursor-follower.is-hover {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  background: rgba(var(--color-gold-matte-rgba), 0.18);
  border-color: rgba(var(--color-gold-matte-rgba), 0.85);
}

@media (hover: hover) and (pointer: fine) {
  .cursor-follower {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-follower {
    display: none;
  }
}

/* 写真 hover チルト＋ズーム */
.section__photo img,
.section--about__photo img,
.section--recruit__photo img {
  transition:
    transform 700ms var(--ease-standard),
    filter 700ms var(--ease-standard);
}

.section--about__photo:hover img,
.section--recruit__photo:hover img {
  transform: scale(1.04);
}

/* セクションインデックス（右端固定ドットナビ） */
.section-index {
  position: fixed;
  top: 50%;
  right: 11px;
  transform: translateY(-50%);
  z-index: 80;
  display: none;
  flex-direction: column;
  gap: 0;
  pointer-events: none;
}

.section-index a {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  pointer-events: auto;
  text-decoration: none;
}

.section-index a::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(var(--color-gold-matte-rgba), 0.55);
  border-radius: 50%;
  background: transparent;
  transition:
    background var(--duration-quick) var(--ease-standard),
    border-color var(--duration-quick) var(--ease-standard),
    transform var(--duration-quick) var(--ease-standard);
}

.section-index a:hover::before,
.section-index a:focus-visible::before {
  background: rgba(var(--color-gold-matte-rgba), 0.85);
  border-color: rgba(var(--color-gold-matte-rgba), 1);
  transform: scale(1.3);
}

.section-index a.is-active::before {
  background: rgba(var(--color-gold-matte-rgba), 0.95);
  border-color: rgba(var(--color-gold-matte-rgba), 1);
  transform: scale(1.25);
}

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

@media (min-width: 1280px) {
  .section-index {
    display: flex;
  }
}

@media (min-width: 768px) {
  :root {
    --space-side: 48px;
  }

  body {
    font-size: 16px;
  }

  .section__heading {
    font-size: 60px;
  }
}

@media (min-width: 1024px) {
  .section__heading {
    font-size: 76px;
    letter-spacing: 0.02em;
  }
}

@media (min-width: 1440px) {
  .section__heading {
    font-size: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 1ms;
    animation-duration: 1ms;
    animation-iteration-count: 1;
  }

  .scroll-progress {
    display: none;
  }
}
