/* CSS Document */

/*PCのスタイル*/

/******************************************************************************************/
/* for 共通  */
/******************************************************************************************/
#slider {
    width: 100%;
    height: 90vh;
}
#sec01 .secInner{
    height: 100%;
}
#sec01 h1{
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 2%;
    transform: translateY(-40%);
    font-size: 4.7vw;
    font-weight: 500;
    color: var(--whiteColor);
    line-height: 1.5;
}
#sec01 h1 span {
    display: block;
    font-size: 6.5vw;
    padding-left: 0.3rem;
}
.recommend {
    margin: auto;
}
.recommend > ul {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.recommend > ul > li{
    flex-basis: 23%;
    margin: 0 1% 3%;
    position: relative;
    padding: 5px;
    transition: all .35s;
}
.recommend > ul > li:hover{
    transform: translateY(-5px);
    box-shadow: 0 6px 6px var(--shadowColor);
}
.flexBox_title{
    font-size: clamp(12px, 0.97vw, 15px);
    font-weight: 500;
    line-height: 1.5;
}
.flexBox_price{
    font-size: clamp(10px, 0.9vw, 14px);
    line-height: 1.1;
    text-align: right;
}
.font_price{
    font-size: clamp(13px, 1.25vw, 20px);
    margin-left: 5px;
}
.abIcon{
    position: absolute;
    top: 3%;
    right: 3%;
    font-size: clamp(22px, 2vw, 32px);
}

/*========= ▼modal ===============*/
.modalLink{
    display: block;
}
.modalCon{
    padding: 2.5em 3em;
    position: relative;
    max-width: 1100px;
    text-align: center;
}
#cboxLoadedContent{
    border-radius: 10px;
}
#cboxLoadedContent::-webkit-scrollbar {
    display: block;
    background: transparent;
    width: 7px;
    height: 10px;
    border-radius: 7px;
    padding: 8;
    position: absolute;
    top: 5%;
    right: 5%;}
#cboxLoadedContent::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 5px;
}
#cboxLoadedContent::-webkit-scrollbar-thumb:hover {
    background: #777;
}
.modarInner_title{
    font-size: clamp(18px, 1.75vw, 28px);
    font-weight: 500;
    line-height: 1.3;
}
.modalInner_box{
    margin: 1em auto;
}
.modarInner_sum{
    font-size: clamp(13px, 1vw, 16px);
    margin-bottom: 2em;
    margin-top: 1em;
    line-height: 1.6;
    text-align: left;
}
.closeBtn {
    position: fixed;
    top: 13px;
    right: 6px;
    font-size: 50px;
    transition: all .3s;
}
.modalSubTitle{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--glayColor);
    padding-bottom: 5px;
}
.modalSubTitle > li {
    font-size: clamp(15px, 1.4vw, 22px);
    line-height: 1.2;
}
.modal_price{
    font-size: clamp(12px, 0.95vw, 15px);
}
.modal_font_price{
    font-size: clamp(20px, 2.4vw, 38px);
    margin-left: 5px;
}
.modalImg_area{
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
}
.modalImg_main{
    position: relative;
    flex-basis: 65%;
    text-align: left;
}
.sumList{
    padding: 0.5em 2em;
    border: 1px solid var(--glayColor);
    display: inline-block;
    margin-bottom: 20px;
}
.sumList ul {
    font-size: clamp(13px, 1vw, 16px);
    list-style: disc;
    text-align: left;
}
.sumList > p{
    font-size: clamp(13px, 1vw, 16px);
    text-align: left;
}
.modalImg_sub{
    position: relative;
    flex-basis: 31%;
}
.modalImg_sub img:first-child{
    margin-bottom: 7%;
}
.okIllust{
    position: absolute;
    top: -3%;
    right: 0;
    width: 27%;
}
.modarInner_sum .notice{
    display: block;
    font-size: clamp(11px, 0.9vw, 14px);
    text-align: right;
}
img.iconType{
    width: 60%;
    margin: auto;
}
.modalReverse{
    flex-direction: row-reverse;
    align-items: stretch !important;
}
.okIllust2{
    position: relative;
    width: 74%;
}
.subFlex{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/*========= ▲modal ===============*/
#sec03 {
    background: var(--bgColor);
}

.case > ul{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.case > ul > li{
    flex-basis: 43%;
    position: relative;
    padding-bottom: 6%;
    margin-bottom: 4%;

}
.case > ul > li .caseImg{
    width: 92%;
    transition: all .35s;
}
.case > ul > li .caseSum{
    position: absolute;
    width: 65%;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .85);
    padding: 1em;
    transition: all .35s;
}
.case > ul > li:hover .caseSum{
    transform: translateY(-5px);
    box-shadow: 0 6px 6px var(--shadowColor);
}

