.med-banner-container {
  background-image: url("../../nursing/images/nursing-banner-extend.png");
}

.med-banner-title {
  background-color: #3E80B3;
}

.top-body-sub-scroll {
  height: 115px;
}

.med-body-peach {
  background : #3E80B3;
  background : rgba(62, 128, 179, 0.5);
}

.med-body-container h2 {
  color: #3E80B3;
}

.med-body-imgs {
  display: table;
  width: 100%;
}

.nursing-body-bottom-left, .nursing-body-bottom-right {
  display: table-cell;
  vertical-align: top;
}

.nursing-body-bottom-right {
  padding-left: 25px;
}

.nursing-badge-blue {
  background-color: #3E80B3;
  text-align: center;
  font-size: 13px;
  color: #fff;
  margin-right: 3px;
  display: inline-block;
  width: 55px;
  padding: 5px 0px;
}

.nursing-badge-blue:nth-of-type(2) {
  padding: 5px 3px;
}

.nursing-badge-blue:nth-of-type(3) {
  margin-top: 10px;
  display: block;
}

.nursing-body-bottom-left p:first-child,
.nursing-body-bottom-right p:first-child,
.nursing-body-bottom-left .bottom-left-b-new p:nth-of-type(2)
 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.nursing-body-bottom-left .bottom-left-b-new p:nth-of-type(2)
 {
  margin-top: 24px;
}

.nursing-body-bottom-left .bottom-left-b-new p.nursing-sched
 {
  font-size: 13px;
  margin-top: 15px !important;
}

.nursing-body-bottom-left p:last-child, .nursing-body-bottom-right p:last-child {
  font-size: 20px;
  font-weight: bold;
}

.nursing-body-bottom-left p:nth-of-type(2) {
  font-size: 13px;
  margin-top: 45px;
}

.nursing-body-bottom-right p:nth-of-type(2) {
  font-size: 13px;
  margin-top: 5px;
}

.nursing-body-bottom-left-a, .nursing-body-bottom-left-b {
  display: table-cell;
}

.nursing-body-bottom-left-b {
  vertical-align: top;
  padding-left: 25px;
}

.nursing-body-bottom-left-a div {
  margin-top: 15px;
  position: relative;
}

.nursing-body-bottom-left-a a {
  display: block;
  font-size: 14px;
  color: #3E80B3;
  border: 3px solid #3E80B3;
  padding: 10px 5px 10px 60px;
  line-height: 18px;
  background-image: url("../../nursing/images/nursing-human-icon.png");
  background-size: 40px;
  background-position: 8px;
  background-repeat: no-repeat;
}

.nursing-body-bottom-left-a img {
  width: 100%;
}

.nursing-body-bottom-left-a a span {
  font-size: 20px;
  font-weight: bold;
  line-height: 40px;
}

div.backtotop-nursing a {
  top: -16px;
}

.med-body-imgs-extend {
  padding-bottom: 50px;
}

.nursing-badge {
  margin-top: 10px;
}

.nursing-sched {
  margin-top: 18px !important;
}

