:root {
    --primary-color: #ffffff;
    --bg-color: #141414;
    --card-bg: #2f2f2f;
    --text-color: #ffffff;
    --accent-color: #ffd700;
}

h3 {
   color: #ffd700;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    padding-top: 85px;
    margin: 0;
    line-height: 1.6;
}

header {
    padding: 20px 5%;
    background: rgba(20, 20, 20, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

nav a {
    color: #ffffff;
    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: #ffffff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-btn:hover {
    color: var(--accent-color);
}

.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./images/samune.webp');
    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: #141414;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 20px;
}

.emergency-banner {
    background-color: #dc3545;
    color: #ffffff;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    display: none;
}

.sns-btn {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.sns-btn li {
    width: 30px;
    margin-left: 10px;
    margin-right: 10px;
}

.sns-btn li img {
    width: 100%;
    height: auto;
    display: block;
}

.notice-item {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid #444444;
}

.notice-date {
    color: #aaaaaa;
    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: #444444;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgb(255, 0, 0);
    color: #ffffff;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 3px;
}

.card-content {
    padding: 15px;
}

.vote-btn {
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: background 0.3s, color 0.3s;
    font-weight: bold;
}

.vote-btn:hover {
    background: #ffea00;
    color: #000000;
}

/* 投稿フォーム */
.submit-section {
    background: #222222;
    padding: 40px;
    border-radius: 10px;
    border: 1px dashed #444444;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: #333333;
    border: 1px solid #444444;
    color: #ffffff;
    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(255, 255, 255, 0.5);
}

footer {
    text-align: center;
    padding: 40px;
    font-size: 12px;
    color: #888888;
    border-top: 1px solid #333333;
}

/* ビデオモーダル */
.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: #000000;
    border-radius: 10px;
    padding: 20px;
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.video-modal-close:hover {
    color: var(--primary-color);
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
}

/*スマホ対応*/
@media screen and (max-width: 768px) {
    body {
        padding-top: 120px; 
    }

    header {
        /*メニューバー変更*/
        flex-direction: column;
        gap: 15px;
        padding: 15px 5%;
    }

    .logo {
        font-size: 24px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav a, 
    .nav-btn {
        margin-left: 0;
        font-size: 13px;
        padding: 5px 8px;
    }
}

/* index.html　作品バナーCSS */

.slide-content {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}

.bg-1 {
    background: #ff6b6b;
}

.bg-2 {
    background: #4dadf7;
}

.bg-3 {
    background: #51cf66;
}

.bg-4 {
    background: #fcc419;
}

.bg-5 {
    background: #cc5de8;
}

.wrapper {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

 .splide {
    position: relative;
    padding-bottom: 0 !important;
}

.splide__track {
    height: 300px !important;
}

.splide__list {
    margin: 0 !important;
    padding: 0 !important;
}

.splide__arrow {
    background: #333 !important;
    opacity: 0.7;
}

.splide__arrow svg {
    fill: #fff !important;
}

.splide__arrow:hover {
    opacity: 1;
}

.splide__pagination {
    position: absolute !important;
    bottom: 15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10;
    margin: 0 !important;
    padding: 0 !important;
}

.splide__pagination__page {
    background: #ccc !important;
    width: 12px !important;
    height: 12px !important;
    transition: transform 0.3s;
}

.splide__pagination__page.is-active {
    background: #333 !important;
    transform: scale(1.3);
}

.slide-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

/*stream.html CSS*/
.detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}
        
.detail-modal.active {
    display: flex;
}
        
.detail-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
    padding: 50px;
    border: 1px solid white;
    position: relative;
    margin: auto;
}
        
.detail-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: black;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
        
.detail-close:hover {
    background: black;
    transform: rotate(90deg);
}
        
.detail-header {
    margin-bottom: 35px;
    border-bottom: 2px solid white;
    padding-bottom: 20px;
}
        
.detail-header h1 {
    margin: 0 0 10px 0;
    color: var(--accent-color);
    font-size: 2.2em;
    font-weight: bold;
}
        
.detail-header p {
    margin: 5px 0;
    color: #aaa;
    font-size: 0.95em;
}
        
.detail-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    margin-bottom: 35px;
    border: none;
    overflow: hidden;
}
        
.detail-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}
        
.detail-info-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s;
}
        
.detail-info-item:hover {
    background: rgba(255, 255, 255, 0.08);
}
        
.detail-info-label {
    color: #aaa;
    font-size: 0.85em;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.detail-info-value {
    color: #fff;
    font-weight: 500;
    font-size: 1.05em;
}

.detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid white;
}
        
.btn-primary {
    background: red;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    flex: 1;
    min-width: 150px;
}
        
.btn-primary:hover {
    background: #cc0810;
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
}
        
.btn-secondary {
    background: #28a745;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    flex: 1;
    min-width: 150px;
}
        
.btn-secondary:hover {
    background: #218838;
}
        
.btn-secondary.disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}
        
.btn-secondary.disabled:hover {
    background: #6c757d;
    transform: none;
    box-shadow: none;
}
        
.btn-close-text {
    background: #333;
    color: white;
    border: 1px solid #555;
    padding: 14px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.btn-close-text:hover {
    background: #444;
    border-color: #777;
}
        
/* レスポンシブデザイン */
@media (max-width: 768px) {
    .detail-content {
        padding: 30px;
        border-radius: 8px;
    }
        
    .detail-header h1 {
        font-size: 1.6em;
    }
        
    .detail-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .detail-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary,
    .btn-close-text {
        width: 100%;
        min-width: auto;
        flex: none;
    }
        
    .detail-video {
        height: auto;
    }
}
        
@media (max-width: 480px) {
    .detail-modal {
        padding: 10px;
    }
        
.detail-content {
    padding: 20px;
    max-width: 100%;
}

.detail-header h1 {
    font-size: 1.4em;
}

.detail-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.detail-info-item {
    padding: 15px;
}

.detail-close {
    width: 40px;
    height: 40px;
    font-size: 28px;
    top: 15px;
    right: 15px;
}
}
        
/*会員登録ボタン*/
@import "https://use.fontawesome.com/releases/v5.13.0/css/all.css";

.btn-wrap {
    margin: 30px 0;
}

.reg-btn {
    box-sizing: border-box;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 25px 40px 10px 40px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #fff;
    background: #32b16c;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 0 #2c9d60;
    box-shadow: 0 5px 0 #2c9d60;
}

.reg-btn *,
.reg-btn *:before,
.reg-btn *:after {
    box-sizing: border-box;
}

.reg-btn span {
    font-size: 15px;
    font-weight: 700;
    position: absolute;
    top: -10px;
    left: calc(50% - 150px);
    display: block;
    width: 300px;
    padding: 2px 0;
    color: #32b16c;
    border: 2px solid #32b16c;
    border-radius: 5px;
    background: #fff;
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

.reg-btn:hover {
    -webkit-transform: translate(0, 3px);
    transform: translate(0, 3px);
    color: #fff;
    background: #30a967;
    -webkit-box-shadow: 0 2px 0 #2c9d60;
    box-shadow: 0 2px 0 #2c9d60;
}

.reg-btn:hover:before {
    left: 20px;
}

.reg-btn i {
    margin-left: 8px;
}