@charset "utf-8";
:root {
    --img-width: 500px;
    --img-height: 500px;
}
@media screen and (max-width: 768px) {
    :root {
        --img-width: 350px;
        --img-height: 350px;
    }
}
@media screen and (max-width: 425px) {
    :root {
        --img-width: 250px;
        --img-height: 250px;
    }
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    overscroll-behavior-y: none;
}

html.active{
    overflow: hidden;
}

body {
    height: 100%;
    position: relative;
    font-family: "Press Start 2P";
    font-weight: 400;
    line-height: 1.5;
    background-color: #5639A5;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/background.png);
    background-size: 50px auto;
    background-repeat: repeat;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
    animation: diagonalScroll 20s linear infinite;
}

@keyframes diagonalScroll {
0% {
    background-position: 0 0;
}

100% {
    background-position: 200px 200px;
}
}

img {
    width: 100%;
}

/* header-nav */
.header-nav {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
}

.header-nav__content {
    width: 100%;
    padding: 0 4%;
    padding-top: 30px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    width: 176px;
    height: 132px;
    animation: rotateY 4s infinite linear;
}

@keyframes rotateY {
0% {
    transform: rotateY(0deg);
}
50% {
    transform: rotateY(180deg);
}
100% {
    transform: rotateY(360deg);
}
}

.nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 32px;
    margin-left: 50px;
    border: solid 1px #C8C828;
    border-radius: 50px;
    padding: 15px 32px;
}

.page-count {
    display: flex;
    gap: 10px;
}

.life {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../img/life_dot.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: dokidoki 1.5s infinite;
}

@keyframes dokidoki {
    0% {
        transform: scale(1.05)
    }
    5% {
        transform: scale(1)
    }
    95% {
        transform: scale(1)
    }
    100% {
        -webkit-transform: scale(1.05)
    }
}

