@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');

/* =========================================================
   Hiratsuka Fujimi Country Club — course LP
   Palette: 藍鉄 × 雪白 × 銀朱
   ========================================================= */

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

.hfm-lp {
  --course-ink: #212a33;
  --course-muted: #5e6870;
  --course-paper: #f5f6f6;
  --course-paper-2: #fbfcfc;
  --course-tint: #e9ecee;
  --course-accent: #c8553d;
  --course-accent-soft: #f0b8a8;
  --course-dark: #1c2a38;
  --course-dark-2: #2c4a63;
  --course-line: rgba(33, 42, 51, .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;
}

.hfm-lp p {
  margin: 0;
}

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

.hfm-lp h1,
.hfm-lp h2,
.hfm-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;
}

.hfm-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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.hfm-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);
}

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

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

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

.hfm-market {
  background: var(--course-paper-2);
  --tommy-market-line: rgba(33, 42, 51, .16);
  --tommy-market-card-border: rgba(33, 42, 51, .2);
  --tommy-market-card-bg: #fff;
  --tommy-market-heading: #212a33;
  --tommy-market-body: #5e6870;
  --tommy-market-map-bg: #e9ecee;
}

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

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

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

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

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

.tommy-global-header--fujimi {
  --tommy-header-bg: rgba(251, 252, 252, .96);
  --tommy-header-panel-bg: #fbfcfc;
  --tommy-header-text: #212a33;
  --tommy-header-muted: #5e6870;
  --tommy-header-line: rgba(33, 42, 51, .16);
  --tommy-header-accent: #c8553d;
  --tommy-header-phone-bg: #c8553d;
  --tommy-header-contact-bg: #2c4a63;
}

.tommy-cta--fujimi {
  --tommy-cta-surface: #2c4a63;
  --tommy-cta-text: #fff;
  --tommy-cta-border: rgba(255, 255, 255, .5);
  --tommy-cta-buy: linear-gradient(135deg, #3a6283 0%, #2c4a63 100%);
  --tommy-cta-sell: linear-gradient(135deg, #5e6870 0%, #434b52 100%);
  --tommy-cta-consult: linear-gradient(135deg, #d97b62 0%, #c8553d 100%);
}

.tommy-footer--fujimi {
  --tommy-footer-bg: #1c2a38;
  --tommy-footer-text: #fff;
  --tommy-footer-muted: rgba(255, 255, 255, .7);
  --tommy-footer-accent: #f0b8a8;
  --tommy-footer-line: rgba(240, 184, 168, .5);
}

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

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

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

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

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

/* Hero : centered, steel blue with vermilion line */

.hfm-hero {
  position: relative;
  padding: clamp(96px, 12vw, 168px) 0 clamp(80px, 10vw, 140px);
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, #2c4a63 0%, #1c2a38 100%);
}

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

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

.hfm-hero h1 {
  font-size: clamp(28px, 4.4vw, 50px);
  letter-spacing: .08em;
  line-height: 1.3;
}

.hfm-hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin: 26px auto 0;
  background: var(--course-accent);
}

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

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

/* Courses : horizontal rows */

.hfm-courses {
  background: var(--course-paper-2);
}

.hfm-rows {
  border-top: 1px solid var(--course-line);
}

.hfm-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 24px clamp(32px, 5vw, 80px);
  padding: clamp(32px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--course-line);
}

.hfm-lp .hfm-row__label {
  margin: 0 0 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--course-accent);
}

.hfm-row h3 {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 400;
}

.hfm-lp .hfm-row__spec {
  margin-top: 12px;
  font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--course-muted);
}

.hfm-row__body p {
  color: var(--course-muted);
  font-size: 14.5px;
}

.hfm-lp .hfm-courses__note {
  max-width: 760px;
  margin: 32px 0 0;
  color: var(--course-muted);
  font-size: 14.5px;
}

/* Stats : 3 columns */

.hfm-stats {
  background: var(--course-tint);
}

.hfm-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

.hfm-stat {
  padding: clamp(28px, 3.5vw, 44px) clamp(22px, 3vw, 36px);
  background: var(--course-paper-2);
  text-align: center;
}

.hfm-lp .hfm-stat__value {
  margin: 0 0 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(44px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1;
  color: var(--course-dark-2);
}

.hfm-lp .hfm-stat__value span {
  margin-left: 4px;
  font-size: 18px;
  letter-spacing: .06em;
  color: var(--course-accent);
}

.hfm-stat h3 {
  font-size: 18px;
  font-weight: 400;
}

.hfm-stat p:not(.hfm-stat__value) {
  margin-top: 12px;
  color: var(--course-muted);
  font-size: 14px;
}

@media (max-width: 960px) {
  .hfm-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hfm-stats__grid {
    grid-template-columns: 1fr;
  }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

  .hfm-hero {
    padding: 72px 0 64px;
  }

  .hfm-hero h1 {
    font-size: 21px;
    letter-spacing: .02em;
  }

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

  .hfm-hero__copy br {
    display: none;
  }

  .hfm-row {
    padding: 26px 0;
  }

  .hfm-row h3 {
    font-size: 22px;
  }

  .hfm-stat {
    padding: 24px 20px;
  }
}
