@charset "UTF-8";

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

/* 基本設定 */
* {
   margin: 0;
   list-style: none;
}

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

/* 全体の設定 */
body {
  display: grid;
  grid-template-columns: 20px 1fr 20px;
  grid-template-rows:
            [hero] auto
            [sub-title] auto
            [title] auto
            [main_A] auto
            [main_B] auto
            [main_C] auto
            [main_D] auto
            /* [case-title] auto */
            [case] auto
            [case-btn] auto
            [contact] auto
            [foot-nav] auto
            [foot] auto;
            /* grid-row-gap: 20px;
            row-gap: 20px; */
}

/* パーツ配置 */
body > * {
  grid-column: 2 / -2;
}

nav.nav-PC {
  display: none;
}

.header-logo {
  display: none;
}


/* ==========フェードイン：全体の設定========== */
/*1.フェードインアニメーションの指定*/
.scrollanime {opacity: 0;} /*一瞬表示されるのを防ぐ*/
.fadeInDown {
    animation-name: fadeInDown;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
@keyframes fadeInDown {
    0% {
        opacity: 0;
    }
    100% {
    opacity: 1;
    transform: translate(0);
    }
}
/*2.上下の動きを指定*/
.updown {
  transform: translateY(-40px);
}
.downup {
  transform: translateY(40px);
}
/*3.左右の動きを指定*/
.sect02 {
  overflow: hidden;  /*横スクロールバーを隠す*/
  }
.slide-right {
  transform: translateX(200px); /*右から左*/
  }
.slide-left {
  transform: translateX(-200px);  /*左から右*/
  }


/* ==========ヒーローイメージ：フェードイン========== */

.load-fade {
  opacity : 0;
  transition : all 2s;  /*処理にかかる時間*/
  -moz-transition-delay: 1500ms;
  -webkit-transition-delay: 1500ms;
  -o-transition-delay: 1500ms;
  -ms-transition-delay: 1500ms;
}
.load-up {
  opacity: 0;
  transform: translateY(100px);  /*スクロールアップする距離*/
  transition: all 2s;  /*処理にかかる時間*/
  -moz-transition-delay: 2000ms;
  -webkit-transition-delay: 2000ms;
  -o-transition-delay: 2000ms;
  -ms-transition-delay: 2000ms;
}
.load-down {
  opacity: 0;
  transform: translateY(-50px);  /*スクロールアップする距離*/
  transition: all 1s;  /*処理にかかる時間*/
}
.load-left {
  opacity: 0;
  transform: translateX(-1500px);  /*スクロールアップする距離*/
  transition: all 1.5s;  /*処理にかかる時間*/
}
.load-up.done, .load-down.done, .load-fade.done, .load-left.done {
  opacity : 1;
  transform : translate(0, 0);
}

/* ==========施工実績：フェードイン========== */
.effect-fade {
  opacity: 0;
  transform: translate(0, 50px);
  transition: all 700ms;
}
.effect-scroll {
  opacity: 1;
  transform: translate(0, 0);
}
/* 以下が追加の部分 */
/* 2つ目の要素に200msのdelayをかける */
.effect-fade:nth-of-type(2) {
  -moz-transition-delay: 200ms;
  -webkit-transition-delay: 200ms;
  -o-transition-delay: 200ms;
  -ms-transition-delay: 200ms;
}
/* 3つ目の要素に400msのdelayをかける */
.effect-fade:nth-of-type(3) {
  -moz-transition-delay: 400ms;
  -webkit-transition-delay: 400ms;
  -o-transition-delay: 400ms;
  -ms-transition-delay: 400ms;
}
/* 4つ目の要素に600msのdelayをかける */
.effect-fade:nth-of-type(4) {
  -moz-transition-delay: 600ms;
  -webkit-transition-delay: 600ms;
  -o-transition-delay: 600ms;
  -ms-transition-delay: 600ms;
}
/* 施工実績フェードイン ここまで*/


/* モバイル版ナビゲーションメニュー */
/*menu*/
.menu{
    height: 17px;
    position: fixed;
    right: 20px;
    top: 20px;
    width: 26px;
    z-index: 99;
}
.menu__line.change-color {
    background: #2a2a2a;
}
.menu__line{
    background: #fff;
    display: block;
    height: 2px;
    position: absolute;
    transition:transform .3s;
    width: 100%;
}
.menu__line--bottom{
    bottom: 0;
}
.menu__line--top.active{
    top: 9px;
    transform: rotate(45deg);
}
.menu__line--bottom.active{
    bottom: 6px;
    transform: rotate(135deg);
}
/*gnav*/
.gnav{
    background: rgba(221,221,221,0.8);
    display: none;
    height: 547px;
    position: fixed;
    width: 100%;
    z-index: 98;
    margin-left: 10%;
}
.gnav__wrap{
    display: flex;
    width: 85%;
    height: 100%;
    margin: auto;
    position: absolute;
}
.gnav__menu {
  align-self: center;
}
.gnav__menu__item{
    margin: 5.5rem 0;
}
.gnav__menu__item a{
    color: #2a2a2a;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: .1rem;
    padding: 2.5rem;
    text-decoration: none;
    transition: .2s;
}

#current-mb::after {
    display: block;
    content: '';
    position: absolute;
    width: 80%;
    height: 1px;
    margin: -8px 0 0 120px;
    background-color: #2a2a2a;
}

