/* PC */
/* service-head */
.ao-flex {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 10rem;
    margin: 12rem 0 4.3rem;
}

.ao-flex .section-head{
    margin: 0;
}

.container:nth-of-type(2) .ao-flex{
    margin-top: 8.2rem
}

.service-head {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 60rem);
    margin-bottom: 0;
}

.service-head__border{
    display: none;
}

.service-common__img {
    border-radius: 5px;
    width: 100%;
}

.service-head__count {
    font-size: 4.2rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 3.3rem;
    text-align: left;
    width: 100%;
    line-height: 1.2;
}

.service-head__count span{
    font-size: 6rem;
    width: auto;
    height: 4.7rem;
    margin-left: 0;
    position: relative;
    margin-bottom: 3.3rem;
    display: table;
    font-weight: 600;
}

.service-head__count span::after{
    display: block;
    content: "";
    background-image: url(../../image/pc/common/border.svg);
    background-size: 6px 3px;
    background-repeat: space;
    background-position: left bottom;
    width: 100%;
    height: 3px;
    position: absolute;
    bottom: -6px;
}

.service-head__count .service-head__border {
    margin-top: 0;
    margin-bottom: 2rem;
    justify-content: left;
    gap: 2px;
}

.service-head__count .service-head__border--circle {
    width: 3px;
    height: 0.3rem;
}

.service-head .service-common__text {
    font-size: 2rem;
    margin: 0;
    line-height: 1.81;
}

.service-commonblock {
    max-width: clamp(0rem, 37.5vw, 60rem);
    width: 100%;
}

/* di-service-common-heading */
.di-service-common-heading{
    font-size: 2.4rem;
    font-weight: 500;
    margin-top: 4.2rem;
    margin-bottom: 2.5rem;
}

/* hi-inn-wrap */
.hi-inn-wrap.bgc-gray{
    background-color: #FFF;
    padding: 0.7rem 0 0rem;
}
.yk-content__inner{
    display: flex;
    border-bottom: #EFECE9 0.1rem solid;
    align-items: center;
    flex-wrap: wrap;
}

.hi-inn-wrap .yk-content__inner{
    padding: 1.5rem 0;
}

.yk-content__inner:first-of-type{
    border-top: #EFECE9 0.1rem solid;
}
.yk-content__inner h4{
    color: #A59584;
    font-weight: 500;
    max-width: 25.3rem;
    width: 100%;
    font-size: 1.7rem;
    margin: 0;
}

.yk-content__inner p{
    font-size: 1.7rem;
    margin: 0;
}

.hi-inn-wrap p{
    width: calc(100% - 25.3rem);
}

/* di-content__inner */ 
.di-content__inner-sec{
    margin-top: 3rem;
}

.di-content__inner-sec h4{
    color: #fff;
    width: auto;
    font-size: 2rem;
    max-width: unset;
    font-weight: normal;
    color: #FFFFFF;
    display: inline-block;
    background-color: #A59584;
    text-align: center;
    padding: 1rem 4rem;
    border-radius: 4px;
    margin-bottom: 0;
    margin-top: 0;
    font-weight: 500;
}

.di-content__inner-sec p{
    font-size: 1.7rem;
    width: 100%;
    margin: 2.5rem auto 0rem;
}

.di-content__inner-thi{
    align-items: inherit;
    gap: 3rem;
    margin-top: 1.7rem;
}

.di-content__inner-thi .yk-content__inner{
    background-color: #fff;
    width: calc(50% - 1.5rem);
    align-items: flex-start;
    padding:2.5rem 3rem;
}

.service-living-staff__message{
    margin: 1.5rem auto 0;
}

.service-living-staff__name {
    font-size: 2rem;
    font-weight: 500;
    color: #605757;
}

.service-living-staff__data {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.6rem;
}

.service-living-staff__position {
    font-size: 1.7rem;
    font-weight: 500;
    color: #A59584;
    height: 1rem;
}

/* di-service-container */
.bgc-gray-radius{
    border-top-left-radius: 50px;
    border-bottom-right-radius: 50px;
    padding: 2rem 5rem 4.2rem;
}

.bgc-gray-radius-margin{
    margin-top: 8rem;
}

