/*
  Skin Name: ぱそびば
  Description: 黄色＋濃紺
  Skin URI: https://pasoviva.com/
  Author: さやびー
  Author URI: 
  Screenshot URI: 
  Version: 1.0.4
  Priority: 9999000000
*/
/*以下にスタイルシートを記入してください*/

/*
  下の「:root」でカラーコード指定可能
  メインカラー、セカンドカラー、アクセントで配色
*/  

:root {
    --skin-main-color: #ffcc00; /* メインカラー */
    --skin-main-color-rgb: 255, 204, 0; /* メインカラーRGB値 */
	--skin-second-color: #000b29; /* セカンドカラー */
	--skin-second-color-rgb: 0, 11, 41; /* セカンドカラーRGB値 */
	--skin-accent-color: #2A407E; /* アクセントカラー */
	--skin-text-color: #000b29; 
}

:root {    
	--cocoon-rakuten-color: #f76956;
}

/* ********************
 * 色設定（共通項）
 * ******************** */

/* 背景メインカラー */
#navi,
.navi-in > ul .sub-menu,
.index-tab-buttons .index-tab-button,
.index-tab-buttons .index-tab-button:hover,
.cat-label,
.sidebar h2,
.sidebar h3,
.article h2,
.btn a, .btn-wrap-circle > a, .button-block a, .btn-wrap a,
.wp-block-button__link,
.wp-block-button__link.wp-element-button{
    background-color: var(--skin-main-color);
}
/* 背景サブカラー */
#notice-area,
.tnt-number ol.toc-list > li::before,
.sns-buttons a,
.tab-caption-box-label,
#index-tab-1:checked ~ .index-tab-buttons .index-tab-button[for=index-tab-1], 
#index-tab-2:checked ~ .index-tab-buttons .index-tab-button[for=index-tab-2], 
#index-tab-3:checked ~ .index-tab-buttons .index-tab-button[for=index-tab-3], 
#index-tab-4:checked ~ .index-tab-buttons .index-tab-button[for=index-tab-4]{
    background-color: var(--skin-second-color);
}
/* 背景アクセントカラー */
.is-style-numeric-list-enclosed > li::before,
.search-form div.sbtn,
.internal-blogcard::before,
.internal-blogcard::after,
.whitebord .is-style-numeric-list-enclosed > li::before{
    background-color: var(--skin-accent-color);
}

/* 文字色 */
.site-name-text-link,
.site-name-text-link:hover,
.navi-in a,
.navi-in a:hover,
.box-menu,
.index-tab-buttons .index-tab-button,
.sidebar h2,
.sidebar h3,
h1.entry-title,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6,
.blackbord [class*=is-style-numeric-list-] > li::before{
    color: var(--skin-text-color);
}
 
/**************************
* Font Awesome5対応 
* ************************ */
.font-awesome-5 blockquote::before,
.font-awesome-5 blockquote::after,
.font-awesome-5 .navi-menu-content .menu-drawer a::after,
.btn::after,
.comment-btn::before,
.toc li li::marker,
.article h4::before,
.sns-share-message::before, 
.sns-follow-message::before,
.sns-share-message::after, 
.sns-follow-message::after,
.sidebar h2::before,
.sidebar h3::before,
.sidebar li::before, 
.btn-m::after,
.wp-block-button__link::after,
.btn-wrap-m > a::after,
.internal-blogcard::before{
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}


/**************************
 * リンク
 ************************* */
.wp-block-button__link:hover, 
.wp-block-button__link.wp-element-button:hover, 
.a-wrap:hover,
.appeal-button:hover,
.carousel .a-wrap:hover,
.recommended .navi-entry-cards a:hover,
.ect-entry-card .a-wrap:hover img,
.ect-big-card-first .a-wrap:not(:first-of-type):hover img,
.sns-buttons a:hover,
.blogcard-wrap:hover,
.is-style-text a:hover .blogcard-label,
.btn:hover,
.btn-wrap > a:hover,
.popular-entry-cards a:hover,
.ranking-item-image-tag a:hover img,
.ranking-item-link-buttons a:hover,
table tfoot td > a:hover,
.rect-entry-card .a-wrap:hover .related-entry-card-thumb img,
.rect-mini-card .a-wrap:hover .related-entry-card-thumb img,
.rect-vertical-card .a-wrap:hover,
a.rsswidget:hover img,
.widget_media_image a:hover img,
.widget-entry-cards:not(.card-large-image) a:hover img,
.widget-entry-cards.card-large-image a:hover,
.widget_nav_menu ul li a:hover,
.pager-post-navi.post-navi-default a:hover img,
.pager-post-navi.post-navi-square a:hover,
.go-to-top-button:hover,
figure.is-style-shadow a img:hover,
.is-style-shadow figure:hover,
input[type="submit"]:hover,
.kaerebalink-link1 a:hover,
.booklink-link2 a:hover,
.tomarebalink-link1 a:hover,
.product-item-buttons a:hover,
.iconlist-box.is-style-no-icon li a:hover,
.index-tab-buttons .index-tab-button:hover,
.pagination-next-link:hover,
.entry-card-wrap.a-wrap:hover{
    transform: translateY(2px); /* 移動 */
}

.box-menu:hover,
.index-tab-buttons .index-tab-button:hover{
	transition: all 0.3s ease;
}

