@charset "utf-8";

/*------------------------------ 共通 ------------------------------*/
html {
  scroll-padding: 7.2rem;
}

.inner,
.large-container {
  width: calc(100% - 4rem);
}

.inner {
  max-width: 60rem;
}

.pc {
  display: none;
}

.btn {
  width: 28rem;
  height: 5.6rem;
  border-radius: 2.8rem;
}

.section-title .common-heading {
  font-size: 3.6rem;
  margin-bottom: 1.2rem;
}

.section-title p {
  line-height: 1.6;
}

.sub-title {
  font-size: 2rem;
  line-height: 1.7;
  margin-bottom: 2.45rem;
}

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

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

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

header .blur .logo-nav .icon-ham-btn-wrap {
  height: 100%;
  align-items: center;
}

header .blur .logo-nav .icon-ham-btn-wrap .icon,
header .blur .logo-nav .icon-ham-btn-wrap .ham-btn {
  transition: .5s ease;
}

header .blur .logo-nav .icon-ham-btn-wrap .icon:hover,
header .blur .logo-nav .icon-ham-btn-wrap .ham-btn:hover {
  opacity: .7;
}

header .blur .logo-nav .icon-ham-btn-wrap .ham-btn {
  width: 7.2rem;
  height: 7.2rem;
  position: relative;
  cursor: pointer;
}

header .blur .logo-nav .icon-ham-btn-wrap .ham-btn span {
  width: 2.75rem;
  height: 0.15rem;
  background-color: #221E1C;
  position: absolute;
  left: 50%;
  transform: translateY(-50%);
  transition: .5s;
}


header .blur .logo-nav .icon-ham-btn-wrap .ham-btn span:nth-of-type(1) {
  top: calc(50% + 0.7rem);
}


header .blur .logo-nav .icon-ham-btn-wrap .ham-btn.active span:nth-of-type(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}


header .blur .logo-nav .icon-ham-btn-wrap .ham-btn span:nth-of-type(2) {
  top: 50%;
}


header .blur .logo-nav .icon-ham-btn-wrap .ham-btn.active span:nth-of-type(2) {
  display: none;
}


header .blur .logo-nav .icon-ham-btn-wrap .ham-btn span:nth-of-type(3) {
  top: calc(50% - 0.7rem);
}


header .blur .logo-nav .icon-ham-btn-wrap .ham-btn.active span:nth-of-type(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}


header .blur .logo-nav .nav-btn.pc {
  display: none;
}

header .nav-btn.sp {
  width: 100%;
  /* height: 45rem; */
  background: rgba(255, 255, 255, .44);
  border-bottom: .1rem solid rgba(255, 255, 255, .4);
  backdrop-filter: blur(.8rem);
  -webkit-backdrop-filter: blur(.8rem);
  flex-direction: column;
  align-items: center;
  gap: 4.3rem;
  padding: 9.4rem 0 8.2rem;
  position: fixed;
  top: 7.1rem;
  right: -100%;
  transition: .5s ease;
}

header .nav-btn.sp.active {
  right: 0;
}

header .nav-btn.sp nav ul {
  flex-direction: column;
  align-items: center;
  gap: 3.7rem;
}

header .nav-btn.sp nav ul li a {
  color: #000;
  font-weight: 700;
}

header .nav-btn.sp .btn {
  width: 28rem;
  /* height: 5.6rem; */
}

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

#top .fv .swiper-pagination {
  bottom: 4.9rem;
  left: 1.6rem;
}

#top .fv .txt {
  top: 3rem;
  right: 2.5rem;
}

_::-webkit-full-page-media,
_:future,
:root #top .fv .txt {
  right: 14.5rem;
}

/* @supports (-webkit-touch-callout: none) {
  #top .fv .txt {
    right: 15rem;
  }
} */

#top .fv .txt h2 {
  font-size: 4rem;
  line-height: 1.425;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}


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

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

#top .intro-message .inner p {
  font-size: 1.5rem;
  line-height: 2;
  margin-bottom: 3rem;
}

@media (max-width: 500px) {
  #top .intro-message .inner {
    margin: 0 1.9rem;
  }
}

/*------------------------------ 事業紹介 ------------------------------*/
#top .services {
  padding: 7.3rem 0 8.6rem;
  margin-bottom: 6.4rem;
}

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

#top .services .contents-wrap .img {
  width: calc(100% + 2rem);
  margin: 0 -2rem 2rem 0;
}


#top .services .contents-wrap .txt {
  margin-bottom: 5.6rem;
}

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

#top .services .contents-wrap .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.active .label {
  opacity: 1;
}

#top .services .contents-wrap .txt .detail {
  font-size: 1.5rem;
  line-height: 2;
}

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

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

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

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

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

/*------------------------------ 施工実績 ------------------------------*/
#top .works {
  margin-bottom: 8rem;
}

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

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

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

#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: 19.7rem;
  margin-bottom: 6.4rem;
}

#top .company .bg {
  width: calc(100% + 2rem);
  right: -2rem;
  aspect-ratio: 336 / 250;
}

#top .company .bg picture {
  aspect-ratio: 336 / 250;
}

#top .company .contents-wrap {
  width: calc(100% + 2rem);
  padding: 6.4rem 1.9rem 5.4rem;
  margin-left: -2rem;
}

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

#top .company .contents-wrap .profile-wrap {
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 3rem;
}

#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%;
  font-size: 1.5rem;
  line-height: 2;
}

#top .company .contents-wrap .profile-wrap .profile-contents .profile-list dd {
  width: calc(75% - 0.9rem);
  font-size: 1.5rem;
  line-height: 1.7;
}

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

