@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 {
	--site-blue: #7bcccf;
}

/************************************
** 表示切り替え
************************************/
.c-sp--dn {
	display: none;
}

.c-pc--dn {
	display: block;
}

@media screen and (min-width: 768px) {
	.c-sp--dn {
		display: block;
	}

	.c-pc--dn {
		display: none !important;
	}
}

/************************************
** 基本調整
************************************/
pre {
	background: none;
}

table th,
table td {
	padding: 3px;
	font-size: 1em;
}

@media screen and (min-width: 835px) {
	table th,
	table td {
		padding: initial;
		font-size: initial;
	}
}

.is-style-color-head th a {
	color: #fff;
}

/************************************
** ボタン
************************************/
.btn.btn-circle,
.btn-wrap.btn-wrap-circle > a {
	border-radius: 4px;
}

.btn-l.btn-circle::after,
.ranking-item-link-buttons a.btn-circle::after,
.btn-wrap.btn-wrap-l.btn-wrap-circle > a::after {
	right: -4px;
}

.wp-block-search .wp-block-search__button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 24%;
	padding: 14px 16px;
	color: #fff !important;
	background: #32373c !important;
	font-size: 14px;
	font-weight: bold;
	line-height: normal;
	text-align: center;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: 99px;
	box-shadow:
		0 3px 1px -2px rgb(0 0 0 / 20%),
		0 2px 2px 0 rgb(0 0 0 / 14%),
		0 1px 5px 0 rgb(0 0 0 / 12%);
	cursor: pointer;
	transition: all .3s ease-out;
}

.wp-block-search .wp-block-search__button:hover {
	background: var(--site-blue) !important;
}

/************************************
** ヘッダー・ロゴ・アピールエリア
************************************/
.tagline {
	position: relative;
	padding: 0;
}

.appeal {
	background-size: cover;
}

.appeal-title {
	border-bottom: none;
}

.appeal-button::after {
	content: "\f105";
	margin: 0;
	padding-left: 10px;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	transition: all .2s ease;
}

.logo-header img {
	width: 200px;
}

.logo-header img:hover {
	opacity: .6;
}

.logo-menu-button img {
	width: 120px;
	height: 28px;
	margin-top: 2vw;
}

.header-container {
	display: none;
}

@media screen and (min-width: 768px) {
	#header-container {
		display: block;
		padding: 6px 0;
	}

	.fixed-header#header-container {
		padding: 0;
	}

	.fixed-header .site-logo-image {
		width: 170px;
		height: auto;
	}
}

@media screen and (max-width: 834px) {
	.header-container {
		padding: 0;
	}

	.home .header-container-in.hlt-top-menu .tagline {
		display: none !important;
	}
}

@media screen and (max-width: 768px) {
	.appeal {
		height: 250px;
		margin-top: 50px;
	}

	.header div.header-in,
	.appeal div.appeal-in {
		min-height: auto;
	}
}

/************************************
** モバイルフッターメニュー
************************************/
.mobile-footer-menu-buttons .menu-icon,
.mobile-footer-menu-buttons .menu-caption {
	color: #000;
}

/************************************
** メインウィジェット
************************************/
.main-widget-label {
	margin: 2em 0 1em;
	text-align: center;
	font-size: 24px;
	font-weight: 700;
}

.main-widget-label::after {
	display: block;
	content: "";
	width: 50px;
	height: 4px;
	margin: 3px auto 0;
	background: currentColor;
	border-radius: 2px;
}

.widget-entry-card-content {
	padding: .6em;
}

.widget-entry-cards .a-wrap {
	margin-bottom: 10px;
}

/************************************
** 著者ボックス
************************************/
.author-box {
	max-width: 100%;
}

.author-content {
	margin-top: 30px;
}

.author-thumb {
	float: right;
	width: 120px;
	margin-top: 3px;
}

.author-name {
	text-align: left;
}

.author-name i {
	display: none;
}

/************************************
** ブログカード
************************************/
.blogcard-title {
	font-size: 1.2em;
}

.blogcard-snippet {
	text-align: right;
}

