@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.0
*/
/************************************
** 子テーマ用のスタイルを書く
************************************/
body {
    /*border-top: 5px solid #2072ba;*/
}
.content{
	margin-top: 0;
	margin-bottom: 100px;
}
.main {
    padding: 0 10px;
}

.entry-content {
    margin-top: 0;
    margin-bottom: 0;
}
.entry-content p{
	margin-top: 1em;
	margin-bottom: 1.3em;
}

.container .column-wrap > div{
    padding: 0;
}
.column-wrap > div > *:first-child {
    margin-top: 0;
	margin-bottom: 0.5em;
}
.container .column-wrap .column-right {
	padding-left: 1em;
}

/*-- PC版表示CSS  --*/
.pcOnly{
  display:block;
}
.mbOnly{
  display:none;
}

/*-- スマホ版表示CSS  --*/
@media screen and (max-width: 768px){
  .pcOnly{
    display:none;
  }
  .mbOnly{
    display:block;
  }
}

/************************************
** パンくずリストのアイコンをまとめて非表示（Font Awesome 4）
************************************/

/*.breadcrumb .fa-home,*/
.breadcrumb .fa-folder,
.breadcrumb .fa-file-o {
	display: none; /*非表示*/
}

/* =================================
 * 見出しカスタマイズ
 * ================================= */
/* H1 */
.article h1,
.archive-title{
	font-size: 2.5em;
    margin: 20px 0 0.5em;
    padding: 0.5em 0.5em 0.5em 0;
    line-height: 1.3;
	border-bottom: solid 6px #2072ba;
	position: relative;
	text-align: left;
}

.archive-title span{
	/*アーカイブ記号非表示*/
	display: none;
}

/* H2 */
.article h2{
	clear: both;
	color: #444;
	font-size: 2em;
	background: none;
	margin: 2em 0 1em;
	padding: 0.5em 0 0.2em;
	text-align: left;
    border-bottom: 4px solid #ddd;
    line-height: 1.25;
    position: relative;
}
.article h2:after{
	position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 4px #2072ba;
    bottom: -4px;
    width: 80px;
}

/* H3 */
.article h3{
	color: #2072ba;
	font-size: 1.5em;
	border:none;
	margin: 2em 0 1em;
	padding: 0.5em 0 0;
	text-align: left;
}
.sidebar h3{
	color: #fff;
    background-color: #2072ba;
}
/* H4 */
.article h4,
.article h5,
.article h6{
	font-size: 1.2em;
	border:none;
	margin: 1em 0;
	padding: 0.5em;
	background-color: #eee;
}

/* =================================
 * ヘッダー
 * ================================= */
.header-in {
	height: 100px;
}
.logo-image {
    padding: 25px 0 0;
    text-align: left;
}

/* =================================
 * グローバルナビ
 * ================================= */
.navi-in > ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    text-align: center;
}

.navi-in > ul > li:first-child {
    border-left: 1px solid #fff;
}
.navi-in > ul > li {
    border-right: 1px solid #fff;
}

#navi .navi-in a:hover {
	/*マウスオーバー*/
    background-color: #2072ba;
	color: #fff;
	text-decoration: none;
	transition:all 0.3s;
}
/* ---------------------------------
 * サブメニュー
 * --------------------------------- */
#navi .navi-in>.menu-header .sub-menu {
	/*通常背景*/
    background-color: #0e528e;
}
.sub-menu .caption-wrap{
	/*通常文字色*/
	color:#fff;
}
.sub-menu .caption-wrap:hover{
	/*マウスオーバー文字色*/
	color:#fff;
}

/*スライドインメニューを右から*/
.navi-menu-content{
	left: auto;
	right: 0;
	transform: translateX(101%);
}

/* =================================
 * ヘッダー領域追加コンテンツ
 * ================================= */
.add-header-contents{
    position: relative;
    bottom: 52px;
    left: 804px;
	width: 220px;/*追加コンテンツ全体の幅*/
}
.search-box{
	margin: 0;
	width: 160px;
}
@media screen and (max-width: 768px){
	.add-header-contents{
		display:none;
	}
	.search-box{
		width: auto;
	}
}

/* =================================
 * 検索ボックス
 * ================================= */
.search-box {
	width: 220px;
}
.search-box input:focus, .search-box button:focus {
	outline: 0; /*フォーカス時の枠線を消す*/
}
.search-edit{
	font-size: 14px!important;
	height: 40px;
}

/* =================================
 * フッター
 * ================================= */
.footer{
	margin-top: 0;
}
/* フッターナビ */
.navi-footer-in>.menu-footer li:last-child {
    border-right: none;
}
.navi-footer-in>.menu-footer li {
    border-left: none;
}
.navi-footer-in>.menu-footer li a:hover{
	text-decoration: underline;
	background-color: #1173bc;
}

/* =================================
 * 説明付きリスト
 * ================================= */
.article dt { 
	float: left;
	clear: left;
    position: relative;
    padding:10px 5px 10px 10px;
	text-align: left;
	font-weight: bold;
}
.article dd {
    padding:10px 0 10px 8em;
    margin: 0 10px;
	border-bottom: 1px dotted #ddd;
	text-align: left;
}

/* =================================
 * 投稿
 * ================================= */
.pager-post-navi.post-navi-square .card-thumb img {
	/*ページ送りナビのサムネイル*/
    width: 100%;
    height: 70px;
    object-fit: cover;
}
.prev-post-title:before,
.next-post-title:before {
    color: #999999; /* 文字色 */
    font-size: 12px; /* 文字サイズ */
    margin-bottom: 0.3em;
    display: block;
}
.next-post-title:before {
    content: '次のページ';
}
.prev-post-title:before {
    content: '前のページ';
}

/* =================================
 * Cocoon新着記事に日付を表示
 * ================================= */
.new-entry-cards .display-none {
	display: block;
	padding-top: 0.2em;
	text-align: right;
}
.new-entry-card-update-date {
	display: none;
}

/* =================================
 * 最新の投稿ウィジェット
 * ================================= */

.widget-entry-cards.card-large-image .a-wrap {
	width:32.9%;
	padding: 7px;
	height:auto;
	display: inline-flex;
}
.widget-entry-cards.card-large-image .card-content {
    margin: 0 0 0.5em;
    padding: 0;
}

@media screen and (max-width: 768px){
	body {
		border-top: none;
	}
	.widget-entry-cards.card-large-image .a-wrap {
		width:32.8%;
	}
}

@media screen and (max-width: 480px){
	.widget-entry-cards.card-large-image .a-wrap {
		width: 100%;
		display: inline-flex;
	}
	.new-entry-card-thumb{
		width: 38%;
		float: left;
		margin-top: 3px;
		position: relative;
	}
	.widget-entry-cards.card-large-image figure img {
		width: 38%;
		margin-right: 0.5em;
		display: block;
		float: left;
	}
	.widget-entry-cards.card-large-image .e-card {
		font-size: 16px;
	}
}

/* =================================
 * ギャラリーのキャプション
 * ================================= */
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
    display: none !important;
}



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

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.header-in {
		height: 0;
	}
	.search-box {
		width: auto;
	}
	main.main{
    	padding: 16px 16px 0;
	}
	
}

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

	.article h2{
		margin-top: 1.5em;
	}
	/* トップのお知らせ */
	div.whatsnew dt {
		width: 100%;
	}
	
	.article dt { 
		float: none;
		padding:10px 5px 0 10px;

	}
	.article dd {
		padding:0 0 10px 1em;

	}
	.widget-entry-cards.card-large-image figure img {
		width: 48%;
		margin-right: 0.5em;
		display: block;
		float: left;
	}
}
