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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*サイトロゴのフォント変更-文字黒*/

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

.widget_categories ul li a::before{
  font-family: FontAwesome;
  padding-right: 6px;
}

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

/*---------------------------------
子カテゴリのカスタマイズ
--------------------------------*/
.widget_categories ul li ul li a::before{
  font-family: FontAwesome;
  padding-right: 6px;
}
/*---------------------------------
カテゴリーに線だけを入れる
--------------------------------*/
.widget_categories ul li a{ 
  border-bottom: 1px dashed #CCCCCC; /* 下線の種類 */
}

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

/*タイトルフォント*/
.header-in .tagline {
text-align:left;
	padding-left: 18px;
	font-family: 'Noto Serif JP', serif;
}

.header-in .logo {
text-align: left;
	padding-left: 0px ;
}

.site-name-text-link {
font-size: 18px;
	text-align: left;
	font-family: 'Noto Serif JP', serif;
}

.logo-text {
	padding: 10px 0 0;
}

.tagline {
	margin: 0 0 .6em
}

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

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

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

.sns-follow-buttons,
.sidebar .sns-follow-buttons {
	justify-content: center;
}

.sns-follow-buttons a,
.sidebar .sns-follow-buttons a {
	width: 45px;
	height: 1.2em;
	margin: 0px 20px 10px 0px;
	font-size: 24px;
}

.sns-share-buttons {
    justify-content: center;
}
/************************************
** 記事内目次
************************************/
.toc {
  background: #f9f9f9!important;
  border: 0!important;
  display: block!important;
  border-top: 5px solid!important;
  border-top-color: #f8c678!important;/*お好みの色に*/
  box-shadow: 0 2px 2px rgba(0,0,0,.2)!important;
  padding: 20px 32px 7px 32px!important;
  margin-bottom: 5%!important;
  width:95%;
  border-radius:10px;
}
@media screen and (min-width:600px){
.toc {
  padding: 20px 35px 15px 35px!important;
  width:70%;
}
}
.toc-title{
  margin: 0 20px 20px -10px!important;
  font-size: 23px!important;
  font-weight: 700!important;
  color: #f8c678!important;/*お好みの色に*/
  background-color: initial;
}
.toc-title:before{
  font-family: "Font Awesome 5 Free";
  content: "\f03a";
  font-weight: 900 !important;
  font-size: 20px;
  color: #fff;
  background-color: #f8c678;/*お好みの色に*/
  border-radius: 50%;
  padding: 14px;
}
.toc a{
  color:#333;
  display: block;
  border-bottom: dashed 1px silver;
  padding-bottom: .5em;/*下の点線との間*/
  padding-top: 0em!important;/*下の点線との間*/
}
.toc ul li{
  font-weight: 700;
  line-height: 1.5;
  padding: 0 0 .4em 1.4em;
  position: relative;
}
.toc ul li:before{
  font-family: "Font Awesome 5 Free"!important;
  content: "\f138";
  position: absolute!important;
  left: -0.3em!important;
  color: #f8c678;/*お好みの色に*/
  font-weight: 900;
}
.toc li li{
  font-weight: 400;
  padding-top:.5em;
  margin-top:0!important;
}
.toc_list li{
  margin-top:-5%!important;
}
@media screen and (min-width:834px){
.toc_list li{/*PCでは目次のh2同士の間隔は抑えめに*/
  margin-top:-1.8%!important;
}
}

/************************************
** サイドバーの目次
************************************/
.sidebar .toc{
  background:transparent!important;
  border:initial!important;
  border-top: initial!important;
  border-top-color: initial!important;
  box-shadow:initial!important;
  margin-bottom:initial!important;
  width: initial!important;
  border-radius:initial!important;
  padding-top:initial!important;
}
.sidebar .toc li li:before{
  color:#fad9a7;/*お好みの色に*/
}
@keyframes slide {
100% {
  opacity:1;
  padding-left:1.2%;
}
/*目次のアイコンにアニメーションを*/
.toc ul li:before{
  opacity:.4;
  animation: slide 1.5s infinite;
}
	/* サイト全体の背景色を微調整 */
body {
    background-color: #f2f2f2;
    color: #333;
}

/* ヘッダーをよりシックに */
.header {
    background-color: #1a1a1a !important;
}

/* カテゴリー見出しのカスタマイズ */
.archive-title {
    border-left: 4px solid #bfa16e; /* ゴールドのアクセントライン */
    padding-left: 15px;
}

/* サイドバーのプロフィールを格上げ */
.author-box {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0px; /* 直角にすることでシャープな印象に */
}
* プロフィール文をさらに濃く、はっきりと */
.author-description, 
.author-content {
    color: #111111 !important; /* ほぼ黒に近い、極めて深いグレー */
    line-height: 1.8;           /* 読みやすさを確保する優雅な行間 */
    font-weight: 500;           /* わずかに太くして視認性を最大化 */
}

/* プロフィール名の視認性も強化 */
.author-name {
    color: #000000 !important;
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* SNSアイコンなどがある場合、その色もシックに調整 */
.author-follows a {
    color: #333333 !important;
}
	/* 固定ページの巨大なアイキャッチとタイトルをトップページだけ消す */
.home.page .entry-eye-catch,
.home.page .entry-title {
    display: none;
}
	/* トップページの巨大なアイキャッチ・タイトル・余計な情報を強制消去 */
.home.page .entry-eye-catch, 
.home.page .entry-title,
.home.page .post-update,
.home.page .post-date,
.home.page .author-info {
    display: none !important;
}

/* ついでに、中身の余白を整えてラグジュアリーに */
.home.page .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
	/* トップページのコンセプト文（本文）をラグジュアリーに */
.home.page .entry-content {
    background-color: #fcfcfc !important; /* ほんのり温かみのある白 */
    padding: 40px 50px !important;       /* 余白をたっぷり取る */
    border: 1px solid #eeeeee !important; /* 繊細な境界線 */
    border-top: 3px solid #bfa16e !important; /* 上部にゴールドのアクセントライン */
    box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important; /* 控えめな影 */
    border-radius: 0 !important;          /* 直角にしてシャープな印象に */
}

/* コンセプト文内のテキスト調整 */
.home.page .entry-content p {
    color: #222222 !important;            /* 文字色を深く、はっきりと */
    line-height: 2.2 !important;          /* 圧倒的に読みやすい広めの行間 */
    letter-spacing: 0.05em !important;    /* わずかな文字間隔で高級感を演出 */
    margin-bottom: 2em !important;
}

/* 強調したい一文（太字）の色を変更 */
.home.page .entry-content strong {
    color: #bfa16e !important;            /* 太字部分をゴールドに */
    font-weight: 600 !important;
}