@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){
  /*必要ならばここにコードを書く*/
}


/* ナビメニューフォント: Rounded Mplus 1c */
@import url('https://fonts.googleapis.com/css2?family=Rounded+Mplus+1c:wght@700&display=swap');

#navi-in a,
.navi-menu-content a {
  font-family: 'Rounded Mplus 1c', sans-serif !important;
  font-weight: 700;
}

/* ===== 読みやすさ・デザイン改善 ===== */

/* 記事カードにホバーエフェクト */
.entry-card-wrap {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 8px;
  overflow: hidden;
}
.entry-card-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* カテゴリーラベルをかわいくカラフルに */
.cat-label {
  border-radius: 20px !important;
  font-size: 11px !important;
  padding: 3px 10px !important;
  font-weight: 700 !important;
}

/* サイドバーウィジェットタイトルをおしゃれに */
#sidebar .widget-title,
.sidebar .widget-title {
  border-left: 4px solid #b5d5e8;
  padding-left: 10px;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(to right, #f0f8ff, transparent);
  padding: 8px 8px 8px 14px;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* 本文の行間を広げて読みやすく */
.entry-content p,
.article-body p {
  line-height: 2.0;
  margin-bottom: 1.4em;
}

/* 見出しH2をかわいく装飾 */
.entry-content h2 {
  background: linear-gradient(135deg, #e8f4f8, #f5e6f0);
  border-left: 5px solid #b5d5e8;
  padding: 10px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 1.2em;
}

/* 検索ボックスをすっきりと */
.search-form input[type="search"] {
  border-radius: 20px 0 0 20px;
  border: 2px solid #b5d5e8;
  padding: 8px 16px;
}
.search-form input[type="submit"] {
  border-radius: 0 20px 20px 0;
  background: #b5d5e8;
  border: 2px solid #b5d5e8;
  color: white;
  font-weight: 700;
}

/* ===== ナビメニュー かわいいボタン ===== */
#navi-in .menu-item a,
.navi-in .menu-item a {
  display: inline-block;
  background: #fff;
  border: 2px solid #b5d5e8;
  border-radius: 25px;
  padding: 6px 20px !important;
  margin: 0 4px;
  color: #5a9dbf !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
  box-shadow: 0 3px 8px rgba(181,213,232,0.35);
  text-decoration: none !important;
}

#navi-in .menu-item a:hover,
.navi-in .menu-item a:hover {
  background: #b5d5e8;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(181,213,232,0.55);
}

/* 現在のページのボタンをアクティブ表示 */
#navi-in .current-menu-item a,
.navi-in .current-menu-item a {
  background: #b5d5e8;
  color: #fff !important;
}

/* ===== コメント欄スタイル ===== */

/* コメントセクション全体 */
#comments {
  margin-top: 40px;
}

/* 「コメント」見出し */
#comments > h3,
.comment-title {
  font-size: 18px;
  font-weight: 700;
  border-left: 5px solid #b5d5e8;
  padding: 6px 6px 6px 14px;
  background: linear-gradient(to right, #f0f8ff, transparent);
  border-radius: 0 6px 6px 0;
  margin-bottom: 20px;
  font-family: 'Rounded Mplus 1c', sans-serif;
}

/* コメントフォームカード */
#respond,
.comment-respond {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 28px;
  margin-top: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* 「コメントする」タイトル */
#reply-title,
.comment-reply-title {
  font-size: 16px;
  font-weight: 700;
  color: #5a9dbf;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px dashed #b5d5e8;
  font-family: 'Rounded Mplus 1c', sans-serif;
}

/* ラベル */
#commentform label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}

/* 入力フィールド共通 */
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
  width: 100%;
  border: 2px solid #ddeef5;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
  margin-bottom: 16px;
  font-family: 'Rounded Mplus 1c', sans-serif;
}

#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus,
#commentform input[type="url"]:focus,
#commentform textarea:focus {
  border-color: #b5d5e8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(181,213,232,0.2);
}

/* テキストエリア */
#commentform textarea#comment {
  height: 160px;
  resize: vertical;
}

/* 送信ボタン */
#commentform input[type="submit"],
#commentform #submit {
  background: linear-gradient(135deg, #b5d5e8, #8bbfd8);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px 36px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'Rounded Mplus 1c', sans-serif;
  box-shadow: 0 4px 12px rgba(181,213,232,0.5);
}

#commentform input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(181,213,232,0.6);
}