@charset "utf-8";
/* default PC */

#contents .ico-box {
  display: grid;
  gap: 25px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  text-align: center;
}

#contents .ico-box li {
  background-color: #fff;
  padding: 30px 20px 40px;
  position: relative;
  color: #0B233F;
}

#contents .ico-box li::before {
  background: url(../image/contents/hospitalization/hos_ico_01.svg) no-repeat center / contain;
  content: "";
  display: block;
  margin: 0 auto 10px;
  height: 150px;
  width: 150px;
  position: relative;
}

#contents .ico-box li.ico-02::before {
  background-image: url(../image/contents/hospitalization/hos_ico_02.svg);
}

#contents .ico-box li.ico-03::before {
  background-image: url(../image/contents/hospitalization/hos_ico_03.svg);
}

#contents .ico-box li.ico-04::before {
  background-image: url(../image/contents/hospitalization/hos_ico_04.svg);
}

.table-02.b-left td:first-child {
  border-left: 1px solid #b5b5b5;
}

.half-box {
  max-width: 700px;
}

/* 入院 > お部屋の紹介 */
#contents #room {
  .room-area .txt-2box {
    margin-bottom: 50px;
    background-color: #fff;
  }

  .room-area .txt-2box img {
    width: 100%;
  }

  .room-area .txt-2box h3 {
    text-align: center;
    border: none;
    padding: 30px 20px 0;
    color: #E26C35;
    margin-bottom: 0;
  }

  .room-area .txt-2box p.txt-center {
    margin-bottom: 0;
  }

  .room-area .txt-2box .txt-area {
    padding: 30px;
  }

  .room-area .txt-2box .table-02 th {
    width: 18%;
    min-width: 110px;
  }
}


/* 食事・栄養について */
#nutrition {

  .meal-area .txt-2box.bg-white,
  .attempt-contents .txt-2box {
    margin-bottom: 50px;
  }

  .meal-area .img-2box-txt .table-02 th {
    min-width: 120px;
    text-align: center;
    width: 15%;
  }

  .meal-area .time-box .table-02 th,
  .meal-area .time-box .table-02 td {
    text-align: center;
  }

  #contents .attempt-contents .txt-2box h3 {
    border: none;
    padding: 0;
    text-align: center;
    color: #E26C35;
  }

  #meal .txt-2box.bg-white.end .table-02 th {
    width: 25%;
    text-align: center;
  }

  #nourishment .table-02 th {
    white-space: nowrap;
    text-align: center;
  }

  #nourishment .flex {
    gap: 50px;
  }

  #nourishment .flex .txt-2box {
    margin-right: 0;
  }
}




@media screen and (max-width: 1500px) {
  #contents .bnr-box .txt-3box:nth-child(3) .bnr-ttl {
    font-size: 21px;
    padding: 18px 10px;
  }
}


@media screen and (max-width: 1400px) {
  #contents .bnr-box .txt-3box:nth-child(3) .bnr-ttl {
    font-size: 20px;
    padding: 19px 10px;
  }
}

@media screen and (max-width: 1300px) {

  #nutrition {
    #meal .txt-2box.bg-white.end .table-02 th {
      width: 35%;
      white-space: nowrap;
    }
  }
}

@media screen and (max-width: 1250px) {
  #contents .bnr-box .txt-3box:nth-child(3) .bnr-ttl {
    font-size: 19px;
    padding: 20px 10px;
  }
}

@media screen and (max-width: 1200px) {
  #contents .bnr-box .txt-3box {
    width: calc(100% / 2 - 10px);
    margin-right: 20px;
  }

  #contents .bnr-box .txt-3box:nth-child(3) .bnr-ttl {
    font-size: 20px;
    padding: 19px 10px;
  }

  #contents .bnr-box .txt-3box:nth-child(2n) {
    margin-right: 0;
  }

  #contents .bnr-box {
    gap: 20px 0;
  }

  .meal-area .table-02 th {
    text-align: center;
  }
}

/* view-1140 notePC,Tablet */
@media screen and (max-width: 1140px) {
  #contents .bnr-box .txt-3box:nth-child(3) .bnr-ttl {
    font-size: 18px;
    padding: 12px 10px;
  }

  #nutrition {
    .txt-2box {
      width: calc(100% / 2 - 15px);
      margin-right: 30px;
    }

    .txt-2box.end {
      margin-right: 0;
    }

    .meal-area .txt-2box.bg-white,
    .attempt-contents .txt-2box {
      margin-bottom: 30px;
    }

    .txt-2box.bg-white {
      padding: 30px 20px;
    }
  }
}

/* view-959 Mobile,Tablet */
@media screen and (max-width: 959px) {

  /*  */
  #regarding {
    #contents .ico-box {
      gap: 10px;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
    }

    #contents .ico-box li {
      padding: 20px 15px 40px;
      width: calc(100% / 2 - 10px);
    }

    #contents .ico-box li::before {
      height: 110px;
      width: 110px;
    }

    .patient-support .table-02 th {
      width: 10%;
      min-width: 80px;
    }
  }

  #nutrition {
    .txt-2box {
      width: 100%;
      margin-right: 0;
    }

    #nourishment .txt-2box {
      margin-bottom: 30px;
    }

    #nourishment .txt-2box.end {
      margin-bottom: 0;
    }
  }

}


@media screen and (max-width: 767px) {
  #contents .bnr-box .txt-3box {
    width: 100%;
    margin-right: 0;
  }
}

/* view-559 Mobile */
@media screen and (max-width: 559px) {
  #regarding {
    #contents .ico-box li {
      padding: 15px 8px 30px;
    }
  }

  #contents #room {
    .room-area .txt-2box h3 {
      padding: 15px 10px 0;
    }

    .room-area .txt-2box .txt-area {
      padding: 15px;
    }

    .room-area .txt-2box .table-02 th {
      min-width: 77px;
    }
  }


  #nutrition {
    .txt-2box.bg-white {
      padding: 20px 15px;
    }
  }
}