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

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

/*アドミンバーを半透明に*/
#wpadminbar {
	background: rgba(29, 35, 39, 0.5);
}



/*--------------------------------
	全体
--------------------------------*/
@font-face {
	font-family: 'fontlogo';
	src: url('./RubikPuddles-Regular.woff2') format('woff2');
	font-display: swap;
}

@font-face {
	font-family: 'fontsans';
	src: url('./ZenMaruGothic-Medium.woff2') format('woff2');
	font-display: swap;
}

:root {
	--color_key: #54BABC;
	--color_sub: #030303; /*#223770;*/
	--color_font: #4D5156;
	--color_bg: #FAFAFA;
	--color_link: #1B95E0;
	--color_line: #CCC;
	--color_red: #E60033;
	--color_shadow: 0px 8px 8px -2px rgba(0,0,0,0.2);
	--font_logo: "fontlogo";
	--font_sans: "fontsans", sans;
	--list_space: 0.5em; /*番号と文字の隙間*/
	--width_body: 1200px;
}
/*ページのゆらゆらを防止*/
body.home #content,
body[class*="scrollable-sidebar"] #main {
	overflow-x: hidden;
}
/*リンク*/
a, 
a:hover {
	color: var(--color_link);
	outline: unset;
	/*text-decoration: unset;*/
	text-underline-offset: 2px;
}
a[href*="https://comipan.com/to/"]::after {
	font-family: 'Font Awesome 5 Free';
		content: '\f35d';
		font-weight: 900;
	margin: 0 0.3em;
	font-size: 0.5em;
}
.cat-label {
	display: none;
}
.fas.external-icon::before {
	font-size: 0.6em;
}
.copy {
	display: block;
	color: var(--color_red);
	font-size: 0.9em;
	text-align: center;
	margin-bottom: unset;
}
.article ol li,
.article ul li {
	line-height: unset;
	margin: unset;
}


/*--------------------------------
	ヘッダー
--------------------------------*/
/*ロゴ*/
#header .logo-text {
	text-align: unset;
	margin: 0 1rem;
}
/*ロゴと画像の隙間調整*/
#header-container {
	height: 100px;
}
/*サイト名*/
.site-name-text {
	position: relative;
	color: var(--color_key);
	font-family: "fontsans";
	margin-left: 10em;
	margin-top: -2em;
}
/*ロゴCOMIPAN*/
.site-name-text::before {
	position: absolute;
	color: var(--color_key);
	content: "COMIPAN";
	font-family: "fontlogo";
	font-size: 3em;
	top: -0.1em;
	left: -3.52em	
}
/*パンくずリスト*/
.breadcrumb {
	border-top: 1px solid var(--color_line);
	border-bottom: 1px solid var(--color_line);
}
.breadcrumb-home .fa-fw,
.breadcrumb-item .fa-fw {
	display: none;
}


/*--------------------------------
	フッター周り
--------------------------------*/
/*ロゴ・ライセンス1024px以上での左右分割を無効化してセンタリング*/
.footer-bottom-logo {
	float: none;
    position: static;
}
.footer-bottom-logo .logo-image {
    margin: 0 auto;
}
.footer-bottom-content {
	float: none;
    text-align: center;
}
/*フッターのロゴCOMIPAN位置調整*/
@media screen and (max-width: 1023px){
	.logo-footer .site-name-text::before {
		top: 0.3em;
	}
}
/*クレジットとの隙間調整*/
.logo-footer {
	margin-bottom: 4rem;
}


/*--------------------------------
	タイトル周り
--------------------------------*/
/*h1見出しデザイン*/
h1.entry-title {
	color: initial;
	font: normal 1.8rem var(--font_sans);
	line-height: initial;
	padding: unset;
}


/*--------------------------------
	タググループ
--------------------------------*/
[class*="tagcloud"] a {
	display: inline-block;
	font-size: 0.9em;
	margin: 0.1em 0.3em;
	text-decoration: none;
}
[class*="tagcloud"] a::before {
	content: '#';
}


/*--------------------------------
	見出し
--------------------------------*/
/*カテゴリーページ*/
h1.archive-title {
	color: initial;
}
.archive-title span::before {
	content: '';
}
/*h2見出しデザイン*/
.article h2 {
	position: relative;
	border-bottom: 6px solid var(--color_sub);
	border-radius: unset;
	background-color: var(--color_sub);
	color: #FFF;
	font: normal 24px var(--font_sans);
	padding: 0.7em;
	margin: 10rem -16px 1.5rem;
}

