@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.8);
}

.wrap {
	max-width: 768px;
}

body:not(.single-post) .date-tags {
	display: none;
}
.date-tags {
	position: absolute;
	top:  10px;
	right: 20px;
}
.sns-share.ss-high-and-low-lc a .button-caption.button-caption,
.sns-share-message {
	display: none;
}

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


/*--------------------------------
	全体
--------------------------------*/
@font-face {
	font-family: 'fontserif';
	src: url('./NotoSerifJP-SemiBold.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'fontsans';
	src: url('./NotoSansJP-Light.woff2') format('woff2');
	font-display: swap;
}

:root {
	--color_key: #EF4056;
	--color_font: #202124;
	--color_link: #1D9BF0;
	--color_line: #DDD;
	--color_shadow: 0px 4px 8px -2px rgba(0,0,0,0.2);
	--font_sans: 'fontsans';
	--font_serif: 'fontserif';
}

body, #main {
	overflow-x: hidden;
}
@media screen and (max-width: 1104px) {
	.main, .sidebar, .sidebar-left .main, .sidebar-left .sidebar {
		margin: unset;
	}
}
/*リンク*/
a, 
a:hover {
	color: var(--color_link);
	outline: unset;
	/*text-decoration: unset;*/
	text-underline-offset: 2px;
}
a[href*="https://sgmanual.net/to"]::after {
	font-family: 'Font Awesome 5 Free';
		content: '\f35d';
		font-weight: 900;
	margin: 0 0.3em;
	font-size: 0.5em;
}
/*リンク背景色を無効化（メニューやサイドバー）*/
.cf a:hover {
	background: transparent;
}
.fa-external-link-alt::before {
    font-size: 0.6em;
}
/*em斜体*/
em {
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", YuGothic, "Yu Gothic", sans-serif;
	font-style: italic;
}


/*--------------------------------
	インライン
--------------------------------*/
.huto,
.bold { /*AFFINGER引継ぎ*/
	font-weight: bold;
}
.st-aka { /*AFFINGER引継ぎ*/
	color: var(--color_key);
}
.bold.red,
.hutoaka { /*AFFINGER引継ぎ*/
	color: var(--color_key);
	font-weight: bold;
}
.blue,
.komozi, /*AFFINGER引継ぎ*/
.small {
	color: inherit;
	font-size: 12px;
}
.blue.bold,
.large {
	font-size: 1.3rem;
	font-weight: bold;
	line-height: 1.4;
}
/*青 = 小文字*/
.blue,
.small {
	display: inline-block;
	color: var(--color_font);
	font-size: 0.75em;
	line-height: 1.2em;
}


/*--------------------------------
	フロントページ
--------------------------------*/
body.page h2 {
	margin: unset;
	margin: 1rem -16px 2.5rem;
}
.column-wrap [class*="fp-box"] {
	border: solid 1px;
	border-color: #e3e3e3;
	border-radius: 8px;
	padding: 6px;
	box-shadow: var(--color_shadow);
}
.column-wrap .speech-wrap {
	margin: unset;
}
.column-wrap .speech-icon {
	width: 80px;
}
.column-wrap [class*="blogcard-wrap"] {
	width: unset;
	max-width: unset;
}

/*--------------------------------
	サイト名
--------------------------------*/
.site-name-text-link {
	padding: unset;
}
.logo-header {
	margin: 16px;
}
@media screen and (max-width: 1023px) {
	.footer-bottom-logo {
		line-height: unset;
	}
}
#header .logo {
	text-align: unset;
}
.site-name-text span {
	display: inline-block;
	border: 1px solid var(--color_font);
	color: var(--color_font);
	font: normal 1em var(--font_serif);
	line-height: 1.1;
	padding: 0 0.1em 0.1em 0.1em;
	margin-left: -1px;
}
.site-name-text span:nth-child(1) {
	font-size: 1.5em;
	margin-right: 0.05em;
	transform: rotate(-13deg);
}
.site-name-text span:nth-child(1),
.site-name-text span:nth-child(3),
.site-name-text span:nth-child(4) {
	color: var(--color_key);
}


/*--------------------------------
	タイトル周り
--------------------------------*/
/*パンくずリスト*/
.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;
}
/*h1見出しデザイン*/
h1.entry-title {
	color: var(--color_font);
	font:normal 1.6rem var(--font_serif);
	line-height: initial;
	padding: unset;
}
/*タイトル：カテゴリーページ・タグページ*/
.archive-title {
	font-family: var(--font_serif);
}
.archive-title .fas {
	display: none;
}
/*SNSボタン*/
.sns-buttons > a {
	border: unset !important;
}
.post-date .far::before {
	display: none;
}
.post-date ::before {
	content: "投稿日：";
}
.post-update .fas::before {
	display: none;
}
.post-update ::before {
	content: "更新日：";
}


/*--------------------------------
	タググループ
--------------------------------*/
/*タググループ*/
.tagcloud-taggroup,
.widget-below-single-content-title {
	margin-bottom: 1rem !important;
}
[class^='tagcloud'] a {
	display: inline-block;
	font: normal 14px sans-serif;
	margin: 0.1em 0.3em;
	text-decoration: unset;
}
[class^='tagcloud'] a::before {
	content: "#";
	font-size: 1.1em;
	margin-right: -0.1em;
}


