@charset "utf-8";

/* ローディングアニメーション */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000000;
    background-image: url(../img/index/loading.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 2.5s 2.8s forwards;
}


@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.loading.is-active {
    opacity: 0;
    visibility: hidden;
  }

  .loading-animation.is-active {
    opacity: 1;
    visibility: visible;
  }

.loading__logo {
    opacity: 0;
    animation: logo_fade 3s 0.5s forwards;
    width: 175px;
}

@keyframes logo_fade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    60% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
    }
}

h1 {
    transition-delay: 4s;
}

.text-animation span {
    opacity: 0;
    color: inherit;
    font-family: "Shippori Mincho";
}

#open {
    display: none;
}


/* ファーストビュー */
#firstview {
    position: relative;
    width: auto;
    height: 100vh;
}

.firstview div {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100vh;
    margin: 0;
}

.firstview div.img01 {
    background-image: url(../img/index/firstview1.png);
    background-position: top 0 right 20%;
}

.firstview div.img02 {
    background-image: url(../img/index/firstview2.png);
}

.firstview div.img03 {
    background-image: url(../img/index/firstview3.png);
}

.firstview div.img04 {
    background-image: url(../img/index/firstview4.png);
}

.firstview div.img05 {
    background-image: url(../img/index/firstview6.png);
    background-position: top 0 right 30%;
}

.firstview div.img06 {
    background-image: url(../img/index/kurokawa5.png);
}

.firstview div.img07 {
    background-image: url(../img/index/firstview7.png);
}

.firstview .slick-dots {
    bottom: 4%;
    z-index: +1;
}

.lead {
    height: 50%;
    align-items: flex-end;
}

#firstview h1 {
    color: white;
    font-size: 32px;
    text-shadow: 1px 1px 10px #000;
    letter-spacing: 1px;
    line-height: 1.5;
    margin-left: 40px;
    width: 70%;
    height: auto;
    display: block;
    position: absolute;
    top: 45%;
}

.news .news-header {
    color: #fff;
    line-height: 1.8;
}

.news ul li span,
.news ul li p {
    color: #fff;
}

.news ul li {
    border-bottom: 1px solid #fff;
    line-height: 1.8;
}

#firstview .news {
    display: flex;
    width: 50%;
    height: auto;
    gap: 20px;
    padding-left: 25px;
    position: absolute;
    bottom: 25px;
    text-shadow: 1px 2px 7px #515151;
}

.news ul li {
    display: flex;
    gap: 20px;
}

.scroll-box {
    color: #fff;
    width: auto;
    font-size: 12px;
    font-family: inter;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin: 0 auto;
    position: absolute;
    bottom: 10px;
    left: 49%
}

.scroll4 span {
    color: #fff;
    letter-spacing: 1.8px;
}

.scroll1,
.scroll2,
.scroll3 {
    animation: scroll 3s infinite;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 29.8px;
    height: 25px;
}

.scroll1::before,
.scroll1::after,
.scroll2::before,
.scroll2::after,
.scroll3::before,
.scroll3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(50% - 1px);
    width: 2px;
    height: 20px;
    border-radius: 99999px;
    background-color: #fff;
    transform-origin: 50% calc(100% - 1px);
}

.scroll1::before,
.scroll2::before,
.scroll3::before {
    transform: rotate(55deg);
}

.scroll1::after,
.scroll2::after,
.scroll3::after {
    transform: rotate(-55deg);
}

/* 矢印のアニメーション */
/* @keyframes scroll {
    0% {
      opacity: 0;
      translate:(0, 0);
    }
    40% {
      opacity: 1;
    }
    80% {
      opacity: 0;
       translate:(-20px, 20px);
    }
    100% {
      opacity: 0;
    }
} */


/* ごあいさつ */
#message,
.message {
    display: flex;
}

.message {
    width: min(1000px, 85%);
    height: auto;
    background-color: #fff;
    margin: 140px 100px 140px 0;
    box-shadow: -5px 4px 12px #c0c0c0;
    z-index: -2;
}

.brush {
    position: absolute;
    top: 60px;
    left: 40px;
    width: 45px;
    z-index: -1;
}

.title {
    position: relative;
    writing-mode: vertical-rl;
    font-size: 34px;
    letter-spacing: 2.5px;
    padding: 40px 40px 0 60px;
    z-index: 10;
}

.message p {
    padding: 92px 110px 70px 0;
}

