* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Garamond', 'Times New Roman', serif;
    background-color: #1a1a1a;  /* 追加:黒めの背景色 */
    color: #1a2423;
    line-height: 1.8;
    position: relative;
}

/* 背景画像1枚目 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/back01.jpg') center/cover;
    z-index: -1;
    animation: fadeInOut1 34s infinite;
}

/* 背景画像2枚目 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/back02.jpg') center/cover;
    z-index: -1;
    opacity: 0;
    animation: fadeInOut2 34s infinite;
}
@keyframes fadeInOut1 {
    0%, 20% { opacity: 1; }
    50%, 70% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInOut2 {
    0%, 20% { opacity: 0; }
    50%, 70% { opacity: 1; }
    100% { opacity: 0; }
}
html, body {
    overscroll-behavior-x: none;
    overflow-x: hidden; 
}
.main-visual {
    width: 100%;
    overflow: hidden;
}
.main-visual img {
    width: 100%;
    height: auto;
    display: block;
}
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
.trailer-section {
    padding: 60px 40px;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title img {
    width: 32%;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.section-title.is-visible img {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 767px) {
    .content {
        padding: 40px 15px;
    }
    
    .trailer-section {
        padding: 40px 20px;
    }
.section-title img {
        width: 4%;
    }
}
.video-container {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}
.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}
.footer p {
    margin: 0;
}
.footer-logo {
    margin-bottom: 100px;
}
.footer-logo img {
    width: 120px;
    height: auto;
    display: block;
    margin: 40px auto;
    opacity: 0;
    transform: scale(0.5);
}
.footer.is-visible .footer-logo img {
    animation: slowGrowOnce 2.5s ease-out forwards;
}
@keyframes slowGrowOnce {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.theater-link-wrapper {
    text-align: center;
    padding: 50px 20px 10px 20px;
}
.theater-link {
    display: inline-block;
    padding: 18px 60px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid;
    border-image: linear-gradient(135deg, #e2e3e3e8 0%, #88b3af 100%) 1; 
}
.theater-link::after {
    content: '→';
    margin-left: 12px;
    font-size: 1.3rem;
    display: inline-block;
    transition: transform 0.3s ease;
}
.theater-link:hover {
    background: rgba(158, 56, 56, 0.05);
}
.theater-link:hover::after {
    transform: translateX(5px);
}
.introduction-section {
    max-width: 900px;
    padding: 80px 40px;
    margin: 0px auto 60px auto;
    position: relative;
    overflow: visible;
}
.firework-particle {
    position: absolute;
    width: 1px;
    height: 36px;
    border-radius: 50%;
    background: rgba(220, 20, 60, 0.9);
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
    pointer-events: none;
    animation: shootUp 7s linear infinite;
    z-index: 1;
    will-change: transform, opacity;
}

.particle-1 {
    left: 20%;
    top: 10%;
    animation-delay: 0s;
}

.particle-2 {
    left: 45%;
    top: 5%;
    animation-delay: 1.4s;
}

.particle-3 {
    left: 70%;
    top: 8%;
    animation-delay: 2.8s;
}

.particle-4 {
    left: 85%;
    top: 12%;
    animation-delay: 4.2s;
}

.particle-5 {
    left: 35%;
    top: 15%;
    animation-delay: 5.6s;
}
@keyframes shootUp {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    50% {
        transform: translateY(40vh);
        opacity: 1;
    }
    95% {
        transform: translateY(95vh);
        opacity: 0;
    }
}
.intro-block {
    margin-bottom: 40px;
}
.intro-subtitle {
    font-size: 1.25rem;
    background: linear-gradient(135deg, #e2e3e3e8 0%, #88b3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.intro-content p {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 0.95rem;
    line-height: 1.9;
    color: #e0e0e0;
}
/* 画像スライダー */
.image-slider {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    margin-top: 60px;
    position: relative;
    z-index: 9999;
}

