@charset "UTF-8";

/*==========================
common
==========================*/
:root {
    --primary-white: #ffffff;
    --primary-black: #545454;
    --primary-yellow:#F4B22E;
    --primary-green:#0FA8A1;
    --primary-yellowhigh:#FDF0D5;
    --primary-greenhigh:#BEE5E5;
    --content-width:86.6%;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 
        "Zen Maru Gothic",
        "Jua",
        Arial,
        serif;
    color: var(--primary-black, #545454);
    background-color: var(--primary-white, #FFFFFF);
    line-height: 1.2;
}

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

video {
    aspect-ratio: 16/9;
    width: 100%;
    height: 100%;
}

.topic {
    margin-top: 5rem;
    color: var(--primary-yellow);
    text-align: center;
    font-family: Jua;
    font-size: 3.2rem;
    letter-spacing: 0.05em;
}

.topic__explanation {
    margin: 20px 6.6% 0;
    font-family: "Zen Maru Gothic";
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.5; /* 24px */
}

.year__nav {
    margin: 20px 9.3% 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 30px;
}

.year__link a {
    padding: 0 7px ;
    color: var(--primary-green);
    font-family: "Zen Maru Gothic";
    font-size: 2rem;
    font-weight: 900;
    line-height: 1; /* 20px */
}

a.current {
    padding: 0 7px;
    border-radius: 10px;
    background-color: var(--primary-green);
    color: var(--primary-white);
    font-family: "Zen Maru Gothic";
    font-size: 2rem;
    font-weight: 900;
    line-height: 1; /* 20px */
}

.snsIcon {
    width: 24px;
    height: auto;
}

.container {
    min-height: 100vh;
    position: relative;
    padding-bottom: 160px;
    box-sizing: border-box;
}

/* pc表示 */
@media screen and (min-width:768px) {
    .topic {
    margin-top: 6rem;
    font-size: 4.8rem;
    letter-spacing: 0.24rem;
    }

    .snsIcon {
        width: 3.2rem;
        height: auto;
    }
    
    .year__nav {
        margin: 3rem 14.2% 1rem;
        row-gap: 3rem;
        column-gap: 1.5rem;
    }
    
    .year__link a {
        font-size: 2.4rem;
        padding: 0 1.6rem;
        border-radius: 10px;
        background-color: transparent;
    }

    a.current {
        padding: 0 1.6rem;
        border-radius: 10px;
        background-color: var(--primary-green);
        color: var(--primary-white);
        font-family: "Zen Maru Gothic";
        font-size: 2.4rem;
        font-weight: 900;
        line-height: 1; /* 20px */
    }

    .container {
        padding-bottom: 15rem;
    }
}
/*==========================
header
==========================*/
.header {
    width: 100%;
    padding: 0 5.3%;
    height: 7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__topic,
.nav__topic {
    color: var(--primary-green);
    font-family: Jua;
    font-size: 2.4rem;
    line-height: normal;
    letter-spacing: 0.096rem;
}

/* .nav初期表示 */
.nav {
    background-color: var(--primary-green);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.4s;
}

.nav__header {
    padding: 0 5.3%;
    height: 7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__topic {
    color: var(--primary-white);
}

.nav__btn {
    width: 3rem;
    height: auto;
}

.nav__menu {
    display: block;
    margin: 3rem 10.6%;
}

.nav__item {
    color: var(--primary-white);
    font-family: Jua;
    font-size: 2.4rem;
    letter-spacing: 0.12rem;
    margin-top: 5rem;
}

.nav__item:first-of-type {
    margin-top: 0;
}

.nav__item:nth-of-type(5)::after {
    display: inline-block;
    content: '';
    background-image: url(../img/heroicons-solid_external-link_wh.svg);
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* .nav.active表示 */
.nav.active {
    transform: translateX(0);
}

/* pc表示769px */
@media screen and (min-width:769px) {
    .header {
        margin: 0 auto;
        display: flex;
        height: 9rem;
        padding: 0 8.3%;
    }

    .header__topic {
        font-size: clamp(2.4rem, calc(1vw + 0.5rem), 3.2rem);
    }

    .nav__header {
        display: none;
    }

    .nav {
        background: transparent;
        width: auto;
        height: auto;
        position: static;
        transform: translate(0);
        z-index: 0;
    }

    .nav__menu {
        margin: 0;
        display: flex;
        align-items: flex-end;
        flex-wrap: wrap;
        column-gap: 2.4rem;
        row-gap: 0.8rem;
    }

    .nav__item {
        margin-top: 0;
        color: var(--primary-black);
        font-size: clamp(1.6rem, calc(1vw + 0.3rem), 2.4rem);
        letter-spacing: 0.12rem;

    }

    .nav__item:nth-of-type(5)::after {
        display: inline-block;
        content: '';
        background-image: url(../img/heroicons-solid_external-link_bk.svg);
        width: 16px;
        height: 16px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .header__btn {
        display: none;
    }
}
/* pc769px */

/*==========================
footer
==========================*/
.footer {
    position: absolute;
    bottom: 0;
    margin-top: 6rem;
    width: 100%;
    padding: 2rem;
    text-align: center;
}

.footer__sns {
    margin: 0 auto;
    display: flex;
    width: 6.4rem;
    padding: 0.02rem 0;
    justify-content: space-between;
    align-items: center;
}

.copy {
    margin-top: 2rem;
    color: #000000;
}

@media screen and (min-width:768px) {
    .footer {
        margin-top: 8rem;
        height: 7rem;
        padding: 0 8.3%;
        display: flex;
        justify-content: space-between;
        flex-direction:row-reverse;
        align-items: center;
    }

    .footer__sns {
        width: 8.4rem;
        margin: 0;
    }
}