* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

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

.page-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.hero {
    color: white;
    position: relative;
    overflow: visible;
    width: 100%;
    min-height: 500px; /* 最小高さを確保 */
}

.hero-background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    z-index: 0;
    opacity: 1.0;
    min-height: 100%;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.main-nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-logo-img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-menu a:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
}

.hero-logo {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    max-width: 800px;
    width: 100%;
    height: auto;
}

.hero-content {
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 相転移コントロール */
.phase-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    margin: 0px 0;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.phase-control label {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.phase-control input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right,
        #a8d8ea 0%,
        #667eea 50%,
        #764ba2 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.phase-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ff6b6b);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.phase-control input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
}

.phase-control input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ff6b6b);
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.phase-control input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.5);
}

.phase-control span {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 5px 5px;
    
}

.cta-button {
    background: linear-gradient(45deg, #ff6b6b, #ffd700);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.episodes-section {
    background: white;
    padding: 30px 0;
}

.episodes-section h2 {
    text-align: center;
    font-size: 2.5rem;
   
    color: #333;
}



.story-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
}

.story-header h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.story-meta {
    opacity: 0.8;
    font-size: 0.9rem;
}

.story-content {
    padding: 20px;
}

.story-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #764ba2;
}

.world-section {
    background: #f8f9fa;
    padding: 30px 0;
}

.world-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .world-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.world-image {
    text-align: center;
}

.map-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.world-description h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #667eea;
}

.world-description p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.characters-section {
    background: white;
    padding: 30px 0;
}

.characters-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.characters-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #ff6b6b, #ffd700);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.character-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.character-image {
    margin-bottom: 20px;
}

