@charset "UTF-8";

/*
変数定義
----------------------------------------------------------- */
:root {
    /* カラー */
    --color-bg: #445;
    --color-bg2: #779;
    --color-primary: #226;
    --color-accent: #a93;
    --color-white: #fff;
    --color-black: #333;
    --color-gray: #959595;
    --color-link: #006ad6;
    --color-btn: #44c;

    /* レイアウト */
    --width-content: 1200px;
    --width-max: 1440px;
    --width-narrow: 770px;
    --space-15: 15px;
    --space-30: 30px;
    --space-45: 45px;
    --space-60: 60px;
    --space-90: 90px;
    --space-120: 120px;
    --space-150: 150px;
    --space-180: 180px;
    
    /* その他 */
    --flex-gap: 30px;
    --duration: 0.7s;
    --txt-shadow: 5px 5px 5px #333;
    --txt-shadow2: 0 0 1.5px #fdd;
}

/*
ベース
----------------------------------------------------------- */
body {
    font-family:"Shippori Mincho", serif, "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN", serif;
    font-size: 18px;
    color: var(--color-white);
    overflow-x: hidden;
    overflow-y: scroll;
    background: url(../img/bg-06.webp) ;
    background-size: 30%;
    display: block;
}

body.post-type-archive-plan {
    background: #ddd;
}

/* アニメーション中はスクロールを禁止 */
.home.is-locked {
    overflow: hidden;
}

.plan-page {
    background: var(--color-white);
}

.plan-font {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
    font-weight: 500;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}


/*
レイアウト
----------------------------------------------------------- */
.wrapper {
    max-width: var(--width-max);
    margin: 0 auto;
    padding: 0 var(--space-15);
    box-sizing: border-box;
}

section {
    margin-bottom: var(--space-60);
}

/*
共通コンポーネント
----------------------------------------------------------- */


/* ボタン共通 */
.btn {
    display: block;
    text-align: center;
    font-weight: bold;
    transition: all var(--duration);
    margin: 0 auto;
}

.btn-main {
    width: 250px;
    height: 55px;
    line-height: 55px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-main:hover,
.btn-sec:hover {
    box-shadow:
        0 0 6px rgba(255, 215, 0, 0.6),
        0 0 14px rgba(255, 215, 0, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-pos {
    text-align: center;
    display: block;
}

.btn-sec {
    width: 100%;
    line-height: 1.7;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}




/* ページ共通 */
.page-ttl,
.room-ttl {
    font-size: 3rem;
    margin-bottom: var(--space-60);
    padding-left: var(--space-30);
}

.p-spe15 {
    padding: var(--space-15);
}

.t-shdw {
    text-shadow: var(--txt-shadow);
}

/* ランダムアニメーション */
.animation-random .random{
	opacity: 0;
	transition: opacity 3.0s ease-in-out ;

}
.animation-random.a-random .random{
	opacity: 1;
}
.animation-random .random:nth-of-type(1){ transition-delay: 0.1s;}
.animation-random .random:nth-of-type(2){ transition-delay: 0.8s;}
.animation-random .random:nth-of-type(3){ transition-delay: 0.5s;}
.animation-random .random:nth-of-type(4){ transition-delay: 0.6s;}
.animation-random .random:nth-of-type(5){ transition-delay: 0.2s;}
.animation-random .random:nth-of-type(6){ transition-delay: 0.7s;}
.animation-random .random:nth-of-type(7){ transition-delay: 0.8s;}
.animation-random .random:nth-of-type(8){ transition-delay: 0.5s;}
.animation-random .random:nth-of-type(9){ transition-delay: 0.2s;}
.animation-random .random:nth-of-type(10){ transition-delay: 0.7s;}
.animation-random .random:nth-of-type(11){ transition-delay: 0.8s;}
.animation-random .random:nth-of-type(12){ transition-delay: 0.6s;}
.animation-random .random:nth-of-type(13){ transition-delay: 0.5s;}
.animation-random .random:nth-of-type(14){ transition-delay: 0.2s;}
.animation-random .random:nth-of-type(15){ transition-delay: 0.7s;}
.animation-random .random:nth-of-type(16){ transition-delay: 0.8s;}
.animation-random .random:nth-of-type(17){ transition-delay: 0.6s;}
.animation-random .random:nth-of-type(18){ transition-delay: 0.2s;}
.animation-random .random:nth-of-type(19){ transition-delay: 0.7s;}
.animation-random .random:nth-of-type(20){ transition-delay: 0.8s;}
.animation-random .random:nth-of-type(21){ transition-delay: 0.6s;}

.lb-img {
    width: auto;
    height: 100vh;
}
/* ページトップボタン */
/* .pagetop {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 15px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: 50%;
    opacity: 1;
    box-shadow: 0 0 8px var(--color-accent);
}

.pagetop::before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    border-top: 3px solid var(--color-white);
    border-right: 3px solid var(--color-white);
    translate: 0 20%;
    rotate: -45deg;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
}

.pagetop:hover {
    transition: all var(--duration);
} */

/* ホバー制御 */
@media (hover: hover) and (pointer: fine) {

    .pagetop a:hover,
    .banner a:hover {
        opacity: 0.7;
    }

    .room-link a:hover {
        color: var(--color-accent);
    }
}

@media (hover: none) or (pointer: coarse) {
    /* タッチデバイスでの即時反応 */
    .btn-primary:active,
    .btn-secondary:active,
    .pagetop a:hover{
        opacity: 1;
    }

    .room-link a:active {
        background-color: rgba(153, 153, 153, 0.3);
    }
}

/* アニメーションキーフレームーーーーーーーーーー
ーーーーーーーーーーーーーーーーーーーーーー */
/* MVズームアウト */
@keyframes mvZoomOut {
    from {
        transform: scale(1.15);
    }
    to {
        transform: scale(1);
    }
}

  /* MVスクロール線のアニメーション */
@keyframes scroll {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }
    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }
    51% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }
    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}

