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


/*サイドバースクロール追従の上余白*/
#sidebar-scroll {
	padding-top: 20px;
}


/*ブログカードの枠線の太さ変更*/
.blogcard{
	border-width:2px;
}

/*ブログカード左揃え*/
.blogcard-wrap {
	margin-left: 0;
}

.ecb-entry-border .entry-card-wrap {
    border: none;
}

/*目次のタイトル編集*/
.toc-title{
	border-bottom: 1px solid #b2b2b2;
}

/*「目次」と最初の項目の間の余白*/
.toc-content{
	padding-top:1em !important;
}

/*目次の全体編集*/
.toc{
	border-width:3px; /*目次の枠線幅*/
	border-radius:4px;/*ボーダー4隅の半径を指定*/
	border-color:#e6e6e6 !important;
}

/*目次の各要素（リンク）の編集*/
.toc a{
    display:block; /*ブロック要素にする*/
    border-bottom: 1px dashed #ccc;
    padding-bottom:1px;
    padding-top:3px;
}

/*目次の各要素（リンク）ホバー時の編集*/
.toc a:hover {
    background-color: #ddd;/*ホバー時の背景色*/
    transition: all 0.3s ease 0s; /*0.3sかけてすべてのcssを適用*/
}

/*toc-listの直下のli(h2から次のh2手前)の編集*/
.toc-list > li{
	font-size:14px;
	font-weight:500;
	line-height:1.5;
	padding-bottom:3px;
}

/*toc-list直下のli直下のa(つまりh2の項目のみ)の編集*/
.toc-list > li > a{
	position: relative;
	padding-top: 0.5em;
	padding-left: 1.5em;
}

/*h2タグのアイコン*/
.toc-list > li > a:before {
	position: absolute;
	top: 50%;
	left: 0;
	padding-top: 0.5em;
	transform: translate(0%, -50%);
	content: "■ "; /*アイコン*/
	color: #222; /*アイコンの色*/
}

/*h3タグの編集　.toc-list > li > ul >liと多分同義*/
.toc-list > li > ul > li a {
	position: relative;
	padding-top: 0.5em;
	padding-left: 1em;
	font-weight: 400;
}

/*h3タグのアイコン*/
.toc-list > li > ul > li a:before {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0%, -50%);
  padding-top: 0.5em;
	
  font-family: "Font Awesome 5 Free";
  content:"\f105"; /*アイコン*/
  color: #191970; /*アイコンの色*/
  font-size: 18px; /*アイコンの大きさ*/
  
  font-weight:600;
}

/*h4タグのアイコン*/
.toc-list > li li li a::before {
  font-family: "Font Awesome 5 Free";
  content: "\f0da";
  color: #999999;
  font-size: 18px;
  padding-right: 0.4em;
}


/*サイドバーの編集*/
.sidebar{
border:none;
}


/*デフォルトの見出し無効化*/
.article h2:before {
    border-top: none;
}
.article h2:after {
    border-bottom: none;
}
.article h2{
    border: none;
}
.article h3:before {
    border-top: none;
}
.article h3:after {
    border-bottom: none;
}
.article h3{
    border: none;
}
.article h4:before {
    border-top: none;
}
.article h4:after {
    border-bottom: none;
}
.article h4{
    border: none;
}
.article h5:before {
    border-top: none;
}
.article h5:after {
    border-bottom: none;
}
.article h5{
    border: none;
}
.article h6:before {
    border-top: none;
}
.article h6:after {
    border-bottom: none;
}
.article h6{
    border: none;
}

 /*h2見出しデザイン*/
.article h2 {
    font-size: 16px;
    position: relative;
    color: white;
    background: #4dc1b7;
    line-height: 1.3;
    padding: 0.8em 0em 0.8em 2.0em;
    border-radius: 4px;
}
.article h2:before {
    font-family: "Font Awesome 5 Free";
    content: "\f303";
    font-weight: 900;
    position: absolute;
    /* vertical-align: middle; */
    top: 50%;
    transform: translateY(-50%);
    left: 0.5em;
}

 /*h3見出しデザイン*/
