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

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

/*目次のタイトル文字を変更*/
.toc-title {
	font-size: 18px;
	color: #000000;
}
/*目次の背景色と枠線を変更*/
.toc {
    color: #000000;
	font-size: 15px;
	background: #ffffff;
	border: 1px solid #1e374d !important;
}
/*項目の文字色と大きさを変更*/
.toc a {
	color: #000000;
	font-size: 15px;
}

.widget_toc{
	max-height: 550px; /* 目次の高さを調整 */
	overflow-y: auto; /* 垂直スクロールバーを有効にする */
}

.widget_toc{
	max-height: 550px; /* 目次の高さを調整 */
	overflow-y: auto; /* 垂直スクロールバーを有効にする */
}

/************************************
** ■フッターメニューカスタマイズ
************************************/
.footer.footer-container.nwa,
.footer-in.wrap.cf,
.footer-bottom.fdt-up-and-down.fnm-text-width.cf
{
  height: 80px!important; /*メニュー縦幅設定*/
  display: flex; /*並列スタイル指定*/
  align-items: flex-end; /*縦中央寄せ*/
  justify-content: center; /*横中央寄せ*/
}

/************************************
** SNS ボタンをまとめて丸くする
************************************/

/*シェア・フォローボタンの枠組み*/
.sns-share.ss-top .sns-share-buttons,
.sns-share.ss-bottom .sns-share-buttons,
.sns-follow.sf-bottom .sns-follow-buttons,
.sns-follow.sf-widget .sns-follow-buttons {
	justify-content: center; /*中央に寄せる*/
	flex-wrap: wrap; /*折り返す*/
}

/*シェア・フォローボタンのリンク*/
.sns-share.ss-top .sns-buttons a,
.sns-share.ss-bottom .sns-buttons a,
.sns-follow.sf-bottom .sns-buttons a,
.sns-follow.sf-widget .sns-buttons a {
	width: 40px; /*横幅*/
	height: 40px; /*高さ*/
	margin-right: 4px; /*右側の余白*/
	margin-left: 4px; /*左側の余白*/
	border-radius: 50%; /*丸み*/
}

/*プロフィールウィジェットのリンク*/
.sns-follow.sf-profile .sns-buttons a {
	border-radius: 50%; /*丸み*/
}

/*シェアボタンのアイコン*/
.sns-share.ss-top .sns-buttons a .social-icon,
.sns-share.ss-bottom .sns-buttons a .social-icon {
	font-size: 18px; /*アイコンの大きさ*/
}

/*フォローボタンのアイコン*/
.sns-follow.sf-bottom .sns-follow-buttons .follow-button,
.sns-follow.sf-widget .sns-follow-buttons .follow-button {
	font-size: 24px; /*アイコンの大きさ*/
}

/*シェアボタンのキャプション*/
.sns-share.ss-top .sns-buttons a .button-caption,
.sns-share.ss-bottom .sns-buttons a .button-caption {
	display: none; /*非表示*/
}

/*シェア・フォローボタンのシェア数*/
.sns-share.ss-top .sns-buttons a .share-count,
.sns-share.ss-bottom .sns-buttons a .share-count,
.sns-follow.sf-bottom .sns-buttons a .follow-count,
.sns-follow.sf-widget .sns-buttons a .follow-count {
	right: -2px; /*右側からの距離*/
	bottom: -2px; /*下側からの距離*/
	padding: 2px; /*内側の余白*/
	font-size: 10px; /*文字の大きさ*/
	border: solid 1px; /*線*/
	border-radius: 3px; /*丸み*/
	background-color: inherit; /*背景色*/
}

/*シェア数の表示が必要ないシェア・フォローボタン*/
.sns-share.ss-top .sns-buttons a .share-count:empty,
.sns-share.ss-bottom .sns-buttons a .share-count:empty,
.sns-follow.sf-bottom .sns-buttons a .follow-count:empty,
.sns-follow.sf-widget .sns-buttons a .follow-count:empty {
	padding: 0; /*内側の余白*/
	border: 0; /*線*/
}

/* 内部ブログカードのURLを非表示 */
.internal-blogcard-site {
    display: none;
}

/* ブログカード 説明文を非表示 */
.blogcard-snippet {
    display: none;
}

/* カスタムテキストの装飾 */
.cocoon-custom-text-1{
	color: black;
}

