@charset "utf-8";

/* default PC */
/* 関連施設ページ */
#facility {
  #page {
    background-color: #fff;
  }
}

#contents h2 .main {
  font-size: 24px;
  padding-left: 5px;
}

#contents h2.break-ttl {
  display: flex;
  flex-direction: column;
}

#contents h2.break-ttl .main {
  margin-top: 10px;
}

#contents .about-area .main-txt {
  font-size: 24px;
  text-align: center;
}

#contents .link-area {
  gap: 35px 0;
}

#contents .link-area .link-bnr {
  background-color: #faf5ed;
  color: #0B233F;
}

#contents .link-area .photo {
  margin-bottom: 0;
}

#contents .link-area .address-txt {
  font-size: 17px;
}

#contents .link-area .ttl {
  border: none;
  font-size: 22px;
  letter-spacing: .05em;
  line-height: 1.5em;
  margin-bottom: 20px;
  padding: 0;
}

#facility #contents .about-area p {
  color: #0B233F;
}

.about-area .tel-box {
  background-color: #f8f3eb;
  padding: 15px 20px 30px;
}

#contents .about-area .tel-box p.contact-ttl {
  font-size: 22px;
  margin-bottom: 10px;
  text-align: center;
}

#facility #contents .about-area p.main-txt {
  color: #E26C35;
}


/* 下層 */
#contents .time-box {
  max-width: fit-content;
}

#contents .time-txt {
  font-size: 23px;
  letter-spacing: .05em;
  margin-right: 30px;
}

#contents .time-txt .sub-txt {
  background-color: #0B233F;
  color: #FFF;
  font-size: 18px;
  letter-spacing: .05em;
  margin-right: 10px;
  padding: 2px 10px;
}

#contents .gap-box {
  gap: 35px 0;
}

#contents .timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 0;
}

#contents .timeline li {
  margin-right: 40px;
  text-align: center;
  width: 200px;
}

#contents .timeline li:last-child {
  margin-right: 0;
}

#contents .timeline li .ttl {
  margin-bottom: 0;
}

#contents .timeline .time {
  background-color: #0B233F;
  color: #FFF;
  margin-bottom: 15px;
  padding: 5px;
  position: relative;
}

#contents .timeline .time::before {
  background-color: #C0C0C0;
  bottom: 0;
  content: "";
  display: block;
  height: 8px;
  margin: auto;
  position: absolute;
  right: -40px;
  top: 0;
  width: 40px;
}

#contents .timeline li:last-child .time::before {
  display: none;
}

#contents .qr-box {
  display: grid;
  gap: 50px;
  grid-template-columns: 250px calc(100% - 300px);
}

.schedule-box {
  max-width: 850px;
}

#contents .table-box {
  max-width: 950px;
}

#contents .table-box th.box-th {
  width: 580px;
}

#contents .bg-img-box {
  max-width: 880px;
  margin: auto;
}

#contents .about-table th {
  width: 17%;
  min-width: 170px;
}

#contents th.bg-orange {
  background-color: #F7E4DC;
  background-image: none;
}

#contents .link-area .txt-3box {
  display: flex;
  flex-direction: column;
}

#contents .link-area .txt-3box .txt-area {
  padding: 20px 30px 0;
}

#contents .link-area h3.ttl {
  background-color: #C46640;
  border: none;
  color: #FFF;
  display: flex;
  flex-direction: column;
  font-size: 22px;
  font-weight: bold;
  height: 95px;
  justify-content: center;
  letter-spacing: .05em;
  line-height: 1.5em;
  margin-bottom: 0;
  padding: 0;
  padding: 15px;
  text-align: center;
}

#contents .link-area .link-btn {
  background-color: #EDDCC2;
  color: #0B233F;
  margin-bottom: 0;
}

#contents .link-area .btn-area {
  padding: 0 20px 20px;
  margin-top: auto;
}

#contents .link-area .link-btn::after {
  border-left: 6px solid #0B233F;
}

