@charset "utf-8";
/*
theme Name: BSK
Author: to-ma
Description: original theme
version： 1.0.0
*/
/* reset */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	font-size:100%;
	background:transparent;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
	display:block;
}
nav ul, li {
	list-style:none;
}
blockquote, q {
	quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content:'';
	content:none;
}
a {
	margin:0;
	padding:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
	text-decoration: none;
	cursor: pointer;
}

/*------------------------*/
body {
  /*フォントの指定*/
  font-family:'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
  /*サイト全体のフォントサイズを指定*/
  font-size: 16px;
  /*行間の指定*/
  line-height: 1.7;
  /*サイト全体にかかるmarginをリセット*/
  margin: 0;
  /*サイト全体にかかるpaddingをリセット*/
  padding: 0;
  /*サイトのデフォルトとなる文字の色を指定*/
  color: #112d08;
}

/*見出しを全て太字で表示するように指定*/
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}
/*画像の最大幅を画面のサイズの最大幅に設定*/
img {
  max-width: 100%;
  height: auto;
}
/*フッターの上に境界線を引く*/
footer {
  border-top: solid 1px #ddd;
}


/*------------------------*/
/*コンテンツのサイズ指定*/
.header-inner, .container, .footer-inner {
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.header-inner, .footer-inner {
  max-width: 1200px;
}
.contents {
  padding-bottom: 20px;
	min-height: 600px;
}


/*-----------ヘッダー-------------*/
.header-inner {
	display: -webkit-box;
	display: -webkit-flex;
  display: -ms-flexbox;
	display: flex;
}
/*タイトルを画像にする場合*/
.site-title {
	padding: 2px 10px;
}
.site-title a img:hover {
	opacity: .65;
}
.site-title h1 {
  margin: 0;
  line-height: 0;
}

/*ヘッダーナビ*/
@media (min-width: 768px){
	#header-nav {
		width: 100%;
		display: -webkit-inline-box!important;
	  display: -ms-inline-flexbox!important;
	  display: inline-flex!important;

		-webkit-box-pack: end;
		-ms-flex-pack: end;
		justify-content: flex-end;

		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}
}
.header-nav > ul {
	margin-right: 24px;
}
.header-nav > ul > li {
	display: inline-block;
}
.header-nav a {
	position: relative;
	display: block;
	padding: 10px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.5px;
	transition: ease-out 0.2s color;
}
.header-nav li a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.header-nav a:before {
	content: "";
	width: calc(100% - 20px);
	left: 0;
	right: 0;
	height: 2px;
	background: #d9de2b;
	display: block;
	position: absolute;
	bottom: 5px;
	margin: auto;
	transform: scaleX(0);
	transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.4s transform;
	transform-origin: left;
}
.header-nav a:hover:before {
	transform: scaleX(1);
}


@media (max-width: 767px){
	.header-inner {flex-direction: column;}
	.site-title {
		width: 220px;
		z-index: 2;
	}
	/*スマホ用のメニュー*/
	#header-nav {
    display: none;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    position: absolute;
    margin: auto;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
	}
	.header-nav > ul {
    margin: 0 auto;
    margin-top: 13vh;
	}
	.header-nav > ul > li {
    display: block;
    text-align: center;
	}
	.header-nav a {
		display: inline-block;
		color: #333;
    font-size: 16px;
    padding: 13px 0;
	}
	.header-nav li a:hover {
	  color: #d9de2b;
	}
	.header-nav a:before {
    transform: scaleX(1);
    width: 100%;
    background: #333333;
    bottom: 10px;
	}

	/*スマホ用のメニューボタン*/
	.menu-trigger,.menu-trigger span {
	  display: inline-block;
	  transition: all .4s;
	  box-sizing: border-box;
	}
	.menu-trigger {
	  position: fixed;
	  width: 40px;
	  height: 30px;
		top: 13px;
    right: 10px;
		z-index: 2;
	}
	.menu-trigger span {
	  position: absolute;
	  left: 0;
	  width: 100%;
	  height: 4px;
	  background-color: #fff;
	  border-radius: 4px;
	}
	.menu-trigger span:nth-of-type(1) {
	  top: 0;
	}
	.menu-trigger span:nth-of-type(2) {
	  top: 13px;
	}
	.menu-trigger span:nth-of-type(3) {
	  bottom: 0;
	}

	/*click後のスタイル*/
	.menu-trigger.active span {
	  background-color: #333;
	}
	.menu-trigger.active span:nth-of-type(1) {
	  -webkit-transform: translateY(13px) rotate(-45deg);
	  transform: translateY(13px) rotate(-45deg);
	}
	.menu-trigger.active span:nth-of-type(2) {
	  opacity: 0;
	}
	.menu-trigger.active span:nth-of-type(3) {
	  -webkit-transform: translateY(-13px) rotate(45deg);
	  transform: translateY(-13px) rotate(45deg);
	}
}



