.video-section {
    margin-bottom: 5rem;
    padding: 80px 0;
    width: 100%;
    background: transparent;
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

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

.video-title {
    color: #fff;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

/* フェードインアニメーション用スタイル */
.video-title.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.2s; /* タイトルは少し早めに表示 */
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9のアスペクト比 */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.video-wrapper.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: 0.4s; /* 動画は少し遅めに表示 */
}

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

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-sound-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.video-sound-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
}

.sound-icon {
    color: white;
    font-size: 20px;
}

@media (max-width: 768px) {
    .video-section {
        margin-bottom: 5rem;
        padding: 60px 0;
    }

    .video-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}
