@charset "utf-8";

/* フォント読み込み
-----------------------------------------------*/

@font-face {
    font-family: "APJapanesefont";
    src: url("../font/APJapanesefont.ttf") format("truetype");
}

/* 共通
-------------------------------------------------- */

html {
    font-size: 62.5%;

    scroll-behavior: smooth;

    @media (min-width: 768px) and (max-width: 1200px) {
        font-size: calc(10 / 1200 * 100vw);
    }

    @media (min-width: 320px) and (max-width: 767px) {
        font-size: calc(10 / 767 * 100vw);
    }
}

body {
    color: #333;
    font-size: clamp(12px,1.6rem,16px);
    font-weight: 400;
    font-family: "Zen Maru Gothic", "Noto Sans JP", "ADLaM Display", "APJapanesefont", serif;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

a,
span {
    display: inline-block;
}

@media screen and (min-width: 768px) {
    a[href^="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

.c-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-inline: auto;
}

.c-title img {
    width: calc(150 / 1200 * 100%);
}

.c-title h2 {
    font-size: 3.6rem;
    font-weight: 900;
    letter-spacing: 0.2em;
}


/* ボタン */

.js-backToTop {
    position: fixed;
    right: 30px;
    bottom: 60px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10rem;
    height: 10rem;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.js-backToTop:hover {
    opacity: 0.6;
}

/* クラス付与時の指定 */
.is-active {
    opacity: 1;
    visibility: visible;
}

.js-backToTop span {
    color: #73a20e;
    font-size: 2rem;
    font-family: "ADLaM Display", serif;
    letter-spacing: 0.2em;
}

.p-btn__reservation {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15rem;
    height: 3.6rem;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: "Noto Sans JP", serif;
    letter-spacing: 0.1em;
    border: 3px solid #fff;
    border-radius: 90px;
    transition: all 0.3s;
}

.p-btn__reservation:hover {
    color: #F7C738;
    background-color: #fff;
}

.p-btn__reservation--yellow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    width: calc(450 / 1200 * 100%);
    height: 6.4rem;
    margin-inline: auto;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 900;
    font-family: "Noto Sans JP", serif;
    letter-spacing: 0.2em;
    background-color: #f7c738;
    border-radius: 90px;
    transition: all 0.3s;
}

.p-btn__reservation--yellow:hover {
    color: #f7c738;
    background-color: #fff;
    border: 3px solid #f7c738;
}

.p-btn__reservation--yellow img {
    width: 2.5rem;
    height: 2.5rem;
}

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

    .p-btn__reservation {
        width: 40rem;
        height: 6.4rem;
        padding-inline: 5rem;
        color: #fff;
        font-size: 2.8rem;
        background-color: #f7c738;
        border: 3px solid #f7c738;
    }

    .p-btn__reservation--yellow {
        width: calc(800 / 1200 * 100%);
    }

}

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

    .p-btn__reservation--yellow {
        width: 100%;
    }

}


/* ヘッダー
-------------------------------------------------- */

.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1000;
    padding-top: 2rem;
    transition: height 0.4s ease;
    pointer-events: none;
}

.l-header__inner {
    display: flex;
    justify-content: space-between;
    max-width: 1440px;
    height: 100%;
    margin-inline: auto;
    padding: 2rem 3rem;
    transition: padding 0.4s ease;
}

.l-header__logo {
    width: calc(240 / 1440 * 100%);
    height: 100%;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.l-header__logo.is-hidden {
    opacity: 0;
    transform: translateY(-30px);
    pointer-events: none;
}

.l-header__logo a {
    width: calc(720 / 1440 * 100%);
    height: 100%;
}

.p-nav-pc {
    display: flex;
    align-items: center;
    height: 6rem;
    margin-top: 10px;
    padding: 1rem 3.5rem;
    background-color: #3b500f;
    border-radius: 10px;
    transition: all 0.4s ease;
    pointer-events: auto;
}

/* ナビが固定されたときのサイズ感を微調整 */
.l-header.is-scrolled .l-header__inner {
    padding: 10px 30px;
}

.p-nav-pc__list {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.p-nav-pc__link {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: "Noto Sans JP", serif;
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
}

.p-nav-pc__link:hover {
    opacity: 0.7;
}

.p-nav-sp {
    display: none;
}

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

    .p-nav-sp__list {
        padding-inline: 2rem;
        box-sizing: border-box;

        /* 👇これ追加 */
        align-items: center;
    }

    .p-nav-sp__item {
        width: auto; /* ← ここ重要（100%にしてたのを戻す） */
    }

    /* 予約ボタンだけ別扱い */
    .p-nav-sp__item .p-btn__reservation {
        display: flex;
        width: 100%;
        max-width: 34rem;
        padding-inline: 6rem;
        margin-inline: auto;
     
    }

    .l-header__logo {
        width: calc(400 / 1440 * 100%);
    }

    .p-nav-pc {
        display: none;
    }

    .p-nav-sp {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        height: 100vh;
        background-color: #d7dec7;
        overflow-x: hidden;
        transition: all 0.7s;
        pointer-events: auto;
    }

    .p-nav-sp.open {
        right: 0;
    }

    .p-nav-sp__list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6rem;
        width: 100%;
        margin-bottom: 10rem;
        padding-top: 13rem;
    }

    .p-nav-sp__item a {
        font-size: 2.8rem;
        font-weight: 500;
        font-family: "Noto Sans JP", serif;
        letter-spacing: 0.1em;
        transition: opacity 0.5s ease;
    }

    .p-nav-sp__logo {
        width: calc(400 / 1200 * 100%);
    }

}

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

    .p-nav-sp {
        width: 100%;
    }

}



