@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Template: cocoon-master
Version: 1.1.3
*/

/************************************
** モバイルメニューボタン背景色
************************************/
.search-menu-button.menu-button,
.navi-menu-button.menu-button,
.logo-menu-button.menu-button,
.mobile-menu-buttons {
  background: #f7dbab; /* 背景色を統一 */
  color: #112536;
}
.search-menu-button.menu-button:hover,
.navi-menu-button.menu-button:hover,
.logo-menu-button.menu-button:hover {
  background: #eccf9f; /* ホバー時に少し暗めの色に変更 */
  color: #112536;
}

/************************************
** ポップアップ／レコメンド用スタイル
************************************/
.rating-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  padding: 16px 24px;
  z-index: 1000;
  display: inline-block;
  width: fit-content;
  transition: opacity 0.3s;
}
.rating-popup.hidden {
  display: none !important;
}
.rating-box p {
  margin-bottom: 8px;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
}
@media screen and (max-width: 480px) {
  .rating-box p {
    font-size: 12px;
    white-space: normal;
  }
}
.stars span {
  font-size: 20px;
  cursor: pointer;
  color: #ccc;
  margin: 0 2px;
  transition: color 0.2s;
}
.stars span:hover,
.stars span.active {
  color: gold;
}
.article-rating {
  margin-top: 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

/************************************
** ループ内二段タイトル用
************************************/
.loop-subtitle {
  display: block;
  font-size: 0.85em;
  color: #666;
  margin-top: 0.2em;
}

/************************************
** カスタムフロントページ用レイアウト
**********************************/
/* ── ヒーローセクション ── */
.hero {
  background: url('/path/to/hero-bg.jpg') center/cover no-repeat;
  padding: 3em 1em;
  text-align: center;
  color: #fff;
}
.hero-inner h1 {
  font-size: 1.5rem;
  margin-bottom: .5em;
}
.hero-inner p {
  font-size: 0.9rem;
  margin-bottom: 1em;
}
.btn-primary {
  background: #0073aa;
  color: #fff;
  padding: .6em 1.2em;
  border-radius: 4px;
  text-decoration: none;
}
.btn-primary:hover {
  background: #005f8d;
}

/* ── フィルタタブ ── */
.filter-tabs ul {
  display: flex;
  overflow-x: auto;
  padding: 0;
  margin: 1em 0;
  list-style: none;
  justify-content: flex-start;
}
.filter-tabs li {
  flex: 0 0 auto;
  margin-right: .5em;
  padding: .5em 1em;
  background: #eee;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
}
.filter-tabs li.active {
  background: #0073aa;
  color: #fff;
}

/* ── グリッドレイアウト ── */
.post-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1em;
  margin-bottom: 2em;
}

/* ── カード ── */
.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform .2s;
  padding: 1em;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ── サムネイル ── */
.card-thumbnail,
.post-thumbnail {
  /* position: relative; ← 削除 */
  aspect-ratio: 1/1;
  overflow: hidden;
}
.card-thumbnail img,
.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}


/* ── カテゴリバッジ（cat-label） ── */
/* カテゴリバッジ（cat-label）共通スタイル */
.cat-label {
  display: inline-block;
  background: #1C2A49; /* Default background color */
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 9999px;
  margin: 0.4em auto 0 auto;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  max-width: 80%;
}

