@charset "utf-8";
/*------------------------------ 共通 ------------------------------*/
html {
  scroll-padding: 10rem;
}

.inner {
  width: 77.5%;
  max-width: 145rem;
}

.large-container {
  width: 95.2%;
  max-width: 180rem;
}

.sp {
  display: none;
}

.btn {
  width: 19rem;
  height: 4.8rem;
  border-radius: 2.4rem;
}

.section-title .common-heading {
  font-size: 4.8rem;
  margin-bottom: 2.3rem;
}

.section-title p {
  font-size: 1.8rem;
  line-height: 1.4;
}

.sub-title {
  font-size: 2.4rem;
  line-height: 1.4;
  margin-bottom: 2.85rem;
}

.page-top-btn.js-fadeIn {
  right: 3.3rem;
}


/*------------------------------ ヘッダー ------------------------------*/
header {
  height: 10rem;
}

header .logo-nav h1 a,
header .logo-nav p a {
  width: 7.353rem;
}

header .logo-nav .nav-btn {
  gap: 3rem;
  align-items: center;
}

header .logo-nav .nav-btn nav ul {
  gap: 2.4rem;
}

/*------------------------------ ファーストビュー ------------------------------*/
#top .fv {
  margin-top: 10rem;
  height: calc(100Vh - 13.8rem);
  height: calc(100dVh - 13.8rem);
  margin-bottom: 3.8rem;
}

#top .fv .swiper-pagination {
  top: 50%;
  left: 4.15rem;
  transform: translateY(-50%);
}

#top .fv .txt {
  bottom: 11%;
  left: 9.3%;
}

#top .fv .txt h2 {
  font-size: 6.4rem;
  line-height: 1.6;
}


/*------------------------------ メッセージ ------------------------------*/
#top .intro-message {
  background-image: url(../img/intro-bg.jpg);
  padding-bottom: 16.2rem;
}

#top .intro-message .bg {
  padding: 16rem 0 22rem;
}

#top .intro-message .inner p {
  line-height: 2.5;
  margin-bottom: 4rem;
}


/*------------------------------ 事業紹介 ------------------------------*/
#top .services {
  padding: 12.2rem 0 7.2rem;
  margin-bottom: 12.9rem;
}

#top .services .section-title {
  margin-bottom: 4.8rem;
}

#top .services .contents-wrap {
  justify-content: space-between;
}

#top .services .contents-wrap .txt-contents {
  width: 31.8%;
  margin-left: 9.7%;
}

#top .services .contents-wrap .txt-contents .txt {
  height: calc(100vh - 24.4rem);
  margin: 12rem 0;
}

#top .services .contents-wrap .txt-contents .txt:last-child {
  margin-bottom: 20rem;
}

#top .services .contents-wrap .txt-contents .txt .label {
  font-family: "Cardo", serif;
  color: #2180CC;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 2.4;
  opacity: 0;
  transition: 0.5s ease .6s;
}

#top .services .contents-wrap .txt-contents .txt.active .label {
  opacity: 1;
}

#top .services .contents-wrap .txt-contents .txt .sub-title span {
  opacity: 0;
  transition: 0.5s ease .6s;
}

#top .services .contents-wrap .txt-contents .txt .sub-title::before,
#top .services .contents-wrap .txt-contents .txt .sub-title::after {
  width: 0;
  transition: 0.5s ease;
}

#top .services .contents-wrap .txt-contents .txt.active .sub-title span {
  opacity: 1;
}

#top .services .contents-wrap .txt-contents .txt.active .sub-title::before {
  width: 100%;
}

#top .services .contents-wrap .txt-contents .txt.active .sub-title::after {
  width: 8rem;
}

#top .services .contents-wrap .txt-contents .txt .detail {
  font-weight: 500;
  line-height: 1.9;
}

#top .services .contents-wrap .img-contents {
  width: 54.2%;
  height: calc(100vh - 24.4rem);
  border-radius: 1rem;
  overflow: hidden;
  position: sticky;
  top: 20rem;
  display: block;
}

#top .services .contents-wrap .img-contents picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity .5s ease;
  z-index: 1;
  pointer-events: none;
}

#top .services .contents-wrap .img-contents picture:first-child {
  opacity: 1;
  z-index: 10;
}

#top .services .contents-wrap .img-contents picture img {
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
  overflow: hidden;
}

.is-front {
  z-index: 10 !important;
  opacity: 1 !important;
  pointer-events: auto;
}

.is-back {
  z-index: 5 !important;
  opacity: 0 !important;
  pointer-events: none;
}

@media (max-width: 1200px) {
  #top .services .contents-wrap .txt-contents {
    margin-left: 5%;
  }
}
/*------------------------------ 施工実績 ------------------------------*/
#top .works {
  position: relative;
  margin-bottom: 18.8rem;
  margin-top: 15rem;
}

