.months-lp {
  --months-navy: #021c38;
  --months-blue: #173c67;
  --months-ink: #102f55;
  --months-line: #dbe5ef;
  --months-gold: #d6aa55;
  --months-gold-dark: #a66f17;
  background:
    radial-gradient(circle at 50% 0%, rgba(48, 84, 124, 0.55), transparent 34%),
    linear-gradient(180deg, #021c38 0%, #062a50 42%, #021c38 100%);
  color: var(--months-ink);
  padding-top: 1.5rem;
}

.months-lp .breadcrumb {
  max-width: 1000px;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.72);
}

.months-lp .breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
}

.months-lp .breadcrumb a:hover {
  color: #fff;
}

.months-page {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
}

.months-page * {
  box-sizing: border-box;
}

.months-lp h2 {
  font-family: "Playfair Display", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.months-lp .sp-break {
  display: inline;
}

.months-hero {
  min-height: 570px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(2, 28, 56, 0.95), rgba(2, 28, 56, 0.76) 46%, rgba(2, 28, 56, 0.08)),
    url("../images/menu/6months/hero.webp") center / cover no-repeat;
  color: #fff;
}

.months-hero__content {
  width: min(100%, 700px);
  padding: 34px 18px 40px;
}

.months-kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.months-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 31px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.07em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.months-lead {
  margin: 18px 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-weight: 600;
}

.months-hero__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 20px;
}

.months-hero__points span {
  display: grid;
  gap: 6px;
  justify-items: center;
  align-content: center;
  min-height: 86px;
  padding: 9px 7px;
  color: #fff;
  background: rgba(2, 28, 56, 0.56);
  border: 1px solid rgba(214, 170, 85, 0.34);
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.months-hero__points img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.months-cta {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  width: min(100%, 520px);
  min-height: 68px;
  padding: 11px 18px 11px 20px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #ead38d 0%, var(--months-gold) 48%, var(--months-gold-dark) 100%);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.months-cta:hover,
.months-cta.btn-main:hover {
  background: linear-gradient(180deg, #ead38d 0%, var(--months-gold) 48%, var(--months-gold-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
}

.months-cta::after,
.months-cta:hover::after {
  display: none;
}

.months-cta__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 8px;
}

.months-cta__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.months-cta strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
}

.months-cta span:not(.months-cta__icon):not(.months-cta__arrow) {
  display: block;
  min-width: 0;
  font-size: 12px;
  line-height: 1.45;
}

.months-cta__arrow {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.months-cta__arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(1px) rotate(45deg);
}

.months-section {
  padding: 32px 18px;
}

.months-world {
  background: linear-gradient(180deg, #f7fbfd 0%, #eef5f8 100%);
}

.months-sessions {
  background: linear-gradient(180deg, #fffaf0 0%, #f7fbfd 100%);
}

.months-section h2,
.months-goals h2,
.months-journey h2,
.months-final h2 {
  margin: 0 0 18px;
  color: var(--months-blue);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.05em;
  text-align: center;
}

.months-world__list {
  display: grid;
  gap: 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--months-line);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(28, 62, 96, 0.08);
  overflow: hidden;
}

.months-world__list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-bottom: 1px solid var(--months-line);
}

.months-world__list article:last-child {
  border-bottom: 0;
}

.months-world__list img,
.months-benefit-grid img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.months-world__list p,
.months-benefit-grid p {
  margin: 0;
  color: #263f59;
  font-size: 14px;
  font-weight: 600;
}

.months-goals {
  padding: 34px 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(245, 249, 252, 0.75)),
    url("../images/menu/6months/mountain.webp") center / cover no-repeat;
}

.months-goals__grid {
  display: grid;
  gap: 12px;
}

