@charset "utf-8";


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

.hero {
    position: relative;
    /* 基準点 */
    height: 100vh;
    overflow: hidden;
}

.btn {
    display: inline-block;
    padding: 13px 20px;
    color: #fff;
    text-decoration: none;
    position: relative;
    background: transparent;
    border: 1px solid #e1e1e1;
    font: 12px/1.2 "Oswald", sans-serif;
    letter-spacing: 0.4em;
    text-align: center;
    text-indent: 2px;
    text-transform: uppercase;
    transition: color 0.1s linear 0.05s;
}

.btn::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e1e1e1;
    z-index: 1;
    opacity: 0;
    transition: height 0.2s ease, top 0.2s ease, opacity 0s linear 0.2s;
}

.btn::after {
    transition: border 0.1s linear 0.05s;
}

.btn .btn-inner {
    position: relative;
    z-index: 2;
    color: #fff;
}

.btn .btn-inner:hover {
    color: #333;
}

.btn:hover {
    color: #373737;
    transition: color 0.1s linear 0s;
}

.btn:hover::before {
    top: 0;
    height: 100%;
    opacity: 1;
    transition: height 0.2s ease, top 0.2s ease, opacity 0s linear 0s;
}

.btn:hover::after {
    border-color: #373737;
    transition: border 0.1s linear 0s;
}

.slideshow {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

.slideshow .slideshow-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slideshow .slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slideshow .slide {
    display: none;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slideshow .slide.is-active {
    display: block;
}

.slideshow .slide.is-loaded {
    opacity: 1;
}

.slideshow .slide .caption {
    padding: 0 100px;
}

.caption .float-wrapper {
    width: 300px;
}

.slideshow .slide .image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    z-index: 1;
    background-size: cover;
    image-rendering: optimizeQuality;
}

.slideshow .slide .image-container::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
}

.slideshow .slide .image {
    width: 100%;
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.slideshow .slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slideshow .slide .title {
    margin: 0 auto 15px;
    max-width: 1000px;
    font: 500 50px/1.2 "Oswald", sans-serif;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #fff;
}

.slideshow .slide .text {
    margin: 0 auto;
    max-width: 1000px;
    font-size: 18px;
    line-height: 1.4;
}

.slideshow .slide .text p {
    color: #fff;
}

.slideshow .slide .btn {
    margin: 15px 0 0;
    border-color: #fff;
}

.slideshow .slide .btn::before {
    background: #fff;
}

.slideshow .pagination {
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 100%;
    height: 12px;
    cursor: default;
    z-index: 2;
    text-align: center;
}

.slideshow .pagination .item {
    display: inline-block;
    padding: 15px 5px;
    position: relative;
    width: 46px;
    height: 32px;
    cursor: pointer;
    text-indent: -999em;
    z-index: 1;
}

.slideshow .pagination .item+.page {
    margin-left: -2px;
}

.slideshow .pagination .item::before {
    content: "";
    display: block;
    position: absolute;
    top: 15px;
    left: 5px;
    width: 36px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.2s ease;
}

.slideshow .pagination .item::after {
    width: 0;
    background: #fff;
    z-index: 2;
    transition: width 0.2s ease;
}

.slideshow .pagination .item:hover::before,
.slideshow .pagination .item.is-active::before {
    background-color: #fff;
}

.slideshow .arrows .arrow {
    margin: -33px 0 0;
    padding: 20px;
    position: absolute;
    top: 50%;
    cursor: pointer;
    z-index: 3;
}

.slideshow .arrows .prev {
    left: 30px;
}

.slideshow .arrows .prev:hover .svg {
    left: -10px;
}

.slideshow .arrows .next {
    right: 30px;
}

.slideshow .arrows .next:hover .svg {
    left: 10px;
}

.slideshow .arrows .svg {
    position: relative;
    left: 0;
    width: 14px;
    height: 26px;
    fill: #fff;
    transition: left 0.2s ease;
}

/* ======================================= */
/* トップのなみなみ */
/* ======================================= */

/* 波のコンテナ：横幅いっぱいで一番下に配置 */
.sample {
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 230px;
    /* 波の高さ */
    overflow: hidden;
    background-color: transparent;
    /* 背景は透明 */
    transform: scaleY(-1);
    /* 上下を反対にする */
    line-height: 0;
    z-index: 10;
}

/* SVGを横幅いっぱいに引き伸ばす */
.sample svg {
    width: 300%;
    /* アニメーションでスライドさせるための余白分 */
    height: 130%;
}

.sample svg path {
    /* fill（塗りつぶし）を透明にし、背景色と同じベージュにする */
    fill: #ffffff;
    animation: wave linear 4s infinite;
}

@keyframes wave {
    from {
        transform: translateX(0);
    }

    to {
        /* 300%の幅にしているので、左にスライドさせてループさせる */
        transform: translateX(-66.66%);
    }
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
/* スクロール */
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.container01 {
    height: 300px;
}

.scrollbar-text01 {
    display: inline-block;
    position: absolute;
    bottom: 0;
    padding: 10px 10px 110px;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    writing-mode: vertical-lr;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.scrollbar01 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1px;
    z-index: 20;

}

.scrollbar01::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1px;
    height: 100px;
    background: #333;
}

.scrollbar01::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    animation: circlemove 3s ease-in-out infinite,
        cirlemovehide 3s ease-out infinite;
}

