@charset "shift-jis";

/*-----------------------------------------------------------------------------------------
common
----------------------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap');

body {
    font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: #101010;
    margin: 0;
    padding: 0;
    background-color: #e3fba9;
    background-image: url(https://www.transparenttextures.com/patterns/billie-holiday.png);
    background-size: 110px;
    background-repeat: repeat;
    width: 3000px;
    height: 2000px;
}


body.no-scroll {
    overflow: hidden;
}

.hidden,
.smp {
    display: none !important;
}

*,
img {
    cursor: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

* ::selection {
    background: transparent;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
}

button {
    font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
    font-weight: 900;
    cursor: pointer;
    all: unset;

}

#circle-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.897);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease;
}

#gif-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    pointer-events: none;
    z-index: 10;
    transform: translate(-50%, -50%);
}

li {
    list-style: none;
}

img {
    width: 100%;
}

footer {
    min-height: 20vh;
}

/* 基本 */

#wrap {
    width: 100%;
    height: 100vh;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #d3ef8f;
    background-image: url(https://www.transparenttextures.com/patterns/billie-holiday.png);
    background-size: 110px;
    background-repeat: repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: opacity 3s forwards;
    pointer-events: auto;
    overflow: hidden;
    cursor: none;
}


#loading-screen.fade-out {
    opacity: 0;
}

.loader {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.ball {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    animation: roadbounce 1s infinite ease-in-out;
}

.ball:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0.7;
}

.ball:nth-child(3) {
    animation-delay: 0.4s;
    opacity: 0.4;
}

.loadwalk {
    width: 20%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loadwalk img:nth-child(2) {
    width: 30%;
    margin: -18% auto 0;
}

@keyframes roadbounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

#content {
    height: 100vh;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

#viewport,
#inroom {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    scroll-behavior: auto;
    touch-action: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#logoContainer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-27%, -28%);
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease;
    pointer-events: none;
}

.hint {
    width: 8%;
    background-color: #f4cc9cc9;
    border: 2px solid #444;
    border-radius: 13px;
    margin: 17px;
    position: fixed;
    z-index: 999;
    height: 8%;
    text-align: center;
    align-content: space-evenly;
    font-size: 19px;
    box-shadow: 1px 1px 0px #444;
    bottom: 0;
    color: #444;
}

.hint-content {
    position: fixed;
    z-index: 999;
    margin: 0 auto;
    width: 100%;
    background-color: #000000a6;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.hint-content .noneinner {
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.hint-content .none {
    width: 120px;
    position: absolute;
    height: 120px;
    background-color: #ffffff00;
    display: block;
}

.hint-content .none img {
    position: absolute;
}

.hint-content .none a {
    display: block;
    width: 100%;
    height: 100%;
}

.hint-content .none:nth-child(1) {
    top: 23%;
    left: 21%;
}

.hint-content .none:nth-child(2) {
    top: 56%;
    left: 66%;
}

.hint-content .none:nth-child(3) {
    top: 66%;
    left: 26%;
}

.hint-content img {
    width: 81%;
    border: solid;
    border-radius: 32px;
}

.scroll-hint {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    background-color: #0000004f;
}

.scroll-hint .finger {
    width: 20%;
    position: fixed;
    left: 43%;
    top: 42%;
}

.finger-horizontal {
    animation: swipe-horizontal 4s infinite;
}

@keyframes swipe-horizontal {


    0% {
        transform: translate(0, 0);
    }

    12.5% {
        transform: translate(-30px, 0);
    }

    25% {
        transform: translate(30px, 0);
    }

    37.5% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(0, -30px);
    }

    62.5% {
        transform: translate(0, 30px);
    }

    75% {
        transform: translate(0, -30px);
    }

    87.5% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(0, 0);
    }

}

.scroll-hint p {
    text-align: center;
    color: #060606;
    position: fixed;
    left: 44%;
    top: 43%;
    background-color: #fff;
    padding: 13px;
    border-radius: 52px;
    border: solid;
    width: 15%;
    display: block;
    z-index: 9999;
}

