@charset "utf-8";

/* /////////////////////////////
      下層共通
///////////////////////////// */


.keyvisual {
  margin-bottom: 80px;
}
.keyvisual img{
  margin-left: auto;
  margin-right: 0;
}
.keyvisual h1{
      width: 294px;
      font-size: 48px;
      font-weight: bold;
      color: #0a0a8c;
      letter-spacing: 7px;
      position: relative;
      margin: auto;
}

.keyvisual h1:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 294px;
    border-bottom: 4px solid #0a0a8c;
    opacity: 0.35;
}

.keyvisual h1:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    border-bottom: 4px solid #0a0a8c;
}
.keyvisual .mv_txt span{
  padding: 10px 0;
}

.company_txt h2{
      width: 294px;
      font-size: 24px;
      font-weight: bold;
      letter-spacing: 7px;
      position: relative;
      margin-left: 0;
      margin-right: auto;
      margin-bottom: 30px;
}

.company_txt h2:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 294px;
    border-bottom: 4px solid #0a0a8c;
    opacity: 0.35;
}

.company_txt h2:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 72px;
    border-bottom: 4px solid #0a0a8c;
}

.com_detail{
  margin: 80px auto 160px;
  padding: 80px 0;
  background-color: #e6e6f3;
}

.com_detail h2{
      width: 148px;
      font-size: 24px;
      font-weight: bold;
      letter-spacing: 7px;
      position: relative;
      margin: 0 auto 30px;
      text-align: center;
}

.com_detail h2:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 148px;
    border-bottom: 4px solid #0a0a8c;
    opacity: 0.35;
}

.com_detail h2:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 48px;
    border-bottom: 4px solid #0a0a8c;
}
.com_detail table{
  width: 1066px;
  margin: 50px auto 0;
}
.com_detail table tr{
  display: block;
  padding: 40px 0;
  border-bottom: 4px solid #8484c5;
}
.com_detail table th{
  width: 200px;
  font-size: 16px;
  color: #0a0a8c;
  text-align: left;
  vertical-align: middle;
}

.com_detail iframe{
  margin: 50px auto;
  display: block;
}

.service_box p{
  margin: 30px auto;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
}

.service_con{
  width: 100%;
  height: 820px;
  margin: 170px auto 400px;
	background: url("../img/service/bg.png") center / cover;
}

.se_detail{
  max-width: 1420px;
  margin: auto;
}

.se_detail h2{
  width: 240px;
  text-align: left;
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
}

.se_detail span{
  font-size: 48px;
  color: #fff;
  font-weight: bold;
  display: block;
  position: relative;
  margin: 20px auto;
  padding: 10px 0;
  border-bottom: 3px solid #8484c5;
}

.se_detail h2 span:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 50px;
  height: inherit;
  border-bottom: 3px solid #ffffff;
}

.se_detail p{
  text-align: left;
  font-size: 16px;
  color: #fff;
}
.fl_img{
  margin-top: -60px;
}

.fl_img02{
  margin-top: 25px;
}


@media screen and (max-width:1000px){
}
@media screen and (max-width:768px){


.service_con{
  width: 100%;
  height: auto;
  margin: 80px auto 100px;
  padding: 20px 0;
	background: url("../img/service/bg.png") center / cover;
  }

  .service_con .flex{
    display: block;
  }

  .se_detail{
    max-width: 100%;
    margin: 20px auto;
  }

  .se_detail h2{
    width: 65%;
    text-align: left;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
  }

  .se_detail span{
    font-size: 32px;
    color: #fff;
    font-weight: bold;
    display: block;
    position: relative;
    margin: 20px auto;
    padding: 5px 0;
    border-bottom: 3px solid #8484c5;
  }

  .se_detail h2 span:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 50px;
    height: inherit;
    border-bottom: 3px solid #ffffff;
  }

  .se_detail p{
    text-align: left;
    font-size: 16px;
    color: #fff;
  }
  .fl_img{
    margin-top: 10px;
  }

  .fl_img img{
    width: 100%;
    padding: 10px 0;
  }

  .fl_img02{
    margin-top: 10px;
  }
}

