@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/*h2 h3 h4 h5 h6 リセット*/
.article h2 {
    padding: 0;
    background: none;
}
.article h3 {
    border: none;
    padding: 0;
}
.article h4 {
    border: none;
    padding: 0;
}
.article h5 {
    border: none;
    padding: 0;
}
.article h6 {
    border: none;
    padding: 0;
} 


/* タイル4列 */
.ect-3-columns {
 justify-content: space-around;

}
.ect-3-columns .entry-card-wrap {
 width: 33.33%;
}
.ect-3-columns .entry-card-snippet {
  max-height: 4em;
}

.ect-3-columns .ad-area {
 width: 33.33%;	
}

/*768px以下*/
@media screen and (max-width: 768px){
  .ect-3-columns .entry-card-wrap {
      width: 50%;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .ect-3-columns .entry-card-wrap {
      width: 50%;
  }
} 



/* sns share */
.button-caption{
  display: none;
}
.sns-share-buttons a {
  border-radius: 50%;
  margin: 5px;
}
#main .sns-share a {
  height: 35px;
  width: 35px;
  margin-bottom: 0.5em;
}
.sns-share-buttons {
  justify-content: center;
}
.social-icon {
  font-size: 15px;
}


/************************************
** 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; /*線*/
}






p.webtitle {
    padding-left: 20px;
    background: url(https://www.kiramo.jp/wp-content/img/RSS_25544.png) ;
	background-size: 20px;
	font-size: 12px;
	font-weight   : bold;
	background-repeat: no-repeat;
	  height: 5px;
}

.entry-card-title, .related-entry-card-title {
  font-size: 12px;
  margin: 0 0 5px 0;
  line-height: 1.6;
  font-weight: 900;
}

a {
  color: #000;
}


.entry-content h2 {
  position: relative;
  padding-bottom: .5em;
  border-bottom: 4px solid #ccc;
}
.entry-content h2::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 20%;
  height: 4px;
  background-color: #ea6a99;
}

.entry-content h3 {
  position: relative;
  padding: 0 .5em .5em 2em;
  #border-bottom: 1px solid #ccc;
}
.entry-content h3::before,
.entry-content h3::after {
  position: absolute;
  content: '';
  border-radius: 100%
}
.entry-content h3::before {
  top: .2em;
  left: .2em;
  z-index: 2;
  width: 16px;
  height: 16px;
  background: rgba(150, 150, 150, .5);
}
.entry-content h3::after {
  top: .7em;
  left: .7em;
  width: 11px;
  height: 11px;
  background: rgba(210, 210, 210, .5);
}

/*youtubeのサイズ変更*/
.video-container {
max-width: 95%;
margin: 0px auto;
}


/* 画像キャプションを左寄せにする処理 */
.wp-caption .wp-caption-text, .gallery .gallery-caption {
    font-size: .8em;
    margin: 2px;
    text-align: left;
	 background-color: #fff;
}

/* アイキャッチ画像キャプションを左寄せにする処理 */
.eye-catch-caption {
    color: #fff;
    position: absolute;
    bottom: 0;
    padding: 2em 0.6em 0.2em;
    text-align: right;
    width: 100%;
    font-size: .9em;
    background: linear-gradient(180deg,transparent,#555);
    opacity: .9;
    text-align: left;
}

.wp-caption {
    border: 0px solid #fff;
    background-color: #fff;
    max-width: 100%;
}

.flex-container {
	display: flex;
	flex-wrap: nowrap;
	text-align: center;
	font-weight: bold; 
}
.flex-item1 { flex-basis: 33.3%; }
.flex-item2 { flex-basis: 33.3%; }
.flex-item3 { flex-basis: 33.3%; }

.flex-container2 {
	display: flex;
	justify-content: flex-start;
}
.flex-topitem1 { flex-basis: 50%; }
.flex-topitem2 { flex-basis: 50%; }

/* トップタブ */
/**************************
 タブ切り替え
***************************/
.tab-wrap {
  display: flex;
  flex-wrap: wrap;
margin:5px 0;
}

.tab-label {
  color: White;
  background:lightgray;
  text-align: center;
  padding: .5em 1em;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  flex: 1;
  border-radius: 2px;
  position: relative;
}

.tab-label:not(:last-of-type) {
  margin-right: 5px;
}

.tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
}
/* アクティブなタブ */
.tab-switch:checked+.tab-label {
 background:#AEC4E5;/*背景色*/
}
.tab-switch:checked+.tab-label:after{
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -15px;
	border: 10px solid transparent;
border-top:10px solid #AEC4E5;
	width: 0;
	height: 0;
}

.tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  overflow: auto;
  padding: 15px 0 0 0;
  opacity: 1;
  transition: .5s opacity;
}

/* ラジオボタン非表示 */
.tab-switch {
  display: none;
}



/**************************
 タブ切り替え
***************************/
.tab-wrap {
  display: flex;
  flex-wrap: wrap;
margin:5px 0;
}

.tab-label {
  color: White;
  background:lightgray;
  text-align: center;
  padding: .5em 1em;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  flex: 1;
  border-radius: 2px;
  position: relative;
  font-size: .6em;
  font-weight: 900;
}

.tab-label:not(:last-of-type) {
  margin-right: 5px;
}

.tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
}
/* アクティブなタブ */
.tab-switch:checked+.tab-label {
 background:#AEC4E5;/*背景色*/
}
.tab-switch:checked+.tab-label:after{
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -15px;
	border: 10px solid transparent;
border-top:10px solid #AEC4E5;
	width: 0;
	height: 0;
}

.tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  overflow: auto;
  padding: 15px 0 0 0;
  opacity: 1;
  transition: .5s opacity;
}

/* ラジオボタン非表示 */
.tab-switch {
  display: none;
}