@charset 'UTF-8';

/* =========================================
   Variables & Reset
   ========================================= */
:root {
    --bg-color: #0b0b0b;
    --bg-secondary: #141414;
    --text-color: #f0f0f0;
    --text-muted: #999999;
    --accent-color: #c5a059;
    --accent-gradient: linear-gradient(135deg, #c5a059, #9e7e38);
    --font-serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    --font-sans: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
    --font-english: "Cinzel", serif;
    --border-color: #333;
    --transition-slow: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    --youtube-color: #FF0000;
    --instagram-color: #E1306C;
}

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

html {
    scroll-padding-top: 90px;
    overflow-x: hidden;
    width: 100%;
}

/* =========================================
   Base Styles
   ========================================= */
body {
    background: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #050505 100%);
    background-attachment: fixed;
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 2.0;
    letter-spacing: 0.08em;
    min-height: 100vh;
    display: flex; flex-direction: column;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
main { flex: 1; }
a { text-decoration: none; color: inherit; transition: var(--transition-slow); }
img, video { max-width: 100%; display: block; }

/* =========================================
   Floating & Animations
   ========================================= */
.floating { animation: float-anim 8s ease-in-out infinite; }
@keyframes float-anim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fade-up, .fade-left, .fade-right {
    opacity: 0;
    transition: opacity 2.0s cubic-bezier(0.22, 1, 0.36, 1), transform 2.0s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.fade-up { transform: translateY(50px); }

.fade-right { transform: translate3d(40px, 0, 0); }
.fade-left { transform: translate3d(-40px, 0, 0); }

.fade-up.visible, .fade-left.visible, .fade-right.visible {
    opacity: 1; transform: translate3d(0, 0, 0);
}
.delay-100 { transition-delay: 0.2s; }
.delay-200 { transition-delay: 0.4s; }
.delay-300 { transition-delay: 0.6s; }

/* =========================================
   Loading Screen
   ========================================= */
#loading-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #000; z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loading-logo {
    font-family: var(--font-english); font-size: 2rem; color: var(--accent-color);
    letter-spacing: 0.2em; animation: fadeIn 1.5s ease forwards;
}
body.loaded #loading-screen { opacity: 0; visibility: hidden; }
@keyframes fadeIn { to { opacity: 1; } }

/* =========================================
   Header
   ========================================= */
header {
    padding: 20px 0; width: 100%; z-index: 1000; position: fixed; top: 0; left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    transition: background 0.5s ease, padding 0.5s ease;
}
header.sticky-header {
    background: rgba(10, 10, 10, 0.95); padding: 15px 0; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
header .container {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; max-width: 1280px; padding: 0 40px; margin: 0 auto;
}

.logo { 
    display: flex; align-items: center; gap: 15px; cursor: pointer;
}

.logo img {
    height: 45px; width: auto;
    filter: none; 
    transition: filter 0.3s ease;
    opacity: 1 !important; 
}
.logo:hover img {
    filter: brightness(0) saturate(100%) invert(68%) sepia(61%) saturate(368%) hue-rotate(4deg) brightness(92%) contrast(88%);
}

.logo-text {
    font-family: var(--font-english); font-size: 1.3rem; color: var(--text-color);
    letter-spacing: 0.1em; font-weight: 700;
    transition: color 0.3s ease;
}
.logo:hover .logo-text {
    color: var(--accent-color);
}

.header-nav-list { display: flex; gap: 35px; list-style: none; align-items: center; }
.header-nav-link {
    font-size: 0.9rem; font-weight: 500; color: var(--text-color); position: relative;
    padding: 5px 0; font-family: var(--font-english); opacity: 0.8; transition: opacity 0.3s;
}
.header-nav-link:hover, .header-nav-link.active { opacity: 1; color: var(--accent-color); }
.btn-contact-nav {
    border: 1px solid var(--accent-color); padding: 8px 25px; border-radius: 50px;
    color: var(--accent-color); opacity: 1;
}
.btn-contact-nav:hover { background-color: rgba(197, 160, 89, 0.1); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; z-index: 2001; width: 30px; height: 30px; }
.hamburger-lines span {
    display: block; height: 1px; width: 100%; background-color: var(--text-color); margin-bottom: 7px; transition: 0.3s;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; position: relative; overflow: hidden;
}
.hero-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.6; will-change: transform;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, #0b0b0b 100%); z-index: -1;
}
.hero-content { position: relative; z-index: 1; width: 100%; }
.hero-subtitle { font-size: 1.2rem; color: var(--accent-color); margin-bottom: 30px; letter-spacing: 0.3em; font-weight: 500; }
.hero-title {
    font-family: var(--font-serif); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: normal; line-height: 1.6;
    margin-bottom: 40px; text-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.hero-name { font-size: 1rem; color: #ccc; font-family: var(--font-english); letter-spacing: 0.15em; margin-bottom: 60px; }
.hero-actions { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center;
    color: var(--text-muted); font-size: 0.75rem; font-family: var(--font-english); letter-spacing: 0.2em; opacity: 0.6;
}
.scroll-indicator .line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--text-muted), transparent); margin-top: 15px; }

/* =========================================
   Utility & Sections
   ========================================= */
.container { max-width: 1000px; margin: 0 auto; padding: 0 25px; }
.text-center { text-align: center; }
.text-accent { color: var(--accent-color); }
.py-100 { padding-top: 120px; padding-bottom: 120px; }
.mt-50 { margin-top: 50px; }
.mb-40 { margin-bottom: 40px; }
.ml-10 { margin-left: 10px; }
.bg-darker { background-color: #080808; }
.section-header { text-align: center; margin-bottom: 100px; position: relative; }
.section-title {
    font-family: var(--font-english); font-size: 2.8rem; color: var(--accent-color);
    letter-spacing: 0.15em; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; gap: 30px;
}
.section-title::before, .section-title::after {
    content: ''; width: 60px; height: 1px; background-color: var(--accent-color); display: block;
}
.section-subtitle { font-size: 0.9rem; color: var(--text-muted); display: block; font-family: var(--font-serif); letter-spacing: 0.1em; }
#sns { padding-bottom: 40px; }
.contact-cta { padding-top: 40px; }

/* =========================================
   About & History
   ========================================= */
.profile-wrap { display: flex; flex-wrap: wrap; gap: 80px; align-items: center; justify-content: center; }
.profile-media .profile-img { width: 100%; max-width: 280px; border-radius: 2px; filter: brightness(0.9); }
.media-decoration {
    position: absolute; top: -20px; left: -20px; width: 100px; height: 100px;
    border-top: 1px solid var(--accent-color); border-left: 1px solid var(--accent-color); opacity: 0.7; z-index: 1;
}
.profile-name {
    font-size: 2.2rem; margin-bottom: 15px; font-family: var(--font-serif);
    border-bottom: 1px solid #333; padding-bottom: 20px; display: inline-block; width: 100%;
}
.history-list { border-left: 1px solid rgba(255, 255, 255, 0.08); padding-left: 50px; margin-left: 20px; }
.history-item { margin-bottom: 70px; position: relative; }
.history-item::before {
    content: ''; width: 10px; height: 10px; background: var(--bg-color); border: 1px solid var(--accent-color);
    border-radius: 50%; position: absolute; left: -55px; top: 10px;
}
.history-year { font-family: var(--font-english); font-size: 1.6rem; color: var(--accent-color); margin-bottom: 15px; }

/* =========================================
   Works Section (Grid)
   ========================================= */
.projects-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: stretch;
}
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.work-item {
    background: var(--bg-secondary); border-radius: 4px; overflow: hidden; border: 1px solid transparent;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease; display: flex; flex-direction: column;
}
.work-item:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.5); border-color: rgba(197, 160, 89, 0.3); }
.card-image-wrap { position: relative; height: 220px; overflow: hidden; }
.project-card-image { width: 100%; height: 100%; object-fit: cover; }
.card-tag {
    position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.8); color: var(--accent-color);
    padding: 5px 12px; font-size: 0.75rem; border: 1px solid var(--accent-color);
}
.project-content { padding: 30px; flex: 1; }
.project-title { font-size: 1.3rem; font-family: var(--font-serif); margin-bottom: 15px; }
.project-desc { font-size: 0.9rem; color: #aaa; margin-bottom: 25px; line-height: 1.8; }
.project-link {
    font-size: 0.85rem; color: var(--accent-color); display: inline-flex; align-items: center; gap: 8px;
    transition: 0.3s; margin-top: auto;
}
.project-link:hover { gap: 12px; }
.coming-soon-text { font-size: 1.1rem; color: #888; border: 1px dashed #444; padding: 15px 30px; display: inline-block; border-radius: 50px; }

/* =========================================
   Detail Section
   ========================================= */
.detail-section { padding: 120px 0; background-color: #0f0f0f; border-top: 1px solid #1a1a1a; }
.detail-grid { display: flex; gap: 60px; align-items: center; }
.detail-grid.reverse-grid { flex-direction: row-reverse; }
.detail-image-wrap { flex: 1; }
.detail-image { border-radius: 4px; width: 100%; height: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.detail-text { flex: 1; }
.detail-title {
    font-size: 1.8rem; margin-bottom: 30px; font-family: var(--font-serif);
    border-left: 3px solid var(--accent-color); padding-left: 20px;
}
.detail-text h3 { font-size: 1.2rem; color: var(--accent-color); margin-top: 40px; margin-bottom: 15px; }
.detail-text h3:first-of-type { margin-top: 0; }

/* =========================================
   Interview Page Styles
   ========================================= */
.interview-layout {
    display: flex; gap: 60px; align-items: flex-start;
}
.interview-sidebar {
    flex: 0 0 300px; position: sticky; top: 100px;
}
.interview-profile-card {
    text-align: center; background: var(--bg-secondary);
    padding: 30px; border-radius: 4px; border: 1px solid #222;
}
.interview-profile-img {
    width: 100%; border-radius: 2px; margin-bottom: 20px;
}
.interview-name {
    font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 10px;
}
.interview-role {
    color: var(--accent-color); font-family: var(--font-english); font-size: 0.8rem;
}
.interview-content { flex: 1; }
.interview-article h3 {
    font-size: 1.4rem; color: var(--accent-color);
    margin-top: 50px; margin-bottom: 20px;
    border-bottom: 1px solid #333; padding-bottom: 10px;
}
.interview-article h3:first-child { margin-top: 0; }
.interview-article p { margin-bottom: 30px; color: #ccc; }

/* =========================================
   YouTube Facade (Theater Mode)
   ========================================= */
.youtube-facade {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    max-width: 600px; margin-top: 60px; margin-left: auto; margin-right: auto;
    background-image: url('https://img.youtube.com/vi/iCS9u8pC6iY/maxresdefault.jpg');
    background-size: cover; background-position: center; border-radius: 8px; overflow: hidden;
    cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.youtube-facade:hover { transform: translateY(-5px); border-color: var(--accent-color); }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); transition: 0.3s; }
.youtube-facade:hover .video-overlay { background: rgba(0,0,0,0.1); }
.play-button {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 70px; height: 70px; background-color: rgba(0,0,0,0.7);
    border: 2px solid var(--accent-color); border-radius: 50%; display: flex; justify-content: center; align-items: center;
    z-index: 2; transition: 0.3s; color: var(--accent-color); font-size: 1.5rem; padding-left: 5px;
}
.youtube-facade:hover .play-button { background-color: var(--accent-color); color: #000; transform: translate(-50%, -50%) scale(1.1); }
.youtube-facade iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* =========================================
   Buttons & SNS
   ========================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 35px; border-radius: 50px;
    font-weight: 500; font-size: 0.95rem; letter-spacing: 0.05em; transition: all 0.4s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent-gradient); color: #000; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2); }
.btn-lg { padding: 18px 50px; font-size: 1.05rem; }
.btn-xl { padding: 18px 50px; font-size: 1.1rem; min-width: 250px; }
.btn-youtube { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-youtube:hover { background: #FF0000; border-color: #FF0000; }
.btn-instagram { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-instagram:hover { background: #E1306C; border-color: #E1306C; }

.sns-promo-box {
    background: linear-gradient(135deg, #151515, #1d1d1d); padding: 80px 30px;
    border-radius: 8px; border: 1px solid #222; margin-bottom: 0;
}
.sns-promo-box .section-title { margin-bottom: 30px; }
.sns-desc { margin-bottom: 50px; color: #ccc; font-size: 1.05rem; line-height: 2.0; letter-spacing: 0.05em; }
.sns-buttons-large { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.shine-effect { position: relative; overflow: hidden; }
.shine-effect::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); transition: 0.6s;
}
.shine-effect:hover::after { left: 100%; }

/* =========================================
   Contact Form
   ========================================= */
.contact-wrapper { max-width: 700px; margin: 0 auto; }
.contact-form-container { background: var(--bg-secondary); padding: 60px; border-radius: 4px; border: 1px solid #222; }
.form-group { margin-bottom: 35px; }
.form-group label { display: block; margin-bottom: 12px; color: var(--text-color); font-size: 0.95rem; letter-spacing: 0.05em; }
.form-group input, .form-group textarea {
    width: 100%; padding: 18px; background-color: #0b0b0b; border: 1px solid #333; border-radius: 2px; color: #fff; font-size: 1rem; transition: 0.4s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent-color); background-color: #111; outline: none; }
.form-group textarea { resize: vertical; }

/* =========================================
   Footer
   ========================================= */
footer {
    background-color: #050505; padding: 80px 0 40px; border-top: 1px solid #1a1a1a; text-align: center;
}
.footer-logo {
    font-family: var(--font-english); font-size: 1.8rem; margin-bottom: 40px; color: #666;
}
.footer-nav-list {
    display: flex; justify-content: center; gap: 30px; margin-bottom: 50px; list-style: none; flex-wrap: wrap;
}
.footer-nav-list li a { transition: color 0.3s; }
.footer-nav-list li a:hover { color: var(--accent-color); }

.social-icon {
    font-size: 1.6rem; margin: 0 20px; color: #555; transition: 0.4s;
}
.social-icon:hover {
    color: var(--accent-color); transform: translateY(-3px);
}
.copyright { font-size: 0.8rem; color: #444; }

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
    .py-100 { padding-top: 80px; padding-bottom: 80px; }
    
    .hero-title { 
        font-size: 1.8rem; line-height: 1.4; margin-bottom: 20px; font-feature-settings: "palt";
    }
    .hero-subtitle { font-size: 0.9rem; margin-bottom: 15px; }
    .hero-name { margin-bottom: 30px; }

    .hero-actions .btn { padding: 10px 20px; font-size: 0.8rem; gap: 8px; }
    .hero-actions { gap: 15px; }

    .mobile-menu-btn { display: block; }
    .header-nav {
        position: fixed; top: 0; right: 0; width: 100%; height: 100vh; background: #0b0b0b;
        display: flex; justify-content: center; align-items: center; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 2000;
    }
    body.menu-open .header-nav { transform: translateX(0); }
    .header-nav-list { flex-direction: column; gap: 30px; }
    .header-nav-link { font-size: 1.4rem; }
    body.menu-open .hamburger-lines span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    body.menu-open .hamburger-lines span:nth-child(2) { opacity: 0; }
    body.menu-open .hamburger-lines span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
    
    .detail-grid { flex-direction: column; }
    .detail-grid.reverse-grid { flex-direction: column-reverse; }
    .sns-promo-box { padding: 60px 20px; }
    .sns-buttons-large { flex-direction: column; gap: 20px; }
    .btn-xl { width: 100%; justify-content: center; }
    .youtube-facade { margin-top: 40px; }

    .interview-layout { flex-direction: column; }
    .interview-sidebar { position: static; width: 100%; max-width: 400px; margin: 0 auto; }
}