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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.studios-top-img img {
    object-fit: scale-down;
    margin-bottom: 30px;
}
.img-gallery img {
    width: 100%;
    object-fit: cover;
    height: 300px;
}
/* dl {
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
	flex-wrap: wrap;
	align-items: stretch;	
	width: 100%;
	border: 1px solid #ccc;
	border-bottom: none;
}
dl dt{
	background: #f5f5f5;
	padding: 5px;
	width: 150px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
dl dd{
	background: #fff;
	padding: 5px;
	width: calc(100% - 150px);
	border-bottom: 1px solid #ccc;
} */
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
.studios-top-img img {
    height: 500px;
}

.img-gallery img {
    height: 350px;
}
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
.studios-top-img img {
    height: 400px;
}
.img-gallery img {
    height: 250px;
}
table th, table td {
    font-size: 0.9em;
}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
dl dt{
	width: 100%;
	border-right: none;
}
dl dd{
	width: 100%;
}
.studios-top-img img {
    height: 250px;
}
.img-gallery img {
    height: 150px;
}
.entry-card,
.related-entry-card,
.e-card-title {
    line-height: 1.8;
}
/* モバイル時は縦並び */
.entry-card {
    flex-direction: column;
}
.entry-card .entry-card-thumb {
    width: 100%;
}
.entry-card .entry-card-content {
    margin-left: 0;
    margin-top: 10px;
}
}

/************************************
** 星評価デザイン
************************************/
.star5_rating{
    position: relative;
    z-index: 0;
    display: inline-block;
    white-space: nowrap;
    color: #CCCCCC; /* グレーカラー 自由に設定化 */
    /*font-size: 30px; フォントサイズ 自由に設定化 */
}

.star5_rating:before, .star5_rating:after{
    content: '★★★★★';
}

.star5_rating:after{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #ffcf32; /* イエローカラー 自由に設定化 */
}

.star5_rating[data-rate="5"]:after{ width: 100%; } /* 星5 */
.star5_rating[data-rate="4.5"]:after{ width: 90%; } /* 星4.5 */
.star5_rating[data-rate="4"]:after{ width: 80%; } /* 星4 */
.star5_rating[data-rate="3.5"]:after{ width: 70%; } /* 星3.5 */
.star5_rating[data-rate="3"]:after{ width: 60%; } /* 星3 */
.star5_rating[data-rate="2.5"]:after{ width: 50%; } /* 星2.5 */
.star5_rating[data-rate="2"]:after{ width: 40%; } /* 星2 */
.star5_rating[data-rate="1.5"]:after{ width: 30%; } /* 星1.5 */
.star5_rating[data-rate="1"]:after{ width: 20%; } /* 星1 */
.star5_rating[data-rate="0.5"]:after{ width: 10%; } /* 星0.5 */
.star5_rating[data-rate="0"]:after{ width: 0%; } /* 星0 */

/************************************
** エントリーカード横型レイアウト
************************************/
.entry-card {
    display: flex;
    align-items: flex-start;
}

.entry-card .entry-card-thumb {
    flex-shrink: 0;
    width: 320px;
}

.entry-card .entry-card-content {
    flex: 1;
    margin-left: 10px;
}