.blogcard-readmore {
	display: inline-block;
	padding: 1vw;
	color: #fff;
	background: #d29e50;
}

.border-partition a,
.border-partition a:first-of-type {
	border: none;
}

/************************************
** 見出し・目次用カウンター
************************************/
.entry-content {
	counter-reset: h2;
}

.entry-content h2 > span {
	display: block;
	padding-left: 66px;
}

.entry-content h2 > span::before {
	content: counter(h2, decimal-leading-zero);
	counter-increment: h2;
	position: absolute;
	top: 50%;
	left: 0;
	font-family: "Times New Roman", 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, serif;
	font-size: 3rem;
	font-style: italic;
	line-height: 1;
	letter-spacing: 0;
	transform: translateY(-50%);
}

.article h2::before {
	content: none;
}

/************************************
** CVボタン
************************************/
.c-cvbtnWrap {
	position: relative;
	width: 100%;
	max-width: 600px;
	margin: 4em auto 0;
	padding: 20px;
	text-align: center;
	background-image: linear-gradient(to top, #f3e7e9 0%, #e3eeff 99%, #e3eeff 100%);
	border: 1px solid rgba(0, 0, 0, 0);
}

.c-cvbtnWrap::before {
	content: "";
	position: absolute;
	top: -10px;
	left: -10px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0);
	border: 1px solid #333;
}

.c-cvbtn__catch--small {
	position: absolute;
	top: -20px;
	left: 50%;
	padding: 2px;
	background-color: #fff;
	transform: translateX(-50%);
}

.c-cvbtnWrap p {
	margin-top: 1em;
	text-align: left;
}

.article .c-cvbtn__catch,
.sidebar .c-cvbtn__catch {
	margin: 1em 0 0;
	color: #333;
	font-size: 1.4em;
	border: none;
}

.c-cvbtnWrap .c-cvbtn__btntx {
	text-align: center;
	font-size: .8em;
}

.c-cvbtn__label {
	display: inline-block;
	margin-right: 10px;
	padding: 2px;
	color: #333;
	background: #fff;
	border-radius: 3px;
}

/************************************
** バナー
************************************/
.c-banner {
	width: 94%;
	max-width: 340px;
	margin: 0 auto 1em;
}

/************************************
** 総合評価
************************************/
.level {
	clear: both;
	margin: 0 auto 1em;
	padding: 1em;
	background: #efe8de;
}

.level div p {
	margin: 0 0 1em;
	padding: .6em;
	background: #fff;
	border-radius: .3em;
}

.level div p b {
	margin: 0 .6em 0 0;
}

.level .detail {
	font-size: .9em;
}

.level .detail span {
	margin-right: 10px;
}

/************************************
** SNS ボタンをまとめて丸くする
************************************/
.sns-share.ss-top .sns-share-buttons,
.sns-share.ss-bottom .sns-share-buttons,
.sns-follow.sf-bottom .sns-follow-buttons,
.sns-follow.sf-widget .sns-follow-buttons {
	justify-content: center;
	flex-wrap: wrap;
}

.sns-share.ss-top .sns-buttons a,
.sns-share.ss-bottom .sns-buttons a,
.sns-follow.sf-bottom .sns-buttons a,
.sns-follow.sf-widget .sns-buttons a {
	width: 40px;
	height: 40px;
	margin-right: 4px;
	margin-left: 4px;
	border-radius: 50%;
}

.sns-follow.sf-profile .sns-buttons a {
	border-radius: 50%;
}

.sns-share.ss-top .sns-buttons a .social-icon,
.sns-share.ss-bottom .sns-buttons a .social-icon {
	font-size: 18px;
}

.sns-follow.sf-bottom .sns-follow-buttons .follow-button,
.sns-follow.sf-widget .sns-follow-buttons .follow-button {
	font-size: 24px;
}

.sns-share.ss-top .sns-buttons a .share-count:empty,
.sns-share.ss-bottom .sns-buttons a .share-count:empty,
.sns-follow.sf-bottom .sns-buttons a .follow-count:empty,
.sns-follow.sf-widget .sns-buttons a .follow-count:empty {
	padding: 0;
	border: 0;
}