@charset "UTF-8";
/* CSS Document */

.titleimg{
background-image:url("../shinryou/images/titleimg_senmon.jpg");
background-repeat: no-repeat;
background-size:cover;
background-position:center;
}

h4 {
  position: relative;
  background: #efefef;
  padding: 2px 5px 2px 25px;
  font-size: 20px;
  color: #1c4081;
  border-radius: 0 10px 10px 0;
  margin:2em 0 1em 20px;
}

h4:before {
  font-family: "Font Awesome 5 Free";
  content: "\f0f1";
  display: inline-block;
  line-height: 40px;
  position: absolute;
  padding: 0em;
  color: white;
  background: #94caef;
  font-weight: 900;
  width: 40px;
  text-align: center;
  height: 40px;
  line-height: 40px;
  left: -1.35em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: solid 3px white; 
  border-radius: 50%;
}

.doctor_waku{
display: flex;
flex-direction: column;
margin:2em 0;
}

.doctor_name_waku{
display: flex;
align-items:flex-end;
margin:1em 0 0;
border-bottom: 1px solid #999;
}
.doctor_name{
width:70%;
font-size: 1.4rem;
}
.name_l{
font-size:2.4rem;
font-weight: 400;
}
.doctor_yakusyoku{
width:30%;
text-align: right;
}
.doctor_photo{
width:80%;
max-width:300px;
margin:0 auto;
}
.doctor_list dl {
display: flex;
flex-flow: row wrap;
width: 100%;
border-top: 1px solid #ccc;
margin:1em 0 2em;
}
.doctor_list dt {
flex-basis: 25%;
padding: 10px;
background-color: #f1f1f1;
border-bottom: 1px solid #ccc;
}
.doctor_list dd {
flex-basis: 75%;
padding: 10px;
background-color: #fff;
border-bottom: 1px solid #ccc;
}
@media screen and (max-width: 560px) {
.doctor_list dl {
flex-flow: column;
}
}
@media screen and (min-width: 760px) {
.doctor_waku{
flex-direction:row;
justify-content: space-between;

}
.doctor_photo{
width:30%;
}
.doctor_prf{
width:65%;
}
.doctor_name_waku{
margin: 0;
}
}

.riumachi_waku{
display: flex;
flex-flow: column;
}
.riumachi_c{
}
@media screen and (min-width: 560px) {
.riumachi_waku{
flex-flow:row;
flex-wrap: wrap;
justify-content: space-between
}
.riumachi_c{
width:50%;
}
}
@media screen and (min-width: 960px) {
.riumachi_c{
width:30%;
}
}
h5 {
  position: relative;
  padding: 0.6em;
  background: #d9e6ee;
  margin:2em 0 0 0;
  font-weight: 500;
}

h5:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #d9e6ee;
  width: 0;
  height: 0;
}
