:root {
  --ink: #fff7fa;
  --muted: #beb5ba;
  --night: #080808;
  --night-soft: #121212;
  --panel: #1c1c1c;
  --panel-light: #292929;
  --raspberry: #e11d5f;
  --raspberry-dark: #9f123f;
  --violet: #f04484;
  --violet-soft: #ff9fbe;
  --line: rgba(255, 255, 255, .13);
  --glow: 0 24px 80px rgba(168, 13, 79, .34);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body { min-width: 320px; max-width: 100%; margin: 0; overflow-x: hidden; background: var(--night); color: var(--ink); font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, Inter, ui-sans-serif, system-ui, sans-serif; line-height: 1.78; font-feature-settings: "palt" 1; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.banner-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: white; color: #111; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 30; min-height: 82px; padding: 0 max(4vw, 24px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(11, 11, 11, .88); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.site-header::after { content: ""; position: absolute; inset: auto 0 -2px; height: 2px; background: linear-gradient(90deg, transparent, var(--raspberry), var(--violet), transparent); }
.brand { display: inline-flex; flex-direction: row; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.03em; }
.brand-logo { order: 0; flex: 0 0 auto; width: 94px; height: auto; object-fit: contain; }
.brand-copy { order: 1; display: flex; flex-direction: column; font-size: 19px; line-height: .9; }
.brand-copy small { margin-top: 7px; color: var(--muted); font-size: 7px; letter-spacing: .18em; }
.desktop-nav { display: flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); }
.desktop-nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 700; transition: .2s; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: white; background: rgba(255,255,255,.08); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.age-badge { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(231,30,109,.6); border-radius: 50%; color: #ff9bc1; font-size: 11px; font-weight: 900; }

.button { position: relative; display: inline-flex; max-width: 100%; align-items: center; justify-content: space-between; gap: 28px; min-height: 56px; padding: 15px 24px; overflow: hidden; border: 1px solid var(--raspberry); color: white; font-size: 15px; font-weight: 850; transition: transform .2s, box-shadow .2s; }
.button::after { content: ""; position: absolute; top: -50%; left: -70px; width: 38px; height: 200%; background: rgba(255,255,255,.25); transform: rotate(20deg); transition: left .35s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(231,30,109,.25); }
.button:hover::after { left: 115%; }
.button-small { min-height: 42px; padding: 10px 16px; font-size: 12px; background: linear-gradient(135deg, var(--raspberry-dark), var(--violet)); }
.button-primary { background: linear-gradient(135deg, var(--raspberry), #d81b60 58%, var(--violet)); box-shadow: 0 10px 34px rgba(231,30,109,.2); }

.hero { position: relative; min-height: calc(100vh - 82px); display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 7vw; padding: 70px max(6vw, 30px); overflow: hidden; background: radial-gradient(circle at 15% 18%, rgba(231,30,109,.16), transparent 27%), radial-gradient(circle at 86% 62%, rgba(216,27,96,.18), transparent 29%), linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px); background-size: auto, auto, 38px 38px, 38px 38px; }
.hero::after { content: "IA / 18+"; position: absolute; right: -.04em; bottom: -.2em; color: rgba(255,255,255,.025); font-size: clamp(110px, 17vw, 250px); font-weight: 950; letter-spacing: -.09em; line-height: 1; white-space: nowrap; pointer-events: none; }
.hero-copy, .hero-visual { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: #e0c8ee; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 2px; background: linear-gradient(90deg, var(--raspberry), var(--violet)); }
h1, h2, h3 { margin: 0; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 900; }
h1 { max-width: 850px; font-size: clamp(54px, 7.2vw, 106px); line-height: .91; letter-spacing: -.075em; }
h1 em, h2 em { color: #f084bf; font-family: Georgia, serif; font-weight: 400; }
.hero-lead { max-width: 670px; margin: 28px 0 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin: 34px 0; }

.hero-visual { min-height: 650px; display: grid; place-items: center; }
.glow { position: absolute; width: 540px; height: 540px; border: 1px solid rgba(255,139,184,.26); border-radius: 50%; background: radial-gradient(circle at 45% 45%, rgba(231,30,109,.45), rgba(216,27,96,.14) 55%, transparent 70%); box-shadow: inset 0 0 80px rgba(216,27,96,.12); }
.glow::before, .glow::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.glow::before { inset: 36px; }
.glow::after { inset: 86px; }
.hero-collage { position: relative; width: min(620px, 48vw); height: 610px; }
.hero-shot { position: absolute; margin: 0; padding: 7px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: rgba(18,18,18,.9); box-shadow: 0 25px 75px rgba(0,0,0,.48), 0 0 38px rgba(231,30,109,.16); transition: left .58s cubic-bezier(.22,.8,.24,1), top .58s cubic-bezier(.22,.8,.24,1), width .58s cubic-bezier(.22,.8,.24,1), height .58s cubic-bezier(.22,.8,.24,1), transform .58s cubic-bezier(.22,.8,.24,1), opacity .4s, box-shadow .4s; will-change: left, top, width, height, transform; }
.hero-shot::after { content: "18+"; position: absolute; top: 13px; right: 13px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(11,11,11,.72); color: #fff; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.hero-shot img { width: 100%; height: 100%; border-radius: 15px; object-fit: cover; object-position: center top; filter: saturate(.88) contrast(1.04); }
.hero-shot-left { z-index: 1; top: 76px; left: 0; width: 39%; height: 470px; opacity: .78; transform: rotate(-6deg) scale(.98); }
.hero-shot-center { z-index: 3; top: 18px; left: 30%; width: 40%; height: 550px; opacity: 1; box-shadow: 0 30px 90px rgba(0,0,0,.58), 0 0 52px rgba(231,30,109,.27); }
.hero-shot-right { z-index: 2; top: 82px; right: auto; left: 62%; width: 38%; height: 455px; opacity: .78; transform: rotate(6deg) scale(.98); }
.hero-shot-center img { transition: opacity .22s ease, transform .3s ease, filter .3s ease; }

.ticker { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 28px; padding: 14px; overflow: hidden; background: linear-gradient(90deg, #9d0b4a, var(--raspberry), #9e1247); font-size: 10px; font-weight: 800; letter-spacing: .16em; white-space: nowrap; }
.ticker i { color: #260616; }
.section { padding: 110px max(6vw, 30px); }
.section-heading h2, .final-cta h2 { font-size: clamp(44px, 5.8vw, 82px); line-height: .97; letter-spacing: -.06em; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 54px; }
.split-heading > div { max-width: 780px; }
.split-heading > p { max-width: 440px; margin: 0; color: var(--muted); }

.models { position: relative; background: var(--night-soft); }
.models::before { content: "AIキャラクター 18+"; position: absolute; top: 32px; right: 4vw; color: rgba(255,255,255,.035); font-size: 34px; font-weight: 900; letter-spacing: .15em; }
.gallery-section { scroll-margin-top: 82px; }
.gallery-section .split-heading { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .58fr); align-items: start; gap: clamp(42px, 7vw, 110px); margin-bottom: 46px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.gallery-section .split-heading::after { content: ""; position: absolute; bottom: -1px; left: 0; width: min(360px, 34%); height: 2px; background: linear-gradient(90deg, var(--raspberry), var(--violet)); }
.gallery-section .split-heading > div { max-width: 760px; }
.gallery-section .split-heading .eyebrow { margin-bottom: 18px; }
.gallery-section .split-heading h2 { font-size: clamp(48px, 5.2vw, 76px); line-height: .92; }
.gallery-section .split-heading > p { position: relative; max-width: 490px; margin: 34px 0 0; padding: 42px 30px 28px; border: 1px solid var(--line); border-left: 2px solid var(--raspberry); background: linear-gradient(145deg, rgba(231,30,109,.1), rgba(216,27,96,.055)); color: #cfc0d5; font-size: 14px; line-height: 1.55; text-align: left; }
.gallery-section .split-heading > p::before { content: "6 PROFILS · 18+"; position: absolute; top: 16px; left: 30px; color: #f084bf; font-size: 8px; font-weight: 900; letter-spacing: .15em; }
@keyframes typing { to { opacity: .25; transform: translateY(-3px); } }
@keyframes videoPreview { from { transform: scale(1.02) translateX(-1%); } to { transform: scale(1.1) translateX(1%); } }

.faq-list { max-width: 920px; margin: auto; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 24px 8px; list-style: none; font-size: 17px; font-weight: 800; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { margin: 0; color: inherit; font: inherit; }
.faq-list summary b { color: var(--violet-soft); font-size: 22px; transition: transform .2s; }
.faq-list details[open] summary b { transform: rotate(45deg); }
.faq-list details p { margin: 0 52px 26px 8px; color: var(--muted); }

.final-cta { position: relative; overflow: hidden; padding: 120px 24px; background: radial-gradient(circle at 15% 100%, rgba(231,30,109,.25), transparent 30%), radial-gradient(circle at 90% 0, rgba(216,27,96,.35), transparent 35%), var(--night-soft); text-align: center; }
.final-cta::before { content: ""; position: absolute; top: -150px; left: 50%; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 0 50px rgba(231,30,109,.025), 0 0 0 100px rgba(216,27,96,.02); }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 { position: relative; max-width: 1000px; margin: auto; }
.final-cta p { position: relative; max-width: 580px; margin: 24px auto; color: var(--muted); }
.final-cta .button { position: relative; z-index: 2; }


.site-footer { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; min-height: 122px; padding: 28px max(5vw, 26px); overflow: hidden; border-top: 1px solid var(--line); background: #050505; }
.site-footer::after { content: "AIポルノ"; position: absolute; right: -18px; bottom: -30px; color: rgba(255,255,255,.025); font-size: 72px; font-weight: 950; letter-spacing: -.07em; pointer-events: none; }
.footer-brand, .site-footer > p, .site-footer nav { position: relative; z-index: 2; }
.footer-brand .brand-logo { width: 88px; height: auto; }
.site-footer > p { margin: 0; color: #8f8297; font-size: 10px; letter-spacing: .08em; text-align: center; }
.site-footer nav { display: flex; align-items: center; gap: 17px; font-size: 10px; }
.site-footer nav a { color: #b9a9c3; }
.site-footer nav a:hover { color: #f084bf; }
.to-top { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 590px; }
  .hero-collage { width: min(650px, 90vw); }
  .split-heading { display: block; }
  .split-heading > p { margin-top: 24px; }
  .gallery-section .split-heading { grid-template-columns: 1fr; gap: 20px; padding-bottom: 30px; }
  .gallery-section .split-heading > p { max-width: 680px; margin-top: 0; }
  .definition-section-head { padding-bottom: 30px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 70px; padding-inline: 18px; }
  .brand-logo { width: 76px; height: auto; }
  .brand-copy { font-size: 15px; }
  .brand-copy small { display: none; }
  .age-badge, .button-small span { display: none; }
  .button-small { min-height: 38px; padding: 8px 12px; }
  .hero { padding: 50px 20px 65px; }
  h1 { font-size: clamp(48px, 15vw, 70px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-visual { min-height: 510px; }
  .hero-collage { width: 100%; height: 470px; }
  .hero-shot-left { top: 76px; left: 0; width: 43%; height: 350px; }
  .hero-shot-center { top: 15px; left: 27%; width: 46%; height: 420px; }
  .hero-shot-right { top: 76px; right: 0; width: 43%; height: 350px; }
  .glow { width: 390px; height: 390px; }
  .ticker { justify-content: flex-start; overflow-x: hidden; }
  .section { padding: 78px 20px; }
  .models::before { display: none; }
  .gallery-section .split-heading { margin-bottom: 34px; }
  .gallery-section .split-heading h2 { font-size: clamp(42px, 12vw, 58px); }
  .gallery-section .split-heading > p { padding: 38px 20px 21px; font-size: 12px; }
  .gallery-section .split-heading > p::before { top: 14px; left: 20px; }
  .faq-list summary { grid-template-columns: 1fr auto; gap: 16px; padding-block: 20px; font-size: 14px; }
  .faq-list details p { margin-left: 8px; }
  .final-cta { padding: 90px 20px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; gap: 18px; padding: 46px 20px 26px; text-align: center; }
  .site-footer nav { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Features: compact editorial board without imagery */
#features {
  background:
    radial-gradient(circle at 74% 46%, rgba(225, 29, 95, .105), transparent 31%),
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
    #090608;
  background-size: auto, 42px 42px, 42px 42px, auto;
}

.feature-section-head {
  position: relative;
  margin-bottom: clamp(34px, 4vw, 48px);
  padding-bottom: clamp(28px, 3.4vw, 38px);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.feature-section-head::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: min(360px, 34%);
  height: 2px;
  background: linear-gradient(90deg, var(--raspberry), #ff7eaa, transparent);
}

.feature-section-head .eyebrow {
  justify-content: flex-start;
  margin-bottom: 18px;
}

.feature-section-head h2 {
  max-width: 1080px;
  margin: 0;
  color: #fffafb;
  font-size: clamp(48px, 5.7vw, 84px);
  line-height: 1.02;
  letter-spacing: -.055em;
  text-align: left;
}

.feature-section-head h2 em {
  color: #f084bf;
}

.feature-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: clamp(14px, 1.7vw, 22px);
}

.feature-board-column {
  display: grid;
  min-width: 0;
  gap: clamp(14px, 1.7vw, 22px);
}

.feature-board-left,
.feature-board-center {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.feature-board-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: clamp(22px, 2.25vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(231, 30, 109, .54);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 95, 148, .065), transparent 46%),
    rgba(17, 9, 14, .96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 18px 52px rgba(0, 0, 0, .22);
}

.feature-board-card::after {
  content: "";
  position: absolute;
  inset: auto 12% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 95, 148, .7), transparent);
}

.feature-board-number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(225, 29, 95, .92);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(159, 18, 63, .35);
}

.feature-board-card h3 {
  margin: 0 0 14px;
  color: #fff8fb;
  font-size: clamp(19px, 1.45vw, 24px);
  line-height: 1.32;
  letter-spacing: -.025em;
}

.feature-board-card p {
  margin: 0;
  color: #aaa1a6;
  font-size: 13px;
  line-height: 1.76;
}

.feature-board-card-long {
  height: 100%;
}

.feature-board-subfeature {
  margin-top: 17px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.feature-board-subfeature h4 {
  margin: 15px 0 6px;
  color: #ff9fbe;
  font-size: 13px;
  line-height: 1.5;
}

.feature-board-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.feature-board-tags span {
  padding: 6px 11px;
  border: 1px solid rgba(231, 30, 109, .22);
  border-radius: 999px;
  background: rgba(225, 29, 95, .11);
  color: #ff5f98;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

@media (hover: hover) {
  .feature-board-card {
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  }

  .feature-board-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 95, 148, .82);
    box-shadow: 0 24px 58px rgba(0, 0, 0, .3), 0 0 34px rgba(225, 29, 95, .09);
  }
}

/* Individual imagery for all four generation cards. */
#generation .formats-editor-item.has-background::after {
  background: linear-gradient(180deg, rgba(7, 7, 7, .72) 0%, rgba(8, 8, 8, .84) 58%, rgba(12, 8, 10, .94) 100%);
}

#generation .formats-editor-bg {
  filter: brightness(.72) saturate(.82) contrast(1.03);
}

#generation .generation-card-image-01 .formats-editor-bg { object-position: center 34%; }
#generation .generation-card-image-02 .formats-editor-bg { object-position: center 28%; }
#generation .generation-card-image-03 .formats-editor-bg { object-position: center 36%; }
#generation .generation-card-image-04 .formats-editor-bg { object-position: center 34%; }

@media (max-width: 1080px) {
  .feature-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-board-right {
    grid-column: 1 / -1;
  }

  .feature-board-card-long {
    height: auto;
  }
}

@media (max-width: 640px) {
  .feature-board {
    grid-template-columns: 1fr;
  }

  .feature-board-right {
    grid-column: auto;
  }

  .feature-board-left,
  .feature-board-center { grid-template-rows: none; }

  .feature-board-card {
    min-height: 0;
    padding: 24px 20px;
    border-radius: 18px;
  }

  .feature-board-number {
    width: 34px;
    height: 34px;
    margin-bottom: 18px;
  }

  .feature-board-card h3 {
    font-size: 20px;
  }

  .feature-board-card p {
    font-size: 13px;
  }

  .feature-section-head h2 {
    font-size: clamp(40px, 11vw, 56px);
  }
}
.article-hero .hero-copy { max-width: 900px; }
.article-hero .hero-lead { font-size: 16px; }
.article-hero .hero-actions .button { max-width: 580px; }

.content-section { position: relative; display: grid; grid-template-columns: minmax(60px, .22fr) minmax(0, 1.78fr); gap: 5vw; padding: 112px max(6vw, 30px); scroll-margin-top: 82px; background: var(--night-soft); }
.content-section:nth-of-type(even) { background: var(--night); }
.content-section.dark-section { background: radial-gradient(circle at 90% 12%, rgba(216,27,96,.14), transparent 24%), var(--night); }
.content-section.accent-section { background: radial-gradient(circle at 5% 82%, rgba(231,30,109,.2), transparent 24%), linear-gradient(145deg, #1b1b1b, #0d0d0d); }
.article-content { max-width: 1180px; }
.article-content > h2{ max-width: 1040px; margin-bottom: 28px; font-size: clamp(42px, 5.2vw, 76px); line-height: .98; letter-spacing: -.055em; }
.article-content > p { max-width: 900px; color: var(--muted); font-size: 16px; }
.article-content h3 { font-size: clamp(20px, 2vw, 29px); line-height: 1.15; letter-spacing: -.035em; }
.article-content article p { color: var(--muted); }

.definition-section-head { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr); align-items: end; gap: clamp(32px, 5vw, 88px); margin-bottom: 46px; padding-bottom: 38px; border-bottom: 1px solid var(--line); text-align: left; }
.definition-section-head::after { content: ""; position: absolute; bottom: -1px; left: 0; width: min(360px, 34%); height: 2px; background: linear-gradient(90deg, var(--raspberry), var(--violet)); }
.definition-heading-copy { min-width: 0; }
.definition-section-head .eyebrow { justify-content: flex-start; margin-bottom: 18px; }
.definition-section-head h2 { max-width: 1080px; font-size: clamp(54px, 7vw, 102px); line-height: .9; letter-spacing: -.07em; text-align: left; }
.definition-section-head h2 em { display: block; }
.definition-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 1px; padding: 1px; background: var(--line); }
.definition-points article { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: start; align-content: start; gap: clamp(16px, 1.7vw, 24px); height: 100%; min-height: 0; overflow: hidden; padding: clamp(24px, 2.2vw, 32px); border: 0; background: linear-gradient(145deg, #090909, #111111); text-align: left; }
.definition-points article::before { content: ""; position: absolute; top: 0; left: 0; width: 44%; height: 2px; background: linear-gradient(90deg, var(--raspberry), var(--violet), transparent); }
.definition-points article:nth-child(even) { background: linear-gradient(145deg, #202020, #161616); }
.definition-step-number { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--raspberry); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .04em; box-shadow: 0 10px 26px rgba(231,30,109,.22); }
.definition-points h3 { margin: 2px 0 10px; color: #fff; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.12; }
.definition-points p { max-width: 660px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.58; }
.definition-points strong { color: #f0b8d4; font-weight: 800; }
.definition-points::after { content: ""; grid-column: 2; grid-row: 3; min-height: 100%; background: linear-gradient(90deg, rgba(6,6,6,.7), rgba(16,16,16,.34)), linear-gradient(0deg, rgba(14,14,14,.35), transparent 60%), url("./assets/editorial/definition-grid-visual.webp") center 42% / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }


.formats-editor-layout { display: block; }
.formats-section-head { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr); align-items: end; gap: clamp(32px, 5vw, 88px); margin-bottom: 46px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.formats-section-head::after { content: ""; position: absolute; bottom: -1px; left: 0; width: min(360px, 34%); height: 2px; background: linear-gradient(90deg, var(--raspberry), var(--violet)); }
.formats-editor-copy { min-width: 0; text-align: left; }
.formats-editor-copy .eyebrow { justify-content: flex-start; margin-bottom: 18px; }
.formats-editor-copy h2 { max-width: 760px; margin: 0; font-size: clamp(48px, 5.2vw, 76px); line-height: .92; letter-spacing: -.055em; text-align: left; }
.formats-editor-copy h2 em { display: inline; color: #f084bf; font-family: Georgia, serif; font-weight: 400; }
.formats-editor-intro { max-width: 680px; margin: 0; padding: 29px 30px 27px; border: 1px solid var(--line); border-left: 4px solid var(--raspberry); background: linear-gradient(130deg, rgba(231,30,109,.1), rgba(216,27,96,.035)); color: #d8cadf; font-size: 15px; line-height: 1.62; }
.formats-editor-intro strong { display: block; margin-bottom: 22px; color: #f084bf; font-size: 10px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.formats-editor-intro p { margin: 0 0 12px; }
.formats-editor-intro p:last-child { margin-bottom: 0; }
.formats-editor-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1px; margin-top: 28px; padding: 1px; background: var(--line); }
.formats-editor-list article { position: relative; display: grid; height: 100%; min-height: 410px; overflow: hidden; background: linear-gradient(135deg, rgba(8,8,8,.99), rgba(20,20,20,.96)); }
.formats-editor-list article::before { content: ""; position: absolute; z-index: 3; top: 0; left: 0; width: 46%; height: 2px; background: linear-gradient(90deg, var(--raspberry), var(--violet), transparent); }
.formats-editor-list article:nth-child(2) { background: linear-gradient(135deg, rgba(34,34,34,.96), rgba(19,19,19,.98)); }
.formats-editor-list article.has-background::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(135deg, rgba(6,6,6,.94) 0%, rgba(10,10,10,.86) 54%, rgba(22,22,22,.6) 100%); pointer-events: none; }
.formats-editor-bg { position: absolute; z-index: 0; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62) saturate(.76); transform: scale(1.01); }
.formats-editor-list article:first-child .formats-editor-bg { object-position: center 25%; }
.formats-editor-list article:nth-child(3) .formats-editor-bg { object-position: center 23%; }
.formats-editor-content { position: relative; z-index: 2; display: grid; grid-template-columns: 58px minmax(0, 1fr); align-content: start; gap: 18px 22px; padding: clamp(34px, 3.2vw, 52px); }
.formats-editor-number { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--raspberry); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .04em; box-shadow: 0 10px 28px rgba(231,30,109,.3); }
.formats-editor-list h3 { max-width: 680px; margin: 2px 0 14px; color: #fff; font-size: clamp(21px, 1.8vw, 29px); line-height: 1.1; letter-spacing: -.025em; }
.formats-editor-list p { max-width: 690px; margin: 0 0 9px; color: var(--muted); font-size: 14px; line-height: 1.62; }
.formats-editor-list article.has-background p { color: #d8cfdd; }
.formats-editor-list p:last-child { margin-bottom: 0; }
.final-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; }
.final-actions .button { min-height: 48px; padding: 11px 17px; gap: 18px; font-size: 12px; }

.faq-section { background: var(--night); }
.faq-section-head { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr); align-items: end; gap: clamp(32px, 5vw, 88px); width: 100%; margin: 0 0 46px; padding-bottom: 38px; border-bottom: 1px solid var(--line); text-align: left; }
.faq-section-head::after { content: ""; position: absolute; bottom: -1px; left: 0; width: min(360px, 34%); height: 2px; background: linear-gradient(90deg, var(--raspberry), var(--violet)); }
.faq-heading-copy { min-width: 0; }
.faq-section-head .eyebrow { justify-content: flex-start; margin-bottom: 18px; }
.faq-section-head h2 { max-width: 1080px; margin: 0; font-size: clamp(54px, 6.2vw, 92px); line-height: .9; letter-spacing: -.07em; text-align: left; }
.faq-section-head h2 em { display: inline; color: #f084bf; font-family: Georgia, serif; font-weight: 400; }
.faq-section .faq-list { width: min(100%, 860px); max-width: 860px; margin: 0 auto; text-align: left; }
.faq-section .faq-list details,
.faq-section .faq-list summary,
.faq-section .faq-list summary h3,
.faq-section .faq-list details p { text-align: left; }
.final-cta > p { max-width: 760px; }
.final-cta .button { max-width: 680px; }

@media (max-width: 980px) {
  .content-section { grid-template-columns: 1fr; gap: 24px; }
  .definition-section-head { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .faq-section-head { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .formats-editor-layout { grid-template-columns: 1fr; gap: 42px; }
  .formats-section-head { grid-template-columns: 1fr; align-items: start; gap: 24px; padding-bottom: 30px; }
  .formats-editor-intro { max-width: none; }
  .formats-editor-list { grid-template-columns: 1fr; }
  .formats-editor-content { padding: 32px 26px; }
}

@media (min-width: 681px) {
  .faq-section-head h2 { white-space: nowrap; }
}

@media (max-width: 680px) {
  .article-hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .article-hero .hero-actions .button { width: 100%; }
  .content-section { padding: 78px 20px; }
  .article-content > h2{ font-size: clamp(38px, 11vw, 54px); }
  .formats-section-head { margin-bottom: 34px; }
  .formats-section-head h2 { font-size: clamp(42px, 12vw, 58px); }
  .formats-editor-copy .eyebrow { margin-bottom: 16px; }
  .formats-editor-intro { margin: 0; padding: 25px 21px 23px; font-size: 13px; }
  .formats-editor-intro strong { margin-bottom: 17px; font-size: 9px; }
  .formats-editor-list { grid-template-columns: 1fr; margin-top: 28px; }
  .formats-editor-list article { min-height: 0; }
  .formats-editor-content { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 24px 18px 27px; }
  .formats-editor-number { width: 42px; height: 42px; font-size: 11px; }
  .formats-editor-list h3 { font-size: 16px; }
  .formats-editor-list p { font-size: 12px; }
  .definition-section-head { margin-bottom: 34px; }
  .definition-section-head h2 { font-size: clamp(42px, 12vw, 58px); }
  .definition-points { grid-template-columns: 1fr; }
  .definition-points article { grid-template-columns: 42px minmax(0, 1fr); gap: 13px; min-height: 0; padding: 22px 18px; }
  .definition-step-number { width: 42px; height: 42px; font-size: 10px; }
  .definition-points h3 { margin-top: 1px; font-size: 17px; }
  .definition-points p { font-size: 13px; }
  .definition-points::after { grid-column: 1; grid-row: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .faq-section-head { margin-bottom: 26px; padding-bottom: 30px; }
  .faq-section-head h2 { font-size: clamp(42px, 12vw, 58px); }
  .final-cta .button { width: 100%; text-align: left; }
}

/* Keep the complete hero inside the first viewport */
@media (min-width: 981px) {
  .article-hero { height: calc(100svh - 82px); min-height: 0; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); gap: clamp(28px, 4vw, 64px); padding-top: clamp(22px, 4vh, 44px); padding-bottom: clamp(22px, 4vh, 44px); }
  .article-hero .eyebrow { margin-bottom: clamp(10px, 1.7vh, 18px); }
  .article-hero h1 { font-size: clamp(38px, min(4.4vw, 7vh), 74px); line-height: .92; }
  .article-hero .hero-lead { margin-top: clamp(8px, 1.45vh, 16px); font-size: clamp(11px, 1.55vh, 15px); line-height: 1.4; }
  .article-hero .hero-actions { margin: clamp(13px, 2.2vh, 24px) 0 0; }
  .article-hero .hero-actions .button { min-height: clamp(46px, 6vh, 54px); padding-block: 11px; }
  .article-hero .hero-visual-collage { height: 100%; min-height: 0; }
  .article-hero .hero-collage { width: min(560px, 42vw); height: min(74vh, 600px); }
  .article-hero .hero-shot-left { top: 12%; height: 77%; }
  .article-hero .hero-shot-center { top: 3%; height: 90%; }
  .article-hero .hero-shot-right { top: 13%; height: 75%; }
}

@media (min-width: 681px) and (max-width: 980px) {
  .article-hero { height: calc(100svh - 82px); min-height: 0; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); gap: 22px; padding: 24px 30px; }
  .article-hero .eyebrow { margin-bottom: 10px; font-size: 8px; }
  .article-hero h1 { font-size: clamp(32px, 4.8vw, 42px); line-height: .93; }
  .article-hero .hero-lead { margin-top: 9px; font-size: clamp(10px, 1.35vw, 12px); line-height: 1.38; }
  .article-hero .hero-actions { margin: 14px 0 0; }
  .article-hero .hero-actions .button { min-height: 46px; padding: 10px 16px; font-size: 12px; }
  .article-hero .hero-collage { width: 100%; height: min(72vh, 540px); }
  .article-hero .hero-shot-left { top: 13%; left: 0; width: 42%; height: 73%; }
  .article-hero .hero-shot-center { top: 4%; left: 27%; width: 46%; height: 88%; }
  .article-hero .hero-shot-right { top: 14%; right: auto; left: 59%; width: 41%; height: 71%; }
}

@media (min-width: 681px) and (max-height: 700px) {
  .article-hero { padding-top: 17px; padding-bottom: 17px; }
  .article-hero .eyebrow { margin-bottom: 7px; font-size: 7px; }
  .article-hero h1 { font-size: clamp(31px, min(3.9vw, 5.8vh), 43px); }
  .article-hero .hero-lead { margin-top: 6px; font-size: 10px; line-height: 1.3; }
  .article-hero .hero-actions { margin-top: 9px; }
  .article-hero .hero-actions .button { min-height: 42px; padding: 8px 14px; font-size: 11px; }
  .article-hero .hero-collage { height: min(76vh, 500px); }
}

@media (max-width: 680px) {
  .article-hero { height: calc(100svh - 70px); min-height: 0; grid-template-rows: auto minmax(105px, 1fr); gap: 8px; padding: 16px 20px 12px; }
  .article-hero .eyebrow { margin-bottom: 7px; font-size: 7px; letter-spacing: .13em; }
  .article-hero .eyebrow > span { width: 20px; }
  .article-hero h1 { font-size: clamp(28px, 8.1vw, 34px); line-height: .93; letter-spacing: -.06em; }
  .article-hero .hero-lead { margin-top: 7px; font-size: clamp(9.5px, 2.7vw, 11px); line-height: 1.3; }
  .article-hero .hero-actions { margin: 9px 0 0; }
  .article-hero .hero-actions .button { min-width: 0; min-height: 38px; flex: 1; gap: 5px; padding: 7px 9px; font-size: 9px; }
  .article-hero .hero-collage { width: min(360px, 96vw); height: 100%; min-height: 105px; max-height: 170px; }
  .article-hero .hero-shot { padding: 3px; border-radius: 11px; }
  .article-hero .hero-shot img { border-radius: 7px; }
  .article-hero .hero-shot::after { top: 6px; right: 6px; padding: 3px 5px; font-size: 6px; }
  .article-hero .hero-shot-left { top: 13%; left: 0; width: 42%; height: 75%; }
  .article-hero .hero-shot-center { top: 2%; left: 28%; width: 44%; height: 94%; }
  .article-hero .hero-shot-right { top: 13%; right: auto; left: 58%; width: 42%; height: 75%; }
  .article-hero .glow { width: 210px; height: 210px; }
}

/* Full-viewport closing banner */
.final-cta { height: calc(100svh - 82px); min-height: 0; display: grid; grid-template-columns: minmax(0, .96fr) minmax(450px, 1.04fr); align-items: center; gap: clamp(34px, 5vw, 80px); padding: clamp(24px, 5vh, 56px) max(6vw, 30px); background: radial-gradient(circle at 12% 82%, rgba(231,30,109,.23), transparent 31%), radial-gradient(circle at 87% 18%, rgba(216,27,96,.3), transparent 34%), linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px), var(--night-soft); background-size: auto, auto, 38px 38px, 38px 38px, auto; text-align: left; }
.final-cta::before { top: 50%; left: 72%; width: min(43vw, 560px); height: min(43vw, 560px); transform: translate(-50%, -50%); box-shadow: 0 0 0 55px rgba(231,30,109,.025), 0 0 0 110px rgba(216,27,96,.02); }
.final-cta-copy { position: relative; z-index: 2; min-width: 0; padding-left: clamp(20px, 2.4vw, 34px); border-left: 3px solid var(--raspberry); }
.final-cta .final-cta-copy .eyebrow { justify-content: flex-start; margin: 0 0 clamp(12px, 1.8vh, 19px); font-size: 10px; }
.final-cta .final-cta-copy h2 { max-width: 820px; margin: 0; font-size: clamp(48px, min(5.4vw, 7.8vh), 86px); line-height: .9; letter-spacing: -.07em; }
.final-cta .final-cta-copy h2 em { display: block; }
.final-cta .final-cta-copy > p:not(.eyebrow) { max-width: 720px; margin: clamp(10px, 1.6vh, 16px) 0; color: var(--muted); font-size: clamp(12px, 1.7vh, 15px); line-height: 1.55; }
.final-cta .final-cta-copy .button { width: auto; min-height: clamp(43px, 5.8vh, 52px); margin-top: clamp(5px, 1vh, 11px); padding: 10px 18px; font-size: 13px; text-align: left; }
.final-cta .final-actions { gap: 7px; margin-top: clamp(5px, 1vh, 11px); }
.final-cta .final-actions .button { margin-top: 0; }
.final-cta-gallery { position: relative; z-index: 2; display: grid; width: min(100%, 680px); height: min(74vh, 620px); place-items: center; justify-self: center; color: #fff; }
.final-cta-gallery .glow { width: min(43vw, 540px); height: min(43vw, 540px); }
.final-cta-gallery .hero-shot-left { top: 12%; left: 0; width: 39%; height: 77%; }
.final-cta-gallery .hero-shot-center { top: 3%; left: 30%; width: 40%; height: 90%; }
.final-cta-gallery .hero-shot-right { top: 13%; right: auto; left: 62%; width: 38%; height: 75%; }
.final-cta-gallery .hero-shot img { object-position: center center; transition: transform .5s ease, filter .5s ease; }
.final-cta-gallery .final-hero-shot-one img { object-position: center 44%; }
.final-cta-gallery .final-hero-shot-two img { object-position: center 36%; }
.final-cta-gallery .final-hero-shot-three img { object-position: center 42%; }
.final-cta-gallery:hover .hero-shot img, .final-cta-gallery:focus-visible .hero-shot img { transform: scale(1.025); filter: saturate(1.06) contrast(1.03); }

@media (min-width: 681px) and (max-width: 980px) {
  .final-cta { grid-template-columns: minmax(0, 1.18fr) minmax(240px, .82fr); gap: 28px; padding: 24px 30px; }
  .final-cta .final-cta-copy h2 { font-size: clamp(34px, 5vw, 46px); }
  .final-cta .final-cta-copy > p:not(.eyebrow) { margin-block: 7px; font-size: 10.5px; line-height: 1.34; }
  .final-cta-gallery { width: 100%; height: min(70vh, 540px); }
  .final-cta-gallery .hero-shot-left { top: 13%; left: 0; width: 42%; height: 73%; }
  .final-cta-gallery .hero-shot-center { top: 4%; left: 27%; width: 46%; height: 88%; }
  .final-cta-gallery .hero-shot-right { top: 14%; right: auto; left: 59%; width: 41%; height: 71%; }
}

@media (min-width: 681px) and (max-height: 700px) {
  .final-cta { padding-top: 17px; padding-bottom: 17px; }
  .final-cta .final-cta-copy .eyebrow { margin-bottom: 7px; font-size: 7px; }
  .final-cta .final-cta-copy h2 { font-size: clamp(31px, min(4.2vw, 5.8vh), 45px); }
  .final-cta .final-cta-copy > p:not(.eyebrow) { margin-block: 5px; font-size: 9.5px; line-height: 1.28; }
  .final-cta .final-cta-copy .button { min-height: 40px; margin-top: 4px; padding-block: 8px; font-size: 11px; }
  .final-cta-gallery { height: min(76vh, 520px); }
}

@media (max-width: 680px) {
  .final-cta { height: calc(100svh - 70px); min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto minmax(150px, 1fr); gap: 12px; padding: 14px 20px 12px; }
  .final-cta::before { left: 50%; width: 260px; height: 260px; }
  .final-cta .final-cta-copy .eyebrow { margin-bottom: 6px; font-size: 7px; }
  .final-cta .final-cta-copy h2 { font-size: clamp(27px, 7.8vw, 33px); line-height: .93; }
  .final-cta .final-cta-copy > p:not(.eyebrow) { margin-block: 5px; font-size: clamp(9px, 2.45vw, 10.5px); line-height: 1.27; }
  .final-cta .final-cta-copy .button { width: auto; min-height: 39px; margin-top: 3px; padding: 7px 13px; font-size: 10px; }
  .final-cta .final-actions { display: flex; flex-wrap: nowrap; gap: 5px; margin-top: 4px; }
  .final-cta .final-actions .button { min-width: 0; flex: 1; gap: 5px; margin-top: 0; padding-inline: 8px; font-size: 9px; }
  .final-cta-copy { padding-left: 16px; }
  .final-cta-gallery { width: min(100%, 380px); height: 100%; min-height: 150px; max-height: 235px; }
  .final-cta-gallery .glow { width: 210px; height: 210px; }
  .final-cta-gallery .hero-shot { padding: 3px; border-radius: 11px; }
  .final-cta-gallery .hero-shot img { border-radius: 7px; }
  .final-cta-gallery .hero-shot::after { top: 6px; right: 6px; padding: 3px 5px; font-size: 6px; }
  .final-cta-gallery .hero-shot-left { top: 13%; left: 0; width: 42%; height: 75%; }
  .final-cta-gallery .hero-shot-center { top: 2%; left: 28%; width: 44%; height: 94%; }
  .final-cta-gallery .hero-shot-right { top: 13%; right: auto; left: 58%; width: 42%; height: 75%; }
}

/* Unified centered composition */
.hero-copy { text-align: center; }
.hero-copy h1, .hero-copy .hero-lead { margin-right: auto; margin-left: auto; }
.hero-copy .eyebrow, .hero-copy .hero-actions { justify-content: center; }

.section{ margin-inline: auto; }

.gallery-section .split-heading { text-align: left; }

.content-section { display: block; }
.article-content { width: min(100%, 1180px); margin-inline: auto; }
.article-content > .eyebrow { justify-content: center; }
.article-content > h2, .article-content > p { margin-right: auto; margin-left: auto; text-align: center; }
 .faq-list { margin-right: auto; margin-left: auto; }

.final-cta { text-align: left; }
.final-cta .final-cta-copy .eyebrow, .final-cta .final-actions { justify-content: flex-start; }
.final-cta .final-cta-copy h2, .final-cta .final-cta-copy > p:not(.eyebrow) { margin-right: 0; margin-left: 0; }

@media (max-width: 680px) {
  .content-section, .section{ padding-right: 20px; padding-left: 20px; }
  .final-cta .final-actions { justify-content: flex-start; }
}

/* Hero: static three-image composition with left-aligned copy */
.article-hero .hero-copy { justify-self: start; text-align: left; }
.article-hero .hero-copy h1, .article-hero .hero-copy .hero-lead { margin-right: 0; margin-left: 0; text-align: left; }
.article-hero .hero-copy .eyebrow { justify-content: flex-start; text-align: left; }
.article-hero .hero-copy .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 10px; text-align: left; }
.article-hero .hero-actions .button { flex: 0 0 auto; font-weight: 700; }
.article-hero .hero-copy h1 { margin-bottom: clamp(12px, 1.7vh, 18px); }
.article-hero .hero-copy .hero-lead { margin-top: 0; margin-bottom: 0; }
.article-hero .hero-copy .hero-lead + .hero-lead { margin-top: clamp(8px, 1.2vh, 13px); }
.article-hero .hero-copy .hero-actions { margin-top: clamp(14px, 2vh, 22px); margin-bottom: 0; }

@media (max-width: 680px) {
  .article-hero .hero-copy .hero-actions { flex-wrap: nowrap; gap: 6px; }
  .article-hero .hero-actions .button { min-width: 0; flex: 1 1 0; padding-inline: 8px; font-size: 8.5px; }
  .article-hero .hero-copy h1 { margin-bottom: 8px; }
  .article-hero .hero-copy .hero-lead + .hero-lead { margin-top: 6px; }
  .article-hero .hero-copy .hero-actions { margin-top: 10px; }
}

/* Hero: larger H1 and a more even vertical rhythm across the banner */
@media (min-width: 981px) and (min-height: 701px) {
  .article-hero .hero-copy {
    align-self: stretch;
    display: grid;
    grid-template-rows: auto auto auto;
    align-content: space-between;
    padding-block: clamp(8px, 1.6vh, 18px);
  }

  .article-hero .hero-copy .eyebrow,
  .article-hero .hero-copy h1,
  .article-hero .hero-copy .hero-lead,
  .article-hero .hero-copy .hero-lead + .hero-lead,
  .article-hero .hero-copy .hero-actions {
    margin-top: 0;
    margin-bottom: 0;
  }

  .article-hero .hero-copy h1 {
    font-size: clamp(52px, min(5vw, 8vh), 88px);
    line-height: .91;
  }

  .article-hero .hero-heading-group {
    display: grid;
    gap: clamp(14px, 1.8vh, 20px);
  }

  .article-hero .hero-description {
    display: grid;
    gap: clamp(14px, 1.8vh, 20px);
  }

  .article-hero .hero-copy .hero-lead {
    max-width: 760px;
    font-size: clamp(14px, 1.8vh, 17px);
    line-height: 1.5;
  }
}

/* Unified controls: one visual language for every call-to-action and slider button */
.site-header .button,
.article-page .button {
  min-height: 52px;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 126, 170, .72);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--raspberry-dark), var(--raspberry) 56%, #f65a93);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: .04em;
  box-shadow: 0 10px 28px rgba(225, 29, 95, .24), inset 0 1px rgba(255, 255, 255, .18);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease;
}

.site-header .button > span,
.article-page .button > span {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  background: rgba(8, 8, 8, .2);
  font-size: 12px;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}

.site-header .button:hover,
.site-header .button:focus-visible,
.article-page .button:hover,
.article-page .button:focus-visible {
  border-color: #ff9abd;
  filter: brightness(1.08);
  box-shadow: 0 15px 36px rgba(225, 29, 95, .34), inset 0 1px rgba(255, 255, 255, .24);
  outline: none;
  transform: translateY(-2px);
}

.site-header .button:focus-visible,
.article-page .button:focus-visible,
.character-slider-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.site-header .button:hover > span,
.site-header .button:focus-visible > span,
.article-page .button:hover > span,
.article-page .button:focus-visible > span {
  background: rgba(8, 8, 8, .34);
  transform: translate(2px, -2px);
}

.site-header .button-small {
  min-height: 46px;
  padding: 10px 18px;
  font-size: 12px;
}

.character-slider-arrow {
  border-color: rgba(255, 126, 170, .72);
  background: linear-gradient(135deg, var(--raspberry-dark), var(--raspberry) 56%, #f65a93);
  box-shadow: 0 9px 24px rgba(225, 29, 95, .22), inset 0 1px rgba(255, 255, 255, .18);
  font-weight: 850;
}

.character-slider-arrow:hover:not(:disabled),
.character-slider-arrow:focus-visible:not(:disabled) {
  border-color: #ff9abd;
  background: linear-gradient(135deg, #b8134a, #ef286e 56%, #ff72a5);
  box-shadow: 0 13px 30px rgba(225, 29, 95, .32), inset 0 1px rgba(255, 255, 255, .24);
  filter: brightness(1.06);
}

.character-slider-arrow:disabled {
  border-color: rgba(255, 126, 170, .2);
  background: linear-gradient(135deg, rgba(159, 18, 63, .28), rgba(225, 29, 95, .2));
  box-shadow: none;
  opacity: .46;
}

/* Site-wide third-level heading accent */
body .article-page h3 {
  color: #f084bf !important;
  text-shadow: 0 0 24px rgba(225, 29, 95, .14);
}

/* Conversion actions below the character sliders */
.character-gallery-action {
  display: flex;
  justify-content: center;
  padding-top: clamp(18px, 2.4vw, 30px);
}

.character-gallery-action .button {
  width: fit-content;
  min-width: min(100%, 330px);
}

.video-gallery-action {
  padding-top: clamp(24px, 3vw, 38px);
}

@media (max-width: 640px) {
  .character-gallery-action .button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .site-header .button,
  .article-page .button {
    min-height: 46px;
    padding: 10px 17px;
    font-size: 11px;
  }

  .site-header .button > span,
  .article-page .button > span {
    width: 23px;
    height: 23px;
    font-size: 11px;
  }
}

/* Mobile hero: compact flow without an empty gap before the image collage */
@media (max-width: 680px) {
  .article-hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    align-items: start;
    gap: 0;
    padding: 28px 20px 34px;
  }

  .article-hero .hero-copy {
    display: contents;
  }

  .article-hero .hero-heading-group {
    order: 1;
    width: 100%;
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
  }
  .article-hero .hero-copy .eyebrow { margin-bottom: 0; }
  .article-hero .hero-copy h1 {
    margin-bottom: 0;
    font-size: clamp(31px, 9.4vw, 39px);
    line-height: .94;
  }
  .article-hero .hero-copy .hero-lead {
    margin-top: 0;
    font-size: clamp(10.5px, 3vw, 12px);
    line-height: 1.45;
  }
  .article-hero .hero-description {
    order: 3;
    width: 100%;
    display: grid;
    gap: 11px;
  }
  .article-hero .hero-copy .hero-lead + .hero-lead { margin-top: 0; }

  .article-hero .hero-copy .hero-actions {
    order: 4;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 16px;
  }
  .article-hero .hero-actions .button {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 10px;
    justify-content: center;
    text-align: center;
  }
  .article-hero .hero-actions .button span {
    position: absolute;
    right: 14px;
  }

  .article-hero .hero-visual-collage {
    order: 2;
    width: 100%;
    height: 210px;
    min-height: 210px;
    margin-bottom: 18px;
  }
  .article-hero .hero-collage {
    width: min(390px, 100%);
    height: 210px;
    min-height: 210px;
    max-height: none;
  }

  .ticker {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-content: stretch;
    gap: 1px;
    padding: 1px;
    overflow: visible;
    font-size: 7px;
    letter-spacing: .12em;
    white-space: normal;
  }
  .ticker span {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
    background: rgba(23, 10, 31, .14);
    text-align: center;
  }
  .ticker i { display: none; }
}

/* Consistent heading hierarchy: every section H2 stays below the hero H1. */
.article-page h2 {
  font-size: clamp(36px, 4vw, 62px) !important;
}

@media (min-width: 681px) and (max-width: 980px) {
  .article-page h2 {
    font-size: clamp(26px, 3.7vw, 32px) !important;
  }
}

@media (max-width: 680px) {
  .article-page h2 {
    font-size: clamp(25px, 7.4vw, 30px) !important;
  }

  .site-header .button,
  .article-page .button{
    position: relative;
    justify-content: center;
    text-align: center;
  }

  .article-page .button > span{
    position: absolute;
    right: 14px;
  }

  .final-actions{
    justify-content: center;
    justify-items: center;
    align-items: center;
    text-align: center;
  }
}


.content-section{
  padding-right: max(6vw, 30px);
  padding-left: max(6vw, 30px);
}

.content-section {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.article-content{
  width: 100%;
  max-width: none;
}

.article-content{
  margin-right: 0;
  margin-left: 0;
}

@media (max-width: 680px) {
  
  .content-section{
    padding-right: 20px;
    padding-left: 20px;
  }
}

/* Keep prose visually uniform; bold remains reserved for headings, buttons and UI labels. */
.article-page p strong,
.site-footer p strong {
  color: inherit;
  font-weight: inherit;
}

/* One visual system for every introductory text panel. */
.info-panel {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 680px;
  padding: 42px 30px 28px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--raspberry);
  background: linear-gradient(145deg, rgba(231,30,109,.1), rgba(216,27,96,.055));
  color: #cfc0d5;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.info-panel::before,
.info-panel > strong {
  position: absolute;
  top: 16px;
  left: 30px;
  margin: 0;
  color: #f084bf;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1;
  text-transform: uppercase;
}

.info-panel p {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: left;
}

.formats-editor-intro.info-panel p + p {
  margin-top: 10px;
}

@media (max-width: 680px) {
  .info-panel {
    padding: 38px 20px 21px;
    font-size: 12px;
  }

  .info-panel::before,
  .info-panel > strong {
    top: 14px;
    left: 20px;
  }
}

/* Responsive safeguards for narrow phones, zoomed layouts and long Japanese labels. */
main,
section,
.article-page,
.article-content,
.hero-copy,
.hero-visual,
.formats-editor-content,
.definition-points article{
  min-width: 0;
}

h1,
h2,
h3,
p,
a,
button,
summary {
  overflow-wrap: break-word;
}

input,
textarea,
select {
  max-width: 100%;
}

@media (max-width: 420px) {
  .site-header { gap: 8px; padding-inline: 10px; }
  .brand { gap: 7px; }
  .brand-logo { width: 68px; height: auto; }
  .brand-copy { font-size: 13px; }
  .button-small { min-height: 36px; padding: 7px 10px; font-size: 10px; }

  .hero,
  .section,
  .content-section{ padding-right: 14px; padding-left: 14px; }

  .formats-editor-content,
  .definition-points article{
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    padding: 20px 14px;
  }

  .formats-editor-number,
  .definition-step-number{ width: 38px; height: 38px; font-size: 9px; }
  .final-cta { padding-right: 14px; padding-left: 14px; }
}

/* Japanese regional edition */
.site-header,
.button,
.eyebrow,
.ticker,
.formats-editor-number,
.definition-step-number,
.site-footer {
  letter-spacing: .04em;
}

.site-header {
  background: rgba(8, 8, 8, .92);
}

.site-header::after,
.eyebrow > span,
.gallery-section .split-heading::after,
.definition-section-head::after,
.faq-section-head::after {
  background: linear-gradient(90deg, transparent, var(--raspberry), #ff7eaa, transparent);
}

.button-small,
.button-primary{
  background: linear-gradient(135deg, var(--raspberry-dark), var(--raspberry) 58%, #f65a93);
}

.hero {
  background:
    linear-gradient(123deg, transparent 0 24%, rgba(255, 122, 173, .06) 24.25%, transparent 24.85% 66%, rgba(225, 29, 95, .055) 66.25%, transparent 66.85%),
    radial-gradient(ellipse 58% 76% at 8% 18%, rgba(240, 68, 132, .28), rgba(225, 29, 95, .075) 48%, transparent 72%),
    radial-gradient(ellipse 48% 64% at 91% 28%, rgba(178, 18, 76, .3), rgba(109, 12, 50, .09) 52%, transparent 76%),
    radial-gradient(ellipse 42% 48% at 54% 108%, rgba(255, 103, 160, .15), transparent 72%),
    linear-gradient(112deg, #050506 0%, #0b080a 31%, #170811 63%, #080708 100%);
  background-size: auto;
}

.hero::after { content: "AI / 18+"; }
.models::before { content: "AIキャラクター 18+"; }
.gallery-section .split-heading > p::before { content: "日本語対応 · 18+"; }

h1 {
  font-size: clamp(48px, 6.2vw, 92px);
  line-height: 1.06;
  letter-spacing: -.045em;
}

h1 em,
h2 em {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-style: normal;
}

.section-heading h2,
.article-content > h2,
.formats-editor-copy h2,
.definition-section-head h2,
.faq-section-head h2,
.final-cta .final-cta-copy h2 {
  line-height: 1.12;
  letter-spacing: -.035em;
}

.hero-lead,
.split-heading > p,
.formats-editor-intro,
.formats-editor-list p,
.definition-points p,
.faq-list details p,
.final-cta .final-cta-copy > p:not(.eyebrow) {
  line-height: 1.85;
}

.formats-section-head {
  align-items: start;
}

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

.jp-generation-grid article {
  min-height: 440px;
}

.formats-editor-body h4{
  margin: 24px 0 8px;
  color: #ff9fbe;
  font-size: 15px;
  line-height: 1.5;
}

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

.jp-steps::after {
  display: none;
}

.jp-steps article,
.jp-steps article:nth-child(even) {
  grid-template-columns: 54px minmax(0, 1fr);
  background: linear-gradient(145deg, #0b0b0b, #1c1c1c);
}

.jp-steps article p + p {
  margin-top: 12px;
}

.video-gallery-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(225, 29, 95, .2), transparent 30%),
    #111;
}

.faq-section {
  background: #080808;
}

.faq-section .faq-list {
  width: min(100%, 980px);
  max-width: 980px;
}

.final-cta {
  background:
    linear-gradient(58deg, transparent 0 31%, rgba(255, 126, 176, .055) 31.25%, transparent 31.85% 73%, rgba(225, 29, 95, .05) 73.25%, transparent 73.85%),
    radial-gradient(ellipse 55% 72% at 10% 86%, rgba(225, 29, 95, .3), rgba(151, 14, 64, .08) 52%, transparent 76%),
    radial-gradient(ellipse 54% 72% at 88% 15%, rgba(255, 92, 151, .24), rgba(127, 11, 53, .075) 52%, transparent 77%),
    radial-gradient(ellipse 34% 42% at 56% 48%, rgba(240, 68, 132, .11), transparent 74%),
    linear-gradient(118deg, #060607 0%, #10090d 38%, #180910 67%, #080708 100%);
  background-size: auto;
}

.site-footer {
  background: #050505;
}

.site-footer::after {
  content: "AIポルノ";
}

@media (max-width: 980px) {
  
  .jp-generation-grid,
  .jp-steps{
    grid-template-columns: 1fr;
  }

  .jp-steps article {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(42px, 13vw, 62px); }
  .desktop-nav { display: none; }
  .header-actions .age-badge { display: none; }
  .button-small { max-width: 150px; }
  .jp-generation-grid article { min-height: 0; }
}

/* Hero gallery: compact 3 x 3 composition based on the supplied reference */
.article-hero .hero-gallery-grid {
  height: 100%;
  min-height: 0;
  isolation: isolate;
}

.hero-gallery-frame {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 680px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(7px, .85vw, 13px);
  padding: clamp(11px, 1.35vw, 20px);
  border: 1px solid rgba(255, 134, 179, .24);
  border-radius: clamp(22px, 2.6vw, 38px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .025), transparent 42%),
    rgba(13, 8, 11, .94);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, .48),
    0 0 0 1px rgba(255, 255, 255, .035) inset,
    0 0 65px rgba(216, 27, 96, .13);
}

.hero-gallery-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 13% 7%;
  border-radius: 50%;
  background: rgba(216, 27, 96, .26);
  filter: blur(58px);
}

.hero-gallery-item {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: clamp(10px, 1.25vw, 18px);
  background: #171216;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .32);
}

.hero-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(255, 106, 163, .06) inset;
  pointer-events: none;
}

.hero-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(.91) contrast(1.04);
  transition: transform .35s ease, filter .35s ease;
}

.hero-gallery-item:nth-child(2) img { object-position: 50% 28%; }
.hero-gallery-item:nth-child(3) img { object-position: 52% 31%; }
.hero-gallery-item:nth-child(4) img { object-position: 50% 28%; }
.hero-gallery-item:nth-child(5) img { object-position: 50% 23%; }
.hero-gallery-item:nth-child(6) img { object-position: 50% 29%; }
.hero-gallery-item:nth-child(7) img { object-position: 50% 24%; }
.hero-gallery-item:nth-child(8) img { object-position: 50% 15%; }
.hero-gallery-item:nth-child(9) img { object-position: 50% 19%; }

@media (hover: hover) {
  .hero-gallery-item:hover img {
    transform: scale(1.045);
    filter: saturate(1.02) contrast(1.06);
  }
}

@media (max-width: 680px) {
  .article-hero .hero-gallery-grid {
    width: min(370px, 100%);
    justify-self: center;
  }

  .hero-gallery-frame {
    gap: 5px;
    padding: 7px;
    border-radius: 18px;
  }

  .hero-gallery-item {
    border-radius: 8px;
  }
}

/* Hero content treatment from the supplied reference */
.article-hero {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 79% 42%, rgba(244, 54, 126, .16), transparent 31%),
    radial-gradient(ellipse at 18% 52%, rgba(174, 14, 75, .13), transparent 34%),
    radial-gradient(circle at 48% 106%, rgba(255, 113, 168, .075), transparent 31%),
    #0b0609;
}

.article-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -18% -7%;
  background:
    linear-gradient(116deg, transparent 0 18%, rgba(255, 137, 181, .13) 18.06%, transparent 18.2%),
    linear-gradient(116deg, transparent 0 38%, rgba(225, 29, 95, .1) 38.06%, transparent 38.18%),
    linear-gradient(16deg, transparent 0 69%, rgba(255, 255, 255, .055) 69.06%, transparent 69.2%),
    linear-gradient(16deg, transparent 0 79%, rgba(240, 68, 132, .09) 79.06%, transparent 79.18%);
  opacity: .86;
  pointer-events: none;
  transform: translateZ(0);
}

.article-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -30vw;
  right: -17vw;
  display: block;
  width: min(76vw, 1180px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 126, 170, .1);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 43%, rgba(255, 126, 170, .11) 43.1% 43.3%, transparent 43.5% 57%, rgba(255, 255, 255, .055) 57.1% 57.25%, transparent 57.45%),
    radial-gradient(circle at 38% 62%, rgba(225, 29, 95, .18), rgba(130, 10, 57, .055) 34%, transparent 64%);
  box-shadow: 0 0 110px rgba(225, 29, 95, .075), inset 0 0 90px rgba(225, 29, 95, .035);
  opacity: .9;
  pointer-events: none;
}

.article-hero .hero-copy-reference {
  align-self: center;
  display: flex;
  max-width: 640px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  text-align: left;
}

.article-hero .hero-copy-reference .hero-heading-group {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 3.4vh, 34px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 10px 20px;
  border: 1px solid rgba(240, 68, 132, .38);
  border-radius: 999px;
  background: rgba(240, 68, 132, .09);
  color: #d7cbd0;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .015em;
}

.article-hero .hero-copy-reference h1 {
  max-width: none;
  margin: 0;
  color: #fffafb;
  font-size: clamp(50px, min(4.8vw, 7.8vh), 78px);
  line-height: 1.06;
  letter-spacing: -.055em;
  text-shadow: 0 8px 34px rgba(225, 29, 95, .13);
}

.article-hero .hero-copy-reference h1 span {
  display: block;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(92deg, #fff 0%, #fff7fa 50%, #f4a6ca 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.article-hero .hero-copy-reference h1 span:last-child {
  background-image: linear-gradient(92deg, #ffe7f1 0%, #f084bf 48%, #ff3f83 100%);
}

.article-hero .hero-copy-reference .hero-description {
  display: block;
  margin-top: clamp(22px, 3.2vh, 32px);
}

.article-hero .hero-copy-reference .hero-lead {
  max-width: 610px;
  margin: 0;
  color: #ada3a8;
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.8;
  letter-spacing: .01em;
}

.article-hero .hero-copy-reference .hero-actions {
  display: flex;
  margin: clamp(28px, 4.2vh, 42px) 0 0;
}

.article-hero .hero-copy-reference .hero-primary-action {
  min-width: 230px;
  min-height: 58px;
  justify-content: center;
  padding: 15px 30px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(115deg, #f52f79, #f04484 62%, #fa4d91);
  box-shadow: 0 13px 34px rgba(225, 29, 95, .32);
  font-size: 15px;
  font-weight: 850;
  text-align: center;
}

.article-hero .hero-gallery-frame {
  max-width: 760px;
}

@media (min-width: 981px) {
  .article-hero {
    grid-template-columns: minmax(430px, .92fr) minmax(520px, 1.08fr);
    gap: clamp(54px, 5.2vw, 96px);
    padding-right: clamp(54px, 6vw, 118px);
    padding-left: clamp(54px, 7vw, 138px);
  }
}

@media (min-width: 681px) and (max-width: 980px) {
  .article-hero {
    grid-template-columns: minmax(330px, .92fr) minmax(330px, 1.08fr);
    gap: 34px;
  }

  .hero-kicker {
    min-height: 40px;
    padding: 8px 15px;
    font-size: 11px;
  }

  .article-hero .hero-copy-reference h1 {
    font-size: clamp(34px, 4.65vw, 46px);
  }
}

@media (max-width: 680px) {
  .article-hero {
    display: flex;
    height: auto;
    min-height: 0;
    flex-direction: column;
    gap: 28px;
    padding: 32px 20px 38px;
  }

  .article-hero::before {
    inset: -8% -42%;
    opacity: .58;
  }

  .article-hero::after {
    top: 18%;
    right: -62vw;
    width: 128vw;
    opacity: .62;
  }

  .article-hero .hero-copy-reference {
    order: 1;
    display: flex;
    width: 100%;
  }

  .article-hero .hero-copy-reference .hero-heading-group {
    display: flex;
    gap: 19px;
    margin: 0;
    order: 0;
  }

  .hero-kicker {
    min-height: 38px;
    padding: 7px 14px;
    font-size: 10px;
  }

  .article-hero .hero-copy-reference h1 {
    font-size: clamp(31px, 9.35vw, 38px);
    line-height: 1.05;
  }

  .article-hero .hero-copy-reference .hero-description {
    order: 1;
    margin-top: 19px;
  }

  .article-hero .hero-copy-reference .hero-lead {
    font-size: 11px;
    line-height: 1.65;
  }

  .article-hero .hero-copy-reference .hero-actions {
    order: 2;
    width: auto;
    margin-top: 22px;
  }

  .article-hero .hero-copy-reference .hero-primary-action {
    width: auto;
    min-width: 205px;
    min-height: 50px;
    padding: 12px 24px;
    font-size: 12px;
  }

  .article-hero .hero-gallery-grid {
    order: 2;
    width: 100%;
    height: auto;
    margin: 0;
  }
}

@media (max-width: 420px) {
  .article-hero .hero-copy-reference h1 {
    font-size: clamp(29px, 8.8vw, 36px);
  }
}

/* Two complete character galleries */
.character-galleries {
  display: grid;
  gap: clamp(78px, 9vw, 130px);
}

.character-gallery-group {
  position: relative;
  min-width: 0;
}

.character-gallery-heading {
  position: relative;
  display: grid;
  gap: 9px;
  margin-bottom: 30px;
  padding: 0 0 21px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.character-gallery-heading::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 22px;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, #ff5998, var(--raspberry));
  box-shadow: 0 0 22px rgba(225, 29, 95, .42);
}

.character-gallery-heading::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: min(390px, 38%);
  height: 2px;
  background: linear-gradient(90deg, var(--raspberry), #f04484, transparent);
}

.character-gallery-heading p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #f084bf;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.character-gallery-heading p span {
  padding: 4px 8px;
  border: 1px solid rgba(240, 68, 132, .32);
  border-radius: 999px;
  color: #c9bdc2;
  font-size: 8px;
  letter-spacing: .1em;
}

.character-gallery-heading h3 {
  color: #fff;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -.055em;
}

.character-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.character-profile {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .045), rgba(17, 12, 15, .96));
  box-shadow: 0 20px 48px rgba(0, 0, 0, .2);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.character-profile > a {
  display: block;
  height: 100%;
}

.character-profile-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #170e13;
}

.character-profile-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 67%, rgba(8, 4, 7, .72));
  pointer-events: none;
}

.character-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(.92) contrast(1.03);
  transition: transform .45s ease, filter .35s ease;
}

.character-profile-image > span {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(225, 29, 95, .92);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(159, 18, 63, .35);
}

.character-profile-copy {
  display: grid;
  gap: 13px;
  padding: 18px 18px 20px;
}

.character-profile-copy h4 {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.character-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.character-tags span {
  padding: 5px 8px;
  border: 1px solid rgba(240, 68, 132, .25);
  border-radius: 999px;
  background: rgba(225, 29, 95, .08);
  color: #d6c6cd;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
}

.character-gallery-anime .character-gallery-heading::before {
  background: linear-gradient(180deg, #f69ac0, #b42b75);
}

.character-gallery-anime .character-profile {
  background: linear-gradient(155deg, rgba(240, 68, 132, .055), rgba(17, 12, 15, .96));
}

@media (hover: hover) {
  .character-profile:hover {
    z-index: 1;
    border-color: rgba(240, 68, 132, .58);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .33), 0 0 32px rgba(225, 29, 95, .13);
    transform: translateY(-7px);
  }

  .character-profile:hover .character-profile-image img {
    transform: scale(1.035);
    filter: saturate(1.03) contrast(1.04);
  }
}

@media (max-width: 980px) {
  .character-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-section .split-heading {
    margin-bottom: 56px;
  }

  .character-galleries {
    gap: 76px;
  }

  .character-gallery-heading {
    margin-bottom: 20px;
    padding: 0 0 17px 16px;
  }

  .character-gallery-heading::before {
    bottom: 18px;
  }

  .character-gallery-heading h3 {
    font-size: clamp(27px, 8.2vw, 36px);
  }

  .character-gallery-grid {
    gap: 10px;
  }

  .character-profile {
    border-radius: 12px;
  }

  .character-profile-image > span {
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    font-size: 7px;
  }

  .character-profile-copy {
    gap: 9px;
    padding: 12px 10px 14px;
  }

  .character-profile-copy h4 {
    font-size: clamp(16px, 4.7vw, 21px);
  }

  .character-tags {
    gap: 4px;
  }

  .character-tags span {
    padding: 4px 6px;
    font-size: 7px;
  }
}

@media (max-width: 350px) {
  .character-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Character galleries as accessible horizontal sliders */
.character-gallery-heading {
  padding-right: 142px;
}

.character-slider-controls {
  position: absolute;
  right: 0;
  bottom: 18px;
  display: flex;
  gap: 8px;
}

.character-slider-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(240, 68, 132, .48);
  border-radius: 50%;
  background: rgba(225, 29, 95, .12);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease;
}

.character-slider-arrow:hover:not(:disabled),
.character-slider-arrow:focus-visible:not(:disabled) {
  border-color: #f65b96;
  background: var(--raspberry);
  outline: none;
  transform: translateY(-2px);
}

.character-slider-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.character-slider-arrow:disabled {
  opacity: .28;
  cursor: default;
}

.character-gallery-grid {
  --character-slider-gap: clamp(16px, 2vw, 28px);
  display: flex;
  gap: var(--character-slider-gap);
  padding: 1px 1px 18px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.character-gallery-grid::-webkit-scrollbar {
  display: none;
}

.character-gallery-grid:focus-visible {
  outline: 2px solid rgba(240, 68, 132, .7);
  outline-offset: 7px;
}

.character-gallery-grid .character-profile {
  flex: 0 0 calc((100% - (var(--character-slider-gap) * 2)) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@media (max-width: 980px) {
  .character-gallery-grid .character-profile {
    flex-basis: calc((100% - var(--character-slider-gap)) / 2);
  }
}

@media (max-width: 640px) {
  .character-gallery-heading {
    padding-right: 0;
  }

  .character-slider-controls {
    position: static;
    margin-top: 8px;
  }

  .character-slider-arrow {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .character-gallery-grid {
    --character-slider-gap: 12px;
    margin-right: -20px;
    padding-right: 20px;
  }

  .character-gallery-grid .character-profile {
    flex-basis: 84%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .character-gallery-grid {
    scroll-behavior: auto;
  }
}

/* Generation formats: four vertical content cards */
#generation .formats-editor-list.jp-generation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(14px, 1.7vw, 22px);
  padding: 0;
  background: transparent;
}

#generation .formats-editor-item {
  min-height: 590px;
  border: 1px solid rgba(231, 30, 109, .48);
  border-radius: 20px;
  background:
    linear-gradient(155deg, rgba(255, 95, 148, .055), transparent 42%),
    linear-gradient(145deg, #161014, #0d0b0c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 20px 48px rgba(0, 0, 0, .22);
}

#generation .formats-editor-item:nth-child(2),
#generation .formats-editor-item:nth-child(4) {
  background:
    linear-gradient(155deg, rgba(255, 95, 148, .04), transparent 42%),
    linear-gradient(145deg, #1c1b1c, #111);
}

#generation .formats-editor-item::before {
  right: 28%;
  width: auto;
  height: 2px;
  background: linear-gradient(90deg, var(--raspberry), #ff75aa, transparent);
}

#generation .formats-editor-item.has-background::after {
  background: linear-gradient(180deg, rgba(7, 7, 7, .9), rgba(9, 7, 8, .84) 58%, rgba(18, 8, 13, .94));
}

#generation .formats-editor-bg {
  filter: brightness(.5) saturate(.72);
}

#generation .formats-editor-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: clamp(26px, 2.5vw, 36px) clamp(20px, 2vw, 30px);
}

#generation .formats-editor-number {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 116, 166, .36);
  border-radius: 16px;
  background: rgba(225, 29, 95, .16);
  color: #ff5f98;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(225, 29, 95, .16);
}

#generation .formats-editor-body {
  width: 100%;
  min-width: 0;
}

#generation .formats-editor-body h3 {
  margin: 0 0 18px;
  color: #fff8fb;
  font-family: inherit;
  font-size: clamp(19px, 1.55vw, 25px);
  font-weight: 850;
  line-height: 1.38;
  letter-spacing: -.025em;
  word-break: auto-phrase;
}

#generation .formats-editor-body h4 {
  margin: 28px 0 10px;
  color: #ff9fbe;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: -.01em;
  word-break: auto-phrase;
}

#generation .formats-editor-body p {
  margin: 0 0 12px;
  color: #aaa1a6;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.85;
}

#generation .formats-editor-item.has-background .formats-editor-body p {
  color: #c4bbc0;
}

@media (hover: hover) {
  #generation .formats-editor-item {
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  }

  #generation .formats-editor-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 95, 148, .82);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .3), 0 0 34px rgba(225, 29, 95, .08);
  }
}

@media (max-width: 980px) {
  #generation .formats-editor-list.jp-generation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #generation .formats-editor-item {
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  #generation .formats-editor-list.jp-generation-grid {
    grid-template-columns: 1fr;
  }

  #generation .formats-editor-item {
    min-height: 0;
    border-radius: 18px;
  }

  #generation .formats-editor-content {
    padding: 24px 20px 28px;
  }

  #generation .formats-editor-number {
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 14px;
  }

  #generation .formats-editor-body h3 {
    font-size: 20px;
  }

  #generation .formats-editor-body h4 {
    font-size: 13px;
  }

  #generation .formats-editor-body p {
    font-size: 13px;
  }
}

