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

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

/*本文と見出しを別フォント*/

body {
  font-family: "Noto Sans JP", sans-serif; /* 本文をNoto Sans JPに */
}

/*
h1, h2, h3, h4, h5, h6 {
  font-family: "Rounded Mplus 1c", sans-serif; /* 見出しをRounded Mplus 1cに 
}*/
/*h1, h2, h3, h4, h5, h6 {
  font-family: "M PLUS Rounded 1c", sans-serif; /* 見出しをRounded Mplus 1cに 
}*/

/*以下のコードを全て追記します*/ 
 .hljs {padding: 40px 12px 12px;position: relative;}
 .hljs::before {color: #fff;content: "";font-family: "Noto Sans JP", sans-serif;font-weight: 700;left: 0;padding: 2px 8px;position: absolute;top: 0;}
 .hljs.html::before {content: "HTML";background-color: #e44d26;}
 .hljs.css::before {content: "CSS";background-color: #006eb9;}
 .hljs.javascript::before {content: "JavaScript";background-color: #e5a228;}
 .hljs.php::before {content: "PHP";background-color: #8892bf;}

/*つぶやきを整える*/
.noteContents .noteWrap {
	margin: 0 0 1.5em;
	padding: 20px;
	border: 2px dashed #000000;
	border-radius: 10px;
}
.noteContents a {
	text-decoration: none;
}

@media screen and (min-width: 576px) {
  .noteContents .descWrap {
    display: table;
  }
 .noteContents .noteImg {
	 display: table-cell;
	 vertical-align: top;
	 width: 45%;
	 padding-right: 10px;
	 line-height: 0;
 }
 .noteContents .noteTxt {
	 display: table-cell;
	 vertical-align: top;
 }
}

/*プロフィール欄のリンク削除*/
.author-box .author-content .author-name a{
	text-decoration: none;
	color:#545454;
}

/*画像を丸く縁取り*/
.author-thumb img {
  border: 3px solid #f0eee9;
}

/*プロフに飛ぶボタンのリンク*/
.profilepage-link {
	text-align: center;
	/*margin-bottom: 20px;*/
	margin-top: 20px;
	
	display: flex;
    justify-content: center;
    gap: 5px; /* ボタン同士の間隔 */
}

#main .profilepage-link {
    text-align: left;
}
.profilepage-link a {
    display: inline-block;
    font-size: .9em;
    text-decoration: none;

	border: 2px solid #FF3B3B; /* ネオンレッド */
	box-shadow: 0 0 12px rgba(255, 59, 59, 0.9); /* 発光エフェクト強化 */
	border-radius: 10px; /* 角をもう少し丸く */
/*	padding: 12px;*/
	background-color: rgba(26, 37, 43, 0.6); /* ほんのり背景追加 */
	
    padding: .2em 1em;
    border-radius: 20px !important; /* 角の丸みを調整 */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.2);
    transition: .3s ease-in-out;
}

.profilepage-link a:hover {
	background:#fff;
	color: #20d4e6 !important; /* ターコイズブルー */
	text-shadow: 0 0 10px rgba(32, 212, 230, 0.8); /* ほんのり光る */
    /*background: rgb(38, 198, 218) !important; /* ホバー時の少し明るい青 */
}

.profilepage-link a:active {
    background: rgb(0, 140, 158) !important; /* クリック時に暗くする */
}


.blue-button {
    display: inline-block;
    font-size: .9em;
    text-decoration: none;
    color: #fff; /* 文字色を白に */
    background: rgb(0, 172, 193); /* 青っぽい背景 */
    padding: .5em 2em;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.2);
    transition: .3s ease-in-out;
}

.blue-button:hover {
    background: rgb(38, 198, 218); /* ホバー時の少し明るい青 */
}


.profilepage-link a:hover {
    color: #fff;
    box-shadow: 0 10px 12px -3px rgba(0,0,0,.24);
}
@media screen and (max-width: 480px){
	#main .profilepage-link {
		text-align: center;
	}
	.profilepage-link a {
		font-size: 14px;
	}
}

/* ページ送りナビの左右を入れ替える(Cocoon ver.2～) */
.pager-post-navi a.prev-post {
    flex-direction: row-reverse;
    padding:10px 5px 10px 10px;
}
.pager-post-navi a.next-post {
    flex-direction: row;
    padding:10px 10px 10px 5px;
}
.pager-post-navi a.next-post .iconfont:before {
	content: '\f053';
}
.pager-post-navi a.prev-post .iconfont:before {
	content: '\f054';
}
.pager-post-navi a.next-post .next-post-title {
	margin: 0 0 0 10px;
}
.pager-post-navi a.prev-post .prev-post-title {
	margin: 0 10px 0 0;
}
@media screen and (min-width: 481px) {
    .pager-post-navi.post-navi-square {
        flex-direction: row-reverse;
    }
    .post-navi-square.post-navi-border a:last-child {
        border-left-width: 1px;
    }
    .post-navi-square.post-navi-border a:first-child {
        border-left-width: 0;
    }
}
/*次ページ前ページ記入*/
.prev-post-title:before,
.next-post-title:before {
    color: #999999; /* 文字色 */
    font-size: 12px; /* 文字サイズ */
    margin-bottom: 0.3em;
    display: block;
}
.next-post-title:before {
    content: '次のページ';
}
.prev-post-title:before {
    content: '前のページ';
}
/*アイキャッチ非表示*/
.prev-post-thumb,
.next-post-thumb{
  display:none;
}

/*カテゴリ・タグマークの非表示*/
.fa-folder-open:before {
	display: none;
}

.fa-tag:before {
	content: "#";
}
.fa-tags:before {
    content: "#";
}

/*カテゴリーやタグページの見出し*/
.archive-title {
  text-align: center;
}

/*キーワードタグのカスタマイズ*/
.tagcloud a {
   background: none; /*背景を消す*/
   /*border: 1px solid #bcb2a4; /*実線の太さと色*/
   border-radius: 20px; /*角の丸み*/
   /*color: #40210f; /*文字色*/
   padding: 3px 10px; /*要素の内部余白*/
   text-decoration: none; /*文字の装飾なし*/
   font-size: 13px; /*文字サイズ*/
   margin: 2px; /*要素の外部余白*/
   display: flex; /*横並びにする*/
   flex: 1 1 auto; /*余白分の自動伸縮比率*/
   justify-content: space-between; /*左右幅いっぱいに均等に配置する*/
}
.tagcloud a:hover { 
   /*background: #40210f; /*カーソルを合わせた時の背景色*/
   /*border: 1px solid #40210f; /*カーソルを合わせた時の線色*/
   /*color: #fff; /*カーソルを合わせた時の文字色*/
   transition: 0.5s; /*アニメーションの時間*/
}

/*フッターへの反映*/
#footer .tagcloud a:hover { 
/*background: #40210f;*/
/*border: 1px solid #40210f;*/
/*color: #fff;*/
transition: .5s;
}

