@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.2.0
*/

/* 見出し用の明朝体（@importは必ずファイルの先頭付近に置く） */
@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@600;700;800&display=swap");

/************************************
** 子テーマ用のスタイルを書く
************************************/


/************************************
** 見出しデザイン（げいくち：ダーク×琥珀）
** 白背景のままでも映えるよう、見出し自体に濃紺の背景を持たせています
************************************/

/* ---- Cocoon標準の見出し装飾をリセット ---- */
.article h1,
.article h2,
.article h3 {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  padding: 0;
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

/* ---- H1：記事タイトル（濃紺のパネル＋下に光の線） ---- */
.article h1 {
  position: relative;
  padding: 1.6rem 1.2rem 1.8rem;
  border-radius: 4px;
  color: #fff;
  text-align: center;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .06em;
  background:
    radial-gradient(ellipse 60% 90% at 50% 130%, rgba(242, 163, 58, .35), transparent 70%),
    linear-gradient(135deg, #0b1220 0%, #16233b 100%);
  text-shadow: 0 0 24px rgba(92, 200, 232, .3);
}
.article h1::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f2a33a 50%, transparent);
  box-shadow: 0 0 14px 1px rgba(242, 163, 58, .7);
}

/* ---- H2：章の見出し（濃紺のバー＋左に琥珀色の縦線） ---- */
.article h2 {
  margin: 2.6em 0 1.2em;
  padding: .8rem 1rem .8rem 1.1rem;
  color: #fff;
  font-size: 1.7em;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .05em;
  border-left: 6px solid #f2a33a;
  background: linear-gradient(90deg, #0b1220 0%, #16233b 100%);
  box-shadow: 0 6px 14px -8px rgba(11, 18, 32, .6);
}

/* ---- H3：節の見出し（シアンの菱形＋琥珀色に消えていく下線） ---- */
.article h3 {
  position: relative;
  margin: 2em 0 1em;
  padding: .3rem 0 .5rem 1.6rem;
  color: #0b1220;
  font-size: 1.4em;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #f2a33a, rgba(242, 163, 58, 0)) 1;
}
.article h3::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .85em;
  width: .6rem;
  height: .6rem;
  background: #1fa8d0;
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(31, 168, 208, .6);
}

/* ---- サイドバーのH3（ヘッダーに合わせて濃紺＋琥珀の下線） ---- */
.sidebar h3 {
  background: #0b1220;
  color: #fff;
  border: none;
  border-bottom: 3px solid #f2a33a;
  padding: .4em .6em;
  margin: 0 0 .8em;
  box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .8);
}


/************************************
** カード・リンク色など
************************************/
.entry-card-title,
.related-entry-card-title,
.e-card-info > span {
  color: #4169e1;
}


/************************************
** RSSの日付の位置
.entry-card-meta {
	display: flex;

}
************************************/

.no-thumbnail .entry-card-meta {
  position: static;
  background-color: transparent;
  margin-top: 0.4em;
}

.entry-card-content,
.related-entry-card-content {
  padding-bottom: 0.1em;
}

.comment-notes,
.comment-form-email,
.comment-form-url {
  display: none;
}


/* 最近のコメント欄カスタマイズ */
.recent-comment-article {
  font-weight: bold;
  border-bottom: 3px dotted;
  border-color: #279df7;
  padding-bottom: 10px;
}

.recent-comment-content {
  border: 5px solid pink;
}


/* エントリーカードラベル非表示 */
.entry-card .cat-label {
  display: none;
}

.carousel .cat-label {
  display: none;
}


/*全体の文字サイズ */
p, .paragraph {
  font-size: 18px;
}


/*ブログタイトルの高さ */
.logo-text {
  padding: 2px 0 3px;
  font-size: 1em;
}

/************************************
** モバイルフッターボタンの色変更（濃紺×琥珀）
************************************/

/*フッターモバイルメニュー*/
.mobile-menu-buttons {
  background: rgba(11, 18, 32, 0.95); /* 濃紺（少しだけ透過） */
  border-top: 2px solid #f2a33a; /* 上に琥珀色の線 */
  box-shadow: 0 -4px 14px rgba(242, 163, 58, 0.25); /* 線のまわりのほんのり光 */
}

/* 文字・アイコンを白に */
.mobile-menu-buttons .menu-button,
.mobile-menu-buttons .menu-button a,
.mobile-menu-buttons .menu-icon,
.mobile-menu-buttons .menu-caption {
  color: #fff;
}

.mobile-menu-buttons .menu-button {
  transition: background-color .25s ease;
}

.mobile-menu-buttons .menu-icon,
.mobile-menu-buttons .menu-caption {
  transition: text-shadow .25s ease;
}

/* ボタンhover・タップ時：背景がほんのり明るくなり、文字とアイコンが光る */
.mobile-menu-buttons .menu-button:hover,
.mobile-menu-buttons .menu-button:active,
.mobile-menu-buttons .menu-button:focus-within {
  background: rgba(242, 163, 58, 0.15);
}

