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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.site-name {
    --cocoon-text-color: #0090D7 !important;
    text-decoration: none;
    font-weight: bold;
    padding: 0 1em;
}

/* ===== ヘッダーメニュー全体 ===== */
#navi {
  background-color: #f2f2f2; /* グレー背景 */
  border-top: 2px solid #dedede;
  border-bottom: 2px solid #dedede;
}
/* ===== メニューリンク ===== */
#navi-in .menu-header > li > a {
  display: block;
  padding: 15px 20px;
  color: #333;
  transition: background-color 0.3s ease, color 0.3s ease;
}
/* ===== hover時（水色） ===== */
#navi-in .menu-header > li > a:hover {
  background-color: #0090D7;
  color: #ffffff;
}
/* ===== 縦ライン（最後以外） ===== */
#navi-in .menu-header > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  background-color: rgba(0, 0, 0, 0.15);
}




/* =========================
  Cocoon サイドバー：新着記事（サムネ付き） デザイン
========================= */

/* 新着記事ブロック（Cocoon系ウィジェットに広めに効かせる） */
.sidebar .widget .new-entry-card,
.sidebar .widget .new-entry-card-wrap,
.sidebar .widget .new-entry-cards,
.sidebar .widget .new-entry-card a {
  box-sizing: border-box;
}

/* 各記事カード（リンク全体をカード化） */
.sidebar .widget .new-entry-card a,
.sidebar .widget a.new-entry-card-link,
.sidebar .widget .new-entry-card-wrap a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  background: #f7f7f7;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}

/* hover：水色＋少し浮く */
.sidebar .widget .new-entry-card a:hover,
.sidebar .widget a.new-entry-card-link:hover,
.sidebar .widget .new-entry-card-wrap a:hover {
  background: rgba(0,144,215,0.10);
  border-color: rgba(0,144,215,0.35);
  transform: translateY(-1px);
}

/* サムネ（角丸＋はみ出し防止） */
.sidebar .widget .new-entry-card-thumb,
.sidebar .widget .new-entry-thumbnail,
.sidebar .widget .new-entry-card img,
.sidebar .widget .new-entry-thumb img {
  border-radius: 8px;
}

.sidebar .widget .new-entry-card-thumb,
.sidebar .widget .new-entry-thumbnail,
.sidebar .widget .new-entry-thumb {
  overflow: hidden;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
}

/* 画像を正方形にフィット */
.sidebar .widget .new-entry-card-thumb img,
.sidebar .widget .new-entry-thumbnail img,
.sidebar .widget .new-entry-thumb img,
.sidebar .widget .new-entry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* タイトル（読みやすく） */
.sidebar .widget .new-entry-card-title,
.sidebar .widget .new-entry-title,
.sidebar .widget .entry-card-title {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* hover時タイトルだけ水色 */
.sidebar .widget .new-entry-card a:hover .new-entry-card-title,
.sidebar .widget .new-entry-card a:hover .new-entry-title,
.sidebar .widget .new-entry-card-wrap a:hover .new-entry-card-title,
.sidebar .widget .new-entry-card-wrap a:hover .new-entry-title {
  color: #0090D7;
}

/* メタ情報（もし表示している場合） */
.sidebar .widget .new-entry-card-meta,
.sidebar .widget .new-entry-meta {
  font-size: 12px;
  color: rgba(0,0,0,0.55);
  margin-top: 4px;
}

/* カード間の余白 */
.sidebar .widget .new-entry-card,
.sidebar .widget .new-entry-card-wrap {
  margin: 4px 0 0px;
}

.widget-entry-card-content {
  margin-left: 82px;
}

/* ウィジェットタイトルの文字色 */
.sidebar h2, .sidebar h3 {
  background: #0090D7;
  color: #ffffff;
}

#media_image-2{text-align:center;}


/* アーカイブ（リスト） */
.sidebar .widget_archive ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar .widget_archive li {
  margin: 0 0 10px;
}

.sidebar .widget_archive li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: #f7f7f7;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease, color .25s ease;
}

.sidebar .widget_archive li a:hover {
  background: rgba(0,144,215,0.10);
  border-color: rgba(0,144,215,0.35);
  color: #0090D7;
  transform: translateY(-1px);
}

/* 件数（(3) など）が表示されている場合の見た目を整える */
.sidebar .widget_archive li {
  color: rgba(0,0,0,0.55);
  font-size: 13px;
}

/* Xフォロー */
.sns-follow-box {
  margin: 32px 0;
  padding: 20px;
  background: #f7f7f7;
  border-left: 4px solid #0090D7;
}

.sns-follow-title {
  margin: 0 0 12px;
  font-weight: 700;
}

.sns-follow-links {
  display: flex;
  gap: 12px;
}

.sns-follow-links a {
  padding: 8px 14px;
  background: #0090D7;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
}

.sns-follow-links a:hover {
  opacity: 0.85;
}


/* =========================================
   Cocoon：ハンバーガーメニュー おしゃれ化
   ブランドカラー：#0090D7
========================================= */

/* 1) ボタン全体（位置や見た目） */
.mobile-menu-buttons .menu-button,
.menu-button {
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 6px 16px rgba(0,0,0,0.10);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

/* hover/タップ時の反応
.mobile-menu-buttons .menu-button:hover,
.menu-button:hover {
  transform: translateY(-1px);
  border-color: rgba(0,144,215,0.45);
  box-shadow: 0 10px 22px rgba(0,0,0,0.14);
}*/

/* 2) アイコン色（≡）を水色に */
.mobile-menu-buttons .menu-button .fa,
.mobile-menu-buttons .menu-button i,
.menu-button .fa,
.menu-button i {
  color: #0090D7;
}

/* 3) メニュー展開時の背景（オーバーレイ感） */
.mobile-menu,
.navi-menu-content,
#mobile-menu {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* 4) メニュー項目（余白・区切り・読みやすさ） */
.mobile-menu a,
.navi-menu-content a,
#mobile-menu a {
  display: block;
  padding: 14px 18px;
  font-size: 16px;
  line-height: 1.3;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background-color .2s ease, color .2s ease;
}

/* hover時 */
.mobile-menu a:hover,
.navi-menu-content a:hover,
#mobile-menu a:hover {
  background: rgba(0,144,215,0.10);
  color: #0090D7;
}

/* 5) 現在ページ（カレント）を強調 */
.mobile-menu .current-menu-item > a,
.navi-menu-content .current-menu-item > a,
#mobile-menu .current-menu-item > a {
  color: #0090D7;
  background: rgba(0,144,215,0.08);
  font-weight: 700;
}

/* 6) メニュー内の余白（上下） */
.mobile-menu ul,
.navi-menu-content ul,
#mobile-menu ul {
  margin: 8px 0;
  padding: 0;
}

/* 7) 余計なリストスタイルを抑制 */
.mobile-menu li,
.navi-menu-content li,
#mobile-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-buttons .menu-button,
.menu-button {
  border-radius: 999px;
}


/*メニュー項目の左にアクセントライン*/
.mobile-menu a,
.navi-menu-content a,
#mobile-menu a {
  position: relative;
  padding-left: 22px;
}
.mobile-menu a::before,
.navi-menu-content a::before,
#mobile-menu a::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 22%;
  width: 3px;
  height: 56%;
  background: rgba(0,0,0,0.14);
  border-radius: 2px;
  transition: background-color .2s ease;
}
.mobile-menu a:hover::before,
.navi-menu-content a:hover::before,
#mobile-menu a:hover::before {
  background: #0090D7;
}





/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/

	
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	
#header .site-name-text {font-size: 2em;}	
.logo-text {padding: 0px 0 3%;}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
