body {
    font-family: "noto-sans-cjk-jp", sans-serif;
font-weight: 400;
font-style: normal;
    color: #000;
    background-color: #ECECEC;
}

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

/* alt　*/
.alt {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* フッター */
.footer {
    background-color: #000;
    padding: 30px;
    color: #fff;
    flex-direction: column;
}

footer h2 {
    font-size: 1.1rem;
    text-align: center;

}

footer img{
    max-width: 100%;
}
.tver-link img{
    margin: 0 auto;
}

.appli-links {
    margin: 35px 0;
}
.appli-links p.external
{
   font-size: .8em;
   padding-top: 6px;
}
.appli-links h2 {
    margin-bottom: 15px;
}
.appli-links p{
    text-align: center;
    line-height: 1.5;
}
.appli-links-inner{
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 10px;
    justify-content: center;
}
a.appli-button {
    height: 55px;
}
a.appli-button img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.sns-title {
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
    color: #fff;
}

.social-links,
.share-icons {
    display: grid;
    justify-content: center;
    margin: 20px 0;
    gap: 25px;
    grid-template-columns: auto auto auto auto auto;
}

.share-links .share-icons {
    margin-bottom: 10px;
}

.share-icons {
    grid-template-columns: auto auto auto;

}

.social-icon {
    display: inline-block;
}

.social-icon img {

    object-fit: contain;
}

.timetree-link,
.portal-link {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.timetree-link a,
.portal-link a {
    display: inline-block;
}

.timetree-link img,
.portal-link img {
    height: auto;
}

.share-links {
    text-align: center;
    margin: calc(20vw/3.75) calc(40vw/3.75) calc(30vw / 3.75);
    border: 1px solid #fff;
    border-radius: 9999px;
    padding: calc(15vw / 3.75) calc(40vw / 3.75);
}

.share-links p {
    margin-bottom: 10px;
    font-size: .8rem;
    color: #fff;
}

.share-icons img {
    object-fit: contain;
}

.copyright {
    text-align: center;
    font-size: .6rem;
    color: #999;
    margin-top: 50px;
}

.copyright p {
    line-height: 1.4;

}

@media (min-width: 768px) {
    footer {
        padding-bottom: 50px;
    }


    .footer-inner {
        max-width: 1200px;
        margin: 0 auto;
    }

    .banner-links {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin-bottom: 20px;
    }
    .tver-link a:hover{
opacity: .8;
    }
    .tver-link img {
        max-width: 400px;
    }

    .appli-links-inner{
        margin-top: 16px;
    }
    .timetree-link,
    .portal-link {
        margin: 0;
        padding: 0;
    }

    .timetree-link a,
    .portal-link a {
        display: block;
    }

    .timetree-link img,
    .portal-link img {
        max-width: 300px;
        height: auto;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 40px;
    }

    .social-icon {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: center;
        font-size: 0.8rem;
        color: #fff;
        text-decoration: none;
    }

    .social-icon .alt {
        position: static;
        width: inherit;
        height: auto;
        margin: auto;
        line-height: 1.5;
    }

    .social-icon img {
        width: calc(56vw / 12);
        height: auto;
        margin-bottom: 5px;
        margin-right: 12px;
    }

    .share-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 20px 205px;
        width: auto;
        margin: 30px auto;
        border: none;
        border-top: 1px solid #fff;
        border-radius: 0;
    }

    .share-links p {
        margin: 0;
        font-size: 0.9rem;
        margin-right: 30px;
    }

    .share-icons {
        display: flex;
        gap: 35px;
    }

    .share-icon {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.8rem;
        color: #fff;
    }

    .share-icon img {
        margin-bottom: 5px;
        width: 56px;
    }

    .copyright {
        font-size: 0.8rem;
    }
}
@media (min-width: 1201px) {
    .social-icon img{
        width: 56px;
    }
}

/* メインナビゲーション */
.main-navigation {
    background-color: #fff;
    box-shadow: 3px 3px 10px #bdbcbc;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-row {
    display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 5px;
        list-style: none;
        margin: 0;
        column-gap: .9rem;
}

.nav-item {
    flex: 0 0 30.333%;
    max-width: 33.333%;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center center;
    color: #745399;
    position: relative;
    font-weight: 600;}

.nav-item:after {
    content: "";
    background-image: url(../img/menu_devider.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 6px;
    position: absolute;
    height: 100%;
    right: -9px;
    margin: auto 0;
    top: 0;
    bottom: 0;
}

.nav-item:nth-child(3n):after {
    display: none;
}

.nav-item:last-child:after {
    display: none;
}

.nav-item a {
    color: #745399;
    text-decoration: none;
    padding: 16px 0;
    width: 100%;
}



.nav-item span {
    font-size: 0.8rem;
    padding-top: 0;
}


#menu-top {
    background-image: url('../img/menu_home.svg');
}

#menu-schedule {
    background-image: url('../img/menu_schedule.svg');
}