.message-photo {
    position: relative;
    width: 50%;
}

.entrance1 {
    max-width: 500px;
    position: absolute;
    top: 50px;
    left: -130px;
}

.entrance2 {
    width: min(500px, 150%);
    position: absolute;
    top: 400px;
    right: 30px;
}


/* インスタ */
.instagram {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url(../img/index/insta_back.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    overflow: hidden;
}

@keyframes loop_animation_right {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(100%);
    }
  }
  
  .loop_right {
    animation: loop_animation_right 3s linear infinite;
    width: 140%;
  }

.insta-link a span::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 40px;
    width: 70px;
    height: 1px;
    background-color: black;
}

.insta-link img {
    width: 28px;
    height: 28px;
}

.insta1,
.insta2,
.insta3,
.insta4,
.insta5,
.insta6,
.insta7 {
    width: 340px;
    position: absolute;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 13px;
    font-family: inter;
}

.fadeIn_up {
    opacity: 0;
    transform: translate(0, 20%);
    transition: 2.5s;
}

.fadeIn_up.is-show {
    transform: translate(0, 0);
    opacity: 1;
}

.insta1 {
    top: 120px;
    left: 60px;
    transition-duration: 0.2;
}

.insta2 {
    top: 290px;
    left: 530px;
    text-align: right;
    transition-delay: 0.5s;
}

.insta3 {
    top: 25px;
    right: 200px;
}

.insta4 {
    top: 295px;
    right: -20px;
}

.insta5 {
    top: 500px;
    left: -170px;
    transition-delay: 0.4s;
}

.insta6 {
    top: 470px;
    left: 230px;
    transition-delay: 0.3s;
}

.insta7 {
    top: 490px;
    right: 120px;
}

.insta-link a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.insta-link {
    width: 350px;
    height: auto;
    background-color: #fff;
    border: 1.5px solid #000;
    padding: 5px 20px;
    position: absolute;
    top: 215px;
    left: 390px;
    z-index: 1000000;
    transition-delay: 1.5s;
}


/* お部屋 */
.room {
    display: flex;
    position: relative;
}

.room-visual {
    width: 50%;
    margin: 80px 40px;
}

.room-lead {
    width: min(900px, 55%);
    height: auto;
    background-color: #fff;
    margin: 140px 0 140px 0;
    box-shadow: 5px 4px 12px #c0c0c0;
    display: flex;
}

.room-photo1 {
    padding: 10px 40px;
}

.room-photo2 img {
    width: 95%;
}

.room-info {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}

.room-lead p:nth-child(1) {
    padding: 100px 100px 0 0px;
    position: relative;
}

.more {
    position: relative;
    text-align: right;
    padding-right: 130px;
    margin-bottom: 100px;
}

.more span {
    position: absolute;
    content: "";
    top: 50%;
    right: 230px;
    width: 70px;
    height: 1px;
    background-color: black;
}

.room-washi {
    position: absolute;
    z-index: -1;
    width: 70%;
    top: 0;
    right: 0;
}


/* お料理 */
.food {
    margin-top: 50px;
    background-color: #434D60;
    display: flex;
    height: 100vh;
    position: relative;
}

.food-lead {
    width: min(900px, 55%);
    height: auto;
    background-color: #fff;
    margin: 140px 0 140px 0;
    box-shadow: 5px 4px 12px #c0c0c0;
    display: flex;
    z-index: 2;
}

.food-info {
    margin: 170px 90px 120px 0;
    z-index: 9999999;
}

.food-photo {
    position: relative;
    width: 50%;
    margin: 80px 40px;
    z-index: 3;
}

.food1 {
    width: min(660px, 150%);
    position: absolute;
    top: -40px;
    left: -50px;
}

.food2 {
    position: absolute;
    top: 370px;
    left: -60px;
    width: min(420px, 150%);
    z-index: 3;
}

