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

/************************************
** 子テーマ用のスタイルを書く
************************************/
:root {
	--cocoon-text-color: #081a09; /* note#08131a 基本文字色 */
	--cocoon-basic-border-radius: 7px;
    --cocoon-badge-border-radius: 5px;
}


/* サムネイルを角丸に */
.card-thumb-image,
.size-thumb120,
.entry-card-thumb-image,
.size-yarpp-thumbnail,
.eye-catch-image {
	border-radius: 15% !important;
}





/* サムネイルサイズ */
#container figure img {
	max-width: 110px;
	max-height: 110px;
}
/* PC上部メニューアイコンを10px下に */
.menu-item:before {
	display: inline-block;
	transform: translateY(10px);
}
/* PC上部メニュー「受話器」アイコンを反転 */
.menu-pc .fa-phone:before {
	display: inline-block;
    transform: translateY(10px) scaleX(-1);
}
/* スマホ下部固定表示メニュー「受話器」アイコンを反転 */
.mobile-footer-menu-buttons .fa-phone:before {
	display: inline-block;
    transform: scaleX(-1);
}
/* PC版 上部メニュー（ホバー時の背景白を解除） */
.navi-in a:hover {
    background: transparent;
}
/* PC版 上部メニュー（ホバー時の下線を削除） */
.navi-in a::after {
	content: none;
}
/* スマホ版 左スライドメニュー（アイコン位置修正） */
.menu-drawer .menu-item::before {
	transform: translateY(22px);
}
/* スマホ版 左スライドメニュー（受話器アイコン位置修正） */
.menu-drawer .fa-phone:before {
    transform: translateY(22px) scaleX(-1);
}
/* スマホ版 左スライドメニュー（文字位置修正） */
.menu-drawer .menu-item a {
	transform: translateX(20px);
	font-weight: normal; /* 太字解除 */
}


/* 関連記事「YARPP」の見出しデザイン */
.yarpp-related div {
    font-size: 125%;
    font-weight: 700;
    margin: 0;
    padding: 0 0 5px;
	text-transform: capitalize;
	text-align: center;
    margin: 100px 0 20px;
}
/* サイドバー中央寄せ */
.widget-entry-card-link,
.sidebar-center {
	margin: auto;
	max-width: 500px;
}


/* cocoonスキン「旅カメラ」の「もくじ」の影を非表示 */
.toc {
	box-shadow: none;
}

/* 関連記事プラグイン（moreの下の線を非表示） */
.article h2 {
	border-bottom: none;
}
/* 関連記事プラグイン（境界線を非表示） */
.yarpp-thumbnails-horizontal .yarpp-thumbnail {
	border: none !important;
}
/* 関連記事プラグイン（サムネを中央寄せ） */
/* 人気記事ウィジェット（〃） */
.yarpp-thumbnails-horizontal,
.widget-entry-cards {
	text-align: center !important;
}

/* 見出しの上下スペース */
.article h2, .article h3, .article h4, .article h5, .article h6 {
    margin-top: 1.62em;
    margin-bottom: 1.62em;
}
/* 記事内見出しを太字に */
.article h2 {
	font-weight: bold;
}
/*「もくじ」を中央寄せ */
.toc-title {
    text-align: center;
}
/*「もくじ」を「+. もくじ +.」にする */
.toc-title:before {
	color: #666669;
    content: "+. ";
	position: static;
	left: auto;
	font-weight: normal !important; /* 太字解除 */
}
/*「もくじ」を「+. もくじ +.」にする */
.toc-title:after {
	color: #666669;
    content: " +.";
}




/* ナビゲーションの太字解除 */
.navi-in a {
	font-weight: normal;
}
/* ナビゲーションの背景「半透明」→白 */
.header-container {
	background-color: white;
}
/* 記事タイトルを極小に */
.entry-title,
.entry-card-title,
.related-entry-card-title,
.widget-entry-card-title,
.yarpp-thumbnail-title {
	xxxcolor: #333;
	xxxfont-size: 9px !important;
	text-align: left;
}
/* 記事タイトルを小さく薄く */
.related-entry-card-title,
.widget-entry-card-title {
	xxxcolor: #333;
	xxxfont-size: 10px !important;
}
/* 記事カードの行間 */
.entry-card-wrap,
.a-wrap {
	margin-bottom: 50px !important;
}
/* 記事カードの境界線 */
#container figure img {
    box-shadow: none !important;
    border: 1px solid #e6e4e4 !important;
    display: inline-block; /* 念のため要素を安定させる */
}

/* 固定ロゴ画像 初期状態：透明 */
.menu-button .site-logo-image {
  opacity: 0;
  /* visibilityを削除し、pointer-eventsでクリックを無効化 */
  pointer-events: none; 
  /* transitionもopacityだけに絞る */
  transition: opacity 1.0s ease-out;
}
/* 固定ロゴ画像 スクロール後に付与するクラス：表示  要JavaScript */
.menu-button .site-logo-image.is-visible {
  opacity: 1;
  pointer-events: auto; /* 表示されたらクリック可能にする */
}
/* メニューボタン */
.menu-button a {
	color: #3b3b3b !important;
}
/* メニューアイコン */
.fa-user,
.fa-envelope,
.fa-book{
	color: #9b9b9b;
}

