:root {
  --paper: #ffffff;
  --blush: #fbf1ef;
  --blush-deep: #f4e0dd;
  --rose: #e2a0a0;
  --rose-soft: #efc9c6;
  --coral: #ee6a5f;
  --coral-dark: #d9564c;
  --terracotta: #b4573c;
  --bordeaux: #7a2233;
  --ink: #3a3336;
  --ink-soft: #6b5f62;
  --line: rgba(122, 34, 51, .14);
  --shadow: 0 18px 48px rgba(180, 87, 60, .10);
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow { max-width: 820px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 72px;
  padding: 14px clamp(16px, 4vw, 38px);
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  background: #f9ecea;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.brand-logo {
  height: 22px;
  width: auto;
  display: block;
}

.brand-divider {
  display: inline-block;
  width: 1px;
  height: 22px;
  background: var(--line);
}

.brand-sub {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  font-size: 14px;
}

nav a, .header-cta {
  text-decoration: none;
}

.header-cta {
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--coral);
  font-weight: 700;
  transition: background-color .2s ease;
}

.header-cta:hover { background: var(--coral-dark); }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
}

.hero picture,
.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img { object-fit: cover; }
.hero-overlay {
  background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .72) 42%, rgba(255, 255, 255, 0) 78%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0 72px;
}

.eyebrow, .section-label, .course-kicker {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero .eyebrow { color: var(--terracotta); }

p { line-break: strict; overflow-wrap: normal; }

:where(h1, h2, h3, h4, .lead, .section-label, .final-cta h2) {
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: pretty;
  hanging-punctuation: allow-end;
}

.ph { display: inline-block; }

h1, h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 17em;
  font-size: clamp(25px, 3.2vw, 40px);
  line-height: 1.45;
}

h2 {
  max-width: 22em;
  font-size: clamp(23px, 3.4vw, 38px);
  line-height: 1.45;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.45;
}

.lead {
  max-width: 26em;
  margin: 24px 0 0;
  font-size: 18px;
}

.hero-actions, .final-cta .button {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: background-color .2s ease;
}

.primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 16px 36px rgba(238, 106, 95, .28);
}

.primary:hover { background: var(--coral-dark); }

.ghost {
  margin-left: 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
}

.ghost:hover { background: rgba(255, 255, 255, .92); }

.trust-strip {
  width: min(900px, 100%);
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(10px);
}

.trust-strip span {
  padding: 17px;
  color: var(--ink-soft);
  font-size: 13px;
}

.trust-strip span + span { border-left: 1px solid var(--line); }
.trust-strip strong { display: block; color: var(--ink); font-size: 18px; }

.intro, .section {
  padding: 72px 0;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.reverse { grid-template-columns: 1fr 1fr; }
.intro-copy p:first-child, .method p:first-of-type, .support p { margin-top: 0; }

.warm {
  background:
    radial-gradient(circle at 100% 0, rgba(226, 160, 160, .24), transparent 34%),
    var(--blush);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.benefit-grid article, .course-card, details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
}

.benefit-grid article {
  padding: 24px;
}

.num {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 34px;
}

.visual-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  background: var(--blush);
  border-radius: 28px;
}

.visual-card > * { align-self: stretch; }

.visual-card img {
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 auto;
}

.visual-card p {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.course-card {
  padding: clamp(24px, 4vw, 38px);
}

.course-card.featured {
  color: var(--ink);
  background: var(--blush-deep);
  border-color: var(--rose-soft);
}

.course-card.featured .course-kicker { color: var(--terracotta); }
.course-goal { font-weight: 700; }
ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

li {
  padding: 10px 0 10px 22px;
  position: relative;
  border-top: 1px solid var(--line);
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
}

.note, .source-note, .todo {
  color: var(--ink-soft);
  font-size: 14px;
}

.dark {
  color: var(--ink);
  background: var(--blush-deep);
}

.dark .section-label { color: var(--terracotta); }
.dark .source-note { color: var(--ink-soft); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.stats div {
  padding: 24px;
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .55);
}

.stats strong {
  display: block;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 34px;
}

.stats span { color: var(--ink-soft); font-size: 14px; }
.review-showcase { margin-top: 34px; }
.review-rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 29vw, 350px); gap: 14px; overflow-x: auto; padding: 2px 2px 14px; scroll-snap-type: x mandatory; scrollbar-color: var(--rose) transparent; }
.review-rail::-webkit-scrollbar { height: 7px; }
.review-rail::-webkit-scrollbar-thumb { border-radius: 8px; background: var(--rose); }
.review-card { min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .72); box-shadow: var(--shadow); scroll-snap-align: start; }
.review-kicker { margin: 0; color: var(--terracotta); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.review-card strong { display: block; margin: 14px 0 10px; color: var(--ink); font-family: var(--serif); font-size: 38px; line-height: 1; }
.review-card p:last-child { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.review-link { margin: 4px 0 0; }
.review-link a { color: var(--bordeaux); font-weight: 800; text-underline-offset: 4px; }

/* ---- Customer reviews (Hot Pepper Beauty) ---- */
.reviews-section { overflow-x: clip; }
.reviews-disclaimer {
  max-width: 760px;
  margin: 18px 0 0;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.85;
}

.reviews-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 34px 0 40px;
}

.stat-box {
  padding: 22px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-box strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  color: var(--bordeaux);
}

.stat-box span { font-size: 13px; color: var(--ink-soft); }

.stat-box.breakdown {
  gap: 6px;
  text-align: left;
}

.stat-box.breakdown span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.stat-box.breakdown strong {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--terracotta);
}

