/* =========================
  MEDICAL HISTORY 
========================= */
.section--title{
  background-color: #f3f4f6;
  padding: 5px 10px 0 0;
}
.section--title .section__inner{
  padding: 10px 16px 5px;
}
.section--title .section__title{
  background-image: url(../images/icon_histry.svg);
  background-repeat: no-repeat;
  padding-left: 30px;
  background-size: 25px;
  background-position: left center;
  font-size: 1.2em;
}

/* =========================
  MEDICAL HISTORY  予約状況
========================= */
.section--reserve{
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom:15px;
    background-color: #fff;
}
.reserve-ttl{
    padding: 2px 5px 2px 0;
    border-right:solid 1px #ddd;
    font-weight: bold;
    font-size: .9em;
    margin-right:10px;
}
.reserve{
    background-color: #fff;
    padding: 15px;
    border:1px solid #ececec;
}
.reserve--no{
text-align: center;
padding: 20px 0 30px;
}
.reserve--no p{

}
.btn-area a.btn-sub{
    margin-right: 8px;
}
.reserve .btn-area {
    padding-top: 10px;
    margin-bottom: 7px;
}

.status__reserve{
    margin-bottom:10px;
}
.status__reserve--ttl{
    padding:5px 0 5px 28px;
    background-image: url("../images/icon_bd01_rs.svg");
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: left center;
}

/* =========================
  MEDICAL HISTORY  診察履歴
========================= */
.medical-history__history--ttl{
    padding:5px 0 5px 28px;
    background-image: url("../images/icon_histry.svg");
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: left center;
}
.history-ttl{
    padding: 2px 5px 2px 0;
    border-right:solid 1px #ddd;
    font-weight: bold;
    font-size: .9em;
    margin-right:10px;
}
.history{
    background-color: #fff;
    padding: 15px 15px 5px;
    border:1px solid #ececec;
    margin-bottom:60px;
}
.history-record{
  background-color: #efefef;
  padding: 10px 10px 10px 13px;
  display: flex;
  justify-content: space-between;
  align-items:center;
  margin-bottom:10px;
}
.history--date{
  font-size: 1em;
  font-weight: bold;
}
.history-record--form{
  border-radius: 20px;
  background-color: #fff;
  border:1px solid #bcbcbc;
  font-weight: bold;
  padding: 4px 10px 2px;
  font-size: .85em;
}
.history-med-item{
  margin-left:10px;
  margin-bottom:10px;
}
.history-med-item li{
  display:flex;
  justify-content: space-between;
}
.history-med-name{
  color:#00a0dc;
  text-decoration: underline;
  font-weight: 500;
   text-decoration-thickness: 0.5px;
   text-underline-offset: 2px;
  background-image: url(../images/icon_det.svg);
  background-position: right center;
  padding-right: 20px;
  background-repeat: no-repeat;
  background-size: 17px;
}
.history .btn-area{
  text-align: right;
  margin-bottom:15px;
}

/* モーダル*/
.med-img{
text-align: center;  
}
.med-efficacy{
  margin-top:15px;
}
.med-efficacy span{
  border: #ccc 1px solid;
  border-bottom:#fff;
  border-top:#7bb0b7 solid 5px;
  position: relative;
  z-index: 2;
  background-color: #fff;
  bottom:-3px;
  padding: 5px 15px 2px;
  border-radius: 8px 8px 0 0;
  color: #7bb0b7;
  font-weight: bold;
  font-size: .9em;
}
.med-efficacy--text{
  border: #ccc 1px solid;
  padding: 13px;
  z-index: 1;
  position: relative;
  background-color: #fff;
  line-height: 1.3;
  margin-bottom: 15px;
}
.med-details li{
  display: flex;
  gap:10px;
  margin-bottom:10px;
}
.details-ttl{
font-weight: bold;
font-size: .95em;
color:#595757;
width: 90px;
flex:2;
}
.details-ttl span{
border-left:2px solid #7bb0b7;
padding-left: 7px;
}
.med-details li p{
  flex: 3;
  line-height: 1.3;
  padding-top: 3px;
  font-size: .95em;
}

.history .modal__content {
  max-height: 75vh;
  overflow-y: auto;
}

.modal  .btn-common--big {
    padding: 15px;
    font-size: 1.2em;
    display: block;
    border-radius: 40px;
    width: 80%;
    max-width: 300px;
    margin: auto;
    margin-top: 20px;
    background-color: #00a0dc;
    color: #fff;
    border: 2px solid #00a0dc;
}
.modal .btn-common::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}
