@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;
}

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


/*--------------------------------
	全体
--------------------------------*/
@font-face {
	font-family: 'fonttitle';
	src: url('./fonts/BLOGEEK.woff2') format('woff2');
}
@font-face {
	font-family: 'fontserif';
	src: url('./fonts/NotoSerifJP.woff2') format('woff2');
}
@font-face {
	font-family: 'fontmono';
	src: url('./fonts/GeekMono.woff2') format('woff2');
}

:root {
	--color_key: #FB5742;
	--color_sub: #000000;
	--color_head: #000;
	--color_font: #5F6368;
	--color_link: #1D9BF0;
	--color_line: #000;
	--font_serif: "fontserif", serif;
	--font_mono:  "fontmono", monospace;
	--space_list: 0.5em; /*番号と文字の隙間*/
}
/*メインコンテンツのリンクホバー*/
a,
a:hover {
	color: var(--color_link);
	outline: unset;
	text-decoration: none;
}

/*--------------------------------
	サイト名
	header上にJavaScriptで表示
--------------------------------*/
header pre {
	padding: unset;
}
.blogeek-logo {
	text-align: center;
}
.blogeek-logo pre {
	overflow-x: hidden;
	background: unset;
	border: unset;
	font-family: "fonttitle";
	font-size: 8px;
	padding-bottom: 0;
}
.blogeek-logo pre a {
	display: inline-block;
	color: var(--color_key) !important;
	line-height: 1.2;
}
.tagline {
	display: none;
}
.logo-text {
	padding: unset;
}
/*サイト名*/
.site-name-text {
	position: relative;
	color: var(--color_key);
	font: normal 14px serif !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;
}
.article h1 {
	font: normal 24px var(--font_serif);
	padding: unset;
}


/*--------------------------------
	見出し
--------------------------------*/
/*h2見出しデザイン*/
.article h2 {
	position: relative;
	border-bottom: 6px solid var(--color_sub);
	border-radius: unset;
	background-color: unset;
	color: var(--color_head);
	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_sub) 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-left: solid 6px var(--color_sub);
	background-color: unset;
	font: normal 22px var(--font_serif);
	padding: 0.2em 0.4em;
}


/*--------------------------------
	インライン
--------------------------------*/
.bold.red {
	color: var(--color_key);
	font-weight: bold;
}
.small {
	font-size: 0.8em;
}


/*--------------------------------
	ボックス
--------------------------------*/
/*見出し直下の要点*/
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;
}
/*用語注釈*/
.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;
}


/*--------------------------------
	テーブル
--------------------------------*/
/*テーブル（仕訳）*/
.shiwake tr:first-child td {
	text-align: center;
	width: 50%;
}
.shiwake tr:not(:nth-of-type(1)) td:nth-of-type(1),
.shiwake tr:not(:nth-of-type(1)) td:nth-of-type(3) {
	width: 30%;
}
.shiwake tr:not(:nth-of-type(1)) td:nth-of-type(2),
.shiwake tr:not(:nth-of-type(1)) td:nth-of-type(4) {
	font-family: serif;
	text-align: right;
}


/*--------------------------------
	ボタン
--------------------------------*/
/*SNSボタン*/
.sns-buttons > a {
	border: unset !important;
}


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

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

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