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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*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);
}

/* ===== カラーテーマ：ティール→淡いピンクに変更 ===== */

/* ヘッダー・ナビ・フッター背景色 */
#header,
#navi,
#footer,
#footer-widget-area,
.navi-in,
.header-container,
.footer-container {
  background-color: #f9c5d5 !important;
}

/* ナビリンク文字色 */
#navi-in .navi-in > ul > li > a,
#navi .navi-in a {
  color: #7a5068 !important;
}

/* フッター文字色 */
#footer,
#footer a,
.footer-copyright {
  color: #7a5068 !important;
}

/* スクロールトップボタン・その他アクセントカラー */
#go-to-top,
.go-to-top-button {
  background-color: #f9c5d5 !important;
  color: #7a5068 !important;
}

/* タグライン */
.tagline {
  color: #7a5068 !important;
}

/* ===== 見出し文字色を濃く ===== */
.entry-content h2,
.entry-content h3,
.entry-content h4,
h2.wp-block-heading,
h3.wp-block-heading,
h4.wp-block-heading {
  color: #4a3040 !important;
}

/* h3見出し背景色をティール→ピンクに */
.entry-content h3,
h3.wp-block-heading {
  background-color: #fce4ec !important;
  border-color: #f48fb1 !important;
}

/* h2見出し背景・ボーダーもピンクに */
.entry-content h2,
h2.wp-block-heading {
  background-color: #fce4ec !important;
  border-color: #f48fb1 !important;
}
/* ===== 目次ボックスの枠線をピンクに ===== */
#toc, .toc {
  border-color: #f48fb1 !important;
}
.toc-title {
  color: #7a5068 !important;
}
/* ===== 残りのティール要素をピンクに ===== */
.author-box {
  border-color: #f48fb1 !important;
}
.comment-btn {
  border-color: #f48fb1 !important;
  background-color: #f9c5d5 !important;
  color: #7a5068 !important;
}
.comment-reply-title {
  border-color: #f48fb1 !important;
}
.search-edit:focus {
  border-color: #f48fb1 !important;
  outline-color: #f48fb1 !important;
}
.icon-home-logo, .icon-rakuten-room-logo {
  border-color: #f48fb1 !important;
}

/* ===== グローバルナビ リデザイン ===== */
.navi-in {
  padding: 14px 0 !important;
}
.navi-in .menu-item a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border-radius: 50px !important;
  padding: 8px 24px !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  background: rgba(255,255,255,0.55) !important;
  color: #a07a8c !important;
  border: 0.5px solid rgba(255,255,255,0.65) !important;
  box-shadow: 0 1px 8px rgba(200,150,170,0.07), inset 0 1px 0 rgba(255,255,255,0.55) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: all 0.2s ease !important;
}
.navi-in .menu-item a:hover {
  background: rgba(255,248,251,0.72) !important;
  color: #7d5068 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(200,150,170,0.13), inset 0 1px 0 rgba(255,255,255,0.7) !important;
  border: 0.5px solid rgba(255,255,255,0.8) !important;
}
.navi-in .menu-item.current-menu-item a,
.navi-in .menu-item.current-menu-ancestor a {
  background: rgba(240,220,230,0.62) !important;
  color: #7d5068 !important;
  font-weight: 500 !important;
  border: 0.5px solid rgba(230,200,215,0.45) !important;
  box-shadow: 0 1px 8px rgba(200,150,170,0.1), inset 0 1px 0 rgba(255,255,255,0.5) !important;
}

/* ===== 🌸 ブログ全体リデザイン ===== */

/* ---- ベース・フォント ---- */
body, button, input, select, textarea {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif !important;
  font-weight: 300 !important;
  -webkit-font-smoothing: antialiased !important;
}
body {
  background: #fdf7f8 !important;
  color: #5c4a52 !important;
  line-height: 1.85 !important;
  letter-spacing: 0.025em !important;
}
#wrapper { background: transparent !important; }
h1,h2,h3,h4,h5,h6 {
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  color: #5c4a52 !important;
}

/* ---- 記事カード ---- */
#list { gap: 20px !important; }