/*ふきだしカスタム*/

/*更新情報用*/
.f-container {
  display: flex;
/*  align-items: center; アイコンと吹き出しを縦位置中央揃え */
}

/* 全体 */
.sb-box {
  position: relative;
  overflow: hidden;
}
/* アイコン画像 */
.icon-img {
  position: absolute;
  overflow: hidden;
  top: 0; /* 画像の位置を上から0に */
  width: 80px; /* 画像の幅 */
  height: 80px; /* 画像の高さ */
}
/* アイコン画像（左） */
.icon-img-left {
  left: 0; /* 画像の位置を左から0に */
}
/* アイコン画像（右） */
.icon-img-right {
  right: 0; /* 画像の位置を右から0に */
}
/* アイコン画像 */
.icon-img img {
  border-radius: 50%; /* 画像を丸く表示する */
  border: 2px solid #eee; /* 画像の縁取りの太さとカラー */
}
/* アイコンネーム */
.icon-name {
  position: absolute;
  width: 80px; /* ネームの最大幅を画像と同じに */
  text-align: center; /* ネームの位置をセンターに */
  top: 83px; /* ネームの位置を上から83に */
  color: #777; /* ネームのカラー */
  font-size: 10px; /* ネームのフォントサイズ */
}
/* アイコンネーム（左） */
.icon-name-left {
  left: 0; /* ネームの位置を左から0に */
}
/* アイコンネーム（右） */
.icon-name-right {
  right: 0; /* ネームの位置を右から0に */
}
/* 吹き出し */
.sb-side {
	/*text-align: center;*/
	/*width: 70%;*/
	padding: 10px;
}
.sb-side-right {
  float: right;
}
/* 吹き出し内のテキスト */
.sb-txt {
  position: relative;
  
/*	border: 2px solid #000000; /* 吹き出しの縁取りの太さとカラー */
	
	border: 2px solid #fff; /* ネオンレッド */
/*  box-shadow: 0 0 12px rgba(255, 59, 59, 0.9); /* 発光エフェクト強化 */
	
/*	box-shadow: 3px 3px 3px #C6C6C6;*/
  
	border-radius: 6px; /* 吹き出しを角丸に */
  background: #fff; /* 吹き出しの背景色 */
  color: #333; /* 吹き出し内のテキストのカラー */
  font-size: 15px; /* 吹き出し内のフォントサイズ */
  line-height: 1.7; /* 吹き出し内のテキストが2行以上になった時の行間 */
  padding: 18px; /* 吹き出し内の上下左右の余白 */
}
.sb-txt > p:last-of-type {
  padding-bottom: 0; /* 吹き出し内のテキストを改行した場合、最後のpタグにpadding-bottomをつけない */
  margin-bottom: 0; /* 吹き出し内のテキストを改行した場合、最後のpタグにmargin-bottomをつけない */
}
/* 吹き出しの三角 */
.sb-txt:before {
  content: "";
  position: absolute;
  border-style: solid;
  top: 16px; /* 吹き出し内の三角の位置 */
  z-index: 3;
}
/* 吹き出しの三角（左） */
.sb-txt-left:before {
  content: '';
  position: absolute;
  left: -31px;
  top: 20%;
  border-top: 15px solid transparent;
  border-right: 15px solid #fff;
  border-bottom: 15px solid transparent;
  border-left: 15px solid transparent;
	
}
.sb-txt-left:after {
  left: -10px; /* beforeより-3px */
  border-width: 8px 10px 8px 0; /* beforeより上下+1px */
  border-color: transparent #eee transparent transparent; /* 縁取りと同じカラーに */
}
/* 吹き出しの三角（右） */
.sb-txt-right:before {
  right: -7px;
  border-width: 7px 0 7px 10px;
  border-color: transparent transparent transparent #fff; /* 背景色と同じカラーに */
}
.sb-txt-right:after {
  right: -10px; /* beforeより-3px */
  border-width: 8px 0 8px 10px; /* beforeより上下+1px */
  border-color: transparent transparent transparent #eee; /* 縁取りと同じカラーに */
}

