@charset "UTF-8";

html {
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-prime);
    color: var(--color-prime);
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 1.6em;
    font-weight: bold;
    -webkit-font-variant-ligatures: none;
    font-variant-ligatures: none;
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    -webkit-text-size-adjust: 100%;
}

a:link, a:visited { color: var(--color-att); }
a:active { text-decoration: none; }

@media (hover: hover) {
    a:hover { text-decoration: none; }
}

#wrapper { position: relative; }

#wrapper::before {
    background: url(../img/bg_bottom.webp) no-repeat right bottom,
    url(../img/bg_top.webp) no-repeat left top,
    url(../img/bg.jpg) repeat center top;
    background-size: 640px auto, 300px auto, 80px auto;
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100lvh;
    width: 100%;
    z-index: -1;
}

@media screen and (min-width: 640px) {
    body { font-size: 1.8em; }

    #wrapper::before { background-size: 800px auto, 480px auto, 120px auto; }
}

@media screen and (min-width: 1024px) {
    #wrapper::before { background-size: auto auto, auto auto, auto auto; }
}


/* HEADER & NAVI -------------------- */
#header__drawer {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 10px;
    height: 40px;
    width: 40px;
    transition: var(--transition-opacity);
    position: fixed;
    top: 24px;
    right: var(--sp-padding-rl);
    z-index: 100;
}

#header__drawer span {
    background-color: var(--color-prime);
    height: 3px;
    width: 40px;
    position: relative;
    transition: all 0.2s;
}

#header__drawer.open span {
    background-color: var(--color-second);
    width: 40px;
    position: absolute;
    top: auto;
    left: auto;
}

#header__drawer.open span::after { display: none; }
#header__drawer.open span:nth-child(1) { transform: rotate(45deg); }
#header__drawer.open span:nth-child(2) { opacity: 0; }
#header__drawer.open span:nth-child(3) { transform: rotate(-45deg); }


@media screen and (min-width: 640px) {
    #header__drawer {
        row-gap: 16px;
        height: 60px;
        width: 60px;
        top: 40px;
        right: var(--sp-padding-rl);
    }

    #header__drawer span { width: 58px; }

    #header__drawer span::after {
        height: 8px;
        width: 8px;
        top: -3px;
    }

    #header__drawer.open span {  width: 60px; }
}

@media screen and (min-width: 1024px) {
    #header__drawer { display: none; }
}


/* NAVI */
nav {
    background: var(--color-prime);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100vw);
    transition: all 0.2s;
    z-index: 50;
}

nav.open { transform: translateX(0); }

nav.open #nav__inner {
    opacity: 0;
    animation: navifade forwards 0.6s 0.2s 1;
}

@keyframes navifade {
    0% { opacity: 0 }
    100% { opacity: 1; }
}

#nav__inner {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    row-gap: 12px;
}

#nav__inner li.nav__logo {
    padding-bottom: 10px;
    width: 100%;
}

#nav__inner .nav__logo img {
    height: auto;
    width: 140px;
    margin: 0 auto;
}

#nav__inner li { text-align: center; }

#nav__inner li a {
    color: var(--color-second);
    font-family: var(--gfont-eng), sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition-opacity);
}

@media screen and (min-width: 640px) {
    #nav__inner { row-gap: 20px; }
    #nav__inner li.nav__logo { padding-bottom: 20px; }   
    #nav__inner .nav__logo img { width: 160px; } 
    #nav__inner li a { font-size: 2.4rem; }
}

@media screen and (min-width: 1024px) {
    nav {
        background-color: transparent;
        border-bottom: 1px solid var(--color-prime);
        height: 60px;
        width: 100%;
        transform: translateX(0);
    }

    nav.scroll-pc { background-color: rgba(0,0,0,0.88); }
    nav.scroll-pc #nav__inner li a { color: var(--color-second); }

    #nav__inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        column-gap: 46px;
        row-gap: 0;
        width: 100%;
    }

    #nav__inner li.nav__logo { display: none; }

    #nav__inner li a {
        color: var(--color-prime);
        font-size: 2.2rem;
    }
}

@media (hover: hover) {
    #nav__inner li a:hover { opacity: var(--fade-opacity); }
}



