.p-doctor-list { padding:5em 4%;}
.p-doctor-list__inner{padding:  0;}
.p-doctor-profile{-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;}
.p-doctor-profile:nth-child(n+2){margin-top:5em;}
.p-doctor-profile__left{width: 25%;}
.p-doctor-profile__right{border-left:1px solid #eceef7;padding-left: 4%;width: calc(71% - 1px);}
.p-doctor-profile__image{margin-bottom: 2em;width: 100%;}
.p-doctor-profile__image img{border-radius: 1em;display:block;width:100%;}
.p-doctor-profile__name-block {padding-left:.5em;}
.p-doctor-profile__name{display:block;font-size: 220%;font-weight:700;margin-bottom: .4em;}
.p-doctor-profile__name ruby{ruby-align:center;}
.p-doctor-profile__name rt{color:#666;font-size:40%;font-weight:400;}
.p-doctor-profile__role{line-height:1.8;margin-bottom: .25em;}
.p-doctor-profile__role:last-child{margin-bottom:0;}
.p-doctor-profile__section{margin-bottom: 1.5em;}
.p-doctor-profile__section:last-child{margin-bottom:0;}
.p-doctor-profile__list li{line-height: 1.8;padding-left: 1.5em;position:relative;}
.p-doctor-profile__list li + li {margin-top:.5em;}
.p-doctor-profile__list li:before{background-color:#154893;border-radius:50%;content:"";height: .8em;left:0;position:absolute;top: .6em;width: .8em;}
.p-doctor-profile__history-item{display:-webkit-box;display:-webkit-flex;
display:-ms-flexbox;display:flex;gap:1.25em;margin-bottom:.75rem;}
.mainbox .doctor-calendar-frontend .calendar-header h2 {color: #0e3265;font-size:180%;}
.p-doctor-profile__history-item:last-child{margin-bottom:0;}
.p-doctor-profile__history-year{-webkit-box-flex:0;-webkit-flex:0 0 6.25rem;
-ms-flex:0 0 6.25rem;flex:0 0 6.25rem;font-size:1rem;line-height:1.8;}
.p-doctor-profile__history-desc{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;
flex:1;font-size:1rem;line-height:1.8;}
.p-doctor-history{margin-bottom: 5em;padding: 0 4%;}
.p-doctor-history__wrap{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-align-items:center;align-items:center;background:-webkit-gradient(linear,left bottom,left top,from(#ebf4ff),to(#fff));background:linear-gradient(0deg,#ebf4ff,#fff);border: .5em solid #ebf4ff;border-radius:1.6875rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:2.5rem;-webkit-justify-content:space-between;justify-content:space-between;overflow:hidden;padding:.5rem;position:relative;}
.p-doctor-history__bg-sakura{bottom: -24%;position:absolute;right: -4%;width: 70%;z-index:0;}
.p-doctor-history__content{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left: 4%;position:relative;z-index:1;}
.p-doctor-history__title{font-size: 250%;font-weight:700;line-height: 1.6;margin-bottom: .5em;}
.p-doctor-history__btn{display:inline-block;width: 100%;max-width: 400px;}
.p-doctor-history__image{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;max-width:26.6875rem;position:relative;z-index:1;}
.p-doctor-history__image img{border-radius:.9375rem;height:auto;width:100%;}
.p-doctor-calendar{margin-bottom: 3em;padding: 0 4%;}
.p-doctor-calendar__image{margin-bottom:2rem;}
.p-doctor-calendar__button{display:block;margin:0 auto;width:17.8125rem;}


.p-doctor-history__inner {padding:0;}

@media screen and (max-width:1000px){
.p-doctor-profile__left{width: 280px;}
.p-doctor-profile__right{width: calc(100% - 281px);}
}
@media screen and (max-width:850px){
.p-doctor-profile{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap: 1em;}
.p-doctor-profile__left{width:100%;margin:auto;display: flex;justify-content: space-between;}
.p-doctor-profile__image  {width:25%;margin: 0;}
.p-doctor-profile__image img {border-radius:.5em;}
.p-doctor-profile__left > .p-doctor-profile__name-block {
    padding-left: 4%;
}
.p-doctor-profile__name-block {width: 70%;padding: 0;}
.p-doctor-profile__right{width:100%;border: 5px solid #eceef7;padding: 4%;border-radius: 1em;}
.p-doctor-profile__list{width:100%;}
.p-doctor-profile__history-item{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap: 0;border-bottom: 1px solid #eceef7;padding: 0.5em 0;margin: 0;}
.p-doctor-profile__history-item:first-child { padding-top:0;}
.p-doctor-profile__history-year{-webkit-box-flex:0;-webkit-flex:none;-ms-flex:none;flex:none;}
.p-doctor-profile__history-desc,.p-doctor-profile__history-year{font-size:max(.875rem,2.2857142857vw);}
.p-doctor-history__wrap{gap: 2em;padding: 2%;border-radius: .5em;}
.p-doctor-history__content{padding-left:0;width: 55%;}
.p-doctor-history__title{font-size: 4vw;text-align:center;}
.p-doctor-history__btn{display:block;margin-inline:auto;}
.p-doctor-history__image{max-width: initial;width: 40%;}
.p-doctor-calendar__inner{padding: 0;}
}
@media screen and (max-width:550px){
.p-doctor-list { padding:5em 4% 1em;}
.p-doctor-profile__name{font-size:7vw;line-height: 1.4;}
.p-doctor-profile__right{ border:3px solid #eceef7; border-radius:.5em;}
.p-doctor-history__btn.c-btn{font-size:3vw;padding:.6em 1em;}
.p-doctor-profile__section{margin-bottom: 1em;}
}
@media screen and (max-width:393px){
.p-doctor-profile__name{font-size:8vw;}
.p-doctor-calendar__button,.p-doctor-history__btn{width:100%;}
.p-doctor-profile{ gap:1em;}
}