/* 767px（iPad）以下 */
/*@media (max-width: 767px) {	
	/*
	img.ls-is-cached.lazyloaded {
		width: 100px !important;  
		height: 100px !important;
		max-width: none !important;
		max-height: none !important;
		display: block; 
	}
	*/
	/* アイコン画像 
	.icon-img {
		width: 60px; /* 画像の幅を-20px 
		height: 60px; /* 画像の高さを-20px 
	}
	/* アイコンネーム 
	.icon-name {
		width: 60px; /* 画像の幅に合わせて-20px 
		top: 62px; /* ネームの位置を上から62に 
		font-size: 9px; /* ネームのフォントサイズを-1px 
	}
	/* 吹き出し（左） 
	.sb-side-left {
		margin: 0 0 30px 78px; /* 吹き出し（左）の上下左右の余白を狭く 
	}
	/* 吹き出し（右） 
	.sb-side-right {
		margin: 0 78px 30px 0; /* 吹き出し（右）の上下左右の余白を狭く 
	}
	/* 吹き出し内のテキスト 
	.sb-txt {
		padding: 12px; /* 吹き出し内の上下左右の余白を-6px 
	}
}*/

.f-container {
  width: 100%;
  margin-bottom: 30px;
  display: flex;
}

.f-icon {
  width: 25%;
/*  padding : 0 20px 0 0;*/
  text-align: center;
  margin-top: -5px;
}

