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

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

/************************************
** 基本
************************************/
body {
	background: #f1f1f1;
	letter-spacing: .02em;
}

a {
	color: #1863ef;
}

a:hover {
	text-underline-offset: 3px;
    text-decoration-thickness: 3px;
}

:root { 
	--cocoon-text-color: #111;
	--cocoon-orange-color: #ffa61b;
	--cocoon-facebook-color: #2b43ff;
	--cocoon-hatebu-color: #1b6aff;
	--cocoon- sns-color: #14d91c;
	--cocoon-brown-color: #7d4e07;
	--cocoon-blue-color: #1b9eff;
	--cocoon-pink-color: #ff1b74;
}
/************************************
** ヘッダー
************************************/
.header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.header-in {
	height: 10rem;
}
.logo {
	text-align: left;
	line-height: 1;
	padding: 0;
}
.tagline {
	display: none;
}
.site-name-text-link {
	padding: 0;
}
#header .site-name-text {
	font-size: 3rem;
	letter-spacing: .35rem;
	font-weight: 700;
}


/************************************
** メイン
************************************/
.main {
	padding: 3rem;
}
.a-wrap {
	padding: 0;
}
.a-wrap:hover {
	background: inherit;
}
.body .entry-card-thumb {
	margin-right: 2rem; 
}
.related-entry-card-title, .entry-card-title {
	font-size: 1.5rem;
	line-height: 1.5;
}
/* 記事カード*/
.list {
    row-gap: 1.5rem;
}
.cat-label {
	padding: .25rem .5rem;
	font-size: .75rem;
	background: var(--cocoon-orange-color);
	border: none;
    top: 0;
    left: inherit;
    right: 0;
}
.a-wrap:hover .related-entry-card-title,.a-wrap:hover  .entry-card-title {
	text-decoration-color: var(--cocoon-orange-color) !important;
    text-decoration: underline;
    text-decoration-thickness: 3px;
}

.entry-card-info > * {
	font-size: .85rem;
	font-weight: 700;
    color: #777;
    font-style: italic;
}
/* 記事 */
.body .article {
	margin-bottom: 5rem !important;
}
.article h1.entry-title, .article h1.archive-title {
    line-height: 1.5;
    font-size: 2rem;
    margin: 0 0 2.5rem;
}
.article h1.entry-title::first-letter {
	font-size: 200%;
	letter-spacing: .02em;
	color: var(--cocoon-orange-color);
	border-radius: 3px;
}
.eye-catch .cat-label {
	border: none;
	opacity: 1;
	top: 0;
	left: 0;
}
.post-date, .post-update, .post-author, .amp-back, .entry-category {
    font-size: .85rem;
    font-weight: 700;
    color: #777;
    font-style: italic;
}
.article h2 {
	background: #f5f5f5;
}
.badge-grey, .badge-brown, .badge-yellow, .badge-green, .badge-blue, .badge-purple, .badge-pink, .badge-red, .badge, .ref, .reffer, .sankou {
	padding: 0;
    border-radius: 0;
    font-size: 15px;
	display: flex;
    align-items: center;
    gap: .5rem;
}
.badge,.badge-pink {
	background: inherit;
	color: #282828;
    font-weight: 400;
}
.badge:before,.badge-pink:before {
	font-family: "Font Awesome 5 Free";
    content: "\f075";
    width: 2rem;
    height: 2rem;
    background: var(--cocoon-orange-color);
    border-radius: 100%;
	line-height: 2rem;
	text-align: center;
	color: #fff;
}
.badge-pink:before {
	background: var(--cocoon-pink-color);
}

