@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
*/
/* TOP scrollボタン */
@media screen and (max-width: 960px) {
	.p-mainVisual__scroll.c-plainBtn {
		display: none;
	}
}

/* ヘッダー設定 */
.c-headLogo a {
	transition: opacity 0.3s;
}
.c-headLogo a:hover {
	opacity: 0.6;
}

/*モーダルウィンドウ設定*/
.l-header {
	z-index: 1; /* ヘッダーの上にモーダルを設置 */
}

.modal {
	display: none;
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 2;
	margin-bottom: 0;
}

/* モーダル本体 */
.modal-content {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	max-width: 800px;
	width: 100%;
	height: auto;
	max-height: 70vh;
	padding: 30px;
	overflow: visible;
}

/* スクロール */
.modal-body {
	height: 60vh;
	overflow-y: auto;
}

/* ×ボタン */
.close {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 80px;
	height: 36px;
	border: none;
	background: none;
	font-size: 16px;
}

.close:hover,
.close:focus {
	opacity: 0.8;
	text-decoration: none;
	cursor: pointer;
}

/* 背景スクロールを禁止にするクラス */
body.is-modal-open {
	overflow: hidden;
}

/* モーダル内のレイアウト設定 */
.modal-body .post_content h3 {
	margin: 0;
}

/* --- レスポンシブ設定 --- */
@media screen and (max-width: 781px) {
	.modal-content {
		padding: 50px 30px 30px 30px;
		width: 95%;
		height: 70%;
	}

	.modal-body {
		height: 100%;
		overflow-y: auto;
	}

	.close {
		top: 16px;
	}
	.post_content h3 {
		margin: 0 0 2em;
	}

	/* .modal-content .has-text-align-center {
		font-size: 0.7em !important;
	}

	.modal-content .u-mb-40,
	.modal-content .u-mb-30 {
		margin-bottom: 0.5em !important;
	} */
}
@media screen and (min-width: 600px) {
	.modal .swell-block-column:nth-child(2n + 3)::before {
		content: none;
	}
}

.js-modal-btn,
.js-modal-btn {
	transition: 0.6s;
}

.js-modal-btn:hover,
.js-modal-btn:focus {
	opacity: 0.6;
}

/*ContactForm7カスタマイズ*/
table.CF7_table {
	width: 100%;
	margin: 0 auto;
}

table.CF7_table tr {
	border-top: 1px solid #e5e5e5;
}

table.CF7_table tr:first-child {
	border-top: 0;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table {
	display: table;
}

table.CF7_table th,
table.CF7_table td {
	border: none;
	background-color: #fdfdfd;
}

/*入力欄*/
.wpcf7-list-item {
	margin: 0;
	margin-right: 1em;
}

.CF7_table input,
.CF7_table textarea {
	border: 1px solid #d8d8d8;
}

.CF7_table textarea {
	width: 100%;
}

.CF7_table ::placeholder {
	color: #797979;
}

.CF7_table th p {
	display: flex;
	align-items: center;
}

/*「必須」文字*/
.CF7_req,
.CF7_unreq {
	font-size: 0.6em;
	padding: 4px;
	background: #2b7bc0;
	color: #fff;
	border-radius: 3px;
	margin-right: 1em;
}

/*「任意」文字*/
.CF7_unreq {
	background: #bdbdbd;
	color: #fff;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
	.CF7_table th {
		width: 30%;
		background-color: #fdfdfd;
	}
	table.CF7_table {
		width: 95%;
	}

	.CF7_table tr,
	.CF7_table td,
	.CF7_table th {
		border: none;
		display: block;
		/* line-height: 2em; */
	}

	table.CF7_table tr {
		margin-bottom: 16px;
		border-top: 0;
	}

	.CF7_table th {
		background-color: #fdfdfd;
	}

	table.CF7_table td {
		padding: 0.5em 0;
	}
}
@media screen and (max-width: 600px) {
	table.CF7_table {
		width: 100%;
		table-layout: fixed;
	}

	.CF7_table input[type="text"],
	.CF7_table input[type="email"],
	.CF7_table input[type="tel"],
	.CF7_table textarea {
		width: 100%;
		max-width: 100%;
	}

	.CF7_table tr {
		margin-bottom: 16px;
	}

	.CF7_table td,
	.CF7_table th {
		width: 100%;
		display: block;
		padding: 10px 0;
		box-sizing: border-box;
	}

	.wpcf7-checkbox {
		display: flex;
		flex-wrap: wrap; /* 折り返しを許可 */
		gap: 5px 10px;
	}
}
/* 「送信」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color: #004da0;
	border: 0;
	color: #fff;
	font-size: 1.2em;
	font-weight: bold;
	margin: 0 auto;
}

.CF7_btn {
	/* text-align: center; */
	/* margin-top: 20px; */
	display: none;
}

.wpcf7-spinner {
	width: 0;
	margin: 0;
}

.wpcf7-acceptance {
	display: block;
	text-align: center;
	margin-top: 16px;
}

/* Google map用コード */
#map {
	width: 100%;
	box-sizing: border-box;
	margin: 0 auto;
}

#map .map__inner {
	position: relative;
	height: 0;
	padding-top: 56.25%;
	overflow: hidden;
}

#map .map__inner iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media (max-width: 960px) {
	#map .map__inner {
		padding-top: 75%;
	}
}

@media (max-width: 640px) {
	#map .map__inner {
		padding-top: 100%;
	}
}
.u-mb-160 {
	margin-bottom: 160px;
}

/* reCAPTCHAロゴ非表示 */
.grecaptcha-badge {
	visibility: hidden;
}

/* H1装飾 */
.c-pageTitle {
	font-size: 1.5em;
	text-align: center;
	font-weight: bold;
	color: #014da0;
}
.c-pageTitle[data-style="b_bottom"] .c-pageTitle__inner {
	border-bottom: 1px solid #e3e3e3;
	float: none;
}
.c-pageTitle:after {
	content: normal;
}

/* フッター */
.l-footer__nav a {
	transition: opacity 0.3s;
}

.l-footer__nav a:hover {
	opacity: 0.6;
	text-decoration: none;
}

/* 汎用 */
.l-flex {
	display: flex;
}
.fd-column {
	flex-direction: column;
}
.jc-end {
	justify-content: end;
}
