/*
Theme Name: divID
Theme URI: https://divid.jp
Description: divID - ライバー事務所の公式サイトテーマ
Version: 1.0
Author: divID
Author URI: https://divid.jp
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: divid
*/

:root {
    /* Colors */
    --color-bg: #FFFFFF;
    --color-bg-secondary: #F7F7F7;
    --color-text: #111111;
    --color-text-sub: #444444;
    --color-accent-green: #00CC66;
    --color-accent-pink: #E60073;
    --color-border: #DDDDDD;

    /* Typography */
    --font-en: 'Barlow', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;

    /* Layout */
    --container-width: 1500px;
    --gutter: 40px;
    --header-height: 130px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }
body {
    background-color: var(--color-bg); color: var(--color-text);
    font-family: var(--font-jp); line-height: 1.8;
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Loading Screen */
#loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #fff; z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.5s ease;
}
#loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-content { text-align: center; width: 240px; }
.loader-logo { width: auto; height: 200px; margin: 0 auto 30px; }
.loader-status {
    display: flex; justify-content: flex-end; align-items: baseline;
    margin-bottom: 5px; font-family: var(--font-en); font-weight: 800; color: #111;
}
.loader-percent { font-size: 3rem; line-height: 1; }
.loader-unit { font-size: 1rem; margin-left: 2px; }
.loader-bar-bg { width: 100%; height: 2px; background: #eee; position: relative; overflow: hidden; }
.loader-bar { width: 0%; height: 100%; background: #111; }

/* 3D Background */
#webgl-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1; pointer-events: none;
}

/* Animation Classes */
.js-fade-up { opacity: 0; transform: translateY(50px); }
.js-fade-left { opacity: 0; transform: translateX(50px); }

/* Hero transitions (compositor-only: opacity + transform) */
.hero-anim {
    opacity: 0;
    transform: translateY(30px);
    will-change: opacity, transform;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__subtitle-en.hero-anim { transition-delay: 0.15s; }
.hero__cta.hero-anim { transition-delay: 0.3s; }
.hero-anim-left {
    opacity: 0;
    transform: translateX(30px);
    will-change: opacity, transform;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s,
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}
.hero-ready .hero-anim,
.hero-ready .hero-anim-left {
    opacity: 1;
    transform: translateY(0);
}
.hero-ready .hero-anim-left {
    transform: translateX(0);
}

/* ヒーロー登場前：全エフェクト停止 */
.screen-glow,
.floating-elements .float-icon,
.floating-elements .float-comment,
.floating-screen,
.live-badge span {
    animation-play-state: paused;
}
.screen-glow {
    filter: none;
    opacity: 0;
}
/* ヒーロー登場後：エフェクト開始 */
.hero-settled .screen-glow {
    filter: blur(60px);
    opacity: 0.4;
    transition: filter 0.5s, opacity 1s ease;
}
.hero-settled .screen-glow,
.hero-settled .floating-elements .float-icon,
.hero-settled .floating-elements .float-comment,
.hero-settled .floating-screen,
.hero-settled .live-badge span {
    animation-play-state: running;
}

/* Utility */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--gutter); }
.container-fluid { width: 100%; padding: 0 var(--gutter); max-width: 1800px; margin: 0 auto; }
.text-accent-green { color: var(--color-accent-green); }
.text-accent-pink { color: var(--color-accent-pink); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* Buttons */
.btn {
    display: inline-block; padding: 1.2rem 3.5rem;
    font-family: var(--font-jp); font-weight: 700;
    border-radius: 50px; cursor: pointer; position: relative; overflow: hidden; z-index: 1;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s; font-size: 1.1rem; border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn--primary { background: var(--color-accent-pink); color: #fff; }
.btn--primary:hover { background: var(--color-accent-green); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.btn--secondary { border: 1px solid #999; color: var(--color-text); background: #fff; }
.btn--secondary:hover { border-color: var(--color-accent-pink); color: var(--color-accent-pink); }
.btn--large { font-size: 1.3rem; padding: 1.5rem 4rem; }
.center-btn-wrapper { text-align: center; margin-top: 60px; position: relative; z-index: 5; clear: both; }

/* Header */
.header {
    position: fixed; top: 0; width: 100%; height: var(--header-height);
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 50px; z-index: 100;
    background: rgba(255, 255, 255, 0.95);
}
.header__logo img { height: 90px; width: auto; }
.header__nav-pc ul { display: flex; gap: 40px; align-items: center; }
.header__nav-pc a { font-family: var(--font-jp); font-weight: 700; font-size: 1rem; color: var(--color-text); }
.header__nav-pc a:hover { color: var(--color-accent-pink); }
.header__nav-pc .nav-btn { padding: 0.8rem 2rem; background: var(--color-accent-pink); color: #fff; border-radius: 30px; font-weight: 700; }
.header__nav-pc .nav-btn:hover { background: var(--color-accent-green); color: #fff; }
.header__menu-btn { display: none; }

/* Mobile Navigation */
.mobile-nav {
    position: fixed; top: 0; right: 0; width: 100%; height: 100vh;
    background: rgba(255,255,255,0.98); z-index: 99;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s;
}
.mobile-nav.is-open {
    opacity: 1; visibility: visible; transition: opacity 0.3s, visibility 0s;
}
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav li { margin-bottom: 30px; }
.mobile-nav a {
    font-family: var(--font-jp); font-weight: 700; font-size: 1.3rem;
    color: var(--color-text); letter-spacing: 0.05em;
}
.mobile-nav a:hover { color: var(--color-accent-pink); }
.mobile-nav__btn {
    display: inline-block; padding: 1rem 3rem;
    background: var(--color-accent-pink); color: #fff !important;
    border-radius: 50px; font-size: 1.1rem; margin-top: 10px;
}
/* Hamburger animation */
.header__menu-btn.is-open span:nth-child(1) {
    top: 50%; transform: translateY(-50%) rotate(45deg);
}
.header__menu-btn.is-open span:nth-child(2) {
    bottom: 50%; transform: translateY(50%) rotate(-45deg); width: 100%;
}

/* Hero Section */
.hero { min-height: 100vh; padding-top: var(--header-height); display: flex; align-items: center; position: relative; overflow: hidden; }
.hero__container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.hero__text { width: 50%; z-index: 2; padding-left: 2vw; }
.hero__title-jp {
    font-family: var(--font-jp); font-weight: 900; font-size: clamp(5rem, 10vw, 8rem);
    line-height: 1.1; margin-bottom: 2rem; color: var(--color-text); letter-spacing: -0.04em;
}
.hero__subtitle-en {
    font-family: var(--font-en); font-weight: 700; font-size: 1.5rem; color: var(--color-text-sub);
    margin-bottom: 4rem; letter-spacing: 0.1em; line-height: 1.6;
}
.hero__visual { width: 45%; height: 800px; position: relative; display: flex; justify-content: center; align-items: center; }
.hero-settled .hero__visual { perspective: 1000px; }

/* Floating Screen */
.floating-screen {
    width: 340px; height: 620px; background: #000; border-radius: 40px; position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15); border: 12px solid #fff;
    animation: floatScreen 7s ease-in-out infinite; z-index: 2;
}
@keyframes floatScreen { 0%, 100% { transform: translateY(0) rotateY(-5deg); } 50% { transform: translateY(-30px) rotateY(5deg); } }
.screen-content { width: 100%; height: 100%; overflow: hidden; border-radius: 28px; position: relative; background: #000; }
.screen-content img { width: 100%; height: 100%; object-fit: cover; }
.live-badge {
    position: absolute; top: 20px; left: 20px; background: #ff0055; color: #fff; font-size: 0.8rem; font-weight: 800;
    padding: 4px 12px; border-radius: 6px; display: flex; align-items: center; gap: 5px;
}
.live-badge span { font-size: 1.2rem; line-height: 0; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.viewer-count {
    position: absolute; top: 20px; right: 20px; background: rgba(0,0,0,0.5); color: #fff;
    font-size: 0.8rem; padding: 4px 10px; border-radius: 6px; font-family: var(--font-en);
    display: flex; align-items: center; gap: 4px;
}
.screen-ui-bottom { position: absolute; bottom: 30px; left: 20px; width: calc(100% - 40px); }
.screen-comment-dummy { height: 12px; background: rgba(255,255,255,0.7); width: 80%; border-radius: 6px; margin-bottom: 12px; }
.screen-comment-dummy.short { width: 50%; }
.screen-glow {
    position: absolute; top: 50%; left: 50%; width: 120%; height: 90%; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 255, 127, 0.3) 0%, rgba(255, 20, 147, 0.3) 50%, rgba(255, 255, 255, 0) 70%);
    filter: blur(60px); z-index: -1; animation: pulseGlow 4s infinite alternate;
}
@keyframes pulseGlow { from { opacity: 0.4; transform: translate(-50%, -50%) scale(0.95); } to { opacity: 0.7; transform: translate(-50%, -50%) scale(1.05); } }

/* Floating Elements */
.floating-elements { position: absolute; bottom: 0; right: -50px; width: 150px; height: 400px; pointer-events: none; }
.float-icon { position: absolute; font-size: 2rem; color: var(--color-accent-pink); opacity: 0; animation: floatUp 3.5s infinite ease-out; }
.heart-1 { right: 10px; bottom: 0; animation-delay: 0s; color: var(--color-accent-pink); }
.heart-2 { right: 50px; bottom: 0; animation-delay: 1.2s; font-size: 2.5rem; color: var(--color-accent-green); }
.heart-3 { right: 0px; bottom: 0; animation-delay: 2.1s; color: #ff5500; }
.float-comment {
    position: absolute; background: rgba(255,255,255,0.95); padding: 8px 16px; border-radius: 20px;
    font-size: 0.9rem; font-weight: 700; box-shadow: 0 10px 20px rgba(0,0,0,0.1); opacity: 0;
    color: #333; animation: floatUpComment 4.5s infinite ease-out; white-space: nowrap;
}
.comm-1 { left: -140px; bottom: 80px; animation-delay: 0.5s; }
.comm-2 { left: -160px; bottom: 40px; animation-delay: 2.5s; }

@keyframes floatUp { 0% { transform: translateY(0) scale(0.5); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(-300px) scale(1.2); opacity: 0; } }
@keyframes floatUpComment { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; transform: translateY(-30px); } 80% { opacity: 1; transform: translateY(-150px); } 100% { transform: translateY(-180px); opacity: 0; } }

.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    font-family: var(--font-en); font-size: 0.9rem; letter-spacing: 0.2em; opacity: 0.8; color: var(--color-text);
}
.scroll-indicator::after {
    content: ''; display: block; width: 2px; height: 50px; background: var(--color-text); margin: 15px auto 0; animation: scroll 2s infinite;
}
@keyframes scroll { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Common Section */
.section { padding: 180px 0; position: relative; background: transparent; }
.section:nth-child(odd) { background: transparent; }
.section-header { margin-bottom: 120px; text-align: left; }
.section-title {
    font-family: var(--font-en); font-size: 8rem; font-weight: 900; line-height: 0.9;
    color: var(--color-text); position: relative; margin-bottom: 20px; letter-spacing: -0.03em;
}
.section-subtitle { display: block; font-size: 1.5rem; font-weight: 700; color: var(--color-accent-pink); letter-spacing: 0.05em; }

/* Parallax Huge Text */
.bg-huge-text {
    position: absolute; top: 0; left: -2%; font-family: var(--font-en); font-weight: 900; font-size: 25vw;
    color: rgba(0,0,0,0.03); line-height: 1; pointer-events: none; z-index: -1; white-space: nowrap;
}

/* About */
.about__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 120px; align-items: center; }
.about__lead { font-size: 3rem; font-weight: 700; margin-bottom: 2.5rem; line-height: 1.4; color: var(--color-text); }
.about__text p { color: var(--color-text-sub); font-weight: 500; font-size: 1.2rem; }
.about__stats { display: flex; gap: 60px; justify-content: center; }

/* Stat Circles */
.stat-circle {
    width: 260px; height: 260px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: relative; color: #fff; text-align: center;
    cursor: default; transition: transform 0.3s;
}
.stat-circle { opacity: 0; transform: scale(0.5); }
.stat-circle:hover { transform: scale(1.05); }
.stat-circle--pink { background: var(--color-accent-pink); }
.stat-circle--green { background: var(--color-accent-green); }

.stat-circle__glow {
    position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
    border-radius: 50%; transform: translate(-50%, -50%);
    animation: circleGlow 3s ease-in-out infinite alternate;
}
.stat-circle--pink .stat-circle__glow { box-shadow: 0 0 60px rgba(230, 0, 115, 0.4); }
.stat-circle--green .stat-circle__glow { box-shadow: 0 0 60px rgba(0, 204, 102, 0.4); }

.stat-circle__pulse {
    position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
    border-radius: 50%; transform: translate(-50%, -50%);
    border: 2px solid rgba(255,255,255,0.3);
    animation: circlePulse 2s ease-out infinite;
}

@keyframes circleGlow {
    0% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}
@keyframes circlePulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

.stat-circle__label {
    display: inline-block; background: #fff; color: #111; font-size: 1rem; font-weight: 700;
    padding: 6px 20px; border-radius: 30px; margin-bottom: 10px; position: relative; z-index: 1;
}
.stat-circle__num-wrap {
    display: flex; align-items: baseline; justify-content: center;
    line-height: 1; position: relative; z-index: 1;
}
.stat-circle .stat-num {
    font-family: var(--font-en); font-size: 5rem; font-weight: 800; color: #fff;
}
.stat-circle__unit {
    font-family: var(--font-en); font-size: 2rem; font-weight: 700; margin-left: 3px; color: #fff;
}

@media (max-width: 768px) {
    .about__stats { flex-direction: column; align-items: center; gap: 30px; }
    .stat-circle { width: 220px; height: 220px; }
    .stat-circle .stat-num { font-size: 4rem; }
}

/* Feature (Zigzag Layout) */
.feature-rows { display: flex; flex-direction: column; gap: 0; }
.feature-row { display: flex; gap: 100px; padding: 100px 0; border-bottom: 1px solid #eee; align-items: center; }
.feature-row:first-child { border-top: 1px solid #eee; }
.feature-row--reverse { flex-direction: row-reverse; }
.feature-row__img { width: 50%; height: 500px; overflow: hidden; border-radius: 4px; }
.feature-row__img img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s ease-out; }
.feature-row:hover .feature-row__img img { transform: scale(1.05); }
.feature-row__content { width: 40%; }
.feature-row__num { font-family: var(--font-en); font-size: 5rem; font-weight: 900; color: #eee; line-height: 1; display: block; margin-bottom: 20px; }
.feature-row__title { font-size: 2.5rem; font-weight: 800; margin-bottom: 30px; color: var(--color-text); line-height: 1.3; }
.feature-row__desc { font-size: 1.1rem; color: var(--color-text-sub); font-weight: 500; line-height: 1.8; }

/* News */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.news-card__link { display: block; }
.news-card__img { overflow: hidden; margin-bottom: 25px; aspect-ratio: 16/9; border-radius: 12px; }
.news-card__img img { transition: 0.5s; object-fit: cover; width: 100%; height: 100%; }
.news-card:hover .news-card__img img { transform: scale(1.05); }
.news-card__date { display: block; font-family: var(--font-en); font-size: 1rem; color: #666; margin-bottom: 10px; font-weight: 600; }
.news-card__title { font-size: 1.3rem; line-height: 1.5; font-weight: 700; transition: 0.3s; color: var(--color-text); }
.news-card:hover .news-card__title { color: var(--color-accent-pink); }

/* LIVE CREATORS */
.livers { overflow: hidden; padding-bottom: 100px; }
.marquee-wrapper { display: flex; flex-direction: column; gap: 40px; width: 100%; overflow: hidden; margin-bottom: 60px; }
.marquee-track { display: flex; gap: 40px; width: max-content; }
.move-left { animation: marquee 60s linear infinite; }
.move-right { animation: marquee-reverse 60s linear infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-reverse { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.marquee-item { width: 300px; height: 420px; flex-shrink: 0; position: relative; border-radius: 20px; overflow: hidden; cursor: pointer; }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.marquee-item:hover img { transform: scale(1.1); }
.marquee-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 25px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: #fff; }
.marquee-info .name { font-family: var(--font-en); font-weight: 800; font-size: 1.8rem; }
.marquee-info .tag { font-size: 0.9rem; background: rgba(255,255,255,0.2); padding: 5px 12px; border-radius: 6px; }

/* Company & Contact Table */
.company-table { width: 100%; border-top: 1px solid #ccc; }
.company-row { display: flex; border-bottom: 1px solid #ccc; }
.company-th { width: 25%; background: #eee; padding: 30px; font-weight: 700; font-size: 1.1rem; color: var(--color-text); display: flex; align-items: center; }
.company-td { width: 75%; padding: 30px; font-size: 1.1rem; font-weight: 500; }

/* Contact Form */
.contact-form { max-width: 900px; margin: 0 auto; display: block; }
.form-group { margin-bottom: 40px; display: flex; flex-direction: column; align-items: flex-start; }
.form-group label { display: block; margin-bottom: 12px; font-weight: 700; font-size: 1.1rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 20px; border: 1px solid #ccc; border-radius: 10px;
    font-family: var(--font-jp); background: #f9f9f9; color: var(--color-text); font-size: 1rem;
    box-sizing: border-box;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-accent-pink); background: #fff; }

/* Contact Page Form */
.contact-lead { max-width: 800px; margin: 0 auto 50px; text-align: center; }
.contact-lead p { color: var(--color-text-sub); font-size: 1.1rem; line-height: 2; }
.contact-page-form { max-width: 800px; margin: 0 auto; }
.form-row { margin-bottom: 30px; }
.form-label { display: block; margin-bottom: 10px; font-weight: 700; font-size: 1.1rem; }
.form-label .required { color: var(--color-accent-pink); font-size: 0.8rem; margin-left: 8px; }
.contact-page-form input[type="text"],
.contact-page-form input[type="email"],
.contact-page-form input[type="tel"],
.contact-page-form textarea,
.contact-page-form select {
    width: 100%; padding: 20px; border: 1px solid #ccc; border-radius: 10px;
    font-family: var(--font-jp); background: #f9f9f9; color: var(--color-text); font-size: 1rem;
    box-sizing: border-box; appearance: none; -webkit-appearance: none;
}
.contact-page-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 20px center; cursor: pointer;
}
.contact-page-form input:focus,
.contact-page-form textarea:focus,
.contact-page-form select:focus { outline: none; border-color: var(--color-accent-pink); background: #fff; }
.contact-page-form .wpcf7-not-valid { border-color: #e00073; }
.contact-page-form .wpcf7-not-valid-tip { color: #e00073; font-size: 0.85rem; margin-top: 6px; display: block; }
.contact-page-form .wpcf7-response-output {
    text-align: center; padding: 20px; border-radius: 10px; margin-top: 30px; font-weight: 500;
}
.contact-page-form .wpcf7-mail-sent-ok { background: #e6fce6; color: #00802b; border: 1px solid #00cc44; }
.contact-page-form .wpcf7-form .wpcf7-spinner { margin: 20px auto 0; }

/* Thanks Page */
.thanks-content { text-align: center; max-width: 700px; margin: 0 auto; padding: 60px 0; }
.thanks-icon {
    width: 100px; height: 100px; border-radius: 50%; background: var(--color-accent-green);
    color: #fff; font-size: 3rem; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 40px; line-height: 1;
}
.thanks-title { font-size: 2rem; font-weight: 700; margin-bottom: 30px; }
.thanks-desc { color: var(--color-text-sub); font-size: 1.1rem; line-height: 2; }

/* Recruit */
.recruit { position: relative; padding: 200px 0; text-align: center; background: #fff; }
.recruit__title { font-size: 4rem; font-weight: 900; margin-bottom: 3rem; line-height: 1.3; color: var(--color-text); }
.recruit__desc { font-size: 1.5rem; margin-bottom: 5rem; color: var(--color-text-sub); font-weight: 600; }

/* Footer */
.footer { border-top: 1px solid var(--color-border); padding: 120px 0 50px; background: #fff; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 100px; }
.footer__logo img { margin-bottom: 25px; height: 80px; width: auto; }
.footer__brand p { font-family: var(--font-en); font-size: 0.9rem; color: #666; font-weight: 600; }
.footer__nav ul { display: flex; gap: 50px; flex-wrap: wrap; }
.footer__nav a { font-weight: 700; font-size: 1.1rem; color: var(--color-text); }
.footer__nav a:hover { color: var(--color-accent-pink); }
.footer__bottom { display: flex; justify-content: space-between; font-size: 1rem; color: #666; font-weight: 500; }
.footer__links { display: flex; gap: 40px; align-items: center; }
.footer__links a:hover { color: var(--color-text); }
.footer__social { display: flex; gap: 16px; align-items: center; }
.footer__social a { color: #999; display: flex; align-items: center; }
.footer__social a:hover { color: var(--color-text); }

/* Sub Page & Modal Styles */
.page-header { height: 30vh; min-height: 200px; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: var(--header-height); }
.page-header__title { font-family: var(--font-en); font-weight: 900; font-size: clamp(4rem, 8vw, 7rem); line-height: 1; }
.page-header__subtitle { display: block; font-family: var(--font-jp); font-size: 1.2rem; font-weight: 700; color: var(--color-accent-green); margin-top: 20px; letter-spacing: 0.1em; }
/* PICK UP Creators */
.pickup-section { padding-bottom: 0; }
.pickup-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; }
.pickup-card { cursor: pointer; position: relative; }
.pickup-card__img { border-radius: 20px; overflow: hidden; aspect-ratio: 3/4; margin-bottom: 20px; }
.pickup-card__img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.pickup-card:hover .pickup-card__img img { transform: scale(1.05); }
.pickup-card__info { text-align: center; }
.pickup-card__name { font-family: var(--font-en); font-size: 1.4rem; font-weight: 800; margin-bottom: 5px; }
.pickup-card__tag { font-size: 0.9rem; color: var(--color-accent-pink); font-weight: 600; margin-bottom: 8px; }
.pickup-card__desc { font-size: 0.85rem; color: var(--color-text-sub); line-height: 1.6; }

/* Genre Filter */
.genre-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; justify-content: center; }
.genre-btn { padding: 10px 24px; border: 2px solid var(--color-text); border-radius: 50px; background: transparent; color: var(--color-text); font-family: var(--font-jp); font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: 0.3s; }
.genre-btn:hover { background: var(--color-text); color: #fff; }
.genre-btn.active { background: var(--color-text); color: #fff; }

/* All Creators */
.creator-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; margin-bottom: 100px; }
.creator-card { cursor: pointer; }
.creator-card__img { border-radius: 16px; overflow: hidden; margin-bottom: 20px; aspect-ratio: 3/4; }
.creator-card__img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.creator-card:hover .creator-card__img img { transform: scale(1.05); }
.creator-card__info { text-align: center; }
.creator-card__name { font-family: var(--font-en); font-size: 1.1rem; font-weight: 800; margin-bottom: 5px; }
.creator-card__tag { font-size: 0.9rem; color: var(--color-text-sub); }

/* No Image placeholder */
.no-image { background: #1a1a2e; display: flex; align-items: center; justify-content: center; }
.no-image img { width: 50% !important; height: auto !important; object-fit: contain !important; opacity: 0.5; }
.pickup-card__img.no-image { border-radius: 16px; }
.creator-card__img.no-image { border-radius: 16px; }
.marquee-item.no-image img { width: 50% !important; height: auto !important; object-fit: contain !important; opacity: 0.5; }
.marquee-item.no-image { background: #1a1a2e; }
.modal-img.no-image { background: #1a1a2e; display: flex; align-items: center; justify-content: center; }
.modal-img.no-image img { width: 40% !important; height: auto !important; object-fit: contain !important; opacity: 0.5; }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1000; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: 0.3s; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background: #fff; width: 90%; max-width: 1000px; max-height: 90vh; border-radius: 20px; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; position: relative; transform: translateY(50px); transition: 0.4s; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; background: #f0f0f0; border: none; border-radius: 50%; cursor: pointer; z-index: 10; font-size: 1.5rem; }
.modal-img { height: 100%; min-height: 400px; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.modal-name { font-family: var(--font-en); font-size: 3rem; font-weight: 900; margin-bottom: 10px; line-height: 1; }
.modal-tags { font-size: 1rem; color: var(--color-accent-pink); margin-bottom: 20px; }
.modal-desc { font-size: 1.1rem; line-height: 1.8; color: var(--color-text-sub); margin-bottom: 30px; }
.modal-sns { display: flex; gap: 16px; align-items: center; }
.modal-sns a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-text); color: #fff; transition: 0.3s; }
.modal-sns a:hover { background: var(--color-accent-pink); }
.modal-sns a svg { width: 22px; height: 22px; }
.news-list { display: flex; flex-direction: column; gap: 40px; max-width: 1000px; margin: 0 auto; }
.news-item { display: flex; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #eee; align-items: center; transition: 0.3s; }
.news-item:hover { opacity: 0.7; }
.news-item__img { width: 300px; height: 180px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.news-item__img img { width: 100%; height: 100%; object-fit: cover; }
.news-item__date { display: block; font-family: var(--font-en); font-size: 1rem; color: #666; margin-bottom: 8px; font-weight: 600; }
.news-item__title { font-size: 1.3rem; line-height: 1.5; font-weight: 700; color: var(--color-text); }
.post-header { text-align: center; max-width: 900px; margin: 0 auto 40px; }
.post-meta { display: block; font-family: var(--font-en); font-size: 1rem; color: #666; margin-bottom: 15px; font-weight: 600; }
.post-title { font-size: 2.5rem; font-weight: 800; line-height: 1.4; }
.post-thumbnail { max-width: 900px; max-height: 450px; margin: 0 auto 60px; border-radius: 12px; overflow: hidden; display: flex; justify-content: center; align-items: center; background: #f5f5f5; }
.post-thumbnail img { max-width: 100%; max-height: 450px; width: auto; height: auto; object-fit: contain; }
.post-body { max-width: 800px; margin: 0 auto; font-size: 1.1rem; line-height: 2; word-break: break-word; overflow-wrap: break-word; }
.post-body h2 { font-size: 1.8rem; font-weight: 800; margin: 50px 0 20px; }
.post-body h3 { font-size: 1.4rem; font-weight: 700; margin: 40px 0 15px; }
.post-body p { margin-bottom: 20px; }
.post-body img {
    border-radius: 10px; margin: 30px auto; display: block;
    max-width: 100%; height: auto;
    max-height: 350px; width: auto;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.post-body .wp-block-image { margin: 40px 0; text-align: center; }
.post-body .wp-block-image figcaption { font-size: 0.9rem; color: #888; margin-top: 12px; }
.post-footer { text-align: center; margin-top: 80px; padding-top: 40px; padding-bottom: 40px; border-top: 1px solid #eee; }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 80px; }
.page-num { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; border: 1px solid #ccc; border-radius: 8px; font-family: var(--font-en); font-weight: 700; }
.page-num.active, .page-num:hover { background: var(--color-text); color: #fff; border-color: var(--color-text); }

/* Breadcrumb */
.breadcrumb { max-width: var(--container-width); margin: 0 auto; padding: 10px var(--gutter); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0; font-size: 0.85rem; color: #888; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: '>'; margin: 0 10px; color: #ccc; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: var(--color-accent-pink); }

/* WordPress specific */
.wp-post-image { width: 100%; height: 100%; object-fit: cover; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

/* Responsive */
@media (max-width: 1024px) {
    .header__nav-pc { display: none; }
    .header__menu-btn { display: block; background: none; border: none; cursor: pointer; width: 40px; height: 25px; position: relative; }
    .header__menu-btn span { display: block; width: 100%; height: 3px; background: var(--color-text); position: absolute; right: 0; transition: 0.3s; }
    .header__menu-btn span:nth-child(1) { top: 0; }
    .header__menu-btn span:nth-child(2) { bottom: 0; width: 70%; }
    .hero { min-height: auto; overflow: visible; padding-top: var(--header-height); padding-bottom: 60px; }
    .hero__container { flex-direction: column; align-items: center; justify-content: flex-start; text-align: left; }
    .hero__text { width: auto; margin: 0 auto 60px; padding: 0 20px; position: relative; z-index: 3; display: inline-block; }
    .hero__visual { width: 100%; height: auto; transform: none; }
    .floating-screen { margin: 0 auto; width: 280px; height: 500px; border-radius: 30px; border-width: 8px; animation: none; }
    .screen-content { border-radius: 22px; }
    .screen-glow { width: 100%; height: 80%; }
    .floating-elements { right: -30px; height: 300px; }
    .hero__title-jp { font-size: 4rem; margin-bottom: 1.5rem; }
    .hero__cta { margin-bottom: 0; }
    .about__grid { gap: 60px; grid-template-columns: 1fr; }
    .about__lead { font-size: 1.8rem; }
    .about__text p { font-size: 1rem; text-align: left; }
    .feature-row { flex-direction: column; gap: 25px; padding: 50px 0; text-align: center; }
    .feature-row--reverse { flex-direction: column; }
    .feature-row__img { width: 100%; height: 300px; }
    .feature-row__content { width: 100%; }
    .news__grid { grid-template-columns: repeat(2, 1fr); }
    .news-card:last-child { display: none; }
    .pickup-list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .pickup-card__name { font-size: 1.1rem; }
    .pickup-card__desc { font-size: 0.8rem; }
    .marquee-track { gap: 15px; }
    .marquee-item { width: 160px; height: 224px; border-radius: 12px; }
    .marquee-info { padding: 12px; }
    .marquee-info .name { font-size: 1rem; }
    .marquee-info .tag { font-size: 0.7rem; padding: 3px 8px; }
    .marquee-wrapper { gap: 15px; margin-bottom: 40px; }
    .recruit { padding: 80px 0; }
    .recruit__title { font-size: 2rem; line-height: 1.5; text-align: left; }
    .recruit__desc { font-size: 1.15rem; text-align: left; margin-bottom: 3rem; }
    .recruit__content { text-align: left; }
}
@media (max-width: 768px) {
    .header { padding: 0 20px; }
    .floating-screen { width: 260px; height: 480px; }
    .hero__title-jp { font-size: 3.5rem; }
    .js-fade-up { filter: none; }
    .section { padding: 80px 0; }
    .section-header { margin-bottom: 50px; }
    .about__lead { font-size: 1.8rem; }
    .about__text p { font-size: 1rem; text-align: left; }
    .feature-row__title { font-size: 2rem; }
    .feature-row__desc { font-size: 1rem; text-align: left; }
    .about__grid { gap: 40px; }
    .about__stats { gap: 20px; }
    .news__grid { grid-template-columns: 1fr; }
    .news-card:last-child { display: block; }
    .footer__top { flex-direction: column; gap: 60px; }
    .footer__nav ul { flex-direction: column; gap: 20px; align-items: flex-start; }
    .footer__bottom { flex-direction: column; gap: 20px; }
    .footer__links { gap: 20px; }
    .post-body { font-size: 0.95rem; line-height: 1.9; padding: 0 5px; }
    .section-title { font-size: 3.5rem; }
    .company-row { flex-direction: column; }
    .company-th { width: 100%; background: transparent; padding: 10px 0 0; color: #666; font-size: 0.9rem; }
    .company-td { width: 100%; padding: 5px 0 15px; }
    .contact-form { padding: 0 10px; }
    .modal-content { grid-template-columns: 1fr; max-height: 85vh; }
    .modal-img { height: 200px; min-height: auto; }
    .modal-info { padding: 24px 24px 30px; }
    .modal-name { font-size: 1.8rem; }
    .modal-tags { font-size: 0.85rem; margin-bottom: 12px; }
    .modal-desc { font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
    .modal-close { top: 12px; right: 12px; width: 32px; height: 32px; font-size: 1.2rem; }
    .pickup-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .pickup-card__img { border-radius: 12px; margin-bottom: 10px; }
    .pickup-card__name { font-size: 0.9rem; }
    .pickup-card__tag { font-size: 0.75rem; }
    .pickup-card__desc { display: none; }
    .genre-filter { gap: 6px; margin-bottom: 30px; }
    .genre-btn { padding: 7px 16px; font-size: 0.8rem; }
    .creator-list { grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 60px; }
    .creator-card__img { border-radius: 10px; margin-bottom: 10px; }
    .creator-card__name { font-size: 0.9rem; }
    .creator-card__tag { font-size: 0.75rem; }
    .news-item { flex-direction: column; }
    .news-item__img { width: 100%; }
    .recruit__title { font-size: 2.5rem; }
    .recruit__desc { font-size: 1.2rem; }
}