body {
  background: #080808;
  color: #f0ede8;
  font-weight: 300;
  letter-spacing: 0.02em;
}

a { color: #c9a84c; text-decoration: none; }
a:hover { opacity: 0.75; }

.site-header {
  background: rgba(8,8,8,0.95) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
}

.main-navigation a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.5);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
}
.main-navigation a:hover { color: #f0ede8; }

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  line-height: 1.15;
}

.wp-block-button__link {
  background: transparent !important;
  border: 1px solid #c9a84c !important;
  color: #c9a84c !important;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px !important;
  border-radius: 0 !important;
  transition: all 0.3s;
}
.wp-block-button__link:hover {
  background: #c9a84c !important;
  color: #080808 !important;
}

hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 60px 0;
}

.site-footer {
  background: #111111 !important;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(240,237,232,0.3);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

/* ヘッダータイトルエリア非表示 */
.entry-header,
.page-header {
  display: none;
}

/* レスポンシブ重複表示の修正 */
.desktop-only { display: block; }
.mobile-only  { display: none; }
@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only  { display: block; }
}

/* フッター上書き */
.site-footer a[href*="kadencewp"] {
  display: none !important;
}

.page-id-999 .site-header,
.page-id-999 .site-footer {
  display: none !important;
}

.page-id-4392 .site-header,
.page-id-4392 .site-footer {
  display: none !important;
}

.page-id-4392 .hero-photo {
  position: absolute !important;
  inset: 0 !important;
  background-image: url('https://clm-c.jp/wp-content/uploads/2026/06/Venezia.jpg') !important;
  background-size: cover !important;
  background-position: center 40% !important;
}

.page-id-4392 .hero {
  position: relative !important;
  height: 100vh !important;
  min-height: 640px !important;
  overflow: hidden !important;
}

.page-id-4392 .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.page-id-4392 .mp-wrap {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.page-id-4392 .hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top,
    rgba(8,8,8,0.92) 0%,
    rgba(8,8,8,0.55) 40%,
    rgba(8,8,8,0.25) 70%,
    rgba(8,8,8,0.35) 100%) !important;
  z-index: 1 !important;
}

.page-id-4392 .hero-content {
  position: relative !important;
  z-index: 2 !important;
  color: #e8e4de !important;
}

.page-id-4392 .hero-content * {
  color: inherit !important;
}

.page-id-4392 .hero-eyebrow {
  color: #c9a84c !important;
}

.page-id-4392 .hero-tagline {
  color: #c9a84c !important;
}

.page-id-4392 .hero-title {
  color: #e8e4de !important;
}

.page-id-4392 .hero-desc {
  color: rgba(232,228,222,0.75) !important;
}

.page-id-4392 .scroll-hint {
  position: absolute !important;
  z-index: 2 !important;
  color: rgba(232,228,222,0.25) !important;
}
.content-area { margin-bottom: 10px !important; }

