@charset "utf-8";

:root {
    --color_01: #85682D;
    --color_02: #d4c59e;
    --color_03: #bc1414;
}

body {
    font-family: 'Yuji Syuku', serif;
    font-size: 16px;
}

html,
body {
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-y: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('../images/background.png') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

main {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1600px;
    min-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

.vertical_txt {
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background.png');
    background-color: #280068;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
}

.countdown {
    font-size: 2rem;
    color: var(--color_01);
}

.loading-percentage {
    font-size: 2.5rem;
}

.header {
    position: fixed;
    top: 0;
    left: 7.5vw;
    right: 7.5vw;
    height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.header__title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color_01);
    mix-blend-mode: difference;
}

.hamburger {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color_01);
    transition: all 0.3s;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.1s;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span {
    background-color: black;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.hamburger__relative {
    position: relative;
}

.header__nav {
    position: absolute;
    top: 10px;
    right: 292px;
    width: 300px;
    height: 92vh;
    border: 7px solid black;
    background-color: var(--color_02);
    transform: translateX(100%);
    transition: transform 0.5s ease-out;
    z-index: 999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out;
}

.header__nav.active {
    opacity: 1;
    visibility: visible;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out;
    z-index: 998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.no-scroll {
    overflow: hidden;
}

.header__nav-list {
    list-style: none;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header__nav-item-txt {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header__nav-link {
    font-size: 1.2rem;
    text-decoration: none;
    color: #333;
    transition: color 0.1s ease, transform 0.3s ease-out;
}


.header__nav-link:hover {
    color: var(--color_03);
    transform: scale(1.05);
}

.header__nav-item-img {
    position: absolute;
    bottom: 0;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header__nav-click {
    width: 100px;
    height: auto;
    margin: 220px 0 16px 0;
}

.header__nav-clock {
    width: 100px;
    height: auto;
}

.article__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    padding-top: 30px;
}

.article__header-ttle {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -10;
    width: 85vw;
}

.article__header-subttle {
    position: fixed;
    top: 50vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: -10;
    width: 85vw;
    display: flex;
    justify-content: space-between;
}

.article__header-subttle-box_2 {
    width: 36.4%;
    display: flex;
    align-items: flex-end;
}

.article__header-subttle-box_3 {
    width: 35%;
    display: flex;
    align-items: flex-end;
}

.gold_2,
.gold_3 {
    width: 100%;
    height: auto
}

.article__header-ttle,
.article__header-subttle {
    opacity: 0;
    transition: opacity 0.9s ease-out;
}

.hide .article__header-ttle,
.hide .article__header-subttle {
    opacity: 0;
}

.article__header-bgScale {
    width: 100vw;
    height: 170vh;
    min-width: 1200px;
}

.article__header-bgScale-img {
    padding-top: 220px;
    width: 100%;
}

@media (min-width: 1500px) {
    .article__header-subttle {
        top: 58vh;
    }

    .article__header-bgScale-img {
        padding-top: 250px;
    }

}

.fixed__img-left {
    z-index: 100;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    border-right: 8px solid var(--color_01);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed__img-right {
    z-index: 100;
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    border-left: 8px solid var(--color_01);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-img {
    z-index: 300;
    height: 100vh;
    width: auto;
    transition: transform 0.7s ease-in-out;
}

.fixed-img:hover {
    transform: translateX(0px) rotateY(180deg) scale(0.99);
}

.fixed-img-bg-left {
    position: fixed;
    top: 0;
    left: 0;
    height: 102vh;
    width: auto;
}

.fixed-img-bg-right {
    position: fixed;
    top: 0;
    right: 0;
    height: 102vh;
    width: auto;
}

.guide__mv,
.guide__rule_card {
    position: fixed;
    right: 7.5vw;
    bottom: 15px;
}

.guide__mv {
    opacity: 0;
    transition: opacity 0.9s ease-out;
}

.guide__warpper {
    display: flex;
    align-items: center;
    gap: 1.5px;
    color: var(--color_01);
}

.guide__circle {
    font-size: 1.3rem;
    padding-top: 3.1px;
    animation: blink 2.5s ease-in-out infinite;
}

@keyframes blink {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }

    40% {
        opacity: 1;
        transform: scale(1);
    }

    60% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

.guide__txt {
    font-size: 1.2rem;
}

.kern-guide-txt {
    letter-spacing: 0.06em;
}

.section__rule {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 256vh;
    margin-top: 400px;
}

.rule__wrapper {
    position: sticky;
    top: 50vh;
    transform: translateY(-50%);
    margin-bottom: -42vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section__rule-topic {
    font-size: 4rem;
    color: var(--color_01);
}

.kern-rule-topic-01 {
    letter-spacing: 0.115em;
}

.kern-rule-topic-02 {
    letter-spacing: 0.04em;
}

.rules {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 65%;
    margin-top: 60px;
}

.vertical_txt {
    writing-mode: vertical-rl;
    text-orientation: upright;
    margin: 0;
    font-size: 1.7rem;
}

.rules p {
    color: var(--color_01);
    animation: colorAnime linear;
    animation-timeline: view();
    animation-range: cover;
}

.section__card {
    margin-top: calc(50vh + 60px);
    margin-bottom: -18vh;
    height: 240vh;
    position: relative;
}

.card__wrapper {
    position: sticky;
    top: 50vh;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 80vh;
}

.card__layout-left {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card__layout-left-top,
.card__layout-left-nav {
    padding-left: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card__layout-left-top {
    margin-top: 28px;
}

.card__layout-left-top,
.card__layout-left-btm {
    height: 25%;
}

.card__layout-left-top-ttle {
    font-size: 1.5rem;
    text-align: center;
    color: var(--color_01);
}

.kern__card-ttle-01 {
    letter-spacing: -0.38rem;
}

.card__layout-left-top-txt {
    font-size: 1rem;
    text-align: center;
    margin-top: 10px;
    color: var(--color_01);
}

.card__layout-left-nav {
    height: 90%;
    display: flex;
    flex-direction: row-reverse;
    gap: 12%;
    padding-top: 50px;
}

.nav__txt {
    font-size: 3rem;
    color: rgb(247, 247, 247);
    position: relative;
}

.nav__txt::before {
    content: '';
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 13px solid var(--color_01);
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.nav__txt.active::before {
    opacity: 1;
    animation: bounce 0.77s cubic-bezier(0.76, 0, 0.76, -0.56) infinite alternate;
}

@keyframes bounce {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    100% {
        transform: translateX(-50%) translateY(8px);
    }
}

.card__layout-left-btm {
    display: flex;
    justify-content: center;
    padding-top: 40px;
    padding-left: 8.5%;
}

.card__child-wrapper {
    display: flex;
    gap: 15px;
}

.card__child-left {
    width: 37%;
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.card__child-left-imgBox {
    width: 45%;
    display: flex;
    justify-content: center;
}

.card__child-left-img {
    width: 100%;
    height: auto;
    animation: jumpKid 1.0s ease-in-out infinite;
    transform-origin: bottom center;
}

@keyframes jumpKid {

    0%,
    100% {
        transform: scaleY(1) translateY(0);
    }

    40% {
        transform: scaleY(0.9) translateY(0);
    }

    60% {
        transform: scaleY(1.1) translateY(-10px);
    }
}

.card__child-right-txt {
    background-image: url('../images/hukidashi.png');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 290px;
    width: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.child__txt {
    font-size: 1.05rem;
    line-height: 3.1;
    letter-spacing: -0.02rem;
    margin-right: 7px;
}

.card__layout-right {
    width: 50%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card__layout-right-img {
    position: absolute;
    top: 7%;
    left: 9%;
    height: 70vh;
}

.card__layout-right-img img {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    height: 100%;
}

.card__layout-right-img:nth-child(1) {
    z-index: 3;
    transform: rotate(5deg);
}

.card__layout-right-img:nth-child(2) {
    z-index: 2;
    transform: rotate(0deg);
}

.card__layout-right-img:nth-child(3) {
    z-index: 1;
    transform: rotate(-5deg);
}

.section__building {
    position: relative;
    overflow: hidden;
    height: 90vh;
    margin-top: 10vh;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}

.building-box {
    position: relative;
    height: 100%;
    width: 100vw;
    display: flex;
    justify-content: center;
}

.building-img {
    position: absolute;
    top: -72vh;
    width: 91vw;
    height: 100vh;
    object-fit: cover;
    will-change: transform;
}

.building-img-img {
    width: 100%;
    height: 100%;
}

.section__about {
    margin-top: 200px;
}

.about__wrapper {
    display: flex;
    justify-content: space-between;
}

.about__layout-right {
    display: flex;
}

.about__layout-right-center {
    width: 350px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about__img {
    margin-top: 90px;
    width: 100%;
    transition: transform 1.2s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about__img-chara {
    width: 90%;
    z-index: 2;
}

.about__img-cloud {
    width: 160%;
    margin-top: -36%;
    margin-right: 15%;
    transform: rotate(5deg);
    z-index: 1;
}

.about__layout-right-right {
    width: 70%;
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.about__layout-right-right-warapper {
    width: 80%;
}

.about__txt-top {
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--color_01);
}

.about__txt__line {
    margin-top: 20px;
    padding: 0 10px 0;
    border-left: 3px solid var(--color_01);
}

.about__txt-btm {
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--color_01);
}

.about__layout-left {
    width: 42%;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    padding-right: 5px;
}

.about__ttle {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.about__ttle-position {
    font-size: 1.5rem;
    color: var(--color_01);
}

.about__ttle-name {
    font-size: 3.2rem;
    color: var(--color_01);
}

.about__ttle-name span {
    letter-spacing: .7rem;
}

.section__student {
    margin-top: 140px;
}

.student__wrapper {
    display: flex;
    justify-content: space-between;
}

.student__layout-center {
    position: sticky;
    top: 0;
    width: 300px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -0.4vh;
}

.student__ttle {
    width: 60%;
    z-index: 3;
    position: relative;
}

.about__img {
    z-index: 2;
    position: relative;
}

.student__ttle-img {
    max-width: 100%;
    max-height: 95vh;
}

.student__layout-left {
    padding-top: 85vh;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.student__layout-right {
    padding-top: 85vh;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.student__layout-left-box {
    display: flex;
    justify-content: flex-end;
    gap: 21px;
}

.student__layout-right-box {
    display: flex;
    gap: 21px;
}

.student__top {
    width: 40%;
}

.student__btm {
    width: 40%;
    padding-top: 35%;
}

.student__name {
    color: var(--color_01);
    padding-left: 7px;
    font-size: 1.6rem;
    letter-spacing: 0.07rem;
}

.student__name-age {
    font-size: 1.0rem;
    letter-spacing: 0.1rem;
}

.name__right {
    padding-left: 3.5px;
}

.student__img {
    width: 100%;
    margin-top: 3px;
}

.student__top {
    position: relative;
}

.student__voice-right-01,
.student__voice-right-02 {
    position: absolute;
    left: 85%;
    top: 8%;
}

.student__btm {
    position: relative;
}

.student__voice-left-01,
.student__voice-left-02 {
    position: absolute;
    right: 85%;
    bottom: 18%;
}

.student__voice {
    width: 200px;
    opacity: 0;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.student__voice-left-01,
.student__voice-left-02 {
    transform: translate(20px, -20px);
}

.student__voice-left-01.visible,
.student__voice-left-02.visible {
    opacity: 1;
    transform: translate(0);
}

.student__voice-right-01,
.student__voice-right-02 {
    transform: translate(-20px, 20px);
}

.student__voice-right-01.visible,
.student__voice-right-02.visible {
    opacity: 1;
    transform: translate(0);
}

.student__top-top {
    animation: parallax-top-top linear;
    animation-timeline: scroll();
}

@keyframes parallax-top-top {
    from {
        transform: translateY(-1400px);
    }

    to {
        transform: translateY(760px);
    }
}

.student__btm-top {
    animation: parallax-btm-top linear;
    animation-timeline: scroll();
}

@keyframes parallax-btm-top {
    from {
        transform: translateY(1300px);
    }

    to {
        transform: translateY(-150px);
    }
}

.student__top-btm {
    animation: parallax-top-btm linear;
    animation-timeline: scroll();
}

@keyframes parallax-top-btm {
    from {
        transform: translateY(2450px);
    }

    to {
        transform: translateY(-600px);
    }
}

.student__btm-btm {
    margin-top: 10px;
    animation: parallax-btm-btm linear;
    animation-timeline: scroll();
}

@keyframes parallax-btm-btm {
    from {
        transform: translateY(4350px);
    }

    to {
        transform: translateY(-1100px);
    }
}

.section__req {
    padding-top: 65px;
    margin-top: 63px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section__req-ttle {
    color: var(--color_01);
    font-size: 4rem;
    letter-spacing: 0.35rem;
}

.req__list {
    margin-top: 60px;
}

.req__item {
    margin-top: 55px;
    display: flex;
    color: var(--color_01);
}

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

.number,
.req__ttle {
    font-size: 2rem;
}

.req__txt {
    padding-top: 20px;
    font-size: 1.5rem;
}

.entry__btn {
    display: block;
    margin-top: 80px;
    width: 300px;
    padding: 20px 30px;
    text-align: center;
    font-size: 1.5rem;
    border: 2px solid var(--color_01);
    color: var(--color_01);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.entry__btn:hover {
    background-color: var(--color_03);
    color: black;
    transform: scale(1.025);
}

.section__support {
    padding-top: 120px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support__ttle {
    font-size: 4rem;
    color: var(--color_01);
}

.kern-support__ttle-01 {
    letter-spacing: -0.4rem;
}

.kern-support__ttle-02 {
    letter-spacing: -1.0rem;
}

.kern-support__ttle-03 {
    letter-spacing: 0.3rem;
}

.support__txt {
    font-size: 1.6rem;
    padding-top: 50px;
    line-height: 2.6rem;
    text-align: center;
    color: var(--color_01);
}

.support__btn {
    padding-top: 70px;
    width: 75%;
    max-width: 900px;
}

.support__btn-top {
    display: flex;
    gap: 15px;
}

.support__btn-00 {
    display: block;
    width: 50%;
    padding: 40px 50px;
    text-align: center;
    font-size: 1.6rem;
    border: 2px solid var(--color_01);
    color: var(--color_01);
}

.support__btn-btm {
    padding-top: 15px;
    display: flex;
    gap: 15px;
}

.support__btn-0 {
    display: block;
    width: 25%;
    padding: 20px 10px;
    text-align: center;
    font-size: 1.2rem;
    border: 2px solid var(--color_01);
    color: var(--color_01);
}

.support__btn-hover {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.support__btn-hover:hover {
    background-color: var(--color_03);
    color: black;
    transform: scale(1.025);
}

.section__access {
    margin-top: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.access__ttle {
    font-size: 4rem;
    color: var(--color_01);
}

.access__content {
    margin-top: 80px;
    width: 100%;
    display: flex;
    justify-content: center;

}

.access__left {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.access__left-map {
    width: 75%;
    max-width: 450px;
}

.access__left-map iframe { 
    filter: grayscale(0.65) sepia(0.18) brightness(0.65) contrast(2) saturate(2); 
    transition: filter 0.3s ease; 
}

.access__right {
    width: 50%;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
}

.access__txt {
    padding-top: 30px;
}

.access__txt-past {
    font-size: 1.97rem;
    letter-spacing: 0.12rem;
    color: var(--color_01);
}

.access__txt-now {
    padding-top: 8px;
    font-size: 1.05rem;
    color: var(--color_01);
}

.access__img {
    display: flex;
    gap: 10px;
}

.access__img-hukidashi {
    width: 250px;
    margin-top: 45px;
}

.access__img-child {
    padding-top: 100px;
    width: 150px;
}

.access__img-hukidashi-img {
    width: 100%;
}

.access__img-child-img {
    width: 100%;
    height: auto;
    animation: jumpKid 1.1s ease-in-out infinite;
    transform-origin: bottom center;
}

@keyframes jumpKid {

    0%,
    100% {
        transform: scaleY(1) translateY(0);
    }

    40% {
        transform: scaleY(0.9) translateY(0);
    }

    60% {
        transform: scaleY(1.1) translateY(-15px);
    }
}

.footer {
    margin: 150px 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer__clock {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 997;
}

.footer__clock-txt {
    width: 10%;
    padding-left: 4px;
}

.footer__btn {
    width: 13%;
}

.footer__clock-img {
    width: 100%;
}

.rotateClock {
    animation: rotateClock 60s linear infinite;
}

.rotateClock:hover {
    transform: scale(1.05) !important;
    animation-play-state: paused;
}


@keyframes rotateClock {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.footer__txt {
    margin-top: 130px;
}

.footer__txt {
    width: 84vw;
}

@media (min-width: 1200px) {
    .section__sp {
        display: none;
    }
}

@media (max-width: 1200px) {
    
    .loading-screen,
    .header,
    .article,
    .footer {
        display: none;
    }

    .section__sp-active {
        display: block;
    }

    .section__sp {
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .sp__wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 1.8%;
    }

    .sp__img-hukidashi-1200 {
        width: 30%;
    }

    .sp__img-hukidashi-500 {
        display: none;
    }

    .sp__img-child {
        width: 15%;
        padding-top: 8%;
    }

    .sp__img-hukidashi-img-1200,
    .sp__img-hukidashi-img-500 {
        width: 100%;
    }

    .sp__img-child-img {
        width: 100%;
        animation: jumpKid 1.1s ease-in-out infinite;
        transform-origin: bottom center;
    }

    @keyframes jumpKid {

        0%,
        100% {
            transform: scaleY(1) translateY(0);
        }

        40% {
            transform: scaleY(0.9) translateY(0);
        }

        60% {
            transform: scaleY(1.1) translateY(-15px);
        }
    }
}

@media (max-width: 500px) {
    .sp__img-hukidashi-1200 {
        display: none;
    }

    .sp__img-hukidashi-500 {
        display: block;
        width: 30%;
    }
}