@charset "UTF-8";

/* 各section ----------------------------- */
#service section{
    width: 100%;
    padding: 125px 0;
    position: relative;
}
#service section:nth-child(even){
    padding-right: 10%;
}
#service section:nth-child(odd){
    padding-left: 10%;
}
#service section::after{
    content: "";
    width: 70%;
    height: 650px;
    background-color: #f5f5f5;
    position: absolute;
    top: 195px;
    z-index: -1;
}
#service section:nth-child(even)::after{
    right: 0;
}
#service section:nth-child(odd)::after{
    left: 0;
}

#service section .main-wrap{
    display: flex;
}
#service section:nth-child(even) .main-wrap{
    flex-direction: row;
}
#service section:nth-child(odd) .main-wrap{
    flex-direction: row-reverse;
}

#service section .main-wrap .main-img-wrap{
    width: 40%;
}

#service section .main-wrap .info-wrap{
    width: 60%;
}
#service section .main-wrap .info-wrap .text-wrap{
    width: 80%;
}
#service section:nth-child(even) .main-wrap .info-wrap .text-wrap{
    margin: 0 0 0 auto;
}
#service section:nth-child(odd) .main-wrap .info-wrap .text-wrap{
    margin: 0 auto 0 0;
}
#service section .main-wrap .info-wrap .text-wrap{
    padding-top: 45px;
    padding-bottom: 100px;
}

#service section .main-wrap .info-wrap .text-wrap .title{
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}
#service section:nth-child(even) .main-wrap .info-wrap .text-wrap .title{
    align-items: flex-end;
}
#service section:nth-child(odd) .main-wrap .info-wrap .text-wrap .title{
    align-items: flex-start;
}
#service section .main-wrap .info-wrap .text-wrap .title span{
    display: block;
}
#service section .main-wrap .info-wrap .text-wrap .title .ja{
    font-family: "Shippori Mincho B1", serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.4em;
}
#service section .main-wrap .info-wrap .text-wrap .title .en{
    font-family: "League Spartan", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #868686;
}
#service section .main-wrap .info-wrap .text-wrap p{
    margin-bottom: 60px;
}

#service section .main-wrap .info-wrap .sub-img-wrap{
    width: 85%;
    display: flex;
    gap: 40px;
}
#service section:nth-child(even) .main-wrap .info-wrap .sub-img-wrap{
    margin: 0 0 0 auto;
}
#service section:nth-child(odd) .main-wrap .info-wrap .sub-img-wrap{
    margin: 0 auto 0 0;
}
#service section .main-wrap .info-wrap .sub-img-wrap img{
    display: block;
    width: calc(50% - 20px);
}
/* 間取りリフォームだけsub画像 */
#service #renovation .main-wrap .info-wrap .sub-img-wrap img{
    width: 100%;
}


/* タカラスタンダード ----------------------- */
#bathroom .takara{
    width: 90%;
    color: #fff;
    background-color: #222;
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 100px 0 0 auto;
}

#bathroom .takara .text-wrap{
    width: 62%;
    padding: 20px 2% 20px 5%;
}
#bathroom .takara .text-wrap .title{
    font-size: 16px;
    line-height: 1.4em;
    padding-bottom: 5px;
    margin-bottom: 20px;
}
#bathroom .takara .text-wrap .title .bold{
    font-size: 20px;
    font-weight: 600;
    border-bottom: 1px dashed #868686;
}
#bathroom .takara .text-wrap .text{
    font-size: 15px;
    margin-bottom: 20px;
}
#bathroom .takara .text-wrap .takara-link{
    color: #fff;
    font-size: 16px;
    text-align: right;
}
#bathroom .takara .text-wrap .takara-link .link-area{
    display: inline-block;
    color: #fff;
}
#bathroom .takara .text-wrap .takara-link .link-area:hover{
    opacity: 0.7;
    text-decoration: underline;
}
#bathroom .takara .img-wrap{
    width: 38%;
    height: 100%;
    flex-shrink: 0;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    object-fit: cover;
    overflow: hidden;
}
#bathroom .takara .img-wrap img{
    width: 100%;
}


/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 960px) {

    /* 各section ----------------------------- */
    #service section:nth-child(even){
        padding-right: 0;
    }
    #service section:nth-child(odd){
        padding-left: 0;
    }
    #service section::after{
        width: 95%;
        height: 850px;
        top: 400px;
    }

    #service section .main-wrap{
        display: flex;
    }
    #service section:nth-child(even) .main-wrap{
        flex-direction: column;
    }
    #service section:nth-child(odd) .main-wrap{
        flex-direction: column;
    }

    #service section .main-wrap .main-img-wrap{
        width: 40%;
    }
    #service section:nth-child(even) .main-wrap .main-img-wrap{
        margin: 0 auto 0 0;
    }
    #service section:nth-child(odd) .main-wrap .main-img-wrap{
        margin: 0 0 0 auto;
    }

    #service section .main-wrap .info-wrap{
        width: 100%;
    }
    #service section .main-wrap .info-wrap .text-wrap{
        width: 80%;
    }
    #service section:nth-child(even) .main-wrap .info-wrap .text-wrap{
        margin: 0 auto;
    }
    #service section:nth-child(odd) .main-wrap .info-wrap .text-wrap{
        margin: 0 auto;
    }
    #service section .main-wrap .info-wrap .text-wrap{
        padding-top: 60px;
    }

    /* タカラスタンダード ----------------------- */
    #bathroom .takara{
        align-items: flex-end;
        margin: 100px auto 0 auto;
    }

    #bathroom .takara .text-wrap{
        padding: 20px 2% 20px 2%;
    }
    #bathroom .takara .text-wrap .takara-link .link-area{
        text-decoration: underline;
    }
    #bathroom .takara .text-wrap .takara-link .link-area:hover{
        opacity: 1;
    }


}

/*-------------------------------------------
スマホ
-------------------------------------------*/
@media screen and (max-width: 767px) {

    /* 各section ----------------------------- */
    #service section{
        padding: 80px 0;
    }
    #service section::after{
        height: 900px;
        top: 280px;
    }

    #service section .main-wrap .main-img-wrap{
        width: 70%;
    }

    #service section .main-wrap .info-wrap .text-wrap{
        padding-bottom: 80px;
    }

    #service section:nth-child(even) .main-wrap .info-wrap .text-wrap .title{
        align-items: flex-start;
    }
    #service section .main-wrap .info-wrap .text-wrap .title .ja{
        font-size: 24px;
    }

    #service section .main-wrap .info-wrap .sub-img-wrap{
        gap: 20px;
    }
    #service section .main-wrap .info-wrap .sub-img-wrap img{
        width: calc(50% - 10px);
    }

    /* タカラスタンダード ----------------------- */
    #bathroom .takara{
        flex-direction: column;
        align-items: flex-end;
        margin: 100px auto 0 auto;
    }

    #bathroom .takara .text-wrap{
        width: 100%;
        padding: 40px 5%;
    }
    #bathroom .takara .text-wrap .title{
        width: fit-content;
        margin: 0 auto 20px auto;
    }
    #bathroom .takara .text-wrap .takara-link .link-area{
        text-decoration: underline;
    }
    #bathroom .takara .text-wrap .takara-link .link-area:hover{
        opacity: 1;
    }
    #bathroom .takara .img-wrap{
        width: 100%;
        clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 100%);
    }


}