@charset "UTF-8";
:root{
    --color-orange: #e88f00;
    --color-wh: #fff;
    --color-bk: #1a1a1a;
}

.intro-section{
    padding-top: 138px;
    /* padding-top: clamp(60px, 10vw, 100px); */
}
@media (max-width: 991px) {
    .intro-section{
        padding-top: 60px;
    }
}
.hero{
    padding-top: 0;
}
.note{
    line-height: 2;
}
.intro-txt-area{
    .lead{
        margin-bottom: 32px;
       font-size: clamp(1.2rem, 4.8vw, 1.4rem);
        font-weight: 600;
    }
    .note{
        font-weight: 600;
    }
}
.txt-strong{
    margin-bottom: 1em;
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    font-weight: 600;
    line-height: 1.6;
}
.is-orange{
    color: var(--color-orange);
}

.illust-img{
    width: calc(60% - 16px);
}
.illust-content{
    width: calc(40% - 16px);
    .tertiary-heading{
        margin-bottom: .3em;
        font-weight: 600;
    }
}
.home .container{
    background-color: var(--color-wh);
}
.slide-section{
    position: relative;
    &::before{
        content: "";
        width: 100%;
        background: #EB5505;
        background: linear-gradient(-60deg, rgba(235, 85, 5, 1) 0%, rgba(245, 170, 0, 1) 100%);
        aspect-ratio: 1680 / 550;
        position: absolute;
        bottom: 0;
        left: 0;
    }
    .tertiary-heading{
            margin-bottom: 3em;
        font-size: clamp(1.2rem, 4.8vw, 1.4rem);
            font-weight: 600;
            line-height: 2;
    }
}
.link-btn{
    margin-top: 40px;
    padding: 20px 28px 20px 4px;
    max-width: 237px;
    min-width: auto;
    width: 100%;
    display: grid;
    place-items: center;
    background: #EB5505;
    background: linear-gradient(-60deg, rgba(235, 85, 5, 1) 0%, rgba(245, 170, 0, 1) 100%);
    position: relative;
    font-size: clamp(1rem, 4vw, 1.2rem);
    letter-spacing: .1rem;
    &::before{
        content: "";
        background: url(../images/common/arrow-wh.svg) no-repeat center / cover;
        width: 20px;
        height: 20px;
        position: absolute;
        top: 50%;
        right: 18%;
        transform: translateY(-50%);
        transition: all .3s ease-out;
    }
    &:hover{
        color: var(--color-wh);
        &::before{
            right: 15%;
        }
    }
    &.btn-right{
        margin-inline: auto 0;
    }
    &.btn-left{
        margin-inline: 0 auto;
    }
    &.btn-center{
        margin-inline: auto;
    }
}
.page-bnr-box{
    grid-template-columns: auto min(46vw, 768px);
    border: 1px solid #ccc;
    color: var(--color-bk);
    .text-content{
        padding: clamp(32px, 5vw, 50px) clamp(20px, 4vw, 40px) clamp(32px, 5vw, 50px) clamp(20px, 6vw, 60px);
    }
    .bnr-ttl{
        margin-bottom: .4em;
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: clamp(2rem, 5.12vw, 3.2rem);
        font-weight: 650;
        letter-spacing: .1rem;
        .small-text{
            font-size: 36%;
            letter-spacing: 0;
        }
    }
    .link-btn{
        margin-top: 10px;
    }
    .img-content{
        height: 100%;
        position: relative;
        &::before{
            content: "";
            width: 30%;
            height: 100%;
            background: url(../images/livingservice/top/blur-img.webp) no-repeat center/ cover;
            position: absolute;
            top: 0;
            left: 0;
            aspect-ratio: 77 / 75;
            z-index: 1;
        }
        figure{
            height: 100%;
            img{
                height: 100%;
                object-fit: cover;
            }
        }
    }
    & + .page-bnr-box{
        margin-top: clamp(40px, 6vw, 60px);
    }
    &:first-child{
        img{
            object-position: 80% center;
        }
    }
    &:last-child{
        img{
            object-position: 25%;
        }
    }
    &:hover{
        .link-btn::before{
            right: 15%;
        }
    }
}
@media (min-width: 992px) {
    .illust-wrapper:nth-child(2) .illust-img {
        order: initial;
    }
    .illust-wrapper:nth-child(odd) .illust-img {
        order: 2;
    }
}
@media (max-width: 767px) {
    .home .container {
        margin-top: -40vw;
    }
    .link-btn {
        width: 65%;
    }
    .page-bnr-box{
        grid-template-columns: auto;
        .text-content{
            order: 2;
        }
        .img-content{
            order: 1;
            &::before{
                content: none;
            }
            figure{
                aspect-ratio: 3 / 2;
            }
        }
    }
}