/* フェードアップ */
.f-up {
    opacity: 0;
}

.f-up.fadeup {
    opacity: 1;
    animation: fadeupanime 1.5s ease-in-out forwards;
}

@keyframes fadeupanime {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.f-in {
    opacity: 0;
}

.f-in.fadein {
    opacity: 1;
    animation: fadeIn 2.5s ease-in-out forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInL {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}


@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translate(-8%, -50%);
    }
    50% {
        opacity: 0.6;
        transform: translate(0%, -50%);
    }
    100% {
        opacity: 0;
        transform: translate(8%,-50%);
    }
}

/* TOPドアアニメーション */
.top-door {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 1;
    z-index: 9990;
    display: flex;
    width: 100%;
    height: 100vh;
    transition: all 0.8s ease-out;

}

.door-r img {
    transform: scaleX(-1);
}

.door-l.door-open{
    animation: door-left 3.5s    forwards ;
}

.door-r.door-open{
    animation: door-right 3.5s    forwards ;
}

.door-after.door-open {
    animation: logo-fade 3.5s     forwards ;
}

  /* ドア自体はクリックイベントを受け取るために pointer-events を戻す */
.door-l, 
.door-r,
.door-after {
    pointer-events: auto;
}

.door-on {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9991;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.door-on-logo {
    width: 500px;
    padding: 60px;
    margin: 0 auto;
}
.door-on-mess {
    font-size: 1.5rem;
    animation: blink-fade 3s infinite;
    margin: 0 auto;
}




/* アニメーションキーフレームーーーーーーーーーー
ーーーーーーーーーーーーーーーーーーーーーー */
@keyframes door-left {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
    }
}
@keyframes door-right {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
    }
}
@keyframes blink-fade {
    0%,100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}
@keyframes logo-fade {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}







/*
header
----------------------------------------------------------- */
.header {
    background: url(../img/moyou-bg.svg);
    background-size: 150%;
    max-width: 100%;
    height: 100px;
    background-repeat: repeat-x;
    z-index: 100;
    position: sticky;
    top: 0;
}

/* .main-v::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background:linear-gradient(rgba(34,34,102,1) 10%,rgba(34,34,102,0));
    width: 100%;
    height: 150px;
    z-index: 99;
} */

.header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

/* ロゴ */
.logo img {
    width: 180px;
    height: auto;
    padding: 5px;
    transition: 300ms;
}

.logo img:hover,
.nav-list a:hover {
    scale: 1.05;
}

.nav-link {
    display: block;
    font-size: 1.3rem;
}

.nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.nav-list li{
    color: #fff;
    padding: 0 45px;
}

.nav-list li+li {
    color: var(--color-white);
    border-left: 1px solid #fff;
}

.menu,
.menu-arw {
    display: none;
}

/* ナビメニューアニメーション */
.nav-list li a {
    position: relative;
    display: inline-block;
}

