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

:root {
  --ts-color-bg: #f6f7f8;
  --ts-color-surface: #fff;
  --ts-color-ink: #09213a;
  --ts-color-ink-soft: #172b3d;
  --ts-color-muted: #5d6b7a;
  --ts-color-red: #c94f4f;
  --ts-color-gold: #a77f3e;
  --ts-color-album: #6e7f8f;
  --ts-color-artist: #7b8d6f;
  --ts-color-genre: #8f3a32;
  --ts-color-neutral: #a39e9d;
  --ts-color-mobile-bg: #f7dbab;
  --ts-color-mobile-bg-hover: #eccf9f;
  --ts-color-focus: #ff4f79;
  --ts-color-deep: #111827;
  --ts-shadow-subtle: 0 8px 22px rgba(9, 33, 58, .045);
  --ts-shadow-hover: 0 12px 28px rgba(9, 33, 58, .075);
  --ts-border-soft: rgba(9, 33, 58, .1);
}

#sidebar .widget > h2,
#sidebar .widget > h3,
#sidebar .widget-title,
.sidebar .widget > h2,
.sidebar .widget > h3,
.sidebar .widget-title {
  color: var(--ts-color-surface) !important;
}

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

/************************************
** ポップアップ／レコメンド用スタイル
************************************/
.rating-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ts-color-surface);
  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;
}

/************************************
** カスタムフロントページ用レイアウト
**********************************/
/* ── カテゴリバッジ（cat-label） ── */
/* カテゴリバッジ（cat-label）共通スタイル */
.cat-label {
  display: inline-block;
  background: var(--ts-color-ink); /* Default background color */
  color: var(--ts-color-surface);
  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: var(--ts-color-gold) !important; } /* 楽曲レビュー */
.cat-label-91 { background: var(--ts-color-album) !important; } /* アルバムレビュー */
.cat-label-81 { background: var(--ts-color-artist) !important; } /* アーティスト解説 */
.cat-label-1002 { background: var(--ts-color-genre) !important; } /* ジャンル解説 */
.cat-label-default { background: var(--ts-color-neutral) !important; } /* その他 */

/************************************
** レスポンシブ：Tablet / Desktop
************************************/
/* 以下、ウィジェット内カスタム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);
}

/* スマホ時の微調整 */
@media screen and (max-width: 768px) {
  .mobile-menu-buttons {
    background-color: #fff;
  }
  header.site-header {
    display: none !important;
  }
  .header-in {
    display: none !important;
  }
  .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;
}

/* ランキングは遅延読み込みの途中状態でも画像枠を隠さない。 */
#sidebar .popular-entry-card-thumb,
#sidebar .popular-entry-card-thumb img,
.sidebar .popular-entry-card-thumb,
.sidebar .popular-entry-card-thumb img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#sidebar .popular-entry-card-thumb img,
.sidebar .popular-entry-card-thumb img {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover;
}

/************************************
** TuneSight editorial shell polish
************************************/
body {
  background: #f4f6f8;
  color: var(--ts-color-ink-soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.body,
body.public-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif !important;
}

#container {
  background:
    linear-gradient(180deg, #fff 0, #fff 150px, #f4f6f8 480px);
}

.wrap {
  max-width: 1180px;
}

#header-container.header-container {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(17, 37, 54, .1);
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 6px 18px rgba(9, 33, 58, .035);
}

#header.header {
  background: transparent !important;
}

#header .google-auto-placed,
#header ins.adsbygoogle-noablate {
  display: none !important;
}

#header-in.header-in {
  min-height: 88px;
  padding: 14px clamp(16px, 3vw, 28px);
}

.site-name-text-link,
.logo-text {
  color: var(--ts-color-ink) !important;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

#navi.navi {
  border-top: 1px solid rgba(17, 37, 54, .06);
  background: #fff !important;
}

#navi-in.navi-in {
  padding: 0 clamp(14px, 3vw, 26px);
}

#navi .menu-top {
  display: flex;
  align-items: center;
  gap: 3px;
}

#navi .menu-top > li > a {
  min-height: 46px;
  padding: 0 14px;
  color: #24384a;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: 0;
  transition: background .18s ease, color .18s ease;
}

#navi .menu-top > li > a:hover,
#navi .menu-top > li.current-menu-item > a,
#navi .menu-top > li.current-menu-ancestor > a {
  background: rgba(176, 139, 79, .1);
  color: var(--ts-color-ink);
}

