/* リセットCSS */
* {
    margin: 0;
    padding: 0;
}

html, body {
    scrollbar-gutter: stable;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

br.pc{
    display: none;
  }
  
  @media (min-width: 768px) {
  br.smp{
    display: none;
  }
  }

/* ヘッダー */
main{
    line-height: 1.4;
padding: 0 10px;
}



.page-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    padding: 30px 0 20px;
    line-height: 1;
}




.event-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 10px;
}

h2 {
    text-align: center;
    font-size: 18px;
    margin: 40px 0 20px;
}

#snav{
    max-width: 980px;
    gap: 10px;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 32px;
        padding: 60px 0 20px;
    }
    h2{
        font-size: 24px;
    }
    .category-title{
        font-size: 24px;
    }
}

/*種目ボタン*/


.category-button {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #A48B78;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s 0s ease;
}




.category-button:hover {
    background-color: #745399;
    border-color: #745399;
    box-shadow: 0 5px 15px rgba(116, 83, 153, 0.3);
}

.category-button.active {
    background-color: #745399;
    border-color: #745399;
}

.category-button span {
    font-size: .75rem;
    color:#A48B78;
    font-weight: bold;
    padding: 10px 0;
    transition: color 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-button:hover span,
.category-button.active span {
    color: #fff;
    position: relative;
    z-index: 1;
}

.category-button img {
    width: 100%;
    vertical-align: middle;
    position: relative;
    z-index: 1;
}

.category-icon {
    width: 60px;
    height: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: filter 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-button.active .category-icon,
.category-button:hover .category-icon {
    filter: brightness(1.1);
}

/* 種目別の表 */
.category-content {
    margin-bottom: 30px;
}


.category-title {
    margin: 40px 0 20px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.event-schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-size: .75rem;
    background-color: #fff;
    border-collapse: collapse;
    border-radius: 10px 10px 0 0;
}

.col-event  { width: 27%; }
.col-day   { width: 28%; }
.col-round { width: 34%; }


@media screen and (min-width: 768px) {
  .col-event  { width: 40%; }
  .col-day   { width: 30%; }
  .col-round { width: 30%; }
}

.event-schedule-table th,
.event-schedule-table td {
    padding: 4px;
    text-align: center;
    vertical-align: middle;
    overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.event-schedule-table th {
    color: white;
    font-weight: bold;
    background-color: #000;
    padding: 10px 4px;

}
.event-schedule-table th:first-child{
    border-radius: 10px 0 0 0;

}
.event-schedule-table th:last-child{
    border-radius: 0px 10px 0 0;

}


.event-name {
    text-align: left;
    padding-left: 15px;
    font-weight: bold;
    color: #333;
}
a.btn_entry{
    display: block;
    border: 2px solid #745399;
    width: fit-content;
    margin: 10px auto 0;
    color: #745399;
    padding: 4px 24px;
    border-radius: 9999px;
    font-size: 0.9em;
    transition: background-color 0.3s;
}
a.btn_entry:hover{
    background-color: rgb(116, 83, 153,0.5);
}

.session-link {
    background-color: #FAF4D4;
    border-radius: 4px;
    text-align: left;
    background-color: #F8E272;
    border: 3px solid #EBB400;
    display: block; 
  max-width: 100%;
  padding: 3px 5px 3px 5px;
    margin: 0 auto;
}


.date>span{
position: relative; display: block;
text-box: trim-both cap alphabetic;
margin: 14px 7px;
text-align:left;
}
/* .date.morning>span::after{
    position: absolute;
    right: 0;
    top: 0;
    margin: auto;
    bottom: 0;
    content: '';
    display: block;
    width: 100%;
    height: 22px;
    background: url(../img/ico_day.svg) no-repeat right center;
    background-size: contain;

}
.date.evening>span::after{
    position: absolute;
    right: 0;
    top: 0;
    margin: auto;
    bottom: 0;
    content: '';
    display: block;
    width: 100%;
    height: 22px;
    background: url(../img/ico_evening.svg) no-repeat right center;
    background-size: contain;

} */
.sat{
    color: #000080 ;
    display: inline;
    font-weight: 500;
    margin: 0;
}
.sat::after{
    content: none;
}
.sun{
    margin: 0;
    color:#B22222;
    display: inline;
    font-weight: 500;
}
.sun::after{
    content: none;
}

.session-link {
    background-color: #E1E3FD;
    border: 3px solid #CACAED;
    border-radius: 4px;
    position: relative;
}
.session-link::after {
    position: absolute;
    right: calc(4vw / 12);
    top: 0;
    margin: auto;
    bottom: 0;
    content: '';
    display: block;
    width: 100%;
    height: 22px;
    background: url(../img/ico_evening.svg) no-repeat right center;
    background-size: contain;
}
.event-divider {
    border-bottom: 1px solid #ccc;
    margin: 10px 0;
}
/* 
.semi-final .session-link{
    background-color: #C2E9ED;
    border: 3px solid #69D5E0;
} */
.pre .session-link{
    background-color: #E1E3FD;
    border: 3px solid #CACAED;
}

.qualifying .session-link{
    background-color: #E1E3FD;
    border: 3px solid #CACAED;
}
.final .session-link span{
    background: linear-gradient(90deg, #C99B20 0%, #AA7701 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}
.final .session-link.morning span{
    background: linear-gradient(90deg, #bf921c 0%, #9a6c01 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.session-link.morning {
    background-color: #FAF4D4;
    border-radius: 4px;
    background-color: #F8E272;
    border: 3px solid #EBB400;
    display: block; 
  max-width: 100%;

}
.session-link.morning::after {
    background: url(../img/ico_day.svg) no-repeat right center;
    background-size:  contain;
}

@media (min-width: 768px) {
    .event-schedule-table{
        font-size: 1rem;
    }
    .event-schedule-table td{
        padding: 7px 4px;
    }
    .event-categories{
        margin: 0 auto 20px;
        max-width: 880px;
    }
    .category-content{
        margin: 0 auto 30px;
        max-width: 880px;
    }
    .category-button span{
        font-size: 1rem;
    }
    .event-schedule-table th{
        padding: 20px 0;
    }
    .highlight-inner{
        padding: 12px 20px;
    }
    .highlight-inner h3{
        font-size: 1rem;
    }
    .highlight-copy{
        font-size: 1.1rem;
    }
    .highlight-txt{
        font-size: 1rem;
    }

    .event-schedule-content .note{
        max-width: 880px;
    }
    .session-link{
        padding: 3px;
        text-align: center;
    }
    .session-link span{
        margin: 14px 10px;
    }
    .category-title{
        font-size: 24px;
    }
    .session-link::after {
        background: url(../img/ico_evening.svg) no-repeat right center;
        background-size: contain;
    }
    .session-link.morning::after {
        background: url(../img/ico_day.svg) no-repeat right center;
        background-size: contain;
    }
    
    .date>span{
        text-align: center;
    }
}
  

  /*/////////// ユニウェブ ///////////*/

  .accessibility--FIH .final .session-link span,.accessibility--FITT .final .session-link span{
    background-color: #AA7701;
  }