/* ひより坂 */
#hiyorizaka {
  .flow-list .flow-item {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 40px;
    position: relative;
  }

  #contents .flow-list .flow-item p {
    margin-bottom: 0;
    position: relative;
    padding-left: 45px;
  }

  #contents .flow-list .flow-item p .num {
    background-color: #C46640;
    position: absolute;
    left: 0;
    color: #fff;
    padding: 0px 11px 1px 11px;
    border-radius: 50px;
  }

  #contents .flow-list .flow-item .item-box {
    background-color: #f3f3f3;
    padding: 15px 20px;
    margin-left: 45px;
    margin-top: 15px;
  }

  #contents .flow-list .flow-item .item-box p {
    padding: 0;
  }

  .flow-list .flow-item:before {
    content: '';
    border-style: solid;
    border-width: 15px 0 15px 16px;
    border-color: transparent transparent transparent #C46640;
    position: absolute;
    top: auto;
    right: 0;
    left: 0;
    bottom: -37px;
    margin: auto;
    transform: rotate(90deg);
    width: 0;
    height: 0;
  }

  .flow-list .flow-item:last-child:before {
    content: none;
  }

  .flow-list .flow-item:nth-child(5):before {
    left: 100px;
  }

  .flow-list .flow-item:nth-child(5)::after {
    content: '';
    border-style: solid;
    border-width: 15px 0 15px 16px;
    border-color: transparent transparent transparent #C46640;
    position: absolute;
    top: auto;
    right: 100px;
    left: 0;
    bottom: -37px;
    margin: auto;
    transform: rotate(270deg);
    width: 0;
    height: 0;
  }
}


/*  */
#yutoriro {

  #contents .news-group .ttl {
    width: calc(100% - 310px);
  }

  #contents .news-group .category {
    max-width: 160px;
  }

  #contents .time-txt {
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
  }

  .vacancy-information .txt-3box {
    background-color: #fff;
    padding: 30px;
    border: 5px solid #b3bacc;
    margin-right: 0;
  }

  #contents .vacancy-information .txt-3box h3 {
    border: none;
    padding: 0;
    text-align: center;
  }

  #contents .vacancy-information .txt-3box p.num {
    text-align: center;
    font-size: 250%;
    line-height: 1.1em;
    margin-bottom: 0;
    position: relative;
  }

  #contents .vacancy-information .txt-3box p.num .word {
    font-size: 18px;
    padding-left: 10px;
    position: absolute;
    line-height: 3.8em;
  }

  #yuto-facility .gap-box .txt-3box {
    background-color: #fff;
  }

  /* 介護老人保健施設 ゆとりろへのお問い合わせ */
  #contents #yuto-contact h2,
  #contents #yuto-news h2 {
    display: flex;
    flex-direction: column;
  }

  #contents #yuto-contact h2 .sub,
  #contents #yuto-news h2 .sub {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .vacancy-information {
    width: 100%;
    max-width: 800px;
    margin: auto;
  }

  .vacancy-information object.img-yutoriro {
    width: 100%;
    max-width: 100%;
  }

  #contents .news-contents .news-box .no-txt {
    color: #333;
    margin-bottom: 0;
  }
}

/* 共通 */
#contents .bg-white p:last-child {
  margin-bottom: 0;
}

#contents .example-item h3 {
  text-align: center;
  border: none;
  padding: 15px;
  margin-bottom: 0;
  background-color: #4F7847;
  color: #fff;
  font-size: 20px;
  position: relative;
}

.example-item .list-item {
  background-color: #fff;
  padding: 40px 40px 30px;
  border: 4px solid #4F7847;
  border-top: 0;
}

#contents .example-item li {
  margin-bottom: 15px;
  list-style: none;
  padding-left: 35px;
  position: relative;
  width: calc(100% / 2 - 20px);
}

#contents .example-item ul {
  padding: 0;
  align-content: flex-start;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#contents .example-item li:before {
  background-image: url(../image/contents/check-ico.svg);
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: block;
  height: 22px;
  left: 0;
  margin: auto;
  position: absolute;
  top: 6px;
  width: 22px;
}