@keyframes circlemove {
    0% {
        bottom: 95px;
    }

    100% {
        bottom: 0px;
    }
}

@keyframes cirlemovehide {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    80% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
    }
}




/* ======================================= */
/* 全体の白い丸 */
/* ======================================= */


/* 画面全体を覆う透明な箱 */
#steam-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* マウス操作を邪魔しない */
    z-index: 1;
}

/* 1つ1つの球体の設定 */
.steam-ball {
    position: absolute;
    background-image: url(../images/index/fuwa-blue.png);
    /* あなたの画像 */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    /* 最初は消しておく */
    animation: fluffy-up linear infinite;
    /* 下のアニメーションを実行 */
}

/* 下から上にふわ〜っと消える動き */
@keyframes fluffy-up {
    0% {
        transform: translateY(100vh) scale(0.5);
        /* 画面の下から小さく開始 */
        opacity: 0;
    }

    20% {
        opacity: 0.4;
        /* 途中で少し見える */
    }

    80% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-20vh) scale(1.2);
        /* 画面の上まで行って少し大きく */
        opacity: 0;
        /* 最後は消える */
    }
}

/* ======================================= */
/* 雲の装飾 */
/* ======================================= */

/* 共通設定 */
.fade-side {
    opacity: 0;
    transition: transform 1.2s ease-out, opacity 1.2s ease-out;
}

/* 左から来る画像：左側に100pxずらしておく */
.fade-left {
    position: absolute;
    top: -30%;
    left: -25%;
    transform: translateX(-100px);
}

.fade-left02 {
    position: absolute;
    top: -38%;
    left: -24%;
    transform: translateX(-100px);
}

/* 右から来る画像：右側に100pxずらしておく */
.fade-right01 {
    position: absolute;
    bottom: -30%;
    right: -25%;
    transform: translateX(100px);
    overflow: hidden;
}


/* 右から来る画像：右側に100pxずらしておく */
.fade-right02 {
    position: absolute;
    top: 110%;
    right: -20%;
    transform: translateX(100px);
}


/* アニメーション実行時のスタイル */
.fade-side.is-show {
    opacity: 1;
    transform: translateX(0);
}

/* ======================================= */
/* アヒル */
/* ======================================= */

.ahiru {
    position: absolute;
    top: -4%;
    right: -10%;
    transform: translateX(100px);
}

/* ======================================= */
/* 家族風呂の白い雲 */
/* ======================================= */

.f-kumo01 {
    position: absolute;
    top: -45%;
    left: -10%;
    transform: translateX(-100px);
}

.f-kumo02 {
    position: absolute;
    top: -45%;
    right: -10%;
    transform: translateX(100px);
}

.f-kumo03 {
    position: absolute;
    top: -83%;
    left: -12%;
    transform: translateX(-100px);
}





/* ======================================= */
/* なみなみ02(青) */
/* ======================================= */

.sample02 {
    overflow: hidden;
    background-color: transparent;
    transform: scaleY(-1);
    /* 上下反転（波が下向きになる） */
    /* 【変更】波を高く見せるために数値を大きく（例: 200px〜300px） */
    height: 300px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;


    /* 【重要2】position と z-index の設定 */
    position: relative;
    top: 252px;
    z-index: -2;
    /* 下の .family (z-index:1) より手前に表示して、つなぎ目を隠す */
}

.sample02 svg {
    display: block;
    /* 隙間防止 */
    width: 300%;
    height: 100%;
    /* 100%でOK（コンテナに合わせる） */
}

.sample02 svg path {

    fill: #EBF9FF;
    animation: wave linear 4s infinite;
}

@keyframes wave {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-66.66%);
    }
}


/* ======================================= */
/* なみなみ03(青) */
/* ======================================= */

.sample03 {
    overflow: hidden;
    background-color: #EBF9FF;
    transform: scaleY(-1);
    /* 上下反転（波が下向きになる） */
    /* 【変更】波を高く見せるために数値を大きく（例: 200px〜300px） */
    height: 150px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;


    /* 【重要2】position と z-index の設定 */
    position: relative;
    top: 0px;
    z-index: 9999;
    /* 下の .family (z-index:1) より手前に表示して、つなぎ目を隠す */
}

.sample03 svg {
    display: block;
    /* 隙間防止 */
    width: 300%;
    height: 100%;
    /* 100%でOK（コンテナに合わせる） */
}

.sample03 svg path {
    fill: #1A3C5E;
    animation: wave linear 4s infinite;

    /* ▼▼▼ 追加 ▼▼▼ */
    stroke: #1A3C5E;
    /* 塗りと同じ色 */
    stroke-width: 1px;
    /* 線幅。1pxで十分ですが、直らなければ2pxに */
    vector-effect: non-scaling-stroke;
    /* 拡大縮小しても線が細くなりすぎないようにする保険 */
}

