body {
    margin: 0;
    padding-top: 60px;
    display: flex;
    flex-direction: column; 
    justify-content: flex-start;
    align-items: center; 
    min-height: 100vh;
    background-color: #ffffff;
    overflow-x: hidden;
    font-family: Arial, sans-serif; 
}

.navbar {
    width: 100%;
    background-color: #ffffff;
    padding: 30px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    
    display: flex;
    justify-content: center; 
    align-items: center;
}

.navbar-left {
    display: flex;
    align-items: center; 
    max-width: 1200px; 
    width: 100%;
    padding: 0 20px; 
    box-sizing: border-box;
}

.navbar-logo {
    display: flex; 
    align-items: center;
    margin-right: 70px; 
}

.navbar-logo img {
    height: 20px; 
    vertical-align: middle;
}

.nav-links {
    list-style: none; 
    margin: 0;
    padding: 0;
    display: flex; 
    gap: 40px;
}

.nav-links li a {
    text-decoration: none; 
    color: #333;
    font-weight: bold;
    font-size:20px;
    padding: 5px 0;
    transition: color 0.3s ease; 
}

.nav-links li a:hover {
    color: #271306; 
}


.news-section {
    width: 100%;
    max-width: 800px;
    margin: 50px auto; 
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: center; 
}

.news-section h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.news-item {
    border-bottom: 1px dashed #eee;
    padding: 15px 0;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 0.9em;
    color: #666;
    flex-shrink: 0;
    width: 90px; 
}

.news-text a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    line-height: 1.5;
}

.news-text a:hover {
    color: #b80000;
}

.news-more {
    margin-top: 30px;
    text-align: center;
}

.news-more a {
    display: inline-block;
    padding: 10px 25px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    text-decoration: none;

    border: 1px solid #000000; 
    transition: background-color 0.3s ease, color 0.3s ease; 
    font-weight: bold;
}

.news-more a:hover {
    background-color: #b80000;
    color: white;
}

.movie-section {
    width: 100%;
    max-width: 1200px; 
    margin: 50px auto; 
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.movie-section h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.movie-container {
    display: flex;
    width: 100%;
    background-color: #ffffff;
 
    overflow: hidden; 
}

.movie-left-panel {
    flex: 2; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: #ffffff; 
    box-sizing: border-box;
}

.movie-right-panel {
    flex: 1; 
    background-color: #ff0000; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

.video-player {
    width: 90%;
    max-width: 800px; 
    aspect-ratio: 16 / 9;
    background-color: black;
    margin-bottom: 20px;
}

.video-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.movie-title-left {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}
.movie-detail-left {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    max-width: 90%;
}

.movie-info-right h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    word-break: break-word; 
}
.movie-info-right p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
}

.movie-navigation-buttons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.movie-nav-button {
    background: none;
    border: 2px solid white;
    color: white;
    font-size: 1.5em;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
}

.movie-nav-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


.main-content {
    display: flex;
    gap: 20px;
    align-items: flex-start; 
    max-width: 1200px; 
    padding: 20px;
    box-sizing: border-box;
    margin-top: 50px; 
    width: 100%;
    justify-content: center;
}

.image-slider {
    position: relative;
  
    width: calc(100% - 70px); 
    height: 500px;
    overflow: hidden;
}

.image-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.image-slider img.active {
    opacity: 1;
}


.side-image-container {
    width: 50px; 
    height: 500px;
    overflow: hidden;
    flex-shrink: 0;
}

.side-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.spacer {
    height: 0px;
    width: 100%;
}


.gallery-section {
    width: 100%;
    max-width: 1200px; 
    padding: 20px 0; 
    box-sizing: border-box;
    text-align: center;
    margin: 50px auto;
}



.gallery-wrapper {
    width: 100%; 
    margin: 0 auto; 
    overflow: hidden;
    position: relative;
    padding: 0 50px; 
    box-sizing: border-box; 
}

.slider-container {
    display: flex;
    animation: scroll-loop 20s linear infinite;

    min-width: calc((400px + 20px) * 12); 
}


.slider-container:hover {
    animation-play-state: paused;
}