#content.content {
  padding-bottom: 48px;
}

#content-in.content-in {
  gap: 26px;
}

@media screen and (min-width: 1024px) {
  body:not(.no-sidebar) #content-in.content-in {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  body:not(.no-sidebar) #main.main {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
  }

  body:not(.no-sidebar) #sidebar.sidebar {
    width: 300px;
    flex: 0 0 300px;
  }
}

#main.main {
  border: 1px solid rgba(17, 37, 54, .07);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--ts-shadow-subtle);
}

.page #main.main,
.single #main.main,
.search #main.main,
.archive #main.main {
  padding: clamp(18px, 3vw, 32px);
}

#sidebar.sidebar {
  color: #24384a;
}

#sidebar .widget,
.sidebar .widget {
  margin-bottom: 18px;
  padding: 0;
  border: 1px solid rgba(17, 37, 54, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: none;
  overflow: hidden;
}

#sidebar .widget > h2,
#sidebar .widget > h3,
#sidebar .widget-title,
.sidebar .widget > h2,
.sidebar .widget > h3,
.sidebar .widget-title {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 8px 8px 0 0;
  background: #102235;
  color: #fff !important;
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .04em;
}

#sidebar .widget > :not(h2):not(h3):not(.widget-title),
.sidebar .widget > :not(h2):not(h3):not(.widget-title) {
  margin-right: 14px;
  margin-left: 14px;
}

#sidebar .widget > :last-child,
.sidebar .widget > :last-child {
  margin-bottom: 14px;
}

#sidebar a,
.sidebar a {
  color: #20364a;
  text-decoration: none;
}

#sidebar a:hover,
.sidebar a:hover {
  color: var(--ts-color-red);
}

#sidebar .widget-entry-card-link,
.sidebar .widget-entry-card-link {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(17, 37, 54, .08);
}

#sidebar .widget-entry-card-link:last-child,
.sidebar .widget-entry-card-link:last-child {
  border-bottom: 0;
}

#sidebar .widget-entry-card-thumb,
.sidebar .widget-entry-card-thumb {
  width: 72px !important;
  height: 72px !important;
  overflow: hidden;
  border-radius: 8px;
  background: #edf1f5;
}

#sidebar .widget-entry-card-thumb img,
.sidebar .widget-entry-card-thumb img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 8px;
  object-fit: cover;
}

#sidebar .widget-entry-card-title,
.sidebar .widget-entry-card-title {
  color: #112536;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.48;
}

#sidebar .widget-entry-card-date,
.sidebar .widget-entry-card-date {
  color: #7b8794;
  font-size: .72rem;
  font-weight: 700;
}

#sidebar .tagcloud,
.sidebar .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#sidebar .tagcloud a,
.sidebar .tagcloud a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(17, 37, 54, .1);
  border-radius: 999px;
  background: #f8fafc;
  color: #34495c;
  font-size: .78rem !important;
  font-weight: 800;
}

#sidebar .search-box,
.sidebar .search-box {
  border-radius: 8px;
  border: 1px solid rgba(17, 37, 54, .12);
  box-shadow: none;
}

#footer.footer-container {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: #0f1b25;
  color: rgba(255, 255, 255, .78);
}

#footer-in.footer-in {
  padding: 34px clamp(16px, 3vw, 28px) 26px;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-bottom: 24px;
}

#footer .widget-title,
#footer h2,
#footer h3 {
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .04em;
}

#footer a {
  color: rgba(255, 255, 255, .84);
  text-decoration: none;
}

#footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom-logo img {
  max-width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .92;
}

.footer-bottom-content {
  text-align: right;
}

.navi-footer-in > .menu-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.navi-footer-in > .menu-footer a {
  font-size: .82rem;
  font-weight: 800;
}

.source-org.copyright {
  margin-top: 10px;
  color: rgba(255, 255, 255, .56);
  font-size: .76rem;
}

@media (prefers-reduced-motion: no-preference) {
  #main.main,
  #sidebar.sidebar,
  .ts-front-featured,
  #post-cards,
  .ts-search-page {
    animation: ts-soft-enter .34s ease both;
  }
}

@keyframes ts-soft-enter {
  from {
    opacity: .01;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media screen and (max-width: 1023px) {
  #main.main {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #content-in.content-in {
    display: block;
  }

  #sidebar.sidebar {
    margin-top: 24px;
  }
}