/* How-to: single-line heading and focused conversion action */
#how-to .definition-section-head h2 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(38px, 5.6vw, 82px);
}

#how-to .definition-section-head h2 em {
  display: inline;
}

.how-to-action {
  display: flex;
  justify-content: center;
  margin-top: clamp(30px, 4vw, 50px);
}

.how-to-action .button {
  min-width: min(100%, 260px);
  min-height: 54px;
  justify-content: center;
  gap: 22px;
  box-shadow: 0 16px 36px rgba(225, 29, 95, .24);
}

@media (max-width: 640px) {
  #how-to .definition-section-head h2 {
    font-size: clamp(29px, 9vw, 44px);
  }

  .how-to-action .button {
    width: 100%;
  }
}

/* Video galleries: character-gallery visual language with hover playback */
.video-gallery-section .split-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .58fr);
  align-items: start;
  gap: clamp(42px, 7vw, 110px);
  margin-bottom: 46px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.video-gallery-section .split-heading::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: min(360px, 34%);
  height: 2px;
  background: linear-gradient(90deg, var(--raspberry), #ff7eaa, transparent);
}

.video-gallery-section .split-heading > div {
  max-width: 760px;
}

.video-gallery-section .split-heading .eyebrow {
  justify-content: flex-start;
  margin-bottom: 18px;
}

