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

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

/* ボタン */
.btn-yellow {
	display: inline-block;
	padding: .5em 2em;
	text-decoration: none !important;
	background: #f9d749;
	color: #000 !important;
	font-weight: bold;
	border-bottom: solid 3px #edc007;
	border-radius: 3px;
	text-decoration: none;
	margin: 15px 0;
}
.btn-yellow:active {
	-webkit-transform: translateY(3px);
	transform: translateY(3px);
	border-bottom: none;
}

/* リンクホバー */
a:hover {
	color:#f6e498;
}

/* サムネイル角丸 */
.card-thumb img,
.widget-entry-card,
.eye-catch img {
  border-radius: 14px; /* 角丸の半径を調整してください */
}

/* パンくずリストの文字色 */
.breadcrumb {
	color: #ffffff;
}
.breadcrumb a {
	color: #ffffff;
}

/* カテゴリタグの文字色 */
.cat-link {
	color: #ffffff;
	text-decoration: none;
	display: inline-block;
	margin-right: 5px;
	padding: 2px 8px;
	font-size: 12px;
	background-color: #8a96a8;
	border-radius: 2px;
	word-break: break-all;
}
.cat-link:hover {
	opacity: 1;
	background: #9eacc0;
	transition: all .5s ease;
	color: #ffffff;
}

/* タグの文字色 */
.tag-link {
	color: #ffffff;
	text-decoration: none;
	display: inline-block;
	margin-right: 5px;
	padding: 2px 8px;
	font-size: 12px;
	background-color: #8a96a8;
	border: none;
	border-radius: 2px;
	word-break: break-all;
}
.tag-link:hover {
	background: #9eacc0;
	transition: all .5s ease;
	color: #ffffff;
}

/* 記事一覧サムネイルのラベル */
.cat-label {
	top: 0.5em;
	left: 0.5em;
	border: none;
	color: #ffffff;
	background-color: #8a96a8;
	padding: 4px 10px;
	border-radius: 4px;
}

/* 記事一覧次へのボタン */
.pagination-next-link {
	background-color: #283043;
	color: #ffffff;
	border: none;
	border-radius: 30px;
}
.pagination-next-link:hover {
	background-color: #5c677a;
	transition: all 0.5s ease;
	color: #ffffff;
}
.page-numbers {
	color: #5c677a;
	border: 1px solid #5c677a;
	border-radius: 50%;
}
.pagination .current {
	background-color: #5c677a;
	color: #ffffff;
}
.page-numbers.dots {
	opacity: 1;
	background: none;
}
.pagination a:hover {
	background-color: #5c677a;
	color: #ffffff;
}

/*モバイルメニュー*/
.mobile-menu-buttons {
    background-color: #525e6e;
    opacity: 0.9;
}

.mobile-menu-buttons .menu-button:hover {
    background-color: #525e6e;
    color: #ffffff;
}

.menu-button,
.mobile-menu-buttons .menu-button > a {
    color: #ffffff;
    text-decoration: none; /* 必要に応じて */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* タップハイライトカラーを無効にする */
}

.menu-content {
  background-color: #525e6e;
}

/* 追加: リンク要素全体の背景色を設定 */
.mobile-menu-buttons .menu-button a {
    background-color: inherit; /* 親要素の背景色を継承 */
    color: inherit; /* 親要素の文字色を継承 */
}

/* タップ時のスタイルを明示的に設定 */
.mobile-menu-buttons .menu-button:active,
.mobile-menu-buttons .menu-button > a:active {
    background-color: #525e6e; /* タップ時も背景色を保持 */
    color: #ffffff; /* タップ時も文字色を保持 */
}

/* モバイルブラウザのデフォルトスタイルをリセット */
.mobile-menu-buttons .menu-button a:link,
.mobile-menu-buttons .menu-button a:visited,
.mobile-menu-buttons .menu-button a:hover,
.mobile-menu-buttons .menu-button a:active {
    background-color: #525e6e; /* すべての状態で背景色を保持 */
    color: #ffffff; /* すべての状態で文字色を保持 */
    text-decoration: none; /* 必要に応じて */
}