@keyframes wave {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-66.66%);
    }
}


/* ======================================= */
/* なみなみ04(白) */
/* ======================================= */

.sample04 {
    overflow: hidden;
    background-color: transparent;
    transform: scaleY(-1);
    /* 上下反転（波が下向きになる） */
    /* 【変更】波を高く見せるために数値を大きく（例: 200px〜300px） */
    height: 150px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;


    /* 【重要2】position と z-index の設定 */
    position: relative;
    top: 1px;
    z-index: 10000;
    /* 下の .family (z-index:1) より手前に表示して、つなぎ目を隠す */
}

.sample04 svg {
    display: block;
    /* 隙間防止 */
    width: 300%;
    height: 130%;
    /* 100%でOK（コンテナに合わせる） */
}

.sample04 svg path {
    fill: #1A3C5E;
    animation: wave linear 4s infinite;

    /* ▼▼▼ 追加 ▼▼▼ */
    stroke: #1A3C5E;
    /* 塗りと同じ色 */
    stroke-width: 1px;
    /* 線幅。1pxで十分ですが、直らなければ2pxに */
    vector-effect: non-scaling-stroke;
    /* 拡大縮小しても線が細くなりすぎないようにする保険 */
}

@keyframes wave {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-66.66%);
    }
}





/* ======================================= */
/* 家族風呂（下の背景） */
/* ======================================= */

.family {
    background-color: #EBF9FF;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;


    /* 【重要3】波の下に潜り込ませるための設定 */
    position: relative;
    z-index: -2;
    /* 波より奥にする */

    /* 念のためパディングを入れて、内容が波に被らないようにする */
    padding-bottom: 1px;
}


/* ======================================= */
/*絵本の余白*/
/* ======================================= */
.family .bath-container {
    margin: 120px 0;
}


/* ======================================= */
/*お知らせ*/
/* ======================================= */



#news {
    margin: 50px 0;
    position: relative;
    /* overflow: hidden; を消すか、visibleにする */
    overflow: visible;

}

.news-section {
    margin: 0 auto;
}

