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

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



/* ２カラム３カラム用均等割り付け空ボックス　*/
.empty {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}



/* ２カラム３カラムボックス 
枠がいる場合は
	border: 1px solid #dcdcdc;
*/

.col1-box {
	display: inline-block;
	vertical-align: top;
	text-align: center;
    font-size: 80%;
	width: 75%;
}

.col2-box {
	display: inline-block;
	vertical-align: top;
	text-align: center;
	width: 45%;
}


.col3-box {
	display: inline-block;
	vertical-align: top;
	text-align: center;
    font-size: 80%;
	width: 32%;
}





/*　トップへ戻るボタン　*/

.go-to-top {
  right: 10px;
  bottom: 20px;
}
.go-to-top-button {
  width: 80px;
  height: 80px;
}


/*　スムーススクロール　*/
html {
	scroll-behavior: smooth;
}


/*-----------------------------
画像に中央揃え強制追加
------------------------------*/
img.center {
	text-align:center
}



/*-----------------------------
ギャラリー
------------------------------*/
.gallery { /** ギャラリーを囲むボックス **/
	width: 100%;
	margin-bottom: 20px !important;
    overflow: hidden;
}

.gallery-item { /** 画像共通のスタイル **/
    float: left;
	margin-bottom: 0 !important;
}
.gallery-icon { /** 画像を囲む dt のスタイル **/
    text-align: center;
}

.gallery-icon img {
	width: 100%;
	height: auto;
	border: 1px solid #dcdcdc;
	padding: 3px;
	margin-bottom: 0px !important;
}

.gallery-caption { /** キャプション **/
    color: #222;
    font-size: 12px;
    margin: 0 0 10px;
    text-align: center;
}

.gallery-columns-1 .gallery-item { /** カラムなし **/
    width: 100%;
    margin-right: 0;
}
.gallery-columns-2 .gallery-item { /** 2カラム **/
	width: 48%;
	margin: 0 1%;
}
.gallery-columns-3 .gallery-item { /** 3カラム **/
    width: 31.33333%; 
	margin: 0 1%;
}
.gallery-columns-4 .gallery-item { /** 4カラム **/
    width: 23%;
    margin: 0 1%;
}
.gallery-columns-5 .gallery-item { /** 5カラム **/
    width: 18%;
    margin: 0 1%;
}

@media screen and (max-width: 640px) {
	/* 640px以下用の記述 */
	.gallery-columns-3 .gallery-item, .gallery-columns-4 .gallery-item {
		width: 31%;
		margin: 0 1%;
	}
	.gallery-columns-5 .gallery-item {
		width: 31%;
		margin: 0 1%;
	}
}


.article h2{
	margin-top:3em;
	padding: .8em 0 .7em;
	border-top: 2px solid #ff0000;
	border-bottom: 1px solid #ff0000;
	background-color: #fff;
	font-size: 24px;
}




/* トップアフィ画像CLS対応 */
.top-adb {
	vertical-align: top;
	text-align: center;
	width: 70%;
	margin: 2em auto;
	padding:1em 1em 1em 1em; /* ボックス内側余白 */
	position:relative; /* 配置(ここを基準に)*/
	border: solid 1px #ff0000;
		}
.top-adb a:link {
	color:#7a7a7a ;
} 
.top-adb .box-title {
	background-color:#ff0000; /* タイトル背景色 */
	color: #fff ; /* タイトル文字色 */
	padding: 7px 10px;/*タイトルの余白*/
	line-height: 1;/*タイトルの行の高さ*/
	position:absolute;	/* 配置(ここを動かす) */
	top: 0; /*上から（0px）移動*/
	left: 0; /*左から(0px)移動*/
	font-weight: bold;
}




.cat-item{
		font-size: 18px;
}

/* タグクラウド変更点 */
.tagcloud a {
	padding: 3px 8px;
	font-size: 16px;
	margin: 5px;
	flex: 1 1 auto;
	display: flex;
	justify-content: space-between;
	transition: all 0.3s ease-in-out;
}

.tagcloud a:hover {
	background-color: #555;
	transition: all 0.3s ease-in-out;
	color: #fff;
}



/* 文字装飾 */

blockquote:before {
	line-height: 0.1;
	content: open-quote;
	vertical-align: -32px;
	font-size: 60px;
	font-size: 6.0rem;
	color: #e2e5e8;
}

blockquote p:last-child {
	margin-bottom: 0;
}

blockquote ul:last-child, blockquote ol:last-child {
	margin-bottom: 0;
}

small, .small {
	font-size: 70%;
}

.big {
	font-size: 200%;
}

.bold {
	font-weight: bold;
	color: #000c15;
}

.bold-blu {
	font-weight: bold;
	color: #0468ea;
}

.bold-red {
	font-weight: bold;
	color: #ff0029;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

.text-left {
	text-align: left;
}



/* コンテナ */

.box-default {
	margin: 0 0 40px 0;
	padding: 10px;
	border: solid 2px #e2e5e8;
}

.box-info {
	margin: 0 0 40px 0;
	padding: 24px;
	background: #f4f6fa;
	border: solid 2px #e2e5e8;
}





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

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

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