/* =========================================
   基本設定 (配色などを変更したい場合はここ)
   ========================================= */
:root {
    --bg: #0A192F;       /* 背景色 - ディープネイビー */
    --card-bg: #112240;  /* カードの背景色 - ディープブルー */
    --text: #E6F1FF;     /* 文字色 - ライトブルー */
    --sidebar-bg: #0A192F;  /* サイドバー背景色 */
    --sidebar-text: #E6F1FF; /* サイドバーテキスト */
    --accent-blue: #2b5aa6;  /* アクセントカラー（ロゴの青） */
    --gold: #D4AF37;     /* ゴールド */
    --amber: #FFA500;    /* アンバー */
    --cyan: #64FFDA;     /* シアン */
    --slate: #8892B0;    /* スレートグレー */
}

html { scroll-behavior: smooth; }

body {
    background: linear-gradient(135deg, #0A192F 0%, #112240 50%, #0F1B2E 100%);
    color: var(--text);
    font-family: 'Manrope', 'Noto Sans JP', sans-serif;
    margin: 0; padding: 0;
}

/* --- レイアウト設定（変更非推奨） --- */
.wrapper { display: flex; min-height: 100vh; }

/* 左サイドバー */
.sidebar {
    width: 350px; height: 100vh;
    position: sticky; top: 0;
    padding: 4rem; box-sizing: border-box;
    display: flex; flex-direction: column; justify-content: space-between;
    z-index: 100;
    background: linear-gradient(165deg, #0A192F 0%, #050C17 50%, #0F1B2E 100%);
    color: var(--sidebar-text);
    border-right: 1px solid rgba(212, 175, 55, 0.1);
}
.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(100, 255, 218, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
.logo {
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* サイドバーの説明文 */
.sidebar-desc {
    font-size: 0.85rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
    white-space: pre-wrap; /* 改行をそのまま反映 */
}

.contact-info { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); line-height: 1.8; }

/* ナビゲーションメニュー */
.nav-menu {
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.nav-menu a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.8rem 0;
    transition: 0.2s;
    border-left: 3px solid transparent;
    padding-left: 1rem;
}
.nav-menu a:hover {
    color: var(--gold);
    border-left-color: var(--gold);
    padding-left: 1.5rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}
.nav-menu a.active {
    font-weight: 800;
    border-left-color: var(--cyan);
    color: var(--cyan);
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
}

/* 右メインコンテンツエリア */
.main { flex: 1; padding: 0; }

/* カード共通デザイン */
.sticky-card {
    background: linear-gradient(135deg, rgba(17, 34, 64, 0.7) 0%, rgba(10, 25, 47, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 5rem;
    margin-bottom: 0;
    min-height: 80vh;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5), 0 0 1px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    display: flex; flex-direction: column;
    position: sticky; top: 2rem;
}

/* --- 各セクションの位置調整 --- */
#intro {
    top: 2rem; z-index: 1;
    justify-content: flex-end;
    color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* ヒーロー動画背景 */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

#intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.6) 0%, rgba(15, 23, 34, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}
#philosophy { position: relative; top: auto; z-index: 2; border-top: 1px solid rgba(212, 175, 55, 0.15); margin-bottom: 0; }
#company { position: relative; top: auto; z-index: 3; border-top: 1px solid rgba(212, 175, 55, 0.15); min-height: auto; padding-bottom: 5rem; margin-top: -3rem; margin-bottom: 0; }
#projects {
    position: relative; top: auto; z-index: 4;
    border-top: 1px solid rgba(212, 175, 55, 0.15); margin-top: -3rem; margin-bottom: 0;
    padding-bottom: 5rem; min-height: auto;
}
#contact {
    position: relative; top: auto; z-index: 5;
    background: linear-gradient(135deg, rgba(5, 12, 23, 0.95) 0%, rgba(10, 25, 47, 0.95) 50%, rgba(7, 16, 30, 0.95) 100%);
    color: var(--text); border: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: -4rem; margin-bottom: 0;
    min-height: 50vh;
    padding-bottom: 0;
    box-shadow: 0 -5px 30px rgba(212, 175, 55, 0.1);
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.1;
    margin: 0;
    position: relative;
    z-index: 2;
}
.hero-title strong { font-weight: 800; display: block; }

/* カード内部の要素 */
.card-header {
    display: flex; justify-content: space-between; margin-bottom: 3rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--gold) 0%, rgba(212, 175, 55, 0.2) 100%);
    border-image-slice: 1;
    padding-bottom: 1rem;
}
.card-label {
    font-weight: 800; text-transform: uppercase; font-size: 0.9rem;
    background: linear-gradient(90deg, var(--gold) 0%, var(--amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}
.card-body p { font-size: 1.1rem; line-height: 2; opacity: 0.9; max-width: 700px; }

.company-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.company-table th, .company-table td { text-align: left; padding: 1.5rem 0; border-bottom: 1px solid rgba(100, 255, 218, 0.15); }
.company-table th { width: 30%; opacity: 0.7; font-weight: 500; color: var(--slate); }

/* 制作実績（Projects）のグリッド表示 */
.proj-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem;
}
.proj-item {
    cursor: pointer; position: relative; display: none; overflow: hidden;
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 8px;
    transition: all 0.4s ease;
}
.proj-item.loaded { display: block; }
.proj-item:hover {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3), 0 8px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}
.proj-img {
    width: 100%; height: 300px; object-fit: cover;
    background: rgba(17, 34, 64, 0.5);
    display: block; transition: transform 0.4s ease;
}
.proj-item:hover .proj-img { transform: scale(1.05); }
.proj-title { font-weight: 800; margin-top: 1rem; display: block; color: var(--cyan); }
.proj-loc { font-size: 0.8rem; color: var(--slate); }