.entry-card-wrap {
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #fff !important;
  padding: 0 !important;
  box-shadow: 0 3px 18px rgba(180,140,158,0.09) !important;
  transition: transform 0.26s cubic-bezier(0.34,1.3,0.64,1), box-shadow 0.26s ease !important;
  display: block !important;
}
.entry-card-wrap:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 30px rgba(180,140,158,0.16) !important;
}
.border-element {
  border: none !important;
  outline: none !important;
}

/* サムネイル */
.entry-card-thumb {
  overflow: hidden !important;
  display: block !important;
  margin: 0 !important;
}
.entry-card-thumb-image {
  width: 100% !important;
  height: 178px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  display: block !important;
  transition: transform 0.42s ease !important;
}
.entry-card-wrap:hover .entry-card-thumb-image {
  transform: scale(1.06) !important;
}

/* カードコンテンツ */
.entry-card-content, .card-content {
  padding: 14px 16px 18px !important;
}

/* タイトル */
.entry-card-title, .card-title {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  letter-spacing: 0.03em !important;
  color: #5c4a52 !important;
  margin-bottom: 6px !important;
}

/* スニペット */
.entry-card-snippet, .card-snippet {
  font-size: 11.5px !important;
  color: #a89aa4 !important;
  line-height: 1.7 !important;
}

/* 日付 */
.entry-date, .card-meta .date {
  font-size: 10px !important;
  color: #c4adb8 !important;
  letter-spacing: 0.08em !important;
  font-weight: 300 !important;
}

/* カテゴリラベル */
.cat-label {
  background: rgba(232,212,222,0.6) !important;
  color: #9e7a8c !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  padding: 2px 11px !important;
  letter-spacing: 0.05em !important;
  box-shadow: none !important;
}

/* ---- サイドバー ---- */
.widget, .sidebar-scroll .widget {
  background: #fff !important;
  border-radius: 12px !important;
  padding: 18px 18px 20px !important;
  box-shadow: 0 2px 14px rgba(180,140,158,0.07) !important;
  margin-bottom: 20px !important;
  border: none !important;
}
.widget-title, .widgettitle {
  font-size: 12.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  color: #5c4a52 !important;
  border-left: 2.5px solid rgba(195,155,175,0.5) !important;
  border-bottom: none !important;
  padding-left: 9px !important;
  margin-bottom: 14px !important;
  padding-bottom: 0 !important;
}

/* ---- 記事本文 ---- */
.entry-content {
  font-size: 15px !important;
  line-height: 1.9 !important;
  letter-spacing: 0.03em !important;
  color: #5c4a52 !important;
}
.entry-content h2 {
  border-left: 3px solid rgba(195,155,175,0.7) !important;
  padding-left: 12px !important;
  font-size: 18px !important;
}
.entry-content h3 {
  font-size: 16px !important;
  border-bottom: 1px solid rgba(220,195,210,0.5) !important;
  padding-bottom: 6px !important;
}

/* ---- フッター ---- */
#footer {
  background: #f5eef1 !important;
  color: #b8a4b0 !important;
  font-size: 11px !important;
  letter-spacing: 0.07em !important;
  font-weight: 300 !important;
  border-top: 1px solid rgba(220,195,210,0.3) !important;
}
#footer a { color: #b8a4b0 !important; }

/* ---- スマホ最適化 ---- */
@media (max-width: 767px) {
  body { font-size: 15px !important; }
  .entry-card-title { font-size: 13px !important; }
  .entry-card-thumb-image { height: 155px !important; }
  .entry-card-content, .card-content { padding: 12px 14px 15px !important; }
  #list { gap: 15px !important; }
  .widget { border-radius: 10px !important; padding: 15px !important; }
}

/* ===== 📱 モバイルファースト レスポンシブ最適化 ===== */

/* ---- PC: 最大幅・中央寄せ ---- */
#wrapper {
  max-width: 1160px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---- スマホ (〜599px) ---- */