.article h3 {
    font-size: 16px;
    border-bottom: solid 3px #4dc1b7;
    padding: 0.4em 0;
    position: relative;
    padding-left: 1.2em;
    line-height: 1.0;
}
.article h3:before {
    font-family: "Font Awesome 5 Free";
    content: "\f138";/*アイコンのユニコード*/
    font-weight: 900;
    position: absolute;/*絶対位置*/
    font-size: 0.9em;/*サイズ*/
    left: 0;/*アイコンの位置*/
    top: 50%;
    transform: translateY(-50%);
    color: #4dc1b7; /*アイコン色*/
    font-weight: 900;
}

.article h4 {
    font-size: 16px;
    border-bottom: solid 2px #4dc1b7;
    border-image: linear-gradient(to right, #4dc1b7 70%, rgba(77, 193, 183, 0.2)) 1; /* 右側で薄くなるが消えない */
    padding: 0.4em 0;
    line-height: 1.0;
}


/*h5見出しデザイン*/
.article h5 {
	font-size: 16px;;
	border-bottom: solid 2px;
	border-color: #4dc1b7;
    position: relative;
    line-height: 1.0;
}

/*シンプルな囲み枠*/
.kakomi-box1 {
    margin: 2em auto;
    padding: 1em;
    border: 2px dashed #4dc1b7; /* 枠線 */
}

/*シンプルな背景*/
.green-back {
    background:#e6ffea;
}

/*シンプルな横線*/
.h-line {
	font-size: 17px;
	font-weight:bold;
	border-bottom: solid 2px;
	border-color: #4dc1b7;
    position: relative;
}

/*コマンド用背景*/
.secondary-box {
    background:none;
	padding:none;
    font-weight:none;
    font-style: none;
	font-size:none;
}

.secondary-box {
	background:#1f1f1f;
	border: solid 1px #2b2b2b;
	border-radius: 4px;
	padding:6px;
	font-family: "source-code-pro", monospace;
    font-weight: 600;
    font-style: normal;
	font-size:14px;
	color: #cccccc;
}

/*コマンド用フォント*/
.command-font {
	font-family: "source-code-pro", monospace;
    font-weight: 400;
    font-style: normal;
}

/*miecraftのid*/
/*.mc-id {
	font-family: "source-code-pro", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    display: inline-block;
	border: 2px solid #cccccc;
	border-radius: 4px;
	padding: 2px;
	margin: 0 4px;
}

.mc-cmd {
    background:#1f1f1f;
	border: solid 1px #2b2b2b;
	border-radius: 4px;
	padding:6px;
	font-family: "source-code-pro", monospace;
    font-weight: 600;
    font-style: normal;
	font-size:14px;
	color: #cccccc;
}*/

.mc-id {
    font-family: "source-code-pro", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    display: inline-block;
    border: 2px solid #cccccc;
    border-radius: 4px;
    padding: 2px;
    padding-right: 2em;
    margin: 2px 4px;
    position: relative;
}

.mc-tag {
    font-family: "source-code-pro", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    display: inline-block;
    border: 2px solid #cccccc;
    border-radius: 4px;
    padding: 2px;
    margin: 2px 4px;
    position: relative;
}

.mc-cmd {
	background: linear-gradient(to bottom, #343540 1.6em, #1f1f1f 1.6em) !important;

	border: solid 1px #2b2b2b;
    border-radius: 4px;
    padding: 10px;
	padding-top: 30px;
    font-family: "source-code-pro", monospace;
    font-weight: 600;
    font-style: normal;
    font-size:14px;
    color: #cccccc;
    position: relative;
    line-height: 1.5em; /* 行間の調整 */
    overflow-wrap: break-word;
}

.mc-id button, .mc-cmd button {
    font-size: 12px;
    color: inherit;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    vertical-align: middle;
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 2px;
    margin-right: 6px;
}

.mc-id button {
    margin-top: 0;
    margin-right: 4px;
    top: 50% !important;
    transform: translateY(-50%);
}

.mc-id button .fa-copy:before {
    content: "\f0c5";
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-size: 12px;
    color: #989;
}

.mc-cmd button .fa-copy:before {
    content: "\f0c5";
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    color: #ccc;
}

.mc-id .fa-circle-check:before,
.mc-cmd .fa-circle-check:before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    color: #4ac960;
}

.mc-cmd mc {
	font-size: 12px;
    color: inherit;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    vertical-align: middle;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 2px;
    margin-left: 6px;
}

.marker {
    width: 32px;
    height: 32px;
    border: 1px solid #000;
    position: absolute;
    background-color: red;
}

.marker-under-red {
    background: linear-gradient(transparent 75%, #ffd0d1 75%);
}

.underline_widget {
	font-weight:bold;
	font-size: 17px;
	border-bottom: solid 2px;
	padding-bottom:6px;
	border-color: #4dc1b7;
    position: relative;
    line-height: 1.0;
}
.underline_widget_red {
	font-weight:bold;
	font-size: 17px;
	border-bottom: solid 2px;
	padding-bottom:6px;
	border-color: #cd3740;
    position: relative;
    line-height: 1.0;
}

.img-border-min200px {
	border-radius: 8px;
}


/*リードリストのデザイン*/
ol.lead-list {
    background: rgba(77, 193, 183, .16) !important;
    border-radius: 20px !important;
    counter-reset: number !important;
    padding: 15px 15px 15px 20px !important;
}

ol.lead-list li {
	font-weight: 700;
    border-bottom: 1px dashed #4dc1b7 !important;
    position: relative !important;
    line-height: 1.5em !important;
    list-style-type: none!important;
    padding: 0.5em 0.5em 0.5em 40px !important;
}

ol.lead-list li:before {
	left: 0;
	position: absolute;
    background: initial !important;
    border: none !important;
    border-radius: initial !important;
    color: #4dc1b7 !important;
    content: '\f058' !important;
    font-family: "Font Awesome 5 Free" !important;
    font-size: 1.1em !important;
    font-weight: 900 !important;
    display: block !important;
    line-height: 25px !important;
    height: 25px !important;
    text-align: initial !important;
    top: 50% !important;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    margin-left: 10px !important;
    width: 25px !important;
}


/*チェックリストのデザイン*/
ol.check-list {
    background: rgba(246,210,111,.16) !important;
    border-radius: 20px !important;
    counter-reset: number !important;
    padding: 15px 15px 15px 20px !important;
}

ol.check-list li {
	font-weight: 700;
    border-bottom: 1px dashed #fcdc82 !important;
    position: relative !important;
    line-height: 1.5em !important;
    list-style-type: none!important;
    padding: 0.5em 0.5em 0.5em 40px !important;
}

ol.check-list li:before {
	left: 0;
	position: absolute;
    background: initial !important;
    border: none !important;
    border-radius: initial !important;
    color: #fcdc82 !important;
    content: '\f138' !important;
    font-family: "Font Awesome 5 Free" !important;
    font-size: 1.1em !important;
    font-weight: 900 !important;
    display: block !important;
    line-height: 25px !important;
    height: 25px !important;
    text-align: initial !important;
    top: 50% !important;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    margin-left: 10px !important;
    width: 25px !important;
}

/*ステップリストのデザイン*/
ol.step-list {
    background: rgba(77, 193, 183, .16) !important;
    border-radius: 20px !important;
    padding: 15px 15px 15px 20px !important;
	counter-reset: number;
}

ol.step-list li {
	font-weight: 700;
    border-bottom: 1px dashed #4dc1b7 !important;
    position: relative !important;
    line-height: 1.5em !important;
    list-style-type: none!important;
    padding: 0.5em 0.5em 0.5em 40px !important;
}

ol.step-list li:before {
    counter-increment: number;
    content: counter(number);
    left: -4px;
    position: absolute;
    background: #4dc1b7 !important;
    border: none !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    display: block !important;
    line-height: 22px !important;
    height: 22px !important;
    text-align: center !important;
    vertical-align: middle;
    top: 50% !important;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    margin-left: 10px !important;
    width: 22px !important;
}

/*dataTablesのcss無効化*/
/*table.dataTable {
    width: unset;
    margin: unset;
    clear: unset;
    border-collapse: unset;
    border-spacing: unset;	
}

table.dataTable thead th,
table.dataTable thead td {
    border-bottom: unset;
}

table.dataTable th, 
table.dataTable td {
    box-sizing: unset;
}

table.dataTable tbody tr {
    background-color: unset;
}*/

/*table.dt_sort thead .sorting_asc {
    background-image: url("https://erusuika.com/wp-content/uploads/sort_asc.png") !important;*/
/*
table.dt_sort thead .sorting_desc {
    background-image: url("https://erusuika.com/wp-content/uploads/sort_desc.png") !important;
}*/
/*
table.dt_sort thead .sorting {
    background-image: url("https://erusuika.com/wp-content/uploads/sort_both.png");
}

table.dt_sort thead .sorting, table.dt_sort thead .sorting_asc, table.dt_sort thead .sorting_desc, table.dt_sort thead .sorting_asc_disabled, table.dt_sort thead .sorting_desc_disabled {
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center right 4px;
	background-size: 7px calc(7px * 1.6);
}*/

/*----------------dataTablesの並べ替えのソートアイコンについて---------------------------*/

/* デフォルトアイコン（ソートされていない列に表示） */
figure.dt_sort table thead .sorting:before {
    content: "\f0dc"; /* デフォルトのソートアイコン */
    position: absolute;
    right: 6px;
    font-family: "Font Awesome 5 Free" !important;
    font-size: 13px;
    -webkit-font-smoothing: antialiased;
    top: 0;
    bottom: 0;
    margin: auto;
}

/* 昇順ソート時のアイコン */
figure.dt_sort table thead .sorting_asc:after {
    content: "\f0d8"; /* 昇順アイコン */
    position: absolute;
    right: 6px;
	top: 0;
    bottom: 0;
    margin: auto;
    font-family: "Font Awesome 5 Free" !important;	
}

/* 降順ソート時のアイコン */
figure.dt_sort table thead .sorting_desc:after {
    content: "\f0d7"; /* 降順アイコン */
    position: absolute;
    right: 6px;
    top: 0;
    bottom: 0;
    margin: auto;
    font-family: "Font Awesome 5 Free" !important;
}

/* ソート中の列からデフォルトアイコン（:before）を非表示にする */
figure.dt_sort table thead .sorting_asc:before,
figure.dt_sort table thead .sorting_desc:before {
    content: ''; /* ソート中の列ではデフォルトアイコンを非表示 */
}

/* ソート可能な列の見た目 */
figure.dt_sort table thead .sorting,
figure.dt_sort table thead .sorting_desc,
figure.dt_sort table thead .sorting_asc_disabled,
figure.dt_sort table thead .sorting_desc_disabled {
    cursor: pointer;
    outline: none;
    padding-right: 20px;
    position: relative;
}

/* ソートアイコンの共通設定 */
figure.dt_sort table thead .sorting:before,
figure.dt_sort table thead .sorting_asc:after,
figure.dt_sort table thead .sorting_desc:after {
    font-family: "Font Awesome 5 Free" !important;
    font-size: 13px;
    -webkit-font-smoothing: antialiased;
    bottom: 0;
    height: 13px;
    left: auto;
    line-height: 1;
    margin: auto;
    position: absolute;
    right: 6px;
    top: 0;
	padding-left: 2px;
}


/*------------------------ブロックテーブルのデフォルト設定------------------------------------*/
.wp-block-table thead {
    border-bottom: 3px solid;
    white-space: nowrap;
}

/*------------------------datatablesのデフォルト設定------------------------------------*/
figure.dt table {
	table-layout: fixed;
}


/* DataTablesのトップ部分をフレックスボックスで横並びに */
.dataTables_wrapper .top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap; /* 必要に応じて行を折り返す */
}

/* ページネーションの装飾 */
.dataTables_length {
    margin: 0 !important;
    margin-right: 10px;
    float: none;
}

.dataTables_length select {
    margin: 0 !important;
}

/* 検索バーの装飾 */
.dataTables_filter {
    margin: 0 !important;
    float: none !important;
}

.dataTables_filter label input {
    margin: 0 !important;
}

/* ラベル内のテキストを非表示にし、セレクターと入力フィールドのみを表示 */
.dataTables_length label,
.dataTables_filter label {
    display: flex;
    align-items: center;
    margin: 0;
}

.dataTables_length label::before,
.dataTables_filter label::before {
    content: "";
    margin-right: 0;
}

/* 残りの既存のスタイルはそのまま維持 */

/* ページ送りボタンの装飾 */
.dataTables_paginate a.paginate_button {
    display: inline-block;
    font-size: 12px;
    color: white !important;
    width: 20px !important;
    height: 20px !important;
    background-color: #4dc1b7 !important;
    border-radius: 50%;
    text-align: center;
    line-height: 20px !important;
    vertical-align: middle;
    box-sizing: border-box;
}

.dataTables_paginate .paginate_button {
    color: #111;
    display: inline-block;
    margin-left: 0 !important;
    margin-right: 2px !important;
    outline: none;
    position: relative;
    text-decoration: underline;
}

/* 他のページのボタンスタイル */
.dataTables_paginate a.paginate_button:not(.current) {
    font-size: 12px;
    font-weight: 700;
    background-color: #e0e0e0 !important;
    color: black !important;
    text-decoration: none;
    box-sizing: border-box;
}

/* 矢印ボタンが押せない時 */
.dataTables_paginate a.paginate_button.disabled {
    color: #9e9e9e !important;
    cursor: not-allowed;
}

/* アイコンのスタイル */
.fa-angle-left,
.fa-angle-right {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    vertical-align: middle;
    font-style: normal;
}

/* 左矢印 */
.fa-angle-left:before {
    content: "\f104";
}

/* 右矢印 */
.fa-angle-right:before {
    content: "\f105";
}


/*-------------------table pressの装飾--------------------*/
	
/*.tablepress>:where(thead,tfoot)>*>th {
	background-color: rgba(77,193,183,.2) !important;
	border-bottom: solid 2px rgba(77,193,183,.5) !important;
}*/


/* 改行を防ぐクラス */
.no-line-break table td {
    white-space: nowrap;
}

.width-auto > table {
	width: auto !important;
	table-layout: auto !important;
}

/* 必要に応じてテーブルの幅を調整 */
.no-line-break table {
    table-layout: auto !important;
}

/*2行目の改行を防ぐ*/
.nowrap-2 tr:nth-child(1) td {
	white-space: nowrap;
}
/*flexibleテーブルの文字サイズ*/
.wp-block-flexible-table-block-table table td,
.wp-block-flexible-table-block-table table th {
	font-size:16px !important;
	padding: 0.5em !important;
}
@media screen and (max-width: 480px) {
	
.wp-block-flexible-table-block-table table td,
.wp-block-flexible-table-block-table table th {
	font-size:15px !important;
	padding: 0.5em !important;
	}
}

.wp-block-flexible-table-block-table thead {
    border-bottom: 3px solid #a6e0db;
}
.wp-block-flexible-table-block-table th {
    text-align: left;
}



.yes_click img {
    pointer-events: auto !important;
}

/*ブログカードなどのスタイル設定*/

/*緑の付箋*/
.is-style-sticky-green {
    border-color: #bbe7e4;
    background-color: #ebf8f7;
}

.st-red .blogcard {
    border-width: 2px;
	border-color: #cd3740 !important; 
}