#top .works .section-title {
  margin-bottom: 4.8rem;
}

#top .works .contents-wrap {
  width: calc(100% - 3.3rem);
  margin-left: 3.3rem;
  gap: 2.4rem;
  position: relative;
}

#top .works .contents-wrap::before {
  content: "";
  width: 2.4rem;
  height: 55%;
  background: #fff;
  position: absolute;
  bottom: 6.6rem;
  left: calc(52.9% + 1.4rem + ((47.1% - 2.4rem) / 1.8));
  z-index: 100;
}

#top .works .contents-wrap .works-slider.big {
  width: 52.9%;
  aspect-ratio: 705 / 450;
  border-radius: 1rem;
}

#top .works .contents-wrap .works-slider.big .swiper-slide .img {
  width: 100%;
  height: 100%;
}

#top .works .contents-wrap .works-slider.big .swiper-slide .img img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
}

#top .works .contents-wrap .works-slider.small {
  width: calc(47.1% - 2.4rem);
}

#top .works .contents-wrap .works-slider.small .swiper-wrapper .swiper-slide {
  position: relative;
}

#top .works .contents-wrap .works-slider.small .swiper-wrapper .swiper-slide-prev {
  overflow: hidden;
}

#top .works .contents-wrap .works-slider.small .swiper-wrapper .swiper-slide .img-txt {
  position: absolute;
  bottom: 6.6rem;
}

#top .works .contents-wrap .works-slider.small .swiper-wrapper .swiper-slide .img-txt img {
  aspect-ratio: 266 / 162;
}

#top .works .contents-wrap .works-slider.small .swiper-wrapper .swiper-slide .img-txt .slide-txt {
  width: 160%;
  margin-bottom: 8.65rem;
}

#top .works .contents-wrap .works-slider.small .swiper-wrapper .swiper-slide-active .img-txt .slide-txt .time-wrap time {
  font-size: 1.6rem;
}

#top .works .contents-wrap .works-slider.small .swiper-wrapper .swiper-slide-active .img-txt .slide-txt .sub-title {
  padding-bottom: 1.05rem;
  margin-bottom: 0;
}

#top .works .contents-wrap .swiper .swiper-button-prev {
  left: 0.4rem;
}

#top .works .contents-wrap .swiper .swiper-pagination {
  left: 5.1rem;
}

#top .works .contents-wrap .swiper .swiper-button-next {
  left: 12.11rem;
}

#top .works .contents-wrap .swiper .swiper-button-next::after {
  left: -0.4rem;
}

@media (max-width: 1600px) {
  #top .works .contents-wrap .works-slider.small .swiper-wrapper .swiper-slide .img-txt .slide-txt {
    margin-bottom: 5rem;
  }
}

@media (max-width: 1200px) {
  #top .works .contents-wrap::before {
    height: 1.5rem;
  }

  #top .works .contents-wrap .works-slider.small .swiper-wrapper .swiper-slide .img-txt .slide-txt {
    margin-bottom: 3rem;
  }
}

@media (max-width: 1100px) {
  #top .works .contents-wrap {
    margin-left: 0;
  }

  #top .works .contents-wrap .works-slider.big {
    display: none;
  }

  #top .works .contents-wrap {
    width: 100%;
    display: block;
  }

  #top .works .contents-wrap .works-slider.small {
    width: 100%;
  }

  #top .works .contents-wrap .works-slider.small .swiper-wrapper .swiper-slide .img-txt {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    bottom: 0;
  }

  #top .works .contents-wrap .works-slider.small .swiper-wrapper .swiper-slide .img-txt img {
    aspect-ratio: 336 / 214;
  }

  #top .works .contents-wrap .works-slider.small .swiper-wrapper .swiper-slide .img-txt .slide-txt {
    width: calc(100vw - 4rem);
    margin-left: 2rem;
    margin-bottom: 0;
  }

  #top .works .contents-wrap .works-slider.small .swiper-wrapper .swiper-slide-active .img-txt .slide-txt .time-wrap time {
    font-size: 1.4rem;
  }

  #top .works .contents-wrap .works-slider.small .swiper-wrapper .swiper-slide-active .img-txt .slide-txt .sub-title {
    padding-bottom: 1.4rem;
    margin-bottom: 3rem;
  }

  #top .works .contents-wrap .swiper .swiper-button-prev {
    left: 2rem;
  }

  #top .works .contents-wrap .swiper .swiper-pagination {
    left: 6.7rem;
  }

  #top .works .contents-wrap .swiper .swiper-button-next {
    left: 13.71rem;
  }
}

/*------------------------------ 会社概要 ------------------------------*/
#top .company {
  padding-top: 43.6rem;
  margin-bottom: 13.4rem;
}