.navi-in a::after,
.navi-in .has-icon .fa-caret-down,
.navi-in .has-icon .fa-caret-right,
.toggle-button::before,
.is-style-faq .toggle-button::after{
	transition: all 0.3s ease-out;
}

.a-wrap:hover{
    background-color: #f9f9f9;
}

.site-name-text-link:hover,
.box-menu:hover,
.index-tab-buttons .index-tab-button:hover,
.tnt-number ol.toc-list ol li::before,
.tnt-none ul.toc-list ul li::before,
.footer .widget_nav_menu ul li a:hover{
    opacity: 0.7;
}


/* ********************
 * ヘッダー調整 
 * ****************** */
#header-container {border-top: 8px solid var(--skin-second-color);}

.logo-text{padding: 30px 0;}
.site-name-text{font-size: 32px;}

/* ********************
 * グローバルメニュー 
 * ****************** */
#navi {
    border-top: 8px solid var(--skin-second-color);
}
.navi-in > ul .sub-menu {
  display: block;
  visibility: hidden;
  margin-top: 8px;
  opacity: 0;
}
.navi-in > ul li:hover > ul, 
.navi-in .has-icon, 
.navi-in a:hover {
  opacity: 1;
}
.navi-in a{
    font-weight: bold;
}
.navi-in a:hover{
    background-color: rgba(255, 255, 255, .2);
}
.navi-in a::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 0;
  border-bottom: 2px solid currentColor;
  display: block;
}
.navi-in a:hover::after {
  width: 100%;
  border-bottom: 2px solid currentColor;
}
.sub-caption::before,
.sub-caption::after {
  content: "\2212";
  margin: 0 3px;
}
.navi-in > ul li:hover > ul {
  visibility: visible;
  margin-top: 0;
}
.navi-in .has-icon {
  right: 10px;
  font-size: 14px;
}

.navi-in a:hover .has-icon .fa-caret-down {transform: translateY(3px); }
.navi-in a:hover .has-icon .fa-caret-right {transform: translateX(3px); }

.fa-rotate-330{transform: rotate(330deg); /*アイコン角度*/ }

/* ********************
 * ボックスメニュー 
 * ****************** */
.box-menu .box-menu-icon{
    color: var(--skin-main-color) ;
}
.box-menu:hover {
    transform: scale(1.02); /* 大きさ変更 */
    box-shadow: inset 2px 2px 0 0 var(--skin-main-color), 2px 0 0 var(--skin-main-color), 2px 0 0 0 var(--skin-main-color), 0 2px 0 0 var(--skin-main-color) !important;
}


/* ********************
 * 通知エリア 
 * ****************** */
#notice-area{padding: 0.2em;}

/* ******************** *
 * タブインデックス 
 * ******************** */
#index-tab-1:checked ~ .index-tab-buttons .index-tab-button[for=index-tab-1], 
#index-tab-2:checked ~ .index-tab-buttons .index-tab-button[for=index-tab-2], 
#index-tab-3:checked ~ .index-tab-buttons .index-tab-button[for=index-tab-3], 
#index-tab-4:checked ~ .index-tab-buttons .index-tab-button[for=index-tab-4] {
	border: 0;
	border-top: 6px solid var(--skin-main-color);
	color: var(--skin-main-color);
	position: relative;
}

.index-tab-buttons .index-tab-button{
	border-radius: 0;
	border: 0;
	border-bottom: 8px solid var(--skin-second-color);
	padding: 8px 16px;
}

.index-tab-buttons .index-tab-button:hover {
    color: #fff;
}


#index-tab-1:checked ~ .index-tab-buttons .index-tab-button[for=index-tab-1]::before, 
#index-tab-2:checked ~ .index-tab-buttons .index-tab-button[for=index-tab-2]::before, 
#index-tab-3:checked ~ .index-tab-buttons .index-tab-button[for=index-tab-3]::before, 
#index-tab-4:checked ~ .index-tab-buttons .index-tab-button[for=index-tab-4]::before {
    position: absolute;
    content: "";
    border: var(--skin-second-color);
    left: calc(50% - 16px);
    bottom: -10px;
    border-top: 12px solid var(--skin-second-color);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    z-index: 0;
}

/* ********************
 * インデックス 
 * ****************** */
.list.ecb-entry-border .entry-card-wrap{
    border-color: #cfcfcf;
}
a.entry-card-wrap.a-wrap:hover{
    background-color: rgba(var(--skin-main-color-rgb), 0.05);
}
.related-entry-card-title, .entry-card-title{
	line-height: 1.4;
}

/* ********************
 * 目次デザイン 
 * ****************** */
