body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  font-weight: 400;
  color: #262626;
}

/* common parts */

.sp-only {
  display: none;
}

.section-inner {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-title {
  padding-bottom: 16px;
  position: relative;
}

.section-title::after {
  content: '';
  background-color: #262626;
  width: 360px;
  height: 1px;
  display: block;
  position: absolute;
  bottom: 0;
}

.section-title-en {
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: 400;
}

.section-title-jp {
  font-size: 24px;
  font-weight: 400;
}

.section-desc-main {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 40px;
}

.section-desc {
  display: flex;
  margin-top: 24px;
}

/* fadeIn */

.fadeIn {
  opacity: 0;
  transition-duration: 1000ms;
  transition-property: opacity, transform;
}

.fadeIn-up {
  transform: translate(0, 50px);
}

.fadeIn-left {
  transform: translate(-50px, 0);
}

.fadeIn-right {
  transform: translate(50px, 0);
}

.scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}


/* header */

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 80px 40px 80px;
  height: 120px;
  width: 100%;
  position: relative;
}

.header-logo {
  width: 187px;
  font-size: 0;
}

.header-right {
  display: flex;
  align-items: center;
}

.tel {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #fff;
  background-color: #262626;
  padding: 25px 30px;
}

.gnav-btn {
  position: relative;
  width: 79px;
  height: 32px;
  margin-left: 37px;
  z-index: 999;
  cursor: pointer;
}

.gnav-btn-bar {
  width: 64px;
  height: 1px;
  background-color: #262626;
  display: block;
  position: absolute;
  -webkit-transition: all .4s;
}

.bar-top {
  right: 0;
}

.bar-middle {
  top: 16px;
  left: 0;
}

.bar-bottom {
  right: 0;
  top: 32px;
}

.gnav-logo img {
  width: 300px;
}

