@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.header {
	background-size: cover;
  background-position: center;
}

#header-container .navi {
  padding: 20px 0;
}

.logo-text {
  display: none;
}

.navi-in > ul li {
  height: 40px;
  line-height: 40px;
}

.navi-in > ul .menu-item-has-description > a > .caption-wrap {
  height: 40px;
  line-height: 16px;
  font-size: 14px;
  padding-top: 6px;
}

#navi .caption-wrap .item-label {
  font-size: 18px;
  color: #fff;
  letter-spacing: .07em;
}

#navi .navi-in>ul>li {
  border-right: 1px solid #fff;
}

#navi .navi-in>ul>li:last-child {
  border-right-width: 0;
}

.item-description.sub-caption {
  font-size: 11px;
  color: #fff;
  opacity: 1;
  padding: 0.5em;
}

#navi .navi-in a:hover {
  background-color: transparent;
  opacity: 0.6;
}

.sidebar {
  width: 360px;
  text-align: center;
}

.sidebar h3 {
  background: #499ee3;
  text-align: center;
  color: #fff;
  padding: 4px 10px;
  letter-spacing: .12em;
  font-size: 14px;
  font-weight: 400;
}

.sidebar img{
	width: 100%;
}

.cat-label {
  opacity: 1;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border: none;
  box-shadow: 0 0 5px rgb(0 0 0 / 10%);
  left: 8px;
  top: 8px;
  color: #fff;
  background-color: #499ee3;
}

.pagination-next {
  display: none;
}

.pagination {
  margin: 24px 0;
  clear: both;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  width: 100%;
}

.pagination .current {
  background-color: #efefef;
}

.page-numbers {
  color: #333;
  border: 0 !important;
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 20%);
  transition: all .1s ease;
  background-color: #fff;
  border-radius: 50%;
  margin: 4px;
  font-size: 84%;
  width: 44px;
  height: 44px;
  line-height: 44px;
}

.pagination a:hover {
  background-color: #499ee3;
  transition: all 0.3s ease-in-out;
  color: #fff;
}

.footer-bottom {
  margin-top: 0px;
}

.go-to-top-button {
  opacity: 1;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  background-color: #eee;
  color: #333;
}

h1.entry-title {
	color: #499ee3;
    letter-spacing: 1px;
    line-height: 1.4;
    font-weight: 500;
    margin-top: 0;
}

.entry-content h2 {
	background: #499ee3;
	color: #fff;
	padding: 0.5em;
	letter-spacing: 1px;
	margin: 1.8em 0
}

.entry-content h3 {
	position: relative;
    padding: 0.25em 0;
    font-size: 1.2em;
    color: #499ee3;
    border: 0;
    letter-spacing: 1px;
    margin: 1.8em 0;
    line-height: 1.7;
}

.entry-content h3:after {
	content: "";
	display: block;
	height: 4px;
	background: -webkit-linear-gradient(to right, rgb(73, 158, 227), transparent);
	background: linear-gradient(to right, rgb(73, 158, 227), transparent);
}

#toc {
	width: 100% !important;
	max-width: 800px;
	background: #fff;
	border: none;
	box-shadow: 0 0 5px rgb(0 0 0 / 10%);
	padding: 2em 2em;
	counter-reset: toc_number;
}

label.toc-title {
	color: #499ee3;
    text-align: left;
    font-size: 21px;
    letter-spacing: 2px;
    padding: 0;
    border-bottom: 2px
	solid #499ee3;
}

.toc-checkbox:checked~.toc-content {
	visibility: visible;
	padding-top: 0.6em;
	height: 100%;
	opacity: 1;
}

ol.toc-list.open {
	padding-left: 38px;
}

#toc li {
	list-style-type: none;
	list-style: none;
	padding: 0.3em 0 !important;
	position: relative;
}

.toc-list>li:before {
	counter-increment: toc_number;
	content: counter(toc_number);
	background-color: #499ee3 !important;
	color: #fff;
	position: absolute;
	font-weight: bold;
	font-size: 14px;
	border-radius: 50%;
	left: -36px;
	top: 9px;
	width: 22px;
	height: 22px;
	line-height: 22px;
	text-align: center;
}

#toc a {
	text-decoration: none;
	text-shadow: none !important;
	color: #333;
	font-size: 16px;
	font-weight: 600;
}

.entry-content h4 {
	border-top: 2px solid #499ee3;
	border-bottom: solid 2px #499ee3;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
  .wrap {
    width: auto;
  }

  ul.menu-mobile {
    overflow-x: auto;
    overflow-y: hidden;
    display: flex !important;
    flex-wrap: nowrap;
    font-size: 12px;
    justify-content: flex-start;
    padding: 0 1em;
    -webkit-overflow-scrolling: touch;
    position: relative;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
  #navi .navi-in>.menu-mobile li {
    width: 20%;
    margin: auto;
    height: 40px;
    line-height: 40px;
  }

  #navi .navi-in > .menu-mobile li a {
    font-size: 14px;
  }

  #navi .navi-in > .menu-mobile > .menu-item-has-description > a > .caption-wrap {
    height: 40px;
    line-height: 16px;
  }

  #navi .caption-wrap .item-label {
    font-size: 12px;
    color: #fff;
    font-weight: 700;
    letter-spacing: .07em;
    line-height: 2.3em;
  }

  #navi .menu-item .item-description {
    font-size: 9px;
    padding: 0;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  #navi .navi-in>.menu-mobile li {
    width: auto;
  }
}
