:root {
    --dark: #0a0a0f;
    --accent: #5bbccc;
    --accent-light: #8ad3e0;
    --accent-dim: rgba(91,188,204,0.12);
    --accent-border: rgba(91,188,204,0.25);
    --bg-light: #f8f7f5;
    --bg-white: #ffffff;
    --bg-gray: #f2f1ef;
    --text-dark: #1a1a1f;
    --text-mid: #555560;
    --text-light: #999;
    --border-light: #e8e6e2;
    --shadow: 0 4px 24px rgba(0,0,0,0.07);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.13);
  }
  * { margin:0; padding:0; box-sizing:border-box; }
  html { scroll-behavior:smooth; }
  body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    color: var(--text-dark);
    background: var(--bg-light);
  }

  /* AGE BANNER */
  .age-banner {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 201;
    background: var(--dark);
    border-bottom: 1px solid rgba(91,188,204,0.15);
    padding: 8px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: #555;
    letter-spacing: 0.05em;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }
  .age-banner.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }
  .age-badge {
    background: #c0392b;
    color: white;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-right: 8px;
    border-radius: 2px;
  }

  /* HEADER */
  header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
    padding: 0;
    transition: top 0.3s;
  }
  header.scrolled { top: 0; }
  .header-inner {
    background: rgba(10,10,15,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(91,188,204,0.12);
    padding: 14px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo { text-decoration: none; }
  .logo-main {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--accent);
    letter-spacing: 0.06em;
    display: block;
    line-height: 1;
  }
  .logo-sub {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.68rem;
    color: #fff;
    letter-spacing: 0.28em;
    display: block;
    margin-top: 2px;
  }
  nav { display:flex; gap:26px; align-items:center; }
  nav a {
    color: #777;
    text-decoration: none;
    font-size: 0.77rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: color 0.3s;
    position: relative;
  }
  nav a::after {
    content:''; position:absolute; bottom:-4px; left:0;
    width:0; height:1px; background:var(--accent); transition:width 0.3s;
  }
  nav a:hover { color:var(--accent); }
  nav a:hover::after { width:100%; }
  .nav-new {
    background:#c0392b; color:white; font-size:0.58rem;
    padding:2px 6px; border-radius:20px; font-weight:700;
  }

  /* HERO */
  .hero {
    background: var(--dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: 0; overflow: hidden;
  }
  .hero-bg::before {
    content:''; position:absolute;
    top:-20%; right:-10%;
    width:70vw; height:70vw; border-radius:50%;
    background: radial-gradient(circle, rgba(91,188,204,0.07) 0%, transparent 60%);
    animation: pulse 8s ease-in-out infinite;
  }
  .hero-bg::after {
    content:''; position:absolute;
    bottom:-20%; left:-10%;
    width:50vw; height:50vw; border-radius:50%;
    background: radial-gradient(circle, rgba(91,188,204,0.04) 0%, transparent 60%);
    animation: pulse 10s ease-in-out 2s infinite reverse;
  }
  @keyframes pulse {
    0%,100%{transform:scale(1);opacity:1;}
    50%{transform:scale(1.1);opacity:0.7;}
  }
  .hero-grid {
    position:absolute; inset:0;
    background-image:
      linear-gradient(rgba(91,188,204,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(91,188,204,0.04) 1px, transparent 1px);
    background-size:50px 50px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  }
  .hero-decoration {
    position: absolute;
    right: 5%; top: 50%;
    transform: translateY(-50%);
    width: 42%; height: 78%;
    opacity: 0.55;
    pointer-events: none;
  }
  .hero-decoration svg { width:100%; height:100%; }

  .hero-content { position:relative; z-index:1; max-width:680px; }

  .hero-eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.45em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
  }
  .hero-eyebrow::before {
    content:''; display:block;
    width:32px; height:1px; background:var(--accent);
  }
  .hero-title {
    font-weight: 900;
    font-size: clamp(2.6rem, 6.5vw, 5.2rem);
    line-height: 1.18;
    color: #f0ece4;
    margin-bottom: 6px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.35s forwards;
    letter-spacing: -0.01em;
  }
  .hero-title .gold { color: var(--accent); }

  .hero-en {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.1rem, 2.8vw, 2rem);
    letter-spacing: 0.22em;
    color: rgba(91,188,204,0.5);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.45s forwards;
  }
  .hero-desc {
    font-size: 0.9rem;
    line-height: 2;
    color: #aaa;
    max-width: 460px;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.55s forwards;
  }
  .hero-cta {
    display: flex; gap: 14px; flex-wrap: wrap;
    opacity: 0; animation: fadeUp 0.8s ease 0.65s forwards;
  }
  .btn-gold {
    background: var(--accent); color: var(--dark);
    padding: 13px 40px; font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.12em; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.3s; border: 2px solid var(--accent);
    font-family: 'Noto Sans JP', sans-serif;
    transform: skewX(-12deg);
  }
  .btn-gold span, .btn-gold > * { display: inline-block; }
  .btn-gold {
    /* counter-skew text via its own transform on children handled below */
  }
  .btn-gold:hover {
    background: var(--accent-light); border-color: var(--accent-light);
    transform: skewX(-12deg) translateY(-2px);
    box-shadow: 0 8px 24px rgba(91,188,204,0.28);
  }
  .btn-outline {
    border: 1px solid rgba(91,188,204,0.3); color: #aaa;
    padding: 13px 40px; font-size: 0.8rem;
    letter-spacing: 0.12em; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.3s; font-weight: 500;
    transform: skewX(-12deg);
  }
  .btn-outline:hover { border-color:var(--accent); color:var(--accent); transform: skewX(-12deg) translateY(-2px); }

  /* STATS BAR */
  .stats-bar {
    position: relative; z-index: 1;
    margin-top: 68px;
    display: grid; grid-template-columns: repeat(4,1fr);
    border: 1px solid rgba(91,188,204,0.12);
    opacity: 0; animation: fadeUp 0.8s ease 0.8s forwards;
  }
  .stat-item {
    padding: 26px 18px; text-align: center;
    border-right: 1px solid rgba(91,188,204,0.08);
    background: rgba(255,255,255,0.02);
    transition: background 0.3s;
  }
  .stat-item:last-child { border-right:none; }
  .stat-item:hover { background: rgba(91,188,204,0.04); }
  .stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.6rem; color: var(--accent);
    line-height: 1; margin-bottom: 5px;
    display: flex; align-items: baseline;
    justify-content: center; gap: 3px;
  }
  .stat-unit { font-size: 1rem; color: var(--accent-light); }
  .stat-label {
    font-size: 0.66rem; letter-spacing: 0.2em;
    color: #444; font-weight: 500;
  }

  /* WAVE */
  .wave { background: var(--dark); line-height: 0; }
  .wave svg { display:block; width:100%; }

  /* SEARCH */
  .search-wrap {
    background: var(--bg-light);
    padding: 52px 40px;
  }
  .search-inner {
    max-width: 660px; margin: 0 auto; text-align: center;
  }
  .search-title {
    font-weight: 900; font-size: 1.55rem;
    color: var(--text-dark); margin-bottom: 6px;
  }
  .search-sub {
    font-size: 0.78rem; color: var(--text-light);
    margin-bottom: 26px; letter-spacing: 0.08em;
  }
  .search-box {
    display: flex;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    transition: border-color 0.3s;
    margin-bottom: 14px;
    box-shadow: var(--shadow);
  }
  .search-box:focus-within { border-color: var(--accent); }
  .search-box input {
    flex:1; background:none; border:none; outline:none;
    padding: 14px 18px; color: var(--text-dark);
    font-family: 'Noto Sans JP', sans-serif; font-size: 0.88rem;
  }
  .search-box input::placeholder { color: var(--text-light); }
  .search-box button {
    background: var(--accent); border: none;
    padding: 14px 26px; cursor: pointer;
    color: var(--dark); font-weight: 700;
    font-size: 0.78rem; letter-spacing: 0.1em;
    font-family: 'Noto Sans JP', sans-serif;
    transition: background 0.3s;
  }
  .search-box button:hover { background: var(--accent-light); }
  .search-tags {
    display: flex; gap: 8px;
    flex-wrap: wrap; justify-content: center;
  }
  .stag {
    padding: 5px 14px;
    border: 1px solid var(--border-light);
    border-radius: 0;
    font-size: 0.72rem; color: var(--text-mid);
    cursor: pointer; text-decoration: none;
    transition: all 0.3s; background: white;
  }
  .stag:hover { border-color:var(--accent); color:var(--accent); }

  /* COMMON */
  .light-sec { background: var(--bg-light); padding: 72px 40px; }
  .white-sec { background: var(--bg-white); padding: 72px 40px; }
  .gray-sec  { background: var(--bg-gray);  padding: 72px 40px; }

  .sec-header { margin-bottom: 44px; }
  .sec-eye {
    font-size: 0.66rem; letter-spacing: 0.4em;
    color: var(--accent); font-weight: 700;
    text-transform: uppercase; margin-bottom: 10px;
    display: flex; align-items: center; gap: 10px;
  }
  .sec-eye::before {
    content:''; display:block;
    width:26px; height:2px; background:var(--accent);
  }
  .sec-title {
    font-weight: 900;
    font-size: clamp(1.55rem, 3.2vw, 2.3rem);
    line-height: 1.3; color: var(--text-dark);
  }
  .sec-title .gold { color: var(--accent); }

  /* CATEGORIES */
  .cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px,1fr));
    gap: 12px;
  }
  .cat-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 20px 16px; text-decoration: none;
    display: flex; flex-direction: column; gap: 5px;
    transition: all 0.3s; position: relative;
    overflow: hidden; border-radius: 3px;
    box-shadow: var(--shadow);
  }
  .cat-card::after {
    content:''; position:absolute;
    bottom:0; left:0; width:0; height:3px;
    background: var(--accent); transition: width 0.4s;
  }
  .cat-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }
  .cat-card:hover::after { width:100%; }
  .cat-icon { font-size:1.5rem; margin-bottom:3px; }
  .cat-name { font-weight:700; font-size:0.9rem; color:var(--text-dark); }
  .cat-count { font-size:0.7rem; color:var(--text-light); }
  .cat-arrow {
    color:var(--accent); font-size:0.95rem;
    margin-top:auto; font-weight:700;
    transition: transform 0.3s;
  }
  .cat-card:hover .cat-arrow { transform:translateX(5px); }

  /* RANKING */
  .rank-tabs {
    display:flex; gap:0; margin-bottom:28px;
    border-bottom: 2px solid var(--border-light);
  }
  .rtab {
    padding:9px 22px; font-size:0.76rem; font-weight:700;
    letter-spacing:0.1em; color:var(--text-light);
    cursor:pointer; border-bottom: 2px solid transparent;
    margin-bottom:-2px; transition:all 0.3s;
    background:none; border-top:none; border-left:none; border-right:none;
    font-family: 'Noto Sans JP', sans-serif;
  }
  .rtab.active { color:var(--accent); border-bottom-color:var(--accent); }

  .work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px,1fr));
    gap: 18px;
  }
  .work-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    overflow: hidden; transition: all 0.3s;
    text-decoration: none; display: block;
    border-radius: 3px; box-shadow: var(--shadow);
  }
  .work-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
  }
  .work-thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a1a22, #0f0f18);
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .work-thumb-ph { font-size:2.2rem; opacity:0.2; }
  .work-rank-badge {
    position:absolute; top:0; left:0;
    background: linear-gradient(135deg,#b8860b,#daa520);
    padding: 5px 10px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem; color: white; line-height:1;
  }
  .work-rank-badge.top3 {
    font-size:1.7rem;
  }
  .work-new-b {
    position:absolute; top:9px; right:9px;
    background:#c0392b; color:white;
    font-size:0.58rem; padding:3px 7px;
    font-weight:700; letter-spacing:0.1em; border-radius:2px;
  }
  .work-body { padding: 13px 15px; }
  .work-title {
    font-size: 0.82rem; font-weight:500;
    color: var(--text-dark); line-height:1.55;
    margin-bottom: 9px;
    display:-webkit-box; -webkit-line-clamp:2;
    -webkit-box-orient:vertical; overflow:hidden;
  }
  .work-meta {
    display:flex; justify-content:space-between; align-items:center;
    padding-top:9px; border-top:1px solid var(--border-light);
  }
  .work-actress { font-size:0.7rem; color:var(--accent); font-weight:700; }
  .work-price { display: none; }

  /* NEW ARRIVALS */
  .arr-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 14px;
  }
  .arr-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    overflow:hidden; transition:all 0.3s;
    text-decoration:none; display:block;
    border-radius:3px; box-shadow:var(--shadow);
  }
  .arr-card:hover {
    border-color:var(--accent);
    transform:translateY(-4px);
    box-shadow:var(--shadow-hover);
  }
  .arr-thumb {
    aspect-ratio:3/4;
    background: linear-gradient(135deg,#1a1a22,#0f0f18);
    display:flex; align-items:center; justify-content:center;
    position:relative;
  }
  .arr-ph { font-size:1.8rem; opacity:0.2; }
  .arr-new {
    position:absolute; top:7px; left:7px;
    background:#c0392b; color:white;
    font-size:0.57rem; padding:2px 6px;
    font-weight:700; letter-spacing:0.1em; border-radius:2px;
  }
  .arr-body { padding:9px 11px; }
  .arr-title {
    font-size:0.71rem; color:var(--text-mid); line-height:1.4;
    display:-webkit-box; -webkit-line-clamp:2;
    -webkit-box-orient:vertical; overflow:hidden; margin-bottom:4px;
  }
  .arr-actress { font-size:0.67rem; color:var(--accent); font-weight:700; }

  /* ACTRESS */
  .actress-grid {
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(145px,1fr));
    gap:12px;
  }
  .actress-card {
    background:var(--bg-white);
    border:1px solid var(--border-light);
    padding:18px 12px; text-align:center;
    text-decoration:none; display:block;
    transition:all 0.3s; border-radius:3px;
    box-shadow:var(--shadow);
  }
  .actress-card:hover {
    border-color:var(--accent);
    transform:translateY(-4px);
    box-shadow:var(--shadow-hover);
  }
  .ac-avatar {
    width:60px; height:60px; border-radius:50%;
    background:linear-gradient(135deg,#eee,#ddd);
    margin:0 auto 9px;
    display:flex; align-items:center; justify-content:center;
    font-size:1.5rem;
    border:2px solid var(--border-light);
    transition:border-color 0.3s;
  }
  .actress-card:hover .ac-avatar { border-color:var(--accent); }
  .ac-name { font-weight:700; font-size:0.8rem; color:var(--text-dark); margin-bottom:3px; }
  .ac-works { font-size:0.67rem; color:var(--text-light); letter-spacing:0.08em; }

  /* FEATURES */
  .features-dark {
    background: var(--dark);
    padding: 48px 40px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 36px;
    border-top: 1px solid rgba(91,188,204,0.08);
    border-bottom: 1px solid rgba(91,188,204,0.08);
  }
  .feat-item { display:flex; gap:14px; align-items:flex-start; }
  .feat-icon {
    width:42px; height:42px;
    background: rgba(91,188,204,0.1);
    border:1px solid rgba(91,188,204,0.2);
    display:flex; align-items:center; justify-content:center;
    font-size:1.2rem; flex-shrink:0;
  }
  .feat-title { font-weight:700; font-size:0.86rem; color:#f0ece4; margin-bottom:5px; }
  .feat-desc { font-size:0.74rem; color:#444; line-height:1.75; font-weight:300; }

  /* FOOTER */
  footer {
    background: var(--dark);
    border-top: 1px solid rgba(91,188,204,0.08);
    padding: 52px 40px 28px;
  }
  .foot-grid {
    display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
    gap:36px; margin-bottom:40px;
  }
  .foot-logo-main { font-weight:900; font-size:1.1rem; color:var(--accent); letter-spacing:0.06em; display:block; }
  .foot-logo-sub { font-family:'Bebas Neue',sans-serif; font-size:0.58rem; color:rgba(91,188,204,0.6); letter-spacing:0.28em; display:block; margin-bottom:14px; }
  .foot-desc { font-size:0.75rem; color:#aaa; line-height:1.9; font-weight:300; }
  .foot-col-title { font-size:0.66rem; letter-spacing:0.25em; color:var(--accent); font-weight:700; text-transform:uppercase; margin-bottom:16px; padding-bottom:9px; border-bottom:1px solid rgba(91,188,204,0.08); }
  .foot-links { list-style:none; display:flex; flex-direction:column; gap:9px; }
  .foot-links a { font-size:0.75rem; color:#aaa; text-decoration:none; transition:color 0.3s; font-weight:300; }
  .foot-links a:hover { color:var(--accent); }
  .foot-bottom {
    border-top:1px solid rgba(255,255,255,0.04);
    padding-top:20px; display:flex;
    justify-content:space-between; align-items:center;
  }
  .foot-copy { font-size:0.68rem; color:rgba(91,188,204,0.45); letter-spacing:0.06em; }
  .foot-credit { font-size:0.66rem; color:rgba(91,188,204,0.45); }
  .foot-credit a { color:var(--accent); text-decoration:none; }

  /* ANIMATIONS */
  @keyframes fadeUp {
    from{opacity:0;transform:translateY(26px);}
    to{opacity:1;transform:translateY(0);}
  }
  .reveal { opacity:0; transform:translateY(34px); transition:opacity 0.7s ease, transform 0.7s ease; }
  .reveal.in { opacity:1; transform:translateY(0); }

  /* ── HAMBURGER BUTTON ── */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 300;
  }
  .hamburger span {
    display: block;
    width: 100%; height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
  }
  .hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2){ opacity: 0; width: 0; }
  .hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

  /* ── MOBILE DRAWER ── */
  .mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 199;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 18px 0;
    border-bottom: 1px solid rgba(91,188,204,0.1);
    width: 72%;
    text-align: center;
    transition: color 0.3s;
  }
  .mobile-nav a:first-child { border-top: 1px solid rgba(91,188,204,0.1); }
  .mobile-nav a:hover { color: var(--accent); }
  .mobile-nav .nav-new {
    background:#c0392b; color:white; font-size:0.62rem;
    padding:2px 7px; border-radius:20px; font-weight:700;
    margin-right: 6px;
  }

  /* ── TABLET (≤ 960px) ── */
  @media(max-width:960px){
    .age-banner{ padding:8px 18px; font-size:0.6rem; }
    .header-inner{ padding:12px 18px; }
    nav{ display:none; }
    .hamburger{ display:flex; }
    .mobile-nav{ display:flex; }

    .hero{ padding:110px 24px 64px; }
    .hero-decoration{ display:none; }
    .hero-title{ font-size: clamp(2.2rem, 7vw, 4rem); }

    .stats-bar{ grid-template-columns: repeat(2,1fr); }
    .stat-item:nth-child(2){ border-right:none; }
    .stat-item:nth-child(3){ border-right:1px solid rgba(91,188,204,0.08); border-top:1px solid rgba(91,188,204,0.08); }
    .stat-item:nth-child(4){ border-top:1px solid rgba(91,188,204,0.08); }

    .light-sec,.white-sec,.gray-sec{ padding:52px 20px; }
    .search-wrap{ padding:40px 20px; }

    .cat-grid{ grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); }

    .arr-grid{ grid-template-columns: repeat(3,1fr); }

    .foot-grid{ grid-template-columns:1fr 1fr; gap:28px; }
    .features-dark{ grid-template-columns:1fr; padding:36px 20px; }
  }

  /* ── MOBILE (≤ 600px) ── */
  @media(max-width:600px){
    .age-banner{ padding:6px 14px; font-size:0.58rem; gap:6px; flex-direction:column; text-align:center; }
    .header-inner{ padding:10px 14px; }
    .logo-main{ font-size:1rem; }
    .logo-sub{ font-size:0.6rem; }

    .hero{ padding:90px 16px 48px; min-height:auto; }
    .hero-eyebrow{ font-size:0.58rem; letter-spacing:0.28em; margin-bottom:16px; }
    .hero-title{ font-size: clamp(1.9rem, 8.5vw, 2.8rem); margin-bottom:4px; }
    .hero-en{ font-size: clamp(0.85rem, 3.5vw, 1.3rem); margin-bottom:16px; }
    .hero-desc{ font-size:0.82rem; line-height:1.85; margin-bottom:28px; max-width:100%; }
    .hero-cta{ gap:10px; }
    .btn-gold,.btn-outline{ padding:11px 24px; font-size:0.74rem; }

    .stats-bar{ margin-top:40px; }
    .stat-number{ font-size:2rem; }
    .stat-label{ font-size:0.6rem; }
    .stat-item{ padding:18px 10px; }

    .light-sec,.white-sec,.gray-sec{ padding:40px 14px; }
    .search-wrap{ padding:32px 14px; }
    .search-title{ font-size:1.25rem; }
    .search-box input{ padding:12px 14px; font-size:0.82rem; }
    .search-box button{ padding:12px 18px; font-size:0.74rem; }
    .search-tags{ gap:6px; }
    .stag{ padding:4px 11px; font-size:0.68rem; }

    .sec-header{ margin-bottom:28px; }
    .sec-title{ font-size: clamp(1.3rem, 5.5vw, 1.8rem); }

    .cat-grid{ grid-template-columns: repeat(2,1fr); gap:10px; }
    .cat-card{ padding:14px 12px; }
    .cat-icon{ font-size:1.25rem; }
    .cat-name{ font-size:0.82rem; }

    .rank-tabs{ gap:0; overflow-x:auto; -webkit-overflow-scrolling:touch; }
    .rank-tabs::-webkit-scrollbar{ display:none; }
    .rtab{ padding:8px 14px; font-size:0.7rem; white-space:nowrap; flex-shrink:0; }

    .work-grid{ grid-template-columns: repeat(2,1fr); gap:12px; }
    .work-body{ padding:10px 11px; }
    .work-title{ font-size:0.75rem; }

    .arr-grid{ grid-template-columns: repeat(2,1fr); gap:10px; }
    .arr-body{ padding:7px 9px; }
    .arr-title{ font-size:0.67rem; }

    .actress-grid{ grid-template-columns: repeat(3,1fr); gap:9px; }
    .actress-card{ padding:14px 8px; }
    .ac-avatar{ width:48px; height:48px; font-size:1.2rem; }
    .ac-name{ font-size:0.72rem; }

    .features-dark{ padding:28px 14px; gap:20px; }

    footer{ padding:36px 14px 20px; }
    .foot-grid{ grid-template-columns:1fr; gap:24px; }
    .foot-logo-main{ font-size:1rem; }
    .foot-bottom{ flex-direction:column; gap:8px; text-align:center; }

    #backToTop{ bottom:20px; right:16px; width:48px; height:48px; border-radius:12px; }
  }

  /* ── SMALL MOBILE (≤ 380px) ── */
  @media(max-width:380px){
    .hero-title{ font-size:1.75rem; }
    .cat-grid{ grid-template-columns: repeat(2,1fr); }
    .work-grid{ grid-template-columns: 1fr; }
    .arr-grid{ grid-template-columns: repeat(2,1fr); }
    .actress-grid{ grid-template-columns: repeat(2,1fr); }
    .btn-gold,.btn-outline{ padding:10px 18px; font-size:0.7rem; }
  }

/* ---- part 2 ---- */

#backToTop {
    position: fixed;
    bottom: 36px;
    right: 36px;
    z-index: 999;
    background: var(--accent);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    border: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s, background 0.3s;
    font-family: 'Noto Sans JP', sans-serif;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  }
  #backToTop.visible {
    opacity: 1;
    pointer-events: auto;
  }
  #backToTop:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
  }
  #backToTop .btt-arrow {
    font-size: 1.2rem;
    line-height: 1;
  }
  #backToTop .btt-label {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.08em;
  }