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

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



.article h2 {
    background: none; /* 背景を消す */
    color: #333; /* 文字を濃いグレーに */
    border-left: 8px solid #333; /* 左側に太い線 */
    border-bottom: 1px solid #ddd; /* 下に細い線 */
    padding: 10px 15px; /* 余白の調整 */
	margin: 60px 0 40px;
}
.article h3 {
    background: none !important;
    border: none !important;
    color: #333 !important;           /* 文字色をH2と同じ濃いグレーに */
    border-left: 8px solid #333 !important; /* H2と同じ太い左線（色も統一） */
    border-bottom: 1px solid #ddd !important; /* H2と同じ下の細い線 */
    padding: 8px 15px !important;    /* H2より少しだけ上下を詰める */
    font-size: 1.25em !important;     /* 文字サイズでH2と親子差をつける */
	line-height: 1.4 !important;
 margin: 60px 0 40px;
}
.article h4 {
  background: none; /* 背景を消す */
  border-left: 5px solid #333; /* 左側の縦線（色は自由に変えてください） */
    padding: 8px 15px !important;    /* H2より少しだけ上下を詰める */
  border-top: none; /* もし上線があれば消す */
  border-bottom: none; /* もし下線があれば消す */
  font-size: 1.2em;
 margin: 40px 0 40px;
}


/* 親要素(pre)を基準にする */
.entry-content pre {
    position: relative;
}
/* ミコトホド流・コピーボタン */
.mh-copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.5); /* 控えめな透過白 */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px; /* 尖ったデザイン */
    padding: 2px 8px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s;
}
.mh-copy-btn:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ウェジットH3 */
.widget-sidebar-title.widget-title {
    border-left: 10px solid #d50000;
    background: #2f3a71;
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    padding: 10px 12px;
}

/* カテゴリーリスト */
.widget_recent_entries ul, .widget_categories ul, .widget_archive ul, .widget_pages ul, .widget_meta ul, .widget_rss ul, .widget_nav_menu ul, .widget_block ul {
    list-style: disc;
    margin-left: 40px;
}

/* 記事一覧背景色 */
.home #main, .archive #main {
    background-color: #e3e3e3;
}
/* 記事一覧カラム背景色 */
.home .entry-card-wrap, 
.archive .entry-card-wrap {
background-color: #fdfdfd;
padding-bottom: 5px;
}
/* 記事一覧：ホバー時の背景色 */
.home .entry-card-wrap:hover,
.archive .entry-card-wrap:hover {
    background-color: #fdf8de;
}


/* フッター調整 */
.footer {
  margin-top: 40px; /*フッターとコンテンツの間に余白追加*/
  background: #444d53; /*フッター背景色*/
  border-top: 4px solid #72c7e6; /*上部にボーダー追加*/
}
.footer-bottom {
  margin-top: 14px; /*フッター内上部の余白を詰める*/
}
.footer-bottom-logo { /*ロゴの位置調整*/
  float: none;
  bottom: auto;
  position: static;
  margin-bottom: 10px;
}
.footer-bottom-logo .logo-image {
  padding: 0;
  max-width: 160px; /*ロゴ画像を少し大きく*/
  margin: 0 auto;
}
.footer-bottom-content { /*メニュー＆クレジットの位置調整*/
  float: none;
  text-align: center;
}
.navi-footer-in > .menu-footer { /*メニューの位置調整*/
  justify-content: center;
  margin-bottom: 1em;
}
.navi-footer-in a {
  color: #aab3b9; /*メニューの文字色*/
}
.navi-footer-in a:hover { /*メニューのマウスホバー時の指定*/
  color: #aab3b9; /*文字色を通常時と同じに*/
  background: none; /*背景色をなしに*/
  text-decoration: underline; /*アンダーラインを追加*/
}
.footer-bottom.fnm-text-width .menu-footer li {
  line-height: 1; /*メニューの区切りボーダーの高さを1文字分にする*/
}
.copyright {
  color: #aab3b9; /*クレジットの文字色*/
}


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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	 .navi-footer-in > .menu-footer li.menu-item {
    border: none; /*モバイルでメニューのボーダーを消す*/
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	  .navi-footer-in > .menu-footer li.menu-item { /*モバイルでメニューを1カラムにする*/
    width: 100%;
    display: block;
    flex: auto;
    padding: 0.3em 0;
  }
}
