/*
  Skin Name: 自作スキン
  Description: オリジナルスキン
  Skin URI: https://wp-cocoon.com/
  Author: はるみ
  Author URI: https://turicco.com/fishing/
  Screenshot URI: https://im-cocoon.net/wp-content/uploads/skin-template.png
  Version: 1.0.2
  Priority: 9999000000
*/
/*以下にスタイルシートを記入してください*/



/* プロパティ関数---------------------------------------------- */
:root {
	--main-color: #757575; /*#7B766E;*/
	--second-color: #abb8c3;
	--cocoon-blue-color: #51677a;
	--gray-color: #f7f7f7;
	--shadow-color: #ccc;
	--border-color: #ccc;
	--box-padding: 2em;
	--box-margin: 3em auto;
	--cocoon-red-color: #bc5731;
}

/* 480px以下 */
@media screen and (max-width: 480px) {
	:root {
		--box-padding: 1.5em;
	}
}

/* スクロールアニメーション ---------------------------------------------- */
/* 初期状態：非表示（透明） */
.scroll_in {
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

/* フェードイン状態：表示（不透明） */
.scroll_in.on {
	opacity: 1;
}

/* 全体設定 ---------------------------------------------- */
body {
	overflow-x: clip;
}

/* 中央揃え ---------------------------------------------- */
.center-text {
	text-align: center;
}

/* 余白調整 ---------------------------------------------- */
.a-wrap {
	margin-bottom: 0;
}

.entry-content {
	margin-top: 2em;
}

/* リンクカラー変更 ---------------------------------------------- */
a,
.has-text-color a {
	color: var(--cocoon-blue-color);
}

/* 固定ページの日付 */
.page .date-tags {
	display: none;
}

/* 投稿日位置変更（順番） ---------------------------------------------- */
.article-header {
	display: flex;
	flex-flow: column;
}
.entry-title {
	order: -2;
}
.date-tags {
	order: -1;
}

/* Webフォント ---------------------------------------------- */
.item-description,
.appeal-title,
.sidebar h3,
.toc-title,
.list-new-entries-title,
.heading,
.footer-title,
.related-entry-main-heading,
.comment-title,
.mobile-menu-buttons .menu-caption,
.list-more-button,
.blank-box.bb-tab .bb-label,
.blogcard::after,
:where(.prev-post-title, .next-post-title)::before {
	font-family: "Fira Sans Extra Condensed", sans-serif;
	font-weight: bold;
	letter-spacing: .1em; /* 文字間の余白 */
}

/* 広告表記 ---------------------------------------------- */
.pr-label-l {
	border-radius: 0;
	border-left: 0;
	border-right: 0;
	padding: .7em 0;
}

.pr-label-l:before {
	font-family: "Font Awesome 5 Free";
	content: "\f05a";
	font-weight: bold;
	margin-right: 5px;
	color: var(--main-color);
}

/* 表示順変更 */
.entry-categories-tags {
	order: 1;
}

/* 改行 ---------------------------------------------- */
/* 改行PCでは無効（改行しない） */
.sma {
	display: none;
}

/* スマートフォンでは有効（改行する） */
@media screen and (max-width: 768px) {
	.sma {
		display: block;
	}
}

/* スムーススクロール ---------------------------------------------- */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px; /* 位置調整 */
}

/* スマホ用（最大幅834pxまで） */
@media screen and (max-width: 834px) {
	html {
		scroll-padding-top: 60px; /* スマホヘッダーの高さに調整 */
	}
}

/* カラムブロック｜モバイル2列（767px以下） ---------------------------------------------- */
@media only screen and (max-width: 767px) {
	.wp-block-columns.is-style-mobile-two-columns {
		flex-wrap: wrap !important;
		gap: 1rem;
	}
	.wp-block-columns.is-style-mobile-two-columns .wp-block-column {
		flex: 1 1 calc(50% - 1rem);
	}
}

/* ホバーアクション1（上に動く） ---------------------------------------------- */
body,
.appeal-button,
.breadcrumb a,
.go-to-top-button,
.link-btn,
input[type=submit],
.blogcard::after {
	transition: all .5s;
}

.a-wrap:hover {
	background: initial;
	transform: translateY(-5px);
}

/* ホバーアクション2（影） ---------------------------------------------- */
.a-wrap:hover img {
	box-shadow: 1px 5px 5px var(--shadow-color);
}

/* ホバーアクション3（反転／塗り） ---------------------------------------------- */
.breadcrumb a:hover,
.pagination-next-link:hover {
	border-color: var(--main-color);
	background: var(--main-color) !important;
	color: var(--cocoon-white-color) !important;
}

/* ホバーアクション4（反転／白抜き） ---------------------------------------------- */
input[type=submit]:hover,
.comment-reply-link:hover {
	border: 1px solid var(--main-color) !important;
	color: var(--main-color) !important;
	background-color: var(--cocoon-white-color) !important;
	opacity: 1;
}

/* トップへ戻るボタン ---------------------------------------------- */
.go-to-top-button:hover {
	transform: translateY(-40px);
}

/* トップへ戻るボタン画像の表示調整 */
.go-to-top-button {
	width: 60px; /* ボタン画像の表示幅 */
	height: auto; /* ボタン画像の高さは自動調整 */
}

.go-to-top {
	right: 10px; /* 右から10pxの位置に配置 */
	bottom: 50px; /* 下から50pxの位置に配置 */
}

/* 通知エリア ---------------------------------------------- */
.home .notice-area {
	display: none;
}

.notice-area {
	background-color: var(--main-color);
	font-weight: bold;
}

/* ヘッダー ---------------------------------------------- */
/* 1023px以上 */
@media screen and (min-width: 1023px) {
	.header-container {
		display: flex;
		align-items: center;
		height: 80px;
		background-color: rgba(255, 255, 255, 0.15);
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
	}
}

/* グローバルナビ ---------------------------------------------- */
#navi a {
	color: var(--main-color);
	font-size: 1em;
}

#navi,
#navi a:hover {
	background-color: transparent;
}

#navi .navi-in > ul > li > a {
	padding: 0 .5em !important;
}

.sub-caption {
	opacity: 1;
}

/* フッター ---------------------------------------------- */
.footer {
	padding-top: 3em;
}

/* 834px以下 */
@media screen and (max-width: 834px) {
	.navi-footer-in > .menu-footer li.menu-item {
		width: fit-content;
	}
	.navi-footer-in > .menu-footer a {
		font-size: .8em;
	}
}

/* スマホでもウィジェットを表示 */
@media screen and (max-width: 768px) {
	.footer-widgets {
		display: block;
	}
}

.footer .widget_categories ul li a:hover,
.footer .tagcloud a:hover {
	background: #9baab7;
}

/* パンくずリスト ---------------------------------------------- */
.breadcrumb.sbp-main-before {
	background-color: transparent;
}

.breadcrumb a {
	padding: 2px 5px;
	border-radius: 1px;
}

/* 「ホーム」を消す */
.breadcrumb .breadcrumb-home a span {
	font-size: 0px;
}

/* 「HOME」を挿入 */
.breadcrumb .breadcrumb-home a span::before {
	content: "Home";
	font-size: 13px;
}

/* パンくずリストアイコン非表示 */
.breadcrumb .fa-folder,
.breadcrumb .fa-file-o {
	display: none;
}

/* アイコンまわりの余白 */
.breadcrumb .sp {
	margin: 0 3px;
}

/* アピールエリア ---------------------------------------------- */
/* アニメーション */
.fade-in {
	animation: fadein-anime 2s forwards;
	opacity: 0;
}