@media (max-width: 599px) {

  /* 本体余白を広げて呼吸感を確保 */
  #main {
    padding: 12px 14px 24px !important;
  }

  /* 記事リスト: 1カラム縦積み */
  #list {
    flex-direction: column !important;
    gap: 14px !important;
    padding: 8px 0 0 !important;
  }

  /* カード全幅 */
  .entry-card-wrap {
    width: 100% !important;
    border-radius: 12px !important;
  }

  /* サムネイル高さ抑える */
  .entry-card-thumb-image {
    height: 168px !important;
  }

  /* カードコンテンツ余白 */
  .entry-card-content, .card-content {
    padding: 13px 15px 17px !important;
  }

  /* タイトル: 読みやすく */
  .entry-card-title, .card-title {
    font-size: 14px !important;
    line-height: 1.72 !important;
    margin-bottom: 9px !important;
  }

  /* スニペット */
  .entry-card-snippet, .card-snippet {
    font-size: 12px !important;
    line-height: 1.75 !important;
  }

  /* 日付: さらに控えめに */
  .entry-date {
    font-size: 10px !important;
    margin-top: 6px !important;
  }

  /* カテゴリラベル: 読めるサイズを確保 */
  .cat-label {
    font-size: 11px !important;
    padding: 3px 11px !important;
    letter-spacing: 0.03em !important;
    opacity: 1 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    font-weight: 400 !important;
  }

  /* カテゴリタブ: 余白と文字を最適化 */
  #premama-tabs {
    padding: 10px 14px 12px !important;
    gap: 7px !important;
    background: #fdf6f8 !important;
  }
  #premama-tabs a {
    font-size: 11.5px !important;
    padding: 7px 13px !important;
    gap: 3px !important;
    border-radius: 50px !important;
  }

  /* ナビ: 最小タップ高さ44px確保 */
  .navi-in .menu-item a {
    min-height: 44px !important;
    padding: 12px 20px !important;
    font-size: 12px !important;
  }

  /* カルーセル */
  #cc-wrap {
    padding: 6px 0 10px !important;
    margin-bottom: 4px !important;
  }
  .cc-card { flex: 0 0 115px !important; }
  .cc-card img { width: 115px !important; height: 72px !important; }
  .cc-card-title { font-size: 9.5px !important; }

  /* 記事本文 */
  .entry-content {
    font-size: 15px !important;
    line-height: 2.0 !important;
  }
  .entry-content p { margin-bottom: 1.5em !important; }
  .entry-content h2 {
    font-size: 17px !important;
    margin-top: 2em !important;
  }
  .entry-content h3 { font-size: 15.5px !important; }

  /* サイドバーの余白調整 */
  .sidebar { padding: 0 14px !important; }

  /* フッター */
  #footer { padding: 24px 16px !important; font-size: 11px !important; }
}

/* ---- タブレット小 (600px〜767px): 2カラム ---- */
@media (min-width: 600px) and (max-width: 767px) {
  #main { padding: 16px 20px 28px !important; }
  #list {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
  }
  .entry-card-wrap { width: calc(50% - 8px) !important; }
  .entry-card-thumb-image { height: 155px !important; }
  .entry-card-title { font-size: 13px !important; }
  #premama-tabs { padding: 12px 18px !important; }
}

/* ---- タブレット大 (768px〜1023px) ---- */
@media (min-width: 768px) and (max-width: 1023px) {
  #main { padding: 20px 24px 32px !important; }
  #list { gap: 20px !important; }
  .entry-card-title { font-size: 13.5px !important; }
}

/* ---- PC (1024px〜) ---- */
@media (min-width: 1024px) {
  #main { padding: 28px 32px 40px !important; }
  #list { gap: 22px !important; }
  /* 本文カラムを読みやすい幅に */
  .entry-content {
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* ===== プロフィールウィジェット 改行修正 ===== */
/* 三重パディングを解消して有効幅を確保 */
.author-box {
  padding: 12px !important;
}
.author-content {
  padding: 0 !important;
}
.author-description {
  font-size: 13.5px !important;
  line-height: 1.85 !important;
  word-break: auto-phrase !important;
  overflow-wrap: break-word !important;
  color: #5c4a52 !important;
}
/* 名前リンク */
.author-name, .author-widget-name {
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  color: #9e7a8c !important;
  text-decoration: none !important;
}
.author-name:hover { opacity: 0.75 !important; }