.f-icon img {
	max-height: 120px;
	margin: 0 auto;
	border-radius: 50%;
	border: 2px solid #fff;
	/*box-shadow: 0 0 12px rgba(255, 59, 59, 0.9); 発光エフェクト強化 */
	/*box-shadow: 3px 3px 3px #C6C6C6;*/
}

.f-text-box {
  width: 70%;
  padding: 10px;
  border: 2px solid #000000;
/*  box-shadow: 3px 3px 3px #C6C6C6;*/
  position: relative;
  background: #fff;
}

.f-text-box p {
  margin: 0;
  padding: 0;
  line-height: 28px;
}

.f-text-box::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 20%;
  border-top: 15px solid transparent;
  border-right: 15px solid #000000;
  border-bottom: 15px solid transparent;
  border-left: 15px solid transparent;
}

@media only screen and (max-width: 769px) {
	.f-text-box p {
		line-height: 23px;
		letter-spacing: 1px;
		font-size: 13px;
	}
	.f-text-box {
		width: 73%;
	}
	.f-icon {
		width: 27%;
	}
}

/*アイキャッチ調整*/
/*.entry-header {
    display: flex;
    flex-direction: column;
}*/
/*.entry-header .eye-catch-wrap {
    order: -1;
}*/
/*.entry-header .eye-catch-wrap {
    margin: -34px -28px 0.5em;
}*/

/* 記事に付くアイキャッチサイズ */
.eye-catch img {
  height: 300px;
  object-fit: cover;
}



/*姉さまカスタム🌹*/

/* 🌟 フッターの視認性アップ */
.footer {
  background-color: #1a252b; /* 黒すぎないダークグレー */
  color: #d0f0f7; /* 少し明るめの水色 */
  padding: 20px 0; /* 余白を追加 */
  text-align: center; /* センタリングで整える */
}