#contents .example-item li:after {
  transform: rotate(-45deg);
  width: 18px;
  left: 9px;
}

.note-item {
  background-color: #f8f3eb;
  padding: 30px;
}

.pdf-list a.link-btn.pdf {
  width: 100%;
  max-width: 100%;
}

#contents .pdf-list .flex {
  gap: 20px;
}

#contents .pdf-list .flex .txt-2box {
  width: calc(100% / 2 - 10px);
  margin-right: 0;
}

/* Q&A */
#contents .qa-area .qa-box {
  background-color: #FFF;
  margin-bottom: 45px;
  padding: 45px 35px;
}

#contents .qa-area .qa-box:last-child {
  margin-bottom: 0;
}

#contents .qa-box .q-ttl,
#contents .qa-box .a-box {
  display: flex;
  flex-wrap: wrap;
}

#contents .qa-box .q-ttl {
  align-items: baseline;
  font-size: 23px;
  font-weight: 500;
  margin-bottom: 20px;
}

#contents .qa-box .q-txt,
#contents .qa-box .a-txt {
  align-items: center;
  display: flex;
  font-size: 26px;
  font-weight: bold;
  height: 30px;
  justify-content: center;
  margin-bottom: 0;
  width: 25px;
}

#contents .qa-box .txt {
  margin-left: 15px;
  width: calc(100% - 40px);
}

#contents .tel-txt {
  margin: 10px 0 30px;
}

#contents .tel-txt .tel {
  color: #E26C35;
  font-size: 120%;
}


/* Q&A  ここまで */

/* 共通  ここまで*/


#cosmos-day {
  .table-over .table-02 th {
    white-space: nowrap;
  }

  .table-02 td.txt-load {
    white-space: nowrap;
  }

  .table-over .table-02 th:first-child {
    border-collapse: separate;
    font-size: 15px;
    left: 0;
    padding: 5px;
    position: sticky;
    text-align: center;
    vertical-align: middle;
    width: 13%;
    z-index: 1;
  }
}



@media screen and (max-width: 1450px) {
  #kaigo {
    #contents .timeline li {
      width: 190px;
    }
  }
}

@media screen and (max-width: 1400px) {
  #facility #contents .link-area h3.ttl {
    font-size: 19px;
    height: 80px;
  }

  #contents .timeline li,
  #kaigo #contents .timeline li {
    width: 180px;
  }

  #kaigo {
    #contents .timeline li {
      width: 178px;
    }
  }

  #cosmos-day {
    .use-fee .table-over .table-02 {
      min-width: 1160px;
    }

    .table-over.other .table-02.other-table {
      min-width: 500px;
    }
  }

}

@media screen and (max-width: 1300px) {

  #contents .timeline li,
  #kaigo #contents .timeline li {
    width: 157px;
  }
}

#contents .up-txt-1287 {
  display: none;
}

@media screen and (max-width: 1287px) {

  #contents .up-txt-1287 {
    display: block;
  }
}

@media screen and (max-width: 1200px) {
  #facility #contents .link-area h3.ttl {
    font-size: 18px;
  }

  #kaigo {
    #contents .timeline li {
      width: 147px;
    }
  }

  #cosmos-day {
    .use-fee .anchor-box .txt-3box {
      width: calc(100% / 2 - 20px);
    }
  }


}




