
/*===============================================
●共通
===============================================*/



/*===============================================
●画面の横幅が813px以上(タブレット・PC)
===============================================*/
@media screen and (min-width: 813px) {

  .sub-page-main-img {
    background: url(../images/business/kv.jpg) center center no-repeat;
    background-size: cover;
  }

  .sub-page-main-img > h1 {
    width: 90%;
    max-width: 818px;
  }

  /* 事業内容 */
  .box-detail {
    padding: 115px 0 0 0;
  }

  .box-detail > .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 95%;
    max-width: 1400px;
    margin: 120px auto 0;
  }

  .box-detail > .inner > div {
    width: 48%;
    max-width: 640px;
    text-align: left;
  }

  .box-detail > .inner > div > p:nth-of-type(1) {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
  }

  .box-detail > .inner > div > p:nth-of-type(2) {
    margin: 40px 0 0 0;
    line-height: 2;
  }

  .box-detail > .inner > div > img:nth-of-type(2){
    margin-top: 60px;
  }

  /* 事業の流れ */
  .box-flow {
    margin: 120px auto 0;
    padding: 115px 0 60px 0;
    background-color: #E2E2D9;
  }

  .box-flow > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 95%;
    max-width: 1400px;
    margin: 100px auto 0;
  }

  .box-flow > ul > li:nth-of-type(2n-1) {
    width: 16%;
    max-width: 240px;
  }

  .box-flow > ul > li:nth-of-type(2n-1) > div {
    width: 100%;
    height: 128px;
    padding-top: 10px;
    background-color: #fff;
  }

  .box-flow > ul > li:nth-of-type(2n-1) > div > p:nth-of-type(1) {
    font-size: 18px;
    font-weight: 700;
    color: #CEBC36;
    letter-spacing: 0;
  }

  .box-flow > ul > li:nth-of-type(2n-1) > div > img {
    width: auto;
    height: 35px;
    margin: 5px auto 0;
  }

  .box-flow > ul > li:nth-of-type(2n-1) > div > p:nth-of-type(2) {
    margin: 10px auto 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
  }

  .box-flow > ul > li:nth-of-type(2n-1) > p {
    margin-top: 20px;
    text-align: left;
    line-height: 1.8;
    letter-spacing: 0;
  }

  .box-flow > ul > li:nth-of-type(2n) {
    width: 50px;
    padding-top: 56px;
  }

  .box-flow > ul > li:nth-of-type(2n) > img {
    width: 40px;
    margin: 0 auto;
  }

  /* 施工実績 */
  .box-achievement {
    margin: 0 auto;
    padding-top: 115px;
  }

  .box-achievement > .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 95%;
    max-width: 1400px;
    margin: 120px auto 0;
  }

  .box-achievement > .inner > ul {
    width: 48%;
    max-width: 640px;
  }

  .box-achievement > .inner > ul:nth-of-type(1) > li {
    margin-bottom: 80px;
  }

  .box-achievement > .inner > ul:nth-of-type(1) > li:nth-of-type(2n) {
    float: right;
  }

  .box-achievement > .inner > ul:nth-of-type(1) > li > img {
    width: 440px;
  }

  .box-achievement > .inner > ul:nth-of-type(1) > li > p {
    width: 440px;
    margin-top: 10px;
    font-size: 14px;
    text-align: right;
  }

  .box-achievement > .inner > ul:nth-of-type(2) {
    border-top: 1px solid #8D8D7D;
  }

  .box-achievement > .inner > ul:nth-of-type(2) > li {
    padding: 20px 0;
    text-align: left;
    border-bottom: 1px solid #8D8D7D;
  }

  .box-achievement > .inner > ul:nth-of-type(2) > li > p:nth-of-type(1) {
    font-weight: 700;
    color: #CEBC36;
  }

  .box-achievement > .inner > ul:nth-of-type(2) > li > p:nth-of-type(2) {
    margin-top: 10px;
    font-size: 24px;
  }

  .box-achievement > .inner > ul:nth-of-type(2) > li > p:nth-of-type(3) {
    margin-top: 5px;
  }

}