.section-title {
    font-size: 58px;
    position: relative;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

/* グリッドレイアウト */
.news-grid {
    display: grid;
    /* 1fr（均等な幅）を3つ並べる。隙間は自動計算。 */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

}

.news-item {
    flex: 1;
    min-width: 280px;
}

.image-box img {
    width: 100%;
    height: auto;
    display: block;
}



.news-item:hover {
    transform: scale(0.95);
    transition: transform 0.5s ease, font-size 0.5s ease;

}

/* カテゴリと日付 */
.meta {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category {
    background-color: #221e1d;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    font-size: 16px;
}

.date {
    font-size: 0.9rem;
    color: #666;
}

.description {
    font-size: 15px;
    margin-bottom: 10px;
}


.onsen-content {
    position: relative;
    /* z-indexを有効にするため */
    z-index: 1;
    /* 画像（z-index:1）より大きい数字にして手前へ */
    display: flex;
    /* 横並びにする場合 */
    align-items: center;
    justify-content: center;
    gap: 20px;
}



/* ======================================= */
/* 温泉銭湯・家族風呂 */
/* ======================================= */
/* ======================================= */
/* レイアウト構造（2カラム設定） */
/* ======================================= */

.onsen-section01 {
    margin: 300px auto;
}

.onsen-section02 {
    margin: 220px auto;
}

.onsen-content {
    display: flex;
    /* 横並びにする */
    align-items: center;
    /* 上下中央揃え */
    justify-content: center;
    /* 左右中央寄せ */
    gap: 60px;
    /* 画像とテキストの間隔 */
}

/* --- 左側：スライドショーエリア --- */
.onsen-image {
    flex: 0 0 auto;
    /* サイズを固定（縮小させない） */
}


/* --- 右側：テキストエリア --- */
.onsen-text {
    flex: 1;
    /* 残りの幅を使う */
    min-width: 400px;
}

.onsen-main {
    display: flex;
    align-items: center;
    /* 垂直方向の中央揃え */
    gap: 15px;
    /* アイコンとテキストの間の余白 */
    margin-bottom: 20px;
}

.onsen-main img {
    width: 48px;
    object-fit: cover;
    /* 画像が歪まないように調整 */
}


.sub-title {
    font-size: 18px;
    color: #f06c00;
    /* アクセントカラー */
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.detail-text {
    font-size: 16px;
    color: #555;
    line-height: 2;
    margin-bottom: 35px;
}

/* ======================================= */
/* スライダーアニメーション設定（修正版） */
/* ======================================= */

/* 1. 表示エリア（マスク）の設定 */
.slider-container {
    width: 100%;
    height: 600px;
    /* ★重要: ここで表示したい高さを指定してください */
    overflow: hidden;
    /* 枠からはみ出した部分を隠す */
    position: relative;
}

/* 2. 動くレーンの設定 */
.slider-track {
    display: flex;
    flex-direction: column;
    /* 上から下へ並べる（逆転させない方が計算しやすいです） */
    /* アニメーション設定: 下から上へ動かす */
    animation: slideUp 60s infinite linear;
}

/* 3. リストの設定 */
.slider-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

/* 4. 画像の設定 */
.slider-item {
    width: 100%;
    margin-bottom: 10px;
    /* 画像ごとの隙間 */
    display: flex;
    justify-content: center;
}


/* ホバーで停止 */
.slider-container:hover .slider-track {
    animation-play-state: paused;
}

/* --- アニメーションの定義 --- */
@keyframes slideUp {
    0% {
        /* 開始位置: そのまま */
        transform: translateY(0%);
    }

    100% {
        /* 終了位置: 全体の高さの50%分（リスト1個分）上に移動 */
        /* これにより、リスト2がリスト1の位置に来た瞬間に0%に戻るためループして見えます */
        transform: translateY(-50%);
    }
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
/* 回る円01(左上) */
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.circle01 {
    position: absolute;
    top: -8%;
    left: -5%;
    transform: translate(-50%, -50%);
    width: 100px;
    /* ボタン(60px)より一回り大きく設定 */
    height: 100px;
    /* 正方形にする */
    z-index: 1;
}

.circle01 a {
    display: block;
    width: 100%;
    /* ボタンより大きく */
    height: 100%;
    text-decoration: none;

}

.circle01 svg {
    display: block;
    width: 100%;
    /* 親(aタグ)の幅いっぱいに広げる */
    height: 100%;
    /* 親(aタグ)の高さいっぱいに広げる */
    overflow: visible;
}

.circle01 path {
    filter: opacity(0);
}

.circle01 text {
    fill: #f06c00;
    text-shadow:
        0px 0px 10px #ffffff,
        0px 0px 20px #d5e6ff;
}


/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
/* 回る円02(右上) */
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.circle02 {
    position: absolute;
    top: -7%;
    left: 90%;
    transform: translate(-50%, -50%);
    width: 100px;
    /* ボタン(60px)より一回り大きく設定 */
    height: 100px;
    /* 正方形にする */
    z-index: 1;
}

.circle02 a {
    display: block;
    width: 100%;
    /* ボタンより大きく */
    height: 100%;
    text-decoration: none;

}

.circle02 svg {
    display: block;
    width: 100%;
    /* 親(aタグ)の幅いっぱいに広げる */
    height: 100%;
    /* 親(aタグ)の高さいっぱいに広げる */
    overflow: visible;
}

.circle02 path {
    filter: opacity(0);
}

.circle02 text {
    fill: #1170ff;
    text-shadow:
        0px 0px 10px #d5e6ff,
        0px 0px 20px #d5e6ff;
}


/* ======================================= */
/* 家族風呂用：下から上へのスライダー設定 */
/* ======================================= */


/* 2. 動くレーンの設定（下から上へ） */
.slider-track-up {
    display: flex;
    flex-direction: column;
    /* 画像リストを縦に積む */
    width: 100%;
    /* アニメーション設定：slideUpAnimation を実行 */
    /* 30s は速さです。数字を大きくすると遅くなります */
    animation: slideUpAnimation02 60s infinite linear;
}

/* 3. リストのスタイル解除 */
.slider-list02 {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    /* 念のため縦並び指定 */
    width: 100%;
}

/* 4. 画像アイテムの設定 */
.slider-item {
    width: 100%;
    margin-bottom: 10px;
    /* 画像ごとの隙間 */
    display: flex;
    justify-content: center;
    /* 中央寄せ */
}


/* ホバー（マウスを乗せた時）で停止させる場合 */
.slider-container:hover .slider-track-up {
    animation-play-state: paused;
}

/* --- アニメーションの定義 --- */
@keyframes slideUpAnimation02 {
    0% {
        /* スタート位置：そのまま */
        transform: translateY(0%);
    }

    100% {
        /* 終了位置：全体の高さの50%（＝リスト1セット分）だけ上に移動 */
        /* これにより、2セット目が1セット目の位置に来た瞬間にループします */
        transform: translateY(-50%);
    }
}

/* ======================================= */
/* 温泉銭湯・家族風呂 */
/* ======================================= */


#family {
    position: relative;

}



/* ======================================= */
/* 女性たちのイラスト*/
/* ======================================= */

.family-img {

    position: absolute;
    top: 261px;
    /* 親要素より少し上へ */
    left: -307px;
    /* 親要素より右側へ突き出させる */
    width: 310px;
    height: 150px;
    z-index: 1;
    /* 重なり順を低く設定 */
    /* 数字を小さくして奥へ */
    pointer-events: none;
    /* 画像がリンクなどのクリックを邪魔しないようにする */

    object-fit: cover;


}


/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
/* ボタン */
/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.button {
    width: 100%;
}

.button a {
    background: #333;
    border-radius: 9999px;
    position: relative;
    display: flex;

    /* ▼▼▼ 変更点: 文字配置 ▼▼▼ */
    /* 文字数に関係なく中央に置くため center に変更 */
    justify-content: center;
    align-items: center;

    /* ▼▼▼ 変更点: サイズ固定設定 ▼▼▼ */
    width: 100%;
    /* 親要素の幅いっぱいまで広げようとする */
    margin: 0 auto;
    /* ボタン自体を画面中央に配置 */
    box-sizing: border-box;
    /* 線や余白を幅に含める */

    /* ▼▼▼ 変更点: 余白 ▼▼▼ */
    /* 横幅はwidthで確保したので、横のpaddingは0にする */
    padding: 20px 0;
    text-decoration: none;
    color: #fff;
    line-height: 1.8;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    font-size: 24px;
}

.button a:after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;

    /* ▼▼▼ 調整: 矢印の位置 ▼▼▼ */
    /* ボタン幅が固定になるので、右端からの絶対位置で固定するのが綺麗です */
    right: 1.5rem;

    font-size: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    width: 6px;
    height: 6px;
    border-top: solid 2px currentColor;
    border-right: solid 2px currentColor;
    transform: translateY(-50%) rotate(45deg);
}

.button a:hover {
    color: #fff;
    background: #f06c00;
}

.button a:hover:after {
    /* ホバー時に矢印が少し右に動く演出 */
    right: 1.0rem;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */




.onsen-image {
    flex: 1;
}

.onsen-image img {
    width: 100%;
}

.onsen-text {
    flex: 1;
}

.onsen-text h2 {
    color: #333;
    font-size: 48px;
    display: inline-block;
}

.sub-title {
    font-size: 22px;
    margin-bottom: 25px;
    color: #555;
}

.detail-text {
    font-size: 22px;
    display: block;
    color: #555;
    margin-bottom: 25px;
}

/* ================================================= */
/* 料金表 */
/* ================================================= */

#money {
    position: relative;
}

#money .fuwa-left {
    top: -24%;
    left: -5%;
}

#money .fuwa-right {
    top: 63%;
    right: -10%;
    z-index: 1;
    width: 280px;
    height: 280px;
}


