@charset "utf-8";

/*
  File Name   : prescription.css
  Description : 処方箋
*/

/* prescription/index
============================================================ */

.sec-presc-top {
  padding: 80px 0;
}

.presc-area-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.presc-area-list li {
  width: 25%;
  margin-bottom: 20px;
}

.presc-area-list li a {
  display: block;
  color: #008db7;
  transition: .3s ease-in;
  padding-left: 30px;
  background: url(/assets/img/common/icon-arrow-right-02.png) no-repeat left center;
  background-size: 20px 20px;
}

.presc-area-list li a:hover {
  opacity: .6;
  text-decoration: none;
}

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

  .sec-presc-top {
    padding: 40px 0;
  }

  .presc-area-list li {
    width: 50%;
  }

}



/* prescription/list
============================================================ */

.presc-shop-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -20px;
}

.presc-shop-list li {
  width: calc(33.33% - 40px);
  margin: 0 20px 40px;
  border-radius: 5px;
  transition: .3s ease-in;
}

.presc-shop-list li a {
  display: block;
  padding: 20px 20px 0;
  border-radius: 5px;
  box-shadow: 0 3px 8px 1px rgba(0,0,0,.1);
}

.presc-shop-list li a:hover {
  text-decoration: none;
  box-shadow: 0 3px 12px 5px rgba(0,0,0,.1);
}

.presc-shop-list li h3 {
  font-size: 18px;
  color: #008db7;
  background: url(/assets/img/common/icon-arrow-right-02.png) no-repeat left center;
  line-height: 1.4em;
  background-size: 20px 20px;
  padding-left: 30px;
  margin-bottom: 20px;
  position: relative;
}

.presc-shop-list li h3:before {
  content: "";
  height: 1px;
  background: #e6e6e6;
  width: calc(100% + 40px);
  position: absolute;
  bottom: -15px;
  left: -20px;
  right: -20px;
}

.presc-shop-list-content {
  display: flex;
  font-size: 16px;
  padding: 15px 0;
  position: relative;
}

.presc-shop-list-content:not(:last-child):before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -20px;
  right: -20px;
  width: calc(100% + 40px);
  border-bottom: 1px dotted #e6e6e6;
}

.presc-shop-list-content span {
  width: 30%;
  color: #a2acb5;
}

.presc-shop-list-content p {
  width: 70%;
}

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

  .presc-shop-list li {
    width: calc(50% - 40px);
  }

}


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

  .presc-shop-list li {
    width: calc(100% - 20px);
    margin-bottom: 20px;
  }

}


/* prescription/detail
============================================================ */

.presc-detail-img {
  display: block;
  /* justify-content: space-between; */
  /* margin-bottom: 40px; */
  margin: 0 20px 40px;
  text-align: center;
}

/* top img */
.presc-detail-img div {
  width: calc(50% - 20px);
}

.presc-detail-img div img {
  width: 100%;
  height: auto;
}

/* list */
.presc-detail-list {
  border-top: 1px solid #e6e6e6;
  margin-bottom: 60px;
}

.presc-detail-list li {
  border-bottom: 1px solid #e6e6e6;
  display: flex;
  padding: 20px 0;
}

.presc-detail-list span {
  width: 200px;
  color: #a2acb5;
  font-size: 16px;
}
.presc-detail-list p {
  width: 780px;
}
.presc-detail-list p a {
  color: #008db7;
}

/* 薬局詳細情報 */
.presc-detail-info {
  margin-bottom: 40px;
}

.presc-detail-info ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -20px;
}

.presc-detail-info li {
  width: calc(33.33% - 40px);
  margin: 0 20px 30px;
  padding: 15px 90px 15px 20px;
  border-radius: 3px;
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.presc-detail-info-active {
  background: #f3fcf0;
  border: 2px solid #a7d996;
}

.presc-detail-info-active:before {
  content: '◯';
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -13px;
  color: #a7d996;
}

.presc-detail-info-inactive {
  background: #f9f9f9;
  border: 2px solid #e6e6e6;
}

.presc-detail-info-inactive:before {
  content: '✕';
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -13px;
  color: #a8b1ba;
}

/* 備考 */
.presc-detail-remark {
  margin-bottom: 60px;
}

.presc-detail-remark p {
  line-height: 2em;
}

/* マップ */
.presc-detail-access p {
  margin-top: 10px;
}

.presc-detail-access a {
  display: block;
  color: #008db7;
  transition: .3s ease-in;
  padding-left: 30px;
  background: url(/assets/img/common/icon-arrow-right-02.png) no-repeat left center;
  background-size: 20px 20px;
}

.presc-detail-bottom {
  padding-top: 80px;
  text-align: center;
}

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

  .presc-detail-img {
    display: block;
    margin-bottom: 40px;
  }

  /* top img */
  .presc-detail-img div {
    width: 100%;
  }

  .presc-detail-img div:first-child {
    margin-bottom: 20px;
  }

  /* list */
  .presc-detail-list {
    margin-bottom: 40px;
  }

  .presc-detail-list span {
    width: 35%;
    font-size: 14px;
  }

  .presc-detail-list p {
    font-size: 14px;
    width: 65%;
  }

  /* 薬局詳細情報 */
  .presc-detail-info ul {
    display: block;
    margin: 0;
  }

  .presc-detail-info li {
    width: 100%;
    margin: 0 0 15px;
    padding: 15px 60px 15px 20px;
  }

  .presc-detail-info-active:before {
    margin-top: -10px;
  }

  .presc-detail-info-inactive:before {
    margin-top: -10px;
  }

  /* 備考 */
  .presc-detail-remark {
    margin-bottom: 40px;
  }

  .presc-detail-access iframe {
    height: 300px;
  }

  .presc-detail-bottom {
    padding-top: 40px;
  }


}

.shop-pharmacie-type > p span,
.home-visit-information > p span {
  display: block;
  width: auto;
}