p:has(span.badge),p:has(span.badge-pink) {
	margin: 0 0 1rem;
}
.bold-red {
    font-weight: bold;
    color: #ff1b1b;
}
.entry-content>*, .mce-content-body>*, .article p, .demo .entry-content p, .article dl, .article ul, .article ol, .article blockquote, .article pre, .article table, .article .toc, .body .article, .body .column-wrap, .body .new-entry-cards, .body .popular-entry-cards, .body .navi-entry-cards, .body .box-menus, .body .ranking-item, .body .rss-entry-cards, .body .widget, .body .author-box, .body .blogcard-wrap, .body .login-user-only, .body .information-box, .body .question-box, .body .alert-box, .body .information, .body .question, .body .alert, .body .memo-box, .body .comment-box, .body .common-icon-box, .body .blank-box, .body .button-block, .body .micro-bottom, .body .caption-box, .body .tab-caption-box, .body .label-box, .body .toggle-wrap, .body .wp-block-image, .body .booklink-box, .body .kaerebalink-box, .body .tomarebalink-box, .body .product-item-box, .body .speech-wrap, .body .wp-block-categories, .body .wp-block-archives, .body .wp-block-archives-dropdown, .body .wp-block-calendar, .body .ad-area, .body .wp-block-gallery, .body .wp-block-audio, .body .wp-block-cover, .body .wp-block-file, .body .wp-block-media-text, .body .wp-block-video, .body .wp-block-buttons, .body .wp-block-columns, .body .wp-block-separator, .body .components-placeholder, .body .wp-block-search, .body .wp-block-social-links, .body .timeline-box, .body .blogcard-type, .body .btn-wrap, .body .btn-wrap a, .body .block-box, .body .wp-block-embed, .body .wp-block-group, .body .wp-block-table, .body .scrollable-table, .body .wp-block-separator, .body .wp-block, .body .video-container, .comment-area, .related-entries, .pager-post-navi, .comment-respond {
    margin-bottom: 3rem;
}

.instagram-media {
	max-width: 100% !important;
}
blockquote {
    background-color: #f8f8f8;
    border: 1px solid #eee;
    padding: 1.5rem;
    position: relative;
}