/* ハンバーガーメニュー */

.p-hamburger {
    display: none;
}

@media screen and (max-width: 767px) {
    .p-hamburger {
        position: relative;
        top: 0;
        right: -20px;
        z-index: 1000;
        display: block;
        width: 72px;
        height: 50px;
        transition: all 0.3s;
        pointer-events: auto;
    }

    .p-hamburger__line,
    .p-hamburger__line::before,
    .p-hamburger__line::after {
        content: "";
        position: absolute;
        width: 32px;
        height: 2px;
        background-color: #73a20e;
        border-radius: 4px;
        transition: all 0.3s;
    }

    .p-hamburger__line {
        top: 23px;
        left: 20px;
    }

    .p-hamburger__line::before {
        top: 10px;
        transition: all 0.3s;
    }

    .p-hamburger__line::after {
        bottom: 10px;
        transition: all 0.3s;
    }

    .p-hamburger.open .p-hamburger__line {
        background-color: transparent;
    }

    .p-hamburger.open .p-hamburger__line::before {
        top: 0;
        transform: rotate(45deg);
    }

    .p-hamburger.open .p-hamburger__line::after {
        bottom: 0;
        transform: rotate(-45deg);
    }
}


/* ファーストビュー
-------------------------------------------------- */
.p-fv {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background-color: #d8dec7;
}

.p-fv__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.p-fv__img img {
    width: 100%;
    height: calc(100% + 120px); /* 動かす余白を確保 */
    object-fit: cover;
    object-position: center 20%;
    transform: translateY(0);
    will-change: transform;
}

/* タイトル中央配置 */
.p-fv__title {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
    z-index: 2;
    color: #a63268;
    font-size: 7.2rem;
    font-family: "APJapanesefont", serif;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-align: center;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1));
    text-shadow: 0 0 12px rgba(255, 255, 255, 1);
}

/* 波エリア */
.p-fv__wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    overflow: hidden;
    z-index: 3;
}

.p-fv__wave-inner {
    width: 200%;
    height: 100%;
    background-image: url("../img/wave.svg");
    background-repeat: repeat-x;
    background-size: auto 40px;
    background-position: 0 bottom;

    /* 👇これが核心 */
    animation: waveMove 12s linear infinite;
}

/* アニメーション */
@keyframes waveMove {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: -450px 2px;
    }
    100% {
        background-position: -900px 0;
    }
}

.p-fv__title span {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 3.2rem;
    line-height: 1;
}

@media screen and (max-width: 767px) {
    .p-fv {
        min-height: 560px;
    }

    .p-fv__title {
        font-size: 4.8rem;
    }

    .p-fv__title span {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 576px) {
    .p-fv {
        min-height: 100vh;
    }

    .p-fv__img img {
        object-position: 70% center;
        transform: scale(1.18); /* SPは少し強めにズームでもOK */
    }

    .p-fv__title {
        font-size: 6.4rem;
        padding: 0 16px;
    }

    .p-fv__title span {
        font-size: 4rem;
    }
}


/* 施設案内
-------------------------------------------------- */

.p-about {
    position: relative;
    z-index: 1;
    padding: 90px 0;
    background-color: #d8dec7;
}

.p-about__inner {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 20px;
}

.p-about__main {
    position: relative;
}

.p-about__icon--top {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 16%;
}

.p-about__icon--bottom {
    position: absolute;
    right: -9%;
    bottom: -28%;
    width: 17%;
}

.p-about__main-flex {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
    margin-bottom: 80px;
    padding: 7.5rem;
}

/* .p-about__main-flex::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-image: url("../img/about.webp");
    background-size: cover;
    background-position: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 20px;
} */

.p-about__main-flex {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
    margin-bottom: 80px;
    padding: 7.5rem;
    overflow: hidden;
    border-radius: 20px;
}

.p-about__bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: calc(100% + 100px);
    background-image: url("../img/about.webp");
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    transform: translateY(0);
    will-change: transform;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
    will-change: opacity, transform;
}

