/* Ad LP B, revision 2: fewer sections, readable type, one LINE action. */
:root {
  --ink: #211e6b;
  --gold: #edcb80;
  --paper: #faf8f3;
  --soft: #f4f0e8;
  --text: #2c2c2c;
  --muted: #666;
  --line: #e4e0d8;
  --night: #191653;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 18px/1.85 "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.how-list:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.dark a:focus-visible, .header a:focus-visible, .footer a:focus-visible { outline-color: var(--gold); }
.inner { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.reading { width: min(720px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 88px 0; }
h2 { color: var(--ink); font-size: 40px; line-height: 1.5; letter-spacing: -.04em; font-weight: 800; }
h3 { color: var(--ink); font-size: 24px; line-height: 1.5; font-weight: 700; }
.section-intro { margin-top: 18px; }
.dark { background: var(--ink); color: var(--paper); }
.dark h2 { color: var(--paper); }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 100; transform: translateY(-150%); padding: 14px 20px; background: var(--paper); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
.header { background: var(--ink); color: var(--paper); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: block; width: 114px; height: 52px; text-indent: -9999px; overflow: hidden; background: url('../assets/koyoi-logo.png') center 48%/168px auto no-repeat; flex-shrink: 0; }
.nav { display: flex; gap: 30px; font-size: 16px; }
.nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; text-decoration: none; }
.nav a:hover { color: var(--gold); }
.hero { padding: 20px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-badge { display: inline-flex; align-items: center; min-height: 42px; margin-bottom: 18px; padding: 7px 18px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 18px; line-height: 1.5; font-weight: 800; }
.hero h1 { font-size: clamp(40px, 4.1vw, 58px); line-height: 1.45; font-weight: 800; letter-spacing: -.055em; }
.hero h1 span { display: block; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { margin: 26px 0 30px; font-size: 18px; line-height: 1.9; }
.hero-visual { height: 580px; border-radius: 24px; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.female .hero-visual img { object-position: 50% 36%; }
.cta-stack { width: min(100%, 440px); }
.line-btn { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 64px; padding: 16px 24px; border-radius: 40px; background: var(--gold); color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 800; line-height: 1.5; }
.line-btn:hover { background: var(--soft); }
.line-btn img { width: 28px; height: 28px; border-radius: 5px; flex-shrink: 0; }
.eligibility { margin-top: 18px; font-size: 16px; line-height: 1.8; color: #eeecf5; }
.how-swipe-hint { display: none; }
.how-list { list-style: none; margin: 32px calc(50% - 50vw) 0; padding: 0 max(32px, calc((100vw - 1120px) / 2)) 18px; counter-reset: steps; display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: max(32px, calc((100vw - 1120px) / 2)); scroll-snap-type: x mandatory; scrollbar-width: thin; }
.how-list li { flex: 0 0 min(340px, calc((100vw - 104px) / 3)); min-width: 300px; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; counter-increment: steps; scroll-snap-align: start; }
.how-list li:before { content: counter(steps); display: block; margin-bottom: 12px; color: var(--ink); font: 600 32px/1.2 Arial, sans-serif; }
.how-list p { margin-top: 10px; }
.price-section { background: var(--soft); }
.price-heading { margin-bottom: 28px; }
.trial-badge { display: inline-block; padding: 7px 16px; margin-bottom: 20px; background: var(--gold); color: var(--ink); font-size: 22px; font-weight: 700; }
.price-explanation { margin-bottom: 24px; }
.price-table { border-top: 1px solid var(--line); margin: 0; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.price-row dt { font-size: 18px; }
.price-row dd { margin: 0; color: var(--ink); font: 600 36px/1.4 Arial, sans-serif; white-space: nowrap; }
.price-row dd span { font: 400 16px/1.5 "Noto Sans JP", sans-serif; margin-left: 4px; }
.price-row dd.zero { font-size: 76px; }
.price-note { margin-top: 22px; font-size: 16px; }
.renewal { margin-top: 24px; padding-left: 20px; border-left: 3px solid var(--gold); font-size: 16px; }
.renewal strong { display: block; margin-bottom: 8px; color: var(--ink); }
.details { border-bottom: 1px solid var(--line); }
.details summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; min-height: 76px; padding: 22px 0; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.7; }
.details summary:after { content: "+"; font: 400 26px/1 Arial, sans-serif; flex-shrink: 0; }
.details[open] summary:after { content: "−"; }
summary::-webkit-details-marker { display: none; }
.details-content { padding-bottom: 26px; font-size: 16px; line-height: 1.9; }
.details-content p + p { margin-top: 16px; }
.details-content ul { padding-left: 1.3em; margin: 0 0 18px; }
.details-content li + li { margin-top: 12px; }
.price-details { margin-top: 16px; }
.faq-list { margin-top: 30px; border-top: 1px solid var(--line); }
.final-cta { padding: 72px 0; text-align: center; }
.final-cta h2 { font-size: 40px; }
.final-cta .cta-stack { margin: 30px auto 0; }
.footer { background: var(--ink); color: var(--paper); padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 26px; max-width: 650px; }
.footer-links a { display: flex; align-items: center; min-height: 44px; font-size: 16px; text-decoration: none; }
.footer-info { font-size: 14px; line-height: 1.9; margin-top: 28px; color: #dad8e8; }
.footer-info span { display: block; }
.sticky-cta { display: none; }
@media (max-width: 1000px) {
  .hero-inner { gap: 32px; }
  .hero h1 { font-size: 40px; }
  .hero-visual { height: 530px; }
  .hero-lead { font-size: 16px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .inner, .reading { width: calc(100% - 48px); }
  .header-inner { min-height: 72px; }
  .logo { width: 100px; height: 48px; background-size: 150px; }
  .nav { gap: 22px; }
  .hero { padding: 8px 0 44px; }
  .hero-inner { display: flex; flex-direction: column; gap: 26px; align-items: stretch; }
  .hero-visual { order: -1; height: 290px; border-radius: 16px; }
  .hero-visual img { object-position: 50% 36%; }
  .male .hero-visual img { object-position: 50% 18%; }
  .female .hero-visual img { object-position: 50% 32%; }
  .hero h1 { font-size: clamp(34px, 9.7vw, 54px); line-height: 1.4; }
  .hero-lead { margin: 18px 0 24px; font-size: 16px; line-height: 1.8; }
  .cta-stack { width: 100%; }
  .line-btn { min-height: 60px; font-size: 18px; padding-inline: 18px; gap: 12px; }
  .eligibility { margin-top: 16px; font-size: 16px; }
  .section { padding: 64px 0; }
  h2, .final-cta h2 { font-size: 30px; line-height: 1.5; }
  h3 { font-size: 21px; }
  .section-intro { margin-top: 16px; }
  .how-swipe-hint { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 22px; color: var(--ink); font-size: 16px; font-weight: 700; }
  .how-swipe-hint span { font-size: 24px; line-height: 1; }
  .how-list { margin-top: 10px; padding-inline: 24px; scroll-padding-inline: 24px; }
  .how-list li { flex-basis: min(82vw, 320px); min-width: 0; padding: 22px; }
  .how-list li:before { font-size: 30px; }
  .how-list p { margin-top: 8px; }
  .price-row { gap: 12px; flex-wrap: wrap; padding: 20px 0; }
  .price-row dt { font-size: 16px; }
  .price-row dd { font-size: 32px; }
  .price-row dd.zero { font-size: 64px; }
  .trial-badge { font-size: 20px; }
  .renewal { padding-left: 16px; }
  .details summary { gap: 16px; font-size: 17px; }
  .final-cta { padding: 60px 0; }
  .footer { padding: 32px 0 120px; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 22px; gap: 4px 22px; }
  .footer-links a { font-size: 16px; }
  .sticky-cta { position: fixed; inset: auto 0 0; display: block; z-index: 20; padding: 12px 24px calc(12px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid #ffffff38; }
  .sticky-cta .line-btn { min-height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Shared LP product screenshots, kept legible on mobile. */
.how-list--screens .how-screen { display: block; width: min(100%, 240px); height: auto; margin: 22px auto 0; border: 1px solid var(--line); border-radius: 20px; }
.final-subcopy { margin-top: 18px; font-size: 18px; }
