@charset "utf-8";

@media screen and (min-width: 400px) and (max-width: 767px) {
    .u-md-show_2 {
        display: none;
    }
}

@media screen and (max-width: 400px) {
    .u-md-show_2 {
        display: block;
    }
    .u-md-none-2 {
        display: none;
    }
}


.mv {
    background: url(../images/mv_image.png) no-repeat center center;
    background-size: cover;
    padding: 50px 0;
}

.mv__layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1480px;
    margin: auto;
    position: relative;
}
.mv-left-top__text{
    position: absolute;
    top: 10px;
    left: 25px;
    width: 50%;
    padding-right: 25px;
}
.mv-left {
    width: 50%;
    padding-left: 25px;
}
.mv-left__titlewrap{
    margin-top: 15%;
}
.mv-left__title {
    color: #fff;
    text-shadow: 0px 0px 10px #425E6D;
    font-size: 65px;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
}
.mv-left__text {
    color: #fff;
    font-size: 30px;
    text-align: center;
    margin-top: 10px;
}
.mv-left__layout {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 100px;
}
.mv-left__box {
    text-align: center;
    background-color: #fff;
    border-radius: 15px;
    width: 150px;
    position: relative;
}
.mv-left__box-icon {
    width: 80px;
    position: absolute;
    left: 0;
    right: 0;
    top: -40px;
    margin: 0 auto;
}
.mv-left__box-title {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    background-color: #287DAD;
    border-radius: 15px 15px 0 0;
    padding: 40px 0 10px;
}
.mv-left__box-text {
    border: 2px solid #287DAD;
    border-radius: 0 0 15px 15px;
    border-top: none;
    padding: 5px 0;
    font-weight: 500;
}

.mv-right {
    width: 30%;
    padding: 70px 35px 0 0;
    box-sizing: border-box;
}
.mv-right ul {
    display: flex;
    gap: 30px;
}
.mv-right ul li {
    width: 50%;
}
@media screen and (max-width: 767px) {
    .mv{
        padding: 20px 0 0;
        margin-bottom: 85%;
        background: url(../images/mv_image_sp.png) no-repeat top center;
        background-size: 100%;
        min-height:440px;
    }
    .mv__layout {
        flex-direction: column;
        align-items: flex-start;
    }
    .mv-left-top__text {
        position: relative;
        top: initial;
        left: initial;
        width: 50%;
        padding-left: 10px;
    }
    .mv-left,
    .mv-right {
        width: 100%;
    }
    .mv-left {
        position: absolute;
        top: 100%;
        order: 3;
        width: 100%;
        padding: 0;
    }
    .mv-left__titlewrap{
        margin-top: 0;
    }
    .mv-left__title{
        font-size: 35px;
    }
    .mv-left__text{
        font-size: 18px;
    }
    .mv-left__layout{
        margin-top: 45px;
        padding: 0 10px;
        gap: 10px;
    }
    .mv-left__box-icon{
        width: 44px;
        top: -22px;
    }
    .mv-left__box-title{
        font-size: 18px;
        padding-top: 24px;
    }
    .mv-left__box-text{
        font-size: 16px;
    }
    
    .mv-right {
        width: 60%;
        padding: 20px;
        order: 2;
    }
    .mv-right ul{
        gap: 10px;
    }

}

