/* 外枠のコンテナ */

.mae-toc {
	max-width: 800px;
	margin: 40px auto;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* ヘッダー部分（summary） */

.mae-toc__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 24px;
	cursor: pointer;
	background-color: #fff;
	list-style: none;
	transition: background 0.2s;
}

.mae-toc__header::-webkit-details-marker {
	display: none;
}

.mae-toc__header:hover {
	background-color: #f8fafc;
}

.mae-toc__title {
	font-weight: 700;
	color: #1e293b;
	letter-spacing: 0.05em;
}

/* ＋ と － のアイコン切り替え */

.mae-toc__icon {
	position: relative;
	width: 20px;
	height: 20px;
}

.mae-toc__icon::before,
.mae-toc__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2px;
	background-color: #64748b;
	transform: translate(-50%, -50%);
	transition: transform 0.3s ease;
}

/* ＋の状態（縦棒） */

.mae-toc__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

/* 開いている時のアニメーション（－にする） */

.mae-toc__accordion[open] .mae-toc__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

/* 中身のエリア */

.mae-toc__body {
	background-color: #f8fafc;
	/* ほんのりグレーで視覚的な奥行きを出す */
	padding: 24px 32px;
	border-top: 1px solid #e2e8f0;
}

/* リスト */

.mae-toc__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mae-toc__item {
	margin-bottom: 16px;
}

.mae-toc__item > a {
	display: block;
	font-weight: 700;
	color: #334155;
	text-decoration: none;
	transition: color 0.2s;
}

/* 子要素（インデント） */

/* 子リストの親コンテナ設定 */

.mae-toc__child {
	margin: 10px 0 0 1.2rem !important;
	padding-left: 0 !important;
	/* paddingではなくmarginで位置調整 */
	list-style: none !important;
	position: relative;
}

/* 子リストの各項目 */

.mae-toc__child li {
	margin-bottom: 0 !important;
	padding: 8px 0 8px 25px !important;
	/* 左側に線のスペースを確保 */
	position: relative;
	line-height: 1.4 !important;
}

/* 共通の縦線（基本は項目をつなぐ） */

.mae-toc__child li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 100%;
	background-color: #cbd5e1;
	/* 線の色 */
}

/* 最後の項目の縦線だけ、上半分で止めて「└」にする */

.mae-toc__child li:last-child::before {
	height: 1.2em;
	/* 文字の真ん中あたりで線を止める */
}

/* 共通の横棒（「ー」の部分） */

.mae-toc__child li::after {
	content: "";
	position: absolute;
	left: 0;
	top: 1.2em;
	/* 縦線の止まる位置と合わせる */
	width: 12px;
	height: 1px;
	background-color: #cbd5e1;
}

.mae-toc__child a {
	color: #64748b;
	text-decoration: none;
	font-size: 1.4rem;
	line-height: 1.6;
	transition: color 0.2s;
}

/* ホバー時の装飾 */

.mae-toc a:hover {
	color: #2563eb;
	/* リンク色（青） */
}

/* SP対応 */

@media screen and (max-width: 768px) {
	.mae-toc {
		margin: 20px 16px;
	}
	.mae-toc__body {
		padding: 20px;
	}
}

ul.flow_list {
	max-width: 500px !important;
	width: 80% !important;
	margin: 40px auto !important;
	font-size: 2.4rem;
	list-style: none;
	padding: 0;
}

ul.flow_list li {
	border: 5px solid #f5b3dc;
	border-radius: 10px;
	margin-bottom: 35px;
	padding: 12px 10px 12px 20px;
	position: relative;
	background: #fff;
	text-align: left;
	/* 中身のテキストは左寄せ */
}

ul.flow_list li::after {
	bottom: -24px;
	color: #f5b3dc;
	content: "▼";
	font-size: 24px !important;
	left: 48%;
	position: absolute;
	/* 矢印を正確に真ん中に置くための補正（必要に応じて） */
	transform: translateX(-50%);
}

ul.flow_list li.last::after {
	/* 最後の▼を外す */
	content: "";
}

ul.flow_list li h3 span {
	font-style: italic;
	letter-spacing: 0.15em;
}

/* スマホ対応：画面が狭いときに横幅を少し広げる調整 */

@media screen and (max-width: 480px) {
	ul.flow_list {
		width: 90% !important;
		font-size: 2rem;
	}
}

/* 外枠の制限と中央寄せ */

.qa__box {
	max-width: 800px !important;
	/* 条件：500px */
	width: 80% !important;
	/* 条件：80% */
	margin: 0 auto 20px !important;
	position: relative;
	z-index: 10;
}