/*-----------フッター-------------*/
footer {
  background-color: #098e56;
	padding: 10px;
}

/*フッターメニュー*/
.footer-nav {
  margin-bottom: 20px;
}
.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav ul:after {
  display: block;
  clear: both;
  content: '';
}
.footer-nav li {
  float: left;
  width: 50%;
  text-align: center;
}
.footer-nav li a {
  font-size: .9em;
  display: block;
  padding: 10px 5px;
  text-decoration: none;
  color: #fff;
}
.footer-nav li a:hover {
  opacity: .6;
}

/*コピーライト*/
.copyright p {
  font-size: .6em;
  margin: 0;
  text-align: center;
  color: #fff;
}

@media (min-width: 768px) {
  .footer-nav li {
    width: auto;
  }
  .footer-nav li a {
    font-size: 1em;
    padding: 10px 20px;
  }
}


/*コンテンツとサイドバーを横に並べる
@media (min-width: 768px) {
  .container:after {
    display: block;
    clear: both;
    content: '';
  }
  .contents {
    float: left;
    width: 70%;
    margin-right: 2%;
  }
  #sidebar {
    float: left;
    width: 28%;
		margin: 20px 0;
  }
}
*/
/*-----------サイドバー-------------*/
.sidebar-wrapper {
  margin-bottom: 1.8em;
  padding: 10px;
}
.sidebar-wrapper h4 {
  font-size: 1.1em;
  margin-top: 0;
  margin-bottom: 10px;
  padding: 7px 10px;
  color: #fff;
  background-color: #464646;
}


/*デフォルトウィジェット*/
.widget_recent_entries ul, .widget_meta ul, .widget_recent_comments ul, .widget_pages ul, .widget_meta ul, .widget_categories ul, .widget_archive ul, .widget_nav_menu ul {
  padding: 0;
  list-style: none;
}

.widget_recent_entries li, .widget_meta li, .widget_recent_comments li, .widget_pages li, .widget_meta li, .widget_categories li, .widget_archive li, .widget_nav_menu li {
  position: relative;
  padding: 10px;
}

.widget_recent_entries li, .widget_nav_menu li {
  padding-left: 25px;
}

.widget_recent_entries a, .widget_meta a, .widget_recent_comments a, .widget_pages a, .widget_meta a, .widget_categories a, .widget_archive a, .widget_nav_menu a {
  text-decoration: none;
  color: #333;
}

.widget_recent_entries a:hover, .widget_meta a:hover, .widget_recent_comments a:hover, .widget_pages a:hover, .widget_meta a:hover, .widget_categories a:hover, .widget_archive a:hover, .widget_nav_menu a:hover {
  opacity: .6;
}

/*カテゴリウィジェット*/
.widget_categories li {
  display: inline-block;
  margin: 2px;
  padding: 2px 10px;
  white-space: nowrap;
  border-radius: 3px;
  background-color: #777;
}
.widget_categories li:before {
  font-family: 'Font Awesome 5 Free';
  font-size: .8em;
  font-weight: bold;
  padding-right: 2px;
  content: '\f02b';
  color: #fff;
}
.widget_categories li a {
  font-size: .8em;
  color: #fff;
}

/*タグウィジェット*/
.tagcloud a {
  font-size: .9em !important;
  line-height: 2.5em;
  margin: 2px;
  padding: 2px 10px;
  white-space: nowrap;
  text-decoration: none;
  color: #333;
  border: 1px solid #333;
  border-radius: 3px;
}

/*新着ウィジェット*/
.widget_recent_entries li:before {
  font-family: 'Font Awesome 5 Free';
  font-weight: bold;
  position: absolute;
  left: 5px;
  content: '\f303';
  color: #464646;
}

/*メニューウィジェット*/
.widget_nav_menu li:before {
  font-family: 'Font Awesome 5 Free';
  font-weight: bold;
  position: absolute;
  left: 5px;
  content: '\f0da';
  color: #464646;
}

/*カレンダーウィジェット*/
#wp-calendar {
  width: 100%;
}
#wp-calendar tbody {
  text-align: center;
}


