@media screen and (max-width: 600px) {
  .hidden-sm {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .hidden-md {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  .hidden-lg {
    display: none;
  }
}

@media screen and (max-width: 1200px) {
  .hidden-xl {
    display: none;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 1.25rem;
  line-height: 1.6;
  font-family: "Noto Sans JP", sans-serif;
  color: #232323;
  line-height: 1.7;
  overflow-x: auto !important;
}

.sidebar__items {
  position: sticky;
  top: 18vh;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 38px;
  margin-left: 60px;
}

.sidebar__item {
  color: #858585;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.9px;
}

.sidebar__item--parent {
  position: relative;
}

.sidebar__item--parent::before {
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  left: -24px;
  width: 18px;
  height: 20px;
  background-image: url(../img/sidebar__item--parent-icon.svg);
  background-size: cover;
  background-repeat: no-repeat;
}

.sidebar__item--child {
  margin-top: -26px;
  line-height: 1.4;
  position: relative;
}

.sidebar__item--child::before {
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  left: -24px;
  width: 18px;
  height: 1px;
  background-color: #858585;
}

.content {
  width: calc(100% - 300px);
}

.main__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-top: 100px;
}

#service__about {
  padding-top: 0;
}

section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

section h2 {
  font-size: 32px;
}

.service__about {
  background: white;
  padding-left: 100px;
  padding-right: 110px;
  padding-bottom: 100px;
  padding-top: 190px;
}

.service__about__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 66px;
}

@media screen and (max-width: 416px) {
  .service__about__inner {
  gap: 20px;
  }
}

.gray-section {
  position: relative;
  background-color: #eeeeee;
  width: 100vw;
  margin-left: -300px;
  z-index: 1;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  overflow: initial !important;
}

.corresponding__construction--detail-wrap {
  padding-block: 80px;
  padding-top: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-left: calc(300px + 5%);
  margin-right: 5%;
  margin-top: 60px;
}

.corresponding__construction--detail {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding-top: 70px;
  padding-bottom: 70px;
  border-bottom: 2px solid #cdcdcd;
}

.corresponding__construction--detail:last-child {
  border-bottom: none;
}

.corresponding__construction {
  padding-left: calc(300px + 5%);
}

.corresponding__construction--detail.piping {
  background-color: transparent;
}

.corresponding__construction--detail.heating {
  background-color: transparent;
}

.corresponding__construction--detail.air-conditioning {
  background-color: transparent;
}

.corresponding__construction--detail.gas-equipment {
  background-color: transparent;
}

.sectionTop__circle {
  width: 100%;
  height: 200px;
  overflow-x: hidden;
  position: relative;
  margin-top: -1px;
  z-index: -1;
  top: -176px;
}

.sectionTop__circle span {
  content: "";
  display: block;
  width: 120vw;
  position: absolute;
  top: 1px;
  left: 50%;
  z-index: 999;
  background-color: #fff;
  border-radius: 50%/100% 100% 0 0;
  height: 100%;
  -webkit-transform: translate(-50%, -100%);
  transform: translate(-50%, 0);
}

.sidebar__item--parent {
  line-height: 1.4;
}

@media screen and (max-width: 1100px) {
  .content {
    width: 100% !important;
  }

  .gray-section {
    margin-left: 0;
  }

  .service__about {
    padding: 0 5% 100px;
  }

  .corresponding__construction {
    padding: 0 5%;
    justify-content: center;
  }

  .corresponding__construction--detail-wrap,
  .feateres__inner,
  .service__case--inner {
    margin: 0 auto;
    padding: 0 5%;
  }

  .corresponding__construction--detail-wrap {
    margin-top: 50px;
  }

  .service__place--inner,
  .section__flow--inner {
    padding: 100px 5%;
    margin: 0;
  }

  .next__content__items {
    flex-direction: column;
    gap: 20px;
  }

  .next__contents--item {
    max-width: none;
    width: 100%;
  }

  .next__contents--inner {
    padding: 84px 5% 0px;
  }

  .section__flow--inner {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
  }

  .section__title--ja {
    width: 100%;
    justify-content: center;
  }

  .section__flow--content {
    width: 100%;
  }
}