/*
 Theme Name:xeory_extension-son
 Theme URI:http://hakkou.main.jp/hkk002/
 Description:xeory_extension Child Theme
 Author:バズ部
 Author URI:http://bazubu.com/
 Template:xeory_extension
 Version:0.2.2
 License:GNU General Public License v2 or later
 License URI:http://www.gnu.org/licenses/gpl-2.0.html
 Tags:light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:xeory_extension-child
*/

body.home #content {
    padding-top: 0;
}

/* トップページ：ファーストビュー */

body.home #main_visual {
    background-image:url(https://hakkou-kelp.com/wp-content/uploads/pic110.jpg) ;
    width: 100%;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color:#fff !important;
    }

@media (max-width: 768px) {
	
body.home #main_visual {
    background-image:url(https://hakkou-kelp.com/wp-content/uploads/pic110-1.jpg) ;
    max-width: 100%;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color:#fff !important;
    }
	
}

body.home #main_visual p {
    font-size:15px;
    padding:30px 20px;
    border:solid 1px #fff;
    border-radius:10px;
    }

@media (min-width: 768px) {
    
body.home #main_visual p {
    font-size:20px;
    } 
    
}

body.home #main_visual p br {
    display:none;
    }

@media (min-width: 768px) {
    
body.home #main_visual p br {
    display:inline;
    } 

}

/* トップページ：見出しの突起を消す */

body.home .tri-border {
    display:none;
    }

/* ヘッダーの色を変更 */

body #header {
    background: #fff;
    }

#gnav {
    background-color: #fff;
    }

#gnav ul li a {
    background-color: #fff;
	color: #5c7621;
    }

#gnav ul li a:hover,
#gnav ul li a:focus {
    background-color: #a9cf51;
    }

#gnav ul li.current-menu-item a {
    background: #a9cf51;
	color: #fff;
    }

#header-fnav-area #header-fnav-btn a {
    background-color: #a9cf51;
    }

#header-nav-btn a {
    background-color:#a9cf51;
    }

@media (max-width: 767px) {

#header-nav-btn a {
    background-color: #a9cf51;
    }

}



/* トップページ：クローズアップ記事・サービス記事の色変更 */

body.home .front-main-cont .front-cont-header {
    background-color: #a9cf51;
    }

body.home #front-contents .c_number {
    background-color: #a9cf51;
    }

body.home #front-contents h3 {
    color: #a9cf51;
    }

body.home #front-service .front-service-inner h3 {
    color: #a9cf51;
    }

.c_btn .btn {
    background-color:#237fc4 !important;
    color:#fff !important;
    }

/* トップページ：クローズアップ記事の修正（画面幅991px以下） */

@media (max-width: 991px) {
    
body.home #front-contents .front-cont-header {
    margin-bottom: 0px !important;
    }

}

/* ロゴ縮小（スマホ表示時） */
@media (max-width: 767px) {
body #logo {
    max-width: 70%;
    }

body #footer-logo {
	 max-width: 70%;
	}
}

/* お問い合せの色変更 */

#front-contact .c_box {
    background-color:#fff;
    }

#front-contact label {
    color:#000;
    }

body.home #front-contact input,
body.home #front-contact textarea {
    width:100% !important;
    }

body.home #front-contact input.wpcf7-submit {
    background-color:#237fc4 !important;
    border:none;
    }

/* フッターの背景色変更 */

#footer {
    border-top:solid 8px #a9cf51 !important;
    }

#footer #footer-brand-area {
    border-bottom: 1px solid #a9cf51;
    }

#footer .footer-01 {
    background-color:#fff;
    color:#000 !important;
    }

#footer .footer-02 {
    background-color:#a9cf51;
    }

#footer-gnav-container ul li a {
    color:#000;
    }

/* フッターの文章を左寄せ */

.footer-address {
    text-align:left !important;
    }

/* 固定・投稿ページの背景色を変更 */

#content {
    background-color:#fafafa !important;
    }

/* スマホ用メニューボタンの移動 */
#header {
  background: #fff; /* ヘッダーの背景を白にする */
}

#header a {
  color: #333; /* ヘッダーのリンク（ロゴとスマホメニュー）の色を黒にする */
}

@media screen and (max-width: 991px) {
  #header-nav-btn a {
    background: #fff;
  }
}

@media screen and (max-width: 767px) {
  #header #logo {
    float: left;
  }
  #header-nav-btn {
    display: block;
    width: 116px;
    line-height: 92px;
    float: right;
    margin: 0 -20px 0 0;

  }
  #header-nav-btn a {
    display: block;
    text-align: center;
    font-size: 32px;
    padding:24px 0;
    line-height: 1;
    background: #fff;
    width: auto;
  }
}