/* 動画サムネイルとプレイボタン */
.proj-video-thumb { position: relative; }
.play-overlay {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9) 0%, rgba(255, 165, 0, 0.9) 100%);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #0A192F; font-size: 1.5rem; pointer-events: none;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}
.proj-item:hover .play-overlay {
    background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.8);
}

/* フッター */
.site-footer {
    background: linear-gradient(135deg, #050C17 0%, #0A192F 100%);
    color: var(--slate);
    text-align: center;
    padding: 3rem 2rem;
    font-size: 0.9rem;
    margin: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.site-footer p {
    margin: 0;
    line-height: 1.5;
}

/* 画像拡大（Lightbox）の設定 */
.lightbox {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0;
    width: 100%; height: 100%; overflow: hidden;
    background-color: rgba(10, 25, 47, 0.98);
    justify-content: center; align-items: center; flex-direction: column;
    border: 2px solid rgba(212, 175, 55, 0.2);
}
.lightbox-content { max-width: 90%; max-height: 80vh; object-fit: contain; animation: fadein 0.3s; }
#lightbox-video { display: none; }
.lb-controls {
    position: absolute; width: 100%; top: 50%; transform: translateY(-50%);
    display: flex; justify-content: space-between; padding: 0 2rem; box-sizing: border-box; pointer-events: none;
}
.lb-btn {
    pointer-events: auto; cursor: pointer; color: var(--gold); font-size: 3rem; user-select: none;
    background: rgba(212, 175, 55, 0.1); width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.3s;
    border: 2px solid rgba(212, 175, 55, 0.3);
}
.lb-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}
.close {
    position: absolute; top: 20px; right: 35px; color: var(--gold); font-size: 40px; font-weight: bold; cursor: pointer; z-index: 2001;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
}
.close:hover {
    color: var(--cyan);
    text-shadow: 0 0 30px rgba(100, 255, 218, 0.7);
    transform: scale(1.1);
}
@keyframes fadein { from {opacity:0} to {opacity:1} }

/* ハンバーガーメニューボタン */
.menu-toggle {
    display: none;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 1001;
    width: 50px;
    height: 50px;
    background: var(--sidebar-bg);
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(100, 255, 218, 0.1) 100%);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
    border: 1px solid var(--gold);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* タブレット向けレスポンシブ設定 */
@media (max-width: 1024px) {
    .sidebar {
        width: 300px;
        padding: 3rem;
    }

    .main {
        padding: 0;
    }

    .sticky-card {
        padding: 3.5rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .company-table th {
        width: 35%;
    }
}

/* スマートフォン向けレスポンシブ設定 */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .wrapper {
        flex-direction: column;
        width: 100%;
        overflow-x: hidden;
    }

    .sidebar {
        width: 280px;
        height: 100vh;
        position: fixed;
        top: 0;
        left: -280px;
        padding: 5rem 2rem 2rem 2rem;
        z-index: 1000;
        overflow-y: auto;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar.active {
        left: 0;
        box-shadow: 4px 0 20px rgba(0,0,0,0.3);
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }

    .logo {
        max-width: 200px;
    }

    .sidebar-desc {
        margin-top: 2rem;
        margin-bottom: 2rem;
        font-size: 0.8rem;
    }

    .nav-menu {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .contact-info {
        font-size: 0.75rem;
    }

    .main {
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .sticky-card, #projects, #contact {
        padding: 2rem 1.5rem;
        top: auto !important;
        position: relative !important;
        min-height: auto;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-title {
        font-size: 2.2rem;
        word-break: break-word;
    }

    .card-body h2 {
        font-size: 1.8rem !important;
    }

    .card-body h3 {
        font-size: 1.5rem !important;
    }

    .card-body h4 {
        font-size: 1.1rem !important;
    }

    .card-body p {
        font-size: 1rem !important;
        line-height: 1.8 !important;
    }

    .proj-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .proj-img {
        height: 220px;
    }

    .proj-title {
        font-size: 1rem;
    }

    .proj-loc {
        font-size: 0.8rem;
    }

    #intro {
        min-height: 60vh;
        padding: 3rem 2rem !important;
    }

    /* モバイルでも動画を表示 */
    .hero-video {
        display: block;
    }

    .company-table {
        font-size: 0.9rem;
    }

    .company-table th,
    .company-table td {
        padding: 1rem 0;
    }

    .company-table th {
        width: 40%;
    }

    .ceo-profile-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }

    .ceo-image-wrapper {
        display: flex;
        justify-content: center;
    }

    .ceo-image-wrapper img {
        width: 100% !important;
        max-width: 250px !important;
        height: auto !important;
    }

    .ceo-content {
        text-align: left;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline::before {
        width: 3px;
    }

    .timeline-item {
        padding-left: 1rem;
    }

    .timeline-item::before {
        left: -2.3rem;
        width: 12px;
        height: 12px;
    }

    .lb-btn {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .lb-controls {
        padding: 0 1rem;
    }

    .close {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }
}

/* 極小スマートフォン向け */
@media (max-width: 480px) {
    .menu-toggle {
        width: 45px;
        height: 45px;
        top: 1rem;
        left: 1rem;
    }

    .sidebar {
        width: 260px;
        left: -260px;
        padding: 4.5rem 1.5rem 1.5rem 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .sticky-card, #projects, #contact {
        padding: 1.5rem 1rem;
        margin-bottom: 0 !important;
    }

    .card-body h2 {
        font-size: 1.5rem !important;
    }

    .card-body h3 {
        font-size: 1.3rem !important;
    }

    .proj-img {
        height: 180px;
    }

    .company-table {
        font-size: 0.85rem;
    }
}

/* =========================================
   アニメーション設定
   ========================================= */

/* スクロールプログレスバー */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--amber) 50%, var(--cyan) 100%);
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ロゴの文字アニメーション */
@keyframes fadeInChar {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* サイドバーのスライドイン */
.sidebar {
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
}

.sidebar.animate-slide-in {
    transform: translateX(0);
    opacity: 1;
}

/* メインコンテンツのフェードイン */
.main {
    opacity: 0;
    transition: opacity 1s ease 0.3s;
}

.main.animate-fade-in {
    opacity: 1;
}

/* スクロール連動アニメーション */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* テキストの順次表示 */
.text-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: calc(var(--animation-order) * 0.05s);
}

.text-animate.text-in {
    opacity: 1;
    transform: translateY(0);
}

/* ナビゲーションメニューのホバー効果強化 */
.nav-menu a {
    position: relative;
    overflow: hidden;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--amber) 100%);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

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


/* CONTACTフォームのフォーカス効果 */
#contact-form input,
#contact-form select,
#contact-form textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--cyan) !important;
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.3), 0 0 20px rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
}