.video-gallery-section .split-heading h2 {
  margin: 0;
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: .92;
  text-align: left;
}

.video-gallery-section .split-heading > p {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 490px;
  margin: 34px 0 0;
  padding: 42px 30px 28px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-left: 2px solid var(--raspberry);
  background: linear-gradient(145deg, rgba(231, 30, 109, .1), rgba(216, 27, 96, .055));
  color: #cfc0d5;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.video-gallery-section .split-heading > p::before {
  content: "AI動画 · 18+";
  position: absolute;
  top: 16px;
  left: 30px;
  color: #f084bf;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .15em;
}

.video-gallery-groups {
  display: grid;
  gap: clamp(58px, 8vw, 96px);
  margin-top: 0;
}

.video-gallery-group {
  min-width: 0;
}

.video-gallery-heading {
  position: relative;
  display: grid;
  gap: 9px;
  margin-bottom: 30px;
  padding: 0 142px 21px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.video-gallery-heading h3 {
  margin: 0;
  color: #f084bf;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -.055em;
}

.video-gallery-heading::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 22px;
  left: 0;
  width: 3px;
  height: auto;
  background: linear-gradient(180deg, #ff5998, var(--raspberry));
  box-shadow: 0 0 22px rgba(225, 29, 95, .42);
}

.video-gallery-heading::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: min(390px, 38%);
  height: 2px;
  background: linear-gradient(90deg, var(--raspberry), #f04484, transparent);
}

.video-slider-controls {
  bottom: 18px;
}

.video-slider-track {
  --character-slider-gap: clamp(16px, 2vw, 28px);
}

.video-slider-track .video-card {
  flex: 0 0 calc((100% - (var(--character-slider-gap) * 2)) / 3);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(240, 68, 132, .24);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(240, 68, 132, .055), rgba(17, 12, 15, .96));
  scroll-snap-align: start;
  scroll-snap-stop: always;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.video-card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #090709;
}