.fade-up.is-show {
    opacity: 1;
    transform: translateY(0);
}

.fade-up--1 {
    transition-delay: 0.1s;
}

.fade-up--2 {
    transition-delay: 0.25s;
}

.p-about__main-flex-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: calc(390 / 950 * 100%);
}

.p-about__logo {
    width: 53%;
}

.p-about__logo-text {
    color: #fff;
    font-size: 3.2rem;
    font-family: "APJapanesefont", serif;
    line-height: 1.2;
    letter-spacing: 0.2em;
}

.p-about__main-flex-text {
    width: calc(890 / 950 * 100%);
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 0 4px rgba(51, 51, 51, 1);
}

.p-about__main-text {
    margin-bottom: 2.0rem;
    font-size: 2.0rem;
    line-height: 1.8;
    letter-spacing: 0.2em;
}

.p-about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.p-about__grid-item {
    height: 100%;
}

.p-about__item {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.p-about__item-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.p-about__item-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}

/* Pointラベル */
.p-about__item-label {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;

    display: inline-flex; /* ← これ重要 */
    align-items: center;

    height: 36px;
    padding: 0 10px; /* ← 余白を減らす */

    color: #fff;
    font-size: 2rem;
    font-family: "ADLaM Display", serif;
    letter-spacing: 0.2em;

    background-color: #73a20e;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;

    width: fit-content; /* ← これが決定打 */
}

.p-about__item-text-box {
    flex: 1;
    padding: 5rem 2.5rem;
    background-color: #fff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.p-about__item-title {
    margin-bottom: 30px;
    font-size: 2.4rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    text-align: center;
}

.p-about__item-text {
    line-height: 1.8;
    letter-spacing: 0.2em;
}

/* フェード */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.fade-up.is-show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.35s;
}

.delay-3 {
    transition-delay: 0.55s;
}

@media screen and (max-width: 767px) {
    .p-about__grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .p-about__item {
        display: flex;
        flex-direction: row;
    }

    .p-about__item-img {
        width: 42%;
        flex-shrink: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 20px;
    }

    .p-about__item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .p-about__item-text-box {
        border-top-right-radius: 0;
        border-bottom-left-radius: 0;
    }
}

@media screen and (max-width: 576px) {
    .p-about__item {
        display: block;
    }

    .p-about__item-img {
        width: 100%;
        border-top-right-radius: 20px;
        border-bottom-left-radius: 0;
    }

    .p-about__item-label {
        min-width: 110px;
        justify-content: center;
        height: 36px;
        font-size: 3.2rem;
    }

    .p-about__item-title {
        font-size: 4rem;
    }

    .p-about__item-text {
        font-size: 3.2rem;
    }
}

.p-about__item {
    overflow: hidden;
    border-radius: 20px;
    transform: translateZ(0);
    transform-origin: center center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.p-about__grid-item:hover .p-about__item {
    transform: translate3d(0, -8px, 0) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.p-about__item-title,
.p-about__item-text {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}



/* =========================================
   お部屋の紹介
========================================= */
.p-room {
    position: relative;
    height: 200vh;
    overflow: visible;
}

.p-room__stage {
    position: relative;
    height: 100%;
}

.p-room__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;

    /* =========================
       レイアウト管理用変数
    ========================= */

    /* ロゴ上の余白：通常は最大80px、低い画面では圧縮 */
    --room-header-top: clamp(24px, 8vh, 80px);

    --room-logo-size: clamp(72px, 7vw, 120px);
    --room-header-inner-gap: 12px;
    --room-title-size: clamp(2.8rem, 2.6vw, 4rem);
    --room-title-line: 1.3;

    /* タイトルブロック全体の高さ */
    --room-header-height: calc(
        var(--room-logo-size) +
        var(--room-header-inner-gap) +
        (var(--room-title-size) * var(--room-title-line))
    );

    /* タイトル下とカードの距離 */
    --room-title-card-gap: clamp(28px, 5vh, 80px);

    /* カード下余白 */
    --room-card-bottom: clamp(20px, 3vh, 44px);

    /* カード全体の横余白 */
    --room-card-side: 40px;

    /* 実際のカード開始位置 */
    --room-card-top: calc(
        var(--room-header-top) +
        var(--room-header-height) +
        var(--room-title-card-gap)
    );
}

/* 背景 */
.p-room__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: url("../img/room-bg-grass.jpg") center center / cover no-repeat;
}

