/*
Theme Name: habakiri-child
Theme URI: http://2inc.org ( テーマのURL )
Description: Habakiri の子テーマです
Author: Takashi Kuroda
Author URI: http://2inc.org ( 作者のURL )
Version: 1.0.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Template: habakiri
*/

body {
    /* 明朝体の場合 */
    font-family: "Roboto", "Droid Sans", "游明朝", "YuMincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    line-height: 1.8;
    font-weight: 500;
    background-color: #f8fcea;
}

p, ul, ol, dl, table {
    margin-bottom: 20px;
}
p{
  font-size: 16px;
}
section strong{
  font-weight: bold;
  font-size: 1.2em;
}

h2, .h2 {
    font-size: 26px;
    margin: 40px 0 20px;
}

h3, h3 {
    font-size: 22px;
}

/* clear */
.cbox {
zoom: 100%;
}
.cbox:after {
content: " ";
clear: both;
height: 0;
display: block;
visibility: hidden;
}

/* tel */
a[href^="tel:"] { cursor: default; }

/* header */
#header{
  background-color: #f8fcea;
}
header .site-branding{
  padding-top: 10px;
  padding-bottom: 10px;
}

.page-header__title {
  font-weight: bold;
}

/* nav */
#menu-header a{
  font-size: 16px;
}
#menu-header a:hover,
#menu-header .sub-menu li a:hover{
  background-color: #fafafa;
  color: #000;
}

.responsive-nav .menu>.menu-item>a:hover, .responsive-nav .menu>.menu-item>a:active, .responsive-nav .menu>.current-menu-item>a, .responsive-nav .menu>.current-menu-ancestor>a, .responsive-nav .menu>.current-menu-parent>a, .responsive-nav .menu>.current_page_item>a, .responsive-nav .menu>.current_page_parent>a, .header--transparency.header--fixed--is_scrolled .responsive-nav .menu>.menu-item>a:hover, .header--transparency.header--fixed--is_scrolled .responsive-nav .menu>.menu-item>a:active, .header--transparency.header--fixed--is_scrolled .responsive-nav .menu>.current-menu-item>a, .header--transparency.header--fixed--is_scrolled .responsive-nav .menu>.current-menu-ancestor>a, .header--transparency.header--fixed--is_scrolled .responsive-nav .menu>.current-menu-parent>a, .header--transparency.header--fixed--is_scrolled .responsive-nav .menu>.current_page_item>a, .header--transparency.header--fixed--is_scrolled .responsive-nav .menu>.current_page_parent>a{
  color: #000 !important;
}

.responsive-nav .menu-item{
  border-left: 1px solid #999;
}
.responsive-nav .menu-item:hover a{
  background-color: #fcfff4 !important;
}

.responsive-nav .menu-item .sub-menu .menu-item{
  border-left: none;
}
#menu-header .sub-menu li a{
  background-color: #f8fcea !important;
}
#menu-header .sub-menu li:hover a{
  background-color: #fcfff4 !important;
}
.responsive-nav .menu-item:last-of-type{
  border-right: 1px solid #999;
}
.responsive-nav .menu-item .sub-menu .menu-item:last-of-type{
  border-right: none;
}

.responsive-nav .menu>.menu-item>a,
.header--transparency.header--fixed--is_scrolled .responsive-nav .menu>.menu-item>a{
  padding: 8px 50px !important;
}
.global-nav-wrapper{
  margin: 20px auto;
}

label#message,
label#message textarea{
  max-width: 1170px;
  width: 100%;
}

button,
html input[type=button],
input[type=reset],
input[type=submit]{
  padding: 5px 20px;
  text-align: center;
  border: 1px solid #666;
  background-color: #eee;
}
#button__line{
  text-align: center;
}


/* 前後の記事へ */
#nav__box{
  margin-top: 40px;
}
#nav__box--next{
  display: block;
  float: right;
  text-align: right;
  border: 1px solid #666;
  background-color: #fff;
  border-radius: 3px;
}
#nav__box--prev{
  display: block;
  float: left;
  text-align: left;
  border: 1px solid #666;
  background-color: #fff;
  border-radius: 3px;
}
#nav__box--next a,
#nav__box--prev a{
  display: block;
  color: #333;
  font-size: 16px;
  text-decoration: none;
  padding: 10px;
}
#nav__box--next a:hover,
#nav__box--prev a:hover{
  color: #333;
  opacity: 0.7;
  text-decoration: none;
}

@media screen and (min-width:992px){
  #menu-header .sub-menu li a{
    background-color: #fff;
    color: #000;
  }
}

.responsive-nav .menu>.current-menu-item>a{
  color:black;
}

/* パンくず */
.breadcrumbs,
.breadcrumbs a:active,
.breadcrumbs a:hover,
.breadcrumbs a:link,
.breadcrumbs a:visited,
.breadcrumbs,
.entry-meta {
  font-size: 16px;
  color: #222;
}

/* main */
#main{
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.entry{
  width: 1100px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}


.page-header{
  background-image: url(https://okitsunean.com/wp-content/themes/habakiri-child/image/background.jpg);
}

/* container */
#top__container{
  margin-top: 40px;
}
#top__container p{
  font-size: 18px;
}

#container{
  padding-bottom: 80px;
}

/* news */
#news{
  background-color: rgba(255, 255, 255, 0.7);
  /*10px 10px 10px rgba(0,0,0,0.4);*/ 
 
	overflow: auto;
  margin-bottom: 30px;
}
#news__header{
  font-size: 26px;
}
.news__time{
  width: 130px;
  font-size: 16px;
  line-height: 1.4;
}
.news__title{
  font-size: 16px;
  border-bottom: 1px dotted #333;
  line-height: 1.4;
  margin-bottom: 10px;
}
.news__title:last-of-type{
  border-bottom: none;
}
.news__title a{
  color: #000;
}