@keyframes fadein-anime {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.time01 {
	animation-delay: 0.5s;
}
.time02 {
	animation-delay: 1.5s;
}
.time03 {
	animation-delay: 2.5s;
}

/* 834px以下高さいっぱいに */
@media screen and (max-width: 834px) {
	.front-top-page .appeal {
		height: 100svh;
		display: flex;
		align-items: center;
	}
}

.appeal-content {
	background-color: initial;
	padding: 0;
}

.appeal-title {
	font-size: 1.5em;
	color: var(--main-color);
	margin-bottom: 1em;
}

/* 記事カード設定 ---------------------------------------------- */
.entry-card-title,
.widget-entry-cards.card-large-image .e-card {
	font-size: 16px;
}

.e-card-title {
	margin-top: 0 !important;
}

/* ウィジェット設定 ---------------------------------------------- */
.widget-entry-card-link.a-wrap .widget-entry-card-thumb img {
	margin-bottom: 3px;
}

/* 三リーダー省略 */
.entry-card-title,
.widget-entry-cards:not(.large-thumb-on) .card-title,
.widget-entry-card-snippet {
	-webkit-line-clamp: 3 !important;
}

/* 記事タイトル */
.widget-entry-card-title {
	font-weight: bold;
}

/* 文字の大きさ調整（480px以下） */
@media screen and (max-width: 480px) {
	.e-card-title,
	.widget-entry-card-title {
		font-size: 14px !important;
	}
	.e-card-title {
		margin-top: .5em;
	}
}

/* ウィジェット設定（横並び） ---------------------------------------------- */
.widget-entry-cards.large-thumb {
	display: flex;
	flex-wrap: wrap; /* 折り返す */
	justify-content: center;
}

.popular-entry-cards.large-thumb a {
	width: calc(100% / 3);
}

/* 480px以下 */
@media screen and (max-width: 480px) {
	.popular-entry-cards.large-thumb a {
		width: calc(100% / 2);
	}
}

/* 投稿日を表示する ---------------------------------------------- */
.entry-card-info.e-card-info,
.widget-entry-card-date {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	font-size: .9em;
}

.widget-entry-card-date > span:nth-last-of-type(2) {
	display: none;
}



/* トップページカスタマイズ  ---------------------------------------------- */

/* 見出し ---------------------------------------------- */
.heading {
    text-align: center; /* 中央寄せ */
    font-size: 2.5rem;  /* 文字の大きさ（お好みで調整） */
    color: var(--main-color);
}

.heading span {
    display: block;       /* ブロック要素にする */
    font-size: .8rem;     /* サブ見出しを小さめに（お好みで調整） */
    font-weight: normal;  /* 通常の太さ（不要なら削除） */
}

/* トップページ非表示 */
.home .article-header,
.home .article-footer {
    display: none;
}

/* 見出しタイトル ---------------------------------------------- */
.related-entry-heading {
    text-align: center;
}

.footer-title,
.related-entry-main-heading,
.comment-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding: 0;
    text-align: center;
    line-height: 1.6;
}

.related-entry-main-heading,
.comment-title {
    color: var(--main-color);
}

/* ２行目のスタイル */
.related-entry-sub-heading,
.comment-title span,
.title-memo {
    display: block;
    font-size: .8rem;
    letter-spacing: initial;
    font-weight: initial;
}

/* 見出しデザイン ---------------------------------------------- */
.article h1,
.article h2,
.article h3,
.article h4 {
    border: none;
    background: none;
    border-radius: 0;
}

/* アーカイブページタイトル */
.archive-title .fas {
    display: none;
}

.page .entry-title,
.archive-title {
    margin: 2em 0;
    text-align: center;
    font-size: 20px;
    padding-bottom: 1em;
    position: relative;
}

:where(.page .entry-title, .archive-title)::after {
    background-color: var(--main-color);
    position: absolute;
    top: auto;
    bottom: 0;
    left: calc(50% - 1em);
    right: auto;
    display: block;
    width: 2em;
    height: 1px;
    border-radius: 10px;
    content: "";
}


/* 記事一覧ページタイトル---------------------------------------------- */
.article h1 {
  padding-left: 0;
  padding-right: 0;
}

.article h2 {
  margin-top: 5em;
  position: relative;
  background: var(--main-color);
  color: var(--cocoon-white-color);
  padding: .7em 1em .7em;
}

.article h2:before,
.article h2:after {
  position: absolute;
  left: 0;
  width: 100%;
  content: '';
  border-top: 1px solid var(--cocoon-white-color); /* ライン：太さ・実線・色 */
}

.article h2:before {
  top: 3px;
}

.article h2:after {
  bottom: 3px;
}

.sidebar h3,
.article h3 {
  position: relative;
  border-bottom: 3px solid var(--gray-color);
  background: none;
  color: var(--main-color);
}

.article h3 {
  margin-top: 3em;
  padding: .4em 0;
}

.sidebar h3 {
  margin: 0 0 1em 0;
  font-size: 2em;
  padding: 0;
}

.sidebar h3::after,
.article h3::after {
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 30%;
  border-bottom: 3px solid var(--main-color);
  content: " ";
}

.article h4 {
  margin-top: 3em;
  border-left: 3px solid var(--main-color);
  padding: .1rem .8rem;
  font-size: 1.1em;
  position: relative;
  line-height: 1.1;
}

/* 先頭に四角のアクセント */
.article h5 {
  background: none;
  position: relative;
  font-size: 1em;
  padding: .5em .5em .5em 2em;
}

.article h5::before {
  position: absolute;
  content: '';
}

.article h5::before {
  top: .6em;
  left: .2em;
  z-index: 2;
  width: 1em;
  height: 1em;
  background: var(--main-color);
  opacity: .7;
}

/* ボタンのスタイル---------------------------------------------- */
/* cocoonボタン */
.btn {
  background-color: var(--main-color);
  font-size: 1em !important;
}

.btn-m,
.btn-wrap.btn-wrap-m > a {
  padding: 14px 20px;
}

/* 囲みボタン */
.btn-wrap a {
  font-size: 1em !important;
  margin-bottom: 0 !important;
}

/* カラムブロック（ワードプレス）---------------------------------------------- */
/* ボタン時にクラス追加：btn-flex */
.is-layout-flex.btn-flex {
  gap: .5rem;
}

@media screen and (max-width: 834px) {
  .container .column-wrap {
    gap: .5em !important;
  }
}

/* 高さ揃え（Columns/Group に「sort-box」を付けた時のみ有効） */
.sort-box .wp-block-column,
.sort-box .block-box {
  display: flex;
  flex-direction: column;
}

.sort-box .block-box {
  flex: 1 1 auto;
}


/* モバイルボタン---------------------------------------------- */
/* 1023px以下 */
@media screen and (max-width: 1023px) {

  .mobile-menu-buttons .menu-button img {
    width: fit-content;
  }

  .mobile-menu-buttons {
    box-shadow: none;
    align-items: center;
  }

  .mobile-footer-menu-buttons {
    background-color: initial;
  }

  /* アイコン、文字色 */
  .mobile-footer-menu-buttons :is(.menu-button > a, .menu-button label) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    margin: auto;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--main-color);
    border-radius: 99px;
  }

  .mobile-menu-buttons .menu-icon {
    font-size: .9em;
  }

  /* ホバー */
  .mobile-footer-menu-buttons :is(.menu-button > a, .menu-button label):hover {
    animation: fuwafuwa 1s;
  }

  @keyframes fuwafuwa {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0px);
    }
  }

}

