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

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Oswald:wght@400;500;600&display=swap');

/************************************************************
** 「男を磨いて美女を抱く」 ミニマル・ダーク（洗練版）
** ------------------------------------------------------
** マットな黒 × オフホワイト × ごく控えめな真鍮色の一本線。
** 光彩・金グラデ・装飾過多を排し、大人の男の静かな質感。
** 元に戻す: style.css.bak-gaudy-20260710（旧・派手版） / style.css.bak-20260710（初期）
************************************************************/

:root {
  --bd-bg:       #101113;   /* マットな黒 */
  --bd-bg2:      #141518;
  --bd-surface:  #16171b;   /* カード面 */
  --bd-surface2: #1c1d22;
  --bd-border:   #26272d;   /* ヘアライン罫 */
  --bd-text:     #e7e7ea;   /* 本文 */
  --bd-head:     #f4f4f6;   /* 見出し（ほぼ白） */
  --bd-muted:    #8b8d95;   /* 補助テキスト */
  --bd-accent:   #c2a15c;   /* 真鍮（マット・控えめ） */
  --bd-accent-d: #9c8248;
  --bd-jp: "Noto Sans JP", -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --bd-en: "Oswald", var(--bd-jp);
}

/* ========== 下地（フラット・光彩なし） ========== */
html, body {
  background: var(--bd-bg) !important;
  color: var(--bd-text);
  font-family: var(--bd-jp);
  -webkit-font-smoothing: antialiased;
  letter-spacing: .01em;
}
body { background: var(--bd-bg) !important; }
#container, #wrap, #main, #content, .content-in, #main-container,
#sidebar, #sidebar-scroll, .sidebar {
  background: transparent !important;
  box-shadow: none !important;
}
::selection { background: rgba(194,161,92,.28); color: #fff; }

/* ========== ヘッダー（静かなヒーロー） ========== */
#header-container {
  background: var(--bd-bg) !important;
  border-bottom: 1px solid var(--bd-border);
}
#header-in.header-in { padding: 34px 20px 30px !important; }

/* 上部の小さなラベル（キャッチフレーズ枠） */
.tagline {
  color: var(--bd-muted) !important;
  font-family: var(--bd-en);
  letter-spacing: .38em;
  text-transform: uppercase;
  font-size: 12px !important;
  font-weight: 500;
  text-align: center;
  margin-bottom: 14px;
}

/* サイト名：フラットなオフホワイト（グラデ・グロー無し） */
.logo-header .site-name-text,
.site-name-text {
  font-family: var(--bd-jp) !important;
  font-weight: 900 !important;
  font-size: clamp(28px, 5vw, 54px) !important;
  line-height: 1.16 !important;
  letter-spacing: .08em;
  color: var(--bd-head) !important;
  -webkit-text-fill-color: var(--bd-head) !important;
  background: none !important;
  text-shadow: none !important;
  display: inline-block;
  padding: 2px 0;
}
.logo-header a.site-name-text-link,
a.site-name-text-link { text-decoration: none !important; }

/* サイト名の上：短い真鍮の一本線 */
.logo-header::before {
  content: "";
  display: block;
  width: 38px; height: 2px;
  margin: 0 auto 16px;
  background: var(--bd-accent);
}
/* サイト名の下：スローガン（静かなグレー） */
.logo-header::after {
  content: "鍛えろ。整えろ。惚れさせろ。";
  display: block;
  margin-top: 14px;
  color: var(--bd-muted);
  font-family: var(--bd-jp);
  font-weight: 500;
  font-size: clamp(12px, 1.5vw, 14px);
  letter-spacing: .28em;
  text-align: center;
}

/* ========== グローバルナビ ========== */
#navi {
  background: var(--bd-bg) !important;
  border-top: 1px solid var(--bd-border);
  border-bottom: 1px solid var(--bd-border);
}
#navi .navi-in > .menu-header > li > a,
#navi ul li a {
  color: var(--bd-text) !important;
  font-family: var(--bd-jp);
  font-weight: 500 !important;
  letter-spacing: .12em;
  font-size: 14px !important;
  transition: color .2s;
}
#navi .navi-in > .menu-header > li { position: relative; }
#navi .navi-in > .menu-header > li > a::after {
  content: "";
  position: absolute; left: 50%; right: 50%; bottom: 12px; height: 1px;
  background: var(--bd-accent);
  transition: left .25s ease, right .25s ease;
}
#navi .navi-in > .menu-header > li:hover > a,
#navi ul li a:hover { color: #fff !important; background: transparent !important; }
#navi .navi-in > .menu-header > li:hover > a::after { left: 22%; right: 22%; }

/* ========== カード / 記事 ========== */
.entry-card, .related-entry-card, #main .article,
.a-wrap, .card, .no-entry-card, article.post {
  background: var(--bd-surface) !important;
  border: 1px solid var(--bd-border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transition: border-color .2s, transform .15s;
}
.a-wrap:hover, .entry-card:hover {
  border-color: #3a3b42 !important;
  transform: translateY(-2px);
}
#main .article, #main .no-entry, .no-post {
  background: var(--bd-surface) !important;
  border: 1px solid var(--bd-border) !important;
  border-radius: 10px !important;
  padding: 44px 40px !important;
  box-shadow: none !important;
}
.entry-card-title, .card-title, .a-wrap:hover .entry-card-title {
  color: var(--bd-head) !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
}

/* アーカイブ/ページ見出し */
#main h1, #main h2, .entry-title, .article h1, .article h2,
.page-title, .archive-title, .no-entry h2, .no-post-title {
  color: var(--bd-head) !important;
  font-weight: 900 !important;
  letter-spacing: .03em;
}
.no-entry, .no-post, #main p { color: var(--bd-text) !important; }