.video-card-media::before {
  content: "▶";
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(54px, 4.7vw, 72px);
  aspect-ratio: 1;
  place-items: center;
  padding-left: .12em;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background: rgba(26, 20, 18, .78);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .34);
  color: #fff;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  backdrop-filter: blur(5px);
  transition: opacity .2s ease, transform .2s ease;
}

.video-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(4, 3, 4, .76));
  pointer-events: none;
  transition: opacity .2s ease;
}

.video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #090709;
  filter: saturate(.9) contrast(1.025);
}

.video-card-number {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background: rgba(7, 5, 6, .72);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
  backdrop-filter: blur(8px);
}

.video-card-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 20px;
}

.video-card-copy h4 {
  margin: 0;
  color: #fff;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.video-card-copy > span {
  flex: 0 0 auto;
  color: #ff76a9;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
}

@media (hover: hover) {
  .video-card:hover,
  .video-card:focus-within {
    z-index: 1;
    border-color: rgba(240, 68, 132, .68);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .34), 0 0 34px rgba(225, 29, 95, .12);
    transform: translateY(-6px);
    outline: none;
  }

  .video-card:hover .video-card-media::before,
  .video-card:focus-within .video-card-media::before {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.88);
  }

  .video-card:hover .video-card-media::after,
  .video-card:focus-within .video-card-media::after {
    opacity: .28;
  }
}

