:root {
    --color-black: #0a0a0c;
    --color-gold: #d4af37;
    --color-gold-light: #f3e5ab;
    --color-bordeaux: #4a0404;
    --color-navy: #0b1325;
    --netflix-red: #E50914;
    
    --text-main: #f5f5f5;
    --text-muted: #a9a9a9;
    
    --glass-bg: rgba(10, 10, 12, 0.6);
    --glass-border: rgba(212, 175, 55, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.7);
    
    --font-serif: 'Noto Serif JP', serif;
    --font-serif-en: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-black);
    color: var(--text-main);
    font-family: var(--font-serif);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, .section-label {
    letter-spacing: 2px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Base utilities */
.align-center { text-align: center; }
.gold-text { color: var(--color-gold); }

/* Background */
.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-color: var(--color-black);
}

/* Intro Sequence Movie */
.intro-movie {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--color-black);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 1s ease;
}

.intro-text {
    position: absolute;
    opacity: 0;
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    text-align: center;
    letter-spacing: 5px;
    color: var(--text-main);
    font-family: var(--font-serif);
    transition: opacity 1.5s ease, transform 3s ease-out;
    transform: scale(0.95);
    line-height: 1.8;
}

.intro-text.show {
    opacity: 1;
    transform: scale(1.05);
}

.intro-logo {
    position: absolute;
    opacity: 0;
    font-size: clamp(3rem, 10vw, 8rem);
    transform: scale(1.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.intro-logo.show {
    opacity: 1;
    transform: scale(1);
}

.skip-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: all 0.3s;
    z-index: 10;
}

.skip-btn:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

.bg-gradient.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(74, 4, 4, 0.4) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(11, 19, 37, 0.5) 0%, transparent 60%),
                linear-gradient(to bottom, rgba(10,10,12,0.6) 0%, var(--color-black) 100%);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    z-index: 100;
    transition: background 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(15px);
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.netflix-logo {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.8rem;
    color: var(--netflix-red);
    font-weight: 900;
    letter-spacing: 1px;
}

.nav-btn {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.netflix-btn {
    background: var(--netflix-red);
    color: white;
    border: none;
}

.netflix-btn:hover {
    background: #f40612;
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 8rem 5%;
    position: relative;
    z-index: 10;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-label {
    display: block;
    font-family: var(--font-serif-en);
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 3rem;
    font-weight: 400;
}

.text-block p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.text-block strong {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    border-radius: 2px;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-serif);
}

.primary-btn {
    background: linear-gradient(135deg, #d4af37 0%, #a67c00 100%);
    color: var(--color-black);
    font-weight: 600;
}

.primary-btn:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.secondary-btn {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.3);
}

.secondary-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.arrow {
    margin-left: 10px;
    transition: transform 0.3s;
}

.btn:hover .arrow {
    transform: translateX(5px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10rem;
}

.netflix-series-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.netflix-series-badge .n-logo {
    color: var(--netflix-red);
    font-size: 1.5rem;
    font-weight: 900;
}

.hero .subtitle {
    display: block;
    font-size: 1rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.hero .title {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.4;
    margin-bottom: 3rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    font-weight: 300;
}

.hero .lead-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.hero .lead-text p {
    margin-bottom: 1rem;
}

.hero .lead-text .highlight {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-top: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Glass Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 4rem;
    border-radius: 4px;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
}

.feature-num {
    font-family: var(--font-serif-en);
    font-size: 3rem;
    color: var(--color-gold);
    opacity: 0.5;
    margin-bottom: 1rem;
    line-height: 1;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Target List */
.check-list {
    list-style: none;
    margin: 2rem 0;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.check-list li::before {
    content: '◇';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

.target-note {
    font-size: 0.9rem;
    color: var(--color-gold);
    opacity: 0.8;
    margin-top: 2rem;
    border-top: 1px solid rgba(212,175,55,0.2);
    padding-top: 1rem;
}

/* Men Section (Silhouette layout) */
.men-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.man-item {
    width: 150px;
    text-align: center;
}

.man-silhouette {
    width: 120px;
    height: 150px;
    /* 背景を明るくして真っ黒のシルエットを目立たせる */
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), rgba(255,255,255,0.1));
    border: 1px solid rgba(255,255,255,0.4);
    margin: 0 auto 1.5rem;
    border-radius: 100px 100px 0 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.2);
}

.silhouette-img {
    width: 140px;
    height: 150px;
    object-fit: cover;
    object-position: center 10%;
    filter: brightness(0);
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.highlight-man {
    /* 大富豪は背景もリッチなゴールドにして黒シルエットを一層引き立たせる */
    background: linear-gradient(to bottom, rgba(212,175,55,0.8), rgba(212,175,55,0.3));
    border-color: rgba(212,175,55,0.8);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(212,175,55,0.3), inset 0 0 20px rgba(212,175,55,0.4);
}

/* 大富豪だけシルエットの色を真っ黒にしつつ、背後にゴールドの後光を少し当てます */
.billionaire-img {
    filter: brightness(0) drop-shadow(0 0 15px rgba(212,175,55,0.8));
}

.man-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Requirements Table */
.req-table {
    width: 100%;
    border-collapse: collapse;
}

.req-table th, .req-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: left;
}

.req-table th {
    width: 25%;
    color: var(--color-gold);
    font-weight: 400;
}

.req-table td {
    color: var(--text-main);
}

/* FAQ */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.02);
    padding: 1.5rem;
    border-left: 2px solid var(--color-gold);
}

.faq-q {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.faq-a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Applicant Counter */
.counter-section {
    padding: 2rem 5% 6rem;
}

.counter-card {
    max-width: 600px;
    margin: 0 auto;
    border-top: 4px solid var(--netflix-red);
}

.counter-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.counter-number {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.counter-number .number {
    font-size: 5.5rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-right: 0.5rem;
    line-height: 1;
    text-shadow: 0 0 20px rgba(212,175,55,0.4);
}

.counter-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Casting Manager */
.manager-card {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
    border-left: 4px solid var(--netflix-red);
}

.manager-photo {
    flex-shrink: 0;
}

.manager-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%; /* 顔周辺に自然にフォーカス */
    border: 3px solid var(--color-gold);
    box-shadow: 0 0 30px rgba(212,175,55,0.2);
}

.manager-name {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
    display: flex;
    flex-direction: column;
}

.manager-name span {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-gold);
    letter-spacing: 2px;
    margin-top: 4px;
}

.manager-career ul {
    list-style: none;
}

.manager-career li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.manager-career li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--netflix-red);
}

