@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
*/
/* サイトデザインCSS */
body {
	background: var(--color_main);
}
#content {
	background: #fff;
	margin-bottom: 0;
	max-width: var(--article_size);
	padding: 20px 20px 40px !important;
	border-radius: 4px 4px 0 0;
}
header {
	background: transparent !important;
}
header + #content {
	margin-top: 20px;
}
footer {
	background-color: #0C2A25;
	background-image: url(https://www.mat-iin.com/c/img/foot/footer_bg.gif);
  background-repeat: repeat-x;
	padding-bottom: 25px;
}
.l-header__logo {
	padding: 0 !important;
	background: #fff6d8;
}
#gnav .c-gnav {
	background: #fff6d8;
	background: linear-gradient(to bottom, #c5bf9f 0, #fff6d8 10% );
	max-width: var(--container_size);
	margin: auto;
	border-radius: 0 0 4px 4px;
	height: 30px;
	padding-top: 5px;
}
#gnav .c-gnav li {
	height: 20px;
	border-left: 1px solid #ddd;
}
#gnav .c-gnav li a {
	padding: 4px 15px;
	color: #826238 !important;
}

#gnav .c-gnav li a span.ttl {
	font-family: "ＭＳ ゴシック",osaka, sans-serif;
	font-size: 12px;
	line-height: 20px;
	font-weight: bold;
}
#gnav .c-gnav li:first-child {
	border-left: 0;
}
.l-footer__nav li a {
	font-size: 11px;
	line-height: 1.1em;
	color: #AC9601;
	border-color: #fff;
	border-left: 0 !important;
	padding: 0 18px;
	text-decoration: underline;
}
.l-footer__nav li:last-child a {
	border-right: 0 !important;
}
.w-footer__box .widget_custom_html p {
	text-align: center;
	font-size: 12px;
	line-height: 1.3em;
}
.l-footer__foot p.copyright {
	font-size: 11px;
	line-height: 1.3em;
}
.l-header__inner.l-container {
	padding-top: 0;
}
.l-footer__widgetArea {
	padding-bottom: 0;
}
.p-breadcrumb {
	max-width: var(--article_size);
	background: transparent !important;
	color: #fff;
}
.p-breadcrumb__list.l-container {
	padding: 0 15px;
}
.p-mainVisual {
	max-width: var(--article_size);
	margin: 15px auto;
	border-radius: 5px;
}
/* 投稿記事でのパンくず内の記事タイトル表示 */
.single .p-breadcrumb .p-breadcrumb__list li.p-breadcrumb__item:last-child > span.p-breadcrumb__text {
	display: block;
}
.single .p-breadcrumb .p-breadcrumb__list {
	width: auto !important;
	max-width: none !important;
	overflow-x: auto !important;
}
.l-footer__nav {
	flex-wrap: nowrap;
}
.l-footer__nav a {
	padding: .25em .2em;
	white-space: nowrap;
}
@media (max-width: 959px) {
	.l-header__customBtn.sp_ {
		display: none;
	}
	.l-header__menuBtn.sp_ {
		position: absolute;
		right: 0;
		top: 50%;
		width: 80px;
		transform: translateY(-50%);
	}
	.l-header__logo {
		width: 100%;
	}
	.c-headLogo {
		height: auto;
	}
	.c-headLogo a.c-headLogo__link {
		padding: 0;
	}
	.c-headLogo img {
		width: 100%;
		display: block;
	}
	.l-header__menuBtn.sp_ .c-iconBtn__icon {
    font-size: 40px;
		color: #fff;
		text-shadow: #050 0 0 2px, #050 0 0 5px, #050 0 0 7px, #050 0 0 10px;
	}
	.l-footer__nav li a {
		font-size: 12px;
		line-height: 1.5em;
	}
}

/*テーブル開閉のボタン*/
.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;
}
/* ■■■■■ .tableclose ■■■■■ */
.tableclose label input,
.tableclose:has(label[data-show="1"] input[type="checkbox"]) table tr:nth-of-type(n+2),
.tableclose:has(label[data-show="2"] input[type="checkbox"]) table tr:nth-of-type(n+3),
.tableclose:has(label[data-show="3"] input[type="checkbox"]) table tr:nth-of-type(n+4),
.tableclose:has(label[data-show="4"] input[type="checkbox"]) table tr:nth-of-type(n+5),
.tableclose:has(label[data-show="5"] input[type="checkbox"]) table tr:nth-of-type(n+6),
.tableclose:has(label[data-show="6"] input[type="checkbox"]) table tr:nth-of-type(n+7),
.tableclose:has(label[data-show="7"] input[type="checkbox"]) table tr:nth-of-type(n+8),
.tableclose:has(label[data-show="8"] input[type="checkbox"]) table tr:nth-of-type(n+9),
.tableclose:has(label[data-show="9"] input[type="checkbox"]) table tr:nth-of-type(n+10),
.tableclose:has(label[data-show="10"] input[type="checkbox"]) table tr:nth-of-type(n+11),
.tableclose:has(label:not([data-show]) input[type="checkbox"]) table tr:nth-of-type(n+5) {
    display: none;
}
.tableclose:has(label input[type="checkbox"]:checked) table tr {
    display: table-row !important;
}

.tableclose label {
    display: inline-block;
    position: relative;
    padding: 5px 15px;
    margin: 5px 0 20px;
    background: var(--color_main);
    background: linear-gradient(175deg, var(--color_main_thin) 0%,var(--color_main) 80%);
    color: #fff !important;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4em;
}
.tableclose label:hover {
    background: var(--color_main) !important;
    box-shadow: rgba(0,0,0,0.6) 2px 2px 5px;
    top: -2px;
    left: -1px;
}
.tableclose label:active {
    box-shadow: rgba(0,0,0,0.6) 0 1px 5px;
    top: 0;
    left: 0;
}
.tableclose label:after {
    content: "▲クリックで開く";
}
.tableclose label:has(input:checked):after {
    content: "▲クリックで閉じる";
}
.tableclose label[data-open-text]:after {
    content: attr(data-open-text);
}
.tableclose label[data-close-text]:has(input:checked):after {
    content: attr(data-close-text);
}
