:root{
    --stage-base: black;
    --stage-yellow: rgb(244, 213, 78);
    --stage-white: white;
    /* 　↓　↓　ステージ用カラー　↓　↓　 */
    --stage-Rock: rgb(255, 143, 125);
    --stage-Performance: rgb(251, 166, 62);
    --stage-Clark: rgb(169, 140, 231);
}

html{
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
.top-box{
    background-color: var(--stage-yellow);
    height: fit-content;
}
.top-image-overlay {
    background: none;
}
main{
    min-width: 0;
    background: var(--stage-base);
    font-family: tbudrgothic-std, sans-serif;
    font-weight: 400;
    font-style: normal;
    /* font-family: tbudrgothic-std, sans-serif;
    font-weight: 400;
    font-style: normal; */
}
h2{
    color: var(--stage-yellow);
}
.Rock-Stage{
    text-decoration: underline var(--stage-Rock) 0.3em;
    border-bottom: 0.3em;
    text-decoration-skip-ink: none;
}
.Performance-Stage{
    text-decoration: underline var(--stage-Performance) 0.3em;
    border-bottom: 0.3em;
    text-decoration-skip-ink: none; 
}
.Clark-Stage{
    text-decoration: underline var(--stage-Clark) 0.3em;
    border-bottom: 0.3em;
    text-decoration-skip-ink: none;
}
.line-up{
    text-underline-offset: -0.1em;
}
.section-heading{
    color: white;
    border-bottom-color: none;
}
.top-image{
    filter: contrast(100%) brightness(0%);
    padding: 50px 0;
    margin: 30px 0 0 0;
}

.section-heading::after {
    background: linear-gradient(90deg, var(--stage-yellow), var(--stage-white));
    border-radius: 2px;
    width: 220px;
}

.event-section{
    min-width: 0;
    background: none;
    padding-bottom: 0;
    border: none;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}
.section-content p{
    color: black;
}
.stage-setsumei{
    background-color: var(--stage-yellow);
    padding: 4%;
    border-radius: 15px;
    border-color: var(--stage-white);
    border-style:solid;
    border-width: 2px;
    margin-bottom: 4rem;
}
.detail-label{
    width: 6em;
    min-width: 5em;
    text-align: center;
}
.wide{
    margin: 0.4rem;
    margin-bottom: 1em;
    line-height: 1.7rem;
    color: black;
}
.text-justify{
    display: inline-block;
    width: 4em;
    text-align: right;
}
.event-details{
    align-items: flex-start;
    flex-wrap: wrap;
}
.flexstart{
    align-items: flex-start;
}

.event-content-wrapper{
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    gap: 0;
}

.tab-panel{
    display: none;
    transform:rotatex(180deg);
}
.tab-panel.active{
    display: block;
}
.timetable-tab{
    display: flex;
    width: 100%;
    justify-content:space-around;
    flex-wrap: wrap;
    margin: 2rem auto;    
    padding: 0;
}
.tab-item{
    display: flex;
    position: relative;
    list-style: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--stage-base);
    border-radius: 2px;
    border: solid;
    border-width: 3px;
    border-color: var(--stage-yellow);
    color: var(--stage-white);
    width: 30%;
    max-width: 300px;
    padding: 0.5rem 0;
    margin: 1rem 0;
    font-size: 1.15rem;
    font-weight: 900;
    height: fit-content;
    box-shadow: 1px 1px 0 var(--stage-base),6px 6px 0px rgb(255, 255, 255);
    overflow: hidden;
    z-index: 1;
    transition-duration: .2s;
}
.tab-item:hover{
    transform:translate(-1px, -1px);
    box-shadow: 1px 1px 0 var(--stage-base),7px 7px 0px rgb(255, 255, 255);
}
.tab-item.active{
    transform:translate(4px, 4px);
    background-color: var(--stage-yellow);
    color: var(--stage-base);
    box-shadow: 2px 2px 0px rgb(255, 255, 255);
}
.detail-label{
    color: var(--stage-base);
    background-color: none;
    border-color: var(--stage-base);
    border-width: 1.5px;
}
.box{
    overflow-x: auto;
    overflow-y: visible;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.timetable-over{
    display: grid;
    grid-template-columns: 50px 1fr 1fr;
    gap: 10px;
    background: var(--stage-base);
    border-color: var(--stage-white);
    border-style: solid;
    border-radius: 20px;
    width:fit-content;
    padding: 1rem;
    padding-left: 2px;
    margin: 0 auto;
    transform: rotatex(180deg);
}
.time-set{
    display: grid;
    position: relative;
    grid-template-rows:70px repeat(9, 180px) max-content;
    flex-direction: column;
    color: var(--stage-white);
}
.time-set div{
    letter-spacing: -0.05em;
}
.time-set-long{
    display: grid;
    position: relative;
    grid-template-rows:70px repeat(12, 180px) max-content;
    flex-direction: column;
    color: var(--stage-white);
}
.time-set-long div{
    letter-spacing: -0.05em;
}
.time-set-short{
    display: grid;
    position: relative;
    grid-template-rows:70px repeat(7, 240px) max-content;
    flex-direction: column;
    color: var(--stage-white);
}
.time-set-short div{
    letter-spacing: -0.05em;
}
.time-stick{
    position: sticky;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
}
.time-stick::before{
    content:"";
    width: 100%;
    height: 100%;
    display: block;
    border: 2px solid rgba(0, 0, 0, 0.8);
    position: absolute;
    top: -2px;
    left: -2px;
    box-sizing: content-box;
}

.timetable-stages{
    display: grid;
    max-width: 100%;
    min-width: 400px;
    grid-template-rows:80px repeat(113, 15px);
    background: none;
    color: var(--stage-base);
}
.timetable-stages-long{
    display: grid;
    max-width: 100%;
    min-width: 400px;
    grid-template-rows:80px repeat(149, 15px);
    background: none;
    color: var(--stage-base);
}
.timetable-stages-short{
    display: grid;
    max-width: 100%;
    min-width: 400px;
    grid-template-rows:80px repeat(89, 20px);
    background: none;
    color: var(--stage-base);
}

.stage-name{
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--stage-yellow);
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 -2px var(--stage-base), 1px -2px var(--stage-base), -1px -2px var(--stage-base);
}
.stage-box{
    display: grid;
    grid-template-columns: 25% 75%;
    border-width: 1px;
    padding: 1em 0;
    border-color: var(--stage-yellow);
    border-radius: 5px;
    min-height: fit-content;
    transform-origin: center;
    background-color: var(--stage-yellow);
    padding: 0.5rem 1rem;
    text-align: center;
    min-height: fit-content;
    text-decoration: none;
    color: var(--stage-base);
    transition-duration: .3s;
    line-height: 1.05;
}
.Rock-Stagediv a{
    background: var(--stage-Rock);
}
.Performance-Stagediv a{
    background: var(--stage-Performance);
}
.Clark-Stagediv a{
    background: var(--stage-Clark);
}
.stage-box:hover{
    transform: translatey(-3px);
    box-shadow: 0 3px 10px rgba(169, 153, 84, 0.612);
}
.stage-textL{
    text-align: left;
}
.stage-textR{
    text-align: right;
}
.stages-view{
    display:flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.stage-view-place{
    margin: 15px 0 10px 40px;
    text-align: left;
    font-size: 2.5rem;
}
.stage-view{
    display: flex;
    flex-direction: column;
    width: 95%;
    max-width: 335px;
    background: white;
    margin: 1rem;
    padding: 2rem;
    padding-bottom: 1.5rem;
    border-radius: 30px;
    border-width: 3px;
    border-style: solid;
    line-height: normal;
    height: inherit;
}
.stage-view p{
    flex-grow: 1;
    text-align: left;
}
.stage-imgbox{
    width: 100%;
    height: 200px;
}
.stage-view img{
    display: block;
    max-width: 100%;
    max-height: 200px;
    /* padding: auto 0; */
    margin: 0 auto;
    object-fit: cover;
    justify-content: center;
}
.centre{
    text-align: center;
    font-size: 1.1em;
    font-weight: 700;
}
.stage-view-time{
    /* color: #222222; */
    font-weight: 550;
}
.Rock-Stageview div{
    border-color: var(--stage-Rock);
}
.Performance-Stageview div{
    border-color: var(--stage-Performance);
}
.Clark-Stageview div{
    border-color: var(--stage-Clark);
}
@media (min-width: 768px) {
    .img-shrink{
        margin: 10px 0 0 0;
        display: none;
    }
}
@media (max-width: 767px) {
    .img-wide{
        display: none;
    }
    .img-shrink{
        margin: 0 0 30px 0;
        padding: 0;
    }
}

@media (max-width: 767px) {
    .top-box{
        aspect-ratio: 1/1;
        height: auto;
        max-height: none;
    }
    .event-content-wrapper{
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
    }
    .stage-setsumei{
        width: 100%;
    }
    .detail-value{
        letter-spacing: -0.05em;
    }
    .event-section{
        padding: 0;
    }
    .timetable-stages{
        min-width: 230px;
    }
    .timetable-stages-long{
        min-width: 230px;
    }
    .timetable-stages-short{
        min-width: 230px;
    }
    .stage-view-place{
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        font-size: 1.5rem;
    }
    .stage-textL{
        letter-spacing: -0.05em;
    }

    .stage-view{
        min-width: 0;
    }
}