.amazon_box {
	display: flex;
    padding: 1.5rem;
    border: 1px solid #eee;
    gap: 1.25rem;
    width: 85%;
}
.amazon_box_img {
	max-width: 18%;
    width: 100%;
    margin-top: .5rem;
}
.amazon_box_img a {

}
.amazon_box_img a img {
	
}
.amazon_info {
	
}
.amazon_info a.amazon_title {
	display: block;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: #111;
    font-weight: 700;
    border-bottom: 3px solid #ffa61b;
	padding-bottom: .25rem;
}
.amazon_info span {
	font-size: 14px;
    line-height: 1.6 !important;
    display: block;
    color: #444;
	margin-bottom: .5rem;
}
a.amazon_info_button {
	display: inline-block;
    font-size: 13px;
    text-decoration: none;
    background: #ffa61b;
    color: #fff;
    padding: .25rem 1rem;
    border-radius: 2rem;
}
a.amazon_info_button:hover {
	
}
blockquote {
    font-size: .9rem;
    border: none;
    background: #eeb3581a;
    color: #222;
    padding: 1rem;
    margin-top: -1.85rem;
    border: 1px solid #ffa61ba8;
    padding-left: 1rem;
    border-radius: 4px;
    /* font-weight: 700; */
}
.blank-box {
	padding: 0;
    border: none;
    font-size: .95rem;
    margin-top: -1.5rem;
    color: #333;
}
hr.wp-block-separator {
    border: none;
    /* background: #333; */
    /* height: 2px; */
    border-bottom: 3px dotted #ccc;
    width: 50%;
    margin: 4.5rem auto !important;
}
.sns-share-buttons a .button-caption {
	font-size: 14px;
	margin-left: .5rem;
}
.cat-link,.tag-link, .comment-reply-link {
	padding: .25rem .5rem;
}
.entry-categories-tags {
	margin-bottom: 1.5rem;
}
/* sns */
.sns-buttons a {
	
}
.sns-share.ss-col-5  .sns-buttons {
    column-gap: .5rem;
}
/* 記事フッター見出し */
.related-entry-heading, .comment-title {
    display: flex;
    align-items: center;
    gap: 1rem;
	margin: 0 0 2.5rem;
}
.related-entry-heading:after, .comment-title:after {
    height: 1px;
    background: #111;
    content: "";
    width: 100%;
    flex: 1;
}
.related-entry-heading:first-letter,.comment-title:first-letter {
	letter-spacing: .02em;
	color: var(--cocoon-orange-color);
}
/* 関連記事 */
.under-entry-content .related-entry-card-title, .under-entry-content .entry-card-title {
	font-size: 1.25rem;
}
/* コメントフォーム */
.commets-list {
	list-style: decimal;
	padding-left: 1.35rem;
}
.st-comment-meta {
	margin-bottom: .85rem;
}
.comment-author-label {
	display: none;
}
#email-notes {
    display: none;
}
.comment-form-comment label,.comment-form-author label  {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: .5rem;
	display: block;
	color: #666;
}
.required {
	display: none;
}
.comment-form-cookies-consent {
    font-size: .9rem;
	margin: 1.5rem 0;
}
.comment-form p {
    margin-bottom: 1rem;
}
.st-comment-author .fn {
    font-weight: bold;
    color: #111111;
    font-style: normal;
}
.st-comment-datetime {
	font-size: .85rem;
    margin-left: .5rem;
    color: #666;
}
.st-comment-content {
	border: none;
    padding: .5rem 0;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: .5rem;
}
.st-comment-content p {
	margin-bottom: 1.25rem;
}
.st-comment-body {
    margin-bottom: 3rem !important;
}
.comment-author-separator {
	display: none;
}
.commets-list .children {
	padding-left: 1.5rem;
    border-left: 2px solid #e1e1e1;
}
.wpulike {
	padding: 0;
	margin-top: 1.5rem;
}
.wpulike-heart .wp_ulike_general_class {
	box-shadow: 0 0 0 2px #b2b2b2 inset;
}
.wpulike-heart .count-box {
	color: #ff554c;
	font-size: 16px;
}
.wpulike-default button.wp_ulike_btn {
	background-color: #e9e9e9;
}
.wpulike-default .count-box {
	box-shadow: 0 0 0 1px #ccc inset;
	color: #111;
	font-weight: 700;
}
.wpulike-default .count-box:before {
	border-left-color: #ccc;
	border-bottom-color: #ccc;
}
.comment-reply-link {
	background: #333;
    color: #ffffff;
    border: none;
    /* margin-top: 1.5rem; */
    padding: .5rem 1rem;
	border-radius: 4px;
	font-weight: 700;
}
.comment-reply-link .comment-icon {
    margin-right: .25rem;
}
.comment-icon {
	margin-right: 4px;
}
.comment-author {
	
}
.comment-reply-title {
	margin-bottom: 1.5rem;
	font-size: 1.25rem;
	color: #333;
}
.comment-notes {
	font-size: .85rem;
}
.comment-form-email {
	display: none;
}
.comment-form textarea,.comment-form input[type=text] {
	border: 2px solid #ccc;
}
.comment-respond input[type=submit] {
	border: none;
	padding: 1rem;
	background: #000;
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	border-radius: 4px;
}
/* 送りナビ */
.pager-post-navi a {
	border: 1px solid #e1e1e1;
	padding: 1rem;
	border-radius: 4px;
}
.pager-post-navi {
	gap: 1rem;
}
.prev-post-title, .next-post-title {
	line-height: 1.6;
}
.pager-post-navi a.prev-post .prev-post-title {
	margin-left: .85rem;
}
.pager-post-navi a.next-post .next-post-title {
	margin-right: .85rem;
}
.pager-post-navi a .iconfont {
    font-size: 1.25rem;
    padding: .85rem;
    color: #e1e1e1;
}
/************************************
** サイド
************************************/
.sidebar h2, .sidebar h3 {
    padding: 0 0 0 .9rem;
    background: none;
    margin: 0 0 1.25rem;
    /* border-left: 5px solid #ffa61b; */
	position: relative;
}
.sidebar h2:before, .sidebar h3:before {
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    display: block;
    content: "";
    width: 4px;
    height: 20px;
    background: #ffa61b;
    border-radius: 2px;
}
.sidebar {
	padding: 1.5rem;
}
.widget-entry-cards .a-wrap {
	padding: 0;
	margin-bottom: .9rem;
}
.widget-entry-cards .a-wrap:hover .card-title {
	text-decoration: underline;
    text-decoration-thickness: 2px;
	text-decoration-color: #ffa61b;
}
.widget-entry-cards .a-wrap .card-title {
	padding-bottom: 3px;
    line-height: 1.4;
}

