/* ========================================
   TS Golf - All styles (single file)
   Mobile first
======================================== */

:root {
  --color-primary: #30a268;
  --color-primary-dark: #278555;
  --color-primary-soft: #e8f6ee;
  --color-primary-mid: #d2ecdc;
  /* 差し色：ゴールド / ネイビー */
  --color-secondary: #c4a04a;
  --color-secondary-dark: #a88435;
  --color-secondary-soft: #f7f1e4;
  --color-tertiary: #2f4a6a;
  --color-tertiary-soft: #e8eef5;
  --color-accent-line: #30a268;
  --color-text: #222222;
  --color-text-muted: #666666;
  --color-white: #ffffff;
  --color-bg: #f4f7f5;
  --color-bg-alt: #eef5f1;
  --color-bg-warm: #f6f2ea;
  --color-bg-cool: #eef1f5;
  --color-bg-dark: #1a1a1a;
  --color-border: #e0e8e3;
  --color-placeholder: #d9d9d9;

  --font-base: "Noto Sans JP", sans-serif;

  --header-height: 56px;
  --floating-sp-height: 64px;
  --container-max: 1000px;
  --section-pad-y: 60px;
  --section-pad-x: 20px;

  --radius: 8px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--floating-sp-height) + env(safe-area-inset-bottom));
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

button {
  font-family: inherit;
}

/* Layout
---------------------------------------- */
.site-wrapper {
  display: flex;
  flex-direction: column;
  /* SPは下部フローティング分を除き、フッター下の余白を防ぐ */
  min-height: calc(100vh - var(--floating-sp-height) - env(safe-area-inset-bottom, 0px));
  min-height: calc(100dvh - var(--floating-sp-height) - env(safe-area-inset-bottom, 0px));
}

.site-main-area {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  background-color: transparent;
}

.site-main-area > .site-container {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Header
---------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 var(--section-pad-x);
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
}

.site-header__logo-link {
  color: var(--color-text);
}

.site-header__logo-link:hover {
  color: var(--color-primary);
}

.site-header__logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-header__logo .custom-logo {
  display: block;
  max-height: 40px;
  width: auto;
}

.site-header__menu-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.site-header__menu-btn-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.site-header.is-menu-open .site-header__menu-btn-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-menu-open .site-header__menu-btn-line:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .site-header__menu-btn-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.global-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 20px 24px;
}

.global-nav[hidden] {
  display: none;
}

.global-nav__list {
  display: grid;
  gap: 4px;
}