.months-goals__grid article {
  position: relative;
  min-height: 190px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 22px 16px;
  color: #fff;
  background: linear-gradient(145deg, #042447, #00172f);
  border: 1px solid rgba(214, 170, 85, 0.3);
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 16px 30px rgba(2, 28, 56, 0.16);
}

.months-goals__grid span {
  color: var(--months-gold);
  font-size: 18px;
  font-weight: 700;
}

.months-goals__grid img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.months-goals__grid h3 {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.75;
}

.months-profile {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(2, 28, 56, 0.94), rgba(1, 15, 31, 0.98)),
    radial-gradient(circle at 18% 0%, rgba(214, 170, 85, 0.18), transparent 34%);
}

.months-profile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(214, 170, 85, 0.28);
  border-bottom: 1px solid rgba(214, 170, 85, 0.22);
  pointer-events: none;
}

.months-profile__inner {
  position: relative;
  max-width: 740px;
  margin: 0 auto;
}

.months-profile__body {
  padding: 10px 0;
}

.months-profile__body h2 {
  margin-bottom: 22px;
  color: #fff;
  font-size: 22px;
  line-height: 1.75;
  text-align: left;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.months-profile__body h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  margin-top: 18px;
  background: var(--months-gold);
  opacity: 0.86;
}

.months-profile__body p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 15px;
  line-height: 2.15;
  letter-spacing: 0.03em;
}

.months-profile__body p:last-child {
  margin-bottom: 0;
}

.months-profile__name {
  padding-top: 8px;
  color: #ead38d;
  font-weight: 600;
  text-align: right;
  font-family: "Playfair Display", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.months-journey {
  padding: 34px 18px;
  background: linear-gradient(180deg, #fff, #f5f8fb);
}

.months-journey__grid,
.months-card-grid {
  display: grid;
  gap: 14px;
}

.months-journey__grid article,
.months-card-grid article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--months-line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(28, 62, 96, 0.06);
}

.months-journey h3,
.months-card-grid h3 {
  margin: 0 0 12px;
  color: var(--months-blue);
  font-size: 17px;
  font-weight: 600;
}

.months-journey p {
  margin: 0 0 12px;
  color: #263f59;
  font-size: 14px;
}

.months-journey ul,
.months-card-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.months-journey li,
.months-card-grid li {
  position: relative;
  margin-bottom: 7px;
  padding-left: 26px;
  color: #263f59;
  font-size: 14px;
}

.months-journey li::before,
.months-card-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 13px;
  height: 13px;
  border: 1px solid var(--months-gold-dark);
  border-radius: 50%;
}

.months-journey li::after,
.months-card-grid li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 5px;
  height: 8px;
  border: solid var(--months-gold-dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.months-inline-cta {
  display: flex;
  justify-content: center;
  padding: 8px 18px 34px;
  background: linear-gradient(180deg, #f8fbfd, #fff);
}

.months-card-grid article > img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
}

.months-card-grid small {
  color: #5f7690;
  font-weight: 500;
}

.months-benefits {
  background: linear-gradient(180deg, #fff, #f5f8fb);
}

.months-benefit-grid {
  display: grid;
  gap: 10px;
}

.months-benefit-grid article {
  min-height: 126px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--months-line);
  border-radius: 8px;
  text-align: center;
}

.months-guidance {
  display: grid;
  gap: 18px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(2, 28, 56, 0.98), rgba(5, 42, 78, 0.88)),
    radial-gradient(circle at 84% 18%, rgba(214, 170, 85, 0.18), transparent 34%);
  border-top: 1px solid rgba(214, 170, 85, 0.3);
  border-bottom: 1px solid rgba(214, 170, 85, 0.24);
}

.months-guidance h2 {
  color: #fff;
}

.months-guidance p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.months-guidance__items {
  display: grid;
  gap: 10px;
}