.fixlogo {
    position: fixed;
    z-index: 999;
    top: 0;
    width: 8%;
    width: 100%;
    contain-intrinsic-height: auto none;
    display: flex;
    justify-content: flex-end;
    text-align: center;
    pointer-events: none;
}

.fixlogo img {
    width: 12%;
    margin: 12px;
}

.rightnav {
    position: fixed;
    z-index: 999;
    top: 0;
    width: 100%;
    contain-intrinsic-height: auto none;
    display: flex;
    justify-content: flex-end;
}

#logoContainer p {
    width: 400px;
    text-align: center;
    padding: 10px;
    border-radius: 150px;
    background-color: #f5ecd4;
    color: #000000;
    border: 4px solid #191815;
    margin-top: -16px;
}

/* 
#remote-control {
    position: fixed;
    bottom: 50px;
    display: grid;
    grid-template-areas:
        ". up ."
        "left . right"
        ". down .";
    gap: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    width: 7%;
}

#remote-control button {
    background-color: #ffd5a2;
    border-radius: 80px;
    color: #030302;
    border: 3px solid;
    width: 70px;
    height: 71px;
    font-size: 30px;
    box-shadow: 4px 4px 0px #030302;
    transition: 0.3s;
    opacity: 0.8;
    text-align: center;
    cursor: pointer;
}

#remote-control .me {
    position: relative;
    top: 92px;
    left: 86px;
}

#remote-control button:active {
    box-shadow: 0px 0px 0px #030302;
}

#remote-control button[data-dir="up"] {
    grid-area: up;
}

#remote-control button[data-dir="down"] {
    grid-area: down;
}

#remote-control button[data-dir="left"] {
    grid-area: left;
}

#remote-control button[data-dir="right"] {
    grid-area: right;
}
 */
#viewport::-webkit-scrollbar,
#inroom::-webkit-scrollbar {
    display: none;
}


#content {

    position: relative;
}

.enter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-4%, 190%);

}



.enter button .enter_room.hamu_house {
    top: 372px;
    left: 901px;
    position: absolute;
    width: 600px;
}

.enter button .enter_room.peshimi_house {
    top: 652px;
    left: -599px;
    position: absolute;
    width: 600px;
}

.enter button .enter_room.yoru_house {
    top: -248px;
    left: -809px;
    position: absolute;
    width: 600px;
}

.house {
    position: relative;
    width: 100%;
    max-width: 600px;
}


.enter,
.enter_room {
    align-content: space-evenly;
    text-align: center;
}