.slider-track {
    display: flex;
    animation: sliderScroll 95s linear infinite;
}

.slider-track img {
    height: 260px;
    width: 432px;
    object-fit: cover;
    flex-shrink: 0;
}

@keyframes sliderScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-4320px); /* 432px × 10枚 */
    }
}

@media (max-width: 767px) {
    .slider-track img {
        height: auto;
        width: 100vw;
    }
    
    .slider-track {
        animation: sliderScrollSP 70s linear infinite;
    }
}

@keyframes sliderScrollSP {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-1000vw); /* 100vw × 10枚 */
    }
}
.film-info {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
}
.staff-cast-section {
    padding: 20px 40px;
    margin-bottom: 60px;
}
.staff-cast-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}
.staff-cast-content p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.03em;
}
.staff-cast-content strong {
    color: #88b3af;
    font-weight: 500;
}
.film-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(166, 37, 63, 0.3);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}
.comment-section {
    padding: 60px 40px;
    margin-top: 60px;
}
.coming-soon {
    text-align: center;
    padding: 50px 20px;
}
.coming-soon p {
    font-size: 2.3rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}
.anchor-nav {
    background: #1a2423;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(166, 37, 63, 0.15);
}
.anchor-links {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 0;
}
.anchor-link {
    padding: 20px 32px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.95rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', 'Helvetica Condensed', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.anchor-link:last-child {
    border-right: none;
}
.anchor-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #88b3af, #e2e3e3e8);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.anchor-link:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(166, 37, 63, 0.08);
}
.anchor-link:hover::after {
    width: 100%;
}
.link-text {
    display: block;
}
html {
    scroll-behavior: smooth;
}
section[id] {
    scroll-margin-top: 70px;
}
@media (max-width: 767px) {
    .theater-link {
        padding: 15px 40px;
        font-size: 1rem;
    }
    .introduction-section,
    .comment-section {
        padding: 40px 6px;
    }
    .intro-subtitle {
        font-size: 1.1rem;
    }
    .intro-content p {
        font-size: 0.9rem;
    }
    .intro-credits {
        font-size: 0.85rem;
    }
    .coming-soon p {
        font-size: 1.1rem;
    }
    .content {
        padding: 40px 15px;
    }
    .trailer-section {
        padding: 40px 20px;
    }
    .section-title img {
        width: 70%;
    }
    .theater-link {
        padding: 15px 40px;
        font-size: 1rem;
    }
    .staff-cast-section {
        padding: 40px 20px;
    }
    .staff-cast-content {
        padding: 25px 20px;
    }
    .staff-cast-content p {
        font-size: 0.95rem;
    }
    .anchor-nav {
        padding: 0;
    }
    .anchor-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .anchor-link {
        padding: 8px 20px;
        font-size: 0.8rem;
        text-align: center;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .anchor-link:nth-child(2n) {
        border-right: none;
    }
    .anchor-link:nth-child(3),
    .anchor-link:nth-child(4) {
        border-bottom: none;
    }
    section[id] {
        scroll-margin-top: 65px;
    }
    
}
.comments-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.comment-item {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #333;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-text {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 2;
    color: #f5f5f5; 
}
.comment-author {
    display: inline-block;
    font-size: 28px;
    background: linear-gradient(135deg, #e2e3e3e8 0%, #88b3af 160%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}
.comment-kata {
    font-size: 15px;
    color: #e2e3e3e8;
    display: inline-block;
    margin-right: 8px; 
}
@media (max-width: 768px) {
    .comments-section {
        padding: 40px 6px;
    }

    .comment-item {
        margin-bottom: 40px;
        padding-bottom: 40px;
    }

    .comment-text {
        font-size: 15px;
        line-height: 2;
    }
    .comment-text br.pc-only {
        display: none;
    }
    .comment-author {
    font-size: 25px;
}
    .comment-kata{
    font-size: 13px;
}
}
@media (min-width: 769px) {
    .comment-text br.sp-only {
        display: none;
    }
}