.case > ul > li .caseSum dl{
    margin: 1em auto;
}
.case > ul > li .caseSum dl dt{
    font-size: clamp(14px, 1.15vw, 18px);
    font-weight: 500;
}
.case > ul > li .caseSum dl dd{
    font-size: clamp(13px, 1vw, 16px);
    padding-left: 2em;
}
.case > ul > li .caseSum > span {
    position: absolute;
    bottom: 15px;
    right: 25px;
    font-size:  clamp(18px, 1.5vw, 24px);
    transition: all .35s;
}

.lavel{
    font-size: clamp(11px, 0.77vw, 12px); 
    font-weight: 500;
    padding: 0.35em 1em;
    border-radius: 5px;
    border: 1px solid transparent;
    display: inline-block;
}
.lavelRoom{
    background: var(--roomBase);
    border-color: var(--roomBorder);
}
.lavelCoating{
    background: var(--coatingBase);
    border-color: var(--coatingBorder);
}
.lavelWindow{
    background: var(--windowBase);
    border-color: var(--windowBorder);
}
.lavelBath{
    background: var(--bathBase);
    border-color: var(--bathBorder);
}
.lavelToilet{
    background: var(--toiletBase);
    border-color: var(--toiletBorder);
}
.lavelWashroom{
    background: var(--washroomBase);
    border-color: var(--washroomBorder);
}
.lavelKitchen{
    background: var(--kitchenBase);
    border-color: var(--kitchenBorder);
}
.case_btnArea{
    text-align: right;
}
.case_btnArea a{
    font-size: clamp(15px, 1.25vw, 20px); 
    font-weight: 600;
    color: var(--whiteColor);
    display: inline-block;
    padding: 0.5em 2em;
    transition: all .35s;
    background: var(--secondaryColor);
    border-radius: 5px;
    text-align: center;
}
.case_btnArea a i {
    margin-left: 5px;
}

.relief{
    
}
.relief > ul {
    display: flex;
    justify-content: space-around;
    margin-bottom: 5%;
}
.relief > ul li:first-child{
    flex-basis: 57%;
}
.relief > ul li:last-child{
    flex-basis: 37%;
}
.relief h3{
    font-size: clamp(16px, 1.25vw, 20px);
    font-weight: 600;
    border-left: 6px solid var(--secondaryColor);
    padding-left: 5px;
    line-height: 1.5;
    margin: 1.5em auto;
}
.relief .reliefSum{
    font-size: clamp(14px, 1vw, 16px);
}
.txtLink{
    color: var(--linkColor);
    font-weight: 500;
}

.slide .s_slider div{
    padding: 0 1px;
}

#sec05{
    background: url("../img/bg_reasons.jpg") no-repeat center top;
    background-size: cover;
    background-attachment: fixed;
}
#sec05::before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.reason ul.reasonUl01 {
    display: flex;
    gap:30px
}
    
.reason ul.reasonUl01 li{
    flex-basis: calc((100% - 60px)/3);
    position: relative;
    background: var(--whiteColor);
    border-radius: 10px;
    border: 1px solid var(--greenColor);
}   

.reason h4 {
    background: var(--greenColor);
    border-radius: 8px 8px 0 0;
    padding: 0.2em;
    font-size: clamp(19px, 1.75vw, 28px);
    color: var(--whiteColor);
    text-align: center;
}
.reason dl {
    padding: 2em 2.5em;
    text-align: center;
}
.reason dt{
    font-size: clamp(18px, 1.5vw, 24px);
    border-bottom: 1px solid var(--secondaryColor);
    margin-bottom: 1em;
    display: inline-block;
}
.reason dd{
    font-size: clamp(13px, 1vw, 16px);
    text-align: left;
}

.reason ul.reasonUl02 {
    display: flex;
    gap:30px;
    margin-top: 4%;
}
    
.reason ul.reasonUl02 li{
    flex-basis: calc((100% - 30px)/2);
    position: relative;
    background: var(--whiteColor);
    border-radius: 10px;
    border: 1px solid var(--greenColor);
}   
.reliefImgs{
    margin-top: 3%;
}