.menu__line.transform {
  color: #2a2a2a;
}

/* ページトップボタン */
#page_top {
    position: fixed;
    bottom: 62px;
    right: 20px;
    z-index: +1;
}
#page_top a {
    background-color: rgba(2,3,10,0.8);
    border-color: #000;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    padding: 17px 17px;
    border-color: #000;
    border: 2px;
}
 #page_top a:hover {
    background-color: rgba(210,210,210,0.8);
    color: #000;
    text-decoration: none;
}


/* 各コンテンツリンクボタン */
#link-btn {
    display: block;
    width: 40%;
    margin-top: 20px;
    padding: 15px 10px;
    background-color: #fff;
    border: 2px solid #fff;
    color: #2a2a2a;
    text-align: center;
    transition: all .3s;
    text-decoration: none;
}


/* ヒーローイメージ */
figure.hero {
  grid-column: 1 / -1;
  grid-row: hero / span 2;
}

span.top-back {
  grid-column: 1 / -1;
  grid-row: hero / span 2;
  background-color: #02030a;
  margin-left: 20%;
  height: 440px;
  z-index: -1;
}

figure.hero img {
  margin-top: 0;
  height: 87%;
  width: 80%;
  object-position: 0% 80%;
  vertical-align: bottom;
  z-index: -1;
  position: relative;  /* Edge用の設定 */
}
div.top-title {
  grid-row: sub-title;
  color: #fff;
  font-size: 3.8rem;
  font-weight: bold;
  line-height: 2.0;
  text-shadow: 0 0 5px #444444;
  text-align: end;
}


div.sub-title {
  grid-row: hero;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 0 0 5px #444444;
}

div.sub-title {
  font-size: 2rem;
  margin-top: 15px;
}

div.sub-title small {
  font-size: 0.8rem;
  line-height: 0;
}

div.sub-title a {
  text-decoration: none;
  color: #fff;
}


/* ===============会社概要=============== */
article#about {
  grid-row: title;
  grid-column: 1 / -1;

}

/* ===============メインコンテンツ=============== */
#main_A {
  grid-row: main_A;
  grid-column: 2 / -2;
}

#main_B {
  grid-row: main_B;
  grid-column: 2 / -2;
  padding-top: 30px;
}

#main_C {
  grid-row: main_C;
  grid-column: 2 / -2;
  padding-top: 30px;
}

#main_D {
  grid-row: main_D;
  grid-column: 2 / -2;
  padding-top: 30px;
}

/* ===============メインコンテンツ=============== */
section.title{
  color: #2a2a2a;
  height: auto;
}

.content-title {
  position: absolute;

}