.nav-list li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 6px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.nav-list li a:hover::after {
    transform: scaleX(1);
}

.nav-list li a:hover::after:active {
    scale: 0.95;
}


/* メインビジュアル ーーーーーーーーーーーーーーーーーーーーー*/
.mv {
    height: calc(101vh - 100px);
    position: relative;
    overflow: hidden;
}

.main-v {
    height: 100%;
}

.main-v img {
    width: 100%;
    height: calc(100vh - 100px);
    object-fit: cover;
    transform: scale(1);
}

/* スライダー関連 */
.slider {
    margin-bottom: var(--space-45);
}

.slider img {
    width: 100%;
    margin: 0 auto;
}

.main-v .slick-active img {
    animation: mvZoomOut 6s ease-out forwards;
}

/* スライダードット */
.dots-wrap {
    display: flex;
    justify-content: space-between;
}

.dots-wrap li {
    width: 100%;
    height: 10px;
    background: var(--color-black);
    cursor: pointer;
    margin: 0;
}

.dots-wrap li:hover,
.dots-wrap li.slick-active {
    background: var(--color-accent);
}

.dots-wrap li button {
    display: none;
    appearance: none;
    outline: none;
    background-color: transparent;
}

/* キャッチコピー */
.catchcopy {
    position: absolute;
    bottom: 55%;
    left: 50%;
    transform: translate(-50%, 50%);
}

.catchcopy p {
    writing-mode: vertical-rl;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(30, 30, 30, 0.8),
                -1px -1px 5px rgba(30, 30, 30, 0.8),
                1px -1px 5px rgba(30, 30, 30, 0.8),
                -1px 1px 5px rgba(30, 30, 30, 0.8),
                2px 2px 10px rgba(30, 30, 30, 0.5),
                -2px -2px 10px rgba(30, 30, 30, 0.5),
                2px -2px 10px rgba(30, 30, 30, 0.5),
                -2px 2px 10px rgba(30, 30, 30, 0.5);

}

/* スクロールダウンの位置 */
.scroll {
    position: absolute;
    right: 50%;
    bottom: 90px;
    writing-mode: vertical-rl;
    text-shadow: 0 0 3px #000;
}

/* 線のアニメーション部分 */
.scroll::before {
    animation: scroll 2s infinite;
    background-color: #fff;
    bottom: -100px;
    content: "";
    height: 85px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    width: 1px;
}

/* セクション１ バナー ーーーーーーーーーーーーーーーーーーーーー*/
.banner {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 30px;
}

.banner a img {
    border: 1px solid var(--color-primary);
}

.banner.f-up:nth-child(1){transition-delay: 0.0s;}
.banner.f-up:nth-child(2){transition-delay: 0.5s;}
.banner.f-up:nth-child(3){transition-delay: 1.0s;}

/* セクション アバウト ーーーーーーーーーーーーーーーーーーー*/
.about-00 {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: var(--space-120) var(--space-30);
    background-attachment: fixed;
    background-image: url(../img/about-img.webp) ;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;

}

.about-ttl {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    margin-bottom: var(--space-30);
}

.about-ttl::after {
    content: "";
    position: absolute;
    right: -30px;
    left: -30px;
    bottom: -8px;
    height: 3px;
    box-shadow: 0 0 16px var(--color-accent);
    background-image:linear-gradient(
        to right,
        rgba(170, 153, 51,0.0) 0%,
        rgba(170, 153, 51,1) 25%,
        rgba(170, 153, 51,1) 75%,
        rgba(170, 153, 51,0.0) 100%);
    z-index: 1;
}

.about-txt {
    letter-spacing: 0.2em;
    text-shadow: 0 0 2px #000, 0 0 5px #000;
}



/* セクション２ ーーーーーーーーーーーーーーーーーーーーー*/
.main-img {
    width: 60%;
    height: auto;
    margin: 0;
}

.main-txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40%;
    gap: var(--space-60);
}

.main-txt p{
    width: 80%;
    letter-spacing: 0.2em;
}

.main-01,
.main-02,
.main-03 {
    display: flex;
    gap: var(--space-45);
    margin-bottom: var(--space-150);
}

.main-02 {
    flex-direction: row-reverse;
}

.main-01 img,
.main-02 img,
.main-03 img {
    box-shadow: 8px 8px 12px #a93;
}

