/*
Theme Name: Cocoon Child - Anzu Lab
Theme URI: https://wp-cocoon.com/
Description: 「Anzuの実験室 Main」専用 Cocoon子テーマ（WP 7.0.2対応）
Author: Anzu
Template: cocoon-master
Version: 1.2.0
*/

/************************************
 * 1. カラー定義と基本スタイル
 ************************************/
:root {
    --main-blue: #005bac;
    --bg-gray: #f7f9fb;
    --text-color: #2c3e50;
    --border-color: #e1e8ed;
}

body {
    background-color: var(--bg-gray);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/************************************
 * 2. コンパクトヘッダーデザイン
 ************************************/
.header {
    background-color: #ffffff;
    border-bottom: 3px solid var(--main-blue);
    padding: 10px 0 !important;
}

/* サイトタイトル */
.site-name-text {
    font-weight: 700;
    color: var(--main-blue) !important;
    font-size: 1.6em !important;
    margin: 0 !important;
    line-height: 1.0 !important;
}

/* キャッチフレーズ（サブタイトル） */
.tagline {
    font-size: 0.82em !important;
    color: #666666;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.0 !important;
    letter-spacing: 0.05em;
}

/************************************
 * 3. トップページ（カテゴリ別一覧）セクション見出し
 ************************************/
/* 固定ページ内の標準見出し装飾をリセットし、スタイリッシュな青ラインに統一 */
.page .entry-content .category-section-title {
    position: relative;
    font-size: 1.3em !important;
    font-weight: bold !important;
    color: var(--main-blue) !important;
    background: none !important;
    border: none !important;
    border-bottom: 2px solid var(--main-blue) !important;
    padding: 0 0 8px 14px !important;
    margin: 2.5em 0 1.2em 0 !important;
    box-shadow: none !important;
}

.page .entry-content .category-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    width: 5px;
    height: 80%;
    background-color: var(--main-blue);
    border-radius: 2px;
}

/************************************
 * 4. エントリーカード（ホバーエフェクト）
 ************************************/
.entry-card-wrap {
    border-radius: 8px !important;
    border: 1px solid var(--border-color) !important;
    background-color: #ffffff;
    transition: all 0.25s ease-in-out;
    margin-bottom: 12px !important;
}

.entry-card-wrap:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 91, 172, 0.12) !important;
    border-color: var(--main-blue) !important;
}

/************************************
 * 5. 技術系ブログ用コードブロック・H2見出し
 ************************************/
.article h2 {
    padding: 0.5em 0.8em;
    border-left: 5px solid var(--main-blue);
    background-color: #f0f4f8;
    color: #1a252f;
    font-weight: bold;
    border-radius: 0 6px 6px 0;
}

.entry-content pre,
.wp-block-code pre {
    background-color: #1e1e1e !important;
    color: #d4d4d4 !important;
    border-radius: 8px;
    padding: 1.2em;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}