@charset "UTF-8";
/* Google Fontsの読み込み */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;700&display=swap');

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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* 全体フォント・背景・文字色 */
body {
  background-color: #f2f5f5; /* アイボリー系背景 */
  color: #3a3a3a; /* 文章色：やや濃いグレー */
  line-height: 1.9;
  font-size: 16px;
}

/* リンクデザイン */
.entry-content a {
  color: #8b735b;
  text-decoration: none;
  border-bottom: 1px dotted #8b735b;
  transition: all 0.3s ease;
  font-weight: 500; /* （標準よりやや太め） */
}

.entry-content a:hover {
  color: #5c4a3f;
  border-bottom: 1px solid #5c4a3f;
  font-weight: 600; /* ← ホバー時はさらに少し太く */
}

/* 目次のリンクデザイン */
.toc a {
  color: #555;
  text-decoration: none;
  border: none !important;
}

/* 見出し（h2）デザイン  記事内のみ */
body.h2 {
  font-size: 1.6em;
  font-weight: 700;
  border-left: 4px solid #8b735b;
  padding-left: 0.8em;
  margin: 2em 0 1em;
  color: #3a3a3a;
}

/* 見出し（h3）デザイン 記事内のみ */
body.h3 {
  font-size: 1.3em;
  font-weight: 600;
  border-bottom: 2px solid #d0c3aa;
  padding-bottom: 0.3em;
  margin-top: 1.5em;
  color: #4d433b;
}

/* ヘッダタイトル */
#header .logo .site-name-text {
  font-size:24px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
}

/* ボタン（.button ショートコード用） */
.button {
  background-color: transparent;
  border: 1px solid #8b735b;
  color: #8b735b;
  padding: 0.6em 1.4em;
  border-radius: 4px;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
}
.button:hover {
  background-color: #8b735b;
  color: #fff;
}

/* 目次 */
.toc {
  max-width: 640px;
  margin: 2em auto;
  background-color: #f9fdfd;
  padding: 1.2em 1.5em;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  font-size: 0.95em;
}

/* アイキャッチ画像上に文字を重ねるスタイル */
.hero-area {
  position: relative;
  text-align: center;
  margin-bottom: 2em;
}
.hero-area img {
  width: 100%;
  height: auto;
  filter: brightness(85%); /* トーン落とし */
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2em;
  background-color: rgba(0,0,0,0.3);
  padding: 0.5em 1.2em;
  border-radius: 4px;
  font-family: 'Noto Serif JP', serif;
}

/* 投稿一覧 カード */ 
 .entry-card-wrap {
  box-shadow: 0 2px 4px rgb(0 0 0 / 25%);
  border-radius: 3px;
}

/* グローバルナビゲーション（任意） */
.navi {
  background-color: #efece5;
}
.navi a {
  color: #5c4a3f;
  font-weight: bold;
}
.navi a:hover {
  background-color: #e0d8cb;
}

/* ウィジェット（サイドバーなど）見出し */
.widgettitle {
  font-size: 1.2em;
  font-weight: bold;
  color: #4d433b;
  border-bottom: 2px solid #d0c3aa;
  padding-bottom: 0.3em;
  margin-bottom: 1em;
}

/*ヘッダーモバイルボタンの文字色と背景色を変更*/
.search-menu-button.menu-button,
.navi-menu-button.menu-button{
  background: #80999C;
  height: 60px;
}

.logo-menu-button.menu-button{
  background: #80999C !important;
  height: 60px;
}

.mobile-menu-buttons{
  background: #80999C;
}

/* モバイルヘッダーの文字色と背景色を変える追加CSS */
.menu-button-in{
  background-color: #80999C !important;
  font-size:20px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
}

.menu-button-in,
.menu-button-in .site-name-text {
  color: #ffffff !important;
}

/*スライドインメニューを右から出す*/
.navi-menu-content{
	left: auto;
	right: 0;
	background-color: #f2f5f5;
	transform: translateX(101%);
}
@media screen and (max-width: 1023px) {
  .tagline {
    display: none;
  }
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
@media screen and (min-width: 1024px) {
  #header {
    padding: 1em 0; /* 上下にスペースを追加＝高さが出る */
  }
}

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

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

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