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



.cn-box {
	background-image: url(https://cn-vpn.net/wp-content/uploads/cnd-tl-min.png),
		url(https://cn-vpn.net/wp-content/uploads/cnd-tl-min.png);
	background-repeat: no-repeat;
	background-position: top left, top right;
	border: 7px double #000;
}



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

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


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

:root {
	--color_key: #EF4056; /*レッド*/
	--color_sub: #247DDC; /*ブルー*/
	--color_font: #202124;
	--color_link: #1D9BF0;
	--color_line: #E2E2E2;
	--color_red: #EF4056;
	--color_gradation: linear-gradient(to right, var(--color_key) 20%, var(--color_sub) 80%);
	--color_shadow: 0px 8px 12px -4px rgba(0,0,0,0.2);
	--font_mono: "fontmono";
	--font_serif: serif;
	--fontspace: 0em;
	--listspace: 0.5em; /*番号と文字の隙間*/
	--padding_space: 12px;
}

/*ページのゆらゆらを防止*/
body.home #content,
body[class*="scrollable-sidebar"] #main {
	overflow-x: hidden;
}
.wrap {
	max-width: 768px;
}
/*リンク*/
a, 
a:hover {
	color: var(--color_link);
	outline: unset;
	/*text-decoration: unset;*/
	text-underline-offset: 2px;
}
a[href*="https://cn-vpn.net/to/"]::after {
	font-family: 'Font Awesome 5 Free';
		content: '\f35d';
		font-weight: 900;
	margin: 0 0.3em;
	font-size: 0.5em;
}
svg {
	margin-top: -1rem;
}
.cat-label {
	display: none;
}
.fas.external-icon::before {
	font-size: 0.6em;
}
/*テーブルのCocoon装飾を無効化*/
table th, table td {
	background: unset;
	background: #FFF;
	font-size: 0.9em;
}
table thead tr:first-of-type th {
	background: #F9F9F9;
}



/*--------------------------------
	カラム横並び（おもに比較表に使うassy内のdata）
--------------------------------*/
@media screen and (max-width: 834px) {
	.flexrow .column-wrap {
		flex-direction: row;
	}
}
@media screen and (max-width: 768px) {
	/*.flexrow [id$="data"] table th {
		width: 40%;
	}*/
}


/*--------------------------------
	ヘッダー周り
--------------------------------*/
.logo-header {
	text-align: unset;
}
.site-name-text {
	background: var(--color_gradation);
	/*background: black;*/
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	font-family: var(--font_mono);
	font-size: 2em !important;
}
/*パンくずリスト*/
.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.entry-title,
h1.archive-title {
	font: bold 26px var(--font_serif) !important;
	padding: unset;
}
h1 .fas::before,
.fa-folder-open::before {
	content: none;
}
.share-button {
	border: unset !important;
}
.stema {
	text-align: center;
}

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


/*--------------------------------
	目次
--------------------------------*/
/*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;
	border-top: 4px double var(--color_line) !important;
	border-bottom: 4px double #E2E2E2 !important;
	margin-bottom: 2rem;
	width: 100% !important;
}
#toc_container p.toc_title {
	color: initial;
	font: normal 22px 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;
	margin-right: 0.25rem;
	transform: rotate(90deg);
	left: 0;
}
#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 {
	background-color: unset;
	border-bottom: 2px solid;
	border-image: var(--color_gradation);
	border-image-slice: 1;
	color: inherit;
	font: bold 24px var(--font_serif);
	padding: 0.7em;
	margin: 10rem -16px 1.5rem;
}
/*h3見出しデザイン*/
.article h3 {
	border-top: unset;
	border-right: unset;
	border-bottom: unset;
	border-left: 2px solid var(--color_key);
	color: initial;
	font: bold 22px var(--font_serif);
	padding: 0.5em;
	margin: 1.5rem 0;
}



/*--------------------------------
	インライン
--------------------------------*/
.bold red {
	color: #ef4056;
}
.small {
	display: inline-block;
	font-size: 0.8em;
	line-height: 1.4;
}
.large {
	display: inline-block;
	font-size: 1.3rem;
	font-weight: bold;
}


/*--------------------------------
	ボックス
--------------------------------*/
blockquote {
	background: #F8F8F8;
	border: unset;
	font: normal 0.9em sans-serif;
	line-height: 1.8 !important;
	padding: 0.5em;
}
blockquote *:not(:last-child) {
	margin-bottom: 1em !important;
}
blockquote::before {
	font-size: 5em;
	top: -24px;
	left: -10px;
}
blockquote::after {
	display: none;
}
.primary-box {
	padding: unset;
}
.primary-box,
.article h2:not(:last-of-type) + ol,
.article h2:not(:last-of-type) + ul {
	background: #F6F9FD;
	border: 1px dashed var(--color_sub);
	border-radius: unset;
	color: inherit;
	padding-top: 0.7em;
	padding-right: 0.3em;
	padding-bottom: 0.7em;
}
.article h2:not(:last-of-type) + ol li::before,
.article h2:not(:last-of-type) + ul li::before {
	margin-left: 0.3em;
}
.secondary-box {
	position: relative;
	background: transparent;
	border: solid 1px var(--color_font);
	border-radius: unset;
	color: inherit;
	padding: 0.7rem 0.5rem;
}
.secondary-box p:nth-of-type(1) {
	position: absolute; 
		top: -12px;
	display: block;
	background: #FFF;
	line-height: 1;
	color: inherit;
	font-weight: bold;
	padding: 0 0.7rem;
}
.userflow {
	background: #F8F8F8;
	padding: 0.5em;
}
.merideme .column-left {
	background: #F6F9FD;
}
.merideme .column-right {
	background: #FEF7F8;
}


/*--------------------------------
	ブログカード
--------------------------------*/
/*ブログカードの装飾*/
.blogcard {
	border: unset;
}
.blogcard-wrap {
	margin: unset;
	padding: unset;
}
/*内部ブログカード*/
.internal-blogcard-wrap {
	max-width: 440px;
}
.internal-blogcard {
	box-shadow: var(--color_shadow);
}
[class*="card-thumb"] {
	margin: 0 8px 0 0 !important;
	width: 100px !important;
	height: 100px !important;
}
[class*="card-content"] {
	margin: 0;
	padding: 0;
}
.blogcard-title {
	font-size: 0.9rem;
}
.internal-blogcard-content::after {
	position: absolute;
	content: "記事を読む ≫";
	color: var(--color_link);
	font-size: 0.9rem;
	right: 4px;
	bottom: 4px;
}


/*--------------------------------
	アプリカード
--------------------------------*/
.appcard {
	background: #F7FAFB;
	border-radius: 5px;
	padding: 8px;
}
.appcard [class*="thumbnail"] {
	float: left;
	width: 96px;
	height: 96px;
	margin-right: 8px;
}
.appcard [class*="title"] {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 2px;
}
.appcard [class*="card-content"] {
	margin-left: unset;
}
.appcard [class*="card-snippet"] {
	font-size: 0.75rem;
	line-height: 1.4em;
}


/*--------------------------------
	テーブル
--------------------------------*/



/*--------------------------------
	番号付きリスト黒丸
--------------------------------*/
ol {
	position: relative;
	counter-reset: item;
	list-style-type: none;
	padding-left: 40px;
}
ol > li {
	counter-increment: item;
}
ol > li::before {
    position: absolute;
	left: 0;
	font-weight: 700;
	content: counter(item) ".";
	margin-left: 1.5rem !important;
}
@media screen and (max-width: 834px) {
	ol > li::before {
		margin-left: 0.5rem !important;
	}
}


/*--------------------------------
	タイムライン
--------------------------------*/
.timeline ul {
	border-left: 1px solid var(--color_key);
	padding-left: 16px;
}
/*iPhoneのみ
 * _:lang(x)+_:-webkit-full-screen-document,*/
@media screen and (max-width: 480px){
	_:lang(x)+_:-webkit-full-screen-document, .timeline ul {
		padding-left: 14.5px;
	}
}
.timeline ul li {
	margin: 1rem 0;
}
.timeline ul li::marker {
	color: var(--color_key);
	font-size: 1.2em;
}


/*--------------------------------
	tx
--------------------------------*/
.tx-wrap .tx::before {
	content: "関連";
	color: #FFF;
	background: var(--color_sub);
	border-radius: 3px;
	font-size: 0.9em;
	padding: 0.1em 0.2em;
	text-decoration: none !important;
	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;
}


/*--------------------------------
	ASSY
--------------------------------*/
[id$="assy"] > h3 + span {
	position: relative;
	display: block;
	font: normal 1rem serif;
	opacity: 0.8;
	white-space: nowrap;
	margin-bottom: -1rem;
	top: -2.25rem;
	left: 1.25rem;
}
[id$="data"] .column-wrap .column-left {
	text-align: center;
}
[id$="data"] .column-wrap .column-left img {
	width: 96px;
	height: auto;
}
[id$="data"] .column-wrap .column-left img + span {
	display: block;
}
[id$="data"] table {
	margin-bottom: 0.2rem;
}
[id$="data"] table td,
[id$="info"] table td{
	line-height: 1.1;
}
[id$="data"] table td .on {
	display: inline-block;
	background: #E9F2FB;
	border: 1px solid var(--color_sub);
	border-radius: 2px;
	color: var(--color_sub);
	font-size: 0.9em;
	letter-spacing: -0.15em;
	padding: 2px 3px 2px 1px;
	margin: 1px;
}
[id$="data"] table td .off {
	display: inline-block;
	color: #D8D8D8;
	border: 1px solid #D8D8D8;
	border-radius: 2px;
	font-size: 0.9em;
	letter-spacing: -0.15em;
	padding: 2px 3px 2px 1px;
	margin: 1px;
}
[id$="data"] table td img,
[id$="info"] table td img {
	vertical-align: middle;
	margin: 1px !important;
}
[id$="assy"] .buttonlink a span {
	display: inline-block;
}
[id$="assy"], [id$="data"] {
	padding: 16px;
	margin-left: -16px;
	margin-right: -16px;
}
#ml-assy, #ml-data {
	background: #FDF9F2;
}
#nr-assy, #nr-data {
	background: #F3F7FC;
}
[id$="data"] .application i {
	margin: 0 24px;
}
[id$="data"] td i {
	margin: 1px;
}