.di-service-container {
    display: flex;
    gap: 5rem;
    margin-top: -7.5rem;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.yk-inner-wrapper__contents {
    width: 100%;
    /* margin-bottom: 4rem; */
}

.yk-inner-wrapper__contents:last-of-type{
    margin-bottom: 0;
}

.yk-inner-wrapper__contents h5 {
    font-size: 2rem;
    font-weight: 500;
    margin: 2rem 0 1rem;
    line-height: 1.6;
}

.yk-inner-wrapper__contents p {
    font-size: 1.7rem;
    margin: 0;
}

/* di-pc-service-border */
.di-pc-service-border{
    border: solid 1px #9A8A79;
    background-color: transparent;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4.2rem 5rem;
    padding: 5rem calc(5rem - 1px);
    justify-content: space-between;
}

.di-pc-service-border2{
    gap: 4rem 10rem;
}

.di-pc-service-border .yk-content__inner{
    width: calc(50% - 2.5rem);
    flex-wrap: wrap;
    border: none;
    align-content: baseline;
}

.di-pc-service-border2 .yk-content__inner{
    width: calc(50% - 5rem);
}

.di-pc-service-border2 .yk-content__inner:first-of-type{
    max-width: unset;
    width: clamp(0rem, calc(52% - 5rem), 60rem);
}

.di-pc-service-border2 .yk-content__inner:last-of-type{
    width: clamp(30rem, calc(48% - 5rem), 55rem);
}


.yk-inner-wrapper__contents--image{
    width: 100%;
}

.yk-inner-wrapper__contents--image img{
    border-radius: 5px;
}

.di-pc-service-border .yk-content__inner img{
    width: 100%;
}

.di-pc-service-border .yk-content__inner:nth-of-type(3){
    width: 100%;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 5rem;
}

.di-pc-service-border .yk-content__inner h4{
    width: auto;
    background-color: #A59584;
    color: #fff;
    text-align: center;
    padding: 1rem 4rem;
    border-radius: 5px;
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 2rem;
    display: inline-block;
    max-width: unset;

}

.di-pc-service-border .yk-content__inner p{
    width: 100%;
    margin-top: 0;
}

.di-pc-service-border .yk-content__inner ul{
    padding-left: 2rem;
}

.di-pc-service-border .yk-content__inner li{
    font-size: 1.7rem;
    position: relative;
    margin-bottom: 1.2rem;
}

.di-pc-service-border .yk-content__inner li::before{
    display: block;
    content: "";
    position: absolute;
    left: -1.8rem;
    top: 1rem;
    width: .5rem;
    height: .5rem;
    background-color: #333333;
    border-radius: 100%;
}

.di-pc-service-border .yk-content__inner .yk-content__inner-flex{
    width: 100%;
}

.di-pc-service-border .yk-content__inner .yk-content__inner-flex:nth-of-type(n+2){
    width: calc(50% - 2.5rem);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 3rem;
    justify-content: space-between;
}

.di-pc-service-border .yk-content__inner h5{
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 1.5rem;
    width: 100%;
}

.di-pc-service-border .yk-content__inner .yk-content__inner-flex .yk-content__inner--text{
    width: calc(51% - 1.5rem);
}

.di-pc-service-border .yk-content__inner .yk-content__inner-flex p span{
    font-size: 1.5rem;
    margin-top: 5px;
}

.di-pc-service-border .yk-content__inner .yk-content__inner-flex .yk-content__inner--img{
    width: calc(48.334% - 1.5rem);
}

.yk-exp-movingin__phone-content{
    width: 100%;
    display: flex;
    max-width: 315px;
    margin: 0 auto;
}
.yk-exp-movingin__phone-content--left{
    max-width: 55px;
    width: 100%;
    background-color: #A59584;
    border-radius: 0.5rem 0 0 0.5rem;
    position: relative;
}
div.yk-exp-movingin__phone-content--left img{
    max-width: 25px;
    width: 100%;
    filter: brightness(0) invert(1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    margin: auto;
}
.yk-exp-movingin__phone-content--right{
    width: calc(100% - 55px);
    background-color: #FFF;
    border-radius: 0 0.5rem 0.5rem 0;
}
.yk-exp-movingin__phone-content--right-inner{
    padding: 1.3rem 0 0.5rem 6%;
}
.yk-exp-movingin__phone-content--right-inner p{
    margin: 0;
    line-height: 1.3;
}
.yk-exp-movingin__phone-content--right-inner .text{
    font-size: 1.1rem;
    font-weight: 500;
    padding-right: 0.5rem;
}
.yk-exp-movingin__phone-content--right-inner .time{
    font-size: 1.1rem;
}
.yk-exp-movingin__phone-content--number{
    font-size: 2.5rem;
    color: #605757;
    font-weight: 600;
}



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

    /* service-head打ち消し用 */
    .ao-flex {
        display: block;
        margin: 0;
    }

    .container:nth-of-type(2) .ao-flex{
        margin-top: 4.7rem;
    }

    .service-head{
        width: auto;
        max-width: unset;
        display: block;
        min-width: unset;
        margin-top: 5.2rem;
        margin-bottom: 2.5rem;
    }

    .ao-flex .service-head{
        margin-top: 5.2rem;
        margin-bottom: 2.5rem;
    }

    .service-head__border {
        justify-content: center;
        height: auto;
        display: flex;
        margin: 0 auto;
        gap: 2px;
    }

    .service-head__count span {
        display: block;
        font-size: 3.4rem;
        color: #56C68E;
        font-weight: 500;
        width: 4.2rem;
        height: 3.4rem;
        margin: 0 auto 0.5rem;
    }

    .service-head__count span::after{
        display: block;
        content: "";
        background-image: url(../../image/pc/common/border.svg);
        background-size: 5px 3px;
        background-repeat: space;
        background-position: left bottom;
        width: 100%;
        height: 3px;
        position: absolute;
        bottom: 0;

    }

    .service-head__count {
        text-align: center;
        line-height: 1;
        font-size: 2.4rem;
        margin: 0;
        font-weight: 700;
    }

    .service-commonblock {
        width: 100%;
        max-width: unset;
    }

    /* section3だけ数値が変わるため */
    .container:nth-of-type(2) .service-head{
        margin-top: 4.5rem;
    }

    .service-common__img {
        border-radius: 5px;
        width: 100%;
    }

    .service-common__text {
        font-size: 1.7rem;
        margin: 0 0 2.8rem;
        font-weight: 400;
        line-height: 1.88;
        margin-top: 0;
    }




    /* section3だけ数値が変わるため */
    .container:nth-of-type(2) .service-common__text {
        font-size: 1.7rem;
        margin: 0 0 3.5rem;
        font-weight: 400;
        line-height: 1.88;
    }
    .container:nth-of-type(2) .service-common__text small {
        line-height: 1.6;
        display: inline-block;
        margin-top: 20px;
    }

    /* service h4*/
    .di-service-common-heading{
        font-size: 2rem;
        color: #333333;
        margin:0 0 1.1rem;
        font-weight: 500;
        line-height: 1.45;
    }

    .di-service-common-heading2{
        margin-top: 3rem;
    }

    .container:nth-of-type(2) .di-service-common-heading{
        margin-top: -0.5rem;
    }

    /* inner-wrapperの中のブロックtype1 */
    .yk-content__inner{
        margin-bottom: 2.5rem;
        /* pcのflexを打ち消すため */
        display: block;
        /* pcのborderを打ち消すため */
        border: none;
    }
    .hi-inn-wrap.bgc-gray{
        /* pcのbackgroundを打ち消すため */
        background-color: #EFECE9;
        /* pcのpaddingを打ち消すため */
        padding: 2rem;
    }
    .yk-content__inner-li p{
        text-align: center;
    }

    .hi-inn-wrap p{
        width: auto;
    }

    .inner-wrapper .yk-content__inner{
        margin-top: 0;
        margin-bottom: 2.5rem;
        background-color: transparent;
        width: auto;
        padding: 0;
        max-width: unset;
    }

    .inner-wrapper .yk-content__inner p{
        margin-bottom: 1.8rem;
    }

    .yk-content__inner:last-child{
        margin-bottom: 0;
    }

    .di-pc-service-border .yk-inner-wrapper__contents:last-of-type p{
        margin-bottom: 0;
    }

    .yk-content__inner h4 {
        max-width: unset;
        width: 100%;
        font-size: 1.4rem;
        font-weight: normal;
        color: #FFFFFF;
        background-color: #A59584;
        text-align: center;
        padding: 0.65rem 0;
        border-radius: 4px;
        margin-bottom: 1.5rem;
        margin-top: 0;
    }

    .yk-content__inner p{
        line-height: 1.6;
        font-size: 1.5rem;
        margin:0 0 2.5rem;
        font-weight: 400;
    }

    .yk-content__inner ul{
        list-style-type: "・";
        padding-left: 0;
        width: 97%;
        margin-left: auto;
    }

    .yk-content__inner li{
        margin-bottom: 1.3rem;
        line-height: 1.6;
        list-style: inherit;
        font-size: 1.5rem;
        font-weight: 400;
    }

    .yk-content__inner h5{
        margin: 0 0 0.7rem;
        font-size: 1.5rem;
        font-weight: 500;
        line-height: 1.3;
    }

    .yk-content__inner--text{
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
        font-weight: 400;
    }

    .di-pc-service-border .yk-content__inner img{
        max-width: 100%;
        width: 100%;
        height: auto;
        object-fit: cover;
        margin: auto;
        margin-bottom: 1.2rem;
        display: block;
    }

    .di-pc-service-border .yk-content__inner .pc{
        display: none;
    }

    .yk-content__inner--img{
        width: 100%;
        margin-bottom: 2rem;
        /* padding: 6% 9%;
        margin-top: -1rem; */
    }

    .yk-content .content__inner--subText{
        font-size: 1.3rem;
    }

    .yk-content__inner.pc{
        display: none;
    }

    /* 最後のブロックの最後のpのmargin */
    .inner-wrapper .yk-content__inner:last-of-type p:last-of-type{
        margin-bottom: 0;
    }

    .inner-wrapper .yk-content__inner:last-of-type .yk-content__inner--subText{
        margin-top: -1rem;
        font-size: 1.3rem;
    }

    /* inner-wrapperの中のブロックtype2 */
    .bgc-gray-radius{
        margin: 0;
    }

    .di-service-container{
        flex-wrap: wrap;
        margin:0 auto;
        gap: 0;
    }

    .yk-inner-wrapper__contents{
        margin-bottom: 1.8rem;
        width: 100%;
    }

    .yk-inner-wrapper__contents--image{
        margin-bottom: 1.0rem;
    }

    .yk-inner-wrapper__contents--image img{
        max-width: 100%;
        width: 100%;
        border-radius: 5px;
        object-fit: cover;
    }

    .yk-inner-wrapper__contents h5{
        font-size: 1.5rem;
        margin: 0 0 .5rem;
        line-height: 1.6;
    }

    .yk-inner-wrapper__contents p{
        font-size: 1.5rem;
        margin: 0;
        line-height: 1.6;
    }

    /* 打ち消し */
    .bgc-gray-radius{
        padding: 2rem;
        border-radius: 0;
    }

    /* .yk-inner-wrapper__contentsの最後のmargin */
    .inner-wrapper .yk-inner-wrapper__contents:last-of-type{
        margin-bottom: 0;
    }

    /* di-pc-service-border */
    .di-pc-service-border{
        border: none;
        background-color: #EFECE9;
        display: block;
        padding: 2rem; 
    }

    .outer-wrapper .di-pc-service-border .yk-content__inner{
        height: auto;
        width: 100%;
    }

    .outer-wrapper .inner-wrapper .yk-content__inner .yk-content__inner-flex .yk-content__inner--text{
        margin-bottom: 1.8rem;
    }

    .di-pc-service-border .yk-content__inner h4{
        margin-bottom: 1.5rem;
        margin-top: 0;
        color: #fff;
        font-weight: 400;
        width: 100%;
        font-size: 1.4rem;
        padding: 0.3rem 0rem 0.4rem;
        line-height: 1.4;
    }

    .di-pc-service-border .yk-content__inner ul{
        padding-left: 0;
    }

    .di-pc-service-border .yk-content__inner li{
        font-size: 1.5rem;
    }

    .di-pc-service-border .yk-content__inner li::before{
        display: none;
    }

    .di-pc-service-border .yk-content__inner .yk-content__inner-flex:nth-of-type(n+2){
        width: auto;
        display: block;
    }

    .di-pc-service-border .yk-content__inner .yk-content__inner-flex .yk-content__inner--text{
        width: auto;
    }

    .di-pc-service-border .yk-content__inner .yk-content__inner-flex .yk-content__inner--img{
        width: auto;
    }

    .di-pc-service-border .yk-content__inner h5{
        font-size: 1.5rem;
        margin-bottom: .7rem;
    }

    .di-pc-service-border .yk-content__inner h4.pc{
        display: none;
    }

    /* 
        漢字と英語が並んでいる部分
        ・4-2
        ・5-2
    */
    .service-living-staff__wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 1.5rem;
    }
    .service-living-staff__wrapper:last-child {
        margin-bottom: 0;
    }
    .service-living-staff__data {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem
    }
    .service-living-staff__name {
        font-size: 1.6rem;
    }
    .service-living-staff__position {
        font-size: 1.4rem;
        height: 0.8rem;
    }
    .service-living-staff__wrapper .service-living-staff__message {
        font-size: 1.4rem;
        margin: 0;
        font-weight: 400;
    }   

}

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

}