@charset "UTF-8";
/* form.css */

/*========= Simple CAPTCHA Alternative with Cloudflare Turnstile ===============*/
div.cf-turnstile {
    display: flex !important;
    justify-content: center !important;
    margin-top: 20px;
}
@media screen and (max-width:768px) {
	div.cf-turnstile {
		margin-top: 10px;
		margin-bottom: 20px;
	}
}
/*========= contact ===============*/
/* 背景装飾(後ほど下層共通へ入れる予定) */
.border_card { border:4px solid #2196c9; }
.thin_blue   { background-color:#eef4f7; }

/* メインビジュアルの画像(適時変更) */
#lower_mv {
	background-position: right bottom;
}
/* heading */
.h2_bgBorder::before {
	height: 25px;
	max-width: 32px;
	background-image: url(../../img/contact/contact_icon.svg);
	background-size: contain;
}
main h2 {
	font-size: 20px;
	margin-bottom: 30px; /* XL */
	color: #4d4d4d;
}
/* decoration */
main .contact {
	color: #4d4d4d;
}
/* flexとflexされた4項目 */
.flow .flex_box {
	width: 100%;
	justify-content: space-between;
	margin-bottom: 30px; /* XL */
}
.flow .card {
	width: 48.5%;
	height: auto;
	display: flex;
	flex-flow: column;
	justify-content: center;
	/* absoluteされたマル部分の上余白と下余白L */
	margin:  15px 0 20px;
	padding:  0px 10px 10px;
}
.flow .card h3 {
    height: 80px;
	font-size: 16px;
	line-height: 1.4em;
	letter-spacing: .05em;
    display: flex;
    align-items: center;
    justify-content: center;
	white-space: nowrap;
	padding: 30px 0 20px; /* XL_T L_B */
	color: #4d4d4d;
}
.flow .card:nth-of-type(n + 3) { margin-bottom:0; }

.flow .flex_box .abso_number {
	position: relative;
	z-index: 1;
}
.flow .flex_box .abso_number span {
	width:  35px;
	height: 35px;
	font-size: 20px;
	font-weight: bold;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: -18px;
	left: calc(50% - 17.5px);
	border-radius: 35px;
	color: #fff;
	background-color: #2196c9;
	z-index: 1;
}
/* カード内薄青いボックス */
.flow .card .thin_blue {
	width:  auto;
	height: auto;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 10px;
}
.flow .card .thin_blue p {
	width:  100%;
	height: 100%;
	min-height: 98px;
}
/* [お問い合わせから入塾の流れ]の下のテキスト */
.flow_cont {
	font-weight: bold;
	text-align: center;
	margin-bottom: 30px; /* XL */
}
a.flow_cont {
    display: block;
}
.flow_cont img {
    width: 100%;
}
select[name="input[cource]"] {
    font-weight: bold !important;
    appearance: auto;
}
/*========= min-769 ===============*/
@media screen and (min-width: 759px) {
    main h2 { font-size:30px; }
	.flow .sp_br  { display:none; }
	
	/* メインビジュアルの画像(適時変更) */
	#lower_mv {
	    background-image:url(../../img/contact/contact_mvPC.jpg);
	}
	.flow .flex_box .abso_number span {
		width:  50px;
		height: 50px;
		font-size: 30px;
		top: -25px;
		left: calc(50% - 25px);
		border-radius: 50px;
		color: #fff;
	}
	.flow .card {
		margin-bottom: 20px;
		/* absoluteなマル部分の上余白 */
		margin-top: 25px;
		padding:  0px 20px 20px;
	}
	.flow .card h3 { 
		font-size:20px;
		height: 95px;
		padding: 40px 0 20px; /* M_T S_B */
	}
    /* カード内薄青いボックス */
    .flow .card .thin_blue p {
    	min-height: 84px;
    }
	/* [お問い合わせから入塾の流れ]の下のテキスト */
	.flow_cont {
	    text-align: left;
	    margin-bottom:40px; /* M */
	} 
}
/*========= min-995 ===============*/
@media screen and (min-width: 995px) {
	/* flexとflexされた4項目(4カラム → 2カラム) */
	.flow .flex_box { margin-bottom:40px; } /* M */
	.flow .card {
		width: 23%;
		margin-bottom: 0 !important;
	}
}