/* /////////////////////////////
      下層ページ
///////////////////////////// */
@media screen and (max-width:1000px){
}
@media screen and (max-width:768px){
  .keyvisual {
    margin-bottom: 40px;
  }
  .keyvisual h1{
      width: 200px;
      font-size: 32px;
  }

  .keyvisual h1:before {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 200px;
      border-bottom: 4px solid #0a0a8c;
      opacity: 0.35;
  }

  .keyvisual h1:after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 50px;
      border-bottom: 4px solid #0a0a8c;
  }
  .keyvisual .mv_txt span{
    padding: 10px 0;
    margin-top: 10px;
    background: none;
  }

  .company_txt h2{
        width: 200px;
        font-size: 20px;
        font-weight: bold;
        letter-spacing: 7px;
        position: relative;
        margin-left: 0;
        margin-right: auto;
        margin-bottom: 30px;
  }

  .company_txt h2:before {
      content: "";
      position: absolute;
      left: 0;
      bottom: -10px;
      width: 200px;
      border-bottom: 4px solid #0a0a8c;
      opacity: 0.35;
  }

  .company_txt h2:after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -10px;
      width: 35px;
      border-bottom: 4px solid #0a0a8c;
  }

  .com_detail{
    margin: 50px auto;
    padding: 50px 0;
    background-color: #e6e6f3;
  }

  .com_detail h2{
        width: 148px;
        font-size: 20px;
        font-weight: bold;
        letter-spacing: 7px;
        position: relative;
        margin: 0 auto 30px;
        text-align: center;
  }

  .com_detail h2:before {
      content: "";
      position: absolute;
      left: 0;
      bottom: -10px;
      width: 148px;
      border-bottom: 4px solid #0a0a8c;
      opacity: 0.35;
  }

  .com_detail h2:after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -10px;
      width: 48px;
      border-bottom: 4px solid #0a0a8c;
  }
  .com_detail table{
    width: 90%;
    margin: 30px auto 0;
  }
  .com_detail table tr{
    display: block;
    padding: 30px 0;
    border-bottom: 4px solid #8484c5;
  }
  .com_detail table th{
    width: 100px;
    font-size: 14px;
    color: #0a0a8c;
    text-align: left;
    vertical-align: middle;
  }

  .com_detail iframe{
    width: 90%;
    height: 300px;
    margin: 30px auto;
    display: block;
  }

  .service_box p{
    width: 95%;
    margin: 10px auto 0;
    font-size: 14px;
  }

  .service_con{
    margin: 30px auto 120px;
  }
	
	.service_con:last-child{
    margin: 30px auto 60px;
  }

}



/* /////////////////////////////
      お問い合わせ
///////////////////////////// */
.contact_area{
  margin: 150px auto 250px!important;
}
#contact form{
  max-width: 1066px;
  margin: 50px auto;
}
#contact dl{
  display: table;
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}
#contact dl.last{
  border: none;
}
#contact dl dt,#contact dl dd{
  display: table-cell;
  box-sizing: border-box;
  padding: 10px;
  vertical-align: middle;
}
#contact dl dt{
  width: 300px;
  color: #0a0a8c;
  font-size: 14px;
  font-weight: bold;
  position: relative;
}
#contact dl dt.top{
  vertical-align: top;
}
#contact dl dt span{
  margin-left: 50px;
  padding: 3px 10px;
  color: #fff;
  background-color: #c9272d;
  font-size: 10px;
  position: absolute;
  right: 0;
}
#contact dl dd{
  width: 100%;
  display: flex;
  align-items: center;
}
#contact dl dd span{
  padding-right: 20px;
  font-weight: bold;
}
#contact input[type="text"],#contact input[type="mail"],#contact input[type="tel"],#contact input[type="text"],#contact input[type="email"],#contact select,#contact textarea{
  box-sizing: border-box;
  padding: 5px;
  border: none;
  background-color: #f5f5f5;
}
#contact input[type="text"],#contact input[type="mail"],#contact input[type="tel"],#contact input[type="text"],#contact input[type="email"]{
  width: 100%;
  height: 40px;
}
#contact input[type="text"]{
  width: 200px;
  margin-right: 30px;
}
#contact #shi_Name,#contact #ban_Name{
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}
#contact select{
  width: 200px;
  margin-right: 30px;
}
#contact span.law{
  width: 200px;
  padding-right: 10px;
  font-weight: normal;
}
#contact textarea{
  width: 100%;
  height: 300px;
}
div.info_txt {
  padding: 20px;
  background-color: #d7d7d7;
}
div.info_txt p{
  font-size: 12px;
  line-height: 2.2;
}
#contact input[type="button"]{
      width: 240px;
      height: 60px;
      line-height: 60px;
      margin: 50px auto 0;
      text-align: center;
      color: #fff;
      background-color: #0a0a8c;
      display: block;
      border: none;
}
@media screen and (max-width:1000px){
}
@media screen and (max-width:767px){
    #contact{
      padding-top: 48px;
    }
    .contact_area{
      margin: 50px auto 60px!important;
    }
    #contact form{
      margin: 30px auto;
    }
    #contact dl dt, #contact dl dd{
      width: 100%;
      display: block;
    }
    #contact dl dt{
      width: 100%;
    }
    #contact dl dt span{
      position: relative;
      right: 0;
      margin-left: 20px;
    }
    #contact input[type="text"]{
      display: block;
      width: 100%;
      margin-bottom: 10px;
    }
}
