/* TOP ページ */
#top .kv {
  background: url(../img/kv01.jpg);
  height: 100vh;
  max-height: 1080px;
  background-size: cover;
  background-position: center bottom;
  width: 100%;
  z-index: 10;
  position: relative;
  .catch {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    height: 50%;
    transform: initial;
    margin: auto;
    max-width: 630px;
    img{
      width: 100%;
      margin: auto;
      display: block;
    }
    .border{
      width: 100%;
      height: 3px;
      background-color: #fff;
      box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    }
    p{
      text-align: center;
      font-size: 70px;
      font-weight: bold;
      color: #fff;
      line-height: 70px;
      margin: 0;
      text-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    }
    .catch-top{
      margin-bottom: 24px;
    }
    .catch-bottom{
      margin-top: 24px;

    }
  }

  .slant-bg {
    width: 100%;
    padding: 100px 0;
    clip-path: polygon(0 0, 100% 0, 100% 10%, 0 100%);
    background-color: #75021b;
    background: linear-gradient(to right, #b50000 30%, #7c1c00);
    position: absolute;
    top: 98%;
    mix-blend-mode: multiply;
  }
  .slant-bg2 {
    width: 100%;
    padding: 100px 0 60px;
    clip-path: polygon(0 0, 50% 0, 0 80px);
    background-color: rgb(255, 255, 255);
    position: absolute;
    top: 100%;
    opacity: 0.3;
  }
  @media (max-width: 1099px) {
    .catch {
      left: 0;
      top: 0;
      bottom: 0;
      right: 0;
      height: 50%;
      transform: initial;
      margin: auto;
      width: 90%;
      .border{
        width: 100%;
        height: 3px;
        background-color: #fff;
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
      }
  
      p{
        text-align: center;
        font-size: 39px;
        font-weight: bold;
        color: #fff;
        line-height: 70px;
        margin: 0;
        text-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
      }
      .catch-top{
        margin-bottom: 0;
      }
      .catch-bottom{
        margin-top: 0;

      }

    }
    .slant-bg {
      width: 100%;
      padding: 40px 0;
      clip-path: polygon(0 0, 100% 0, 100% 20px, 0 100%);
      background-color: #75021b;
      background: linear-gradient(to right, #b50000 30%, #7c1c00);
      position: absolute;
      top: calc(100% - 20px);
      mix-blend-mode: multiply;
    }
  
  }
}
@media (max-width: 1099px) {
  #top .kv {
    background: url(../img/kv01sp.jpg);
    background-size: cover;
    background-position: center bottom;  
  }
}
#top {
  .section01 {
    padding-top: 220px;
    padding-bottom: 60px;
    background: url(../img/about-us.svg);
    background-repeat: no-repeat;
    background-position: right;
    .top_about01 {
      max-width: 790px;
    }
    .top_about02 {
      max-width: 290px;
    }
    .top_about_img {
      clip-path: polygon(0 0, 100% 0, 100% 66%, 0 100%);
    }
    .about_text {
      margin-top: -3em;
      line-height: 1.8em;
      font-weight: bold;
      width: fit-content;
      margin-right: 0;
      margin-left: auto;
    }
  }


  .fixed-bg01 {
    height: 260px;
    position: relative;
    background: linear-gradient(to right, #b50000 30%, #7c1c00);
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
  }
  .fixed-bg01::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
    background-image:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5) ), url(../img/fixed-bg01.jpg);
    background-position: center;
    background-attachment: fixed;
    height: calc(100% - 20px);
    width: 100%;
  }
  @media (max-width: 1099px) {
    .section01 {
      padding-top: 110px;
      padding-bottom: 30px;
      background:none;
      .top_about01 {
        max-width: 100%;
      }
      .top_about02 {
        max-width: 290px;
      }
      .top_about_img {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
      }
      .about_text {
        margin-top: 1em;
        line-height: 1.8em;
        font-weight: 500;
        text-align: left;
      }
    }
    .fixed-bg01 {
      height: 60px;
      position: relative;
      position: relative;
      z-index: 2;
      background: #ffffff;
      &::after{
        position: absolute;
        content: '';
        clip-path: polygon(0 50px, 100% 0, 100% 10px, 0 100%);
        background: linear-gradient(to right, #b50000 30%, #7c1c00);
        display: block;
        width: 200%;
        height: 100%;
      }
    }
    .fixed-bg01::before {
      display: none;
    }
  }

  .section02 {
    margin-top: 60px;
    position: relative;
    z-index: 1;
   &::before{
    position: absolute;
    content: url(../img/services.svg);
    left: 0;
    top: 5%;
    mix-blend-mode: multiply;
  }
 }
  .jigyou01 {
    width: 100%;
    height: 630px;
    position: relative;
    z-index: -1;
    .jigyou01_image{
      max-width: 1100px;
      margin: auto;
      position: relative;
      img {
        width: 800px;
        position: absolute;
        top: -100px;
      }
    }
    &::before {
      content: "";
      display: block;
      width: 100%;
      height: 100%;
      background-color: #F2F4F7;
      clip-path: polygon(0 200px, 100% 0px, 60% 100%, 0 100%);
      position: absolute;
      z-index: -1;
      top: 0;
      bottom: 0;
    }
    .jisseki_btn{
      position: relative;
      top: 360px;
      left: 0;right: 0;
      margin: auto;
    }
  }
  .jigyou02 {
    width: 100%;
    position: relative;

    .jigyou02_imageArea{
      display: flex;
      justify-content: space-between;
      max-width: 1100px;
      margin: auto;
      flex-direction: row-reverse;
      position: relative;
      margin-bottom: 3em;
      margin-top: 5em;
    }
    .jigyou02_image{
      margin-right: calc(50% - 50vw);
      width: 48%;flex: 1;padding-top: 60px;
    }
    .taioukanou{
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      transform: translate(-50%);
      text-align: center;
      color: #ffffff;
      font-weight:bold;
      p{
        margin-top: 0;
        font-size: 32px;
        text-shadow: 0 3px 6px rgb(0, 0, 0);
      }
      p:first-child{
        font-size: 40px;
      }
    }
    .jigyou02_textArea{
      width: 50%;
    }
    .jigyou02_head{
      font-weight: bold;
      margin: 2em 0 14px;
      font-size: 1.2em;
    }
    .jigyou02_text{
      line-height: 1.8em;
      font-weight: bold;
      margin: 0;
    }
  }
  .c{
    background-color: #B40600;
    height: 100px;
    width: 100%;
    margin-top: 100px;
    position: relative;
    z-index: -1;
  }
  .aaa::before{
    content: "";
    position: absolute;
    width: 100%;
    background-color: #B40600;
    height: 100%;
    bottom: -10px;
    z-index: -1;
  }
  .aaa::after{
    content: "";
    position: absolute;
    width: 100%;
    background-color: #ffffff;
    height: 100%;
  }
  .fixed-bg02 {
    height: 400px;
    background-image:linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5) ), url(../img/fixed-bg01.jpg);
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin-top: -230px;
  }
  .bbb{
    height:240px;
    width: 200%;
    background: linear-gradient(to right, #b50000 30%, #7c1c00);
    left:50%;
    transform:translate(-50%,0) rotate(-4deg);
    position: relative;
    z-index: -99;
    top: -120px;
  }
  @media (max-width: 1099px) {
    .section02 {
      margin-top: -50px;
     &::before{
      display: none;
    }
   }
    .jigyou01 {
      padding-top: 50px;
      padding-bottom: 1em;
      width: 100%;
      height: auto;
      position: static;
      background-color: #F2F4F7;
      .jigyou01_image{
        img {
          position: static;
          width: 100%;
        }
      }
      &::before {
        display: none;
      }
      .jisseki_btn{
        position: static;
        top: 480px;
        left: 0;right: 0;
      }
    }
    .jigyou02 {
      width: 100%;
      position: relative;
      &::before {
        content: "";
        display: none;
      }
      .jigyou02_imageArea{
        display: flex;
        justify-content: space-between;
        max-width: 1100px;
        margin: auto;
        flex-direction: row-reverse;
        position: relative;
        margin-bottom: 3em;
      }
      .jigyou02_image{
        margin-right: 0;
        width: 100%;flex:initial;padding-top: 60px;padding-bottom:2em;
        img{
          width: 80%;
          margin: auto;
        }
        &::before {
          content: "";
          display: block;
          width: 100%;
          height: 100%;
          background-color: #B40600;
          clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0% 100%);
          position: absolute;
          z-index: -1;
          top: 0;
          bottom: 0;
        }
      }
      .taioukanou{
        position: absolute;
        top: 60%;
        left: 50%;
        width: 100%;
        transform: translate(-50%);
        text-align: center;
        color: #ffffff;
        font-weight:500;
        padding: 0 20px;
        text-align: left;
        p{
          font-size: 16px;
          text-shadow: 0 3px 6px rgb(0, 0, 0);
          line-height: 1.5em;
          margin-left: 1em;
        }
        p:first-child{
          margin-left: 0em;
          font-size: 22px;
          margin-bottom: 0.5em;
        }
      }
      .jigyou02_textArea{
        width: 100%;
      }
      .jigyou02_text{
        line-height: 1.8em;
        font-weight: 500;
      }
    }
    .c{
      display: none;
    }
    .aaa{
      display: none;
    }
    .fixed-bg02 {
      display: none;
    }
    .bbb{
      height:10px;
      width: 200%;
      background: linear-gradient(to right, #b50000 30%, #7c1c00);
      left:50%;
      transform:translate(-50%,0) rotate(-4deg);
      position: relative;
      z-index: -99;
      margin-top: 3em;
      top: 0;
    }
  }
  .section03{
    background-image: url(../img/recruit.svg);
    background-repeat: no-repeat;
    background-position: right;
    margin-top: -140px;
    padding: 80px 0 120px;
  }
  .recruitBody{
    gap: 5em;
    margin-top:60px;
    position: relative;
    .recruitImage{
      width: 300px;
    }
    .recruitBody_text{
      font-weight: bold;
      color: #B40600;
      p{
        line-height: 1.8em;
      }
      p:first-child{
        font-size: 28px;
        margin-top: 0;
      }
    }
    .www{
      position: absolute;
      bottom: 0;
      right: 20px;
    }
  }
  @media (max-width: 1099px) {
    .section03{
      background-image:none;
      margin-top: 0px;
      padding: 20px 0 40px;
    }
    .recruitBody{
      display: block;
      margin-top:30px;
      .recruitImage{
        width: 100vw;
        margin: 0 calc(50% - 50vw);
      }
      .recruitBody_text{
        margin-top: -6.5em;
        font-weight: 500;
        color: #B40600;
        p{
          line-height: 1.8em;
          color: black;
        }
        p:first-child{
          color: #B40600;
          font-size: 18px;
        }
      }
      .www{
        position: static;
        margin-top: 2em;
      }
    }
}
}
/* 下層ページ */
#lower main .kv {
  height: 360px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  z-index: 1;
  position: relative;
  color: white;
  h1 {
    display: block;
    text-align: center;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 100px;
    margin: 0 auto;
    text-shadow: 0px 3px 6px black;
    font-size: 56px;
    height: 72px;
    font-weight: bold;
    letter-spacing: 2px;
  }
  .h1-en {
    display: block;
    text-align: center;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 60px;
    margin: 0 auto;
    text-shadow: 0px 3px 6px black;
    font-size: 26px;
  }

  .slant-bg {
    width: 100%;
    padding: 40px 0;
    clip-path: polygon(0 0, 100% 0, 100% 10%, 0 100%);
    background-color: #75021b;
    background: linear-gradient(to right, #b50000 30%, #7c1c00);
    position: absolute;
    top: 100%;
    mix-blend-mode: multiply;
  }
  @media (max-width: 1099px) {
    height: 300px;
    h1 {
      font-size: 30px;
      bottom: 120px;
      height: 40px;
      font-weight: 500;
    }
    .h1-en {
      font-size: 14px;
      bottom: 100px;
    }
    .slant-bg {
      padding: 20px 0;
    }
  }
}
h2{
  position: relative;
  margin-bottom: 60px;
}
.h2-en{
  font-size: 14px;color: #B40600;position: absolute;left: 50px;bottom: -10px;
}

