* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    position: relative;
    line-height: 2;
    font-size: clamp(12px, 2.5vw, 14px);
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
    color: #1a1a1a;
    background: #DFF7F2 url("/bg.png") center bottom / cover fixed;
}

body .yanase_h,
body .sakuya_h {
    position: fixed;
    width: 33vw;
    bottom: 0;
    z-index: 996;
    pointer-events: none;
}

body .sakuya_h {
    right: 0;
}

.loading {
    position: fixed;
    inset: 0;
    background: #DFF7F2;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    animation: fadeOut 3s 2.5s forwards;
    pointer-events: none;
}

.loading .loading_logo {
    opacity: 0;
    animation: logo_fade 2s 0.5s forwards;
    width: 175px;
}

.layer {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    justify-content: center;
    align-items: center;
    z-index: 998;
    animation: 3s 2.5s forwards;
}

.layer p {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.layer .button_wrap {
    display: flex;
    gap: 24px;
}

.layer .button_wrap button {
    padding: 16px 32px;
    font-size: 20px;
    font-weight: 780;
    min-width: 140px;
}

.layer .button_wrap button.yes {
    background: #3CB750;
    color: #fff;
}

.layer .button_wrap button.no {
    background: #fff;
    border: solid #3CB750 3px;
    color: #3CB750;
}

.page_layer {
    position: fixed;
    bottom: 16px;
    right: 16px;
    display: inline-flex;
    gap: 24px;
    background: #3CB750;
    border-radius: 9999px;
    border: solid #3CB750 3px;
    z-index: 997;
}

.page_layer button {
    width: 40px;
    height: 40px;
    padding: 8px;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes logo_fade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    60% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
    }
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 4px 16px;
    background: #FE8400;
    color: #fff;
    font-weight: 700;
    border-radius: 9999px;
}

.btn .icon {
    width: 16px;
    position: static;
}

.js {
    opacity: 0;
    visibility: hidden;
    transition: all 2s;
    transform: translateY(150px);
}

.js.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

article.top,
section.top {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

article {
    position: relative;
    width: clamp(640px, 35%, 800px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    overflow: hidden;
}

article header {
    margin-bottom: 24px;
    text-align: center;
}

article header a {
    display: inline-block;
}

article header img {
    width: auto;
    height: 160px;
}

video {
    width: 100%;
}

.rec_wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    margin-top: 32px;
    margin-bottom: 64px;
}


.p_link {
    position: relative;
    display: block;
}

.p_link img {
    display: block;
    height: auto;
}

.p_link .btn:not(.btn_wrap .btn) {
    position: absolute;
    right: 6px;
    bottom: 8px;
}

.p_link .btn_wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: 8px;
}

.p_link .btn_wrap .btn {
    width: 200px;
}

.banner .btn.right {
    right: 6px;
    bottom: 8px;
}

.banner .btn.left {
    left: 0;
}

.title {

    line-height: 2;
    padding: 120px 0 80px;
    margin-bottom: 24px;
}

.title p {
    position: relative;
    font-weight: 500;
    text-align: center;
}


.title img.yana {

    position: absolute;
    width: 25%;
    height: auto;
    top: 0;
    bottom: 0;
    margin: auto 0;
}

.title img.yana.ml {
    left: 0;
    transform: scaleX(-1);
}

.title img.yana.mr {
    right: 0;
}

.title img.yana.p {
    font-weight: 700;
}

.title img.yana.p .mr {
    top: -56px;
    right: 0;
    bottom: auto;
}

.illust_wrap,
.banner_wrap {
    display: grid;
    gap: 24px;
}

.illust_wrap li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    background: #F8F5F4;
}

.illust_wrap li p {
    margin-top: 6px;
}

.illust_wrap li img {
    height: 100%;
    object-fit: contain;
}

.illust_wrap.fr-2 {
    margin-top: 32px;
    grid-template-columns: 1fr 1fr;
}

.illust_wrap.fr-2 li {
    padding: 0;
}

@media (max-width: 768px) {
    body {
        background-image: none;
    }

    .btn {
        gap: 6px;
        padding: 4px 12px;
    }

    .btn .icon {
        display: none;
    }

    article {
        min-width: 0;
        width: 90%;
    }

    .title {
        padding: 80px 0 56px;
    }

}