/* heloview
-------------------------------------------------- */
.home {
  /* home common
  -------------------------------------------------- */
  /* important
  -------------------------------------------------- */
  /* important
  -------------------------------------------------- */
  /* home-daynav
  -------------------------------------------------- */
  /* daytime
  -------------------------------------------------- */
  /* content
  -------------------------------------------------- */
  /* info
  -------------------------------------------------- */
  /* sns
  -------------------------------------------------- */
  /* column
  -------------------------------------------------- */
  /* features
  -------------------------------------------------- */
  /* home-outpatient
  -------------------------------------------------- */
}
.home-ttl {
  position: relative;
  text-align: center;
  font-size: 36px;
  font-size: 2.25rem;
  font-weight: 400;
  margin-bottom: 70px;
}
@media (max-width: 767px) {
  .home-ttl {
    font-size: 23px;
    font-size: 1.4375rem;
    margin-bottom: 40px;
  }
}
.home-ttl::after {
  position: absolute;
  bottom: -30px;
  display: block;
  width: 100%;
  text-align: center;
  font-family: "Roboto";
  font-size: 15px;
  font-size: 0.9375rem;
  color: var(--main-color);
}
@media (max-width: 767px) {
  .home-ttl::after {
    bottom: -20px;
    font-size: 10px;
    font-size: 0.625rem;
  }
}
.heloview {
  position: relative;
  overflow: hidden; 
}
.heloview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 30px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 1; 
}
p.heloview-text {
  position: absolute;
  top: 70%;
  transform: translateY(-50%);
  padding-inline: calc(50% - 550px);
  width: 100%;
  z-index: 2;
  font-size: 3rem;
  color: #fff;
  line-height: 1.53;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
  font-family: "Shippori Mincho", serif;
}
@media (max-width: 767px) {
  p.heloview-text {
    font-size: 1.6rem;
    margin-left: 1rem;
  }
}
.home-daynav {
  padding: 30px 20px; 
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr; 
  row-gap: 30px; 
  background-color: #f7f6f0;
}

@media (min-width: 768px) {
  .home-daynav {
    padding: 40px 80px; 
    grid-template-columns: 1fr 3fr; 
    column-gap: 40px;
    row-gap: 0;
    align-items: center;
    margin-inline: auto;
    max-width: 1400px;
  }
}
@media (max-width: 767px) {
  .home-daynav {
    margin: 0 8px;
  }
}
.home-nav-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 165px);
}
@media (min-width: 768px) {
  .home-nav-list {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 165px);
  }
}
.home-nav-list li {
  margin: 5px;
}

.home-nav-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100%;
  padding-top: 100px;
  background: #FFF 50% 20px/85px 85px no-repeat;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  font-size: 18px;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.04rem;
  color: #393939;
  text-decoration: none;
  -webkit-transition: 0.4s all;
  transition: 0.4s all;
}
@media (max-width: 767px) {
  .home-nav-link {
    padding-top: 70px;
    background-size: 60px auto;
    font-size: 13px;
    font-size: 0.8125rem;
  }
}
.home-nav-link.nav-qa {
  background-image: url(../img/home/home_ic_nav_1.svg);
}
.home-nav-link.nav-first {
  background-image: url(../img/home/home_ic_nav_2.svg);
}
.home-nav-link.nav-again {
  background-image: url(../img/home/home_ic_nav_3.svg);
}
.home-nav-link.nav-roster {
  background-image: url(../img/home/home_ic_nav_4.svg);
}
.home-nav-link.nav-inpatient {
  background-image: url(../img/home/home_ic_nav_5.svg);
}
.home-nav-link.nav-institutions {
  background-image: url(../img/home/home_ic_nav_6.svg);
}