.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviews-track {
  flex: 1;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--rose) transparent;
}

.reviews-track::-webkit-scrollbar { height: 7px; }
.reviews-track::-webkit-scrollbar-thumb { border-radius: 8px; background: var(--rose); }
.reviews-track::-webkit-scrollbar-track { background: transparent; }

.review-card-item {
  flex: 0 0 auto;
  width: min(82vw, 320px);
  scroll-snap-align: start;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.review-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.review-stars { color: var(--terracotta); font-size: 15px; letter-spacing: 2px; }
.review-date { font-size: 12px; color: var(--ink-soft); }
.review-quote { flex: 1; margin: 0; font-size: 15px; line-height: 1.85; }

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.review-meta .review-name { font-weight: 800; }
.review-meta .review-attr,
.review-meta .review-menu { color: var(--ink-soft); }

.reviews-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--bordeaux);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: opacity .2s ease;
}

.reviews-arrow:disabled { opacity: .35; cursor: default; }

.reviews-fineprint {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

@media (min-width: 720px) {
  .review-card-item { width: 360px; }
}

@media (max-width: 900px) {
  .reviews-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .reviews-stats { grid-template-columns: 1fr; }
  .reviews-arrow { width: 38px; height: 38px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track { scroll-behavior: auto; }
}

.support-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.support-list span {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 700;
  text-align: center;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.flow li {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .7);
}

.flow li::before { display: none; }
.flow span {
  display: block;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 30px;
}

.flow strong { display: block; margin: 8px 0; line-height: 1.45; }
.flow p { margin: 0; font-size: 14px; }

details {
  margin-top: 12px;
  padding: 0 20px;
}

summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 0 18px;
}

.final-cta {
  padding: 86px 0 96px;
  text-align: center;
  color: var(--ink);
  background: linear-gradient(160deg, var(--blush-deep), var(--rose));
}

.final-cta .section-label,
.final-cta .todo { color: var(--terracotta); }
.final-cta p:not(.section-label) {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--ink);
}

footer {
  padding: 40px 0 100px;
  background: linear-gradient(160deg, var(--blush-deep), var(--rose-soft));
  color: var(--ink);
}

footer a { color: var(--bordeaux); }

.footer-logo {
  height: 34px;
  width: auto;
  margin-bottom: 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fixed-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px 16px;
  background: rgba(251, 241, 239, .92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transition: transform .25s ease, opacity .25s ease;
}

.fixed-cta.is-hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .fixed-cta { display: flex; }
}

.fixed-cta a {
  width: min(560px, 100%);
  min-height: 52px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--coral);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 900px) {
  nav { display: none; }
  .site-header { min-height: 64px; }
  .header-cta { margin-left: auto; }
  .hero { min-height: 720px; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(251, 241, 239, .86) 50%, rgba(255, 255, 255, .94));
  }
  .split, .reverse, .course-grid, .footer-grid { grid-template-columns: 1fr; }
  .benefit-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .flow li { min-height: auto; }
}

@media (max-width: 560px) {
  .container, .hero-content { width: min(100% - 28px, 1080px); }
  .site-header { padding: 10px 14px; }
  .brand-divider, .brand-sub { display: none; }
  .header-cta { min-height: 40px; padding: 8px 12px; font-size: 13px; }
  .hero { min-height: 760px; }
  .hero-content { padding-top: 94px; }
  h1 { font-size: clamp(23px, 6.2vw, 29px); line-height: 1.45; }
  .lead { font-size: 16px; }
  .button { width: 100%; }
  .ghost { margin: 10px 0 0; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip span + span { border-left: 0; border-top: 1px solid var(--line); }
  .intro, .section { padding: 54px 0; }
  .benefit-grid, .stats, .support-list { grid-template-columns: 1fr; }
  .review-rail { grid-auto-columns: minmax(272px, 82vw); }
  .visual-card { padding: 24px; }
  .visual-card p { font-size: 18px; }
  .fixed-cta { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
}

/* 最終CTAのブランドサイン（ローズグラデ上なので白ロゴ） */
.cta-logo {
  height: 40px;
  width: auto;
  margin: 0 auto 22px;
  opacity: .95;
}
.final-cta .section-label { color: var(--bordeaux); }

@media (max-width: 640px) {
  .brand-logo { height: 19px; }
}

/* 円形ブランドシール（正方形ロゴの利用） */
.brand-seal {
  width: 86px;
  height: 86px;
  display: block;
  margin: 0 0 20px;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(180, 87, 60, .16);
}

.fixed-cta {
  align-items: center;
  gap: 10px;
}
.cta-mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(180, 87, 60, .18);
}
.fixed-cta a { margin: 0; flex: 1 1 auto; width: auto; }

@media (max-width: 640px) {
  .brand-seal { width: 68px; height: 68px; margin-bottom: 16px; }
}