/*記事表示*/
.kiji-list {
  margin: 0 0 15px;
  border: solid 1px #ddd;
  background-color: #fff;
}
.kiji-list a {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: #000;
}
.kiji-list a:after {
  display: block;
  clear: both;
  content: '';
}
.kiji-list a:hover {
  background-color: #eee;
}
.kiji-list img {
  float: left;
  width: 220px;
  height: 150px;
  object-fit: cover;
}
.kiji-list .text {
  width: auto;
  margin-left: 250px;
}
.kiji-list h2 {
  font-size: 1.05em;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 5px;
}
.kiji-info {
	padding-bottom: 2%;
}
.kiji-date {
  font-size: .8em;
  margin-bottom: 8px;
  color: #666;
}
.cat-data {
  font-size: .6em;
  padding: 3px 5px;
  text-align: center;
  white-space: nowrap;
  color: #fff;
  border-radius: 3px;
  background-color: #464646;
}
.kiji-list p {
  font-size: .8em;
  margin: 10px 0 0;
}
@media (max-width: 599px) {
  .kiji-list a {
    padding: 10px;
  }
  .kiji-list img {
    width: 100px;
    height: 80px;
  }
  .kiji-list .text {
    margin-left: 120px;
  }
  .kiji-list h2 {
    font-size: .95em;
  }
  .kiji-date {
    margin-bottom: 0;
  }
  .kiji-list p {
    visibility: hidden;
    height: 0;
  }
}
/*ページネーション*/
.pagination {
  margin: 40px 0 30px;
  text-align: center;
}
.pagination ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pagination li {
  display: inline-block;
  width: auto;
}
.pagination li a, .pagination li > span {
  font-size: .9em;
  display: block;
  width: 30px;
  margin: 0 1px;
  padding: 5px 0;
  text-decoration: none;
  color: #000;
  border: solid 1px #ccc;
  border-radius: 3px;
}
.pagination li > span {
  color: #fff;
  background-color: #464646;
}
.pagination li a:hover {
  color: #fff;
  background-color: #464646;
}
.pagination li .dots {
  width: 15px;
  padding: 0;
  color: #000;
  border-color: transparent;
  background-color: transparent;
}
/*カテゴリ・タグタイトル*/
.contents > h1 {
  font-size: 1.5em;
  margin: 0 0 20px;
}
@media (max-width: 599px) {
  .contents > h1 {
  font-size: 1.3em;
  }
}


/*-----------single-------------*/
.kiji {
  font-size: 1em;
  margin: 0;
}
.kiji-info .cat-data a {
  text-decoration: none;
  color: #fff;
}
.kiji-info .cat-data a:hover {
  opacity: .8;
}
.kiji-img {
  max-width: 640px;
  margin: 30px auto;
  text-align: center;
}

/*タグ*/
.kiji-tag {
  text-align: right;
}
.kiji-tag ul {
  list-style: none;
}
.kiji-tag li {
  display: inline-block;
  color: #464646;
}
.kiji-tag li a {
  font-size: .8em;
  margin-right: 7px;
  padding: 2px 7px;
  text-decoration: none;
  color: #464646;
  border: solid 1px #464646;
  border-radius: 2px;
}
.kiji-tag li a:hover {
  opacity: .8;
}
.kiji p {
  margin-top: 0;
  margin-bottom: 30px;
}
.kiji h1 {
  font-size: 1.7em;
	text-align: center;
	padding: 80px 25px 25px;
	background: #efffed;
}
.kiji h2 {
  font-size: 1.5em;
  margin-top: 3em;
  margin-bottom: 1.5em;
  padding: .4em 0;
  border-bottom: solid 5px #464646;
}
.kiji h3 {
  font-size: 1.35em;
  margin-bottom: 0.8em;
  padding: 0 .5em;
  border-left: solid 5px #d9de2b;
  background: transparent;
}
.kiji h4 {
  font-size: 1.2em;
  margin: 0 0 .3em;
}
.kiji h5 {
  font-size: 1.1em;
  margin: 0 0 .3em;
}

@media (max-width: 599px) {
  .kiji {font-size: 92%;}
  .kiji h1 {font-size: 1.3em;}
  .kiji h2 {font-size: 1.25em;}
  .kiji h3 {font-size: 1.2em;}
  .kiji h3:after {display: none;}
  .kiji h4 {font-size: 1.15em;}
  .kiji h5 {font-size: 1.1em;}
}
