/*トップページのスタイルここから*/
/*---メイン-----*/

* {
  -webkit-appearance: none;
}

.main_wrapper {
  background-image: url(../img/top/top_main.png);
  background-size:  cover;
  background-position: center;
  position: relative;
  height: 880px;
}

.main_container {
  max-width: 1100px;
  width:100%;
  margin: 0 auto;
  height: 370px;
}

.main_container .title_pc {
  font-size: 36px;
  letter-spacing: 5px;
  padding: 260px 10px 0;
  font-weight: bold;
  text-shadow:1px 1px 3px rgba(0, 0, 0, 0.5),1px -1px 3px rgba(0, 0, 0, 0.5),-1px -1px 3px rgba(0, 0, 0, 0.5),-1px 1px 3px rgba(0, 0, 0, 0.5),0px 0px 3px rgba(0, 0, 0, 0.5);
  height: 0;
  color: #FFF;
  display: inline-block;
}

.title_sp{
  display: none;
}

.news_wrapper {
  background-image: url('../img/news_bg.png');
  -webkit-background-size: cover;
       -o-background-size: cover;
          background-size: cover;
  background-position: center center;
  color: white;
  padding: 60px 0;
}

.news_wrapper .border_news {
  padding: 10px 0 30px;
  display: block;
  margin: 0 auto;
}

.news_contents{
  max-width: 1100px;
  width:100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.news_header{
  font-size: 36px;
  text-align: center;
}

.news_header img{
  vertical-align: middle;
  margin: 0px 10px;
}

.news_header span{
  font-size: 16px;
  color: #b2b2b2;
}

.news_header p{
  opacity: 0.5;
  font-size: 14px;
  display: inline-block;
}

.contents {
  padding: 0 10 0 10;
}

.content {
  max-width: 230px;
  width:20%;
  height:auto;
}

.content-image p {
  top: 90px;
  width: 100%;
}

.content-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.content-image.shadow {
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 1);
          box-shadow: 0 0 5px rgba(0, 0, 0, 1);
  background-color: #FFF;
}

.content-image img{
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
}

.txt-contents {
  display: inline-block;
  font-size: 15px;
  text-align: left;
  margin-top: 15px;
  line-height: 1.46;
  color: #fff;
  overflow: hidden;
  width: 100%;
}

.txt-contents p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*---ビジネス----*/

.business_wrapper {
  padding: 60px 0 0 0;
  background-color: white;
  background-size: cover;
  color: white;
  text-align: center;
  width: 100%;
  margin: 0;
}

.business_wrapper a{
  text-align: center;
  display: block;
  width: 207px;
  height: 35px;
  line-height: 35px;
  margin-top: 25px;
  color: #fff;
  font-size: 15px;
  background-color: #4b9677;
  text-shadow: none;
}
.business_wrapper a:hover{
  background-color: rgba(75, 150, 119, 0.9);
}

.business_wrapper .business_btn {
  margin-top: 1em;
  display: flex;
}
.business_wrapper .business_btn a {
  margin-top: 0;
}
.business_wrapper .business_btn a:nth-child(n+2){
  margin-left: 10px;
}
.business_wrapper .business_btn a.orn{
  color: #ffffff;
  background-color: #fe9a00;
}
.business_wrapper .business_btn a.grn{
  color: #ffffff;
  background-color: #7cb737;
}
.business_wrapper .business_btn a.orn:hover{
  background-color: rgba(254, 154, 0, 0.9);
}
.business_wrapper .business_btn a.grn:hover{
  background-color: rgba(124, 183, 55, 0.9);
}

.business_header {
  width: 100%;
  /* height: 200px; */
  padding-bottom: 50px;
}

.business_header h2{
  font-size: 36px;
  display: inline-block;
  color: black;
  line-height: 1;
}

.business_header img{
  vertical-align: middle;
  margin:0px 10px;
}

.business_header h2 span{
  color: #666666;
  font-size: 16px;
}

.business_header p{
  opacity: 0.5;
  font-size: 14px;
  display: inline-block;
  color: black;
}

.business_header .border_business{
  margin: 22px auto;
  display: block;
}

.header_text p{
  opacity: 1;
  font-size: 15px;
  color: #333333;
  font-weight: bold;
}

