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

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

body { /* 全体のフォント */
	font-family: "Verdana", "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
	counter-reset: li_count; /* リスト番号出力用カウンタをリセット */
}

.content {
/*	border-top: 1px solid #ededed; */
}

.main {
	border: initial;
	border-right: 1px solid #ededed;
	border-radius: initial;
}

.sidebar {
/*	border-top: 1px solid #ededed; */
}

/* ヘッダーの大枠 */
#header-container {
	padding-bottom: 0;
/*	border-bottom: 5px solid #ededed; */
/*	border-bottom: 5px solid #9b7b6c; */
/*	border-radius: 20px; */
}

/* ヘッダーのキャッチフレーズを非表示 */
#site-description{ display:none; }

/* ヘッダのキャッチフレーズ */
.header-in .tagline {
	font-size: .8em;
	font-weight: bold;
	color: gray;
	text-align:left;
	margin: 15px 0 0 30px;
}
/* ヘッダーロゴ */
.header-in .logo {
	text-align: left;
	margin: 0 0 0 35px;
}

/* トップメニュー時のヘッダー */
.header-container-in.hlt-top-menu .tagline {
	font-size: .8em;
	letter-spacing: -0.04em;
	display: inline;
	margin-bottom:6px;
	margin-left: 25px;
	margin-right: 20px;
}
.header-container-in.hlt-top-menu .logo-header {
	max-height: 100px;
}
.header-container-in.hlt-top-menu .logo-header img {
	max-height: 100px;
	height: auto;
	vertical-align: middle;
	margin-left: 20px;
}

/* 記事の背景色 */
/* #main {	background-color: #fcfcfc; } */

/*段落間隔の設定*/
/* p {	margin: 2.0em 0px; } */


/*赤のアンダーライン*/
.red-under {
	display: inline-block;
	border-bottom: 2px solid red;
	line-height: 1.2;
}