.cont-ttl {
    position: relative;
    display: inline-block;
    font-size: 2rem;
}
.cont-ttl::after {
    content: "";
    position: absolute;
    right: -30px;
    left: -30px;
    bottom: -8px;
    height: 3px;
    box-shadow: 0 0 8px #a93;
    background-image:linear-gradient(
        to right,
        rgba(170, 153, 51,0.0) -5%,
        rgba(170, 153, 51,1) 30%,
        rgba(170, 153, 51,1) 70%,
        rgba(170, 153, 51,0.0) 105%);
    z-index: -1;
}

/* 問い合わせ ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.top-info.pc-top-info {
    display: none;
    background: url(../img/moyou-bg.svg);
    background-size: 150%;
    position: fixed;
    width: 400px;
    height: auto;
    bottom: 50px;
    right: 15px;
    z-index: 999;
    border-radius: 16px;
    opacity: 1;
    margin-bottom: 0;
    
}

.nav-info {
    display: none;
}

.info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 10px;
    border: 1px solid var(--color-accent);
    border-radius: 6px;
}

.info-phone {
    text-align: center;
    line-height: 1.4;
    margin: 0 auto;
    padding-bottom: var(--space-30);
}

.info-link {
    display: flex;
    flex-direction: column;
}

.info-link img {
    margin-bottom: var(--space-30);
    width: 300px;
}

.p1 {
    font-size: 1.2rem;
}

.p2 {
    font-size: 2.5rem;
}
.btn-img {
    display: inline-block;
    transition: transform 0.2s ease;
}



.btn-img:hover {
    scale: 1.02;
}

/* クリック時：沈む */
.btn-img:active {
    scale: 0.97;
}


