/* Movie Viewer Layout Styles */
/* ヘッダー、CTAセクション、フッターの共通レイアウト */

/* ヘッダー（動的に生成される場合の基本スタイル） */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffcc02 !important;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* ロゴのスタイル */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-svg {
    height: 50px;
    width: auto;
}

/* ハンバーガーメニューのスタイル */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    color: #1d1d1f;
}

/* CTAセクション（さあ、感動的なムービーを作ろう） */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1d1d1f 0%, #2d2d2f 100%);
    text-align: center;
    position: relative;
    z-index: 2;
    border-radius: 60px 60px 0 0;
    margin-top: -60px;
}

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

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 48px;
    line-height: 1.2;
}

.cta-button {
    padding: 18px 32px;
    background: #ffcc02;
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 204, 2, 0.3);
    display: inline-block;
}

.cta-button:hover {
    background: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 2, 0.4);
}

/* フッター */
.footer {
    background: #1d1d1f;
    color: #ffffff;
    padding: 60px 20px 20px;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
}

.footer-section h4 {
    color: #ffcc02;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-catchphrase {
    color: #b2bec3;
    line-height: 1.5;
    margin-bottom: 0;
    font-size: 14px;
}

.footer-description {
    color: #b2bec3;
    line-height: 1.5;
    margin-top: 4px;
    margin-bottom: 0;
    font-size: 11px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: #b2bec3;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: #ffcc02;
}

.footer-bottom {
    border-top: 1px solid #2d3436;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #b2bec3;
}

/* レスポンシブ対応 */
@media (min-width: 768px) and (max-width: 839px) {
    .cta-section {
        border-radius: 40px 40px 0 0;
        margin-top: -40px;
    }
}

@media (max-width: 767px) {
    /* モバイル用ヘッダー調整 */
    .header-container {
        height: 60px;
        padding: 0 16px;
        position: relative;
    }
    
    .logo {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .logo-svg {
        height: 32px;
    }
    
    .header-buttons {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .cta-section {
        border-radius: 30px 30px 0 0;
        margin-top: -30px;
        padding: 60px 20px;
    }
    
    .cta-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .footer-container {
        padding: 0;
        gap: 20px;
    }
}