.video-card.is-playing .video-card-media::before {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.88);
}

@media (max-width: 980px) {
  .video-slider-track .video-card {
    flex-basis: calc((100% - var(--character-slider-gap)) / 2);
  }
}

@media (max-width: 640px) {
  .video-gallery-section .split-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 56px;
    padding-bottom: 30px;
  }

  .video-gallery-section .split-heading h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .video-gallery-section .split-heading > p {
    max-width: none;
    margin-top: 0;
    padding: 38px 20px 21px;
    font-size: 12px;
  }

  .video-gallery-section .split-heading > p::before {
    top: 14px;
    left: 20px;
  }

  .video-gallery-heading {
    display: block;
    padding-right: 0;
    padding-bottom: 17px;
    padding-left: 16px;
  }

  .video-slider-controls {
    position: static;
    margin-top: 8px;
  }

  .video-slider-track {
    --character-slider-gap: 12px;
  }

  .video-slider-track .video-card {
    flex-basis: 84%;
    border-radius: 15px;
  }

  .video-card-copy {
    padding: 15px 14px 17px;
  }
}

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

  .video-slider-track .video-card {
    transition: none;
  }
}

/* Six cards visible per gallery on desktop */
@media (min-width: 981px) {
  .character-gallery-grid,
  .video-slider-track {
    --character-slider-gap: clamp(10px, 1vw, 14px);
  }

  .character-gallery-grid .character-profile,
  .video-slider-track .video-card {
    flex-basis: calc((100% - (var(--character-slider-gap) * 5)) / 6);
  }

  .character-profile,
  .video-slider-track .video-card {
    border-radius: 13px;
  }

  .character-profile-image > span,
  .video-card-number {
    top: 9px;
    left: 9px;
    width: 30px;
    height: 30px;
    font-size: 7px;
  }

  .character-profile-copy {
    gap: 9px;
    padding: 13px 11px 15px;
  }

  .character-profile-copy h4 {
    font-size: clamp(15px, 1.3vw, 18px);
  }

  .character-tags {
    gap: 4px;
  }

  .character-tags span {
    padding: 4px 6px;
    font-size: 7px;
  }

  .video-card-copy {
    display: block;
    padding: 12px 10px 14px;
  }

  .video-card-copy h4 {
    font-size: clamp(13px, 1.1vw, 16px);
  }

  .video-card-copy > span {
    display: block;
    margin-top: 6px;
    font-size: 6px;
  }
}

