.top-content-width {
    max-width: 1180px;
    padding-left: calc(var(--spacing) * 4);
    padding-right: calc(var(--spacing) * 4);
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1280px) {
    .top-content-width {
        padding-left: 0;
        padding-right: 0;
    }
}

/*
intro
*/

.top-intro {
    background-color: white;
    cursor: pointer;
    position: fixed;
    inset: 0;
    height: 100vh;
    width: 100%;
    touch-action: none;
    z-index: 100;
}

@keyframes top-intro-fade-out {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.top-intro--hidden {
    animation: top-intro-fade-out 1s ease forwards;
    pointer-events: none;
}

.top-intro__video {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@keyframes top-intro-logo-fade-in {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.top-intro__logo {
    animation: top-intro-logo-fade-in 2s ease forwards;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 260px;
    z-index: 5;
}

@keyframes top-intro-arrow-move {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}

.top-intro__arrow {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 37px;
    animation: top-intro-arrow-move 2s ease-in-out infinite;
    z-index: 5;
}

/*
lead
*/

.top-lead__lead {
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
    word-break: keep-all;
}

.top-lead__description {
    font-family: var(--font-serif);
    font-size: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .top-lead__lead {
        font-size: 2.5rem;
    }

    .top-lead__description {
        font-size: 1.5rem;
    }
}

/*
featured
*/

.top-featured-slider {
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
}

.top-featured-slider__button-prev,
.top-featured-slider__button-next {
    display: none;
}

@media (min-width: 640px) {

    .top-featured-slider__button-prev,
    .top-featured-slider__button-next {
        display: block;
        color: white;
        filter: drop-shadow(0 0 10px #333);
    }
}

.top-featured {
    aspect-ratio: 75 / 80;
    position: relative;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 640px) {
    .top-featured {
        aspect-ratio: 120 / 75;
    }
}

.top-featured__image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.top-featured__image>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.top-featured__name {
    display: grid;
    align-items: start;
    justify-content: left;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 6px;

    color: white;
    filter: drop-shadow(0 0 10px #333);
}

@media (min-width: 768px) {
    .top-featured__name {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto;
    }
}

.top-featured__name-kanji {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 0.9;
}

@media (min-width: 768px) {
    .top-featured__name-kanji {
        font-size: 3.8rem;
    }
}

.top-featured__name-romaji {
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .top-featured__name-romaji {
        font-size: 1.25rem;
    }
}

.top-featured__catchphrase {
    display: none;
}

@media (min-width: 640px) {
    .top-featured__catchphrase {
        display: block;
        filter: drop-shadow(0 0 10px #333);

        color: white;
        font-family: var(--font-serif);
        font-size: 1.5rem;
        line-height: 1.2;

        margin-left: 0px;
    }
}

@media (min-width: 768px) {
    .top-featured__catchphrase {
        font-size: 1.8rem;
        margin-left: 40px;
    }
}

.top-featured__title {
    color: white;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    line-height: 1;
    margin-left: 0px;
}

@media (min-width: 768px) {
    .top-featured__title {
        font-size: 1.3rem;
        margin-left: 40px;
    }
}

.top-featured__excerpt {
    filter: drop-shadow(0 0 10px #333);
    position: absolute;
    right: 0;
    bottom: 0;
    margin-top: auto;
    margin-left: auto;
    margin-right: 12px;
    margin-bottom: 12px;
    max-width: 180px;
}

@media (min-width: 768px) {
    .top-featured__excerpt {
        margin-right: 24px;
        margin-bottom: 24px;
    }
}

.top-featured__excerpt-body {
    color: white;
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.75;
}

.top-featured__excerpt-more {
    color: black;
    background-color: transparent;
    filter: invert(1);
    text-align: center;
    width: 100%;
}

/*
news
*/

.top-news {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing) * 6);
}

@media (min-width: 1024px) {
    .top-news {
        grid-template-columns: 3fr 2fr;
        gap: calc(var(--spacing) * 12);
    }
}

@media (min-width: 1280px) {
    .top-news {
        gap: calc(var(--spacing) * 24);
    }
}

.top-news__news,
.top-news__workshops {
    display: grid;
    grid-template-rows: auto 1fr;
    row-gap: calc(var(--spacing) * 2.5);
}

.top-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-news__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1;
}

.top-news__button {
    margin-right: 12px;
}

.top-news__list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 1px solid black;
}

.top-news__list-item__link {
    display: block;
    transition: all 220ms ease;
}

.top-news__list-item__link:hover {
    opacity: 0.7;
}

.top-news__list-item__link__thumbnail {
    margin-left: auto;
}

.scroll-box {
    height: 510px;
    overflow-y: scroll;
}
.scroll-content {
    height: 600px;
}
.scroll-box::-webkit-scrollbar {
    background: #ccc;
    width: 5px;
    height: 5px;
    border-radius: 20px;
}
.scroll-box::-webkit-scrollbar-thumb {
    background-color: #000;
    border-radius: 20px;
}

.top-news__links {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 4);
}

@media (min-width: 768px) {
    .top-news__links {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .top-news__links {
        display: flex;
        flex-direction: column;
        gap: calc(var(--spacing) * 7);
    }
}

.top-news__links-item {
    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 0.1em;
    text-align: center;

    position: relative;
    padding: calc(var(--spacing) * 6) calc(var(--spacing) * 2);

    width: 100%;
    transition: all 220ms ease;
}

@media (min-width: 768px) {
    .top-news__links-item {
        padding: calc(var(--spacing) * 11) calc(var(--spacing) * 4) calc(var(--spacing) * 12);
    }
}

.top-news__links-item::before {
    content: '';
    display: block;

    pointer-events: none;
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    z-index: -1;
    transition: all 220ms ease;
}

.top-news__links-item--workshops::before {
    background: url('/common/images/top/button_workshops.webp') center/cover;
}

.top-news__links-item--coordinate::before {
    background: url('/common/images/top/button_coordinate.webp') center/cover;
}

.top-news__links-item--national::before {
    background: url('/common/images/top/button_national.webp') center/cover;
}

.top-news__links-item--technics::before {
    background: url('/common/images/top/button_technics.webp') center/cover;
}

.top-news__links-item:hover::before {
    filter: brightness(0.5);
}

/*
videos
*/

.top-videos {
    background-color: #898888;
    position: relative;
    padding-top: 60px;
    padding-bottom: 70px;
}

@media (min-width: 768px) {
    .top-videos {
        padding-top: 95px;
        padding-bottom: 135px;
    }
}

.top-videos-header {
    display: grid;
    align-items: center;
    grid-template-columns: auto 2fr 1fr;
    gap: calc(var(--spacing) * 4);
    overflow: hidden;
    padding-left: calc(var(--spacing) * 2);
    padding-right: calc(var(--spacing) * 8);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--spacing) * 12);
    max-width: var(--content-max-width);
}

@media (min-width: 640px) {
    .top-videos-header {
        grid-template-columns: auto auto 1fr;
    }
}

@media (min-width: 1280px) {
    .top-videos-header {
        grid-template-columns: 1fr auto 1fr;
        margin-bottom: calc(var(--spacing) * 24);
    }
}

.top-videos__title {
    grid-column: 2;
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 1;
    color: white;
    word-break: keep-all;
}

@media (min-width: 768px) {
    .top-videos__title {
        font-size: 2.5rem;
        text-align: center;
    }
}

.top-videos__button {
    grid-column: 3;
    border: none;
    justify-self: end;
}

.top-videos-swiper {
    --swiper-navigation-color: white;
    position: relative;
}

.top-videos-swiper::before {
    content: '';
    pointer-events: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #89888833 1%, transparent 10%, transparent 90%, #89888833 99%);
    width: 100%;
    height: 100%;
    z-index: 20;
}

.top-videos-swiper__slide {
    display: flex;
    align-items: center;
    justify-content: center;

    aspect-ratio: 50 / 75;
    user-select: none;
    background-color: white;

    max-width: 300px;
}

.top-videos-swiper__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*
items
*/

.top-items__title {
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 1;
    text-align: center;
    word-break: keep-all;
    margin-bottom: calc(var(--spacing) * 8);
}

@media (min-width: 768px) {
    .top-items__title {
        font-size: 2.5rem;
        margin-bottom: calc(var(--spacing) * 16);
    }
}

.top-items-nav {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(1, 1fr);
    gap: calc(var(--spacing) * 2);
}

@media (min-width: 640px) {
    .top-items-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .top-items-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

.top-items-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
}

@media (min-width: 768px) {
    .top-items-nav__item--bar::after {
        content: '';
        display: block;
        background-color: black;
        height: 18px;
        width: 1px;
    }
}