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

/************************************
** サマダスのAI活用ブログ カスタムCSS
************************************/

/* === 全体 === */
body {
  background-color: #f0f2f5;
}

/* === ヘッダー === */
.header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.header-in {
  min-height: 70px;
}
.site-name-text {
  color: #fff !important;
  font-size: 1.4em;
  font-weight: 700;
}
.tagline {
  color: rgba(255,255,255,0.65) !important;
}

/* === ナビゲーション === */
.navi {
  background: #16213e;
}
.navi a {
  color: rgba(255,255,255,0.9) !important;
  font-size: 14px;
  transition: all 0.2s;
}
.navi a:hover {
  color: #e94560 !important;
  background: rgba(255,255,255,0.05);
}

/* === 記事カード（TOPページ 2カラム縦型） === */
.ect-vertical-card .entry-card-wrap {
  background: #fff;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: none !important;
  margin-bottom: 24px;
}
.ect-vertical-card .entry-card-wrap:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.13);
  transform: translateY(-3px);
}
.entry-card-thumb img {
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
}
.entry-card-wrap:hover .entry-card-thumb img {
  transform: scale(1.03);
}
.entry-card-content {
  padding: 16px 20px 20px !important;
}
.entry-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.entry-card-snippet {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}
.entry-card-meta {
  font-size: 12px;
  color: #999;
}
/* カテゴリラベル */
.cat-label {
  background: #e94560 !important;
  color: #fff !important;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  opacity: 0.95;
}

/* === 記事本文 === */
.article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.entry-content p {
  line-height: 2.0;
  font-size: 16.5px;
  color: #333;
}
.entry-content h2 {
  font-size: 1.4em;
  font-weight: 700;
  color: #1a1a2e;
  border-left: 5px solid #e94560;
  border-bottom: none;
  padding: 10px 0 10px 16px;
  margin-top: 2.5em;
  background: #f8f9fa;
  border-radius: 0 6px 6px 0;
}
.entry-content h3 {
  font-size: 1.2em;
  font-weight: 700;
  color: #1a1a2e;
  border-bottom: 2px solid #e94560;
  padding-bottom: 8px;
  margin-top: 2em;
}

/* === サイドバー === */
.sidebar .widget-sidebar {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sidebar h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  border-bottom: 2px solid #e94560;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

/* === フッター === */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: rgba(255,255,255,0.6);
}
.footer a {
  color: rgba(255,255,255,0.7);
}
.footer a:hover {
  color: #e94560;
}

/* === モバイル === */
@media screen and (max-width: 834px) {
  .entry-content p {
    font-size: 15px;
    line-height: 1.9;
  }
  .site-name-text {
    font-size: 1.15em !important;
  }
}