/* 外枠のカード */
/* 共通のカードスタイル */
.price-card,
.price-card2 {
    margin: 0 auto;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    padding: 40px 50px;
    border-radius: 30px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* 色だけ変える */
.price-title {
    color: #ff681c;
}

/* 銭湯用 */
.price-title2 {
    color: #002E73;
}

/* 家族風呂用 */
/* アイコン部分 */

.price-icon {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.price-icon img {
    width: 80px;
    /* アイコンのサイズ */
    height: auto;
    margin: 0 auto;
    display: block;

}

/* 「料金表」タイトル */
.price-title {
    text-align: center;
    color: #ff681c;
    font-size: 62px;
    letter-spacing: 0.2em;
    /* 【解決策】右側の余計な隙間を打ち消すために、左側にも同じ分だけ隙間を作る */
    text-indent: 0.2em;
}

/* オレンジの太い区切り線 */
.price-divider {
    width: 100%;
    height: 4px;
    background-color: #ff681c;
    margin-bottom: 20px;

}

/* 料金テーブル */
.price-table {
    width: 50%;
    margin: 0 auto;
    border-collapse: collapse;
}

.price-table tr {
    border-bottom: 2px solid #ff681c;
    /* 下の細い線 */
}

.price-table th,
.price-table td {
    padding: 10px 20px;
    font-size: 36px;
    color: #333;
}

.price-table th {
    text-align: left;
    letter-spacing: 0.5em;
    /* 文字の間隔を広げてデザインに合わせる */
}

.price-table td {
    text-align: right;
}

/* 最後の行の線は消す、またはデザインに合わせる */
.price-table tr:last-child {
    border-bottom: 2px solid #ff681c;
}

/* ================================= */
/* 家族風呂 */
/* ================================= */

/* --- 家族風呂の背景 --- */















/* ================================= */
.family-inner {
    width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: -2;
}

/* ================================= */




/* ================================= */
/* 家族風呂　料金表 */
/* ================================= */

#f-money {
    position: relative;
    margin: 100px 0;
}











/* 外枠のカード */

/* アイコン部分 */

.price-icon2 {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.price-icon2 img {
    width: 80px;
    /* アイコンのサイズ */
    height: auto;
    margin: 0 auto;
    display: block;

}


/* 「料金表」タイトル */
.price-title2 {
    text-align: center;
    color: #002E73;
    font-size: 48px;
    letter-spacing: 0.2em;
    /* 【解決策】右側の余計な隙間を打ち消すために、左側にも同じ分だけ隙間を作る */
    text-indent: 0.2em;
}

/* オレンジの太い区切り線 */
.price-divider2 {
    width: 100%;
    height: 4px;
    background-color: #002E73;
    margin-bottom: 20px;


}

/* 料金テーブル2 */
.price-table2 {
    width: 50%;
    margin: 0 auto;
    border-collapse: collapse;
}

.price-table2 tr,
.price-table2 td {
    border-bottom: 2px solid #002E73;
    /* 下の細い線 */
}

.price-table2 th,
.price-table2 td {
    padding: 10px 20px;
    font-size: 36px;
    color: #333;
}

.price-table2 th {
    text-align: left;
    letter-spacing: 0.5em;
    /* 文字の間隔を広げてデザインに合わせる */
}

.price-table2 td {
    text-align: right;
}

#f-bath {
    position: relative;
}




/* ================================= */
/* --- ご利用状況 --- */
/* ================================= */
#status {
    margin-top: 140px;
    margin-bottom: 100px;
    position: relative;
}


