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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

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

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

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

/************************************
** フォント
************************************/
body{
font-family: "UD デジタル 教科書体 N-B","UD Digi Kyokasho N-B","游ゴシック","YuGothic","ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro","メイリオ","Meiryo",sans-serif !important;
}

/************************************
** 背景透過
************************************/
.header-container{ /* ヘッダー */
	background: transparent; /* 背景透過 */
}
.navi{
background: transparent;
}
#main{ /* メイン部分 */
	background: transparent; /* 背景透過 */
}
#sidebar{ /* サイドバー */
	background: transparent; /* 背景透過 */
}
#footer{ /* フッター */
	background: transparent; /* 背景透過 */
}
/***********************************
** タイトル中央寄せ
************************************/
.single .entry-title {
	text-align: center;
}

/************************************
** 動画中央寄せ
************************************/
.video-container {
margin: 0px auto;
}

/************************************
** 記事一覧タイトル中央
************************************/
.entry-card-title {
    margin-top: 10px; /*上に余白を付ける*/
    line-height: 1.5; /*行間を広く*/
	text-align: center;
}


/************************************
** 記事一覧角丸く
************************************/
.card-thumb img, .widget-entry-card, .eye-catch img {
	border-radius: 10px;
}

/************************************
** 記事一覧モバイルタイトル
************************************/
@media screen and (max-width:834px) {
	.entry-card-title {
font-size: 16px;
}
}

/************************
 * エントリーカード
************************/
.entry-card-wrap:hover
{ /*マウスオン時*/
	background-color: rgba(0,0,0,0.3);
; /*背景色*/
	-webkit-transform: translateY(-3px);
	-ms-transform: translateY(-3px);
	transform: translateY(-3px);
	box-shadow: 0 0 10px #000000; /*影の色*/ }

/************************************
** 関連記事モバイルフォント
************************************/
@media screen and (max-width:834px) {
	.related-entry-card-title {
		font-weight: normal; font-size: 12px !important;
	}
}

/************************************
** 表背景色・枠
************************************/
.container table tr {
	border: 1px solid black;
    background-color: rgba(255,255,255,0.3);
}
.container table td {
	border: 1px solid black;
    background-color: rgba(255,255,255,0.3);
}
.container table th {
	border: 1px solid black;
    background-color: rgba(255,255,255,0.3);
}

/************************************
** リンク装飾無し
************************************/
a {
color: #000;
}
a{
text-decoration: none;
}
/************************************
** SNSボタン背景
************************************/
#container .sns-share .sns-buttons a{
	background-color: rgba(255,255,255,0.5); /*背景色*/ }

/************************************
** モバイルでヘッダーメニュー・検索表示しない
************************************/
@media screen and (max-width:834px) {
	#navi {
    display: none;
}
}
@media screen and (max-width:834px) {
	.widget_search {
    display: none;
}
}

/************************************
** スライドインメニュー
************************************/
.navi-menu-content{
	left: auto;
	right: 0;
	background-color: rgba(0,0,0,0.5);
	transform: translateX(101%);
}

.menu-drawer a{
	font-size: 1.0em;/*文字の大きさ*/
	color: #fff;/*文字の色*/
	height: 2em;/*行の高さ*/
}

.menu-drawer a:hover{
	color: rgba(255,255,255,0.7);
	background-color: rgba(30,124,209,0);
}
.sidebar-menu-content{
	background-color: rgba(255, 255, 255, 0.7);

}
.sidebar {
	background: transparent;
}

/*********************************
* ヘッダーモバイルボタンの色の変更
*********************************/

/*背景色*/
.navi-menu-button.menu-button
{
	background-color: rgba(0, 0, 0, 0.5);
}
.mobile-header-menu-buttons {
    color: #FFFFFF; /*文字:白*/
	background-color: rgba(108, 44, 47, 0.7);
}
.mobile-footer-menu-buttons {
    color: #FFFFFF; /*文字:白*/
	background-color: rgba(108, 44, 47, 0.7);
}


/*アイコン色*/
.custom-menu-icon.menu-icon,
.navi-menu-icon.menu-icon,
.share-menu-icon.menu-icon,
.home-menu-icon.menu-icon,
.follow-menu-icon.menu-icon,
.toc-menu-icon.menu-icon,
.top-menu-icon.menu-icon,
.prev-menu-icon.menu-icon,
.next-menu-icon.menu-icon,
.comments-menu-icon.menu-icon,
.search-menu-icon.menu-icon,
.sidebar-menu-icon.menu-icon{
	color: #FFF;
}

/*キャプション（文字）色*/
.custom-menu-caption.menu-caption,
.navi-menu-caption.menu-caption,
.share-menu-caption.menu-caption,
.home-menu-caption.menu-caption,
.follow-menu-caption.menu-caption,
.toc-menu-caption.menu-caption,
.top-menu-caption.menu-caption,
.prev-menu-caption.menu-caption,
.next-menu-caption.menu-caption,
.comments-menu-caption.menu-caption,
.search-menu-caption.menu-caption,
.sidebar-menu-caption.menu-caption{
	color: #FFF;
}
/* サイドメニューの表示色が変わるのを防ぐ */
.mobile-menu-buttons .menu-content{
  color: #FFF;
}

