/* =================================================================
1.メインビジュアル (mainvisual)
=================================================================*/
.mainvisual_child_bg {
  background-image: url('../img/company/company_mainvisual.png');
}

/* =================================================================
2.沿革 (section_2)
=================================================================*/
.section_2 {
  height: auto;
}
.section_2 .background_square {
  position: relative;
  margin-left: 0;
  margin-right: auto;
  background-color: #7C97AA;
  width: 45%;
  width: 500px;
  height: 600px;
  z-index: -99;
}
.section_2 h2 {
  position: absolute;
  top: 185px;
  left: 13%;
  letter-spacing: 15px;
}
.section_2 .text_wrap {
  position: relative;
  margin-top: -500px;
  margin-left: auto;
  margin-right: 0;
  width: 65%;
  border: 1px solid #707070;
  border-right: none;
  background-color: #fff;
  height: auto;
  display: flex;
  justify-content: space-between;
  padding: 60px;
}
.section_2 .text_wrap table {
  width: 100%;
}
.section_2 .text_wrap table th {
  position: relative;
  border-right: 1px solid #707070;
  width: 120px;
  padding: 20px 0;
  vertical-align: middle;
  line-height: 1.4;
  text-align: left;
}
.section_2 .text_wrap table th span {
  font-size: 14px;
}
.section_2 .text_wrap table tr:nth-child(1) th, .section_2 .text_wrap table tr:nth-child(1) td {
  padding-top: 50px;
}
.section_2 .text_wrap table th::after {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: -8px;
  content:'';
  border-radius: 50%;
  border: 2px solid #AAA17C;
  background-color: #fff;
  display: block;
  width: 10px;
  height: 10px;
}
.section_2 .text_wrap table tr:nth-child(1) th::after {
  top: 25px;
}
.section_2 .text_wrap table td {
  width: auto;
  padding: 20px 0;
  padding-left: 20px;
  line-height: 1.4;
  vertical-align: middle;
}
/* 画像 */
.section_2 .text_wrap .sp_pic {
  display: none;
}
.section_2 .text_wrap .img_box {
  position: absolute;
  right: 60px;
  top: 200px;
  width: 45%;
}
.section_2 .text_wrap .img_box img {
  display: block;
  width: auto;
  margin-bottom: 20px;
  height: 135px;
}
.section_2 .text_wrap .img_box img.pic_3 {
  width: 190px;
  height: auto;
}
.section_2 .text_wrap .img_box .pic_2 , .section_2 .text_wrap .img_box .pic_4 {
  margin-right: 0;
  margin-left: auto;
}

@media screen and (max-width:768px) {
  .section_2 .text_wrap .img_box {
    display: none;
  }
  .section_2 .text_wrap .sp_pic {
    display: block;
    width: 100%;
    margin-top: 15px;
  }
  .section_2 .background_square {
    width: 75%;
  }
  .section_2 h2 {
    display: flex;
    align-items: center;
    top: 150px;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 26px;
    letter-spacing: 5px;
  }
  .section_2 .text_wrap {
    left: 0;
    right: 0;
    margin: auto;
    display: block;
    margin: 0 25px;
    margin-top: -445px;
    padding: 50px 25px;
    width: auto;
    border-right: 1px solid #B1B1B1;
    box-sizing: border-box;
  }
  .section_2 .text_wrap table {
    width: 100%;
  }
  .section_2 .text_wrap table th {
    display: block;
    width: 35%;
    margin: 0 auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid #707070;
    padding: 20px 0;
    vertical-align: middle;
    text-align: center;
  }
  .section_2 .text_wrap table th::after {
    position: absolute;
    bottom: -85px;
    left: 0;
    right: 0;
    content:'';
    border-radius: 50%;
    border: 2px solid #707070;
    background-color: #fff;
    display: block;
    width: 10px;
    height: 10px;
  }
  .section_2 .text_wrap table td {
    display: block;
    width: 100%;
    padding-left: 0;
    text-align: center;
  }
  .section_2 .text_wrap .img_box {
    width: 100%;
  }
  .section_2 .text_wrap .img_box img {
    width: 100%;
  }
  .section_2 .text_wrap .img_box .pic_2 {
    float: none;
  }
}


/* =================================================================
3.会社概要 (section_3)
=================================================================*/
.section_3 {
  height: auto;
}
.section_3 .background_square {
  position: relative;
  margin-left: auto;
  margin-right: 0;
  background-color:#E5E3D7;
  width: 35%;
  height: 500px;
  z-index: -99;
}
.section_3 h2 {
  position: absolute;
  top: 150px;
  right: 13%;
  letter-spacing: 15px;
}
.section_3 .text_wrap {
  margin: 0 auto;
  margin-top: -440px;
  width: 60%;
  border: 1px solid #707070;
  background-color: #fff;
  height: auto;
}
.section_3 .text_wrap {
  padding: 80px 70px;
  line-height: 1.4;
  box-sizing: border-box;
}
.section_3 .text_wrap th {
  border-right: 1px solid #707070;
  width: 20%;
  text-align: left;
  padding: 20px 0;
  vertical-align: top;
}
.section_3 .text_wrap tr:first-child th, .section_3 .text_wrap tr:first-child td {
  padding-top: 30px;
}
.section_3 .text_wrap td {
  width: auto;
  padding: 20px 0 20px 30px;
}
.section_3 .text_wrap td a {
  color: #AAA17C;
}
.section_3 .text_wrap td a:hover {
  text-decoration: underline;
}

@media screen and (max-width:768px) {
  .section_3 .text_wrap {
    width: 85%;
    padding: 30px;
    margin-top: -305px;
  }
  .section_3 h2 {
    display: flex;
    align-items: center;
    top: 150px;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 22px;
    letter-spacing: 5px;
  }
  .section_3 .background_square {
    width: 75%;
  }
  .section_3 .text_wrap th {
    padding-bottom: 5px;
  }
  .section_3 .text_wrap tr:first-child th, .section_3 .text_wrap tr:first-child td {
    padding-top: 0;
  }
  .section_3 .text_wrap th , .section_3 .text_wrap td {
    display: block;
    width: 100%;
    border: none;
    font-size: 14px;
    line-height: 1.3;
  }
  .section_3 .text_wrap td {
    padding: 0;
  }
  .section_3 .text_wrap td iframe {
    width: 100%;
    height: auto;
  }
}

/* =================================================================
4.お問い合わせ (section_4)
=================================================================*/
.section_4 {
  text-align: center;
  margin-top: 90px;
}
.section_4 h2 {
  margin: 0 auto;
  font-size: 22px;
  margin-bottom: 48px;
}
.section_4 .white_button {
  margin-bottom: 10px;
}
.section_4 p {
  display: block;
  margin-bottom: 190px;
  font-size: 12px;
}
@media screen and (max-width:768px) {
  .section_4 h2 {
    font-size: 20px;
  }
  .section_4 p {
    margin-bottom: 100px;
  }
}

/* =================================================================
5.ページ内リンク
=================================================================*/
#sec1, #sec2, #sec3, #sec4 {
  margin-top: -25px;
  padding-top: 85px;
}
@media screen and (max-width:768px) {
  #sec1, #sec2, #sec3, #sec4 {
    margin-top: -100px;
    padding-top: 100px;
  }
}