/* Keep the compact slider controls in the same raspberry button family. */
.character-slider-arrow {
  border-color: rgba(255, 126, 170, .72);
  background: linear-gradient(135deg, var(--raspberry-dark), var(--raspberry) 56%, #f65a93);
  box-shadow: 0 9px 24px rgba(225, 29, 95, .22), inset 0 1px rgba(255, 255, 255, .18);
  font-weight: 850;
}

.character-slider-arrow:hover:not(:disabled),
.character-slider-arrow:focus-visible:not(:disabled) {
  border-color: #ff9abd;
  background: linear-gradient(135deg, #b8134a, #ef286e 56%, #ff72a5);
  box-shadow: 0 13px 30px rgba(225, 29, 95, .32), inset 0 1px rgba(255, 255, 255, .24);
  filter: brightness(1.06);
}

.character-slider-arrow:disabled {
  border-color: rgba(255, 126, 170, .2);
  background: linear-gradient(135deg, rgba(159, 18, 63, .28), rgba(225, 29, 95, .2));
  box-shadow: none;
  opacity: .46;
}

/* Match every framed introduction panel to the compact gallery reference. */
.gallery-section .split-heading > p,
.formats-editor-intro.info-panel {
  box-sizing: border-box;
  width: 100%;
  max-width: 490px;
  padding: 42px 30px 28px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-left: 2px solid var(--raspberry);
  background: linear-gradient(145deg, rgba(231, 30, 109, .1), rgba(216, 27, 96, .055));
  color: #cfc0d5;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.formats-editor-intro.info-panel::before {
  content: "AIコンテンツ生成 · 18+";
}

.gallery-section .split-heading > p::before,
.formats-editor-intro.info-panel::before {
  position: absolute;
  top: 16px;
  left: 30px;
  color: #f084bf;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .15em;
}

.formats-editor-intro.info-panel p {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.formats-editor-intro.info-panel p + p {
  margin-top: 10px;
}

@media (max-width: 680px) {
  .gallery-section .split-heading > p,
  .formats-editor-intro.info-panel {
    max-width: none;
    padding: 38px 20px 21px;
    font-size: 12px;
  }

  .gallery-section .split-heading > p::before,
  .formats-editor-intro.info-panel::before {
    top: 14px;
    left: 20px;
  }
}

/* Unified site typography hierarchy */
:root {
  --type-h1: clamp(64px, 5vw, 72px);
  --type-h2: clamp(48px, 4vw, 56px);
  --type-h3: clamp(22px, 1.8vw, 24px);
  --type-h4: 18px;
  --type-body: 16px;
  --type-faq-question: 17px;
  --type-small: 12px;
  --type-copy-color: #bdb3b9;
  --type-h2-accent: #f084bf;
  --type-h3-accent: #ff4f8c;
  --type-h4-accent: #f6b6cf;
}

body {
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.75;
}

body h1,
body h2,
body h3,
body h4 {
  font-family: inherit;
  text-wrap: balance;
}

body h1,
body .article-page h1,
body .article-hero .hero-copy-reference h1 {
  color: #fff7fa;
  font-size: var(--type-h1) !important;
  font-weight: 950 !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
  text-shadow: 0 10px 38px rgba(225, 29, 95, .24);
}

body h1 span,
body .article-hero .hero-copy-reference h1 span {
  color: transparent;
  background: linear-gradient(92deg, #ffffff 0%, #ffe8f1 44%, #f084bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

body .article-hero .hero-copy-reference h1 span {
  white-space: normal;
  overflow-wrap: normal;
  word-break: auto-phrase;
}

body h1 span:last-child,
body .article-hero .hero-copy-reference h1 span:last-child {
  background-image: linear-gradient(92deg, #ffb2d0 0%, #f04484 52%, #e11d5f 100%);
}

body .article-hero .hero-copy-reference h1 span.hero-title-accent {
  background-image: linear-gradient(92deg, #ffb2d0 0%, #f04484 52%, #e11d5f 100%);
}

body .article-hero .hero-copy-reference h1 span.hero-title-nowrap {
  white-space: nowrap;
}

body h2,
body .article-page h2,
body .section-heading h2,
body .gallery-section .split-heading h2,
body .video-gallery-section .split-heading h2,
body .formats-editor-copy h2,
body .definition-section-head h2,
body .faq-section-head h2,
body .final-cta .final-cta-copy h2 {
  color: #fff7fa;
  font-size: var(--type-h2) !important;
  font-weight: 900 !important;
  font-style: normal !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
}

body h2 em,
body .article-page h2 em,
body .section-heading h2 em,
body .gallery-section .split-heading h2 em,
body .video-gallery-section .split-heading h2 em,
body .formats-editor-copy h2 em,
body .definition-section-head h2 em,
body .faq-section-head h2 em,
body .final-cta .final-cta-copy h2 em {
  display: inline !important;
  color: var(--type-h2-accent) !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, Georgia, serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
}

body h3,
body .article-page h3,
body .character-gallery-heading h3,
body .video-gallery-heading h3,
body #generation .formats-editor-body h3 {
  color: var(--type-h3-accent) !important;
  font-size: var(--type-h3) !important;
  font-weight: 850 !important;
  font-style: normal !important;
  line-height: 1.22 !important;
  letter-spacing: -.025em !important;
}

body h4,
body .character-profile-copy h4,
body .video-card-copy h4,
body #generation .formats-editor-body h4 {
  color: var(--type-h4-accent) !important;
  font-size: var(--type-h4) !important;
  font-weight: 800 !important;
  font-style: normal !important;
  line-height: 1.35 !important;
  letter-spacing: -.012em !important;
}

body main p:not(.eyebrow):not(.hero-kicker) {
  color: var(--type-copy-color);
  font-family: inherit;
  font-size: var(--type-body) !important;
  font-weight: 400;
  line-height: 1.75 !important;
  letter-spacing: 0;
}

body .faq-section .faq-list summary h3 {
  font-size: var(--type-faq-question) !important;
  line-height: 1.45 !important;
}

body small,
body .eyebrow,
body .hero-kicker,
body .ticker,
body .character-profile-image > span,
body .character-tags span,
body .feature-board-number,
body .feature-board-tags span,
body .formats-editor-number,
body .definition-step-number,
body .video-card-number,
body .video-tags span,
body .how-to-tags span,
body .gallery-section .split-heading > p::before,
body .formats-editor-intro.info-panel::before {
  font-size: var(--type-small) !important;
}

@media (max-width: 680px) {
  :root {
    --type-h1: 48px;
    --type-h2: 40px;
    --type-h3: 20px;
    --type-h4: 16px;
    --type-body: 14px;
    --type-faq-question: 14px;
    --type-small: 11px;
  }
}

/* Individual video titles and tags */
.video-card-copy {
  display: block;
}

.video-card-copy h4 {
  min-height: 2.7em;
  margin: 0;
}

.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.video-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 4px 7px;
  border: 1px solid rgba(240, 68, 132, .3);
  border-radius: 999px;
  background: rgba(225, 29, 95, .1);
  color: #ff91b8;
  font-size: 7px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .035em;
}

@media (max-width: 680px) {
  .video-card-copy h4 {
    min-height: 0;
  }

  .video-tags span {
    min-height: 24px;
    padding: 5px 8px;
    font-size: 8px;
  }
}

/* How-to cards: feature-card language with a distinct plum accent */
#how-to .jp-steps {
  gap: clamp(14px, 1.7vw, 22px);
  padding: 0;
  background: transparent;
}

#how-to .jp-steps article,
#how-to .jp-steps article:nth-child(even) {
  position: relative;
  display: flex;
  min-height: clamp(360px, 31vw, 455px);
  flex-direction: column;
  gap: 0;
  padding: clamp(26px, 2.7vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(184, 61, 142, .62);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 4%, rgba(184, 61, 142, .15), transparent 36%),
    linear-gradient(145deg, rgba(33, 14, 28, .98), rgba(15, 10, 14, .98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 22px 56px rgba(0, 0, 0, .25);
}

#how-to .jp-steps article:nth-child(2) {
  background:
    radial-gradient(circle at 88% 8%, rgba(121, 56, 135, .17), transparent 38%),
    linear-gradient(145deg, rgba(29, 15, 28, .98), rgba(14, 10, 15, .98));
}

#how-to .jp-steps article:nth-child(3) {
  background:
    radial-gradient(circle at 16% 6%, rgba(210, 60, 126, .14), transparent 37%),
    linear-gradient(145deg, rgba(31, 13, 24, .98), rgba(15, 10, 14, .98));
}

#how-to .jp-steps article::before {
  width: 62%;
  height: 2px;
  background: linear-gradient(90deg, #b83d8e, #e05296, transparent);
}

#how-to .jp-steps article::after {
  content: "";
  position: absolute;
  inset: auto 12% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 75, 151, .72), transparent);
}