.slide-item {
    flex-shrink: 0;
    width: 400px; 
    height: 100px;
    margin-right: 20px; 
    display: block;
    text-decoration: none;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.slide-item img:hover {
    transform: scale(1.05);
}


@keyframes scroll-loop {
    0% {
        transform: translateX(0);
    }
    100% {

        transform: translateX(calc(-420px * 6));
    }
}


@media (max-width: 900px) {
    
    body {
        padding-top: 50px; 
    }

    .main-content {
        flex-direction: column; 
        align-items: center;
        padding: 10px;
        margin-top: 20px;
    }

    .image-slider {
        width: 95%;
        height: 250px;
        margin-bottom: 20px;
    }
    .side-image-container {
        width: 95%; 
        height: 300px;
    }

    .gallery-section {
        padding: 10px; 
        max-width: 100%; 
    }
    .gallery-wrapper {
        width: 100%;
        padding: 0 15px; 
        box-sizing: border-box;
    }
    .slider-container {
      
        min-width: calc((30vw + 15px) * 12);
    }
    .slide-item {
        width: 30vw; 
        height: 100px;
        margin-right: 15px;
    }
    @keyframes scroll-loop {
        100% {
         
            transform: translateX(calc(- (30vw + 15px) * 6));
        }
    }

    .news-section {
        margin-top: 20px; 
        padding: 15px;
    }
    .news-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .news-date {
        width: auto;
        margin-bottom: 5px;
    }
    

.movie-section {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.movie-section h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.movie-container {
    display: flex;
    width: 100%;
    background-color: #ffffff;
   
    overflow: hidden;
}

.movie-left-panel {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.movie-title-left,
.movie-detail-left {
    display: none; 
}
 .movie-left-panel {
        min-height: auto; 
    }


.movie-thumbnail-link {
    display: block;
    width: 90%;
    max-width: 800px; 
    aspect-ratio: 16 / 9; 
    margin-bottom: 20px;
    overflow: hidden; 
  
}

.movie-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: transform 0.3s ease;
}

.movie-thumbnail-link:hover .movie-thumbnail {
    transform: scale(1.05);
}


.movie-right-panel {
    flex: 1;
    background-color: #ff0000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative; 
    box-sizing: border-box;
}




.movie-title-left {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}
.movie-detail-left {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    max-width: 90%;
}

.movie-info-right h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    word-break: break-word;
}
.movie-info-right p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
}


.movie-navigation-buttons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.movie-nav-button {
    background: none;
    border: 2px solid white;
    color: white;
    font-size: 1.5em;
    width: 40px;
    height: 40px;
 
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
}

.movie-nav-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


    .movie-container {
        flex-direction: column; 
    }
    .movie-left-panel, .movie-right-panel {
        flex: none;
        width: 100%;
        padding: 20px;
    }
    .movie-left-panel {
        min-height: 350px; 
    }
    .movie-right-panel {
        min-height: 150px; 
    }
    .movie-navigation-buttons {
        position: static; 
        margin-top: 20px;
        justify-content: center;
    }
    .movie-thumbnail-link {
        width: 95%; 
        height: auto;
    }
}

.biography-section {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.biography-section h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 30px;
}

.biography-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}


.biography-nav-button {
    background-color: transparent; 
    border: none;
    color: #333;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 20px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent; 
}


.biography-nav-button.active {
    color: #333;
    border-bottom: 2px solid #333; 
}

.biography-nav-button:hover:not(.active) {
    color: #999; 
}


.biography-content {
    display: none; 
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    background-color: #F0EEE5;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: left;
    margin-top: 20px; 
}

.biography-content.active {
    display: flex;
}

.biography-text {
    flex: 2;
}

.biography-text h3 {
    font-size: 2em;
    color: #333;
    margin-bottom: 10px;
}

.biography-text .date-of-birth {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
}

.biography-text p {
    font-size: 1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links img {
    height: 35px; 
    vertical-align: middle;
}

.social-links p {
    font-size: 0.9em;
    color: #888;
    margin: 0;
}

.official-links {
    font-size: 0.9em;
    color: #666;
    margin-top: 15px;
}

.biography-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    padding-top: 10px; 
    overflow: visible; 
    position: relative; 
    height: auto; 
}

.biography-image-container img {
    width: 150%;
    object-fit: contain;
    position: absolute;
top: 65%;
left: 70%; 
transform: translate(-40%, -30%); 
}


@media (max-width: 900px) {
    .biography-content {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
    }

    .biography-text {
        order: 2; 
        text-align: center;
    }
    .biography-text h3,
    .biography-text .date-of-birth,
    .biography-text p {
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }

    .biography-image-container {
        order: 1; 
        width: 80%; 
        padding-top: 0;
    }
    .biography-image-container img {
    width: 200%; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  
}
}

.fanclub-section {
    width: 100%;
    max-width: 1000px; 
    margin: 80px auto; 
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.fanclub-section h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.fanclub-content {
    display: flex;
    justify-content: center; 
    align-items: flex-start;
    gap: 50px; 
    margin-bottom: 50px;
}

.fanclub-left {
    flex-shrink: 0;
    width: 300px; 
    text-align: center;
}

.fanclub-heading {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
}

.fanclub-logo-container {
    background-color: #ffffff; 
    padding: 30px 20px;
}

.fanclub-logo-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px auto; 
}


.fanclub-right {
    flex-grow: 1;
    max-width: 600px; 
    display: flex;
    flex-direction: column;
    gap: 30px; 
}

.fanclub-benefits,
.fanclub-fees {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 30px;
    text-align: left;
}

.fanclub-benefits h3,
.fanclub-fees h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd; 
    padding-bottom: 10px;
    display: inline-block;
}

.fanclub-benefits ul,
.fanclub-fees ul {
    list-style: none; 
    padding: 0;
    margin: 0;
}

.fanclub-benefits li,
.fanclub-fees li {
    font-size: 1em;
    color: #555;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.fanclub-benefits li:last-child,
.fanclub-fees li:last-child {
    margin-bottom: 0;
}


.fanclub-benefits li::before,
.fanclub-fees li::before {
    content: "・"; 
    color: #888; 
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.fanclub-benefits li small {
    display: block;
    font-size: 0.85em;
    color: #777;
    margin-top: 5px;
    line-height: 1.3;
}

.fanclub-button-container {
    text-align: center;
}

.fanclub-join-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #ffffff; 
    color: #333; 
    text-decoration: none;
    border: 1px solid #333; 
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.fanclub-join-button:hover {
    background-color: #333; 
    color: #fff; 
    border-color: #333;
}


@media (max-width: 768px) {
    .fanclub-content {
        flex-direction: column;
        align-items: center; 
        gap: 40px;
    }

    .fanclub-left {
        width: 90%; 
    }

    .fanclub-right {
        width: 90%;
        max-width: none; 
    }

    .fanclub-benefits,
    .fanclub-fees {
        padding: 20px;
    }

    .fanclub-join-button {
        width: 90%; 
        box-sizing: border-box; 
        font-size: 1em;
    }
}