/* border-radiusリセット */
#navi-menu-close,
#sidebar-menu-close,
#search-menu-close,
#share-menu-close,
#follow-menu-close {
  border-radius: initial;
}

/* 目次の「続きを読む」ボタンのスタイル */
.fold-link {
  display: block;
  margin: 1em auto 0 !important;
  padding: .3em 1em !important;
  text-decoration: none !important;
  cursor: pointer;
  text-align: center;
  color: var(--main-color) !important;
  background-color: #eee;
  border-radius: 40px;
  width: 10em;
  transition: .5s ease;
}

.fold-link:hover {
  color: var(--cocoon-white-color) !important;
  background-color: var(--main-color);
}

/* サイドバー目次追従---------------------------------------------- */
.nwa .toc {
  padding: 0;
}

.widget_toc {
  overflow-y: auto; /* 縦方向スクロールを設置 */
  max-height: calc(100vh - 150px); /* 目次の高さ上限 */
  margin-top: 50px;
}

.widget .toc {
  width: 100%;
  line-height: 1.8;
}

/* サイドバータイトル非表示 */
.toc-widget-box .toc .toc-title {
  display: none;
}

/* arrow-down / arrow-up スクロール誘導の矢印 ------------------------------- */
.arrow-down,
.arrow-up {
  margin-inline: auto; /* 左右中央寄せ */
  margin-block: 1em;   /* 上下の余白 */
}

/* 矢印の形状 */
.arrow-down span,
.arrow-up span {
  display: block;
  width: clamp(0.8em, 1.1vw, 1em);
  height: clamp(0.8em, 1.1vw, 1em);
  border: 1px solid var(--cocoon-text-color);
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
}

.arrow-down span {
  transform: translateY(-50%) rotate(135deg);
}

.arrow-up span {
  transform: translateY(50%) rotate(-45deg);
}

/* サイドバーの設定---------------------------------------------- */
.sidebar {
  background-color: transparent;
}

.widget-sidebar {
  margin-bottom: 0 !important;
}

.sidebar aside {
  padding: 0 2em 3em;
  font-size: .9em;
}

/* カテゴリーウィジェット---------------------------------------------- */
.widget_nav_menu ul li,
.widget_categories ul li {
  line-height: 1; /* 変えない */
}

/* タグクラウド---------------------------------------------- */
.tagcloud {
  list-style: none;
}

ul.tagcloud {
  padding-left: 0 !important;
}

.tagcloud li {
  flex-grow: 1;
}

.tagcloud a {
  color: var(--main-color);
  border-radius: 99px;
  padding: 3px 12px;
}

.fa-tag:before {
  content: "\f578";
}


/* フッター色調整 */
.footer-title {
  color: var(--cocoon-white-color) !important;
}

.footer-title::after {
  background-color: var(--cocoon-white-color) !important;
}

/* ワードプレスのタグクラウド */
.wp-block-tag-cloud a {
  margin-right: 0; /* リセット */
  line-height: 1;
  padding: 1ch;
  font-size: .9em !important;
  flex: 1 1 auto;
}

.wp-block-tag-cloud span {
  display: flex;
  gap: 3px;
  margin-left: 0;
}

/* 検索ボックスのカスタマイズ（分離型・検索ボタン右側） */
.search-box input:focus,
.search-box button:focus {
  outline: 0; /* フォーカス時の枠線を消す */
}

/* 入力欄 */
.search-box .search-edit {
  border-radius: 1px;
  font-size: .9rem;
}

/* アーカイブプルダウンメニュー */
select {
  border-radius: 1px; /* 角丸 */
  font-size: .8em;
}

/* モバイルサイドバー */
/* モバイルサイドバーの幅 */
@media screen and (max-width: 480px) {
  .menu-content {
    max-width: 90%;
  }
}

/* 開くときのアニメーション */
#sidebar-menu-input:checked ~ #sidebar-menu-content,
#search-menu-input:checked ~ #search-menu-content {
  transition: 0.5s ease-in-out;
}

/* 閉じるときのアニメーション */
.menu-content {
  transition: .5s ease-out;
}

/* モバイルサイドバーのCLOSEボタン */
.menu-close-button {
  position: sticky !important; /* スクロール追従 */
  z-index: 9; /* 最前面 */
  top: 0;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(2px);
}

.menu-close-button::after {
  content: "CLOSE";
  font-size: 10px;
}

/* プロフィールボックス */
.author-box {
  border: none;
}

.author-name a {
  pointer-events: none;
  text-decoration: none;
  color: var(--cocoon-text-color);
  font-size: .9em;
}

.author-box p {
  line-height: 1.8;
}

/* カテゴリーラベル */
.eye-catch .cat-label {
  display: none;
}

.cat-label {
  position: unset;
  border: 0;
  padding: 2px 10px;
}

.entry-categories-tags {
  margin-bottom: 0;
}

/* ページネーション（次ページ） */
.pagination-next-link {
  border-radius: 1px;
  font-size: .9em;
  border: 1px solid var(--border-color);
  background-color: initial;
}

.page-numbers {
  border: none;
  background-color: initial;
  border-radius: 0;
  height: auto;
  box-shadow: 0 1px 1px var(--shadow-color);
}

a.page-numbers:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 5px var(--shadow-color);
}

.pagination .current {
  /* 現在のページ */
  color: var(--cocoon-white-color);
  background-color: var(--main-color);
}

