@charset "utf-8";

/*====================================================================================================

施設について

====================================================================================================*/

/*種類--------------------------------------*/

.category {
  margin-bottom: calc(120 / 1920 * 100vw);
}

.category h2 {
  margin-bottom: calc(30 / 1920 * 100vw);
}

.category h2 + p {
  margin-bottom: calc(30 / 1920 * 100vw);
}

.category h3 {
  margin-bottom: calc(20 / 1920 * 100vw);
}

.category .user-box {
  background-color: var(--color-gray02);
}

.category .user-box {
  margin-bottom: calc(10 / 1920 * 100vw);
}
.category .user-box p {
  margin-bottom: calc(10 / 1920 * 100vw);
}

@media print, screen and (min-width: 1001px) {
  .category {
    grid-column-gap: calc(60 / 1920 * 100vw);
  }

  .category .user-box {
    padding: calc(30 / 1920 * 100vw);
  }

  .category .user-box ul {
    padding-left: calc(30 / 1920 * 100vw);
  }
}
@media print, screen and (max-width: 1000px) {
  .category {
    grid-template-columns: repeat(1, 1fr);
    grid-row-gap: calc(60 / 1000 * 100vw);
  }
  .category .user-box {
    padding: calc(30 / 1000 * 100vw);
  }

  .category .user-box ul {
    padding-left: calc(30 / 1000 * 100vw);
  }
}

@media print, screen and (max-width: 640px) {
  .category {
    margin-bottom: calc(120 / 640 * 100vw);
  }

  .category h2 {
    margin-bottom: calc(30 / 640 * 100vw);
  }

  .category h2 + p {
    margin-bottom: calc(30 / 640 * 100vw);
  }

  .category {
    grid-row-gap: calc(60 / 640 * 100vw);
  }
  .category .user-box {
    padding: calc(20 / 640 * 100vw);
  }

  .category .user-box ul {
    padding-left: calc(40 / 640 * 100vw);
  }
}

/*関連施設--------------------------------------*/

.related h3 {
  margin-bottom: calc(20 / 1920 * 100vw);
}

.related .col2_gr {
  /*grid-column-gap: calc(60/1920*100vw)*/
}

.related .txt-box {
  background-color: var(--color-gray02);
  padding: calc(60 / 1920 * 100vw);
}

.related .img-box {
  background-image: url("../../image/contents/about/related-view.jpg");
}

.related .img-box {
  height: 400px;
}
@media print, screen and (min-width: 801px) {
  .related {
    margin-bottom: calc(120 / 1920 * 100vw);
  }

  .related .col2_gr {
    /*grid-column-gap: calc(60/1920*100vw);*/
  }

  .related .txt-box {
    padding: calc(60 / 1920 * 100vw);
  }
}
@media print, screen and (max-width: 800px) {
  .related {
    margin-bottom: calc(120 / 800 * 100vw);
  }
  .related .col2_gr {
    /*grid-row-gap: calc(40/800*100vw);*/
  }

  .related .txt-box {
    padding: calc(40 / 800 * 100vw);
  }
}

/*介護目標--------------------------------------*/

.slogan ul {
  list-style: none;
  text-align: center;
}

.slogan ul {
  position: relative;
  margin-top: -10px;
  /*background-color: var(--color-green04);*/
  counter-reset: number 0;
}

.slogan ul li {
  position: relative;
}

.slogan ul li::before {
  position: absolute;
  counter-increment: number 1;
  content: counter(number, decimal-leading-zero);
  color: var(--color-green03);
  font-weight: 700;
  font-size: 3rem;
  right: 3px;
  top: 0;
  z-index: 1;
  line-height: 1;
}

.slogan .img-box span {
  position: absolute;
  color: var(--color-gray02);
  font-size: 3rem;
  font-weight: 700;
  right: 0;
  top: 0;
  line-height: 1.2;
}

/*.slogan ul li::after{

}*/

.slogan ul p {
  font-weight: 500;
  background-color: var(--color-white);
  color: var(--color-green01);
}

.slogan ul p {
  padding: 10px;
  border-bottom: 6px solid var(--color-green03);
}

.slogan ul li:nth-child(1) .img-box {
  background-image: url("../../image/contents/about/slogan01.jpg");
}

.slogan ul li:nth-child(2) .img-box {
  background-image: url("../../image/contents/about/slogan02.jpg");
}

.slogan ul li:nth-child(3) .img-box {
  background-image: url("../../image/contents/about/slogan03.jpg");
}