/* 台形・フラッグ・タイトル層 */
.p-room__base {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.p-room__paper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.p-room__paper-img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* フラッグ */
.p-room__flag {
    position: absolute;
    z-index: 2;
}

.p-room__flag--left {
    top: 0;
    left: max(24px, 2vw);
    width: clamp(260px, 24vw, 420px);
}

.p-room__flag--right {
    top: 0;
    right: max(24px, 2vw);
    width: clamp(220px, 20vw, 360px);
}

/* タイトル */
.p-room__header {
    position: absolute;
    top: var(--room-header-top);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--room-header-inner-gap);
    width: 100%;
    max-width: 480px;
    text-align: center;
}

.p-room__logo {
    width: var(--room-logo-size);
}

.p-room__title {
    color: #333;
    font-size: var(--room-title-size);
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: var(--room-title-line);
}

/* カード層 */
.p-room__cards {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.p-room__card {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--room-card-top);
    bottom: var(--room-card-bottom);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding-inline: var(--room-card-side);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.p-room__card.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.p-room__card-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 2.6vw, 48px);
    width: 100%;
    max-width: 1220px;
    margin: 0 auto 24px;
}

/* 左画像 */
.p-room__img-box {
    width: 100%;
    max-width: 620px;
    flex: 0 0 620px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.p-room__img-main img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 620 / 390;
    object-fit: cover;
    border-radius: 20px;
}

.p-room__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.p-room__thumbs li {
    cursor: pointer;
}

.p-room__thumbs img {
    display: block;
    width: 100%;
    height: 82px;
    object-fit: cover;
    border-radius: 10px;
}

/* 右コンテンツ */
.p-room__contents {
    width: 100%;
    max-width: 500px;
    flex: 1 1 500px;
}

.p-room__item-title {
    margin-bottom: 18px;
    color: #333;
    font-size: clamp(2rem, 1.8vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
}

.p-room__price {
    margin-bottom: 22px;
    color: #333;
    font-size: clamp(3rem, 3vw, 4rem);
    font-family: "ADLaM Display", serif;
    line-height: 1.2;
}

.p-room__price span {
    margin-left: 0.4em;
    font-size: 1.6rem;
    font-weight: 500;
    font-family: "Zen Maru Gothic", serif;
}

.p-room__text {
    margin-bottom: 24px;
    color: #333;
    font-size: 1.6rem;
    line-height: 1.75;
    letter-spacing: 0.08em;
}

.p-room__label-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.p-room__label {
    display: flex;
    align-items: stretch;
    min-height: 8.4rem;
}

.p-room__label h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    padding-inline: 20px;
    color: #fff;
    font-size: 2rem;
    letter-spacing: 0.12em;
    background-color: #73a20e;
}

.p-room__label p {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 22px;
    color: #333;
    font-size: 1.6rem;
    line-height: 1.7;
    letter-spacing: 0.04em;
    background-color: #fff;
}

.p-room__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    width: 100%;
    max-width: 440px;
    min-height: 6.2rem;
    margin: 0 auto;
    flex-shrink: 0;
}

/* 横幅が少し狭いPC */
@media screen and (max-width: 1366px) {
    .p-room__sticky {
        --room-logo-size: clamp(68px, 6vw, 96px);
        --room-title-size: clamp(2.5rem, 2.3vw, 3.2rem);
        --room-title-card-gap: clamp(24px, 4.5vh, 56px);
        --room-card-bottom: clamp(18px, 2.4vh, 30px);
        --room-card-side: 32px;
    }

    .p-room__paper-img {
        width: 108vw;
        max-height: 95vh;
    }

    .p-room__card-inner {
        max-width: 1080px;
    }

    .p-room__img-box {
        max-width: 540px;
        flex: 0 0 540px;
    }

    .p-room__contents {
        max-width: 440px;
    }
}

