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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/************************************
** FANZA作品ページ
************************************/

.fanza-product {
    max-width: 880px;
    margin: 0 auto;
    color: #292429;
}

/* 冒頭の評価・日付・価格 */

.fanza-product .fanza-product__rating {
    display: flex;
    align-items: baseline;
    gap: 0;
    margin: 0 0 8px;
    color: #292429;
    font-size: 1rem;
    line-height: 1.5;
    white-space: nowrap;
}

.fanza-product .fanza-product__rating strong {
    color: #a12645;
    font-size: 1.2rem;
    font-weight: 700;
}

.fanza-product .fanza-product__date,
.fanza-product .fanza-product__price {
    margin: 0 0 8px;
    padding: 0;
    color: #292429;
    font-size: 1rem;
    line-height: 1.5;
}

.fanza-product .fanza-product__price strong {
    color: #a12645;
    font-size: 1.15rem;
    font-weight: 700;
}

/* FANZAへの導線 */

.fanza-product .fanza-product__link-card {
    margin: 22px 0 0;
    padding: 22px;
    border: 1px solid #eddce1;
    border-radius: 14px;
    background: #fff8fa;
}

.fanza-product .fanza-product__link-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.fanza-product .fanza-product__link-card-content strong {
    color: #292429;
    font-size: 1.12rem;
}

.fanza-product .fanza-product__link-card-content span {
    color: #685d62;
    font-size: .88rem;
    line-height: 1.5;
}

.fanza-product .fanza-product__link-card a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border-radius: 9px;
    background: #a12645;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
}

.fanza-product .fanza-product__link-card a:hover {
    background: #811c36;
}

.fanza-product .fanza-product__link-card small {
    display: block;
    margin-top: 8px;
    color: #756d70;
    font-size: .76rem;
}

.fanza-product .fanza-product__link-card--bottom {
    margin-top: 36px;
}

/* 各セクション */

.fanza-product .fanza-product__section {
    margin-top: 38px;
}

.fanza-product .fanza-product__section > h2 {
    margin: 0 0 18px;
    padding: 0 0 0 12px;
    border: 0;
    border-left: 4px solid #a12645;
    background: none;
    color: #292429;
    font-size: 1.35rem;
    line-height: 1.4;
}

/* サンプル動画 */

.fanza-product .fanza-product__video {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    background: #111;
}

.fanza-product .fanza-product__video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* サンプル画像：サイズのみ指定。角丸・切り抜き・フィルターなし */

.fanza-product .fanza-product__gallery {
    display: block;
}
.fanza-product .fanza-product__gallery img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: none;
    margin: 0 0 16px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: none;
}
/* 作品データ */

.fanza-product .fanza-product__facts {
    margin: 0;
    padding: 0;
    border-top: 1px solid #e8e2e5;
}

.fanza-product .fanza-product__fact {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 9px 4px;
    border-bottom: 1px solid #e8e2e5;
}

.fanza-product .fanza-product__fact dt,
.fanza-product .fanza-product__fact dd {
    margin: 0;
    padding: 0;
    line-height: 1.45;
}

.fanza-product .fanza-product__fact dt {
    color: #675e62;
    font-weight: 700;
}

.fanza-product .fanza-product__fact dd {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Cocoonやエディターが空段落を挿入した場合 */
.fanza-product .fanza-product__facts p:empty,
.fanza-product .fanza-product__fact p:empty {
    display: none;
    margin: 0;
    padding: 0;
}

/* 配信形式・価格 */

.fanza-product .fanza-product__delivery ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fanza-product .fanza-product__delivery li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 10px 4px;
    border-bottom: 1px solid #e8e2e5;
}

/* ページ下部の購入導線 */

.fanza-product .fanza-product__footer {
    margin-top: 36px;
    padding: 24px;
    border: 1px solid #f0e2e6;
    border-radius: 14px;
    background: #fff6f8;
    text-align: center;
}

.fanza-product .fanza-product__footer p {
    margin: 0 0 14px;
    color: #51464b;
    line-height: 1.6;
}

.fanza-product .fanza-product__footer .fanza-product__cta {
    max-width: 440px;
    margin: 0 auto;
}

/* サンプル画像の下に置く横長バナー */
.fanza-product .fanza-product__banner-links {
    display: grid;
    gap: 18px;
    margin: 24px 0 36px;
    padding: 20px 28px;
    border-left: 5px solid #aaa;
    border-radius: 4px;
    background: #f3f4f5;
}

.fanza-product .fanza-product__banner-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 12px 42px;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none !important;
    transition: opacity .2s;
}

.fanza-product .fanza-product__banner-link:hover {
    color: #fff !important;
    opacity: .86;
}

.fanza-product .fanza-product__banner-link--images {
    background: #29a8da;
}

.fanza-product .fanza-product__banner-link--coupon {
    background: #008fd0;
}

.fanza-product .fanza-product__banner-link--sale {
    background: #009eaa;
}

.fanza-product .fanza-product__banner-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
    .fanza-product .fanza-product__hero {
        grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
        gap: 20px;
    }
}
@media screen and (max-width: 640px) {
    .fanza-product .fanza-product__link-card {
        padding: 17px;
    }

    .fanza-product .fanza-product__section {
        margin-top: 30px;
    }

    .fanza-product .fanza-product__gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .fanza-product .fanza-product__fact {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 9px 4px;
    }

    .fanza-product .fanza-product__fact dt {
        font-size: .82rem;
    }
	
	.fanza-product .fanza-product__banner-links {
        gap: 12px;
        padding: 14px;
    }

    .fanza-product .fanza-product__banner-link {
        min-height: 54px;
        padding: 10px 32px;
        font-size: .9rem;
    }

    .fanza-product .fanza-product__banner-arrow {
        right: 9px;
    }
}

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