/* 投稿タイトル */
.article .entry-title, h1.entry-title {
  font-size: clamp(24px, 3.4vw, 34px) !important;
  line-height: 1.4 !important;
}

/* ========== 記事内の見出し ========== */
.entry-content h2, .article h2 {
  background: none !important;
  color: var(--bd-head) !important;
  border: none !important;
  border-bottom: 1px solid var(--bd-border) !important;
  border-left: 3px solid var(--bd-accent) !important;
  border-radius: 0 !important;
  padding: 6px 0 10px 16px !important;
  margin-top: 2.4em !important;
  font-weight: 800 !important;
  letter-spacing: .02em;
  box-shadow: none !important;
}
.entry-content h3, .article h3 {
  background: none !important;
  color: var(--bd-head) !important;
  border: none !important;
  border-left: 2px solid var(--bd-accent-d) !important;
  border-radius: 0 !important;
  padding: 2px 0 3px 12px !important;
  margin-top: 1.8em !important;
  font-weight: 700 !important;
}
.entry-content h4, .article h4 {
  color: var(--bd-head) !important;
  border: none !important;
  padding-left: 0 !important;
  font-weight: 700 !important;
}
.entry-content, .article { line-height: 1.95 !important; }
.entry-content strong, .article strong {
  color: #fff;
  font-weight: 700;
}
.entry-content blockquote, .article blockquote {
  background: var(--bd-bg2) !important;
  border: 1px solid var(--bd-border) !important;
  border-left: 3px solid var(--bd-accent) !important;
  color: var(--bd-muted) !important;
  border-radius: 0 6px 6px 0 !important;
}
.entry-content hr { border-color: var(--bd-border) !important; }
.entry-content ul li, .entry-content ol li { margin: .4em 0; }

/* 目次（TOC） */
.toc, #toc-container, .toc-widget-box {
  background: var(--bd-surface) !important;
  border: 1px solid var(--bd-border) !important;
  border-radius: 8px !important;
  color: var(--bd-text) !important;
}
.toc .toc-title, .toc-title {
  color: var(--bd-head) !important;
  font-weight: 700 !important;
  letter-spacing: .04em;
}
.toc a { color: var(--bd-text) !important; }
.toc a:hover { color: var(--bd-accent) !important; }
.toc-checkbox ~ .toc-content .toc-list a { color: var(--bd-text) !important; }

/* リンク */
#content a { color: var(--bd-accent); text-decoration: none; }
#content a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ========== サイドバー ウィジェット ========== */
#sidebar .widget {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid var(--bd-border) !important;
  border-radius: 0 !important;
  padding: 22px 2px 6px !important;
  box-shadow: none !important;
}
#sidebar .widget-sidebar-title,
#sidebar .widget h2, #sidebar .widget h3, #sidebar .widget h4,
#sidebar .widget .wp-block-heading {
  color: var(--bd-muted) !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 14px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: var(--bd-jp);
  box-shadow: none !important;
}
#sidebar .widget-sidebar-title::before,
#sidebar .widget h2::before, #sidebar .widget h3::before,
#sidebar .widget .wp-block-heading::before { display: none !important; }
#sidebar .widget a { color: var(--bd-text) !important; }
#sidebar .widget a:hover { color: var(--bd-accent) !important; }
#sidebar .widget li { border-color: var(--bd-border) !important; }

/* ========== 検索フォーム / ボタン（アウトライン基調） ========== */
.wp-block-search__input, input[type="text"], input[type="search"], input.search-field {
  background: #0c0d0f !important;
  border: 1px solid var(--bd-border) !important;
  color: var(--bd-text) !important;
  border-radius: 6px !important;
}
input::placeholder { color: #64666d !important; }
.wp-block-search__button, button, .btn, input[type="submit"], .search-submit {
  background: transparent !important;
  color: var(--bd-text) !important;
  border: 1px solid var(--bd-accent) !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  letter-spacing: .1em;
  box-shadow: none !important;
  transition: background .2s, color .2s;
}
.wp-block-search__button:hover, button:hover, .search-submit:hover {
  background: var(--bd-accent) !important;
  color: #14140f !important;
}
.wp-block-search__button:active, button:active { transform: translateY(1px); }

/* ========== フッター ========== */
#footer {
  background: var(--bd-bg) !important;
  border-top: 1px solid var(--bd-border);
  color: var(--bd-muted) !important;
}
#footer a, #footer .site-name-text { color: var(--bd-text) !important; }
#footer .site-name-text {
  -webkit-text-fill-color: initial; color: var(--bd-head) !important;
  background: none; font-weight: 800; letter-spacing: .04em;
}
.footer-bottom a:hover { color: var(--bd-accent) !important; }

/* ========== モバイルメニュー ========== */
.mobile-menu-buttons .menu-button, .navi-menu-content, .search-menu-content, .sidebar-menu-content {
  background: var(--bd-bg2) !important;
  color: var(--bd-text) !important;
}
.mobile-menu-buttons .fa { color: var(--bd-text) !important; }

/* ========== レスポンシブ ========== */
@media screen and (max-width: 1023px){
  #header-in.header-in { padding: 28px 16px 24px !important; }
}
@media screen and (max-width: 834px){
  .site-name-text { font-size: clamp(24px, 7.5vw, 40px) !important; }
  #main .article, #main .no-entry { padding: 30px 22px !important; }
}
@media screen and (max-width: 480px){
  .tagline { letter-spacing: .26em; font-size: 11px !important; }
  .logo-header::after { letter-spacing: .2em; }
}
