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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* アイキャッチ画像の幅修正（追記：岡）*/
.cat-label {
	top: 4%;
	left: 2.5%;
	line-height: 1.8;
	font-size: 0.67em;
	
}
.card-thumb img {
	object-fit: contain;
	height: 16vw;
}
/* 全体の文字をメイリオへ（追記：岡）*/
.body{
  font-family:'メイリオ', 'Meiryo', sans-serif;
}
/* エントリーカードのタイトル　文字小さくと黒色（追記：岡）*/
.entry-card-title {
	font-size:18px!important;
	line-height:160%!important;
	padding:15px;
	color:#000000;
}

/* エントリーカード hover効果（追記：岡）*/
.entry-card-wrap:hover{
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.2);
	background-color: rgb(240,248,255);
    transform: translateY(-2px);
    transition: all .3s ease;
}
/* エントリーカード description 灰色（追記：岡）*/
.entry-card-snippet {
	color:#696969;
}
/*　インデックスとサイドバーのtopを少し 15px margin 付ける（追記：岡）*/
.main {
	margin-top:15px;
}
.sidebar{
	margin-top:15px;
	font-size:16px;
	color:#000000;
}
/* List Finderのiframe を入れ込む際のCSC編集*/
.form_box{
    position:relative;
    width:100%;
    height:0;
    padding-top:75%;
}
.form_box iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
/* エントリーカードのタイトル　文字小さくと黒色（追記：岡）*/
.entry-card-title {
	font-size:16px!important;
}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
/* エントリーカードのタイトル　文字小さくと黒色（追記：岡）*/
.entry-card-title {
	font-size:14px!important;
}
/* メニュー（モバイル）の文字を全部白にしておく（追記：岡）*/
.mobile-footer-menu-buttons .menu-button,
.mobile-footer-menu-buttons .menu-button:hover,
.mobile-footer-menu-buttons .menu-button a,
.navi-menu-content,
.menu-drawer a,
.menu-drawer a:hover{
  color: white;
}
	
	
}

.toggle-button {
    background: #fff;
    text-align: left;
    font-weight: bold;
    box-shadow: 0 2px 6px 0px #ddd;
    border: none;
    padding: 1em;
}
.toggle-button::before,
.toggle-checkbox:checked~.toggle-button::before {
    content: 'Q';
    color: #f89174;
    font-size: 1em;
    margin-right: 1em;
}
.toggle-button::after,
.toggle-checkbox:checked~.toggle-button::after {
    font-family: "Font Awesome 5 Free";
    content: '\f107';
    color: #f89174;
    font-size: 1em;
    font-weight: bold;
    position: absolute;
    right: 2em;
    transition: 0.3s;
}
.toggle-checkbox:checked~.toggle-button::after {
    transition: 0.3s;
    transform: rotate(180deg) translateY(3px);
}
.toggle-checkbox:checked~.toggle-content {
    background: #e5f2ff;	
    margin-top: 10px;
    border: none;
    padding: 1em;
}
.toggle-checkbox:checked~.toggle-content p:first-of-type::before {
    content: 'A';
    color: #7499f7;
    font-size: 1em;
    font-weight: bold;
    margin-right: 1em;
}