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

/************************************
** 子テーマ用のスタイルを書く
************************************/

/*R18チェックボックス制御*/
.age-gate__remember-wrapper { display: none !important; }

/*トップ一覧の表示調整*/
/*#info-list.info-list{padding: 0px;}
#info-list.info-list .info-list-item {padding: 7px 0;}
#info-list.info-list .info-list-item .info-list-item-content {margin-bottom: 0px;}
.home.blog #main.main{padding: 6px 6px 6px 8px;}*/

/*#list .entry-card-wrap {
    width: 32.5% !important;
    padding: 8px !important;
    margin: 2.6px !important;
}*/


/*.entry-card-wrap {
  display: block;
}
*/

.related-entry-card-title, .entry-card-title {
    font-size: 16px;
    line-height: 1.4;
}

/*投稿ページ　広告意思表示*/
.post-koukoku{
    text-shadow: 0 0 5px white;
    padding: 0.3em 0.5em;
    background: -webkit-repeating-linear-gradient(-45deg, #cce7ff78, #cce7ff78 3px, #ffffff00 4px, #ffffff00 7px);
    background: repeating-linear-gradient(-45deg, #cce7ff78, #cce7ff78 3px, #ffffff00 4px, #ffffff00 8px);
    font-size: 14px;
}

/*投稿ページ　キー抽出*/
h3.post-keyword{
    padding: 0;
    border-left: none;
    font-weight: 400;
    line-height: 1.8;
}

.post-keyword span{
    padding: 5px 10px;
    border: 1px solid #0095d9;
    margin: 5px;
    font-size: 14px;
    display: inline-block;
}

/*投稿ページ　ジャンル*/
.post-specs{
margin-bottom: 0.2em!important;
}

/*投稿ページ　CTAボタン*/
.post-cta1 {
    background: #0095d9;
    text-align: center;
    font-weight: 700;
}

/*CTA FANZAで続きを読む*/
.post-cta1 a{
    display:block;
    padding:16px;
    color:#fff;
    text-decoration:none;
}
/*内容の見出し　「作品内容」*/
.post-content-title{
    margin: 0;
    font-weight: 700;
}

/*投稿ページ　無料みれない？*/
.contents1{
    position: relative;
    background: #dfefff;
    box-shadow: 0px 0px 0px 5px #dfefff;
    border: dashed 2px white;
    padding: 0.5em 0.5em 0.2em 1em;
    color: #454545;
    font-weight: 700;
}
.contents1:after{position: absolute;
  content: '';
  left: -7px;
  top: -7px;
  border-width: 0 0 15px 15px;
  border-style: solid;
  border-color: #fff #fff #a8d4ff;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

/*投稿編集　アイキャッチ表示*/
.editor-post-featured-image__preview .editor-post-featured-image__preview-image {
    aspect-ratio: auto!important;
}

/*フッター調整*/
.footer-bottom {
    margin-top: 0px!important;
}

/*モバイル＞モバイルボタンのバグ対応*/
.tagline{display: none;}

/*レイアウト微調整*/
main.main, div.sidebar {
        padding: 10px;
    }
.content {
    margin-top: 0px;
}
.pagination-next{
    display: none;
}
.pagination {
    margin: 8px 0 16px 0;
}
.logo-text {
    padding: 20px 0;
}

h2.cnt1 {
    background: #fff;
    font-size: 18px;
    font-weight: 400;
    padding: 1em;
    border-left: none;
    line-height: 1.8;
}

h2.contents1{
    border-left: none !important;
    font-size: 16px;
    line-height: 1.8;
    padding: 0.5em 0.5em 0.2em 1em;
}

h3.cnt1{
    line-height: 1.8;
    font-weight: 400;
    font-size: 16px;
    border-left: 4px solid #0095d9;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px移譲*/
@media screen and (min-width: 1024px){

}

/*1023px以下*/
@media screen and (max-width: 1023px){
  main.main, div.sidebar {
        margin: 10px;
    }
}

/*834px以下*/
@media screen and (max-width: 834px){
  main.main, div.sidebar {
        margin: 10px;
    }
}

/*480px以下*/
@media screen and (max-width: 480px){
  main.main, div.sidebar {
        margin: 10px;
    }
}




















/* =========================================
   タグページ
========================================= */

.maker-tag-image {
    text-align: center;
    margin-bottom: 30px;
}

.maker-tag-contents-list {
    margin-bottom: 30px;
}


/* =========================================
   FANZA動画 投稿ページ
========================================= */


/* -----------------------------------------
   セクション共通
----------------------------------------- */

.post-overview-section,
.post-info-section,
.post-sample-section,
.post-genre-section,
.post-related-section {
    width: 100%;
    margin: 26px 0;
    padding: 0;
    box-sizing: border-box;
}


/* -----------------------------------------
   見出し
----------------------------------------- */

.post-overview-section > .cnt1,
.post-info-section > .cnt1,
.post-sample-section > .cnt1,
.post-genre-section > .cnt1,
.post-related-section > .cnt1 {
    margin: 0 0 14px;
    padding: 0 0 7px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #ddd;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}


/* -----------------------------------------
   画像上の導入文
----------------------------------------- */

.post-overview-lead {
    margin: 12px 0 14px;
    padding: 0;
    line-height: 1.8;
    overflow-wrap: anywhere;
}


/* -----------------------------------------
   メイン画像
----------------------------------------- */

.post-main-image {
    width: 100%;
    margin: 14px 0 24px;
    padding: 0;
    text-align: center;
}

.post-main-image a {
    display: inline-block;
    max-width: 100%;
}

.post-main-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}


/* -----------------------------------------
   作品概要
----------------------------------------- */

.post-overview {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    line-height: 1.85;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.post-overview p {
    margin: 0 0 0.8em;
}

.post-overview p:empty {
    display: none;
}


/* 作品概要末尾の注意書き */

.post-overview p:last-child {
    margin-top: 14px;
    margin-bottom: 0;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.8;
    color: #666;
    background: #f8fafb;
    border: 1px solid #e3e7ea;
    border-left: 3px solid #f39800;
    border-radius: 4px;
}

.post-overview p:last-child a {
    color: #1778b9;
    font-weight: 700;
    text-decoration: underline;
}

.post-overview p:last-child a:hover {
    opacity: 0.85;
}


/* -----------------------------------------
   作品情報
----------------------------------------- */

.post-info-card {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
    overflow: visible;
}

.post-info-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
}

.post-info-label {
    font-weight: 600;
    line-height: 1.7;
}

.post-info-value {
    min-width: 0;
    line-height: 1.7;
    overflow-wrap: anywhere;
    word-break: normal;
}

.post-info-value a {
    overflow-wrap: anywhere;
}

.post-actress-row:has(.post-info-value:empty) {
    display: none;
}


/* メーカー・価格・発売日など */

.post-specs {
    margin: 0 !important;
    padding: 8px 0 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    line-height: 1.9;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: normal;
}


/* -----------------------------------------
   FANZA CTA
----------------------------------------- */

.post-cta {
    width: 100%;
    margin: 18px 0 22px;
    padding: 0;
    text-align: center;
}

.post-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    box-sizing: border-box;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    letter-spacing: 0;
    background: linear-gradient(
        180deg,
        #ff9d3b 0%,
        #f07c0a 100%
    );
    border: 1px solid #db6e06;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: opacity 0.2s ease;
    overflow-wrap: anywhere;
}

.post-cta a::after {
    content: "›";
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.post-cta a:hover {
    opacity: 0.9;
    text-decoration: none;
}

.post-cta-bottom {
    margin-top: 20px;
    margin-bottom: 10px;
}


/* -----------------------------------------
   サンプル画像
----------------------------------------- */

.post-sample-viewer {
    width: 100%;
    margin: 0;
    padding: 0;
}

.post-sample-main {
    display: block;
    width: 100%;
    min-height: 0;
    height: auto;
    margin: 0 0 8px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
}

.post-sample-main-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 680px;
    margin: 0 auto;
    object-fit: contain;
}


/* サンプルサムネイル */

.post-sample-thumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 4px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.post-sample-thumb {
    display: block !important;
    flex: 0 0 96px !important;
    width: 96px !important;
    max-width: 96px !important;
    height: 72px !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
}

.post-sample-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
}

.post-sample-thumb.is-active {
    border: none !important;
}


/* サンプル画像が無い場合 */

.post-sample-section:has(
    .post-sample-main-image[src=""]
) {
    display: none;
}

.post-sample-thumb:has(img[src=""]) {
    display: none !important;
}


/* -----------------------------------------
   作品ジャンル
----------------------------------------- */

.post-genre-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;

    column-gap: 5px;
    row-gap: 7px;

    width: 100%;
    margin: 6px 0 16px;
    padding: 0;

    line-height: 1;
    font-size: 0;
}

.post-genre-links a {
    display: inline-flex;
    align-items: center;

    margin: 0 !important;

    padding: 5px 9px;
    font-size: 13px;
    line-height: 1.4;

    color: #2f5f87;
    text-decoration: none;

    background: #f7f9fb;
    border: 1px solid #dbe3e8;
    border-radius: 4px;

    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.post-genre-links a:hover {
    color: #1f4d72;
    background: #eef5fa;
    border-color: #c8d7e2;
}

.post-genre-section:has(
    .post-genre-links:empty
) {
    display: none;
}


/* -----------------------------------------
   関連作品
----------------------------------------- */

.post-related-link-box {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    line-height: 2.2;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: normal;
}

.post-related-link-box a {
    font-weight: 500;
    overflow-wrap: anywhere;
}

.post-related-section:has(
    .post-related-link-box:empty
) {
    display: none;
}


/* -----------------------------------------
   空データ
----------------------------------------- */

.post-overview:empty,
.post-specs:empty,
.post-info-value:empty,
.post-related-link-box:empty,
.post-genre-links:empty {
    display: none;
}


/* =========================================
   スマホ
========================================= */

@media screen and (max-width: 600px) {

    .post-overview-section,
    .post-info-section,
    .post-sample-section,
    .post-genre-section,
    .post-related-section {
        margin: 22px 0;
    }

    .post-overview-section > .cnt1,
    .post-info-section > .cnt1,
    .post-sample-section > .cnt1,
    .post-genre-section > .cnt1,
    .post-related-section > .cnt1 {
        margin-bottom: 11px;
        font-size: 17px;
    }

    .post-info-row {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 8px;
        padding: 7px 0;
    }

    .post-info-label {
        font-size: 0.92em;
    }

    .post-specs {
        padding-top: 7px;
    }

    .post-cta {
        margin: 20px 0 22px;
    }

    .post-cta a {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 14px;
    }

    .post-sample-main-image {
        max-height: none;
    }
}


/* 480px以下 */

@media screen and (max-width: 480px) {

    .post-sample-thumbs {
        gap: 3px !important;
    }

    .post-sample-thumb {
        flex: 0 0 70px !important;
        width: 70px !important;
        max-width: 70px !important;
        height: 52px !important;
    }

    .post-genre-links a {
        margin: 0 3px 3px 0;
        padding: 4px 8px;
        font-size: 12px;
    }

    .post-overview p:last-child {
        padding: 9px 10px;
        font-size: 11px;
    }
}

/* =====================================================
   FANZA動画 トップページ用ギャラリー
===================================================== */

.fanza-top-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px 10px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.fanza-top-card {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.fanza-top-card-image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 2 / 3;
  background: #f7f7f7;
  overflow: hidden;
  text-decoration: none;
}

.fanza-top-card-image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: contain;
}

.fanza-top-card-title {
  display: -webkit-box;
  margin: 7px 0 5px;
  overflow: hidden;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fanza-top-card-title:hover {
  text-decoration: underline;
}

.fanza-top-card-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.fanza-top-card-genres a {
  display: inline-block;
  max-width: 100%;
  padding: 3px 6px;
  border: 1px solid #ddd;
  border-radius: 3px;
  color: #555;
  font-size: 11px;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.fanza-top-card-genres a:hover {
  text-decoration: underline;
}

.fanza-top-genre-section {
  margin: 24px 0 0;
}

.fanza-top-genre-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;

  margin: 0 0 14px;
  padding: 0 0 7px;

  border-bottom: 1px solid #444;
}


/* テーマ標準のH2装飾を解除 */
.fanza-top-genre-heading > .fanza-top-genre-title {
  display: block !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-left: 0 !important;

  background: none !important;
  background-color: transparent !important;

  box-shadow: none !important;

  color: inherit !important;

  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}


/* 「もっと見る」 */
.fanza-top-genre-more {
  display: inline-block;

  margin: 0;
  padding: 0;

  font-size: 12px;
  font-weight: normal;
  line-height: 1.5;

  text-decoration: none;
}


/* ホバー時 */
.fanza-top-genre-more:hover {
  text-decoration: underline;
}

@media screen and (max-width: 834px) {
  .fanza-top-gallery {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 600px) {
  .fanza-top-gallery {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 16px 8px;
  }

  .fanza-top-card-title {
    font-size: 13px;
  }

  .fanza-top-genre-title {
    font-size: 18px;
  }
}


/* ジャンル別一覧だけPCでは6列 */
.fanza-top-gallery-genre {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* 通常ランダム一覧だけPCでは4列 */
@media screen and (min-width: 835px) {
  .fanza-top-gallery-main {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* =====================================================
   FANZA ジャンルページ
   カード画像を横長16:9枠に統一
===================================================== */

/* FANZAジャンルページ：選別した横長画像 */
#main .fanza-archive-landscape-image {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

/* FANZAジャンルページ
   横長画像へ差し替えた後のカード高さを自動に戻す */
body.tax-fanza_genre #main .entry-card-wrap,
body.tax-fanza_genre #main .entry-card {
  height: auto !important;
  min-height: 0 !important;
}


/* =====================================================
   FANZAジャンルページ
   3列を行単位で揃える
===================================================== */

body.tax-fanza_genre #main .list.ect-3-columns {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  height: auto !important;
}

/* Masonry系の位置指定を解除 */
body.tax-fanza_genre #main .list.ect-3-columns > .entry-card-wrap {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;

  width: auto !important;
  height: 100% !important;
  margin: 0 !important;
}

/* カード本体も同じ行では同じ高さ */
body.tax-fanza_genre #main .list.ect-3-columns .entry-card {
  height: 100% !important;
}