@charset "utf-8";

/* -----------header---------- */
.header #nav li a[href*='/business/'] {
  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;
}

/* --------------business------------- */
.bg {
  background-image: url(/assets/img/business/bg.png);
  background-size: 100% auto;
  background-position: top;
  background-repeat: no-repeat;
}

.business {
  padding: 120px 0 calc(136px + 98px);
}

.business .catch {
  margin-bottom: 56px;
  text-align: center;
  font-size: 40px;
  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);
}

.business .lead {
  margin-bottom: 136px;
  line-height: 2.4em;
  letter-spacing: 0.03em;
  text-align: center;
  font-size: 20px;
}

.business ol {
  margin-bottom: 136px;
}

.business li {
  margin-bottom: 144px;
}

.business li:last-child {
  margin-bottom: 0;
}

.business .flex {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.business .flex_re {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-direction: row-reverse;
}

.business .photo {
  width: 664px;
  aspect-ratio: 664/440;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business .texts {
  width: calc(100% - 744px);
  padding-top: 56px;
  position: relative;
}

.business h3 {
  margin-bottom: 40px;
}

.business h3 .en {
  display: block;
  width: fit-content;
  font-size: 120px;
  line-height: 0.69em;
  color: #dcebf5;
  position: absolute;
  top: 0;
  z-index: -1;
}

.business .flex h3 .en {
  right: 0;
}

.business .flex_re h3 .en {
  left: 0;
}

.business h3 .ja {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 16px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.7em;
  letter-spacing: 0.06em;
  background-color: var(--main);
  color: white;
  border-radius: 2px;
}

.business .flex_re h3 .ja {
  margin: 0 0 8px auto;
}

.business .btn_2 {
  margin: 56px 0 0 auto;
}

.business > .text {
  margin-bottom: 64px;
  font-size: 18px;
  line-height: 2.4em;
  letter-spacing: 0.03em;
  text-align: center;
}

.business address {
  display: flex;
  column-gap: 24px;
  justify-content: center;
}

.business .tel {
  margin-bottom: 0;
}

/* --------------works------------- */
.works {
  display: none;
  padding: 120px 0 calc(136px + 98px);
  background-color: var(--bg-gray02);
}

.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 h3 {
  margin-bottom: 16px;
  padding-top: 24px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.works .toilet .photos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.works .toilet .photo {
  width: calc((100% - 32px) / 3);
  aspect-ratio: 369/287;
}

.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;
  }

  /* --------------business------------- */
  .business {
    padding: calc((100 / 750) * 128 * 1vw) 0 calc((100 / 750) * 242 * 1vw);
  }

  .business .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);
  }

  .business .lead {
    margin-bottom: calc((100 / 750) * 144 * 1vw);
    text-align: start;
    font-size: calc((100 / 750) * 32 * 1vw);
  }

  .business ol {
    margin-bottom: calc((100 / 750) * 80 * 1vw);
  }

  .business li {
    margin-bottom: calc((100 / 750) * 144 * 1vw);
  }

  .business .flex {
    display: block;
  }

  .business .flex_re {
    display: block;
  }

  .business .photo {
    width: 100%;
    aspect-ratio: 670/444;
    margin-bottom: calc((100 / 750) * 56 * 1vw);
  }

  .business .texts {
    width: 100%;
    padding-top: 0;
    position: relative;
  }

  .business h3 {
    min-height: calc((100 / 750) * 136 * 1vw);
    margin-bottom: calc((100 / 750) * 24 * 1vw);
  }

  .business h3 .en {
    font-size: calc((100 / 750) * 136 * 1vw);
    line-height: 0.69em;
  }

  .business .flex h3 .en {
    right: 0;
  }

  .business .flex_re h3 .en {
    left: auto;
    right: 0;
  }

  .business h3 .ja {
    margin-bottom: calc((100 / 750) * 4 * 1vw);
    padding: calc((100 / 750) * 4 * 1vw) calc((100 / 750) * 16 * 1vw);
    font-size: calc((100 / 750) * 48 * 1vw);
    border-radius: calc((100 / 750) * 2 * 1vw);
  }

  .business .flex_re h3 .ja {
    margin: 0 auto calc((100 / 750) * 4 * 1vw) 0;
  }

  .business .btn_2 {
    margin: calc((100 / 750) * 72 * 1vw) 0 0 auto;
  }

  .business > .text {
    margin-bottom: calc((100 / 750) * 64 * 1vw);
    padding-top: calc((100 / 750) * 48 * 1vw);
    font-size: calc((100 / 750) * 30 * 1vw);
    text-align: start;
    border-top: calc((100 / 750) * 2 * 1vw) solid var(--main);
  }

  .business address {
    display: block;
  }

  .business .tel {
    margin-bottom: calc((100 / 750) * 24 * 1vw);
  }

  /* --------------works------------- */
  .works {
    padding: calc((100 / 750) * 128 * 1vw) 0 calc((100 / 750) * (144 + 98) * 1vw);
  }

  .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 h3 {
    margin-bottom: calc((100 / 750) * 16 * 1vw);
    padding-top: calc((100 / 750) * 24 * 1vw);
    font-size: calc((100 / 750) * 38 * 1vw);
  }

  .works .toilet .photos {
    gap: calc((100 / 750) * 24 * 1vw);
  }

  .works .toilet .photo {
    width: calc((100% - ((100 / 750) * 24 * 1vw)) / 2);
    aspect-ratio: 323/251;
  }

  .works .toilet > .pdf_link {
    margin-top: calc((100 / 750) * 24 * 1vw);
  }

  .works .btn_1 {
    margin: calc((100 / 750) * 72 * 1vw) 0 0 auto;
  }
}
