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

/**************************************************************//**************************//**************************
** 子テーマ用のスタイルを書く（上から順番に書き込む）
************************************//**************************//**************************//**************************/
                                      
/**************************/
/****グローバルナビメニュー/
/**************************/
/*フォントサイズ等変更*/
.navi-in .menu-header .item-label{
font-weight:bold;
}
/*選択時下線*/
.navi-in a:hover {
background:none;
border-bottom:solid 1px #f4c91d;
transition: all .2s ease;
}
.navi-in>ul .sub-menu {
background-color: #fff;
opacity: 0.95;
padding-bottom:3px;
}
/*検索窓*/
.sidebar .search-box, .search-menu-content .search-box {
  width: 100%;
  margin: 1em 0 2em;
  position: relative;
  display: flex;
  border-radius: 50px; /*全体を囲むボックスの角丸*/
  box-shadow:0px 4px 6px 0px #c4c4c4; /*全体を囲むボックスのシャドウ*/
}
.search-menu-content .search-box {
  box-shadow:0px 4px 6px 0px #333; /*スライドイン表示でのシャドウ*/
}
.sidebar .search-edit, .search-menu-content .search-edit {
  width: 80%; /*入力部分の長さ*/
  background: #fff; /*入力部分の背景色*/
  padding: 0 10px;
  border: 2px solid #F4C91D;
  border-radius: 50px 0 0 50px; /*左上、左下のみ角丸*/
  font-size: 16px;
}
.search-submit {
  width: 20%; /*ボタン部分の長さ*/
  background: #F4C91D; /*ボタン部分の背景色*/
  color: #fff; /*アイコンの色*/
  position: static;
  right: auto;
  top: auto;
  font-size: 20px; /*アイコンの大きさ*/
  cursor: pointer;
  line-height: 50px; /*検索窓の高さ*/
  border: none;
  border-radius: 0 50px 50px 0; /*右上、右下のみ角丸*/
  padding: 0;
}
.search-box input::placeholder {
  color: #bbb; /*プレースホルダーの色*/
}
.search-box input:focus, .search-box button:focus {
  outline: 0; /*フォーカス時の枠線を消す*/
}
/**************************/
/****アピールエリア/
/**************************/
/* 最小高さを解除 */
.appeal .appeal-in {
  min-height: unset;
}
/* 画像比率に合わせ画面いっぱいに表示 */
.appeal {
  aspect-ratio: 1920 / 720;
  background-size: contain;
}
	.page-id-5420 .main {
    padding-top: 0;
}
/**************************/
/****カルーセルエリア/
/**************************/
/* 選択時動く */
.slick-slide:hover{
 transform: translateY(-3px);
}
/* 角丸シャドウ */
.slick-slide img {
  border-radius: 10px;
  box-shadow: 0 3px 5px 0 rgb(0 0 0 / 2%);
}
/* 文字デザイン */
.carousel-entry-card-title{
font-size:1em; /*文字サイズ*/
color:#333; /*文字色*/
font-weight:bold
}
.carousel-entry-card-title:hover{
color:#F4C91D;
}
/* スライドドットデザイン */
.slick-dots li button:before{
content:"●"; /*記号*/
font-size:15px; /*大きさ*/
color: #F4C91D; /*色*/
}
.slick-roll {

}