/* 背景色 */
.main, 
.sidebar {
	background-color: #677589;
}

/* カルーセル */
.carousel-entry-card-title {
	display: none;
}
.carousel .cat-label {
	display: none;
}

/* カテゴリーラベルを非表示 */
.entry-card-categorys span {
    display: none !important;
}

/* PC固定ページのヘッダー画像を非表示 */
.page-id-1440 .header {
	display: none;
}
.page-id-1456 .header {
	display: none;
}
.page-id-1450 .header {
	display: none;
}
.page-id-1447 .header {
	display: none;
}
.page-id-1458 .header {
	display: none;
}
.page-id-1454 .header {
	display: none;
}
.page-id-1442 .header {
	display: none;
}
.page-id-1452 .header {
	display: none;
}

/* ボックス付箋 */
.box-fusen {
	padding: 0.5em 1em;
	margin: 2em 0;
	background: #e5e5e5;
	border-left: solid 10px #313131;
}
.box-fusen p {
	margin: 0; 
	padding: 0;
}

/* 打ち消し線レッド */
.strikered {
	text-decoration: line-through;
	text-decoration-color: red;
	color: rgba(0, 0, 0, 0.6); /* 文字色を薄くする */
}

/* 強調文字 */
.bold-font {
	font-weight: bold;
}

/* 強調文字大 */
.bold-font-big {
	font-size: 250%;
	font-weight: bold;
}

/* 記事の見出し */
.article h1 {
	line-height: 1.6;
	padding: 0 0.1em 0.1em 0.1em;
	margin-top: 0;
	background: transparent;
	letter-spacing: 0.02em;
}

.article h2 {
	line-height: 1.6;
	color: #fff;
	padding: 0 0.1em 0.1em 0.1em;
	margin-top: 0;
	background: transparent;
	letter-spacing: 0.02em;
}

.article h3 {
	border: none;
	line-height: 1.6;
	padding: 0 0.1em 0.1em 0.1em;
	margin-top: 0;
	background: transparent;
	letter-spacing: 0.02em;
}

.article h4 {
	border: none;
	line-height: 1.6;
	padding: 0 0.1em 0.1em 0.1em;
	margin-top: 0;
	background: transparent;
	letter-spacing: 0.02em;
}

/* サイドバーの見出し */
.sidebar h3 {
	border: none;
	line-height: 1.6;
	padding: 0 0.1em 0.1em 0.1em;
	margin-top: 0;
	background: transparent;
	letter-spacing: 0.02em;
	font-size: 120%;
}

/* メインカラムのウィジェットの見出し */
.main-widget-label {
	border-left: none;
	border-right: none;
	border-top: none;
	border-bottom: solid 2px black;
	line-height: 1.6;
	padding: 0 0.1em 0.1em 0.1em;
	margin-top: 0;
	background: transparent;
	letter-spacing: 0.02em;
}

/* テーブルブラック */
table.black {
	border-collapse: collapse;
	border: solid 1px #a0a0a0;
}
table.black th {
	background-color: #898989;
	color: #fff;
}
table.black td {
	text-align: center;
}
table.black td.green {
	text-align: center;
	color: #22ac38;
}
table.black td.red {
	text-align: center;
	color: #e60012;
}
table.black td.greenback {
	text-align: center;
	background-color: #22ac38;
	color: #fff;
}
table.black td.redback {
	text-align: center;
	background-color: #e60012;
	color: #fff;
}
table.black td.blackback {
	text-align: center;
	background-color: #000;
	color: #fff;
}
table.black th, table.black td {
	border: solid 1px #a0a0a0;
}

/* テーブルの小文字 */
.table-small-font {
	font-size: 10px;
	vertical-align: middle;
}

/* フロント固定ページで非表示 */
.home.page .date-tags,
.home.page .author-info　{
	display: none;
}

/* 漫画バナー */
img.mangabanner {
	padding: 14px 20px 0 20px;
}