/* 🌟 フッター内のリンク（ターコイズ系） */
.footer a {
  color: #20d4e6; /* 明るめのターコイズ */
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.footer a:hover {
  color: #00acc1; /* ホバー時に少し濃いターコイズ */
  text-decoration: underline;
}

/* 🌟 フッター内のカテゴリ＆名前の視認性 */
.footer .category, .footer .profile-box h2 {
  color: #20d4e6; /* ターコイズ */
  font-weight: bold;
}

/* 🌟 プロフィールボックス＆タグのデザイン統一 */
.profile-box, .tag-box {
  border: 2px solid #FF3B3B; /* ネオンレッド */
  box-shadow: 0 0 12px rgba(255, 59, 59, 0.9); /* 発光エフェクト強化 */
  border-radius: 10px; /* 角をもう少し丸く */
  padding: 12px;
  background-color: rgba(26, 37, 43, 0.6); /* ほんのり背景追加 */
}

/* 🌟 プロフィールボックスの枠を統一 */
.footer .profile-box {
  border: 1px solid #20d4e6; /* ターコイズの枠線 */
  padding: 12px;
  border-radius: 10px;
}

/* 🌟 「明日月」の名前の色を強制変更 */
.footer .profile-box h2 {
  color: #20d4e6 !important; /* ターコイズブルー */
  font-weight: bold !important;
  text-shadow: 0 0 10px rgba(32, 212, 230, 0.8); /* ほんのり光る */
}

/* 🌟 カテゴリの文字色を強制変更 */
.footer .category-list li {
  color: #a0e7f7 !important; /* ちょい淡いターコイズ */
  font-weight: bold !important;
  transition: color 0.3s ease-in-out;
}

.footer .category-list li:hover {
  color: #20d4e6 !important; /* ホバー時に濃く */
}

/* 🌟 フッターの間隔を調整 */
.footer {
  line-height: 1.8; /* 少しゆとりを持たせる */
}

/* 🌟 ヘッダーの背景をグラデーションに */
.header {
  background: linear-gradient(90deg, #ff3b3b, #20d4e6, #ff3b3b);
  background-size: 200% 200%; /* グラデの動きをスムーズに */
  color: #fff; /* 文字色は白で視認性UP */
  padding: 20px 0;
  text-align: center;
  animation: gradientMove 6s infinite linear; /* アニメーション適用 */
}

/* 🌟 グラデーションを動かすアニメーション */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 🌟 ヘッダーのリンクデザイン */
.header a {
  color: #fff; /* リンクも白 */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}

.header a:hover {
  color: #ffeb3b; /* ホバー時にゴールド系 */
}


/* デフォルトのリンク色（ターコイズ） */
a {
  color: #20d4e6 !important; /* ターコイズブルー */
  font-weight: bold !important;
  text-shadow: 0 0 10px rgba(32, 212, 230, 0.8); /* ほんのり光る */
	 text-decoration: none; /* 必要なら下線を消す */
}

/* ホバー時の色（ターコイズブルー） */
a:hover {
    color: #20d4e6 !important; 
    text-decoration: none; /* 必要なら下線を消す */
}



/*アイキャッチをトップに*/
.single .entry-header {
	display: flex;
	flex-direction: column;
}
.single .entry-header .eye-catch-wrap {
	order: -1;
}

.single .entry-header .eye-catch-wrap {
	margin: -36px -29px 0.5em;
}

/*アイキャッチと抜粋*/
.novels-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: auto;
    padding: 0 20px;
}

.novel-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
/*    background: #f9f9f9;*/
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    color: inherit;
    width: 100%;
    box-sizing: border-box;
}

.novel-item:hover {
/*    background: #e0e0e0;*/
    transform: scale(1.02);
}

.novel-thumbnail {
    width: 100%;
    height: 200px; /* 高さを調整してアイキャッチを表示 */
    background-color: #ccc; /* アイキャッチがない場合の背景色 */
    display: block;
}

.novel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.novel-title {
    width: 100%;
    text-align: left;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.novel-excerpt {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    display: block;
    text-align: left;
}



/*アイキャッチ非表示*/
.prev-post-thumb,
.next-post-thumb{
  display:none;
}

/*固定ページの日付非表示*/
.page .date-tags,
.page .author-info {
    display: none;
}

/* ノベルスのみ「前のページ」「次のページ」のデフォルトページ送りを非表示 */
.single-novels .post-navigation,
.single-novels .pagination,
.single-novels .nav-links,
.single-novels .pager-post-navi,
.single-novels .navigation.post-navigation,
.single-novels .post-navi,
.single-novels .pagination-post,
.single-novels .pager-prev-next,
.single-novels .prev-post,
.single-novels .next-post,
.single-novels .prev,
.single-novels .next,
.single-novels .pager-prev-next {
    display: none !important;
}








/*プロフィール欄のリンク削除*/
.author-box .author-content .author-name a{
	text-decoration: none;
	color:#545454;
}
/*次ページ前ページ記入*/
.prev-post-title:before,
.next-post-title:before {
    color: #999999; /* 文字色 */
    font-size: 12px; /* 文字サイズ */
    margin-bottom: 0.3em;
    display: block;
}
.next-post-title:before {
    content: '次のページ';
}
.prev-post-title:before {
    content: '前のページ';
}



/*リンク前の「・」を消したい*/

ul {
    list-style-type: disc; /* デフォルトの「・」を復活 */
    padding-left: 1.5em; /* 適切な余白を設定 */
}
.styled-list li::before {
    content: "●"; /* 丸を追加 */
    margin-right: 0.5rem;
    color: inherit;
}

.novels-genre-tags {
    margin-top: 10px;
}

.genre-tag {
    display: inline-block;
    padding: 8px 10px;

	  border: 2px solid #FF3B3B; /* ネオンレッド */
  background-color: rgba(26, 37, 43, 0.6); /* ほんのり背景追加 */
	
	
    text-decoration: none;
    border-radius: 13px;
    margin-right: 5px;
}

.genre-tag:hover {
    /*background-color: #ddd;*/
	   background-color: #fff;
}


/*続きはこちらをボタンにする*/

.novels-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff; 
	/* 通常時の背景色 */
    color: #000; 
	/* 通常時の文字色 */
    text-decoration: none;
    border: 2px solid #000;
	
	/* ボーダーの色と太さ */
    border-radius: 5px; /* 角の丸み */
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s; /* 背景色と文字色の変化にトランジションを適用 */
}

.novels-button:hover {
    background-color: #000; 
	/* ホバー時の背景色 */
    color: #fff; /* ホバー時の文字色 */
}

/*自動字下げをやりたい
article p { 
text-indent:1rem;
}*/

/*目次カスタム*/


/*目次を非表示に*/
.single-novels .toc {
    display: none !important;
}

.single-novels .toc {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 200px;
  background: #fff;
  padding: 10px;
  border: 1px solid #ccc;
  z-index: 1000;
}

/*右にズレている。*/
/* ショートコードのリスト全体を中央寄せ */
.novels-list-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* リスト自体も中央寄せ */
.novels-list-container ul {
    list-style: none; /* デフォルトの点を消す */
    padding: 0;
    text-align: center;
}

/* 各リスト項目の調整 */
.novels-list-container ul li {
    display: block; /* 横並びを防ぐ */
    margin: 5px 0; /* 上下の余白を追加 */
}

/* 「続きはこちら」のボタンも中央に */
.novels-list-container p {
    text-align: center;
}

/*自動字下げの実装
p:first-letter {
  margin-left: 1rem;
}*/


/* 右上に固定表示される目次 */
.custom-toc {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 250px;
    max-height: 80vh;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 99999 !important; /* さらに前面に */
}


body {
	position: relative;
	z-index: auto;
}

/* サイドバーがクリックできるように */
.sidebar {
    position: relative;
    z-index: 0 !important; /* 目次より下だが、クリック可能な位置 */
}


/* 目次タイトル（「目次」部分） */
.custom-toc h2 {
   font-size: 16px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 10px;
	color:#fff;
}

/* 章のタイトル */
.chapter-title {
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
/*    background: #f7f7f7;*/
    border-radius: 5px;
    margin-bottom: 5px;
}

/* 章タイトルのホバー時のデザイン */
.chapter-title:hover {
  /*  background: #e0e0e0;*/
}

/* 各章ごとの目次（初期状態では非表示） */
.chapter-list {
    list-style: none;
/*    padding: 0; */
    margin: 0;
    display: none;
}

/* 章が開いたときに表示される */
.chapter-list.open {
    display: block;
}

/* 目次内の各リンク */
.custom-toc a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 5px;
    border-radius: 5px;
}