#how-to .jp-steps article > div {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

#how-to .definition-step-number {
  width: 52px;
  height: 52px;
  margin-bottom: clamp(28px, 3vw, 42px);
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .2);
  background: linear-gradient(145deg, #a72e82, #d83d88);
  box-shadow: 0 12px 30px rgba(126, 38, 104, .34);
}

#how-to .jp-steps h3 {
  margin: 0 0 18px;
  color: #ec7fbb !important;
}

#how-to .jp-steps p {
  max-width: none;
}

#how-to .how-to-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

#how-to .how-to-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 11px;
  border: 1px solid rgba(184, 61, 142, .32);
  border-radius: 999px;
  background: rgba(126, 38, 104, .16);
  color: #e88abb;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

@media (hover: hover) {
  #how-to .jp-steps article {
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  }

  #how-to .jp-steps article:hover {
    transform: translateY(-4px);
    border-color: rgba(224, 82, 150, .86);
    box-shadow: 0 26px 62px rgba(0, 0, 0, .32), 0 0 36px rgba(126, 38, 104, .11);
  }
}

@media (max-width: 980px) {
  #how-to .jp-steps {
    grid-template-columns: 1fr;
  }

  #how-to .jp-steps article,
  #how-to .jp-steps article:nth-child(even) {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  #how-to .jp-steps article,
  #how-to .jp-steps article:nth-child(even) {
    padding: 24px 20px;
    border-radius: 18px;
  }

  #how-to .definition-step-number {
    width: 44px;
    height: 44px;
    margin-bottom: 24px;
  }

  #how-to .how-to-tags {
    padding-top: 20px;
  }
}

