@charset "UTF-8";
:root{
    --plan-black: #3c3838;
    --plan-gray: #b4b5a4;
    --plan-gray2: #cdcec2;
    --plan-gray3: #e6e5e0;
}

.mv{
    position: relative;
    aspect-ratio: 1920 / 1080;
}
.mv-ttl{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: clamp(2.8rem, 4.6vw, 4.6rem);
    font-weight: 400;
    letter-spacing: .8rem;
    text-align: center;
    span{
        padding-bottom: 4px;
        position: relative;
        display: inline-block;
        &::after{
            content: "";
            width: calc(100% + 78px);
            height: 1px;
            background-color: var(--color-white);
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }
    }
}
.main-section{
    background: url(../img/plan/bg-plan.webp) no-repeat top center/ cover;
}
.lead{
    margin-bottom: clamp(60px, 12vw, 120px);
    .secondary-heading{
        margin-bottom: 1.2em;
    }
    .note{
        margin: 0;
        font-size: clamp(1.4rem, 2.1vw, 2.1rem);
    }
}
.plan-list{
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.plan-item{
    background: url(../img/plan/bg-plan-item.webp) no-repeat center / cover;
    color: var(--color-white);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .4);
    transition: all .3s ease-out;
    &:hover{
        box-shadow: none;
        transform: translate(2px, 2px);
        filter: brightness(1.2);
    }
    /* 間取りが増えたら下記消す */
    /* &:first-child{
        grid-column: 2/3;
    } */
    @media screen and (max-width: 767px) {
        &:first-child{
            grid-column: 1/-1;
        }
    }
    
}
.plan-link{
    padding: clamp(55px, 7.5vw, 75px) 10px clamp(25px, 4.5vw, 45px);
    width: 100%;
    height: 100%;
    display: block;
    &:hover{
        opacity: 1;
    }
}
.plan-name{
    margin: 0 auto 40px;
    width: 150px;
    height: 150px;
    align-content: center;
    background: url(../img/plan/bg-gold.webp) no-repeat center / cover;
}
.plan-name-in{
    display: flex;
    flex-direction: column;
    font-size: clamp(5.2rem, 5.6vw, 5.6rem);
    font-weight: 400;
    line-height: 1;
    .small-text{
        font-size: 40%;
    }
}
.plan-floor{
    font-size: clamp(3rem, 3.6vw, 3.6rem);
    letter-spacing: .3rem;
    .num{
        font-size: 120%;
    }
    .small-text{
        font-size: 65%;
    }
}
.plan-area{
    font-size: clamp(1.4rem, 1.65vw, 1.65rem);
    letter-spacing: .1rem;
    .middle-text{
        font-size: 2.4rem;
        font-weight: 400;
    }
}
.area-wide{
    font-size:clamp(2.3rem, 2.6vw, 2.6rem);
    .large-text{
        font-size: clamp(3.2rem, 3.6vw, 3.6rem);
    }
}
@media screen and (max-width: 1150px) {
    .plan-list{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 767px) {
    .mv{
        padding-top: 60px;
        aspect-ratio: 750 / 600;
        figure{
            height: 100%;
            img{
                height: inherit;
                object-fit: cover;
            }
        }
    }
    .mv-ttl{
        top: 56%;
        span{
            &::after{
                width: calc(100% + 36px);
            }
        }
    }
    .plan-list{
        grid-template-columns: auto;
    }
    .plan-name{
        width: 130px;
        height: 130px;
    }
}