﻿@charset "utf-8";
:root{
    --color-db: #3b4453;
    --color-white: #fff;
}
#freeArea {
    padding: 50px 0;
    max-width: none;
    /* background: #dbdbdb; */
    text-align: center;
}
.mv{
    position: relative;
    background-color: var(--color-white);
    &::before{
        content: '';
        width: 100%;
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, .58);
    }
}
.mv .text-wrapper{
    max-width: 1045px;
    width: 90%;
    position: absolute;
    top: 53.5%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.intro{
    .inner{
        padding: clamp(60px, 12vw, 120px) 0 clamp(60px, 16vw, 160px);
    }
    .secondary-heading{
        margin-bottom: clamp(28px, 3.6vw, 36px);
        font-size: clamp(22px, 3.2vw, 32px);
    }
}
.anchor-btn-lists{
    margin: clamp(36px, 8vw, 80px) auto 0;
    max-width: 960px;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.anchor-btn{
    padding: clamp(18px, 2vw, 20px) 8px clamp(24px, 2.6vw, 26px);
    width: calc(calc(100% - 40px) / 3);
    border: 1px solid var(--color-db);
    color: var(--color-db);
    font-size: clamp(14px, 1.6vw, 16px);
    position: relative;
    cursor: pointer;
    transition: all .3s ease-out;
    &::after{
        content: url(../../img/1ldk/tab-arrow.svg);
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    &:last-child{
        letter-spacing: .2rem;
    }
    &:hover{
        background-color: var(--color-db);
        color: var(--color-white);
        &::after{
            content: url(../../img/1ldk/tab-arrow-wh.svg);
        }
        a{
            color: var(--color-white);
        }
    }
    a{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .cormorant-font{
        font-size: 170%;
        line-height: 1;
    }
}

.value-bg{
    background: url('../../img/1ldk/value-bg.webp') no-repeat top center/ cover;
}
.general-section .inner-mid{
    padding: clamp(60px, 12vw, 120px) 0 clamp(60px, 15vw, 160px);
    max-width: 1200px;
}
.is-darkblue{
    color: var(--color-db);
}
.secondary-heading{
    margin-bottom: clamp(14px, 3.6vw, 36px);
    line-height: 1;
    &.cormorant-font{
        font-size: clamp(1.65rem, 4.1vw, 2.6rem);
    }
}
.lead{
    margin-bottom: 1.3em;
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    letter-spacing: .2rem;
    line-height: 1.5;
}
.note + .ldk-grid{
    margin-top: clamp(52px, 13vw, 180px);
}
sup{
    font-size: 60%!important;
}
.grid-wrapper{
    display: grid;
}
.ldk-grid{
    margin-bottom: clamp(32px, 8vw, 110px);
    grid-template-columns: 1fr min(40vw, 574px);
    gap: 8vw;
    &:last-of-type{
        margin-bottom: 0;
    }
    figure{
        height: fit-content;
        .caption.has-bg{
            right: 0;
            left: auto;
        }
    }
}
.ldk-contents{
    .tertiary-heading{
        margin-bottom: clamp(1.2em, 4.4vw, 2em);
        font-size: clamp(19px, 2.2vw, 22px);
        line-height: 1.8;
    }
    .note{
        line-height: 2.2;
        letter-spacing: .1rem;
    }
}
.line-wrap{
    figure{
        margin-bottom: clamp(24px, 3.2vw, 32px);
        &:first-child{
            max-width: 366px;
            width: 88%;
        }
        &:nth-child(2){
            max-width: 355px;
            width: 86%;
        }
        &:last-child{
            margin-bottom: 0;
            max-width: 252px;
            width: 64%;
        }
    }
}
.locations-bg{
    background: url('../../img/1ldk/locations-bg.webp') no-repeat top center/ cover;
}
.ov-hidden-x{
    overflow-x: hidden;
}
.slider-wrap{
    /* width: 100vw; */
    margin-right: calc(50% - 50vw);
    padding-right: calc(16 / 1440 * 100vw);
    overflow-x: hidden;
}
.ldk-slider{
    .slick-list{
        margin: 0 calc(16 / 1440 * -100vw);
        overflow: visible;
    }
    .slick-slide {
        margin: 0 calc(16 / 1440 * 100vw);
    }
    figure{
        height: fit-content;
        .caption.has-bg{
            right: 0;
            left: auto;
        }
    }
}
.locations,
.lifestyle{
    .caption.has-bg{
        right: 0;
        left: auto;
    }
}
.lifestyle-bg{
    background: url('../../img/1ldk/lifestyle-bg.webp') no-repeat top center/ cover;
}
.plan{
    .inner{
        padding: clamp(60px, 12vw, 120px) 0 clamp(60px, 15vw, 160px);
        max-width: 1050px;
        width: 90%;
    }
}
.plan-wrap{
    margin-top: clamp(40px, 10vw, 120px);
    display: grid;
    grid-template-columns: min(37vw, 390px) min(46vw, 540px);
    justify-content: space-between;
    align-items: center;
    gap: 6.5vw;
}
.plan-contents-l{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6vw;
    .hanrei{
        margin-top: 16px;
    }
    .caption{
        margin-bottom: 0;
    }
}
.reserve-box{
    background: url('../../img/1ldk/reserve-img.webp') no-repeat center center/ cover;
    aspect-ratio: 1680 / 484;
    position: relative;
    &::after{
        content: '';
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, .54);
        z-index: 0;
    }
    .reserve-btn{
        padding: clamp(10px, 1.4vw, 14px) 0;
        max-width: 416px;
        width: 90%;
        display: block;
        background-color: #aa9b6a;
        color: var(--color-white);
        font-size: clamp(1rem, 2.24vw, 1.4rem);
        border: 1px solid #aa9b6a;
        transition: all .3s ease-out;
        &:hover{
            opacity: .7;
        }
    }
    .caption.has-bg{
        right: 0;
        left: auto;
    }
}
.reserve-contents{
    width: 80%;
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.reserve-text{
    margin-bottom: 1.3em;
    font-size: clamp(1.3rem, 2.2vw, 2.2rem);
    line-height: 1.5;
}

/* @media
 * ========================================================================== */
@media screen and (max-width: 1024px) {

}

@media screen and (max-width: 767px) {
    .mv{
        &::before{
            background-color: rgba(51, 51, 51, .7);
            mix-blend-mode: multiply;
        }
    }
    .mv .text-wrapper{
        width: 82%;
        top: 50%;
    }
    .page-title {
        margin-bottom: 0;
    }
    .anchor-btn-lists{
        width: 80%;
    }
    .anchor-btn{
        width: 100%;
    }
    .img-wrapper .caption.has-bg{
        right: 0;
        left: auto;
    }
    .plan-wrap,
    .ldk-grid{
        grid-template-columns: auto;
    }
    .ldk-grid{
       gap: 4vw;
       & figure{
        .caption.has-bg.sp-left{
            right: auto;
            left: 0;
        }
       }
    }
    .line-wrap{
        margin-bottom: 14px;
    }
    .slider-wrap{
        margin-right: auto;
        padding-right: 0;
    }
    .plan-wrap{
        gap: 0;
    }
    .plan-contents-l,
    .plan-detail + div{
        display: contents;
    }
    .plan-detail{
        margin-bottom: 24px;
        order: 1;
        & + div figure{
            order: 5;
        }
    }
    .plan-contents-r{
        order: 2;
    }
    .plan-contents-l{
        .hanrei{
            order: 3;
            & + .caption{
                margin-bottom: 24px;
                order: 4;
            }
        }
    }
    .reserve-box{
        aspect-ratio: 5 / 4;
    }
}
@media screen and (max-width: 619px) {

}

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

}