/************/
/* マーカー */
/************/
/* 黄アンダーマーカー */
.under-marker-y {
  background: linear-gradient(transparent 60%, #fff799 60%);
  font-weight: bold;
}
.under-marker-yn {
  background: linear-gradient(transparent 60%, #fff799 60%);
}

/* 赤アンダーマーカー */
.under-marker-r {
  background: linear-gradient(transparent 60%, #ffd0d1 60%);
  font-weight: bold;
}
.under-marker-rn {
  background: linear-gradient(transparent 60%, #ffd0d1 60%);
}

/* 青アンダーマーカー */
.under-marker-b {
  background: linear-gradient(transparent 60%, #a8dafb 60%);
  font-weight: bold;
}
.under-marker-bn {
  background: linear-gradient(transparent 60%, #a8dafb 60%);
}

/* 緑アンダーマーカー */
.under-marker-g {
  background: linear-gradient(transparent 60%, #6f6 60%);
  font-weight: bold;
}
.under-marker-gn {
  background: linear-gradient(transparent 60%, #6f6 60%);
}

/* 緑マーカー */
.marker-green {
  background-color: #6f6;
}

/**********/
/* 文字色 */
/**********/
/*赤色*/
.c-red {
  color: #b7282e;
}

/*太字で赤色*/
.bold-c-red {
  font-weight: bold;
/*  color: #fc6568; */
  color: #b7282e;
}

/*青色*/
.c-blue {
  color: #2a83a2;
}

/*太字で青色*/
.bold-c-blue {
  font-weight: bold;
  color: #2a83a2;
}

/*緑色*/
.c-green {
  color: #3eb370;
}

/*太字で緑色*/
.bold-c-green {
  font-weight: bold;
  color: #3eb370;
}


/************************/
/** フォントサイズ変更 **/
/************************/
.font-80 { font-size: 80%; }
.font-90 { font-size: 90%; }
.font-110 { font-size: 110%; }
.font-120 { font-size: 120%; }
.font-130 { font-size: 130%; }
.font-140 { font-size: 140%; }
.font-150 { font-size: 150%; }

/* カードのカテゴリを非表示 */
.entry-card .cat-label{
  display: none;
}

/**********************************/
/* 上下ボーダーの箇条書きスタイル */
/**********************************/
ul.tb-line, ol.tb-line, ul.is-style-tb-line, ol.is-style-tb-line {
	color: #1e366a;
	border-top: solid #1e366a 2px;
	border-bottom: solid #1e366a 2px;
	padding: 0.5em 1em 0.5em 1em;
}

ul.tb-line li, ol.tb-line li, ul.is-style-tb-line li, ol.is-style-tb-line li {
	line-height: 1.3em;
	margin-left: 2em;
	padding: 0.5em 0;
}
/***************************/
/** 定義リスト (dl dt dd)***/
/***************************/
/* バッジ風 縦 */
dl.badge { /* 親テーマ定義のbadgeのプロパティを初期化 */
	background-color: initial;
	color: unset;
	padding: initial;
	border-radius: initial;
	font-size: unset;
}
dl.badge dt {
	display: inline-block;
	margin-bottom: 0.3em;
	padding: 0 0.4em;
	font-weight: bold;
	border-left: 3px solid #C0C0C0;
	border-top: 1px solid #C0C0C0;
	border-right: 3px solid #C0C0C0;
	border-bottom: 1px solid #C0C0C0;
	border-radius: 5px;
}
dl.badge dd{
	margin: 0 0 1.2em 1em;
	padding-left: 0.5em;
	padding-bottom: 0.2em;
/*	border-bottom: 1px solid #C0C0C0; */
}

/* バッジ風 横 */
dl.s-badge dt {
	float: left;
	padding: 0 0.4em;
	margin-right: 1em;
	margin-left: 1em;
	font-weight: bold;
	border-left: 3px solid #C0C0C0;
	border-top: 1px solid #C0C0C0;
	border-right: 3px solid #C0C0C0;
	border-bottom: 1px solid #C0C0C0;
	border-radius: 5px;
	position: relative;
}
dl.s-badge dt::after {
	content: "";
	position: absolute;
	top: 0.5em;
	right: -0.8em;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	width: 4px;
	height: 4px;
	border-top: 2px solid #808080;
	border-right: 2px solid #808080;
}
dl.s-badge dd{
	margin-bottom: 1em;
}

/************************************/
/* ソースコードのハイライト表示設定 */
/************************************/
.entry-content pre {
	font-size: 95%;
	margin: 0.5em 0px;
	padding: 0.7em 1em;
	border-radius: 5px;
	tab-size: 4;
}

code {
	font-family: "Consolas", "CourierNew", "Courier", monospace;
	white-space: pre !important;	
}

/*
.wp-block-code code{
	white-space: pre !important;
}
*/

/********************/
/*****   装飾   *****/
/********************/
/*テキストの直下に画像を配置する*/
p.withimage, p.is-style-withimage { margin-bottom: 0.5em; }

/*上下marginを0.5emにする*/
p.cmargin, p.is-style-cmargin {
	margin: 0.5em 0px;
}

/*破線の枠*/
.dashed-frame {
	border: dashed 1px gray;
	padding: 0.7em;
	border-radius: 8px;
}

/*記事内の画像のスタイル*/
.wp-block-image img {
	box-shadow: 2px 2px 4px #000000;
}

/*個別に画像の影を消す*/
figure.noshadow img { box-shadow: none; }

/*****************************************/
/* table of contentsの表示をカスタマイズ */
/*****************************************/
#toc_container {
	display: table;
	margin: 0 auto;
	min-width: 300px;
	padding: 1.5em 1em 0.8em 1em;
	font-size: 100%;
	border: solid 1px #808080;
	border-top: solid 4px #9b7b6c;
	border-radius: 15px;
	background-color: transparent;
}

/* リンク */
#toc_container a {
	text-decoration: none;
	color: #745c51;
}
/* リンクにホバー */
#toc_container a:hover {
	text-decoration: none;
	color: #e53900;
	text-decoration: none;
	transition: 0.5s;
}

/* 目次のタイトル */
#toc_container .toc_title {
	font-size: 120%;
	font-weight: bold;
	text-align: center;
	margin: 0 0 0.8em 0;
	padding: 0;
	line-height: 1em;
	letter-spacing: 0.1em;
	color: #9b7b6c;
}
#toc_container .toc_title:before {
	content: "\f0ca";
	font-family: FontAwesome;
	color: #9b7b6c;
	padding-right: 10px;
}

/* 開閉ボタン */
.toc_toggle {
	font-size: 80%;
	font-weight: normal;
	letter-spacing: 0;
}

#toc_container ul {
	margin: 0;
	padding: 0;
}

/* １階層目のスタイル */
.toc_list > li {
	font-weight: bold;
	list-style-type: none;
	padding: 0.7em 0px 0.2em 2em;
	border-top: dotted 1px #C0C0C0;
	position: relative;
}

/* ２階層目以降のスタイル */
.toc_list ul li {
	font-weight: initial;
	list-style-type: none;
	padding-left: 0.5em;
	font-size: 95%;
	position: relative;
}

/* １階層目のリストマーカーを作成 */
.toc_list > li::before {
	position: absolute;
	left: 0;
	top: 10px;
	counter-increment: li_count; /* カウンタをインクリメント */
	content: counter(li_count); /* 数字出力 */
	font-size: 100%;
	color: #fff; /* 文字色指定 */
	text-align: center;
	width: 1.5em;
	height: 1.5em;
	border-radius: 50%;
	background-color: #9b7b6c;

}

/* ２階層目以降のリストマーカーを作成 */
.toc_list ul li::before {
	content: "";
	position: absolute;
	top: 0.6em;
	left: -0.5em;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	width: 4px;
	height: 4px;
	border-top: 2px dotted #808080;
	border-right: 2px dotted #808080;
	border-color: #9b7b6c;
}

/**********************/
/* 補足情報のスタイル */
/**********************/
/*
.information, .question, .alert{
	border: solid 1px #C0C0C0;
	border-radius: 10px;
	position: relative;
	padding-left: 3.5em;
}
*/
/*
.information::before, .question::before, .alert::before {
	position: absolute;
	font-size: 2.5em;
	left: 0.3em;
	/* 上下に中央寄せ */
/*	top: 50%;
	transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
*/
/********************/
/* 引用文のスタイル */
/********************/
blockquote {
	background: #f5f5f5;
	color: #777777;
	border-radius: 10px;
}
blockquote cite {
	display: block;
	text-align: right;
	color: #888888;
	font-size: 0.9em;
}
blockquote::before, blockquote::after {
	color: #C0C0C0;
}

/* reCAPTCHAのブランディング */
.re-branding {
	margin: 1em 0px 3em 0px;
	font-size: 85%;
	font-style: italic;
	color: gray;
}
/* reCAPTCHAのバッジを非表示に */
.grecaptcha-badge { visibility: hidden; }

/********************/
/* 入力フォーム */
/********************/
/* Contact Form 7の幅 */
.wpcf7 input[name="your-name"] {
	width: 85%;
}
.wpcf7 input[name="your-email"] {
	width: 85%;
}
.wpcf7 input[name="your-subject"] {
	width: 85%;
}
.wpcf7 textarea[name="your-message"] {
	width: 100%;
}

/* 送信ボタン */
input[type='submit'], #bbp_reply_submit, .bp-login-widget-register-link a {
	border-radius: 15px;
	width: auto;
	text-align: center;
	font-size: 1.2em;
	padding-left: 1em;	
	padding-right: 1em;
}


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

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

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