@charset "utf-8";

/* ==================================== 
mainVisual
=====================================*/
.mainVisual {
    position: relative;
}

.mainVisual::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; 
    left: 0;
    background-color: rgba(0,0,0,0.3);
    z-index: 10;
}

.mv__Sp1 {
    display: block;
    width: 100%;
    margin-top: 93px;
}

.mv__Sp2 {
    display: block;
    width: 100%;
    margin-top: 93px;
}

.mv__Sp3 {
    display: block;
    width: 100%;
    margin-top: 93px;
}

.mainVisual__pcBox {
    display: none;
}

.mv__topic {
    position: absolute;
    top: 50.8%;
    left: 6.6%;
    z-index: 15;
}

.mainVisual__topic1 {
    display: block;
    color: var(--primary-white);
    font-family: "Noto Sans JP";
    font-size: 9.6vw;
    font-weight: 700;
    line-height: 1;
}

.mainVisual__topic2 {
    display: block;
    color: var(--primary-white);
    font-family: "Roboto";
    font-size: 10.6vw;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

@media screen and (min-width:769px) {
    .mainVisual {
        position: relative;
    }

    .mainVisual::before {
        content: "";
        width: 91.6%;
        height: 100%;
        position: absolute;
        top: 0; 
        left: 8.3%;
        background-color: rgba(0,0,0,0.3);
        border-radius: 50px 0 0 50px;
        z-index: 10;
    }

    .mainVisual__spBox {
       display: none;
    } 

    .mainVisual__pcBox {
        display: block;
        margin-top: 115px;
        width: 91.6%;
        margin-left: auto;
        border-radius: 50px 0 0 50px;
    }

    .mv__Pc1 {
        display: block;
        border-radius: 50px 0 0 50px;
    }
    
    .mv__Pc2 {
        display: block;
        border-radius: 50px 0 0 50px;
    }
    
    .mv__Pc3 {
        display: block;
        border-radius: 50px 0 0 50px;
    }

    .mv__topic {
        position: absolute;
        top: 36.8%;
        left: 32.2%;
        z-index: 15;
    }

    .mainVisual__topic1 {
        font-size: 4.8vw;
    }

    .mainVisual__topic2 {
        font-size: 4.8vw;
    }
}

/* ==================================== 
section--rehabilitation
=====================================*/
.section--rehabilitation {
    padding: 60px 4.2%;  
}

.topic__ourRehabilitation {
    max-width: 346px;
    font-size: 2.2rem;
    position: relative;
}

.topic__ourRehabilitation::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 0;
    width: 20px;
    height: 3px;
    background-color: var(--primary-orange);
}

.topic__ourRehabilitation::after {
    position: absolute;
    top: 16px;
    right: 0;
    content: "";
    width: 20px;
    height: 3px;
    background-color: var(--primary-orange);
}

.rehabilitationImg {
    margin-top: 32px;
}

.rehabilitation__ourTxt {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-top: 21px;
}

@media screen and (min-width:769px) {
    .section--rehabilitation {
        padding: 120px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .topic__ourRehabilitation {
        max-width: 510px;
        font-size: 3rem;
        position: relative;
    }

    .topic__ourRehabilitation::before {
        top: 20px;
        width: 50px;
    }

    .topic__ourRehabilitation::after {
        top: 20px;
        width: 50px;
    }

    .rehabilitation__contents {
        display: flex;
        max-width: 1160px;
        justify-content: center;
        align-items: center;
        gap: 30px;
        margin-top: 48px;
    }

    .rehabilitationImg {
        margin-top: 0;
        max-width: 454px;
    }

    .rehabilitation__txtBox {
        max-width: 463px;
    }

    .rehabilitation__ourTxt {
        font-size: 1.6rem;
    }
}

/* ==================================== 
section--rehabilitationServic
=====================================*/
.section--rehabilitationService {
    padding: 60px 4.2%;  
    background-color: var(--primary-sectionPink);
}

.topic__rehabilitationService {
    max-width: 280px;
    font-size: 2.2rem;
    position: relative;
}

.topic__rehabilitationService::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 0;
    width: 20px;
    height: 3px;
    background-color: var(--primary-orange);
}

.topic__rehabilitationService::after {
    position: absolute;
    top: 16px;
    right: 0;
    content: "";
    width: 20px;
    height: 3px;
    background-color: var(--primary-orange);
}

.subTxt__rehabilitation {
    font-size: 2rem;
}

.rehabilitationService__list {
    margin-top: 32px;
}

.rehabilitationService__item {
    padding: 30px 15px;
    background-color: var(--primary-white);
    border-radius: 10px;
    margin-top: 20px;
}

.rehabilitation__itemTopic {
    text-align: center;
    font-size: 2rem;
    line-height: 1.5; 
    font-weight: 700;
}

.rehabilitation__itemImg {
    margin-top: 12px;
}

.rehabilitation__itemImg img {
    height: 150px;
    display: block;
    margin: 0 auto;
}

.rehabilitation__itemTxt {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-top: 12px;
}

.rehabilitation__btnGroup {
    margin-top: 32px;
}

.btn__rehabilitation {
    margin-top: 12px;
    justify-content: center;
}

@media screen and (min-width:769px) {
    .section--rehabilitationService {
        padding: 120px 0;
    }
    
    .topic__rehabilitationService {
        max-width: 420px;
        font-size: 3rem;
    }

    .topic__rehabilitationService::before {
        top: 20px;
        width: 50px;
    }

    .topic__rehabilitationService::after {
        top: 20px;
        width: 50px;
    }

    .subTxt__rehabilitation {
        font-size: 3rem;
    }

    .rehabilitationService__list {
        margin: 60px auto 0;
        max-width: 1200px;
        padding: 0 20px;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        align-content: flex-start;
        gap: 20px;
        flex-shrink: 0;
        flex-wrap: wrap;
    }

    .rehabilitationService__item {
        max-width: 373px;
        padding: 30px 20px;
        margin-top: 0;
    }

    .rehabilitationService__item:nth-of-type(1),
    .rehabilitationService__item:nth-of-type(2),
    .rehabilitationService__item:nth-of-type(3) {
        height: 340px;
    }

    .rehabilitationService__item:nth-of-type(4),
    .rehabilitationService__item:nth-of-type(5),
    .rehabilitationService__item:nth-of-type(6) {
        height: 340px;
    }

    .rehabilitation__itemTxt {
        font-size: 1.6rem;
    }

    .rehabilitation__btnGroup {
        display: flex;
        margin: 50px auto 0;
        max-width: 480px;
        gap: 20px;
    }
    
    .btn__rehabilitation {
        margin-top: 0;
        width: 230px;
        justify-content: center;
    }
}