.content-img img {
  height: 380px;
  width: 50%;
  margin-left: 50%;
  margin-top: 50px;
  filter: brightness(0.8);
}

.ly-content-img img {
  width: 90%;
  margin-left: 10%;
}
section.title h2 {
  color: #293065;
  font-size: 3rem;
  font-weight: 700;
  padding: 50px 0 25px 10px;
  font-family: 'Montserrat', sans-serif;
  color: #2a2a2a;
}

p.sub-title {
  font-size: 1.4rem;
  font-weight: bold;
  padding:0 0 25px 10px;
}

p.ber {
  display: block;
  content: "";
  padding-bottom: 1px;
  height: 1px;
  margin: 0 0 25px 10px;
  background: linear-gradient(90deg,#293065 0%,#293065 40%,#ffffff 60%,#ffffff 100%);
}

div.wrapper {
  position: relative;
}

.wrapper p {
  font-size: 1.3rem;
}

p.ly_wrapper {
  position: absolute;
  line-height: 1.7;
  padding: 10px;
  margin-top: -340px;
  margin-left: 20px;
  color: #2a2a2a;
  background-color: rgba(255,255,255,0.7);
}



.ly_wrapper span.title {
  display: block;
  font-weight: bold;
  font-size: 2.5rem;
}

.ly_wrapper span.title::after {
  content: "";
  display: block;
  position: absolute;
  width: 92%;
  height: 1px;
  top: 60px;
  background-color: #2a2a2a;
}

.ly_wrapper span.l-title::after {
  content: "";
  display: block;
  position: absolute;
  width: 92%;
  height: 1px;
  top: 60px;
  background-color: #fff;
}

.ly_wrapper span.text {
  display: block;
  margin-top: 5px;
}

#recruit section.title {
  background: linear-gradient(90deg, #DDDDDD 0%, #DDDDDD 80%, #fff 80%, #fff 100%);
}

figure.joy img {
  margin-top: 60px;
  margin-left: 20%;
  height: 400px;
}


/* ===============施工事例=============== */
section.title h2 {
  margin-left: 10px;
}

span.l-title {
  color: #fff;
}

span.l-text {
  color: #fff;
}
.title-text {
  margin: 60px 0 45px 0;
}
.title-text h2 {
  color: #293065;
  font-size: 3rem;
  font-weight: 700;
  padding: 20px 0 25px 0;
  font-family: 'Montserrat', sans-serif;
  color: #2a2a2a;
}
.title-text ::before {
  content: '';
  position: absolute;
  bottom: 0;
  width: 60px;
  height: 5px;
  background: #2a2a2a;
}

.work-comment {
  line-height: 1.5;


}

.work-comment h3 {
font-weight: bold;
padding: 15px 0 5px;
letter-spacing: 1.2px;
font-size: 1.8rem;
color: #2a2a2a;
}

.work-comment table {
  width: 100%;
  letter-spacing: 1.2px;
  font-size: 1.3rem;
  color: #2a2a2a;
  overflow: hidden;
  word-break: break-all;
  word-wrap: break-word;
}

.work-comment table th {
  width: 35%;
  padding: 15px 0 15px 0;
  font-weight: bold;
  overflow: hidden;
  font-style: normal;
  font-weight: bold;
  font-size: 100%;
  text-align: center;
  word-break: break-all;
  word-wrap: break-word;
  vertical-align: top;
}

.work-comment table td {
  text-align: left;
  vertical-align: top;
  overflow: hidden;
  word-break: break-all;
  word-wrap: break-word;
  padding: 15px 0 15px 0;
  border-bottom: solid 1px #d2d2d2;
}

@media (max-width: 400px){
  .work-comment table th {
    width:100%;
    text-align: left;
    display:block;
    margin: 0 auto;
    border:none;
    border-radius: 3px;
  }
  .work-comment table td {
    text-align: left;
    display: list-item;
    width: 100%;
    border-top: none !important;
  }
}

/* ===============お問い合わせリンク=============== */
#contact {
  display: grid;
  grid-column: 1 / -1;
  grid-row: contact;
  margin-top: 50px;
  background: linear-gradient(90deg, #DDDDDD 0%, #DDDDDD 80%, #fff 80%, #fff 100%);
}
/* .contact-title {
  padding: 40px 0 40px;
  margin: 10px 30px 10px;
  background-color: #fff;
}
.contact-title h3 {
  text-align: center;
  color: #2a2a2a;
  font-size: 3rem;
  font-weight: normal;
}

p.contact-title-eng {
  padding-top: 15px;
  letter-spacing: 0.2em;
  color:  #1e90ff;
  text-align: center;
}

p.contact-title-text {
  padding-top: 35px;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.6;
}

a#link-btn.link-btn-contact {
  margin-bottom: 0;
} */

.contact-wrapper {
  position: relative;
  align-self: center;
}

a.contact-wrapper {
  text-decoration: none;
  width: 75%;
  margin: 10% auto auto;
}

.contact_item {
  width: auto;
  font-size: 0;
  filter: brightness(70%);
}


.contact-title {
  position: absolute;
  color: #fff;
  font-size: 2.3rem;
  bottom: 0;
  top: 60%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
}

.contact-title::before {
  content: '';
  position: absolute;
  right: 0;
  left: 0;
  bottom: 25px;
  width: 60px;
  height: 5px;
  background: #fff;
  margin: auto;
}

/* ===============フッター=============== */
footer#footer-nav {
  grid-row: foot-nav;
  grid-column: 1 / -1;
  background: linear-gradient(90deg, #DDDDDD 0%, #DDDDDD 80%, #fff 80%, #fff 100%);
}

.footer-nav-wrapper {
  display: flex;
  justify-content: center;
  margin: 20px 0 40px 0;
}

footer ul a {    /* ナビゲーションメニュー 下線 */
  color: #2a2a2a;
  text-decoration: none;
  font-size: 1.4rem;
  position: relative;
  border-bottom: 1px solid #b2b2b2;
  margin-left: 20px;
}

footer ul a::after {
  position: absolute;
  bottom: -2px;
  left: 0;
  display: block;
  content: "";
  width: 100%;
  height: 2px;
  background: #2a2a2a;
  transform: scaleX(0);
  transform-origin: right top;
  transition: transform 0.3s;
}

footer ul a:hover::after {
  color: #2a2a2a;
  transform: scaleX(1);
  transform-origin: left top;
}  /* ナビゲーションメニュー 下線 ここまで */

footer li {
  padding-top: 25px;
  padding-left: 0;
  list-style: none;
}

#current-foot {
  border-bottom: 2px solid #2a2a2a;
}

