@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
*/

/* 本サイトと同じフォントスタック・標準ウェイトをSWELLにも適用する。 */
:root {
	--swl-fz--root: 16px;
	--swl-font_family: YakuHanJPs, "Roboto", verdana, "ヒラギノ角ゴシック", "Hiragino Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
	--swl-font_weight: 400;
}

/* 本サイトと同じ本文設定を適用する。 */
body {
	line-height: 1.5;
	min-width: 320px;
	overflow-x: hidden;
}


/* 本サイトヘッダーのナビボタンの表示非表示 */
@media only screen and (min-width: 1050px) {
    .l-main-navi-btn-close, .l-main-navi-btn{
        display: none;
    }
}
@media only screen and (max-width: 1049px) {
    .l-main-navi-btn-close, .l-main-navi-btn{
        display: block;
    }
}

/* 本サイトの1020px幅を上限にし、狭い画面では可変幅にする。 */
.l-container {
	position: relative;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	max-width: 1020px;
	padding-left: 15px;
	padding-right: 15px;
}

@media only screen and (min-width: 1050px) {
	.l-container {
		width: 1020px;
	}

	/* 本サイトのメイン780px＋サイド165pxの2カラム構成に合わせる。 */
	.-sidebar-on .l-content {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.-sidebar-on .l-mainContent {
		width: 780px;
	}

	.-sidebar-on #sidebar {
		width: 165px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1049px) {
	.-sidebar-on .l-content {
		display: block;
	}

	.-sidebar-on .l-mainContent,
	.-sidebar-on #sidebar {
		width: 100%;
		max-width: none;
	}
}

/* 1049px以下では本サイトヘッダーをハンバーガーメニューへ切り替える。 */
@media only screen and (max-width: 1049px) {
	.l-full-container {
		width: 100%;
		min-width: 0;
		padding-right: 15px;
		padding-left: 15px;
	}

	.l-header-wrap {
		padding-top: 0;
	}

	.l-header__copy {
		width: auto;
		padding-top: 10px;
		padding-bottom: 0;
		text-align: center;
	}

	.l-header-main {
		display: block;
		position: relative;
		height: auto;
	}

	.l-header-main__logo {
		height: 60px;
		padding-right: 64px;
		padding-bottom: 0;
	}

	.l-main-navi {
		width: 100%;
		margin: 0;
	}

	.l-main-navi-btn.btn-trigger {
		display: block;
		position: absolute;
		top: 6px;
		right: 0;
		width: 48px;
		height: 48px;
		padding: 0;
		border: 0;
		background: transparent;
	}

	.l-main-navi-btn.btn-trigger span {
		display: block;
		position: absolute;
		left: 9px;
		width: 30px;
		height: 1px;
		background-color: #393939;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.l-main-navi-btn.btn-trigger span:nth-of-type(1) {
		top: 12px;
	}

	.l-main-navi-btn.btn-trigger span:nth-of-type(2) {
		top: 23px;
	}

	.l-main-navi-btn.btn-trigger span:nth-of-type(3) {
		bottom: 12px;
	}

	.l-main-navi-btn.btn-trigger.active span:nth-of-type(1) {
		transform: translateY(11px) rotate(-45deg);
	}

	.l-main-navi-btn.btn-trigger.active span:nth-of-type(2) {
		opacity: 0;
	}

	.l-main-navi-btn.btn-trigger.active span:nth-of-type(3) {
		transform: translateY(-11px) rotate(45deg);
	}

	.l-main-navi-wrap {
		display: none !important;
		position: relative;
		z-index: 1;
		height: auto;
		margin-right: -15px;
		margin-left: -15px;
		padding-top: 0;
		padding-bottom: 30px;
		background: #fff;
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	}

	.l-main-navi-list {
		display: block;
		margin-top: 0;
		border-top: 1px solid #ccc;
	}

	.l-main-navi-list__item {
		min-width: 0;
		margin-left: 0;
		border-bottom: 1px solid #ccc;
		text-align: left;
	}

	.l-main-navi-list__link {
		display: flex;
		align-items: center;
		min-height: 52px;
		padding: 14px 15px;
		background: #f2f6f9;
		font-size: 1rem;
	}

	.l-main-navi-list__link::after {
		display: block;
		content: "";
		width: 10px;
		height: 10px;
		margin-left: auto;
		border-right: 1px solid #666;
		border-bottom: 1px solid #666;
		transform: rotate(-45deg);
	}

	.l-main-navi-list__link:hover,
	.l-main-navi-list__link.is-on {
		background: #d70035;
		color: #fff;
		text-decoration: none;
	}

	.l-main-navi-list__link:hover span,
	.l-main-navi-list__link.is-on span {
		color: #fff;
	}

	.l-main-navi-list__link:hover::after,
	.l-main-navi-list__link.is-on::after {
		border-color: #fff;
	}

	.l-help-navi-list {
		display: block;
		position: static;
	}

	.l-help-navi-list__item {
		padding-right: 0;
		padding-left: 0;
		border-bottom: 1px solid #ddd;
		font-size: 0.875rem;
	}

	.l-help-navi-list__item::before,
	.l-help-navi-list__item:first-child::after {
		content: none;
	}

	.l-help-navi-list__link {
		display: block;
		min-height: 48px;
		padding: 14px 15px;
		color: #555;
	}

	.l-main-navi-contact,
	.l-header-tel {
		position: static;
		width: calc(100% - 30px);
		margin: 30px 15px;
	}

	.l-main-navi-contact__link,
	.l-header-tel__link {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 48px;
		font-size: 1rem;
	}

	.l-header-tel__link {
		border: 1px solid #d70035;
		border-radius: 50vw;
		background: #d70035;
		color: #fff;
		letter-spacing: 2px;
	}

	.l-main-navi-btn-close {
		display: block;
		min-width: 120px;
		min-height: 44px;
		margin: 30px auto 0;
		padding: 10px 15px;
		border: 1px solid #ddd;
		border-radius: 23px;
		background: #fff;
		color: #696969;
		font-size: 0.875rem;
		text-align: center;
	}
}

