@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-button {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  padding: 20px 24px;
  box-sizing: border-box;

  background: #f4a261;
  color: #ffffff !important;

  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;

  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.fanza-button:hover {
  background: #ee8f44;
  color: #ffffff !important;
  text-decoration: none !important;

  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/************************************
** FANZA初回300円OFFクーポン
** コンパクト版
************************************/
.emcp-v5-box {
  position: relative;
  max-width: 820px;
  margin: 18px auto;
  padding: 12px 18px 14px;
  overflow: hidden;
  box-sizing: border-box;
  text-align: center;

  background:
    radial-gradient(
      circle at 10% 18%,
      #ffd867 0 4px,
      transparent 5px
    ),
    radial-gradient(
      circle at 90% 84%,
      #ffd867 0 4px,
      transparent 5px
    ),
    linear-gradient(
      120deg,
      #fff8da 0%,
      #fffdf5 45%,
      #fff0ef 100%
    );

  border: 1px dashed #f2a328;
  border-radius: 14px;
}

.emcp-v5-box::before,
.emcp-v5-box::after {
  position: absolute;
  color: #ffc12c;
  font-size: 15px;
  line-height: 1;
  content: "✦";
}

.emcp-v5-box::before {
  top: 10px;
  left: 18px;
}

.emcp-v5-box::after {
  right: 18px;
  bottom: 10px;
}

.emcp-v5-lead {
  margin: 0 0 1px;
  color: #f36d22;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.emcp-v5-text {
  margin: 0 0 8px;
  color: #222;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.emcp-v5-text strong {
  display: block;
  margin: 0;
  color: #ff3d55;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.05;
}

.emcp-v5-button {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 540px;
  min-height: 50px;

  margin: 0 auto;
  padding: 8px 20px;

  box-sizing: border-box;

  color: #111 !important;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;

  background: linear-gradient(#ffc939, #ffb700);

  border: 1px solid #e39b00;
  border-radius: 999px;

  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.65),
    0 3px 0 #d58d00,
    0 5px 10px rgba(0,0,0,.08);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.emcp-v5-button:hover {
  color: #111 !important;
  text-decoration: none !important;
  transform: translateY(1px);

  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.65),
    0 2px 0 #d58d00,
    0 3px 7px rgba(0,0,0,.08);
}

.emcp-v5-button::before {
  content: "";
  position: absolute;

  left: 16px;

  width: 16px;
  height: 16px;

  background: #ffffff;
  border-radius: 2px;

  transform: rotate(-35deg);
}

.emcp-v5-button::after {
  content: "";

  position: absolute;

  right: 16px;

  width: 9px;
  height: 9px;

  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;

  transform: rotate(45deg);
}

.emcp-v5-button-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 2;
}

.emcp-v5-note {
  margin: 7px 0 0;
  color: #666666;
  font-size: 11px;
  line-height: 1.3;
}

@media screen and (max-width: 480px) {
  .emcp-v5-box {
    margin: 16px auto;
    padding: 11px 10px 13px;
  }

  .emcp-v5-lead {
    font-size: 13px;
  }

  .emcp-v5-text {
    margin-bottom: 7px;
    font-size: 15px;
  }

  .emcp-v5-text strong {
    font-size: 25px;
  }

  .emcp-v5-button {
    min-height: 48px;
    padding: 8px 38px;
    font-size: 15px;
  }

  .emcp-v5-button::before {
    left: 15px;
    width: 14px;
    height: 14px;
  }

  .emcp-v5-button::after {
    right: 16px;
    width: 8px;
    height: 8px;
  }

  .emcp-v5-note {
    margin-top: 6px;
    font-size: 10px;
  }
}
/************************************
** スマートフォン対応
************************************/
@media screen and (max-width: 480px) {
  .fanza-button {
    margin: 16px auto;
    padding: 17px 18px;

    font-size: 19px;
    border-radius: 12px;
  }

  .emcp-v5-box {
    margin: 20px auto;
    padding: 14px 12px 16px;
  }

  .emcp-v5-box::before {
    top: 10px;
    left: 14px;
  }

  .emcp-v5-box::after {
    right: 14px;
    bottom: 10px;
  }

  .emcp-v5-lead {
    font-size: 14px;
  }

  .emcp-v5-text {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .emcp-v5-text strong {
    font-size: 28px;
  }

  .emcp-v5-button {
    min-height: 54px;
    padding: 9px 42px;

    font-size: 16px;
  }

  .emcp-v5-button::before {
    left: 17px;

    width: 15px;
    height: 15px;
  }

  .emcp-v5-button::after {
    right: 18px;

    width: 9px;
    height: 9px;
  }

  .emcp-v5-note {
    margin-top: 8px;
    font-size: 11px;
  }
}
/************************************
** サイドバー共通
************************************/
.sidebar {
  font-size: 14px;
}

.sidebar .widget {
  margin-bottom: 28px;
}

/************************************
** サイドバー見出し
************************************/
.sidebar .widget-title {
  margin: 0 0 14px;
  padding: 13px 12px;

  background: #ef6bd9;
  color: #111111;

  border: none;
  border-radius: 0;

  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

/************************************
** 新着・人気記事一覧
************************************/
.sidebar .new-entry-card,
.sidebar .popular-entry-card {
  display: flex;
  align-items: flex-start;

  margin-bottom: 10px;
  padding: 0;

  background: transparent;
  border: none;
  box-shadow: none;
}

.sidebar .new-entry-card-thumb,
.sidebar .popular-entry-card-thumb {
  flex: 0 0 84px;
  width: 84px;
  margin-right: 8px;
}

.sidebar .new-entry-card-thumb img,
.sidebar .popular-entry-card-thumb img {
  display: block;
  width: 84px;
  height: 58px;

  object-fit: cover;
  border-radius: 0;
}

.sidebar .new-entry-card-content,
.sidebar .popular-entry-card-content {
  flex: 1;
  min-width: 0;
}

.sidebar .new-entry-card-title,
.sidebar .popular-entry-card-title {
  margin: 0;

  color: #222222;

  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.sidebar .new-entry-card:hover,
.sidebar .popular-entry-card:hover {
  background: #fff7fd;
}

.sidebar .new-entry-card:hover .new-entry-card-title,
.sidebar .popular-entry-card:hover .popular-entry-card-title {
  color: #e24dc5;
}

/************************************
** 人気記事の順位
************************************/
.sidebar .popular-entry-card {
  position: relative;
}

.sidebar .popular-entry-card .card-thumb::before {
  z-index: 2;

  min-width: 22px;
  height: 22px;
  padding: 0 4px;

  color: #ffffff;
  font-size: 12px;
  line-height: 22px;
  text-align: center;

  background: #555555;
  border-radius: 0;
}

.sidebar .popular-entry-card:nth-child(1) .card-thumb::before {
  background: #c7a000;
}

.sidebar .popular-entry-card:nth-child(2) .card-thumb::before {
  background: #777777;
}

.sidebar .popular-entry-card:nth-child(3) .card-thumb::before {
  background: #b06d3a;
}

/************************************
** 閲覧数
************************************/
.sidebar .popular-entry-card .post-date,
.sidebar .popular-entry-card .view-count {
  margin-top: 3px;

  color: #666666;

  font-size: 11px;
  line-height: 1.3;
}

/************************************
** タグクラウド
************************************/
.sidebar .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;

  padding: 10px;

  background: #ffffff;
}

.sidebar .tagcloud a {
  display: inline-block;

  margin: 0;
  padding: 4px 8px;

  color: #222222 !important;

  font-size: 12px !important;
  line-height: 1.3;
  text-decoration: none !important;

  background: #ffffff;
  border: 1px solid #ef9bdf;
  border-radius: 0;
}

.sidebar .tagcloud a::before {
  margin-right: 3px;
  content: "◆";

  color: #222222;
  font-size: 8px;
}

.sidebar .tagcloud a:hover {
  color: #ffffff !important;
  background: #ef6bd9;
  border-color: #ef6bd9;
}

/************************************
** スマホ
************************************/
@media screen and (max-width: 834px) {
  .sidebar .widget-title {
    font-size: 17px;
  }

  .sidebar .new-entry-card-thumb,
  .sidebar .popular-entry-card-thumb {
    flex-basis: 80px;
    width: 80px;
  }

  .sidebar .new-entry-card-thumb img,
  .sidebar .popular-entry-card-thumb img {
    width: 80px;
    height: 56px;
  }
}
/************************************
** サイドバー完成版
************************************/

/* サイドバー全体 */
.sidebar {
  font-size: 14px;
}

.sidebar .widget {
  margin: 0 0 28px;
  padding: 0;
  background: #ffffff;
  border: none;
}

/* 見出し */
.sidebar .widget-title,
.sidebar h2.widget-title,
.sidebar h3.widget-title {
  margin: 0 0 14px;
  padding: 13px 12px;

  background: #ef6bd9;
  color: #111111;

  border: none;
  border-radius: 0;

  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

/************************************
** 新着記事・人気記事
************************************/

/* 一覧の外枠を消す */
.sidebar .new-entry-cards,
.sidebar .popular-entry-cards,
.sidebar .widget-entry-cards,
.sidebar .entry-cards {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

/* 各記事カード */
.sidebar .new-entry-card,
.sidebar .popular-entry-card,
.sidebar .widget-entry-card,
.sidebar .entry-card {
  position: relative;

  display: flex !important;
  align-items: flex-start;

  width: 100%;
  min-height: 58px;

  margin: 0 0 10px;
  padding: 0;

  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
}

/* 記事同士の区切り線を消す */
.sidebar .new-entry-card::after,
.sidebar .popular-entry-card::after,
.sidebar .widget-entry-card::after {
  display: none;
}

/* サムネイル部分 */
.sidebar .new-entry-card-thumb,
.sidebar .popular-entry-card-thumb,
.sidebar .widget-entry-card-thumb,
.sidebar .card-thumb {
  position: relative;

  flex: 0 0 86px;
  width: 86px;
  min-width: 86px;

  margin: 0 8px 0 0;
  padding: 0;
}

/* サムネイル画像 */
.sidebar .new-entry-card-thumb img,
.sidebar .popular-entry-card-thumb img,
.sidebar .widget-entry-card-thumb img,
.sidebar .card-thumb img {
  display: block;

  width: 86px !important;
  height: 58px !important;

  margin: 0;
  padding: 0;

  object-fit: cover;
  border: none;
  border-radius: 0;
}

/* 記事情報部分 */
.sidebar .new-entry-card-content,
.sidebar .popular-entry-card-content,
.sidebar .widget-entry-card-content,
.sidebar .card-content {
  flex: 1;
  min-width: 0;

  margin: 0;
  padding: 0;
}

/* 記事タイトル */
.sidebar .new-entry-card-title,
.sidebar .popular-entry-card-title,
.sidebar .widget-entry-card-title,
.sidebar .card-title {
  margin: 0;
  padding: 0;

  color: #222222;

  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;

  text-decoration: none;
}

/* ホバー時 */
.sidebar .new-entry-card:hover,
.sidebar .popular-entry-card:hover,
.sidebar .widget-entry-card:hover {
  background: #fff6fd;
}

.sidebar .new-entry-card:hover .new-entry-card-title,
.sidebar .popular-entry-card:hover .popular-entry-card-title,
.sidebar .widget-entry-card:hover .widget-entry-card-title,
.sidebar .entry-card:hover .card-title {
  color: #d84fc0;
}

/* 日付・カテゴリー・説明文を非表示 */
.sidebar .post-date,
.sidebar .entry-card-meta,
.sidebar .new-entry-card-date,
.sidebar .popular-entry-card-date,
.sidebar .widget-entry-card-date,
.sidebar .cat-label,
.sidebar .entry-card-snippet,
.sidebar .new-entry-card-snippet,
.sidebar .popular-entry-card-snippet {
  display: none !important;
}

/************************************
** 人気記事の順位番号
************************************/
.sidebar .popular-entry-card {
  counter-increment: sidebar-ranking;
}

.sidebar .popular-entry-cards {
  counter-reset: sidebar-ranking;
}

.sidebar .popular-entry-card-thumb::before,
.sidebar .popular-entry-card .card-thumb::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  color: #ffffff;
  background: #555555;

  font-size: 12px;
  font-weight: 700;
  line-height: 1;

  content: counter(sidebar-ranking);
}

/* 1位 */
.sidebar .popular-entry-card:nth-child(1)
.popular-entry-card-thumb::before,
.sidebar .popular-entry-card:nth-child(1)
.card-thumb::before {
  background: #c89f00;
}

/* 2位 */
.sidebar .popular-entry-card:nth-child(2)
.popular-entry-card-thumb::before,
.sidebar .popular-entry-card:nth-child(2)
.card-thumb::before {
  background: #777777;
}

/* 3位 */
.sidebar .popular-entry-card:nth-child(3)
.popular-entry-card-thumb::before,
.sidebar .popular-entry-card:nth-child(3)
.card-thumb::before {
  background: #b26d3b;
}

/* PV数 */
.sidebar .view-count,
.sidebar .popular-entry-card-view-count {
  display: block !important;

  margin: 3px 0 0;

  color: #666666;

  font-size: 11px;
  font-style: italic;
  line-height: 1.2;
}

/************************************
** タグクラウド
************************************/
.sidebar .tagcloud,
.sidebar .tag-cloud-link {
  box-sizing: border-box;
}

.sidebar .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;

  margin: 0;
  padding: 10px;

  background: #ffffff;
}

.sidebar .tagcloud a,
.sidebar a.tag-cloud-link {
  display: inline-block;

  margin: 0;
  padding: 4px 7px;

  color: #222222 !important;
  background: #ffffff;

  border: 1px solid #ef9bdf;
  border-radius: 0;

  font-size: 12px !important;
  line-height: 1.3;
  text-decoration: none !important;
}

.sidebar .tagcloud a::before,
.sidebar a.tag-cloud-link::before {
  margin-right: 3px;

  color: #222222;
  font-size: 9px;

  content: "◆";
}

.sidebar .tagcloud a:hover,
.sidebar a.tag-cloud-link:hover {
  color: #ffffff !important;
  background: #ef6bd9;
  border-color: #ef6bd9;
}

/************************************
** スマホ対応
************************************/
@media screen and (max-width: 834px) {
  .sidebar .widget-title,
  .sidebar h2.widget-title,
  .sidebar h3.widget-title {
    font-size: 17px;
  }

  .sidebar .new-entry-card-thumb,
  .sidebar .popular-entry-card-thumb,
  .sidebar .widget-entry-card-thumb,
  .sidebar .card-thumb {
    flex-basis: 80px;
    width: 80px;
    min-width: 80px;
  }

  .sidebar .new-entry-card-thumb img,
  .sidebar .popular-entry-card-thumb img,
  .sidebar .widget-entry-card-thumb img,
  .sidebar .card-thumb img {
    width: 80px !important;
    height: 55px !important;
  }

  .sidebar .new-entry-card-title,
  .sidebar .popular-entry-card-title,
  .sidebar .widget-entry-card-title,
  .sidebar .card-title {
    font-size: 13px;
  }
}
/* エロ同人＋ FAQデザイン */
.custom-faq {
  margin: 20px 0;
  border: 1px solid #f2c28b;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.custom-faq + .custom-faq {
  margin-top: 16px;
}

.custom-faq summary {
  position: relative;
  padding: 16px 48px 16px 54px;
  background: #fff7ed;
  font-weight: 700;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
}

.custom-faq summary::-webkit-details-marker {
  display: none;
}

.custom-faq summary::before {
  content: "Q";
  position: absolute;
  top: 14px;
  left: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f28c28;
  color: #fff;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.custom-faq summary::after {
  content: "＋";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: #d96b00;
  font-size: 22px;
  font-weight: 700;
}

.custom-faq[open] summary::after {
  content: "－";
}

.custom-faq-answer {
  position: relative;
  padding: 18px 18px 18px 54px;
  border-top: 1px solid #f2c28b;
  background: #fff;
  line-height: 1.9;
}

.custom-faq-answer::before {
  content: "A";
  position: absolute;
  top: 17px;
  left: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #555;
  color: #fff;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.custom-faq-answer p {
  margin: 0;
}

@media screen and (max-width: 480px) {
  .custom-faq summary {
    padding: 14px 42px 14px 50px;
  }

  .custom-faq-answer {
    padding: 16px 14px 16px 50px;
  }
}
/* FANZAセールバナー */
.erodojinplus-fanza-sale {
    width: 100%;
    margin: 24px 0;
    text-align: center;
}

.erodojinplus-fanza-sale ins,
.erodojinplus-fanza-sale iframe,
.erodojinplus-fanza-sale img {
    margin-left: auto !important;
    margin-right: auto !important;
}