/*--------------------------------
	目次
--------------------------------*/
/*Cocoon目次デザイン変更*/
#toc_container {
	background: linear-gradient(135deg, transparent 25%, rgba(73, 94, 105, 0.05 ) 25%, rgba(73, 94, 105, 0.05 ) 50%, transparent 50%, transparent 75%, rgba(73, 94, 105, 0.05 ) 75%, rgba(73, 94, 105, 0.05 )) !important;
	background-size: 4px 4px !important;
	background-clip: padding-box !important;
	border: unset !important;
	border-top: 4px double #E2E2E2 !important;
	border-bottom: 4px double #E2E2E2 !important;
	margin-bottom: 2rem;
	width: 100% !important;
}
#toc_container p.toc_title {
	color: initial;
	font: normal 24px serif !important;
	margin-left: 0.5rem !important;
	text-align: unset !important;
}
#toc_container a {
	font-size: 15px;
	text-decoration: none !important;
}
#toc_container > ul {
	list-style: none;
	padding-left: unset !important;
}
#toc_container > ul > li {
	position: relative;
	list-style: none;
	padding-left: 1.25em !important;
}
#toc_container > ul > li::before {
	position: absolute;
	content: '\226b';
	display: inline-block;
	font-size: 0.5em;
	margin-right: 0.25em;
	transform: rotate(90deg);
	left: 0;
	top: 0.8em;
}
#toc_container ul ul {
	padding-left: 1em;
	margin-left: unset !important;
}
#toc_container ul ul > li {
	list-style: circle !important;
}
#toc_container .toc_depth_2 {
	display: none;
}


/*--------------------------------
	見出し
--------------------------------*/
/*h2見出しデザイン*/
.article h2 {
	position: relative;
	border-bottom: 6px solid var(--color_key);
	border-radius: unset;
	background-color: unset;
	color: var(--color_font);
	font: normal 24px var(--font_serif);
	padding: 0.7em;
	margin: 12rem -16px 2.5rem;
}
.article h2:before {
	position: absolute;
	content: '';
	border-width: 21px 21px 0 0;
	border-style: solid;
	border-color: var(--color_key) transparent transparent transparent;
	left: 16px;
	bottom: -22px;
	width: 0;
	height: 0;
}
.article h2:after {
	position: absolute;
	content: '';
	border-width: 14px 14px 0 0;
	border-style: solid;
	border-color: #FFF transparent transparent transparent;
	left: 22px;
	bottom: -10px;
	width: 0;
	height: 0;
}
/*h3見出しデザイン*/
.article h3 {
	border: unset;
	border-top: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 6px solid var(--color_key);
	color: var(--color_font);
	font: normal 22px var(--font_serif);
	padding: 0.5em;
	margin: 1.5rem 0;
}
[class$="-box"] h3 {
	border: unset;
}



/*--------------------------------
	ボックス
--------------------------------*/
/*引用blockquote*/
blockquote {
	background: #F6F6F6;
	border: unset;
	border-radius: 4px;
	font-family: "fontmono";
	padding: 15px;
}
blockquote::before {
	color: var(--color_font);
	font-size: 4rem;
	top: -18px;
	left: -8px;
}
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,
.primary-box {
	background: #fef5f6;
	border: 1px dashed var(--color_key);
	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;
}
/*FAQ（リッチリザルト）*/
.faq {
	list-style: none;
	padding-left: unset !important;
}
.faq li div:nth-of-type(1)::before {
	content: "Q";
	color: var(--color_key);
	font-size: 1.5rem;
	margin-right: 1rem;
}
.faq li div:nth-of-type(2) p::before {
	content: "A";
	font-size: 1.5rem;
	margin-left: 0.1em;
	margin-right: 1rem;
}


/*--------------------------------
	スピーチバルーン
--------------------------------*/
.speech-balloon {
	color: #666;
}
.speech-person {
	width: 25% !important;
	min-width: unset !important;
	max-width: 100px !important;
}


/*--------------------------------
	ブログカード
--------------------------------*/
[class*="blogcard-wrap"] {
	margin: unset;
	padding: unset;
	max-width: 400px;
}
.cat-label {
	display: none;
}
.blogcard {
	box-shadow: var(--color_shadow);
	padding: 6px;
}
[class*="card-thumb"] {
	margin: 0 8px 0 0;
	width: 100px;
	height: 100px;
}
[class*="card-content"] {
	text-align: left;
	margin: 0;
	padding: 0;
}
[class*="card-title"] {
	color: var(--color_font);
	font: normal 15px var(--font_serif) !important;
	font-weight: normal;
	line-height: 1.5;
	margin: 0 0 0.5em 0;
}
[class*="card-snippet"] {
	color: var(--color_font) !important;
	line-height: 1.5;
}
[class*="card-footer"] {
	padding: unset;
}
/*エントリーカード*/
.entry-card-content {
	margin-left: unset;
}
/*内部ブログカード*/
.internal-blogcard {
	text-align: center;
}
/*外部ブログカード*/
.internal-blogcard,
.external-blogcard {
	position: relative;
	min-height: 116px;
}
.external-blogcard::before {
	position: absolute;
		top: -2rem;
		left: 50%;
	content: "▼";
	transform: scale(2, 1) translateX(-20%);/*位置調整*/
	-webkit-transform: scale(2, 1) translateX(-20%);
}
.internal-blogcard::after,
.external-blogcard::after {
	position: absolute;
		right: 5px;
		bottom: 2px;
	content: "この記事を読む≫";
	background: #FFF;
	color: var(--color_link);
	font-size: 0.7rem;
	padding: 0 0.5em;
}
.external-blogcard-title {
	margin-bottom: 8px;
}
.external-blogcard-site {
	display: none;
}


