@charset "UTF-8";

/* ==========================================================================
  Environment Page style
============================================================================= */
:root {
  --font1: "Zen Kaku Gothic Antique", sans-serif;
  --font2: "Shippori Mincho", serif;
  --font3: "Lato", sans-serif;
  --color-base: #222;
  --color-green: #afff27;
}

.p-pages .c-page-title__hdg::before {
  background-size: contain;
  left: -1.8em;
  height: 62px;
  width: 413px;
}

/* Common Style Overwrite =========================== */
.c-media__cont {
  align-items: center;
  border-block-end: 0;
  color: #FFF;
  padding-block-end: 0;
}

.c-media__body .ttl {
  font-family: var(--font2);
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 1.4px;
  margin-block-end: 40px;
}

.c-media__body .txt {
  line-height: 2;
  letter-spacing: 0.7px;
}

.c-media__img img {
  border-radius: 3px;
}

@media screen and (min-width: 768px) {
  .c-media__cont {
    gap: 60px;
  }

  .c-media__body {
    flex-basis: calc(100% - 330px - 60px);
  }

  .c-media__img {
    flex-basis: 330px;
  }
}

@media screen and (max-width: 767.98px) {
  .p-pages .c-page__head {
    padding-block-end: 0;
  }
  
  .p-pages .c-page-title__hdg::before {
    left: -30px;
    bottom: -15px;
    height: 40px;
    width: 240px;
  }
}

/* Section ========================================== */
.p-section {
  padding-block: 150px;
}

.p-section.p-system {
  padding-block-start: 0;
}

.c-section__head {
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  gap: min(5.556vw, 80px);
}

.c-section__head .lead {
  line-height: 1;
  margin-block-end: 36px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 16px;
}

.c-bg__gray .c-section__head .lead {
  text-decoration-color: #888;
}

@media screen and (max-width: 767.98px) {
  .p-section {
    padding-block: 80px;
  }

  .p-section.p-system {
    padding-block-start: 60px;
  }

  .c-section__head {
    flex-direction: column;
  }

  .c-section__head .lead {
    line-height: 2.8;
  }
}

/* Environment section ============================== */
.c-env__box {
  background-color: #fff;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block-start: calc(80px + min(2.4306vw, 35px));
  padding: 80px min(4.0278vw, 58px) 60px;
  position: relative;
}

.c-bg__gray .c-env__box {
  background-color: rgba(255, 255, 255, 0.10);
}

.c-env__title {
  background-color: transparent;
  color: transparent;
  font-family: var(--font2);
  font-size: clamp(2rem, 1.944vw, 2.8rem);
  line-height: 1.6;
  font-weight: 400;
  left: 0;
  letter-spacing: 1.4px;
  margin-block-end: max(-2.4306vw,-35px);
  padding: 12px 16px;
  position: absolute;
  top: max(-2.4306vw,-35px);
  transition: color 0.4s ease 0.5s;
  width: fit-content;
  z-index: 1;
}

.c-env__title.is-active {
  color: inherit;
}

.c-env__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
  z-index: -1;
}

.c-env__title.is-active::before {
  transform: scaleX(1);
}

.c-bg__gray .c-env__title.is-active {
  color: var(--color-base);
}

.c-env__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  justify-content: space-between;
}

.c-env__item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.c-env__item + .c-env__item::before {
  background-color: #D5D5D5;
  content: "";
  height: 100%;
  position: absolute;
  left: 0;
  width: 1px;
}

.c-env__item .ico {
  margin: 0 auto 25px;
  max-width: 80px;
}

.c-env__item .ttl {
  font-family: var(--font2);
  font-size: clamp(2rem, 1.944vw, 2.8rem);
  line-height: 1.6;
  letter-spacing: 1.4px;
  margin-block-end: 40px;
  text-align: center;
}

.c-env__item .txt {
  line-height: 2;
}


@media screen and (min-width: 768px) {
  .c-env__list.col-3 {
    gap: min(8.125vw, 117px);
  }

  .c-env__list.col-3 .c-env__item::before {
    left: max(-4.0625vw, -58px);
  }

  .c-env__list.col-2 {
    gap: min(11.3889vw, 164px)
  }

  .c-env__list.col-2 .c-env__item::before {
    left: max(-5.69445vw, -82px);
  }
}

@media screen and (max-width: 767.98px) {
  .c-env__list {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .c-env__item + .c-env__item::before {
    top: -40px;
    height: 1px;
    width: 100%;
  }

  .c-env__box {
    /* border: solid 1px rgba(213, 213, 213, .6); */
    margin-block-start: 80px;
    padding-block: 90px 40px;
  }

  .c-env__item + .c-env__item::before {
    background: rgba(213, 213, 213, .6);
  }

  .c-env__title {
    font-size: 2.2rem;
    top: -36px;
  }

  .c-env__item .ico {
    margin: 0 auto 20px;
    max-width: 60px;
  }

  .c-env__item .ttl {
    margin-block-end: 30px;
  }
}

.p-benefits {
  padding-block-end: 0;
}

@media screen and (max-width: 767.98px) {
  .p-benefits .c-env__box {
    margin-block-start: 30px;
    padding-block: 56px;
  }
}

/* Recruit Section =========================== */
.p-recruit {
  background: url(../img_r2/environment/recruit_bg.webp) no-repeat center / 88.75% auto;
  padding-block: 150px 120px;
}

.p-recruit .l-container {
  border-block-start: solid 1px #DDD;
  padding-block-start: 110px;
}

.c-recruit__hdg {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.c-recruit__hdg .en {
  font-family: var(--font3);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.7px;
}

.c-recruit__hdg .hdg {
  font-family: var(--font2);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 1.6px;
}

.p-recruit .txt {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.8px;
  margin-block-start: 60px;
}

@media screen and (max-width: 767.98px) {
  .p-recruit {
    background-size: 130% auto;
    padding-block: 80px 100px;
  }

  .c-recruit__hdg .hdg {
    font-size: 2.8rem;
  }

  .p-recruit .txt {
    font-size: 1.4rem;
    margin-block-start: 40px;
  }
}