/* detailsタグ自体の設定 */

.qa__details {
	background-color: #fff;
	border: 1px solid #eee;
	/* 境界線を足すと綺麗です */
	border-radius: 8px;
	overflow: hidden;
}

/* 質問部分（summary） */

.qa__header {
	display: flex !important;
	/*align-items: center;*/
	padding: 10px 30px !important;
	cursor: pointer;
	list-style: none;
	/* デフォルトの三角を消す */
	position: relative;
}

.qa__header::-webkit-details-marker {
	display: none;
}

/* Qの文字 */

.qa__header > span {
	font-size: 28px;
	line-height: 1.75;
	font-weight: 700;
	color: #5FB1DE;
	margin-right: 23px;
}

/* プラス・マイナスアイコン */

.qa__header .crossBar {
	width: 21px;
	height: 21px;
	position: absolute;
	top: 50%;
	right: 24px;
	transform: translateY(-50%);
}

.qa__header .crossBar::before {
	content: "";
	display: inline-block;
	width: 1.6px;
	height: 100%;
	background-color: #4D4D4D;
	position: absolute;
	top: 0;
	left: 50%;
	transform-origin: center center;
	transform: translateX(-50%) rotate(0deg);
	transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.qa__header .crossBar::after {
	content: "";
	display: inline-block;
	width: 100%;
	height: 1.6px;
	background-color: #4D4D4D;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

/* 回答部分（中身） */

.qa__content {
	display: flex;
	padding: 20px 30px !important;
	background-color: #fcfcfc;
	border-top: 1px solid #eee;
	/* detailsのアニメーションはブラウザ標準ですが、
     より滑らかにする場合は、開閉時の背景色などを調整します */
}

/* Aの文字 */

.qa__content > span {
	font-size: 28px;
	line-height: 1.7;
	font-weight: 700;
	color: #f22c5d;
	margin-right: 23px;
}

.qa__content p {
	margin: 0;
	line-height: 1.6;
}

/* 【重要】開いた時のプラスボタンの回転（beforeを90度回して重ねる） */

.qa__details[open] .crossBar::before {
	transform: translateX(-50%) rotate(90deg);
}

/* スマホ対応 */

@media screen and (max-width: 768px) {
	.qa__box {
		width: 90% !important;
	}
	.qa__header,
	.qa__content {
		padding: 10px 15px !important;
	}
}

.is-fcolorBlock {
	color: #333 !important;
}

.c-table th,
.c-table .-nowrap {
	white-space: nowrap;
}

.grecaptcha-badge {
	display: none !important;
}

.mae-mv {
	background-image: url('../img/bk-logo.png'), /* ロゴ画像 */
	linear-gradient(to bottom, #FCDA4C, #F1794C);
	/* 下地のグラデーション */
	background-repeat: no-repeat;
	background-position: center;
	/* ロゴを真ん中に */
	background-size: contain;
}

.mae-mv__text.-noback {
	background: none;
	font-weight: 700;
}

.is-fcolorwhite {
	color: #fff !important;
}

.is-fcolorOrange {
	color: #fe6f00 !important;
}

form .wpcf7-not-valid-tip {
	display: none;
	margin-top: 10px;
}

form [id^="dateCheck"] .wpcf7-not-valid-tip {
	display: none !important;
}

form.is-show .wpcf7-not-valid-tip {
	display: block;
}

form [class^="error"] {
	display: block;
	color: #dc3232;
}

form .wpcf7-spinner {
	display: block;
}

/* 親要素をFlexboxにして横並びを制御 */

dd#member .wpcf7-form-control-wrap {
	display: inline-flex;
	flex-wrap: wrap;
	/* 子要素が入り切らない場合に折り返しを許可 */
	align-items: center;
	/* 縦方向の中央揃え（任意） */
}

/* 「人」の表示 */

dd#member .wpcf7-form-control-wrap::after {
	content: "人";
	padding-left: 0.5rem;
	order: 1;
	/* inputの直後に配置 */
}

/* エラーメッセージを強制的に次の行へ */

dd#member .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
	flex-basis: 100%;
	/* 幅100%を占有させることで強制改行 */
	order: 2;
	/* 最後に配置 */
	margin-top: 5px;
	/* 入力欄との隙間 */
}

.wpcf7 form .wpcf7-response-output {
	margin: 0 !important;
}
.wpcf7-spinner {
	margin: 10px auto !important;
}