/* 関連記事記事下ページ送り */
/* 835px以上 */
@media screen and (min-width: 835px) {
  .pager-post-navi {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ページ送り文字の追加 */
.prev-post-title,
.next-post-title {
  line-height: 1.5;
  font-size: 12px;
}

:where(.prev-post-title, .next-post-title):before {
  display: block;
  font-size: 16px;
  color: var(--main-color);
}

.next-post-title:before {
  content: 'Next';
}

.prev-post-title:before {
  content: 'Prev';
}

.pager-post-navi a .iconfont {
  color: var(--main-color);
}

/* カテゴリー、タグリンク */
.cat-link {
  background-color: var(--main-color);
}

.tag-link {
  border-color: var(--main-color);
  color: var(--main-color);
}

/* SNSシェア・フォローボタン ---------------------------------------------- */
.ss-bottom {
  margin-bottom: 1em;
}

.sns-follow {
  margin-bottom: 3em;
}

.sns-buttons {
  justify-content: center;
  margin-bottom: 0;
}

.main .sns-buttons a {
  width: 34px !important;
  height: 34px !important;
  margin: 2px;
  border-radius: 0;
  background: initial;
  opacity: .8;
}

.sns-follow-buttons a {
  font-size: 20px;
}

.sns-share-message,
.sns-follow-message {
  font-size: .8em;
}

/* SNSアイコンサイズ調整（上） */
.sns-share.ss-high-and-low-lc a .social-icon {
  font-size: 18px;
}

.sns-share-buttons a .button-caption {
  display: none !important;
}

/* ホバー */
.sns-buttons a {
  transition: all .5s;
}

.sns-buttons a:hover {
  transform: translateY(-4px);
  /* transform: scale(1.1); */
}


/*** SNSボタン画面左に固定（トップのみ） ***/
/* 1023px以上 */
@media screen and (min-width: 1023px) {
  .ss-top .sns-share-buttons {
    flex-direction: column;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 1%;
    z-index: 999;
  }

  .ss-top .sns-share-buttons:before {
    content: 'SHARE';
    font-size: 12px;
  }
}

/* 834px以下 */
@media screen and (max-width: 834px) {
  .ss-top .sns-buttons a {
    border: none;
  }
}


/* 最近のコメントウィジェット ---------------------------------------------- */
/* 全体 */
.recent-comments {
  padding: 0;
}

/* アバター */
.recent-comment-avatar .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 0;
}

/* 名前部分 */
.recent-comment-author {
  line-height: 30px;
}

.recent-comment-info,
.recent-comment-article {
  font-size: 1em;
  color: var(--main-color);
}

/* 日付 */
.recent-comment-date {
  text-align: right;
  font-size: 9px;
}

/* 記事名 */
.recent-comment-article {
  font-size: .8em;
  margin-top: 1em;
}

/* コメント部分 */
.recent-comment-content {
  padding: 1em;
  border-color: var(--border-color);
  position: relative;
  color: var(--cocoon-text-color); /* 消さない */
}

/* 吹き出し三角（内側） */
.recent-comment-content:after {
  content: "";
  position: absolute;
  top: -12px;
  left: 50px;
  border-style: solid;
  border-color: transparent transparent var(--cocoon-white-color) transparent;
  border-width: 0 20px 20px 0;
  transition: all .5s;
}

/* 吹き出し三角（外側） */
.recent-comment-content:before {
  content: "";
  position: absolute;
  top: -14px;
  left: 52px;
  border-style: solid;
  border-color: transparent transparent var(--border-color) transparent;
  border-width: 0 14px 14px 0;
}


/* コメント --------------------------------------------- */
.commets-list .comment-meta a {
  font-size: .8em;
  text-decoration: none;
  text-align: right;
}

.commets-list > li {
  border-top: 2px dashed var(--gray-color);
  margin: 30px 0;
  padding-top: 20px;
}

.commets-list > li:first-child {
  border: none;
  margin-top: 0;
  padding-top: 0;
}

.commets-list .children {
  border-left: 2px solid var(--border-color);
  margin: 0;
  padding-left: 1em !important;
}

.commets-list .avatar {
  float: left;
  border-radius: 50%;
  margin-right: 10px;
}

/* 吹き出し */
.comment-content {
  background-color: var(--gray-color);
  padding: 1.5em;
  margin: 20px 0 6px;
  border-radius: 10px;
  position: relative;
  font-size: .9em !important;
}

.comment-content::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50px;
  border-style: solid;
  border-color: transparent transparent var(--gray-color) transparent;
  border-width: 0 20px 20px 0;
}

.comment-content p {
  margin: 0 !important;
}

.comment-reply-link {
  color: var(--cocoon-white-color);
  background-color: var(--main-color);
  border: none;
  border-radius: 1px;
  padding: 3px 12px;
  transition: .5s;
}

/* コメント送信 */
input[type=submit] {
  color: var(--cocoon-white-color);
  background-color: var(--main-color);
  border-color: var(--main-color);
}


/* 比較表 ---------------------------------------------- */
/* 全体 */
.compare-box {
  display: flex;
  margin: var(--box-margin);
  border-radius: 1px;
  box-shadow: 0 1px 3px var(--shadow-color);
}

/* 左右ボックス */
.compare-box .compare-left-wrap,
.compare-box .compare-right-wrap {
  width: 50%;
  overflow: hidden;
}

.compare-box .compare-left-wrap {
  border-right: .5px #eee solid;
}

/* タイトル */
.compare-box .compare-left-head,
.compare-box .compare-right-head {
  text-align: center;
  color: var(--cocoon-white-color);
  font-weight: bold;
  padding: 0 1em;
  height: 55px;
  display: table-cell;
  vertical-align: middle;
  width: 1000px;
}

/* 左タイトル */
.compare-box .compare-left-head {
  border-radius: 1px 0 0 0;
  background-color: var(--second-color);
}

/* 右タイトル */
.compare-box .compare-right-head {
  border-radius: 0 1px 0 0;
  background-color: var(--cocoon-blue-color);
}

/* コンテンツ */
.compare-box .compare-left,
.compare-box .compare-right {
  padding: 1em 1.5em;
}


/* スマホ（834px以下） */
@media screen and (max-width: 834px) {

  /* タイトル */
  .compare-box .compare-left-head,
  .compare-box .compare-right-head {
    height: 40px;
    font-size: .9em;
  }

  /* コンテンツ */
  .compare-box .compare-left,
  .compare-box .compare-right {
    padding: 1em;
    font-size: .8em;
  }
}


/************************************
    箇条書きリスト
************************************/

/* 箇条書き余白調整 --------------------------------------------- */
ul {
    padding-left: 1.2em;
}

ol {
    padding-left: 1.7em;
}

@media screen and (max-width: 834px) {
    .article ul {
        padding-left: 1em;
    }
}

ul.has-list-style {
    padding: 0; /* アイコンリスト */
}

.article ul li,
.article ol li {
    margin: 0; /* 0.2emの余白を消す */
}

/* 1段目ネスト：マーカーあり */
.article ul:not(.timeline) ul,
.article ol ul {
    list-style: disc;
}

/* 2段目ネスト：少しインデント、黒丸マーカー */
.article ul ul ul,
.article ol ul ul {
    padding-left: 1em;
    list-style: disc;
}

/*---------------------------------
    リストの行間・余白調整
---------------------------------*/

/* 通常リスト（最後以外） */
.article ul:not(.timeline):not(.tab-label-group):not(.mobile-menu-buttons) li:not(:last-of-type),
.article ol li:not(:last-of-type),
.toc ol li:not(:last-of-type) {
    padding-bottom: 0.25em;
    margin-bottom: 0.25em;
}

/* list-tallクラス、または <br> ありの行は余白広め */
.article ul.list-tall:not(.timeline):not(.tab-label-group) li:not(:last-of-type),
.article ul:not(.timeline):not(.tab-label-group) li:has(br):not(:last-of-type),
.article ol.list-tall li:not(:last-of-type),
.article ol li:has(br):not(:last-of-type) {
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
}

/* ネストされたリスト内の余白（上部） */
.article li > ul,
.article li > ol,
.toc .toc-list ol {
    padding-top: 0.25em;
    margin-top: 0.25em;
}

/* timeline内は余白なし */
.timeline .block-box li > ul,
.timeline .block-box li > ol {
    padding-top: 0;
    margin-top: 0;
}

/*---------------------------------
   下線付きリスト（under-line）
---------------------------------*/

/* 下線（最後の要素も含む） */
.article ul.under-line > li,
.article ol.under-line > li {
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 1em !important;
    margin-bottom: 1em !important;
}