/* 画像センター */
img.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* 画像センターと影 */
img.center-shadow {
	display: block;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/*　プロフィール */
.sidebar.nwa .author-box {
	padding: 0;
	background-color: #fff;
}
.sidebar.nwa .author-box .author-thumb {
	width: 100%;
	margin: 0 0 2.5em 0;
	background: url(https://www.cl3x.net/wp-content/uploads/2025/02/profile-1280-720.png);
	background-size: cover;
	height: 8em;
}
.sidebar.nwa .author-box .author-thumb img {
	max-width: 100px;
	margin-top: 5em;
}
.sidebar.nwa .author-box .author-name {
	margin-bottom: 1em;
}
.sidebar.nwa .author-box .author-content {
	padding: 1em 1.5em;
	font-size: 0.8em;
}
.author-description p {
	margin: 0 0 0.5em 0;
	text-align: left;
	line-height: 1.5;
}
.sidebar.nwa .author-box .author-thumb img {
	border: 1px solid #000;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.2);
}

/* ナビゲーションメニューカスタマイズ */
nav#navi, .menu-header .sub-menu {
	font-weight: bold;
	box-shadow: 0 5px 15px -5px rgba(0,0,0,0.2);
}

.menu-header .sub-menu .item-label {
	font-size: 80%;
}
.menu-header .item-label {
	color: #fff !important;
}
.menu-header .current-menu-item,
.menu-header .current-post-item,
.menu-header .current-menu-ancestor,
.menu-header .current-post-ancestor,
.menu-header .menu-item:hover {
	color: #fff !important;
	border-bottom: 3px solid #677589;
	transition: all .2s ease;
}

.menu-header .sub-menu .menu-item,
.menu-header .sub-menu .menu-item:hover {
	border-bottom: none;
}
.menu-header .current-menu-item>a .item-label,
.menu-header .current-post-item>a .item-label,
.menu-header .current-menu-ancestor>a .item-label,
.menu-header .current-post-ancestor>a .item-label,
.menu-header .item-label:hover {
	color: #fff !important;
	transition: all .2s ease;
}

/* お問い合わせ */
#cf-tbl{
	width: 800px;
}
#cf-tbl table{
	width: 100%;
	border-collapse: collapse;
	border: solid #CCC;
	border-width: 1px;
	color: #444;
}
#cf-tbl table tr th,
#cf-tbl table tr td{
	padding: 0.5em;
	text-align: left;
	vertical-align: top;
	border: solid #CCC;
	border-width: 1px;
	vertical-align: middle;
}
#cf-tbl table tr th{
	width: 35%;
	background: #eee;
}
#cf-tbl table tr td{
	background: #eee;
}
@media screen and (max-width:768px){
#cf-tbl{
	width: 100%;
}
#cf-tbl table,
#cf-tbl table tbody,
#cf-tbl table tr,
#cf-tbl table tr th,
#cf-tbl table tr td{
	display: block;
}

#cf-tbl table{
	width: 100%;
	border-width: 0 0 1px 0;
}

#cf-tbl table tr th,
#cf-tbl table tr td{
	width: 100%;
	padding: 3% 5%;
}

#cf-tbl table tr td{
	border-width: 0px 1px 0px 1px;
}
}
.required{
	font-size:.8em;
	padding: 5px;
	background: #e60012;
	color: #ffffff;
	border-radius: 3px;
	margin-right: 5px;
}
.optional{
	font-size:.8em;
	padding: 5px;
	background: #313131;
	color: #ffffff;
	border-radius: 3px;
	margin-right: 5px;
}
input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
	width: 100%;
	padding: 8px 15px;
	margin-right: 10px;
	margin-top: 10px;
	border: 1px solid #d0d5d8;
	border-radius: 3px;
	background-color: #eff1f5;
}
textarea.wpcf7-form-control.wpcf7-textarea {
	height: 200px;
}
input.wpcf7-submit {
    display: block;
    padding: 15px;
    width: 400px;
    background: #313131;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 2px;
    margin: 15px auto 0
}
@media screen and (max-width:768px){
input.wpcf7-submit {
width: 250px;
}
}

