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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.sidebar-artwork-btn-wrap {
  margin: 20px 0;
}

.sidebar-artwork-btn {
  display: block;
  padding: 20px 16px;
  border-radius: 14px;
  text-decoration: none;
  background: linear-gradient(180deg, #fff8ef 0%, #f7e7c8 100%);
  border: 1px solid #d9b36a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-align: center;
}

.sidebar-artwork-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  background: linear-gradient(180deg, #fffaf2 0%, #f4dfb2 100%);
}

.sidebar-artwork-btn__sub {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: #8b6a2b;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.sidebar-artwork-btn__main {
  display: block;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  color: #4a2e12;
  margin-bottom: 6px;
}

.sidebar-artwork-btn__text {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #6a5230;
}

@media (max-width: 767px) {
  .sidebar-artwork-btn {
    padding: 18px 14px;
    border-radius: 12px;
  }

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* ---------------------------------
   Mystery answer highlight
--------------------------------- */
.myth-card {
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}

.myth-card.is-current {
  position: relative;
  display: block;
  box-shadow: 0 0 0 3px #111, 0 14px 30px rgba(0, 0, 0, .14);
  transform: scale(1.02);
  z-index: 2;
}

.myth-card.is-current::before {
  content: "Answer";
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 999px;
  pointer-events: none;
}

.myth-card.is-current .entry-card {
  border-radius: inherit;
}

/* 少し目立たせる */
.myth-card.is-current .entry-card-title {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* スマホで拡大しすぎないよう少し控えめに */
@media screen and (max-width: 767px) {
  .myth-card.is-current {
    transform: scale(1.01);
  }

  .myth-card.is-current::before {
    top: 10px;
    left: 10px;
    font-size: 11px;
    padding: 7px 9px;
  }
}

.entry-content .archive-card-3col .widget-entry-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.entry-content .archive-card-3col .widget-entry-cards .a-wrap {
  width: calc((100% - 48px) / 3);
  box-sizing: border-box;
  margin: 0;
}

.entry-content .archive-card-3col .widget-entry-card {
  height: 100%;
}

@media screen and (max-width: 834px) {
  .entry-content .archive-card-3col .widget-entry-cards .a-wrap {
    width: calc((100% - 24px) / 2);
  }
}

@media screen and (max-width: 480px) {
  .entry-content .archive-card-3col .widget-entry-cards {
    gap: 16px;
  }

  .entry-content .archive-card-3col .widget-entry-cards .a-wrap {
    width: 100%;
  }
}
.goddess-profile th {
  width: 30%;
  font-weight: bold;
}

/* 記事本文内のシンプルブログカードをリデザイン */
.entry-content .simpleblogcard_wrap {
  margin: 24px 0;
}

.entry-content .simpleblogcard_wrap > a {
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.entry-content .simpleblogcard_wrap > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  border-color: #c8c8c8;
  text-decoration: none !important;
}

/* 画像ブロック */
.entry-content .simpleblogcard_wrap figure[class^="simpleblogcard_img_block"] {
  flex: 0 0 180px;
  max-width: 180px;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
}

/* inline style を上書き */
.entry-content .simpleblogcard_wrap figure[class^="simpleblogcard_img_block"] img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: 12px !important;
}

/* テキスト側 */
.entry-content .simpleblogcard_wrap .simpleblogcard_inner {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.entry-content .simpleblogcard_wrap div[class^="simpleblogcard_border"] {
  width: 100%;
}

/* タイトル */
.entry-content .simpleblogcard_wrap div[class^="simpleblogcard_title"] {
  font-size: 1.12em;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #111;
}

/* 説明文 */
.entry-content .simpleblogcard_wrap div[class^="simpleblogcard_description"] {
  font-size: 0.95em;
  line-height: 1.8;
  color: #555;
}

/* 右端CTA風 */
.entry-content .simpleblogcard_wrap > a::after {
  content: "View Series";
  align-self: center;
  margin-left: auto;
  padding: 10px 16px;
  border: 1px solid #111;
  border-radius: 999px;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #111;
  white-space: nowrap;
}

/* clear:both の不要スペース対策 */
.entry-content .simpleblogcard_wrap > a > div[style*="clear: both"] {
  display: none;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .entry-content .simpleblogcard_wrap > a {
    display: block;
    padding: 14px;
  }

  .entry-content .simpleblogcard_wrap figure[class^="simpleblogcard_img_block"] {
    max-width: 100%;
    margin-bottom: 14px;
  }

  .entry-content .simpleblogcard_wrap figure[class^="simpleblogcard_img_block"] img {
    width: 100% !important;
    height: auto !important;
  }

  .entry-content .simpleblogcard_wrap > a::after {
    display: inline-block;
    margin-top: 12px;
    margin-left: 0;
  }

  .entry-content .simpleblogcard_wrap div[class^="simpleblogcard_title"] {
    font-size: 1.02em;
  }
}
.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-width: 180px;
  padding: 14px 22px;
  border: 1px solid #222;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
	margin-left:auto;
	margin-right:auto;
}

.more-link::after {
  content: "→";
  font-size: 14px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.more-link:hover {
  background: #fff;
  color: #222;
  border-color: #222;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.more-link:hover::after {
  transform: translateX(3px);
}

.more-link:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.18);
}

@media screen and (max-width: 767px) {
  .more-link {
    min-width: 160px;
    padding: 12px 18px;
    font-size: 13px;
  }
}
.more-link-wrap {
  text-align: center;
  margin: 32px 0 10px;
}

/* =========================
   Cocoon TOC Full Width
========================= */
.entry-content .toc,
.entry-content .toc-content,
.entry-content .toc-widget-box,
.entry-content #toc_container {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* 目次全体 */
.entry-content .toc,
.entry-content #toc_container {
  margin: 40px 0;
  padding: 28px 32px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* 目次タイトル */
.entry-content .toc-title,
.entry-content #toc_container .toc_title {
  display: block;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #111827;
}