.global-nav__list a {
  display: block;
  padding: 12px 8px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.global-nav__list a:hover {
  color: var(--color-primary);
}

.global-nav__cta {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

/* Buttons
---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.btn--primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--outline-light {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--outline-light:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Section common
---------------------------------------- */
.section {
  padding: var(--section-pad-y) var(--section-pad-x);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.section__inner {
  width: 100%;
}

.section-heading {
  margin-bottom: 32px;
  text-align: center;
}

.section-heading__en {
  margin-bottom: 6px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.section-heading__ja {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.section-heading__ja::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-primary);
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-heading__lead {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.section-heading--light .section-heading__en {
  color: #7dcea0;
}

.section-heading--light .section-heading__ja,
.section-heading--light .section-heading__lead {
  color: var(--color-white);
}

.section-heading--light .section-heading__ja::after {
  background-color: #7dcea0;
}

.section-cta {
  margin-top: 28px;
  text-align: center;
}

.about-block__media img,
.facility-content__media img,
.staff-content__media img,
.athlete-content__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  background-color: var(--color-placeholder);
}

.media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* Footer
---------------------------------------- */
.site-footer {
  background-color: var(--color-bg-dark);
  color: #cccccc;
  padding: 48px var(--section-pad-x) 32px;
  border-top: 4px solid var(--color-primary);
}

.site-footer a {
  color: #eeeeee;
}

.site-footer a:hover {
  color: var(--color-primary);
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-footer__address,
.site-footer__meta {
  font-size: 13px;
  line-height: 1.7;
}

.site-footer__meta {
  margin-top: 8px;
}

.site-footer__nav {
  margin-top: 28px;
}

.site-footer__list {
  display: grid;
  gap: 10px;
}

.site-footer__list a {
  font-size: 13px;
}

.site-footer__copy {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #333333;
  font-size: 12px;
  color: #999999;
}

/* Floating menu
---------------------------------------- */
.floating-menu__sp {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: var(--floating-sp-height);
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
  padding-bottom: env(safe-area-inset-bottom);
}

.floating-menu__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  color: var(--color-text);
  font-size: 10px;
  font-weight: 500;
  text-align: center;
}

.floating-menu__item:hover {
  color: var(--color-primary);
}

.floating-menu__icon {
  width: 22px;
  height: 22px;
  background-color: var(--color-primary);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.floating-menu__icon--trial {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.floating-menu__icon--member {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
}

.floating-menu__icon--guide {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E");
}

.floating-menu__icon--tel {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.81.36 1.6.68 2.34a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.74-1.74a2 2 0 0 1 2.11-.45c.74.32 1.53.55 2.34.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.81.36 1.6.68 2.34a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.74-1.74a2 2 0 0 1 2.11-.45c.74.32 1.53.55 2.34.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.floating-menu__pc {
  display: none;
}

/* Contact Form 7 basic styles
---------------------------------------- */
.wpcf7 {
  max-width: 640px;
  margin: 0 auto;
}

.wpcf7 label {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
}

.wpcf7 .cf7-required-label {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 3px;
  background-color: #d9534f;
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: middle;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-white);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
}

.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.wpcf7 p:has(.wpcf7-submit) {
  margin-top: 8px;
  text-align: center;
}

.wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 48px;
  margin: 0 auto;
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.wpcf7 .wpcf7-submit:hover {
  background-color: var(--color-primary-dark);
}

.wpcf7 .wpcf7-spinner {
  display: none;
}

.contact-form-fallback {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px;
  background-color: var(--color-bg);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
}

.contact-form-fallback__code {
  margin-top: 10px;
}

.contact-form-fallback code {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 8px;
  background-color: var(--color-white);
  border-radius: 4px;
  font-size: 12px;
}

/* Tablet / PC
---------------------------------------- */
@media screen and (min-width: 768px) {
  body {
    font-size: 16px;
    padding-bottom: 0;
  }

  .site-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
  }

  :root {
    --header-height: 72px;
    --section-pad-y: 80px;
    --section-pad-x: 40px;
  }

  .site-header__logo-text {
    font-size: 20px;
  }

  .site-header__menu-btn {
    display: none;
  }

  .site-header__inner {
    position: relative;
  }

  .global-nav {
    position: static;
    display: flex !important;
    align-items: center;
    gap: 24px;
    padding: 0;
    border: none;
    background: transparent;
  }

  .global-nav[hidden] {
    display: flex !important;
  }

  .global-nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .global-nav__list a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .global-nav__cta {
    display: flex;
    gap: 8px;
    margin-top: 0;
  }

  .global-nav__cta .btn {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 12px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading__en {
    font-size: 14px;
  }

  .section-heading__ja {
    font-size: 32px;
  }

  .section-heading__lead {
    font-size: 15px;
  }

  .site-footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: start;
  }

  .site-footer__nav {
    margin-top: 0;
  }

  .site-footer__list {
    justify-items: end;
    text-align: right;
  }

  .site-footer__copy {
    grid-column: 1 / -1;
  }

  .floating-menu__sp {
    display: none;
  }

  .floating-menu__pc {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .floating-menu__pc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  }

  .floating-menu__pc-btn--trial {
    background-color: var(--color-primary);
    color: var(--color-white);
  }

  .floating-menu__pc-btn--trial:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
  }

  .floating-menu__pc-btn--member {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
  }

  .floating-menu__pc-btn--member:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
  }
}

@media screen and (min-width: 1024px) {
  body {
    background:
      linear-gradient(180deg, rgba(48, 162, 104, 0.06), transparent 280px),
      var(--color-bg);
  }

  .site-main-area > .site-container {
    background-color: var(--color-white);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
  }
}

/* Front page
---------------------------------------- */
.front-page {
  flex: 1 0 auto;
  background-color: var(--color-white);
}

/* HERO
---------------------------------------- */
.hero {
  line-height: 0;
  background-color: var(--color-placeholder);
}

.hero__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* INTRO
---------------------------------------- */
.section--intro {
  background: linear-gradient(
    180deg,
    var(--color-bg-warm) 0%,
    var(--color-white) 100%
  );
  padding-top: 40px;
  padding-bottom: 40px;
}

.intro-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.intro-points__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 10px;
  border: none;
  border-radius: var(--radius);
  background-color: var(--color-tertiary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 4px 12px rgba(47, 74, 106, 0.28);
}

.intro-copy {
  margin-top: 28px;
  margin-left: auto;
  margin-right: auto;
  max-width: fit-content;
  padding: 20px 18px;
}

.intro-copy__lead {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--color-tertiary);
}

.intro-copy p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
}

/* ABOUT
---------------------------------------- */
.section--about {
  background-color: var(--color-white);
  position: relative;
}

.section--about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-color: var(--color-primary);
}