/* view-1140 notePC,Tablet */
@media screen and (max-width: 1140px) {

  #facility #contents .link-area .txt-3box {
    width: calc(100% / 2 - 50px);
    margin-right: 0;
  }

  #facility #contents .flex.center.link-area {
    justify-content: space-evenly;
  }

  #contents p.txt-130.serif.look-orange {
    font-size: 20px;
  }


  /* Q&A */
  #contents .qa-area .qa-box {
    padding: 25px 25px 35px;
  }

  #contents .qa-box .a-txt {
    font-size: 23px;
    height: 24px;
  }

  #contents .qa-box .q-txt {
    font-size: 23px;
  }

  #contents .qa-box .q-ttl {
    font-size: 20px;
  }

  /*  */

  #contents .example-item li:before {
    top: 2px;
  }

  #contents .timeline li,
  #kaigo #contents .timeline li {
    width: 30%;
    margin-right: 20px;
  }

  #contents .timeline .time::before {
    width: 20px;
    right: -20px;
  }

  /*  */
  #hiyorizaka {
    #contents .table-box th.box-th {
      width: 55%;
    }

    #contents .flow-list .flow-item p .num {
      padding: 0px 9px 1px 9px;
    }

    #contents .flow-list .flow-item p {
      padding-left: 35px;
    }

    #contents .flow-list .flow-item .item-box {
      margin-left: 35px;
    }
  }

}

@media screen and (max-width: 1024px) {
  .flex.center.last-area .txt-2box.end {
    width: 100%;
  }
}

/* view-959 Mobile,Tablet */
@media screen and (max-width: 959px) {
  #facility #contents .flex.center.anchor-box {
    justify-content: space-around;
  }

  #facility .anchor-box .txt-3box {
    width: calc(100% / 2 - 20px);
  }

  #contents .link-area .link-box .link-btn {
    margin-bottom: 0;
  }

  #contents .link-area .txt-3box .txt-area {
    padding: 15px 15px 0;
  }

  #facility #contents .link-area .txt-3box {
    width: calc(100% / 2 - 20px);
  }

  /* 下層 */
  #access .txt-2box {
    margin-bottom: 20px;
  }

  #access .txt-2box.end {
    margin-bottom: 0;
  }

  .time-area .txt-2box {
    margin-bottom: 15px;
  }

  .time-area .txt-2box.end {
    margin-bottom: 0;
  }

  #contents .about-table th {
    width: 20%;
    white-space: nowrap;
    min-width: 133px;
  }

  #daycare #contents .pdf-list .flex .txt-2box,
  #cosmos #contents .pdf-list .flex .txt-2box,
  #cosmos-day #contents .pdf-list .flex .txt-2box {
    width: 100%;
  }


  #yutoriro {
    #contents .news-group .ttl {
      width: 100%;
    }

    .vacancy-information .txt-3box:first-child {
      width: 100%;
    }

    .vacancy-information .txt-3box {
      width: calc(100% / 2 - 10px);
    }

    .vacancy-information .flex {
      gap: 20px;
    }

    #contents .about-table th {
      min-width: 133px;
    }

    #yuto-facility .gap-box .txt-3box {
      width: calc(100% / 2 - 15px);
    }

    #yuto-download01.txt-3box,
    #yuto-download02.txt-3box {
      width: calc(100% / 2 - 10px);
    }

    #yuto-download01.txt-3box a,
    #yuto-download02.txt-3box a {
      width: 100%;
    }

    #yuto-download01.txt-3box {
      margin-right: 20px;
    }

    #contents .pdf-list .flex .txt-2box {
      width: 100%;
    }

    #contents .download p.mb-40.txt-center {
      text-align: left;
    }

    #contents .download p.mb-40.txt-center br {
      display: none;
    }

    #contents form table tr:first-child {
      border-bottom: 1px solid #B5B5B5;
    }

  }

  /*  */
  #contents .example-item li {
    width: 100%;
  }

  #contents .qr-box {
    grid-template-columns: auto;
    gap: 25px;
  }


  #contents .qr-box .img-box img {
    width: 100%;
    max-width: 100px;
  }

  #hiyorizaka {
    #contents .pdf-list .flex .txt-2box {
      width: 100%;
    }

    .bg-beige.area.box-mb .txt-2box.bg-white:first-child {
      margin-bottom: 50px;
    }
  }

  .table-over .table-02 th:first-child {
    width: 8%;
  }

  #nanohana {
    #instructions .txt-2box.end.bg-white {
      margin-top: 20px;
    }
  }
}

