:root {
  --wine: #8b2252;
  --wine-dark: #6d1a40;
  --wine-soft: rgba(139, 34, 82, 0.1);
  --wine-softer: rgba(139, 34, 82, 0.07);
  --wine-ring: rgba(139, 34, 82, 0.25);
  --ink: #3a1528;
  --ink-soft: #5a3a4a;
  --text: #6b6b6b;
  --mute: #9a9a9a;
  --cream: #fff8f0;
  --sand: #f0e6da;
  --beige: #f9f3ec;
  --border: #d9cdbf;
  --footer: #2c0f1e;
  --footer-border: #3d1e30;
  --footer-ink: #faf8f5;
  --gold: #c67a52;
  --pink: #e8c4d4;
  --green: #5a9e6f;

  --serif: "DM Serif Display", "Noto Serif JP", serif;
  --jp-serif: "Noto Serif JP", "DM Serif Display", serif;
  --sans: "IBM Plex Sans", "Hiragino Sans", "ヒラギノ角ゴ ProN", "Yu Gothic",
    "Meiryo", system-ui, sans-serif;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  --max-width: 1280px;
  --pad: 120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--beige);
  font-feature-settings: "palt" 1;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.container.narrow {
  max-width: 960px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 243, 236, 0.85);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(139, 34, 82, 0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 20px;
}

.brand {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--ink);
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: #6b6b6b;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--wine);
}

.nav a.nav-cta,
.nav-cta {
  background: var(--wine);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 13px;
  transition: background 0.25s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--wine-dark);
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--beige);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 60px 60px 60px 96px;
}

.hero-title {
  font-family: var(--jp-serif);
  font-weight: 600;
  font-size: clamp(36px, 3.5vw, 48px);
  line-height: 1.28;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.01em;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}

.hero-desc {
  font-size: 15px;
  color: var(--text);
  margin: 0;
}

.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 9999px;
  background: var(--wine-soft);
  border: 1px solid var(--wine-ring);
  color: var(--wine);
  font-size: 12px;
  font-weight: 600;
}

.badge .icon {
  font-size: 14px;
}

.hero-image {
  background: url("./images/hero.jpg") center/cover no-repeat;
  position: relative;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(249, 243, 236, 0.4) 0%,
    rgba(249, 243, 236, 0) 20%
  );
}

/* ---------- Buttons ---------- */
.cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease,
    box-shadow 0.25s ease;
  text-align: center;
  line-height: 1;
  border: none;
}

.btn-primary {
  background: var(--wine);
  color: #fff;
  box-shadow: 0 8px 28px -12px rgba(139, 34, 82, 0.55);
}

.btn-primary:hover {
  background: var(--wine-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -12px rgba(139, 34, 82, 0.65);
}

.btn-ghost {
  background: transparent;
  color: var(--wine);
  border: 1.5px solid var(--wine);
}

.btn-ghost:hover {
  background: var(--wine-soft);
}

.btn-outline {
  background: transparent;
  color: var(--wine);
  border: 2px solid var(--wine);
  padding: 16px 48px;
}

.btn-outline:hover {
  background: var(--wine);
  color: #fff;
}

.btn-outline.btn-sm {
  padding: 10px 24px;
  font-size: 13px;
  border-width: 1px;
}

.btn-lg {
  padding: 20px 56px;
  font-size: 16px;
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 0;
}

.section--light {
  background: #fff;
}

.section--cream {
  background: var(--cream);
}

.section--sand {
  background: var(--sand);
}

.section--white {
  background: #fff;
}

.section--bonus {
  background: var(--wine-softer);
  padding: 64px 0;
}

.stack-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.eyebrow {
  color: var(--wine);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.accent-line {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--wine);
  border-radius: 2px;
}

.accent-line--wide {
  width: 60px;
}

.section-title {
  font-family: var(--jp-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.01em;
}

.section-title--sm {
  font-size: clamp(24px, 2.6vw, 32px);
}

.section-title--lg {
  font-size: clamp(32px, 3.4vw, 40px);
}

.section-lead {
  max-width: 800px;
  margin: 16px auto 0;
  font-size: 16px;
  color: var(--text);
  line-height: 1.85;
}

.section-sub {
  font-size: 16px;
  color: var(--text);
  margin: 0;
}

.marker-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.marker-list li {
  position: relative;
  padding: 4px 0;
  font-size: 15px;
  color: var(--text);
  display: inline-block;
}

.marker-list li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: var(--pink);
  border-radius: 1px;
  z-index: 0;
  opacity: 0.9;
}

.marker-list li span.marker {
  display: none;
}

.marker-list li {
  position: relative;
  z-index: 1;
}

.marker-list li::after {
  content: "";
  display: none;
}

/* Overriding: use a softer underline highlight drawn behind text */
.marker-list li {
  background: linear-gradient(
    transparent 55%,
    var(--pink) 55%,
    var(--pink) 96%,
    transparent 96%
  );
  padding-inline: 8px;
  font-weight: 600;
}

.marker-list li::before {
  display: none;
}

/* ---------- Features Cards ---------- */
.grid {
  display: grid;
  gap: 32px;
  margin-top: 64px;
}

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

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(58, 21, 40, 0.2);
  border-color: var(--wine-ring);
}

.icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--wine-soft);
  color: var(--wine);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.card-title {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
  margin: 0;
}

.card-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
  margin: 0;
}

/* ---------- Value bar ---------- */
.value-bar {
  background: var(--wine);
  color: #fff;
  text-align: center;
  padding: 56px 24px;
}

.value-bar p {
  margin: 0;
  font-family: var(--jp-serif);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: 0.04em;
}

/* ---------- Reasons ---------- */
.reasons-grid {
  margin-top: 64px;
}