.about-block {
  padding: 28px 18px;
  margin-top: 24px;
  scroll-margin-top: calc(var(--header-height) + 12px);
  background-color: var(--color-bg-cool);
  border-radius: var(--radius);
  border: 1px solid #d7dee8;
}

.about-block:first-of-type {
  margin-top: 0;
}

.about-block__heading {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-secondary-soft);
}

.about-block__en {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.about-block__ja {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
}

.about-block__body--split {
  display: grid;
  gap: 20px;
}

.about-block__text {
  font-size: 14px;
  color: var(--color-text);
}

.about-block__text p + p {
  margin-top: 14px;
}

/* Facility
---------------------------------------- */
.facility-content {
  display: grid;
  gap: 20px;
}

.facility-content__text {
  font-size: 14px;
  color: var(--color-text);
}

.facility-content__text p + p {
  margin-top: 14px;
}

.facility-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
}

.facility-points__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(48, 162, 104, 0.28);
}

/* Features
---------------------------------------- */
.features-lead {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--color-text);
}

.features-box {
  padding: 20px 16px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.features-box__title {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
  color: var(--color-tertiary);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.features-grid {
  display: grid;
  gap: 28px;
}

.feature-card__title {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-primary-dark);
}

.feature-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background-color: var(--color-placeholder);
}

.feature-card__text {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* Gallery
---------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.gallery-grid__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background-color: var(--color-placeholder);
}

/* Staff
---------------------------------------- */
.staff-content {
  display: grid;
  gap: 20px;
}

.staff-content__media img {
  aspect-ratio: 3 / 4;
  object-position: top;
}

.staff-content__text {
  font-size: 14px;
  color: var(--color-text);
}

.staff-content__text p + p {
  margin-top: 14px;
}

/* PRICE
---------------------------------------- */
.section--price {
  background: linear-gradient(
    180deg,
    var(--color-bg-warm) 0%,
    var(--color-secondary-soft) 100%
  );
}

.price-grid {
  display: grid;
  gap: 16px;
}

.price-admission {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px 18px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.price-admission__label {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-tertiary);
}

.price-admission__price {
  color: var(--color-primary);
  line-height: 1;
}

.price-admission__amount {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.price-admission__unit {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 500;
}

.price-card {
  padding: 24px 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
}

.price-card--accent {
  border: 2px solid var(--color-primary);
}

.price-card__name {
  font-size: 18px;
  font-weight: 700;
}

.price-card__note {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background-color: var(--color-secondary-soft);
  color: var(--color-secondary-dark);
  font-size: 12px;
  font-weight: 500;
}

.price-card__price {
  margin-top: 16px;
  color: var(--color-primary);
}

.price-card__amount {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.price-card__unit {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 500;
}

.price-card__list {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--color-secondary);
  display: grid;
  gap: 8px;
}

.price-card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.price-card__subplans {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.price-card__subplan {
  padding: 14px 12px;
  background-color: var(--color-bg-warm);
  border-radius: var(--radius);
}

.price-card__subplan .price-card__price {
  margin-top: 8px;
}

.price-card__subplan .price-card__amount {
  font-size: 28px;
}

.price-card__subplan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-tertiary);
}

.price-card__subplan-note {
  margin-top: 6px;
  font-size: 16px;
  color: var(--color-text-muted);
}

.price-rental {
  margin-top: 32px;
  padding: 24px 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
}

.price-rental__title {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-tertiary);
}

.price-rental__lead {
  font-size: 14px;
  color: var(--color-text);
}

.price-rental__main {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.price-rental__free {
  display: inline-block;
  margin-top: 4px;
  color: var(--color-primary);
  font-size: 20px;
}

.price-rental__note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text-muted);
  text-align: left;
}