/* 高さが低いPC */
@media screen and (max-height: 820px) and (min-width: 768px) {
    .p-room__sticky {
        --room-header-top: clamp(12px, 3.5vh, 40px);
        --room-logo-size: 72px;
        --room-header-inner-gap: 8px;
        --room-title-size: 2.8rem;
        --room-title-line: 1.2;
        --room-title-card-gap: clamp(16px, 2.6vh, 28px);
        --room-card-bottom: 14px;
        --room-card-side: 28px;
    }

    .p-room__paper-img {
        max-height: 98vh;
    }

    .p-room__card-inner {
        gap: 22px;
        margin-bottom: 14px;
    }

    .p-room__img-main img {
        aspect-ratio: 620 / 335;
    }

    .p-room__thumbs img {
        height: 56px;
    }

    .p-room__item-title {
        margin-bottom: 10px;
        font-size: 1.9rem;
    }

    .p-room__price {
        margin-bottom: 12px;
        font-size: 2.8rem;
    }

    .p-room__price span {
        font-size: 1.4rem;
    }

    .p-room__text {
        margin-bottom: 14px;
        font-size: 1.4rem;
        line-height: 1.5;
    }

    .p-room__label-box {
        gap: 10px;
    }

    .p-room__label {
        min-height: 6.4rem;
    }

    .p-room__label h4 {
        width: 96px;
        font-size: 1.6rem;
        padding-inline: 12px;
    }

    .p-room__label p {
        font-size: 1.35rem;
        line-height: 1.45;
        padding: 0 16px;
    }

    .p-room__btn {
        max-width: 400px;
        min-height: 5.4rem;
    }
}

