/* --------------------------------------------------
   RESET & BASE
-------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main {
  margin-top: 80px;
}

.sub-fv {
  width: 100%;
  height: 350px;
  background: url('../images/works/work-fv-img.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.work-item {
  padding-block: 75px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.work-item-title {
  display: flex;
  justify-content: space-between;
}

.title-jp {
  font-size: 32px;
  font-weight: 800;
  color: #333333;
  padding: 15px 50px;
  border: solid 1px #333333;
  width: fit-content;
}

.work-item-content {
  padding-block: 15px;
  display: flex;
  gap: 30px;
  align-items: center;
}

.title-en {
  font-size: 48px;
  font-family: "Fugaz One";
  color: #00425D;
}

.main-container {
  margin: 0 auto;
}

.dump-truck {
  width: 500px
}

.dump-truck img {
  width: 100%;
  height: 450px;
  max-width: 600px;
  min-width: 500px;
  object-fit: cover;
}

.work-item-txt {
  font-size: 20px;
  line-height: 1.5;
}

.work-item-card-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.work-item-card div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: -webkit-fill-available;
}

.work-item-card {
  width: 350px;
  padding: 30px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border: solid 1px #333333;
  height: fit-content;
}

.work-item-card h3 {
  font-size: 26px;
  color: #FFA600;
  font-weight: 800;
}

.work-item-card p {
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
  color: #333333;
}

.future {
  padding-block: 50px;
  gap: 50px;
  height: 500px;
  background-color: #6CD3FF;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.future-explain {
  padding: 20px;
  font-size: 24px;
  font-weight: 700;
  color: #00425D;
  background-color: #ffffff;
}

.future-cotainer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 50px;
  z-index: 2;
}

.truck-mark {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  object-fit: cover;
  width: 100%;
}

@media(max-width: 1280px) {
  .work-item {
    padding-inline: 20px;
  }

  .future {
    padding-inline: 20px;
  }
}

@media(max-width: 925px) {
  .work-item {
    padding-inline: 20px;
  }

  .work-item-title {
    flex-direction: column;
    gap: 10px;
  }

  .work-item-content {
    flex-direction: column;
  }

  .dump-truck img {
    display: none;
  }

  .dump-truck {
    width: 100%;
    background: url('../images/works/dump-truck.jpg');
    height: 300px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
}

@media(max-width: 640px) {
  .work-item-card {
    width: auto;
  }

  .work-item-card p {
    font-size: 18px;
  }

  .work-item-card h3 {
    font-size: 24px;
  }

  .work-item-txt {
    font-size: 18px;
  }

  .work-item {
    gap: 30px;
  }

  header {
    padding-inline: 20px;
  }
}

@media(max-width: 440px) {
  .work-item {
    padding-inline: 10px;
  }

  .title-jp {
    width: 100%;
    text-align: center;
  }

  .title-en {
    font-size: 32px;
  }

  .work-item {
    padding-block: 30px;
  }

  .future {
    padding-inline: 10px;
  }

  .future-explain {
    font-size: 22px;
    padding: 15px;
  }

  header {
    padding-inline: 10px;
  }
}