/**************************/
/****タグクラウド/
/**************************/
/* デザイン */
.fa-tag:before {
 content: none;
}
.tagcloud{
margin:0px 20px;
}
.tagcloud a {
 border-radius: 20px; 
	background-color: #fff;
	display: flex; 
   padding: 3px 10px; 
}
/* 選択時色が変わる */
.tagcloud a:hover {
 background-color: #F4C91D;
	color: #fff; 
	border-color: #F4C91D;
}
/**************************/
/****新着記事/
/**************************/
/* 選択時動く */
.new-entry-card-link.a-wrap:hover{
 transform: translateY(-2px);
}
/* 角丸シャドウ */
.new-entry-card-link.a-wrap{
 border-radius:10px;
}
.new-entry-card-link.a-wrap img {
 border-radius: 10px;
 box-shadow: 0 3px 5px 0 rgb(0 0 0 / 2%);
}
/* 文字デザイン */
.new-entry-card-title{
font-size:1em; /*文字サイズ*/
color:#333; /*文字色*/
font-weight:bold
}
@media screen and (max-width: 834px){
.new-entry-card-title{
font-size:0.8em; /*文字サイズ*/
color:#333; /*文字色*/
font-weight:bold
}
}
/**************************/
/****サイドバー/
/**************************/
/* 背景色を透明にする */
#sidebar{
  background: transparent;
}
.sidebar h3 {
	background: transparent;
	border-bottom:solid 2px;

}
/**************************/
/****人気記事/
/**************************/
/* 選択時動く */
.popular-entry-card-link.a-wrap:hover{
 transform: translateY(-2px);
}
/* 角丸シャドウ */
.popular-entry-card-link.a-wrap{
 border-radius:10px;
}
.popular-entry-card-link.a-wrap img {
 border-radius: 10px;
}
/* 文字デザイン */
.popular-entry-card-title{
font-size:1em; /*文字サイズ*/
color:#333; /*文字色*/
font-weight:bold
}
@media screen and (max-width: 834px){
.popular-entry-card-title{
font-size:0.8em; /*文字サイズ*/
color:#333; /*文字色*/
font-weight:bold
}
}
/* PC1カラム、モバイル2カラム */
.popular-entry-cards {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media screen and (max-width: 1024px) {
 .popular-entry-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/*ランキングラベル表示デザイン*/
.widget-entry-cards.ranking-visible .card-thumb::before {
	top:-7px!important; /*上からの位置*/
	left:-5px!important; /*左からの位置*/
	border-radius:100%;/*角を丸くする*/
	font-weight: bold;/*太字にする*/
}
/**************************/
/****ボックスメニュー/
/**************************/
.box-menu{
	padding: 0;
	min-height: 0;
}
.box-menu:hover{
	box-shadow:none;
} 
.box-menu-label,
.box-menu-description{
	display: none;
}
.box-menu-icon *{
	margin: 0;
	max-width: 100%;
	max-height: 300px;
	border-color: none;
}
/* PC1列モバイル2列 */
.nwa .box-menu {
	width: 100%;
	margin: 0 auto;
}
@media screen and (max-width: 1024px){
 .nwa .box-menu {
	width: 50%;
}
}
/*余白*/
.nwa .box-menu {
	width: 47%;
	margin: 1.5%;
	text-align:margin-left;
	margin: 1.5%;
	margin-bottom: 20px
}
/* 選択時動く */
.nwa .box-menu-icon img:hover{
transform: translateY(-2px);
opacity:0.8;
}
.nwa .box-menu-icon img{
transition:0.3s all;
}
/*アンケート調査*/
.widget_media_image img{
padding: 0 5px;
}
.widget_media_image img:hover{
transform: translateY(-2px);
transform:scale(1.01,1.01);
opacity:0.8;
}
.widget_media_image img{
transition:0.3s all;
}
/**************************/
/****おすすめカード/
/**************************/
/* 選択時薄く動く */
.navi-entry-card-link:hover{
 transform: translateY(-2px);
 opacity:0.8;
}
/* 角丸シャドウ */
#recommended .navi-entry-card-link{
 border-radius:10px;
}
.navi-entry-card-link img {
 border-radius: 10px;
}
/************************************
** 記事内目次
************************************/
.toc-title {
font-weight: bold;
font-size: 20px;
color: #e84426;
}
.toc {
background: #fffcf1;
font-weight: bold;
font-size: 20px;
border: 2px solid #f4c91d !important;
color: #abcc1b;
}

.toc a {
font-weight: bold;
font-size: 16px;
color: #333333;
}

/************************************//**************************//**************************//**************************
 * モバイル版デザイン （レスポンシブデザイン用のメディアクエリ）
************************************//**************************//**************************//**************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}
/**************************/
/****モバイルヘッダー/
/**************************/
/* 背景色変更 */
.mobile-menu-buttons {
background: #f5ca1d;
color: white;
}
.mobile-menu-buttons .menu-button > a {
color: white;
}
/*文字消す*/
@media screen and (max-width: 1023px){
  .mobile-menu-buttons .menu-caption{
    display: none;
  }
  .mobile-menu-buttons{
    align-items: center;
  }
}
/*固定表示*/
#mobile-fixed-menu {
  display: none;
}
@media screen and (max-width: 834px) {
  #container {
    padding-top: 0px;
  }
  #header {
    background: #f4c91d;  /* 背景色*/
    position: fixed;
    z-index: 2;
    top: 0;
    width: 100%;
    height: 50px; /* ヘッダー高さ */
    transition: .5s;
    box-shadow: 0px 0px 5px rgba(100, 100, 100, 0.2)
  }
  #header-in {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row;
    flex-flow: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 1.5em;
  }
  #header-in .logo {
    padding: 0;
    text-align: left;
  }
  .header-container-in.hlt-top-menu .logo-header img {
    width: 120px !important; /* ロゴ大きさ */
    vertical-align: middle;
  }
  #header-in .tagline {
    margin: 0;
    font-size: 10px; /* キャッチフレーズ文字サイズ */
    text-align: left;
  }
  #mobile-fixed-menu {
    margin-left: auto;
    line-height: 1;
    height: 50px; /* メニューボタン高さ */
    padding-top: 5px; /* メニューボタン上部余白 */
    display: block;
  }
  #mobile-fixed-menu .menu-icon::before {
    font-family: "Font Awesome 5 Free";
    font-size: 1em;
    content: '\f0c9';
  }
  #mobile-fixed-menu .menu-icon {
    text-align: center;
    display: block;
    font-weight: bold;
    font-size: 24px;
    color: #fff; /* メニューアイコン色 */
  }
  #mobile-fixed-menu .menu-caption {
    font-size: 10px;
    font-weight: bold;
    color: #fff; /* メニューアイコン文字色 */
  }
  .menu-close-button {
    color: #42d5e7; /* メニューを閉じるボタン色 */
    padding: 1em 0 0;
  }
  #sidebar-menu-content {
    color: #6c6b62; /* サイドバー文字色 */
  }
  [id^="toc"]:target {
    padding-top: 50px;
    margin-top: -50px;
  }
  .menu-close-button::before {
    font-family: "Font Awesome 5 Free";
    font-size: 1.2em;
    content: '\f00d';
    padding: 0;
    font-weight: 600;
    color: #aaa;
  }
}
/*謎の余白消す*/
@media screen and (max-width:480px){
    .header div.header-in {
        min-height: auto;
    }
}