/* Application Form Section */
.apply {
    background: url('assets/hero-bg.png') no-repeat center center / cover;
    position: relative;
}

.apply::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10,10,12,0.85);
}

.push-copy {
    margin-bottom: 4rem;
}

.push-text {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.form-title {
    font-family: var(--font-serif-en);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
    letter-spacing: 5px;
    border-bottom: 1px solid rgba(212,175,55,0.3);
    padding-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group.row {
    display: flex;
    gap: 1.5rem;
}

.form-group.row .col {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}

.required, .optional {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 10px;
    vertical-align: middle;
}

.required {
    background: var(--color-bordeaux);
    border: 1px solid rgba(255,255,255,0.2);
}

.optional {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
}

input[type="text"], input[type="number"], input[type="email"], textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 2px;
    color: white;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(0,0,0,0.6);
}

.file-input {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0,0,0,0.3);
    border: 1px dashed rgba(255,255,255,0.3);
    color: var(--text-muted);
    cursor: pointer;
}

.form-agreement {
    margin: 3rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    height: 18px;
    width: 18px;
    background-color: transparent;
    border: 1px solid var(--color-gold);
    margin-right: 15px;
    position: relative;
    border-radius: 2px;
}

.checkbox-label input:checked ~ .checkmark::after {
    content: "✓";
    position: absolute;
    color: var(--color-gold);
    font-size: 14px;
    top: -2px;
    left: 2px;
}

.submit-btn {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
}

.form-status {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    min-height: 20px;
}
.form-status.error { color: #ff6b6b; }
.form-status.success { color: #51cf66; font-size: 1.1rem; }

/* Footer */
footer {
    padding: 6rem 5% 3rem;
    background: var(--color-black);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.logo-footer {
    font-family: var(--font-serif-en);
    color: var(--color-gold);
    font-size: 1.8rem;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.footer-links {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.copyright {
    opacity: 0.4;
    font-size: 0.75rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1.0s; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.6;
}
.scroll-indicator span {
    font-size: 0.6rem;
    letter-spacing: 3px;
    margin-bottom: 8px;
    font-family: var(--font-sans);
}
.scroll-indicator .line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Responsive */
@media (max-width: 768px) {
    .manager-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .manager-career li {
        text-align: left;
    }

    .form-group.row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .glass-panel {
        padding: 2rem;
    }
    
    section {
        padding: 5rem 5%;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .req-table th, .req-table td {
        display: block;
        width: 100%;
    }
    .req-table th {
        border-bottom: none;
        padding-bottom: 0.5rem;
    }
}
