
/*===============================================
●共通
===============================================*/

.contact-box {
  margin-top: 0;
}


/*===============================================
●画面の横幅が813px以上(タブレット・PC)
===============================================*/
@media screen and (min-width: 813px) {

  .sub-page-main-img {
    background: url(../images/concept/kv.jpg) center center no-repeat;
    background-size: cover;
  }

  .sub-page-main-img > h1 {
    width: 90%;
    max-width: 778px;
  }

  /* 長谷川電気土木の強み・特徴 */
  .box-strong {
    padding: 115px 0 0 0;
  }

  .box-strong > .inner {
    position: relative;
    min-height: 700px;
    max-width: 1920px;
    margin: 120px auto 0;
  }

  .box-strong > .inner > div {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 95%;
    max-width: 1400px;
  }

  .box-strong > .inner > div > div {
    width: 48%;
    margin: 0;
    text-align: left;
  }

  .box-strong > .inner > div > div > .txt01 {
    margin: 0;
    font-size: 40px;
    letter-spacing: 0;
    line-height: 1.3;
  }

  .box-strong > .inner > div > div > .txt02 {
    position: relative;
    margin: 80px 0 0 0;
    padding-left: 95px;
    font-size: 24px;
    font-weight: 700;
  }

  .box-strong > .inner > div > div > .txt02 > span {
    position: absolute;
    top: -5px;
    left: 0;
    display: block;
    width: 80px;
    height: 80px;
    padding-top: 21px;
    font-size: 32px;
    color: #CEBC36;
    letter-spacing: 0.1em;
    line-height: 1;
    text-align: center;
    background-color: #fff;
    border: 1px solid #CEBC36;
  }

  .box-strong > .inner > div > div > .txt03 {
    margin: 40px 0 0 0;
    line-height: 2;
  }

  .box-strong > .inner > .strong01 {
    position: relative;
    z-index: 2;
    width: 48%;
    margin-left: 52%;
  }

  .box-strong > .inner > .strong02 {
    position: relative;
    z-index: 2;
    width: 35%;
    margin-top: 40px;
    margin-left: 52%;
  }

  /* 社長の想い */
  .box-message {
    margin: 120px auto 0;
    padding: 115px 0 210px 0;
    background-color: #E2E2D9;
  }

  .box-message > .inner01 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 95%;
    max-width: 1400px;
    margin: 100px auto 0;
  }

  .box-message > .inner01 > div:nth-of-type(1) {
    max-width: 440px;
    order: 1;
  }

  .box-message > .inner01 > div:nth-of-type(1) > p {
    margin-top: 10px;
    font-weight: 700;
    text-align: right;
  }

  .box-message > .inner01 > div:nth-of-type(2) {
    max-width: 640px;
    text-align: left;
  }

  .box-message > .inner01 > div:nth-of-type(2) > .txt01 {
    font-size: 40px;
    letter-spacing: 0;
  }

  .box-message > .inner01 > div:nth-of-type(2) > .txt02 {
    margin-top: 40px;
    font-size: 24px;
    font-weight: 700;
  }

  .box-message > .inner01 > div:nth-of-type(2) > .txt03 {
    margin-top: 40px;
    line-height: 2;
  }

  .box-message > .inner02 {
    width: 95%;
    max-width: 1400px;
    margin: 120px auto 0;
  }

  .box-message > .inner02 > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
  }

  .box-message > .inner02 > ul > li {
    width: 32%;
  }

  .box-message > .inner03 {
    width: 95%;
    max-width: 1400px;
    margin: 120px auto 0;
  }

  .box-message > .inner03 > div {
    position: relative;
    text-align: left;
  }

  .box-message > .inner03 > div:nth-of-type(2) {
    padding-top: 80px;
  }

  .box-message > .inner03 > div > p:nth-of-type(1) {
    width: 50%;
    max-width: 640px;
    font-size: 24px;
    font-weight: 700;
  }

  .box-message > .inner03 > div > p:nth-of-type(2) {
    width: 50%;
    max-width: 640px;
    margin-top: 40px;
    line-height: 2;
  }

  .box-message > .inner03 > div > img {
    position: absolute;
    top: 0;
    right: 0;
    width: 46%;
    max-width: 640px;
  }

}

