@charset"utf-8";

/* =================================
デイサービスの流れ
==================================== */
.flow{
    margin-top: 22px;
    padding: 30px 2%;
    border: 10px solid var(--primary-green);
}
.flow h3{
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 25px;
}
.flow__item{
    margin-top: 40px;
    z-index: 100;
    background-color: var(--primary-white);
}
.flow h4{
    text-align: left;
    font-weight: 700;
    line-height: 25px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--primary-darkbrown);
}
.flow__detile{
    display: flex;
    gap: 15px;
    margin-top: 8px;
    padding: 0 2%;
}
.flow__detile img{
    width: 15.7%;
}
.flow__all{
    position: relative;
    z-index: 0;
}

.line{
    position: absolute;
    top: 10%;
    left: 9%;
    height: 80%;
    z-index: -1;
}
/* PC表示 */
@media screen and (min-width:769px) {
    .flow{
    margin: 52px 13.3%;
    padding: 60px 3.4%;
    border: 30px solid var(--primary-green);
}
    .flow h3{
    font-size: 3.2rem;
}
    .flow__item{
    margin-top: 40px;
}
    .flow__item p{
    font-size: 2rem;
    }
    .flow h4{
    font-size: 2.4rem;
    padding-bottom: 10px;
}
    .flow__detile{
    gap: 30px;
    margin-top: 19px;
}
    .flow__detile img{
    width: 10%;
}
    .flow__all{
    padding: 50px 3.4%;
    }
    .line{
    left: 9.5%;
}
}

/* =================================
サービス詳細
==================================== */
.service__detail{
    margin: 60px 9.3%;
}
.service__detail h3{
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
}
.bath{
    margin-top: 30px;
}
.detail__title{
    background-color: var(--primary-darkbrown);
    color: var(--primary-white);
    font-weight: 700;
    font-size: 2rem;
    padding: 5px 5.3%;
}
.item__all{
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 15px;
}
.service__item p{
    background-color: var(--primary-lightGray);
    padding: 10px 3.6%;
}
.service__item img{
    width: 100%;
    height: auto;
}
.service__item :first-child{
    margin-top: 8px;
}
.rehabilitation{
    margin-top: 30px;
}
/* PC表示 */
@media screen and (min-width:769px) {
    .service__detail{
    margin: 100px 3.1%;
}
    .service__detail h3{
    font-size: 3.6rem;
}
    .bath{
    margin-top: 80px;
}
    .detail__title{
    font-size: 2rem;
    padding: 5px 1.3%;
    font-size: 2.4rem;
}
    .item__all{
    flex-direction: row;
    gap: 25px;
    align-items: stretch;
}
    .service__item{
    flex: 1;
    display: flex;
    flex-direction: column;
    }
    .service__item :first-child{
    margin-top: 0px;
}
    .service__item p{
    flex: 1;
}
}

/* =================================
QA
==================================== */
.QA{
    padding: 35px 5.3% 70px;
}
.QA h3{
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
}
.QA__all{
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap:18px;
}
.Q{
    background-color: var(--primary-darkbrown);
    color: var(--primary-white);
    padding: 5px 15px 5px 10px;
}
.A{
    background-color: var(--primary-lightGray);
    padding: 10px 3.5% 10px 3.5%;
}
/* PC表示 */
@media screen and (min-width:769px) {
    .QA{
        padding: 60px 1.3% 143px;
        margin: 0 5%;
    }
    .QA h3{
        font-size: 3.6rem;
    }
    .QA__all{
        margin-top: 80px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: stretch;
        row-gap: 24px;
    }
    .QA__item{
        width: 48.4%;
        display: flex;
        flex-direction: column;
    }
    .A{
        padding: 10px 3.5% 10px 2%;
        flex: 1;
}
}