.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    position: fixed;
    background: white;
    z-index: 1000;
    animation: loading 4s linear forwards;
}
@keyframes loading {
    0% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}

main {
    max-width: none;
    padding: 0;
    margin: 0;
}

section.top-mv {
    height: 100vh;
    display: grid;
}
section.top-mv .image-roll {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    grid-area: 1/1;
    position: relative;
}
section.top-mv .image-roll img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: all 0.3s;
    position: absolute;
}
section.top-mv .image-roll img.active{
    opacity: 1;
}
section.top-mv .overray {
    grid-area: 1/1;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-end;
    position: relative;
}
section.top-mv .scroll-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    width: 100%;
    background: linear-gradient(0,black,transparent);
    padding-bottom: 20px;
    padding-top: 30px;
    position: absolute;
}
section.top-mv .progressbar{
    width: 100%;
    height: 5px;
    position: absolute;
}
section.top-mv .progressbar .progress{
    background-color: var(--accent-color);
    height: 100%;
}
section.top-mv .imgcontrol{
    position: absolute;
    display: flex;
    padding-bottom: 10px;
    right: 0;
    align-items: center;
    color: white;
}
section.top-mv .imgcontrol .back,
section.top-mv .imgcontrol .next{
    cursor: pointer;
}

section.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 20px 0;
}
section.main-nav .main-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    width: 1080px;
    max-width: 100%;
    height: 180px;
    margin-top: 20px;
    margin-bottom: 30px;
}
section.main-nav .main-nav-inner li {
    width: 33%;
    height: 100%;
    border-left: 1px solid silver;
    border-right: 1px solid silver;
}
section.main-nav .main-nav-inner li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    width: 100%;
}
section.main-nav .nav-icon  {
    max-height: 100px;
    width: 40%;
}
section.main-nav .nav-icon svg {
    fill: var(--accent-color);
    width: 100%;
    height: 100%;
}
section.main-nav .nav-title {
    word-break: keep-all;
    overflow-wrap: break-word;
    text-align: center;
}
section.main-nav .main-nav-sub{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    list-style: none;
    flex-direction: column;
    width: 200px;
    padding: 0 20px;
}
section.main-nav .main-nav-sub a{
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}
@media screen and (max-width: 768px) {
    section.main-nav {
        flex-wrap: wrap;
    }
    section.main-nav .main-nav-sub{
        flex-direction: row;
        width: 100%;
        gap: 30px;
    }
    section.main-nav .main-nav-sub a{
        width: 100%;
    }
}

section.news {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 1080px;
    margin: 0 auto;
    margin-top: 30px;
}
section.news .section-header,
section.club .section-header,
section.topics .section-header {
    display: grid;
    place-items: center;
}
section.news .section-header .jp,
section.topics .section-header .jp,
section.club .section-header .jp {
    grid-area: 1/1;
    font-size: 1.4em;
    color: var(--accent-color);
    font-weight: bold;
}
section.news .section-header .en,
section.topics .section-header .en,
section.club .section-header .en {
    grid-area: 1/1;
    font-size: 4em;
    opacity: 0.1;
}
section.news .news-list {
    list-style: none;
    margin: 0 15px;
    width: 500px;
    max-width: 100%;
}
section.news .news-item {
    margin-top: 9px;
    padding: 0 10px;
}
section.news .news-item .date{
    font-size: 0.85em;
    color: gray;
    margin-left: 7px;
}
section.news .news-item .title{
    margin-left: 24px;
    display: inline-block;
}
section.news .more{
    margin-top: 20px;
}

section.topics,
section.club {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 80px auto 0;
}


section.topics .topics-item {
    animation: ani 0.8s forwards ease-out;
    animation-delay: calc( var(--i) * 0.2s);
    opacity: 0;
}
@keyframes ani {
    0% {
        transform: translateY(80px);
        opacity: 0;
    }
    100%{
        transform: translateY(0);
        opacity: 1;
    }
}
