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

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

/* ▼タイトル */
.article h3 {
	border:none;
}

/* ▼文の途中改行を防ぐ */
.newline {
	display:inline-block;
}

/* -----------------------------------------------
 * ------------------------------------ ▼header */

/* ロゴ */
.header-container-in.hlt-top-menu .site-name-text {
	padding-left:1em;
}


/*====================================================
 * 　　　　　　　▼トップページ　PC　
 * =================================================== */

/* -------------------------------------------
 * --------------------------- 全体共通設定 */

/* ▼共通 デザインのタイトル (サイズ、線) */
.panel-grid-cell .top_section .widget-title {
	border-bottom:2px solid #910000;
}

/* 横並び逆 */
.flex_rev {
	flex-direction:row-reverse;
}

/* ▼共通 ボタン　ベース */
.linkbtn {
	border:1px solid #910000;
	background:#910000;
	text-align:center;
	margin:15px auto;
	position:relative;
	width:300px;
	height:70px;
}

.linkbtn p {
	margin:0;
}

.linkbtn a {
	text-decoration:none;
	color:#fff;
	display:block;
	position:absolute;
	top:0;
	left:0;
	height:100%;
	width:100%;
	/* 中央寄せ */
	display:flex;
	justify-content:center;
	align-items:center;
}

/* ▼共通 ボタン　白 */
.linkbtn_white {
	border:2px solid #910000;
	background:#fff;
}

.linkbtn_white a {
	color: #910000;
}

/* ▼共通 ボタン　青 */
.linkbtn_blue {
	border:1px solid #00437c;
	background:#00437c;
}

.linkbtn_blue a {
	color:#fff;
}

/* ▼共通 年表 */

/* 全体 */
.chronology tr:nth-of-type(2n-1) {
	background:#fee;
}

/* 2の倍数行 */
.chronology tr:nth-of-type(2n) {
	background:none;
	background:rgba(255,238,238,.8);
}

/* 3列目 */
.chronology tr td:nth-of-type(3) {
	background:rgba(255,204,204,.9);
	text-align:center;
	width:55px;
}

/* 2列目 */
.chronology tr td:nth-of-type(2) {
	width:95px;	
}

/* 1列目　左線 */
.chronology tr td:nth-of-type(1) {
	border-left:4px solid #910000;
	width:85px;
}

/* 全部の線 */
table th, table td {
    border: 1px solid rgb(255 204 204 / 25%);
}
	
/* ▼共通 大きい画像設定 */

#post-43 .bigbg .widget-title {
	margin-bottom:0;
	text-align:center;
}

#post-43 .bigbg .sow-image-container {
	justify-content:center;
}


/* ----------------------------------------------------
 * ---------- ▼トップメッセージ（.top_message）設定 */

/* タイトル削除 */
.top_message .widget-title {
	display:none;
}

/* メッセージ全体 */
.top_message .message_conts {
	max-width:770px;
	margin:0 auto;
}

/* メッセージ本文 */
.top_message .message_conts .text {
	text-align:left; /* 左寄せ */
}

/* 名前 */
.top_message .message_conts .name {
	text-align:right;/* 右寄せ */

}

.top_message .message_conts .name span {
	font-size:1.2em;
}

/* ----------------------------------------------------
 * --------------------------- 新着情報設定（.whatsnew） */

/* 全体 */
div.whatsnew {
	margin-bottom:5%!important;
}

/* 線 */
.whatsnew hr {
	color:#910000;
}

/* 一番目の線　削除 */
.whatsnew hr:nth-of-type(1) {
	display:none;
}

/* 新着情報 */
.whatsnew h2 {
	background:none;
	color:#910000;
	border-bottom:2px solid #910000;
	padding-bottom:10px;
	padding-left:5px;
	margin-top:0;
}

/* 日付 */
div.whatsnew dt {
	width: 8.6em;
}


/* ----------------------------------------------------
 * ----------------------------------------- SNS設定 */

/* 全体設定 */
.top_sns .sns_conts {
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
	max-width:800px;
	margin:0 auto;
}

/* 各ブロックの設定 */
.top_sns .sns_conts div {
	display:inline-block;
	margin:15px 2%;
	max-width:200px;
}

/* リンクの設定 */
.top_sns .sns_conts div a {
	text-decoration:none;
	color:#333;
}


/* タイトル */
.top_sns .title {
	font-weight:normal;
	font-size:0.9em;
	border:none;
	text-align:center;
	margin-bottom:0;
}

/* タイトルのInstagram、Facebook、YouTube */
.top_sns .sns_color_fb,.top_sns .sns_color_insta,.top_sns .sns_color_tube {
	font-size:1rem;
}

.top_sns .sns_color_fb {
	color:#005bac;
}

.top_sns .sns_color_insta {
	color:#e4007f;
}

.top_sns .sns_color_tube {
	color:#e60012;
}

/* 謎の<p>削除 */
.top_sns .sns_conts div p:nth-of-type(1){
	display:none;
}


/* ----------------------------------------------------
 * --------------------------- 天国と地獄を見た男設定（.life） */

.life .life_conts {
	list-style-type:square;
	margin-bottom:3%;
}


/* ----------------------------------------------------
 * --------------------------- 経営相談・人生相談設定（.consul） */

.consul .consul_conts h4 {
	border:none;
	padding-left:1em;
	margin-bottom:15px;
}


