@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){
  /*必要ならばここにコードを書く*/
}
/* ======= 全体 ======= */
body {
  background: #faf6f9;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.entry-content .category-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 20px 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

.category-card {
  background: linear-gradient(135deg, #b48dd3, #ff8db7);
  color: white;
  text-align: center;
  padding: 25px 10px;
  border-radius: 15px;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.category-card i {
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* スマホ時は文字サイズを小さくする */
@media screen and (max-width: 768px){
  .category-card {
    font-size: 15px;
    padding: 20px 8px;
  }
  .category-card i {
    font-size: 22px;
  }
}
.entry-content .category-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important; /* 列間を詰める */
  max-width: 1200px !important;
  margin: 20px auto !important;
  padding: 0 10px !important;
}

.entry-content .category-card {
  background: linear-gradient(135deg, #b48dd3, #ff8db7) !important;
  color: white !important;
  text-align: center !important;
  padding: 15px 8px !important; /* 高さを狭くする */
  border-radius: 10px !important;
  font-size: 16px !important;
  text-decoration: none !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
  display: block !important;
}

.entry-content .category-card i {
  display: block !important;
  font-size: 24px !important;
  margin-bottom: 6px !important;
}

.entry-content .category-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 15px rgba(0,0,0,0.3) !important;
}
/* ================================
   Cocoon用 ヘッダーデザインをかっこよく
================================== */
#header-container {
    background: linear-gradient(90deg, #ff85a2, #ffa5c2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 25px 0;
    text-align: center;
}

#header #logo .site-name {
    font-size: 2.5em;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

#header #logo .site-name:hover {
    letter-spacing: 4px;
    transform: scale(1.05);
    color: #fff8f9;
}

/* ナビゲーションメニュー */
#navi .menu-header .menu > li > a {
    font-size: 1.1em;
    color: #fff;
    padding: 10px 15px;
    transition: all 0.3s;
}

#navi .menu-header .menu > li > a:hover {
    border-bottom: 2px solid #fff;
    color: #fffde7;
}
#header-container {
    background: linear-gradient(90deg, #ff5f8d, #ff85a2, #ffa5c2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    padding: 30px 0;
    text-align: center;
    position: relative;
    z-index: 1000;
}

#header #logo .site-name {
    font-size: 2.8em;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.4);
    transition: all 0.4s ease;
}

#header #logo .site-name:hover {
    letter-spacing: 5px;
    transform: scale(1.08);
    color: #fffdfd;
}
/* Google Fonts Bebas Neue */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* ヘッダー背景をおしゃれグラデーション＋影 */
#header-container {
    background: linear-gradient(90deg, #ff5f8d, #ff85a2, #ffa5c2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    padding: 35px 0;
    text-align: center;
    position: relative;
    z-index: 1000;
}
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* 全体をBebas Neue */
body, h1, h2, h3, h4, h5, h6, .site-title, .site-name, .logo, .header-title, 
.entry-title, .widget-title {
    font-family: 'Bebas Neue', sans-serif !important;
}