@media screen and (max-width: 767px) {
  #facility .anchor-box .txt-3box {
    width: 100%;
  }

  #facility #contents .link-area .txt-3box,
  #contents .link-area .photo img {
    width: 100%;
  }

  /* 下層 */
  #contents .pdf-list .flex .txt-2box {
    width: 100%;
  }

  #contents p.txt-130.serif.look-orange {
    font-size: 18px;
  }

  /*  */
  #contents .timeline li,
  #kaigo #contents .timeline li {
    width: 28%;
  }

  /*  */
  #cosmos-day {
    .use-fee .anchor-box .txt-3box {
      width: 100%;
    }
  }
}

@media screen and (max-width: 640px) {

  #yutoriro {
    #yuto-facility .gap-box .txt-3box {
      width: 100%;
    }

    #yuto-facility .gap-box .txt-3box img {
      width: 100%;
    }
  }
}

@media screen and (max-width: 580px) {

  #yutoriro {
    .anchor-box .txt-3box:nth-child(7) .link-btn.anchor {
      font-size: 15px;
      text-align: left;
    }

    .vacancy-information .txt-3box {
      padding: 20px 15px 25px;
    }

    #contents .vacancy-information .txt-3box h3 {
      margin-bottom: 10px;
    }

    .vacancy-information .txt-3box {
      width: 100%;
    }

  }
}


/* view-559 Mobile */
@media screen and (max-width: 559px) {
  .note-item {
    padding: 20px 15px;
  }

  .example-item .list-item {
    padding: 20px 15px;
  }

  #contents .example-item h3 {
    font-size: 18px;
    padding: 10px;
  }


  #facility {
    #contents h2 .main {
      font-size: 20px;
      margin-top: 0;
    }
  }

  #yutoriro {
    .anchor-box .txt-3box:nth-child(7) .link-btn.anchor {
      font-size: 16px;
      text-align: center;
    }

    #yuto-download01.txt-3box {
      margin-right: 0;
      margin-bottom: 15px;
    }

    #yuto-download01.txt-3box,
    #yuto-download02.txt-3box {
      width: 100%;
    }

    #contents #yuto-contact h2 .sub {
      font-size: 20px;
    }

    #contents #yuto-contact h2 .sub,
    #contents #yuto-news h2 .sub {
      margin-bottom: 10px;
    }
  }


  /* Q&A */
  #contents .qa-area .qa-box {
    padding: 20px 15px 30px;
  }

  #contents .qa-box .txt {
    font-size: 18px;
    margin-left: 5px;
    line-height: 1.4em;
  }

  #contents .qa-box .q-txt,
  #contents .qa-box .a-txt {
    font-size: 22px;
  }

  /*  */
  #contents .timeline li,
  #kaigo #contents .timeline li {
    width: 40%;
    width: 100%;
    margin-right: 0;
  }

  #contents .timeline {
    gap: 20px 0;
  }

  #contents .timeline .time::before {
    left: 15px;
    right: auto;
    width: 8px;
    height: 90px;
    top: 80px;
  }

  #contents .timeline li:nth-child(2) .time::before,
  #kaigo #contents .timeline li:nth-child(2) .time::before {
    height: 120px;
    top: 95px;
  }

  /*  */
  #hiyorizaka {
    #contents .qr-box .txt-box a.link-btn {
      font-size: 16px;
    }

    #contents .table-box th.box-th {
      width: 48%;
    }

    .insurance-list01 .table-box:first-child th.box-th br.br-767 {
      display: none;
    }

    .flow-list .flow-item {
      padding: 20px 15px;
    }

    #contents .flow-list .flow-item .item-box {
      padding: 10px 15px;
    }
  }

  #cosmos {
    #contents .about-area p.txt-130.serif.look-orange br {
      display: none;
    }
  }

  #nadeshiko {
    #contents p.txt-130.serif.look-orange br {
      display: none;
    }
  }
}

#contents .up-txt-537 {
  display: none;
}

@media screen and (max-width: 537px) {

  #contents .up-txt-537 {
    display: block;
  }
}