body {
  color: var(--colorBlack);
  font-weight: 400;
}

/* ページ内共通 */
.flexContent {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  padding-top: 2.2rem;
}
.flexContent.float {
  display: block;
}

.flexContent__img {
  flex: 0 1 42.308%;
  border-radius: 30px 30px 0 30px;
  overflow: hidden;
}
.flexContent.float .flexContent__img {
  float: left;
  margin-right: 4rem;
  margin-bottom: 2rem;
  width: 42.308%;
}

.flexContent__img img {
  width: 100%;
}

.flexContent__details {
  flex: 1;
}

.flexContent__title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.81818;
  font-family: var(--familyZenMaruGothic);
  margin-top: 1.5rem;
}

.flexContent__text {
  font-size: 1.8rem;
  line-height: 1.833;
  letter-spacing: 0.54px;
  font-weight: 400;
  margin-top: 1.6rem;
  font-feature-settings:
    "fwid" on,
    "halt" on,
    "pwid" on;
}

.flexContent__text-2 {
  margin-top: 3.6rem;
  font-feature-settings:
    "fwid" on,
    "halt" on,
    "pwid" on;
}

.simpleButton {
  padding-right: 3rem;
  min-width: unset;
}

@media screen and (max-width: 767px) {
  .flexContent {
    display: block;
    padding-top: 0.3rem;
  }

  .flexContent__img {
    border-radius: 20px 20px 0 20px;
  }

  .flexContent.float .flexContent__img {
    float: none;
    margin-right: 0;
    margin-bottom: 0;
    width: 100%;
  }

  .flexContent__title {
    line-height: 1.54545;
    margin-top: 2.8rem;
  }

  .flexContent__text {
    font-size: 1.6rem;
    line-height: 1.75;
    margin-top: 0.5rem;
    font-feature-settings: unset;
  }

  .simpleButton {
    min-width: 31.2rem;
  }
}

.disabled__lead {
  max-width: 64rem;
  margin: 3rem auto 0;
  text-align: center;
  line-height: 2.125;
  letter-spacing: 0.54px;
  font-feature-settings:
    "fwid" on,
    "halt" on,
    "pwid" on;
}
@media screen and (max-width: 767px) {
  .disabled__lead {
    text-align: left;
    margin-top: 2.2rem;
    max-width: unset;
    line-height: 1.75;
  }
}

#group-companies {
  margin-top: 5rem;

  @media screen and (max-width: 767px) {
    margin-top: 1.5rem;
  }
}

#workplace {
  margin-top: 5.5rem;
  position: relative;

  @media screen and (max-width: 767px) {
    margin-top: 3rem;

    &::before {
      content: "";
      background: url(../../images/common/img_bg_right-tree.webp) no-repeat center center / contain;
      width: 16rem;
      height: 38rem;
      position: absolute;
      bottom: -2rem;
      right: 0;
      z-index: -1;
      opacity: 0.5;
    }
  }
}

#farm {
  margin-top: 1rem;

  @media screen and (max-width: 767px) {
    margin-top: 6.1rem;
  }
}

#office {
  margin-top: 3rem;

  .simpleButton__wrapper {
    text-align: center;
    margin-top: 7.2rem;
  }
  @media screen and (max-width: 767px) {
    margin-top: 5rem;
    .simpleButton__wrapper {
      text-align: center;
      margin-top: 2.8rem;
    }
  }
}

@media screen and (max-width: 767px) {
  .pageContents .leaf-1 {
    top: 44.9rem;
  }
}
