@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){
  /*必要ならばここにコードを書く*/
}


/************************************
** books.dmm-mania.com
************************************/
/*必要ならばここにコードを書く*/
.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}
.color-bg-main {
	background-color: #ddd;
}
.color-bg-sub {
	background-color: #FFDA31;
}
.block {
	display: block;	
}

.movie_link_btn,
.product_btn {
	text-decoration: none !important;
}
/* タイトル2行まで */
.entry-card-content > h2.entry-card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
	padding: 0 !important;
}
/* カテゴリーラベル非表示 */
.cat-label {
  display: none;
}

/* 関連記事下カテゴリー別人気記事 */
.under-entry-content .popular-entry-cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.under-entry-content .popular-entry-cards > a{
	width: 33%;
	height: auto;
}

/** 商品詳細ページ **/
.movie-detail {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
}

/** 商品情報テーブル **/
.movie-info > .movie-info-list {
	display: table;
	margin: 0.5em 0;
}
.movie-info > .movie-info-list > .movie-info-list-title,
.movie-info > .movie-info-list > .movie-info-list-description {
	display: table-cell;
}
.movie-info > .movie-info-list > .movie-info-list-title {
	width: 120px;
	text-align: right;
}

/** 記事ページ メイン画像 **/
.main-image-box {
	text-align: center;
}

/** 記事を読むボタン, カテゴリ一覧削除 */
#list .excerpt,
#list .category {
	display: none;
}

/** 記事一覧調整 */
div[id^=tile-] .meta {
	margin-bottom: 0;
}
.read-more {
	display: none;
}
div[id^=tile-] .toc:not(#bottom-area):not(.posts-list-middle-widget):not(#bottom-area):not(.posts-list-under-widget) {
	padding: 10px;
}

/** ジャンル一覧 */
.genre-wrap > ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0px;
	gap: 10px 2%;
}
.genre-wrap > ul > li {
	list-style-type: none;
	width: 32%;
	border: 1px solid #666;
	border-radius: 0.5em;
	line-height: 1em;
}
.genre-wrap > ul > li:hover {
	color: #fff;
	background-color: #666;
}
.genre-btn {
	width: 100%;
	color: #666;
}
.genre-btn:hover {
	color: #fff;
}

/** カテゴリ一覧 **/
.lcp_catlist {
	display: flex;
    flex-wrap: wrap;	
	gap: 1%;
	justify-content: space-between;
}
.lcp_catlist > li {
	display: flex;
	flex-direction: column-reverse;
	width: 48%;
	justify-content: flex-end;
}
/** Util **/
.center {
	text-align: center;
}
.mt1 {
	margin-top: 1em;
}
.mt2 {
	margin-top: 2em;
}
.w100 {
	width: 100%;
}
.bg-pink {
	background-color: #ff70c6;
}
.bg-yellow {
	background-color: #ffe366;
}

.dmmmania-link-box {
	display: flex;
	align-items: center;
	justify-content: center;
}
.dmmmania-link-box > a {
	max-width: 265px;
}
.rec-item-wrap {
	display: flex;
	justify-content: space-between;
	max-height: 250px;
}
.rec-item-wrap img {
    width: auto;
    height: 100%;
}
.center {
	text-align: center;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

@media screen and (max-width: 767px){
	#tile-4 .toc, #card-4 .toc, #tile-3 .toc, #card-3 .toc, #tile-2 .toc, #card-2 .toc {
		max-width: 49%;
		width: 49%;	
	}
	#list .excerpt {
		padding-top: 0px;
	}
	#list .term img {
		margin-bottom: 15px;
	}
	.entry-title a {
		font-size: 1.5rem;
	}
	
	.dmmmania-link-box {
		flex-direction: column;
	}
}


/*481px以上*/
@media screen and (min-width: 481px){
	.sp {
		display: none;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.pc {
		display: none;
	}
	.genre-btn-wrap li.sp > a {
		font-size: x-small;
	}
	.iframe-wrap {
		margin: 1em auto;
	}
	.movie-detail {
		flex-direction: column;
	}
	/** 小さいスマホ2列表示 **/
	.ect-vertical-card .entry-card-wrap {
		width: 49% !important;
	}
	/** カテゴリリスト **/
	.lcp_catlist > li {
		width: 100%;
	}
}