#toc {
    border-color: var(--skin-main-color);
    min-width: 50%;
}
.article .toc{
    border: 5px solid var(--skin-main-color);
    box-shadow: 5px 5px 0 2px var(--skin-second-color);
    border-radius: 8px;
}
.tnt-number .toc-content {
  counter-reset: li;
}
.toc.tnt-number ol.toc-list {
  list-style: none;
  padding: 0;
}
.tnt-number ol.toc-list > li::before {
  display: inline-block;
  content: counter(li, decimal);
  counter-increment: li;
  margin-right: 0.5em;
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 0.8em;
  border-radius: 10px;
  text-align: center;
  color: #fff;
}
.toc.tnt-number .toc-list ol {
  list-style: none;
}
.tnt-number ol.toc-list ol li::before {
  display: inline-block;
  content: "";
  width: 8px;
  height: 8px;
  margin: 0 5px 1px 0;
  background: currentColor;
  border-radius: 4px;
}
.toc.tnt-number-detail ol {
  padding-left: 0.8em;
}
.tnt-number-detail ol.toc-list > li::before {
  display: inline-block;
  content: counter(toc, decimal);
  width: 30px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 4px;
}
.tnt-none ul.toc-list > li::before {
  content: "\00a7";
  margin-right: 3px;
  font-weight: bold;
}
.tnt-none ul.toc-list ul li::before {
  content: "\002731";
  margin-right: 3px;
}
.nwa .toc {
  width: 100%;
  padding: 0 1em 1em;
  box-shadow: none;
}
.nwa .toc .toc-list li {
  margin-top: 0.6em;
}

/* ********************
 * 記事領域調整 
 * ****************** */
.entry-content>*{
    margin-bottom: 1.4em !important;
}
div.speech-balloon p{
    margin-bottom: 0 !important;
}

/* ********************
 * 関連記事 
 * ****************** */
.related-entries.recb-entry-border .related-entry-card-wrap {
    border-color: var(--cocoon-thin-color) !important;
}

/* ********************
 * 広告ラベル
 * ****************** */
.ad-label {
    font-size: 0.8em;
    color: #999;
}

/* ********************
 * タグラベル
 * ****************** */
.cat-label {
}

/* ********************
 * ページ送りボタン
 * ****************** */
.pagination-next .key-btn{
    width: 70%;
    margin: 2em auto 0;
    background-color: rgba(var(--skin-second-color-rgb), 0.8);
}
.pagination-next-link {
    margin: 4em auto 0;
    padding: 8px 0;
    border-color: var(--skin-second-color);
    border-width: 0px;
    border-radius: 4px;
    color: #fff;
    font-size: 0.95em;
}
.pagination-next .key-btn:hover {
    background-color: rgba(var(--skin-second-color-rgb), 0.7);
    color: #fff;
}


/* ********************
 * フッター調整 
 * ****************** */
.footer{
    background-color: #00164f; /* 濃紺 */
}
.footer .tagcloud a {
    border-color: #fff;
}
.footer .widget_nav_menu ul li a{
    padding: 4px;
}
.footer,
.footer a, 
.footer .widget_nav_menu ul li a, 
.footer h3{
    color: #fff;
}
.footer .widget_nav_menu ul li a:hover{
    background-color: unset;
}

/**************************
 * 全般
 ************************* */

/* アイキャッチサイズ ----- */
.eye-catch {width: 90%;}

/* インライン画像 ----- */
span img{
	vertical-align: middle;
	padding: 0 4px;
}

/* 白抜きボックス内のリスト位置調整 */
.blank-box ol {
    margin-left: -1.5em;
}

/* フォントサイズ調整 */
.author-description,
.speech-balloon{
	font-size: 0.9em;
}

/* リスト内画像のマーカー */
ul ul li:has(img)::marker{
	content: none;
}
.article ul li img, 
.article ol li img {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}

/* *************************
 * シェア・フォローボタン
 * ********************** */
