
/* mainvisual */

.menuWapper{
    height: 28rem;
    padding-top: 4rem;
    background-image: url("/Media/menu/menu-haeder.webp");
    background-size: cover;
    background-position: top;
    display: flex;
    align-items: center;
}

#mainviual h1::after{
    content: "Treatment";
    font-weight: 400;
    font-size: 4rem;
    line-height: 80px;
    color: #fff;
}





/* treatment */

.mainWrapper{
    margin: 5% 0 0 0;
    position: relative;
}

.maincontainer{
    width: 95%;
    max-width: 1500px;
}

.maincontainer .visual{
    width: 90%;
    position: relative;
}

.visual img{
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.visual .visualtext{
    position: absolute;
    top: 40%;
    left: 10%;
}

.visual .visualtext h1{
    color: #fff;
    font-weight: 700;
    font-size: 5rem;
    line-height: 81px;
}
.visual .visualtext p{
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 22px;
}

.textcontainer{
    width: 90%;
    margin: 0 auto ;
    transform: translateY(-35%);
}

.textcontainer .title{
    margin: 0 0 2% 0;
}
.textcontainer .title h2{
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 40px;
}

.textcontainer p{
    font-weight: 700;
    font-size: 1rem;
    line-height: 30px;
    color: #6b6b6b;
}

.textcontainer .first{
    margin-top: 5%;
    color: #000;
    margin-bottom: 2%;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 30px;
}

.popup{
    margin-top: 7%;
    color: #fff;
    background-color: #2B76D9;
    font-weight: 700;
    font-size: 160%;
    width: fit-content;
    padding: 1% 5%;
}

.popup span{
    color: #fff;
    font-weight: 700;
    font-size: 3rem;
}

.sympItems{
    display: flex;
    transform: translateY(-40%);
    width: fit-content;
    margin: 0 0 2% auto;
}

.sympItems .imgItem{
    margin-left: 5%;
}
.sympItems .imgItem img{
    width: 100%;
}

.sympItems .imgItem:nth-child(1){
    margin-left: 0%;
}





/* symptom */

.centerZone{
    padding: 5% 0;
    background: radial-gradient(61.77% 100% at 72.91% 100%, rgba(46, 177, 227, 0.7) 0%, rgba(128, 210, 242, 0.324479) 60.76%, rgba(128, 210, 242, 0) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */, linear-gradient(149.86deg, rgba(43, 118, 217, 0.3) 66.48%, rgba(43, 118, 217, 0) 83.05%), radial-gradient(62.88% 100% at 23.64% 0%, rgba(128, 210, 242, 0.7) 0%, rgba(128, 210, 242, 0.581) 67.71%, rgba(128, 210, 242, 0) 100%);
}

.symptomWapper{
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
    padding: 5% 0;
}

.symptomTitle{
    text-align: center;
    margin-bottom: 7rem;
}

.symptomTitle h1{
    font-weight: 700;
    font-style: normal;
    font-size: 7rem;
    line-height: 81px;
    color: #fff;
}

.symptomTitle p{
    width: fit-content;
    font-style: normal;
    font-weight: 700;
    font-size: 22.352px;
    line-height: 22px;
    color: #fff;
    background-color: #2B76D9;
    padding: 0.7rem 3rem;
    margin: 2rem auto 0 auto;
}

.symptomItem{
    display: flex;
    margin-bottom: 5%;
    width: 100%;
}

.symptomItem .sympimg{
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 35%;
}

.symptomItem .symptext{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 65%;
}
.symptomItem .symptext img{
    width: 30%;
    margin-bottom: 4%;
}

.symptomItem .first{
    margin-left: 10%;
}

.symptomItem .second{
    margin-right: 10%;
}

.symptomItem .symptext h1{
    font-weight: 700;
    font-size: 3rem;
    line-height: 44px;
    color: #fff;
    margin-bottom: 3%;
}

.symptomItem .symptext p{
    font-weight: 400;
    font-size: 1rem;
    line-height: 24px;
    color: #fff;
}




/* flow */
.flowdetail{
    width: 80%;
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(217, 217, 217, 0.2);
    border-radius: 30px;
    padding: 3% 5%;
}

.flowdetailItem{
    display: flex;
    justify-content: space-between;
}

.flowdetailItem img{
    height: 100%;
}

.flowdetailItem .stepContainer{
    width: 80%;
    display: flex;
    justify-content: space-between;
}

.itemtop{
    margin-bottom: 10%;
}

.flowdetailItem .step{
    width: 28%;
}

.flowdetailItem .step h3{
    font-style: normal;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 7%;
}
.flowdetailItem .step p{
    font-style: normal;
    font-weight: 900;
    font-size: 1.7rem;

    color: #FFFFFF;
}

.flowdetailItem .steptext{
    width: 60%;
}






/* sokuatsu */

.sokuatsuWrapper{
    background: #F1F0F0;
    padding: 9% 0 3% 0;
    position: relative;
}

.sokuatsuWrapper img:first-child{
    width: 30%;
    position: absolute;
    object-fit: cover;
    top: 15%;
    left: 8%;
}
.sokuatsuWrapper img:nth-child(2){
    width: 8%;
    position: absolute;
    top: 8%;
    left: 13%;
}

.sokuatsuContainer{
    background: #FFFFFF;
    width: 80%;
    margin: 0 auto;
    padding: 4% 0;
}

.sokuatsuContainer ul{
    list-style: none;
    margin-left: 45%;
}

.sokuatsuContainer ul li{
    padding: 3% 0;
    border-bottom: 1px solid #DDDDDD;
    width: 95%;
    font-style: normal;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 22px;
}

.sokuatsuContainer a{
    display: block;
    color: #fff;
    background-color: #000;
    width: fit-content;
    padding: 1% 3%;
    margin-left: 45%;
    margin-top: 3%;
}





/* タブレット */
@media (min-width:769px) and (max-width:992px) {

    /* main */
    .mainWrapper{
        margin: 5% 0;
    }

    .maincontainer{
        width: 100%;
    }
    
    .maincontainer .visual{
        width: 100%;
        position: relative;
    }

    .sympItems{
        transform: translateY(-20%);
        margin: 0 auto;
    }
    
    .textcontainer{
        width: 80%;
        margin: 0 auto ;
        transform: translateY(0);
    }

    .popup{
        text-align: center;
        padding: 2% 10%;
        border-radius: 30px;
        margin: 5% auto 0 auto;
    }

    .popup h1{
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }



    /* symptom */
    .symptomWapper{
        width: 90%;
    }

    .symptomItem .symptext h1{
        font-size: 2.5rem;
    }
    
    .symptomItem .symptext p{
        font-size: 1rem;
    }



    /* flow */
    .flowdetail{
        width: 95%;
    }

    .flowdetailItem .stepContainer{
        width: fit-content;
        flex-direction: column;
        width: 100%;
        margin-left: 7%;
    }

    .flowdetail .flowdetailItem{
        align-items: center;
    }

    .flowdetailItem .step{
        width: 100%;
        margin-bottom: 4%;
    }
    
    .flowdetailItem .step h3{
        font-style: normal;
        font-weight: 700;
        font-size: 1.2rem;
        margin-bottom: 4%;
    }
    .flowdetailItem .step p{
        font-style: normal;
        font-weight: 900;
        font-size: 1.7rem;
        line-height: 24px;
        color: #FFFFFF;
    }
    
    .flowdetailItem .steptext{
        width: 100%;
    }

}

@media (max-width:768px){

    .menuWapper{
        height: 18rem;
        padding: 2rem;
        margin-bottom: 10%;
    }

    /* main */
    .mainWrapper{
        margin: 5% 0;
    }

    #mainviual h1::after{
        font-size: 4rem;
    }

    .maincontainer{
        width: 100%;
    }
    
    .maincontainer .visual{
        width: 100%;
        position: relative;
    }

    .visual .visualtext{
        position: absolute;
        top: 20%;
        left: 10%;
    }

    .maincontainer .visual .visualtext h1{
        font-size: 3rem;
    }

    .sympItems{
        transform: translateY(-20%);
        margin: 0 auto;
    }
    
    .textcontainer{
        width: 85%;
        margin: 0 auto ;
        transform: translateY(0);
    }

    .popup{
        margin-top: 7%;
        color: #fff;
        background-color: #2B76D9;
        font-weight: 700;
        font-size: 1.1rem;
        width: 100%;
        padding: 1% 5%;
        text-align: center;
    }

    .popup h1{
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    
    .popup span{
        color: #fff;
        font-weight: 700;
        font-size: 2.5rem;
    }



    /* symptom */
    .symptomWapper{
        width: 100%;
    }

    .symptomTitle h1{
        font-size: 4rem;
        line-height: 81px;

    }

    .symptomItem .symptext h1{
        font-size: 2.5rem;
    }

    .symptomItem .symptext p{
        font-size: 1rem;
    }

    .symptomItem{
        flex-direction: column;
    }

    .symptomItem .sympimg{
        width: 100%;
        object-position: 100% 0%;
        object-fit: cover; 
        aspect-ratio: 3/2;
        margin: 0 auto;
    }

    .sp-flex{
        flex-direction: column-reverse;
    }

    .symptomItem .first{
        margin-left: 0%;
    }
    
    .symptomItem .second{
        margin-right: 0%;
    }

    .symptomItem .symptext{
        width: 100%;
        padding: 15% 10% 7% 10% ;
        margin:0 auto;
        background: rgba(217, 217, 217, 0.5);
        border-radius: 10%;
        transform: translateY(-20%);
        z-index: 1;
    }
    .symptomItem .symptext h1{
        margin: 8% 0;
        font-size: 2rem;
    }
    
    .symptomItem .symptext p{
        font-size: 0.9rem;

    }




    /* flow */
    .flowdetail{
        width: 95%;
    }

    .flowdetailItem .stepContainer{
        width: fit-content;
        flex-direction: column;
        width: 100%;
        margin-left: 10%;
    }

    .flowdetail .flowdetailItem{
        align-items: center;
    }

    .flowdetailItem .step{
        width: 100%;
        margin-bottom: 4%;
    }

    .flowdetailItem img{
        width: 20%;
    }
    
    .flowdetailItem .step h3{
        font-style: normal;
        font-weight: 700;
        font-size: 1.2rem;
        margin-bottom: 4%;
    }
    .flowdetailItem .step p{
        font-style: normal;
        font-weight: 900;
        font-size: 1.7rem;
        line-height: 24px;
        color: #FFFFFF;
    }
    
    .flowdetailItem .steptext{
        width: 100%;
    }
    




        /* sokuatsu */

    .sokuatsuWrapper{
        padding: 10% 0;
        position: relative;
    }

    .sokuatsuWrapper img:first-child{
        width: 80%;
        aspect-ratio: 3/2;
        object-fit: cover;
        margin: 0 0 0 10%;
        position: unset;
    }
    .sokuatsuWrapper img:nth-child(2){
        width: 20%;
        position: absolute;
        top: 5%;
        left: 20%;
    }

    .sokuatsuContainer{
        width: 95%;
        margin: 0 auto;
        padding: 4% 0;
    }

    .sokuatsuContainer ul{
        list-style: none;
        margin: 0 auto;
        width: 90%;
    }

    .sokuatsuContainer ul li{
        padding: 3% 0;
        border-bottom: 1px solid #DDDDDD;
        width: 95%;
        margin: 0 auto;
        font-style: normal;
        font-weight: 700;
        font-size: 1.1rem;
        line-height: 20px;
    }

    .sokuatsuContainer a{
        display: block;
        padding: 1% 10%;
        margin: 3% auto 0 auto;
    }
}