input.wpcf7-submit:hover {
	box-shadow: 0 15px 30px -5px rgba(0,0,0,.15), 0 0 5px rgba(0,0,0,.1);
	transform: translateY(-4px);
	opacity:0.7;
}
span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
	color: #e60012;
	font-weight: 600;
}
.wpcf7 form.sent .wpcf7-response-output {
	font-weight: 600;
	border-color: #ffffff;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
	font-weight: 600;
	color: #e60012;
	border-color: #e60012;
}


/* タイムライン */
.ptimeline-wrap {
	margin:0 auto 2rem;
}
.ptimeline-wrap .ptimeline {
	padding:0 !important;
	list-style:none !important;
}
.ptimeline-wrap .ptimeline-label {
	padding: 3px 0 0 2px;
	color: #aaa;
	font-size: 12px;
	font-weight: 500;
}
.ptimeline-wrap .ptimeline-title {
	font-size: 1.1em;
	font-weight: bold;
	line-height: 1.5;
	color:#00bfff;
}
.ptimeline-wrap .ptimeline-main {
	margin-top: 0.5em;
	padding: 0 0 1.5em;
	font-size: 0.9em;
	line-height: 1.8;
	border-bottom: dashed 1px #ddd;
	color:#555;
}
.ptimeline-wrap .ptimeline-main img {
	display:block;
	margin:1em auto;
}
.ptimeline-wrap .ptimeline-item {
	position: relative;
	padding: 0 0 1em 1.5em !important;
	margin-bottom:0 !important;
	border:none;
}
.ptimeline-wrap .ptimeline .ptimeline-item:before {
	content: "";
	width: 3px;
	background: #eee !important;
	display: block;
	position: absolute;
	top: 25px;
	bottom: -3px;
	left: 5px;
}
.ptimeline-wrap .ptimeline-item:last-child:before {
	content:none;
}
/* タイムライン マーカー */
.ptimeline-wrap .ptimeline-marker {
	display: block;
	position: absolute;
	content: "";
	top: 6px;
	left: 0;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: solid 3px #00bfff;
}
.ptimeline-wrap .ptimeline-item:first-child .ptimeline-marker,.ptimeline-wrap .ptimeline-item:last-child .ptimeline-marker {
	background:#00bfff;
}
/*四角 */
.ptimeline-wrap .square .ptimeline-marker {
	border-radius: 0;
}
/* アイコン*/
.ptimeline-wrap .icon .ptimeline-item .ptimeline-marker {
	content:unset;
	border:none !important;
	background:none !important;
}
.ptimeline-wrap .icon .ptimeline-item .ptimeline-marker:before {
	font-family: "Font Awesome 5 Free";
	top: -1px;
	left: 0;
	position:absolute;
	font-weight:bold;
	font-size:16px;
	line-height:1;
	color:#00bfff;
}
.ptimeline-wrap .icon .ptimeline-item:first-child .ptimeline-marker,.ptimeline-wrap .icon .ptimeline-item:last-child .ptimeline-marker {
	background:none !important;
}
/* 画像*/
.ptimeline-wrap .tl-img .ptimeline-item .ptimeline-marker {
	content:unset;
	border:none !important;
	background:none !important;
}
.ptimeline-wrap .tl-img .ptimeline-item .ptimeline-marker:before {
	content:"";
	display:inline-block;
	background-image:url(ここに画像URL); /* 画像1番目*/
	background-size:contain;
	background-repeat:no-repeat;
	width:40px;
	height:40px;
	position: relative;
	top: -4px;
	left: -2px;
}
.ptimeline-wrap .tl-img li:nth-of-type(2) > .ptimeline-marker:before {
	background-image:url(ここに画像URL) !important; /* 画像2番目*/
}
.ptimeline-wrap .tl-img li:nth-of-type(3) > .ptimeline-marker:before {
	background-image:url(ここに画像URL) !important; /* 画像3番目*/
}
.ptimeline-wrap .tl-img li:nth-of-type(4) > .ptimeline-marker:before {
	background-image:url(ここに画像URL) !important; /* 画像4番目*/
}
.ptimeline-wrap .tl-img li:nth-of-type(5) > .ptimeline-marker:before {
	background-image:url(ここに画像URL) !important; /* 画像5番目*/
}
.ptimeline-wrap .tl-img .ptimeline-item {
	padding: 0 0 1em 3em !important;
}
.ptimeline-wrap .tl-img .ptimeline-item:before {
	top: 30px;
	left: 15px;
}
/*タイムライン カラー */
.ptimeline-wrap .black .ptimeline-title {
	color:#000 !important; /* タイトル色 */
}
.ptimeline-wrap .black .ptimeline-main {
	color:#000 !important; /* コンテンツ色 */
}
.ptimeline-wrap .black .ptimeline-marker {
	border: solid 3px #000 !important; /* マーカー色 */
	color:#000; /* アイコン色 */
}
.ptimeline-wrap .black .ptimeline-item:first-child .ptimeline-marker,.ptimeline-wrap .black .ptimeline-item:last-child .ptimeline-marker {
	background:#000; /* マーカー色(最初と最後)*/
}
.ptimeline-wrap .black .ptimeline-item .ptimeline-marker:before {
	color:#000 !important; /* アイコン色 */
}

