@charset "utf-8";

#vdbanner {
    width: 0;
    height: 0;
}


*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    width: 100%;
    margin: 0 auto;
    font-size: 16px;
    font-family: "Noto Serif JP", serif;
    font-weight: normal;
    font-style: normal;
    line-height: 2.5;
}


.opening {
    width: 100%;
    height: 100vh;
    background-color: #5F5C57;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: opening 1s 2s both;
}

@keyframes opening {
    100% {
        opacity: 0;
        z-index: -1;
    }
}

.opening img {
    width: 100%;
    max-width: 180px;
    animation: logobig 2.5s both;
    margin-right: 15px;
    transform: translateY(20px);
}

@keyframes logobig {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    50% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}


header {
    max-width: 100%;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    position: fixed;
    z-index: 1000;
    margin-top: -20px;
}

header.scrolled {
    transition: background-color 0.3s ease;
    background-color: rgba(0, 0, 0, 0.336);
}

.space-box {
    display: flex;
    gap: 70px;
    margin-right: 30px;
}

.header-logo img {
    display: block;
    max-width: 150px;
    min-width: 80px;
    margin-left: 30px;
}

header .header-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 50px;
}

header .header-nav ul li a {
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
    color: #fff;
    transition: 0.3s ease;
    display: inline-block;
}

header .header-nav ul li a:hover {
    transform: scale(1.1);
}

header select {
    background-color: transparent;
    color: #fff;
    border: none;
    font-weight: lighter;
    font-family: "Noto Serif JP", serif;
}

header select option:first-child {
    display: none;
}

header select option {
    color: #000;
}

.header-btn {
    background-color: #9A8C42;
    padding: .4rem 1.2rem;
    color: #fff;
    border: none;
    font-family: "Noto Serif JP", serif;
    font-size: .8rem;
}

.humbergar-menu {
    display: none;
}

.firstview {
    margin: -60px;
}

.firstview::after {
    content: "";
    background-color: #00000038;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

}

.firstview video {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: -10;
    object-fit: cover;
}

.firstview-content {
    z-index: 5;
}

