@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600&family=Noto+Sans+JP:wght@400;500;600&family=Noto+Serif+JP:wght@300;400;500&display=swap');

/* =========================================================
   Koganei Country Club — course LP
   Palette: 墨 × 白 × 老竹色
   ========================================================= */

.kgn-lp,
.kgn-lp * {
  box-sizing: border-box;
}

.kgn-lp {
  --course-ink: #1f2321;
  --course-muted: #5f6763;
  --course-paper: #f5f5f2;
  --course-paper-2: #fbfbf9;
  --course-tint: #e9ebe6;
  --course-accent: #5f7f66;
  --course-accent-soft: #b9cfbd;
  --course-dark: #1c1f1d;
  --course-dark-2: #2f3532;
  --course-line: rgba(31, 35, 33, .16);
  margin: 0;
  width: 100%;
  color: var(--course-ink);
  background: var(--course-paper-2);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.95;
  font-size: 15px;
  overflow: clip;
}

.kgn-lp p {
  margin: 0;
}

.kgn-lp p:empty {
  display: none;
}

.kgn-lp h1,
.kgn-lp h2,
.kgn-lp h3 {
  margin: 0;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: .06em;
}

.kgn-lp .eyebrow {
  margin: 0 0 18px;
  font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--course-accent);
}

.kgn-wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.kgn-sec {
  padding: clamp(80px, 10vw, 140px) 0;
}

.kgn-lead {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--course-ink);
}

/* ---------- Heading / split ---------- */

.kgn-heading {
  max-width: 760px;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.kgn-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kgn-heading h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.kgn-split__head h2 {
  font-size: clamp(24px, 2.8vw, 32px);
}

.kgn-lp .kgn-heading .kgn-lead {
  margin-top: 26px;
  color: var(--course-muted);
  font-weight: 400;
}

.kgn-heading--light h2 {
  color: #fff;
}

.kgn-heading--light .eyebrow {
  color: var(--course-accent-soft);
}

.kgn-lp .kgn-heading--light .kgn-lead {
  color: rgba(255, 255, 255, .78);
}

.kgn-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: start;
}

.kgn-split__body > p + p {
  margin-top: 22px;
}

.kgn-split__body > .kgn-lead + p {
  margin-top: 28px;
}

.kgn-split__body > p:not(.kgn-lead) {
  color: var(--course-muted);
}

/* ---------- Club life : full-width dark ---------- */

.kgn-life {
  color: #fff;
  background: linear-gradient(180deg, var(--course-dark-2) 0%, var(--course-dark) 100%);
}

.kgn-life__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(32px, 5vw, 72px);
}

.kgn-life__item {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.kgn-life__item h3 {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
}

.kgn-life__item p {
  margin-top: 12px;
  color: rgba(255, 255, 255, .74);
  font-size: 14.5px;
}

/* ---------- Access : definition list ---------- */

.kgn-access {
  background: var(--course-tint);
}

.kgn-access__list {
  margin: 0;
  border-top: 1px solid var(--course-line);
}

.kgn-access__list > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--course-line);
}

.kgn-access__list dt {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: .06em;
}

.kgn-access__list dd {
  margin: 0;
  color: var(--course-muted);
  font-size: 14.5px;
}

/* ---------- Market ---------- */

.kgn-market {
  background: var(--course-paper-2);
  --tommy-market-line: rgba(31, 35, 33, .16);
  --tommy-market-card-border: rgba(31, 35, 33, .2);
  --tommy-market-card-bg: #fff;
  --tommy-market-heading: #1f2321;
  --tommy-market-body: #5f6763;
  --tommy-market-map-bg: #e9ebe6;
}

/* ---------- Final CTA ---------- */

.kgn-final {
  text-align: center;
  background: var(--course-paper);
  border-top: 1px solid var(--course-line);
}

.kgn-final h2 {
  font-size: clamp(22px, 2.8vw, 32px);
}

.kgn-final > .kgn-wrap > p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px auto 40px;
  color: var(--course-muted);
}

/* ---------- Shortcode parts : color overrides ---------- */

.tommy-global-header--koganei {
  --tommy-header-bg: rgba(251, 251, 249, .96);
  --tommy-header-panel-bg: #fbfbf9;
  --tommy-header-text: #1f2321;
  --tommy-header-muted: #5f6763;
  --tommy-header-line: rgba(31, 35, 33, .16);
  --tommy-header-accent: #5f7f66;
  --tommy-header-phone-bg: #5f7f66;
  --tommy-header-contact-bg: #2f3532;
}

