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

/* =========================================================
   Rainbow Country Club — course LP
   Palette: 雨上がりの紫紺 × 菫 × 生成り
   ========================================================= */

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

.rbw-lp {
  --course-ink: #262233;
  --course-muted: #66617a;
  --course-paper: #f6f5f8;
  --course-paper-2: #fcfbfd;
  --course-tint: #ece9f2;
  --course-accent: #6a5aa8;
  --course-accent-soft: #c9c0e6;
  --course-dark: #221d33;
  --course-dark-2: #362d52;
  --course-line: rgba(38, 34, 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;
}

.rbw-lp p {
  margin: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.rbw-market {
  background: var(--course-paper-2);
  --tommy-market-line: rgba(38, 34, 51, .16);
  --tommy-market-card-border: rgba(38, 34, 51, .2);
  --tommy-market-card-bg: #fff;
  --tommy-market-heading: #262233;
  --tommy-market-body: #66617a;
  --tommy-market-map-bg: #ece9f2;
}

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

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

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

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

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

.tommy-global-header--rainbow {
  --tommy-header-bg: rgba(252, 251, 253, .96);
  --tommy-header-panel-bg: #fcfbfd;
  --tommy-header-text: #262233;
  --tommy-header-muted: #66617a;
  --tommy-header-line: rgba(38, 34, 51, .16);
  --tommy-header-accent: #6a5aa8;
  --tommy-header-phone-bg: #6a5aa8;
  --tommy-header-contact-bg: #362d52;
}

.tommy-cta--rainbow {
  --tommy-cta-surface: #362d52;
  --tommy-cta-text: #fff;
  --tommy-cta-border: rgba(255, 255, 255, .5);
  --tommy-cta-buy: linear-gradient(135deg, #4c3f85 0%, #362d52 100%);
  --tommy-cta-sell: linear-gradient(135deg, #66617a 0%, #4a4658 100%);
  --tommy-cta-consult: linear-gradient(135deg, #8c7ec4 0%, #6a5aa8 100%);
}

.tommy-footer--rainbow {
  --tommy-footer-bg: #221d33;
  --tommy-footer-text: #fff;
  --tommy-footer-muted: rgba(255, 255, 255, .7);
  --tommy-footer-accent: #c9c0e6;
  --tommy-footer-line: rgba(201, 192, 230, .5);
}

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

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

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

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

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

/* Hero : left aligned with muted spectrum bar */

.rbw-hero {
  position: relative;
  padding: clamp(96px, 12vw, 168px) 0 0;
  color: #fff;
  background: linear-gradient(180deg, #362d52 0%, #221d33 100%);
}

.rbw-hero__inner {
  padding-bottom: clamp(72px, 9vw, 120px);
}

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

.rbw-hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  letter-spacing: .08em;
  line-height: 1.3;
}

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

.rbw-lp .rbw-hero__text {
  margin-top: 30px;
  max-width: 680px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}

.rbw-hero__bar {
  height: 4px;
  background: linear-gradient(90deg, #8c7ec4 0%, #6a9fc4 25%, #7fb59a 50%, #d4b36a 75%, #c98a8a 100%);
  opacity: .85;
}

/* Course split */

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

/* Holes : 2 cards with big numbers */

.rbw-holes {
  background: var(--course-tint);
}

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

.rbw-hole {
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3.5vw, 44px);
  background: var(--course-paper-2);
  border-top: 3px solid var(--course-accent);
}

.rbw-lp .rbw-hole__num {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 18px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(48px, 5.5vw, 68px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--course-accent);
}

.rbw-lp .rbw-hole__num span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--course-muted);
}

.rbw-hole h3 {
  font-size: clamp(21px, 2.2vw, 25px);
  font-weight: 400;
  line-height: 1.5;
}

.rbw-hole p:not(.rbw-hole__num) {
  margin-top: 16px;
  color: var(--course-muted);
  font-size: 14.5px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .rbw-hero {
    padding-top: 72px;
  }

  .rbw-hero__inner {
    padding-bottom: 56px;
  }

  .rbw-hero h1 {
    font-size: 23px;
    letter-spacing: .04em;
  }

  .rbw-lp .rbw-hero__copy {
    font-size: 17px;
  }

  .rbw-hero__copy br {
    display: none;
  }

  .rbw-hole {
    padding: 26px 20px;
  }

  .rbw-hole h3 {
    font-size: 20px;
  }
}