.popup-drawer .drawer-inner { background-color: rgba(245,245,245,0.95) !important; color: #1a1a1a !important; }
.popup-drawer .drawer-inner a { color: #1a1a1a !important; }
.popup-drawer .drawer-inner .drawer-nav a:hover { color: #B59410 !important; }
.popup-drawer .drawer-header .drawer-toggle svg, .popup-drawer .drawer-header .toggle-close-bar { color: #1a1a1a !important; background-color: #1a1a1a !important; }



/* ============================================================
   Music Port — Learn記事 追加CSS（v7）
   貼り付け先：外観 → カスタマイズ → 追加CSS（中身をまるごと置き換え）

   v7での変更点：
   - フォントの読み込み方法を @import から @font-face に変更
     （WordPress側で @import が読み込まれていなかった可能性があるため）
   - まとめの上の区切り線を太く（3px→6px）
   - 導入文の直後に著者名・日付・読了時間を手動で置けるよう .mp-meta を追加
   ============================================================ */

/* ---- フォント本体（Google Fonts CDNのミラー経由で直接読み込み） ---- */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/outfit:vf@5.3.0/latin-wght-normal.woff2) format('woff2-variations');
}
@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/zen-kaku-gothic-new@5.3.0/japanese-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/zen-kaku-gothic-new@5.3.0/japanese-700-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/zen-kaku-gothic-new@5.3.0/latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Zen Kaku Gothic New';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/zen-kaku-gothic-new@5.3.0/latin-700-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/cormorant-garamond@5.3.0/latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/cormorant-garamond@5.3.0/latin-400-italic.woff2) format('woff2');
}

:root {
  --mp-ink:    #1a1a18;
  --mp-sub:    #55534d;
  --mp-faint:  #8c897f;
  --mp-line:   #e4e1d8;
  --mp-paper:  #fdfcf9;
  --mp-headline: "Outfit", "Zen Kaku Gothic New", sans-serif;
  --mp-body: "Outfit", "Zen Kaku Gothic New", sans-serif;
}

/* ---- 白背景エリア（サイト共通ヘッダー #masthead は対象外のまま） ---- */
body.single #inner-wrap,
body.single #primary,
body.single .content-container.site-container,
body.single #main,
body.single .content-wrap,
body.single .content-bg,
body.single #colophon {
  background: var(--mp-paper) !important;
  color: var(--mp-ink) !important;
}
body.single #colophon a {
  color: var(--mp-ink) !important;
}
body.single #colophon,
body.single #colophon * {
  border-color: var(--mp-line) !important;
}

/* ---- 本文カラム幅 ---- */
body.single .content-bg .entry-header,
body.single .content-bg .entry-content,
body.single .content-bg .entry-content-wrap {
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 0 !important;
  padding-bottom: 24px;
  float: none !important;
}
body.single.category-learn .content-bg .mp-nav {
  margin-top: 0 !important;
}
body.single .content-bg .entry-content-wrap,
body.single .content-bg article.entry,
body.single .content-bg .entry-content-wrap > *:first-child,
body.single #primary,
body.single #primary.content-area,
body.single #main,
body.single #main.site-main,
body.single .content-container,
body.single .content-wrap {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ---- タイトル ---- */
body.single .content-bg .entry-title,
body.single .content-bg .entry-title a {
  font-family: var(--mp-headline) !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.01em !important;
  color: var(--mp-ink) !important;
  text-align: center !important;
}

/* ---- 投稿メタ（Kadence標準）。日付などが上に出る場合はここが効く ---- */
body.single .content-bg .entry-meta,
body.single .content-bg .entry-meta * {
  font-family: var(--mp-body) !important;
  font-size: 0.85rem !important;
  color: var(--mp-faint) !important;
}
body.single .content-bg .entry-meta {
  text-align: center !important;
  padding-bottom: 18px !important;
  margin-bottom: 24px !important;
  border-bottom: 2px solid var(--mp-faint) !important;
}

/* ---- 導入文の直後に手動で置く著者・日付・読了時間の行。
       本文中で、該当の段落を「段落」ブロックにして、
       ブロック設定の「高度な設定 → 追加CSSクラス」に mp-meta と入力する ---- */
body.single .content-bg .mp-meta {
  font-family: var(--mp-body) !important;
  font-size: 0.85rem !important;
  color: var(--mp-faint) !important;
  text-align: center !important;
  padding: 16px 0 18px !important;
  margin: 8px 0 24px !important;
  border-top: 1px solid var(--mp-line) !important;
  border-bottom: 1px solid var(--mp-line) !important;
}
body.single .content-bg .mp-meta strong,
body.single .content-bg .mp-meta b {
  color: var(--mp-ink) !important;
  font-weight: 700 !important;
}

/* ---- カテゴリー・タグ表示 ---- */
body.single .content-bg .entry-taxonomies,
body.single .content-bg .cat-links,
body.single .content-bg .cat-links a {
  font-family: var(--mp-body) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--mp-sub) !important;
  text-align: center !important;
}