.tommy-cta--koganei {
  --tommy-cta-surface: #2f3532;
  --tommy-cta-text: #fff;
  --tommy-cta-border: rgba(255, 255, 255, .5);
  --tommy-cta-buy: linear-gradient(135deg, #3f4a44 0%, #2f3532 100%);
  --tommy-cta-sell: linear-gradient(135deg, #5f6763 0%, #444a47 100%);
  --tommy-cta-consult: linear-gradient(135deg, #7f9e86 0%, #5f7f66 100%);
}

.tommy-footer--koganei {
  --tommy-footer-bg: #1c1f1d;
  --tommy-footer-text: #fff;
  --tommy-footer-muted: rgba(255, 255, 255, .7);
  --tommy-footer-accent: #b9cfbd;
  --tommy-footer-line: rgba(185, 207, 189, .5);
}

/* ---------- Reveal (JS adds .is-visible) ---------- */

.kgn-lp .js-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}

.kgn-lp .js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .kgn-lp .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Course-specific ---------- */

/* Hero : centered, ink black, editorial */

.kgn-hero {
  position: relative;
  padding: clamp(104px, 13vw, 180px) 0 clamp(88px, 10vw, 150px);
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, #2f3532 0%, #1c1f1d 100%);
}

.kgn-hero__inner {
  width: min(880px, 100%);
}

.kgn-hero .eyebrow {
  color: var(--course-accent-soft);
}

.kgn-hero h1 {
  font-size: clamp(30px, 4.8vw, 56px);
  letter-spacing: .16em;
  line-height: 1.3;
}

.kgn-hero h1::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  margin: 28px auto 0;
  background: var(--course-accent-soft);
}

.kgn-lp .kgn-hero__copy {
  margin-top: 26px;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-weight: 300;
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: .14em;
  line-height: 1.9;
}

.kgn-lp .kgn-hero__text {
  margin: 34px auto 0;
  max-width: 680px;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  text-align: left;
}

/* History : 3-column timeline */

.kgn-history {
  background: var(--course-paper-2);
}

.kgn-tl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(24px, 3vw, 48px);
  border-top: 1px solid var(--course-line);
}

.kgn-tl__item {
  position: relative;
  padding-top: 32px;
}

.kgn-tl__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--course-ink);
}

.kgn-lp .kgn-tl__year {
  margin: 0 0 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--course-accent);
}

.kgn-tl__item h3 {
  font-size: 20px;
  font-weight: 400;
}

.kgn-tl__item p:not(.kgn-tl__year) {
  margin-top: 12px;
  color: var(--course-muted);
  font-size: 14.5px;
}

/* Design split */

.kgn-design {
  background: var(--course-tint);
}

@media (max-width: 960px) {
  .kgn-tl {
    grid-template-columns: 1fr;
  }

  .kgn-tl__item {
    padding: 28px 0;
    border-bottom: 1px solid var(--course-line);
  }
}

/* ---------- Responsive (base) ---------- */

@media (max-width: 767px) {
  .kgn-lp {
    font-size: 14.5px;
  }

  .kgn-wrap {
    width: calc(100% - 40px);
  }

  .kgn-sec {
    padding: 64px 0;
  }

  .kgn-heading h2,
  .kgn-split__head h2 {
    font-size: 23px;
  }

  .kgn-heading h2 br,
  .kgn-split__head h2 br {
    display: none;
  }

  .kgn-lead {
    font-size: 15.5px;
  }

  .kgn-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .kgn-life__grid {
    grid-template-columns: 1fr;
  }

  .kgn-life__item h3 {
    font-size: 18px;
  }

  .kgn-access__list > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .kgn-final h2 {
    font-size: 20px;
  }

  .kgn-final h2 br {
    display: none;
  }

  .kgn-hero {
    padding: 76px 0 64px;
  }

  .kgn-hero h1 {
    font-size: 24px;
    letter-spacing: .1em;
  }

  .kgn-lp .kgn-hero__copy {
    font-size: 18px;
  }

  .kgn-hero__copy br {
    display: none;
  }

  .kgn-tl__item h3 {
    font-size: 19px;
  }
}
