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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* ========================================
   副業ナビ | サイドワークガイド カスタムCSS
   ======================================== */

/* Googleフォント読み込みはfunctions.phpで行う */

/* ===== カラー変数 ===== */
:root {
    --main-color: #1a2e4a;
    --accent-color: #e85d04;
    --accent-light: #ff7c38;
    --text-dark: #1a1a2e;
    --text-mid: #444;
    --bg-light: #f8f9fb;
    --border-color: #e0e5ef;
}

/* ===== ボディ全体 ===== */
body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    color: var(--text-dark);
    background: #fff;
}

/* ===== ヘッダー ===== */
#header {
    background: var(--main-color) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-container {
    padding: 12px 0;
}

/* サイトタイトル */
.site-name-text {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
}

/* サイトキャッチフレーズ */
.tagline {
    color: #adc4e3 !important;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
}

/* ===== ナビゲーション ===== */
.navi-in > ul > li > a {
    color: #dce8f5 !important;
    font-weight: 500;
    transition: color 0.2s;
}

.navi-in > ul > li > a:hover {
    color: var(--accent-light) !important;
}

/* ===== メインビジュアル・ヒーローエリア ===== */
.main-image-box {
    position: relative;
    background: linear-gradient(135deg, #1a2e4a 0%, #2d4a6b 60%, #e85d04 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== 記事一覧カード ===== */
.entry-card {
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 12px rgba(26,46,74,0.08) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    overflow: hidden;
}

.entry-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(26,46,74,0.15) !important;
}

.entry-card-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    line-height: 1.5 !important;
}

/* カテゴリーラベル */
.cat-label {
    background: var(--accent-color) !important;
    color: #fff !important;
    border-radius: 3px !important;
    font-size: 0.72rem !important;
    padding: 2px 8px !important;
    font-weight: 600;
}

/* ===== 見出しスタイル ===== */
.entry-content h2 {
    border-left: 5px solid var(--accent-color);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 14px;
    background: var(--bg-light);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--main-color);
    margin: 2em 0 1em;
    border-radius: 0 4px 4px 0;
}

.entry-content h3 {
    border-left: 4px solid var(--main-color);
    padding: 6px 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--main-color);
    margin: 1.5em 0 0.8em;
    background: linear-gradient(to right, rgba(26,46,74,0.05), transparent);
}

.entry-content h4 {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 2px dotted var(--border-color);
    padding-bottom: 4px;
    margin: 1.2em 0 0.6em;
}

/* ===== リンクカラー ===== */
a {
    color: #1a65b4;
    transition: color 0.2s;
}

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

/* ===== CTAボタン ===== */
.entry-content a[href*="crowdworks"],
.entry-content a[href*="doda"],
.entry-content a[href*="r-agent"],
.entry-content a[href*="levtech"],
.entry-content a[href*="bizreach"],
.entry-content a strong {
    display: inline-block;
    padding: 4px 0;
}

/* 公式サイトリンクを強調 */
.entry-content p > a[target="_blank"] {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin: 8px 0;
    transition: opacity 0.2s;
    font-size: 0.95rem;
}

.entry-content p > a[target="_blank"]:hover {
    opacity: 0.85;
    color: #fff !important;
}

/* ===== リスト ===== */
.entry-content ul li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 0.4em;
}

.entry-content ul li::before {
    content: '▶';
    color: var(--accent-color);
    font-size: 0.65em;
    position: absolute;
    left: 0;
    top: 0.35em;
}

/* ===== サイドバー ===== */
.sidebar .widget-title {
    background: var(--main-color);
    color: #fff;
    padding: 8px 14px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 12px;
}

/* ===== フッター ===== */
#footer {
    background: var(--main-color) !important;
    color: #adc4e3 !important;
}

#footer a {
    color: #adc4e3 !important;
}

#footer a:hover {
    color: var(--accent-light) !important;
}

.footer-bottom-area {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 12px;
    font-size: 0.78rem;
    color: #7a9abb;
}

/* ===== スマホ最適化 ===== */
@media (max-width: 768px) {
    .entry-content h2 {
        font-size: 1.1rem;
        padding: 8px 10px;
    }
    
    .entry-content h3 {
        font-size: 1rem;
    }
    
    .entry-content p > a[target="_blank"] {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}

/* ===== プロフィールウィジェット ===== */
.author-box {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    border-radius: 6px;
    padding: 20px;
}

.author-box .author-name {
    font-weight: 700;
    color: var(--main-color);
    font-size: 1.1rem;
}