.food-washi {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 75px;
    width: 100%;
    height: 80%;
    background-image: url(../img/index/washi.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.food-more {
    text-align: right;
    position: relative;
    z-index: 100;
}

.food-more span {
    position: absolute;
    content: "";
    top: 50%;
    right: 100px;
    width: 70px;
    height: 1px;
    background-color: black;
}


/* 温泉 */
.spa {
    display: flex;
    height: 100vh;
}

.spa-visual {
    width: 40%;
    margin: 40px 40px;
}

.spa-photo1,
.spa-photo2 {
    width: min(580px, 200%);
}

.spa-lead {
    width: min(900px, 55%);
    height: auto;
    background-color: #fff;
    margin: 150px 0 140px 0;
    box-shadow: 5px 4px 12px #c0c0c0;
    display: flex;
}

.spa-info {
    display: flex;
    flex-direction: column;
    margin: 150px 100px 100px 0;
}

.spa-more {
    text-align: right;
    position: relative;
}

.spa-more span {
    position: absolute;
    content: "";
    top: 50%;
    right: 100px;
    width: 70px;
    height: 1px;
    background-color: black;
}


/* 交通アクセス */
#access {
    margin: 0;
    background-color: #fff;
    padding: 30px 0;
    font-size: 17px;
    font-family: inter;
}

.access-inner {
    margin: 20px;
    border: 1px solid #000;
    height: auto;
}

.access-inner-washi {
    margin: 17px;
    background-image: url(../img/index/washi.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: auto;
    position: relative;
    display: flex;
    padding-bottom: 70px;
}

.map {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    overflow: hidden;
}

.car-access,
.bus-access {
    margin: 100px 100px 0 30px;
}

.car-access img,
.bus-access img {
    width: min(1200px, 150%);
    padding-left: 100px;
}

.car-access h4,
.bus-access h4 {
    margin: 50px 0 25px;
}

.google-map {
    width: 100%;
    margin-bottom: 30px;
}

.google-map iframe {
    width: 100%;
    height: 500px;
    box-shadow: 1px 1px 7px #aaa;
}

.sp_img {
    display: none;
}

@media screen and (max-width: 1000px) {

    #firstview h1 {
        font-size: 26px;
        margin-left: 10px;
        width: 100%;
        top: 60%;
    }

    .news .news-header {
        color: #fff;
        line-height: 1.8;
        display: none;
    }

    .news ul li span,
    .news ul li p {
        text-shadow: 1px 1px 7px #000;
        font-size: 14px;
        margin: 10px 0px 5px;
    }

    #firstview .news {
        flex-direction: column;
        width: 90%;
        height: auto;
        gap: 2px;
        padding-left: 20px;
        position: absolute;
        bottom: 85px;
        text-shadow: 1px 2px 7px #515151;
    }

    .news ul li {
        border-bottom: 0.7px solid #fff;
    }

    .scroll-box {
        display: none;
    }

    /* ごあいさつ */
    #message {
        flex-direction: column-reverse;
    }

    .message {
        width: 100%;
        min-width: none;
        max-width: none;
        height: auto;
        margin: 0 auto 50px;
    }

    .entrance1 {
        width: 100%;
        margin:  0 auto;
        position: static;
        max-width: initial;
    }

    .entrance2 {
        display: none;
    }

    .brush {
        top: 60px;
        left: 25px;
        width: 40px;
    }

    .title {
        position: relative;
        writing-mode: vertical-rl;
        font-size: 34px;
        letter-spacing: 1.2px;
        padding: 30px 40px 0 40px;
        z-index: 10;
    }

    .message p {
        padding: 50px 30px 70px 0;
        font-size: 14px;
        line-height: 30px;
    }

    .message-photo {
        position: relative;
        width: 100%;
        margin-top: 70px;
        text-align: center;
    }

    /* insutagram */
    .instagram {
        position: relative;
        width: 100%;
        height: 100vh;
        background-image: url(/img/index/insta_back.png);
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }
    
    .insta-link a span::after {
        width: 37px;
    }
    
    .insta-link img {
        width: 28px;
        height: 28px;
    }
    
    .insta1,
    .insta2,
    .insta3,
    .insta4,
    .insta5,
    .insta6,
    .insta7 {
        width: min(250px , 45%);
    }
    
    .insta1 {
        top: 5%;
        left: -2%;
    }
    
    .insta2 {
        top: 30%;
        left: 50px;
        z-index: 2;
    }
    
    .insta3 {
        top: 10%;
        right: 30px;
    }
    
    .insta4 {
        top: 45%;
        right: -20px;
    }
    
    .insta5 {
        top: 80%;
        left: -25px;
        transition-delay: 0.4s;
    }
    
    .insta6 {
        top: 55%;
        left: -10px;
        transition-delay: 0.3s;
    }
    
    .insta7 {
        top: 75%;
        right: 10px;
    }
    
    .insta-link a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .insta-link {
        width: 300px;
        height: auto;
        background-color: #fff;
        border: 1.5px solid #000;
        padding: 5px 20px;
        position: absolute;
        top: 70%;
        left: 25%;
        z-index: 1000000;
        transition-delay: 1.5s;
    }

    /* お部屋 */
    .room {
        flex-direction: column;
        position: relative;
    }
    
    .room-visual {
        width: 100%;
        margin: 80px auto 10px;
    }
    
    .room-lead {
        width: 100%;
        height: auto;
        background-color: #fff;
        margin: 10px 0 40px 0;
        box-shadow: 5px 4px 12px #c0c0c0;
        display: flex;
    }
    
    .room-photo1 {
        padding: 0;
    }
    
    .room-photo2 img {
        width: 95%;
    }
    
    .room-info {
        display: flex;
        flex-direction: column;
        margin-top: 50px;
    }
    
    .room-lead p:nth-child(1) {
        padding: 50px 30px 10px 0;
        position: relative;
    }

    .slick-dotted.slick-slider {
        width: 100%;
        margin: 10px 0;
    }

    .slick-track {
        margin: 0;
        width: 100%;
    }
    
    .more {
        position: relative;
        text-align: right;
        padding-right: 40px;
        margin-bottom: 60px;
    }
    
    .more span {
        position: absolute;
        content: "";
        top: 50%;
        right: 130px;
        width: 70px;
        height: 1px;
        background-color: black;
    }
    
    .room-washi {
        position: absolute;
        z-index: -1;
        width: 100%;
        top: 0;
        right: 0;
    }

    /* お料理 */
    .food {
        margin-top: 50px;
        background-color: #434D60;
        flex-direction: column-reverse;
        height: 100vh;
        position: relative;
        z-index: -2;
    }
    
    .food-lead {
        width: 100%;
        height: auto;
        background-color: #fff;
        margin: 140px 0 140px 0;
        box-shadow: 5px 4px 12px #c0c0c0;
        display: flex;
    }
    
    .food-info {
        margin: 70px 30px 70px 0;
    }
    
    .food-photo {
        position: relative;
        width: 100%;
        height: 300px;
        margin: 0 auto 300px;
    }
    
    .food1 {
        width: min(350px, 80%);
        position: absolute;
        top: 40px;
        left:initial;
        right: 10px;
    }
    
    .food2 {
        position: absolute;
        top: 220px;
        left: 20px;
        width: min(240px, 75%);
        z-index: 3;
    }
    
    .food-washi {
        position: absolute;
        z-index: -1;
        left: 0;
        top: 75px;
        width: 100%;
        height: 80%;
        background-image: url(../img/index/washi.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    
    .food-more {
        text-align: right;
        position: relative;
        z-index: 100;
    }
    
    .food-more span {
        position: absolute;
        content: "";
        top: 50%;
        right: 100px;
        width: 70px;
        height: 1px;
        background-color: black;
    }

    .spa {
        display: flex;
        flex-direction: column;
        height: auto;
        margin-bottom: 70px;
    }
    
    .spa-visual {
        width: 100%;
        margin:70px auto 10px;
    }
    
    .spa-photo1,
    .spa-photo2 {
        width: 100%;
    }
    
    .spa-lead {
        width:100%;
        margin: 0 0 40px 0;
    }
    
    .spa-info {
        display: flex;
        flex-direction: column;
        margin: 50px 30px 100px 0;
    }
    
    .spa-more {
        text-align: right;
        position: relative;
    }
    
    .spa-more span {
        position: absolute;
        content: "";
        top: 50%;
        right: 100px;
        width: 70px;
        height: 1px;
        background-color: black;
    }

    .google-map {
        width: 100%;
        margin: 50px auto;
    }
    
    .google-map iframe {
        width: 100%;
        height: 300px;
        box-shadow: 1px 1px 7px #aaa;
    }

    .pc_img {
        display: none;
    }

    .sp_img {
        display: block;
        width: 200px;
    }

.access-inner {
    margin: 20px auto;
}

.access {
    padding: 30px 20px 0 20px;
}

.access .brush {
    left: 10px;
}

.car-access .sp_img {
    padding: 0;
}
/* .bus-access .sp_img {
    padding-left: 10px;
} */

    .car-access,
.bus-access {
    margin: 70px 20px 0 0;
}

.car-access img,
.bus-access img {
    width: min(1200px, 150%);
    padding-left: 100px;
}

.car-access h4,
.bus-access h4 {
    margin: 50px 0 25px;
}
}