@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){
  /*必要ならばここにコードを書く*/
}
/**********************************************
** 固定ページの新着記事一覧(new_list)を
** 2カラム表示にする
**********************************************/
.new-entry-cards.fp-new-entry-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: border-box;
}

.fp-new-entry-cards .new-entry-card-link.a-wrap {
    display: inline-block;
    width: 49.5%;
}

/* ********************************************* */
/* ショートコードで商品リストを表示する関数      */
/* ********************************************* */

    .dmm-products {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        padding: 20px;
    }
    .dmm-product {
        background-color: #fff;
        border-radius: 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
        width: calc(50% - 20px);
        text-align: center;
        cursor: pointer;
    }
    .dmm-product:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }
    .dmm-product-image-container {
        height: auto;
        width: 100%;
        overflow: hidden;
    }
    .dmm-product-image {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .dmm-product-title {
        font-size: 14px;
        color: #000;
        padding: 10px;
        background-color: #f7f7f7;
        margin: 0;
        height: auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .dmm-product-rank {
        font-weight: bold;
        color: #ff0000;
        font-size: 20px;
    }
    @media (max-width: 1024px) {
        .dmm-product {
            width: calc(50% - 20px);
        }
    }
    @media (max-width: 600px) {
        .dmm-product {
            width: 100%;
        }
    }
	
/* ********************************************* */
/* 女優情報を表示する関数      */
/* ********************************************* */
/* 全体のまとまり（女優一覧） */
.dmm-actress-list {
    display: flex;
    flex-direction: column; /* 縦に並べます */
    gap: 15px;             /* 各項目の間隔（上下の余白）*/
    max-width: 600px;      /* 20pxは間違い！600px程度がおすすめ */
    margin: 0 auto;        /* 中央に配置します（お好みで） */
}


.dmm-actress {
    display: flex;
    flex-direction: column;
	border: 1px solid #ddd; /* 周囲に灰色の線を入れる（区切りを明確に） */
    padding: 10px;
    border-radius: 5px;
}

.dmm-actress-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.dmm-actress-img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    object-fit: cover;
}



/***********************************************/
/*あいうえお検索*/
/***********************************************/
#hiragana-list {
    margin-bottom: 20px;
    text-align: center;
}

.hiragana-btn {
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    font-size: 16px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.hiragana-btn:hover {
    background: #005f8d;
}

#tag-content {
    padding: 20px;
    border: 1px solid #ddd;
    background: #f9f9f9;
}

.featured-image img, .post-thumbnail img {
    display: block !important;
    max-width: 100%;
    height: auto;
}


h1 {
  font-size: 1.8em;
  color: #2c3e50;
  border-bottom: 2px solid #7db4e6;
  padding-bottom: 0.3em;
  margin-bottom: 0.8em;
}

/*
 Theme Name: Cocoon Child
 Template: cocoon
*/