.home-daytime-ttl {
  color: var(--main-color);
  font-size: 1.6rem;
  font-weight: 400;
  grid-area: day-ttl;
  margin-bottom: 25px;
}
@media (max-width: 767px) {
  .home-daytime-ttl {
    margin-bottom: 10px;
    font-size: 16px;
    font-size: 1rem;
    margin-bottom: 15px;
  }
}
.home-daytime-dl {
  grid-area: day-table;
}
.home-daytime-dl > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1px;
  height: 35px;
}
.home-daytime-dl > div:first-child {
  margin-bottom: 1px;
}
.home-daytime-dl dt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 80px;
          flex: 0 0 80px;
  background-color: var(--main-color);
  color: #FFF;
  font-size: 14px;
  font-size: 0.875rem;
}
@media (max-width: 767px) {
  .home-daytime-dl dt {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 85px;
            flex: 0 0 85px;
    font-size: 13px;
    font-size: 0.7125rem;
  }
}
.home-daytime-dl dd {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  color: var(--main-color);
  font-size: 14px;
  font-size: 0.975rem;
  background-color: #fff;
}
@media (max-width: 767px) {
  .home-daytime-dl dd {
    font-size: 13px;
    font-size: 0.8125rem;
  }
}
.home-daytime-kome{
  font-size: 0.8125rem;
  margin: 10px 0px 20px;
}
.home-daytime-nav {
  grid-area: day-btn;
  align-self: end;
}
@media (max-width: 1149px) {
  .home-daytime-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.home-daytime-nav > li {
  margin-top: 10px;
}
@media (max-width: 1149px) {
  .home-daytime-nav > li {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}
.home-daytime-nav .btn_small {
  width: 100%;
}
@media (max-width: 767px) {
  .home-daytime-nav .btn_small {
    min-width: auto;
  }
}
.home-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 45px;
}
@media (min-width: 768px) and (max-width: 1149px) {
  .home-content {
    gap: 30px;
  }
}
@media (max-width: 767px) {
  .home-content {
    display: block;
  }
}
.home-content.container {
  margin-block: 80px;
}
@media (max-width: 767px) {
  .home-content.container {
    margin-block: 50px;
  }
}

.home-feature {
  padding-block: 75px;
  max-width: 1400px;
  margin-inline: auto;
  border-radius: 10px;
  background-color: #f7f6f0;
}
@media (max-width: 767px) {
  .home-feature {
    padding-block: 45px;
    margin: 0 8px;
  }
}
.home-feature .home-ttl:after {
  content: "FEATURES";
}
.home-feature-lead {
  text-align: center;
  font-family: "Noto Serif JP";
  font-size: 20px;
  font-size: 1.25rem;
}
@media (max-width: 767px) {
  .home-feature-lead {
    font-size: 12px;
    font-size: 0.75rem;
  }
}
.home-feature-ttl {
  margin-bottom: 20px;
  color: var(--main-color);
  /*font-family: "Noto Serif JP";*/
  font-size: 28px;
  font-size: 1.75rem;
}
@media (max-width: 767px) {
  .home-feature-ttl {
    margin-bottom: 10px;
    font-size: 17px;
    font-size: 1.0625rem;
  }
}
.home-sscd {
  display: grid;
  grid-template-columns: 1fr 50%;
  grid-template-rows: auto auto auto;
  align-items: start;
  gap: 0px 50px;
  grid-template-areas: 
    "s-ttl s-img"
    "s-text s-img"
    "s-link s-img";
  margin-top: 60px;
}
@media (min-width: 768px) {
  .home-sscd:nth-child(even) {
    grid-template-columns: 50% 1fr;
    grid-template-areas: 
      "s-img s-ttl"
      "s-img s-text"
      "s-img s-link";
  }
}
@media (max-width: 767px) {
  .home-sscd {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, -webkit-min-content);
    grid-template-rows: repeat(4, min-content);
    gap: 0 0;
    grid-template-areas: "s-ttl" "s-img" "s-text" "s-link";
    margin-top: 25px;
  }
}
.home-feature-ttl {
  align-self: start;
  margin-top: 0;
  padding-top: 0;
}
@media (min-width: 768px) {
  .home-sscd .home-feature-ttl {
    padding-top: 0;
    -ms-flex-item-align: end;
        align-self: end;
  }
}
.home-sscd-lead {
  font-size: 18px;
  font-size: 1.125rem;
  margin-bottom: 35px;
  grid-area: s-text;
}
@media (max-width: 767px) {
  .home-sscd-lead {
    margin-bottom: 20px;
    font-size: 13px;
    font-size: 0.8125rem;
  }
}
.home-sscd-photo {
  grid-area: s-img;
}
@media (max-width: 767px) {
  .home-sscd-photo {
    margin-bottom: 20px;
    margin-inline: -10px;
    padding: 0 5px;
  }
}
@media (min-width: 1150px) {
  .home-sscd-photo {
    margin-right: -20px;
  }
}
.home-sscd-link {
  grid-area: s-link;
  text-align: right;
}

/* [recruit] ------------------------------------- */
.recruit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 500px;
  background: url(../img/recruit/bg_recruit.webp) 50% 50%/cover no-repeat;
  margin: 80px 0;;
}
@media (max-width: 767px) {
  .recruit {
    width: 100%;
    height: 72vw;
    margin: 20px 0;
    background-image: url(../img/recruit/bg_recruit_sp.webp);
  }
}
.recruit-wrap {
  max-width: 850px;
  width: 100%;
  height: 300px;
  margin-inline: 80px;
  padding-block: 50px 30px;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: center;
}
@media (min-width: 768px) and (max-width: 1149px) {
  .recruit-wrap {
    margin-inline: 40px;
  }
}
@media (max-width: 767px) {
  .recruit-wrap {
    min-width: 250px;
    height: 190px;
    margin-inline: 60px;
    padding-block: 30px;
  }
}
.recruit-ttl {
  position: relative;
  margin-bottom: 40px;
  font-size: 30px;
  font-size: 1.875rem;
  text-align: center;
}
@media (max-width: 767px) {
  .recruit-ttl {
    margin-bottom: 10px;
    font-size: 20px;
    font-size: 1.25rem;
  }
}
.recruit-ttl::after {
  display: block;
  text-align: center;
  color: #2a8f9e;
  margin-top: 1rem;
  content: "RECRUIT";
  font-size: 12px;
  font-size: 0.75rem;
}
@media (max-width: 767px) {
  .recruit-ttl::after {
    margin-top: 0.5rem;
    font-size: 10px;
    font-size: 0.625rem;
  }
}
.recruit-lead {
  margin-bottom: 25px;
  text-align: center;
  font-size: 18px;
  font-size: 1.125rem;
}
@media (max-width: 767px) {
  .recruit-lead {
    margin-bottom: 20px;
    font-size: 13px;
    font-size: 0.8125rem;
  }
}
.recruit .btn_small {
  width: 300px;
}
@media (max-width: 767px) {
  .recruit .btn_small {
    width: 200px;
  }
}