:root {
    --primary-color: #e50914; /* 映画らしい赤 */
    --bg-color: #141414;
    --card-bg: #2f2f2f;
    --text-color: #ffffff;
    --accent-color: #ffd700; /* 劇場建設の夢・ゴールド */
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

header {
    padding: 20px 5%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-color);
}

.nav-btn {
    background: none;
    border: none;
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-btn:hover {
    color: var(--accent-color);
}

.hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.funding-banner {
    background-color: var(--accent-color);
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 20px;
}

.emergency-banner {
    background-color: #dc3545;
    color: white;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    display: none;
}

.sns-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sns-btn {
    display: inline-block;
    padding: 8px 12px;
    background: var(--card-bg);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    font-size: 14px;
}

.sns-btn:hover {
    background: var(--primary-color);
}

.notice-item {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid #444;
}

.notice-date {
    color: #aaa;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.notice-body {
    margin-bottom: 15px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

section {
    margin-bottom: 60px;
}

h2 {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 30px;
}

/* 作品カードレイアウト */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.movie-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.movie-card:hover {
    transform: scale(1.05);
}

.thumbnail {
    width: 100%;
    height: 150px;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 3px;
}

.card-content {
    padding: 15px;
}

.vote-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: background 0.3s;
}

.vote-btn:hover {
    background: #cc0810;
}

/* 投稿フォーム */
.submit-section {
    background: #222;
    padding: 40px;
    border-radius: 10px;
    border: 1px dashed #444;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: #333;
    border: 1px solid #444;
    color: white;
    box-sizing: border-box;
    border-radius: 4px;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(229, 9, 20, 0.5);
}

footer {
    text-align: center;
    padding: 40px;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #333;
}

/* ビデオモーダル */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #000;
    border-radius: 10px;
    padding: 20px;
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.video-modal-close:hover {
    color: var(--primary-color);
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
}

