/* ==========================================
   リセット & ベーススタイル
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e63946;
    --secondary-color: #1d1d1d;
    --text-color: #2d2d2d;
    --bg-color: #ffffff;
    --accent-color: #f84f65;
    --light-gray: #f8f9fa;
    --border-color: #e8e8e8;
    --transition: cubic-bezier(.4,.4,0,1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   ローディング画面
========================================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s var(--transition);
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================
   ナビゲーション
========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
}

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

.nav-logo a {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--secondary-color);
}

.nav-list {
    display: flex;
    gap: 50px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s var(--transition);
}

/* ==========================================
   ヒーローセクション
========================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 15s ease-out infinite alternate;
}

@keyframes zoomIn {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.2), rgba(29, 29, 29, 0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

.hero-title {
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 10px;
    margin-bottom: 30px;
}

.hero-title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s var(--transition) forwards;
}

.hero-title-line:nth-child(1) {
    animation-delay: 0.3s;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-title-line:nth-child(3) {
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1s var(--transition) 1s forwards;
}

.hero-description {
    font-size: 18px;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 1s var(--transition) 1.3s forwards;
}

.hero-company {
    font-size: 14px;
    letter-spacing: 3px;
    margin-top: 15px;
    opacity: 0.8;
    text-transform: lowercase;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 3px;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: #ffffff;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(20px); opacity: 0.3; }
}

/* ==========================================
   セクション共通
========================================== */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ==========================================
   ABOUTセクション
========================================== */
.about {
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    font-size: 16px;
    line-height: 2;
}

.about-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 20px;
}

.about-company {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    letter-spacing: 2px;
    color: #888;
}

/* ==========================================
   PRODUCERセクション
========================================== */
.producer-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.producer-image {
    position: relative;
}

.producer-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.producer-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(230, 57, 70, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 5px;
}

.producer-label-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.producer-label-title {
    font-size: 12px;
    color: #ffffff;
    opacity: 0.8;
    letter-spacing: 1px;
}

.producer-text {
    font-size: 15px;
    line-height: 2;
}

.producer-name {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.producer-name-en {
    font-size: 16px;
    font-weight: 400;
    color: #888;
    letter-spacing: 1px;
    margin-left: 15px;
}

.producer-role {
    font-size: 14px;
    color: #888;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.producer-bio,
.producer-vision,
.producer-achievements {
    margin-bottom: 40px;
}

.producer-text h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.producer-text p {
    margin-bottom: 20px;
}

.producer-text blockquote {
    background-color: #fff5f5;
    border-left: 4px solid var(--primary-color);
    padding: 20px 25px;
    margin: 25px 0;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    font-weight: 600;
    font-size: 16px;
}

.producer-achievements ul {
    list-style: none;
    padding: 0;
}

.producer-achievements li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.producer-achievements li:before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.producer-achievements li:last-child {
    border-bottom: none;
}

/* ==========================================
   MEMBERSセクション
========================================== */
.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.member-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.5s var(--transition);
}

.member-card:hover {
    transform: translateY(-10px);
}

.member-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--transition);
}

.member-card:hover .member-image {
    transform: scale(1.1);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.92), rgba(29, 29, 29, 0.92));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s var(--transition);
}

.member-card:hover .member-overlay {
    opacity: 1;
}

.member-info-overlay {
    text-align: center;
    color: #ffffff;
    padding: 30px;
}

.member-info-overlay h4 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.member-info-overlay .member-role {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.member-info-overlay .member-bio {
    font-size: 14px;
    line-height: 1.8;
}

.member-info {
    padding: 25px 0;
    text-align: center;
}

.member-name {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.member-info .member-role {
    font-size: 13px;
    letter-spacing: 2px;
    color: #888;
}

/* ==========================================
   NEWSセクション
========================================== */
.news {
    background-color: var(--light-gray);
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.3s var(--transition);
}

.news-item:hover {
    transform: translateX(10px);
}

.news-date {
    display: block;
    font-size: 14px;
    color: #888;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.news-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.news-excerpt {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* ==========================================
   GALLERYセクション
========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.2);
}

/* ==========================================
   CONTACTセクション
========================================== */
.contact {
    background-color: var(--light-gray);
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-text {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 40px;
}

.contact-info {
    margin-bottom: 60px;
}

.contact-email {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.contact-social h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.social-link {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 15px 30px;
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    transition: all 0.3s var(--transition);
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-3px);
}

/* ==========================================
   フッター
========================================== */
.footer {
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.footer-logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-copyright {
    font-size: 12px;
    opacity: 0.6;
    letter-spacing: 1px;
}

/* ==========================================
   レスポンシブデザイン
========================================== */

/* タブレット */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 80px;
    }

    .about-content {
        gap: 50px;
    }

    .producer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* モバイル */
@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: left 0.3s var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
    }

    .nav-link {
        font-size: 18px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero-title {
        font-size: 48px;
        letter-spacing: 5px;
    }

    .hero-subtitle {
        font-size: 20px;
        letter-spacing: 4px;
    }

    .hero-description {
        font-size: 14px;
    }

    section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 36px;
        letter-spacing: 5px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-heading {
        font-size: 22px;
    }

    .about-text {
        font-size: 14px;
    }

    .producer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .producer-name {
        font-size: 24px;
    }

    .producer-name-en {
        display: block;
        margin-left: 0;
        margin-top: 10px;
    }

    .producer-text {
        font-size: 14px;
    }

    .producer-text h4 {
        font-size: 18px;
    }

    .members-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .social-links {
        gap: 20px;
    }

    .social-link {
        font-size: 14px;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }
}
