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

/************************************
** 子テーマ用のスタイルを書く
************************************/
html{
	max-width: 1060px;
	margin: 0 auto;
}

/*カテゴリーラベルを非表示にする*/
.entry-card .cat-label{
	visibility: hidden; /*Firefox用 2023.6.23*/
	display: none;
}

.header{
	background-image: url("https://akira-dq.net/wp-content/uploads/2023/10/20231027title.jpg");
	background-size: 100% 180px;
}
.site-name-text-link{
	width: 100%;
	height: 180px;
}
.logo-image img{
	display: none;
}

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

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

/*480px以下*/
@media screen and (max-width: 480px){
	/*必要ならばここにコードを書く*/
	.header{
		background-image: url("https://akira-dq.net/wp-content/uploads/banner/20170721.jpg");
		background-size: 100% 90px;
	}
	.site-name-text-link{
		width: 100%;
		height: 90px;
	}
	.logo-image img{
		display: none;
	}
}

/*トップページのページ移動ボタン*/
.pagination .current{
	background-color: #4f4fbf;	
}
.page-numbers{
	background-color: #4f4fbf;
	border-radius: 50%;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	border:none;
}
.pagination a:hover {
	color: #fff;
	background-color: #4f4fbf;
	box-shadow: 0 5px 5px -5px rgba(0,0,0,0.2);/*影をつける*/
	transform: translate(0px,-2px);/*ずらす*/
	opacity: 0.8;/*透過*/
	transition-duration: 0.2s;
}

/*ヘッダーとグローバルメニューの間の隙間を減らす 2023.06.28*/
.logo-image {
	padding: 0;
}
.logo-image * {
	display: block;
	margin-bottom: 0;
}

/* コンテンツ上の間を狭くする */
.content-top {
	margin-top: 0;
	margin-bottom: 0;
}
.content {
	margin-top: 0;
}

/*フッターの上の隙間をなくす*/
.footer {
    margin-top: 0;
    padding: 0;
}

/*グローバルナビメニュー*/
#navi .navi-in {
	padding-top: 20px;
	background-color: #ffffff;
}

/*1番左と2番目*/
#navi .navi-in > ul li{
	height: 60px;
	line-height: 22px;
	background: #ffffff;
	font-weight: bold;
	border-right: 1px solid #ffffff;
	border-left: 1px solid #ffffff;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	border-radius: 5px;
	text-align: center;
}

/*左から3番目以降*/
#navi .navi-in > ul li + li{
	border-right: 1px solid #ffffff;
	border-left: none;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
}

/*グローバルナビメニューのhover*/
#navi .navi-in a:hover {
	background-color: #efefff;
	box-shadow: 0 5px 5px -5px rgba(0,0,0,0.2);/*影をつける*/
	transform: translate(0px,-3px);/*ずらす*/
	transition-duration: 0.2s;
}

/*画像の角を丸くする*/
img{
	border-radius: 5px;
}

/*スケジュール表*/
.sche {
	line-height: 1.5em;
}

/*サイト内検索の外側の余白*/
.search-box {
	margin: 0 0;
}

/*コンテンツの上の余白を減らす*/
.main {
	padding-top: 10px;
}

/*スマホ、タブレットでヘッダーの下の隙間をなくす*/
@media screen and (max-width: 1023px) {
	main.main, div.sidebar {
		padding: 10px;
		margin: 0;
	}
	.navi{
		display: none;
	}
}

/*トップページのインデックスのエントリーカード*/
.entry-card-wrap:hover{
	box-shadow: 0 10px 20px -5px rgba(0,0,0,0.2);/*影をつける*/
	transform: translate(0px,-4px);/*ずらす*/
	transition-duration: 0.2s;
}

/*人気ブログランキング*/
.blog-ranking {
	text-align: center;
}
.blog-ranking img {
	text-align: center;
}
.blog-ranking img:hover {
	box-shadow: 0 10px 20px -5px rgba(0,0,0,0.2);/*影をつける*/
	transform: translate(0px,-3px);/*ずらす*/
	opacity: 0.8;/*透過*/
	transition-duration: 0.2s;
}

/*人気記事*/
.popular-entry-card-link:hover {
	box-shadow: 0 7px 14px -5px rgba(0,0,0,0.2);/*影をつける*/
	transform: translate(0px,-2px);/*ずらす*/
	opacity: 0.8;/*透過*/
	transition-duration: 0.2s;
}

/*見出し H2*/
.article h2 {
	padding: 0
	margin-top: 0;
	margin-bottom: 10px;
}

/*見出し H3*/
.article h3 {
	position: relative;
	background: #ffffff;
	padding: 4px 0px 1px 36px;
	font-size: 20px;
	border-radius: 0 5px 5px 0;
	border-left: 10px solid #ffffff;
	border-right: 1px solid #afafff;
	border-top: 1px solid #afafff;
	border-bottom: 1px solid #afafff;
	margin-top: 0;
	margin-bottom: 10px;
}
.article h3:before {
	font-family: "Font Awesome 5 Free";
	content: "\f56b";
	display: inline-block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	position: absolute;
	padding: 0;
	font-size: 16px;
	color: white;
	background: #4f4fcf;
	font-weight: bold;
	text-align: center;
	left: -14px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	border: solid 3px white;
	border-radius: 50%;
}

/*見出し H4*/
.article h4 {
	padding: 0
	font-size: 20px;
	margin-top: 0;
	margin-bottom: 10px;
}