#menu-ticket {
    background-image: url('../img/menu_tkt.svg');
}

#menu-howto {
    background-image: url('../img/menu_hte.svg');
}

#menu-athlete {
    background-image: url('../img/menu_athlete.svg');
}

#menu-movie {
    background-image: url('../img/menu_movie.svg');
}


.main-navigation.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.main-navigation .nav-item.is-current {
     background-color: #745399;
     border-radius: 9999px;
  }
  
  .main-navigation .nav-item.is-current a {
    color: #fff;
  }
  #menu-top.nav-item.is-current {
    background-image: url('../img/menu_home_hover.svg');
}

#menu-schedule.nav-item.is-current {
    background-image: url('../img/menu_schedule_hover.svg');
}

#menu-ticket.nav-item.is-current {
    background-image: url('../img/menu_tkt_hover.svg');
}

#menu-howto.nav-item.is-current {
    background-image: url('../img/menu_hte_hover.svg');
}

#menu-athlete.nav-item.is-current {
    background-image: url('../img/menu_athlete_hover.svg');
}

#menu-movie.nav-item.is-current {
    background-image: url('../img/menu_movie_hover.svg');
}



@media (min-width: 768px) {

    .nav-row {
        flex-wrap: nowrap;
        max-width: 1170px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        padding: calc(10vw/12) calc(15vw/12);
    }

    .nav-item {
        flex: 1;
        margin: 0 calc(10vw/12);
        transition: background-color 0.3s ease, color 0.3s ease, background-image 0.3s ease;
        border-radius: 9999px;
        text-align: center;
    }
    .nav-item a{
        padding: calc(20vw/12) 0;
    }

    .nav-item:hover,.nav-item.is-current {
        background-color: #745399;
    }

    .nav-item:hover span,.nav-item.is-current span {
        color: #fff;
    }

    .nav-item span {
        font-size: calc(18vw/12);
        transition: color 0.3s ease;
    }

    #menu-top:hover,#menu-top.nav-item.is-current {
        background-image: url('../img/menu_home_hover.svg');
    }

    #menu-schedule:hover,#menu-schedule.nav-item.is-current {
        background-image: url('../img/menu_schedule_hover.svg');
    }

    #menu-ticket:hover,#menu-ticket.nav-item.is-current {
        background-image: url('../img/menu_tkt_hover.svg');
    }

    #menu-howto:hover,#menu-howto.nav-item.is-current {
        background-image: url('../img/menu_hte_hover.svg');
    }

    #menu-athlete:hover,#menu-athlete.nav-item.is-current {
        background-image: url('../img/menu_athlete_hover.svg');
    }

    #menu-movie:hover,#menu-movie.nav-item.is-current {
        background-image: url('../img/menu_movie_hover.svg');
    }

    .nav-item:nth-child(3n):after {
        display: block;
    }

    .nav-item:last-child:after {
        display: none;
    }

    .nav-item:after {
        right: -19px;
    }

}

@media (min-width: 1201px) {
    .nav-row {
        padding:10px 15px;

    }
    .nav-item {
        margin: 0 10px;
        
    }
    .nav-item a{
        padding: 20px 0;
    }
    .nav-item span {
        font-size: 18px;
    }
}

/*  おすすめコンテンツ */
.more-info {
    background-color: #745399;
    padding: 20px;
    margin: 30px 0;
}
.more-info h4{
text-align: center;
color: #fff;
font-size:18px ;
margin-bottom: 1em;
}
.card-wrap span.lazy{
    aspect-ratio: 16 / 9;
    border-radius: 5px;
}

.card-wrap {
    display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
gap: 16px;
max-width: 1140px; 
box-sizing: border-box; 
margin: 0 auto;

}