.reason {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 16px;
  row-gap: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reason:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -28px rgba(58, 21, 40, 0.25);
}

.reason-num {
  font-family: var(--serif);
  font-size: 40px;
  color: rgba(198, 122, 82, 0.3);
  line-height: 1;
  transform: translateY(-2px);
}

.reason-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 26px;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.04em;
}

.reason-desc {
  grid-column: 1 / -1;
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  margin: 0;
}

/* ---------- Steps / Curriculum ---------- */
.steps {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 40px;
  align-items: center;
}

.step-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 32px;
  box-shadow: 0 10px 24px -14px rgba(139, 34, 82, 0.7);
}

.step-keyword {
  color: var(--wine);
  font-weight: 700;
  font-size: 14px;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-badge {
  align-self: flex-start;
  background: var(--wine);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 14px;
  border-radius: 9999px;
}

.step-title {
  font-family: var(--jp-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.step-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.75;
  margin: 0;
}

.tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tags li {
  background: rgba(139, 34, 82, 0.15);
  color: var(--wine);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 9999px;
}

/* ---------- Testimonials ---------- */
.testimonials {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.testimonial {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 32px;
  align-items: stretch;
}

.testimonial--reverse {
  grid-template-columns: 1fr 400px;
}

.testimonial-photo {
  width: 100%;
  height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.testimonial-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  padding: 8px 0;
}

.testimonial-body p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.85;
  margin: 0;
}

.quote-mark {
  color: rgba(139, 34, 82, 0.25);
  font-size: 28px;
  line-height: 1;
}

/* ---------- Bonus ---------- */
.bonus-image {
  margin-top: 16px;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 600 / 330;
  background: url("./images/img_tokuten.png") center/cover no-repeat;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px -32px rgba(58, 21, 40, 0.3);
}

/* ---------- FAQ ---------- */
.faq {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: flex;
  flex-direction: column;
}

.faq li details {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
}

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

.faq summary .icon {
  color: var(--mute);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq details[open] summary .icon {
  transform: rotate(180deg);
}

.faq details > p {
  margin: 16px 0 0;
  color: var(--text);
  line-height: 1.85;
  font-size: 14px;
}

/* ---------- Cooling off ---------- */
.cool-caption {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.cool-figure {
  margin: 8px 0 0;
  width: 100%;
  max-width: 830px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

.cool-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.fine-print {
  color: var(--mute);
  font-size: 13px;
  margin: 0;
}

/* ---------- Pricing ---------- */
.pricing-card,
.bundle-card,
.pay-detail {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.pricing-card {
  margin-top: 40px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.price-label {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-num {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: 0.01em;
}

.price-per {
  color: var(--mute);
  font-size: 16px;
}

.divider-sm {
  width: 40px;
  height: 1px;
  background: var(--border);
}

.inline-features {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.inline-features li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 13px;
}

.inline-features .icon {
  color: var(--wine);
  font-size: 16px;
}

.bundle-card {
  margin-top: 24px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bundle-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pill {
  background: var(--wine);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
}

.bundle-title {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

.bundle-reason {
  color: var(--text);
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
}

.bundle-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.price-row--sm {
  gap: 6px;
}

.price-num-sm {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.price-per {
  font-size: 12px;
}

.after-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--beige);
  color: var(--ink);
  font-weight: 500;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--radius-xs);
}

.after-note .icon {
  color: var(--wine);
  font-size: 16px;
}

.pay-detail {
  margin-top: 24px;
  padding: 24px 40px;
}

.pay-detail h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.pay-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.75;
}

.pay-detail ul li::before {
  content: "・";
  color: var(--wine);
  margin-right: 4px;
}

.pay-detail ul li.accent {
  color: var(--wine);
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 100px 0;
}

.cta-sub {
  font-size: 18px;
  color: var(--text);
  margin: 0;
}

.cta-price {
  color: var(--mute);
  font-size: 13px;
  margin: 8px 0 0;
}

.trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
}

.trust-row .icon {
  color: var(--green);
  font-size: 16px;
}

.final-cta .btn-primary .icon {
  font-size: 18px;
  color: var(--cream);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer);
  border-top: 1px solid var(--footer-border);
  padding: 60px 0;
  color: var(--mute);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot-logo {
  color: var(--footer-ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
}

.foot-tag {
  font-size: 12px;
  color: var(--mute);
  margin: 0;
}

.footer-right {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.foot-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot-hd {
  color: var(--footer-ink);
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}

.foot-col a {
  font-size: 12px;
  color: var(--mute);
  transition: color 0.2s ease;
}

.foot-col a:hover {
  color: var(--footer-ink);
}

.foot-related {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.foot-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.foot-related-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 10px 18px;
  border-radius: 6px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.foot-related-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.foot-related-link img {
  display: block;
  height: 28px;
  width: auto;
}

.foot-divider {
  border: 0;
  border-top: 1px solid #4d2838;
  margin: 40px 0;
}

.foot-copy,
.foot-tm {
  font-size: 11px;
  color: var(--mute);
  margin: 0 0 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root {
    --pad: 48px;
  }

  .hero-text {
    padding: 60px 32px;
  }

  .nav {
    gap: 20px;
  }
}

@media (max-width: 860px) {
  :root {
    --pad: 24px;
  }

  .section {
    padding: 72px 0;
  }

  .header-inner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-text {
    padding: 48px 24px;
  }

  .hero-image {
    min-height: 360px;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    text-align: left;
  }

  .step-icon {
    flex-direction: row;
    justify-content: flex-start;
  }

  .testimonial,
  .testimonial--reverse {
    grid-template-columns: 1fr;
  }

  .testimonial-photo {
    height: 260px;
  }

  .bundle-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Icon baseline sizing ---------- */
.icon {
  font-size: inherit;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