/* FOOTER -------------------- */
footer {
    border-top: 1px solid var(--color-prime);
    margin-top: 60px;
    padding: 30px var(--sp-padding-rl) 40px;
    text-align: center;
    width: 100%;
}

#footer__link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 10px;
}

#footer__link a {
    color: var(--color-prime);
    font-family: var(--gfont-eng), sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition-opacity);
}

#copyright { padding-top: 40px; }

#copyright small {
    font-family: var(--gfont-eng), sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
}

#page-top {
    height: 58px;
    width: 26px;
    line-height: 1.1;
    position: fixed;
    right: 20px;
    bottom: 40px;
    opacity: 0;
    transition: var(--transition-opacity);
    z-index: 1;
}

#page-top a {
    color: var(--color-prime);
    display: block;
    font-family: var(--gfont-eng), sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    padding-top: 24px;
    text-decoration: none;
    transition: var(--transition-opacity);
    height: 58px;
    width: 26px;
}

.page-top__icon {
    background-color: var(--color-prime);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    height: 20px;
    width: 16px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

@media screen and (min-width: 640px) {
    footer {
        margin-top: 80px;
        padding: 50px var(--sp-padding-rl);
    }

    #footer__link {
        flex-direction: row;
        column-gap: 50px;
    }

    #copyright { padding-top: 50px; }
    #copyright small { font-size: 1.6rem; }

    #page-top {
        height: 72px;
        width: 34px;
        right: 60px;
        bottom: 50px;    
    }
    
    #page-top a {
        font-size: 1.8rem;
        padding-top: 30px;
        height: 72px;
        width: 34px;
    }

    .page-top__icon {
        height: 25px;
        width: 20px;
    }
}

@media (hover: hover) {
    #footer__link a:hover,
    #page-top a:hover { opacity: var(--fade-opacity); }
}



/* MAIN -------------------- */
main {
    margin: 0 auto;
    padding: 0;
    position: relative;
    width: 100%;
}

main section {
    margin: 0 auto;
    padding: 0 var(--sp-padding-rl);
    width: 100%;
}

h2 {
    font-family: var(--gfont-eng), var(--gfont-jp), sans-serif;
    font-size: 4.8rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 20px;
    padding-top: 80px;
    text-align: center;
}

h3 {
    background-color: var(--color-prime);
    color: var(--color-second);
    font-family: var(--gfont-eng), var(--gfont-jp), sans-serif;
    font-size: 2.4rem;
    font-weight: 400;
    margin: 40px 0 20px;
    text-align: center;
}

h3.h3__jp {
    font-size: 1.8rem;
    line-height: 2;
}

h4 { padding-top: 30px; }

@media screen and (max-width: 639px) {
    h2.h2__policy { font-size: 3.8rem; }
}

@media screen and (min-width: 640px) {
    h2 {
        font-size: 6.4rem;
        margin-bottom: 40px;
        padding-top: 120px;
    }

    h3 {
        font-size: 3.2rem;
        margin: 60px 0 30px;
    }

    h3.h3__jp { font-size: 2.4rem; }
    h4 { padding-top: 40px; }
}

@media screen and (min-width: 1024px) {
    main section {
        padding: 0;
        width: var(--pc-width);
    }
}



/* BUTTON -------------------- */
.btn__wrap {
    padding-top: 30px;
    text-align: center;
}

a.btn {
    background-color: var(--color-att);
    border-radius: 24px;
    color: var(--color-second);
    display: inline-block;
    font-family: var(--gfont-jp), sans-serif;
    font-size: 112.5%;
    font-weight: 800;
    line-height: 48px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-opacity);
    min-height: 48px;
    width: 100%;
}

.btn__policy-back {
    background: url(../img/logo.svg) no-repeat center top;
    background-size: 160px auto;
    display: block;
    margin: 30px auto 0;
    height: 90px;
    width: 160px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

/* @media screen and (max-width: 360px) {
    a#btn-sponsor { font-size: 1.5rem; }
} */

@media screen and (min-width: 640px) {
    a.btn {
        padding: 0 40px;
        width: auto;
    }
}

@media (hover: hover) {
    a.btn:hover, .btn__policy-back:hover { opacity: var(--fade-opacity); }
}