@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人事部長 カスタムデザイン
   ============================================= */

/* ボディ背景（水玉ドット） */
body {
  background-color: #EBF5FF;
  background-image:
    radial-gradient(circle, #64B5F6 1.5px, transparent 1.5px),
    radial-gradient(circle, #90CAF9 1.5px, transparent 1.5px);
  background-size: 28px 28px, 56px 56px;
  background-position: 0 0, 14px 14px;
  background-attachment: fixed;
}

/* メインコンテンツ背景 */
#main, .site-content, .content-area, .wrap,
article.post, .entry-content, .post-contents {
  background-color: rgba(255, 255, 255, 0.93);
  border-radius: 8px;
}

/* サイドバー背景 */
#sidebar, .sidebar, .widget {
  background-color: rgba(255, 255, 255, 0.90);
  border-radius: 8px;
}

/* ヘッダー */
#header, .site-header {
  background: linear-gradient(135deg, #1565C0 0%, #1976D2 50%, #42A5F5 100%);
}

/* =============================================
   ヒーローエリア
   ============================================= */
.ai-hero {
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 40%, #1976D2 70%, #42A5F5 100%);
  border-radius: 16px;
  padding: 48px 40px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(21, 101, 192, 0.3);
}
.ai-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.ai-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: 80px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.ai-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.ai-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
.ai-hero__title {
  color: #ffffff !important;
  font-size: 2em !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  margin: 0 0 16px !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border: none !important;
  padding: 0 !important;
}
.ai-hero__title span {
  color: #FFE082;
}
.ai-hero__desc {
  color: rgba(255,255,255,0.92) !important;
  font-size: 0.95em !important;
  line-height: 1.75 !important;
  margin: 0 0 28px !important;
}
.ai-hero__desc strong {
  color: #FFE082;
  font-weight: 700;
}
.ai-hero__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ai-hero__cat-btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.85em;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}
.ai-hero__cat-btn--1 {
  background: rgba(255,255,255,0.2);
  color: #fff !important;
  border-color: rgba(255,255,255,0.4);
}
.ai-hero__cat-btn--2 {
  background: rgba(255,224,130,0.2);
  color: #FFE082 !important;
  border-color: rgba(255,224,130,0.5);
}
.ai-hero__cat-btn--3 {
  background: rgba(165,214,167,0.2);
  color: #A5D6A7 !important;
  border-color: rgba(165,214,167,0.5);
}
.ai-hero__cat-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.3);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* =============================================
   縦型カード2列 スタイリング強化
   ============================================= */
.card-wrap,
.entry-card-wrap {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  border-radius: 12px !important;
  overflow: hidden;
}
.card-wrap:hover,
.entry-card-wrap:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(21, 101, 192, 0.18) !important;
}
.card-thumb img,
.entry-card-thumb img {
  transition: transform 0.35s ease !important;
}
.card-wrap:hover .card-thumb img,
.entry-card-wrap:hover .entry-card-thumb img {
  transform: scale(1.04) !important;
}
.card-title,
.entry-card-title {
  color: #1565C0 !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}
.card-cat-label,
.entry-card-cat-label {
  background: linear-gradient(135deg, #1976D2, #42A5F5) !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
}
.card-snippet,
.entry-card-snippet {
  color: #546E7A !important;
  font-size: 0.82em !important;
  line-height: 1.65 !important;
}
.a-wrap.card-wrap,
.a-wrap.entry-card-wrap {
  background: #fff;
  border: 1px solid rgba(21, 101, 192, 0.08);
  box-shadow: 0 2px 8px rgba(21, 101, 192, 0.08);
}

/* インデックスリストトップのウィジェット余白除去 */
.index-top-widgets .widget {
  background: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
@media screen and (max-width: 768px) {
  .ai-hero {
    padding: 32px 20px;
  }
  .ai-hero__title {
    font-size: 1.5em !important;
  }
  .ai-hero__cat-btn {
    font-size: 0.8em;
    padding: 7px 14px;
  }
}

/*1023px以下*/
@media screen and (max-width: 1023px){
}

/*834px以下*/
@media screen and (max-width: 834px){
}

/*480px以下*/
@media screen and (max-width: 480px){
}