#lower .section01{
  margin: 140px auto 100px;
}
#lower section{
  margin-bottom: 120px;
}
@media (max-width: 1099px) {
  h2{
    position: relative;
    margin-bottom: 30px;
  }
  #lower .section01{
    margin: 70px auto 50px;
  }
  #lower section{
    margin-bottom: 60px;
  }
}
/* 会社概要 */
#lower .campany .kv {
  background-image: url(../img/campany-kv.jpg);
  background-position: bottom;
}

@media (max-width: 1099px) {
  #lower .campany .kv {
    background-image: url(../img/campany-kv-sp.jpg);
  }
}
.massage_text{
  max-width: 800px;
  line-height: 35px;
  margin: auto;
}
.table_area{
  .table_row{
    display: flex;
    border-bottom: solid 1px #B40600;
    & p:first-child{
      width: 180px;
      flex-shrink: 0;
      font-weight: bold;
    }
    p{
      padding: 0.5em 0  0.5em 3em;
    }
  }
}
@media (max-width: 1099px) {
  .table_area{
    .table_row{
      display: block;
      border-bottom: solid 1px #B40600;
      & p:first-child{
        width: 100%;
        font-weight: 500;
        margin:1em 0 0.5em;
      }
      p{
        margin: 0 0 1em;
        padding:  0;
        font-weight: 400;
        line-height: 1.5em;
      }
    }
  }
}
.access_area{
  .access_top{
    margin-bottom: 1em;
    display: flex;
    .access_image{
      width: 50%;
      height: fit-content;
    }
    div{
      text-align: center;
      width: 50%;
      .logo_red{
        width: 117px;
        display: block;
        margin: auto;
      }
      .access_name{
        border-bottom: solid 3px #B40600;
        display: inline-block;
        font-size: 22px;
        padding: 1.3em 0.5em;
        letter-spacing: 0.1em;
        margin: 0;
        font-weight: bold;
      }
      .access_adress{
        line-height: 26px;
        font-weight: normal
      }
    }
  }
}
@media (max-width: 1099px) {
  .access_area{
    .access_top{
      margin-bottom: 1em;
      display: block;
      .access_image{
        width: 100%;
        height: auto;
      }
      div{
        width: 100%;
        .access_name{
        font-weight: 500;}
      }
    }
  }
}
#lower .section04{
  background-color: #F2F4F7;padding:60px 0 120px;margin-bottom: 0;
  .award_area{
    ul{
      display: flex;
      flex-wrap: wrap;
      gap: 1em;
      li{
        background-color: #ffffff;
        width: 32%;
        p{
          padding: 1em 2em;
          margin: 0;
      }
      .awd-bold{
        font-weight: bold;
      }
      }
    }
  }
}
@media (max-width: 1099px) {
  #lower section.section04{
    background-color: #F2F4F7;padding:30px 0 60px;margin: 0;
    .award_area{
      ul{
        display: flex;
        li{
          background-color: #ffffff;
          width: 47%;
          p{
            padding: 0.5em 1em;
            margin: 0;
            line-height: 1.3em;
          }
          .awd-bold{
            font-weight: 500;
          }
    
        }
      }
    }
  }
}
/* 施工実績 */
#lower .works .kv {
  background-image: url(../img/works-kv.jpg);
  background-position: bottom;
}
@media (max-width: 1099px) {
  #lower .works .kv {
    background-image: url(../img/works-kv-sp.jpg);
  }
}
#lower .works .section01{
  margin: 140px auto 200px;
}
.works_h2{
  font-size: 32px;
  text-align: center;
  font-weight: 500;
  margin-bottom: 60px;
}
.business{
  position: relative;
}
.business h3{
    font-family: noto-sans, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    color: #3B4043;
    position: relative;
    margin-top: 5em;
    span{
      background-color: #fff;
    }
    &::before {
      content: "";
      display: block;
      width: 80%;
      border-top: solid 2px var(--color_main);
      
      position: absolute;
      top: 50%; /* 上下中央寄せ */
      transform: translateY(-50%);
      z-index: -1; /* 背面に配置 */
    }
}
.works .business:nth-of-type(odd)  h3{
    span{
      padding: 0 1em;
    }
    &::before {
    }
}
.works .business:nth-of-type(even)  h3{
  text-align: right;
  margin-right: 2em;
    span{
      padding: 0 1em;
    }
    &::before {
      right: 0;
    }
}
.business:nth-of-type(odd) p{
  max-width: 536px;
  margin-left: 50px;
}
.business:nth-of-type(even) p{
  max-width: 536px;
  margin-right: 50px;
  margin-left: auto;
}
.business img{
  width: 474px;
  position: absolute;
  top: -30px;
  right: 0;
}
.business:nth-of-type(odd) img{
  right: 0;
}
.business:nth-of-type(even) img{
  left: 0;
}
@media (max-width: 1099px) {
  #lower .works .section01{
    margin: 70px auto 50px;
  }
  
  .business h3{
    margin-top: 1em;
    &::before {
      width: 100%;
    }
  }
  .works .business:nth-of-type(odd)  h3{
    span{
      padding: 0 1em 0 0 ;
    }
    &::before {
    }
}
.works .business:nth-of-type(even)  h3{
  text-align: left;
    span{
      padding: 0 1em 0 0 ;
    }
    &::before {
      right: 0;
    }
}

