/* サブページ：Business */
#sub-maincnts section>div {
  margin-bottom: 10rem;
}
#business {
  .cnts-title {
    padding-bottom: 2rem;
  }
  .cnts-title .jp-text {
    font-size: 2.3rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
  }
  .cnts-title .jp-text span {
    color: #5E9ACC;
    padding-right: 20px;
  }
  section:first-child .cnts-text p {
    padding-bottom: 2rem;
  }
  section:nth-child(n+2) {
    .cnts-main {
      display: flex;
      flex-direction: row-reverse;
      align-items: stretch;
      gap: 3rem;
    }
    .cnts-main .cnts-text {
      width: 50%;
      position: relative;
    }
    .cnts-main .cnts-text a {
      position: absolute;
      bottom: 0;
      right: 0;
      color: #5E9ACC;
      text-decoration: none;
    }
    .cnts-main p {
      padding-bottom: 2rem;
      border-left: 1px solid #5e9acc;
      padding: 1em;
      margin-left: 30px;
      height: 100%;
    }
    .cnts-main .cnts-img {
      width: 50%;
    }
  }
  .cnts-text {
    line-height: 2.25;
  }
  .civil-structures .cnts-img {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .civil-structures .cnts-img i {
    padding-left: 1rem;
  }
  .civil-structures .cnts-img div {
    width: 33.33%;
    border: 0.5px solid #fff;
  }
  .civil-structures .cnts-img > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .civil-structures .cnts-img > div img {
    width: 100%;
    max-width: 186px;
    padding-bottom: 1.5rem;
  }
  .civil-structures .cnts-img a {
    width: 100%;
    background: #152537;
    padding: 1.5em 2em;
    text-align: center;
    color: #fff;
    text-decoration: none;
  }
  .cnts-img img {
    width: 100%;
  }
  .cnts-text .btn-pd,
  .cnts-img .btn-pd {
    width: unset;
    padding: 1.2rem 3rem;
    display: inline;
  }
  .cnts-img i {
    padding-left: 0;
  }
  .btn-wrap {
    text-align: right;
  }
  .pc-none {
    display: none;
  }
  .sp-none {
    display: block;
    text-align: left;
  }
  @media screen and (max-width: 1200px) {
    .pc-none {
      display: block;
    }
    .sp-none {
      display: none;
    }
    section:nth-child(n+2) {
      .cnts-main {
        display: flex;
        align-items: unset;
        gap: unset;
        flex-direction: column;
      }
      .cnts-main .cnts-text {
        width: 100%;
      }
      .cnts-main p{
        padding-bottom: 0;
      }
      .cnts-main .cnts-img {
        width: 100%;
      }
    }
    .cnts-text{
      padding-bottom: 2rem;
    }
    .cnts-img img{
      margin-bottom: 2rem;
    }
    .civil-structures .cnts-img div {
      width: 50%;
    }
    .bridge .cnts-main .cnts-text p,
    .detail-bridge .cnts-main .cnts-text p,
    .port .cnts-main .cnts-text p,
    .jr-manager .cnts-main .cnts-text p {
      margin-left: 0px;
      padding: 1em;
    }
  }
  @media screen and (max-width: 959px) {
    .cnts-title .jp-text {
      font-size: 2.2rem;
    }
    .cnts-title {
      padding-bottom: 2.5rem;
    }
  }
  @media screen and (max-width: 700px) {
    .cnts-title .jp-text {
      font-size: 4.5vw;
    }
    .cnts-title {
      padding-bottom: 5vw;
    }
    .civil-structures .cnts-img {
      flex-direction: row;
      flex-wrap: wrap;
      /* gap: 5rem 0rem; */
      font-size: 14px;
    }
    .cnts-img img {
      padding-bottom: 0rem;
    }
    .civil-structures .cnts-img > div {
      width: 50%;
    }
    .btn-wrap {
      text-align: center;
    }
    .bridge .cnts-main .cnts-text p,
    .detail-bridge .cnts-main .cnts-text p,
    .port .cnts-main .cnts-text p,
    .jr-manager .cnts-main .cnts-text p {
      margin-left: 0px;
      padding: 1em;
    }
  }
  @media screen and (max-width: 599px) {
    section>div {
      margin-bottom: 3rem;
    }
    .cnts-title .jp-text {
      font-size: 1.2rem;
    }
    .cnts-text {
      line-height: 2;
      padding-bottom: 1.5rem;
    }
    .cnts-main .cnts-text p {
      font-size: 0.9rem;
    }
    .civil-structures .cnts-img {
      gap: 0rem;
    }
    .civil-structures .cnts-img a {
      font-size: 14px;
      height: 85px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .civil-structures .cnts-img i {
      padding-left: 0.5rem;
    }
    .cnts-text .btn-pd,
    .cnts-img .btn-pd {
      width: 100%;
      padding: 1.5rem 1rem;
      display: block;
      font-size: 1rem;
      max-width: 375px;
      margin: 0 auto;
      box-sizing: border-box;
      height: unset;
    }
  }
}