/* block-box内の最後の要素は下線なし */
.block-box ul.under-line > li:last-of-type,
.block-box ol.under-line > li:last-of-type {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.article .under-line a {
    text-decoration: none;
}

/*---------------------------------
    マーカー色
---------------------------------*/

/* デフォルトのマーカー */
ul > li::marker {
    color: var(--second-color);
}

/* WPブロックリストのマーカー色 */
.has-border-color .wp-block-list li::marker {
    color: var(--cocoon-custom-border-color);
}
.has-red-border-color .wp-block-list li::marker {
    color: var(--wp--preset--color--red);
}
.has-pink-border-color .wp-block-list li::marker {
    color: var(--wp--preset--color--pink);
}
.has-teal-border-color .wp-block-list li::marker {
    color: var(--wp--preset--color--teal);
}
.has-luminous-vivid-amber-border-color .wp-block-list li::marker {
    color: var(--wp--preset--color--luminous-vivid-amber);
}
.has-ex-a-border-color .wp-block-list li::marker {
    color: var(--wp--preset--color--ex-a);
}
.has-ex-b-border-color .wp-block-list li::marker {
    color: var(--wp--preset--color--ex-b);
}
.has-ex-c-border-color .wp-block-list li::marker {
    color: var(--wp--preset--color--ex-c);
}
.has-ex-d-border-color .wp-block-list li::marker {
    color: var(--wp--preset--color--ex-d);
}

/*---------------------------------
    リストスタイル（カスタム）
---------------------------------*/

.is-style-icon-list-circle > li::before {
    color: #dd9999 !important; /* ○ */
}

.is-style-icon-list-triangle > li::before {
    color: var(--second-color) !important; /* △ */
}

/*---------------------------------
    番号付きリスト（ol-list）
---------------------------------*/

.ol-list {
    counter-reset: number; /* 番号リセット */
    list-style: none; /* 行頭番号削除 */
}

/* 行 */
.ol-list > li {
    position: relative;
}

/* 番号デザイン */
.ol-list > li:before {
    counter-increment: number;
    content: counter(number);
    position: absolute;
    top: 0.4em;
    left: -2em;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.6em;
    text-align: center;
    font-size: 0.8em;
    font-weight: bold;
    border-radius: 50%;
    background-color: var(--main-color);
    color: var(--cocoon-white-color);
}

/* 四角番号 */
.square li:before {
    border-radius: 0 !important;
}

/*---------------------------------
    目次設定（toc）
---------------------------------*/

.toc {
    padding: 2em 3em 2em;
}

@media screen and (max-width: 480px) {
    .toc {
        padding: 1.5em 2em 2em;
    }
}

.toc-title {
    font-size: 2em;
    color: var(--main-color);
}

/* 直下の li だけ太字 */
.toc-list > li > a {
    font-weight: bold;
    color: var(--main-color);
}

.toc .toc-list > li:has(> ol, > ul) {
    margin-bottom: 1em;
    padding-bottom: 0;
}


/************************************
  Cocoonボックス
************************************/

/* 白抜きボックス------------------------------------------------------- */
.blank-box {
  border-width: 1px;
  border-radius: 0;
  padding: 1.5em 2em;
}

/* FAQボックス------------------------------------------------------- */
.faq-wrap {
  --cocoon-custom-border-color: #e8ecef;
}

.faq-wrap.blank-box {
  border-width: 1px;
  border-radius: 1px;
}

.is-style-accordion.blank-box {
  padding: 0;
}

.faq-question {
  align-items: unset;
}

.faq .faq-item-label {
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  height: 100%;
  width: 1.8em;
  padding: 0;
  margin-right: .5em;
}

.faq-item-content {
  margin-top: 0;
}

.is-style-accordion > .faq > .faq-question::before {
  opacity: 1;
}


/* ---------------------------------------------------------
   アコーディオン（トグルボックス）共通スタイル
--------------------------------------------------------- */

/* トグルボタン（共通） ---------------------------- */
[class*="is-style-cstm-toggle"] .toggle-button {
  border: none;
  border-radius: 0;
  padding: 0.5em 1em;
}

[class*="is-style-cstm-toggle"] .toggle-button::before {
  opacity: 1;
}

/* シンプルスタイル ------------------------------- */
[class*="is-style-cstm-toggle-simple"] .toggle-button {
  background-color: #f5f4f3;
}

/* 白抜き／下線スタイル ------------------------------ */
[class*="is-style-cstm-toggle-outline"] .toggle-button,
[class*="is-style-cstm-toggle-underline"] .toggle-button {
  background: none;
}

/* 外枠あり（シンプル／白抜き） */
.toggle-box[class*="is-style-cstm-toggle-simple"],
.toggle-box[class*="is-style-cstm-toggle-outline"] {
  border: 1px solid var(--cocoon-custom-border-color);
}

/* 下線のみ */
.toggle-box[class*="is-style-cstm-toggle-underline"] {
  border-bottom: 1px solid var(--cocoon-custom-border-color);
}

/* 左寄せボタン（-left系） ------------------------- */
[class*="is-style-cstm-toggle"][class*="-left"] .toggle-button {
  padding: 0.5em 2em 0.5em 1em;
  text-align: left;
}

/* 左寄せ・FAQ 共通アイコン位置 */
[class*="is-style-cstm-toggle"][class*="-left"] .toggle-button::before,
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button::before {
  position: absolute;
  right: 1em;
  margin: 0;
  font-size: 1em;
}

/* チェック時の装飾 -------------------------------- */
/* 白抜き：開閉時に下線を破線に */
[class*="is-style-cstm-toggle-outline"] .toggle-checkbox:checked ~ .toggle-button {
  border-bottom: 1px dashed var(--cocoon-custom-border-color);
}

/* 開閉コンテンツ：境界線リセット */
[class*="is-style-cstm-toggle"] .toggle-checkbox:checked ~ .toggle-content {
  border: none;
  border-radius: 0;
}

/* コンテンツ余白（シンプル／白抜き） ---------------- */
[class*="is-style-cstm-toggle-simple"].toggle-wrap .toggle-content,
[class*="is-style-cstm-toggle-outline"].toggle-wrap .toggle-content {
  padding: 0 1.5em;
}

[class*="is-style-cstm-toggle-simple"] .toggle-checkbox:checked ~ .toggle-content,
[class*="is-style-cstm-toggle-outline"] .toggle-checkbox:checked ~ .toggle-content {
  padding: 1em 1.5em;
}

/* ボタン風デザイン ------------------------------- */
.is-style-cstm-toggle-button .toggle-button {
  width: fit-content;
  border: 1px solid var(--cocoon-custom-border-color);
  border-radius: 99px;
  padding: 0.3em 1.5em;
  margin: 0 auto;
}

.is-style-cstm-toggle-button .toggle-checkbox:checked ~ .toggle-button {
  border-radius: 99px;
  margin-bottom: 1em;
}


/* FAQスタイル ------------------------------------ */

/* FAQ共通：左寄せ */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button,
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-content {
  position: relative;
  text-align: left;
}

/* FAQコンテンツ余白（初期） */
[class*="is-style-cstm-toggle"][class*="-faq"].toggle-wrap .toggle-content {
  padding: 0 2em 0 2.2em;
}

/* FAQボタン余白 */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button {
  padding: 0.5em 2em 0.5em 2.2em;
}

/* FAQコンテンツ余白（展開時） */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-checkbox:checked ~ .toggle-content {
  padding: 1em 2em 1em 2.2em;
}

/* Q・A ラベル ------------------------------------- */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button::after,
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-checkbox:checked ~ .toggle-content::after {
  position: absolute;
  left: 1em;
  font-weight: bold;
}

/* Qラベル（ボタン側） */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button::after {
  content: 'Q';
  color: #004aad;
  top: 0.5em;
}

/* Aラベル（コンテンツ側） */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-checkbox:checked ~ .toggle-content::after {
  content: 'A';
  color: #bc5731;
  top: 1em;
}


/* アイコン（Font Awesome利用） ------------------ */
/* 白抜きタイプ：矢印 */
[class*="is-style-cstm-toggle"][class*="-left"] .toggle-button::before {
  content: "\f078"; /* V字型 */
}

[class*="is-style-cstm-toggle"][class*="-left"] .toggle-checkbox:checked ~ .toggle-button::before {
  content: "\f077"; /* V字型 */
}

/* FAQタイプ：矢印 */
[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-button::before {
  content: "\f0d7"; /* ▼ */
}

[class*="is-style-cstm-toggle"][class*="-faq"] .toggle-checkbox:checked ~ .toggle-button::before {
  content: "\f0d8"; /* ▲ */
}


/* 見出しボックス---------------------------------------------- */
.caption-box {
  border-width: 1px;
  border-radius: 0px; /* 角丸 */
  /* box-shadow: 1px 1px 3px var(--shadow-color); */
}

.caption-box-content {
  padding: var(--box-padding);
}

.caption-box-label {
  display: block;
  text-align: center;
  padding: 5px 0;
}

/*--------------------------------------
  ラベルボックス 共通設定
----------------------------------------*/

/* 共通スタイル */
.label-box[class*="is-style-cstm-label"] {
  position: relative; /* 子要素を配置する際の基準点 */
}

/* ラベル */
.label-box[class*="is-style-cstm-label"] .label-box-label {
  font-size: 1em;
  text-shadow: none;
  display: flex; /* 横並び */
  overflow: hidden; /* はみ出し隠す */
  max-width: 85%;
}

.label-box[class*="is-style-cstm-label"] .label-box-label-text {
  flex: 1; /* 残り幅を使用 */
  min-width: 0; /* 省略条件に必要 */
  white-space: nowrap; /* 改行なし */
  overflow: hidden; /* はみ出しを隠す */
  text-overflow: ellipsis; /* (…) 表示 */
}

.label-box[class*="is-style-cstm-label"] .label-box-content {
  margin-top: 0; /* 上の余白をリセット */
  border-width: 1px; /* 枠線幅 */
  color: var(--cocoon-text-color) !important;
}

/* 角型ラベルの丸み */
.is-style-cstm-label-out-square .label-box-content,
.is-style-cstm-label-in-square .label-box-content,
.is-style-cstm-label-icon-square .label-box-content {
  border-radius: 0;
}

/* 丸型ラベルの丸み */
.is-style-cstm-label-out-round .label-box-content,
.is-style-cstm-label-in-round .label-box-content,
.is-style-cstm-label-icon-round .label-box-content {
  border-radius: 10px;
}

/*--------------------------------------
  ラベルアウト
----------------------------------------*/

.is-style-cstm-label-out-square .label-box-label,
.is-style-cstm-label-out-round .label-box-label {
  position: absolute;
  top: -0.8em;
  padding: 0 0.5em;
  background-color: var(--cocoon-white-color);
}

.is-style-cstm-label-out-square .label-box-content,
.is-style-cstm-label-out-round .label-box-content {
  padding: 2em;
  background-color: transparent !important;
}

/* 834px以下 */
@media screen and (max-width: 834px) {
  .is-style-cstm-label-out-square .label-box-content,
  .is-style-cstm-label-out-round .label-box-content {
    padding: 1.5em;
  }
}

/*--------------------------------------
  ラベルイン
----------------------------------------*/

.is-style-cstm-label-in-square .label-box-label,
.is-style-cstm-label-in-round .label-box-label {
  position: absolute;
  top: 1.5em;
  left: 2em;
  padding: 0;
  margin: 0;
}

.is-style-cstm-label-in-square .label-box-content,
.is-style-cstm-label-in-round .label-box-content {
  padding: 3.5em 2em 1.5em;
}

/*--------------------------------------
  アイコンラベル
----------------------------------------*/

.is-style-cstm-label-icon-square .label-box-label,
.is-style-cstm-label-icon-round .label-box-label {
  display: grid;
  place-content: center;
  height: 100%;
  position: absolute;
  top: 0;
  margin: 0;
  padding: 0 0.5em;
  font-size: 1em;
}

.is-style-cstm-label-icon-square .label-box-label:before,
.is-style-cstm-label-icon-round .label-box-label:before {
  border-right: 1px solid var(--cocoon-custom-border-color);
  color: var(--cocoon-custom-border-color);
  line-height: 1em;
  text-align: center;
  width: 2.5em;
  margin: 0;
}

.is-style-cstm-label-icon-square .label-box-label-text,
.is-style-cstm-label-icon-round .label-box-label-text {
  display: none;
}

.is-style-cstm-label-icon-square .label-box-content,
.is-style-cstm-label-icon-round .label-box-content {
  padding: 1.5em 1.5em 1.5em 4em;
}


/*--------------------------------------
  タブボックス
----------------------------------------*/

.wp-block-cocoon-blocks-tab-box-1 {
  padding: 2em 2em 1em !important;
}

.blank-box.bb-tab .bb-label {
  border-radius: 0;
  position: absolute;
  top: 0;
  left: 0;
}


/*--------------------------------------
  タブ見出しボックスのスタイル
----------------------------------------*/

/* 共通：ラベル太字 */
.is-style-tab-caption-outside .tab-caption-box-label,
.is-style-tab-caption-inside .tab-caption-box-label,
.is-style-tab-caption-overlap .tab-caption-box-label,
.is-style-tab-caption-overlap-round .tab-caption-box-label,
.is-style-tab-caption-wide .tab-caption-box-label,
.is-style-tab-caption-icon-circle .tab-caption-box-label,
.is-style-tab-caption-icon-bar .tab-caption-box-label {
  font-weight: bold;
}

/* 共通 position基準 */
.is-style-tab-caption-inside.tab-caption-box,
.is-style-tab-caption-overlap.tab-caption-box,
.is-style-tab-caption-overlap-round.tab-caption-box,
.is-style-tab-caption-icon-circle.tab-caption-box,
.is-style-tab-caption-icon-bar.tab-caption-box {
  position: relative;
}

.is-style-tab-caption-inside .tab-caption-box-label,
.is-style-tab-caption-overlap .tab-caption-box-label,
.is-style-tab-caption-overlap-round .tab-caption-box-label,
.is-style-tab-caption-icon-circle .tab-caption-box-label,
.is-style-tab-caption-icon-bar .tab-caption-box-label {
  position: absolute;
}

/* 共通 box-content */
.is-style-tab-caption-outside .tab-caption-box-content,
.is-style-tab-caption-inside .tab-caption-box-content,
.is-style-tab-caption-overlap .tab-caption-box-content,
.is-style-tab-caption-overlap-round .tab-caption-box-content,
.is-style-tab-caption-wide .tab-caption-box-content,
.is-style-tab-caption-icon-circle .tab-caption-box-content,
.is-style-tab-caption-icon-bar .tab-caption-box-content {
  border-width: 1px;
}


/*--------------------------------------
  枠外
----------------------------------------*/

.is-style-tab-caption-outside .tab-caption-box-content {
  padding: 1.5em 2em;
  margin-top: -1px;
  border-radius: 0;
}

.is-style-tab-caption-outside .tab-caption-box-label {
  padding: 0 1em;
  border-radius: 2px 2px 0 0;
}


/*--------------------------------------
  枠内
----------------------------------------*/

.is-style-tab-caption-inside .tab-caption-box-content {
  padding: 2.5em 2em 1.5em;
  border-radius: 0;
}

.is-style-tab-caption-inside .tab-caption-box-label {
  padding: 0 1em;
  border-radius: 0 0 1px 0;
  top: 0;
  left: 0;
}


/*--------------------------------------
  枠上（重ね / 丸）
----------------------------------------*/

.is-style-tab-caption-overlap .tab-caption-box-content,
.is-style-tab-caption-overlap-round .tab-caption-box-content {
  margin-top: 3em;
  padding: 2em;
  border-radius: 3px;
}

.is-style-tab-caption-overlap .tab-caption-box-label,
.is-style-tab-caption-overlap-round .tab-caption-box-label {
  top: -0.8em;
  left: 1em;
}

.is-style-tab-caption-overlap .tab-caption-box-label {
  padding: 0 1em;
  border-radius: 3px;
}

.is-style-tab-caption-overlap-round .tab-caption-box-label {
  padding: 0 1.2em;
  border-radius: 30px;
}


/*--------------------------------------
  幅広
----------------------------------------*/

.is-style-tab-caption-wide .tab-caption-box-content {
  padding: 1.5em 2em 1.5em;
  border-radius: 0;
}

.is-style-tab-caption-wide .tab-caption-box-label {
  padding: 0.5em 1em;
  border-radius: 0;
  width: 100%;
  text-align: center;
}


/*--------------------------------------
  アイコン共通（円/バー）
----------------------------------------*/

.is-style-tab-caption-icon-circle .tab-caption-box-label,
.is-style-tab-caption-icon-bar .tab-caption-box-label {
  display: grid;
  place-content: center;
  line-height: 2em;
}

.is-style-tab-caption-icon-circle .tab-caption-box-label::before,
.is-style-tab-caption-icon-bar .tab-caption-box-label::before {
  margin-right: 0;
}

.is-style-tab-caption-icon-circle .tab-caption-box-label-text,
.is-style-tab-caption-icon-bar .tab-caption-box-label-text {
  display: none;
}


/* アイコン（円） */
.is-style-tab-caption-icon-circle .tab-caption-box-content {
  padding: 1.5em 2em;
  border-radius: 4px;
  border-width: 2px;
}

.is-style-tab-caption-icon-circle .tab-caption-box-label {
  width: 2em;
  height: 2em;
  padding: 0;
  border-radius: 99px;
  top: -0.9em;
  left: 1em;
  box-shadow: 0 0 0 2px;
  font-size: 1em;
}


/* アイコン（縦バー） */
.is-style-tab-caption-icon-bar .tab-caption-box-content {
  padding: 1.5em 1.5em 1.5em 3.5em;
  border-radius: 0;
}

.is-style-tab-caption-icon-bar .tab-caption-box-label {
  padding: 0;
  border-radius: 0;
  top: 0;
  left: 0;
  height: 100%;
  width: 2.2em;
}


/*--------------------------------------
  ラベルテキストの省略 (…)  
  ※ アイコン系以外に適用
----------------------------------------*/

.is-style-tab-caption-outside .tab-caption-box-label,
.is-style-tab-caption-inside .tab-caption-box-label,
.is-style-tab-caption-overlap .tab-caption-box-label,
.is-style-tab-caption-overlap-round .tab-caption-box-label {
  display: flex;
  max-width: calc(100% - 2em);
}

.is-style-tab-caption-outside .tab-caption-box-label-text,
.is-style-tab-caption-inside .tab-caption-box-label-text,
.is-style-tab-caption-overlap .tab-caption-box-label-text,
.is-style-tab-caption-overlap-round .tab-caption-box-label-text {
  min-width: 0;
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.is-style-tab-caption-outside .tab-caption-box-label::before,
.is-style-tab-caption-inside .tab-caption-box-label::before,
.is-style-tab-caption-overlap .tab-caption-box-label::before,
.is-style-tab-caption-overlap-round .tab-caption-box-label::before {
  flex-shrink: 0;
}

/* アイコンボックス----------------------------------------------*/
.wp-block-cocoon-blocks-icon-box {
  border-width: 1px;
  border-radius: 0;
  padding: 1em 1.5em 1em 4.5em;
}
.wp-block-cocoon-blocks-icon-box::before {
  font-size: initial;
}

/*480px以下*/
@media screen and (max-width: 480px) {
  .wp-block-cocoon-blocks-icon-box {
    padding: 1.5em 1.5em 1.5em 3.5em;
  }
  .wp-block-cocoon-blocks-icon-box::before {
    top: 50%;
    left: 0;
    margin-left: 3px;
    border-right: 1px solid;
    width: 35px;
  }
}

/* アイコンボックス（各カラー変更）----------------------------------------------*/
/*インフォボックス*/
.information-box::before {
  content: '\f0a1';
}
/*クエスチョンボックス*/
.question-box::before {
  content: '\f128';
}

/* タブブロック */
:root {
  --cocoon-tab-label-active-color: var(--maon-color); /* 選択したタブの背景色 */
}
.tab-content-group {
  border: none;
  padding: 1.2em 0;
}
.tab-label-group .tab-label {
  padding: 0.6em 1.5em;
  text-align: center;
  transition: .3s all;
  border-radius: 0;
}
.tab-label-group .tab-label:not(.is-active) {
  background-color: unset;
}
.tab-label-group .tab-label {
  background: none;
  border-bottom: 2px solid var(--cocoon-tab-label-color);
}
.tab-label-group .tab-label.is-active {
  background: none;
  border-color: var(--cocoon-tab-label-active-color);
  color: var(--cocoon-tab-label-active-color);
}
.tab-label-group .tab-label:hover {
  border-color: var(--cocoon-tab-label-active-color);
  color: var(--cocoon-tab-label-active-color);
}
.tab-label-group {
  justify-content: center;
}

/* タイムラインボックス ----------------------------------------------*/
/* カスタム変数 */
.timeline {
  --timeline-dot-size: 16px;
  --timeline-border-width: 2px;
  --timeline-margin-left: calc((var(--timeline-dot-size) / 2) - (var(--timeline-border-width) / 2));
}
.timeline-box {
  border: none;
}
.timeline-box.has-background {
  padding: 2em;
}
/* 背景色ありの親 */
.has-background .timeline-item:before {
  background: var(--cocoon-custom-background-color) !important;
}
.timeline-item:before {
  top: 22px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 3px solid var(--second-color);
  background: #fff !important;
}
.timeline-item-label {
  padding-left: calc(1.5rem + var(--timeline-margin-left));
  width: auto;
}
.timeline-item-content {
  margin-left: var(--timeline-margin-left);
  border-left: var(--timeline-border-width) #ccc solid;
  padding: 0 1em 1em 1.5em;
  width: auto;
}

/* スマホ 480px以下 */
@media screen and (max-width: 480px) {
  .timeline-box.has-background {
    padding: 2em 1em;
  }
  .timeline > li.timeline-item {
    border: none;
  }
  .timeline-item-label {
    padding-left: 1rem;
  }
  .timeline-item:before {
    left: -0.45rem;
  }
  .timeline-item-content {
    margin-left: 0;
    padding-left: 1rem;
  }
}

/* キーボードキー--------------------------------------------- */
.keyboard-key {
  background-color: var(--cocoon-white-color);
  border: 1px solid #888;
  border-radius: 2px;
  box-shadow: none;
  font-size: 0.9em;
  padding: 3px 5px;
  margin: auto 3px;
}

/* ブログカード---------------------------------------------- */
.blogcard-wrap {
  width: 100%;
}
.blogcard {
  position: relative;
  border-radius: 1px;
  line-height: 1.4;
  padding: 1em;
}
.tab-caption-box .blogcard {
  border: none;
}

@media screen and (max-width: 834px) {
  .blogcard-content {
    line-height: 1.6;
  }
}

.blogcard-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: var(--cocoon-text-color);
  font-size: .95em;
}
.blogcard-snippet {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--cocoon-text-color);
}
@media screen and (max-width: 834px) {
  .blogcard-snippet {
    display: none;
  }
}

/*ブログカードラベル*/
.blogcard-label {
  top: -8px;
  padding: 0 5px!important;
  border-radius: 0px;
  font-size: 12px;
  color: var(--main-color);
  background: var(--cocoon-white-color);
}

/*ブログカードラベルアイコン*/
:where(.bct-related,.bct-reference,.bct-reference-link,.bct-together,.bct-detail)
.blogcard-label .fa::before {
  content: "\f518";
}

.blogcard-favicon {
  line-height: 1;
}

/*続きを読むボタン*/
.blogcard::after {
  display: block;
  content: 'Read More';
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  color: var(--main-color);
  border: 1px solid transparent;
  background-color: var(--gray-color);
  font-size: 12px;
  width: fit-content;
  padding: 0.3em 2.4em;
  z-index: 1;
  transition: all .5s;
}

/*ホバー時ボタン*/
a.blogcard-wrap:hover .blogcard::after {
  background-color: var(--main-color);
  color: var(--cocoon-white-color);
  border-color: var(--main-color);
}

/* 位置調整 */
.blogcard-site {
  align-items: flex-start;
}

/* 検索ボックスフォーム---------------------------------------------- */
div.search-form {
  max-width: 100%;
}
.search-form div.sbtn {
  background-color: var(--main-color);
}
.search-form div.sbtn::after {
  font-weight: 900;
  content: "\f245";
  bottom: -1.2em;
  right: 0px;
  font-size: 24px;
}

/* マイクロバルーン---------------------------------------------- */
.micro-balloon {
  border-color: #aaa;
  border-radius: 2px;
  padding: 0.3em 1.25em;
  width: fit-content;
  font-size: 1em;
}
.micro-balloon.micro-top:before,
.micro-balloon.micro-top:after {
  top: 100%;
}
.micro-balloon.micro-bottom:before,
.micro-balloon.micro-bottom:after {
  bottom: 100%;
}

/* cocoon吹き出し---------------------------------------------- */
div.speech-balloon {
  border-width: 1px;
  border-radius: 8px;
  padding: 1em!important;
  max-width: 100%;
}
@media screen and (min-width: 481px) {
  .speech-wrap {
    align-items: center;
  }
  .speech-person {
    width: 10%;
    min-width: 10%;
  }
}
.speech-balloon::after {
  left: -11px;
}
.sbp-r:not(.not-nested-style) .speech-balloon::after,
.cocoon-block-balloon.not-nested-style.sbp-r > .speech-balloon::after {
  right: -10px;
}
@media screen and (max-width: 480px) {
  .cocoon-block-balloon.not-nested-style.sbp-r > .speech-balloon::after {
    right: -5px;
  }
}

/* 表（テーブル）---------------------------------------------- */
.wp-block-flexible-table-block-table {
  overflow-x: auto;
}
@media screen and (min-width: 835px) {
  table th, table td {
    font-size: .9em;
  }
}
table a {
  text-decoration: none;
}
.table-bold table td:first-child {
  font-weight: bold;
}
.table-center table td,
.table-center.wp-block-flexible-table-block-table table tr td,
table th,
.wp-block-flexible-table-block-table table tr th {
  text-align: center;
}
.wp-block-table td,
.wp-block-table th,
.wp-block-flexible-table-block-table table tr th,
.wp-block-flexible-table-block-table table tr td {
  padding: .8em 1em;
  white-space: normal!important;
  min-width: 100px!important;
}
table:not(.has-border-color) :where(th, td),
.wp-block-flexible-table-block-table table tr th,
.wp-block-flexible-table-block-table table tr td {
  border-color: var(--cocoon-basic-border-color);
}

/* 見出し */
.scrollable-table th,
.wp-block-flexible-table-block-table table tr th {
  background-color: var(--second-color);
  color: var(--cocoon-white-color);
}

/* 一列目固定 */
.fixed :where(table th,table td):first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  font-weight: bold;
}

