section,
button {
    padding: 0;
}

/*--------- 
共通 
-----------*/
.scroll-stop {
    overflow: hidden;
}

.section_space {
    width: calc(100% - 40px);
    margin-inline: auto;
}

.section_intro {
    margin-bottom: 40px;
}

.section_ttl {
    font-size: 36px;
    font-weight: 300;
    color: #CAA111;
    letter-spacing: 0.06em;
    line-height: calc(40 / 36);
    font-family: "Cormorant Garamond", serif;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.sub_section_ttl {
    font-size: 16px;
    font-weight: 400;
    line-height: calc(32 / 16);
    font-family: "Shippori Mincho B1", serif;
    text-align: center;
}

.section_ttl::before,
.section_ttl::after {
    content: "";
}

.page_middle_text {
    font-size: 14px;
    font-weight: 400;
    font-family: "Shippori Mincho B1", serif;
}

.page_large_text {
    font-size: 16px;
    font-weight: 400;
    font-family: "Shippori Mincho B1", serif;
}

.page_small_text {
    font-size: 12px;
    font-weight: 400;
    font-family: "Shippori Mincho B1", serif;
}


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

.sp {
    display: block;
}



@media (min-width:768px) {

    .section_space {
        width: 100%;
        max-width: 1128px;
        margin-inline: auto;
    }

    .section_intro {
        margin-bottom: 80px;
    }

    .section_ttl {
        font-size: 48px;
        line-height: calc(32 / 48);
        gap: 30px;
        margin-bottom: 30px;
    }

    .sub_section_ttl {
        font-size: 28px;
    }


    .page_middle_text {
        font-size: 16px;
        font-weight: 400;
        font-family: "Shippori Mincho B1", serif;
    }

    .page_small_text {
        font-size: 12px;
        font-weight: 400;
        font-family: "Shippori Mincho B1", serif;
    }

    .sp {
        display: none;
    }
}

/*--------- 
メインコンテンツ
-----------*/

.l-page {
    background: #0C2F54;
    color: #fff;
}

.mv {
    margin-bottom: 30px;
}


.ttl_wrap {
    padding: 30px 0;
}


.main_catch {
    display: flex;
    flex-direction: column;
    font-size: 40px;
    font-weight: 300;
    color: #C8A766;
    line-height: calc(40 / 40);
    letter-spacing: 0.06em;
    text-align: center;
    font-family: "Cormorant Garamond", serif;
    word-break: break-word;
}

.main_sub_ttl {
    font-size: 16px;
    font-weight: 400;
    color: #C8A766;
    line-height: calc(32 / 16);
    letter-spacing: 0;
    text-align: center;
    font-family: "Shippori Mincho B1", serif;
    display: inline-block;
}

@media (min-width:768px) {

    .ttl_wrap {
        padding: 60px 0;
    }

    .main_catch {
        font-size: 60px;
    }

    .main_sub_ttl {
        font-size: 20px;
        line-height: calc(32 / 20);
        display: block;
    }

    .mv {
        margin-bottom: 80px;
    }

}



/*--------- 
premium
-----------*/

.section_content--premium {
    margin-bottom: 60px;
}

.section_content--premium .section_space {
    width: 100%;
}

.section_content--premium .section_ttl {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    line-height: calc(30 / 18);
    letter-spacing: 0;
    font-family: "Shippori Mincho B1", serif;
    gap: 9px;
    margin-bottom: 30px;
}

.section_content--premium .section_ttl::before {
    width: 32px;
    height: 1px;
    background: #fff;
}

.section_content--premium .section_ttl::after {
    width: 32px;
    height: 1px;
    background: #fff;
}

.premium_header {
    margin-bottom: 50px;
}

.premium_header .page_middle_text {
    margin: 0 40px;
    text-align: center;
    line-height: calc(24.5 / 14);
    background: radial-gradient(ellipse 200px 195px at center,
            #005395 0%,
            #005395 5%,
            #0c2f54 80%,
            #0c2f54 100%);
}

.premium_content {
    margin: 0 20px;
    border: solid 1px #CAA111;
    padding: 10px 8px;
}

.premium_content_inner {
    border: solid 2px #CAA111;
    background: radial-gradient(ellipse at center,
            #005395 0%,
            #005395 5%,
            #0c2f54 80%,
            #0c2f54 100%);
    padding: 40px 17.5px;
}

.premium_main {
    margin-bottom: 40px;
}

.premium_photo {
    margin: 0 auto 20px;
}

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

.premium_text.page_large_text {
    line-height: calc(28 / 16);
    margin-bottom: 10px;
}

.premium_note.page_small_text {
    line-height: calc(21 / 12);
    max-width: 175px;
    position: relative;
}

.premium_note.page_small_text::after {
    content: "";
    position: absolute;
    background-image: url(../images/premiumplan/kiri_decoration_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    max-width: 100%;
    width: 115px;
    height: 56px;
    top: 55%;
    left: 125%;
    transform: translateY(-50%) translateX(-50%);
}

.room_item.not-sold {
    position: relative;
}

.room_item.not-sold::before {
    content: "coming soon";
    display: block;
    font-size: 30px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 10;
}

@media (min-width:768px) {
    .room_item.not-sold::before {
        white-space: nowrap;
        font-size: 40px;
    }

    .section_content--premium {
        margin-bottom: 120px;
    }


    .section_content--premium .section_ttl {
        font-size: 28px;
        line-height: calc(49 / 28);
        gap: 20px;
        margin-bottom: 50px;
    }

    .section_content--premium .section_ttl::before {
        content: "";
        width: 60px;
        height: 1px;
        background: #fff;
    }

    .section_content--premium .section_ttl::after {
        width: 60px;
        height: 1px;
        background: #fff;
    }

    .premium_header {
        margin-bottom: 80px;
        position: relative;
        z-index: 1;
    }

    .premium_header::after {
        content: "";
        position: absolute;
        background: radial-gradient(ellipse,
                #005395 0%,
                #0C2F54 70%);
        max-width: 600px;
        width: 100%;
        height: 450px;
        border-radius: 50%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.8;
        z-index: -1;
    }

    .premium_header .page_middle_text {
        background: transparent;
        line-height: calc(32 / 16);
    }

    .premium_content {
        margin: 0;
    }

    .premium_content_inner {
        padding: 90px 120px;
    }

    .premium_main {
        max-width: 717px;
        width: 100%;
        margin: 0 auto 80px;
    }

    .premium_details {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: row-reverse;
        gap: 50px;
    }

    .premium_photo {
        max-width: 439px;
        margin: 0;
        flex: 1;
    }

    .premium_text-group {
        max-width: 378px;
        flex: 1;
    }

    .premium_text.page_large_text {
        letter-spacing: 0.04em;
        margin-bottom: 20px;
    }

    .premium_note.page_small_text {
        font-size: 14px;
        line-height: calc(21 / 14);
        max-width: 304px;
    }

    .premium_note.page_small_text::after {
        width: 182px;
        height: 89px;
        top: 177%;
        left: 132%;
        transform: translateY(-50%) translateX(-50%);
    }

}

/*--------- 
equipment
-----------*/

/* ====== 共通 ====== */

.section_content--equipment {
    margin-bottom: 60px;
}

.section_content--equipment .section_ttl::before,
.section_content--equipment .section_ttl::after {
    background-image: url(../images/premiumplan/ttl_decoration-pt1.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    max-width: 100%;
    width: 43px;
    height: 6px;
}


/* 各ブロック */
.equipment-block:not(:last-child) {
    margin-bottom: 50px;
}

.equipment-block.equipment-block--storage,
.equipment-block.equipment-block--washbasin {
    background: radial-gradient(ellipse 200px 200px at 50% 80%,
            #005395 0%,
            #005395 5%,
            #0c2f54 80%,
            #0c2f54 100%);
}

/* 写真 */
.equipment-block__photo {
    position: relative;
    margin: 0 auto 20px;
    padding: 10px;
    border: 2px solid #CAA111;
}

.equipment-block__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 315 / 366;
}

.equipment-block__photo.equipment-block__photo--small img {
    aspect-ratio: 315 / 230;
}

/* 見出し */
.equipment-block__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.equipment-block__heading-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent 0%, #8f6e00 10%, #CAA111 50%, #8f6e00 90%, transparent 100%);
    max-width: 100%;
}

.equipment-block__label-en {
    font-size: 26px;
    font-weight: 300;
    color: #CAA111;
    line-height: calc(32 / 26);
    font-family: "Cormorant Garamond", serif;
    text-transform: uppercase;
}

/* 白カード */
.equipment-card {
    background: linear-gradient(45deg, #F3EADB 0%, #FFFFFF 50%, #F3EADB 100%);
    color: #333;
    padding: 20px 34.5px;
    margin: 0 auto;
    border: 2px solid #CAA111;
    text-align: left;
}

.equipment-card:not(:last-child) {
    margin-bottom: 20px;
}

.equipment-card.equipment-card--small {
    background: none;
    border: none;
    padding: 20px;
    position: relative;
}

.equipment-card.equipment-card--small::before,
.equipment-card.equipment-card--small::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 100%;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(to right, transparent 0%, #8f6e00 10%, #CAA111 50%, #8f6e00 90%, transparent 100%);
}


.equipment-card.equipment-card--small::before {
    top: 0;
}

.equipment-card.equipment-card--small::after {
    bottom: 0;
}


.equipment-card__title {
    font-size: 22px;
    font-weight: 400;
    font-family: "Shippori Mincho B1", serif;
    text-align: center;
    margin-bottom: 20px;
}

.equipment-card__text {
    font-size: 16px;
    line-height: calc(28 / 16);
    letter-spacing: 0.04em;
    font-family: "Shippori Mincho B1", serif;
}

.equipment_annotations {
    font-size: 14px;
    line-height: calc(28 / 14);
    letter-spacing: 0.04em;
    font-family: "Shippori Mincho B1", serif;
}

.equipment-card--small .equipment-card__text {
    letter-spacing: 0;
}

.equipment-block--shower .equipment-card__text {
    margin-bottom: 10px;
}

.equipment-card.equipment-card--small .equipment-card__title,
.equipment-card.equipment-card--small .equipment-card__text {
    color: #fff;
}


.equipment-block__edge-line {
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, #8f6e00 10%, #CAA111 50%, #8f6e00 90%, transparent 100%);
}


@media (min-width: 768px) {

    .section_content--equipment {
        margin-bottom: 120px;
    }


    .section_content--equipment .section_ttl::before,
    .section_content--equipment .section_ttl::after {
        background-image: url(../images/premiumplan/ttl_decoration-pt1_pc.png);
        max-width: 100%;
        width: 388px;
        height: 6px;
    }


    /* 基本：横並び */
    .equipment-block {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 60px;
    }


    /* 背景グラデ */
    .equipment-block.equipment-block--shower {
        background: radial-gradient(ellipse 360px 360px at 76% 50%,
                #005395 0%,
                #005395 5%,
                #0c2f54 80%,
                #0c2f54 100%);
    }

    .equipment-block.equipment-block--bathroom {
        background: radial-gradient(ellipse 360px 360px at 24% 50%,
                #005395 0%,
                #005395 5%,
                #0c2f54 80%,
                #0c2f54 100%);
    }

    .equipment-block.equipment-block--storage {
        background: radial-gradient(ellipse 220px 220px at 68% 50%,
                #005395 0%,
                #005395 5%,
                #0c2f54 80%,
                #0c2f54 100%);
    }

    .equipment-block.equipment-block--washbasin {
        background: radial-gradient(ellipse 220px 220px at 27% 50%,
                #005395 0%,
                #005395 5%,
                #0c2f54 80%,
                #0c2f54 100%);
    }

    /* photo 基準の大きさ */
    .equipment-block__photo {
        flex: 0 0 520px;
        margin: 0;
        aspect-ratio: inherit;
    }


    .equipment-block__photo.equipment-block__photo--small img {
        aspect-ratio: inherit;
    }


    /* heading の位置をカードの上に寄せるため */
    .equipment-block__heading {
        margin-bottom: 30px;
    }

    .equipment-block__label-en {
        font-size: 30px;
        letter-spacing: 0.06em;
    }

    .equipment-card {
        max-width: 347px;
        padding: 40px;
        margin: 0 0 30px;
    }

    .equipment-card.equipment-card--small {
        max-width: 400px;
        padding: 28px 20px;
        margin: 0;
    }

    .equipment-block.equipment-block--storage .equipment-card__title {
        text-align: left;
    }

    .equipment-block.equipment-block--washbasin .equipment-card__title {
        text-align: right;
    }

    /* ====== 各ブロックごとの左右入れ替え ====== */

    /* 1段目：写真 → テキスト（通常） */
    .equipment-block--shower .equipment-block__photo {
        order: 1;
    }

    .equipment-block--shower .equipment-content {
        order: 2;
    }

    /* 2段目：テキスト → 写真（逆） */
    .equipment-block--bathroom .equipment-block__photo {
        order: 2;
        flex: 0 0 550px;
    }

    .equipment-block--bathroom .equipment-content {
        order: 1;
    }

    /* 3段目：左画像・右カード */
    .equipment-block--storage .equipment-block__photo {
        order: 0;
        flex: 0 0 458px;
    }

    .equipment-block--storage .equipment-content {
        order: 1;
    }

    /* 4段目：右画像・左カード（逆） */
    .equipment-block--washbasin .equipment-block__photo {
        order: 2;
        flex: 0 0 458px;
    }

    .equipment-block--washbasin .equipment-content {
        order: 1;
    }
}

/*--------- 
view
-----------*/


/* ====== 共通 ====== */

.section_content--view {
    margin-bottom: 60px;
}


.section_content--view .section_ttl::before,
.section_content--view .section_ttl::after {
    background-image: url(../images/premiumplan/ttl_decoration-pt2.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    max-width: 100%;
    width: 104px;
    height: 6px;
}

.section_content--view .section_space {
    width: 100%;
    max-width: 100%;
}

/* 横スクロールの枠 */
.scroll_wrap {
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* SimpleBar のカスタムバーを非表示 */
.scroll_wrap .simplebar-track {
    display: none;
}


/* 中身（パノラマ画像） */
.view_photo {
    display: block;
    width: auto;
}

.view_photo img {
    display: block;
    width: auto;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    max-width: none;
    pointer-events: none;
}

@media (min-width: 768px) {

    .section_content--view {
        margin-bottom: 120px;
    }

    .section_content--view .section_intro {
        margin-bottom: 40px;
    }

    .section_content--view .section_ttl::before,
    .section_content--view .section_ttl::after {
        background-image: url(../images/premiumplan/ttl_decoration-pt2_pc.png);
        max-width: 100%;
        width: 470px;
        height: 6px;
    }

    .scroll_wrap {
        cursor: grab;
    }

    .scroll_wrap:active {
        cursor: grabbing;
    }

    .view_photo img {
        height: 700px;
        max-height: none;
    }

    /* SimpleBar のカスタムバーを非表示 */
    .scroll_wrap .simplebar-track {
        display: block !important;
    }

}


/*--------- 
roomplan
-----------*/

.section_content--roomplan {
    margin-bottom: 60px;
}


.room_list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 40px;
}

.room_item {
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

.room_item.not-sold .room_detail {
    opacity: .3;
}

.room_item.not-sold button {
    pointer-events: none;
}

.room_photo {
    box-shadow:
        0 0 5px rgba(255, 255, 255, 0.5),
        0 0 5px rgba(255, 255, 255, 0.4),
        0 0 5px rgba(255, 255, 255, 0.25);
}

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

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80%;
    background-color: #fff;
    border: 2px solid #000;
    z-index: 1003;
    text-align: center;
    transform: translate(-50%, -50%);
}

.popup img {
    max-width: 100%;
    cursor: pointer;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1002;
}


@media (min-width:768px) {

    .room_list {
        flex-direction: row;
        justify-content: center;
    }

    .room_item {
        max-width: 359px;
    }


    .popup {
        max-height: 95vh;
        overflow-y: auto;
    }

}

/*--------- 
annotation
-----------*/

.section_content--annotation {
    background: #fff;
    padding: 40px 0;
}

.annotation_text {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: calc(21 / 14);
    font-family: "Shippori Mincho B1", serif;
}


@media (min-width:768px) {

    .section_content--annotation {
        padding: 80px 0;
    }

    .annotation_text {
        font-size: 16px;
        letter-spacing: 0.04em;
    }

}

/*--------- 
パンくず
-----------*/
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1128px;
    margin-left: 20px;
    padding-bottom: 10px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-link {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 12px;
    line-height: 17px;
    font-family: "Noto Sans JP", sans-serif;
}

.breadcrumb-item:last-child::before {
    content: "";
    width: 6px;
    height: 6px;
    border-top: solid 1px #000000;
    border-right: solid 1px #000000;
    transform: rotate(45deg);
    display: inline-block;
}

@media (min-width: 768px) {
    .breadcrumb {
        margin-left: auto;
        margin-right: auto;
    }
}