/*h3見出しデザイン*/
.article h3 {
	border: unset;
	border-top: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: solid 6px var(--color_sub);
	background-color: unset;
	font: normal 22px var(--font_sans);
	padding: 0.4em 0.8em;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

/*--------------------------------
	ステップ
--------------------------------*/
.step h3 {
	border: unset;
	padding-left: unset;
}
.step h3::before {
	display: inline-block;
	background: var(--color_key);
	border-radius: 1em;
	color: #fff;
	font: normal 16px serif;
	padding: 0 0.4em;
	margin-right: 0.5rem;
}
.step h3:nth-of-type(1)::before {content: "step1";}
.step h3:nth-of-type(2)::before {content: "step2";}
.step h3:nth-of-type(3)::before {content: "step3";}
.step h3:nth-of-type(4)::before {content: "step4";}
.step h3:nth-of-type(5)::before {content: "step5";}
.step h3:nth-of-type(6)::before {content: "step6";}
.step h3:nth-of-type(7)::before {content: "step7";}
.step h3:nth-of-type(8)::before {content: "step8";}
.step h3:nth-of-type(9)::before {content: "step9";}


/*--------------------------------
	インライン
--------------------------------*/
.blue.bold,
.large {
	color: #010101;
	font-size: 1.3rem;
	font-weight: bold;
	line-height: 1.4;
}
.blue,
.small {
	display: inline-block;
	color: gray;
	font-size: 80%;
	line-height: 1.5;
}


/*--------------------------------
	ボックス
--------------------------------*/
/*引用blockquote*/
blockquote {
	background: #F3F6FF;
	border: unset;
	border-radius: 4px;
	font-family: "fontmono";
	padding: 15px;
}
blockquote::before {
	color: var(--color_sub);
	font-size: 4rem;
	top: -20px;
	left: -9px;
}
blockquote::after {
	content: none;
}
blockquote p {
	margin-bottom: .5rem !important;
}
blockquote p + hr {
	border-width: 1px 0px 0px 0px;
	border-style: solid;
	color: #DDD;
	margin: 1rem;
}
h2:not(:last-of-type) + ul,
h2:not(:last-of-type) + ol,
.primary-box {
	background: #edf8f8;
	/*border: 1px solid var(--color_key);*/
	border-radius: 8px;
	color: initial;
	padding: 0.5rem;
	padding-left: 2rem;
}
.primary-box {
	border-radius: unset;
	padding-left: unset;
	padding: 0.5rem;
}
/*導線（アフィリエイト誘導)*/
.leadline {
	background: #F6F6F6;
	padding: 0.5rem;
}
/*用語注釈*/
.annotation {
	position: relative;
	background: transparent;
	border: 1px solid #666;
	padding: 1rem;
}
.annotation p:first-child {
	position: absolute;
		top: -1.6rem;
	display: inline-block;
	background: #FFF;
	font-weight: bold;
	line-height: 1;
	padding: 0 1em;
	white-space: nowrap;
	margin-top: 1rem;
}
.annotation p:last-child {
	margin-bottom: unset;
}
.annotation ul {
	margin-bottom: unset;
}


/*--------------------------------
	リストマーカー
--------------------------------*/
ul li::marker {
	color: var(--color_key);
	font-size: 1.5em;
}


/*--------------------------------
	番号付きリスト黒丸
--------------------------------*/
:root {
	--listspace: 0.5em; /*番号と文字の隙間*/
}
ol {
	list-style: none;
}
ol li {
	text-indent: calc(-1.3em - var(--listspace));
}
ol li::before {
	color: var(--color_key);
	font: 1.2em serif;
	padding-right: var(--listspace);
}
ol :not(li){
	text-indent: initial;
}
ol > li:nth-of-type(1)::before {content: '\2776';}
ol > li:nth-of-type(2)::before {content: '\2777';}
ol > li:nth-of-type(3)::before {content: '\2778';}
ol > li:nth-of-type(4)::before {content: '\2779';}
ol > li:nth-of-type(5)::before {content: '\277a';}
ol > li:nth-of-type(6)::before {content: '\277b';}
ol > li:nth-of-type(7)::before {content: '\277c';}
ol > li:nth-of-type(8)::before {content: '\277d';}
ol > li:nth-of-type(9)::before {content: '\277e';}
ol > li:nth-of-type(10)::before {content: '\277f';}


/*--------------------------------
	ブログカード
--------------------------------*/
/*ブログカードの装飾*/
.blogcard {
	border: unset;
}
.blogcard-wrap {
	margin: unset;
	padding: unset;
	max-width: 440px;
}
.internal-blogcard,
.external-blogcard {
	background: white;
	border: 1px solid #1B95E0;
	box-shadow: var(--color_shadow);
}
[class$="card-title"] {
	font-family: var(--font_sans);
	font-weight: normal;
}
[class*="card-thumb"] {
	margin: 0 8px 0 0 !important;
	width: 100px !important;
	height: 100px !important;
	object-fit: cover; /*トリミング*/
}
.card-snippet {
	color: gray;
}
[class*="card-content"] {
	margin: 0;
	padding: 0;
}
.blogcard-title {
	font-size: 0.9rem;
}
[class$="blogcard-content"]::after {
	position: absolute;
	background: #1B95E0;
	border-radius: 3px;
	content: "この記事を読む";
	color: white;
	font-size: 0.9rem;
	padding: 0.2em 0.5em;
	right: 6px;
	bottom: 6px;
}
/*外部ブログカード*/
.external-blogcard {
	position: relative;
}
.external-blogcard-title {
	margin-bottom: 8px;
}
.external-blogcard-site {
	display: none;
}


/*--------------------------------
	tx内部リンク
--------------------------------*/
.entry-content .tx {
	display: block;
	line-height: 1.5;
	margin-bottom: 1rem;
}
.tx-wrap .tx::before {
	content: "関連";
	background: var(--color_link);
	border-radius: 3px;
	color: #FFF;
	font-size: 0.9em;
	padding: 0.1em 0.4em;
	margin-right: 4px;
}


/*--------------------------------
	tagpostsついでに読んでおきたい記事
--------------------------------*/
.tagposts {
	background: #F6F9FB;
	margin-left: -16px;
	margin-right: -16px;
	padding: 1rem;
}
.tagposts .tx {
	display: block;
	margin-bottom: 0.5rem;
}
.tagposts .tx a {
	display: inline-block;
	line-height: 1.4;
}


/*--------------------------------
	ボタン化
--------------------------------*/
.buttonlink {
	text-align: center;
}
.buttonlink a {
	display: inline-block;
	background: linear-gradient(to bottom, #ffc3a3 5%, #ffc3a3 20%, #ff6b19 50%, #ff6b19);
	border: 1px solid #FF9860;
	border-radius: 64px;
	box-shadow: var(--color_shadow);
	color: #FFF;
	line-height: 1.4;
	padding: 0.5em 1.2em;
	text-decoration: none;
	width: 90%;
}
.buttonlink a::after {
	display: none;
}


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

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

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