@media all and (min-width: 320px) and (max-width: 768px) {
  .med-banner-title {
    background-color: transparent;
  }

  .med-banner-container {
    background-image: none;
    background-color: #3E80B3;
  }

  .med-banner {
    background-image: url(../../nursing/images/nursing-banner-wheelchair.png);
  }

  .top-body-sub-scroll {
    height: auto;
  }

  .nursing-body {
    padding: 0px;
  }

  .med-body-middle {
    padding: 25px 0px 10px 0px;
  }

  .med-body-container h2 {
    padding-left: 0px;
    padding-right: 0px;
  }

  .med-body-middle h2 {
    padding: 0px 25px;
    margin-bottom: 15px;
  }

  .med-body-imgs {
    padding: 0px;
    display: block;
  }

  .nursing-body-bottom-left, .nursing-body-bottom-right {
    display: block;
    width: 100%;
    padding: 0px;
  }

  .nursing-body-bottom-left-a, .nursing-body-bottom-left-b {
    display: block;
    width: 100%;
    padding: 0px;
  }

  .med-body-imgs p {
    text-align: left;
  }

  .nursing-body-bottom-left p:first-child, .nursing-body-bottom-right p:first-child {
    margin: 5px 0px;
  }

  .nursing-badge-blue:nth-of-type(3) {
    margin-top: 0px;
    display: inline-block;
  }

  .nursing-body-bottom-left p:nth-of-type(2), .nursing-body-bottom-right p:nth-of-type(2) {
    margin: 15px 0px 0px;
  }

  .med-body-imgs p {
    margin: 0px;
  }

  .nursing-body-bottom-left-a div {
    position: absolute;
    margin-top: 145px;
    left: 0;
    right: 0;
    padding: 0px 25px;
  }

  .nursing-body-bottom-left-a {
    position: relative;
  }

  .bottom-left-b-extend {
    padding-bottom: 125px;
    border-bottom: 1px solid #929496;
  }

  .bottom-right-extend {
    margin-top: 25px;
  }

  .med-body-extend {
    padding: 0px;
  }

  .med-body-title-extend, .nursing-body-bottom-left-a, .nursing-body-bottom-left-b {
    padding-left: 25px !important;
    padding-right: 25px !important;
    box-sizing: border-box;
  }

  .nursing-body-bottom-left div:first-child div:after {
    right: 35px;
  }

  .bottom-right-b-extend {
    padding-bottom: 15px;
    border-bottom: 1px solid #929496;
  }

  .med-body-title-extend {
    margin: 22px 0px 12px !important;
  }

  .med-body-desc {
    margin-bottom: 30px;
  }

  .nursing-title-h2 {
    padding: 0px 25px;
  }

  .bottom-left-a-extend {
    margin-top: 25px;
  }

  .bottom-left-b-extend div {
    display: inline-block
  }

  .bottom-left-b-new {
    padding-bottom: 15px;
  }


  .nursing-badge {
    margin-top: 0px;
  }
}