.enter_room .hover_comment {
    z-index: 2;
    opacity: 0;
    transform: translateY(0px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    background-color: #1c0406;
    color: #fff;
    border-radius: 52px;
    font-size: 19px;
    width: 450px;
    left: 91px;
    position: absolute;
    padding: 16px 0;
    top: -19px;
}

.enter_room .hover_comment::after,.clinic .hover_comment::after,
.theater .hover_comment::after {
    border-top-color: #1c0406;
}
.clinic .hover_comment,
.theater .hover_comment{
    opacity: 0;
    transform: translateY(0px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    border-radius: 52px;
    font-size: 19px;
    width: 450px;
    background-color: #1c0406;
    color: #fff;
    position: absolute;
    top: -76px;
    padding: 16px 0;
    pointer-events: auto;
    z-index: 999;}
    .clinic .hover_comment p,
.theater .hover_comment p{color: #fff;}
.uhoko .hover_comment,
.bro .hover_comment,
.inu .hover_comment,
.risu .hover_comment,
.fenec .hover_comment,
.star .hover_comment,
.skan .hover_comment,
.kari .hover_comment,
.table .hover_comment,
.saki1 .hover_comment,
.saki2 .hover_comment,
.saki3 .hover_comment,
.tv .hover_comment {
    opacity: 0;
    transform: translateY(0px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    background-color: #fff;
    border-radius: 52px;
    font-size: 19px;
    width: 450px;
    position: absolute;
    top: -76px;
    padding: 16px 0;
    pointer-events: auto;
    z-index: 999;

}


.hover_comment a {
    color: #1d1d1d;
    text-decoration: none;
}

.uhoko .hover_comment {
    left: -183px;
}

.fenec .hover_comment {
    left: -189px;
}

.risu .hover_comment {
    left: -192px
}

.inu .hover_comment {
    left: -185px;
}

.star .hover_comment {
    left: -117px
}

.skan .hover_comment {
    left: -193px;
}

.table .hover_comment {
    left: 203px;
}

.kari .hover_comment {
    left: -197px;
}

.tv .hover_comment {
    left: -128px;
}

.clinic .hover_comment {
     left: -84px;
}

.theater .hover_comment {
   left: -108px;
}

.saki1 .hover_comment,
.saki2 .hover_comment,
.saki3 .hover_comment {
    left: -108px;
}

.hover_comment::after {
    content: "";
    position: absolute;
    left: 50%;
    width: auto;
    transform: translateX(-50%);
    bottom: -24px;
    height: 0;
    border: 13px solid transparent;
    border-top-color: #fff;
}

.uhoko:hover .hover_comment,
.bro:hover .hover_comment,
.inu:hover .hover_comment,
.risu:hover .hover_comment,
.fenec:hover .hover_comment,
.star:hover .hover_comment,
.skan:hover .hover_comment,
.kari:hover .hover_comment,
.table:hover .hover_comment,
.tv:hover .hover_comment,
.saki2:hover .hover_comment,
.saki3:hover .hover_comment,
.clinic:hover .hover_comment,
.theater:hover .hover_comment,
.enter_room:hover .hover_comment {
    opacity: 1;
    transform: translateY(-5px);
    pointer-events: auto;
}



#content {
    opacity: 0;
    transition: opacity 2s;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}


.modal-content {
    background-color: #e8f5c9ed;
    padding: 20px;
    border-radius: 15px;
    border: #1b0305 solid;
    position: relative;
}

.modal-content.kyara {
    background-color: #e8f5c9ed;
    padding: 20px;
    width: 30%;
    border-radius: 15px;
    border: #1b0305 solid;
    position: relative;
    text-align: center;
}

.modal-content.kyara p:nth-child(1) {
    font-size: 31px;
    text-align: center;
}

.modal-content.kyara p:nth-child(2) {
    font-size: 17px;
    line-height: 1.6;
    color: #292929;
    margin-bottom: 15px;
    width: 79%;
    margin: 8px auto;
    text-align: center;
}

.modal-content.kyara p:last-child {
    background-color: #fffbff;
    text-align: center;
    color: #292929;
    width: 50%;
    margin: 16px auto;
    padding: 2%;
    border-radius: 72px;
    font-size: 24px;
    border: solid 3px #292929;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 開くとき */
.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
    justify-content: center;
    align-items: center;
}

/* 閉じるとき */
.modal.hide {
    animation: fadeOut 0.3s ease;
    justify-content: center;
    align-items: center;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;

    }
}

.modal-content .close {
    background-color: #fff;
    border-radius: 51px;
    font-size: 24px;
    width: 51px;
    display: block;
    height: 51px;
    align-content: space-evenly;
    text-align: center;
    border: 3px solid;
    position: absolute;
    top: 20px;
    right: 20px;
}


.modal-content>p {
    font-size: 31px !important;
    text-align: center;
}

#modal1 .modal-content a p {
    background-color: #cd6042;
    text-align: center;
    color: #1c0406;
    width: 50%;
    margin: -90px auto 0;
    padding: 2%;
    border-radius: 72px;
    font-size: 24px;
    border: solid 5px #1b0305;
}

#modal2 .modal-content a p {
    background-color: #70acca;
    text-align: center;
    color: #1c0406;
    width: 50%;
    margin: -90px auto 0;
    padding: 2%;
    border-radius: 72px;
    font-size: 24px;
    border: solid 5px #1b0305;
}