@media screen and (max-width: 768px) {
  #container {
    background: #f4f6f8;
  }

  .mobile-menu-buttons {
    border-color: rgba(17, 37, 54, .08);
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(17, 37, 54, .08);
  }

  .search-menu-button.menu-button,
  .navi-menu-button.menu-button,
  .logo-menu-button.menu-button,
  .mobile-menu-buttons {
    background: #fff !important;
    color: var(--ts-color-ink-soft);
  }

  .mobile-header-menu-buttons .menu-button,
  .mobile-footer-menu-buttons .menu-button {
    min-height: 54px;
  }

  .mobile-header-menu-buttons .menu-caption {
    display: none !important;
  }

  .mobile-header-menu-buttons .menu-icon {
    font-size: 22px;
    line-height: 1;
  }

  .mobile-header-menu-buttons .menu-button {
    width: 58px;
  }

  .logo-menu-button.menu-button,
  .logo-menu-button.menu-button .menu-button-in {
    background: #fff !important;
  }

  .logo-menu-button.menu-button {
    overflow: visible;
  }

  .logo-menu-button.menu-button .menu-button-in {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .logo-menu-button img {
    width: auto;
    max-height: 39px;
    object-fit: contain;
  }

  .page #main.main,
  .single #main.main,
  .search #main.main,
  .archive #main.main {
    padding: 18px 0;
  }

  #sidebar .widget,
  .sidebar .widget {
    margin-right: 12px;
    margin-left: 12px;
  }

  .footer-widgets {
    display: none !important;
  }

  .footer-widgets-mobile,
  .footer-bottom {
    display: block;
  }

  .footer-bottom-content {
    margin-top: 18px;
    text-align: left;
  }

  .navi-footer-in > .menu-footer {
    justify-content: flex-start;
  }
}

body.page-id-14 {
  background: #f6f7f8;
}

body.page-id-14 #content-in.content-in {
  display: block;
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
}

body.page-id-14 #main.main {
  width: 100%;
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(17, 37, 54, .08);
  box-shadow: none;
}

body.page-id-14 #sidebar.sidebar,
body.page-id-14 .date-tags,
body.page-id-14 .post-date,
body.page-id-14 .post-update,
body.page-id-14 .sns-share,
body.page-id-14 .sns-follow,
body.page-id-14 .under-entry-content,
body.page-id-14 .entry-footer,
body.page-id-14 .breadcrumb,
body.page-id-14 .ts-rmobile-promo,
body.page-id-14 .wp-block-embed-tunesight {
  display: none !important;
}

body.page-id-14 .article-header,
body.page-id-14 .entry-header {
  margin: 0 0 28px;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(17, 37, 54, .1);
}

body.page-id-14 .entry-title {
  margin: 0;
  color: var(--ts-color-ink);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

body.page-id-14 .entry-content {
  max-width: 720px;
  margin: 0 !important;
  padding: 0 !important;
  color: #24384a;
  font-size: 1rem;
  line-height: 1.95;
}

body.page-id-14 .entry-content > p {
  margin: 0 0 1.45em;
}

body.page-id-14 .entry-content > p:first-child {
  margin-bottom: 1.1em;
  color: var(--ts-color-ink);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 850;
  line-height: 1.35;
}

body.page-id-14 .entry-content > p:nth-child(2) {
  display: none;
}

body.page-id-14 .entry-content hr {
  width: 48px;
  height: 2px;
  margin: 2.6em 0 1.5em;
  border: 0;
  background: var(--ts-color-gold);
}

body.page-id-14 .entry-content figure.wp-block-image,
body.page-id-14 .entry-content figure.wp-block-image + p {
  max-width: 560px;
}

body.page-id-14 .entry-content figure.wp-block-image {
  margin: .7em 0 1.1em;
}

body.page-id-14 .entry-content figure.wp-block-image img {
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  body.page-id-14 #main.main {
    margin: 0;
    padding: 28px 22px 34px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  body.page-id-14 .entry-title {
    font-size: 2.35rem;
  }

  body.page-id-14 .entry-content {
    max-width: none;
    font-size: .98rem;
    line-height: 1.92;
  }

  body.page-id-14 .entry-content > p:first-child {
    font-size: 1.35rem;
  }
}