.mobile-menu-buttons .menu-button:hover .menu-icon,
.mobile-menu-buttons .menu-button:hover .menu-caption,
.mobile-menu-buttons .menu-button:active .menu-icon,
.mobile-menu-buttons .menu-button:active .menu-caption,
.mobile-menu-buttons .menu-button:focus-within .menu-icon,
.mobile-menu-buttons .menu-button:focus-within .menu-caption {
  text-shadow: 0 0 6px rgba(242, 163, 58, 0.95), 0 0 14px rgba(242, 163, 58, 0.6);
}

/* 本文中のボタン（変更なし） */
.btn-square-shadow {
  display: inline-block;
  padding: 1em 1em;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  background: #279df7; /*ボタン色*/
  color: #FFF;
}


/*---------------------------------
親カテゴリのカスタマイズ
--------------------------------*/
.widget_categories ul li a {
  border-bottom: 1px dashed #CCCCCC; /* 下線の種類 */
}

.widget_categories ul li a::before {
  font-family: FontAwesome;
  content: "\f07b"; /* FontAwesomeのユニコード */
  color: #5FB3F5; /* アイコンの色 */
  padding-right: 6px;
}

.widget_categories > ul > li > a:first-child {
  border-top: none;
}

/*---------------------------------
子カテゴリのカスタマイズ
--------------------------------*/
.widget_categories ul li ul li a::before {
  font-family: FontAwesome;
  content: "\f114"; /* FontAwesomeのユニコード */
  color: #5FB3F5; /* アイコンの色 */
  padding-right: 6px;
}


.logo-image {
  padding: 2px 0px;
}



/*コメントフォームの装飾（濃紺×琥珀）*/

#commentform label {
  display: inline-block;
  color: #0b1220;
  font-weight: 700;
  letter-spacing: .03em;
}

/* 入力欄：白地に濃紺の枠 */
#commentform textarea,
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"] {
  background: #fff;
  color: #1c2433;
  border-radius: 4px; /*コメント欄の枠の角丸さ*/
  border: solid 2px #16233b; /*コメント欄の枠線太さと色*/
  font-size: 16px; /*コメントの文字サイズ*/
  transition: border-color .25s ease, box-shadow .25s ease;
}

/* 入力中：枠が琥珀色に変わり、ほんのり光る */
#commentform textarea:focus,
#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus,
#commentform input[type="url"]:focus {
  outline: none;
  border: solid 2px #f2a33a; /* コメント入力時の枠線の太さと色 */
  box-shadow: 0 0 0 3px rgba(242, 163, 58, 0.25), 0 0 14px rgba(242, 163, 58, 0.45);
}

/*送信ボタンの装飾*/

#commentform #submit {
  box-shadow: 0 10px 20px -5px rgba(11, 18, 32, 0.5); /*送信ボタンの影*/
  font-size: 20px; /*送信ボタン文字の大きさ*/
  font-weight: 700;
  letter-spacing: .08em;
  background: linear-gradient(135deg, #0b1220 0%, #16233b 100%); /* H1と同じ濃紺 */
  color: #fff; /*送信ボタンの文字色*/
  border-radius: 4px; /*送信ボタンの角の丸さ*/
  height: 50px; /*送信ボタンの縦幅*/
  padding: 0 2em;
  border: none;
  border-bottom: 3px solid #f2a33a; /* 下に琥珀色の線 */
  margin-top: 30px; /*送信ボタンとコメント欄の隙間（縦幅）*/
  cursor: pointer;
  transition: box-shadow .25s ease, text-shadow .25s ease;
}

/* ホバー・タップ時：琥珀色にほんのり光る */
#commentform #submit:hover,
#commentform #submit:active,
#commentform #submit:focus-visible {
  color: #fff; /*送信ボタンにマウスを乗せたときの文字色 */
  box-shadow: 0 0 16px rgba(242, 163, 58, 0.7), 0 10px 20px -5px rgba(11, 18, 32, 0.5);
  text-shadow: 0 0 8px rgba(242, 163, 58, 0.95);
}

/* 送信ボタンココまで */



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1240px以下*/
@media screen and (max-width: 1240px) {
}

/*1023px以下*/
@media screen and (max-width: 1023px) {
}

/*834px以下*/
@media screen and (max-width: 834px) {
}

/*480px以下*/
@media screen and (max-width: 480px) {

  /* スマホでは見出しを少し控えめに */
  .article h1 {
    padding: 1.2rem .8rem 1.4rem;
  }
  .article h2 {
    font-size: 1.4em;
    padding: .7rem .8rem .7rem .9rem;
  }

 
  .mobile-menu-buttons .menu-caption {
    font-size: 15px;
    font-weight: bold;
  }



  /*----------------------------------------*/
  /* スマホ版の下メニュー位置 */
  /*----------------------------------------*/
  .mobile-menu-buttons .menu-caption {
    margin-bottom: 60px;
  }
}