/* フッターバナーを画面幅に応じて3列・2列・1列にする。 */
.l-bottom-bnr-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-right: 0;
	margin-left: 0;
}

.l-bottom-bnr-list__item {
	width: auto;
	margin-bottom: 0;
	padding-right: 0;
	padding-left: 0;
}

.l-bottom-bnr-list__img img {
	display: block;
	width: 100%;
	height: auto;
}

@media only screen and (min-width: 768px) and (max-width: 1049px) {
	.l-bottom-bnr-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.l-footer-wrap {
		display: block;
	}

	.l-footer-main-wrap {
		margin-bottom: 30px;
	}

	.l-footer-navi {
		padding-top: 0;
	}

	.l-footer-navi-list,
	.l-footer-list__form {
		justify-content: flex-start;
	}

	.l-footer-navi-list__item:first-child {
		margin-left: 0;
	}

	.l-footer-list__form {
		gap: 40px;
	}

	.l-footer-navi-form__link {
		margin-left: 0;
	}

	.l-fix-link__body {
		display: none;
	}

	.l-fix-link-wrap,
	.l-fix-link-main {
		justify-content: center;
	}

	.l-fix-link-open__tel {
		font-size: 1.25rem;
	}
}

@media only screen and (max-width: 767px) {
	.l-bottom-bnr-list {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.l-bottom-bnr-list__img img {
		max-width: 330px;
		margin-right: auto;
		margin-left: auto;
	}
}

/* スマホでの可変フォントサイズを固定サイズにする。 */
@media not all and (min-width: 600px) {
	.-type-card.-sp-col1 .p-postList__title {
		font-size: 16px;
	}

	.-type-card .p-postList__excerpt {
		font-size: 13px;
	}

	.p-pnLinks__item {
		font-size: 16px;
	}

	.c-secTitle {
		font-size: calc(4.5 / 3.8 * 16px);
	}

	.-type-card .p-postList__title, .-type-list .p-postList__title, .-type-list2 .p-postList__title {
		font-size: 3.6vw;
		font-size: calc(3.6 / 3.8 * 16px);
	}
}

/* SWELLのパンくずを本サイトのデザインに合わせる。 */
#breadcrumb.p-breadcrumb {
	margin: 0 auto;
	padding: 10px 0;
	border-top: 1px solid #ddd !important;
	border-bottom: 1px solid #ddd !important;
	background: #fff !important;
	box-shadow: none !important;
}

#breadcrumb .p-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	align-items: center;
	overflow: visible;
	font-size: 12px;
}

#breadcrumb .p-breadcrumb__item {
	position: relative;
	display: inline-block;
	margin-right: 25px;
	color: #888;
}

#breadcrumb .p-breadcrumb__item::after {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	right: -15px;
	margin-top: -4px;
	width: 6px;
	height: 6px;
	border-right: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	background: none;
	clip-path: none;
	transform: rotate(-45deg);
}

#breadcrumb .p-breadcrumb__item:last-child {
	margin-right: 0;
	color: #393939;
}