/* CONTACT
---------------------------------------- */
.section--contact {
  background: linear-gradient(
    180deg,
    var(--color-white) 0%,
    var(--color-primary-soft) 100%
  );
}

.contact-layout {
  display: grid;
  gap: 32px;
}

.contact-tel {
  padding: 28px 20px;
  text-align: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.05);
}

.contact-tel__title,
.contact-form__title {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-tertiary);
  text-align: center;
}

.contact-tel__number {
  display: inline-block;
  color: var(--color-primary);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.contact-tel__number:hover {
  color: var(--color-primary-dark);
}

.contact-tel__note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
  text-align: center;
}

.contact-form-wrap .contact-tel__note {
  margin-top: 0;
  margin-bottom: 20px;
}

.contact-form-wrap {
  padding: 24px 18px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.05);
}

/* ACCESS
---------------------------------------- */
.section--access {
  background-color: var(--color-bg-cool);
}

.access-map {
  width: 100%;
}

.access-map__frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--color-placeholder);
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 18px rgba(26, 26, 26, 0.06);
}

.access-map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.access-map-image {
  margin-top: 16px;
  width: 100%;
}

.access-map-image img {
  display: block;
  width: 100%;
  height: auto;
}

.access-info {
  margin-top: 24px;
  padding: 22px 18px;
  background-color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 18px rgba(26, 26, 26, 0.04);
}

.access-info__list {
  display: grid;
  gap: 16px;
}

.access-info__row {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #c5d0dc;
}

.access-info__row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.access-info__row dt {
  color: var(--color-tertiary);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.access-info__row dd {
  font-size: 14px;
  line-height: 1.8;
}

.access-info__row a {
  color: var(--color-text);
  font-weight: 500;
}

.access-info__row a:hover {
  color: var(--color-primary);
}

/* ATHLETE
---------------------------------------- */
.section--athlete {
  background: linear-gradient(135deg, #163526 0%, #1f4d36 45%, #30a268 140%);
  color: var(--color-white);
  position: relative;
}

.section--athlete::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 85% 20%,
    rgba(255, 255, 255, 0.1),
    transparent 35%
  );
  pointer-events: none;
}

.section--athlete .section__inner {
  position: relative;
  z-index: 1;
}

.athlete-content {
  display: grid;
  gap: 20px;
}

.athlete-content__media img {
  border: 2px solid rgba(125, 206, 160, 0.45);
}

.athlete-content__text {
  font-size: 14px;
  color: #e8f6ee;
  padding: 18px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
}

.athlete-content__name {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
}

.athlete-content__birth {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #c8ddd0;
}

.athlete-content__subtitle {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-secondary);
}

.athlete-content__record {
  display: grid;
  gap: 6px;
}

.athlete-content__record li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #e8f6ee;
}

.athlete-content__record li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-secondary);
}

/* NEWS
---------------------------------------- */
.section--news {
  background-color: var(--color-white);
}

.news-list {
  display: grid;
  border-top: 2px solid var(--color-tertiary);
  background-color: var(--color-bg-cool);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}

.news-list__item {
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-white);
}

.news-list__item:last-child {
  border-bottom: none;
}

.news-list__link {
  display: grid;
  gap: 6px;
  padding: 18px 14px;
  color: var(--color-text);
  transition: background-color var(--transition);
}

.news-list__link:hover {
  color: var(--color-tertiary);
  background-color: var(--color-tertiary-soft);
}

