@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){
  /*必要ならばここにコードを書く*/
}
/* AIお助けラボ モダンデザイン */
body {
    background-color: #f8fafc !important;
    color: #1e293b !important;
    letter-spacing: 0.035em !important;
    line-height: 1.85 !important;
}
.main, .sidebar {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
}
@media screen and (max-width: 768px) {
    .main, .sidebar {
        padding: 16px;
        border-radius: 12px;
    }
}
.header-container {
    background: #ffffff !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04) !important;
    border-bottom: 1px solid #e2e8f0;
}
#navi .navi-in a:hover {
    color: #0284c7 !important;
    background: #f0f9ff !important;
    border-radius: 6px;
}
.entry-card-wrap {
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    margin-bottom: 24px !important;
}
.entry-card-wrap:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.12) !important;
    border-color: #bae6fd !important;
}
.entry-card-thumb {
    overflow: hidden;
    border-radius: 10px;
}
.entry-card-thumb img {
    transition: transform 0.4s ease !important;
}
.entry-card-wrap:hover .entry-card-thumb img {
    transform: scale(1.05) !important;
}
.entry-card-title {
    font-size: 1.15em !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}
.entry-card-wrap:hover .entry-card-title {
    color: #0284c7 !important;
}
.cat-label {
    background: #0284c7 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
}
.article h2 {
    background: linear-gradient(135deg, #0284c7 0%, #1e40af 100%) !important;
    color: #ffffff !important;
    padding: 16px 22px !important;
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.22) !important;
    font-size: 1.35em !important;
    font-weight: 700 !important;
    margin: 48px 0 24px !important;
}
.article h3 {
    border-left: 6px solid #ff6b00 !important;
    padding: 6px 0 6px 14px !important;
    color: #0f172a !important;
    font-size: 1.2em !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #f1f5f9 !important;
    margin: 36px 0 18px !important;
}
.toc {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 4px solid #0284c7 !important;
    border-radius: 14px !important;
    padding: 22px 26px !important;
    margin: 36px 0 !important;
}
.toc-title {
    font-size: 1.15em !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #e2e8f0 !important;
}
.toc-content a {
    color: #334155 !important;
    text-decoration: none !important;
}
.toc-content a:hover {
    color: #0284c7 !important;
}
.sidebar .widget-title {
    background: #f1f5f9 !important;
    border-left: 5px solid #0284c7 !important;
    border-radius: 6px !important;
    padding: 12px 16px !important;
    color: #0f172a !important;
    font-size: 1.05em !important;
    font-weight: 700 !important;
}
.widget_ranking_entry_card .ranking-item-number {
    border-radius: 50% !important;
    font-weight: 800 !important;
}
.widget_ranking_entry_card .ranking-item:nth-child(1) .ranking-item-number {
    background: #eab308 !important;
    color: #fff !important;
}
.widget_ranking_entry_card .ranking-item:nth-child(2) .ranking-item-number {
    background: #94a3b8 !important;
    color: #fff !important;
}
.widget_ranking_entry_card .ranking-item:nth-child(3) .ranking-item-number {
    background: #d97706 !important;
    color: #fff !important;
}