.more-info a {
    text-decoration: none;
    color: #fff;
}

.more-info h3 {
    font-weight: normal;
    font-size: .9rem;
    margin-top: 5px;
}


@media (min-width: 768px) {
    .more-info {
        padding: 30px 20px;
    }

.more-info h4{
font-size:24px ;
}
    .card-wrap div{
        display: flex;
  flex-direction: column;
  height: 100%;
    }
    .card-wrap a{
        display: flex;
  flex-direction: column;
  flex-grow: 1;
    }
    .card-wrap span.lazy {
        
        display: block;
        background-size: cover;
        background-position: center;
        width: 100%;
        border-radius: 8px;
      }

}
@media (max-width: 767px){
.card-wrap > div:last-child:nth-child(odd){
    grid-column: 1 / -1; 
    justify-self: center; 
    width: calc(159vw / 3.75);
  }
}

/* スクロールアップボタン */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 24px;
    width: 70px;
    height: 70px;
    background: url('../img/ico_pgt.png') no-repeat center;
    background-size: contain;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
  }
  .scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
  }


/* lazy */
  .lazy {
    position: relative;
    display: block;
    background: center top no-repeat;
    background-size: cover;
    margin: 0 auto;
  }
  .lazy img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

/* メニュー８個 Ver */


.menu--8 .nav-item:nth-child(4n):after {
    display: none;
}
.menu--8 .nav-item:nth-child(3n):after {
    display:block;
}
 .nav-row.menu--8{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: normal;
    column-gap: .2rem;
    row-gap: .2rem;
    padding: 8px 5px;
}
.menu--8 .nav-item a{
    padding: 12px 0;
}
.menu--8 .nav-item span{
    font-size: 0.75rem;
}

.menu--8 .nav-item{
    max-width: initial;
    background-size: 40%;
}
.menu--8 .nav-item:first-child{
    background-size: 26%;
}
.menu--8 .nav-item.nolink{
    padding: 16px 0;
}
.menu--8 .nav-item:nth-child(4n):after {
    display:none;
}
.menu--8 .nav-item:after{
    right: -4px;
}
#menu-result {
    background-image: url('../img/menu_result.svg');
}
#menu-result.nav-item.is-current {
    background-image: url('../img/menu_result_hover.svg');
}

#menu-goods {
    background-image: url('../img/menu_goods.svg');
}
#menu-goods.nav-item.is-current {
    background-image: url('../img/menu_goods_hover.svg');
}
.nav-item.nolink span{
    color: rgba(0, 0, 0, 0.3);

  }

@media (min-width: 768px) {
    .nav-row.menu--8 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        justify-content: normal;
        max-width: 1200px;
        padding: calc(12vw/12) 0px;
        column-gap: 0;
        row-gap: 0;
    }
    .menu--8 .nav-item{
        margin: 0 calc(5vw / 12);
        background-size: 32%;
    }
    .menu--8 .nav-item:nth-child(4n):after {
        display:block;
    }
    .menu--8 .nav-item:last-child:after{
        display: none;
    }
    .menu--8 .nav-item a{
        padding: calc(20vw / 12) 0;
    }
    .menu--8 .nav-item span{
        font-size: calc(18vw / 12);
    }
    .menu--8 .nav-item:after{
        right: -8px;
    }
    .menu--8 .nav-item.nolink{
        padding: calc(20vw/12) 0;
    }
    .nav-item.nolink:hover{
        background-color: initial;
    }

    #menu-result:hover,#menu-result.nav-item.is-current {
    background-image: url('../img/menu_result_hover.svg');
}
#menu-goods:hover,#menu-goods.nav-item.is-current {
    background-image: url('../img/menu_goods_hover.svg');
}
.nolink#menu-result:hover,#menu-result.nav-item.is-current {
    background-image: url('../img/menu_result_hover.svg');
}
.nolink#menu-result:hover{
    background-image: url('../img/menu_result.svg');
}
}

@media (min-width: 1201px) {
    .menu--8 .nav-item {
        margin: 0px 5px;
    }
    .menu--8 .nav-item a{
        padding: 20px 0;
    }
    .nav-row.menu--8{
        padding: 12px 0px;
    }
    .menu--8 .nav-item.nolink{
        padding: 20px 0;
    }
    .menu--8 .nav-item span{
        font-size: 18px;
    }
}