/*===============================================
●画面の横幅が812px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 812px) {

  .sub-page-main-img {
    background: url(../images/business/kv_sp.jpg) center center no-repeat;
    background-size: cover;
  }

  .sub-page-main-img > h1 {
    width: 65%;
  }

  /* 事業内容 */
  .box-detail {
    padding-top: 60px;
  }

  .box-detail > .inner {
    width: 90%;
    margin: 40px auto 0;
  }

  .box-detail > .inner > div {
    text-align: left;
  }

  .box-detail > .inner > div:nth-of-type(2) {
    margin: 40px auto 0;
  }

  .box-detail > .inner > div > p:nth-of-type(1) {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
  }

  .box-detail > .inner > div > p:nth-of-type(2) {
    margin: 30px 0 0 0;
    line-height: 2;
  }

  .box-detail > .inner > div > img:nth-of-type(2){
    margin-top: 20px;
  }


  /* 事業の流れ */
  .box-flow {
    margin: 70px auto 0;
    padding: 65px 0;
    background-color: #E2E2D9;
  }

  .box-flow > ul {
    width: 90%;
    margin: 50px auto 0;
  }

  .box-flow > ul > li:nth-of-type(2n-1) {
    width: 100%;
    margin: 0 auto;
  }

  .box-flow > ul > li:nth-of-type(2n-1) > div {
    width: 240px;
    height: 128px;
    margin: 0 auto;
    padding-top: 10px;
    background-color: #fff;
  }

  .box-flow > ul > li:nth-of-type(2n-1) > div > p:nth-of-type(1) {
    font-size: 18px;
    font-weight: 700;
    color: #CEBC36;
    letter-spacing: 0;
  }

  .box-flow > ul > li:nth-of-type(2n-1) > div > img {
    width: auto;
    height: 35px;
    margin: 5px auto 0;
  }

  .box-flow > ul > li:nth-of-type(2n-1) > div > p:nth-of-type(2) {
    margin: 10px auto 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0;
  }

  .box-flow > ul > li:nth-of-type(2n-1) > p {
    margin-top: 20px;
    text-align: left;
    line-height: 1.8;
    letter-spacing: 0;
  }

  .box-flow > ul > li:nth-of-type(2n) {
    width: 17px;
    margin: 20px auto;
  }

  .box-flow > ul > li:nth-of-type(2n) > img {
    width: 17px;
    margin: 0 auto;
  }

  /* 施工実績 */
  .box-achievement {
    margin: 0 auto;
    padding-top: 75px;
  }

  .box-achievement > .inner {
    width: 90%;
    margin: 50px auto 0;
  }

  .box-achievement > .inner > ul {

  }

  .box-achievement > .inner > ul:nth-of-type(1) > li {
    margin-bottom: 50px;
  }

  .box-achievement > .inner > ul:nth-of-type(1) > li > img {
    width: 80%;
  }

  .box-achievement > .inner > ul:nth-of-type(1) > li:nth-of-type(2n) > img {
    margin-left: 20%;
  }

  .box-achievement > .inner > ul:nth-of-type(1) > li > p {
    width: 80%;
    margin-top: 10px;
    font-size: 12px;
    text-align: right;
  }

  .box-achievement > .inner > ul:nth-of-type(1) > li:nth-of-type(2n) > p {
    margin-left: 20%;
  }

  .box-achievement > .inner > ul:nth-of-type(2) {
    margin-top: 70px;
    border-top: 1px solid #8D8D7D;
  }

  .box-achievement > .inner > ul:nth-of-type(2) > li {
    padding: 15px 0;
    text-align: left;
    border-bottom: 1px solid #8D8D7D;
  }

  .box-achievement > .inner > ul:nth-of-type(2) > li > p:nth-of-type(1) {
    font-weight: 700;
    color: #CEBC36;
  }

  .box-achievement > .inner > ul:nth-of-type(2) > li > p:nth-of-type(2) {
    margin-top: 10px;
    font-size: 18px;
  }

  .box-achievement > .inner > ul:nth-of-type(2) > li > p:nth-of-type(3) {
    margin-top: 5px;
  }

}