#breadcrumb .p-breadcrumb__item:last-child span {
	opacity: 1;
}

#breadcrumb .p-breadcrumb__item:last-child::after {
	content: none;
}

#breadcrumb .p-breadcrumb__text {
	color: inherit;
	text-decoration: none;
}

#breadcrumb .p-breadcrumb__text .__home::before {
	content: none;
}

.single #breadcrumb .p-breadcrumb__item:last-child > span.p-breadcrumb__text {
	display: inline-flex;
}

@media only screen and (max-width: 767px) {
	#breadcrumb.p-breadcrumb {
		padding: 7px 0;
	}

	#breadcrumb .p-breadcrumb__list {
		font-size: 10px;
	}

	#breadcrumb .p-breadcrumb__item {
		margin-top: 3px;
		margin-bottom: 3px;
	}
}

/* 投稿詳細の日付・カテゴリーを本サイトのnews-headに合わせる。 */
.single .news-head__category {
	display: block;
	text-decoration: none;
}

.single .news-head__category + .news-head__category {
	margin-left: 8px;
}

/* 前後記事リンクの間に投稿一覧へ戻るボタンを配置する。 */
.single .enishi-pnLinks {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 16px;
	align-items: stretch;
}

.single .enishi-pnLinks .p-pnLinks__item {
	width: auto;
}

.single .enishi-pnLinks .p-pnLinks__item.-prev {
	grid-column: 1;
}

.single .enishi-pnLinks .p-pnLinks__back {
	grid-column: 2;
	display: flex;
	align-items: center;
	justify-content: center;
}

.single .enishi-pnLinks .p-pnLinks__item.-next {
	grid-column: 3;
}

@media only screen and (max-width: 767px) {
	.single .enishi-pnLinks {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.single .enishi-pnLinks .p-pnLinks__back {
		grid-column: 1 / -1;
		grid-row: 1;
		justify-self: center;
	}

	.single .enishi-pnLinks .p-pnLinks__item.-prev {
		grid-column: 1;
		grid-row: 2;
	}

	.single .enishi-pnLinks .p-pnLinks__item.-next {
		grid-column: 2;
		grid-row: 2;
	}
}

/* SWELL標準のページトップボタンを本サイトの見た目に合わせる。 */
.p-fixBtnWrap {
	right: 20px;
	bottom: 80px;
	z-index: 100000;
}

#pagetop.c-fixBtn {
	position: relative;
	width: 60px;
	height: 60px;
	border: 1px solid #d70035;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	color: #d70035;
	opacity: 1;
}

#pagetop.c-fixBtn::before {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -5px;
	margin-left: -10px;
	width: 20px;
	height: 20px;
	border-right: 2px solid #d70035;
	border-bottom: 2px solid #d70035;
	transform: rotate(225deg);
}

#pagetop.c-fixBtn:hover {
	background: rgba(215, 0, 53, 0.8) !important;
}

#pagetop.c-fixBtn:hover::before {
	border-right-color: #fff;
	border-bottom-color: #fff;
}

#pagetop .c-fixBtn__icon,
#pagetop .c-fixBtn__label {
	display: none;
}

@media only screen and (max-width: 767px) {
	.p-fixBtnWrap {
		right: 10px;
		bottom: 100px;
	}

	#pagetop.c-fixBtn {
		width: 45px;
		height: 45px;
	}
}

.l-bottom-bnr-list.u-opa li.l-bottom-bnr-list__item {
    padding: 0;
    margin: 0;
    width: calc( 100% / 3 - 14px );
}
@media only screen and (max-width: 767px) {
    .l-bottom-bnr-list.u-opa li.l-bottom-bnr-list__item {
        width: 100%;
        margin: 0 0 25px;
    }
}
#breadcrumb .p-breadcrumb__item::after {
    right: -22px;
}

/*テーブル開閉のボタン*/
.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;
}

/* 記事先頭のアイキャッチ拡大阻止 */
body .l-content .l-mainContent figure.p-articleThumb img.p-articleThumb__img {
    width: auto !important;
    min-width: 0 !important;
    margin: auto;
}
h1.c-postTitle__ttl {
    color: var(--color_main);
    /* font-weight: normal; */
}

/* 投稿記事でのパンくず内の記事タイトル表示 */
.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: 14px;
    white-space: wrap;
}
@media (min-width: 768px) {
    .single .p-breadcrumb .p-breadcrumb__list,
    .p-breadcrumb .p-breadcrumb__list {
        font-size: 15px;
    }
}