/* かなり高さが厳しいPC */
@media screen and (max-height: 720px) and (min-width: 768px) {
    .p-room__sticky {
        --room-header-top: 10px;
        --room-logo-size: 60px;
        --room-header-inner-gap: 6px;
        --room-title-size: 2.4rem;
        --room-title-line: 1.1;
        --room-title-card-gap: 10px;
        --room-card-bottom: 10px;
        --room-card-side: 20px;
    }

    .p-room__card-inner {
        gap: 18px;
        margin-bottom: 10px;
    }

    .p-room__img-box {
        max-width: 470px;
        flex: 0 0 470px;
    }

    .p-room__img-main img {
        aspect-ratio: 620 / 300;
    }

    .p-room__thumbs img {
        height: 48px;
    }

    .p-room__item-title {
        font-size: 1.7rem;
        margin-bottom: 8px;
    }

    .p-room__price {
        font-size: 2.4rem;
        margin-bottom: 8px;
    }

    .p-room__price span {
        font-size: 1.25rem;
    }

    .p-room__text {
        font-size: 1.3rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .p-room__label {
        min-height: 5.8rem;
    }

    .p-room__label h4 {
        width: 86px;
        font-size: 1.4rem;
    }

    .p-room__label p {
        font-size: 1.2rem;
        line-height: 1.35;
        padding: 0 12px;
    }

    .p-room__btn {
        max-width: 360px;
        min-height: 4.8rem;
    }
}

/* タブレット */
@media screen and (max-width: 1100px) {
    .p-room__sticky {
        --room-header-top: clamp(14px, 4vh, 40px);
        --room-logo-size: clamp(64px, 6vw, 88px);
        --room-title-size: clamp(2.4rem, 2.2vw, 3rem);
        --room-title-card-gap: clamp(18px, 3vh, 36px);
        --room-card-side: 24px;
    }

    .p-room__header {
        margin-top: 10vw;
    }

    .p-room__paper-img {
        width: 120vw;
        max-height: 94vh;
    }

    .p-room__card-inner {
        gap: 20px;
        max-width: 940px;
    }

    .p-room__img-box {
        max-width: 450px;
        flex: 0 0 450px;
    }

    .p-room__img-main img {
        aspect-ratio: 520 / 330;
    }

    .p-room__thumbs img {
        height: 60px;
    }

    .p-room__contents {
        max-width: 390px;
    }

    .p-room__price {
        font-size: 3rem;
    }

    .p-room__text {
        font-size: 1.45rem;
    }

    .p-room__label h4 {
        width: 96px;
        font-size: 1.6rem;
    }

    .p-room__label p {
        font-size: 1.35rem;
    }

    .p-room__btn {
        max-width: 380px;
    }
}

/* SP */
@media screen and (max-width: 767px) {
    .p-room {
        height: auto;
    }

    .p-room__stage,
    .p-room__sticky {
        height: auto;
    }

    .p-room__sticky {
        position: relative;
        overflow: visible;
    }

    .p-room__bg {
        inset: 0;
        min-height: 100%;
    }

    .p-room__base {
        position: relative;
        inset: auto;
    }

    .p-room__paper {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
    }

    .p-room__paper-img {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        max-height: none;
        transform: none;
        display: block;
    }

    .p-room__flag--left {
        width: 34vw;
        left: 0;
    }

    .p-room__flag--right {
        width: 30vw;
        right: 0;
    }

    .p-room__header {
        top: 36px;
        width: 100%;
        max-width: none;
        padding-inline: 20px;
        margin-top: 0;
    }

    .p-room__logo {
        width: 96px;
    }

    .p-room__title {
        font-size: 3.2rem;
    }

    .p-room__cards {
        position: relative;
        inset: auto;
        margin-top: 6rem;
    }

    .p-room__card {
        position: relative;
        inset: auto;
        display: none;
        padding: 0 20px 40px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .p-room__card.is-active {
        display: flex;
    }

    .p-room__card-inner {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 24px;
        max-width: 640px;
    }

    .p-room__img-box {
        max-width: none;
        flex: none;
    }

    .p-room__img-main img {
        aspect-ratio: 16 / 10;
    }

    .p-room__thumbs img {
        height: 64px;
    }

    .p-room__contents {
        max-width: none;
    }

    .p-room__item-title {
        font-size: 2.2rem;
    }

    .p-room__price {
        font-size: 3.2rem;
    }

    .p-room__label h4 {
        width: 100px;
        font-size: 1.6rem;
    }

    .p-room__btn {
        max-width: 100%;
        min-height: 5.6rem;
    }
}

@media screen and (max-width: 767px) {
    .p-about {
        padding: 6rem 0;
    }

    .p-about__main-flex {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 3.2rem;
        margin-bottom: 5rem;
        padding: 5rem 5rem 5rem;
        border-radius: 20px;
    }

    .p-about__main-flex-logo {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .p-about__logo {
        width: 11rem;
    }

    .p-about__logo-text {
        text-align: center;
        font-size: 3.6rem;
        line-height: 1.5;
        letter-spacing: 0.12em;
    }

    .p-about__main-flex-text {
        width: 100%;
        max-width: none;
        padding: 3.2rem 3rem;
        border-radius: 16px;
    }

    .p-about__main-text {
        margin-bottom: 2.6rem;
        font-size: 2.6rem;
        line-height: 2;
        letter-spacing: 0.08em;
    }

    .p-about__main-text:last-child {
        margin-bottom: 0;
    }
}

/* =========================================
   お部屋紹介：縦画面専用
   背景・見出し固定 + カードその場フェード切替
========================================= */
@media screen and (max-width: 1024px) and (orientation: portrait) {

  .p-room {
    position: relative;
    height: 300vh;
    overflow: visible;
  }

  .p-room__stage {
    position: relative;
    height: 100%;
  }

    .p-room__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;

    --room-header-top: clamp(4px, 1vh, 10px);
    --room-logo-size: 54px;
    --room-header-inner-gap: 0px;
    --room-title-size: 3.6rem;
    --room-title-line: 1.1;

    --room-header-height: calc(
        var(--room-logo-size) +
        var(--room-header-inner-gap) +
        (var(--room-title-size) * var(--room-title-line))
    );

    --room-title-card-gap: clamp(2px, 0.8vh, 6px);
    --room-card-bottom: 12px;
    --room-card-side: 20px;

    --room-card-top: calc(
        var(--room-header-top) +
        var(--room-header-height) +
        var(--room-title-card-gap)
    );
    }

    

  .p-room__sticky::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../img/introduction-bg.webp") center center / cover no-repeat;
  }

  .p-room__bg {
    display: none;
  }

  .p-room__paper-img,
  .p-room__flag {
    display: none;
  }

  .p-room__base {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
  }

  .p-room__paper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .p-room__header {
    position: absolute;
    top: var(--room-header-top);
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--room-header-inner-gap);
    width: 100%;
    max-width: 240px;
    text-align: center;
  }

  .p-room__logo {
    width: var(--room-logo-size);
  }

  .p-room__title {
    font-size: var(--room-title-size);
    line-height: var(--room-title-line);
    letter-spacing: 0.12em;
  }

  .p-room__cards {
    position: absolute;
    inset: 0;
    max-width: 600px;
    margin-inline: auto;
    z-index: 10;
  }

  .p-room__card {
    position: absolute;
    top: var(--room-card-top);
    right: 0;
    bottom: var(--room-card-bottom);
    left: 0;

    display: flex;
    flex-direction: column;
    padding-inline: var(--room-card-side);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease;
  }

  .p-room__card.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* ここ重要：カード内部を「上から下まで使い切る」 */
  .p-room__card-inner {
    flex: 0 0 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  /* 写真ブロックだけ縮む担当にする */
  .p-room__img-box {
    flex: 0 0 auto;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  /* 画像ラッパー自体を縮める */
  .p-room__img-main {
    flex: 1 1 auto;
    min-height: 86px;
    max-height: 23svh;
    border-radius: 16px;
    overflow: hidden;
  }

  .p-room__img-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
  }

  .p-room__thumbs {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 0;
  }

  .p-room__thumbs img {
    height: 42px;
    border-radius: 8px;
  }

  .p-room__contents {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
  }

  /* ここから下はフォントサイズは触らない */
  .p-room__item-title {
    margin-bottom: 8px;
    font-size: 3.4rem;
    letter-spacing: 0.12em;
    line-height: 1.4;
  }

  .p-room__price {
    margin-bottom: 12px;
    font-size: 3.6rem;
    line-height: 1.2;
  }

  .p-room__price span {
    font-size: 2.4rem;
  }

  .p-room__text {
    margin-bottom: 16px;
    font-size: 2.6rem;
    line-height: 1.9;
    letter-spacing: 0.08em;
  }

  .p-room__label-box {
    gap: 8px;
  }

  .p-room__label {
    min-height: 52px;
  }

  .p-room__label h4 {
    width: 58px;
    min-width: 58px;
    padding-inline: 6px;
    font-size: 2.4rem;
    line-height: 1.35;
  }

  .p-room__label p {
    padding: 10px 12px;
    font-size: 2.4rem;
    line-height: 1.5;
  }

  /* ボタンは常に見せる */
  .p-room__btn {
    flex: 0 0 auto;
    max-width: 240px;
    min-height: 40px;
    margin-top: 8px;
    font-size: 2.4rem;
  }

  .p-room__btn span {
    font-size: 3.2rem;
  }

  .p-room__btn img {
    width: 14px;
    height: 14px;
  }
}


  

/* 最新情報
-------------------------------------------------- */

.p-news {
    position: relative;
    z-index: 10;
    /* padding: 120px 0 350px 0; */
    padding: 12rem 0;
    background-color: #d8dec7;
}

.p-news__bg-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    width: 100%;
    max-width: 1440px;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: soft-light;
    /* opacity: 0.3; */
}