.business_roof {
  width: 100%;
  height: 227px;
  background-image: url(../img/top/business_roof.jpeg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.business_roof_en {
  width: 100%;
  height: 300px;
  background-image: url(../img/top/business_roof.jpeg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.business_roof_container{
  max-width: 1100px;
  width:100%;
  margin: 0 auto;
}

.roof_text {
  text-align: left;
  text-shadow: 0 0 3px rgba(0,0,0, 1),0 0 2px rgba(0,0,0, 1);
  padding-top: 40px;
  float: right;
  margin-right: 34px;
  width: 400px;
}

.roof_text h3, .sunroof_text h3, .web_text h3{
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 15px;
}

.roof_text p, .sunroof_text p, .web_text p{
  font-size: 15px;
  line-height: 1.46;
}

.web_text p, .web_text h3 {
  text-shadow:1px 1px 0px rgb(255, 255, 255),1px -1px 0px rgb(255, 255, 255),-1px -1px 0px rgb(255, 255, 255),-1px 1px 0px rgb(255, 255, 255),0px 0px 5px rgb(255, 255, 255);
}

.web_text h3 {
  margin-bottom: 0;
}

.web_text p.web_text__operation,
.web_text p.web_text__operation a {
  font-size: 13px !important;
  font-weight: bold;
  padding-bottom: 0.5em;
}

.business_sunroof {
  width: 100%;
  height: 227px;
  background-image: url(../img/top/business_sunroof.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.sunroof_text{
  text-align: left;
  float: left;
  margin-top: 40px;
  margin-left: 34px;
}

.sunroof_text h3, .sunroof_text p{
  text-shadow: 0 0 3px rgba(0,0,0, 1),0 0 2px rgba(0,0,0, 1);
}


.web_img{
  margin: 15px;
}

.web_img img{
  margin: 15px;
}

.business_web {
  width: 100%;
  background-image: url(../img/top/bg_business_web.jpg);
  background-size: 100% auto;
  background-position: 50% 100%;
  background-repeat: no-repeat;
}

@media (min-width: 750px) and (max-width: 1440px) {
  .business_web {
    background-size: 1440px auto;
  }
}

.business_web a{
  background-color: #4b9677;
}
.business_web .business_roof_container {
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.web_text {
  text-align: left;
  color: #222;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-right: 30px;
  width: 400px;
}

/*---メディア----*/

.media_wrapper {
  padding: 50px 0 0 0;
  background-image: url("../img/top/top_media_bg.png");
  background-size: cover;
  color: white;
  text-align: center;
  width: 100%;
  height: 615px;
  margin: 0 auto;
}

.media_content_wrapper {
  max-width: 1100px;
  width:100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 30px;
  align-content: space-between;
  height: 300px;
}

.media_content_wrapper li{
  width: 45%;
  height: 130px;
  padding:2%;
}

.media_header h2{
  font-size: 36px;
  display: inline-block;
  line-height: 1;
}
.media_header h2 img{
  vertical-align: middle;
}

.media_header span{
  color: #b2b2b2;
  font-size: 16px;
}

.media_header_text p{
  opacity: 1;
  color: white;
}

.border_media{
  display: block;
  margin: 0 auto;
  padding: 30px 0px;
}

.media_image{
  float: left;
  margin: 0 20px 0 20px;
  height: 100%;
  max-width: 300px;
  width: 50%;
  overflow: hidden;
}

.media_text{
  text-align: left;
  vertical-align: top;
  color: #fff;
}

.moreinfo{
  clear: both;
  padding: 50px;
  margin: 0 auto;
}

.moreinfo a{
  border: solid 1px #fff;
  color: #fff;
  font-size: 15px;
  width: 210px;
  height: 40px;
  line-height: 40px;
  display: block;
  margin: 0 auto;
}

/*---サービス----*/

.service_wrapper {
  padding: 50px 0 50px 0;
  background-size: cover;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

.service_header h2{
  font-size: 36px;
  display: inline-block;
  color: black;
}

.service_header img{
  vertical-align: middle;
}

.service_header span{
  font-size: 16px;
  color: #666666;
}

.service_header .border_business{
  margin: 30px auto;
  display: block;
}

.service_content_wrapper {
  margin: 0 auto;
}

.service_container{
  max-width: 1100px;
  width:100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.service_content h3{
  color: #4b9677;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  margin-top: 24px;
}
.service_content{
  width:25%;
  padding: 1.6%;
}

.service_content img{
  width:100%;
  height:auto;
}

/*---コンタクト----*/

.contact_wrapper {
  padding: 50px 0 50px 0;
  background-image: url("../img/top/top_contact_bg.png");
  background-size: cover;
  color: black;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

.contact_header {
  padding-bottom: 10px;
}

.contact_header h2{
  font-size: 36px;
  color: black;
}

.contact_header h2 img{
  vertical-align: middle;
}

.contact_header span{
  font-size: 16px;
  color: #666666;
}

.contact_header .border_business{
  margin: 18px auto;
  display: block;
}

label{
  display: inline-block;
  text-align: right;
  vertical-align: middle;
}

textarea{
  width: 360px;
  height: 110px;
  margin-bottom:30px;
  float: right;
  resize: none;
  padding: 10px;
  border: none;
}

input {
  width: 360px;
  height: 30px;
  margin-bottom:30px;
  float: right;
  padding: 0px 10px;
  border: none;
}

button{
  clear: both;
  background-color:#4b9677;
  border: solid 1px white;
  color: white;
  font-size: 18px;
  font-weight:bold;
  width: 280px;
  height: 50px;
  display: block;
  cursor: pointer;
  margin: 10px auto 50px;
}

.contact_form{
  max-width: 1100px;
  width:100%;
  margin: 0 auto;
}

.contact_form li{
  clear: both;
}

.contact_form .left_box{
  float: left;
  width: 50%;
}

.contact_form .right_box{
  float: right;
  width: 50%;
  margin-top: 24px;
}

.form_txt{
  width: 300px;
  position: relative;
}

.form_txt span{
  position: absolute;
  top: 10px;
  left: -132px;
}

.contact_message{
  margin: 0 170px 17px 170px;
  padding: 27px 0px;
  clear: both;
  font-size: 11px;
  border:  solid 1px #4b9677;
}

.contact_wrapper label span{
  margin-right: 20px;
}

.contact_wrapper label span img{
  vertical-align: middle;
  margin-left: 10px;
}

/*---採用情報----*/

.recruit_wrapper {
  text-align: center;
  width: 100%;
}

.recruit_content_wrapper {
  width: 60%;
  background-color: white;
  margin: 0 auto;
  padding-top: 40px;
}

.recruit_content_upper{
  display: flex;
  justify-content: space-between;
}

.recruit_header{
  /* background-image: url("../img/top/top_recruit_bg.png"); */
  background-position: center top;
  background-repeat: repeat-x;
  height: 305px;
  /* ▼2112追記 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #4B9677;
  /* ▲2112追記 */
}

.recruit_header h2{
  font-size: 36px;
  display: inline-block;
  color: black;
  /* margin-top: 50px; */
  line-height: 1;
  /* ▼2112追記 */
  color: #fff;
  /* ▲2112追記 */
}

.recruit_header img{
  vertical-align: middle;
}
.recruit_header span{
  font-size: 16px;
  /* color: #666666; */
  /* ▼2112追記 */
  color: #F0F3F3;
  /* ▲2112追記 */
}

.recruit_header .border_business{
  margin:12px auto 20px;
  display: block;
}

.recruit_header_text{
  color: #333333;
  /* ▼2112追記 */
  color: #fff;
  /* ▲2112追記 */
}

.recruit_header_text br{
  display: none;
}

.recruit_content{
  width: 50%;
  padding-bottom: 7px;
  /* margin:10px; */
}

.recruit_content h3{
  color: #4b9677;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 15px;
  /* ▼2112追記 */
  height: 2em;
  /* ▲2112追記 */
}

.recruit_content p{
  position: relative;
  margin: auto;
  font-size: 12px;
  width:230px;
  max-width: 90%;
  padding-top: 10px;
  text-align: left;
  padding-bottom: 13px;
}
/* ▼2112追記 */
.recruit_content p.type_web__operaion {
  width: auto;
  text-align: center;
  padding-top: 0;
  margin-top: -2.5em;
}
/* ▲2112追記 */
.recruit_content p::after{
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX( -50% );
  -ms-transform: translateX( -50% );
  transform: translateX( -50% );
  display: block;
  width: 165px;
  max-width: 100%;
  height: 1px;
  border-bottom: 1px solid #cccccc;
  content: "";
}

.recruit_content img{
  width:85%;
}

.recruit_content.type_roofing{
  width: 33.333%;
}

.recruit_content.type_web{
  width: 66.666%;
}

.recruit_content.type_web .recruit_content_body{
  display: flex;
  justify-content: space-between;
}

.recruit_content.type_web .recruit_content_body > div{
  width: 50%;
}

.recruit_content.type_web .recruit_content_body > div:nth-child(2) p{
  width: 320px;
}

.recruit_moreinfo{
  clear: both;
}

.recruit_moreinfo a{
  background-color:#4b9677;
  border: solid 1px white;
  width: 280px;
  height: 50px;
  color: white;
  font-size: 18px;
  line-height: 50px;
  display: block;
  margin:10px auto 0px;
}

hr{
  width: 275px;
}

@media (max-width: 950px) {

  /*------------お問合せ---*/

  .contact_form{
    width: 100%;
    display: block;
  }

  .contact_form .left_box,
  .contact_form .right_box{
    float: none;
    width: 100%;
  }

  .contact_form li{
    width: 100%;
    margin-bottom: 30px;
  }

  .contact_form li:last-child{
    margin-bottom: 0px;
  }

  textarea{
    width: 85%;
    padding:2%;
    float: none;
    margin: 0 auto;
    display: block;
  }

  input{
    width: 85%;
    margin: 0 auto;
    padding: 0px 2%;
    float: none;
    display: block;
  }

  .form_txt{
    width: 89%;
  }

  .form_txt span{
    position: initial;
    top: auto;
    right: auto;
  }

  .contact_wrapper label span{
    margin-right: 0px;
  }

  label{
    text-align: left;
    width: 89%;
    margin-bottom: 10px;
  }

  button{
    width: 89%;
    height: 75px;
    line-height: 75px;
    margin-top: 35px;
  }

  .contact_message{
    width: 89%;
    margin: 0 auto;
    padding: 20px 10px;
    box-sizing: border-box;
  }
}

/*トップページのスタイルここまで*/