/* フッター ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.footer {
    background: url(../img/moyou-bg.svg);
    background-size: 150%;
    width: 100%;
    position: relative;
}

.footer-nav .nav-list{
    justify-content: center;
}

.footer-nav {
    width: 100%;
    padding: var(--space-30) 0;
    margin: 0 auto;
}

.address{
    margin-bottom: var(--space-30);
    align-items: center;
}

.address img {
    width: 300px;
    padding-bottom: var(--space-30);
}

address {
    text-align: center;
}

.copyright {
    background-color: #333;
    color: var(--color-white);
    padding: 5px 0;
    text-align: center;
}

.scroll-rel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.scroll-anim {
    position: absolute;
    width: 100%;
    height: 300px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: fadeInLeft 15.0s linear infinite;
}

/* 客室ページ ーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.ancor {
    padding-top: 100px;
}

.r-sec-01 {
    margin-top: var(--space-60);
    margin-bottom: 0;
}


.r-main-v {
    margin-bottom: var(--space-60);
}

.room-ttl {
    position: relative;
    text-shadow: 8px 8px 8px rgba(0, 0, 0, 0.8);
}



.room-ttl::after {
    content: "";
    position: absolute;
    left: 0;
    top: 70%;
    background-image: url(../img/acc-bg.png);
    background-size: 100%;
    width: 100%;
    height: 1em;
    z-index: -1;
    opacity: 0;
    transform-origin: left;
    transform: scaleX(0);
}
.room-ttl.fadeinle::after {
    animation: fadeInL 1.0s ease-in-out forwards;
}

.room-link-bg {
    background-attachment: fixed;
    background-image: url(../img/moyou-bg.svg) ;
    background-size: 180%;
    padding: 5px;
    width: 100%;
}

.room-link {
    display: flex;
    justify-content: space-between;
    padding: 5px 30px;
    margin: 15px;
    border-top: 1px solid var(--color-white);
    border-bottom: 1px solid var(--color-white);
    font-size: 1.5rem;
}

.room-link li a {
    display: block;
}

.room-ul {
    list-style: inside;
    list-style-type: disc;
    padding: var(--space-15) 0;
    font-size: 14px;
    line-height: 1.7;
}

.room-ul.list-2col {
    border-bottom: 1px solid var(--color-white);
}

.list-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--space-45);
    row-gap: var(--space-15);
    font-size: 1rem;
}

.floor-plan {
    display: flex;
    gap: var(--space-45);
    align-items: flex-end;
}

.f-small {
    font-size: 14px;
    padding-bottom: 15px;
}

.madori {
    text-align: center;
}

.madori,
.plan-link {
    width: 50%;
}

.floor-plan img {
    background: #fff;
}

.pl-txt {
    margin-bottom: var(--space-30);
}

.room-photo {
    width: 100%;
}

.room-photo img {
    margin-bottom: var(--space-45);
}

.room01 {
    display: flex;
    gap: var(--space-45);
    flex-direction: row-reverse;
}

.page-ttl,
.li-ttl {
    margin-bottom: var(--space-30);
}

.room-dat,
.floor-plan {
    margin-bottom: var(--space-60);
}

.sp-rmv {
    display: none;
}

.f-large {
    font-size: 5rem;
}

/* 温泉ページ */
.hs-sec01 {
    margin-bottom: var(--space-60);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hs-cont-ttl {
    text-align: center;
    margin-bottom: var(--space-30);
}

.gridbox {
    display: grid;
}

.hotsprings-grid {
    grid-template-columns: [key] minmax(7.5em, min-content)[value] 1fr;
    max-width: 800px;
    row-gap: var(--space-15);
    margin: 0 auto;
}

.hotsprings-grid dt {
    grid-column: key;
}

.hotsprings-grid dd {
    grid-column: value;
}



.hotsprings-table {
    padding: var(--space-15);
    border-collapse: collapse;
    text-align: center;
    line-height: 1.5;
    border: 2px solid var(--color-bg2, #a93);
    width: 100%;
}

.hotsprings-table th,
.hotsprings-table td {
    padding: var(--space-15);
    border-collapse: collapse;
    align-content: center;
    border: 2px solid var(--color-bg2, #a93);
    text-align: center;
}

.hs-times p {
    padding-bottom: 0.5em;
    line-height: 1.7;
}

/* 予約ページ ーーーーーーーーーーーーーーーーーーー*/
.plan-cont {
    display: flex;
    justify-content: space-between;
    margin: var(--space-30) auto;
    gap: var(--space-30);
    padding: 0 var(--space-30);
}

.booking-area,
.sort-area {
    background: #ccc;
    padding-bottom: var(--space-15);
    margin-bottom: var(--space-30);
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    border: 1px solid #999;
}

.booking-icon,
.sort-icon {
    font-size: 2rem;
    margin: var(--space-30) auto;
    text-align: center;
    line-height: 1.5;
}


.sidebar {
    color: var(--color-black);
    width: 30%;

}

.inputcalendar {
    margin-bottom: 30px;
}

.inputcalendar-ttl {
    padding-bottom: var(--space-15);
}

.wpcf7-form-control-wrap {
    padding: 8px;
    border: 1px solid #999;
    border-radius: 3px;
    margin: 30px auto;
    width: 85%;
    background-color: var(--color-white);
}

.inputcalendar input {
    padding: 8px;
    border: 1px solid #999;
    border-radius: 3px;
    margin: 0 auto;
    width: 85%;
    background-color: var(--color-white);
}



.cb-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* inputは機能だけ */
.cb-box input {
    position: absolute;
    opacity: 0;
}

/* ボックス */
.cb-box span {
    width: 20px;
    height: 20px;
    border: 1.5px solid #999;
    border-radius: 3px;
    position: relative;
    box-sizing: border-box;
    background: var(--color-white);
}

/* チェックマーク（高精度） */
.cb-box input:checked + span::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 6px;
    width: 10px;
    height: 6px;
    border-left: 2.5px solid #226;
    border-bottom: 2.5px solid #226;
    transform: rotate(-45deg);
    transform-origin: left top;
}



.select-box {
    padding: 8px;
    border: 1px solid #999;
    border-radius: 3px;
    background: var(--color-white);
    margin-left: var(--space-15);
}

.selecter {
    display: flex;
    align-items: center;
}



.sort-container {
    display: flex;
    flex-direction: column;
}

.plan {
    width: 70%;
}

.plan-dat {
    padding: var(--space-30);
    border: 1px solid #999;
    border-radius: 8px;
    color: var(--color-black);
    background-color: var(--color-white);
    margin-bottom: var(--space-45);
}

.plan-ttl {
    font-size: 1.5rem;
    padding-bottom: 30px;
}

.plan-ttl span {
    font-weight: 600;
}

.plan-fcon {
    display: flex;
    gap: var(--space-45);
    border-bottom: var(--space-45);
}

.plan-fcon img {
    width: 300px;
    margin: 0;
    object-fit: cover;
}
.plan-txt {
    font-size: 1rem;
    line-height: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.font-la {
    font-size: 1.5rem;
}

.plan-btn {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.select-btn {
    align-items: flex-end;
}

/* ページネーション全体のスタイル */
.pagination-info {
    text-align: center;
    margin-top: var(--space-45);
    margin-bottom: var(--space-15);
    color: var(--color-black); /* 予約ページは白背景のため */
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-60);
}

.pagination-list {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pager-btn, .pager-num {
    display: inline-block;
    padding: 12px 16px;
    border: 1px solid #999;
    border-radius: 4px;
    background-color: var(--color-white);
    color: var(--color-black);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

/* 現在のページ番号 */
.pager-num.current {
    background-color: #eee;
    font-weight: bold;
    border-color: #666;
}

/* ホバー時 */
.pager-btn:hover {
    background-color: #f5f5f5;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-search {
    width: 100%;
    height: auto;
}

.linkcalendar {
    text-align: center;
}

.linkcalendar a {
    text-decoration: #006ad6;
}

/* カレンダー内の在庫表示用スタイル */
.flatpickr-day {
    height: 48px;
    line-height: 24px;
}
.room-status {
    display: block;
    font-size: 10px;
    margin-top: -5px;
    pointer-events: none;
}
.is-available {
    color: var(--color-link);
} /* 既存変数の青を使用 */

.is-full {
    color: #d33; font-weight: bold;
}

/* 入力不可時のスタイル */
.inputchecknum:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* モーダル背景 */
#calendar-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7); /* 背景を暗く */
}

/* モーダル中身 */
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    border-radius: 8px;
}

/* 閉じるボタン */
.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}

/* Booking Package内のカレンダーの微調整 */
#calendar-modal .booking-package {
    max-height: 80vh;
    overflow-y: auto;
}

/* 枠組みを横並びにする */
.pagination-list .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
}