.business:nth-of-type(odd) p{
  max-width: 536px;
  margin-left: 0;
}
.business:nth-of-type(even) p{
  max-width: 536px;
  margin-right: 0;
  margin-left: auto;
}
  .business img{
    width: 100%;
    position: static;
    margin: 0 auto;
    top: 0;
  }
}


.works_list li{
  display: flex;
  gap: 60px;
  margin-bottom: 60px;
  img{
    width: 360px;
  }
  div{
    .works_name{
      font-family: noto-sans, sans-serif;
      font-weight: 700;
      font-style: normal;
      font-size: 24px;
      margin: 0 0 1.5em;
      line-height: 1.4em;
      color: #3B4043;
      &::before {
        content: "";
        padding-bottom: 1em;
        display: block;
        width: clamp(6px, 10vw, 120px);
        border-top: solid 2px var(--color_main);
      }
    }
    .works_detail{
      line-height: 2em;
      font-weight: 400;
      p{
        margin: 0 0 0.7em;
      }
      .works_detail_head{
        padding-right: 1em;font-weight: bold;flex-shrink: 0;
      }
    }
  }
}
@media (max-width: 1099px) {
  .works_h2{
    font-size: 22px;
    margin-bottom: 30px;
  }
  .works_list li{
    display: block;
    margin-bottom: 30px;
    img{
      width: 100%;
    }
    div{
      .works_name{
        font-size: 18px;
        margin: 1em 0 0.5em;
        &::before {
          display: none;
        }
      }
      .works_detail{
        line-height: 2em;
        font-weight: 400;
        margin: 0;
      p{
        margin-bottom: 5px;
      }
      }
      .works_detail_head{
        padding-right: 1em;font-weight: 500;flex-shrink: 0;
      }
    }
  }  
}
/* 採用情報 */
#lower .recruit .kv {
  background-image: url(../img/recruit-kv.jpg);
  background-position: bottom;
}
@media (max-width: 1099px) {
  #lower .recruit .kv {
    background-image: url(../img/recruit-kv-sp.jpg);
  }
}
.requirements{
  .requirements_h3{
    font-size: 32px;
    font-weight: bold;
    color: #B40600;
    text-align: center;
    margin: 120px auto 30px;
    &:first-child{
      margin: 60px auto 30px;
    }
  }
  
}
@media (max-width: 1099px) {
  .requirements{
    .requirements_h3{
      font-weight: 500;
      font-size: 22px;
      color: #B40600;
      text-align: center;
      margin: 60px auto 15px;
      &:first-child{
        margin: 30px auto 15px;
      }
    }
  }  
}
/* contact */
#lower .contact .kv {
  background-image: url(../img/contact-kv.jpg);
}

@media (max-width: 1099px) {
  #lower .contact .kv {
    background-image: url(../img/contact-kv-sp.jpg);
  }
}

.contact .section01 {
  form {
    margin-top: 60px;
    p {
      font-weight: bold;
      margin: 30px 0 18px;
    }
    input,
    textarea {
      width: 100%;
      border: none;
      background-color: #f2f4f7;
      padding: 1em;
    }
    input {
      height: 60px;
    }
    .agree {
      text-align: center;
    }
    input[type="checkbox"] {
      width: 20px;
      height: auto;
      text-align: center;
    }
    textarea {
      height: 120px;
    }
    .privacy-policy {
      max-width: 740px;
      height: 280px;
      padding: 20px;
      overflow-y: scroll;
      margin: 2em auto;
      background-color: #f2f4f7;
      font-weight: normal;
    }
  }
  @media (max-width: 1099px) {
    margin: 80px auto 40px;
    form {
      margin-top: 30px;
      p {
        font-weight: 500;
      }
    }

}
/* バリエーションエラー用 */
span.validation-error {
  color: rgb(255, 69, 58);
}
}