ul.footer-navi_2 {
  margin-left: 35px;
}

footer#footer {
  grid-row: foot;
  grid-column: 1 / -1;
  background-color: #02030a;
}

h1.footer-logo {
  /* width: 50%; */
  max-width: 320px;
  margin: 40px 0 30px 40px;
}

.footer-logo a {
  text-decoration: none;
  font-size: 2.3rem;
  color: #fff;
}

p.footer-address {
  letter-spacing: 2px;
  line-height: 2.0;
  font-weight: bold;
  font-size: 1.2rem;
  color: #ffffff;
  margin:0 0 30px 40px;
}

p.copyright {
  color: #ffffff;
  margin-left: 40px;
  padding: 15px 0 15px;
}

/* PC版：レイアウト */
@media screen and (max-width: 1366px)  {
  .top-title h1 {
    font-size: 4.3rem;
  }
}

@media screen and (min-width: 1367px)  {
  .top-title h1 {
    font-size: 5rem;
  }
}

/* ===============タブレット端末たて版：レイアウト=============== */
@media screen and (min-width: 768px) and (max-width: 1023px)  {

  span.top-back {
    height: 595px;
  }

  p.ly_wrapper {
    margin-top: -340px;
    max-width: 345px;
  }

  a.contact-wrapper {
    width: 50%;
  }

  .contact-title::before {
    bottom: 50px;
  }

  .work img {
    width: 60%;
    height: 50%;
    margin: 20px 0 20px 20%;
  }

  .work-comment {
    width: 50%;
    margin: auto;
  }


}
/* ===============タブレット端末よこ版 : レイアウト=============== */
@media screen and (min-width: 1024px) and (max-width: 1199px) {

  .top-title h1 {
    font-size: 5rem;
  }

  span.top-back {
    height: 630px;
  }

  div.sub-title {
    margin-top: 15px;
  }

  p.ly_wrapper {
    margin-top: -340px;
    margin-left: 50px;
    max-width: 400px;
  }

  figure.recruit p {
    margin-top: -30%;
  }

  .work img {
    width: 60%;
    height: 50%;
    margin: 20px 0 20px 20%;
  }

  .work-comment {
    width: 50%;
    margin: auto;
  }


  a.contact-wrapper {
    width: 40%;
  }

  .contact-title::before {
    bottom: 50px;
  }
}