/*--------------------------------
	リスト
--------------------------------*/
.primary-box ul {
	list-style: none;
	padding-left: unset;
}
.article h2:not(:last-of-type) + ul {
	list-style: none;
	padding: 0.5rem;
}
.primary-box ul > li,
.article h2:not(:last-of-type) + ul > li {
	position: relative;
	padding-left: 1.5rem;
}
.primary-box ul > li::before,
.article h2:not(:last-of-type) + ul > li::before {
	color: var(--color_key);
	content: '\f00c';
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	top: 0;
	left: 0;
}


/*--------------------------------
	番号付きリスト黒丸
--------------------------------*/
:root {
	--listspace: 0.5em; /*番号と文字の隙間*/
}
ol {
	list-style: none;
}
ol li {
	text-indent: calc(-1.3em - var(--listspace));
}
ol li::before {
	color: var(--color_sub);
	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';}



/*--------------------------------
	ステップ
--------------------------------*/
/*スタイル > ボックス（案内） > サクセス*/
.step {
	max-width: 540px;
	margin: 0 auto;
}
.step h3 {
	position: relative;
	border: unset;
	margin-bottom: unset;
}
@media screen and (min-width: 440px) {
	.step h3 {
		padding-left: 30%;
	}
}
.step h3::before {
	color: var(--color_key);
	padding-right: 0.5em;
}
.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 p+h3::after {
	content: "▼";
	position: absolute;
		top: -28px;
		left: 50%;
	transform: scale(2, 1) translateX(-20%);/*位置調整*/
	-webkit-transform: scale(2, 1) translateX(-20%);
	color: var(--color_sub);

}



/*--------------------------------
	タイムライン
--------------------------------*/
.timeline ul {
	border-left: 1px solid var(--color_key);
	padding-left: 16px;
}
.timeline ul li {
	margin: 1rem 0;
}
.timeline ul li::marker {
	color: var(--color_key);
	font-size: 1.1em;
}



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


/*--------------------------------
	tagpostsついでに読んでおきたい
--------------------------------*/
.tagposts span {
	display: block;
	margin-bottom: 0.5em;
}
.tagposts span a {
	display: inline-block;
	line-height: 1.5;
}



/*--------------------------------
	フッター周り
--------------------------------*/
/*ロゴ・ライセンス1024px以上での左右分割を無効化してセンタリング*/
.footer-bottom-logo {
	float: none;
    position: static;
}
.footer-bottom-logo .logo-image {
    margin: 0 auto;
}
.footer-bottom-content {
	float: none;
    text-align: center;
}
/*クレジットとの隙間調整*/
.logo-footer {
	margin-bottom: 16px;
}



/*--------------------------------
	計算機
--------------------------------*/
/*計算機*/
.calc-wrap {
	background-color: #eee;
	border-radius: 8px;
	padding: 4px;
}
.calc {
	padding: unset;
	margin: 0 auto;
	max-width: 300px;
}
.calc p {
	margin: unset;
	padding: unset;
}
.calc .calc-title {
	font-weight: bold;
	text-align: center;
}
.calc .calc-display {
	background-color: #FFF;
	border-radius: 8px;
	box-shadow: inset 0px 2px 5px 0px rgba(0,0,0,0.2);
	margin: 4px auto;
	padding: 0.3em 1em 0 0;
	text-align: right;
	width: auto;
}
.calc .res {
	color: black;
	font: 3rem "fontsans";
}
.calc .calc-input {
	font-size: 0.9em;
	margin: 4px auto;
	width: auto;
	position: relative;
}
.calc input,
.calc select {
	margin: 2px 0 2px 4px !important;
}
.calc .input-button {
	position: absolute;
	right: 0;
	bottom: 0;
}
.calc input[type="button"] {
	background-color: var(--color_key);
	border: solid 2px !important;
	border-radius: 6px !important;
	color: white;
	height: 2.3em;
	text-align: center;
	margin: 0 2px !important;
	padding: unset !important;
	width: 3em !important;
	-webkit-appearance: none;
}
.calc input[type="button"] {
	border-color: #fac5cc #f58c99 #d7394d #f58c99 !important;
}
.calc input[type="button"]:active {
	border-color: #f58c99 #f58c99 #f58c99 #f58c99 !important;
}





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

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

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