@charset "UTF-8";
main::-webkit-scrollbar-thumb {
    border: 3.5px solid black;
}
main::-webkit-scrollbar-track {
    background-color: black;
}

.page-wrapper {
    font-size: 13px;
    padding: 10%;
    width: 100%;
}
@media screen and (min-width: 1024px) {
    .page-wrapper {
        font-size: 17px;
        padding: 10% 15%;
    }
}

.tab_group{
    display: flex;
    text-align: center;
    margin: 0 auto;
    width: 99%;
}

.tabbtn{
    width: 33%;
    height: 50px;
    line-height: 50px;
    list-style: none;
    background-color: var(--beige40);
    position: relative;
}

.tabbtn a {
    display: block;
    width: 100%;
    height: 100%;
    color: var(--themewhite);
    font-weight: bold;
}

 
/* 
.tabbtn.is-active:hover::after {
    background-color: var(--themeblack);
    opacity: 0.2;
} */ 

/* .tabbtn a:hover {
    color: var(--themewhite);
} */

li.is-active {
    background-color: var(--themered);
}

li.is-active::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 7px solid var(--themered);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

li.is-active a {
    color: var(--themewhite);
    font-weight: bold;
}

.bottom.selected {
    background-color: var(--themered);
}

.bottom.selected::after {
    content: "";
    width: 0;
    height: 0;
    border-bottom: 7px solid var(--themered);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.bottom.selected a {
    color: var(--themewhite);
    font-weight: bold;
}

.a_link {
    width: calc(100% / 4);
}

.tothetop {
    font-size: 15px;
    color: black;
    text-align: center;
    text-decoration: none;
    position: relative;
    display: block;
    margin: 30px 0 45px;
}

.tothetop::before {
    display: block;
    content: "\f078";
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    bottom: 1px;
    left: calc(50% - 106px);
    transform: rotate(180deg);
}

.ttwrapper{
    width: 98%;
    margin: auto;
    overflow: visible;
}

.wrap {
    display: flex;
    
    overflow: visible;
}

.scroll {
    overflow-x: scroll;
    overflow-y: visible;
    width: 100%;
}
#day1_intelligent .scroll, #day2_intelligent .scroll, #day3_intelligent .scroll, #day3_honkan .scroll, #day1_field .scroll, #day2_field .scroll, #day3_field .scroll {
    overflow-x: hidden !important; overflow-y: unset !important;
}
@media screen and (min-width:1024px){
    #day1_intelligent .scroll, #day2_intelligent .scroll, #day3_intelligent .scroll, #day3_honkan .scroll, #day1_field .scroll, #day2_field .scroll, #day3_field .scroll {
        width:50%;}

        #day1_intelligent .stage, #day2_intelligent .stage, #day3_intelligent .stage, #day3_honkan .stage, #day1_field .stage, #day2_field .stage, #day3_field .stage {

            width:100%;}
            #day1_intelligent .flex, #day2_intelligent .flex, #day3_intelligent .flex, #day3_honkan .flex, #day1_field .flex, #day2_field .flex, #day3_field .flex {
                width:100%;}
                #day1_intelligent .wrap, #day2_intelligent .wrap, #day3_intelligent .wrap, #day3_honkan .wrap, #day1_field .wrap, #day2_field .wrap, #day3_field .wrap {
                    justify-content: center;
                }
                    

}


.flex.dayone {
    width: 150%;
    overflow: visible;
}

.flex {
    display: flex;
    justify-content: space-between;
    width: 200%;
    overflow: visible;
}

.flex.single-stage {
    width: 100%;
    justify-content: center;
}

.stage {
    width: 50%;
    overflow: visible;
}

.stage.single-stage {
    width: 100%;
}

.location{
    text-align: center;
    height: 35px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.location a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    margin-bottom:10px;
}

.location img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    margin-bottom:3px;
}

.timepoint{
    font-size: 13px;
    display: grid;
    grid-template-rows: repeat(120, 10px);
    margin-right: 3%;
    margin-top: 31px;
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* timepoint上に表示するリアルタイム時刻 */
.current-time-display {
    position: absolute;
   
    right: -45px;
    background-color: var(--beige40);
    color: var(--themered);
    padding: 1px 4px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
    transform: translateX(-100%);
    margin-left: -5px;
}
.current-time-display::before{
    content:"";
    width:13px;
    height:13px;
    background-color:var(--themered);
    border-radius:50%;
    position:absolute;
    left:-16px;
    top:20%;
    -webkit-animation:blink .5s ease-in-out infinite alternate;
    -moz-animation:blink .5s ease-in-out infinite alternate;
    animation:blink .5s ease-in-out infinite alternate;
    
}
@-webkit-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@-moz-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}