#top .company .bg {
  width: 90.4%;
  right: 0;
  aspect-ratio: 1179 / 556;
}

#top .company .bg picture {
  aspect-ratio: 1179 / 556;
}

#top .company .contents-wrap {
  width: 90.7%;
  padding: 7.7rem 8.4rem 5.6rem 9.5%;
  margin-right: auto;
}

#top .company .contents-wrap .section-title {
  margin-bottom: 5.2rem;
}

#top .company .contents-wrap .profile-wrap {
  justify-content: space-between;
  margin-bottom: 4.8rem;
}

#top .company .contents-wrap .profile-wrap .profile-contents:nth-of-type(1) {
  width: 42.3%;
}

#top .company .contents-wrap .profile-wrap .profile-contents:nth-of-type(2) {
  width: 51.1%;
}

#top .company .contents-wrap .profile-wrap .profile-contents .profile-list {
  padding-bottom: 2.7rem;
  margin-bottom: 2.4rem;
}

#top .company .contents-wrap .profile-wrap .profile-contents .profile-list dt {
  line-height: 1.9;
}

#top .company .contents-wrap .profile-wrap .profile-contents .profile-list dd {
  line-height: 2.1;
}

#top .company .contents-wrap .profile-wrap .profile-contents .license dd {
  flex-wrap: wrap;
  justify-content: space-between;
}

#top .company .contents-wrap .profile-wrap .profile-contents .license dd p {
  width: calc((100% - 2rem) / 2);
}

@media (max-width: 1350px) {
  #top .company {
    padding-top: 30rem;
  }

  #top .company .contents-wrap .profile-wrap .profile-contents .license dd {
    flex-direction: column;
  }

  #top .company .contents-wrap .profile-wrap .profile-contents .license dd p {
    width: 70%;
  }

}

@media (max-width: 1200px) {
  #top .company .contents-wrap .profile-wrap {
    flex-direction: column;
    gap: 1.8rem;
  }

  #top .company .contents-wrap .profile-wrap .profile-contents {
    width: 100% !important;
  }

  #top .company .contents-wrap .profile-wrap .profile-contents .profile-list {
    display: flex;
    gap: 0.9rem;
    align-items: baseline;
    padding-bottom: 2.4rem;
    margin-bottom: 1.8rem;
  }

  #top .company .contents-wrap .profile-wrap .profile-contents .profile-list:nth-last-of-type(1) {
    margin-bottom: 0;
  }

  #top .company .contents-wrap .profile-wrap .profile-contents .profile-list dt {
    width: 25%;
  }

  #top .company .contents-wrap .profile-wrap .profile-contents .profile-list dd {
    width: calc(75% - 0.9rem);
  }
}

@media (max-width: 900px) {
  #top .company {
    padding-top: 20rem;
  }

  #top .company .contents-wrap .profile-wrap .profile-contents .license dd p {
    /* width: 100%; */
  }
}

/*------------------------------ インスタグラム ------------------------------*/
#top .instagram {
  width: 93.4%;
  max-width: 98.8rem;
  margin-bottom: 18.8rem;
}

#top .instagram .section-title {
  margin-bottom: 4.8rem;
}

#top .instagram .section-title .common-heading {
  margin-bottom: 1.8rem;
}

/* #top .instagram .contents-wrap {
  gap: 2rem;
}

#top .instagram .contents-wrap a {
  width: calc((100% - 6rem) / 4);
} */

#top .instagram .contents-wrap #sbi_images {
  gap: 2rem;
}

/*------------------------------ リクルート ------------------------------*/
.recruit {
  height: calc(100vh - 10rem);
}

.recruit figure .mask {
  aspect-ratio: 1058 / 620;
}

.recruit .txt.js-fade-txt {
  top: 50%;
  right: 12.8%;
  transform: translateY(-50%);
  margin-left: auto;
}

.recruit .txt .section-title {
  margin-bottom: 2.6rem;
}

.recruit .txt .section-title p {
  margin-bottom: 2.1rem;
}

.recruit .txt .section-title .common-heading {
  font-size: 3.6rem;
  line-height: 1.3;
}

.recruit .txt .detail {
  line-height: 1.9;
  margin-bottom: 3.5rem;
}

.recruit .txt .btn {
  width: 29rem;
  height: 5.6rem;
}

@media (max-width: 1500px) {
  .recruit figure .mask picture,
.recruit figure .mask img {
    object-position: 13%;
  }
}

@media (max-width: 1200px) {
  .recruit .txt.js-fade-txt {
    right: 2.4%;
  }
}

@media (max-width: 900px) {
  .recruit figure .mask picture,
.recruit figure .mask img {
    object-position: 50%;
  }
}

/*------------------------------ フッター ------------------------------*/
footer {
  padding: 8rem 0 2.6rem;
}

