@charset "UTF-8";
/*========================================
無料体験フォームの2ステップ表示（lib/form_step.php・/common/js/form_step.js とセット）
========================================*/

/* ステップの表示切り替え（JSが動いたときだけ隠す） */
.is-fs-boot .is-fs-later,
.is-fs .is-fs-hidden { display: none; }

/* 「次へ」「戻る」ボタンと進み具合はJSが動いたときだけ表示 */
.fs-js-only { display: none; }
.is-fs-boot .fs-js-only,
.is-fs .fs-js-only { display: inline-block; }
form[data-fs-form]:not(.is-fs):not(.is-fs-boot) .fs-nav,
form[data-fs-form]:not(.is-fs):not(.is-fs-boot) .fs-lead { display: none; }

/* 進み具合 */
.fs-nav {
	display: flex;
	max-width: 640px;
	margin: 10px auto 30px;
	padding: 0;
	list-style: none;
}
.fs-nav li {
	position: relative;
	flex: 1;
	text-align: center;
	color: #999;
	font-size: 14px;
	line-height: 1.4;
}
.fs-nav li::before {
	content: "";
	position: absolute;
	top: 16px;
	left: -50%;
	width: 100%;
	height: 3px;
	background: #ddd;
}
.fs-nav li:first-child::before { display: none; }
.fs-nav .fs-nav_no {
	position: relative;
	z-index: 1;
	display: block;
	width: 34px;
	height: 34px;
	margin: 0 auto 6px;
	border-radius: 50%;
	background: #ddd;
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	line-height: 34px;
}
.fs-nav .fs-nav_label { display: block; color: inherit; font-size: 14px; font-weight: normal; line-height: 1.4; }
.fs-nav li.is-done,
.fs-nav li.is-current { color: #114388; }
.fs-nav li.is-done::before,
.fs-nav li.is-current::before { background: #4075b7; }
.fs-nav li.is-done .fs-nav_no { background: #4075b7; }
.fs-nav li.is-current .fs-nav_no {
	background: #114388;
	box-shadow: 0 0 0 3px #ffdc00;
}
.fs-nav li.is-current .fs-nav_label { font-weight: bold; }

/* 案内文 */
.fs-lead {
	margin: 0 0 20px;
	text-align: center;
	line-height: 1.7;
}

/* ページの見出し */
.fs-step_title {
	margin: 0 0 10px;
	padding: 0 0 0 12px;
	border-left: 5px solid #4075b7;
	color: #114388;
	font-size: 18px;
	font-weight: bold;
}

/* 講座ジャンル */
td ul.fs-genre {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
}
td ul.fs-genre li {
	width: 50%;
	box-sizing: border-box;
	padding: 0 10px 10px 0;
}
td ul.fs-genre label {
	display: flex;
	align-items: flex-start;
	cursor: pointer;
}
td ul.fs-genre input {
	flex: none;
	margin: 4px 6px 0 0;
	padding: 0;
}
.fs-note {
	margin: 5px 0 0;
	color: #666;
	font-size: 14px;
}
td input.fs-wide { width: 95%; box-sizing: border-box; }

/* 未入力エラー */
td.fs-is-error { background-color: #fdd; }
.fs-error {
	margin: 8px 0 0;
	color: #f00;
	font-size: 14px;
	font-weight: bold;
}

/* ボタン */
.fs-btns { margin-top: 20px; }
.section2 table.about + .fs-btns input.fs-btn-next {
	background: #114388;
	border: none;
	border-radius: 5px;
	color: #fff;
	font-weight: bold;
}
.section2 table.about + .fs-btns input.fs-btn-next:hover { opacity: 0.85; }

/* 教室ページのフォーム（#toiawase_form）：教室ページの水色に合わせる */
#toiawase_form .fs-nav li.is-done,
#toiawase_form .fs-nav li.is-current { color: #1a87b8; }
#toiawase_form .fs-nav li.is-done::before,
#toiawase_form .fs-nav li.is-current::before,
#toiawase_form .fs-nav li.is-done .fs-nav_no { background: #29abe2; }
#toiawase_form .fs-nav li.is-current .fs-nav_no { background: #1a87b8; box-shadow: 0 0 0 3px #d6f1ff; }
#toiawase_form .fs-step_title { border-left-color: #29abe2; color: #1a87b8; }
#toiawase_form .fs-btns input.fs-btn-next {
	width: 400px;
	max-width: 100%;
	height: 60px;
	border: none;
	border-radius: 6px;
	background: linear-gradient(#ff9a2e, #ff6f00);
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 0.1em;
	cursor: pointer;
}
#toiawase_form .fs-btns input.fs-btn-next:hover { opacity: 0.8; }
#toiawase_form .fs-btns input.fs-btn-prev,
#toiawase_form .fs-btns button.fs-btn-prev {
	font-family: inherit;
	height: 60px;
	margin-right: 10px;
	padding: 0 30px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	color: #333;
	font-size: 16px;
	cursor: pointer;
	vertical-align: top;
}
#toiawase_form .fs-btns input[type="image"] { vertical-align: top; }

/* Bizキャリの無料説明会フォーム：表（.freetrial-table 幅80%・中央）に見出しをそろえ、Bizキャリの紺に合わせる */
form[data-fs-form="biz_freetrial"] .fs-step_title {
	width: 80%;
	margin: 0 auto 10px;
	box-sizing: border-box;
	border-left-color: #3576b9;
	color: #1e3a8a;
}
@media (max-width: 800px) {
	form[data-fs-form="biz_freetrial"] .fs-step_title { width: 100%; }
	form[data-fs-form="biz_freetrial"] .fs-lead { padding: 0 12px; }
}
form[data-fs-form="biz_freetrial"] .fs-nav li.is-done,
form[data-fs-form="biz_freetrial"] .fs-nav li.is-current { color: #1e3a8a; }

/* 教室ページ：ご質問・ご相談の案内 */
.fs-inquiry {
	margin: 0 0 25px;
	padding: 15px 20px;
	border: 2px solid #d6f1ff;
	border-radius: 6px;
	background: #fff;
}
.fs-inquiry .fs-inquiry_title {
	margin: 0 0 5px;
	color: #1a87b8;
	font-size: 16px;
	font-weight: bold;
}
.fs-inquiry p { margin: 0 0 5px; line-height: 1.7; }
.fs-inquiry p:last-child { margin-bottom: 0; }
.fs-inquiry .fs-inquiry_tel { font-weight: bold; font-size: 18px; }
.fs-inquiry .fs-inquiry_tel a { color: #333; text-decoration: none; }
.fs-inquiry a.fs-inquiry_link { color: #1a87b8; text-decoration: underline; }
.fs-inquiry a.fs-inquiry_link:hover { text-decoration: none; }

/* 任意マーク（各フォームの必須マークと同じ形の薄いブルー。灰色だと「入力不要」に見えるため、灰色と同じ明るさの青に）・目的／きっかけの開閉（lib/form_step.php の fs_opt_mark・fs_acc_open） */
#toiawase_form .inq_form th .fs-opt {
	float: right;
	margin-right: 8px;
	padding: 0 8px;
	border-radius: 5px;
	background: #6aa6d6;
	color: #fff;
	font-weight: normal;
}
/* 市民講座トップ（table.about）：必須マーク .red と同じ形 */
table.about th .fs-opt {
	float: right;
	padding: 0 8px;
	border-radius: 5px;
	background: #6aa6d6;
	color: #fff;
	font-size: 12px;
	font-weight: normal;
}
/* Bizキャリ（.freetrial-table）：必須マーク（紺）と同じ形 */
form[data-fs-form] .freetrial-table th .fs-opt {
	float: right;
	padding: 3px 5px;
	border-radius: 8px;
	background: #6aa6d6;
	color: #fff;
	font-size: 14px;
	font-weight: normal;
}
/* 教室の完了画面：入力内容の表（.thanks_msg は中央寄せ）の右列を左揃えに */
#toiawase_form .thanks_msg table.inq_form td { text-align: left; }
/* 開閉ボタンは学生種別などのプルダウン（select）と同じ見た目にそろえる。中身は複数選択のためチェックボックスのまま */
#toiawase_form .fs-acc > summary,
form[data-fs-form] .fs-acc > summary {
	display: inline-block;
	position: relative;
	width: 270px;
	max-width: 100%;
	padding: 3px 28px 3px 8px;
	border: 1px solid #767676;
	border-radius: 3px;
	background: #fff;
	color: #333;
	font-weight: normal;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
	box-sizing: border-box;
}
#toiawase_form .fs-acc > summary::-webkit-details-marker,
form[data-fs-form] .fs-acc > summary::-webkit-details-marker { display: none; }
#toiawase_form .fs-acc > summary::after,
form[data-fs-form] .fs-acc > summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 10px;
	width: 6px;
	height: 6px;
	margin-top: -5px;
	border-right: 2px solid #333;
	border-bottom: 2px solid #333;
	transform: rotate(45deg);
}
#toiawase_form .fs-acc[open] > summary::after,
form[data-fs-form] .fs-acc[open] > summary::after { margin-top: -1px; transform: rotate(-135deg); }
.fs-acc .fs-acc_close,
.fs-acc[open] .fs-acc_open { display: none; }
.fs-acc[open] .fs-acc_close { display: inline; }
#toiawase_form .fs-acc > summary span,
form[data-fs-form] .fs-acc > summary span { color: inherit; font-weight: normal; }
#toiawase_form .fs-acc > summary span { font-size: 16px; }
/* 市民講座トップ：プルダウンの文字の大きさに合わせる（スマホは下の @media でブラウザ標準の小さい文字に） */
table.about .fs-acc > summary { font-size: 16px; }
/* Bizキャリ：年代などのプルダウン（.freetrial-table select）に合わせる */
/* 連絡の時間帯は年代と同じ class="age"。幅だけは「お選びください」が切れないよう中身に合わせる */
form[data-fs-form] .freetrial-table select[name="time"] { width: auto; min-width: 23%; }
form[data-fs-form] .freetrial-table .fs-acc > summary {
	padding: 12px 32px 12px 8px;
	border-color: #ccc;
	border-radius: 0;
	font-size: 15px;
}
@media (max-width: 800px) {
	form[data-fs-form] .freetrial-table .fs-acc > summary {
		width: 100%;
		margin-top: 15px;
		padding: 0.6em 32px 0.6em 0.6em;
		font-size: 17px;
	}
}
#toiawase_form .fs-acc[open] > summary,
form[data-fs-form] .fs-acc[open] > summary { margin-bottom: 12px; }

@media screen and (max-width: 767px) {
	.fs-inquiry { padding: 12px 15px; }
	#toiawase_form .inq_form th .fs-opt { font-size: 14px; }
	table.about .fs-acc > summary {
		width: 230px;
		padding: 1px 24px 1px 6px;
		font-size: 13.333px;
	}
	table.about .fs-acc > summary::after { right: 8px; width: 5px; height: 5px; margin-top: -4px; }
	table.about .fs-acc[open] > summary::after { margin-top: -1px; }
	#toiawase_form .fs-btns input.fs-btn-prev,
	#toiawase_form .fs-btns button.fs-btn-prev { width: 100%; margin: 0 0 10px; }
	.fs-nav { margin: 0 auto 20px; }
	.fs-nav li,
	.fs-nav .fs-nav_label { font-size: 11px; }
	.fs-nav .fs-nav_no { width: 28px; height: 28px; font-size: 14px; line-height: 28px; }
	.fs-nav li::before { top: 13px; }
	.fs-lead { text-align: left; font-size: 14px; }
	.fs-step_title { font-size: 16px; }
	td ul.fs-genre li { width: 100%; padding: 0 0 8px; }
	td ul.fs-genre label { line-height: 1.5; }
	.fs-btns input[type="button"],
	.fs-btns input[type="submit"] { margin: 10px 0 0; }
}