#modal3 .modal-content a p {
    background-color: #d7f16a;
    text-align: center;
    color: #1c0406;
    width: 50%;
    margin: -90px auto 0;
    padding: 2%;
    border-radius: 72px;
    font-size: 24px;
    border: solid 5px #1b0305;
}

.modal-content .house_inner {
    position: relative;
    width: 640px;
    margin: 0 auto;
}

.modal-content .house_inner.kyara {
    position: relative;
    width: 290px;
    margin: 0px auto;

}

#modal1 .modal-content .house_door,
#modal3 .modal-content .house_door {
    position: absolute;
    z-index: 1;
    width: 98px;
    top: 441px;
    left: 327px;
    animation: open 1s ease-in-out forwards;
    transform-origin: right;
}


#modal2 .modal-content .house_door {
    position: absolute;
    z-index: 1;
    width: 96px;
    top: 441px;
    left: 257px;
    animation: open 1s ease-in-out forwards;
    transform-origin: left;
}


@keyframes open {

    0% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0.7);
    }
}

.uhoko {
    position: absolute;
    width: 98px;
    left: 389px;
    top: 1020px;
}


.bro {
    position: absolute;
    width: 710px;
    left: 79px;
    top: 50px;
}

.inu {
    position: absolute;
    width: 98px;
    left: 443px;
    top: 310px;
}

.inu img {
    animation: swing 1.5s infinite ease-in-out;
    transform-origin: top;
}

@keyframes swing {

    0%,
    100% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(-5deg);
    }
}


.risu {
    position: absolute;
    width: 62px;
    left: 303px;
    top: 450px;
}

.risu img {
    animation: vibrate-1 0.3s linear infinite both;
}

@keyframes vibrate-1 {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-1px, 1px);
    }

    40% {
        transform: translate(-1px, -1px);
    }

    60% {
        transform: translate(1px, 1px);
    }

    80% {
        transform: translate(1px, -1px);
    }

    100% {
        transform: translate(0);
    }
}

.fenec {
        position: absolute;
        width: 98px;
        left: 16px;
        top: -60px;
}



.tigger {
    position: absolute;
    width: 98px;
    left: 1210px;
    top: 40px;
    z-index: 8;

}

.tigger img {
    animation: walk 10s infinite ease-in-out, run 0.2s infinite ease-in-out;
    transform-origin: bottom;
}

.star {
        position: absolute;
        width: 256px;
        left: -398px;
        top: 371px;
}

.grass1 {
    width: 150px;
    position: absolute;
    left: -78px;
    top: 291px;
}

.grass2 {
    width: 150px;
    position: absolute;
    left: -1008px;
    top: 511px;
}

.grass3 {
    width: 150px;
    position: absolute;
    left: 962px;
    top: 1141px;
}

.grass4 {
    width: 150px;
    position: absolute;
    left: 452px;
    top: -219px;
}

.grass5 {
    width: 150px;
    position: absolute;
    left: -1128px;
    top: 672px;
}

.grass6 {
        width: 150px;
        position: absolute;
        left: 62px;
        top: -488px;
}

.grass7 {
    width: 150px;
    position: absolute;
    left: -758px;
    top: -518px;
}


.grass8 {
    width: 150px;
    position: absolute;
    left: 1492px;
    top: 22px;
}

.grass9 {
    width: 150px;
    position: absolute;
    left: -958px;
    top: 242px;
}

.grass10 {
    width: 150px;
    position: absolute;
    left: 782px;
    top: 132px;
}

.grass11 {
    width: 150px;
    position: absolute;
    left: 682px;
    top: -794px;
}

.grass12 {
    width: 150px;
    position: absolute;
    left: -918px;
    top: 1072px;
}

.grass13 {
    width: 150px;
    position: absolute;
    left: -498px;
    top: -448px;
}

.grass14 {
    width: 150px;
    position: absolute;
    left: 501px;
    top: 732px;
    z-index: 8;
}

.grass15 {
    width: 150px;
    position: absolute;
    left: -988px;
    top: -288px;
}