/* 各ボタン（数字や前後へ）の共通デザイン */
.pagination-list .page-numbers {
    display: inline-block;
    padding: 15px 12px;
    border: 1px solid #333;
    text-decoration: none;
    color: #333;
    font-size: 0.8rem;
    min-width: 45px;
    text-align: center;
    transition: all 0.3s;
}

/* 現在表示しているページの数字（カレント） */
.pagination-list .page-numbers.current {
    background-color: #333;
    color: #fff;
}

/* ホバーした時 */
.pagination-list .page-numbers:hover:not(.current) {
    background-color: #eee;
}

#ui-datepicker-div {
    z-index: 9999 ;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: "Source Han Serif JP", serif; /* サイトのフォントに合わせる */
}

/* 選択された日の色を旅館のアクセントカラーに */
.ui-state-highlight, .ui-widget-content .ui-state-highlight {
    background: #f0f0f0 ;
    border-color: #ccc ;
}
.ui-state-active, .ui-widget-content .ui-state-active {
    background: #202661 ; /* ボタンと同じ紺色 */
    color: #fff ;
}



@media screen and (max-width:1199px) {
    /* ハンバーガーメニュー（TB） */
    .menu {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
        width: 40px;
        height: 30px;
    }

    .menu-arw {
        display: block;
        width: 25px;
        height: 25px;
    }

    .menu span {
        display: block;
        height: 3px;
        background: #fff;
        position: absolute;
        width: 100%;
        left: 0;
        transition: 0.5s ease-in-out;
        border-radius: 3px;
    }

    .menu span:nth-child(1) {
        top: 3px;
    }

    .menu span:nth-child(2) {
        top: 15px;
    }

    .menu span:nth-child(3) {
        top: 27px;
    }

    .open .menu span:nth-child(1) {
        top: 12px;
        rotate: 135deg;
    }

    .open .menu span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .open .menu span:nth-child(3) {
        top: 12px;
        rotate: -135deg;
    }

    .plan-cont {
        flex-direction: column;
        margin: var(--space-30) auto;
    }

    .sidebar {
        width: 100%;
    }



    .select-container {
        display: flex;
        align-items: center;
        gap: var(--space-30);
    }

    .select-container .inputcalendar-ttl {
        padding-bottom: 0;
    }

    .plan {
        width: 100%;
    }

    .top-info {
        display: none;
    }

    .nav-info {
        background: url(../img/moyou-bg.svg);
        background-size: 150%;
        display: block;
        padding-bottom: auto;
        border-top: 3px solid #fff;
    }

    .info {
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
    }

    .info-phone {
        display: flex;
        gap: var(--space-30);
        align-items: center;
        justify-content: center;
    }

    .info-link {
        flex-direction: row;
    }

    .p1 {
        font-size: 1.5rem;
    }

    .p2 {
        font-size: 2rem;
    }

    .nav-list .nav-link {
        background: url(../img/arrow001.png) no-repeat center left;
        background-size: auto 60%;
        padding-left: 3rem;
    }

    .nav-list > li {
        font-size: 2rem;
        padding: 15px 0 15px 15% ;
        width: 100%;
        text-align: left;
        background: url(../img/moyou-bg.svg);
        border-top: solid 3px #fff;
    }

    .top-door {
        display: none;
    }

}