/* テーブル1行目固定 */
.p-sticky-table{
	white-space: nowrap;
	line-height:1.6;
}
.p-sticky-table table{
	border:none;
	border: 2px solid #a0a0a0;
	border-bottom: none;
	border-collapse: collapse;
	word-break: break-all;
	table-layout: fixed;
	display:block;
	overflow:scroll;
	max-height: 80vh;
}
.p-sticky-table thead th:first-child {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	left: 0;
	z-index: 3;
}
.p-sticky-table thead th {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 2;
	text-align:center;
}
.p-sticky-table tbody th:first-child{
	position: -webkit-sticky;
	position: sticky;
	left: 0;
	z-index: 1;
	border:none;
	white-space: normal;
	min-width: 130px;
}
.p-sticky-table th, .p-sticky-table td {
	min-width: 50px;
	text-align: center;
	position: relative;
	color: #000;
	border: none !important;
	z-index: 0;
	vertical-align:middle !important;
}

.p-sticky-table td.green {
	min-width: 50px;
	text-align: center;
	position: relative;
	color: #22ac38;
	border: none !important;
	z-index: 0;
	vertical-align:middle !important;
}

.p-sticky-table td.red {
	min-width: 50px;
	text-align: center;
	position: relative;
	color: #e60012;
	border: none !important;
	z-index: 0;
	vertical-align:middle !important;
}

.p-sticky-table th{
	background:#a0a0a0 !important;
	letter-spacing: 1px;
	font-weight: bold !important;
	color: #fff !important;
}
.p-sticky-table tr{
	border-bottom:none !important;
}
.p-sticky-table img{
	margin: 10px auto;
	display: block;
	padding: 0;
	max-width: 80% !important;
}
.p-sticky-table table th::before, .p-sticky-table table td::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	border-right: 1px solid #a0a0a0;
	border-bottom: 1px solid #a0a0a0;
	z-index: -1;
}
/* スマホ */
@media screen and (max-width: 560px) {
	.p-sticky-table table {
		max-height: 60vh;
  	}
	.p-sticky-table thead th:first-child, .p-sticky-table tbody th:first-child {
    		min-width: 25vw;
  	}

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

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

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

/*　プロフィール */
.sidebar.nwa .author-box {
	padding: 0;
	background-color: #fff;
}
.sidebar.nwa .author-box .author-thumb {
	width: 100%;
	margin: 0 0 2.5em 0;
	background: url(https://www.cl3x.net/wp-content/uploads/2025/02/profile-1280-720.png);
	background-size: cover;
	height: 8em;
}
.sidebar.nwa .author-box .author-thumb img {
	max-width: 100px;
	margin-top: 4em;
}
.sidebar.nwa .author-box .author-name {
	margin-bottom: 1em;
}
.sidebar.nwa .author-box .author-content {
	padding: 1em 1.5em;
	font-size: 1em;
}
.author-description p {
	margin: 0 0 0.5em 0;
	text-align: left;
	line-height: 1.5;
}
.sidebar.nwa .author-box .author-thumb img {
	border: 1px solid #000;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.2);
}
	
}