footer .inner {
  justify-content: space-between;
  margin-bottom: 8.8rem;
}

footer .inner .logo-info .logo {
  display: block;
  margin-bottom: 2.4rem;
}

footer .inner .logo-info .logo img {
  width: 7.4rem;
  transition: .5s ease;
}

footer .inner .logo-info .logo img:hover {
  opacity: .7;
}

footer .inner .logo-info address {
  margin-bottom: 2.9rem;
}

footer .inner .btn-nav .btn-wrap {
  justify-content: flex-end;
  gap: 1.8rem;
  margin-bottom: 6rem;
}

footer .inner .btn-nav .nav {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4rem;
}

@media (max-width: 1000px) {
  footer .inner .btn-nav .btn-wrap {
    flex-direction: column;
    align-items: flex-end;
  }
}

/*------------------------------ お問い合わせページ ------------------------------*/
#contact .inner {
  margin: 23.6rem 0 11.6rem;
  margin-inline: auto;
  padding: 8.5rem 17.8rem 7.2rem;
}

#contact .inner .section-title {
  margin-bottom: 4.8rem;
}

#contact .inner .js-form-input-step.contact {
  margin-top: 7.85rem;
}

#contact .inner .js-form-input-step.contact .form-item {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

#contact .inner .js-form-input-step.contact .contact-detail {
  margin-bottom: 4.8rem;
}

#contact .inner .js-form-input-step.contact .title-wrap {
  gap: 0.6rem;
}

#contact .inner .js-form-input-step.contact .title-wrap .title,
#contact .inner .js-form-input-step.contact  .title {
  line-height: 1.9;
}

#contact .inner .js-form-input-step.contact .form-item .js-form-input-unity {
  width: calc(100% - 25.6rem);
}

#contact .inner .js-form-input-step.contact .form-item .js-form-input-unity input,
#contact .inner .js-form-input-step.contact .form-item .js-form-input-unity textarea {
  line-height: 1.9;
}

#contact .inner .js-form-input-step.contact .form-item .js-form-input-unity input::placeholder,
#contact .inner .js-form-input-step.contact .form-item .js-form-input-unity textarea::placeholder {
  line-height: 1.9;
}

#contact .inner .js-form-input-step.contact .form-item .js-form-input-unity label p {
  line-height: 1.9;
}

#contact .inner .privacy-policy {
  width: 40rem;
  padding: 1.2rem 1.6rem;
  margin-bottom: 3rem;
}

#contact .inner .consent {
  margin-bottom: 4rem;
}

#contact .inner .js-form-input-step.contact .js-validation,
.js-submit-failed-msg {
  margin-top: 1.3rem;
}

@media (max-width: 1100px) {
  #contact .inner .js-form-input-step.contact .form-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.4rem;
  }

  #contact .inner .js-form-input-step.contact .form-item .js-form-input-unity {
    width: 100%;
  }
}

@media (max-width: 950px) {
  #contact .inner {
    padding: 8.5rem 12.8rem 7.2rem;
}
}

/*------------------------------ お問い合わせ確認ページ ------------------------------*/
#contact .contact-confirm .confirm-txt {
  line-height: 1.9;
  margin-bottom: 5.1rem;
}

#contact .contact-confirm .contact-confirm-wrap {
  margin-bottom: 5.5rem;
}

#contact .contact-confirm .contact-confirm-wrap .contact-confirm-item {
  align-items: flex-start;
  justify-content: space-between;
}

#contact .contact-confirm .contact-confirm-wrap .contact-confirm-item .title {
  line-height: 1.9;
}

#contact .contact-confirm .contact-confirm-wrap .js-confirm-item {
  width: calc(100% - 22.1rem);
  line-height: 1.9;
}

/*------------------------------ お問い合わせ完了ページ ------------------------------*/
#contact .contact-complete h2 {
  font-size: 2.4rem;
  line-height: 2;
  margin-bottom: 2.2rem;
}

#contact .contact-complete .message {
  line-height: 1.9;
  margin-bottom: 5.5rem;
}

/*------------------------------ 404ページ ------------------------------*/
#notFound .inner {
  padding: 9rem 17.8rem 7.2rem;
  margin: 23.6rem 0 11.6rem;
  margin-inline: auto;
}

#notFound .inner .section-title {
  margin-bottom: 5.5rem;
}

#notFound .inner .section-title .common-heading {
  margin-bottom: 1.8rem;
}

#notFound .inner h2 {
  font-size: 2.4rem;
  line-height: 2;
  margin-bottom: 2.2rem;
}

#notFound .inner .txt {
  line-height: 1.9;
  margin-bottom: 5.5rem;
}

@media (max-width: 950px) {
  #notFound .inner h2 span {
    display: block;
  }
}