:root {
  --hero-scale: 1;
  --navy: #132542;
  --gold: #c9a229;
  --gold-dark: #c1890d;
  --cream: #f1f1e4;
  --line: #06c755;
  --body: #595959;
  --paper: #f6f5f0;
  --mincho: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Inter", "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: var(--sans);
}

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

a {
  color: inherit;
}

.lp {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.mobile-only,
.mobile-copy {
  display: none !important;
}

.line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--line);
  color: #fff;
  text-decoration: none;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.line-button:hover {
  opacity: 0.5;
}

.line-button__body {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.line-button__line,
.line-button__arrow {
  flex-shrink: 0;
}

.line-button--desktop {
  min-width: 496px;
  min-height: 80px;
  padding: 10px 50px;
  border-radius: 102px;
  font-size: 24px;
  font-weight: 700;
}

.line-button--desktop .line-button__line {
  width: 55px;
  height: 55px;
}

.line-button--desktop .line-button__arrow {
  width: 30px;
  height: 30px;
}

.gift-copy {
  margin: 0;
  color: var(--gold);
  font-family: var(--mincho);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: 1.4;
  text-align: center;
}

.label-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin: 0;
  padding: 3px 10px;
  transform: skewX(-10deg);
  background: var(--navy);
  color: #fff;
  font-family: var(--mincho);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.96px;
  line-height: 1;
  white-space: nowrap;
}

.label-ribbon::first-letter {
  transform: skewX(10deg);
}

.label-ribbon {
  text-indent: 0;
}

.label-ribbon > span,
.label-ribbon {
  transform-origin: center;
}

.hero-pc {
  position: relative;
  height: 662px;
  overflow: hidden;
}

.hero-pc__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-pc__stage {
  position: relative;
  width: 100%;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
}

.hero-pc__person {
  position: absolute;
  top: 146px;
  left: calc(50% - 9px);
  width: 446px;
  height: 516px;
  object-fit: cover;
  filter: blur(0.2px);
}

.hero-pc__copy {
  position: absolute;
  top: 68px;
  left: 242px;
  width: 496px;
}

.hero-pc__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 20px 0 0;
  font-family: var(--mincho);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -3.2px;
  line-height: 75.9px;
}

.gold {
  color: #c3a200;
}

.hero-pc__lead {
  margin: 20px 0 0;
  font-family: var(--mincho);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1.4px;
  line-height: 34.8px;
}

.hero-pc__lead span,
.hero-sp__lead span {
  display: block;
}

.hero-pc__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
}

.benefits {
  position: relative;
  overflow: hidden;
  min-height: 1158px;
  background: var(--cream);
  padding: 72px 0 66px;
}

.benefits__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("./assets/texture.png") center / cover no-repeat;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.benefits__inner {
  position: relative;
  z-index: 1;
  width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.benefits__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16.8px;
}

.benefits__laurel {
  width: 64px;
  height: 131px;
}

.benefits__heading h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-family: var(--mincho);
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
}

.benefits__heading h2 span {
  font-size: 30px;
}

.benefits__heading h2 strong {
  color: #c3a200;
  font-size: 67px;
}

.benefits__subtitle {
  margin: 24px 0 0;
  color: var(--body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 323px);
  justify-content: space-between;
  row-gap: 15px;
  margin-top: 33px;
}

.benefit-card {
  position: relative;
  width: 100%;
  max-width: 323px;
  aspect-ratio: 323 / 325;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--gold-dark);
  border-radius: 15px;
  background: #fff;
  text-align: center;
}

.benefit-badge {
  position: absolute;
  top: 3.08%;
  left: 2.48%;
  z-index: 2;
  width: 29.72%;
  height: 29.54%;
}

.benefit-card__image {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 0 4.6px rgba(0, 0, 0, 0.25);
}

.benefit-card__image--book {
  top: 7.08%;
  left: 33.75%;
  width: 29.72%;
  height: 41.85%;
  transform: rotate(4.7deg);
}

.benefit-card__image--wide {
  top: 15.08%;
  left: 21.67%;
  width: 55.11%;
  height: 30.77%;
  transform: rotate(3.17deg);
}

.benefit-card__image--six {
  top: 13.54%;
}