/*　ブロックエディタ　*/
.label-box-content {
    margin-top: -0.9em;
    border: 1px solid var(--cocoon-middle-thickness-color);
    padding: 1.5em 0.8em 1em;
    border-radius: 0;
}
.label-box-label {
    background-color: #fff;
    display: inline-block;
    margin-left: 1em;
    margin-right: 1em;
    font-size: 16px; /*タイトル文字の大きさ*/
    font-weight: bold;
}
.blank-box, .is-style-blank-box-red, .is-style-blank-box-navy, .is-style-blank-box-blue, .is-style-blank-box-yellow, .is-style-blank-box-green, .is-style-blank-box-pink, .is-style-blank-box-orange, .is-style-sticky-gray, .is-style-sticky-yellow, .is-style-sticky-red, .is-style-sticky-blue, .is-style-sticky-green {
    border: 2px solid var(--cocoon-grey-color);
    padding: 1.2em 1em;
    border-radius: 0; 
}
.blank-box.sticky, .sticky.is-style-blank-box-red, .sticky.is-style-blank-box-navy, .sticky.is-style-blank-box-blue, .sticky.is-style-blank-box-yellow, .sticky.is-style-blank-box-green, .sticky.is-style-blank-box-pink, .sticky.is-style-blank-box-orange, .is-style-sticky-gray, .is-style-sticky-yellow, .is-style-sticky-red, .is-style-sticky-blue, .is-style-sticky-green {
    border-width: 1px;
    border-color: #eee;
    background-color: #fafafa;
}
/* タイムライン　*/
.timeline-title {
    margin-bottom: 1.5em;
    margin-top: 1em;
}
.ranking-item, .timeline-box {
    padding: 2% 2% 4%;
    border: none;
    border-radius: 0;
	background-color: #fafafa;
}
.timeline-item-content {
    width: calc(100% - 110px);
    float: left;
    padding: 0.8em 1.4em;
    border-left: 2px #ddd solid !important;
}

@media screen and (max-width: 480px) {
	.ranking-item, .timeline-box {
	    padding: 3% 3% 7% 5%;
	    
	}
	.timeline-item-content {
	    border-left: none !important;
	    width: 100%;
	}
	.timeline > li.timeline-item {
	    border-left: 2px #ddd solid;
	}
	.timeline-item::before {
    	left: -7px;
    	top: 19px;
    	width: 11px;
    	height: 11px;
	}
	.timeline-box .timeline {
    	padding-left: 5px;
	}
}

/****************
タブ見出しボックス
****************/
.tab-caption-box-label{ 
	padding: 2px 16px; /*タブ内側余白*/
	font-size: 16px; /*タイトル文字の大きさ*/
	font-weight: bold; /*タイトル文字の太さ*/
	border-radius: 0px 0px 0px 0px;  /*タブ角丸*/
}

.tab-caption-box-content {
	position: relative;  /*配置に関するもの（ここを基準に）*/
	top: 1px; /*上から(1px）移動*/
	border: 1px solid; /*ボックス線*/
	padding: 16px 24px; /*ボックス内側余白*/
	border-radius: 0px; /*ボックス角丸*/
	border-top-left-radius: 0px; /*ボックス左上角丸*/
}

/* === 景品表示法対応 === */
/* Cocoon設定本文上のPR表記 */
.pr-label-l {
    border-top: 1px dotted #000; /* 上の点線 */
    border-bottom: 1px dotted #000; /* テキスト下の点線 */
    border-left: none;
    border-right: none;
    border-radius: 0;
    font-size: 13px; /* 文字サイズ */
    color: #000; /* 文字の色 */
    text-align: center; /* テキスト中央揃え */
    background: #fff;
    padding: 3px 0;
    margin-bottom: 2em;
}

/*アイコンボックス（情報）のカスタマイズ*/
.information-box {
  background:rgba(199,213,229,0.1);  /*背景色の変更（※RGBA形式で透明度を設定）*/
  border: solid 1px #CBDCDD;  /*線の種類、太さ、色を変更*/
  border-radius: 0px;  /*角の丸みをなくす*/
}
.information-box:before {
  color:#CBDCDD;  /*アイコンの色を変更*/
  border-right: none;  /*アイコンと文章の間の線をなくす*/
}

/*アイコンボックス（質問）のカスタマイズ*/
.question-box  {
  background:rgba(229,229,199,0.1);  /*背景色の変更（※RGBA形式で透明度を設定）*/
  border: solid 1px #EFDBA8;  /*線の種類、太さ、色を変更*/
  border-radius: 0px;  /*角の丸みをなくす*/
}
.question-box:before {
  color:#EFDBA8;  /*アイコンの色を変更*/
  border-right: none;  /*アイコンと文章の間の線をなくす*/
}

/*アイコンボックス（アラート）のカスタマイズ*/
.alert-box{
  background:rgba(229,199,199,0.1);  /*背景色の変更（※RGBA形式で透明度を設定）*/
  border:solid 1px #E5C4BD;  /*線の種類、太さ、色を変更*/
  border-radius: 0px;  /*角の丸みをなくす*/
}
.alert-box:before {
  color: #E5C4BD;  /*アイコンの色を変更*/
  border-right: none;  /*アイコンと文章の間の線をなくす*/
}

/*白抜きボックス*/
.blank-box{
  border-radius: 0px;
  border:1px solid #ccc;
}

/*見出しボックスのカスタマイズ*/
.caption-box {
  position: relative;  /*要素を相対配置にする*/
  border: solid 1px;  /*線の種類、太さ*/
  border-radius: 0px;  /*角の丸みをなくす*/
  top: 2px;  /*位置の調整*/
}

/*アイコンリスト*/
.iconlist-title {
  text-align: left;
  padding-left: 1em;
  padding-bottom: 1em;	
}