#main a .button-caption {
	display: none;
}
#main .sns-buttons a{
	height: 35px;
	width: 35px;
	border-radius: 50%;
	opacity: 0.8;
	margin-right: 10px;
}
#main .sns-buttons a:hover {
    opacity: 0.6;
}
#main .sns-buttons a:last-child {
	margin-right: 0;
}
.sns-share,
.sns-follow{
	background-color: transparent;
	margin: 0;
	padding: 10px;
}
.sns-share{
	border-radius: 8px 8px 0 0;
}
.sns-follow{
	border-radius: 0 0 8px 8px;
}
.sns-share-buttons {
	justify-content: flex-start;
}
.article-footer .sns-share-buttons, 
.article-footer .sns-follow-buttons {
	justify-content: center;
	margin: 20px;
}
.sns-share-message,
.sns-follow-message{
	background: transparent !important;
	color: #959595 !important;
	font-size: 1em !important;
	font-weight: bold;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
.sns-follow-buttons a {
	font-size: 1.3em;
}
.sns-share-message::before, 
.sns-follow-message::before {
	content: '\f715';
	display: inline-block;
	padding-right: 0.8em;
}
.sns-share-message::after, .sns-follow-message::after {
	content: '\f715';
	display: inline-block;
	transform: scale(-1, 1);
	padding-right: 0.8em;
}
i.fas.fa-share {
    display: none;
}
.sns-share-buttons a .share-count,
.sns-follow-buttons a .follow-count {
    right: -10px;
    bottom: -10px;
    color: #aaa;
}

/* *************************
 * サイドバー・ウィジェット
 * *********************** */
.nwa .author-box {
    border-color: #e0ddd1;
}

/* ********************
 * サイドバー　リスト
 * ******************** */
.sidebar li {
    position: relative;
    padding-left: 1.5em;
}
.sidebar li::before {
    position: absolute;
    content: "\f0da";
    left: 10px;
    top: 9px;
}
.widget-sidebar.widget_nav_menu ul li{
    border-bottom: 2px dotted var(--cocoon-x-thin-color);
}

/* ********************
 * インデックスカード 
 * ******************** */
.ect-entry-card a {
    border: 3px solid var(--skin-second-color) !important;
    border-radius: 22px;
    box-shadow: 4px 5px 0 2px var(--skin-second-color);
    margin-bottom: 5%;
}

/* ********************
 * イメージギャラリー
 * ******************** */
.wp-block-gallery{
	position: relative;
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  background: none;  
  position: absolute;
  color: #333;  
	bottom: -32px;
}

/* ********************
 * 見出し 
 * ******************** */
.article h2,
.article h3,
.article h4,
.article h5,
.article h6{
    border: none;
    margin-bottom: 1.4em;
}

.site-name-text,
h1.entry-title,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6{
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 700;
    font-style: normal;
	letter-spacing: -1px;
}

h1.entry-title{
    margin-bottom: 2em;
}
/* h2 ----- */
.article h2{
    border-top: 2px solid  var(--skin-second-color);
    border-bottom: 8px solid  var(--skin-second-color);
    padding: 0.4em 0.5em;
    margin: 3em -1em 1.4em;
    font-size: 28px;
}
/* h3 ----- */
.article h3 {
    border-left: 10px solid var(--skin-main-color);
    padding: 6px 10px;
    font-size: 26px;
    margin-top: 3em;
    margin-left: -0.5em;
    background: #f4f5f7;
    border-radius: 5px;
}
/* h4 ----- */
.article h4 {
    position: relative;
    padding-left: 1.6em;
    margin-top: 2.5em;
    margin-left: -0.5em;
    font-size: 24px;
}
.article h4::before {
    position: absolute;
    content: "\f138";
    left: 0;
    top: 5px;
    color: var(--skin-main-color);
    font-size: 1.2em;
}

/* h5 ----- */
.article h5{
	border-bottom: 1px dotted #9393cc;
	padding: 6px 10px;
	font-size: 22px;
}

/* h6 ----- */
.article h6{
	padding: 6px 10px;
	font-size: 22px;
}

/* 白抜きボックス内見出し位置 */
.blank-box h3:nth-of-type(1),
.blank-box h4:nth-of-type(1){
    margin-top: unset;
}

.sidebar h2,
.sidebar h3{
    padding: 0.1em 0.5em 0.1em 1.8em;
    border-top: 2px solid var(--skin-second-color);
    border-bottom: 8px solid var(--skin-second-color);
    position: relative;
    font-size: 21px;
}
.sidebar h2::before,
.sidebar h3::before{
    position: absolute;
    content: "\f00a";
    color: currentColor;
    left: 10px;
}

/* ********************
 * Cocoon インライン装飾 
 * ******************** */
/* 下線 */
.span-underline {
  text-decoration: underline;
}

/* 文字色 */
.red,
.bold-red {
  color: #d50000;
}

.blue,
.bold-blue {
  color: #0091ea;
}

.green,
.bold-green {
  color: #43a047;
}

/* マーカー */
.marker {
  background: rgba(255, 234, 119, 0.5);
}

.marker-under {
	background: linear-gradient(transparent 60%, rgba(255, 234, 119, 0.5) 60%)
}

.marker-red {
  background: rgba(243, 152, 155, 0.5);
}

.marker-under-red {
  background: linear-gradient(transparent 60%, rgba(243, 152, 155, 0.5) 60%);
}

.marker-blue {
  background: rgba(100, 181, 246, 0.5);
}

.marker-under-blue {
  background: linear-gradient(transparent 70%, rgba(100, 181, 246, 0.5) 70%);
}

/* キーボード */
kbd,
span.keyboard-key {
    border: 1px solid #b1b1b1;
    font-size: 0.85em;
    padding: 0 4px;
    background: rgba(229, 229, 229, 0.5);
    border-radius: 6px;
    box-shadow: 2px 3px 0px 0px #ccc;
    margin: 0 5px;
}

/* バッジ内リンク文字 */
span[class^="badge"] a {
	color: #fff;
	text-decoration: none;
}

/* **************************
 * ボタン 
 * ************************** */
.wp-block-button__link,
.wp-block-button .wp-block-button__link.is-style-outline, 
.wp-block-button.is-style-outline>.wp-block-button__link{
    border-radius: 4px;
}
.button-block a.btn,.btn-wrap > a,
a.button-circle,
.btn-wrap-block.button-block.has-background a,
.button-block a.has-background,
.btn.has-background.has-key-color-background-color,
.btn-wrap.has-key-color-background-color>a,
.bg-rakuten a.btn,
.bg-rakuten a.wp-block-button__link,
.bg-amazon a.btn,
.bg-amazon a.wp-block-button__link,
.bg-yahoo a.btn,
.bg-yahoo a.wp-block-button__link,
.wp-block-button__link,
.wp-block-button__link.wp-element-button,
.wp-block-button .wp-block-button__link.is-style-outline, 
.wp-block-button.is-style-outline>.wp-block-button__link{
    position: relative;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 50px;
    border: 3px solid var(--skin-second-color);
    box-shadow: 0 6px 0 0 rgba(var(--skin-second-color-rgb), 0.9);
    transition:all 0.4s ease 0s; /* transformに対するアニメーション*/
}
.button-block a.btn:hover,
.btn-wrap > a:hover,
a.button-circle:hover,
.wp-block-button__link:hover,
.wp-block-button__link.wp-element-button:hover,
.wp-block-button .wp-block-button__link.is-style-outline:hover, 
.wp-block-button.is-style-outline>.wp-block-button__link:hover{
    box-shadow: 0 2px 0 0 rgba(var(--skin-second-color-rgb), 0.9);
}
.btn-wrap-block.button-block.has-background a,
.button-block a.has-background,
.btn.has-background.has-key-color-background-color,
.btn-wrap.has-key-color-background-color>a,
.bg-rakuten a.btn,
.bg-rakuten a.wp-block-button__link,
.bg-amazon a.btn,
.bg-amazon a.wp-block-button__link,
.bg-yahoo a.btn,
.bg-yahoo a.wp-block-button__link{
    border: 2px solid rgba(var(--skin-second-color-rgb), 0.8);
    color: #fff;
}
.btn a, 
.btn-wrap-circle > a, 
.button-block a, 
.btn-wrap a,
.wp-block-button__link,
.wp-block-button__link.wp-element-button,
.wp-block-button .wp-block-button__link.is-style-outline, 
.wp-block-button.is-style-outline>.wp-block-button__link,
.wp-block-button__link:hover,
.btn:hover, 
.btn-wrap > a:hover{
    color: var(--skin-second-color);
}

.btn-wrap-block.button-block.has-background a:hover,
.button-block a.has-background:hover,
.btn.has-background.has-key-color-background-color:hover,
.btn-wrap.has-key-color-background-color>a:hover,
.bg-rakuten a.btn:hover,
.bg-rakuten a.wp-block-button__link:hover,
.bg-amazon a.btn:hover,
.bg-amazon a.wp-block-button__link:hover,
.bg-yahoo a.btn:hover,
.bg-yahoo a.wp-block-button__link:hover{
    box-shadow: 0 2px 0 0 rgba(var(--skin-second-color-rgb), 0.9);
}

.btn-m,
.btn-wrap-m > a{
    position: relative;
}
.btn-m::after,
.btn-wrap-m > a::after{
    right: 0;
	top: 12px;
}

.btn-wrap-m > a::after,
.wp-block-button__link::after,
.btn-m::after{
    position: absolute;
    content: "\f105";
    font-size: 20px;
}
.wp-block-button__link::after,
a.wp-block-button__link.wp-element-button::after{
	right: 0px;
	top: 10px;
	margin-right:12px;
	transition: all 0.2s ease; /* 疑似要素に対するアニメーション */
}
.wp-block-button__link:hover::after,
a.wp-block-button__link.wp-element-button:hover::after{
    right: -4px;
}


.bg-rakuten a.btn,
.bg-rakuten a.wp-block-button__link{
    background-color: var(--cocoon-rakuten-color);
}
.bg-amazon a.btn,
.bg-amazon  a.wp-block-button__link{
    background-color: var(--cocoon-amazon-color);
}
.bg-yahoo a.btn,
.bg-yahoo a.wp-block-button__link{
    background-color: var(--cocoon-yahoo-shopping-color);
}
.btn:hover, .btn-wrap > a:hover{
    opacity: unset;
}

/* **************************
 * Cocoon グループスタイル 
 * ************************** */
.is-style-numeric-list-step > li::before {
    background-color: var(--skin-main-color);
    border: 3px solid var(--skin-second-color);
}
.is-style-numeric-list-step > li {
    margin: 1.2em 0 !important;
    padding-left: 2.4em;
}
[class*=is-style-numeric-list-] > li::before{
    font-family: "Open Sans", sans-serif !important;
    font-weight: 800 !important;
    font-size: 15px;
}
[class*=is-style-numeric-list-] > li::before,
[class*=is-style-numeric-list-] > li{
    line-height: unset;
}
.is-style-numeric-list-step > li::after{
    bottom: -2em;
}
.body :is(ul, ol).has-border {
    padding-left: 1.5em;
}


/* **************************
 * Cocoon ボックスデザイン 
 * ************************** */
[class*=is-style-blank-box-]{
     border-width: 1px;
 }
.is-style-blank-box-gray{
    border-color: var(--cocoon-basic-border-color);
}

/* アイコンボックス */
.is-style-information-box, .information-box, .information,
.is-style-question-box, .question-box, .question,
.is-style-alert-box, .alert-box, .alert,
.is-style-memo-box, .memo-box,
.is-style-comment-box, .comment-box,
.is-style-ok-box, .ok-box,
.is-style-ng-box, .ng-box,
.is-style-good-box, .good-box,
.is-style-bad-box, .bad-box,
.is-style-profile-box, .profile-box{    
    background: var(--cocoon-xx-thin-color);
    border-width: 3px;
}
.is-style-information-box::before, .information-box::before, .information::before,
.is-style-question-box::before, .question-box::before, .question::before,
.is-style-alert-box::before, .alert-box::before, .alert::before,
.is-style-memo-box::before, .memo-box::before,
.is-style-comment-box::before, .comment-box::before, 
.is-style-profile-box::before, .profile-box::before,
.is-style-ok-box::before, .ok-box::before,
.is-style-ng-box::before, .ng-box::before,
.is-style-good-box::before, .good-box::before,
.is-style-bad-box::before, .bad-box::before{
    border-right-width: 3px;
}
.is-style-information-box, 
.information-box, 
.information{
    border-color:  #4f6aa1;
}
.is-style-information-box::before, 
.information-box::before, 
.information::before{
    color: #4f6aa1;
    border-right-color:#4f6aa1;
}
.is-style-question-box, 
.question-box, 
.question{
    border-color: #ffcc00;
}
.is-style-question-box::before, 
.question-box::before, 
.question::before{
    color: #ffcc00;
    border-right-color:#ffcc00;
}
.is-style-alert-box, 
.alert-box, 
.alert{
    border-color: #e18e8a;
}
.is-style-alert-box::before, 
.alert-box::before, 
.alert::before{
    border-right-color:#e18e8a;
    color: #e18e8a;
}
.is-style-memo-box, 
.memo-box{
    border-color: #71c5ac;
}
.is-style-memo-box::before, 
.memo-box::before{
    color: #71c5ac;
    border-right-color:#71c5ac;
}
.is-style-comment-box, 
.comment-box{
    border-color: #999;
}
.is-style-comment-box::before, 
.comment-box::before, 
.is-style-profile-box::before, 
.profile-box::before{
    color: #ccd;
    border-right-color: #ccd;
}
.is-style-good-box, 
.good-box{
    border-color: #97d992;
}
.is-style-good-box::before, 
.good-box::before{
    color: #97d992;
    border-right-color: #97d992;
}

 /* 案内ボックス */
.is-style-primary-box, 
.primary-box, 
.sp-primary, 
.primary{
    background-color: rgba(var(--skin-second-color-rgb), 0.1);
}
 .is-style-light-box, 
 .light-box{
     background-color: #f4f5f7;
}
 
/* 付箋風ボックス */
.blank-box.sticky,
.wp-block-group.is-style-sticky-gray,
.wp-block-group.is-style-sticky-yellow,
.wp-block-group.is-style-sticky-red,
.wp-block-group.is-style-sticky-blue,
.wp-block-group.is-style-sticky-green{
    border-radius: 0;
    box-shadow: 1px 2px 4px 0 #c5c5c5;
}
.blank-box.sticky.st-main {
    border-color: #ffcc00;
    background-color: #fff5cc;
}
.blank-box.sticky.st-red {
    background-color: var(--cocoon-watery-red-color);
}
.blank-box.sticky.st-blue {
    background-color: var(--cocoon-watery-blue-color);
}
.blank-box.sticky.st-green {
    background-color: var(--cocoon-watery-green-color);
}

/* グループ化付箋風ボックス */
.wp-block-group.is-style-sticky-gray,
.wp-block-group.is-style-sticky-yellow,
.wp-block-group.is-style-sticky-red,
.wp-block-group.is-style-sticky-blue,
.wp-block-group.is-style-sticky-green{
	background-color: var(--cocoon-xx-thin-color) ;
}

/* ラベルボックス */
.label-box-content{
    border-color: var(--skin-main-color);
    border-width: 6px;
    border-radius: 18px;
    padding: var(--cocoon-box-padding);
}
.has-key-color-color .block-box-label.box-label {
    color: var(--cocoon-custom-text-color);
}
.label-box-label {
    margin-left: 1.4em;
    padding: 0 0.4em;
}

/* タブ・タブ見出し共通 */
.blank-box.bb-tab,
.bb-tab .bb-label{
    border-radius: 0 6px 0 0;
}
.caption-box.block-box,
.blank-box.bb-tab{
    border-color: rgba(var(--skin-second-color-rgb), 0.9);
}
.caption-box-label,
.blank-box.bb-tab .bb-label, .bb-tab .bb-label,
.cocoon-block-caption-box.not-nested-style>.box-label{
    background-color: rgba(var(--skin-second-color-rgb), 0.9);
    color: #fff;
}
.cocoon-block-caption-box.not-nested-style>.box-label{    
    background-color: rgba(var(--skin-second-color-rgb), 0.9) !important;
}
.cocoon-block-caption-box.not-nested-style{
    border-color: rgba(var(--skin-second-color-rgb), 0.9) !important;
}
.caption-box-content{
    padding: var(--cocoon-box-padding);
}

/* タブ見出しボックス */
.tab-caption-box-content{
    border-radius: var(--cocoon-badge-border-radius);
    border-top-left-radius: 0;
    border-color: var(--skin-second-color);
}
.tab-caption-box-label{
    border-top-left-radius: 0;
}
.tab-caption-box-label{
    color: #fff;
}

/* アイコンリストボックス */
.iconlist-title {
    text-align: unset;
    font-size: 1.1em;

	margin-bottom: 1em;
}
.iconlist-box ul ul li::before,
.iconlist-box ol ul li::before{
    content: "・";
}
.iconlist-box ul ul li:has(> img)::before,
.iconlist-box ol ul li:has(> img)::before{
    content: none;
}
.iconlist-box ul ul li:has(> img),
.iconlist-box ol ul li:has(> img){
    margin-left: -2em;
}
ol li:has(> img),
ul li:has(> img){
    list-style: none;
    margin-left: -2em !important
}

/* タイムライン */
.timeline-item::before{
    background-color: #CC333F;
}

/* アコーディオン（トグル） */
label.toggle-button{
	background-color: rgba(var(--skin-second-color-rgb) , 0.9);
}
.toggle-button {
  padding: 0.5em 1em 0.5em 2em;
  font-weight: bold;
  text-align: left;
  border-radius: 10px;
	max-width: 80%;
	margin: 0 auto;
	color: #fff;
	border: 0;
}

/* ブログカード */
.blogcard{	
	border-color: rgba(var(--skin-second-color-rgb), 0.8);
	border-width: 3px;
	padding-top: 28px;
}
.wp-block-cocoon-blocks-blogcard {
    margin-top: 3em;
}
.blogcard-label{
    background-color: rgba(var(--skin-second-color-rgb),0.9);
    border-radius: 3px 0px 10px 0px;
    top: -2px;
    left: -2px;
}
.bct-none .blogcard {
    padding-top: 1.6%;
}
.blogcard-site.internal-blogcard-site {
    display: none;
}
.blogcard.internal-blogcard{
    padding-bottom: 2.4em;
}
.internal-blogcard::before{
  position: absolute;
  z-index: 99;
  content: "\f061"; /*アイコン*/
  bottom: 10px;
  right: 106px;
  font-size: 16px;
  color: #fff !important;
  text-align: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff;
  line-height: 30px;
}
.internal-blogcard::after{
  position: absolute;
  z-index: 1;
  font-family: 'arial';
  content: "READ MORE";
  bottom: 10px;
  right: 15px;
  font-size: 12px;
  color: #fff;
  border-radius: 20px;
  padding-right: 10px;
  padding-left: 30px;
  line-height: 30px;
}
.blogcard-mini .internal-blogcard::before,
.blogcard-mini .internal-blogcard::after,
.blogcard-mini .blogcard-snippet.internal-blogcard-snippet{
    display: none;
}
.wp-block-cocoon-blocks-blogcard.blogcard-mini {
    width: 60%;
    font-size: 0.9em;
}
.blogcard-mini .blogcard-thumbnail {
    width: 120px;
}
.blogcard-mini .blogcard-content{
    margin-left: 130px;
}
.blogcard-mini .blogcard-title{
    line-height: 1.4;
}
.blogcard-mini .blogcard.internal-blogcard{
    padding-bottom: 0;
}
.article .micro-balloon:has(+ .wp-block-cocoon-blocks-blogcard),
.article .micro-text.micro-top:has(+ .wp-block-cocoon-blocks-blogcard) {
    margin-bottom: -3em !important;
}

/* **************************
 * テーブルデザイン 
 * ************************** */
table {
    font-size: 0.95em;
    letter-spacing: -0.05em;
}
table tr:nth-of-type(2n+1){
	background-color: unset;
}
table:not(.has-border-color) th, 
table:not(.has-border-color) td, 
table:not(.has-border-color) thead, 
table:not(.has-border-color) tfoot{
    border: 1px solid var(--cocoon-thin-color);
}
.wp-block-table.is-style-stripes td, 
.wp-block-table.is-style-stripes th{
    border-color: var(--cocoon-thin-color);
}
th {
    text-align: unset;
}


/* ***************************
 * コード表示
 * *************************** */
pre,
kbd,
code,
span.keyboard-key,
.wp-block-code code,
.entry-content pre,
pre.wp-block-code.html::after,
pre.wp-block-code.css::after,
.is-code-row-number-enable pre::before {
	font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;}

p code,
p code.hljs,
ul code,
ol code{
	display: unset;
	margin: 0 4px;
	padding: 0 4px;
	font-size: 0.85em;
	background: #f3f3f3;
	border: 1px solid #adadad;
	border-radius: 2px;
}

.is-style-sticky-gray code {
	margin: 0 4px;
	padding: 0.1em 0.3em;
    font-size: 0.9em;
 	border: 1px solid #adadad;
	border-radius: 2px;
}
pre.wp-block-code code,
pre.wp-block-code code::before,
.wp-block-code.hljs.css::after,
.wp-block-code.hljs.html::after,
.wp-block-code.css.hljs::before,
.wp-block-code.html.hljs::before,
.is-code-row-number-enable pre.hljs::before{
	font-size: 0.9rem;
}

/*ソースコード-コメント表示*/
.hljs-comment, .hljs-quote {
	color: #abb2bf;
	font-style: normal;
}

/*ソースコード外周＆補足表示*/
.wp-block-code.hljs.xml,
.wp-block-code.hljs.css,
.code-wrap .wp-block-code.hljs.css,
.code-wrap .wp-block-code.hljs.html {
	display: block;
	border-width: 6px;
	border-style: solid;
	position: relative;
}
.wp-block-code.hljs.css{ border-color: #6a6ae9; }
.wp-block-code.hljs.html { border-color: #fd982d; }

.wp-block-code.hljs.css::after,
.wp-block-code.hljs.xml::after {
	position: absolute;
	left: 0;
	top: 0px;
	z-index: 9;
	border-radius: 0 0 6px;
	padding: 0 12px 4px 6px;
	color: #fff;
	line-height: 1;
	user-select: none;
}
.wp-block-code.hljs.css::after{
	background: #6a6ae9;
	content: "CSS";
}
.wp-block-code.hljs.xml::after {
	background: #fd982d;
	content: "HTML";
}
.wp-block-code.css.hljs,
.wp-block-code.html.hljs{
	padding-top: 1.4em;
}
.wp-block-code.css.hljs::before,
.wp-block-code.html.hljs::before{
	padding-top: 1.6em;
}


/* ***************************
 * 白抜きBOX拡張オリジナルBOX
 * *************************** */
 
/* 黒板・ホワイトボード共通 */
.blackbord,.whitebord{
    position: relative;
    margin: 2em auto;
    padding: 1em;
    width: 98%;
    min-height: 100px;
}

.blackbord::before,
.blackbord::after,
.whitebord::before,
.whitebord::after {
    position: absolute;
    content: '';
    bottom: 0;
}
.whitebord p, .blackbord p {
    margin-bottom: 1em;
}

.blackbord .timeline-box,
.whitebord .timeline-box {
    border: 0;
}
.blank-box.blackbord.timeline-title,
.blackbord .timeline-title{
    margin-top: 0em;
    margin-bottom: 1.5em;
}
.blank-box.blackbord .timeline-title, 
.blackbord .timeline-title,
.blackbord .iconlist-title,
.whitebord .iconlist-title {
	top: -.2em;
	left: -.2em;
	background-color: transparent !important;
	font-size: 1.2em;
}

.blackbrd .iconlist-box li::before,
.whitebord .iconlist-box li::before{
	margin-left: -1em;
}
.blank-box .not-nested-style.cocoon-block-timeline{
    padding: 0;
}
.blackbord .iconlist-box ul,
.blackbord .iconlist-box ol,
.whitebord .iconlist-box ul,
.whitebord .iconlist-box ol{
	padding: 1.5em 0.5em;
}

.blackbord .bord-title,
.whitebord .bord-title{
	font-size: 1.2em;
	font-weight: 900;
}
.whitebord .speech-balloon p,
.blackbord .speech-balloon p{
    margin-left: 0;
}
.blackbord .iconlist-box > ul,
.whitebord .iconlist-box > ul{
    padding-left: 30px;
}

/* 黒板風Box ----- */
.blackbord,
.not-nested-style.cocoon-block-timeline.blackbord{
    background: #202020 !important;
    border: 8px solid #b2771f;
    color: #fff;
}

.blackbord::before {
	right: 10px;
	border: solid 3px #ededed; /*チョーク（白）*/
	width: 20px;
	border-radius: 3px 2px 0 2px;
}
.blackbord::after {
	right: 40px;
	border: solid 3px #ffff6b; /*チョーク（黄色）*/
	width: 15px; 
	border-radius: 8px 5px 2px 5px;
}

/* 黒板内マーカー調整 ----------*/
.blackbord .marker-under {
	background: linear-gradient(transparent 80%, rgb(255 239 149 / 76%) 60%);
}
.blackbord .marker-under-red{
	background: linear-gradient(transparent 80%, rgb(243 152 155 / 75%) 60%);
}
.blackbord  .marker-under-blue{
	background: linear-gradient(transparent 80%, rgb(146 207 255 / 60%) 70%);
}
/* 黒板内テキストカラー ----------*/
.blackbord .main{color: main;}
.blackbord .pink{color: #ffadd3;}
.blackbord .blue{color: #9ee3ff;}
.blackbord a {color: #78aeff;}


.blackbord [class*=is-style-numeric-list-] > li::before{
    border-color: white;
}
.blackbord .is-style-numeric-list-step > li::after{
    border-color: white;
}
.blackbord,
.blackbord .timeline-box,
.blackbord .timeline-title,
.blackbord .iconlist-box,
.blackbord .is-style-icon-list-check > li::before,
.blackbord .is-style-icon-list-check-disabled > li::before,
.blackbord .is-style-icon-list-check-valid > li::before,
.blackbord .is-style-icon-list-comment > li::before,
.blackbord .not-nested-style.cocoon-block-timeline{	
 	color: #fff;
}
.blackbord  span.keyboard-key,
.blackbord .is-style-numeric-list-enclosed > li::before {
    background-color: #fff;
    color: #333 !important;
}
.blackbord code {
    color: #333;
}
.blackbord > ol {
    padding-left: 40px;
}

.blackbord .timeline-box p {
    font-size: 0.8em;
}
.blackbord .timeline-item::before{
    border: #fff 2px solid;
    background-color: #CC333F;
}

/* ホワイトボード風Box ----- */
.whitebord {
    background: #fff;
    border: 10px solid #858585; /* ボードの縁 */
    border-radius: 10px;
    box-shadow: 0px 0px 6px 1px #a7a7a7; /* ボード外周の影 */
}
.whitebord::before {
    right: 10px;
    border: solid 6px #ededed; /* マーカー本体 */
    width: 28px;
    border-radius: 0px 2px 2px 0;
}
.whitebord::after {
    right: 50px;
    border: solid 6px #d63638; /* マーカーキャップ */
    width: 2px;
    border-radius: 2px;
}





/* ********************
 * モバイル対応
 * ******************** */
@media screen and (max-width: 834px),
@media screen and (max-width: 1023px),
@media screen and (max-width: 1280px)
{
	

/* 黒板・ホワイトボード ---------- */
.blackbord,
.whitebord{
		padding: 1.5em 1em;
	}
	ul.blackbord,
	ol.blackbord,
	ul.whitebord,
	ol.whitebord {
    padding: 2em 1em;
	}
.blackbord .bord-title,
.whitebord .bord-title{
	font-size: 1em;
	margin-bottom: 0.5em;
}
.blackbord p:not(.bord-title),
.whitebord p:not(.bord-title){
	margin-left: 0;
}
.blackbord,
.whitebord{
	width: auto;
	}


}