/* リスト全体 */
.entry-content .toc-list,
.entry-content #toc_container ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 各項目 */
.entry-content .toc-list li,
.entry-content #toc_container li {
  margin: 0;
  padding: 0;
}

/* リンク */
.entry-content .toc-list a,
.entry-content #toc_container a {
  display: block;
  padding: 14px 0 14px 22px;
  position: relative;
  border-bottom: 1px solid #edf2f7;
  color: #1f2937;
  text-decoration: none;
  line-height: 1.7;
  transition: color 0.25s ease, transform 0.25s ease;
}

/* 最後の線を消す */
.entry-content .toc-list li:last-child > a,
.entry-content #toc_container li:last-child > a {
  border-bottom: none;
}

/* 左のアクセント */
.entry-content .toc-list a::before,
.entry-content #toc_container a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #111827;
  transform: translateY(-50%);
  transition: transform 0.25s ease, background 0.25s ease;
}

/* hover */
.entry-content .toc-list a:hover,
.entry-content #toc_container a:hover {
  color: #000;
  transform: translateX(4px);
}

.entry-content .toc-list a:hover::before,
.entry-content #toc_container a:hover::before {
  background: #2563eb;
  transform: translateY(-50%) scale(1.2);
}

/* 第2階層 */
.entry-content .toc-list ul,
.entry-content #toc_container ul ul {
  margin-top: 4px;
  margin-left: 18px;
  padding-left: 14px;
  border-left: 1px solid #e5e7eb;
}

.entry-content .toc-list ul a,
.entry-content #toc_container ul ul a {
  padding: 10px 0 10px 18px;
  font-size: 0.95em;
  color: #4b5563;
}

/* モバイル */
@media screen and (max-width: 767px) {
  .entry-content .toc,
  .entry-content #toc_container {
    margin: 28px 0;
    padding: 20px 18px;
    border-radius: 16px;
  }

  .entry-content .toc-title,
  .entry-content #toc_container .toc_title {
    font-size: 18px;
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .entry-content .toc-list a,
  .entry-content #toc_container a {
    padding: 12px 0 12px 18px;
    line-height: 1.6;
  }
}
/* Compare専用：列幅均等 */
.compare-table table {
  width: 100%;
  table-layout: fixed;
}

/* 4列均等 */
.compare-table th,
.compare-table td {
  width: 25% !important;
}

/* Cocoonのth固定幅を無効化 */
.compare-table th {
  width: auto !important;
}

/* 長文対策 */
.compare-table td {
  word-break: break-word;
}