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

.entry-content p:first-child img {
	display: none;
}

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
@font-face {
	font-family: 'fonttitle';
	src: url('./KaiseiTokumin-title.woff2') format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'fontsans';
	src: url('./NotoSansJP-Regular.woff2') format('woff2');
	font-display: swap;
}
:root {
	--color_key: #FF7C32;
	--color_font: #4D5156;
	--color_link: #1B95E0;
	--color_line: #000;
	--color_shadow: 0px 2px 8px -2px rgba(0,0,0,0.2);
	--font_sans: "fontsans", sans-serif;
	--listspace: 0.5em; /*番号と文字の隙間*/
}


/*ページのゆらゆらを防止*/
body.home #content,
body[class*="scrollable-sidebar"] #main {
	overflow-x: hidden;
}
.content-in {
	max-width: 768px;
}
/*.header {
  background-image: linear-gradient(to right, #30E8BF 0%, #FF8235 100%);
}*/
a,
a:hover {
	color: var(--color_link);
	outline: none;
	/*text-decoration: none !important;*/
	text-underline-offset: 2px;
}
/*リンク背景色を無効化（メニューやサイドバー）*/
.cf a:hover {
	background: transparent;
}
.fa-external-link-alt::before {
    font-size: 0.6em;
}
.entry-content li:last-child {
	margin-bottom: unset !important;
}
.anchor-icon::before {
	font-size: 0.6em;
	margin-right: 2px;
}

a[href*="https://hwcafe.net/lp"]::after {
	font-family: 'Font Awesome 5 Free';
		content: '\f35d';
		font-weight: 900;
	margin: 0 0.3em;
	font-size: 0.5em;
}
/*em斜体*/
em {
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", YuGothic, "Yu Gothic", sans-serif;
	font-style: italic;
}
/*メニュー文字の仕切り線*/
ul[class*="menu"] li {
	border: none !important;
}
/*サイドバー*/
#sidebar .card-title {
	font-size: 0.9rem;
}
#sidebar h3 {
	background: none;
}
h1.archive-title .fas::before {
	display: none;
}


/*--------------------------------
	ヘッダー
--------------------------------*/
/*ロゴ*/
#header .logo-text {
	text-align: unset;
	margin: 0 1rem;
}
#header .site-name-text,
#footer .site-name-text {
	/*background: linear-gradient(to right, var(--color_key) 40%, #000 40%);*/
	background: #FFF;
	font-family: "fonttitle";
	font-size: 3em;
	font-style: italic;
	letter-spacing: -0.1em;
	padding-left: 0.1em;
	/*background-clip: text;*/
	-webkit-background-clip: text;
	color: transparent;
}
@media screen and (max-width: 480px) {
	#header .site-name-text {
    	font-size: 2em;
	}
}
.header {
	background-size: unset;
}


/*--------------------------------
	フロントページ
--------------------------------*/
/*フロント固定ページのタイトルを非表示*/
.home.page .entry-title{
	display: none;
}
/*フロント固定ページの日付を非表示*/
.page .post-date,
.page .post-update,
.page .author-info {
	display: none;
}


/*--------------------------------
	タイトル周り
--------------------------------*/
/*h1見出しデザイン*/
h1.entry-title,
h1.archive-title {
	color: initial;
	font: normal 24px var(--font_sans);
	line-height: initial;
	padding: unset;
}
h1 + div.widget_text {
	margin-bottom: 0.5rem !important;
}
/*投稿日、更新日*/
.date-tags {
	font: normal 0.8rem var(--font_sans);
	margin: 0 -16px;
}
.date-tags .fas::before {
	display: none;
}
.post-date,
.post-update {
	color: var(--color_key);
	font-size: 1rem;
}
/*アイキャッチを画面の幅いっぱいに*/
.eye-catch-wrap {
	margin-left: -32px; /*左の余白*/
	margin-right: -32px; /*右の余白*/
}
@media screen and (max-width: 834px){
	.eye-catch-wrap {
		margin-left: -20px; /*左の余白*/
		margin-right: -20px; /*右の余白*/
	}
}


/*--------------------------------
	タググループ
--------------------------------*/
.tagcloud-taggroup a,
.tagcloud-taggroup a:hover {
	display: inline-block;
	font-size: 0.8rem;
	line-height: 1.2;
	padding: 0.2em 0.3em;
	margin: 0 0.2em;
	text-decoration: none;
}
.tagcloud-taggroup a::before {
	content: "#";
}
.tagposts-title {
	font: normal 20px var(--font_sans);
}