/*見出し H5*/
.article h5 {
	padding: 0
	font-size: 20px;
	margin-top: 0;
	margin-bottom: 10px;
}

/*見出し H6*/
.article h6 {
	padding: 0
	font-size: 20px;
	margin-top: 0;
	margin-bottom: 10px;
}

/*サイドバー見出し H3*/
.sidebar h3 {
	position: relative;
	background: #ffffff;
	padding: 2px 0px 0px 36px;
	font-size: 18px;
	border-radius: 0 5px 5px 0;
	border-left: 10px solid #ffffff;
	border-right: 1px solid #afafff;
	border-top: 1px solid #afafff;
	border-bottom: 1px solid #afafff;
	margin-top: 0;
	margin-bottom: 10px;
}
.sidebar h3:before {
	font-family: "Font Awesome 5 Free";
	content: "\f11b";
	display: inline-block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	position: absolute;
	padding: 0;
	font-size: 16px;
	color: white;
	background: #4f4fcf;
	font-weight: bold;
	text-align: center;
	left: -14px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	border: solid 3px white;
	border-radius: 50%;
}

/*角にゴミが表示されるのを消す（片方でOK）*/
.main,
.sidebar {
	border-radius: 0;
}
.content-in {
	background-color: #ffffff;
}

/*SNSシェアボタン*/
#main .sns-share-message{
	font-weight: bold; /*太字*/
}
#main .button-caption{
	display: none;
}
#main .sns-share-buttons {
	justify-content: center; /*中央寄せ*/
	margin-bottom: 25px;
}
#main .sns-share-buttons a {
	border-radius: 50%; /*丸くする*/
	margin: 12px 12px; /*ボタン同士の間隔*/
	width: 40px; /*ボタンの横幅*/
	height: 40px; /*ボタンの高さ*/
}
#main .sns-share.ss-top .sns-buttons a .social-icon,
.sns-share.ss-bottom .sns-buttons a .social-icon {
	font-size: 24px; /*アイコンの大きさ*/
}
#main .sns-share-buttons a:hover {
	box-shadow: 0 5px 5px -5px rgba(0,0,0,0.2);/*影をつける*/
	transform: translate(0px,-2px);/*ずらす*/
	opacity: 0.8;/*透過*/
	transition-duration: 0.2s;
}
#main .x-corp-button{
}
#main .facebook-button{
	color: #ffffff;
	background-color: #1877f2;
}
#main .hatebu-button{
	color: #ffffff;
	background-color: #00A4DE;
}
#main .sns-buttons .line-button{
}

/*SNSフォローボタン*/
.sidebar .sns-follow-message{
	font-weight: bold; /*太字*/
}
.sidebar .sns-follow-buttons {
	justify-content: center; /*中央寄せ*/
}
.sidebar .sns-follow-buttons a {
	border-radius: 50%; /*丸くする*/
	margin: 12px 12px; /*ボタン同士の間隔*/
	width: 40px; /*ボタンの横幅*/
	height: 40px; /*ボタンの高さ*/
}
.sidebar .sns-follow.sf-bottom .sns-follow-buttons .follow-button,
.sns-follow.sf-widget .sns-follow-buttons .follow-button {
	font-size: 24px; /*アイコンの大きさ*/
}
.sidebar .sns-follow-buttons a:hover {
	box-shadow: 0 5px 5px -5px rgba(0,0,0,0.2);/*影をつける*/
	transform: translate(0px,-2px);/*ずらす*/
	opacity: 0.8;/*透過*/
	transition-duration: 0.2s;
}

/*カルーセル*/
#carousel {
	margin-top: 0;
}
.carousel .cat-label {
	display: none;
}
.carousel-entry-card-wrap:hover {
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 7px 14px -5px rgba(0,0,0,0.2);/*影をつける*/
	transform: translate(0px,-2px);/*ずらす*/
	opacity: 0.8;/*透過*/
	transition-duration: 0.2s;
}
.carousel .slick-arrow:before {
  color: #4f4fcf;
  font-size: 28px;
}

/*プロフィールのSNSアイコン*/
.author-box .sns-follow-buttons a.follow-button{
	width: 44px;
	height: 44px;
	font-size: 38px;
}

/*ボックスメニューの文字色*/
.box-menu-label{
	color: #2f2f2f;
}

/*ボックスメニューのアイコ */
.box-menu-icon {
	color:#4f4fcf;/* アイコンの色 */
	background-color:#ffffff;/* 背景色 */
}

/*人気記事が「横並び」のときに戻るボタンを表示*/
.is-list-horizontal .swiper-button-prev{
	display: flex;
}

/*トップページ上部の、非表示の自動広告の隙間を消す*/
div.ad-area.no-icon {
	margin: 0;
	padding: 0;
}

/*reCAPTCHA非表示*/
.grecaptcha-badge {
	visibility: hidden;
}

/*ウィジェットの人気記事を横に並べて表示*/
#popular_entries-5 .popular-entry-cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

#popular_entries-5 .popular-entry-cards .a-wrap{
	width: 49.5%;
}
.widget-entry-cards .widget-entry-card-content{
	font-size:0.8em;
}

/*480px以下*/
@media screen and (max-width: 480px){
#popular_entries-5 .popular-entry-cards{
	flex-wrap: wrap;
}
#popular_entries-5 .popular-entry-cards .a-wrap{
	width: 49.5%;
}
}