/* ストライプ */
:is(.wp-block-table, .wp-block-flexible-table-block-table):is(.is-style-stripes,.is-style-mytable-1,.is-style-mytable-2)
.wp-block-flexible-table-block-table table :where(th, td) {
  border: none;
}
table tr:nth-of-type(2n+1),
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) td,
.wp-block-flexible-table-block-table.is-style-stripes tbody tr:nth-child(odd) td {
  background-color: var(--cocoon-white-color);
}
.wp-block-table.is-style-stripes tbody tr:nth-child(even) td,
.wp-block-flexible-table-block-table.is-style-stripes tbody tr:nth-child(even) td {
  background-color: var(--cocoon-xx-thin-color);
}

/* ギャラリー（スマホで横１列） */
.wp-block-gallery {
  gap: 5px!important;
}

/******************************************
 追加css
******************************************/

/* テキストリンク */
.txt-link a,
.txt-link-box a {
  display: inline-block;
  position: relative;
  padding-left: 1.2em;
}
.txt-link a:before,
.txt-link-box a:before {
  content: "";
  height: 1em;
  width: 1em;
  position: absolute;
  top: .4em;
  left: 0;
  background-color: currentColor;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 8l4 4-4 4M8 12h7"/></svg>');
}
ul.txt-link-box {
  list-style: none;
  padding-left: 0;
}
.txt-link-box p {
  margin-bottom: 1em!important;
}