/* カテゴリIDごとの色分け (おしゃれなアクセントカラー) */
.cat-label-2  { background: #B08B4F !important; } /* ヴィンテージマスタード */
.cat-label-91 { background: #6E7F8F !important; } /* ダスティーブルー */
.cat-label-81 { background: #7B8D6F !important; } /* オリーブグリーン */
.cat-label-default { background: #A39E9D !important; } /* セージグレー */

/* ── カード本文テキスト ── */
.card-artist {
  font-size: 1rem;
  font-weight: 600;
  margin: .5em .6em 0;
}
.card-subtitle {
  font-size: .85rem;
  color: #666;
  margin: .2em .6em;
}
.card-title {
  font-size: 16px;
  margin: 5px 0 5px; /* 上の余白を縮小 */
}
.card-title a {
  color: #111;
  text-decoration: none;
}
.card-date {
  display: block;
  font-size: 0.65em;
  color: #bbb;
  margin: .5em .6em;
}




/************************************
** レスポンシブ：Tablet / Desktop
************************************/
/* Tablet (≥768px) */
@media screen and (min-width: 768px) {
  .hero {
    padding: 4em 2em;
  }
  .hero-inner {
    max-width: 720px;
    margin: 0 auto;
  }
  .hero-inner h1 {
    font-size: 1.8rem;
  }
  .filter-tabs ul {
    justify-content: center;
  }
  .post-cards {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5em;
  }
  .card {
    padding: 1.5em;
  }
  .card > .cat-label {
    margin: 1em 0;
  }
  .card-artist {
    font-size: 1.05rem;
  }
  .card-subtitle {
    font-size: .9rem;
  }
}

/* Desktop (≥1024px) */
@media screen and (min-width: 1024px) {
  .hero-inner {
    max-width: 960px;
  }
  .post-cards {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
  }
  .card {
    padding: 2em;
  }
  .card-artist {
    font-size: 1.1rem;
  }
  .card-subtitle {
    font-size: 1rem;
  }
}


/************************************
** 「もっと見る」ボタンスタイル
************************************/
.load-more-button {
  display: block;
  margin: 2em auto;
  padding: 8px 24px;
  background-color: transparent; /* 背景なし */
  color: #112536; /* ネイビー */
  border: none; /* 枠線なし */
  border-radius: 0;
  font-size: 0.9rem; /* 小さめ */
  font-weight: bold;
  text-align: center;
  text-transform: lowercase; /* 「more」など小文字統一 */
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-button:hover {
  text-decoration: underline;
}

/* 以下、ウィジェット内カスタムCSSの追加 */

/* モバイルメニューのボタンスタイル調整 */
.mobile-menu-buttons {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.search-menu-button.menu-button,
.navi-menu-button.menu-button,
.logo-menu-button.menu-button {
  padding: 10px 15px;
  font-size: 1rem;
}

/* sp-header-links 表示設定 */
.sp-header-links {
  display: flex !important;
  justify-content: space-around;
  background-color: #f7dbab; /* ★新しい色 */
  padding: 10px 0;
  color: #fff;
}

/* 本文余白リセット */
.entry-content {
  margin: 0 !important;
  padding: 0 !important;
}


/* モバイルメニュー背景調整 */
.mobile-menu {
  background-color: #f7dbab;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* カード・サムネイル・タブ・スライダー系スタイル */
.card-slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.card-slider .card {
  scroll-snap-align: start;
  min-width: 250px;
  margin-right: 1em;
  flex-shrink: 0;
}

.tab-content {
  padding: 1em;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* スマホ時の微調整 */
@media screen and (max-width: 768px) {
  .mobile-menu-buttons {
    background-color: #fff;
  }
  .card {
    padding: 0.8em;
  }
  .filter-tabs li {
    padding: 0.4em 0.8em;
    font-size: 0.9rem;
  }
  .hero-inner h1 {
    font-size: 1.5rem;
  }
  .hero-inner p {
    font-size: 0.9rem;
  }
  header.site-header {
    display: none !important;
  }
  .header-in {
    display: none !important;
  }
  .post-cards {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.6em;
  }
  .card-artist {
    font-size: 0.7rem; /* 少し小さく */
  }
  .card-subtitle {
    font-size: 0.6rem; /* 少し小さく */
  }
  .cat-label {
    font-size: 2.5vw; /* バッジ内の文字をさらに小さく */
    padding: 3px 6px; /* バッジのパディングも調整 */
  }
}

/* ── Cocoon親テーマの.cat-label上書き解除とマージン調整 ── */
.cat-label {
  position: static !important;
  top: auto !important;
  left: auto !important;
  border: none !important;
  margin-bottom: 0.1em !important;
}

/* ── PC用ヘッダーロゴ画像強制縮小 ── */
@media screen and (min-width: 1024px) {
  .site-logo-image {
    width: 220px;   /* ロゴ幅を220pxに固定 */
    height: auto;   /* 縦横比はそのまま */
    object-fit: contain; /* 画像のバランスを崩さず表示 */
  }
}
/* ── SPヘッダー：ロゴリンクにも背景色適用 ── */
.logo-menu-button.menu-button,
.logo-menu-button.menu-button .menu-button-in {
  background: #f7dbab;
}
.entry-content img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.header-container,
#header,
#navi {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ナビゲーション下に少しだけ間を空ける（自然な区切り） */
#navi {
  padding-bottom: 5px !important;
}
/* ── グローバルナビ下の無駄な余白を完全に削除 ── */
.menu-top {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ── コンテンツエリア（#main, #content, .content）のトップ余白もリセット ── */
#main,
#content,
.content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ヘッダーの背景色を微調整 */
.header-container {
  background-color: #F7EFE5 !important;
}

/************************************
** 記事ページ洗練 第1段階：本文・見出し・画像・目次
************************************/
.single .article {
  color: #112536;
}

.single .entry-header {
  margin-bottom: 22px;
}

.single .entry-title {
  margin: .15em 0 .55em;
  color: #112536;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: 0;
}

.single .date-tags,
.single .entry-categories,
.single .entry-tags,
.single .post-date,
.single .post-update,
.single .author-info {
  color: #68798a;
  font-size: .86rem;
  line-height: 1.6;
}

.single .eye-catch {
  margin: 20px 0 34px;
}

.single .eye-catch img {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(17, 37, 54, .08);
}

.single .entry-content {
  max-width: 760px;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 4px !important;
  padding-left: 4px !important;
}

.single .entry-content p,
.single .entry-content li {
  color: #263b4c;
  font-size: 1.02rem;
  line-height: 1.95;
  letter-spacing: 0;
}

.single .entry-content p {
  margin: 1.05em 0 1.35em;
}

.single .entry-content ul,
.single .entry-content ol {
  margin: 1.15em 0 1.55em;
  padding-left: 1.4em;
}

.single .entry-content li + li {
  margin-top: .42em;
}

.single .entry-content a {
  color: #0b5c8e;
  text-decoration: underline;
  text-decoration-color: rgba(11, 92, 142, .34);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  transition: color .18s ease, text-decoration-color .18s ease;
}

.single .entry-content a:hover {
  color: #D85B5B;
  text-decoration-color: rgba(216, 91, 91, .5);
}

.single .entry-content strong {
  color: #0d2538;
  font-weight: 800;
}

.single .entry-content h2 {
  margin: 2.8em 0 1em;
  padding: 0 0 .48em .78em;
  border-left: 4px solid #B08B4F;
  border-bottom: 1px solid rgba(17, 37, 54, .12);
  background: transparent;
  color: #112536;
  font-size: clamp(1.42rem, 2.4vw, 1.8rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
}

.single .entry-content h3 {
  margin: 2.25em 0 .85em;
  padding-bottom: .42em;
  border-bottom: 1px solid rgba(176, 139, 79, .35);
  color: #112536;
  font-size: clamp(1.18rem, 1.8vw, 1.42rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0;
}

.single .entry-content h4 {
  margin: 1.9em 0 .7em;
  color: #263b4c;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0;
}

.single .entry-content blockquote {
  margin: 2em auto;
  padding: 18px 22px;
  border-left: 4px solid #6E7F8F;
  border-radius: 8px;
  background: #f7f9fb;
  color: #455869;
}

.single .entry-content blockquote p {
  margin: .45em 0;
}

.single .entry-content figure,
.single .entry-content .wp-block-image {
  margin: 2.1em auto;
}

.single .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.single .entry-content figcaption,
.single .wp-caption-text {
  margin-top: .65em;
  color: #758394;
  font-size: .82rem;
  line-height: 1.6;
  text-align: center;
}

.single .entry-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.single .entry-content th,
.single .entry-content td {
  padding: 11px 12px;
  border-color: rgba(17, 37, 54, .12);
  line-height: 1.65;
}

.single .entry-content th {
  background: #f7f9fb;
  color: #112536;
}

.single .entry-content .toc {
  max-width: 680px;
  margin: 32px auto 38px;
  padding: 18px 20px;
  border: 1px solid rgba(17, 37, 54, .12);
  border-radius: 8px;
  background: #fbfcfd;
  box-shadow: 0 10px 24px rgba(17, 37, 54, .05);
}

.single .toc-title {
  color: #112536;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: 0;
}

.single .toc-content {
  margin-top: 10px;
}

.single .toc-content a {
  color: #33495c;
  line-height: 1.65;
  text-decoration: none;
}

.single .toc-content a:hover {
  color: #D85B5B;
}

/************************************
** 記事ページ洗練 第2段階：関連記事・ブログカード・サイドバー・SP
************************************/
.single .blogcard-wrap.a-wrap,
.single .related-entry-card-wrap.a-wrap,
.single .entry-card-wrap.a-wrap {
  border-radius: 8px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.single .blogcard,
.single .related-entry-card,
.single .entry-card {
  overflow: hidden;
  border: 1px solid rgba(17, 37, 54, .1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 37, 54, .05);
}

.single .blogcard-wrap.a-wrap:hover,
.single .related-entry-card-wrap.a-wrap:hover,
.single .entry-card-wrap.a-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 37, 54, .08);
}

.single .blogcard-title,
.single .related-entry-card-title,
.single .entry-card-title {
  color: #112536;
  font-weight: 800;
  line-height: 1.55;
}

.single .blogcard-snippet,
.single .related-entry-card-snippet,
.single .entry-card-snippet {
  color: #68798a;
  line-height: 1.65;
}

.single .related-entry-heading,
.single .comment-title,
.single .pager-post-navi-heading {
  margin-top: 44px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(17, 37, 54, .12);
  color: #112536;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.45;
}

.single .pager-post-navi a {
  border-radius: 8px;
}

.single .pager-post-navi a:hover {
  background: #f7f9fb;
}

.single #sidebar .widget,
.single .sidebar .widget {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(17, 37, 54, .1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 37, 54, .045);
}

.single #sidebar .widget_media_image,
.single #sidebar .widget_custom_html,
.single #sidebar .widget_text,
.single #sidebar .widget[class*="banner"],
.single #sidebar .ad-area,
.single #sidebar .ad-wrap,
.single .sidebar .widget_media_image,
.single .sidebar .widget_custom_html,
.single .sidebar .widget_text,
.single .sidebar .widget[class*="banner"],
.single .sidebar .ad-area,
.single .sidebar .ad-wrap {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.single #sidebar .widget_media_image img,
.single #sidebar .widget_custom_html img,
.single #sidebar .widget_text img,
.single .sidebar .widget_media_image img,
.single .sidebar .widget_custom_html img,
.single .sidebar .widget_text img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.single #sidebar .widget_custom_html,
.single #sidebar .widget_text,
.single .sidebar .widget_custom_html,
.single .sidebar .widget_text {
  color: inherit;
}

.single #sidebar .widget_custom_html a,
.single #sidebar .widget_text a,
.single .sidebar .widget_custom_html a,
.single .sidebar .widget_text a {
  color: inherit;
}

.single #sidebar [style*="background"],
.single .sidebar [style*="background"] {
  text-shadow: 0 1px 8px rgba(0, 0, 0, .36);
}

.single #sidebar .widget-title,
.single .sidebar .widget-title {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(176, 139, 79, .28);
  color: #112536;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.45;
}

.single .sns-share,
.single .sns-follow {
  margin-top: 30px;
}

.single .breadcrumb,
.single .breadcrumbs {
  color: #7a8795;
  font-size: .78rem;
}

.single .breadcrumb a,
.single .breadcrumbs a {
  color: #596a7a;
  text-decoration: none;
}

.single .breadcrumb a:hover,
.single .breadcrumbs a:hover {
  color: #D85B5B;
}

.single .cat-label {
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.25;
}

.single .entry-card-thumb img,
.single .related-entry-card-thumb img,
.single .blogcard-thumbnail img {
  transition: transform .24s ease;
}

.single .entry-card-wrap.a-wrap:hover img,
.single .related-entry-card-wrap.a-wrap:hover img,
.single .blogcard-wrap.a-wrap:hover img {
  transform: scale(1.025);
}

.single .sns-share-buttons a,
.single .sns-follow-buttons a {
  border-radius: 8px;
  transition: transform .18s ease, opacity .18s ease;
}

.single .sns-share-buttons a:hover,
.single .sns-follow-buttons a:hover {
  transform: translateY(-1px);
  opacity: .9;
}

.single .author-box {
  border: 1px solid rgba(17, 37, 54, .1);
  border-radius: 8px;
  background: #fbfcfd;
}

.single .author-name {
  color: #112536;
  font-weight: 800;
}

@media screen and (max-width: 768px) {
  .single .entry-header {
    margin-bottom: 16px;
  }

  .single .entry-title {
    font-size: 1.52rem;
    line-height: 1.42;
  }

  .single .eye-catch {
    margin: 14px 0 24px;
  }

  .single .eye-catch img,
  .single .entry-content img {
    border-radius: 6px;
  }

  .single .entry-content {
    max-width: 100%;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .single .entry-content p,
  .single .entry-content li {
    font-size: .98rem;
    line-height: 1.88;
  }

  .single .entry-content h2 {
    margin-top: 2.35em;
    padding-left: .65em;
    font-size: 1.26rem;
  }

  .single .entry-content h3 {
    margin-top: 2em;
    font-size: 1.08rem;
  }

  .single .entry-content .toc {
    margin: 24px auto 30px;
    padding: 15px 16px;
  }

  .single .entry-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .single .related-entry-heading,
  .single .comment-title,
  .single .pager-post-navi-heading {
    margin-top: 34px;
    font-size: 1.04rem;
  }

  .single #sidebar .widget,
  .single .sidebar .widget {
    padding: 14px;
    box-shadow: none;
  }

  .single #sidebar .widget_media_image,
  .single #sidebar .widget_custom_html,
  .single #sidebar .widget_text,
  .single #sidebar .widget[class*="banner"],
  .single #sidebar .ad-area,
  .single #sidebar .ad-wrap,
  .single .sidebar .widget_media_image,
  .single .sidebar .widget_custom_html,
  .single .sidebar .widget_text,
  .single .sidebar .widget[class*="banner"],
  .single .sidebar .ad-area,
  .single .sidebar .ad-wrap {
    padding: 0;
  }

  .single .sns-share,
  .single .sns-follow {
    margin-top: 24px;
  }
}