/**************************/
/****モバイルスライドインメニュー/
/**************************/
.navi-menu-close-button.menu-close-button{
display:none;
}
/*矢印*/
span.fas.fa-times::before{
font-family: "Font Awesome 5 Free";
content: "\f060";
color:#ffd200;
}
/*メニュー全体*/
ul.menu-drawer::before{
font-size:1.2em;
background: #fffffff0;
color:#333;
}
.navi-menu-content{
color:#fffffff0
background-color: #fffffff0;
width:100vw;
height:100vh;
}
/*リスト項目*/
ul.menu-draw
.menu-drawer li {
padding:1.5em;
margin:1em;
}
.menu-drawer a{
font-size:1em;
margin-left:2em;
background-color:none;
color:#333333;
margin-bottom: 5em 0;
border-radius: 5px;
}
/*リスト項目選択時黄色くなる*/
.menu-drawer a:hover{
background-color:#f4c91d;
font-family: "Font Awesome 5 Free";
content : "\f105";
color:#fff;
}
/*モバイルメニュー背景色*/
.navi-menu-content {
background-color: #fffffff0;
}

/**************************/
/****検索/
/**************************/
/* 検索文言 */
<?php _e( '<キーワード>', THEME_NAME ) ?>" name="s" class="search-edit" aria-label="input" value="<?php echo esc_attr($s); ?>">
/*検索窓の幅調整*/
@media screen and (min-width: 481px) {
	.search-box {
		width: 30%;
		margin-left: auto;
		margin-right: auto;
	}	
/* スライド検索バー用スタイル  */
/* 🔍アイコン ─ 右上に固定表示 */
.kr-search-toggle{
  cursor:pointer;
  position:fixed;
  top:16px;/* ヘッダー高さに合わせて調整 */
  right:24px;
  font-size:22px;
  line-height:1;
  color:#fff;/* アイコン色（お好みで） */
  z-index:10001;
}
/* スライドパネル本体 */
#kr-global-search-panel{
  position:fixed;
  top:0;
  left:0;
  right:0;
  padding:20px 5%;
  background:#ffffff;
  box-shadow:0 4px 12px rgba(0,0,0,.15);
  transform:translateY(-110%);/* 画面外（上）へ退避 */
  transition:transform .35s ease;
  z-index:10000;
}
/* フォーム幅を中央で制限 */
#kr-global-search-panel form{
  max-width:760px;
  margin:0 auto;
}
/* チェック ON でスライドイン */
.kr-search-toggle-checkbox:checked + #kr-global-search-panel{
  transform:translateY(0);
}
/* --- レスポンシブ調整例（750px 以下） --- */
@media (max-width:750px){
  #kr-global-search-panel{padding:16px 4%;}
  .kr-search-toggle{top:12px; right:16px;}
}
/**************************//**************************//**************************/
/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}
/**************************//**************************//**************************/
/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/**************************//**************************//**************************/