.months-guidance__items article {
  padding: 15px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(214, 170, 85, 0.36);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.months-guidance__items span {
  display: grid;
  place-items: center;
  height: 40px;
  margin-bottom: 8px;
}

.months-guidance__items span img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.months-guidance__items p {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.months-guidance__items small {
  color: rgba(234, 211, 141, 0.92);
  font-size: 11px;
  font-weight: 500;
}
.months-guidance__cta {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding-top: 4px;
  text-align: center;
}

.months-guidance > div:first-child p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.months-guidance > div:first-child p strong {
  position: relative;
  display: inline;
  color: #ffe4a1;
  font-size: 1.12em;
  font-weight: 700;
  text-shadow: 0 0 14px rgba(214, 170, 85, 0.32);
  background: linear-gradient(transparent 58%, rgba(214, 170, 85, 0.28) 58%);
}

.months-guidance > div:first-child p strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 228, 161, 0.82), transparent);
}

.months-faq {
  background: linear-gradient(180deg, #f7fbfd 0%, #eef5f8 100%);
}

.months-faq details {
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(219, 229, 239, 0.96);
  border-left: 4px solid var(--months-gold);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(28, 62, 96, 0.06);
}

.months-faq details:last-child {
  margin-bottom: 0;
}

.months-faq summary {
  position: relative;
  cursor: pointer;
  padding: 13px 44px 13px 16px;
  color: var(--months-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  list-style: none;
}

.months-faq summary::-webkit-details-marker {
  display: none;
}

.months-faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  color: var(--months-gold-dark);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
}

.months-faq details[open] summary::after {
  content: "-";
}

.months-faq p {
  margin: 0;
  padding: 0 16px 15px;
  color: #263f59;
  font-size: 14px;
  line-height: 1.9;
}

.months-final {
  display: grid;
  gap: 18px;
  padding: 34px 18px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(2, 28, 56, 0.98), rgba(2, 28, 56, 0.6)),
    url("../images/menu/6months/hero.webp") center bottom / cover no-repeat;
}

.months-final h2 {
  color: #fff;
  text-align: left;
}

.months-final p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

@media (min-width: 560px) {
  .months-lp .sp-break {
    display: none;
  }

  .months-world__list {
    grid-template-columns: repeat(5, 1fr);
  }

  .months-world__list article {
    display: block;
    text-align: center;
    border-bottom: 0;
    border-right: 1px solid var(--months-line);
  }

  .months-world__list article:last-child {
    border-right: 0;
  }

  .months-world__list img {
    margin-bottom: 8px;
  }

  .months-goals__grid,
  .months-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .months-benefit-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .months-guidance__items {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .months-hero {
    min-height: 500px;
  }

  .months-hero__content {
    padding: 52px 60px;
  }

  .months-hero h1 {
    font-size: 42px;
  }

  .months-hero__points span {
    font-size: 13px;
  }

  .months-section,
  .months-goals,
  .months-journey {
    padding: 42px 58px;
  }

  .months-section h2,
  .months-goals h2,
  .months-journey h2,
  .months-final h2 {
    font-size: 24px;
  }

  .months-goals__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .months-profile__body {
    padding: 12px 22px;
  }

  .months-profile__body h2 {
    font-size: 26px;
  }

  .months-profile__body p {
    font-size: 16px;
  }

  .months-journey__grid {
    grid-template-columns: 1fr 1fr;
  }

  .months-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .months-guidance {
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
  }

  .months-guidance h2 {
    text-align: left;
  }
  .months-guidance__cta {
    grid-column: 1 / -1;
  }

  .months-inline-cta {
    padding: 10px 58px 42px;
  }

  .months-final {
    grid-template-columns: 1fr 440px;
    align-items: center;
    padding: 44px 58px;
  }
}

@media (max-width: 380px) {
  .months-hero h1 {
    font-size: 27px;
  }

  .months-hero__points span {
    font-size: 10px;
  }

  .months-cta {
    grid-template-columns: 34px minmax(0, 1fr) 14px;
    gap: 9px;
    padding: 10px 12px 10px 14px;
  }

  .months-cta strong {
    font-size: 14px;
  }

  .months-cta span:not(.months-cta__icon):not(.months-cta__arrow) {
    font-size: 10px;
  }
}