/* .p-news::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-image: url("../img/info-bg.png");
    background-size: cover;
    background-position: 100% 100%;
    background-repeat: no-repeat;
} */

.p-news__inner {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 20px;
}

.p-news__title {
    margin-bottom: 5.5rem;
}

.p-news__container {
    display: flex;
    flex-direction: column;
}

.p-news__item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    border-bottom: 1px solid #333;
    transition: opacity 0.3s;
}

.p-news__item:hover {
    opacity: 0.7;
}

.p-news__info {
    display: flex;
    align-items: center;
    gap: 8rem;
}

.p-news__info-label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
    padding-inline: 2.5rem;
    color: #fff;
    font-size: 2.4rem;
    font-family: "ADLaM Display", serif;
    letter-spacing: 0.08em;
    background-color: #a63268;
}

.p-news__info-label--none {
    opacity: 0;
}

.p-news__info-time {
    font-size: 2.4rem;
    font-family: "ADLaM Display", serif;
    letter-spacing: 0.08em;
}

.p-news__item-title {
    font-size: 2.4rem;
    font-weight: bold;
    letter-spacing: 0.08em;
}

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

    .p-news {
        padding: 5rem 0;
    }

    .p-news__bg-img {
        padding-top: 10rem;
    }

    .p-news__info {
        gap: 3rem;
    }

    .p-news__info-label {
        font-size: 2rem;
    }

    .p-news__info-time {
        font-size: 2rem;
    }

    .p-news__item-title {
        font-size: 2.4rem;
    }
}

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

    .p-news__bg-img {
        padding-top: 15rem;
    }

}

/* よくあるご質問
-------------------------------------------------- */

.p-faq {
    position: relative;
    z-index: 10;
    /* margin-top: -230px; */
    padding: 12rem 0 20rem 0;
    background-color: #d8dec7;
}

.p-faq__inner {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 20px;
}

.p-faq__icon-01 {
    position: absolute;
    top: 17%;
    right: 18%;
    width: 17rem;
    height: 17rem;
}

.p-faq__icon-02 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
}

.p-faq__icon-03 {
    position: absolute;
    bottom: -2%;
    left: 50%;
    transform: translateX(-50%);
    width: 10rem;
    height: 10rem;
}

.p-faq__icon-04 {
    position: absolute;
    right: 0;
    bottom: -5%;
    width: 23rem;
    height: 23rem;
}

.p-faq__title {
    margin-bottom: 8rem;
}

.tab-list {
    position: relative;
    isolation: isolate;
    z-index: 100;
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 10rem;
}

.tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 280px;
    height: 7.2rem;
    padding-inline: 20px;
    color: #73a20e;
    background: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.tab img {
    width: 2.5rem;
    height: 2.5rem;
}

.tab p {
    font-size: 2.4rem;
    font-weight: bold;
    letter-spacing: 0.2em;
}

.tab.active {
    background: #73a20e;
    color: #fff;
}