/* タイトルと記事の余白 */
.entry-content {
	margin-top: 100px;
}
.entry-content img {
	border-radius: 7px;
}
/* 関連記事プラグイン「YARPP」 */
.osusume {
	margin-top: 80px;
	margin-bottom: 10px;
}
/* h3見出しの左線 */
.article h3 {
    border-left: 6px solid #00be5e !important; /* 緑 */
}
/* FontAwesomeアイコン */
/* ホーム */
.fa-home:before {
	content: "\f561"; /* ← \f561グラス */
}
/* FontAwesomeアイコン */
/* カテゴリ名 */
.fa-folder:before,
.fa-folder-open:before {
	content: "\f561"; /* ← \f561グラス f186三日月 f594ホテル f447チェス */
}
/* FontAwesomeアイコン */
/* タグクラウド */
.fa-tag:before,
.fa-tags:before {
	content: "\f561"; /* ← \f561グラス f000グラス */
}
/* FontAwesomeアイコン */
/* パンくずリストの記事名 */
.fa-file {
	display: none;
}
/* FontAwesomeアイコン */
/* コメントへのリンク */
.fa-link:before {
	content: "\f561"; /* ← \f561グラス */
}
a:where(:not(.wp-element-button)) {
    text-decoration: none;
}
/* カテゴリー＆タグのラベル */
.cat-link {
	background-color: #aaaaaa; /* 灰色 */
}
.carousel-entry-card-thumb {
  position: relative;
}
/* 時計アイコンを非表示 */
.fa-clock,
.fa-clock-o,
.fa-history {
	display: none;
}

/* カテゴリーラベル */
.cat-label {
	font-size: 11px;
	background-color: #C0C0C0; /* 元黒板色 */
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%); /* XとYの両方を-50%する */
	padding: 5px 8px;
	border-color: #c0c0c0;
	border-radius: 3px;
}
/* トップページの最初の大きいサムネ記事のカテゴリーラベル */
.list-new-entries .ec-big-card-first .cat-label {
	font-size: 25px;
	padding: 8px 15px;
}

/* 記事タイトルとサムネに余白 */
.widget-entry-cards:not(.large-thumb-on) .card-title {
	padding-top: 5px;
	padding-left: 5px;
}
/* フッターメニューの上下余白 */
.navi-footer {
    margin: 30px 0;
}

iframe,
.toc,
.lyte {
	border-radius: 7px;
}
.video-container {
	margin-bottom: 80px !important;
}
.blogcard-title,
.blogcard-snippet {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.recent-comment-date {
	font-size: 12px;
}
.recent-comment-article {
	font-size: 12px;
}
.list-new-entries-title {
	display: none;
}
.entry-date {
	color: #C0C0C0; /* ←濃緑 トップ 緑106500 ピンク8b0093 緑096300 */
}
.post-update {
	color: #C0C0C0; /* ←明緑 記事内 緑106500 ピンク8b0093 緑074b00 */
}
.right {
	text-align: right;
}

.space0 {
	margin-bottom: 40px;
}
.space1l,
.space1 {
	margin-bottom: 70px;
}
.space2 {
	margin-bottom: 100px;
}
.space3 {
	margin-bottom: 130px;
}
.space30 {
	margin-bottom: 30px;
}
.space50 {
	margin-bottom: 50px;
}
.space70 {
	margin-bottom: 70px;
}
.space80 {
	margin-bottom: 80px;
}
.space100 {
	margin-bottom: 100px;
}
.small90 {
	font-size: 90%;
}
.small80 {
	font-size: 80%;
}
.small70 {
	font-size: 70%;
}
.small60 {
	font-size: 60%;
}
.small50 {
	font-size: 50%;
}
.big110 {
	font-size: 110%;
}
.big120 {
	font-size: 120%;
}
.big130 {
	font-size: 130%;
}
.big140 {
	font-size: 140%;
}
.big150 {
	font-size: 150%;
}
/* トップに戻るを一瞬で */
html,
.mobile-menu-buttons .menu-button {
  scroll-behavior: auto !important;
}


/* 「プロフィール情報」の改行を有効にする */
.author-description {
    white-space: pre-wrap;
}
.tagcloud a {
    font-size: 12px;
    margin: 5px !important;
}

.cat-label {
	display: none;
}

/* コロンを点滅させる */
.colon {
  animation: blink-colon 1.2s step-end infinite;
}

@keyframes blink-colon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

/*1023px以上（PC）*/
@media screen and (min-width: 1023px){
	
	.nwa .author-box .author-description {
		font-size: 16px;
	}
}


/*1023px以下（大タブレット）*/
@media screen and (max-width: 1023px){

}

/*834px以下（タブレット）*/
@media screen and (max-width: 834px){

}

/*480px以下（スマホ）*/
@media screen and (max-width: 480px){

}


