@charset "utf-8";

/* -----------header---------- */
.header #nav li a[href*='/works/'] {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 5px;
  text-decoration-color: var(--main);
}

/* -------------------main-------------------------- */
/* --------------sub_mv------------- */
.sub_mv {
  background: url(../img/business/sub_mv.jpg) no-repeat center/cover;
}

/* --------------works------------- */

.sub_mv h1 .en {
  font-size: 71px;
}

.sub_mv h1 {
  margin-bottom: 55px;
}
@media screen and (max-width: 750px) {
  .sub_mv h1 {
    margin-bottom: calc((100 / 750) * 56 * 1vw);
  }
}
.works {
  padding: 120px 0 calc(136px + 98px);
}

.works .catch {
  margin-bottom: 56px;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.7em;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 16px;
  text-decoration-thickness: 6px;
  text-decoration-color: var(--main);
}

.works .lead {
  margin-bottom: 136px;
  line-height: 2.4em;
  letter-spacing: 0.03em;
  text-align: center;
  font-size: 21px;
}

.works .flex {
  display: flex;
  margin-bottom: 80px;
  justify-content: space-between;
}

.works .flex > div {
  width: 542px;
}

.works .flex .photo {
  width: 542px;
  aspect-ratio: 542/332;
}

.works h2 {
  margin-top: 40px;
  margin-bottom: 24px;
  padding: 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
  background-color: var(--main);
  color: white;
  text-align: center;
}
.works h3 {
  margin-bottom: 16px;
  padding-top: 24px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.works .toilet-delivery h3 {
  padding-top: 0;
  color: var(--main);
}
.works .toilet-delivery {
  border: 2px solid var(--main);
  padding: 20px;
  margin-block: 64px;
  background-color: #f9f9f9;
  border-radius: 8px;
}
.works .toilet .photos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.works .toilet .photo img {
  width: 380px;
  height: 287px;
}
.works .toilet .photo {
  width: calc((100% - 32px) / 3);
}
.works .toilet .photo p {
  line-height: 1.6em;
}

.works .pdf_link {
  color: var(--text-link);
  text-decoration: underline;
}

.works .toilet > .pdf_link {
  display: inline-block;
  margin-top: 16px;
}

.works .btn_1 {
  margin: 56px 0 0 auto;
}

@media screen and (max-width: 750px) {
  /* -------------------main-------------------------- */
  /* --------------sub_mv------------- */
  .sub_mv {
    background: url(../img/business/sub_mv_sp.jpg) no-repeat center/cover;
  }

  /* --------------works------------- */
  .sub_mv h1 .en {
    margin-bottom: calc((100 / 750) * 16 * 1vw);
    font-size: calc((100 / 750) * 48 * 1vw);
  }

  .works {
    padding: calc((100 / 750) * 128 * 1vw) 0 calc((100 / 750) * (144 + 98) * 1vw);
  }
  .works .catch {
    margin-bottom: calc((100 / 750) * 56 * 1vw);
    text-align: start;
    font-size: calc((100 / 750) * 48 * 1vw);
    text-underline-offset: calc((100 / 750) * 16 * 1vw);
    text-decoration-thickness: calc((100 / 750) * 8 * 1vw);
  }

  .works .lead {
    margin-bottom: calc((100 / 750) * 144 * 1vw);
    font-size: calc((100 / 750) * 32 * 1vw);
    text-align: start;
  }
  .works .flex {
    display: block;
    margin-bottom: 0;
  }

  .works .flex > div {
    width: 100%;
    margin-bottom: calc((100 / 750) * 88 * 1vw);
  }

  .works .flex .photo {
    width: 100%;
    aspect-ratio: 670/380;
  }
  .works h2 {
    margin-top: calc((100 / 750) * 64 * 1vw);
    margin-bottom: calc((100 / 750) * 24 * 1vw);
    padding: calc((100 / 750) * 12 * 1vw);
    font-size: calc((100 / 750) * 40 * 1vw);
  }
  .works h3 {
    margin-bottom: calc((100 / 750) * 16 * 1vw);
    padding-top: calc((100 / 750) * 24 * 1vw);
    font-size: calc((100 / 750) * 38 * 1vw);
  }
  .works .toilet .photo img {
    width: calc((100 / 750) * 670 * 1vw);
    height: calc((100 / 750) * 519 * 1vw);
  }
  .works .toilet .photos {
    gap: calc((100 / 750) * 56 * 1vw);
    flex-direction: column;
  }

  .works .toilet .photo {
    width: calc((100 / 750) * 670 * 1vw);
  }

  .works .toilet > .pdf_link {
    margin-top: calc((100 / 750) * 24 * 1vw);
  }

  .works .btn_1 {
    margin: calc((100 / 750) * 72 * 1vw) 0 0 auto;
  }
  .works .toilet-delivery {
    border: 2px solid var(--main);
    padding: 4vw;
    margin-block: 4vw;
    background-color: #f9f9f9;
    border-radius: calc((100 / 750) * 16 * 1vw);
  }
  .sub_mv h1 .en {
    text-underline-offset: calc((100 / 750) * 11 * 1vw);
  }
}