.tab.active img {
    display: none;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* アコーディオン */

.accordion-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid #333;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    width: 100%;
    padding: 2.5rem 2.5rem 0 2.5rem;
    border: none;
    cursor: pointer;
}

.accordion-header span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    color: #a63268;
    font-size: 2.4rem;
    font-family: "ADLaM Display", serif;
    letter-spacing: 0.08em;
    background-color: #fff;
    border-radius: 50%;
}

.accordion-header p {
    font-size: 2.8rem;
    font-weight: bold;
    letter-spacing: 0.08em;
}

.accordion-body {
    /* display: none;
    height: 0; */
    display: flex;
    align-items: center;
    gap: 3.5rem;
    width: 100%;
    padding: 0 2.5rem 2.5rem 2.5rem;
    transition: height 0.4s ease, padding 0.4s ease;
}

/* .accordion-body.open {
    display: flex;
    padding: 25px;
} */

.accordion-body span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    color: #fff;
    font-size: 2.4rem;
    font-family: "ADLaM Display", serif;
    letter-spacing: 0.08em;
    background-color: #a63268;
    border-radius: 50%;
}

.accordion-body p {
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

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

    .p-faq {
        padding: 5rem 0 30rem 0;
    }

    .p-faq__icon-01 {
        right: 3%;
        width: 17rem;
        height: 17rem;
    }

    .p-faq__icon-02 {
        bottom: 0;
        left: 0;
        width: 15rem;
        height: 15rem;
    }

    .p-faq__icon-03 {
        bottom: -2%;
        left: 50%;
        transform: translateX(-50%);
        width: 10rem;
        height: 10rem;
    }

    .p-faq__icon-04 {
        right: 0;
        bottom: -3%;
        width: 18rem;
        height: 18rem;
    }

    .tab-list {
        flex-direction: column;
        align-items: center;
        margin-bottom: 5rem;
    }

    .accordion-header span {
        font-size: 2rem;
    }

    .accordion-body span {
        font-size: 2rem;
    }
}

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

    .p-faq__icon-01 {
        top: 8%;
    }
}


/* footer
-------------------------------------------------- */

.l-footer {
    padding-top: 8rem;
    background-color: #73a20e;
}

.l-footer__inner {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 20px;
    padding-bottom: 3.5rem;
}

.l-footer__info {
    display: flex;
    align-items: flex-start;
    gap: 6rem;
}

.l-footer__info-contents {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.l-footer__info-flex {
    display: flex;
    justify-content: center;
    gap: 6.5rem;
}

.l-footer__info-logo {
    width: calc(310 / 1280 * 100%);
    margin-top: -5.5rem;
}

address {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #fff;
    font-size: 2.4rem;
    font-family: "Noto Sans JP", serif;
    letter-spacing: 0.2em;
}

address a {
    transition: opacity 0.3s;
}

address a:hover {
    opacity: 0.7;
}

.l-footer__info-tel,
.l-footer__info-mail,
.l-footer__info-address {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 3rem;
}

.l-footer__info-tel::before,
.l-footer__info-mail::before,
.l-footer__info-address::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 2.5rem;
    height: 2.5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.l-footer__info-tel::before {
    background-image: url("../img/Call.png");
}

.l-footer__info-mail::before {
    background-image: url("../img/Email.png");
}

.l-footer__info-address::before {
    background-image: url("../img/map.png");
}

.l-footer__info-list {
    display: flex;
    gap: 2.5rem;
}

.l-footer__info-item {
    color: #fff;
    font-size: clamp(12px,1.4rem,14px);
    font-family: "Noto Sans JP", serif;
    letter-spacing: 0.2em;
}

.l-footer__info-item a {
    transition: opacity 0.3s;
}

.l-footer__info-item a:hover {
    opacity: 0.7;
}

.l-footer__map {
    width: 100%;
    max-width: 628px;
    height: auto;
    aspect-ratio: 628 / 426;
}

.l-footer__map iframe {
    width: 100%;
    height: 100%;
}

.l-footer__copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4.4rem;
    color: #fff;
    font-size: 1.2rem;
    font-family: "Noto Sans JP", serif;
    letter-spacing: 0.2em;
    background-color: #3b500f;
}

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

    .l-footer__info {
        align-items: center;
        justify-content: center;
    }

    .l-footer__info-flex {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        margin-bottom: 3rem;
    }

    .l-footer__info-list {
        flex-direction: column;
        align-items: center;
    }
}

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

    .l-footer {
        padding-top: 10rem;
    }

    .l-footer__info {
        flex-direction: column;
    }

    address {
        font-size: 2rem;
    }

}