.d-life {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../img/d_life_dot.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.heart {
    width: 50px;
    height: 50px;
}

.h-line {
    height: 50px;
    width: 2px;
    background-color: #C8C828;
}

.nav-menu__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.nav-menu__item {
    text-decoration: none;
    color: #C8C828;
    font-size: 2.4rem;
    -webkit-text-stroke: 2px #C76C3B;
}

.hamburger-menu {
    display: none;
}

.nav-menu-sp {
    display: none;
}


/* ヘッダーナビゲーション レスポンシブ */
@media screen and (max-width: 768px) {
    .header-nav {
        position: fixed;
    }
    .nav-menu {
        display: none;
    }

    .header-logo img {
        width: 88px;
        height: auto;
    }

    .hamburger-menu {
        display: block;
        width: 50px;
        height: 50px;
        position: relative;
        border: 2px solid #F4CD3F;
        border-radius: 1000px;
        cursor: pointer;
    }

    .hamburger-menu span {
        display: block;
        position: absolute;
        transform: translate(50%, -50%);
        right: 50%;
        top: 50%;
        height: 2px;
        width: 20px;
        background-color: #F4CD3F;
    }

    .hamburger-menu span::before {
        content: "";
        position: absolute;
        display: block;
        top: 8px;
        height: 2px;
        width: 20px;
        background-color: #F4CD3F;
    }

    .hamburger-menu span::after {
        content: "";
        position: absolute;
        display: block;
        bottom: 8px;
        height: 2px;
        width: 20px;
        background-color: #F4CD3F;
    }

    .heart__sp {
        gap: 2px;
        width: 50px;
        height: auto;
        display: flex;
        position: absolute;
        top: 40px;
        right: -2px;
    }

    .nav-menu-sp {
        display: block;
        position: fixed;
        z-index: 1010;
        transform: translate(0, -100%);
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(27, 30, 48, 10);
        transition: 0.8s ease-in-out;
    }

    .nav-menu-sp.active{
        transform: translate(0, 0);
        transition: 0.8s ease-in-out;
    }
    .nav-menu-sp__list {
        display: flex;
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        overflow-y: scroll;
    }

    .nav-menu-sp__list-item {
        font-size: 3.6rem;
        color: transparent;
        background: linear-gradient(to right, #F4CD3F 50%, #fff 50%) 100%;
        background-clip: text;
        background-size: 200% 100%;
        transition: background-position 0.3s;
    }

    .nav-menu-sp__list-item:hover {
        background-position: 0 100%;
    }

    .close-button-sp {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
        border: solid 4px #5639A5;
        border-radius: 20px;
        padding: 16px;
        cursor: pointer;
        margin-top: 50px;
    }

    .close-button-sp:hover {
        transform: translateY(-5px);
    }

    .close-button-sp span {
        font-size: 2rem;
        color: #ffffff;
    }

    .close-button-sp span::after {
        content: "";
        display: inline-block;
        width: 24px;
        height: 24px;
        background-image: url('../img/white_bastu_dot.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        margin-left: 10px;
    }
}


/* フェードイン */
.fadein {
    opacity: 0;
    transform: translate(0, 30px);
    transition: all 1.8s;
}

.fadein.scroll__on {
    opacity: 1;
    transform: translate(0, 0);
}


/* MORE ボタン */
.top__btn {
    width: fit-content;
    height: 100px;
    font-size: 2rem;
    line-height: 2.2;
    border-radius: 10px;
    margin: 40px auto 0;
}

.top__btn.profile{
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translate(50%, 0);
    margin: 0;
}

.top__btn a {
    display: block;
    width: 200px;
    height: 68px;
    line-height: 68px;
    font-size: 2.4rem;
    text-decoration: none;
    background-color: #fff;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 10px 0 #787878;
    border-radius: 5px;
    position: relative;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    z-index: 100;
}

.top__btn a::after {
    content: '';
    width: 15px;
    height: 15px;
    border: 0;
    border-top: solid 3px #FF6DB7;
    border-right: solid 3px #FF6DB7;
    transform: rotate(45deg);
    position: absolute;
    top: -4px;
    right: 30px;
    bottom: 0;
    margin: auto;
}

.top__btn a:hover {
    transform: translateY(2px);
    box-shadow: 0 5px 0 #787878;
}

@media screen and (max-width: 768px) {
    .top__btn a {
        font-size: 1.8rem;
        line-height: 60px;
        width: 160px;
        height: 60px;
    }

    .top__btn.profile {
        bottom: 40px;
    }
}




/* キラキラ */
.top-star__container {
    position: absolute;
    width: 24px;
    height: 24px;
}

.pattern1 {
    top: 70%;
    right: 20%;
}

.pattern2 {
    top: 19%;
    right: 10%;
}

.pattern3 {
    top: 10%;
    right: 70%;
}

.pattern4 {
    top: 65%;
    right: 85%;
}

.pattern5 {
    top: 55%;
    right: 5%;
}

.pattern6 {
    top: 45%;
    right: 90%;
}

.pattern7 {
    top: 85%;
    right: 55%;
}

.pattern8 {
    top: 50%;
    right: 25%;
}

.pattern9 {
    top: 50%;
    right: 70%;
}

.pattern10 {
    top: 20%;
    right: 45%;
}

.star-1 {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    height: 8px;
    width: 8px;
    background-color: #ece9bd;
}

.star-1.star-pattern-1  {
    display: none;
}

.star-1.star-pattern-1.active {
    display: block;
}

.star-2.star-pattern-1{
    display: block;
}

.star-2.star-pattern-1.active {
    display: none;
}

.star-1.star-pattern-2{
    display: block;
}

.star-1.star-pattern-2.active {
    display: none;
}

.star-2.star-pattern-2{
    display: none;
}

.star-2.star-pattern-2.active {
    display: block;
}

.star-2 {
    position: absolute;
    height: 8px;
    width: 8px;
    background-color: #ece9bd;
}

.top {
    top: 0;
    right: 50%;
    transform: translate(50%, 0);
}

.right {
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
}

.left {
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}

.bottom {
    bottom: 0;
    right: 50%;
    transform: translate(50%, 0);
}

.star-2.active {
    display: block;
}



/* footer */
footer {
    margin-bottom: 4%;
}

.contact__section {
    width: 100%;
    height: auto;
    background-color: #29C095;
    position: relative;
}

.profile-img__climbing {
    width: 30%;
    max-width: 300px;
    position: absolute;
    left: 4%;
    top: -15%;
    transform: rotate(10deg);
}

@media screen and (max-width: 768px) {
    .profile-img__climbing {
        max-width: 160px;
    }
}

@media screen and (max-width: 425px) {
    .profile-img__climbing {
        max-width: 110px;
    }
}

.contact__content {
    width: 80%;
    margin: 0 auto ;
    padding-top: 15%;
}

.contact__content h2 {
    font-size: 6.4rem;
    line-height: 1.2;
    width: 100%;
    color: #C8C828;
    text-align: center;
}

.contact-title__under {
    width: 100%;
    height: 10px;
}

.contact-title__underbar {
    width: 100%;
    height: 10px;
    background-image: url(../img/underline.png);
    background-repeat: repeat-x;
    background-size: auto 100%;
}

.contact__text {
    font-size: 3.6rem;
    font-family: "Zen Kaku Gothic Antique";
    text-align: center;
    margin-top: 10%;
}

.contact-nav-list {
    display: flex;
    width: 60%;
    height: auto;
    gap: 20%;
    margin: 10% auto 0;
    padding-bottom: 20%;
    justify-content: center;
}

.contact-nav-item__instagram {
    display: block;
    width: 100px;
    height: 100px;
}

.contact-nav-item__instagram img {
    height: auto;
    transition: transform .6s ease;
    width: 100%;
}

.contact-nav-item__instagram:hover img {
    transform: scale(1.3);
}

.contact-nav-item__x {
    display: block;
    width: 100px;
    height: 100px;
}

.contact-nav-item__x img {
    height: auto;
    transition: transform .6s ease;
    width: 100%;
}

.contact-nav-item__x:hover img {
    transform: scale(1.3);
}

.contact-nav-item__mall {
    display: block;
    width: 100px;
    height: 100px;
}

.contact-nav-item__mall img {
    height: auto;
    transition: transform .6s ease;
    width: 100%;
}

.contact-nav-item__mall:hover img {
    transform: scale(1.3);
}

@media screen and (max-width: 768px) {
    .contact__content h2 {
        font-size: 3.2rem;
        text-align: center;
    }

    .contact-title__underbar {
        height: 5px;
    }

    .contact__text {
        font-size: 2.4rem;
    }

    .contact-nav-item__instagram {
        width: 70px;
    }

    .contact-nav-item__x {
        width: 70px;
    }

    .contact-nav-item__mall {
        width: 70px;
    }
}

@media screen and (max-width: 425px) {
    .contact__content h2 {
        font-size: 2.4rem;
    }

    .contact__text {
        font-size: 1.8rem;
    }

    .contact-nav-item__instagram {
        width: 50px;
    }

    .contact-nav-item__x {
        width: 50px;
    }

    .contact-nav-item__mall {
        width: 50px;
    }
}




.flow-textbox {
    overflow: hidden;
    position: relative;
    background-color: #FF6DB7;
    height: 150px;
}

.flow-text {
    display: flex;
    width: max-content;
    animation: scroll-left 20s linear infinite;
    gap: 100px;
}

.flow-textbox span {
    white-space: nowrap;
    font-size: 12.8rem;
    line-height: 1.3;
    color: #fff;
    padding-right: 2rem;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 768px) {
    .flow-textbox {
        height: 100px;
        margin-top: -50px;
    }

    .flow-textbox span {
        font-size: 8.8rem;
    }
}

@media screen and (max-width: 425px) {
    .star-1 {
        width: 6px;
        height: 6px;
    }

    .star-2 {
        width: 6px;
        height: 6px;
    }

    .top-star__container {
        width: 18px;
        height: 18px;
    }

    .flow-textbox {
        height: 70px;
    }

    .flow-textbox span {
        font-size: 5rem;
        line-height: 1.6;
    }
}