/*-------------------------------------
365日年中無休
-------------------------------------*/
.emergency{
    position: relative;
    padding-top: 100px;
}
.emergency .common-inner {
    max-width: 990px;
    background: #fff;
    border-radius: 12px;
}
.emergency-heading {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
.emergency-heading__image img{
    max-width: 662px;
    margin: 0 auto;
}

.emergency-body {
    padding-top: 100px;
    padding-bottom: 50px;
    text-align: center;
}
.emergency-body__365days {
    max-width: 544px;
    margin: 0 auto;
    padding: 30px 30px 40px;
    border: 3px solid #ECF6FC;
    border-radius: 12px;
    position: relative;
}
.emergency-body__365days h3 {
    font-size: 45px;
    font-weight: 700;
    background: #fff;
    padding: 10px 20px;
    text-align: center;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
}
.emergency-body__365days div {
    max-width: 212px;
    margin: 30px auto;
}
.emergency-body__365days h4 {
    font-size: 35px;
    font-weight: 700;
    border-bottom: 3px solid #F80F01;
    display: inline-block;
}
.emergency-body__text{
    font-size: 23px;
    font-weight: 500;
    margin-top: 45px;
}
.emergency-body__text span{
    background: #FFE553;
    display: inline-block;
    padding: 5px 10px;
    line-height: 1;
}
@media screen and (max-width: 767px) {
    .emergency{
        padding-top: 100px;
    }
    .emergency .common-inner{
        max-width: 90%;
    }
    .emergency-heading{
        top: 20px;
        width: 80%;
        max-width: 310px;
    }
    .emergency-body{
        padding-top: 80px;
        padding-bottom: 30px;
    }
    .emergency-body__365days{
        padding: 20px 20px 30px
    }
    .emergency-body__365days h3{
        font-size: 25px;
        width: 80%;
        top: -35px;
    }
    .emergency-body__365days div{
        width: 50%;
        margin: 15px auto;
    }
    .emergency-body__365days h4{
        font-size: 20px;
    }
    .emergency-body__text{
        font-size: 16px;
        margin-top: 30px;
    }
    .emergency-body__text span{
        padding: 3px 5px;
    }
}

/*-------------------------------------
検査数
-------------------------------------*/
.reviews-body{
    background: url(../images/reviews_bg.png) repeat-y center center;
    background-size: 125%;
}

.reviews-heading {
    margin: 60px 0;
}
/* .reviews-heading ul{
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 45px;
}
.reviews-heading li {
    color: #fff;
    font-size: 50px;
    transform: rotate(-5deg);
}
.reviews-heading li span {
    background: linear-gradient(90deg, #287DAD, #67BEC8);
    padding: 0 15px 2px;
} */
.reviews-heading p {
    font-size: 45px;
    font-weight: 700;
    text-align: center;
    margin-top: 45px;
}
.reviews-mark{
    width: 70%;
    margin: 0 auto;
}
.reviews-body__text {
    text-align: center;
    margin: 60px 0;
}
.reviews-body__text p{
    background: linear-gradient(180deg, #ECF6FC 0%, #98C7DA 37.43%, #4398B8 100%);
    clip-path: polygon(0 0,100% 0, 100% 80%, 50% 100%,0 80%);
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0px 4px 10px #4398B8;
    display: inline-block;
    padding: 15px 120px 30px;
}

.reviews-body__text div{
    padding-top: 200px;
    background: url(../images/reviews_image.png) no-repeat top center;
    background-size: 70%;
    max-width: 840px;
    margin: 60px auto;
}

@media screen and (max-width: 767px) {
    .reviews-heading{
        margin: 45px 0 20px;
    }
    /* .reviews-heading ul{
        gap: 5px;
        flex-direction: column;
        padding-bottom: 20px;
    }
    .reviews-heading li{
        font-size: 20px;
    }
    .reviews-heading li:nth-last-of-type(2){
        text-align: center;
    }
    .reviews-heading li:nth-of-type(3){
        text-align: right;
    }
    .reviews-heading li span{
        padding: 0 10px 2px;
    } */
    .reviews-heading p{
        font-size: 20px;
        margin-top: 20px;
    }
    .reviews-mark{
        width: 100%;
    }
    .reviews-body__text{
        margin-bottom: 30px;
    }
    .reviews-body__text p{
        padding: 15px 50px 20px;
        font-size: 18px;
    }
    .reviews-body__text div{
    
        margin: 30px auto;
    }
}
/*-------------------------------------
選ばれる理由
-------------------------------------*/
.reason{
    padding-bottom: 80px;
}
@media screen and (max-width: 767px) {
    .reason {
        padding-bottom: 30px;
    }
    .reason-heading__image_warning{
        text-align: center;
    }
    .reason-body__item-title{
        font-size: min(calc(100vw / 375* 18), 20px);
    }
    .reason-body__item-text{
        font-size: min(calc(100vw / 375* 18), 16px);
    }
}
/*-------------------------------------
なぜ自由診療
-------------------------------------*/
.whyfree{
    padding: 60px 0;
    background: #fff;
}
.whyfree-comment{
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}
.whyfree-comment__title{
    font-size: 40px;
    text-align: center;
}
.whyfree-comment__title span{
    font-size: 50px;
    font-weight: 700;
    color: #287DAD;
}

.whyfree-comment__title ._dot{
    position: relative;
}
.whyfree-comment__title ._dot::before {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    content: "";
    width: 13px;
    height: 13px;
    background-color: #F80F01;
    border-radius: 50%;
}
.whyfree-comment p{
    position: relative;
    font-size: 50px;
    font-weight: 700;
    color: #287DAD;
    text-align: center;
    display: inline-block;
    margin: 45px 0;
}
.whyfree-comment p:before,
.whyfree-comment p:after{
    content: '';
    background: url(../images/free_icon.png) no-repeat center center;
    background-size: 100%;
    position: absolute;
    top: 10px;
    bottom: 0;
    width: 30px;
    height: 100%;
}
.whyfree-comment p:before{
    left: -50px;
}
.whyfree-comment p:after{
    right: -50px;
    transform: scale(-1, 1);
}

.whyfree-comment p span{
    font-size: 40px;
}

/* .whyfree-comment ul{
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-bottom: 45px;
} */
@media screen and (max-width: 767px) {
    .whyfree{
        padding: 30px 0;
    }
    .whyfree-comment{
        margin-top: 0;
        margin-bottom: 0;
    }
    .whyfree-comment__title{
        font-size: 30px;
        font-weight: 700;
    }
    .whyfree-comment__title span{
        font-size: 40px;
    }
    .whyfree-comment__title ._dot::before{
        width: 6px;
        height: 6px;
        top: 0;
    }
    .whyfree-comment p{
        margin: 20px 0;
        font-size: 35px;
    }
    .whyfree-comment p span{
        font-size: 35px;
    }
    .whyfree-comment p:before,
    .whyfree-comment p:after{
        width: 20px;
        top: 5px;
    }
    .whyfree-comment p:before{
        left: -30px;
    }
    .whyfree-comment p:after{
        right: -30px;
    }
    /* .whyfree-comment ul{
        gap: 5px;
        flex-direction: column;
        padding-bottom: 0;
        text-align: left;
    }
    .whyfree-comment li{
        font-size: 20px;
        width: 30%;
    }
    .whyfree-comment li:nth-last-of-type(2){
        text-align: center;
    }
    .whyfree-comment li:nth-of-type(3){
        text-align: right;
    }
    .whyfree-comment li span{
        padding: 0 10px 2px;
    } */
}

/*-------------------------------------
保険診療のばあい
-------------------------------------*/
.insurance{
    background: url(../images/insurance_bg.png) repeat-y center center;
    background-size: cover;
    padding: 100px 0 200px;
    overflow: hidden;
}
.insurance img{
    max-width: 100%;
    width: auto;
}
.insurance-heading{
    padding: 60px 0;
}
.insurance-heading__title{
    background: url(../images/insurance_heading.png) no-repeat center center;
    background-size: contain;
    padding: 20px 50px;
    color: #fff;
    font-size: 40px;
    text-align: center;
    font-weight: 700;
}
.insurance-body{
    margin-top: 60px;
}
.insurance-body__item{
    display: flex;
    align-items: center;
    gap: 60px;
}
.insurance-body__item + .insurance-body__item{
    margin-top: 100px;
}
.insurance-body__item-container{
    position: relative;
    color: #fff;
    font-weight: 500;
    padding: 80px 60px;
    z-index: 0;
    width: 53%;
}
.insurance-body__item-container .insurance-body__item-title{
    font-size: 24px;
    margin-bottom: 45px;
    line-height: 1.5;
}
.insurance-body__item-container .insurance-body__item-title span{
    font-size: 28px;
    color: #CD1A0F;
}
.insurance-body__item-container .insurance-body__item-text{
    font-size: 18px;
    font-weight: 300;
}
.insurance-body__item-container .insurance-body__item-text span{
    color: #FEF101;
}
.insurance-body__item-container::before{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100%;
    width: 200%;
    background: linear-gradient(180deg, rgba(48, 48, 48, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%);
    border-top-right-radius: 60px;
    z-index: -1;
}
.insurance-body__item-container:nth-of-type(even):before{
    border-top-right-radius: 0;
    border-top-left-radius: 60px;
    left: initial;
    right: -100%;
}
.insurance-body__item .insurance-body__item-image{
    position: relative;
    width: 47%;
}
.insurance-body__item:nth-of-type(1) .insurance-body__item-image{
    margin-top: -10%;
}
@media screen and (max-width: 767px) {
    .insurance{
        padding: 30px 0 50px;
    }
    .insurance-heading{
        padding: 15px 0;
    }
    .insurance-heading__title{
        font-size: 25px;
        padding: 15px 25px;
    }
    .insurance-body__item{
        flex-direction: column-reverse;
        gap: 30px;
    }
    .insurance-body__item + .insurance-body__item{
        margin-top: 45px;
    }
    .insurance-body__item:nth-of-type(even){
        flex-direction: column;
    }
    .insurance-body__item:before{
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: -100%;
        width: 200%;
        background: linear-gradient(180deg, rgba(48, 48, 48, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%);
        border-top-right-radius: 60px;
        z-index: -1;
    }
    .insurance-body__item:nth-of-type(even):before{
        border-top-right-radius: 0;
        border-top-left-radius: 60px;
        left: initial;
        right: -100%;
    }
    .insurance-body__item-container{
        width: 100%;
        padding: 0 15px 25px;
    }
    .insurance-body__item-container::before{
        display: none;
    }
    .insurance-body__item .insurance-body__item-image{
        width: 100%;
        padding: 30px 15px 0 15px;
        text-align: center;
    }
    .insurance-body__item:nth-of-type(1) .insurance-body__item-image{
        margin-top: 0;
    }
    .insurance-body__item-container .insurance-body__item-title{
        font-size: 20px;
        margin-bottom: 15px;
        text-align: center;
        text-shadow: 0 3px 0 #00000080;
    }
    .insurance-body__item-container .insurance-body__item-title span{
        font-size: 23px;
    }
    .insurance-body__item-container .insurance-body__item-text{
        font-size: 16px;
        line-height: 1.5;
    }

}
/*-------------------------------------
保険診療と自由診療の違い
-------------------------------------*/
@media screen and (max-width: 767px) {
    .free {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

/*-------------------------------------
カウンセリング
-------------------------------------*/
.counseling {
    padding-top: 80px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #fff;
    background: #fff url(../images/counseling_bg.png) no-repeat top 800px center;
    background-size: 100%;
}
.counseling-heading__title{
    background: url(../images/counseling_illust.png) no-repeat center center;
    background-size: contain;
    padding: 30px 40px;
    color: #fff;
    font-size: 30px;
    text-align: center;
}
.counseling-heading__container{
    position: relative;
    text-align: center;
    padding-top: 150px;
}
.counseling-heading__container:before,
.counseling-heading__container:after{
    content: '';
    background: url(../images/counseling_illust_02.png) no-repeat center center;
    background-size: contain;
    position: absolute;
    top: -70px;
    bottom: 0;
    width: 130px;
    height: 180px;
}
.counseling-heading__container:before{
    left: 100px;
    transform: scale(-1, 1);
}
.counseling-heading__container:after{
    right: 100px;
}
.counseling-heading__container figure{
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);

}
.counseling-heading__container .text-accent{
    font-size: 70px;
    font-weight: 700;
    text-align: center;
    display: inline-block;
    position: relative;
    margin-top: 50px;
}
.text-accent.counseling-body__item-text--color{
    background: linear-gradient(transparent 70%, #FFE553 70%);
    line-height: 1.5;
}
.counseling-heading__container .text-accent:before,
.counseling-heading__container .text-accent:after{
    content: '';
    background: url(../images/counseling_illust_04.png) no-repeat center center;
    background-size: contain;
    position: absolute;
    top: -10px;
    bottom: 0;
    width: 130px;
    height: 180px;
}
.counseling-heading__container .text-accent:before{
    left: -150px;
}
.counseling-heading__container .text-accent:after{
    right: -150px;
    transform: scale(-1, 1);
}
.counseling-heading__box{
    background: #fff;
    border: 5px solid #287DAD;
    border-radius: 10px;
    box-shadow: 0 10px 0 #287DAD;
    padding: 30px 20px;
    font-size: 45px;
    font-weight: 700;
    position: relative;
    max-width: 990px;
    margin: 70px auto 100px;
}
.counseling-heading__box:before,
.counseling-heading__box:after{
    content: '';
    position: absolute;
    top: -75%;
    width: 314px;
    height: 376px;
}
.counseling-heading__box:before{
    background: url(../images/counseling_image.png) no-repeat center center;
    background-size: contain;
    left: -120px;
}
.counseling-heading__box:after{
    background: url(../images/counseling_image_02.png) no-repeat center center;
    background-size: contain;
    right: -120px;
}
.counseling-heading__text {
    text-align: center;
    margin-bottom: 150px;
    position: relative;
}
.counseling-heading__text p{
    position: relative;
    display: inline;
    background-image: linear-gradient(to right, #2B2A2A50, #2B2A2A50 6px, transparent 6px);
    background-size: 10px 2px;
    background-position: left bottom;
    background-repeat: repeat-x;
    font-size: 24px;
    font-weight: 500;
    line-height: 2;
    padding-bottom: 5px;
}
.counseling-heading__text figure{
    margin: 100px auto;
    max-width: 760px;
    position: relative;
}
.counseling-heading__text figure:after{
    content: '';
    position: absolute;
    top: 0;
    background: #E7E7E7;
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(2deg);
    z-index: -1;
}

.counseling-body {
    text-align: center;
    margin: 120px 0 0;
    padding-bottom: 100px;
    background: url(../images/counseling_bg_02.png) no-repeat center center;
    background-size: cover;
}
.counseling-body .counseling-body__text p{
    background: #EA712C;
    clip-path: polygon(0 0,100% 0, 100% 80%, 50% 100%,0 80%);
    color: #fff;
    font-size: 45px;
    font-weight: 700;
    text-align: center;
    display: inline-block;
    padding: 15px 50px 40px;
    margin-top: -50px;
    margin-bottom: 60px;
}
.counseling-body .counseling-body__text ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.counseling-body__item-text--color {
    /* background-color: #FFE553; */
    background: linear-gradient(transparent 65%, #FFE553 65%);
    font-weight: 700;
}
.counseling-body__item-text--color-2 {
    /* background-color: #FFE553; */
    background: linear-gradient(transparent 65%, #F80F0160 65%);
    font-weight: 700;
}
@media screen and (max-width: 767px) {
    .counseling{
        padding-top: 40px;
        background: #fff url(../images/counseling_bg_sp.png) no-repeat top 40% center;
        background-size: 115%;
    }
    .counseling-heading__title{
        background: url(../images/counseling_illust_sp.png) no-repeat center center;
        background-size: contain;
        padding: 15px 10px;
        font-size: 16px;
    }
    .counseling-heading__container:before,
    .counseling-heading__container:after{
        top: 10px;
        bottom: 0;
        width: 60px;
        height: 70px;
    }
    .counseling-heading__container:before{
        left: 0;
    }
    .counseling-heading__container:after{
        right: 0;
    }
    .counseling-heading__container figure{
        width: 15%;
    }
    .counseling-heading__container{
        padding-top: 70px;
        max-width: 400px;
        margin: 0 auto;
    }
    .counseling-heading__container .text-accent{
        font-size: 30px;
    }
    .counseling-heading__container .text-accent:before,
    .counseling-heading__container .text-accent:after{
        width: 60px;
        height: 70px;
    }
    .counseling-heading__container .text-accent:before{
        left: -60px;
    }
    .counseling-heading__container .text-accent:after{
        right: -60px;
    }
    .counseling-heading__box:before,
    .counseling-heading__box:after{
        width: 120px;
        height: 150px;
        top: -90%;
    }
    .counseling-heading__box:before{
        left: -40px;
    }
    .counseling-heading__box:after{
        right: -40px;
    }
    .counseling-heading__box{
        border: 3px solid #287DAD;
        box-shadow: 0 5px 0 #287DAD;
        font-size: 16px;
        padding: 10px 10px;
        margin: 30px auto;
        width: 90%;
    }
    .counseling-heading__text{
        margin-bottom: 70px;
    }
    .counseling-heading__text p{
        font-size: 18px;
    }
    .counseling-heading__text figure{
        margin: 50px auto;
    }
    .counseling-body{
        margin-top: 60px;
        padding-bottom: 30px;
    }
    .counseling-body .counseling-body__text p{
        font-size: 18px;
        padding: 10px 15px 20px;
        margin-top: -70px;
        margin-bottom: 30px;
    }
    .counseling-body .counseling-body__text ul{
        gap: 20px;
        width: 90%;
        margin: auto;
    }
}

/*-------------------------------------
検査の流れ
-------------------------------------*/
@media screen and (max-width: 767px) {
    .flow-body__item:nth-child(6) .flow-body__item-image {
        margin-top: 30px;
    }
}
/*-------------------------------------
症状
-------------------------------------*/
.symptom{
    border: none;
}

/*-------------------------------------
信頼性
-------------------------------------*/
@media screen and (max-width: 767px) {
    .certificate {
        padding-bottom: 30px;
    }
}

/*-------------------------------------
迅速な結果通知
-------------------------------------*/
.rapid{
    padding: 80px 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: url(../images/rapid_bg.png) no-repeat center center;
    background-size: 100%;
}
.rapid .common-inner{
    background: #fff;
    border-radius: 15px;
    padding: 60px;
}
.rapid-heading{
    text-align: center;
    margin-bottom: 60px;
}
.rapid-heading__title {
    /* background-color: #FFE553; */
    background: linear-gradient(transparent 75%, #FFE553 75%);
    font-weight: 700;
    font-size: 35px;
    line-height: 1.5;
    text-align: center;
    display: inline-block;
}
.rapid-body__flex{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.rapid-body__box{
    width: 50%;
}
.rapid-body__box._right{
    width: 40%;
}
.rapid-body__box p{
    margin-bottom: 30px;
}

.rapid-body__box-text{
    position: relative;
    background: #ECF6FC;
    margin-top: 15px;
    padding: 20px 30px;
    border-radius: 9999px;
    z-index: 1;
    text-align: center;
}
.rapid-body__box-text:after{
    content: "";
    position: absolute;
    right: 0;
    top: -30px;
    left: 0;
    width: 0px;
    height: 0px;
    margin: auto;
    border-style: solid;
    border-color: transparent transparent #ECF6FC transparent;
    border-width: 0 25px 30px 25px;
}
.rapid-body__box-text h3{
    color: #287DAD;
    font-weight: 700;
    font-size: 18px;
}
.rapid-body__box-text p{
    margin-bottom: 0;
}
.rapid-text--color {
    /* background-color: #FFE553; */
    background: linear-gradient(transparent 65%, #FFE553 65%);
}
@media screen and (max-width: 767px) {
    .rapid{
        padding: 40px 0;
        background-size: cover;
    }
    .rapid .common-inner{
        width: 90%;
        margin: 0 auto;
        padding: 30px 15px;
    }
    .rapid-heading{
        margin-bottom: 30px;
    }
    .rapid-heading__title{
        font-size: 18px;
        display: inline;
    }
    .rapid-body__flex{
        display: block;
    }
    .rapid-body__box,
    .rapid-body__box._right{
        width: 100%;
    }
    .rapid-body__box._right{
        margin-top: 30px;
    }
    .rapid-body__box p{
        font-size: 14px;
    }
    .rapid-body__box-text{
        padding: 15px 10px;
    }
    .rapid-body__box-text h3{
        font-size: 16px;
    }
    .rapid-body__box-text:after{
        top: -25px;
    }
}

/*-------------------------------------
検査単品メニュー
-------------------------------------*/

.plan-single__box {
    background-color: #fff;
    padding: 60px;
    margin-top: 50px;
}

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

.plan-single__left,
.plan-single__right {
    width: 45%;
}

.plan-single__dl {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px dashed #2B2A2A;
}

.plan-single__dl dt {
    font-size: 18px;
}

.plan-single__dl dd span:first-of-type {
    font-size: 18px;
    font-weight: bold;
}

.plan-single__dl dd span:last-of-type {
    font-size: 12px;
    margin-left: 2px;
}

.plan-single__notes {
    font-size: 16px;
    text-align: right;
    margin-top: 60px;
}

.free-heading__text--color {
    /* background-color: #FFE553; */
    background: linear-gradient(transparent 65%, #FFE553 65%);
    font-weight: 500;
}

@media screen and (max-width: 767px) {
    .plan-single__box {
        padding: 30px 15px;
        margin-top: 30px;
    }

    .plan-single__layout {
        display: block;
    }

    .plan-single__left,
    .plan-single__right {
        width: 100%;
    }

    .plan-single__dl {
        padding: 10px 0;
    }

    .plan-single__dl dt {
        font-size: 16px;
        width: calc(100% - 100px);
    }

    .plan-single__dl dd {
        width: 100px;
        margin-left: 0;
        text-align: right;
    }

    .plan-single__dl dd span:first-of-type {
        font-size: 16px;
    }

    .plan-single__dl dd span:last-of-type {
        font-size: 10px;
        margin-left: 1px;
    }

    .plan-single__notes,
    .plan-set__notes {
        font-size: 14px;
        margin-top: 10px;
    }
}
/*-------------------------------------
よく選ばれている検査メニュー
-------------------------------------*/
@media screen and (max-width: 767px) {
    .plan-popular__item-text {
        font-size: 14px;
    }
}

/*-------------------------------------
その他の検査セット
-------------------------------------*/

.plan-set {
    margin-top: 80px;
}

.plan-set__box {
    background-color: #fff;
    padding: 60px;
    margin-top: 50px;
}

.plan-set__layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px dashed #2B2A2A;
}


.plan-set__item-heading{
    padding-left: 15px;
    padding-right: 15px;
    width: 280px;
}
.plan-set__item-title {
    font-weight: 700;
    font-size: 18px;
    line-height: calc(32 / 24);
    color: #287DAD;
    display: inline;
}
.plan-set__item-count {
    padding: 1px 10px 2px;
    background-color: #287DAD;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 16px;
    line-height: calc(26 / 18);
    color: #fff;
}


.plan-set__type {
    font-size: 16px;
    width: calc(100% - 500px);
}

.plan-set__price-box {
    width: 125px;
    text-align: center;
    padding-left: 18px;
}

.plan-set__each-price {
    font-size: 9px;
    background-color: #FFE452;
}

.plan-set__price span:first-of-type {
    font-size: 24px;
    font-weight: bold;
}

.plan-set__price span:last-of-type {
    font-size: 16px;
    margin-left: 2px;
}

.plan-set__notes {
    font-size: 16px;
    text-align: right;
    margin-top: 30px;
}

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

    .plan-set {
        margin-top: 50px;
    }

    .plan-set__box {
        padding: 30px 15px;
        margin-top: 30px;
    }

    .plan-set__layout {
        display: block;
        padding: 10px 0;
        border-bottom: 1px dashed #2B2A2A;
        overflow: hidden;
    }

    .plan-set__item-heading{
        padding-left: 0;
        padding-right: 5px;
        padding-bottom: 5px;
        width: auto;
    }
    .plan-set__item-title{
        font-size: 18px;
    }
    .plan-set__item-count{
        font-size: 14px;
    }

    .plan-set__type {
        font-size: 14px;
        width: calc(100% - 110px);
        float: left;
    }

    .plan-set__price-box {
        width: 110px;
        box-sizing: border-box;
        float: right;
        padding-left: 4px;
        box-sizing: border-box;
    }
    .plan-set__notes{
        font-size: 14px;
        margin-top: 10px;
    }

}

/*-------------------------------------
オリジナルの検査プラン
-------------------------------------*/
.consul{
    padding: 80px 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: none;
}
.consul-body__box{
    background: #fff;
    border: 5px solid #287DAD;
    border-radius: 10px;
    box-shadow: 0 10px 0 #287DAD;
    padding: 30px 20px;
    position: relative;
    margin: 180px auto 150px;
}
.consul-body__box:before,
.consul-body__box:after{
    content: '';
    position: absolute;
    top: -40%;
}
.consul-body__box:before{
    background: url(../images/consul_image.png) no-repeat center center;
    background-size: contain;
    left: 0;
    width: 259px;
    height: 477px;
    max-width: 25%;
}
.consul-body__box:after{
    background: url(../images/consul_illust_02.png) no-repeat center center;
    background-size: contain;
    right: 30px;
    width: 140px;
    height: 502px;
}
.consul-body__box p{
    text-align: center;
    font-size: 45px;
    font-weight: 700;
    padding: 0 25%;
}
.consul-body__box p span{
    color: #287DAD;
}
.consul-body__text{
    color: #2B2A2A;
    text-align: center;
    font-weight: 500;
    font-size: 25px;
}
.consul-text--color {
    /* background-color: #FFE553; */
    background: linear-gradient(transparent 65%, #FFE553 65%);
}
.consul-text--color-2 {
    /* background-color: #FFE553; */
    background: linear-gradient(transparent 65%, #F80F0140 65%);
}

@media screen and (max-width: 767px) {
    .consul{
        padding: 40px 0;
    }
    .consul-body{
        max-width: 400px;
        margin: 0 auto;
    }
    .consul-body__box{
        margin: 90px auto 50px;
        border: 3px solid #287DAD;
        box-shadow: 0 5px 0 #287DAD;
        padding: 15px 10px 15px 100px;
    }
    .consul-body__box p{
        font-size: 20px;
        padding: 0 10px;
    }
    .consul-body__box:before{
        width: 120px;
        height: 200px;
        bottom: 0;
        top: initial;
        left: -20px;
        max-width: none;
    }
    .consul-body__box:after {
        display: none;
    }
    .consul-body__text{
        font-size: 14px;
        padding-right: 30%;
        position: relative;
    }
    .consul-body__text:after {
        content: '';
        background: url(../images/consul_illust_02.png) no-repeat center center;
        background-size: contain;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 120px;
        height: 250px;
    }
}


.mv-left__layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr)); /* PCでは4列 */
  gap: 16px; /* アイテム間の余白 */
}

@media (max-width: 767px) {
  .mv-left__layout {
    grid-template-columns: repeat(2, minmax(150px, 1fr)); /* スマホでは2列 */
  }
}

/* 内側のアイテムのサイズ調整 */
.mv-left__layout > * {
  width: auto;
  height: auto; 
  min-height: 120px;
  box-sizing: border-box;
}