/* ========== formパーツ ========== */
/* 資料請求ページにだけ表示したい */
.request_cont {
    display:none !important;
}
a.download {
    font-size: 14px;
    text-decoration: underline;
    display: inline-block;
    margin-top:20px;
}
.-w-back-btn {
    filter: grayscale(1);
    opacity:0.5;
}
.-w-preview:empty::before{
    content:'入力画面、確認画面、完了画面それぞれにメッセージを設置できます';
    display:block;
    text-align: center;
}
/* 文字のboldとnormal */
td div,
td span,
.zip2addr,
select[name="input[grade]"] { font-weight:bold !important; }

input,
select,
textarea { font-weight:normal !important; }

/* 必須項目未入力時テキスト */
.alert,
.alert + div {
    font-size: 14px;
	font-weight: bold;
	color: #ff0000;
}
.alert {
    margin-bottom: 0;
    padding: 0.5rem 0 0;
}
/*  必須入力アイコン「赤*」用  */
.-w-require,
.require   {
    font-size: 13px;
    font-weight: normal;
    display: inline-block;
    color: #CE0000;
    background: none;
}
/* 個人情報のお取り扱いについて */
.privacy_info {
    margin-bottom: 30px; /* XL */
}
.privacy_info p       { font-size:14px !important; }
.privacy_info .cont   { font-size:13px !important; }
.privacy_info .strong { font-weight:bold; }
.privacy_info .red    { color:#ff0000;    }

/*========= ここからフォーム予定 ===============*/
/* table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}
table tr th,
table tr td {
    width: 92%;
    font-size: 14px;
    display: block;
    vertical-align: middle;
    margin:   0 auto;
    padding: 10px 0;
    color: #4d4d4d;
}
table tr th {
    font-weight: bold;
    padding-top: 20px;
}
table tr td {
	padding-bottom: 20px;
}
table tr:nth-of-type(even) {
  background-color: #eef4f7;  
}
table tr:first-of-type th  { padding-top:5px; }

/* input&select color */
table input,
table select,
table textarea {
    border-radius: 5px;
    background-color: #fff;
}
table select {
	appearance: auto !important;
}

table input:focus,
table select:focus,
table textarea:focus {
    outline: 0;
}
.owlet-input-sample a {
    color: inherit;
    text-decoration: none;
}
table input,
table select,
table textarea,
table label {
    padding: 5px;
}
input[type="text"],
input[type="tel"],
input[type="email"] {
	width: 100%;
	box-sizing: border-box;
}
input.owlet-input-name-sei[type="text"],
input.owlet-input-name-mei[type="text"]{
	width: 40%;
}
input[type="text"],
input[type="tel"],
input[type="email"],
select {
	min-height: 40px;
    border: 1px solid ;
    border-color: #4d4d4d;
}
input.owlet-input-tel1[type="text"],
input.owlet-input-tel2[type="text"],
input.owlet-input-tel3[type="text"],
input.zip1[type="text"],
input.zip2[type="text"]{
	line-height: 1.2;
	padding: 5px;
    border: 1px solid;
    border-color: #4d4d4d;
	max-width: 92px;
}
textarea {
	min-height: 185px;
	line-height: 1.2;
	padding: 5px;
    border: 1px solid ;
    border-color: #4d4d4d;
	width: 100%;
	resize: vertical;
}
select {
	line-height: 1.2;
	border: 1px solid ;
    border-color: #4d4d4d;
	width: 180px;
}
.owlet-input-name-sei,
.owlet-input-name-mei,
input[type="name_sei"],
input[type="name_mei"] {
	width: 90px;
	margin: 0 5px;
}
input[name="input[email]"],
input[name="input[email_confirm]"] {
	width: 100%;
}
input.zip1,
input.zip2 {
	width: 26%;
	margin-bottom: 0;
}
.zip2addr {
    height: 40px;
	margin: 0 0 0 10px;
	padding: 12px;
	box-sizing: border-box;
	display: inline-block;
	border-radius: 0;
	border:1px solid #4d4d4d;
	background-color: #e6e6e6;
}
select.city,
select.prefectures {
    width: 46.5%;
}
select.city {
    margin: 15px 0 15px 0;
}
select.prefectures {
	margin: 15px 20px 15px 0;
}
.address,
input[name="input[address_address]"],
input[name="input[address_address2]"],
input[name="input[address2_address]"],
input[name="input[address2_address2]"] {
	width: 100%;
	margin-left: 0;
}
form .address,
input[name="input[address_address]"],input[name="input[address_address2]"] {
}

form .address {
    margin-top: 10px;
}
.owl-datepicker {
	width: 100%;
	margin-right: 5px;
}
select[name="input[date_hour]"],
select[name="input[date_minute]"] {
	margin-right: 5px;
}
.owlet-input-tel2,
.owlet-input-tel3 {
	margin-left: 5px;
}
table tr td label {
	display: flex;
	align-items: center;
}
input[name="input[company_name]"],
textarea[name="input[text]"],
input[name="input[select_etc]"],
input[name="input[radio_etc]"],
input[name="input[check_etc]"] {
	width: 100%;
	padding: 5px;
}
.-w-rules-agree {
	text-align: center;
}
.-w-rules-agree a{
	display: inline-block;
}
.-w-rules-body {
/*     height: 8em; */
    overflow-y: scroll;
    border: 1px solid #4d4d4d;
    margin: 4rem auto;
    padding: 0.5rem;
    border-radius: 3px;
}
input[type="text"][name="input[name]"] ,
input[type="text"][name="input[company]"]{
	width:100%;
}
[type="checkbox"] {
    margin-right: 5px;
}
select[name="input[grade]"] {
    max-width: 108px;
    appearance: auto;
}
/*========= ボタン ===============*/
.-w-form-btn {
	text-align: center;
}
.-w-form-btn button[type="submit"] {
	cursor: pointer;
	border: none;
	cursor: pointer;
	width: 100%;
	font-weight: bold;
}
.-w-btn-wrap {
	width: 100%;
	margin: 0 auto;
	display:flex;
	align-items: center;
	justify-content: center;
}
.-w-back-btn {
    opacity: 1;
    text-align: center;
}
.-w-btn-wrap .-w-form-btn button[type="submit"] {
	vertical-align: top;
}
.-w-btn-wrap {
    justify-content: space-between;
}
.-w-form-btn.-w-font_title2 {
    width: 48%;
    font-size: 16px;
    display: inline-table;
    margin: 0;
}
.-w-form-btn.-w-font_title2 a {
    background: #ccc;
}



@media screen and (min-width:769px) {
	a.download {
		font-size: 16px;
	}
	/* 必須項目未入力時テキスト */
	.alert,
	.alert + div { 
		font-size: 16px;
	}
	/* 個人情報のお取り扱いについて */
	.privacy_info {
		margin-bottom: 30px; /* XL */
	}
	.privacy_info .cont { font-size:14px !important; }

	/*  必須入力アイコン「赤*」用  */
	.-w-require,
	.require   {
		font-size: 14px;
	}
	/* ボタン */
	.btn {
		font-size:  24px;
		max-width: 440px;
	}
	.-w-btn-wrap {
		justify-content: center;
	}
	.-w-form-btn.-w-font_title2,
	.-w-form-btn.-w-font_title2.btn,
	.-w-form-btn.-w-font_title2 button {
		max-width: 300px !important;
	}
	.-w-btn-wrap > p:first-of-type {
		margin-right: 20px;
	}
	/*========= ここからフォーム予定 ===============*/
	table tr th,
	table tr td {
		font-size: 16px;
		display: table-cell;
		padding-top:    30px;
		padding-bottom: 30px;
	}
	table tr th {
		width: 30%;
		vertical-align: middle;
		padding-left: 40px;
		vertical-align: baseline;
		padding-top: 40px;
	}
	/* [住所]と[お問い合わせ内容]見出しだけ、上側に揃える */
	table tr:nth-of-type(4) th,
	table tr:last-of-type th  {
		vertical-align: baseline;
		padding-top: 40px;
	}
	/* table 一番上と一番下の余白調整*/
	table tr:first-of-type td { padding-top:0; }
	table tr td {
		width: 70%;
		padding-right: 40px;
	}
	/* フォーム内部枠の幅 */
	[name="input[name]"],
	[name="input[child]"],
	input[type="tel"],
	.tr_name input[type="text"] {
		max-width: 300px;
	}
	select.city,
	select.prefectures {
		max-width: 141px;
	}
	textarea,
	input[type="text"],
	input[type="email"] {
		max-width: 550px;
	}
	textarea {
		min-height: 200px;
	}
	/* [住所]見出しのwrapを防ぐ */
	[name="input[address_address]"] {
		display: block;
	}
	.zip2addr {
		margin-left: 20px;
		padding: 10px 12px 12px;
	}
	select.city,
	select.prefectures {
		margin-top:    20px;
		margin-bottom: 20px;
	}
	/*========= ボタン ===============*/
	p.-w-form-btn.-w-font_title2,
	p.-w-form-btn.-w-font_title2 a {
			font-size: 24px;
	}
}


/* ============================== 追加記述 ============================== */
/* focus時のアウトライン削除 */
:focus {
	outline: none !important;
}

/* 郵便番号ライブラリからの自動表示メッセージを削除 */
#autozip {
   display: none !important;
}
/* 郵便番号 */
.dd_postal {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: flex-start;
}
.dd_postal > span {
	width: 180px;
}
.dd_postal input {
	width: 100%;
}
/* 住所検索ボタン */
.dd_postal .btn_kensaku {
	width: fit-content;
}
.dd_postal .btn_kensaku a {
    height: 40px;
    margin: 0 0 0 10px;
    padding: 12px;
    box-sizing: border-box;
    display: inline-block;
    border-radius: 0;
    border: 1px solid #4d4d4d;
    background-color: #e6e6e6;
}
.select_parent {
	margin-top:    1em;
	margin-bottom: 1em;
}
/* エラーメッセージ */
.wpcf7-not-valid-tip {
	font-size: 12px !important;
	margin-top: .75em;
}
/* 同意するチェックボックスとラジオボタン */
.check_kakunin_wrap {
	width: fit-content;
	font-size: 14px;
	margin: auto;
}
[type="checkbox"],
[type="radio"] {
	min-width:  1em;
	min-height: 1em;
	line-height: 1;
	margin-right: .35em;
}
.wpcf7-list-item.first {
	margin-left: 0 !important;
}

/* 送信ボタン */
.btn_send {
	width: 100%;
}
.btn_send input {
	width: 100%;
	font-size: 16px;
	font-weight: bold !important;
    display: inline-block;
    text-align: center;
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    background-color: #2196c9;
}
.btn_send > div {
	width: 100%;
	max-width: 320px;
	position: relative;
	margin: auto;
}
.btn_send > div:after {
    content: "";
    width:  17px;
    height: 25px;
    display: block;
    position: absolute;
	top:   16px;
    right: 20px;
    background: url(../../img/top/arrowR.svg) no-repeat center;
    background-size: contain;
}



@media screen and (min-width:769px) {
	/* 住所検索ボタン */
	.dd_postal > span {
		width: 100%;
		max-width: 300px;
	}
	.dd_postal .btn_kensaku a {
		margin-left: 20px;
		padding: 10px 12px 12px;
	}
	/* 送信ボタン */
	.btn_send input {
		font-size: 24px;
	}
	.btn_send > div {
		max-width: 440px;
	}
	.btn_send > div:after {
		top: 20px;
	}
	/* エラーメッセージ */
	.wpcf7-not-valid-tip {
		font-size: 14px !important;
	}
}