/* Background image for the real/anime styles feature card */
#features .feature-board-card-image {
  background:
    linear-gradient(180deg, rgba(12, 4, 10, .72) 0%, rgba(13, 5, 11, .78) 38%, rgba(10, 4, 8, .95) 100%),
    radial-gradient(circle at 18% 8%, rgba(236, 80, 154, .18), transparent 42%),
    url("./assets/editorial/feature-style-card-bg.webp") center 34% / cover no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .05),
    inset 0 -120px 120px rgba(8, 3, 7, .38),
    0 22px 58px rgba(0, 0, 0, .3);
}

#features .feature-board-card-image h3,
#features .feature-board-card-image h4,
#features .feature-board-card-image p,
#features .feature-board-card-image .feature-board-tags {
  position: relative;
  z-index: 1;
}

#features .feature-board-card-image h3,
#features .feature-board-card-image h4 {
  text-shadow: 0 3px 16px rgba(0, 0, 0, .92);
}

#features .feature-board-card-image p {
  color: #d0c3ca;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .96);
}

/* Hero and closing banners: deep burgundy backdrop from the supplied reference */
.article-hero,
.final-cta {
  margin: clamp(8px, 1vw, 16px);
  overflow: hidden;
  border: 1px solid rgba(110, 31, 61, .2);
  border-radius: clamp(22px, 2vw, 34px);
  background:
    radial-gradient(ellipse 72% 92% at 8% 3%, rgba(111, 20, 54, .22), transparent 64%),
    radial-gradient(ellipse 62% 82% at 96% 96%, rgba(74, 12, 37, .18), transparent 68%),
    linear-gradient(124deg, #17090f 0%, #0c0709 48%, #12080d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .018),
    inset 0 -90px 130px rgba(15, 3, 9, .2);
}

.final-cta {
  background:
    radial-gradient(ellipse 68% 88% at 92% 4%, rgba(111, 20, 54, .2), transparent 65%),
    radial-gradient(ellipse 60% 78% at 4% 96%, rgba(74, 12, 37, .18), transparent 68%),
    linear-gradient(118deg, #15090f 0%, #0b0709 50%, #13080d 100%);
  background-size: auto;
}

.article-hero::before,
.final-cta::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 16% 21%, rgba(139, 31, 71, .55) 0 5px, transparent 6px),
    radial-gradient(circle at 41% 72%, rgba(104, 22, 56, .38) 0 6px, transparent 7px),
    radial-gradient(circle at 61% 15%, rgba(119, 26, 63, .4) 0 4px, transparent 5px),
    radial-gradient(circle at 82% 31%, rgba(126, 27, 65, .46) 0 5px, transparent 6px),
    radial-gradient(circle at 91% 62%, rgba(139, 31, 71, .55) 0 5px, transparent 6px),
    radial-gradient(circle at 27% 88%, rgba(105, 21, 55, .34) 0 4px, transparent 5px);
  box-shadow: none;
  opacity: .68;
  pointer-events: none;
  transform: none;
}

.article-hero::after,
.final-cta::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 48% 72% at 50% 42%, rgba(92, 15, 45, .095), transparent 72%);
  box-shadow: inset 0 0 120px rgba(5, 2, 4, .22);
  opacity: 1;
  pointer-events: none;
}

@media (max-width: 680px) {
  .article-hero,
  .final-cta {
    margin: 6px;
    border-radius: 20px;
  }

  .article-hero::before,
  .final-cta::before {
    inset: 0;
    opacity: .5;
    transform: none;
  }

  .article-hero::after,
  .final-cta::after {
    inset: 0;
    width: auto;
    height: auto;
    opacity: 1;
  }
}

/* Unified numbered badges across cards, galleries and steps */
:root {
  --block-number-size: clamp(42px, 3vw, 52px);
}

body .character-profile-image > span,
body .formats-editor-number,
body .feature-board-number,
body .definition-step-number,
body .video-card-number{
  display: grid !important;
  width: var(--block-number-size) !important;
  height: var(--block-number-size) !important;
  min-width: var(--block-number-size) !important;
  min-height: var(--block-number-size) !important;
  flex: 0 0 var(--block-number-size) !important;
  padding: 0 !important;
  place-items: center !important;
  border: 2px solid rgba(255, 119, 166, .82) !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg, #ed2b70 0%, #d91d60 100%) !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;
  text-shadow: 0 1px 2px rgba(80, 0, 30, .24);
  box-shadow:
    0 9px 24px rgba(225, 29, 95, .34),
    inset 0 1px 0 rgba(255, 255, 255, .2) !important;
  backdrop-filter: none !important;
}

@media (max-width: 680px) {
  :root {
    --block-number-size: 42px;
  }

  body .character-profile-image > span,
  body .formats-editor-number,
  body .feature-board-number,
  body .definition-step-number,
  body .video-card-number{
    font-size: 11px !important;
  }
}

/* More compact rhythm between the page's main content blocks. */
.article-page > .section,
.article-page > .content-section {
  padding-top: clamp(72px, 6.4vw, 88px);
  padding-bottom: clamp(72px, 6.4vw, 88px);
}

.character-galleries {
  gap: clamp(52px, 6vw, 82px);
}

.video-gallery-groups {
  gap: clamp(42px, 5vw, 64px);
}

.gallery-section .split-heading,
.formats-section-head,
.feature-section-head,
.definition-section-head,
.faq-section-head,
.video-gallery-section .split-heading {
  margin-bottom: clamp(30px, 3vw, 38px);
}

@media (max-width: 680px) {
  .article-page > .section,
  .article-page > .content-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .character-galleries {
    gap: 48px;
  }

  .video-gallery-groups {
    gap: 42px;
  }

  .gallery-section .split-heading,
  .formats-section-head,
  .feature-section-head,
  .definition-section-head,
  .faq-section-head,
  .video-gallery-section .split-heading {
    margin-bottom: 28px;
  }
}

/* Mobile alignment and a compact, readable closing banner. */
@media (max-width: 680px) {
  .site-header .button,
  .article-page .button {
    margin-right: auto;
    margin-left: auto;
  }

  .article-page .hero-actions,
  .character-gallery-action,
  .video-gallery-action,
  .how-to-action,
  .final-actions {
    width: 100%;
    justify-content: center !important;
    justify-items: center;
    align-items: center;
    text-align: center;
  }

  .character-gallery-action .button,
  .video-gallery-action .button,
  .how-to-action .button,
  .final-actions .button {
    width: min(100%, 380px) !important;
    min-width: 0;
    flex: 0 1 380px !important;
  }

  .character-gallery-heading,
  .video-gallery-heading {
    padding-right: 0;
  }

  .character-slider-controls,
  .video-slider-controls {
    position: static;
    right: auto;
    bottom: auto;
    left: auto;
    display: flex;
    width: calc(100% + 16px);
    justify-content: center;
    gap: 10px;
    margin: 14px 0 0 -16px;
    transform: none;
  }

  .article-hero .hero-copy-reference .hero-actions {
    width: 100%;
    justify-content: center;
  }

  .article-hero .hero-copy-reference .hero-primary-action {
    width: min(100%, 380px);
    margin-right: auto;
    margin-left: auto;
  }

  .final-cta {
    box-sizing: border-box;
    width: auto;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 26px 16px 22px;
  }

  .final-cta-copy {
    box-sizing: border-box;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 22px 18px 20px;
    border: 1px solid rgba(240, 68, 132, .3);
    border-top: 3px solid var(--raspberry);
    border-radius: 18px;
    background:
      radial-gradient(circle at 92% 7%, rgba(225, 29, 95, .15), transparent 34%),
      linear-gradient(145deg, rgba(30, 11, 21, .94), rgba(13, 8, 11, .94));
    box-shadow: 0 18px 42px rgba(0, 0, 0, .26), inset 0 1px rgba(255, 255, 255, .035);
  }

  .final-cta .final-cta-copy .eyebrow {
    justify-content: flex-start;
    margin-bottom: 14px;
    font-size: var(--type-small) !important;
  }

  body .final-cta .final-cta-copy h2 {
    max-width: none;
    font-size: clamp(30px, 9vw, 36px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.045em !important;
    text-align: left;
  }

  body .final-cta .final-cta-copy h2 em,
  .final-title-lead,
  .final-title-accent-line {
    display: block !important;
  }

  .final-title-lead,
  .final-title-accent-line {
    white-space: nowrap;
  }

  .final-title-lead {
    margin-bottom: 2px;
  }

  .final-cta .final-cta-copy > p:not(.eyebrow) {
    max-width: none;
    margin: 13px 0 0;
  }

  .final-cta .final-actions {
    display: flex;
    margin-top: 18px;
  }

  .final-cta .final-actions .button {
    min-height: 46px;
    margin-top: 0;
    padding: 10px 16px;
    font-size: 11px;
  }

  .final-cta-gallery {
    width: min(100%, 390px);
    height: 230px;
    min-height: 230px;
    max-height: none;
    margin: 0 auto;
  }

  .final-cta-gallery .hero-collage {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
  }
}

/* Mobile footer: brand, age note and back-to-top control in one row. */
@media (max-width: 680px) {
  .site-footer {
    grid-template-columns: auto minmax(0, 1fr) auto;
    justify-items: stretch;
    align-items: center;
    gap: 10px;
    min-height: 78px;
    padding: 12px 14px;
    text-align: left;
  }

  .site-footer::after {
    display: none;
  }

  .footer-brand {
    min-width: 0;
    gap: 8px;
  }

  .footer-brand .brand-logo {
    width: 64px;
    height: auto;
    flex: 0 0 64px;
  }

  .footer-brand .brand-copy {
    font-size: 14px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .footer-brand .brand-copy small {
    display: none;
  }

  .site-footer > p {
    min-width: 0;
    font-size: 9px;
    line-height: 1.35;
    letter-spacing: .035em;
    text-align: center;
    white-space: nowrap;
  }

  .site-footer nav {
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .site-footer .to-top {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }
}

@media (max-width: 350px) {
  .site-footer {
    gap: 7px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .footer-brand {
    gap: 6px;
  }

  .footer-brand .brand-logo {
    width: 56px;
    height: auto;
    flex-basis: 56px;
  }

  .footer-brand .brand-copy {
    font-size: 12px;
  }

  .site-footer > p {
    font-size: 8px;
  }
}
