@charset "UTF-8";
/*
	Template: swell
	Theme Name: SWELL CHILD
	Theme URI: https://swell-theme.com/
	Description: SWELLの子テーマ
	Version: 1.0.0
	Author: LOOS WEB STUDIO
	Author URI: https://loos-web-studio.com/

	License: GNU General Public License
	License URI: http://www.gnu.org/licenses/gpl.html
*/

/*テーブル開閉のボタン*/
.wp-block-lazyblock-tableac2 .table-open {
	margin-top: 10px;
	position: relative;
	display: inline-block;
	padding: 8px 25px 8px 13px;
	border: 1px solid #ccc;
	background: #f1e767;
	background: -webkit-gradient(linear, left top, left bottom, from(#fdfbfb), to(#ebedee));
	background: -webkit-linear-gradient(top, #fdfbfb 0%, #ebedee 100%);
	background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
	-webkit-box-shadow: inset 1px 1px 1px #fff;
	box-shadow: inset 1px 1px 1px #fff;
	border-radius: 8px;
	text-decoration: none;
	cursor: pointer;
	font-size: 0.8em;
}

.wp-block-lazyblock-tableac2 .table-open::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	right: 10px;
	width: 9px;
	height: 9px;
	margin: auto;
	border-top: 2px solid #000;
	border-right: 2px solid #000;
	transform: translateY(-2px) rotate(135deg);
	box-sizing: border-box;
	transition: all 0.5s;
}


.wp-block-lazyblock-tableac2 .table-open.on:after {
	transform: translateY(1px) rotate(315deg);
}

/* リッチリスト */
dl.rich_list {
	margin: 20px 0;
	padding: 0;
}
dl.rich_list dt {
	position: relative;
	background: var(--color_main);
	padding: 12px 15px 10px;
	margin: 0 0 10px;
	border: 0 !important;
	line-height: 1.2em;
	font-weight: bold;
	color: #fff;
	border-radius: 7px;
}
dl.rich_list dt:before {
	content: "";
	display: block;
	position: absolute;
	border-style: solid;
	border-width: 12px 7px 0;
	border-color: var(--color_main) transparent transparent;
	left: 50px;
	bottom: -12px;
}
dl.rich_list dt[style]:before {
	background: inherit;
	border-color: transparent #fff #fff;
}
dl.rich_list dd {
	padding: 0;
	margin: 0 0 15px !important;
	border: 0 !important;
	line-height: 1.5em;
}
.post_content dl.rich_list dd .h5,
dl.rich_list dd .h5 {
	margin: 0 0 5px !important;
	padding: 3px 0 2px 30px;
	position: relative;
	border: 0 !important;
	background-size: 28px 28px !important;
	font-weight: bold;
	line-height: 1.2em;
	color: #030 !important;
}
dl.rich_list dd .h5:before {
	content: '';
	position: absolute;
	top: 2px;
	left: 0;
	width: 20px;
	height: 20px;
	border: 2px solid #000;
	box-sizing: border-box;
	background:
		linear-gradient(-55deg, transparent 44%, #d22 46%, #d22 58%, transparent 60%),
		linear-gradient(45deg, transparent 33%, #d22 35%, #d22 47%, transparent 49%);
	background-repeat: no-repeat;
	background-position: 4px 2px, 1px 8px;
	background-size: 100% 100%;
	border-radius: 2px;
}
dl.rich_list dd p br:first-child,
dl.rich_list dd .h5+br {
	display: none;
}
dl.rich_list dd .h5 b {
	color: #e22;
}
dl.rich_list dd p {
	margin: 0 0 0 20px !important;
	padding: 0;
	line-height: inherit;
}
.article-body dl.rich_list dd ul li {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	line-height: 1.3em !important;
}
.article-body dl.rich_list dd ul li:before {
	background: #a8a8f4;
	top: 5px;
}
@media (max-width: 600px) {
	dl.rich_list dt {
		padding: 10px 12px 8px;
	}
}
/* リッチリスト拡張（開閉付き：2024/10/18）＋ 開閉ブロックinブロック（2024/11/12） */
.openclose-inblock > .lazyblock-inner-blocks,
.rich_list_close dl.rich_list {
	margin-bottom: 0;
	padding-bottom: 0;
}
.openclose-inblock,
.rich_list_close {
	margin-bottom: 20px;
	position: relative;
}
.openclose-inblock > .lazyblock-inner-blocks > *:nth-child(n+2),
.rich_list_close dl.rich_list dt:nth-of-type(n+2),
.rich_list_close dl.rich_list dd:nth-of-type(n+2) {
	max-height: 1500px;
	transition: all 0.7s ease-in-out;
}
.openclose-inblock:has(input:checked) > .lazyblock-inner-blocks > *:not(:last-child) {
	margin-bottom: 30px;
}
.openclose-inblock:has(input:not(:checked)) > .lazyblock-inner-blocks > *:nth-child(n+2),
.rich_list_close:has(input:not(:checked)) dl.rich_list dt:nth-of-type(n+2),
.rich_list_close:has(input:not(:checked)) dl.rich_list dd:nth-of-type(n+2) {
	overflow: hidden;
	margin-top: 0;
	margin-bottom: 0 !important;
	padding-top: 0;
	padding-bottom: 0 !important;
	max-height: 0;
	transition: all 0.2s ease-in-out;
}
.openclose-inblock input,
.rich_list_close input {
	display: none;
}
.openclose-inblock:has(input:not(:checked)) label:before,
.rich_list_close:has(input:not(:checked)) label:before {
	content: attr(data-text-open);
}
.openclose-inblock:has(input:checked) label:before,
.rich_list_close:has(input:checked) label:before {
	content: attr(data-text-close);
}
.openclose-inblock label,
.rich_list_close label {
	position: relative;
	display: block;
	margin: auto;
	width: fit-content;
	background: var(--color_main);
	color: var(--color_bg);
	padding: 5px 20px;
	border-radius: 40px;
	box-shadow: rgba(0,0,0,0.5) 2px 2px 5px;
	border: 1px solid #fff;
	cursor: pointer;
	transition: all 0.5s linear;
	font-size: 90%;
	line-height: 1.2em;
	z-index: 2;
}
.openclose-inblock label:hover,
.rich_list_close label:hover {
	filter: brightness(1.1);
	left: -1px;
	top: -1px;
	box-shadow: rgba(0,0,0,0.5) 3px 3px 5px;
	transition: all 0.2s linear;
}
.openclose-inblock:after,
.rich_list_close:after {
	content: "";
	position: absolute;
	display: block;
	left: 0;
	bottom: 20px;
	width: 100%;
	height: 100px;
	background: linear-gradient(to top, #fff 0%, transparent 100%);
}
.openclose-inblock:has(input:checked):after,
.rich_list_close:has(input:checked):after {
	display: none;
}
.rich_list ul:not([class]) li,
ul[class="wp-block-list"] li,
.cap_box_content ul:not([class]) li {
	list-style: disc;
}
.rich_list dd ul {
	margin-left: 15px;
}

/* 投稿記事でのパンくず内の記事タイトル表示 */
.single .p-breadcrumb .p-breadcrumb__list li.p-breadcrumb__item,
.p-breadcrumb .p-breadcrumb__list li.p-breadcrumb__item,
.single .p-breadcrumb .p-breadcrumb__list li.p-breadcrumb__item:last-child > span.p-breadcrumb__text,
.p-breadcrumb .p-breadcrumb__list li.p-breadcrumb__item:last-child > span.p-breadcrumb__text {
	display: inline !important;
	white-space: wrap;
}
.single .p-breadcrumb__item:after,
.p-breadcrumb__item:after {
	display: inline-block;
	margin: 0 8px;
}
.single .p-breadcrumb .p-breadcrumb__list,
.p-breadcrumb .p-breadcrumb__list {
	display: block !important;
	width: auto !important;
	font-size: 12px;
	white-space: wrap;
}
@media (min-width: 768px) {
	.single .p-breadcrumb .p-breadcrumb__list,
	.p-breadcrumb .p-breadcrumb__list {
		font-size: 14px;
	}
}