/*
 Theme Name:   OnePress Child
 Theme URI:    https://www.famethemes.com
 Description:  OnePress sample child theme
 Author:       FameThemes
 Author URI:   https://www.famethemes.com
 Template:     onepress
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  onepress-child
*/

/* Add your custom css below
-------------------------------------------------------------- */
.contact_box{
    max-width: 960px;
    color: #fff;
    background: #0052a5 ;
    border-top:1px solid transparent;
	margin: 40px auto;
    overflow:hidden;
}
.contact_box h2{
	color: #fff;
    text-align: center;
    margin: 20px 0 10px;
}
.contact_box p.lead{
    text-align: center;
	font-size: 1.2rem;
}
.contact {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 20px; }
    @media screen and (max-width: 768px) {
       .contact {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column; } }
  .contact a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 340px;
    padding: 10px;
    color: #fff;
    border: 1px solid #fff;
    text-decoration: none;}
    @media screen and (max-width: 768px) {
      .contact a {
        width: 100%; } }
  .banner_tel {
    margin-right: 60px; }
    @media screen and (max-width: 768px) {
  .banner_tel {
        margin-right: 0;
        margin-bottom: 20px; } }
.banner_tel .tel_number {
      font-family: "Lato", sans-serif;
      font-size: 1.6rem;
      line-height: 1.2;
      position: relative;
      padding-left: 55px;
	  margin-bottom: 0;
      text-align: center;
      letter-spacing: 0.05em; }
      @media screen and (max-width: 768px) {
         .banner_tel .tel_number {
          font-size: 2.2rem; } }
       .banner_tel .tel_number::before {
        position: absolute;
        top: 50%;
        left: 0;
        width: 41px;
        height: 31px;
        content: "";
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        background: url(./img/tel.png) no-repeat 50% 50%/contain; }
     .banner_tel .tel_number span {
        font-size: 0.8rem;
        display: block;
        text-align: right;
        letter-spacing: normal; }
   .banner_mail {
    position: relative;
    z-index: 2;
    overflow: hidden; }
    @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
       .banner_mail {
        padding: 14px 10px 6px; } }
     .banner_mail::after {
      position: absolute;
      z-index: -1;
      top: 0;
      left: 0;
      display: block;
      width: 100%;
      height: 100%;
      content: "";
      -webkit-transition: all 0.5s ease;
      transition: all 0.5s ease;
 }
     .banner_mail p {
      font-size: 1.4rem;
      position: relative;
      padding-left: 40px; 
      margin-bottom: 0;}
      @media screen and (max-width: 768px) {
         .banner_mail p {
          font-size: 1.6rem;} }
       .banner_mail p::before {
        position: absolute;
        top: 50%;
        left: 0;
        width: 32px;
        height: 22px;
        content: "";
        -webkit-transition: all 0.5s ease;
        transition: all 0.5s ease;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        background: url(./img/mail.png) no-repeat 50% 50%/contain; }
        @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
           .banner_mail p::before {
            margin-top: -2px; } }
      .banner_mail:hover::after {

      background-color: rgba(255, 255, 255, .2); }

/*Contact Form 7カスタマイズ*/
/*スマホContact Form 7カスタマイズ*/
@media(max-width:500px){
.inquiry th,.inquiry td {
 display:block!important;
 width:100%!important;
 border-top:none!important;
 -webkit-box-sizing:border-box!important;
 -moz-box-sizing:border-box!important;
 box-sizing:border-box!important;
}
.inquiry tr:first-child th{
 border-top:1px solid #d7d7d7!important;
}
/* 必須・任意のサイズ調整 */	
.inquiry .haveto,.inquiry .any {	
font-size:10px;
}}
/*見出し欄*/
.inquiry th{
 text-align:left;
 font-size:14px;
 color:#444;
 padding-right:5px;
 width:30%;
 background:#f7f7f7;
 border:solid 1px #d7d7d7;
}
/*通常欄*/
.inquiry td{
 font-size:13px;
 border:solid 1px #d7d7d7;	
}
/*横の行とテーブル全体*/
.entry-content .inquiry tr,.entry-content table{
 border:solid 1px #d7d7d7;	
}
/*必須の調整*/
.haveto{
 font-size:7px;
 padding:5px;
 background:#ff9393;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
/*任意の調整*/
.any{
 font-size:7px;
 padding:5px;
 background:#93c9ff;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
/*ラジオボタンを縦並び指定*/
.verticallist .wpcf7-list-item{
 display:block;
}
/*送信ボタンのデザイン変更*/
#formbtn{
 display: block;
 padding:15px;
 width:350px;
 background:#ffaa56;
 color:#fff;
 font-size:18px;
 font-weight:bold;	 
 border-radius:2px;
 margin:25px auto 0;
}
/*送信ボタンマウスホバー時*/
#formbtn:hover{
 background:#fff;
 color:#ffaa56;
 border:2px solid #ffaa56;
}

@media all and (-ms-high-contrast: none) {
  .hero {
	  background-image: url("http://www.next-move.co.jp/wp/wp-content/uploads/2019/12/Landscape.jpg");
	  background-position: center center;
	  background-repeat: no-repeat;
	  background-size: cover;
	   background-color: #464646;
	  vertical-align: middle;
  }

}

.grecaptcha-badge { visibility: hidden; }