.top__mv {
  height: calc(100vh - 140px);
  overflow: hidden;
  position: relative;
}

.top__mv__slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.mv__slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  object-fit: cover;
}

.mv__slider-image:first-child {
  width: auto;
  height: 102%;
  object-position: 50%;
}

.mv__slider-image:nth-child(2) {
  width: auto;
  height: 120%;
  object-position: 52% -50px;
}

.mv__slider-image:last-child {
  width: auto;
  height: 125%;
  object-position: 43% -48px;
}

.mv__slider-image.active {
  opacity: 1;
}

.top__mv .top__mv__img {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: calc(100% + 50px);
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
}

.top__mv .top__mv__txt {
  position: absolute;
  top: 19%;
  right: 7.5%;
}

.top__mv .top__mv__txt01 {
  width: 62vw;
  aspect-ratio: 640 / 156;
  min-width: 232px;
  max-width: 430px;
  /* display: none; */
}

.top__mv .top__mv__txt01 img {
  width: 100%;
}

.top__mv .top__mv__txt02__wrap {
  font-family: "Cookie", cursive;
  margin-top: 10px;
  font-size: min(36.8px, max(20px, 5.3vw));
  color: #fff;
  width: 54vw;
  max-width: 375px;
  min-width: 202px;
  margin-left: auto;
}

.top__mv .top__mv__txt02__wrap .top__mv__txt02 {
  /* animation: typing 2s steps(23) forwards, effect 0.5s step-end 5 alternate; */
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  border-color: transparent;
  height: min(40px, max(24px, 6.4vw));
  width: fit-content;
  margin-right: auto;
}

.top__mv .top__mv__txt02__wrap .top__mv__txt02__wrap02 {
  bottom: -200%;
  width: 100%;
}

.top__mv .top__mv__txt02__wrap .top__mv__txt02__wrap02 .top__mv__txt02 {
  animation-delay: 2s;
  height: 9vw;
}

.no-post {
  text-align: center;
}

@keyframes typing {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

@keyframes effect {
  0% {
    border-right: 2px solid;
  }

  50% {
    border-color: transparent;
  }
}

.content__wrapper {
  position: relative;
}

.top__ttl__line {
  margin: 8px 0;
  height: 1px;
  background-color: #8d8d8d;
  border: none;
}

.common__btn-pc {
  display: none;
}

.content01 h2 {
  font-size: 16px;
  line-height: 24px;
}

.content01 h3 {
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 16px;
}

.content02 {
  padding: 30px 27px 236px;
  margin: 0 -27px;
  background-image: url(../img/top/top__mv-pc.webp);
  background-size: auto 130%;
  background-position: center 30%;
  position: relative;
}

.content02 * {
  position: relative;
  z-index: 2;
  font-family: "Noto Sans JP", sans-serif;
  color: #2ea378;
}

.content02::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 90px));
  background-color: rgba(256, 256, 256, 0.8);
  z-index: 1;
  height: 320px;
}