.widget-entry-cards figure {
	margin-bottom: 0;
}
.search-box {
	margin: 0;
}
.entry-card-thumb, .author-thumb, .blogcard-thumbnail, .related-entry-card-thumb, .popular-entry-card-thumb, .new-entry-card-thumb {
	margin-right: .85rem;
	margin-top: 2px;
	margin-bottom: 0;
}
.widget_recent_entries ul, .widget_categories ul, .widget_archive ul, .widget_pages ul, .widget_meta ul, .widget_rss ul, .widget_nav_menu ul, .widget_block ul {
	display: grid;
	gap: .35rem;
}
.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a, .widget_block ul li a {
	padding: .5rem 0;
	margin: 0;
}
.widget_recent_entries ul li a:hover, .widget_categories ul li a:hover, .widget_archive ul li a:hover, .widget_pages ul li a:hover, .widget_meta ul li a:hover, .widget_rss ul li a:hover, .widget_nav_menu ul li a:hover, .widget_block ul li a:hover {
	background: inherit;
	text-decoration: underline;
    text-decoration-thickness: 2px;
	text-decoration-color: #ffa61b;
	transition: inherit;
}
/* 人気記事 */
.widget-entry-cards.ranking-visible .no-1 .card-thumb::before,.widget-entry-cards.ranking-visible .no-2 .card-thumb::before,.widget-entry-cards.ranking-visible .no-3 .card-thumb::before {
    background: #ffa61b;
}
.widget-entry-cards.ranking-visible .card-thumb::before {
	top: -2px;
	left: -2px;
	background-color: #777777;
	padding: 3px;
	font-size: 18px;
	font-weight: 700;
	opacity: 1;
	line-height: 17px;
	border: 2px solid;
}
.go-to-top-button {
    background-color: #c17e14;
    width: 4rem;
    height: 4rem;
	color: #fff;
}
/* コメント */
.recent-comments {
	gap: 1.25rem;
}
.recent-comment-link {
	border-bottom: 1px dashed #ccc;
    padding-bottom: 1.25rem;
}
.recent-comment-author {
	margin-bottom: .5rem;
}
.recent-comment-date {
    font-size: .85rem;
    color: #444;
	margin-bottom: 1rem;
}
.recent-comment-content {
	padding: .5rem;
}
.recent-comment-content {
	border: 2px solid #ccc;
}
.recent-comment-content:before {
	border-bottom-color: #ccc;
}
.recent-comment-article .fa-link {
	color: #ffa61b;
}
.recent-comment-article {
    margin-top: .5rem;
    font-size: .85rem;
    line-height: 1.5;
	color: #666;
}
/*　カテゴリー */
.widget_categories {
	font-weight: 700;
}
/* お問い合わせフォーム */
.wpcf7-form p {
	margin: 0 0 2rem;
}
.wpcf7-form label {
    font-size: .95rem;
	font-weight: 700;
}
.wpcf7-form-control-wrap input {
	margin-top: .25rem;
}
input.wpcf7-submit {
    border: none;
    padding: 1rem 0;
    background: #1863ef;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  	.logo {
		text-align: center;
	}
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.sns-share.ss-top.ss-col-6 a, .sns-share.ss-bottom.ss-col-6 a, .sns-share.ss-top.ss-col-5 a, .sns-share.ss-bottom.ss-col-5 a,.sns-follow-buttons a {
		width: 32%;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
	.body .entry-card-thumb {
		margin-right: 1rem;
	}
	.related-entry-card-title, .entry-card-title {
        font-size: 1.05rem !important;
    }
	.header-in {
		height: 5rem;
	}
	#header .site-name-text {
		font-size: 1.5rem;
	}
	.article h1.entry-title, .article h1.archive-title {
		padding: 0;
		font-size: 1.25rem;
	}

}