/************************************
** カテゴリーラベルのカスタマイズ
************************************/
.cat-link{ /*カテゴリーラベル*/
  text-decoration: none; /*テキスト初期化*/
  color: #fff; /*フォントカラー*/
  font-size: 12px; /*フォントサイズ*/
  background-color: rgba(0,0, 0, 0.5); /*背景色*/
  display: inline-block; /*横並びで上下左右空白有り*/
  margin-right: 5px; /*内側右余白*/
  padding: 2px 6px 0px 6px; /*外側余白*/
  border-radius: 9px 3px; /*カテゴリ背景デザイン*/
  border: 0px; /*枠線無し*/
  word-break: break-all; /*テキストの途中で改行させない*/
}
.cat-link:hover{ /*カテゴリーラベル マウスホバー時*/
  transition: all 0.8s ease; /*アニメーション*/
  opacity: 0.6; /*不透明度*/
  color: #fff; /*フォントカラー*/
  background-color: #000; /*背景色*/
}
/************************************
** タグラベルのカスタマイズ
************************************/
.tag-link{ /*タグラベル*/
  text-decoration: none; /*テキスト初期化*/
  color: #fff; /*フォントカラー*/
  font-size: 12px; /*フォントサイズ*/
  background-color: rgba(0,0, 0, 0.5); /*背景色*/
  display: inline-block; /*横並びで上下左右空白有り*/
  margin-right: 5px; /*内側右余白*/
  padding: 2px 6px 0px 6px; /*外側余白*/
  border-radius: 9px 3px; /*カテゴリ背景デザイン*/
  border: 0px; /*枠線無し*/
  word-break: break-all; /*テキストの途中で改行させない*/
}
.tag-link:hover{ /*タグラベル マウスホバー時*/
  transition: all 0.8s ease; /*アニメーション*/
  opacity: 0.6; /*不透明度*/
  color: #fff; /*フォントカラー*/
  background-color: #000; /*背景色*/
}

/************************************
** アイキャッチカテゴリーラベルのカスタマイズ
************************************/
.cat-label {
	padding: 1px 10px;
	background-color: rgba(0, 0, 0, 0.5);
	border: 0;
	border-radius: 30px;
	top: -3.5%;
	left: 0%;
}

/************************************
** プロフ文字・枠
************************************/
.author-box .author-name a {
    text-decoration: none;
    color: #333;
}
.author-box {
  border: 0px;
}

/************************************
** 検索ボックス
************************************/
.sidebar .search-box, .search-menu-content .search-box, #main .search-box {
  width: 100%;
  margin: 1em 0 2em;
  position: relative;
  display: flex;
  border-radius: 50px; /*全体を囲むボックスの角丸*/
}
.sidebar .search-edit, .search-menu-content .search-edit, #main .search-edit {
  width: 80%; /*入力部分の長さ*/
  background: rgba(255, 255, 255, 0.5); /*入力部分の背景色*/
  padding: 0 10px;
  border-radius: 50px 0 0 50px; /*左上、左下のみ角丸*/
  font-size: 16px;
}
.search-submit {
  width: 20%; /*ボタン部分の長さ*/
  background: rgba(108, 44, 47, 0.7); /*ボタン部分の背景色*/
  color: #fff; /*アイコンの色*/
  position: static;
  right: auto;
  top: auto;
  transform: none; /*Cocoon2.9の上ずれ対策*/
  font-size: 20px; /*アイコンの大きさ*/
  cursor: pointer;
  line-height: 40px; /*検索窓の高さ*/
  border: none;
  border-radius: 0 50px 50px 0; /*右上、右下のみ角丸*/
  padding: 0;
}
.search-box input::placeholder {
  color: #000; /*プレースホルダーの色*/
}
.search-box input:focus, .search-box button:focus {
  outline: 0; /*フォーカス時の枠線を消す*/
}

/************************************
** スマホメニュー 子メニュー折りたたみ
************************************/
.menu-drawer .menu-item-has-children {
  position: relative;
}
.menu-drawer .menu-item-has-children > .sub-menu {
  display: none; /*最初は閉じる*/
}
.menu-drawer .menu-item-has-children.is-open > .sub-menu {
  display: block; /*▼を押したら開く*/
}
.menu-drawer > li > a {
  padding-left: 2em; /*左の＋－の分だけ、上の階層の文字をすべて右へ（文字の頭をそろえる）*/
}
.menu-drawer .sub-menu a {
  padding-left: 2em; /*レース名は今までどおり一段下げる*/
}
.menu-drawer .submenu-toggle {
  position: absolute;
  top: 0;
  left: 0;
  width: 2em;
  height: auto;
  padding: 6px 0; /*メニューの文字と同じ上下の余白*/
  border: none;
  background: transparent;
  color: #fff;
  font-family: inherit; /*メニューと同じフォント*/
  font-size: 1em;
  line-height: 1.4; /*メニューの文字と同じ行の高さ → ＧⅠの真ん中にそろう*/
  cursor: pointer;
}
.menu-drawer .submenu-toggle::before {
  content: "＋"; /*閉じている時*/
  display: inline-block;
  font-size: 1em;
}
.menu-drawer .is-open > .submenu-toggle::before {
  content: "－"; /*開いている時*/
}

/************************************
** タイトル自動サイズ
************************************/
.entry-title {
  white-space: nowrap;                  /* 改行を禁止する */
  font-size: clamp(14px, 4.5vw, 26px);  /* 画面幅に応じて14px〜26pxの間で自動調整 */
}
