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

/* =========================================================
   Fujimigaoka Country Club — course LP
   Palette: 栗色 × 蜜柑 × 生成り
   ========================================================= */

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

.fmg-lp {
  --course-ink: #2b2521;
  --course-muted: #6f6660;
  --course-paper: #f5f1ea;
  --course-paper-2: #fbf9f4;
  --course-tint: #ede6da;
  --course-accent: #d9772a;
  --course-accent-soft: #f1cba6;
  --course-dark: #3a2a22;
  --course-dark-2: #523b30;
  --course-line: rgba(43, 37, 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;
}

.fmg-lp p {
  margin: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.fmg-market {
  background: var(--course-paper-2);
  --tommy-market-line: rgba(43, 37, 33, .16);
  --tommy-market-card-border: rgba(43, 37, 33, .2);
  --tommy-market-card-bg: #fff;
  --tommy-market-heading: #2b2521;
  --tommy-market-body: #6f6660;
  --tommy-market-map-bg: #ede6da;
}

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

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

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

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

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

.tommy-global-header--fujimigaoka {
  --tommy-header-bg: rgba(251, 249, 244, .96);
  --tommy-header-panel-bg: #fbf9f4;
  --tommy-header-text: #2b2521;
  --tommy-header-muted: #6f6660;
  --tommy-header-line: rgba(43, 37, 33, .16);
  --tommy-header-accent: #d9772a;
  --tommy-header-phone-bg: #d9772a;
  --tommy-header-contact-bg: #523b30;
}

.tommy-cta--fujimigaoka {
  --tommy-cta-surface: #523b30;
  --tommy-cta-text: #fff;
  --tommy-cta-border: rgba(255, 255, 255, .5);
  --tommy-cta-buy: linear-gradient(135deg, #6b4d3e 0%, #523b30 100%);
  --tommy-cta-sell: linear-gradient(135deg, #6f6660 0%, #4e4842 100%);
  --tommy-cta-consult: linear-gradient(135deg, #e8904a 0%, #d9772a 100%);
}

.tommy-footer--fujimigaoka {
  --tommy-footer-bg: #3a2a22;
  --tommy-footer-text: #fff;
  --tommy-footer-muted: rgba(255, 255, 255, .7);
  --tommy-footer-accent: #f1cba6;
  --tommy-footer-line: rgba(241, 203, 166, .5);
}

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

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

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

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

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

/* Hero : warm dark, text + OUT/IN pair */

.fmg-hero {
  padding: clamp(96px, 12vw, 160px) 0 clamp(64px, 8vw, 100px);
  color: #fff;
  background:
    radial-gradient(45% 55% at 100% 0%, rgba(217, 119, 42, .3) 0%, rgba(217, 119, 42, 0) 70%),
    linear-gradient(180deg, var(--course-dark-2) 0%, var(--course-dark) 100%);
}

.fmg-hero__main {
  max-width: 780px;
}

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

.fmg-hero h1 {
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.35;
}

.fmg-lp .fmg-hero__copy {
  margin-top: 24px;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-weight: 300;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: .08em;
  line-height: 1.8;
  color: var(--course-accent-soft);
}

.fmg-lp .fmg-hero__text {
  margin-top: 28px;
  color: rgba(255, 255, 255, .84);
  font-size: 14.5px;
}

.fmg-sides {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(48px, 6vw, 72px);
}

.fmg-side {
  padding: 26px 26px 28px;
  border: 1px solid rgba(255, 255, 255, .26);
}

.fmg-lp .fmg-side__k {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--course-accent);
}

.fmg-side h3 {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 400;
  color: #fff;
}

.fmg-side p:not(.fmg-side__k) {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .76);
}

/* About : 3 facts */

.fmg-about {
  background: var(--course-paper-2);
}

.fmg-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.fmg-fact {
  padding-top: 22px;
  border-top: 2px solid var(--course-accent);
}

.fmg-fact h3 {
  font-size: 20px;
  font-weight: 400;
}

.fmg-fact p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--course-muted);
}

.fmg-house {
  background: var(--course-tint);
}

.fmg-lp .fmg-access {
  background: var(--course-paper);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

  .fmg-hero {
    padding: 72px 0 52px;
  }

  .fmg-hero h1 {
    font-size: 20px;
    letter-spacing: .02em;
  }

  .fmg-lp .fmg-hero__copy {
    font-size: 16.5px;
  }

  .fmg-hero__copy br {
    display: none;
  }

  .fmg-sides {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 40px;
  }

  .fmg-side {
    padding: 20px 18px 22px;
  }

  .fmg-lp .fmg-side__k {
    font-size: 28px;
  }

  .fmg-side h3 {
    font-size: 17px;
  }

  .fmg-facts {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