/* 点滅 */
.blink {
  animation: blinking 1s ease-in-out infinite alternate;
}
@keyframes blinking {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ポチップ---------------------------------------------- */
.pochipp-box {
  box-shadow: none!important;
}
/* アウトラインボタン */
.pochipp-box[data-btn-style=outline] .pochipp-box__btn {
  box-shadow: none!important;
  border: 1px solid currentColor;
  transition: background-color 0.3s;
}
.pochipp-box[data-btn-style=outline] .pochipp-box__btn:hover {
  color: #fff !important;
}
.pochipp-box[data-btn-style=outline] .-amazon>.pochipp-box__btn:hover {
  background-color: var(--pchpp-color-amazon) !important;
  border-color: var(--pchpp-color-amazon);
}
.pochipp-box[data-btn-style=outline] .-rakuten>.pochipp-box__btn:hover {
  background-color: var(--pchpp-color-rakuten) !important;
  border-color: var(--pchpp-color-rakuten);
}
.pochipp-box[data-btn-style=outline] .-yahoo>.pochipp-box__btn:hover {
  background-color: var(--pchpp-color-yahoo) !important;
  border-color: var(--pchpp-color-yahoo);
}
.pochipp-box[data-btn-style=outline] .-mercari>.pochipp-box__btn:hover {
  background-color: var(--pchpp-color-mercari) !important;
  border-color: var(--pchpp-color-mercari);
}

/* 画像サイズ */
@media screen and (min-width: 1000px) {
  body .pochipp-box[data-lyt-pc="big"],
  body .pochipp-box[data-lyt-pc="imgbig"] {
    grid-template-columns: 40% 1fr;
  }
  body .pochipp-box__image img {
    max-height: 200px;
  }
}
@media screen and (max-width: 599px) {
  body .pochipp-box[data-lyt-mb="vrtcl"] .pochipp-box__image img {
    width: 100%;
    max-width: 200px;
  }
  body .pochipp-box .pochipp-box__btn {
    padding: 7px 10px;
  }
}

/* ポイントマーカー色---------------------------------------------- */
.badge-pink { background-color: #DDC5B5; }
.badge-blue { background-color: var(--cocoon-blue-color); }
.badge-grey { background-color: #666; }

/* マーカー（下線）---------------------------------------------- */
.marker-under,
.marker-under-red,
.marker-under-blue {
  background: none;
  padding-bottom: 2px;
  border-bottom: 1px dashed;
}
.marker-under {
  border-color: var(--main-color);
}
.marker-under-red {
  border-color: var(--accent-color);
}
.marker-under-blue {
  border-color: var(--cocoon-blue-color);
}




 