/* ===============PC版：ページ全体の設定=============== */
@media screen and (min-width: 1200px) {
  html {
    font-size: 75%;
  }

  body {
    display: grid;
    grid-template-columns: 0.5fr repeat(8,1fr) 0.5fr;
    grid-template-rows:
                [head] 100px
                [hero sub-title] 700px
                [title] auto
                [main_A] auto
                [main_B] auto
                [main_C] auto
                [main_D] auto
                [contact] auto
                [foot foot-nav] auto;
  }

  .menu {
    display: none;
  }

  .gnav {
    display: none;
  }

  #page_top a:hover {
      background-color: rgba(210,210,210,0.8);  /* ページトップボタン */
      border-color: #000;
      text-decoration: none;
  }

  /* 施工実績フェードイン */
    .effect-fade {
      opacity: 0;
      transform: translate(0, 100px);
      transition: all 800ms;
    }
    .effect-scroll {
      opacity: 1;
      transform: translate(0, 0);
    }
    /* 以下が追加の部分 */
    /* 2つ目の要素に200msのdelayをかける */
    .effect-fade:nth-of-type(2) {
      -moz-transition-delay: 200ms;
      -webkit-transition-delay: 200ms;
      -o-transition-delay: 200ms;
      -ms-transition-delay: 200ms;
    }
    /* 3つ目の要素に400msのdelayをかける */
    .effect-fade:nth-of-type(3) {
      -moz-transition-delay: 400ms;
      -webkit-transition-delay: 400ms;
      -o-transition-delay: 400ms;
      -ms-transition-delay: 400ms;
    }
    /* 4つ目の要素に600msのdelayをかける */
    .effect-fade:nth-of-type(4) {
      -moz-transition-delay: 600ms;
      -webkit-transition-delay: 600ms;
      -o-transition-delay: 600ms;
      -ms-transition-delay: 600ms;
    }
    /* 施工実績フェードイン ここまで*/

  /* PC版：ヒーローイメージ */
  figure.hero {
    grid-row: head / span 2;
  }

  span.top-back {
    grid-row: head / span 2;
    height: 87%;
  }

  figure.hero img {
    object-fit: cover;
    height: 67%;
    width: 82%;
  }
  .sub-title {
    display: none;
  }
  .top-title h1 {
    font-size: 6.5rem;
    margin: 10% 8% 0 0;
  }

  div.top-title {
    writing-mode: unset;
  }

  .sub-title h2 {
    margin-top: 20%;
    font-size: 3rem;
  }

  .sub-title small {
    font-size: 1rem;
    font-weight: normal;
    line-height: 1;
  }


  /* PC版：ナビゲーションメニュー */
  .header-logo {
    grid-row: head;
    display: block;
    grid-column: 2 / 4;
    width: 220px;
    height: 100px;
    margin: 25px 0 0 20px;
    z-index: 10;
  }
  nav.nav-PC {
    display: grid;
    grid-row: head;
    justify-self: end;
    align-self: center;
    margin: 70px 0 50px;
    z-index: 10;
  }

  nav.nav-PC ul {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-column-gap: 55px;
    column-gap: 55px;
  }

  nav.nav-PC a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
    border-bottom: 1px solid #dddddd;
  }

  nav.nav-PC a::after {
   position: absolute;
   bottom: -2px;
   left: 0;
   display: block;
   content: "";
   width: 100%;
   height: 2px;
   background: #fff;
   transform: scaleX(0);
   transform-origin: right top;
   transition: transform 0.3s;
  }
  nav.nav-PC a:hover::after {
    color: #fff;
    transform: scaleX(1);
    transform-origin: left top;
  }

  #current a {
    border-bottom: 2px solid #fff;
  }