.price-card3 {
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    padding: 40px 0;
    border-radius: 30px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}










.status-title {
    font-size: 72px;
    border-bottom: 1px #3b5998;
    font-weight: normal;
    margin-bottom: 5px;
}

.status-container {
    padding: 0 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
}


.status-box {
    flex: 1;
    border: 8px solid #3b5998;
    /* 濃い青の太枠 */
    border-radius: 30px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
}

/* 左側のボックス */
.current-status {
    background-color: #fff;
}



.status-text {
    color: #3b5998;
    font-size: 50px;
    margin: 0;
}

.divider {
    width: 90%;
    height: 1px;
    background-color: #ccc;
    margin: 10px 0;
}

.room-count {
    color: #3b5998;
    display: flex;
    align-items: baseline;
}

.room-count .number {
    font-size: 240px;
    line-height: 1;
}

.room-count .unit {
    font-size: 75px;
    margin-left: 5px;
}

/* 右側のリスト */
.status-legend {
    border: none;
    align-items: flex-start;
}

.legend-list {
    list-style: none;
    margin-bottom: 10px;
    text-align: left;
}


.legend-list li span {
    color: #333;
    font-size: 24px;
    line-height: 5rem;
}

.legend-list .blue {
    color: #3b5998;
}

.legend-list .green {
    color: #2e7d32;
}

.legend-list .orange {
    color: #f06c00;
}

.legend-list .red {
    color: #d32f2f;
}






/* ================================= */
/* --- 予約するバナー --- */
/* ================================= */

#access {
    position: relative;
}

.reservation-banner {
    margin: 50px 0;
    position: relative;
    height: 250px;
    overflow: hidden;
    /* ぼかしや拡大のはみ出しをカット */
    margin-bottom: 50px;
    background-color: #000;
    /* 読み込み前の下地 */
}

/* 背景画像専用のレイヤーを作成 */
.reservation-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/index/yoyaku.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    /* 一番下に配置 */
    transition: filter 0.5s ease, transform 0.5s ease;
    /* 変化を滑らかに */
}

/* hoverした時に背景をぼかして少し拡大（拡大すると端に白い隙間が出ません） */
.reservation-banner:hover::before {
    filter: blur(6px);
    /* ぼかしの強さ */
    transform: scale(1.05);
    /* 少し拡大して余白対策 */
}

.reservation-banner a {
    text-decoration: none;
    display: block;
    height: 100%;
    position: relative;
    z-index: 1;
    /* 背景レイヤーの上に配置 */
}

.banner-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    transition: background-color 0.5s ease;
}

/* hover時にオーバーレイを少し濃くして文字を目立たせる（お好みで） */
.reservation-banner:hover .banner-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.banner-inner-border {
    border: 1px solid #fff;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* スクロールバーの基準 */
}

/* --- テキストのサイズ変更 --- */
.banner-text {
    color: #fff;
    font-size: 2.2rem;
    font-weight: normal;
    letter-spacing: 0.1em;
    transition: transform 0.5s ease, font-size 0.5s ease;
    /* 変化を滑らかに */
    z-index: 1;
}

/* hoverした時にテキストを大きくする */
.reservation-banner:hover .banner-text {
    transform: scale(1.1);
    /* 1.1倍に拡大 */
}

/* スクロールバー */
.scrollbar_04 {
    position: absolute;
    left: 90%;
    transform: translateX(-50%);
    bottom: 105px;
    width: 300px;
    height: 1px;
}

/* 横棒の本体 */
.scrollbar_04::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}

/* 動く丸 */
.scrollbar_04::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: circlemove_h 3s ease-in-out infinite,
        cirlemovehide 3s ease-out infinite;
}

/* 左から右へ動くアニメーション */
@keyframes circlemove_h {
    0% {
        left: 0px;
    }

    100% {
        /* 2. 丸が止まる位置を調整 */
        /* 棒の長さ(300px) - 丸のサイズ(8px) = 292px */
        left: 292px;
    }
}

/* 透明度の制御（変更なし） */
@keyframes cirlemovehide {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    80% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
    }
}

/* =================================== */
/* レスポンシブ */
/* =================================== */