@media print, screen and (min-width: 1001px) {
  .slogan {
    margin-bottom: calc(120 / 1920 * 100vw);
  }

  .slogan ul {
    grid-column-gap: calc(30 / 1920 * 100vw);
    padding: calc(30 / 1920 * 100vw);
  }
  .slogan ul .img-box {
    height: 240px;
  }
}

@media print, screen and (max-width: 1000px) {
  .slogan {
    margin-bottom: calc(120 / 1000 * 100vw);
  }

  .slogan ul {
    grid-template-columns: repeat(1, 1fr);
    grid-row-gap: calc(60 / 1000 * 100vw);
    padding: calc(60 / 1000 * 100vw);
  }

  .slogan ul .img-box {
    height: 300px;
  }
}

@media print, screen and (max-width: 640px) {
  .slogan ul .img-box {
    height: 240px;
  }
}

/*スタッフ紹介--------------------------------------*/
#staff > h2 {
  margin-bottom: 50px;
}

#staff > .col2_gr .txt-box h3 {
  margin-bottom: 20px;
}

#staff > .col2_gr .txt-box {
  position: relative;
  background-color: #fff;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0) 30%,
    var(--color-gray02) 30%
  );
  background-size: 10px 10px;

  /*background-color: var(--color-gray02);*/
}

#staff > .col2_gr .txt-box::after {
  position: absolute;
  content: "";

  width: 0;
  height: 0;
  border-style: solid;
}

.doctor .img-box {
  background-image: url("../../image/contents/about/doctor.jpg");
}
.nurse .img-box {
  background-image: url("../../image/contents/about/nurse.jpg");
}
.care_worker .img-box {
  background-image: url("../../image/contents/about/care_worker.jpg");
}
.ot .img-box {
  background-image: url("../../image/contents/about/ot.jpg");
}
.pt .img-box {
  background-image: url("../../image/contents/about/pt.jpg");
}
.st .img-box {
  background-image: url("../../image/contents/about/st.jpg");
}
.registered_dietitian .img-box {
  background-image: url("../../image/contents/about/registered_dietitian.jpg");
}
.cooking_worker .img-box {
  background-image: url("../../image/contents/about/cooking_worker.jpg");
}
.support_counselor .img-box {
  background-image: url("../../image/contents/about/support_counselor.jpg?v=2");
}
.office_worker .img-box {
  background-image: url("../../image/contents/about/office_worker.jpg");
}
.equipment_manager .img-box {
  background-image: url("../../image/contents/about/equipment_manager.jpg");
}
.care_manager .img-box {
  background-image: url("../../image/contents/about/care_manager.jpg");
}

@media print, screen and (min-width: 801px) {
  #staff .b-color-hd[b-color="green02"] {
    margin-top: calc(90 / 1920 * 100vw);
  }
  #staff > .col2_gr {
    margin-bottom: calc(60 / 1920 * 100vw);
  }

  #staff > .col2_gr:nth-of-type(even) .img-box {
    order: 1;
  }

  #staff > .col2_gr:nth-of-type(even) .txt-box {
    order: 2;
  }
  #staff > .col2_gr:nth-of-type(odd) .txt-box::after {
    border-width: 60px 0 0 60px;
    border-color: transparent transparent transparent var(--color-gray);
    left: 0;
    bottom: 0;
  }

  #staff > .col2_gr:nth-of-type(even) .txt-box::after {
    border-width: 0 0 60px 60px;
    border-color: transparent transparent var(--color-gray) transparent;
    right: 0;
    bottom: 0;
  }

  #staff > .col2_gr .img-box {
    height: 400px;
  }

  #staff > .col2_gr .txt-box {
    padding: 40px;
  }
}
@media print, screen and (max-width: 800px) {
  #staff .b-color-hd[b-color="green02"] {
    margin-top: calc(90 / 800 * 100vw);
  }
  #staff > .col2_gr {
    margin-bottom: calc(60 / 800 * 100vw);
  }
  #staff > .col2_gr .img-box {
    height: 360px;
  }

  #staff > .col2_gr .txt-box {
    padding: calc(60 / 800 * 100vw);
  }

  #staff > .col2_gr .txt-box::after {
    border-width: 0 0 30px 30px;
    border-color: transparent transparent var(--color-gray) transparent;
    right: 0;
    bottom: 0;
  }
}

@media print, screen and (max-width: 640px) {
  #staff .b-color-hd[b-color="green02"] {
    margin-top: calc(90 / 640 * 100vw);
  }
  #staff > .col2_gr {
    margin-bottom: calc(60 / 640 * 100vw);
  }

  #staff > .col2_gr .img-box {
    height: 300px;
  }
}