/* PC版：各コンテンツボタン */
  #link-btn {
    position: absolute;
    width: 20%;
    margin-left: 50px;
    margin-top: -60px;
  }

  #link-btn:hover {
    background-color: rgba(41,48,101,0.8);
    border-color: #293065;
  }

  /* PC版：メインコンテンツ */

  #about {
    margin-top: 100px;
  }

  .title-wrapper {
    display: inline-block;
  }
  section.title h2 {
    padding: 70px 0 0 38px;

  }

  p.sub-title {
    padding-top: 20px;
    margin-left: 30px;
  }

  p.ber {
    margin-left: 35px;
  }

  .wrapper figure img {
    height: auto;
    width: 60%;
    margin: 0 0 0 40%;
    overflow: hidden;
  }


  p.ly_wrapper {
    margin: -36% 0 0 10%;
    width: 400px;
  }

  p.ly_wrapper span.text {
    font-size: 1.2rem;
    line-height: 2.2;
  }

/* 施工事例 */

#main_A {
  margin-top: 150px;
}

#main_B, #main_C, #main_D {
  margin-top: 50px;
}

.title-text h2 {
  font-size: 5.5rem;
  margin-left: 5%;
  margin-bottom: 50px;
  padding: 20px 0 25px 10px;
}

figure.work {
  width: 80%;
  margin: auto;
}

.work img {
  width: 60%;
  height: 50%;
  margin: 20px 0 20px 20%;
}

.work-comment {
  width: 50%;
  margin: auto;
}

/* PC版：お問い合わせリンク */
#contact {
  grid-column: 1 / -1;
  grid-row: contact;
  background-color: #f1f5f7;
}
a.contact-wrapper {
  width: 600px;
}

.contact-title {
  margin: 50px 0 50px;
  top: 45%;
}

.contact-title::before {
  bottom: 55px;
}


a#link-btn.link-btn-contact {
  position: static;
  margin: 2% auto 0;
  width: 60%;
  max-width: 320px;
}

/*ホバーエフェクト*/
.work_item {
  width: inherit;
}

figure.work_item {
  overflow: hidden;
}

figure.contact_item {
  overflow: hidden;
}

.zoom-in-img img {
  transition: .8s ease-in-out;
}

.zoom-in-img:hover img {
  filter: brightness(0.6);
  transform: scale(1.1,1.1);
}


a#link-btn.link-btn-contact {
  position: static;
  margin: 2% auto 0;
  width: 60%;
  max-width: 320px;
}

/* PC版：お知らせ */
  .news-title {
    margin-top: 50px;
  }

  /* PC版：フッター */
  footer#footer {
    background: linear-gradient(90deg, #DDDDDD 0%, #DDDDDD 80%, #fff 80%, #fff 100%);
  }

  .footer-nav-wrapper {
    justify-content: flex-end;
    margin: 150px 0 0 0;
  }

  .footer-navi_1 {
    margin-right: 10%;
  }

  .footer-navi_2 {
    margin-right: 10%;
  }

  p.footer-address {
    color: #2a2a2a;
    margin-left: 8%;
  }

  h1.footer-logo {
    max-width: none;
    margin: 170px 0 60px 150px;
  }

  h1.footer-logo a {
    font-size: 3.5rem;
    color: #2a2a2a;
  }

  p.copyright {
    background-color: #02030a;
    margin: 0;
    text-align: center;
  }
  }
