@charset "UTF-8";
/* CSS Document */
/*==========================================
 コンテンツエリア -> index
===========================================*/
.green {
  background: #5fa223;
}

.orange {
  background: #fb941a;
}

h2 {
  text-align: center;
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
}

.moreBtn {
  text-align: center;
  padding: 10px 0;
  max-width: 300px;
  margin: 0 auto;
  width: 100%;
}
.moreBtn a {
  display: block;
  padding: 10px;
  border: 2px solid #fff;
  position: relative;
  color: #fff;
  font-weight: bold;
}
.moreBtn a::after {
  content: "";
  width: 10px;
  height: 10px;
  background: url("../images/allow.svg") no-repeat;
  position: absolute;
  top: calc(50% - 5px);
  background-size: contain;
  right: 10px;
}

#contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#contents #concept {
  width: 70%;
  text-align: center;
}
#contents #concept .inr {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#contents #concept .inr .txt {
  width: 38%;
}
#contents #concept .inr .img {
  width: 60%;
  height: 100%;
  min-height: 100%;
}
#contents #recruit {
  width: 29%;
}
#contents #recruit .moreBtn {
  margin: 8px 0 10px;
}
#contents #care {
  width: 50%;
}
#contents #company_contactArea {
  width: 49%;
}
#contents #company_contactArea #company .inr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
#contents #company_contactArea #company .inr .img {
  width: 45%;
}
#contents #company_contactArea #company .inr .txt {
  width: 50%;
}
#contents #company_contactArea #contactArea {
  text-align: center;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
#contents #blogArea {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  /* 2個だけの時 */
}
#contents #blogArea .indexBox {
  text-align: center;
  width: 32.5%;
}
#contents #blogArea::after {
  content: "";
  width: 32.5%;
}
#contents #blogArea:has(.indexBox:nth-child(3):last-child) {
  justify-content: center;
  justify-content: space-between;
}
#contents #blogArea:has(.indexBox:nth-child(3):last-child) .indexBox {
  width: 32.5%;
}
#contents #blogArea:has(.indexBox:nth-child(3):last-child)::after {
  display: none;
}

.indexBox {
  margin-bottom: 10px;
}
.indexBox .inr {
  padding: 15px;
  color: #fff;
}
.indexBox .inr .img img {
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 780px) {
  #contents {
    flex-flow: column;
  }
  #contents #concept,
  #contents #company_contactArea,
  #contents #care,
  #contents #recruit,
  #contents #recruit {
    width: 100%;
  }
  #contents #recruit .inr {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #contents #recruit .inr .txt {
    order: 2;
    width: 45%;
  }
  #contents #recruit .inr .img {
    order: 1;
    width: 50%;
  }
  #contents #blogArea {
    flex-flow: column;
    width: 100%;
  }
  #contents #blogArea .indexBox {
    width: 100%;
  }
}