.news-list__date {
  color: var(--color-secondary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-list__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.news-empty {
  padding: 24px;
  background-color: var(--color-secondary-soft);
  border-radius: var(--radius);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  border: 1px dashed var(--color-secondary);
}

/* Instagram
---------------------------------------- */
.section--instagram {
  background: linear-gradient(
    180deg,
    var(--color-tertiary-soft) 0%,
    var(--color-bg-cool) 100%
  );
}

.instagram-banner {
  display: flex;
  justify-content: center;
}

.instagram-banner__link {
  display: inline-flex;
  transition: opacity var(--transition), transform var(--transition);
}

.instagram-banner__link:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.instagram-banner__link img {
  display: block;
  width: 56px;
  height: auto;
}

/* Tablet / PC
---------------------------------------- */
@media screen and (min-width: 768px) {
  .section--intro {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .intro-points {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .intro-points__item {
    min-height: 56px;
    font-size: 15px;
  }

  .intro-copy {
    margin-top: 36px;
    padding: 28px 24px;
  }

  .intro-copy__lead {
    font-size: 20px;
  }

  .intro-copy p {
    font-size: 18px;
  }

  .about-block {
    padding: 32px 28px;
  }

  .about-block__ja {
    font-size: 24px;
  }

  .about-block__body--split {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
  }

  .about-block__text {
    font-size: 15px;
  }

  .facility-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
  }

  .facility-content__text {
    font-size: 15px;
  }

  .facility-points {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
  }

  .facility-points__item {
    min-height: 56px;
    font-size: 15px;
  }

  .features-lead {
    font-size: 15px;
  }

  .features-box {
    padding: 28px 24px;
  }

  .features-box__title {
    font-size: 18px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }

  .feature-card__title {
    font-size: 16px;
  }

  .feature-card__text {
    font-size: 14px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .staff-content {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 32px;
    align-items: start;
  }

  .staff-content__text {
    font-size: 15px;
  }

  .price-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch;
  }

  .price-card__amount {
    font-size: 36px;
  }

  .price-card__subplans {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .price-rental {
    margin-top: 40px;
    padding: 32px 28px;
  }

  .price-rental__title {
    font-size: 20px;
  }

  .price-rental__main {
    font-size: 16px;
  }

  .price-rental__free {
    font-size: 24px;
  }

  .price-rental__note {
    text-align: center;
  }

  .access-map__frame {
    aspect-ratio: 16 / 9;
  }

  .access-map-image {
    margin-top: 20px;
  }

  .access-info {
    margin-top: 32px;
    padding: 28px 24px;
  }

  .athlete-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
  }

  .athlete-content__text {
    font-size: 15px;
  }

  .news-list__link {
    grid-template-columns: 120px 1fr;
    align-items: baseline;
    gap: 16px;
    padding: 20px 8px;
  }

  .news-list__title {
    font-size: 15px;
  }

  .contact-layout {
    gap: 40px;
  }

  .contact-tel {
    padding: 36px 28px;
  }

  .contact-tel__title,
  .contact-form__title {
    font-size: 18px;
  }

  .contact-tel__number {
    font-size: 36px;
  }

  .contact-form-wrap {
    padding: 32px 28px;
  }

  .instagram-banner__link img {
    width: 64px;
  }
}

/* Fixed / single / archive pages
---------------------------------------- */
.page-main {
  flex: 1 0 auto;
  padding: 40px 20px 60px;
  background-color: var(--color-white);
}

.page-article__header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

/* お知らせ一覧など、.page-main 直下のヘッダーは下線なし */
.page-main > .page-article__header {
  border-bottom: none;
  padding-bottom: 0;
}

.page-article__date {
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-article__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.page-article__content {
  font-size: 15px;
  line-height: 1.9;
}

.page-article__content > * + * {
  margin-top: 1em;
}

.page-article__content h2 {
  margin-top: 1.8em;
  font-size: 20px;
}

.page-article__content h3 {
  margin-top: 1.5em;
  font-size: 18px;
}

.page-article__content ul,
.page-article__content ol {
  padding-left: 1.4em;
}

.page-article__content ul {
  list-style: disc;
}

.page-article__content ol {
  list-style: decimal;
}

.page-article__content a {
  text-decoration: underline;
}

.legal-note {
  margin-top: 2em;
  font-size: 13px;
  color: var(--color-text-muted);
}

.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}

.legal-table th,
.legal-table td {
  padding: 14px 12px;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  width: 32%;
  background-color: var(--color-bg-cool);
  font-weight: 700;
  color: var(--color-tertiary);
  white-space: nowrap;
}

.page-article__footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.news-list--archive {
  border-top: 1px solid var(--color-border);
}

.pagination {
  margin-top: 32px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-size: 13px;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: var(--color-white);
}

@media screen and (min-width: 768px) {
  .page-main {
    padding: 56px 40px 80px;
  }

  .page-article__title {
    font-size: 32px;
  }

  .page-article__content {
    font-size: 16px;
  }

  .page-article__content h2 {
    font-size: 24px;
  }

  .page-article__content h3 {
    font-size: 20px;
  }

  .legal-table {
    font-size: 15px;
  }

  .legal-table th,
  .legal-table td {
    padding: 16px 18px;
  }

  .legal-table th {
    width: 28%;
  }
}
