@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.br-sp {display: none; }
.br-pc {display: inline-block; }
@media screen and (max-width: 1023px){ 
.br-sp {display: inline-block; }
.br-pc {display: none; }
}
/* モバイルフッターメニューの文字色・背景色を変更 */
.mobile-menu-buttons {
    color: #ffffff; /* 文字色 */
    background-color: #3e382f; /* 背景色 */
}
/* オンカーソル時の設定 */
.menu-button:hover { 
    color: #ffffff; /* 文字色 */
    background-color: #3e382f; /* 背景色 */ 
}
.mobile-menu-buttons .menu-button > a { 
color:#ffffff;
}
/* グローバルメニュースライドインの背景設定 */
.navi-menu-content {
	background: #3e382f;
	color:#ffffff;
}
.menu-drawer a {
	color: #ffffff;
}
/* グローバルメニュー参加ボタン */
#menu-item-245 {
  background-color:#ee7c00;
}
/* スマホグローバルメニュー参加ボタン */
.mobile-menu-buttons li:nth-of-type(2){
	background-color:#ee7c00;
}
/*グローバルメニューのフォントサイズ等変更*/
.navi-in .menu-header .item-label{
	font-size: 14px;
	font-weight:700;
}
/************************************
****　見出し
************************************/
.article h2 {
	position: relative;
	padding: 0.6em;
	background: #ee7c00;
	color:#ffffff;
}
.article h2:after {
	position: absolute;
	content: '';
	top: 100%;
	left: 30px;
	border: 15px solid transparent;
	border-top: 15px solid #ee7c00;
	width: 0;
	height: 0;
}
/************************************
****　目次
************************************/
.toc {
  border: 3px solid #3e382f;
  font-size: 15px;
  padding: 0;
  display: table;
}
.toc .toc-list {
  list-style: none;
  margin-top: 0;
  padding-left: 0;
  counter-reset: toc;
}
.toc .toc-list > li {
  margin: 15px 0 15px 40px;
  padding: 0;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
}
.toc .toc-list > li:before {
  position: absolute;
  left: -40px;
  top: 0;
  color: #ee7c00;
  display: inline-block;
  padding-right: 8px;
  margin-right: 8px;
  border-right: 2px solid #3e382f;
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
}
.toc .toc-list > li ul,
.toc .toc-list > li ol {
  margin: 8px 0 8px -2px;
  padding-left: 0;
}
.toc .toc-list > li ul > li,
.toc .toc-list > li ol > li {
  position: relative;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}
.toc .toc-checkbox:checked ~ .toc-content {
  padding: 20px 50px;
}
.toc a {
  color: #333;
  text-decoration: none;
}
.toc a:hover {
  text-decoration: underline;
}
.toc-title {
  color: #3e382f;
  font-size: 1.1em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 5px 0;
  font-weight: 700;
}
.toc-title:before {
  display: inline-block;
  width: 38px;
  height: 32px;
  font-family: "Font Awesome 5 Free";
  font-size: .9em;
  text-align: center;
  line-height: 32px;
  content: "\f0ca";
  font-weight: 700;
}
.toc-checkbox:checked + .toc-title::after,
.toc-title::after {
  cursor: pointer;
  font-size: .8em;
  display: inline-block;
  margin-left: 0.8em;
  padding: 4px 16px;
  font-size: .7em;
  line-height: 1;
  background-color: #e5e5e5;
  border-radius: 4px;
}
.toc-checkbox:checked + .toc-title::after {
  content: '閉じる';
}
.toc-title::after {
  content: '開く';
}
@media screen and (max-width: 480px) {
.toc .toc-checkbox:checked ~ .toc-content {
  padding: 10px 20px 20px 20px;
}
  .toc ul, .toc ol {
    padding-left: 0;
  }
  .toc-checkbox:checked ~ .toc-content {
    padding: 10px;
  }
}
/************************************
****　アピールエリア
************************************/
@media screen and (max-width: 1023px){
/*コンテンツエリア*/
.appeal-content { 
	padding:0px;
	background-color:initial;
}
}
.appeal-content { 
	padding:0px;
	background-color:initial;
}
/*
#appeal {
	width:1579px;
	height:300px;
	text-align:center;
	margin:0 auto;
}
*/
.appeal_area_box{
	max-width:500px;
	margin-top:-20px;
	height:250px;
}
/*#appeal {
    height: calc(100vw * calc(300 / 1600));
}*/
/*アピールエリアの高さ設定　タブレット*/
@media (max-width: 1600px){
#appeal {
width:100%;
height: auto;
}
.appeal_area_box{
	max-width:500px;
	margin-top:0;
	height:260px;
}
}
/*アピールエリアの高さ設定　スマホ*/
@media (max-width: 780px){
.appeal_area_box{
	max-width:500px;
	margin-top:0;
	height:230px;
}
}
.orignal_btn01 {
  display: inline-block;
  position: relative;
  width: 100%;
  max-width: 350px; /* ボタン幅 */
  padding: 1em 2em;
  background-color: #e37910; /* 背景色 */
  box-shadow: 0 3px 0 0 #b24b06; /* 影の色 */
  border-radius: 10px;
  font-weight: bold; /* 文字の太さ */
  font-size:1.3rem;
  letter-spacing:1px;
  color: #fff; /* 文字の色 */
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: 0.3s;
}
.orignal_btn01::before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #fff;
  transition: 0.2s;
  animation: shiny_btn01 3s ease-in-out infinite;
}
/* マウスオーバーした際のデザイン */
.orignal_btn01:hover {
  text-decoration: none;
  color: #fff;
  box-shadow: none;
  -webkit-transform: translateY(3px);
}
/************************************
****　おすすめカード
************************************/
/* PCで2列に */
.recommended .navi-entry-cards {
    flex-wrap: wrap;
}
.recommended .navi-entry-card-link {
    width: 50%;
} 
/**/