.flow dl{
    position: relative;
    margin: 0 auto 5%;
}
.flow dl:last-child{
    margin-bottom: 0;
}
.flow dl:not(:last-child)::after{
    position: absolute;
    content: "";
    border-top: solid 20px var(--secondaryColor);
    border-left: solid 25px transparent;
    border-right: solid 25px transparent;
    left: 50%;
    bottom: -15%;
    transform: translateX(-50%);
}
.flow dt{
    font-size: clamp(15px, 1.25vw, 20px);
    font-weight: 500;
    border-left: 6px solid var(--greenColor);
    margin-bottom: 1.5em;
    padding-left: 5px;
}
.flow dd{
    display: flex;
    justify-content: space-between;
    gap:30px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--greenColor);
}

.flow .ddTxt{
    flex-basis: calc(70% - 30px);
    font-size: clamp(13px, 1vw, 16px); 
    line-height: 2.1;
}
.flow .ddImg{
    flex-basis: 30%;
}
#sec07{
    background: var(--bgColor);
}
.faq dl{
    background: var(--whiteColor);
    box-shadow: 0 3px 6px var(--shadowColor);
    padding: 1.5em 2em;
    margin-bottom: 20px;
}
.faq dt{
    position: relative;
    font-size: clamp(17px, 1.25vw, 20px);
    font-weight: 500;
    color: var(--secondaryColor);
    margin-bottom: 1em;
}
.faq dt::before{
    content: "Q";
    margin-right: 5px;
}
.faq dd {
    position: relative;
    font-size: clamp(13px, 1.1vw, 16px);
    margin-left: 2.5em;
    text-indent: -1.2em;
}
.faq dd::before{
    content: "A";
    font-size: clamp(17px, 1.25vw, 20px);
    font-weight: 500;
    color: var(--greenColor);
    margin-right: 5px;
}
.faq dd ul{
    list-style: disc;
    padding-left: 1.5em;
    text-indent: 0;
}
  



@media (any-hover: hover) {
/*:hover はここに書く*/
    .case > ul > li:hover .caseSum > span{
        right: 15px;
    }
    .case > ul > li:hover .caseImg{
        opacity: 0.85;
    }
    .case_btnArea a:hover{
        transform: translateY(-5px);
        opacity: .85;
        box-shadow: 3px 6px 6px var(--shadowColor);
    }
    
    
}




@media screen and (max-width:1100px){
    #slider{
        height: 93.2vh;
    }
}


@media screen and (max-width:820px){
    #slider{
        height: 60vh;
    }
    .recommend > ul > li{
        flex-basis: 31.333%;
    }
    
    .case > ul > li{
        padding-bottom: 10%;
    }
    .case > ul > li .caseSum{
        width: 70%;
    }
    
    .relief > ul{
        flex-direction: column;
    }
    .relief > ul li:last-child{
        display: flex;
        flex-direction: column-reverse;
    }
    #sec05{
        background: url("../img/bg_reasons_sp.jpg") no-repeat center center;
        background-size: cover;
        background-attachment: inherit;
    }
    .reason ul.reasonUl01{
        flex-wrap: wrap;
        justify-content: center;
    }
    .reason ul.reasonUl01 li{
        flex-basis: calc((100% - 30px)/2);
    }
    .reason ul.reasonUl02{
        flex-direction: column;
    }
    
    .flow .ddTxt{
        line-height: 1.7;
    }
    
    
  
}






@media screen and (max-width:768px){
    #slider{
        height: 80vh;
    }
    #sec01 h1{
        font-size: 6vw;
    }
    #sec01 h1 span{
        font-size: 8vw;
    }


  
  
  

}



@media screen and (max-width:700px){
    #slider{
        height: 70svh;
    }
    #sec01 h1{
        font-size: 8vw;
    }
    #sec01 h1 span{
        font-size: 10vw;
    }
    .modalCon{
        padding: 2.3em 1.5em 1.5em;
    }
    .closeBtn {
    top: 17px;
    right: 4px;
    font-size: 36px;
}
    .modalSubTitle{
        flex-direction: column;
    }
    .modalSubTitle > li:first-child{
        margin-right: auto;
    }
    .modalImg_area{
        flex-direction: column;
    }
    .modalImg_main{
        margin-bottom: 7%;
    }
    .okIllust{
        width: 33%;
    }
    .recommend{
        margin-top: 6%;
    }
    .recommend > ul > li{
        flex-basis: 48%;
    }
    
    .case > ul{
        flex-direction: column;
    }
    .reason ul.reasonUl01{
        flex-direction: column;
    }
    .flow dd{
        flex-direction: column;
        gap:10px;
    }
    .flow dl{
        margin-bottom: 12%;
    }
    .flow dl:not(:last-child)::after{
        bottom: -9%;
    }
    .faq dl{
        padding: 1.2em;
    }
    .faq dd ul{
        padding-left: 1.5em;
    }

  
  
}