/*====================================================================================
1. START MAIN VISUAL SECTION.
====================================================================================*/
.mainvisual {
  position: relative;
  height: 100dvh;
}
.mainvisual video {
  object-fit: cover;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}
.mainvisual .container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 7%;
  z-index: 2;
}
.mainvisual h1 {
  color: #fff;
  font-size: 8rem;
  font-family: var(--font-NotoSerif);
  font-weight: normal;
}
@media only screen and (max-width: 767px) {
  .mainvisual .container {
    align-items: center;
    padding-top: 10rem;
  }
  .mainvisual h1 {
    font-size: 10vw;
  }
}

/*====================================================================================
2. START MAIN TOP
====================================================================================*/
/*---------- START sec-news ----------*/
.sec-news {
  padding: 4rem 7rem 6rem;
  box-sizing: border-box;
}
.sec-news__main {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 5rem;
}
.sec-news__left {
  width: 15rem;
}
.sec-news .cont-news {
  width: calc(100% - 15rem);
}
@media only screen and (max-width: 767px) {
  .sec-news {
    padding: 2rem 0rem 3rem;
  }
  .sec-news__main {
    flex-wrap: wrap;
    gap: 0;
  }
  .sec-news .cont-news {
    width: 100%;
  }
  .sec-news .cont-news__list {
    margin-bottom: 2rem;
  }
}

/*---------- START sec-about ----------*/
.sec-about__main {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.sec-about__txt {
  width: 47%;
}
.sec-about__img {
  width: 47.3%;
}
.sec-about__img img {
  width: 100%;
}
.sec-about .card-about {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
}
.sec-about .card-about__img {
  width: 7rem;
}
.sec-about .card-about__txt {
  width: calc(100% - 8rem);
}
.sec-about .card-about__txt strong {
  font-size: 1.8rem;
}
@media only screen and (max-width: 767px) {
  .sec-about__main {
    flex-wrap: wrap;
    gap: 2rem;
  }
  .sec-about__txt {
    width: 100%;
  }
  .sec-about__img {
    width: 100%;
  }
}

.list-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin: 6rem 0 2rem;
}
.list-btn .c-btn {
  width: calc((100% - 3rem) / 2);
}
.list-btn .c-btn a {
  width: 100%;
  border-bottom: 1px solid #d8d8d8;
  color: var(--color-green);
  font-weight: 500;
  padding-bottom: 0.5rem;
}
@media only screen and (max-width: 767px) {
  .list-btn {
    margin: 4rem 0 1rem;
    gap: 2rem;
  }
  .list-btn .c-btn {
    width: calc((100% - 2rem) / 2);
  }
}

/*---------- START sec-service ----------*/
.service-des {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 5rem;
}
.service-des p {
  width: calc(100% - 41rem);
}
.service-des .c-btn {
  width: 36rem;
}
@media only screen and (max-width: 767px) {
  .service-des {
    gap: 0;
  }
  .service-des p {
    width: 100%;
  }
}

.bnr-service {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 6rem;
}
.bnr-service__item {
  position: relative;
  width: calc((100% - 3rem) / 2);
  background: #f4f8f2;
  padding: 3rem;
  border-radius: 0.5rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
}
.bnr-service__img {
  width: 10rem;
  padding-left: 1rem;
  box-sizing: border-box;
}
.bnr-service__txt {
  width: calc(100% - 10rem);
}
.bnr-service__ttl {
  font-weight: 500;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}
@media only screen and (min-width: 768px) {
  .bnr-service__item:hover {
    box-shadow: inset 0 0 5px #289a02;
  }
}
@media only screen and (max-width: 767px) {
  .bnr-service {
    gap: 2rem;
    margin-top: 3rem;
  }
  .bnr-service__item {
    width: 100%;
    padding: 1.5rem;
  }
  .bnr-service__img {
    width: 8rem;
  }
  .bnr-service__txt {
    width: calc(100% - 8rem);
  }
  .bnr-service__ttl {
    font-size: 1.8rem;
  }
}

/*---------- START slide ----------*/
.swiper {
  margin: 10rem 0;
}
@media only screen and (max-width: 767px) {
  .swiper {
    margin: 5rem 0;
  }
}

.infiniteslide {
  margin: 10rem 0;
}
.infiniteslide .slide-box {
  margin: 0 1rem;
}
@media only screen and (max-width: 767px) {
  .infiniteslide {
    margin: 5rem 0;
  }
  .infiniteslide .slide-box {
    max-width: 45%;
  }
}

/*---------- START sec-history ----------*/
.sec-history {
  position: relative;
  padding-top: 28rem;
}
.sec-history__ttl {
  position: absolute;
  top: -28rem;
  right: -25rem;
  writing-mode: vertical-rl;
}
.sec-history__ttl span {
  display: block;
  font-size: 6rem;
  font-family: var(--font-NotoSerif);
  font-weight: normal;
  letter-spacing: 1px;
}
.sec-history__ttl span:nth-child(2) {
  transform: translateY(14rem);
}
.sec-history__main {
  background: linear-gradient(to bottom, #fff 0 16rem, #e8eee7 16rem 100%);
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.sec-history__img {
  position: relative;
  width: 63.7%;
  margin-right: -20.7%;
  padding-bottom: 12rem;
  min-height: 84rem;
  z-index: 1;
}
.sec-history__img img {
  width: 100%;
}
.sec-history__txt {
  position: relative;
  width: 57%;
  background: #fff;
  border-radius: 1rem 0 0 0;
  display: flex;
  justify-content: flex-start;
  z-index: 2;
}
.sec-history__txt .inner-txt {
  width: 66rem;
  padding: 5rem 0 6rem 6rem;
  box-sizing: border-box;
  max-width: 100%;
}
@media only screen and (max-width: 767px) {
  .sec-history {
    padding-top: 0;
  }
  .sec-history__ttl {
    position: relative;
    top: 0;
    right: 0;
    writing-mode: unset;
    padding-left: 1.2rem;
    margin-bottom: 2rem;
  }
  .sec-history__ttl span {
    font-size: 3.6rem;
  }
  .sec-history__ttl span:nth-child(2) {
    transform: translateY(0rem);
  }
  .sec-history__main {
    background: linear-gradient(to bottom, #fff 0 5.4rem, #e8eee7 5.4rem 100%);
    flex-wrap: wrap;
  }
  .sec-history__img {
    width: 100%;
    margin-right: 0;
    padding-bottom: 3rem;
    min-height: auto;
  }
  .sec-history__txt {
    width: 100%;
    margin-left: 1.2rem;
  }
  .sec-history__txt .inner-txt {
    width: 100%;
    padding: 2rem 1.2rem 3rem 1.2rem;
  }
}

/*---------- START sec-recruit__main ----------*/
.sec-recruit__main {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.sec-recruit__img {
  width: 42%;
}
.sec-recruit__img img {
  width: 100%;
}
.sec-recruit__txt {
  width: 54%;
}
.sec-recruit__txt .img-pc {
  margin-top: 8rem;
}
@media only screen and (max-width: 767px) {
  .sec-recruit__main {
    gap: 2rem;
  }
  .sec-recruit__img {
    width: 100%;
    margin-top: 2rem;
  }
  .sec-recruit__txt {
    width: 100%;
  }
  .sec-recruit__txt .img-pc {
    margin-top: 2rem;
  }
}