.firstview-content h1 img {
    width: 100%;
    max-width: 100px;
    min-width: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.firstview-content p {
    position: absolute;
    bottom: 15%;
    right: 10%;
    color: #fff;
    font-size: 1.4rem;
    text-shadow: 2px 2px 4px rgb(61, 46, 24);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.5s ease-out 1s forwards;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    font-size: 1rem;
    font-family: "Noto Serif JP", serif;
}

.scroll .txt {
    font-weight: 500;
}

.scroll::before {
    animation: scroll 3.5s infinite;
    border: solid #fff;
    border-width: 0 0 1px 1px;
    content: "";
    display: inline-block;
    margin: auto;
    position: absolute;
    top: -50px;
    right: 0;
    left: 0;
    transform: rotate(-45deg);
    width: 20px;
    height: 20px;
}

@keyframes scroll {
    0% {
        transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    80% {
        transform: rotate(-45deg) translate(-30px, 30px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.fade-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-target.is-show {
    opacity: 1;
    transform: translateY(0);
}

.simple-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 230px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 1rem;
    padding-top: .3rem;
    padding-bottom: .3rem;
    border: 1px solid #000000;
    border-radius: 25px;
    background-color: transparent;
    color: #000000;
    font-size: 1em;
    font-weight: normal;
    font-family: "Noto Serif JP", serif;
}

.simple-btn::after {
    position: absolute;
    right: 2em;
    transform: translateY(-50%);
    transform-origin: left;
    width: 2em;
    height: .5em;
    background-color: #000000;
    clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
    content: '';
    transition: transform .3s;
}

.simple-btn:hover::after {
    transform: translateY(-50%) scaleX(1.4);
}

.open-banner img {
    width: 100%;
    max-width: 900px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.open-banner {
    text-align: center;
    margin-top: 5rem;
    margin-bottom: -2rem;
}

.open-banner a {
    overflow: hidden;
    display: inline-block;
}

.open-banner:hover img {
    transform: scale(1.03);
}

.top-contents {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20%;
    position: relative;
}

.top-contents p,
.top-contents h2 {
    writing-mode: vertical-rl;
    color: #fff;
    text-orientation: upright;
    font-weight: lighter;
    margin-left: 3rem;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.top-contents.fade-active h2,
.top-contents.fade-active p:nth-of-type(2),
.top-contents.fade-active p:nth-of-type(1) {
    opacity: 1;
    transform: translateX(0);
}

.top-contents.fade-active h2 {
    transition-delay: 0.3s;
}

.top-contents.fade-active p:nth-of-type(2) {
    transition-delay: 1s;
}

.top-contents.fade-active p:nth-of-type(1) {
    transition-delay: 1.7s;
}

.top-contents img {
    width: 100%;
    z-index: -10;
    position: absolute;

}

.top-contents .loop {
    display: flex;
}

.t-news {
    margin: 15% 0;
    padding: 0 10%;
    width: 100%;
}

.t-news h2 {
    font-size: 4rem;
}

.news-contents {
    display: flex;
    gap: 2rem;
    margin-left: 12%;
}

.news-contents p {
    margin: 0.5rem;
}

.news-category {
    background-color: black;
    color: #fff;
    padding: 0 1rem;
}

.news-btn a {
    display: flex;
}

.news-btn {
    font-family: "Noto Serif JP", serif;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    right: -300px;
    width: 11rem;
    margin: 0 auto;
    padding-top: .5rem;
    border: none;
    border-bottom: 1px solid #e6edf3;
    background-color: transparent;
    color: #333;
    font-weight: normal;
    font-size: 1em;
    line-height: 2.8;
}

.news-btn::after {
    position: absolute;
    bottom: -3px;
    left: 0;
    transform: scaleX(0);
    transform-origin: center left;
    width: 100%;
    height: 1px;
    background-color: #000000;
    content: '';
    transition: transform .3s ease;
}

.news-btn:hover::after {
    transform: scaleX(1);
}

.arrow {
    position: relative;
    display: inline-block;
    width: 2rem;
    height: 1px;
    margin: 20px 5px;
    border-radius: 9999px;
    background-color: #000000;
    transform: rotate(-30deg);

}

.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    top: calc(50% - 0.5px);
    right: 0;
    width: .5rem;
    height: 1px;
    border-radius: 9999px;
    background-color: #000000;
    transform-origin: calc(100% - 0.5px) 50%;
}

.arrow::before {
    transform: rotate(41.5deg);
}

.arrow::after {
    transform: rotate(-41.5deg);
}

.t-rooms {
    width: 100%;
    text-align: center;
    background: url(./img/backcolor.png) no-repeat center/cover;
    position: relative;
    padding-bottom: 45px;
    padding-top: 40px;
}

.t-rooms::before {
    content: "";
    display: block;
    width: 100%;
    height: 80px;
    position: absolute;
    left: 0;
    top: -57px;
    background-image: url(./img/Mask\ group1.png);
    background-repeat: no-repeat;
    background-size: 100%;
    transform: scaleX(1.01);
    overflow: hidden;
}

.t-rooms::after {
    content: "";
    display: block;
    width: 100%;
    height: 110px;
    position: absolute;
    left: 0;
    background-image: url(./img/Mask\ group\ 1.png);
    background-repeat: no-repeat;
    background-size: 100%;
    transform: scaleX(1.01);
    overflow: hidden;
}


.room-slider {
    max-width: 800px;
    margin: 3rem auto;
    text-align: center;
}

.slider_thumb img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.thumb {
    margin-top: 1.5rem;
}

.thumb img {
    width: 100%;
    max-width: 200px;
    height: 130px;
    object-fit: cover;
    margin: 0 .8rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.thumb .slick-current img {
    opacity: 1;
    transform: scale(1.05);
}

.slick-slide {
    outline: none;
}

.t-rooms .simple-btn {
    margin: 5% auto;
}

.t-food img {
    margin: 15% auto 5%;
    width: 100%;
    height: auto;
    display: block;
}

.t-food {
    position: relative;
    display: inline-block;
    margin-top: 5%;
    width: 100%;
}

.t-food .mobilefoodimg {
    display: none;
}

.dining-catch {
    writing-mode: vertical-rl;
    color: #fff;
    text-orientation: upright;
    position: absolute;
    top: 25%;
    right: 10%;
    font-size: 1.8rem;

}

.dining-catch1,
.dining-catch2 {
    background-color: #b71616b4;
    margin: 1rem;
    padding: .8rem 0;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-active .dining-catch1 {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}

.fade-active .dining-catch2 {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 1s;
}

.dining-catch1 {
    display: inline-block;
}

.dining-catch2 {
    position: relative;
    top: 20%;
    right: 0;
}

.dining-text {
    position: absolute;
    top: 33%;
    left: 47%;
    font-size: 1.rem;
    padding: 15px;
    border-radius: 8px;
}

.dining-text p:first-child {
    font-size: 2rem;
}

.t-food-text {
    text-align: center;
    margin: 5% 0;
}

.dining-content {
    margin: 5% auto;
}

.fontbold {
    font-weight: bold;
}

.t-hotspring {
    text-align: center;
    width: 100%;
    margin: 10% auto;
    background: url(./img/backcolor.png) no-repeat center/cover;
    position: relative;
    padding-bottom: 45px;
    padding-top: 40px;
}

.t-hotspring::before {
    content: "";
    display: block;
    width: 100%;
    height: 80px;
    position: absolute;
    left: 0;
    top: -57px;
    background-image: url(./img/Mask\ group1.png);
    background-repeat: no-repeat;
    background-size: 100%;
    transform: scaleX(1.01);
    overflow: hidden;
}

.t-hotspring::after {
    content: "";
    display: block;
    width: 100%;
    height: 110px;
    position: absolute;
    left: 0;
    background-image: url(./img/Mask\ group\ 1.png);
    background-repeat: no-repeat;
    background-size: 100%;
    transform: scaleX(1.01);
    overflow: hidden;
}


.t-hotspring .flexbox img {
    width: 100%;
    max-width: 500px;
}

.t-hotspring .flexbox {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 5% auto;
}

.t-hotspring p {
    margin-bottom: 5%;
}

.t-hotspring .simple-btn {
    margin: 5% auto;
}

.t-surprise {
    position: relative;
    width: 100%;
    margin: 5% auto;
}

.t-surprise img {
    width: 100%;
    object-fit: cover;
}

.anniversary-text {
    background-color: rgba(255, 255, 255, 0.425);
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 3%;
}

.anniversary-text h2 {
    font-weight: normal;
    font-size: 1.3rem;
}

.anniversary-text p {
    font-size: .9rem;
}

.anniversary-text .simple-btn {
    width: 260px;
    margin: 5% auto;
    font-size: .9rem;
}


.t-yoyaku {
    width: 100%;
    text-align: center;
    margin: 7% auto 10%;
    line-height: 2;
}

.t-yoyaku h2 {
    margin-bottom: 2rem;
}

.t-yoyaku .yoyaku-btn {
    display: inline-block;
    width: 180px;
    color: #B71616;
    margin: 3% auto 1%;
    border: #B71616 1px solid;
    border-radius: 25px;
    padding: .5em 2em;
    background-color: transparent;
    font-family: "Noto Serif JP", serif;
    transition-duration: .4s;
}

.t-yoyaku .yoyaku-btn:hover {
    transform: scale(1.1);
}

.t-yoyaku .yoyaku-text {
    margin-bottom: 2%;
    font-size: .8rem;
}

.yoyaku-number {
    font-size: 1.3rem;
}

.t-access {
    width: 100%;
    text-align: center;
    margin: 5% auto 0;
    background: url(./img/backcolor.png) no-repeat center/cover;
    position: relative;
    padding: 6rem;
}

.t-access::before {
    content: "";
    display: block;
    width: 100%;
    height: 80px;
    position: absolute;
    left: 0;
    top: -57px;
    background-image: url(./img/Mask\ group1.png);
    background-repeat: no-repeat;
    background-size: 100%;
    transform: scaleX(1.01);
    overflow: hidden;
}


.t-access .flexbox {
    margin-top: 3%;
}

.flexbox {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.line15 {
    line-height: 1.5;

}

.access-content p {
    margin: 3rem auto;
}

.t-access img {
    width: 100%;
    max-width: 300px;
    margin: 0 3%;

}

.t-access .simple-btn {
    width: 260px;
}


/* footer */

footer {
    background: url(./img/footer.jpg) no-repeat center/cover;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-logo {
    max-width: 80px;
    width: 100%;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
}

.footer-nav ul {
    margin: 3rem;
}

.footer-nav li {
    margin-bottom: .5rem;
}

.footer-nav li a {
    color: #fff;
    position: relative;
    font-size: .8rem;
    transition: 0.3s ease;
    display: inline-block;
}


.footer-nav li a:hover {
    transform: scaleX(1.1);
}

.footer-nav li a::after {
    content: "";
    width: .6rem;
    height: 1px;
    background-color: #fff;
    display: block;
    position: absolute;
    top: 50%;
    left: -1rem;
}

footer .adress {
    color: #fff;
    font-size: .8rem;
}

footer address {
    font-style: normal;
}

footer .instagram {
    width: 100%;
    max-width: 300px;
    margin: 3rem;
    transition-duration: .4s;
}

footer .simple-btn {
    color: #fff;
    border: 1px solid #fff;
    width: 180px;
    padding: .1rem 0;
    font-family: "Noto Serif JP", serif;
    transition-duration: .4s;
}

footer .simple-btn:hover,
footer .instagram:hover {
    transform: scale(1.1);
}

footer .simple-btn::after {
    display: none;
}

.page-top {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 40px;
    bottom: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    border: 0;
    background: none;
    transition: .2s;
}

.page-top p {
    writing-mode: vertical-rl;
    text-decoration: none;
    text-transform: uppercase;
    height: 85px;
    margin: 0;
    letter-spacing: 5px;
    text-align: right;
    font-family: initial;
}

.page-top p:before {
    content: "";
    position: absolute;
    top: 25px;
    right: -8px;
    width: 1px;
    height: 15px;
    background: #000;
    transform: skewX(-150deg);
}

.page-top p:after {
    content: "";
    position: absolute;
    bottom: 0px;
    right: -3px;
    width: 1px;
    height: 60px;
    background: #000;
}

.is-active {
    opacity: 1;
    visibility: visible;
}



/* 挨拶ページ */

.top-img {
    position: relative;
    margin-top: -40px;
}

.top-img::after {
    content: "";
    background-color: #00000038;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

.top-img img {
    width: 100%;
    object-fit: cover;
    height: 100vh;
}

.top-img h2 {
    writing-mode: vertical-rl;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2rem;
    text-align: center;
    font-weight: 500;
    z-index: 50;
}



.aisatsu-text {
    text-align: center;
    background: url(./img/backcolor.png);
    width: fit-content;
    margin: 5% auto;
    padding: 3%;
}

.aisatsu-text p {
    padding: 3rem;
}

.aisatsu-text h3 {
    padding-top: 3rem;
}

.about {
    text-align: center;
    margin: 7rem 0;
}

.about h3 {
    margin: 3% 0;
}

.about img {
    width: 100%;
    max-width: 500px;
    margin: 0 3rem;
}

.about p {
    margin: 0 3rem;
}

.season {
    text-align: center;
    margin: 3rem 0;
}

.season p {
    font-weight: bold;
    font-size: 1.2rem;
}

.season-kanji {
    display: flex;
    justify-content: center;
}

.season-kanji img {
    width: 100%;
    max-width: 60px;
    margin: 1rem;
}

.season-pic {
    margin: 3% 0 7%;
}

.season-pic img {
    width: 100%;
    max-width: 300px;
    padding: 0 1rem;
}

/* お部屋ページ */
.slider-room {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
}

.slider-room img {
    width: 100%;
    height: 380px;
    display: block;
    object-fit: cover;
}

.about-room01 {
    margin: 5rem 5rem 5rem 0;
}

.about-room02 {
    margin: 5rem 0 5rem 5rem;
}

.room-explain {
    margin: 5rem;
}

.room-explain h3 {
    margin-bottom: 3rem;
}

.about-room01 .text-right,
.about-room02 .text-right {
    text-align: right;
}

.about-room01 a,
.about-room02 a {
    display: inline-block;
    border: #000000 1px solid;
    font-size: .9rem;
    padding: 3px 10px;
}

/* お食事ページ */
.dinner,
.anniversary,
.morning,
.kuroiso {
    text-align: center;
    margin: 7rem auto;
    width: 100%;
}

.dinner h3,
.morning h3 {
    margin-bottom: 3rem;
    position: relative;
}

.dinner h3::after,
.morning h3::after {
    content: "";
    width: 4rem;
    height: 1px;
    background-color: #000000;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.dinner img {
    width: 100%;
    max-width: 400px;
}

.dinner p,
.morning p {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    width: 50rem;
    text-align: center;
    margin: 3rem auto;
    padding: 3rem 0;
}

.anniversary img {
    width: 100%;
    max-width: 800px;
}

.anniversary .ani-text {
    margin: 5rem;
}

.ani-price {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    width: 40rem;
    text-align: center;
    margin: 3rem auto;
    padding: 3rem 0;
}


.ani-price .flexbox {
    text-align: left;
    justify-content: space-between;
    margin: 0 10rem;
}

.kuroiso img {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 2/1;
    object-fit: cover;
    margin: 3rem auto;
}

.kuroiso p {
    margin: 3rem auto;
}

.kuroiso .flexbox img {
    width: 100%;
    max-width: 450px;
    height: auto;
    aspect-ratio: 0;
}

.kuroiso .flexbox {
    justify-content: space-around;
}

/* 温泉ページ */
.about-onsen,
.dayuse {
    text-align: center;
    margin: 5rem auto;
}

.about-onsen img {
    width: 100%;
    max-width: 500px;
}

.roten1,
.roten2 {
    margin: 5rem;
}


.onsen-text {
    padding: 3rem;
    text-align: left;
}

.onsen-text .font-small {
    font-size: .8rem;
}

.onsen-text .onsen-content {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    display: inline-block;
    text-align: left;
    margin: 1rem auto;
    padding: 3rem 0;
}

.uchiburo img {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 2/1;
    object-fit: cover;
}

.uchiburo p {
    margin: 3rem auto;
}

.onsen-kouka {
    text-align: left;
    background-color: #F7F5E9;
    margin: 5rem;
    padding: 3rem;
}

.dayuse .tehuda {
    width: 100%;
    aspect-ratio: 3/1;
    object-fit: cover;
}

.dayuse {
    position: relative;
}

.dayuse h3 {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, 0%);
    color: #fff;
}

.dayuse p {
    margin: 5rem 0;
}

.dayuse p span {
    border-bottom: black 1px solid;
}

.dayuse p span:hover {
    color: rgb(75, 75, 75);
    border-bottom: rgb(75, 75, 75) 1px solid;
}


.yuakari {
    overflow: hidden;
    display: inline-block;
}

.yuakari img {
    width: 100%;
    max-width: 450px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.yuakari:hover img {
    transform: scale(1.1);
}

/* accessページ */
.access-img img {
    width: 100%;
    margin: 5rem auto;
}

.map {
    text-align: center;
}

.map iframe {
    width: 100%;
    max-width: 500px;
    margin-top: 5rem;
}

.access-adress {
    margin: 5rem 0;

}

.access-adress img {
    width: 100px;
}

.adress-text {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    text-align: center;
    margin: 1rem auto;
    padding: 1rem 0;
    width: 15rem;
}

.access-img {
    text-align: center;
}

.margin-img {
    max-width: 800px;
    margin: 0 auto 5rem;
}




@media screen and (max-width: 768px) {

    .firstview {
        margin: -20px auto 0;
    }

    .header-container_02 {
        height: 100vh;
        display: block;
        background-color: none;
        background: url(./img/footer.jpg);
        text-align: center;
        transform: translateY(-120%);
        transition: all 0.6s;
        margin-top: -20px;
    }

    .header-container_02.active {
        transform: translateY(0%);
    }

    .header-logo img {
        margin: 0 auto;

    }

    .space-box {
        display: block;
    }

    .humbergar-menu {
        display: block;
    }

    header .header-nav ul {
        display: block;
    }


    .sp-menu-btn_02 {
        background-color: transparent;
        border: none;
        position: fixed;
        right: 10px;
        top: 10px;
        width: 60px;
        height: 40px;
        cursor: pointer;
        z-index: 2000;
    }

    .sp-menu-btn_02 .line {
        display: block;
        position: absolute;
        height: 2px;
        right: 15px;
        background: #fff;
        transition: 0.3s ease-in-out;
        background-color: black;
    }

    .sp-menu-btn_02.white .line {
        background-color: white;
    }

    .sp-menu-btn_02 span:nth-child(1) {
        top: 16px;
        width: 30px;
    }

    .sp-menu-btn_02 span:nth-child(2) {
        top: 24px;
        width: 20px;
    }

    /* メニューが開いているときのボタン */
    .sp-menu-btn_02.active span:nth-child(1) {
        top: 24px;
        background: #fff;
        transform: rotate(-45deg);
    }

    .sp-menu-btn_02.active span:nth-child(2) {
        top: 24px;
        background: #fff;
        width: 30px;
        transform: rotate(45deg);
    }

    .header-container_02 h1 {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 300px;
        font-weight: normal;
    }

    .firstview video {
        height: 100vh;
    }

    .firstview-content p {
        writing-mode: vertical-rl;
        line-height: 1.5;
    }

    .top-contents img {
        height: 50vh;
        object-fit: cover;
    }

    .top-contents {
        position: relative;
        width: 100%;
        min-height: 50vh;
        margin-top: 5rem;
    }

    .top-contents .loop {
        position: absolute;
        left: -100%;
        animation: scrollRight 60s linear infinite;
    }


    @keyframes scrollRight {
        0% {
            left: -100%;
        }

        100% {
            left: 100%;
        }
    }

    .top-contents h2 {
        font-size: 1.2rem;
    }

    .top-contents p,
    .top-contents h2 {
        margin: 1rem;
    }

    .top-contents img {
        width: 100%;
        height: 50vh;
        object-fit: cover;
        position: absolute;
        z-index: -10;
    }

    .news-contents {
        display: block;
    }

    .news-category {
        background-color: black;
        color: #fff;
        padding: 0 1rem;
        display: inline-block;
    }

    .news-btn {
        right: -100px;

    }

    .t-rooms::before,
    .t-hotspring::before,
    .t-access::before {
        top: -34px;
    }

    .t-rooms::after,
    .t-hotspring::after {
        bottom: -110px;
    }

    .room-text {
        padding: 0 4rem;
    }

    .room-slider {
        max-width: 95%;
    }

    .slider_thumb img {
        max-height: 300px;
    }

    .thumb img {
        max-width: 100px;
        height: 70px;
    }

    .t-food .mobilefoodimg {
        display: block;
        width: 100%;
        object-fit: cover;
        margin-top: 17rem;
    }

    .t-food .foodimg {
        display: none;
    }

    .dining-text {
        top: 0;
        left: 30%;
        margin: 3rem 0;
        font-size: 1.5rem;
        line-height: 1.8;
    }

    .t-food .dining-text .fontbold {
        font-size: 3rem;
        text-align: center;
    }

    .t-hotspring {
        margin: 15% auto;
        padding: 60px 5%;
    }

    .t-hotspring .flexbox {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .t-hotspring .flexbox:nth-of-type(2) {
        flex-direction: column-reverse;
    }

    .t-hotspring .flexbox img {
        max-width: 90%;
    }

    .t-hotspring p {
        margin-bottom: 2rem;
        font-size: 0.95rem;
    }

    .t-surprise img {
        height: auto;
        position: relative;
    }

    .anniversary-text {
        position: static;
        transform: none;
        width: 90%;
        margin: 1rem auto;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .anniversary-text h2 {
        position: absolute;
        top: 17%;
        left: 50%;
        transform: translateX(-50%);
        color: #fff;
        font-size: 1.2rem;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
        z-index: 2;
    }

    .anniversary-text p {
        font-size: 0.9rem;
    }

    /* ご予約 */
    .t-yoyaku {
        margin: 15% auto;
        padding: 0 5%;
    }

    .t-yoyaku .yoyaku-btn {
        width: 160px;
        font-size: 0.9rem;
    }

    /* アクセス */
    .t-access {
        padding: 4rem 5%;
    }

    .t-access .flexbox {
        flex-direction: column;
        text-align: center;
    }

    .t-access img {
        max-width: 80%;
        margin-bottom: 2rem;
        margin-top: 2rem;
    }

    .access-content h3 {
        font-size: 1.1rem;
    }

    .access-content p {
        font-size: 0.9rem;
        margin: 2rem 0;
    }

    /* フッター */
    footer {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        position: relative;
    }

    .footer-nav {
        flex-direction: row;
        align-items: stretch;
        text-align: left;
        gap: 5rem;
    }

    .footer-nav ul {
        margin: 0;
        padding: 0;
    }

    .footer-nav li {
        margin: 0.3rem 0;
    }

    .footer-logo {
        position: absolute;
        left: 5rem;
        bottom: 1rem;

    }

    footer .flexbox {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-left: 7rem;
    }

    footer .adress {
        margin-top: 1rem;
    }

    footer .instagram {
        margin-top: 1.5rem;
    }

    footer p,
    footer address {
        font-size: 0.85rem;
    }

    /* 挨拶ページ */

    .top-img h2 {
        font-size: 1.5rem;
        writing-mode: vertical-rl;
        top: 40%;
    }

    .aisatsu-text {
        width: 90%;
        padding: 5%;
    }

    .aisatsu-text p {
        padding: 1.5rem;
    }

    .about .flexbox {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about img {
        max-width: 90%;
        margin: 1rem 0;
    }

    .about p {
        margin: 1rem;
        padding: 0 1rem;
    }

    .season-kanji {
        flex-wrap: wrap;
    }

    .season-kanji img {
        max-width: 50px;
        margin: 0.5rem;
    }

    /* お部屋ページ */
    .about-room01 .flexbox {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 2rem;
    }

    .about-room02 .flexbox {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .slider-room {
        max-width: 100%;
        height: fit-content;
    }



    .about-room01,
    .about-room02 {
        margin: 2rem 1rem;
    }

    .room-explain {
        margin: 1rem;
        padding: 1rem;
    }

    .room-explain h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .room-explain p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .text-right {
        text-align: center;
        margin-top: 1rem;
    }

    .about-room01 a,
    .about-room02 a {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin-top: 1rem;
        display: inline-block;
    }

    .t-yoyaku {
        padding: 2rem 1rem;
        text-align: center;
    }

    .t-yoyaku h2 {
        font-size: 1.5rem;
    }

    .t-yoyaku p,
    .t-yoyaku .yoyaku-text,
    .t-yoyaku .yoyaku-number {
        font-size: 1rem;
        line-height: 1.5;
    }

    .yoyaku-btn {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        margin: 1rem 0;
        display: inline-block;
        background-color: #000;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
    }

    /* お食事ページ */

    .dinner,
    .anniversary,
    .morning,
    .kuroiso {
        margin: 4rem auto;
        padding: 0 1rem;
    }

    .dinner img,
    .morning img,
    .anniversary img,
    .kuroiso img {
        max-width: 100%;
        height: auto;
    }

    .dinner p,
    .morning p {
        width: 100%;
        padding: 2rem 1rem;
        font-size: 0.95rem;
    }

    .anniversary .ani-text {
        margin: 2rem 1rem;
        font-size: 0.95rem;
    }

    .ani-price {
        width: 100%;
        padding: 2rem 1rem;
        font-size: 0.95rem;
    }

    .ani-price .flexbox {
        margin: 0 1rem;
        flex-direction: row;
        justify-content: space-between;
    }

    .kuroiso p {
        padding: 0 1rem;
        font-size: 0.95rem;
        text-align: left;
    }

    .kuroiso .flexbox {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .kuroiso .flexbox img {
        max-width: 90%;
        height: auto;
    }

    .dinner,
    .anniversary,
    .morning,
    .kuroiso {
        margin: 4rem auto;
        padding: 0 1rem;
    }

    .dinner img,
    .morning img,
    .anniversary img,
    .kuroiso img {
        max-width: 100%;
        height: auto;
    }

    .dinner p,
    .morning p {
        width: 100%;
        padding: 2rem 1rem;
        font-size: 0.95rem;
    }

    .anniversary .ani-text {
        margin: 2rem 1rem;
        font-size: 0.95rem;
    }

    .ani-price {
        width: 100%;
        padding: 2rem 1rem;
        font-size: 0.95rem;
    }

    .ani-price .flexbox {
        margin: 0 1rem;
        flex-direction: row;
        justify-content: space-between;
    }

    .kuroiso p {
        padding: 0 1rem;
        font-size: 0.95rem;
        text-align: left;
    }

    .kuroiso .flexbox {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .kuroiso .flexbox img {
        max-width: 90%;
        height: auto;
    }

    /* 温泉ページ */
    .about-onsen,
    .dayuse {
        margin: 3rem auto;
        padding: 0 1rem;
        text-align: center;
    }

    .roten1,
    .roten2 {
        margin: 3rem 0;
    }

    .about-onsen .flexbox {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .roten2 .flexbox {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 2rem;
    }

    .about-onsen img,
    .uchiburo img,
    .dayuse .tehuda,
    .yuakari img {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
    }

    .onsen-text {
        padding: 1.5rem;
        text-align: left;
    }

    .onsen-text .onsen-content {
        padding: 2rem 0;
        font-size: 0.95rem;
    }

    .onsen-text .font-small {
        font-size: 0.85rem;
    }

    .uchiburo p {
        margin: 2rem auto;
        font-size: 0.95rem;
    }

    .onsen-kouka {
        margin: 2rem 1rem;
        padding: 2rem 1rem;
        font-size: 0.95rem;
    }

    .dayuse h3 {
        font-size: 1.5rem;
        top: 10%;
        left: 50%;
        transform: translate(-50%, 0%);
    }

    .dayuse p {
        margin: 3rem 0;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .yuakari img {
        max-width: 100%;
    }

    /* アクセスページ */
    .map iframe {
        width: 100%;
        height: 300px;
        max-width: none;
        margin-top: 3rem;
    }

    .access-adress {
        margin: 3rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }

    .access-adress img {
        width: 80px;
        margin-bottom: 1rem;
    }

    .adress-text {
        width: 100%;
        max-width: 300px;
        text-align: center;
        font-size: 0.95rem;
        padding: 1rem;
    }


    .access-img img {
        width: 100%;
        height: auto;
        margin: 2rem 0;
    }

    .margin-img {
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        max-width: 100%;
        margin: 0 auto 3rem;
    }

}






@media (max-width: 480px) {
    .slider_thumb img {
        max-height: 250px;
    }

    .thumb {
        margin-top: 1rem;
    }

    .thumb img {
        max-width: 80px;
        height: 60px;
    }

    .t-hotspring {
        padding: 50px 5%;
    }

    .t-hotspring h2 {
        font-size: 1.5rem;
    }

    .t-hotspring p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .t-hotspring .flexbox img {
        max-width: 100%;
    }

    .anniversary-text h2 {
        font-size: 1rem;
    }

    .t-yoyaku .yoyaku-number {
        font-size: 1.1rem;
    }

    .access-content h3 {
        font-size: 1rem;
    }

    .t-access {
        padding: 3rem 5%;
    }

    .t-rooms::before,
    .t-hotspring::before,
    .t-access::before {
        top: -20px;
    }

    .dining-text {
        top: 0;
        left: 18%;
    }

}