div#recommended-in.recommended-in.wrap.cf{
margin-top: 20px;
}
@media screen and (min-width: 1024px){
div#recommended-in.recommended-in.wrap.cf{
padding:0 2em;
}}
div#content.content.cf{
margin-top:0;
}
.widget-entry-cards .a-wrap{
transition: all .2s;
}
.widget-entry-cards .a-wrap:hover {
transform: translateY(-1px);
transition: all .2s;
}
figure.navi-entry-card-thumb.widget-entry-card-thumb.card-thumb{
opacity:1;
}
.recommended.rcs-center-white-title .a-wrap:hover .card-content {
transition: all .1s;
opacity: 1;
}
.widget-entry-cards.large-thumb-on .card-content{
background: rgba(151, 151, 151, 0);
}
a.navi-entry-card-link.widget-entry-card-link.a-wrap{
border-radius:10px!important;
margin:1em .5em;
background-color:#fff8e3;/*Cocoon設定「全体」の「サイト背景色」に合わせてください*/
}
div.navi-entry-card-title.widget-entry-card-title.card-title{
color:#333333;
font-weight:bold;
font-size:.8em;
background-color: rgba(255, 255, 255, 0.8);
padding: .6em .5em;
border-radius:30px;
}
@media (max-width:834px){
a.navi-entry-card-link.widget-entry-card-link.a-wrap{
margin:.3em 0em;
}
div.navi-entry-card.widget-entry-card.e-card.cf{
border-radius:10px!important;
overflow:hidden;
margin:0 .3em 0;
box-shadow: 0px 1px 4px 0 rgba(0,0,0,.1)!important;
}
.widget-entry-cards.large-thumb-on .a-wrap:hover {
box-shadow:none;
}
}
@media (max-width:834px){
div.navi-entry-card-title.widget-entry-card-title.card-title{
font-size:.6em;
padding: .5em;
}
div#recommended-in.recommended-in.wrap.cf{
margin: .7em .2em .3em;
}
.widget-entry-cards.large-thumb-on .card-content{
background: rgba(151, 151, 151, 0.2);
}
}
main#main.main{
margin:0;
}
.body .navi-entry-cards{
margin-bottom: 0;
}
/************************************
** 新着情報
************************************/
.info-list.is-style-frame-border{
background-color:#ffffff;
border:solid 3px #3e382f;
}
.widget h2{
margin-left:20px;
}
/*#content-bottom-in{
max-width:860px;
}
*/
@media screen and (max-width: 1023px){
.info-list.is-style-frame-border{
background-color:#ffffff;
border:solid 3px #3e382f;
margin:0 20px 20px 20px;
}
.widget h2{
margin-left:30px;
}
}

/************************************
** ショートコードカテゴリ一覧
************************************/
.custom-entry-card-wrap.a-wrap {
  text-decoration: none;
  display: block;
  color: #333;
  padding: 1.5%;
  margin-bottom: 3%;
  transition: all 0.3s ease-in-out;
}
.custom-entry-card-wrap h2 {
  color: #333;
  font-size: 18px;
  margin: 0 0 5px 0;
  padding: 0;
  line-height: 1.6;
  font-weight: bold;
  background: none;
}
.custom-entry-card-wrap .entry-card-content {
  margin-left: 216px;
}
.custom-entry-card-wrap .entry-card-thumb {
  width: 216px;
}
.custom-entry-card-wrap .card-thumb img {
  display: block;
  width: 216px;
  height: 14vw;
  max-height: 140px;
  object-fit: cover;
}

.pagination.cumstom_pagination .border-partition a,
.pagination-next.cumstom_pagination .border-partition a,
.pagination-next.cumstom_pagination .border-partition a:first-of-type {
  border-top: solid;
  border-left: solid;
  border-right: solid;
  border-bottom: solid;
}

@media screen and (max-width: 480px) {
  .custom-entry-card-wrap h2 {
    font-size: 16px;
    line-height: 1.3;
  }
  .custom-entry-card-wrap .entry-card-content {
    margin-left: 38%;
  }
  .custom-entry-card-wrap .entry-card-thumb {
    width: 38%;
  }
  .custom-entry-card-wrap .card-thumb img {
    width: 100%;
    height: 18vw;
    max-height: 180px;
  }
}
/************************************
**　トップ新着・人気・関連記事ウィジェット 投稿日・更新日表示
************************************/
.widget-entry-card-date {
  display: block;
}
/*.widget-entry-card-update-date {
  display: none;
}*/
.widget-entry-card-date::before{ /*投稿日のアイコンの変更*/
	font-family: "Font Awesome 5 Free";
	content: "\f017"; /*fa-clockアイコン*/
	font-weight: 400; /*アイコンの種類regular*/
	padding-right: 0px; /*右余白*/
	font-size: 12px; /*フォントサイズ*/
}
.widget-entry-card-update-date::before{ /*更新日のアイコンの変更*/
	font-family: "Font Awesome 5 Free";
	content: "\f1da"; /*fa-historyアイコン*/
	font-weight: 900; /*アイコンの種類solid*/
	padding-right: 3px; /*右余白*/
	font-size: 12px; /*フォントサイズ*/
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