/******************
表のデザインを変更
*******************/
/*--- 表全体(table) ---*/
.entry-content table {
    border-bottom: 1px solid #8e9ba6; /* 表の一番下の線 */
    border-top: none;
    border-left: none;
    border-right: none;
}
/*--- ヘッダーセル(th) ---*/
.entry-content th {
    padding: 0.8em .6em; /* 余白（上下　左右） */
    background-color: #e8ebed; /* 背景色 */
    color: #333; /* 文字の色 */
    letter-spacing: 0.1em; /* 文字の間隔 */
    text-align: center; /* 中央揃え */
    border: 1px solid #8e9ba6;
}
.wp-block-table thead {
    border-bottom: none;
}
/*--- 行（横方向）(tr) ---*/
.entry-content tr:not(:last-child) { /* 最後の行以外に適用 */
    border-bottom: 1px solid #8e9ba6; /* 下線 */
}
/*--- ヘッダーセル以外のセル(td) ---*/
.entry-content td {
    padding: 0.8em 0.8em; /* 余白（上下　左右） */
    border:none; /* 線を削除 */
}
.entry-content td:last-child { /* 最後のセルのみ適用 */
    border-right: 1px solid #8e9ba6; /* 右線 */
}
.entry-content td:not(last-child) { /* 最後のセル以外に適用 */
    border-left: 1px solid #8e9ba6; /* 左線 */
}

/* テーブル偶数行の背景色を白に変更 */
table tr:nth-of-type(2n+1) {
  background-color: #fff;
}

/************************************
** ブログカード
************************************/
.content .blogcard .heading a{
color: #555;
margin-left:10px;
margin-right:10px;
}
.content .blogcard {
position: relative;
padding:20px;
padding-top:20px;
padding-bottom:10px;
overflow:initial;
border:solid 1px #cccccc;
border-radius:0px;
background:#ffffff;
transition-duration:0.2s;
}
.content .blogcard:hover{
transition-duration:0.2s;
-webkit-transform: translateY(-3px);
-ms-transform: translateY(-3px);
transform: translateY(-3px);
box-shadow: 5px 5px 13px 2px rgb(0 0 0 / 10%);
}
.content .blogcard-label {
top: -10px;
left: 10px;
padding: 3px 0.6em;
background:#1e374d;
border-radius:0px;
padding: 1px 10px;
font-weight: 600;
font-size: 14px;
color:#ffffff;
letter-spacing: 1px;
}

.internal-blogcard::before{
	position: absolute; 
	content: "この記事を読む"; /*表示テキスト*/
	bottom: 13px;
	right: 15px; 
	font-size: 12px; /*文字のサイズ*/ 
	color: #fff; /*文字の色*/ 
	padding-right: 30px; /*右側余白*/
	padding-left: 20px; /*左側余白*/
	background-color: #ad9825; /*背景色*/ 
	line-height: 24px;
}
.internal-blogcard::after{
	position: absolute; 
	content: "\00BB"; /*表示テキスト*/
	font-size: 18px; /*文字のサイズ*/
	color: #fff; /*文字の色*/ 
	bottom: 13px;
	right: 28px;
	line-height: 24px;
}

/* 見出しデザインのリセット */
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
border: none; /* 枠線なし */
border-radius: 0; /* 角の丸みなし */
}

.article h2{
position: relative;
background-color:#1e374d;
color:#fff;
font-size: 24px;
}
.article h2:before,
.article h2:after {
position: absolute;
left: 0;
width: 100%;
content: '';
border-top: 1px solid #fff;/*ライン：太さ・実線・色*/
}
.article h2:before {
top: 3px;
}
.article h2:after {
bottom: 3px;
}

.article h3{
position: relative;
padding: 0.3em 0.6em;/*内側余白調整*/
border-bottom: solid 3px #ad9825;/*下線１：実線・太さ・色*/
color:#333;/*文字色（黒）*/
font-size: 23px;
}
.article h3:after{
position: absolute;
content: '';
display: block;
border-bottom: solid 3px #1e374d;/*下線２：実線・太さ・色*/
bottom:-3px;
left: 0;
width:30%;/*下線２の幅*/
}

h4 {
--baloon-color:#1e374d;
position: relative;
padding: 0.4em 0.8em !important;
background: var(--baloon-color);
color: #fff;
font-size: 20px !important;
}
h4:after {
position: absolute;
content: '';
width: 0;
height: 0;
bottom: -10px;
left: 1.5em;
border-width: 10px 10px 0 10px;
border-style: solid;
border-color: var(--baloon-color) transparent transparent transparent;
}

.article h5{
border-left: solid 5px #1e374d;/*左線：実線・太さ・色*/
padding: 0.3em 0.6em;
font-size: 18px;
}

.article h6{
border-left: solid 3px #1e374d;/*左線：実線・太さ・色*/
padding: 0.2em 0.6em;
font-size: 16px;
}

/* サイドバープロフィール画像に縁をつける */
.sidebar.nwa .author-box .author-thumb img {
    border: 2px solid #cccccc;
}
/* サイドバープロフィール角を四角くする */
#sidebar .widget_author_box .author-box{
border: 1px solid #1e374d;
border-radius: 0;
}

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

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

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