@charset "utf-8";
.p-medical-specialty + .p-medical-specialty{ margin-top:5em;}
.p-medical-specialty__first{margin-top: 3em;}
.p-medical-specialty__icon{margin: 0 auto 1em;width: 10em;}
.p-medical-specialty__title{color:#154893;font-size: 220%;font-weight:700;line-height:1.6;margin-bottom: .5em;text-align:center;word-break: auto-phrase;}
.p-medical-specialty__wrap{-webkit-box-pack:justify;-ms-flex-pack:justify;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap: 4%;-webkit-justify-content:space-between;justify-content:space-between;margin-bottom: 2em;}
.p-medical-specialty__doctor{border-right:1px solid #c1dde7;padding-right: 4%;width: 260px;}
.p-medical-specialty__text{width: calc(96% - 260px);}
.p-medical-specialty__wrap:has(.p-medical-specialty__image)
.p-medical-specialty__text{width: 40%;}
.p-medical-specialty__doctor-title{font-size: 160%;font-weight:700;line-height:1.6;margin-bottom: .5em;}

.p-medical-specialty__doctor-list li{line-height: 1.8;padding-left: 1.5em;position:relative;}
.p-medical-specialty__doctor-list li + li {margin-top:.5em;}
.p-medical-specialty__doctor-list li:before{background-color:#154893;border-radius:50%;content:"";height: .8em;left:0;position:absolute;top: .6em;width: .8em;}

.p-medical-specialty__symptom:not(:last-child){margin-bottom: 2.5em;}
.p-medical-specialty__symptom-title{color:#154893;font-size: 150%;font-weight:700;line-height:1.6;margin-bottom: .5em;text-align:center;word-break: auto-phrase;}
.p-medical-specialty__symptom-description{font-size:1rem;line-height:1.8;
margin:0 auto 2rem;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;}
.p-medical-specialty__symptom-box{background:#ebf4ff;border-radius: 1em;padding: 30px;}
.p-medical-specialty__symptom-list{grid-gap:0 1.25rem;-ms-grid-columns:(1fr)[2];
display:-ms-grid;display:grid;gap:0 1.25rem;grid-template-columns:repeat(2,1fr);margin-bottom:1.5rem;}
.p-medical-specialty__symptom-list:last-child{margin-bottom:0;}
.p-medical-specialty__symptom-list--3cols{-ms-grid-columns:(1fr)[3];gap:0 1.25rem;grid-template-columns:repeat(3,1fr);}
.p-medical-specialty__symptom-list--1cols{-ms-grid-columns:(1fr)[1];grid-template-columns:repeat(1,1fr);}
.p-medical-specialty__symptom-item{font-size: 110%;margin-left: .75em;padding-left: 1.5em;position:relative;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;}
.p-medical-specialty__symptom-item:before{-webkit-box-align:center;-ms-flex-align:center;
-webkit-box-pack:center;-ms-flex-pack:center;-webkit-align-items:center;
align-items:center;background:#fff;display:-webkit-box;display:-webkit-flex;
display:-ms-flexbox;display:flex;height:1.5rem;-webkit-justify-content:center;justify-content:center;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:1.5rem;z-index:1;}
.p-medical-specialty__symptom-item:after,
.p-medical-specialty__symptom-item:before
{-webkit-box-sizing:border-box;box-sizing:border-box;content:"";left:0;position:absolute;top:1.3125rem;}
.p-medical-specialty__symptom-item:after{background:transparent;
border-bottom:.25rem solid #154893;border-left:.25rem solid #154893;
border-radius:1px;height:.5625rem;pointer-events:none;
-webkit-transform:translate(-50%,-50%) rotate(-45deg) skewY(-5deg);
transform:translate(-50%,-50%) rotate(-45deg) skewY(-5deg);width:1rem;z-index:2;}
.p-medical-specialty__symptom-item--span2{-ms-grid-column-span:2;grid-column:span 2;}
.p-medical-specialty__symptom-referral{background:#fff;border-radius: 1em;padding:1.5rem 1.875rem;}
.p-medical-specialty__symptom:not(:last-child) + .p-medical-specialty__notice{ margin-top:-1.5em;}
.p-medical-specialty__notice-box{background:#fff;border: 5px solid #ebf4ff;border-radius: 1em;padding: 30px;}
.p-medical-specialty__notice-title{color:#154893;font-size:1.375rem;
font-weight:700;line-height:1.6;margin-bottom:1.25rem;text-align:center;}
.p-medical-specialty__notice-list{grid-gap:.75rem 2.25rem;-ms-grid-columns:(1fr)[2];
display:-ms-grid;display:grid;gap:.75rem 2.25rem;grid-template-columns:repeat(2,1fr);}
.p-medical-specialty__notice-item{padding-left: .8em;position:relative;}
.p-medical-specialty__notice-item:before{background:#4f6d8f;border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;content:"";height: .5em;left:0;position:absolute;top: 1.15em;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width: .5em;}
.p-medical-specialty__image{width: calc(56% - 250px);}
.p-medical-specialty__image img{border-radius:1em;}
.p-medical-outpatient__wrap{-webkit-box-pack:justify;-ms-flex-pack:justify;
display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;
-webkit-justify-content:space-between;justify-content:space-between;}
.p-medical-outpatient__content{width: 56%;}
.p-medical-outpatient__content-title{font-size: 150%;font-weight:700;margin-bottom: .5em;}
.p-medical-outpatient__text{margin-bottom: 2em;}
.p-medical-outpatient__step{margin-bottom: 1em;}
.p-medical-outpatient__step-item{border-bottom:1px solid #e8efff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding-block: 1em;position:relative;}
.p-medical-outpatient__step-item:first-child{border-top:1px solid #e8efff;}
.p-medical-outpatient__step-label{background:#154893;border-radius: 999px;color:#fff;display:inline-block;font-weight:700;height:-moz-fit-content;height:-webkit-fit-content;height:fit-content;margin-right: .8em;padding: .125em .75em;}
.p-medical-outpatient__image{width:38.1451612903%;}
.p-medical-outpatient__image img{border-radius:.9375rem;}
.p-medical-checkup{margin: 5em auto 3em;}
.p-medical-checkup__wrap{align-items:center;background:-webkit-gradient(linear,left bottom,left top,from(#ebf4ff),to(#fff));background:linear-gradient(0deg,#ebf4ff,#fff);border: 10px solid #ebf4ff;border-radius: 1em;display:flex;gap: 4%;justify-content: space-between;overflow:hidden;padding: 10px;position:relative;}
.p-medical-checkup__bg-sakura{bottom: -20%;position:absolute;right: 7%;width: 50%;z-index:0;}
.p-medical-checkup__content{position:relative;z-index:1;margin: 0 auto;width: 500px;}
.p-medical-checkup__title{font-size: 200%;font-weight:700;line-height:1.3;margin-bottom: 1em;}
.p-medical-checkup__btn{display:inline-block;width:17.8125rem;}
.p-medical-checkup__image{width: 40%;position:relative;z-index:1;}
.p-medical-checkup__image img{border-radius: 1em;height:auto;width:100%;}

.whatsbox {margin-bottom: 1em;}
.flex.box3 {display:flex;justify-content: space-between;gap:1em;}
.flex.box3 .box {width:100%;border: 5px solid #ebf4ff;border-radius: 1em;padding: 20px;}
.flex.box3 .box .subtitle {color: #154893;font-size: 130%;font-weight: 700;line-height: 1.6;margin-bottom: .5em;text-align: center;word-break: auto-phrase;}
.flex.box3 .box img {border-radius: .5em; margin-bottom:1em;}
.flex.box3 .box .hosoku {background: #ebf4ff;padding: 15px;border-radius: .5em;margin-top: 1.5em;}
.flex.box3 .box .checkUL li {width:100%;line-height:1.6;}
.flex.box3 .box .checkUL li + li {margin-top:.8em;}
.flex.box3 .box .checkUL li:before {background: #ebf4ff;top: .8em;}
.flex.box3 .box .checkUL li:after {top: .8em;}

@media screen and (max-width:1080px){
.p-medical-specialty__wrap { flex-wrap:wrap;}
.p-medical-specialty__image{width: 100%; margin-top:1.5em;}
.p-medical-specialty__wrap:has(.p-medical-specialty__image)
.p-medical-specialty__text{width: calc(96% - 260px);}
.p-medical-outpatient__wrap {flex-wrap:wrap; flex-direction:row-reverse;}
.p-medical-outpatient__wrap .p-medical-outpatient__content { width:100%;}
.p-medical-outpatient__wrap .p-medical-outpatient__image { width:100%;order: -1; margin-bottom:1em; }
.p-medical-checkup__content {padding-left: 4%;}

.whatsbox {margin-bottom: 1em;}
.flex.box3 {display:block;}
.flex.box3 .box {width:100%;}
.flex.box3 .box + .box {margin-top:1.5em;}
}
@media screen and (max-width:850px){
.p-medical-specialty__wrap{-webkit-box-orient:vertical;-webkit-box-direction:normal;
-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}
.p-medical-specialty__doctor{border-right:none;margin-bottom: 1.5em;padding-right:0;width:100%;}
.p-medical-specialty__wrap:has(.p-medical-specialty__image) .p-medical-specialty__text{width:100%;}
.p-medical-specialty__doctor-list,
.p-medical-specialty__doctor-title{margin-inline:auto;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;}
.p-medical-specialty__doctor-item:before{height:1.125rem;top:calc(max(1.125rem,3.4285714286vw)*2/2 - .5rem);width:1.125rem;}
.p-medical-specialty__symptom-box{padding: 1.5em 4%;}
.p-medical-specialty__symptom-list,.p-medical-specialty__symptom-list--3cols{gap: 1em 1.5em;}
.p-medical-specialty__symptom-item {line-height:1.6;}
.p-medical-specialty__symptom-item:after,
.p-medical-specialty__symptom-item:before{ top:.7em;}
    
.p-medical-specialty__symptom-referral{padding: 4%;}
.p-medical-specialty__notice-box{padding: 4%;}
.p-medical-specialty__image{width:100%;}
.p-medical-outpatient__wrap{-webkit-box-orient:vertical;-webkit-box-direction:normal;
-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:2.8571428571vw;}
.p-medical-outpatient__content{width:100%;}
.p-medical-outpatient__image{width:100%;}
.p-medical-specialty__text{width:100%}

.p-medical-checkup__wrap {padding:2%; border:.5em solid #ebf4ff;}
.p-medical-checkup__title {font-size: 3vw;}
.p-medical-checkup .c-btn{font-size:16px;padding:1em 1em;}
.p-medical-checkup__image {width:58%;}
.p-medical-checkup__btn{width:100%;}
.p-medical-checkup__content {width:70%;}
}
@media screen and (max-width:550px){
.p-medical-specialty__title {font-size:7vw;}
.p-medical-specialty__doctor-title {font-size:6vw;}
.p-medical-specialty__symptom-title {font-size:5.5vw;}
.p-medical-specialty__symptom-box {border-radius:.5em;}
.p-medical-specialty__symptom-list,
.p-medical-specialty__notice-list { display:flex;flex-wrap:wrap; }
.p-medical-specialty__symptom-list li,
.p-medical-specialty__notice-list li{width:100%;}
.p-medical-checkup__wrap {border:.3em solid #ebf4ff;border-radius: .5em;align-items: normal;}
.p-medical-checkup__content {padding:1em 0 1em .5em;}
.p-medical-checkup__title {font-size: 4.3vw;margin-bottom: .5em;word-break: auto-phrase;}
.p-medical-checkup .c-btn{font-size:3vw;padding:.6em 1em;}
.p-medical-checkup__image {width:48%;}
.p-medical-checkup__image img {border-radius:.5em;height: 100%;object-fit: cover;}
.p-medical-specialty__image img{border-radius:.5em;}
.p-medical-specialty__symptom-referral {border-radius:.5em;}

.flex.box3 .box {border:.3em solid #ebf4ff;border-radius:.5em;padding:4%;}
.flex.box3 .box .subtitle { font-size: 110%; }
}
@media screen and (max-width:393px){
.p-medical-specialty__doctor-item:before{height:1rem;top:.625rem;width:1rem;}
.p-medical-specialty__symptom-box{padding:1.25rem;}
.p-medical-specialty__symptom-list--3cols{-ms-grid-columns:1fr;grid-template-columns:1fr;}
.p-medical-specialty__symptom-item--span2{-ms-grid-column-span:1;grid-column:span 1;}
.p-medical-specialty__notice-list{-ms-grid-columns:(1fr)[1];gap:.75rem;grid-template-columns:repeat(1,1fr);}
}