.content02 h2 {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

.content02 img {
  display: block;
  margin: 20px auto 0;
  width: 100%;
  max-width: 480px;
}

.content02 p {
  display: block;
  line-height: 24px;
  width: fit-content;
  margin: 8px auto 0;
}

.content02 a,
.sekoujisseki a,
.content04 a {
  font-family: "Noto Sans JP", sans-serif;
  margin: 16px auto 0;
  display: block;
  width: 67.2vw;
  height: 49px;
  max-width: 252px;
  background-color: #2ea378;
  color: white;
  font-size: 20px;
  font-weight: 900;
  line-height: 49px;
  text-align: center;
  border-radius: 8px;
  transition: background-color 0.3s ease-out;
}

.content02 a:hover,
.sekoujisseki a:hover,
.content04 a:hover {
  background-color: #37b486;
}

.top__content .top__content__img {
  margin: 0 -20px;
}

.top__content .top__content__img img {
  width: 100%;
}

.top__content .content__txtarea {
  padding-bottom: 60px;
  max-width: 320px;
  margin: 0 auto;
}

.top__content .content__txtarea .content__txt {
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

.top__content .common__btn-sp {
  margin-top: 40px;
}

.content01 .sign {
  width: fit-content;
  margin: 24px 0 0 auto;
}

.content01 .sign span {
  font-weight: 900;
}

.content01 .sign span:first-child {
  font-size: 14px;
  margin-right: 8px;
}

.content01 .sign span:last-child {
  font-size: 20px;
}

.content03,
.sekoujisseki {
  padding-top: 60px;
}

.content03 h2,
.sekoujisseki h2 {
  text-align: center;
}

.content03 h4,
.sekoujisseki h4 {
  text-align: center;
}

.content03 h4 {
  border-bottom: #151515 dotted 1px;
  padding-bottom: 20px;
}

.content03 .content__txt {
  font-family: "Roboto", sans-serif;
  text-align: center;
}

.content03__list {
  position: relative;
  margin: 25px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.content03__list li {
  position: relative;
  width: 85.33vw;
  max-width: 320px;
}

.content03__list__txt {
  font-family: "Oswald", sans-serif;
  width: fit-content;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  aspect-ratio: 32 / 21;
  width: 100%;
  max-width: 320px;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.content03__list__txt::after {
  position: relative;
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  text-align: center;
  color: white;
  font-size: 16px;
}

.content03__list li:first-child .content03__list__txt {
  background-image: url(../img/top/content03__list__img01.webp);
}

.content03__list li:nth-child(2) .content03__list__txt {
  background-image: url(../img/top/content03__list__img02.webp);
}

.content03__list li:nth-child(3) .content03__list__txt {
  background-image: url(../img/top/content03__list__img03.webp);
}

.content03__list li:last-child .content03__list__txt {
  background-image: url(../img/top/content03__list__img04.webp);
}

.content03__list li:first-child .content03__list__txt::after {
  content: "建築工事";
}

.content03__list li:nth-child(2) .content03__list__txt::after {
  content: "土木工事";
}

.content03__list li:nth-child(3) .content03__list__txt::after {
  content: "運送";
}

.content03__list li:last-child .content03__list__txt::after {
  content: "アグリ事業";
}

.content03 > p,
.content04 > p,
.sekoujisseki > p {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  line-height: 20px;
  margin-top: 10px;
  font-family: "Noto Sans JP", sans-serif;
}

.content03 li p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  color: black;
  margin-top: 8px;
}

.content_title * {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: #2ea378;
  text-align: center;
}

.content_title h2 {
  font-family: "Oswald", sans-serif;
  font-size: 40px;
}

.content_title hr {
  background-color: #8d8d8d;
  border: none;
  width: 60px;
  height: 1px;
  margin: 10px auto 0;
}

.content_title span {
  display: block;
  font-size: 20px;
  margin-top: 10px;
}

.content04 a {
  text-shadow: none;
}

.content__fix {
  padding-top: 500px;
}

.sekoujisseki__slider__wrap {
  margin-top: 24px;
  margin-left: 27px;
}

.sekoujisseki__slider-item {
  max-width: 300px;
  width: 80vw;
  margin: 0 10px;
}

.sekoujisseki__slider__txt {
  line-height: 2;
}

.content__wrapper {
  padding-top: 60px;
}

.content04 {
  position: relative;
  background-image: url(../img/top/recruit.webp);
  background-size: auto 110%;
  background-position: 27% 0px;
  padding: 20px 27px;
  margin: 16px -27px 0;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.content04 * {
  position: relative;
  z-index: 3;
}

.content04::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  background-color: rgba(256, 256, 256, 0.7);
}

.content04::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 56px);
  height: calc(100% - 40px);
  background-image: url(../img/top/recruit.webp);
  background-size: auto 117%;
  background-position: 28% -40px;
  z-index: 2;
}

.content04 h2 {
  text-align: center;
}

.content04 h4 {
  border-bottom: #151515 dotted 1px;
  padding-bottom: 20px;
  text-align: center;
}

.content04 .content__txt {
  font-family: "Noto Sans JP";
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  text-shadow: 0px 0px 6px #000;
  width: fit-content;
  margin: 0 auto;
}

.content04 a {
  width: 83.2vw;
  max-width: 312px;
  margin-bottom: 20px;
}

@media (max-width: 330px) {
  .content02 br,
  .content03 br {
    display: none;
  }
}

@media (max-width: 370px) {
  .content04 a {
    width: 75vw;
  }

  .content04 .content__txt {
    padding: 0 10px;
    font-size: 14px;
  }
}

@media (max-width: 767px) and (max-height: 515px) {
  .top__mv .top__mv__img {
    background-size: 120% auto;
  }
}

@media (min-width: 768px) {
  .top__mv {
    margin-top: 80px;
    padding-top: 0px;
    overflow: hidden;
    position: relative;
    height: calc(100vh - 80px);
  }

  .mv__slider-image:first-child,
  .mv__slider-image:nth-child(2),
  .mv__slider-image:last-child {
    width: 100%;
    height: 100%;
    object-position: center;
  }

  .top__mv .top__mv__img img {
    position: static;
    top: 0%;
    left: 0%;
    right: 0;
    width: 100%;
    height: auto;
    min-width: auto;
    min-height: auto;
    max-width: none;
    object-fit: cover;
    transform: translateY(0%) translateX(0%);
  }

  .top__mv .top__mv__txt {
    position: absolute;
    top: 16.6%;
    left: calc(50% + 148px);
    transform: translateX(-50%);
    right: auto;
  }

  .content03 > p,
  .content04 > p,
  .sekoujisseki > p {
    margin-top: 40px;
    line-height: 32px;
  }

  @media (max-width: 1000px) {
    .top__mv .top__mv__txt {
      left: calc(50% + 120px);
    }
  }

  .top__mv .top__mv__txt01 {
    max-width: 640px;
    /* display: none; */
  }

  .top__mv .top__mv__txt02__wrap {
    margin-top: 15px;
    font-size: max(32px, min(48px, 4.64vw));
    max-width: 487px;
    min-width: 326px;
    width: 47.1vw;
  }

  .top__mv .top__mv__txt02__wrap .top__mv__txt02 {
    /* animation: typing 2s steps(23) forwards, effect 0.5s step-end 5 alternate; */
    height: max(34px, min(52px, 5vw));
  }

  .top__mv .top__mv__txt02__wrap .top__mv__txt02__wrap02 {
    bottom: -200%;
    width: 100%;
    left: -164%;
  }

  .top__mv .top__mv__txt02__wrap .top__mv__txt02__wrap02 .top__mv__txt02 {
    animation-delay: 2s;
    height: 3.1vw;
  }

  .content__wrapper {
    position: relative;
    z-index: 1;
    padding: 160px 100px 0;
    max-width: 1420px;
    box-sizing: content-box;
  }

  .content01 h2 {
    font-size: 24px;
    line-height: 35px;
  }

  .top__ttl__line {
    margin: 20px 0 0;
    height: 1px;
    background-color: #8d8d8d;
    border: none;
  }

  .content01 h3 {
    font-size: 40px;
    line-height: 58px;
    margin-top: 60px;
    margin-bottom: 40px;
  }

  .top__content .content__txtarea .content__txt {
    font-size: 20px;
    font-weight: 700;
    line-height: 36px;
  }

  .content01 .sign {
    margin: 40px 0 0 auto;
  }

  .content01 .sign span:first-child {
    font-size: 20px;
    margin-right: 20px;
  }

  .content01 .sign span:last-child {
    font-size: 32px;
  }

  .common__btn-pc {
    display: none;
  }

  .content01 {
    margin-top: 160px;
    flex-direction: row-reverse;
    align-self: center;
  }

  .content01 .top__content__img {
    margin-top: 120px;
  }

  .content01 .content__txtarea {
    /* margin-right: 9.5%;
    margin-right: 5.1%; */
  }

  h4 {
    margin-top: 40px;
    margin-bottom: 20px;
  }

  body .content02 {
    margin-top: 100px;
    padding: 116px 0 115px min(120px, max(6.25vw, 50px));
  }

  .content02 {
    background-size: 100% auto;
    background-position: center 58%;
    height: 520px;
  }

  .content02::after {
    height: 100%;
    width: 77%;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
    isolation: isolate;
  }

  .content02 h2 {
    text-align: left;
  }

  .content02 p {
    font-size: 20px;
    margin-top: 20px;
    line-height: 36px;
    margin-left: 0;
    mix-blend-mode: multiply;
  }

  .content02 img {
    margin-left: 0;
  }

  .content02 a {
    margin: 40px auto 0 0;
  }

  body .content02 .content__txtarea {
    margin-left: 9.5%;
  }

  .top__content {
    margin: 0 auto;
  }

  .top__content .top__content__img {
    margin: 0;
    width: 41%;
  }

  .top__content .content__txtarea {
    max-width: none;
  }

  .top__content .content__txtarea h4 {
    text-align: left;
  }

  .top__content .common__btn-sp {
    display: none;
  }

  .top__content .common__btn-pc {
    display: block;
    margin-top: 69px;
    margin-left: 0;
  }

  .content03 {
    padding-top: 160px;
  }

  .content_title h2 {
    font-size: 80px;
  }

  .content_title hr {
    width: 400px;
    margin: 20px auto 0;
  }

  .content_title span {
    font-size: 24px;
    margin-top: 20px;
    color: black;
  }

  .content03 .content__txt {
    text-align: center;
    margin-top: 14px;
  }

  .content03__list {
    column-gap: 24px;
    row-gap: 60px;
    margin-top: 60px;
  }

  .content03__list li {
    width: 36.4vw;
    aspect-ratio: 698 / 459;
    min-width: 320px;
    max-width: 698px;
  }

  .content03__list__txt {
    font-size: min(64px, max(3.33vw, 32px));
    width: 36.4vw;
    aspect-ratio: 698 / 459;
    flex-grow: 1;
    min-width: 320px;
    max-width: 698px;
  }

  .content03 li p {
    font-size: 16px;
    line-height: 32px;
    min-width: 320px;
    max-width: 698px;
    width: 36.4vw;
    display: block;
  }

  .content03 li p::before {
    display: block;
    font-size: min(36px, max(1.9vw, 24px));
    font-weight: 700;
    line-height: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: "Noto Sans JP", sans-serif;
  }

  .content03 li:first-child p::before {
    content: "建築工事";
  }

  .content03 li:nth-child(2) p::before {
    content: "土木工事";
  }

  .content03 li:nth-child(3) p::before {
    content: "運送";
  }

  .content03 li:last-child p::before {
    content: "アグリ事業";
  }
  .content03__list__txt::after {
    display: none;
  }

  .sekoujisseki {
    padding-top: 160px;
  }

  @media (max-width: 1312px) {
    .content03 br {
      display: none;
    }

    .content03 a p {
      white-space: wrap;
    }
  }

  .content__fix {
    padding-top: 550px;
    position: relative;
  }

  .sekoujisseki {
    margin-left: 0;
  }

  .sekoujisseki__slider__wrap {
    margin-bottom: 40px;
    margin-top: 80px;
    margin-left: 0;
  }

  .sekoujisseki__slider-item {
    max-width: 528px;
    min-width: 300px;
    width: 27.5vw;
    margin: 0 12px;
  }

  .sekoujisseki__slider__txt {
    line-height: 2;
  }

  .content__fix .common__bg {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: -1;
  }

  .content04 {
    margin: 40px auto 160px;
    height: 460px;
    padding: 109px 0 88px;
    background-size: 100% auto;
    background-position: center -240px;
  }

  .content04 h2 {
    text-align: center;
  }

  @media (min-width: 1000px) {
    .content04::after {
      width: max(calc(100% - 17.7vw), calc(100% - 100px));
      max-width: 1080px;
      height: calc(100% - 40px);
      background-size: 100% auto;
      background-position: center -150px;
    }

    .content04 .content__txt {
      max-width: 344px;
      font-size: 20px;
      line-height: 36px;
      position: absolute;
      left: calc(50% + 184px);
      top: 50%;
      transform: translate(-50%, -50%);
    }

    .content04 a {
      margin-top: 20px;
      margin-left: 0;
    }
  }

  @media (max-width: 1396px) {
    .content04::after {
      background-position: 20% center;
    }
  }

  @media (max-width: 1252px) {
    .content04 {
      background-position: center;
    }
  }

  @media (max-width: 999px) {
    .content04 br {
      display: block;
    }
  }

  @media (max-width: 900px) {
    .content04 {
      background-position: center -100px;
    }
  }
}

/*# sourceMappingURL=top.css.map */
