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

/************************************
** Dr.GOLF プロフェッショナルデザイン
************************************/

/* === Google Fonts === */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Playfair+Display:wght@700&display=swap");

/* === カラー変数 === */
:root {
  --navy: #0d1b2a;
  --navy-light: #1b2d45;
  --gold: #c9a96e;
  --gold-light: #d4ba8a;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --gray-light: #e8e6e1;
  --gray: #888;
  --text-main: #2c2c2c;
  --text-sub: #666;
  --font-main: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-accent: "Playfair Display", serif;
}

/* === ベース === */
body {
  font-family: var(--font-main) !important;
  color: var(--text-main);
  background-color: var(--off-white) !important;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

/* === サイト全体の背景 === */
#content {
  background-color: transparent !important;
}

/* === ヘッダー === */
.header {
  background: var(--navy) !important;
  border-bottom: 3px solid var(--gold) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-in {
  min-height: 80px;
  display: flex;
  align-items: center;
}

/* サイトタイトル */
.site-name-text,
.site-name-text a {
  color: var(--white) !important;
  font-family: var(--font-accent) !important;
  font-weight: 700 !important;
  font-size: 28px !important;
  letter-spacing: 0.08em;
  text-decoration: none !important;
}

/* サイト説明文 */
.site-name-text + .tagline,
.header .tagline,
.site-description {
  color: var(--gold-light) !important;
  font-size: 12px !important;
  letter-spacing: 0.1em;
}

/* ヘッダー上のキャッチコピー */
.header .catch-copy,
#header .catch-copy {
  color: var(--gold-light) !important;
  font-size: 12px !important;
  letter-spacing: 0.12em;
}

/* === ナビゲーション === */
.navi {
  background: var(--navy-light) !important;
  border: none !important;
}

.navi-in > ul > li > a {
  color: var(--white) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em;
  padding: 14px 20px !important;
  transition: all 0.3s ease;
}

.navi-in > ul > li > a:hover {
  color: var(--gold) !important;
  background: rgba(201,169,110,0.1) !important;
}

.navi-in > ul > li {
  border-right: 1px solid rgba(255,255,255,0.1) !important;
}

/* サブメニューの説明文 */
.navi-in > ul > li > a .sub-name {
  color: var(--gold-light) !important;
  font-size: 10px !important;
}

/* === メインコンテンツ === */
.main {
  background: var(--white) !important;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  padding: 30px !important;
}

/* === 記事カード === */
.entry-card-wrap {
  border-radius: 8px !important;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-light) !important;
  background: var(--white) !important;
}

.entry-card-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border-color: var(--gold) !important;
}

.entry-card-title {
  font-weight: 700 !important;
  font-size: 18px !important;
  color: var(--navy) !important;
  line-height: 1.6 !important;
}

.entry-card-snippet {
  color: var(--text-sub) !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

/* カテゴリラベル */
.cat-label {
  background: var(--navy) !important;
  color: var(--white) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  padding: 4px 12px !important;
  border-radius: 2px !important;
}

/* === サイドバー === */
.sidebar {
  background: var(--white) !important;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  padding: 25px !important;
}

.sidebar h3,
.widget_recent_entries .widgettitle,
.widget h2 {
  color: var(--navy) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-bottom: 2px solid var(--gold) !important;
  padding-bottom: 10px !important;
  margin-bottom: 15px !important;
  border-left: none !important;
  background: none !important;
}

/* === 記事本文 === */
.article h2 {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 16px 24px !important;
  border-radius: 4px !important;
  border: none !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-top: 50px !important;
  position: relative;
}

.article h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-top: 8px;
  border-radius: 2px;
}

.article h3 {
  border-left: 4px solid var(--gold) !important;
  border-bottom: none !important;
  padding: 10px 16px !important;
  background: var(--off-white) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin-top: 40px !important;
}

.article h4 {
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-bottom: 1px dashed var(--gold-light) !important;
  padding-bottom: 8px !important;
}

/* === ボタン・リンク === */
a {
  color: var(--navy);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

/* === フッター === */
.footer {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-top: 3px solid var(--gold) !important;
}

.footer a {
  color: var(--gold-light) !important;
}

.footer a:hover {
  color: var(--gold) !important;
}

/* === ページネーション === */
.pagination .current {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-color: var(--navy) !important;
}

.pagination a:hover {
  background: var(--gold) !important;
  color: var(--white) !important;
  border-color: var(--gold) !important;
}

/* === 目次ボックス === */
.toc {
  border: 1px solid var(--gray-light) !important;
  border-radius: 8px !important;
  background: var(--off-white) !important;
}

.toc-title {
  color: var(--navy) !important;
  font-weight: 700 !important;
}

/* === NO IMAGE プレースホルダー改善 === */
.no-image .entry-card-thumb {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%) !important;
}

.no-image .entry-card-thumb .no-image-text,
.no-image-title {
  color: var(--gold-light) !important;
  font-family: var(--font-accent) !important;
  font-size: 14px !important;
}

/* === 検索ボタン === */
.search-submit {
  background: var(--navy) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 4px !important;
  transition: background 0.3s ease;
}

.search-submit:hover {
  background: var(--gold) !important;
}

/* === ブログカード === */
.blogcard {
  border: 1px solid var(--gray-light) !important;
  border-radius: 8px !important;
  transition: border-color 0.3s ease;
}

.blogcard:hover {
  border-color: var(--gold) !important;
}

/* === スクロールバー === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

/* === セレクションボックス === */
::selection {
  background: var(--gold);
  color: var(--white);
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  .main {
    padding: 20px !important;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  .site-name-text,
  .site-name-text a {
    font-size: 22px !important;
  }
  .article h2 {
    font-size: 18px !important;
    padding: 14px 18px !important;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .site-name-text,
  .site-name-text a {
    font-size: 18px !important;
  }
  .article h2 {
    font-size: 16px !important;
    padding: 12px 14px !important;
  }
  .main {
    padding: 15px !important;
  }
}