/* リンクのホバー時 */
.custom-toc a:hover {
	border: 2px solid #FF3B3B; /* ネオンレッド */
/*  box-shadow: 0 0 12px rgba(255, 59, 59, 0.9); 発光エフェクト強化 */
/*    background-color: #f0f0f0;*/
}

/* 目次全体の開閉（目次タイトルをクリックすると開閉） */
.custom-toc.closed ul {
    display: none;
}

/* 記事に付くアイキャッチサイズ */
.eye-catch img {
  height: 300px;
  object-fit: cover;
}


/* 目次の全体デザイン */
.fixed-toc-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* 目次タイトル（h2）のデザイン */
.fixed-toc-container h2 {
    text-align: left;
    margin: 0;
}

/* 目次リストのデザイン */
.fixed-toc-container ul {
    list-style: none; /* 「・」を消す */
    padding: 0;
    margin: 0 auto;
    width: fit-content;
}

/* リスト項目のデザイン */
.fixed-toc-container ul li {
    text-align: left;
    white-space: nowrap;
}

/* ✅ すべての章タイトル（h5）を統一 */
.custom-h5 {
    font-size: 1.1em; /* h5のサイズ */
    font-weight: bold;
    color: #555; /* h5の色合いに調整 */
    margin-top: 10px;
    text-align: center; /* 中央揃え */
    padding: 5px 0;
    border-bottom: 1px solid #ddd; /* h5っぽいラインをつける */
}



/*次ページの見た目を整える*/
.next-prev-nav {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 20px !important;
}

.next-prev-nav a {
    display: inline-block !important;
    padding: 8px 16px !important;
    background-color: #333 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    text-align: center !important;
    transition: background 0.3s !important;
    font-size: 14px !important;
}

.next-prev-nav a:hover {
    background-color: #555 !important;
}

/*投稿タイトルを非表示
.post .entry-header .entry-title {
  display: none !important;
}*/