.gnav-list {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.gnav-link {
  font-size: 30px;
  font-family: 'Roboto', sans-serif;
}

.gnav-item:nth-child(-n+2) {
  margin-bottom: 60px;
}

.gnav-item:nth-child(3) {
  margin-bottom: 90px;
}

.gnav-tel {
  background-color: #262626;
  color: #fff;
  width: 460px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gnav {
  position: fixed;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  background-color: #fff;
  height: 100vh;
  padding: 120px 0;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-in-out;
  overflow: scroll;
}

.gnav.open {
  visibility: visible;
  opacity: 1;
  display: block;
  position: absolute;
}

/* navが開いてる間のバツボタン */

.gnav-btn.open .gnav-btn-bar {
  transition: all 0.4s ease-in-out;
}

.gnav-btn.open .gnav-btn-bar.bar-top {
  background-color: #262626;
  transform: translate(0, 0) rotate(45deg);
  top: 50%;
}

.gnav-btn.open .gnav-btn-bar.bar-middle {
  display: none;
}

.gnav-btn.open .gnav-btn-bar.bar-bottom {
  background-color: #262626;
  transform: translate(0, 0) rotate(-45deg);
  top: 50%;
}


/* fv */

.fv {
  display: none;
}

.fv-inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.fv-text {
  writing-mode: vertical-rl;
  font-size: 40px;
  letter-spacing: 0.6em;
  font-weight: 400;
  position: relative;
  width: 25%;
  height: 100%;
}

.fv-text-first {
  margin-left: 40px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  top: 12%
}

.fv-text-second {
  position: absolute;
  left: 40%;
  transform: translateX(-50%);
  top: 23%;
}

.fv-img {
  width: 75%;
  height: 100%;
  position: relative;
  padding-bottom: 7.9%;
}

.fv-img::after {
  content: 'Confidence';
  position: absolute;
  display: block;
  color: #262626;
  font-size: 120px;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  letter-spacing: 0.1em;
  left: -26%;
  bottom: 4%;
}

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

/* service */
.service-inner {
  padding-left: 80px;
  padding-right: 80px;
}

.service-top {
  display: flex;
  padding-bottom: 80px;
  margin: 0 auto;
  max-width: 1080px;
  justify-content: space-between;
  align-items: center;
}

.service-top-picture {
  position: relative;
  width: 60.4%;
  height: 100%;
}

.service-top-picture img {
  width: 100%;
}

.service-text {
  max-width: 36%;
  margin-left: 40px;
}

.service-title {
  text-align: right;
}

.service-title::after {
  right: 0;
  width: 96%;
}

.service-desc {
  flex-direction: column;
  align-items: flex-end;
}

.service-list {
  padding-top: 80px;
  max-width: 1280px;
  margin: 0 auto;
}

.service-upper,
.service-lower {
  display: flex;
}

.service-upper {
  margin-bottom: 80px;
}

.service-lower {
  justify-content: flex-end;
}

.service-item-first {
  margin-right: 80px;
}

.service-item-picture {
  width: 473px;
  margin-bottom: 40px;
}

.service-item-title {
  font-size: 24px;
  font-weight: 500;
  padding-bottom: 16px;
  position: relative;
}

.service-item-title::after {
  content: '';
  background-color: #262626;
  width: 360px;
  height: 1px;
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
}

/* works */

.works-text {
  max-width: 1240px;
  margin: 0 auto;
  margin-bottom: 80px;
  padding-left: 80px;
  padding-right: 80px;
}

.works-desc-main {
  margin-bottom: 0;
  width: 262px;
  margin-right: 8%;
}

.works-desc-sub {
  width: 50.9%;
}

.pc-slider {
  display: block;
}

.slide-item {
  /* width: 22.2%; */
  padding: 0 20px;
}

.sp-slider {
  display: none;
}

/* company */

.company-inner {
  max-width: 910px;
  margin: 0 auto;
  padding-left: 80px;
  padding-right: 80px;
}

.company-body {
  text-align: center;
}

.company-title {
  position: relative;
  margin-bottom: 40px;
}

.company-picture {
  width: 65.7%;
  display: inline-block;
  margin-bottom: 40px;
}

.company-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.company-overview {
  text-align: left;
}

.company-overview dl {
  display: flex;
  flex-wrap: wrap;
}

.company-overview dt {
  display: flex;
  padding: 24px 0 24px 80px;
  width: 168px;
  border-bottom: 1px solid #E7E7E7;
}

.company-overview dd {
  display: flex;
  padding: 24px 0 24px 40px;
  width: calc(100% - 168px);
  border-bottom: 1px solid #E7E7E7;
}

/* footer */

footer {
  padding: 80px 0;
  text-align: center;
}


@media screen and (max-width:1024px) {
  /* SP用のCSS */

  .pc-wide-only {
    display: none;
  }

  .gnav-logo img {
    width: 200px;
  }

  .gnav-link {
    font-size: 24px;
  }

  .gnav-tel {
    width: 340px;
  }

  .fv-text {
    font-size: 30px;
  }

  .fv-img::after {
    font-size: 70px;
    left: -22%;
    bottom: 6%;
  }

  .service-item-title {
    font-size: 20px;
  }

  .service-item-title::after {
    width: 100%;
  }

}


@media screen and (max-width:768px) {
  /* TABLET用のCSS */

  body {
    font-size: 14px;
  }

  .pc-only {
    display: none;
  }

  .pc-wide-only {
    display: block;
  }

  .section-inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .section-title-en {
    font-size: 32px;
  }

  .section-title-jp {
    font-size: 18px;
  }

  .section-desc-main {
    font-size: 18px;
  }

  .section-title::after {
    width: 83%;
  }

  .section-desc {
    flex-direction: column;
    margin-top: 40px;
  }

  /* header */

  header {
    margin-bottom: 0;
  }

  .header-inner {
    height: 50px;
    align-items: center;
    padding: 0 40px;
  }

  .header-logo {
    width: 120px;
  }

  .gnav {
    padding: 40px 0;
  }

  .gnav-logo img {
    width: 120px;
  }

  .gnav-btn {
    height: 22px;
    width: 56px;
  }

  .gnav-btn-bar {
    width: 46px;
  }

  .bar-middle {
    top: 11px;
  }

  .bar-bottom {
    top: 22px;
  }

  .gnav-link {
    font-size: 20px;
  }

  .gnav-item:nth-child(-n+2) {
    margin-bottom: 40px;
  }

  .gnav-item:nth-child(3) {
    margin-bottom: 64px;
  }

  .gnav-tel {
    width: 240px;
    height: 40px;
    padding: 5px 0;
  }

  /* fv */

  .fv-inner {
    flex-direction: column-reverse;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 73px;
  }

  .fv-img {
    width: 78.6%;
    padding-bottom: 64px;
  }

  .fv-img::after {
    font-size: 60px;
    left: -10%;
    bottom: 3%;
  }

  .fv-text {
    font-size: 30px;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    display: flex;
    width: 100%;
    letter-spacing: 0.1em;
    justify-content: flex-end;
    margin-right: 11%;
  }

  .fv-text-first,
  .fv-text-second {
    position: inherit;
    transform: inherit;
    left: 0;
    top: 0;
  }

  .fv-text-first {
    margin-left: 0;
  }

  /* service */

  .service-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .service-top {
    flex-direction: column;
    padding-bottom: 40px;
  }

  .service-top-picture {
    width: 100%;
    margin-bottom: 40px;
  }

  .service-text {
    margin-left: 0;
    max-width: 100%;
    padding: 0 80px;
  }

  .service-upper,
  .service-lower {
    flex-direction: column;
  }

  .service-upper {
    margin-bottom: 0;
  }

  .service-list {
    padding: 0 80px;
  }

  .service-item {
    margin-bottom: 40px;
  }

  .service-item:nth-child(4) {
    margin-bottom: 0;
  }

  .service-lower>.service-item-second {
    margin-bottom: 0;
  }

  .service-item-first {
    margin-right: 0;
  }

  .service-item-picture {
    width: 100%;
  }

  .service-item-title {
    font-size: 18px;
    font-weight: 400;
  }

  .service-item-title::after {
    width: 83%;
  }

  /* works */

  .works-text {
    margin-bottom: 40px;
  }

  .works-desc-main {
    margin-bottom: 40px;
    margin-right: 0;
  }

  .works-desc-sub {
    width: 100%;
  }

  .infinite-slide {
    padding: 0 80px;
  }

  .pc-slider {
    display: none;
  }

  .sp-slider {
    display: block;
  }

  .sp-slide-item img {
    width: 100%;
  }


  /* company */

  .company-inner {
    max-width: 100%;
  }

  .company-picture {
    width: 100%;
  }

  .company-overview dl {
    flex-direction: column;
  }

  .company-overview dt {
    padding: 16px 0 8px 0;
    width: 100%;
    border-bottom: 0;
  }

  .company-overview dd {
    padding: 0 0 16px 0;
    width: 100%;
  }

  /* footer */

  footer {
    padding: 38px 0;
  }

  .copyright {
    font-size: 12px;
  }

  .sp-only {
    display: block;
  }

}

@media screen and (max-width:425px) {
  /* SP用のCSS */

  .fv-inner {
    padding-bottom: 79px;
  }

  .fv-img::after {
    font-size: 40px;
    left: -14%;
    bottom: 7%;
  }

  .fv-text {
    font-size: 24px;
  }

  .service-text {
    padding: 0 40px;
  }

  .service-list {
    padding: 0 40px;
  }

  .works-text {
    padding: 0 40px;
  }

  .infinite-slide {
    padding: 0 40px;
  }

  .company-inner {
    padding-left: 40px;
    padding-right: 40px;
  }

}

