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

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

/* 緑マーカー */
.marker-green {
  text-decoration: underline; 
  text-decoration-thickness: 0.5em; 
  text-decoration-color: #c3e5e7; 
  text-underline-offset: -0.2em; 
  text-decoration-skip-ink: none; 
}

/* ピンクマーカー */
.marker-pink {
  text-decoration: underline; 
  text-decoration-thickness: 0.5em; 
  text-decoration-color: #ebd3cf; 
  text-underline-offset: -0.2em; 
  text-decoration-skip-ink: none; 
}

/* グレーマーカー */
.marker-gray {
  text-decoration: underline; 
  text-decoration-thickness: 0.5em; 
  text-decoration-color: #bec8d1; 
  text-underline-offset: -0.2em; 
  text-decoration-skip-ink: none; 
}

/* アイコンリストボックスだけ左寄せ */
.iconlist-title {
  text-align: left;
}

/* アイキャッチラベルを左下に小さく配置 */
.entry-card-thumb .entry-card-category {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 0.75em;
  padding: 4px 8px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: 4px;
  z-index: 2;
}

/* 灯さんノート */
.akarinote {
  background-color: #f9f9f9; /* モノトーンベースの淡グレー背景 */
  border: 1px solid #bcbace; /* ラベンダーグレーで思想の枠を演出 */
  padding: 1em;
  border-radius: 4px;
  margin: 2em 0;
  position: relative;
}

.akarinote-caption {
  position: absolute;
  top: -1.2em;
  left: 1em;
  background-color: #bcbace; /* 灯さんカラーで見出しを統一 */
  color: #fff; /* 白文字で視認性を確保 */
  font-weight: bold;
  padding: 0.2em 0.8em;
  border-radius: 4px 4px 0 0;
  font-size: 0.9em;
  border: 1px solid #bcbace;
}

.akarinote ul {
  list-style: none;
  padding-left: 1em;
  margin-top: 1em;
}

.akarinote ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
  color: #333;
}

.akarinote ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #66130A;
  font-weight: bold;
}

/* アイキャッチラベル */
.eye-catch-wrap {
  position: relative;
}

.cat-label {
  position: absolute !important;
  bottom: 0.5em !important;
  left: 0.5em !important;
  top: auto !important;
  background-color: rgba(0, 0, 0, 0.6); /* 任意で視認性調整 */
  color: #fff;
  padding: 0.3em 0.8em;
  border-radius: 4px;
  font-size: 0.85em;
  z-index: 10;
}

/* PRラベル */
.pr-label {
  background: #f6f6f6;
  border: none;
  text-align: center;
}

.pr-label::before {
  content: "i";
  font-family: "Times New Roman", serif; /* 飾り付きで“それっぽさ”を演出 */
  font-size: 1em;
  color: #fff;
  background: #666;
  border-radius: 50%;
  width: 1.2em;
  height: 1.2em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5em;
  line-height: 1;
}

/* h3見出し */
body .article h3.wp-block-heading {
  position: relative;
  border: none !important;
  border-bottom: solid 3px #193446 !important;
  padding: 12px 12px !important;
}

body .article h3.wp-block-heading:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100px;
    height: inherit;
    border-bottom: 3px solid #a80000;
}

.sidebar h3.widget-title {
  position: relative;
  color: #333;
  background: transparent;
  border: none !important;
  border-bottom: solid 3px #193446 !important;
}	

.sidebar h3.widget-title:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100px;
    height: inherit;
    border-bottom: 3px solid #a80000;
}

/*
.sidebar h3.widget-title {
  font-size: 1em;
  font-weight: bold;
  border-left: 4px solid #0073aa;
  padding-left: 0.6em;
  margin-bottom: 1em;
  background: transparent;
  color: #333;
}
*/

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

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

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

/************************************
** 記事ヘッダー内の表示位置変更
************************************/

/* 記事ヘッダー */
.article-header {
    display: grid;
}

/* タイトル */
.entry-title {
    order: 1;
}

/* 本文上カテゴリーとタグ */
.entry-categories-tags.ctdt-one-row {
    order: 2;
}

/* 日付 */
.article-header .date-tags {
    order: 3;
}

/* アイキャッチ */
.eye-catch-wrap {
    order: 4;
}

/* PR表記 */
.pr-label {
    order: 5;
}

/* snsボタン */
.article-header .sns-share {
    order: 6;
}
