﻿.sub.worksGallery .sub__title {
  white-space: nowrap;
}
.sub.worksGallery .worksGallery__title--jp {
  font-size: 36px;
  font-weight: 600;
  line-height: normal;
  position: relative;
  padding-bottom: 20px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .sub.worksGallery .worksGallery__title--jp {
    padding-bottom: 15px;
    font-size: 24px;
  }
}
.sub.worksGallery .worksGallery__title--jp::after {
  background: #0e7c8f;
  content: "";
  width: 64px;
  height: 4px;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  bottom: 0;
}
@media screen and (max-width: 768px) {
  .sub.worksGallery .worksGallery__title--jp::after {
    height: 3px;
  }
}
.sub.worksGallery .section__repair {
  overflow: hidden;
  padding-bottom: 50px;
}
.sub.worksGallery .section__repair .section__inner {
  max-width: calc(1180px + min(6.9444444444vw, 100px) * 2);
}
.sub.worksGallery .repair__description {
  margin-top: 40px;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.32;
}
@media screen and (max-width: 768px) {
  .sub.worksGallery .repair__description {
    margin-top: 30px;
    font-size: 16px;
  }
}
.sub.worksGallery .tab-navigation {
  margin-top: 155px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 90px;
}
@media screen and (max-width: 768px) {
  .sub.worksGallery .tab-navigation {
    margin-top: 70px;
    gap: 30px;
  }
}
.sub.worksGallery .tab-button {
  width: 422px;
  height: 102px;
  font-size: 22px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.17em;
  border-radius: 21px 21px 0px 0px;
  color: #fff;
  text-align: center;
  position: relative;
  padding-top: 23px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}
.sub.worksGallery .tab-button:hover {
  opacity: 0.8;
}
.sub.worksGallery .tab-button::after {
  background: url("../image/img-tab-button-bg-pc.png") no-repeat center center/cover;
  content: "";
  top: 0;
  position: absolute;
  width: 422px;
  height: 102px;
  z-index: -1;
}
@media screen and (max-width: 768px) {
  .sub.worksGallery .tab-button::after {
    background: url("../image/img-tab-button-bg-sp.png") no-repeat center center/cover;
    top: -17px;
    width: 143px;
    height: 105px;
  }
}
@media screen and (max-width: 768px) {
  .sub.worksGallery .tab-button {
    padding: 5px 0;
    width: 115px;
    height: 88px;
    font-size: 15px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.sub.worksGallery .tab-button svg {
  margin-right: 20px;
  max-width: 40px;
}
@media screen and (max-width: 768px) {
  .sub.worksGallery .tab-button svg {
    max-width: 35px;
    margin: auto;
  }
}
.sub.worksGallery .tab-button svg path {
  fill: #fff;
}
.sub.worksGallery .tab-button.active {
  position: relative;
  color: #0e7c8f;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.sub.worksGallery .tab-button.active::after {
  background: url("../image/img-tab-button-bg-active-pc.png") no-repeat center center/cover;
  content: "";
  position: absolute;
  width: 422px;
  height: 102px;
  z-index: -1;
}
@media screen and (max-width: 768px) {
  .sub.worksGallery .tab-button.active::after {
    background: url("../image/img-tab-button-bg-active-sp.png") no-repeat center center/cover;
    width: 143px;
    top: -17px;
    height: 105px;
  }
}
.sub.worksGallery .tab-button.active svg path {
  fill: #0e7c8f;
}
.sub.worksGallery .tab-content {
  background: #fff;
  -webkit-box-shadow: 0px 8px 37px 0px rgba(0, 0, 0, 0.25);
          box-shadow: 0px 8px 37px 0px rgba(0, 0, 0, 0.25);
  padding-top: 150px;
  padding-bottom: 200px;
  margin: 0 calc(50% - 50vw);
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .sub.worksGallery .tab-content {
    padding-top: 35px;
    padding-bottom: 40px;
  }
}
.sub.worksGallery .repair__content {
  display: none;
}
.sub.worksGallery .repair__content.active {
  display: block;
}
.sub.worksGallery .repair__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 140px 58px;
}
@media screen and (max-width: 768px) {
  .sub.worksGallery .repair__list {
    gap: 20px 30px;
  }
}
.sub.worksGallery .repair__item {
  width: 100%;
  height: auto;
  aspect-ratio: 130/97;
  border-radius: 10px;
  overflow: hidden;
}
.sub.worksGallery .section__maintenance .section__inner {
  max-width: calc(900px + min(6.9444444444vw, 100px) * 2);
}
.sub.worksGallery .maintenance__list {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 140px 100px;
}
@media screen and (max-width: 768px) {
  .sub.worksGallery .maintenance__list {
    margin-top: 30px;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
  }
}
.sub.worksGallery .maintenance__item picture {
  display: block;
}
.sub.worksGallery .maintenanceItem__title {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.17em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .sub.worksGallery .maintenanceItem__title {
    margin-top: 10px;
    font-size: 16px;
  }
}
.sub.worksGallery .section__beforeAfter .section__inner {
  max-width: calc(900px + min(6.9444444444vw, 100px) * 2);
}
.sub.worksGallery .beforeAfter__list {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 80px;
}
@media screen and (max-width: 768px) {
  .sub.worksGallery .beforeAfter__list {
    margin-top: 30px;
    gap: clamp(16px, 6.25vw, 50px);
  }
}
.sub.worksGallery .beforeAfter__btn-wrapper {
  text-align: center;
}
.sub.worksGallery .beforeAfter__btn {
  margin: 50px auto 0;
  width: 100%;
  max-width: 383px;
  height: 64px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.17em;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #0e7c8f;
  color: #fff;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
@media screen and (max-width: 768px) {
  .sub.worksGallery .beforeAfter__btn {
    margin-top: 30px;
    height: 48px;
    font-size: 14px;
  }
}
.sub.worksGallery .beforeAfter__btn:hover {
  opacity: 0.8;
}
/*# sourceMappingURL=page-works-gallery.css.map */

/* anchor offset for dropdown links */
.worksGallery .anchorTarget {
  display: block;
  position: relative;
  top: -120px;
  visibility: hidden;
}
@media screen and (max-width: 768px) {
  .worksGallery .anchorTarget { top: -80px; }
}