/*--------------------------------
	ボタン
--------------------------------*/
.buttonlink {
	text-align: center;
}
.buttonlink a {
	display: inline-block;
	background: linear-gradient(to bottom, #f8b2bb, #f8b2bb 25%, #ef4056);
	border: 1px solid #f37988;
	border-radius: 64px;
	box-shadow: var(--color_shadow);
	color: #FFF;
	line-height: 1.4;
	padding: 0.5em 1.2em;
	text-decoration: none;
	width: 85%;
}
.buttonlink a::after {
	display: none;
}
.buttonlink .microcopy {
	display: block;
	color: var(--color_key);
	font-size: 0.9em;
	font-weight: bold;
}
[id*="textlink"] span {
	display: inline-block;
}


/*--------------------------------
	exツイッター・インスタグラム
--------------------------------*/
.ex-wrap {
	background: #19232E;
	border: 1px solid black;
	border-radius: 12px;
	font: normal 0.95em sans-serif;
	padding: 1em;
	position: relative;
}
.ex-wrap .fab {
	font-size: 1.4em;
	position: absolute;
	right: 12px;
	top: 12px;
}
.ex-wrap a {
	text-decoration: none;
}
.ex-wrap .ex-user,
.ex-wrap .ex-date {
	color: #8B98A5;
}
.ex-wrap .ex-text {
	color: #F7F9F9;
}
.ex-wrap > a:nth-of-type(1)::after {
	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;
}
/*クレジットとの隙間調整*/
.logo-footer {
	margin-bottom: 16px;
}



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

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

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