@charset "utf-8";

.mainvisual {
  padding-top: 128px;
  padding-bottom: 132px;
  width: 100%;
  background: url(../img/bg_mainvisual.jpg) no-repeat center;
  background-size: cover;
}

.mainvisual .basewidth {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mainvisual .basewidth::before {
  content: "";
  background: url(../img/staff_man.png) no-repeat center;
  background-size: contain;
  width: 134px;
  aspect-ratio: 134 / 371;
  position: absolute;
  top: -56px;
  left: 0;
}

.mainvisual .basewidth::after {
  content: "";
  background: url(../img/staff_woman.png) no-repeat center;
  background-size: contain;
  width: 131px;
  aspect-ratio: 131 / 368;
  position: absolute;
  top: -40px;
  right: 0;
}

.mainvisual .h2title {
  margin-bottom: 56px;
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.mainvisual .h2title strong {
  font-size: 3.5rem;
  font-weight: bold;
}

.mainvisual .desc {
  text-align: center;
  font-size: 2.6rem;
  font-weight: bold;
  z-index: 1;
}

/* sec01 */
.sec01 {
  padding-top: 64px;
  padding-bottom: 96px;
}

.sec01 .lead-message {
  margin-left: auto;
  margin-right: auto;
  max-width: 790px;
  width: 100%;
  margin-bottom: 140px;
  font-size: 1.8rem;
}

.sec01 .navBlock .text {
  margin-bottom: 24px;
  font-size: 2.6rem;
  font-weight: bold;
  color: var(--accent-color);
}

.sec01 .navCardBlock {
  display: flex;
  justify-content: center;
}

.sec01 .nav__card {
  width: 400px;
  height: 190px;
  color: #333;
  text-decoration: none;
  display: block;
  border-radius: 10px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sec01 .nav__card .title {
  font-size: 4rem;
  display: flex;
  align-items: center;
}

.sec01 .nav__card .desc {
  font-size: 2.8rem;
}

.sec01 .nav__card-kaigo {
  margin-right: 21px;
  border: 2px solid #BF967F;
  background-color: #FAE2D5;
}

.sec01 .nav__card-kaigo .icon {
  margin-right: 2px;
  width: 35px;
  aspect-ratio: 35 / 32;
}

.sec01 .nav__card-fukushi {
  margin-left: 21px;
  border: 2px solid #80A273;
  background-color: #DBF3D2;
}

.sec01 .nav__card-fukushi .icon {
  margin-right: 2px;
  width: 35px;
  aspect-ratio: 35 / 30;
}

@media screen and (max-width:767px) {
  .mainvisual {
    padding-top: 48px;
  }

  .mainvisual .basewidth::before {
    width: 100px;
    top: 74px;
    left: 5px;
    opacity: 0.2;
  }

  .mainvisual .basewidth::after {
    width: 94px;
    top: 94px;
    right: 5px;
    opacity: 0.2;
  }

  .mainvisual .h2title {
    font-size: 5.5vw;
  }

  .mainvisual .h2title strong {
    font-size: 7vw;
  }

  .mainvisual .desc {
    font-size: 5vw;
  }

  /* sec01 */
  .sec01 {
    padding-top: 64px;
    padding-bottom: 96px;
  }

  .sec01 .lead-message {
    margin-bottom: 48px;
    font-size: 4.5vw;
  }

  .sec01 .navBlock .text {
    font-size: 5vw;
  }

  .sec01 .navCardBlock {
    flex-direction: column;
  }

  .sec01 .nav__card {
    padding-top: 8px;
    padding-bottom: 8px;
    width: 100%;
    height: auto;
  }

  .sec01 .nav__card .title {
    font-size: 7.5vw;
  }

  .sec01 .nav__card .desc {
    font-size: 4.5vw;
  }

  .sec01 .nav__card-kaigo {
    margin-right: 0;
    margin-bottom: 16px;
  }
  .sec01 .nav__card-fukushi {
    margin-left: 0;
  }
}