.site-wrap{
    max-width: 428px;
    margin: 0 auto;
    box-shadow: 0px 0px 20px #999;
    background-color: #F9F9F9;
}

@media (max-width: 428px){
    html{
        font-size: 3.74vw;
    }
}

/*
 * アニメーション
*/
.fade{
    animation: fade 2.8s;
    animation-fill-mode: forwards;
}
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}

/* 近づいたら表示 */
.con{
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s ease;
}

.is-active {
    opacity: 1;
    visibility: visible;
  }

/* 回転なし */
.fade-up {
  opacity: 0;
  transform: translate(0%, 5%);
  transition: opacity 0.8s ease var(--delay, 0s), 
              transform 0.8s ease var(--delay, 0s);
}
.fade-up.is-visible {
  opacity: 1;
  transform: translate(0%, 0%);
}


/*
 * スライドショー
*/
.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease; /* ← 2秒フェード */
}

.slide.active {
  opacity: 1;
}


/*
 * 各パーツ
 */
h2,h3,h4,h5,p{
    padding: 0 1.625rem;
    text-align: center;
}

h2{
    font-size: 1.5rem;
    padding-top: 2.4em;
    line-height: 1.8;
    letter-spacing: 0.15em;
    span{
        position: relative;
        z-index: 2;
    }
    span:before{
        content: "";
        display: inline-block;
        aspect-ratio: 1 / 1 ;
        width: 2.92em;
        height: auto;
        background-color: #FFE9B3;
        border-radius: 100px;
        position: absolute;
        top:-1em;
        left: -2em;
        z-index: -1;
    }
}

p{
    font-size: 0.875rem;
    line-height: 2;
}
.small{
    font-size: 0.625rem;
}


a{
    text-decoration: underline;
}



/*
 * サイトカスタマイズ
 */
header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    padding: 0 1.625rem;
    img{
        width:9rem;
    }
    .lang{
        color: #11111133;
        a{
            color: #111;
        }
    }
}

.fv{
  position: relative;
  aspect-ratio: 0.8 / 1 ;
  width: 100%;
  height: auto;
}
.fv-over{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

.f-text{
    h2{
        font-size: 1.125rem;
        letter-spacing: 0;
    }
    h2:before{
        display: none;
    }
    p{
        margin-top: 1em;
    }
}

.f-text-en{
    h2{
        font-size: 1rem;
    }
}



.program{
    margin-top: 1.2rem;
    .program-venue{
        margin-top: 3.6875rem;
        h3{
            font-size: 1.25rem;
            position: relative;
            span{
                font-size: 0.875rem;
            }
        }
        h3:before,h3:after{
            content: "";
            display: block;
            width: 18.7%;
            height: 1px;
            background-color: #111;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
        }
        h3:before{
            left: 1.625rem;
        }
        h3:after{
            right: 1.625rem;
        }
        .venue{
            margin-top: 0.5em;
        }
        .venue-txt{
            margin-top: 1em;
        }
    }

    .program-parts{
        margin-top: 2rem;
        .program-poster{
            width: 100%;
            text-align: center;
            position: relative;
            img{
                width: 60%;
            }
            p{
                position: absolute;
                transform: rotate(90deg);
                top:0.5em;
                left: calc( 1em + 1.625rem );
                transform-origin: top left;
                text-align: left;
                padding: 0;
                font-size: 2rem;
                line-height: 1;
                margin-top: 0;
                span{
                    font-size: 0.875rem;
                    margin-left: 0.7em;
                }
            }
        }
        h4{
            margin-top: 1rem;
            font-size: 1.125rem;
            span{
                font-size: 0.875rem;
            }
        }
        h4:has(span){
            line-height: 1.4;
        }
        h5{
            font-size: 0.875rem;
            margin-top: 1.8rem;
            margin-bottom: 9px;
        }
        p{
            margin-top: 0.5rem;
        }

        .program-flex{
            display: flex;
            flex-direction: row;
            margin: 0 auto;
            p{
                margin: 0;
                padding: 0;
            }
        }

        .program-schedule-1{
            width: 8rem;
            justify-content: space-between;
        }
        .program-schedule-2{
            padding: 0 3.5625rem;
            gap:0;
            p{
                min-width: 5.8rem;
                text-align: left;
            }
        }
        .program-ticket{
            padding: 0 2.5rem;
            justify-content: space-between;
            p{
                text-align: left;
            }
        }
        .program-credit{
            padding: 0 2.5rem;
            gap:0;
            p{
                min-width: 7.625rem;
                text-align: left;
            }
        }
    }
}

.program-en{
    .program-venue{
        h3{
            line-height: 1.4;
            margin-bottom: 0.5rem;
        }
        h3:before,h3:after{
        top: 55%;
        transform: translateY(-45%);
        }
        .venue-sub{
            margin-top: 0.5rem;
        }
        .venue{
            margin-top: 0;
        }
    }

    .program-parts{
        h4{
            
        }
        .program-schedule-1{
            width: 10rem;
            justify-content: left;
            margin: 0 auto;
            gap: 3rem;
            p{
                text-align: left;
            }
            p:first-child{
                white-space: nowrap;
            }
            p:nth-child(2){
                min-width: 8rem;
            }
        }
        .ticket-info{
            padding: 0;
        }
        .program-credit{
            padding: 0 1.5rem;
            align-items: center;
            p{
                min-width: 9.5rem;
            }
        }
    }
}

.about,.message{
    p{
        margin-top: 1rem;
    }
    text-align: center;
    img{
        margin-top: 1.875rem;
        width: 60%;
        text-align: center;
    }
    h3{
        margin-top: 1.2rem;
    }


    .message-director{
        text-align: right;
        font-size: 0.75rem;
        span{
            margin-left: 1rem;
            font-size: 1.125rem;
        }
    }
    .message-link{
        margin-top: 3rem;
        text-align: right;
        a{
            text-align: right;
            text-decoration: none;
            span{
                display: inline-flex;
                align-items: center;
            }
            span:after{
                content: "";
                display: inline-block;
                width: 5.625rem;
                height: 0.375rem;
                margin-left: 0.5rem;

                background-image: url("data:image/svg+xml;utf8,<svg width='90' height='6' viewBox='0 0 90 6' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0 3.88281H88L83 0.882812V5.38281' stroke='black'/></svg>");
                background-size: contain;
                background-repeat: no-repeat;

                transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            }
        }
        a:hover span::after {
            transform: translateX(1rem);
        }
    }
}

footer{
    margin-top: 3rem;
    height: 3.5rem;
    background: linear-gradient(
        to bottom,
        #074668 0%,
        #064161 25%,
        #033650 60%,
        #002232 100%
    );
    display: flex;
    align-items:center;
    justify-content:center;
    p{
        font-size: 0.75rem;
        letter-spacing: 0.1em;
        color: #FFE9B3;
    }
}