/* カスタム投稿タイプ「novels」のタイトルを非表示に 
.single-novels .entry-title {
  display: none !important;
}*/
.postid-1497 .entry-title {
    display: none !important;
}


/* TOP NEXT ボタンを中央寄せ */

/* シリーズのナビゲーションリンクに対するスタイル */
/* リンクのスタイルを変更してボタン風に */
.series-navigation a {
/*  background-color: white; 背景色を白に */
	
	 background-color: rgba(26, 37, 43, 0.6); /* ほんのり背景追加 */
	color: #20d4e6; /* ターコイズ */
  padding: 10px 20px; /* ボタンの余白 */
  text-decoration: none; /* 下線を消す */
  border-radius: 10px; /* 角を丸く */
	box-shadow: 0 0 12px rgba(255, 59, 59, 0.9); /* 発光エフェクト強化 */
  margin: 0 10px; /* ボタン同士の間隔 */
  transition: background-color 0.3s, color 0.3s; /* ホバー時のアニメーション */
	border: 2px solid #FF3B3B;
}

/* ホバー時に背景色を変更 */
.series-navigation a:hover {
  background-color: #f0f0f0; /* ホバー時の背景色 */
    color: #20d4e6 !important; /* ターコイズブルー */

  text-shadow: 0 0 10px rgba(32, 212, 230, 0.8); /* ほんのり光る */
}

.series-navigation a:focus {
  outline: none !important;  /* 強制的にフォーカス時の枠線を非表示 */
}

/* ナビゲーション全体を中央に配置 */
.series-navigation {
  display: flex;  /* フレックスボックスを使用 */
  justify-content: center;  /* 横方向に中央揃え */
  align-items: center;  /* 縦方向に中央揃え */
  margin: 20px 0;  /* 上下にスペースを追加 */
}

/*目次を折りたたみ*/
.custom-toc ul {
    display: none;
}

.custom-toc.closed ul {
    display: block;
}

.toc-title::after {
    content: none !important;
}




/* 一覧ページの状態タグ */
.novel-condition-tag {
    display: inline-block; /* インライン表示 */
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    color: #fff !important;
}
.novel-condition-tag.serializing {
    background-color: #ff9800 !important;
    color: #fff !important;
}
.novel-condition-tag.completed {
    background-color: #800080 !important;
    color: #fff !important;
}

/* 📌 本文ページ用（本文内の状態タグ） */
.novel-condition-single {
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none !important;
    transition: background-color 0.3s ease-in-out;
}

/* ホバー時のエフェクト（オレンジ） */
.novel-condition-single.serializing:hover {
    background-color: #cc5200 !important;
}

/* ホバー時のエフェクト（紫） */
.novel-condition-single.completed:hover {
    background-color: #5a005a !important;
}

/* 連載中（オレンジ） */
.novel-condition-tag.serializing,
.novel-condition-single.serializing {
    background-color: #ff9800 !important;
    color: #fff !important;
}

/* 完結（紫） */
.novel-condition-tag.completed,
.novel-condition-single.completed {
    background-color: #800080 !important;
    color: #fff !important;
}




/* 初期状態で目次を非表示にする */
.custom-toc {
    display: none;
}



/*ヘッダーモバイルボタンのロゴを消す
a.menu-button-in {
    display: none !important;
}*/

/*ヘッダーモバイルボタンの文字色と背景色を変更
.search-menu-button.menu-button,
.navi-menu-button.menu-button{
  background-color: #000000; 
  color: #FFD700;
}
.logo-menu-button.menu-button{
  background-color: #000000;
}
.mobile-menu-buttons{
  background-color: #000000;
}*/

/*更新情報デザイン*/
.update-scroll-box {
  max-height: 500px;
  overflow-y: auto;
  padding: 10px;
}
/*
.update-scroll-box::-webkit-scrollbar {
  width: 6px;
}
.update-scroll-box::-webkit-scrollbar-thumb {
  background-color: rgba(100, 100, 100, 0.5);
  border-radius: 3px;
}
.update-scroll-box::-webkit-scrollbar-track {
  background-color: transparent;
}
*/

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

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

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