/* ----------------------------------------------------
 * --------------------------- 青木経営フォーラム設定（.forum） */

.forum .forum_conts p {
	text-align:center;
}

/* ----------------------------------------------------
 * --------------------------- 著書紹介設定（.book） */

#post-43 .book .book_conts .widget-title {
	border-bottom:none;
	font-size:.9em;
	text-align:center;
}

#post-43 .book .book_conts .so-widget-image{
	margin:0 auto;
}

/* ----------------------------------------------------
 * --------------------------- 18の格言設定（.gallry） */

/* 画像の中央寄せ */
.gallery .so-widget-sow-image .sow-image-container {
	justify-content:center;
}

/* 画像サイズ */
.gallery .so-widget-sow-image .sow-image-container .so-widget-image {
	max-width:280px;
}

/* ----------------------------------------------------
 * ------------ エース教育グループについて設定（.aselist） */　

.aselist .aselist_conts {
	list-style-type:square;
}

/*====================================================
 * 　　　　　　　▲トップページ　PC　
 * =================================================== */












/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

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


	/* スライドインメニュー */
	.menu-content {
		background:rgba(89,87,87,.5);
	}
	
	/* メニュー */
	.menu-drawer a {
		height: 45px;
		font-size:1.2em;
		color:#f8f8f8;
	}
	
	/* ×ボタン */
	.menu-close-button {
		text-align:right;
		padding-right:.5em;
	}
	
	/* headerロゴ周り */
	.has-logo-button .logo-menu-button {
		background:#595757;
	}

	/* ロゴ画像 */
	.logo-menu-button img {
		width:70%;
		min-width:200px;
		margin-right: 1em;
	}
	
	/* headerのロゴ上下真ん中 */
	.has-logo-button .logo-menu-button {
		display:flex;
		align-items:center;
		justify-content:flex-end;
	}
	

	
	
/*====================================================
 * 　　　　　　　▲header　1023px　
 * =================================================== */
	
}

/* ##=======================================##
 * 　　　　　　　780px以下
 * ##=======================================## */
@media screen and (max-width: 780px){
  /*必要ならばここにコードを書く*/
	
/*====================================================
 * 　　　　　　　▼トップページ　780px　
 * =================================================== */

/* -------------------------------------------
 * --------------------------- 全体共通設定 */

		/* 共通　年表の設定 */
	.chronology tr td:nth-of-type(1),.chronology tr td:nth-of-type(3) {
		-ms-writing-mode: tb-rl;
 		writing-mode: vertical-rl;/* 縦書き */
		width: 14px!important;
    	text-align: center;
	}

	
	
/* ----------------------------------------------------
 * ----- ▼トップメッセージ（.top_message）設定　780px以下 */
	
	.top_message .text br {
		display:none;
	}
	
/* ----------------------------------------------------
 * ----------------------------------------- SNS設定 */

/* 全体設定 */
.top_sns .sns_conts {
	max-width:100%;

}

/* 各ブロックの設定 */
.top_sns .sns_conts div {
max-width:130px;
}
	
	
/* ----------------------------------------------------
 * -------------------------------- 天国と地獄を見た男設定 */
	.top_section ul {
		padding-left:5px;
	}
	
	
	
/* ----------------------------------------------------
 * ----------------------------------------- 略歴（.biography）設定 */

	.biography,.syowa,.overseas,.business {
		margin:0 auto;
		max-width:500px;
	}
	
/* ----------------------------------------------------
 * --------------------------- 著書紹介設定 */
	
	.book {
		flex-direction:row!important;
	}
	
	.book .book_conts {
		max-width:180px;
		margin:10px 5px;
	}
	
	#post-43 .book .book_conts .widget-title {
		font-weight:normal;
	}
	
	
/* ----------------------------------------------------
 * --------------------------- ギャラリー設定 */

	
	/* 画像大きさ */
	.gallery .so-widget-sow-image .sow-image-container .so-widget-image {
		max-width:150px;
	}

	#pl-43 .gallery .so-panel {
		display:inline-block;
		width:33.3%;
	}
	
/*====================================================
 * 　　　　　　　▲トップページ　780px
 * =================================================== */
	
}

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

	
	
	
/*====================================================
 * 　　　　　　　▼トップページ　480px　
 * =================================================== */

/* -------------------------------------------
 * --------------------------- 全体共通設定 */
	.linkbtn {
		width: 270px;
    	height: 60px;
	}



	
/* ----------------------------------------------------
 * ----------------------------------------- SNS設定 */


/* 各ブロックの設定 */
.top_sns .sns_conts div {
	max-width:90px;
}
	
	
/* ----------------------------------------------------
 * --------------------------- 略歴、昭和、教育事業、海外教育講演設定 */
	
	/* 画像の大きさ */
	.biography .panel-grid-cell .sow-image-container img,
	.syowa .panel-grid-cell .sow-image-container img,
	.business .panel-grid-cell .sow-image-container img,
	.overseas .panel-grid-cell .sow-image-container img {
		max-width:280px;
		margin:0 auto;
	}
	
/* ----------------------------------------------------
 * --------------------------- ギャラリー設定 */
	
	/* 画像の大きさ */
	#pl-43 .gallery .so-panel {
		width:50%;
	}
/* ----------------------------------------------------
 * --------------------------- 設定 */


/*====================================================
 * 　　　　　　　▲トップページ　480px
 * =================================================== */
	
}
