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

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

.entry-title {
	background-color: #f2f2f2;
	padding: 0.5em;
	margin-bottom: 1.5em;
}
.box01 {
	margin: 2em auto 5em !important;
	background-color: #e0f0ea;
	padding: 2em;
	position: relative;
}
.box02 {
	margin: 2em auto 3em !important;
	background-color: #ecfafe;
	padding: 2em;
	position: relative;
}

.box01 .box-no {
	background-color: #A8D5C4;
	font-size: 1em;
	color: #fff;
	padding: 7px 30px;
	line-height: 1;
	position: absolute;
	top: -32px;
	left: 0px;
}
.box01 .box-title{
	width: calc(100% + 72px);
	margin-top: -36px;
	margin-right: -36px;
	margin-bottom: 1.5em;
	margin-left: -36px;
}

.box02 .box-no {
	background-color: #64CAEC;
	font-size: 1.2em;
	color: #fff;
	padding: 7px 30px;
	line-height: 1;
	position: absolute;
	top: -36px;
	left: 0px;
}

.box01 h2 {
	background-color: #CDE7DD !important;
	color: #000;
}
.box02 h2 {
	background-color:#aeddec !important;
	color:#fff;
}
.box01 h2,.box01 h3,.box01 h4,.box01 h5,.box01 h6 {
	margin-bottom:1em;
	border-color: #A8D5C4;
}
.box02 h2,.box02 h3,.box02 h4,.box02 h5,.box02 h6 {
	margin-bottom:1em;
	border-color: #64CAEC;
}

/* 記事一覧左寄せ3列の場合 */
.ect-3-columns {
  justify-content: flex-start;
}

/* 記事一覧アイキャッチの高さ揃える */
.entry-card-thumb.card-thumb{
  position: relative;
  padding-top: 56.25%; /*16:9の比率*/
  margin-bottom:8px;
}

.entry-card-thumb.card-thumb img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* 記事一覧記事非表示 */
.entry-card-snippet, .related-entry-card-snippet {display: none;}

.grecaptcha-badge { visibility: hidden; }

.widget-sidebar ul li a,.widget_pc_text {
font-size: 0.8em;
}

/* sidebar 広告 */
ul.ulbanner {
	width: 272px;
	display: flex;
	flex-wrap: wrap;
	padding: 0px;
	margin-right: auto;
	margin-left: auto;
	justify-content:space-around;
}
ul.ulbanner li {
	width: 120px;
	height: 60px;
	list-style: none;
	margin-bottom: 12px;
}

.related-entry-heading {
	padding: 0.3em 0.5em;
	border-top: 2px solid #f2f2f2;
	border-bottom: 2px solid #f2f2f2;
}

.rect-vertical-card .related-list {
	justify-content:space-between !important;
}
.rect-vertical-card .related-list::before{
  content:"";
  display: block;
  width:25%;
  order:1;
}
.rect-vertical-card .related-list::after{
  content:"";
  display: block;
  width:23%;
}

/*　記事　*/
.box-007 {
	margin: 0 auto 10% !important;
	border: 3px solid #2589d0;
	border-radius: 8px;
	color: #333333;
	padding: 10px 36px 36px;
}

.box-007 .box-007-title {
    display: inline-flex;
    align-items: center;
    position: relative;
    top: -23px;
    left: 10px;
    margin: 0 7px;
    padding: 0 8px;
    background: #fff;
    color: #2589d0;
    font-weight: 600;
    vertical-align: top;
}

.box-007 svg {
    padding-right: 4px;
}

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

/*834px以下*/
@media screen and (max-width: 834px){

}

/*480px以下*/
@media screen and (max-width: 480px){
  .box01 .box-title{
	width: calc(100% + 64px);
	margin-top: -32px;
	margin-right: -32px;
	margin-bottom: 1.5em;
	margin-left: -32px;
}

}