/*===============================================
●画面の横幅が812px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 812px) {

  .sub-page-main-img {
    background: url(../images/concept/kv_sp.jpg) center center no-repeat;
    background-size: cover;
  }

  .sub-page-main-img > h1 {
    width: 65%;
  }

  /* 長谷川電気土木の強み・特徴 */
  .box-strong {
    padding: 60px 0 0 0;
  }

  .box-strong > .inner {
    margin: 40px auto 0;
  }

  .box-strong > .inner > div {
    width: 90%;
    margin: 0 auto;
    text-align: left;
  }

  .box-strong > .inner > div > div {

  }

  .box-strong > .inner > div > div > .txt01 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 0;
    line-height: 1.4;
  }

  .box-strong > .inner > div > div > .txt02 {
    position: relative;
    margin: 30px 0 0 0;
    padding-left: 60px;
    font-size: 18px;
    font-weight: 700;
  }

  .box-strong > .inner > div > div > .txt02 > span {
    position: absolute;
    top: 2px;
    left: 0;
    display: block;
    width: 48px;
    height: 48px;
    padding-top: 11px;
    font-size: 20px;
    color: #CEBC36;
    letter-spacing: 0.1em;
    line-height: 1;
    text-align: center;
    background-color: #fff;
    border: 1px solid #CEBC36;
  }

  .box-strong > .inner > div > div > .txt03 {
    margin: 30px 0 0 0;
    line-height: 2;
  }

  .box-strong > .inner > .strong01 {
    width: 100%;
    margin: 60px auto 0;
  }

  .box-strong > .inner > .strong02 {
    width: 90%;
    margin: 20px auto 0;
  }

  /* 社長の想い */
  .box-message {
    margin: 80px auto 0;
    padding: 60px 0 80px 0;
    background-color: #E2E2D9;
  }

  .box-message > .inner01 {
    width: 90%;
    margin: 50px auto 0;
  }

  .box-message > .inner01 > div:nth-of-type(1) {

  }

  .box-message > .inner01 > div:nth-of-type(1) > p {
    margin-top: 10px;
    font-weight: 700;
    text-align: right;
  }

  .box-message > .inner01 > div:nth-of-type(2) {
    margin: 50px auto 0;
    text-align: left;
  }

  .box-message > .inner01 > div:nth-of-type(2) > .txt01 {
    font-size: 24px;
    letter-spacing: 0;
  }

  .box-message > .inner01 > div:nth-of-type(2) > .txt02 {
    margin-top: 40px;
    font-size: 18px;
    font-weight: 700;
  }

  .box-message > .inner01 > div:nth-of-type(2) > .txt03 {
    margin-top: 30px;
    line-height: 2;
  }

  .box-message > .inner02 {
    width: 90%;
    margin: 40px auto 0;
  }

  .box-message > .inner02 > ul {
    margin: 0 auto;
  }

  .box-message > .inner02 > ul > li {
    margin-bottom: 20px;
  }

  .box-message > .inner03 {
    width: 90%;
    margin: 50px auto 0;
  }

  .box-message > .inner03 > div {
    text-align: left;
  }

  .box-message > .inner03 > div:nth-of-type(2) {
    margin-top: 60px;
  }

  .box-message > .inner03 > div > p:nth-of-type(1) {
    font-size: 18px;
    font-weight: 700;
  }

  .box-message > .inner03 > div > p:nth-of-type(2) {
    margin-top: 30px;
    line-height: 2;
  }

  .box-message > .inner03 > div > img {
    margin: 40px auto 0;
  }

  .hide-sp {
    display: none;
  }

  .open-hide {
    margin: 20px auto;
  }

  .open-hide > a {
    display: block;
    width: 90%;
    max-width: 360px;
    height: 58px;
    margin: 0 auto;
    padding: 18px;
    font-size: 18px;
    line-height: 1;
    background-color: #fff;
    border: 1px solid #000000;
    border-radius: 100vh;
  }



}