@media (max-width: 800px) {

    * {
        margin: 0;
        padding: 0;

    }

    .main {
        padding: 0 25px;
    }

    /* =================================== */
    /* トップ画像 */
    /* =================================== */

    .slideshow .slide .title {
        font: 500 25px/1.2 "Oswald", sans-serif;
    }

    .slideshow .slide .text p {
        font-size: 10px;
        text-align: center;
        font-weight: normal;
    }


    /* =================================== */
    /* スクロールバー */
    /* =================================== */

    .scrollbar-text01 {
        display: none;
    }

    .scrollbar01::before {
        left: -4px;
        width: 9px;
        height: 9px;
    }

    @keyframes circlemove {
        0% {
            bottom: 0px;
        }

        100% {
            bottom: 95px;
        }
    }

    /* ======================================= */
    /* 雲の装飾 */
    /* ======================================= */

    /* 共通設定 */
    .fade-side {
        display: none;
    }


    /* =================================== */
    /* お知らせ */
    /* =================================== */

    #news {
        margin-top: 20px;
    }

    /* タイトル */
    .section-title {
        margin: 0;
        padding: 0;
        text-align: center;
        font-size: 40px;
        margin-bottom: 20px;
        /* 58pxから縮小 */
    }


    /* 丸　左 */
    .fuwa-left {
        top: 7px;
        left: -136px;
    }


    .news-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
        margin-bottom: 0;
        padding: 0;
    }

    /* =================================== */
    /* 温泉銭湯 */
    /* =================================== */
    .onsen-section01 {
        margin: 20px auto;
    }

    .onsen-content {
        display: flex;
        gap: 40px;
        margin: 80px 0;
        flex-direction: column;
    }

    .detail-text {
        font-size: 16px;
    }

    .fuwa-right {
        top: -55px;
    }

    /* =================================== */
    /* 料金表 */
    /* =================================== */



    #money .fuwa-left {
        top: -12%;
        left: -50%;
    }

    .price-title {
        font-size: 50px;
    }

    .price-table,
    .price-table2 {
        width: 100%;
    }

    .price-divider {
        margin-bottom: 15px;
    }

    .price-table th,
    .price-table td,
    .price-table2 th,
    .price-table2 td {

        padding: 15px 20px;
        font-size: 20px;
    }

    /* =================================== */
    /* 波の背景*/
    /* =================================== */



    /* なみなみ（波）の高さ調整 */
    .sample02 {
        height: 150px;
        /* 少し低くして圧迫感を減らす */
        top: 20px;
    }

    .family {
        padding-top: 1px;
        padding-bottom: 1px;
    }

    /* =================================== */
    /* 家族風呂 */
    /* =================================== */


    .family .onsen-content {
        flex-direction: column-reverse;
    }

    .onsen-section02 {
        margin: 0;
    }

    .onsen-image,
    .onsen-text {
        width: 100% !important;
        flex: none !important;
        padding: 0 !important;
        min-width: 0;
    }

    .slider-container {
        height: 400px;
        box-shadow: none;
    }



    /* =================================== */
    /* お風呂入ってるイラスト */
    /* =================================== */

    .family-img {
        position: absolute;
        top: -531px;
        left: -161px;
        width: 206px;
        height: 100px;
        z-index: 1;
        pointer-events: none;
        object-fit: cover;
    }

    /* =================================== */
    /* 家族風呂 料金表*/
    /* =================================== */

    .price-title2 {
        font-size: 32px;
    }


    /* 温泉紹介：横並び → 縦並び */
    .onsen-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;

    }

    .onsen-text h2 {
        font-size: 48px;
        margin: 0;
    }

    .sub-title,
    .detail-text {
        font-size: 16px;
        text-align: left;
    }

    /* 1. ボタンの親要素 */
    .button {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 20px;
        /* 必要に応じて親要素に最大幅を持たせると、PCで広がりすぎを防げます */
        /* max-width: 600px; */
        /* margin-left: auto; */
        /* margin-right: auto; */
    }

    /* 2. ボタン自体のサイズ調整 */
    .button a {
        /* ▼▼▼ ここが変更点です ▼▼▼ */
        width: 100%;
        /* 横幅を親要素いっぱいに広げる */
        box-sizing: border-box;
        /* paddingやborderをwidthに含める（はみ出し防止） */
        padding: 15px 0;
        /* 横のpaddingは0にし、縦だけ指定 */
        /* ▲▲▲ ここまで ▲▲▲ */

        display: flex;
        /* テキストや矢印の位置調整のためにflexを指定 */
        justify-content: center;
        /* 文字をボタン内の中央へ */
        align-items: center;
        /* 縦方向の中央揃え */

        max-width: 100%;
        font-size: 16px;
        margin: 0 auto;
        position: relative;
        /* after（矢印）の基準位置にするため */
        text-decoration: none;
        /* 下線を消す（必要であれば） */

        /* 背景色やボーダーの指定がもしあればここに */
        /* background-color: #333; */
        /* color: #fff; */
    }

    /* 3. ボタンの矢印（after）の位置調整 */
    .button a:after {
        content: '';
        /* 矢印を表示させるために必要（もし設定されていなければ） */
        position: absolute;
        /* ボタンに対して絶対配置 */
        right: 1.5rem !important;
        top: 50%;

    }

    /* ======================================= */
    /* 絵本スライダー：レスポンシブ決定版 (max-width: 800px) */
    /* ======================================= */



    .slider-title {
        font-size: 32px !important;
    }

    /* 1. 外側の親枠：高さを一貫させる */
    .bb-custom-wrapper {
        height: 750px !important;
        margin-bottom: 40px !important;
        overflow: visible !important;
        /* hiddenだとボタンが消えるのでvisibleに */
        position: relative;
    }

    .scrollbar_04 {
        display: none !important;
    }

    /* 2. スライダー本体：ここも高さを固定 */
    .bb-bookblock {
        height: 100% !important;
        width: 100%;
        perspective: 1000px;
    }


    /* 上下めくりの構造設定 */
    .bb-bookblock.bb-horizontal .bb-page {
        width: 100% !important;
        height: 50% !important;
        top: 50% !important;
        left: 0 !important;
        transform-origin: center top !important;
    }

    .bb-bookblock.bb-horizontal .bb-content {
        height: 200% !important;
        width: 100% !important;
    }

    .bb-bookblock.bb-horizontal .bb-front .bb-content {
        top: -100% !important;
        left: 0 !important;
    }


    /* 3. 各ページ：背景を白に固定 */
    .bb-item {
        display: block;
        /* JS非作動時対策 */
        width: 100% !important;
        height: 100% !important;
        background: #fff;
    }

    /* 4. 中のコンテンツ：縦並びに強制変更 */
    .plan-item {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        /* 縦並び */
        height: 100%;
        padding: 0;
        /* 余白は内側の要素でとる */
        gap: 0 !important;
    }

    /* 画像：高さを抑えて横いっぱいに */
    .plan-image {
        width: 100% !important;
        height: 220px !important;
    }

    .plan-image img {
        height: 220px !important;
    }

    /* テキスト・中身エリア */
    .plan-content {
        width: 100% !important;
        height: 220px !important;
        padding: 20px 15px;
        box-sizing: border-box;
    }

    .plan-content h2 {
        font-size: 18px !important;
        margin: 0 0 10px !important;
        text-align: center;
        color: #002e73;
    }

    .plan-content p {
        font-size: 10px !important;
        line-height: 1.6 !important;
        margin-bottom: 0 !important;
        text-align: left;
    }

    /* テーブル：はみ出し防止 */
    .plan-table {
        width: 100% !important;
        border-collapse: collapse;
    }

    .plan-table th,
    .plan-table td {
        padding: 8px 4px !important;
        font-size: 8px !important;
        /* 小さめに設定 */
    }

    /* 5. ナビゲーション（左右ボタン）の位置を調整 */
    /* ボタンの中身をリセットして記号に変更 */
    .bb-custom-icon-arrow-left:before,
    .bb-custom-icon-arrow-right:before,
    .bb-custom-icon-first:before,
    .bb-custom-icon-last:before {
        font-family: sans-serif !important;
        /* 特殊フォントを使わず標準文字にする */
        font-weight: bold !important;
        transform: none !important;
        /* 余計な回転を解除 */
        font-size: 24px !important;
        line-height: 50px !important;
        /* 丸ボタンの中央に配置 */
        display: block !important;
    }


    /* 最初へ */
    .bb-custom-icon-arrow-left:before {
        content: "▲" !important;

    }

    /* 前へ（上） */
    .bb-custom-icon-arrow-right:before {
        content: "▼" !important;
    }


    /* ボタンが4つになるので、並びを整える */
    .bb-custom-wrapper nav {
        display: flex !important;
        justify-content: center !important;
        gap: 60px !important;
        /* ボタン同士の間隔 */
        bottom: -60px !important;
        left: 50% !important;
    }

    .bb-custom-wrapper nav span {
        width: 50px !important;
        /* 少し小さくして4つ並びやすくする */
        height: 50px !important;
        background-color: #f06c00 !important;
        border-radius: 50% !important;
    }


    .family .bath-container {
        margin: 0;
    }

    /* =================================== */
    /* ご利用状況*/
    /* =================================== */

    #status {
        margin: 0;
    }

    .price-card3 {
        margin-bottom: 50px;
        padding: 0;
    }


    .status-section {
        padding: 30px 0;
    }



    .status-container {
        padding: 0 30px;
        flex-direction: column;
        align-items: center;
    }

    .status-box {
        width: 100%;
        min-height: auto;
        padding: 30px;
    }

    .status-legend {
        padding: 0;
        border: none;
        align-items: flex-start;
    }

    .status-title {
        font-size: 36px;
        text-align: center;
    }

    .status-text {
        font-size: 33px;
    }

    .room-count .number {
        font-size: 120px;
        /* 240pxはスマホでは大きすぎるため半分に */
    }

    .room-count .unit {
        font-size: 40px;
    }


    .legend-list li span {
        font-size: 12px;
        line-height: 3rem;
    }

    /* 予約バナー：高さと文字サイズ */
    .reservation-banner {
        height: 150px;
    }

    .banner-text {
        font-size: 16px;
        margin: 0;
    }

    .scrollbar_04 {
        display: none;
        /* スマホではスクロールバー装飾が邪魔になるため非表示 */
    }

    /* 装飾：ふわふわの円を小さくする */
    .fuwa-left,
    .fuwa-left-blue,
    .fuwa-left-blue2,
    .fuwa-right,
    .fuwa-right-blue {
        width: 150px !important;
        height: 150px !important;
        opacity: 0.6;
        /* 少し薄くしてコンテンツを優先 */
    }

    /* 家族風呂のコンテナ幅を解除 */
    .family-inner {
        width: 100%;
        padding: 0 20px;
    }
}