.character-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.character-card:hover .character-img {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.character-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.character-card p {
    color: #666;
    line-height: 1.6;
}


footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.close-modal {
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ffd700;
}

.modal-body {
    padding: 30px;
    line-height: 1.8;
}

.story-full-content h3 {
    color: #667eea;
    margin: 30px 0 15px 0;
    font-size: 1.3rem;
}

.story-full-content p {
    margin-bottom: 20px;
    color: #444;
}

.story-full-content em {
    color: #666;
    text-align: center;
    display: block;
    margin-top: 30px;
    font-style: italic;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    text-align: right;
}

.close-button {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.close-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* エピソードページ専用スタイル */
.hero-mini {
    background: url('images/entropylost2.png') center/cover,
               linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-blend-mode: overlay;
    min-height: 200px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-mini::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.episode-header {
    text-align: center;
    padding: 120px 20px 40px;
    position: relative;
    z-index: 10;
}

.episode-header {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.episode-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.episode-main {
    padding: 40px 0;
    background: white;
}

.episode-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.episode-intro h2 {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 15px;
}

.episode-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.episode-mame {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    background-image: url('images/mame.png');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: auto 150px;
    position: relative;
}

.episode-mame h2,
.episode-mame h3 {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 15px;
}

.episode-mame p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

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

.episode-dialogue {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.message {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
    animation: fadeIn 0.5s ease-in;
}

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

.message.kenzo {
    justify-content: flex-start;
}

.message.yuki {
    justify-content: flex-end;
}

.message.efia {
    justify-content: flex-end;
}

.message.lodge {
    justify-content: flex-start;
}

.message.efia-ma {
    justify-content: flex-start;
}

.message.dendar {
    justify-content: flex-start;
}

.message.youngman {
    justify-content: flex-start;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid;
    flex-shrink: 0;
    position: relative;
}

.kenzo-avatar {
    background-image: url('images/icon-kenzo.png');
    border-color: #667eea;
    margin-right: 15px;
}

.yuki-avatar {
    background-image: url('images/icon-YUKI.png');
    border-color: #ff6b6b;
    margin-left: 15px;
    order: 2;
}

.efia-avatar {
    background-image: url('images/icon-efia.png');
    border-color: #764ba2;
    margin-left: 15px;
    order: 2;
}

.nurulinpsi-avatar {
    background-image: url('images/icon-kororin.png');
    border-color: #4caf50;
    margin-right: 15px;
    position: relative;
}

.lodge-avatar {
    background-image: url('images/icon-lodge.png');
    border-color: #D2B48C;
    margin-right: 15px;
}

.efia-ma-avatar {
    background-image: url('images/icon-efia-ma.png');
    border-color: #D2B48C;
    margin-right: 15px;
}

.dendar-avatar {
    background-image: url('images/icon-dendar.png');
    border-color: #D2B48C;
    margin-right: 15px;
}

.etc-avatar {
    background-image: url('images/icon-etc.png');
    border-color: #D2B48C;
    margin-right: 15px;
}
.etc2-avatar {
    background-image: url('images/icon-etc.png');
    border-color: #D2B48C;
    margin-right: 15px;
}
.etc3-avatar {
    background-image: url('images/icon-etc.png');
    border-color: #D2B48C;
    margin-right: 15px;
}
.etc4-avatar {
    background-image: url('images/icon-etc.png');
    border-color: #D2B48C;
    margin-right: 15px;
}

.teacher-avatar {
    background-image: url('images/icon-etc.png');
    border-color: #D2B48C;
    margin-right: 15px;
}

.rinne-avatar {
    background-image: url('images/icon-rinne.png');
    border-color: #D2B48C;
    margin-right: 15px;
}


.message-content {
    max-width: 70%;
    padding: 15px 20px;
    border-radius: 20px;
    position: relative;
    line-height: 1.6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.kenzo .message-content {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1565c0;
}

.yuki .message-content {
    background: linear-gradient(135deg, #ffeaa7, #fab1a0);
    color: #d63031;
}

.efia .message-content {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    color: #6a1b9a;
}

.nurulinpsi .message-content {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    color: #2e7d32;
}

.lodge .message-content {
    background: linear-gradient(135deg, #f5deb3, #deb887);
    color: #8b4513;
}

.efia-ma .message-content {
    background: linear-gradient(135deg, #f5deb3, #deb887);
    color: #8b4513;
}

.dendar .message-content {
    background: linear-gradient(135deg, #f5deb3, #deb887);
    color: #8b4513;
}

.etc .message-content {
    background: linear-gradient(135deg, #f5deb3, #deb887);
    color: #8b4513;
}
.etc2 .message-content {
    background: linear-gradient(135deg, #f5deb3, #deb887);
    color: #8b4513;
}
.etc3 .message-content {
    background: linear-gradient(135deg, #f5deb3, #deb887);
    color: #8b4513;
}
.etc4 .message-content {
    background: linear-gradient(135deg, #f5deb3, #deb887);
    color: #8b4513;
}
.teacher .message-content {
    background: linear-gradient(135deg, #f5deb3, #deb887);
    color: #8b4513;
}

.rinne .message-content {
    background: linear-gradient(135deg, #f5deb3, #deb887);
    color: #8b4513;
}

.kenzo .message-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #bbdefb;
}

.yuki .message-content::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #fab1a0;
}

.efia .message-content::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #e1bee7;
}

.nurulinpsi .message-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #c8e6c9;
}

.lodge .message-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #deb887;
}

.efia-ma .message-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #deb887;
}

.dendar .message-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #deb887;
}

.etc .message-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #deb887;
}
.etc2 .message-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #deb887;
}
.etc3 .message-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #deb887;
}
.etc4 .message-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #deb887;
}
.teacher .message-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #deb887;
}

.rinne .message-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #deb887;
}

.character-name {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
    opacity: 0.8;
    text-transform: uppercase;
}

.message-text {
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .main-nav {
        padding: 5px 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav-logo {
        order: -1;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .nav-menu {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .nav-menu a {
        padding: 6px 12px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .nav-logo-img {
        height: 25px;
    }
}

@media (max-width: 480px) {
    .main-nav {
        padding: 5px 10px;
    }

    .nav-menu {
        gap: 5px;
    }

    .nav-menu a {
        padding: 5px 8px;
        font-size: 0.7rem;
    }

    .nav-logo-img {
        height: 20px;
    }
}
    
    .episodes-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 100px 20px 50px;
    }

    .episodes-section {
        padding: 50px 0;
    }
    
    .modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .episode-header {
        padding: 100px 20px 30px;
    }
    
    .episode-header h1 {
        font-size: 2rem;
    }
    
    .episode-header p {
        font-size: 1rem;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .avatar {
        width: 50px;
        height: 50px;
    }
    
    .episode-intro {
        padding: 20px;
    }
    
    .episode-dialogue {
        padding: 20px;
    }
    .box-scroll {

  margin:1px auto 0;
  height:120px;
  overflow:auto;
  padding:10px;
  border:1px solid #000;
  background-color:white;
    }

/* サムネイルスライドショー */
.thumbnail-slider {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px 0;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slider-track {
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.thumbnail-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-220px * 7 - 20px * 6));
    }
}

/* レスポンシブ動画コンテナ */
.video-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9のアスペクト比 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.usage-status {
    padding: 8px 12px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

.usage-status.active {
    background-color: #e3f2fd;
    color: #1976d2;
}

.usage-status.limit-reached {
    background-color: #ffebee;
    color: #c62828;
}