/* ---- 本文段落・リスト ---- */
body.single .content-bg p,
body.single .content-bg ul,
body.single .content-bg ol,
body.single .content-bg li {
  font-family: var(--mp-body) !important;
  font-size: 1.08rem !important;
  line-height: 2.1 !important;
  letter-spacing: 0.02em !important;
  color: var(--mp-ink) !important;
}

/* ---- 本文の見出し（H2 / H3） ---- */
body.single .content-bg h2 {
  font-family: var(--mp-headline) !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  line-height: 1.5 !important;
  color: var(--mp-ink) !important;
  margin: 2.6em 0 1em !important;
  padding-top: 1.6em !important;
  border-top: 1px solid var(--mp-line) !important;
}
body.single .content-bg h3 {
  font-family: var(--mp-headline) !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-size: 1.16rem !important;
  line-height: 1.5 !important;
  color: var(--mp-ink) !important;
  margin: 2.1em 0 0.8em !important;
}

/* ---- 引用 ---- */
body.single .content-bg blockquote,
body.single .content-bg blockquote p {
  font-family: var(--mp-body) !important;
  font-style: italic !important;
  font-size: 1.4rem !important;
  line-height: 1.75 !important;
  text-align: center !important;
  color: var(--mp-ink) !important;
}
body.single .content-bg blockquote {
  max-width: 580px !important;
  margin: 2.4em auto !important;
  padding: 0.2em 0 !important;
  border: none !important;
  border-left: none !important;
}
body.single .content-bg blockquote cite {
  display: block !important;
  font-family: "Outfit", sans-serif !important;
  font-style: normal !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--mp-faint) !important;
}

/* ---- リンク ---- */
body.single .content-bg .entry-content a,
body.single .content-bg .entry-content-wrap a {
  color: var(--mp-ink) !important;
  border-bottom: 1px solid var(--mp-ink) !important;
  text-decoration: none !important;
}
body.single .content-bg .entry-content a:hover {
  color: var(--mp-sub) !important;
  border-color: var(--mp-sub) !important;
}

/* ---- 画像キャプション ---- */
body.single .content-bg figcaption {
  font-family: "Outfit", sans-serif !important;
  font-size: 0.74rem !important;
  color: var(--mp-faint) !important;
  letter-spacing: 0.01em !important;
  line-height: 1.7 !important;
}

/* ---- まとめ（上の区切り線を太く）／出典・参考文献 ----
   使い方：本文の「まとめ」「出典・参考文献」をそれぞれグループブロックで囲み、
   ブロック設定の「高度な設定 → 追加CSSクラス」に mp-summary / mp-refs と入力 */
body.single .content-bg .mp-summary {
  max-width: 760px !important;
  margin: 2.6em auto 0 !important;
  padding: 28px 0 4px !important;
  border-top: 4px solid var(--mp-ink) !important;
}
body.single .content-bg .mp-refs {
  max-width: 760px !important;
  margin: 2.6em auto 0 !important;
  padding: 1.6em 0 4px !important;
  border-top: 1px solid var(--mp-line) !important;
}
body.single .content-bg .mp-summary h2,
body.single .content-bg .mp-refs h2 {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  font-size: 1.15rem !important;
}
body.single .content-bg .mp-refs ol,
body.single .content-bg .mp-refs li {
  font-size: 0.85rem !important;
  color: var(--mp-sub) !important;
}

/* ---- モバイル ---- */
@media (max-width: 640px) {
  body.single .content-bg p,
  body.single .content-bg ul,
  body.single .content-bg ol {
    font-size: 0.98rem !important;
    line-height: 1.95 !important;
  }
  body.single .content-bg h2 { font-size: 1.28rem !important; }
  body.single .content-bg h3 { font-size: 1.04rem !important; }
  body.single .content-bg blockquote { font-size: 1.18rem !important; }
}

/* ============================================================
   v8 追加分
   ============================================================ */

/* ---- Learn記事だけ、サイト共通の黒ヘッダーを非表示にする。
   代わりに、本文の先頭に白背景版のMusic Portナビ（別途ご案内するHTML）
   を差し込んで使う ---- */
body.single.category-learn #masthead {
  display: none !important;
}