@media screen and (min-width: 1024px) {
    .current-time-display {
        font-size: 12px;
        padding: 2px 6px;
    }
}


@media screen and (min-width: 1024px) {
    .wrap{
        margin-top: 15px;
    }
    li:not(.is-active):not(.selected):hover {
        background-color: var(--themered);
        opacity: 0.2;
    
    
    }
    li.is-active {
        background-color: var(--themered);
    }
    
    li.is-active::after {
        content: "";
        width: 0;
        height: 0;
        border-top: 7px solid var(--themered);
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    li.is-active a {
        color: var(--themewhite);
        font-weight: bold;
    }
    
}

.timepoint.day1day2 {
    grid-template-rows: repeat(84, 10px);
}

.timepoint.lastday {
    grid-template-rows: repeat(60, 10px);
}

.timepoint.gym {
    grid-template-rows: repeat(84, 10px);
}

.timepoint.intelligent {
    grid-template-rows: repeat(84, 10px);
}

.line00 {
    grid-row-start: 1;
}

.line01{
    grid-row-start: calc(1 + 12*1);
}
.line02{
    grid-row-start: calc(1 + 12*2);
}
.line03{
    grid-row-start: calc(1 + 12*3);
}
.line04{
    grid-row-start: calc(1 + 12*4);
}
.line05{
    grid-row-start: calc(1 + 12*5);
}
.line06{
    grid-row-start: calc(1 + 12*6);
}
.line07{
    grid-row-start: calc(1 + 12*7);
}
.line08{
    grid-row-start: calc(1 + 12*8);
}
.line09{
    grid-row-start: calc(1 + 12*9);
}
.line10{
    grid-row-start: calc(1 + 12*10);
}

.contents_wrapper{
    width: 100%;
    display: grid;
    grid-template-columns: 10% 80% 10%;
    grid-template-rows:repeat(120,10px);
    margin-bottom: 30px;
    overflow: visible;
}

.contents_wrapper.day1day2 {
    grid-template-rows:repeat(84,10px);
}

.contents_wrapper.lastday {
    grid-template-rows:repeat(60,10px);
}

.contents_wrapper.gym {
    grid-template-rows:repeat(84,10px);
}

.contents_wrapper.intelligent {
    grid-template-rows:repeat(84,10px);
}

.intelli {
    margin-top: 40px;
}

.timeline{
    border-top: 1px solid var(--themebeige);
    grid-column: 1/4;
    z-index: -5;
}

/* 現在時刻表示用のスタイル */
.current-time-line {
    border-top: 2px solid var(--themebeige);
    grid-column: 1/4;
    position: relative;
    z-index: 50;
    overflow: visible;
    opacity: 0.5;
}


.item{
    background-color: var(--themered);
    border: 2px solid var(--themered);
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    grid-column-start: 2;
    padding: 3%;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    box-shadow: 2px 2px 3px var(--themebeige);
}



.item_nf {
    position: relative;
    background-color: var(--stage);
    outline: solid 1.5px var(--stage);
    border: none;
}


.item_nf p{
    color:var(--themewhite);
}

.starttime {
    font-weight: bold;
    font-size: 12px;
    color: var(--themewhite);
    align-self: flex-start;
    margin-top: 0;
    z-index: 1;
}
.endtime {
    font-weight: bold;
    font-size: 12px;
    color: var(--themewhite);
    align-self: flex-end;
    margin-bottom: 0;
    z-index: 1;
}
.start_in {
    position: absolute;
    
}

.end_in {
    position: absolute;
    
}

.start_out {
    position: absolute;
    top: -17px;
    color:var(--themered);
    
}

.end_out {
    position: absolute;
    bottom: -17px;
    color:var(--themered);
    
}

.start_out_nf{
    position: absolute;
    top: -19px;
    color:var(--indoor)!important;
}
.end_out_nf{
    position: absolute;
    bottom: -18px;
    color:var(--indoor)!important;
}

.tt_ticket .field_mark {
    display: flex;
    width: 100%;
}

.tt_ticket::before {
    content: url(https://ikkyosai.com/visitor/56/img/card_ticket_white.svg);
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    bottom: 0;
    left: 5px;
}

.field_mark {
    content: url(https://ikkyosai.com/visitor/56/img/icon/genre/performance_themewhite.svg);
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    bottom: 3px;
    left: 5px;

}



.event_name{
    font-size: 12px;
    font-weight: bold;
    padding: 0 5px;
    margin: auto 0;
    text-align: center;
    line-height: 1.2;
    color:var(--themewhite);
}

.HiunCity {
    font-size: 10px;
}

.TFC {
    font-size: 11px;
}

.event_name_nf {
    color: white;
}

.pc_br {
    display: none;
}

/* ポップアップ全体のスタイル */
.popup {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100svh;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 10000;
}

/* ポップアップ内容のスタイル */
.popup-content {
    background-color: var(--themewhite);
    padding: 20px;
    border-radius: 10px;
    max-width: 90%;
    min-width: 310px;
    max-height: 90vh;
    overflow-y: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    
}
.popup-content p{
    color:var(--themeblack)!important;
}
.popup_cancel{
    display:none;
}

.block {
    display: flex;
    min-width: 290px;
}

.square {
    width: 75px;
    height: 75px;
}

.name {
    flex-direction: column;
    width: 67%;
    max-height: 70px;
    margin: 0 4%;
}

.programname {
    font-weight: bold;
    width: 100%;
    margin: 0 2%;
    max-height: 60px;
    border-bottom: 2px solid var(--themebeige);
}

.circlename {
    width: 100%;
    margin: 2%;
    padding-top: 1%;
    border-top: 1px solid var(--themebeige);
}

.nfbtn {
    display: flex;
    justify-content: flex-end;
    position: relative;
}


    .nfbtn a {
        width: 42px;
        height: 42px;
        font-size: 10px;
        font-weight: 600;
        color: white;
        /* z-index: 9999999; */
        border: 1px solid var(--indoor);
        background: var(--indoor);
        /* border-radius: 50%; */
        /* transform: rotate(45deg); */
        transition: all .3s;
        display: flex
    ;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: -5px;
        right: -15px;
    }

.nfbtn a::before {
    position: absolute;
    content: "";
    display: block;
    width: 45px;
    height: 45px;
    transform: rotate(45deg);
    /* border-radius: 50%; */
    border: 1px solid var(--indoor);
    /* background: white; */
    /* opacity: 40%; */
    /* top: 3px; */
    /* left: 3px; */
}
.nfbtn a::after {
    position: absolute;
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    /* border-radius: 50%; */
    transform: rotate(45deg);
    border: solid 1px var(--indoor);
    background: var(--themewhite);
    bottom: -5px;
    right: 16%;
}



.nfbtn a:hover::before {
   transform:rotate(-45deg);
    transition: all .3s;
}

.poptime {
    display: flex;
    height: 25px;
    margin: 5% 2% 2% 0;
    padding: 0 2%;
    align-items: center;
    background-color: #e1e7ee;
    border-radius: 12px;
}

.poplocation {
    display: flex;
    height: 25px;
    margin: 5% 0 2% 0;
    padding: 0 3%;
    align-items: center;
    background-color: #e1e7ee;
    border-radius: 12px;
}

.tim {
    margin: 0 auto;
    width: 6em;
    font-size: 12px;
}

.loc {
    margin: 0 auto;
    max-width: 11em;
    min-width: 4em;
    font-size: 12px;
    white-space: nowrap;
}

.clock,.marker{
    width: 15px;
    height: 15px;
    margin-right: 3%;
}

.popup_ticket,.popup_field {
    display: flex;
    margin-bottom: 2%;
    margin-top: 2%;
    font-size: 12px;
    align-items: center;
}

.popup_ticket img, .popup_field img {
    width: 18px;
    height: 18px;
}

.card_heart_tt {
    width: 20px;
    height: 18px;
    margin: 6% 0 0 2%;
    cursor:pointer;
}

.program_content {
    font-size: 12px;
    min-width: 290px;
    margin-top:20px;
}

.btn_ticket {
    margin-top: 9px; 
}

/* 閉じるボタンのスタイル */
.popup-content .close {
    position: absolute;
    width: 25px;
    height: 25px;
    top: 5px;
    right: 5px;
    text-align: center;
    background: var(--themered);
    
    border-radius: 12.5px;
    cursor: pointer;
    z-index: 10;
}

.close::before, .close::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 15px;
    background: var(--themewhite);
}

.close::before {
    transform: translate(-50%,-50%) rotate(45deg);
}

.close::after {
    transform: translate(-50%,-50%) rotate(-45deg);
}

.nf {
    font-size: 11px;
    position: absolute;
    top: -26px;
    padding: 1px 3px;
    text-align: center;
    border: solid 1.5px white;
    color: var(--themewhite);
    margin: auto;
    font-family: var(--zen);
    left: 4px;
    pointer-events: none;
    font-weight: 700;
    background-color: var(--indoor);
}

.tttop{
    text-align: center;
    margin-bottom: 45px;
}

.top {
    position: relative;
}

.top::before{
    display: block;
    content: "\f078";
    color: var(--blue);
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    bottom: 0;
    left: calc(50% - 90px);
    transform: rotate(180deg);
}

@media screen and (min-width:1024px){
    .scroll {
        overflow: unset;
        width: 96%;
    }

    .timepoint {
        /* width: 4%; */
        margin: 66px 1% 0 0;
    }
    
    .flex {
        width: 100%;
    }

    .flex.dayone {
        width: 100%;
    }

    .location {
        margin-bottom: 40px;
    }

    .top::before{
        left: calc(50% - 120px);
    }

    .intelli {
        margin-top: 75px;
    }

    .event_name {
        font-size: 14px;
    }

    .HiunCity, .TFC {
        font-size: 14px;
    }

    .pc_br {
        display: block;
    }

    .starttime {
        font-size: 13px;
    }

    .endtime {
        font-size: 13px;
    }

    .start_out {
        top:-19px;
    }
    
    .end_out {
       bottom:-20px;
    }
    .item:hover {
        background-color: var(--beige40);
        border-color: var(--themered);
        border-width: 2px;
        transition: background-color 0.3s;
    }
    .item:hover p{
        color:var(--themered);
    }
    .item.no-hover:hover {
        background-color: var(--beige40);
        cursor: default;
    }
    .item_nf:hover {
        background-color: var(--indoor);
        transition: background-color 0.3s;
         border-color: var(--stage)!important;
    }
    .item_nf:hover .event_name_nf {
        color: var(--themewhite);
        transition: color 0.3s;
    }
    .item_nf:hover p{
        color: var(--themewhite);
    }
    
    .item_nf.no-hover:hover {
        background-color: var(--indoor);
        cursor: default;
       
    }
    
    .item_nf.no-hover:hover .event_name_nf {
        color: var(--themeblack);
        cursor: default;
    }
    
    .tt_ticket::before,.field_mark::before {
        left: 8px;
        width: 35px;
        height: 35px;
    }

    .medama::before {
        width: 28px;
        height: 28px;
    }

    .popup-content {
        width: 500px;
        max-height: 70vh;
        overflow-y: auto;
        padding: 30px;
    }

    .square {
        width: 125px;
        height: 125px;
    }

    .name {
        width: 70%;
    }

    .programname {
        font-size: 20px;
        width: 100%;
        max-height: 100px;
    }

    .circlename {
        margin: 2% 2% 3% 2%;
    }

    .nfbtn a {
        width: 74px;
        height: 74px;
        font-size: 16px;
        top: 2px;
    }

    .nfbtn a::before {
        width: 70px;
        height: 70px;
    }
    
    .nfbtn a::after {
        width: 13px;
        height: 13px;
    }

    .tim {
        font-size: 14px;
    }
    
    .loc {
        font-size: 14px;
    }

    .popup_ticket,.popup_field {
        font-size: 14px;
    }

    .program_content {
        font-size: 14px;
    }

    .popbtn {
        margin: 50px 0 0 0;
    }

    .btn_ticket {
        margin-top: 70px; 
    }

    .poptime,.poplocation {
        margin-top: 3%;
    }

    .card_heart_tt {
        margin: 3.5% 0 0 3%;
    }

    .nf {
        font-size: 16px;
        top: -32px;
    }
    .location img {
        margin-bottom:8px;
        height:auto;
    }
}