/* 2020.7 */
.services{
  width: 100%;
}
.services ul{
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.services ul li{
  width: 32%;
  margin: 0 10px 10px 0;
}
.services ul li:nth-child(3),
.services ul li:nth-child(6){
  margin-right: 0;
}
.services ul li a{
  display: flex;
  position: relative;
  justify-content: center;
  flex-direction: column;
  color: #000;
  font-size: 22px;
  font-weight: bold;
  line-height: 28px;
  text-decoration: none;
  border: 3px solid #3E80B3;
  background-color: #fff;
  height: 70px;
  padding: 5px 10px 5px 6%;
}

.services ul li a:after{
  content: "";
  border: 9px solid transparent;
  border-right-color: #3E80B3;
  border-bottom-color: #3E80B3;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.services ul li a span span{
  display: block;
  font-size: 14px;
  font-weight: normal;
  line-height: 14px;
  padding-top: 3px;
}
.services ul li a span{
  display: block;
}
.showMiddle{
  display: none;
}
@media all and (min-width: 769px) and (max-width: 840px) {
  .showMiddle{
    display: block;
  }
}
@media all and (min-width: 320px) and (max-width: 768px) {
  .services ul li{
    width: 100%;
    margin: 0;
  }

  .services ul li a{
    border: 0;
    border-bottom: 1px solid #929496;
    background-image: url(../../nursing/images/nursing-arrow-blue.png);
    background-size: 15px;
    background-position: 96%;
    background-repeat: no-repeat;
    padding: 5px 10px 5px 50px;
    font-size: 19px;
  }

  .services ul li a:after{
    display: none;
  }

  .services ul li a:before{
    content: "";
    position: absolute;
    background-color: #3E80B3;
    width: 10px;
    height: 70%;
    left: 26px;
  }
}


/* 施設の紹介 ---------------------------------------------- */
.showPc{
  display: block;
}
.nursing-facility-outer{
  width: 90%;
  max-width: 980px;
  margin: 0 auto;
}

/* タイトル：施設の紹介 */
.nursing-facility-outer h2{
  color: #3E80B3;
  font-size: 23px;
  line-height: 32px;
  margin: 50px 0 30px 0;
  font-weight: bold;
}

/* 施設紹介リスト */
.nursing-facility-lists{
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
}
.nursing-facility-lists > li{
  width: 50%;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-bottom: 50px;
}
.nursing-facility-lists > li section{
  width: 49%;
  padding-left: 1%;
}
/* 各施設の名称 */
.nursing-facility-lists > li section h3{
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 15px 0;
}
/* サービス区分 */
.nursing-facility-lists > li section ul{
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  margin-bottom: 5px;
  padding-left: 0;
}
.nursing-facility-lists > li section ul li{
  background-color: #3E80B3;
  text-align: center;
  color: #fff;
  font-size: 13px;
  width: 55px;
  padding: 5px;
  margin: 0 10px 10px 0;
}
/* 各施設の住所 */
.nursing-facility-lists > li section address{
  font-size: 13px;
}
/* 各施設の電話番号 */
.nursing-facility-lists > li section a,
.nursing-facility-lists > li section p{
  font-size: 20px;
  color: #000;
  font-weight: bold;
  margin: 0;
}
.nursing-facility-lists > li section a span,
.nursing-facility-lists > li section p span{
  font-size: 10px;
  margin-right: 0.3vw;
}
@media (min-width: 769px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

/* 各施設の写真：外側 */
.nursing-facility-lists > li div{
  width: 44%;
  padding: 0 3%;
}
/* 各施設の写真 */
.nursing-facility-lists > li div img{
  width: 100%;
}
.nursing-facility-lists > li div a{
  display: block;
  font-size: 1vw;
  color: #3E80B3;
  border: 0.3vw solid #3E80B3;
  padding: 1vw 0 0.8vw 4.8vw;
  line-height: 1.4em;
  background-image: url("../../nursing/images/nursing-human-icon.png");
  background-size: 2.8vw;
  background-position: 0.8vw;
  background-repeat: no-repeat;
  text-decoration: none;
  margin-top: 10px;
}
.nursing-facility-lists > li div a span{
  font-size: 1.3vw;
  font-weight: bold;
  line-height: 2em;
}


/* スマートフォン時 */
@media all and (min-width: 320px) and (max-width: 768px) {
  .showPc{
    display: none;
  }
  /* 施設の紹介 ---------------------------------------------- */
  .nursing-facility-outer{
    width: 86%;
  }

  /* 施設紹介リスト */
  .nursing-facility-lists{
    flex-wrap: nowrap;
    flex-direction: column;
  }
  .nursing-facility-lists > li{
    width: 100%;
    flex-direction: column-reverse;
    border-bottom: 1px solid #ccc;
    padding-bottom: 30px;
  }
  .nursing-facility-lists > li section{
    width: 100%;
    padding-left: 0;
  }
  /* 各施設の名称 */
  .nursing-facility-lists > li section h3{
    font-size: 20px;
    margin: 0 0 10px 0;
  }
  /* サービス区分 */
  .nursing-facility-lists > li section ul{
    width: 100%;
  }
  .nursing-facility-lists > li section ul li{
    font-size: 14px;
    width: 65px;
  }
  /* 各施設の住所 */
  .nursing-facility-lists > li section address{
    font-size: 16px;
  }
  /* 各施設の電話番号 */
  .nursing-facility-lists > li section a,
  .nursing-facility-lists > li section p{
    font-size: 30px;
    text-decoration: none;
  }
  .nursing-facility-lists > li section a span,
  .nursing-facility-lists > li section p span{
    font-size: 14px;
    margin-right: 1vw;
  }

  /* 各施設の写真：外側 */
  .nursing-facility-lists > li div{
    width: 100%;
    padding: 0;
  }
  /* 各施設の写真 */
  .nursing-facility-lists > li div img{
    display: block;
    width: 100%;
    margin: 0 auto 20px auto;
    max-width: 400px;
  }
  .nursing-facility-lists > li div a{
    font-size: 5vw;
    border: 1vw solid #3E80B3;
    padding: 5vw 0 3vw 16vw;
    background-image: url("../../nursing/images/nursing-human-icon.png");
    background-size: 10vw;
    background-position: 3vw;
    background-repeat: no-repeat;
    margin-bottom: 20px;
  }
  .nursing-facility-lists > li div a span{
    font-size: 8vw;
  }
}

@media all and (min-width: 469px) and (max-width: 768px) {
  .nursing-facility-lists > li div a{
    font-size: 20px;
    border: 3px solid #3E80B3;
    padding: 20px 0 16px 80px;
    background-image: url("../../nursing/images/nursing-human-icon.png");
    background-size: 40px;
    background-position: 20px;
    background-repeat: no-repeat;
    width: 400px;
    margin: 10px auto 20px auto;
    box-sizing: border-box;
  }
  .nursing-facility-lists > li div a span{
    font-size: 36px;
  }
}


@media all and (min-width: 1200px) {
  .nursing-facility-lists > li div a{
    font-size: 11px;
    border: 3px solid #3E80B3;
    padding: 10px 0 6px 60px;
    background-image: url("../../nursing/images/nursing-human-icon.png");
    background-size: 30px;
    background-position: 15px;
    background-repeat: no-repeat;
    margin: 10px auto 20px auto;
    box-sizing: border-box;
  }
  .nursing-facility-lists > li div a span{
    font-size: 16px;
  }
}