.saki1 {
    position: absolute;
    width: 216px;
    left: 1312px;
    top: -450px;
}

.saki2 {
    position: absolute;
    width: 216px;
    left: 632px;
    top: 890px;
}

.saki3 {
    position: absolute;
    width: 216px;
    left: -588px;
    top: 440px;
    display: none;
}

.bath {
    width: 161px;
    position: absolute;
    top: 1103px;
    left: 1425px;
    z-index: -1;
}


.tv {
    width: 260px;
    position: absolute;
    left: 841px;
    top: -390px;
}

.clinic {
        width: 291px;
        position: absolute;
        left: -139px;
        top: -388px;
}

.theater {
        width: 260px;
        position: absolute;
        left: 181px;
        top: -365px;
 }


.yuge {
    width: 141px;
    position: absolute;
    top: 1103px;
    left: 1425px;
    animation: 2s song 1.5s infinite ease-in-out;
}

.skan {
    position: absolute;
    width: 86px;
    left: -808px;
    top: -340px;
}

.air {
    left: 79px;
    position: absolute;
    width: 34px;
    top: 31px;
    animation: air 1s infinite ease-in-out;
}

@keyframes air {
    0% {
        translate: 0 0;
        opacity: 1;
    }

    100% {
        translate: 5px 0px;
        opacity: 0;
    }
}

.hamu_room {
    position: absolute;
    width: 56px;
    left: 652px;
    top: 1030px;
}

.kari {
    position: absolute;
    width: 56px;
    left: 1032px;
    top: 900px;
    z-index: 5;

}

.kari img {
    animation: kari 5s infinite ease-in-out;
}

@keyframes kari {

    0%,
    100% {
        transform: scaleX(1);
    }

    50% {
        transform: scaleX(0.8);
    }
}

.table {
    position: absolute;
    width: 659px;
    left: 892px;
    top: -100px;
    z-index: 5;
}

.star_song {
    position: absolute;
    width: 186px;
    left: 31px;
    top: 50px;
    animation: song 1.5s infinite ease-in-out;
}

@keyframes song {

    0% {
        translate: 0 0;
        opacity: 1;
    }

    100% {
        translate: 0 -5px;
        opacity: 0;
    }
}

.tigger img:hover {
    animation-play-state: paused;
}


@keyframes run {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -5px;
    }
}



@keyframes walk {
    0% {
        transform: translate(0px, 0px) scaleX(1);
    }

    45% {
        transform: translate(-700px, 500px) scaleX(1);
    }

    50% {
        transform: translate(-700px, 500px) scaleX(-1);
    }

    95% {
        transform: translate(0px, 0px) scaleX(-1);
    }

    99% {
        transform: translate(0px, 0px) scaleX(-1);
    }

    100% {
        transform: translate(0px, 0px) scaleX(1);
    }
}


@keyframes walkcom {
    0% {
        transform: translate(0, 0);
    }

    45% {
        transform: translate(-90vw, 90vh);
    }

    50% {
        transform: translate(-90vw, 90vh);
    }

    95% {
        transform: translate(0, 0);
    }

    99% {
        transform: translate(0, 0);
        /* 向きを戻すのを早める */
    }

    100% {
        transform: translate(0, 0);
    }
}



.tigger .tigger_y {
    position: absolute;
    top: 36px;
    left: 31px;
    width: 82px;
}

.tigger .tigger_w {
    position: absolute;
    top: 66px;
    left: 59px;
    width: 82px;
}

.inroom #content {
    width: 1500px;
    height: 100vh;
}

.room_inner .hamu_inner {
    width: 97%;
    position: relative;
    top: -399px;
    margin: 0 auto;

}

.room_inner .item {
    position: absolute;
}

@keyframes bounce {
    0% {
        transform: translate(0, 0);
    }

    30% {
        transform: translate(0, -10px);
    }

    60% {
        transform: translate(0, 5px);
    }

    100% {
        transform: translate(0, 0);
    }
}

#viewport.bounce {
    animation: bounce 0.4s ease;
}