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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.article h2 {
    background-color: #1a883b;
}
.article h3, .article h4, .article h5, .article h6, .cat-link, .tag-link {
    border-color: #1a883b;
}

.glsr-review-author {
	color: #aaa;
	font-size: 0.9em;
}

.glsr-review-assigned_links {
	font-size: 0.7em;
	line-height: 1.2;
}

.glsr-review-content p {
	margin-bottom: 0;
	line-height: 1;
}

.glsr-review-date {
	font-size: 0.7em;
	font-style: normal;
}

.glsr-review {
	background-color: #f8f8f8;
    padding: 12px;
	border-radius: 4px;
}

.glsr-reviews, .glsr-reviews-wrap {
	grid-gap: var(--glsr-gap-lg);
    display: grid;
    gap: var(--glsr-gap-lg);
}


.rankingimgbox {
	display: flex;
    justify-content: space-between;
}
.rankingimg2 {
	max-width: 30%;
}
.rankingimg {
	width: 100%;
}

/* 全幅フッターウィジェット */
.footer-full-widget-area{
  width:100%;
  background:#f5f5f5; /* 任意 */
  padding:40px 0;
}
.footer-full-inner{
  width: min(1200px, 90%);
  margin: 0 auto;
}
.footer-full-widget-area .widget{
  margin-bottom:24px;
}

/* Related Media Footer */
.u-visually-hidden{
	text-align: left;
}

/* レイアウト */
.related-media{
  padding:0 0 16px;
}
.related-media__grid{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:24px 16px;
  grid-template-columns:repeat(6,1fr); /* PC 6列 */
}
@media(max-width: 767px){
  .related-media__grid{
		grid-template-columns:repeat(2,1fr)!important; /* SP 3列 */
		gap:0;
  }
	.u-visually-hidden{
		text-align: center;
	}
}
.related-media__item{
  text-align:center;
}
.related-media__link{
  display:inline-block;
}
.related-media__link img{
  max-width:80%;
  height:auto;
  display:block;
  margin:0 auto;
  /* ロゴ高さを揃えたい場合は下記例（高さ固定＋object-fit） */
  height:60px; object-fit:contain;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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