#top .company .contents-wrap .profile-wrap .profile-contents .license dd p {
  width: 100%;
  max-width: 23rem;
}

/*------------------------------ インスタグラム ------------------------------*/
#top .instagram {
  width: calc(100% - 4rem);
  max-width: 60rem;
  margin-bottom: 8rem;
}

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

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

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

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

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

/*------------------------------ リクルート ------------------------------*/
.recruit {
  height: 60rem;
}

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

.recruit figure .mask picture,
.recruit figure .mask img {
  object-position: left top;
}

.recruit .txt.js-fade-txt {
  bottom: 5rem;
  left: 2rem;
}

.recruit .txt .section-title {
  /* margin-bottom: 2.5rem; */
  margin-bottom: 1rem;
}

.recruit .txt .section-title p {
  /* margin-bottom: 1.5rem; */
  margin-bottom: .8rem;
}

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

.recruit .txt .detail {
  font-size: 1.5rem;
  line-height: 2;
  /* margin-bottom: 3.6rem; */
  margin-bottom: 2.4rem;
}

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

@media (max-width: 550px) {

  .recruit figure .mask picture,
  .recruit figure .mask img {
    object-position: 20% top;
  }
}

@media (max-width: 350px) {
  .recruit .txt .section-title .common-heading {
    font-size: 3rem;
  }
}

/*------------------------------ フッター ------------------------------*/
footer {
  padding: 6.36rem 2rem 4rem;
}

footer .sp-wrap {
  gap: 3rem;
}

footer .sp-wrap .logo {
  width: 6.4rem;
}

footer .sp-wrap .logo img {
  transition: .5s ease;
}


footer .sp-wrap .logo img:hover {
  opacity: .7;
}

footer .inner {
  width: calc(100% - 9.4rem);
  gap: 3.8rem;
  flex-direction: column;
  margin-bottom: 6.9rem;
}

footer .inner .logo-info {
  border-bottom: 0.1rem solid #707070;
  padding-bottom: 3.4rem;
}

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

footer .inner .logo-info address p:nth-of-type(1) {
  margin-bottom: 1.3rem;
}

footer .inner .logo-info address p:nth-of-type(2) {
  margin-bottom: 2.7rem;
}

footer .inner .btn-nav {
  display: flex;
  flex-direction: column-reverse;
  gap: 3.4rem;
}

footer .inner .btn-nav .btn-wrap {
  flex-direction: column-reverse;
  gap: 1.6rem;
}

footer .inner .btn-nav .nav {
  border-bottom: 0.1rem solid #707070;
  flex-direction: column;
  gap: 2.7rem;
  padding-bottom: 3.7rem;
}

@media (max-width: 450px) {
  footer .inner .btn-nav .btn-wrap .btn {
    width: 100%;
  }

  footer .inner .logo-info address p:nth-of-type(2) span {
    display: block;
  }
}

@media (max-width: 350px) {
  footer .btn .txt-wrapper .txt {
    font-size: 1.3rem;
  }

  footer .btn {
    padding-left: 2rem;
  }

  footer .btn::before {
    right: 2rem;
  }
}

/*------------------------------ お問い合わせページ ------------------------------*/
#contact .inner {
  width: 100% !important;
  max-width: 76.8rem;
  margin-top: 7.2rem;
  padding: 8rem 1.9rem;
}

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

#contact .inner .js-form-input-step.contact {
  max-width: 60rem;
  margin-top: 4.4rem;
  margin-inline: auto;
}

#contact .inner .js-form-input-step.contact .form-item {
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 4.4rem;
}

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

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

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

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

#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 {
  font-size: 1.5rem;
  line-height: 2;
}

#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 {
  font-size: 1.5rem;
  line-height: 2;
}

#contact .inner .js-form-input-step.contact .form-item .js-form-input-unity label p {
  font-size: 1.5rem;
  line-height: 2;
}

#contact .inner .privacy-policy {
  width: 100%;
  padding: 1rem;
  margin-bottom: 4.4rem;
}

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

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

/*------------------------------ お問い合わせ確認ページ ------------------------------*/
#contact .contact-confirm {
  margin-top: 4rem;
}

#contact .contact-confirm .confirm-txt {
  font-size: 1.5rem;
  line-height: 2;
  margin-bottom: 7.4rem;
}

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

#contact .contact-confirm .contact-confirm-wrap .contact-confirm-item {
  flex-direction: column;
  gap: 1.8rem;
}

#contact .contact-confirm .contact-confirm-wrap .contact-confirm-item .title {
  font-size: 1.5rem;
  line-height: 2;
}

#contact .contact-confirm .contact-confirm-wrap .js-confirm-item {
  width: 100%;
  line-height: 2;
}

#contact .contact-confirm .btn-wrap {
  flex-direction: column-reverse;
  align-items: center;
}

/*------------------------------ お問い合わせ完了ページ ------------------------------*/
#contact .contact-complete {
  display: none;
}

#contact .contact-complete h2 {
  font-size: 2rem;
  line-height: 2.4;
  margin-bottom: 1.6rem;
}

#contact .contact-complete .message {
  font-size: 1.5rem;
  line-height: 2;
  margin-bottom: 7rem;
}


/*------------------------------ 404ページ ------------------------------*/
#notFound .inner {
  width: 100%;
  max-width: 76.8rem;
  padding: 8rem calc((100% - 60rem) / 2);
  margin-top: 7.2rem;
}

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

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

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

#notFound .inner .txt {
  font-size: 1.5rem;
  line-height: 2;
  margin-bottom: 7rem;
}

@media (max-width: 638px) {
  #notFound .inner {
    padding: 8rem 1.9rem;
  }
}

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

  #notFound .inner .btn.clear {
    width: 100%;
  }
}