/* facebook */
#facebook{
  padding: 0;
}
.fb-page{

}
.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe[style]{
  width: 100% !important;
}

/* footer */
#footer{
  background-color: #333;
}
#footer .footer-widget-area a{
  color: #fff;
}
#footer__logo{
  margin: 30px auto;
  display: block;
}

#footer__nav{
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
#footer__nav a{
  color: #fff;
  font-size: 16px;
  padding: 0 5px;
}
#footer__nav--height{
  word-break: keep-all;
  margin-bottom: 0;
}

#menu-footer li{
  float: left;
}

/* copyright */
#footer .copyright{
  color: #fff;
  background-color: #333;
  text-align: center;
}

.entry__content p{
  font-size: 18px;
}

.slick-slide img{
  min-height: 0 !important;
}

/* derby */
#derby__content{
  margin-top: 20px;
}
#menu ul .derby__list img{
  position: relative;
}
#menu ul .derby__list:nth-child(1) figure:before{
  content: url(image/derby_one.png);
  position: absolute;
  top: -10px;
  left: 0px;
  z-index: 1;
}
#menu ul .derby__list:nth-child(2) figure:before{
  content: url(image/derby_two.png);
  position: absolute;
  top: -10px;
  left: 0px;
  z-index: 1;
}
#menu ul .derby__list:nth-child(3) figure:before{
  content: url(image/derby_three.png);
  position: absolute;
  top: -10px;
  left: 0px;
  z-index: 1;
}

/* notice archive */
#notice__content{
  margin-top: 20px;
}
#notice__list{
  font-size: 18px;
}
.notice__list--data{
  float: left;
  clear: both;
  font-weight: normal;
  border-top: 1px dotted #333;
  width: 109px;
}
.notice__list--data:first-of-type,
.notice__list--title:first-of-type{
  border-top: none;
}
.notice__list--title{
  margin-left: 110px;
  border-top: 1px dotted #333;
}
.notice__list--title p{
  font-size: 14px;
}
.notice__list--title a,
.notice__list--title a:hover{
  color: #000;
}
.notice__float--right {
	float: right;
}
.notice__float--left {
	float: left;
}

/* derby */
#derby__btn{

}
#derby__text{
  font-size: 18px;
}

/* derby archive */
#derby__list{
  font-size: 18px;
}
.derby__list--data{
  float: left;
  clear: both;
  font-weight: normal;
  border-top: 1px dotted #333;
  width: 109px;
}
.derby__list--data:first-of-type,
.derby__list--title:first-of-type{
  border-top: none;
}
.derby__list--title{
  margin-left: 110px;
  border-top: 1px dotted #333;
}
.derby__list--title p{
  font-size: 14px;
}
.derby__list--title a,
.derby__list--title a:hover{
  color: #000;
}

.pagination{
    text-align: center;
	margin-bottom:15px;
}
a.page-numbers,
.pagination .current{
    background: #fff;
    color: #000;
    border: solid 1px #ccc;
    padding:5px 8px;
    margin:0 2px;
    text-decoration: none;
}
a.page-numbers:hover,
.pagination .current:hover{
  color: #000;
  opacity: 0.7;
}
.pagination .current{
    background: #8aaa16;
    border: solid 1px #8aaa16;
    color: #fff;
}

/* outline */
#outline__frame{
  font-size: 18px;
}
#outline__frame dl{
  border-left: 1px solid #333;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  background-color: #fcfcf9;
}
#outline__frame dl dt{
  float: left;
  clear: both;
  border-top: 1px solid #333;
  padding: 4px 5px;
  display: block;
  width: 90px;
  text-align: center;
}
#outline__frame dl dd{
  margin-left: 5em;
  border-top: 1px solid #333;
  border-left: 1px solid #333;
  padding: 4px 10px;

}

/* inquery */
input[type=text],
input[type=email],
input[type=tel]{
  height: 34px;
  width: 100%;
}
#inquery label{
  font-weight: normal;
}

/* sns botton */
.addtoany_share_save_container{
  padding-top: 20px;
  margin: 0 0 0 16px;
}

@media screen and (max-width:991px) {
  #menu-header .sub-menu li a,
  .off-canvas-nav--dark a{
    background-color: #333 !important;
    color: #fff !important;
  }
  #menu-header .sub-menu li:hover a{
    background-color: #333 !important;
    color: #fff !important;
  }
}

@media screen and (min-width: 500px) {
  .fb-page-parent > .fb-page {
    width: 300px;
  }
}

@media screen and (max-width:767px) {
  /* 前後の記事へ */
  #nav__box--prev{
    margin-top: 20px;
  }
  #nav__box--next,
  #nav__box--prev{
    display: block;
    float: none;
  }
  #nav__box--next a,
  #nav__box--prev a{
    color: #333;
    font-size: 16px;
  }
  #nav__box--next a:hover,
  #nav__box--prev a:hover{
    color: #333;
    opacity: 0.7;
  }

  .notice__list--data,
  .derby__list--data{
    float: none;
    width: auto;
    border-top: 1px dotted #333;
  }
  .notice__list--data:first-of-type,
  .derby__list--data:first-of-type{
    border-top: none;
  }
  .notice__list--title,
  .derby__list--title{
    margin-left: 0;
    border-top: none;
  }
}