.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;
}


.container{
    display: flex;
    width: 100%;
}



/*
 * サイトカスタマイズ
 */
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: 0.5625rem;
            text-align: center;
        }
        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-ticket-link{
            text-align: center;
            margin-bottom: 1rem;
            *{
                margin: 0;
            }
            h6{
                font-size: 0.875rem;
            }
        }
        .program-credit{
            padding: 0 2.5rem;
            gap:0;
            p{
                min-width: 7.625rem;
                text-align: left;
            }
        }
        .program-caution{
            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);
        }
    }
}


.first-caution{
    h2{
        font-size: 1.125rem;
        margin-bottom: 1.2em;
    }
    p{
        font-size: 0.875rem;
        margin-bottom: 1.7em;
    }
    p:last-child{
        text-align: right;
    }
}


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;
    }
}



.sound-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.sound-toggle:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.sound-toggle:active {
  transform: scale(0.95);
}

.sound-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.sound-toggle__icon {
  display: none;
  pointer-events: none;
}

/* 初期状態（ミュート中）はOFFアイコンを表示 */
.sound-toggle .sound-toggle__icon--off {
  display: block;
}

/* aria-pressed="true"（音声ON）のときはONアイコンを表示 */
.sound-toggle[aria-pressed="true"] .sound-toggle__icon--on {
  display: block;
}

.sound-toggle[aria-pressed="true"] .sound-toggle__icon--off {
  display: none;
}

@media (max-width: 767px) {
  .sound-toggle {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .sound-toggle__icon svg {
    width: 20px;
    height: 20px;
  }
}




/*
 * program詳細ページ
 */



.artist{
    padding: 2.5rem 1.625rem 0;
    .container{
        align-items: flex-end;
        gap: 1em;
    }
    .picture{
        flex: 0.75;
        img{
            max-width: 100%;
        }
    }
    .text{
        flex: 1;
        font-size: 0.875rem;
    }
    p{
        padding: 1em 0 0;
        font-size: 0.875rem;
        text-align:justify;
        word-break:break-all;
    }
}

.program_page-last{
    h2{
        font-size: 0.875rem;
    }
    h3{
        margin-top: 1rem;
    }
 }
.program-page{
    h5{
        margin-top: 2.2rem!important;
    }
}
.program-rule{
    padding: auto 1.625rem;
}
.program-rule-main{
    font-size: 0.875rem;
    padding-top: 1em;
    text-align: left;
}

.menu{
    p{
        padding: 1em 0 0;
        font-size: 0.875rem;
    }
}


 /*
  * アコーディオン
  */
.accordion {
    border-radius: 8px;
  }
 
  /* 2つ目以降の上の余白（margin-topで間隔調整） */
  .accordion + .accordion {
    margin-top: 16px;
  }
 
  /* 開閉する領域：grid-template-rows を 0fr → 1fr にアニメーション */
  .accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
  }
 
  .accordion.is-open .accordion__panel {
    grid-template-rows: 1fr;
  }
 
  /* 0fr に潰れるには min-height:0 と overflow:hidden が必須 */
  .accordion__inner {
    min-height: 0;
    overflow: hidden;
  }
 
  /* 開いている時だけ中身に上余白を付ける（閉じている間は0のまま潰す） */
  .accordion.is-open .accordion__inner {
    margin-top: 16px;
  }
 
  /* トグルボタン：中央揃え */
  .accordion__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-inline: auto;
    padding: 4px 8px;
    border: none;
    background: none;
    font: inherit;
    font-weight: 700;
    color: #000;
    cursor: pointer;

    text-decoration: underline;
    margin-top: 1em;
    font-size: 1rem;
    font-weight: inherit;
  }
 
  .accordion__toggle:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
    border-radius: 4px;
  }
 
  /* 下矢印アイコン（開くと180度回転して上向きに） */
  .accordion__icon {
    display: block;
    width: 0.875rem;
    height: 0.875rem;
    transition: transform 0.4s ease;
  }
 
  .accordion.is-open .accordion__icon {
    transform: rotate(180deg);
  }
 
  .accordion__inner p {
    margin: 0;
  }
 
  .accordion__inner p + p {
    margin-top: 12px;
  }
 
  /* モーション軽減設定への配慮 */
  @media (prefers-reduced-motion: reduce) {
    .accordion__panel,
    .accordion__icon {
      transition: none;
    }
  }

  