#contact-form button {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 2px solid var(--gold) !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%) !important;
    color: #fff !important;
}

#contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4), 0 0 20px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%) !important;
    color: #0A192F !important;
}

#contact-form button:active {
    transform: translateY(-1px);
}

/* CEO画像のアニメーション */
.ceo-image-animate {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.ceo-image-animate.ceo-image-in {
    opacity: 1;
    transform: scale(1);
}

.ceo-image-animate:hover {
    transform: scale(1.05);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 会社情報テーブルの行アニメーション */
.company-table tr {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRow 0.5s ease forwards;
}

.company-table tr:nth-child(1) { animation-delay: 0.1s; }
.company-table tr:nth-child(2) { animation-delay: 0.2s; }
.company-table tr:nth-child(3) { animation-delay: 0.3s; }
.company-table tr:nth-child(4) { animation-delay: 0.4s; }
.company-table tr:nth-child(5) { animation-delay: 0.5s; }
.company-table tr:nth-child(6) { animation-delay: 0.6s; }
.company-table tr:nth-child(7) { animation-delay: 0.7s; }
.company-table tr:nth-child(8) { animation-delay: 0.8s; }

@keyframes slideInRow {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ページ遷移アニメーション */
body {
    transition: opacity 0.3s ease;
}

body.page-transition-out {
    opacity: 0;
}


/* ライトボックスのアニメーション強化 */
.lightbox {
    backdrop-filter: blur(10px);
    transition: backdrop-filter 0.3s ease;
}

.lightbox-content {
    transform: scale(0.9);
    opacity: 0;
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* プレイオーバーレイのアニメーション */
.play-overlay {
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, box-shadow 0.3s ease;
}

.proj-item:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.2);
}

/* スムーズなカラー遷移 */
* {
    transition-property: color, background-color, border-color;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}

/* アニメーションのパフォーマンス最適化 */
.scroll-animate,
.text-animate,
.proj-item,
.sidebar,
.main {
    will-change: transform, opacity;
}

@media (max-width: 900px) {
    .sidebar {
        transform: translateX(0);
        opacity: 1;
    }

    .scroll-progress {
        height: 2px;
    }
}

/* =========================================
   フィルムローディングアニメーション
   ========================================= */
.film-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A192F 0%, #050C17 50%, #0F1B2E 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.film-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.film-reel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.film-reel {
    width: 150px;
    height: 150px;
    animation: filmSpin 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes filmSpin {
    0% {
        transform: rotate(0deg);
    }
    70% {
        transform: rotate(1080deg);
    }
    100% {
        transform: rotate(1440deg);
    }
}

.loader-logo {
    background: linear-gradient(90deg, var(--gold) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    opacity: 0;
    animation: logoFadeIn 0.6s ease 1.8s forwards;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .film-reel {
        width: 100px;
        height: 100px;
    }

    .loader-logo {
        font-size: 1.2rem;
    }
}

.hero-title {
    position: relative;
    z-index: 1;
}

/* =========================================
   フィルムストリップ効果
   ========================================= */
.film-strip-section {
    background: linear-gradient(135deg, #0A192F 0%, #050C17 100%);
    color: var(--text);
}

.film-strip-container {
    position: relative;
    padding: 3rem 0;
}

.film-strip-container::before,
.film-strip-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 40px;
    background-image:
        repeating-linear-gradient(
            90deg,
            #1a1a1a 0px,
            #1a1a1a 20px,
            transparent 20px,
            transparent 30px,
            #1a1a1a 30px,
            #1a1a1a 50px
        );
    z-index: 1;
}

.film-strip-container::before {
    top: -20px;
    border-top: 3px solid #333;
    border-bottom: 3px solid #333;
}

.film-strip-container::after {
    bottom: -20px;
    border-top: 3px solid #333;
    border-bottom: 3px solid #333;
}

.film-strip-section .proj-item {
    position: relative;
    border: 2px solid #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.film-strip-section .proj-img {
    border: 3px solid #1a1a1a;
}

.film-strip-section .proj-title {
    color: #fff;
}

.film-strip-section .proj-loc {
    color: #999;
}

.film-strip-section .card-header {
    border-image: linear-gradient(90deg, var(--gold) 0%, rgba(212, 175, 55, 0.3) 100%);
    border-image-slice: 1;
}

.film-strip-section .card-label {
    background: linear-gradient(90deg, var(--gold) 0%, var(--amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   タイムライン効果
   ========================================= */
.timeline {
    position: relative;
    padding-left: 3rem;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold) 0%, rgba(212, 175, 55, 0.3) 50%, var(--cyan) 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 1.5rem;
    transition: transform 0.3s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.6rem;
    top: 0.3rem;
    width: 16px;
    height: 16px;
    background: var(--gold);
    border: 3px solid var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    z-index: 1;
}

.timeline-item:hover {
    transform: translateX(8px);
}

.timeline-item:hover::before {
    background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%);
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.4), 0 0 20px rgba(212, 175, 55, 0.3);
}

.timeline-year {
    font-weight: 800;
    margin-bottom: 0.8rem;
    background: linear-gradient(90deg, var(--gold) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
}