/* TBーーーーーーーーーーーーーーーーーーーーーーーー

ーーーーーーーーーーーーーーーーーーーーーーーーー */

@media screen and (min-width: 768px) and (max-width:1199px) {
    .page-ttl,
    .room-ttl {
        font-size: 2rem;
        padding-left: var(--space-15);
    }

    /* レイアウト */
    .wrapper {
        max-width: 100%;
    }

    /* ヘッダー */
    .header {
        height: 100px;
    }
    
    .main-v::before {
        height: 75px;
    }
    
    /* ナビゲーションメニュー（TB） */
    .nav {
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        display: none;
    }

    .nav-list {
        width: 100%;
        flex-direction: column;
    }




    /* メインビジュアル */

    .mv {
        height: calc(100vh - 100px);
    }

    .main-v {
        height: 100%;
    }

    .main-v img {
        width: 100%;
        height: calc(100vh - 100px);
        object-fit: cover;
    }

    /* バナー */
    .banner {
        display: block;
    }

    .banner a img {
        max-width: 700px;
        margin-bottom: var(--space-15);
    }

    /* セクション０２ */
    .main-img {
        width: 95%;
        padding-bottom: 0;
    }

    .main-txt {
        padding: 0 var(--space-45);
        padding-bottom: var(--space-45);
        width: 100%;
    }

    .main-txt p {
        padding-bottom: var(--space-15);
    }

    .main-01,
    .main-02,
    .main-03 {
        flex-direction: column;
        align-items: center;
        margin-bottom: var(--space-60);
    }

    /* 問い合わせ ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/


    .info-phone {
        width: 100%;
        padding: var(--space-15) 0;
    }

    .info-link{
        flex-direction: row;
        justify-content: center;
        gap: var(--space-45);
        width: 100%;
    }


    /* フッター ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
    .footer-nav {
        display: none;
    }

    .address img {
        padding: 30px;
    }

    /* 客室ページ ーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
    .r-sec-01 {
        margin-top: var(--space-60);
    }

    .f-large {
        font-size: 3.5rem;
    }

    .r-main-v {
        margin-bottom: var(--space-30);
    }

    .room-link {
        padding: 5px 15px;
        margin: 15px;
        font-size: 1.2rem;
    }

    .room-link li {
        padding: 15px 0;
    }

    .list-2col {
        column-gap: var(--space-30);
        row-gap: var(--space-15);
    }

    .floor-plan {
        gap: var(--space-30);
    }

    .pl-txt {
        margin-bottom: var(--space-15);
    }

    .room-photo {
        display: flex;
        gap: var(--space-30);
    }

    .room-photo img {
        margin-bottom: var(--space-45);
    }

    .room01 {
        gap: var(--space-30);
        display: block;
    }

    .page-ttl,
    .li-ttl {
        margin-bottom: var(--space-15);
    }

    .room-dat,
    .floor-plan {
        margin-bottom: var(--space-60);
    }

    .sp-rmv {
        display: none;
    }

    .inputcalendar-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .sort-container {
        display: flex;
        flex-direction: row;
    }
}





/* SP ーーーーーーーーーーーーーーーーーーーーーーーーーー

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/

@media screen and (max-width:767px) {

    /* ベース ーーーーーーーーーーーーーーーーーーーー*/
    body {
        font-size: 1rem;
    }

    /* レイアウト ーーーーーーーーーーーーーーーーーーー*/
    .wrapper {
        max-width: 100%;
    }

    .page-ttl,
    .room-ttl {
        font-size: 1rem;
        padding-left: var(--space-15);
    }

    /* ヘッダー */
    .header {
        height: 100px;
    }
    
    .main-v::before {
        height: 100px;
    }
    
        /* ナビゲーション（SP） */
    .nav {
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        display: none;
    }

    .nav-list {
        width: 100%;
        
        flex-direction: column;
    }

    .nav-link {
        background: url(../img/arrow001.png) no-repeat center left;
        background-size: auto 60%;
        padding-left: 2rem;
    }

    .nav-list > li {
        font-size: 1.5rem;
    }


    /* メインビジュアル ーーーーーーーーーーーーーーーーーーーーーー*/
    .mv {
        height: calc(100svh - 100px);
        position: relative;
        overflow-x: hidden;
    }
    
    .main-v {
        height: 100%;
    }
    
    .main-v img {
        width: auto;
        height: 100vh;
        object-fit: cover;
        object-position: center;
    }
    
    /* キャッチコピー */
    .catchcopy p {
        font-size: 1rem;
    }

    .scroll {
        right: 55%;
    }

    /* バナー */
    .banner {
        display: block;
    }

    .banner a img{
        width: 100%;
        margin-bottom: var(--space-15);
    }

    /* アバウト */
    .about-ttl {
        font-size: 1.5rem;
    }

    .about-00 p {
        width: 60%;
        margin: 0 auto;
        }

    /* セクション０２ ーーーーーーーーーーーーーーーー*/
    .main-img {
        width: 95%;
        padding-bottom: 0;
    }
    
    .main-txt {
        width: 100%;
        gap: var(--space-30);
    }

    .main-txt p {
        padding-bottom: var(--space-15);
        width: 250px;
    }
    
    .main-txt h2{
        font-size: 1.5rem;

    }
    
    .main-01,
    .main-02,
    .main-03 {
        flex-direction: column;
        align-items: center;
        margin-bottom: var(--space-45);
    }



    /* 問い合わせ ーーーーーーーーーーーーーーーーーーーーーー*/

    .info-phone {
        width: 100%;
        padding: var(--space-15) 0;
        flex-direction: column;
        gap: 0;
    }

    .p1 {
        font-size: 1rem;
    }


    .info-link{
        align-items: center;
        padding-bottom: var(--space-15);
        width: 100%;
    }

    .info-link img {
        margin: auto;
        height: auto;
        width: 80%;
    }

    /* フッター ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
    .footer-nav {
        display: none;
    }

    .address img {
        width: 150px;
        padding: var(--space-30) 0 ;
    }

    .address {
        margin-bottom: var(--space-60);
    }

    .scroll-anim {
        height: 200px;
    }

        /* 客室ページ ーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
    .r-sec-01 {
        margin-top: var(--space-60);
    }



    .f-large,
    .f-large-t {
        font-size: 1.6rem;
    }
    .r-main-v {
        margin-bottom: var(--space-45);
    }

    .room-link {
        padding: 5px 15px;
        margin: 15px;
        flex-direction: column;
        font-size: 1.2rem;
    }

    .room-link li {
        padding: 15px 0;
    }

    .list-2col {
        column-gap: var(--space-30);
        row-gap: var(--space-15);
    }

    .floor-plan {
        gap: var(--space-30);
    }

    .pl-txt {
        margin-bottom: var(--space-15);
    }

    .room-photo img {
        margin-bottom: var(--space-45);
    }

    .room-photo {
        display: none;
    }

    .room01 {
        gap: var(--space-30);
    }

    .page-ttl,
    .li-ttl {
        margin-bottom: var(--space-15);
    }

    .room-dat,
    .floor-plan {
        margin-bottom: var(--space-60);
    }

    .r-main-v {
        display: none;
    }

    .sp-rmv {
        display: block;
    }

    /* 温泉ページ */
.hs-main-v {
    width: 100%;
}

    .gridbox {
        display: block;
    }

    .hotsprings-grid dt {
        padding-bottom: var(--space-15);
    }

    .hs-cont-ttl {
        font-size: 1.6rem;
    }

    .hs-times p {
        padding-bottom: var(--space-15);
        line-height: 1.7;
    }

    /* 予約ページ */
    .plan-cont {
        margin: var(--space-15) auto;
        gap: var(--space-15);
        padding: 0 var(--space-15);
    }

    .plan-dat {
        margin-bottom: var(--space-30);
    }

    .pagination-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    .pager-btn {
        padding: 12px 8px;
        font-size: 0.7rem;
    }

    .inputcalendar-container {
        display: block;
    }

    .plan-fcon {
        flex-direction: column;
        gap: var(--space-15);
    }

    .pagination-container {
        width: 100%;
        margin-bottom: var(--space-60);
    }

    .sort-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .plan-btn {
        font-size: 0.8rem;
        gap: var(--space-15);
        word-break: break-all;
    }

    .plan-dat {
        padding: var(--space-15);
    }

    .pagination-list .page-numbers {
        padding: 10px 8px;
        font-size: 0.7rem;
        min-width: 35px;
    }

}