/* LPSPACING 2026-11-14: TOP section spacing at 70% (x0.7, nearest px).
   brand-lp.css is shared with pricing/ and join/, so its winning section values
   are overridden here for the TOP page only, in brand-lp.css's own order. */
.section-pad { padding-block: clamp(49px, 5.6vw, 78px); }
.ai-section { padding-block: 35px; }
.register-section { padding-top: 32px; }
.site-footer { padding: 42px 0 25px; }
@media (max-width: 700px) { .section-pad { padding-block: 46px; } }
/* Restore the two LP banners shown in the 2026-10-14 00:30 JST production version. */
.trial-banner-section { padding-top: clamp(70px, 8vw, 112px); }
.about-section + .trial-banner-section { padding-top: 0; padding-bottom: clamp(49px, 5.6vw, 78px); }
.trial-banner { display: block; width: min(650px, 100%); margin: auto; border-radius: 20px; overflow: hidden; }
.trial-banner img { display: block; width: 100%; height: auto; }
.trial-banner:focus-visible { outline: 4px solid #333; outline-offset: 5px; }
.trial-banner-section + .manga-section { padding-top: 25px; }
@media (max-width: 700px) { .trial-banner-section { padding-top: 100px; } }
/* LPNOTICE 2026-11-14: announcement banner directly below the FAQ, in the FAQ's own .content-wide container. */
/* LPMERGE: same values as the 70% .section-pad (LPSPACING), as LPNOTICE mirrored .section-pad. */
.notice-banner-section { padding-bottom: clamp(49px, 5.6vw, 78px); }
.notice-banner { display: block; }
.notice-banner img { display: block; width: 100%; height: auto; }
.notice-banner:focus-visible { outline: 4px solid #333; outline-offset: 5px; }
@media (max-width: 700px) { .notice-banner-section { padding-bottom: 46px; } }
.manga-open {
  width: min(650px, 100%);
  height: auto;
  aspect-ratio: auto;
  border-radius: 20px;
  background: #f4e72f;
}
.manga-open img {
  width: 100%;
  height: auto;
  aspect-ratio: 1448 / 1304;
  object-fit: contain;
  filter: none;
}
.manga-section { padding-top: clamp(49px, 5.6vw, 78px); }
.manga-section + .message-section { padding-top: 25px; }
@media (max-width: 700px) {
  .manga-section { padding-top: 70px; }
}

.ai-section .content-wide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.ai-section .ai-banner { margin: 0; }
.safety-banner {
  display: block;
  width: min(650px, 100%);
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #20b6c9;
  cursor: pointer;
}
.safety-banner img { display: block; width: 100%; height: auto; }
.safety-banner:focus-visible { outline: 4px solid #333; outline-offset: 5px; }
.safety-dialog {
  width: min(560px, calc(100vw - 20px));
  max-width: calc(100vw - 20px);
  max-height: calc(100dvh - 20px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 28px;
  background: #20b6c9;
  color: #fff;
}
.safety-dialog::backdrop { background: rgba(16, 20, 28, .68); }
.safety-dialog-top {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  padding: 12px 16px 0;
  background: #20b6c9;
}
.safety-dialog-close {
  min-width: 92px;
  min-height: 46px;
  padding: 5px 14px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #087b8b;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.safety-dialog-close span { font-size: 25px; vertical-align: -2px; }
.safety-dialog-inner { padding: 0 22px 26px; }
.safety-dialog-kicker {
  margin: 0 0 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .13em;
}
.safety-dialog h2 {
  margin: 0 0 26px;
  text-align: center;
  color: #fff;
  font-size: clamp(25px, 5.5vw, 34px);
  line-height: 1.35;
}
.safety-feature-list { display: grid; gap: 18px; }
.safety-feature {
  padding: 25px 24px 27px;
  border-radius: 26px;
  background: #fff;
  color: #333;
}
.safety-feature img {
  display: block;
  width: min(160px, 100%);
  height: 138px;
  margin: 0 auto 15px;
  object-fit: contain;
}
.safety-feature h3 { margin: 0 0 7px; font-size: 18px; line-height: 1.5; }
.safety-feature p { margin: 0; color: #555; font-size: 16px; font-weight: 600; line-height: 1.8; }
.safety-dialog-bottom-close {
  display: block;
  width: 100%;
  min-height: 50px;
  margin-top: 24px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #087b8b;
  font-size: 16px;
  font-weight: 900;
}
.safety-dialog-close:focus-visible,
.safety-dialog-bottom-close:focus-visible { outline: 3px solid #333; outline-offset: 3px; }
@media (max-width: 700px) {
  .safety-dialog-inner { padding-inline: 18px; }
  .safety-feature { padding: 23px 22px 25px; }
}

/* R40 Magazine feature banner from the 00:24 production deployment. */
.magazine-section h2 {
  margin: 0 0 30px;
  font-size: clamp(34px, 7.7vw, 48px);
  line-height: 1.43;
}
.magazine-banner {
  display: block;
  width: min(800px, 100%);
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
}
.magazine-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.magazine-banner:focus-visible { outline: 4px solid #fa1d88; outline-offset: 5px; }
@media (max-width: 700px) {
  .magazine-section h2 { margin-bottom: 30px; }
}

/* Full-width early registration banner; artwork stays at its intended 2x size. */
.registration-banner {
  display: block;
  width: 100%;
  background: #d1ff1d;
  text-decoration: none;
}
.registration-banner img {
  display: block;
  width: 100%;
  max-width: 780px;
  height: auto;
  margin-inline: auto;
}
.registration-banner:focus-visible { outline: 4px solid #333; outline-offset: -4px; }

/* October 2026 LP story refresh: retain the existing functional banners and forms. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.story-banner,
.story-banner img {
  display: block;
  width: 100%;
}
.story-banner img {
  max-width: none;
  height: auto;
}
.about-card > img {
  aspect-ratio: 16 / 9;
}
.about-card--free > img {
  box-sizing: border-box;
  background: var(--pink);
  object-fit: contain;
  padding: clamp(18px, 3vw, 42px);
}
.about-card:nth-child(2) > img {
  object-position: center 25%;
}
@media (min-width: 701px) {
  .about-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.about-card h3 {
  font-size: 18px;
}
.about-intro strong {
  color: var(--ink);
}
.about-intro-phrase { display: inline-block; }
.message-section h2 {
  line-height: 1.25;
  margin-bottom: 30px;
}
.message-section p {
  line-height: 1.65;
  margin-bottom: 20px;
}
.message-section .message-closing {
  font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.4;
  margin: 44px 0 0;
}
.about-card:nth-child(3) > img {
  object-position: center 36%;
}
.register-benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.register-benefit > span {
  flex: none;
  margin-right: 0;
}
.register-benefit > p {
  flex: 1;
  min-width: 0;
  margin: 0;
  line-height: 1.45;
}
.register-card select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%23333' stroke-width='1.7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px 10px;
}
.closing-message {
  text-align: center;
}
.closing-message p {
  font-size: clamp(25px, 3vw, 37px);
  font-weight: 900;
  line-height: 1.45;
  margin: 0;
}
@media (max-width: 700px) {
  .message-section {
    padding-top: 39px;
  }
  .message-section p {
    font-size: 18px;
  }
  .about-card h3 {
    font-size: 16px;
  }
}

/* The supplied wide advance-registration artwork sits between LP sections. */
.offer-banner-section {
  padding: 22px 0;
  background: var(--paper);
}
.hero + .trial-banner-section {
  padding-top: 24px;
}
.offer-banner {
  display: block;
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto;
}
.offer-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.offer-banner:focus-visible {
  outline: 4px solid #333;
  outline-offset: 4px;
}

/* LPAGES (2026-11-14, stage): member age distribution directly above the AI section.
   Weights stay at 700 or below. Bars show their final widths unless brand-lp.js arms
   the chart (.ages-armed) and later plays it (.ages-play) once it enters the viewport. */
.ages-section { text-align: center; }
.ages-section .section-kicker { font-weight: 700; }
.ages-section h2 { font-weight: 700; margin: 0 0 28px; }
.ages-title-line { display: inline-block; }
.ages-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 30px clamp(20px, 4vw, 40px) 26px;
  border-radius: 24px;
  background: #fff;
  text-align: left;
}
.ages-chart { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.ages-row {
  display: grid;
  grid-template-columns: 5.4em minmax(0, 1fr) 3.4em;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
}
.ages-label { color: #333; font-size: 17px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.ages-track { display: block; height: 18px; border-radius: 999px; background: #fde4ef; overflow: hidden; }
.ages-fill {
  display: block;
  width: var(--ages-value);
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--pink));
}
.ages-value {
  color: var(--pink);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ages-value small { font-size: 17px; font-weight: 700; margin-left: 1px; }
.ages-note { margin: 22px 0 0; color: #555; font-size: 14px; font-weight: 600; line-height: 1.6; text-align: center; }
.ages-armed .ages-fill { width: 0; }
.ages-armed.ages-play .ages-fill { width: var(--ages-value); transition: width 1.4s cubic-bezier(.22, .61, .36, 1); }
@media (max-width: 700px) {
  .ages-section h2 { font-size: 26px; margin-bottom: 22px; }
  .ages-card { padding: 24px 18px 20px; border-radius: 20px; }
  .ages-chart { gap: 18px; }
  .ages-row { grid-template-columns: 4.9em minmax(0, 1fr) 3.1em; gap: 10px; }
  .ages-label { font-size: 15px; }
  .ages-track { height: 14px; }
  .ages-value { font-size: 26px; }
  .ages-value small { font-size: 15px; }
  .ages-note { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ages-armed .ages-fill { width: var(--ages-value); transition: none; }
}
/* Couple-photo FV (LPFV, 2026-11-14). SP layout up to 1080px, PC layout above
   1080px. The photo zooms inside .hero-visual; the copy and CTA sit in
   .hero-content beside it. On SP the CTA card sits inside the photo card,
   anchored to its bottom edge (LPFV-FIX1), with the logo above it (LPFV-FIX2). */
.site-header .header-inner > .header-logo { width: 93.5px; }
.hero {
  display: block;
  min-height: 0;
  padding-top: 105px;
  /* LPFV-FIX6: the FV background (round the SP photo card, and the band
     under the PC photo) is a clearly deeper version of brand-lp.css's
     #FF5744 -> #FFFCE8 radial. Centre: coral hue kept, HSL L 63.3 -> 53.9.
     Edge: L 95.5 -> 72.0, hue bent from 52 (cream) to 25 (coral) so the
     blend stays peach-coral instead of turning yellow-orange. Rendered
     about 16-23 L points deeper than fv5. TOP-only override; brand-lp.css
     is shared with pricing/ and join/ and stays as it is. */
  background: radial-gradient(circle at 50% 50%, #FF2C14 0%, #FFAC70 100%);
}
.hero-stage {
  position: relative;
  width: min(480px, calc(100% - 28px));
  aspect-ratio: 362 / 500;
  margin: 0 auto;
}
.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #f58f8f;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/hero-fv-20261114.webp") 50% 100% / auto 104% no-repeat;
  transform: scale(1);
  transform-origin: center;
  will-change: transform;
  animation: hero-photo-zoom 18.46s ease-in-out forwards;
}
@keyframes hero-photo-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.144); }
}
.hero .hero-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: center;
  transform: none;
}
.hero-brand {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.hero-logo {
  /* LPFV-FIX4: 1.2x the FIX3 size (64% x 1.2), proportions kept. */
  width: 76.8%;
  height: auto;
  max-height: none;
  aspect-ratio: 2917.78 / 1180;
  /* LPFV-FIX2/FIX3/FIX4: clear the CTA pill at every SP width. The pill is a
     fixed height (78-80px) anchored 24px + 7% of the card HEIGHT above the
     photo's bottom, so the logo sits panel offset + pill 80 + gap 14 above
     it. Margin % resolves against the card WIDTH, so the 7% of height is
     written as 7% x 500/362 (the .hero-stage aspect-ratio) = 9.67% of
     width. If that aspect-ratio changes, recompute this (the contract checks
     it against the panel's 7%). */
  margin: auto 0 calc(24px + 80px + 14px + 9.67%);
  object-fit: cover;
  object-position: top;
}
.hero-tagline {
  order: -1;
  display: inline-block;
  margin: 7.5% 0 0;
  padding-bottom: 7px;
  border-bottom: 3px dotted #fff;
  color: #fff;
  font-family: "Hiragino Sans", "Noto Sans JP", "Arial Black", sans-serif;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .28);
}
.hero-tagline-line { display: block; }
.hero-phrase { display: inline-block; }
.hero-tagline-line--first { font-size: 18px; }
.hero-tagline-line--second { font-size: 20px; }
.hero-panel {
  position: absolute;
  left: 50%;
  /* LPFV-FIX3/FIX4: raised by 7% of the photo card's height (bottom %
     resolves against the card height); the logo's margin above tracks the
     same shift. */
  bottom: calc(24px + 7%);
  width: min(340px, 90%);
  transform: translateX(-50%);
}
.hero-panel-heading,
.hero-panel-lead,
.hero-panel-note,
.hero-cta .hero-cta-sub--pc { display: none; }
.hero-cta {
  display: block;
  width: 100%;
  padding: 17px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(120, 30, 40, .16);
  line-height: 1.18;
  font-size: 20px;
  font-family: "Hiragino Sans", "Noto Sans JP", "Arial Black", sans-serif;
  font-weight: 800;
}
.hero-cta span,
.hero-cta strong {
  display: block;
  font-weight: 800;
}
.hero-cta strong {
  margin-top: 6px;
  color: var(--pink);
  font-size: 14px;
  font-weight: 800;
}
@supports (-webkit-background-clip: text) {
  .hero-cta span,
  .hero-cta strong {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 100%;
    background-position: 0% 50%;
    background-repeat: no-repeat;
    animation: hero-cta-glint 4.2s linear infinite;
  }
  .hero-cta span {
    background-image: linear-gradient(105deg, var(--ink) 49%, #a9316e 49.6%, #ffc0dc 50%, #a9316e 50.4%, var(--ink) 51%);
  }
  .hero-cta strong {
    background-image: linear-gradient(105deg, var(--pink) 49%, #c2146a 49.6%, #ff8fc3 50%, #c2146a 50.4%, var(--pink) 51%);
    animation-delay: .12s;
  }
}
@keyframes hero-cta-glint {
  0%, 65% { background-position: 0% 50%; }
  82%, 100% { background-position: 100% 50%; }
}
.hero > .marquee-white {
  height: 45px;
  margin-top: 18px;
}
@media (max-width: 700px) {
  .site-header .header-inner > .header-logo { width: 64.6px; }
  .hero { padding-top: 85px; }
}
@media (max-width: 360px) {
  .hero-tagline-line--first { font-size: 16px; }
  .hero-tagline-line--second { font-size: 17px; }
  .hero-cta { font-size: 18px; }
}
@media (min-width: 1081px) {
  .hero { padding-top: 0; }
  .hero-stage {
    width: 100%;
    aspect-ratio: 848 / 509;
    max-height: 880px;
    margin: 0;
  }
  .hero-visual { border-radius: 0; }
  .hero-visual::before {
    background-position: 0% 10%;
    background-size: 104% auto;
  }
  .hero .hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 60px 4.8vw 24px;
    text-align: center;
  }
  .hero-brand {
    position: static;
    width: clamp(340px, 37vw, 640px);
    margin-top: 2%;
  }
  .hero-logo {
    width: 100%;
    margin: 0;
  }
  .hero-tagline {
    order: 0;
    margin: clamp(14px, 1.6vw, 24px) 0 0;
  }
  .hero-tagline-line--first { font-size: clamp(18px, 1.65vw, 25px); }
  .hero-tagline-line--second { font-size: clamp(22px, 2.25vw, 34px); }
  .hero-panel {
    position: static;
    width: clamp(280px, 26vw, 460px);
    padding: clamp(24px, 2.4vw, 36px) clamp(20px, 2vw, 30px) clamp(20px, 2vw, 28px);
    border-radius: 22px;
    background: linear-gradient(180deg, #fd7980 0%, #fc5d6d 100%);
    box-shadow: 0 14px 34px rgba(150, 30, 50, .22);
    color: #fff;
    transform: none;
  }
  .hero-panel-heading,
  .hero-panel-lead,
  .hero-panel-note { display: block; }
  .hero-panel-heading {
    margin: 0 0 12px;
    font-size: clamp(21px, 2vw, 29px);
    font-weight: 800;
    line-height: 1.3;
  }
  .hero-panel-lead {
    margin: 0 0 clamp(18px, 2vw, 28px);
    font-size: clamp(14px, 1.3vw, 19px);
    font-weight: 700;
    line-height: 1.55;
  }
  .hero-cta {
    padding: clamp(12px, 1.2vw, 18px) 10px;
    box-shadow: 0 6px 16px rgba(120, 20, 40, .14);
    font-size: clamp(17px, 1.6vw, 23px);
  }
  .hero-cta strong { font-size: 14px; }
  .hero-cta .hero-cta-sub--pc { display: block; }
  .hero-cta .hero-cta-sub--sp { display: none; }
  .hero-panel-note {
    margin: 14px 0 0;
    font-size: clamp(11px, .85vw, 13px);
    font-weight: 500;
    line-height: 1.6;
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual::before { animation: none; transform: none; }
  .hero-cta span, .hero-cta strong {
    animation: none;
    -webkit-text-fill-color: currentColor;
    background-image: none;
  }
}