.benefit-card h3 {
  position: absolute;
  top: 53.54%;
  left: 50%;
  width: 100%;
  margin: 0;
  transform: translateX(-50%);
  color: var(--navy);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.benefit-card h3 em {
  color: var(--gold-dark);
  font-style: normal;
}

.benefit-card p {
  position: absolute;
  top: 77.23%;
  left: 50%;
  width: 81.42%;
  margin: 0;
  transform: translateX(-50%);
  color: var(--body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

.benefits__button {
  margin-top: 48px;
}

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 75px 120px;
  background: #fff;
  text-align: center;
}

.steps__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.steps__heading p,
.steps__heading h2 {
  margin: 0;
  font-family: var(--mincho);
  font-weight: 800;
  line-height: 1.2;
}

.steps__heading p {
  font-size: 24px;
}

.steps__heading h2 {
  font-size: 36px;
  letter-spacing: -1.44px;
}

.steps__rule {
  display: block;
  width: 80px;
  height: 4px;
  background: var(--navy);
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.step-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-list__badge {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.step-list p {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--navy);
  font-family: "Noto Sans JP", var(--sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.qr-panel {
  display: flex;
  width: 390px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px 24px;
  border-radius: 23px;
  background: var(--navy);
}

.qr-panel p {
  margin: 0;
  color: #fff;
  font-family: "Noto Sans JP", var(--sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.qr-panel__code {
  padding: 15px;
  border-radius: 20px;
  background: #fff;
}

.qr-panel__code img {
  width: 300px;
  height: 300px;
}

.steps__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 24px;
  background: var(--paper);
  color: #808080;
  text-align: center;
}

.footer p {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.footer p:first-child {
  font-size: 12px;
  line-height: 1.6;
}

.footer p:last-child {
  font-size: 10px;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .desktop-only,
  .desktop-copy {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .mobile-copy {
    display: inline-flex !important;
  }

  .line-button--mobile {
    width: min(360px, calc(100vw - 30px));
    min-height: 62px;
    padding: 10px clamp(16px, 7.6vw, 30px);
    border-radius: 85px;
    font-size: clamp(14px, 4.62vw, 18px);
    font-weight: 700;
    gap: clamp(8px, 4.2vw, 18px);
  }

  .line-button--mobile .line-button__line {
    width: clamp(32px, 10.77vw, 42px);
    height: clamp(32px, 10.77vw, 42px);
  }

  .line-button--mobile .line-button__arrow {
    width: clamp(15px, 5.12vw, 20px);
    height: clamp(15px, 5.12vw, 20px);
  }

  .gift-copy {
    font-size: 24px;
    letter-spacing: -1.2px;
  }

  .label-ribbon {
    height: 31.5px;
    font-size: 18px;
    letter-spacing: -0.54px;
  }

  .hero-sp {
    position: relative;
    height: 408px;
    overflow: hidden;
    background: #fff;
  }

  .hero-sp__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-sp__stage {
    position: relative;
    width: 100%;
    max-width: 390px;
    height: 100%;
    margin: 0 auto;
  }

  .hero-sp__person {
    position: absolute;
    top: 51px;
    left: 45.1%;
    width: 63.8%;
    max-width: 249px;
    height: 288px;
    object-fit: cover;
    object-position: 50% 0%;
  }

  .hero-sp__copy {
    position: absolute;
    top: 35px;
    left: 5.4%;
    width: 62.3%;
    min-width: 230px;
  }

  .hero-sp__title {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin: 16px 0 0;
    font-family: var(--mincho);
    font-size: clamp(34px, 9.23vw, 36px);
    font-weight: 700;
    letter-spacing: -1.8px;
    line-height: 41px;
  }

  .hero-sp__title .gold {
    font-size: clamp(38px, 10.25vw, 40px);
    letter-spacing: -2px;
  }

  .hero-sp__lead {
    margin: 15px 0 0;
    font-family: var(--mincho);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.75px;
    line-height: 21px;
  }

  .hero-sp__cta {
    position: absolute;
    top: 297px;
    left: 50%;
    display: flex;
    width: min(360px, calc(100vw - 30px));
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .hero-sp__cta .gift-copy {
    color: var(--gold-dark);
    font-size: 20px;
    letter-spacing: -1px;
  }

  .benefits {
    min-height: 0;
    padding: 51px 15px 28px;
  }

  .benefits__texture {
    top: 0;
    left: 50%;
    width: 1600px;
    height: 2400px;
    transform: translateX(-50%) rotate(90deg);
  }

  .benefits__inner {
    width: 100%;
  }

  .benefits__heading {
    gap: 10px;
  }

  .benefits__laurel {
    width: clamp(24px, 8vw, 38px);
    height: auto;
    aspect-ratio: 64.2914 / 130.862;
  }

  .benefits__heading h2 span {
    font-size: clamp(14px, 4.8vw, 18px);
    white-space: nowrap;
  }

  .benefits__heading h2 strong {
    font-size: clamp(26px, 9vw, 40px);
    white-space: nowrap;
  }

  .benefits__subtitle {
    margin-top: 28px;
    font-size: 13px;
  }

  .benefit-grid {
    grid-template-columns: minmax(0, 323px);
    justify-content: center;
    gap: 20px;
    margin-top: 28px;
  }

  .benefits__button {
    margin-top: 28px;
  }

  .steps {
    gap: 28px;
    padding: 30px 24px;
  }

  .steps__heading {
    gap: 14px;
  }

  .steps__heading p {
    font-size: 20px;
  }

  .steps__heading h2 {
    font-size: 24px;
    letter-spacing: -0.96px;
  }

  .steps__rule {
    width: 52px;
    height: 2px;
  }

  .step-list {
    width: min(300px, 100%);
  }

  .step-list p {
    font-size: clamp(13px, 3.8vw, 15px);
    white-space: nowrap;
  }

  .steps__cta {
    width: 100%;
  }

  .footer {
    padding: 28px 24px;
  }

  .footer p:first-child,
  .footer p:last-child {
    font-size: 10px;
  }
}

/* Tablet: scaled-down PC layout (no separate SP markup) */
@media (min-width: 768px) and (max-width: 1139px) {
  .hero-pc {
    height: calc(662px * var(--hero-scale));
    overflow: hidden;
  }

  .hero-pc__stage {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1280px;
    max-width: none;
    height: 662px;
    margin: 0;
    transform: translateX(-50%) scale(var(--hero-scale));
    transform-origin: top center;
  }

  .benefits {
    padding: 56px 24px 48px;
  }

  .benefits__inner {
    width: 100%;
    max-width: 1000px;
  }

  .benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    column-gap: clamp(12px, 2vw, 24px);
    row-gap: 20px;
  }

  .benefit-card h3 {
    font-size: clamp(15px, 2.1vw, 22px);
  }

  .benefit-card p {
    font-size: clamp(9px, 1.05vw, 12px);
  }

  .steps {
    padding: 56px 40px;
  }
}