/* ---- 著者ボックス（Kadence純正。実クラス名で指定） ---- */
body.single .entry-author,
body.single article .entry-author,
body.single .entry-content-wrap .entry-author {
  border-top: 1px solid var(--mp-line) !important;
  border-bottom: 1px solid var(--mp-line) !important;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
  margin-top: 2.6em !important;
}
body.single .entry-author-name,
body.single .entry-author-name a {
  font-family: var(--mp-headline) !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  color: var(--mp-ink) !important;
}
body.single .entry-author-profile,
body.single .entry-author-profile p,
body.single .entry-author-occupation {
  font-family: var(--mp-body) !important;
  color: var(--mp-ink) !important;
}

/* ---- 白背景版 Music Port ナビ（本文の先頭にカスタムHTMLブロックとして
   差し込む music-port-nav-white-snippet.html 用のスタイル） ---- */
body.single.category-learn .content-bg .mp-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: 760px !important;
  margin: 0 auto 32px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid var(--mp-line) !important;
}
body.single.category-learn .content-bg .mp-nav-logo {
  font-family: "Cormorant Garamond", serif !important;
  font-weight: 400 !important;
  font-size: 1.3rem !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  color: var(--mp-ink) !important;
  text-decoration: none !important;
  border-bottom: none !important;
}
body.single.category-learn .content-bg .mp-nav-logo-accent {
  font-family: "Cormorant Garamond", serif !important;
  color: #c9a84c !important;
  font-style: italic !important;
  font-weight: 400 !important;
  text-transform: none !important;
}
body.single.category-learn .content-bg .mp-nav-links {
  display: flex !important;
  gap: 24px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.single.category-learn nav.mp-nav a,
body.single.category-learn .content-bg .mp-nav-links a,
body.single.category-learn .content-bg .mp-nav-clmc {
  font-family: var(--mp-body) !important;
  font-weight: 400 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--mp-sub) !important;
  text-decoration: none !important;
  border-bottom: none !important;
}
body.single.category-learn nav.mp-nav a:hover {
  color: var(--mp-ink) !important;
}
body.single.category-learn .content-bg .mp-nav-clmc {
  border-left: 1px solid var(--mp-line) !important;
  padding-left: 16px !important;
}
@media (max-width: 640px) {
  body.single.category-learn .content-bg .mp-nav-clmc { display: none !important; }
  body.single.category-learn .content-bg .mp-nav-links { gap: 16px !important; }
}

/* ---- タイトル要素が出ない問題の応急処置。
   本文にH1ブロックでタイトルを書き、追加CSSクラス mp-title を付けて使う ---- */
body.single .content-bg .mp-title {
  font-family: var(--mp-headline) !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.01em !important;
  color: var(--mp-ink) !important;
  text-align: center !important;
  font-size: 1.9rem !important;
  margin: 72px 0 64px !important;
}
@media (max-width: 640px) {
  body.single .content-bg .mp-title { font-size: 1.5rem !important; }
}

/* ---- コメント欄 ---- */
body.single .comment-reply-title,
body.single .comments-title {
  font-family: var(--mp-headline) !important;
  font-weight: 700 !important;
  font-size: 1.16rem !important;
  color: var(--mp-ink) !important;
  border-top: 1px solid var(--mp-line) !important;
  padding-top: 1.6em !important;
  margin: 2.6em 0 1em !important;
}
body.single .comment-notes,
body.single .comment-form label {
  font-family: var(--mp-body) !important;
  color: var(--mp-sub) !important;
}
body.single .comment-form input[type="text"],
body.single .comment-form input[type="email"],
body.single .comment-form input[type="url"],
body.single .comment-form textarea {
  font-family: var(--mp-body) !important;
  color: var(--mp-ink) !important;
  background: var(--mp-paper) !important;
  border: 1px solid var(--mp-line) !important;
}
body.single .comment-form .form-submit input[type="submit"] {
  font-family: var(--mp-body) !important;
  color: var(--mp-paper) !important;
  background: var(--mp-ink) !important;
  border: none !important;
}