/*--------------------------------
	目次
--------------------------------*/
/*目次デザイン変更*/
#toc_container {
	background: #F8F8F8 !important;
	border: none !important;
	border-top: 1px solid #CCC !important;
	border-bottom: 1px solid #CCC !important;
	width: 100% !important;
}
#toc_container .toc_title {
	font: normal 20px var(--font_sans) !important;
	text-align: unset !important;
	padding-left: 5em !important;
}
#toc_container a {
	color: var(--color_link);
	font-size: 0.95em !important;
}
/*目次マーカー変更*/
#toc_container > ul > li {
	position: relative;
	list-style: none;
	padding-left: 1.25em !important;
}
#toc_container > ul > li::before {
	position: absolute;
	font-family: 'Font Awesome 5 Free';
		content: '\f0d7';
		font-weight: 900;
	margin-right: 0.5em;
	left: 0;
}
#toc_container ul ul {
	padding-left: 0.5em;
	margin-left: unset !important;
}
#toc_container .toc_depth_2 {
	display: none;
}


/*--------------------------------
	見出し
--------------------------------*/
.article h2 {
	position: relative;
	background-color: transparent;
	color: #000;
	font: normal 22px var(--font_sans);
	margin: 12rem -1rem 1.5rem;
	padding: 1.5rem 1rem;
}
.article h2:after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 10px;
	content: '';
	background-image: -webkit-repeating-linear-gradient(135deg, #000, #000 1px, transparent 2px, transparent 5px);
	background-image: repeating-linear-gradient(-45deg, #000, #000 1px, transparent 2px, transparent 5px);
	background-size: 7px 7px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.article h3 {
	border: unset;
	border-left: 7px double #000;
	font: normal 20px var(--font_sans);
}


/*--------------------------------
	ブログカード
--------------------------------*/
/*ブログカードの装飾*/
.blogcard {
	border: unset;
	padding: unset;
}
.blogcard-wrap {
	margin: unset;
	padding: unset;
}
/*内部ブログカード*/
.internal-blogcard-wrap {
	max-width: 400px;
}
.internal-blogcard {
	border: none;
	border-radius: 4px;
	box-shadow: var(--color_shadow);
	padding: 0.5rem;
	word-wrap: break-word;
	position: relative;
}
.internal-blogcard-title {
	color: var(--color_link);
	font: normal 1em var(--font_sans);
}
.internal-blogcard-snippet {
	display: none;
}
/*記事を読む*/
.internal-blogcard-content::after {
	content: 'この記事を読む ≫';
	color: var(--color_link);
	font-size: 0.9em;
	padding: 0.2em 1em;
	position: absolute;
	right: 0.1rem;
	bottom: 0.3rem;
}
/*カードのサムネイル画像の大きさを調整
エントリー・関連・新着・人気に共通*/
[class*="card-thumb"] {
	margin: 0 8px 0 0 !important;
	width: 100px !important;
	height: 100px !important;
}
[class*="card-content"] {
	margin: 0;
	padding: 0;
}
[class*="card-title"] {
	color: var(--color_font);
	font: normal 1em var(--font_sans);
	line-height: 1.4;
	margin: 0 0 0.5em 0;
}
[class*="card-snippet"] {
	color: #666 !important;
	font-size: 0.9em;
	line-height: 1.5;
}
@media screen and (max-width: 560px){
	[class*="card-title"] {
		font-size: 0.95rem;	
	}
	[class*="card-snippet"] {
		display: none;
	}
}
.entry-card-wrap {
	background: white;
	border: none;
	border-radius: 4px;
	box-shadow: var(--color_shadow);
}
/*カードラベル・フッターを非表示*/
.cat-label,
[class*="card-footer"] {
	display: none;
}


/*--------------------------------
	インライン
--------------------------------*/
.bold marker {
	background: linear-gradient(transparent 55%, rgba(230, 255, 47, 0.5) 55%);
}
/*赤色の修正（赤字、太赤字）*/
.red {
	color: red;
}
.bold.red {
	background: unset !important;
}
.blue {
	color: inherit;
	font-size: 12px;
}
.bold.blue {
	color: inherit;
	font-size: 1.2rem;
}


/*--------------------------------
	ボックス
--------------------------------*/
/*引用・blockquote*/
blockquote {
	background-color: #FFF9F6;
	border: unset;
	border-radius: 4px;
	padding: 0.6em;
}
blockquote::before {
	color: var(--color_key);
	font-size: 4rem;
	line-height: 0;
    left: -8px;
    top: 16px;
}
blockquote::after {
	content: none;
}
blockquote * {
	margin-bottom: 1em !important;
}
/*スタイル > ボックス（案内） > プライマリー*/
.primary-box {
	background: transparent;
	border: 1px solid var(--color_key);
	border-radius: unset;
	color: inherit;
	padding: 0.5rem
}
/*プライマリーボックスの中のリストは装飾*/
.primary-box ul {
	list-style: none;
	/*margin-left: var(--listspace);*/
}
.primary-box ul li {
	text-indent: calc(-1em - var(--listspace));
}
.primary-box ul li::before {
	padding-right: var(--listspace);
}
.primary-box :not(ul li){
	text-indent: initial;
}
.primary-box ul li::before {
	font-family: 'Font Awesome 5 Free';
		content: '\f14a';
		font-weight: 900;
	color: var(--color_key);
}
/*スタイル > ボックス（案内） > セカンダリー*/
.secondary-box {
	background: white;
	border: solid 1px #ccc;
	border-radius: unset;
	color: inherit;
}
.secondary-box p:first-child {
	background-color: #f8f8f8;
	border: solid 1px #ccc;
	border-radius: unset;
	font-weight: bold;
	padding: 0.5em 1em;
	margin: -16px -16px 8px -16px;
}
/*スタイル > ボックス（案内） > サクセス*/
.success-box {
	background: #fff;
	border: 2px solid #CCC;
	border-radius: 6px;
	color: inherit;
	padding: 0.5rem;
}
/*コードの装飾*/
pre {
	border: none;
	line-height: initial !important;
	white-space: pre !important;
}
pre code {
	font-family: "consolas", "Menlo", sans-serif;
	font-size: 80%;
	tab-size: 4;
}


/*--------------------------------
	スピーチ
--------------------------------*/
div.speech-wrap {
	max-width: 440px;
}
div.speech-balloon {
	font-size: 0.9em;
	line-height: 1.5;
}
/*会話吹き出しの隙間調整*/
.speech-icon img {
	max-width: 64px;
}



/*--------------------------------
	ページネーション
--------------------------------*/
/*ページネーション「次のページ」*/
.pagination-next {
	display: none;
}
/*ページネーショントップページのページ番号*/
.page-numbers,
.page-numbers:hover,
.page-numbers.dots {
	border: none;
	background-color: #fff;
	color: var(--color_link) !important;
}
.pagination .current {
	background: none;
	color: initial !important;
}


/*--------------------------------
	テーブル・レスポンシブ
--------------------------------*/
/*データに英単語があると折り返さなくなる症状を解消*/
table {
	width: 100%;
	table-layout: fixed;
	word-wrap : break-word;
	overflow-wrap : break-word;
}
/*table th,*/
table td {
	background: #fff;
}
table span {
	display: inline-block;
}
/*テーブルの装飾*/
/*横罫線のみのノート風*/
table.note {
	border: unset;
}
table.note th,
table.note td {
	border: unset;
	line-height: unset;
	padding-top: unset;
	padding-bottom: unset;
	text-align: left;
}
table.note th {
	border-bottom: 0.5px solid gray;
}
table.note td {
	border-bottom: 0.5px solid lightgray;
}
/*表*/
table.hyou th {
	background-color: #fff6e2;
}
table.hyou2 th {
	background-color: #fff6e2;
}
table[class*="hyou"] td {
	text-align: center;
}


/*--------------------------------
	プロフィールカード
--------------------------------*/
.author-box {
	border: unset;
}
.nwa .author-box .author-content {
	padding: unset;
}
.nwa .author-box .author-name a {
	color: inherit;
	text-decoration: none;
}
.nwa .author-box .author-description {
	font-size: 0.9em;
}
.sns-follow-buttons .website-follow-button-sq,
.sns-follow-buttons .feedly-follow-button-sq, 
.sns-follow-buttons .rss-follow-button-sq {
	display: none !important;
}


/*--------------------------------
	番号付きリスト黒丸
--------------------------------*/
: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';}



/*タイトルリンクの装飾*/
.titlelink-wrap,
.titlelink-wrap:hover{
	color: var(--color_link);
}
.internal-titlelink-label {
	background: #42d6bd;
	border-radius: 4px 0 0 4px;
	color: #ffffff;
	padding: 0.1em 2em 0.1em 1em;
	margin-right: -0.3em;
	background-image: 
		linear-gradient(225deg, #ffffff 1em, transparent 0),
		linear-gradient(315deg, #ffffff 1em, transparent 0);
}
.internal-titlelink-title {
	font-weight: bold;
}

/*アフィリエイト*/
span.ax {
	display: inline-block;
	background-color: var(--color_link);
	border-radius: 2rem;
	box-shadow: var(--color_shadow);
	color: white;
	margin: 0 auto !important;
	padding: 0.2rem 1rem;
}


.tx {
	display: block;
	padding: 0.5em 0;
}
.tx a,
.affi a {
	color: var(--color_link) !important; /*文字色*/
	font: normal 1em var(--font_sans);
	padding-left: 0.25em;
}
.entry-content .tx-wrap .tx::before {
	content: "関連";
	background: var(--color_key);
	border-radius: 3px;
	color: #FFF;
	font-size: 0.9em;
	padding: 0.1em 0.3em 0.1em;
}
.affi::before {
	font-family: 'Font Awesome 5 Free';
		content: '\f0da';
		font-weight: 900;
}


/*--------------------------------------
	ボタンリンク
--------------------------------------*/
.buttonlink {
	text-align: center;
}
.buttonlink a {
	display: block;
	box-shadow: 0px 6px 4px -2px rgba(0,0,0,0.3);
	background: linear-gradient(to bottom, #8ECDF7 20%, #177CC0 100%) !important;
	border: 1px solid var(--color_link);
	border-radius: 64px;
	color: #FFF !important;
	line-height: 1.5;
	text-align: center;
	text-decoration: unset;
	padding: 0.5em 1.5em;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
}
@media screen and (max-width: 599px) {
	.buttonlink a {
		font-size: 0.85em;
		width: 95%;
	}
}
.buttonlink .fas::before,
.buttonlink a::after {
	content: none;
}

/*--------------------------------------
	jQueryタブ
--------------------------------------*/
.tab-wrap {
    /*margin-bottom: 40px;*/
}
.tab-group{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-end;
}
.tab {
    flex-grow: 1;
    background: #DDD; /* タブのカラー */
    border-radius: 10px 10px 0 0;
	color: #FFF;
    cursor: pointer;
    display: inline-block;
    font-size: 0.9em;
    font-weight: normal;
    margin: 0 1px;
    padding: 0.5em;
    text-align: center;
    vertical-align: bottom;
}
.panel-group {
	background: #F8F8F8;
    min-height: 100px;
    padding: 16px 2px;
	margin: 0 1px;
}
.panel {
    display:none;
}
.tab.is-active {
	background: #F8F8F8;
	color: var(--color_key);
	font-weight: bold;
    /*opacity: 0.6;*/
}
.panel.is-show {
    display:block;
}


/*--------------------------------
	計算機
--------------------------------*/
/*計算機*/
@font-face {
	font-family: 'digital';
	src: url('./DSEG7Classic-BoldItalic.woff2') format('woff2');
}
.calc {
	background: #f0f0f0;
	border-radius: 16px;
	font-family: san-serif;
	padding: 0.5rem;
	margin: auto;
	width: 288px;
}
.calc p {
	margin: unset;
}
.calc .calc-title {
	font-weight: bold;
	text-align: center;
}
.calc .calc-display {
	background-color: #d3dfdf;
	border-radius: 8px;
	box-shadow: inset 0px 2px 5px 0px rgba(0,0,0,0.4);
	font-size: 1.1em;
	margin: 8px auto;
	padding: 0.6em 1em 0 0;
	text-align: right;
}
.calc .res {
	color: black;
	font: bold 2em "digital";
}
.calc .unit {
}
.calc .calc-input {
	font-size: 0.9em;
	margin: 4px auto;
	width: auto;
	position: relative;
}
.calc input,
.calc select {
	margin: 2px 0 2px 4px;
}
.calc .input-button {
	position: absolute;
	right: 0;
	bottom: 0;
}
.calc input[type="button"] {
	background-color: orange;
	border-radius: 8px;
	height: 2.5em;
	margin: 2px;
	padding: 0 0.3em;
}



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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	img.header-site-logo-image {
		max-width: 160px;
	}
}