section:last-of-type {
  margin-bottom: 0;
}
.main_visual {
  background-image: url(https://www.bigbang-web.jp/wp-content/themes/bigbang/assets/img/contact/main.png), url(../img/common/main_bg.jpg);
}

.contact-main {
  width: 100%;
  border: solid 1px #c2c9d5;
  padding: 60px;
}
.main_bnr {
  position: relative;
  margin-top: -50px;
}
/*.main_bnr img{max-width: 981px;}*/

.sec1 > .title_01:nth-child(n + 2) {
  margin-top: 50px;
}

.tel_fax_box {
  width: 100%;
}
.tel_fax_box,
.tel_fax_box > span {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}
.tel_fax_box > span:nth-of-type(1) {
  background-color: #001f50;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  min-width: 50%;
  min-height: 98px;
  line-height: 1.5;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  text-align: center;
}
.tel_fax_box > span:nth-of-type(2) {
  background-color: #f4f8ff;
  border-top: solid 1px #bfc7d3;
  border-right: solid 1px #bfc7d3;
  border-bottom: solid 1px #bfc7d3;
  width: 100%;
}
.tel_fax_box > span:nth-of-type(2) > span {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  width: 100%;
  position: relative;
}
.tel_fax_box > span:nth-of-type(2) > span:nth-of-type(1)::after {
  /*content: "";
	display: block;
	height: 56px;
	width: 1px;
	background-color: #bfc7d3;
	position: absolute;
	right: 0;
	top: 20px;*/
}
.tel_fax_box > span:nth-of-type(2) > span > .label {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}
.tel_fax_box > span:nth-of-type(2) > span > .tel,
.tel_fax_box > span:nth-of-type(2) > span > .fax {
  font-family: "游明朝体", YuMincho, "游明朝", "Yu Mincho",
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}
.tel_fax_box > span:nth-of-type(2) > span > .tel::before {
  content: "";
  background-image: url(../img/common/tel.svg);
  background-repeat: no-repeat;
  background-size: 35px 38px;
  display: inline-block;
  width: 35px;
  height: 38px;
  margin-right: 10px;
  position: relative;
}
.tel_fax_box > span:nth-of-type(2) > span > .fax::before {
  content: "";
  background-image: url(../img/contact/icon001.svg);
  background-repeat: no-repeat;
  background-size: 35px 38px;
  display: inline-block;
  width: 35px;
  height: 38px;
  margin-right: 10px;
  position: relative;
  top: -5px;
}

.description {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 30px;
}
.description .caution {
  font-size: 1.2rem;
  color: #f00;
}

ul.step_box {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  background-color: #f5f5f5;
  margin-bottom: 30px;
}
ul.step_box li {
  min-height: 50px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  font-size: 1.6;
  font-weight: 900;
  line-height: 1;
  position: relative;
}
ul.step_box li::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 25px 0 25px 27px;
  border-color: transparent transparent transparent #e6e6e6;
  position: absolute;
  top: 0;
  right: -27px;
  z-index: 1;
}
ul.step_box li::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 0 20px 20px;
  border-color: transparent transparent transparent #f5f5f5;
  position: absolute;
  top: 5px;
  right: -20px;
  z-index: 1;
}
ul.step_box li:last-of-type::before,
ul.step_box li:last-of-type::after {
  display: none;
}
ul.step_box li > span {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}
ul.step_box li > span::before {
  content: "1";
  font-family: "游明朝体", YuMincho, "游明朝", "Yu Mincho",
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  text-align: center;
  width: 30px;
  height: 30px;
  margin-right: 14px;
  border-radius: 50%;
  background-color: #e6e6e6;
}
ul.step_box li:nth-of-type(1) {
  min-width: 302px;
}
ul.step_box li:nth-of-type(2) {
  min-width: 327px;
}
ul.step_box li:nth-of-type(2) > span::before {
  content: "2";
}
ul.step_box li:nth-of-type(3) {
  min-width: 353px;
}
ul.step_box li:nth-of-type(3) > span::before {
  content: "3";
}
/* step active */
ul.step_box li.active {
  background-color: #001f50;
  color: #fff;
}
ul.step_box li.active::before {
  border-color: transparent transparent transparent #001f50;
}
ul.step_box li.active::after {
  border-color: transparent transparent transparent #001f50;
}
ul.step_box li.active > span::before {
  color: #001f50;
  background-color: #fff;
}

/* table styles */
.table {
  border: solid 1px #bfc7d3;
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
}
.table th,
.table td {
  border: solid 1px #bfc7d3;
}
.table th {
  background-color: #f4f8ff;
  font-weight: normal;
  font-size: 1.6rem;
  padding: 2rem;
  text-align: left;
  width: 30%;
  font-weight: 900;
}
.table td {
  padding: 2rem;
}
.table.form-table th .label {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  line-height: 1.6;
}
.table.form-table th .label .required {
  background-color: #d61e1e;
  font-size: 1.4rem;
  color: #fff;
  padding: 0.8rem 1rem;
}

.table.form-table :placeholder-shown {
  color: #c7c7c7;
}

/* Google Chrome, Safari, Opera 15+, Android, iOS */
.table.form-table ::-webkit-input-placeholder {
  color: #c7c7c7;
}

/* Firefox 18- */
.table.form-table :-moz-placeholder {
  color: #c7c7c7;
  opacity: 1;
}

/* Firefox 19+ */
.table.form-table ::-moz-placeholder {
  color: #c7c7c7;
  opacity: 1;
}

/* IE 10+ */
.table.form-table :-ms-input-placeholder {
  color: #c7c7c7;
}

.table.form-table input[type="text"],
.table.form-table input[type="email"],
.table.form-table input[type="tel"],
.table.form-table textarea,
.table.form-table select {
  border: solid 1px #c5c5c5;
  padding: 12px 20px;
  margin: 0;
  background: none;
  border-radius: 0;
  outline: none;
}

.table.form-table input[type="text"].error,
.table.form-table input[type="email"].error,
.table.form-table input[type="tel"].error,
.table.form-table textarea.error,
.table.form-table select.error {
  background-color: rgb(255, 175, 175);
  color: #333333;
}
.table.form-table .error:placeholder-shown {
  color: #333333;
}

/* Google Chrome, Safari, Opera 15+, Android, iOS */
.table.form-table .error::-webkit-input-placeholder {
  color: #333333;
}

/* Firefox 18- */
.table.form-table .error:-moz-placeholder {
  color: #333333;
  opacity: 1;
}

/* Firefox 19+ */
.table.form-table .error::-moz-placeholder {
  color: #333333;
  opacity: 1;
}

/* IE 10+ */
.table.form-table .error:-ms-input-placeholder {
  color: #333333;
}

.table.form-table input[type="text"],
.table.form-table input[type="email"],
.table.form-table input[type="tel"],
.table.form-table textarea,
.table.form-table select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.table.form-table textarea {
  line-height: 1.4;
  width: 100%;
}
.table.form-table select {
  cursor: pointer;
}

.table.form-table input[type="text"],
.table.form-table input[type="email"],
.table.form-table input[type="tel"] {
  width: 100%;
  height: 40px;
  font-size: 1.6rem;
}
.inputs-wrapper span label {
  cursor: pointer;
}
.inputs-wrapper span label input[type="radio"] {
  display: none;
}
.inputs-wrapper span label span.mwform-radio-field-text {
  position: relative;
}
/* .inputs-wrapper span label span.mwform-radio-field-text::before {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: solid 1px #e0e2e6;
	position: relative;
	margin-right: 8px;
	top: 2px;
}
.inputs-wrapper
	span
	label
	input[type='radio']:checked
	+ span.mwform-radio-field-text::after {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	background-color: #001f50;
	border-radius: 50%;
	position: absolute;
	left: 4px;
	top: 6px;
}*/
.mw_wp_form label.error {
  color: #d61e1e !important;
  font-weight: 900;
  font-size: 1.3rem !important;
  padding-top: 0.5rem;
}

/* custom selectbox */
.custom_selectbox {
  display: inline-block;
  position: relative;
}
.custom_selectbox::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 5.5px 0 5.5px;
  border-color: #333333 transparent transparent transparent;
  right: 20px;
  top: 50%;
  margin-top: -5px;
  z-index: 1;
}
.table.form-table .custom_selectbox select {
  padding-right: 5rem;
}

.input_flex_box,
.input_flex_box > span,
.input_flex_box > span > .input_field {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}
.input_flex_box > span {
  -webkit-flex-direction: column;
  flex-direction: column;
}
.input_flex_box > span > .input_field {
  -webkit-align-items: center;
  align-items: center;
}

/* 氏名（フリガナ）の入力 */
.input_flex_box.type_name > span > .input_field > .input_box {
  width: 122px;
  min-width: 122px;
}
.input_flex_box.type_name > span:first-of-type {
  margin-right: 20px;
}
.input_flex_box.type_name > span > .input_field > .label {
  min-width: 37px;
}
/* 住所の入力 */
.input_flex_box.type_address {
  -webkit-flex-direction: column;
  flex-direction: column;
}
.input_flex_box.type_address > span {
  margin-bottom: 15px;
}
.input_flex_box.type_address > span:last-of-type {
  margin-bottom: 0;
}
.input_flex_box.type_address > span > .input_field > .label {
  min-width: 75px;
}
.table.form-table .sub_text {
  line-height: 1;
  padding-top: 20px;
}

.inputs-wrapper.type_grade {
  width: 70%;
}
.mw_wp_form .inputs-wrapper.type_grade .horizontal-item + .horizontal-item {
  margin-left: 0 !important;
}
.inputs-wrapper.type_grade .mwform-radio-field.horizontal-item {
  margin: 1rem 1rem 1rem 0;
  display: inline-block;
}
td.grade_td {
  padding: 1rem 2rem;
}

.table.form-table input[type="text"].w190 {
  width: 190px;
}
.table.form-table input[type="email"].w390 {
  width: 390px;
}

.privacy_desc {
  line-height: 1;
  font-size: 1.6rem;
  text-align: center;
  padding: 30px 0;
  margin: 0;
}
.privacy_desc > a {
  font-weight: 900;
  text-decoration: underline;
}

.btn_area {
  text-align: center;
}
.btn_area button {
  border: 0;
  cursor: pointer;
}
.btn_area .btn::before {
  right: 15px;
}
.btn_area button.confirm,
.btn_area button.submit,
.btn_area button.back {
  width: 307px;
  height: 70px;
  font-size: 2.4rem;
}
.btn_area button.confirm {
  margin: auto;
}
.btn_area button.submit,
.btn_area button.back {
}

/* fixed nav */
#g_nav_fixed .g_nav {
  display: none;
}
/* footer */
footer {
  padding-top: 10px;
}
.f_bottom {
  margin-top: 10px;
}
.f_bottom ul {
  display: none;
}
.f_bottom small {
  margin: auto;
}
footer .right {
  display: none;
}
footer .branch {
  display: none;
}
footer .left {
  width: 1100px;
  max-width: 1100px;
  border-right: 0;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
}
footer .logo {
  margin-right: 10px;
}
footer .df-c {
  -webkit-flex-direction: column;
  flex-direction: column;
}

/* 確認画面 */
.contact-confirm .main_bnr,
.contact-confirm .tel_fax_box {
  display: none;
}
.contact-confirm .sec1 > .title_01:nth-child(n + 2) {
  margin-top: 0px;
}
.mw_wp_form.mw_wp_form_confirm.mw_wp_form_preview
  .input_flex_box.type_name
  > span
  > .input_field
  > .label {
  display: none;
}
.mw_wp_form.mw_wp_form_confirm.mw_wp_form_preview
  .input_flex_box.type_name
  > span
  > .input_field
  > .input_box {
  width: auto;
  min-width: auto;
}
.mw_wp_form.mw_wp_form_confirm.mw_wp_form_preview
  .input_flex_box.type_address
  > span
  > .input_field
  > .label {
  display: none;
}
.mw_wp_form.mw_wp_form_confirm.mw_wp_form_preview .input_flex_box.type_address {
  -webkit-flex-direction: row;
  flex-direction: row;
}
.mw_wp_form.mw_wp_form_confirm.mw_wp_form_preview
  .input_flex_box.type_address
  > span {
  margin-bottom: 0;
}
.mw_wp_form.mw_wp_form_confirm.mw_wp_form_preview .table.form-table .sub_text,
.mw_wp_form.mw_wp_form_confirm.mw_wp_form_preview #email_confirm,
.mw_wp_form.mw_wp_form_confirm.mw_wp_form_preview .confirm-none,
.mw_wp_form.mw_wp_form_confirm.mw_wp_form_preview .privacy_desc {
  display: none;
}
.btn_flex.btn_area.submit {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  padding-top: 40px;
  width: 70%;
  justify-content: space-between;
  margin: auto;
}
.btn.btn02.back::before {
  content: "\f104";
  right: inherit;
  left: 25px;
}

/* 完了画面 */
#ThanksMessageBox {
  padding-top: 50px;
}
#ThanksMessageBox .thanks_title {
  text-align: center;
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: 2rem;
  color: #001f50;
}
#ThanksMessageBox .thanks_title::after {
  content: "--------";
  display: block;
  text-align: center;
  font-weight: normal;
  font-size: 5rem;
  margin-top: 2rem;
}
#ThanksMessageBox .thanks_message {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
}
#ThanksMessageBox .btn {
  margin: auto;
}

@media screen and (max-width: 1130px) and (min-width: 768px) {
  .n_tab {
    display: none;
  }

  .contact-main {
    padding: 20px 20px 50px;
  }
  .main_bnr {
    margin-top: 0;
  }
  /*.tel_fax_box > span:nth-of-type(1) {
		min-width: 327px;
		font-size: 1.6rem;
	}
	.tel_fax_box > span:nth-of-type(2) > span > .tel,
	.tel_fax_box > span:nth-of-type(2) > span > .fax {
		font-size: 1.8rem;
		-webkit-align-items: center;
		align-items: center;
	}
	.tel_fax_box > span:nth-of-type(2) > span > .tel::before {
		background-size: 30px 33px;
		width: 30px;
		height: 33px;
	}
	.tel_fax_box > span:nth-of-type(2) > span > .fax::before {
		background-size: 30px 33px;
		width: 30px;
		height: 33px;
	}
	.tel_fax_box > span:nth-of-type(2) > span > .label {
		font-size: 1.6rem;
		margin-bottom: .5rem;
	}*/

  ul.step_box li:nth-of-type(1) {
    width: 30%;
    min-width: 30%;
  }
  ul.step_box li:nth-of-type(2) {
    width: 35%;
    min-width: 35%;
  }
  ul.step_box li:nth-of-type(3) {
    width: 35%;
    min-width: 35%;
  }

  .table th {
    width: 37%;
  }
  .inputs-wrapper.type_grade {
    width: 100%;
  }
  .btn_flex.btn_area.submit {
    width: 90%;
  }

  /* footer */
  footer .left {
    width: 100%;
    max-width: 100%;
  }
}
/* iPad Pro */
@media screen and (max-width: 1024px) and (min-width: 768px) {
}
@media screen and (max-width: 1010px) and (min-width: 1001px) {
  .title_01 {
    font-size: 2.2rem;
  }
}
@media screen and (max-width: 1000px) and (min-width: 768px) {
}
/* SP */
@media screen and (max-width: 767px) {
  .main_visual {
    background-image: url(../img/contact/main_sm.png),
      url(../img/common/main_bg.jpg);
  }
  .sec1 > .title_01:nth-child(n + 2) {
    margin: 3rem 1rem 1rem;
  }
  .main_bnr {
    margin-top: 0;
    padding: 0 1rem;
  }
  .main_bnr img {
    max-width: 100%;
  }
  .contact-main {
    padding: 0;
    border: 0;
  }
  .description {
    font-size: 1.4rem;
    padding: 0 1rem;
    text-align: left;
  }
  .tel_fax_box {
    -webkit-flex-direction: column;
    flex-direction: column;
    padding: 0 1rem;
  }
  .tel_fax_box > span:nth-of-type(1) {
    font-size: 1.6rem;
    min-width: 100%;
    min-height: 75px;
  }
  .tel_fax_box > span:nth-of-type(2) > span:nth-of-type(1)::after {
    height: 36px;
    top: 10px;
  }
  .tel_fax_box > span:nth-of-type(2) {
    min-height: 80px;
    border-top: 0;
    border-left: solid 1px #bfc7d3;
  }
  .tel_fax_box > span:nth-of-type(2) > span > .label {
    /*font-size: 1.3rem;*/
    margin-bottom: 5px;
  }
  .tel_fax_box > span:nth-of-type(2) > span > .tel,
  .tel_fax_box > span:nth-of-type(2) > span > .fax {
    /*font-size: 1.6rem;*/
    -webkit-align-items: center;
    align-items: center;
  }
  .tel_fax_box > span:nth-of-type(2) > span > .tel::before {
    background-size: 25px 28px;
    width: 25px;
    height: 28px;
  }
  .tel_fax_box > span:nth-of-type(2) > span > .fax::before {
    background-size: 25px 28px;
    width: 25px;
    height: 28px;
  }

  ul.step_box li {
    font-size: 1.2rem;
    padding-left: 2.2rem;
    line-height: 1.3;
    text-align: center;
  }
  ul.step_box li:nth-of-type(1) {
    min-width: 30%;
  }
  ul.step_box li:nth-of-type(2) {
    min-width: 40%;
  }
  ul.step_box li:nth-of-type(3) {
    min-width: 30%;
  }
  ul.step_box li > span::before {
    font-size: 1.2rem;
    min-width: 20px;
    width: 20px;
    min-height: 20px;
    height: 20px;
    margin-right: 7px;
    padding-top: 1px;
  }

  .privacy_desc {
    font-size: 1.2rem;
  }

  .btn_area.confirm {
    padding: 0 20px 60px;
  }

  footer .left .bnr_list.sp {
    display: none;
  }
  footer .logo {
    margin: 0 auto 10px;
  }

  /* table styles */
  .table {
    border-top: 0;
    border-left: 0;
    border-right: 0;
  }
  .table tr td {
    border-top: 0;
    border-bottom: 0;
  }
  .table tr,
  .table tr th,
  .table tr td {
    display: block;
    width: 100%;
  }

  .table.form-table select {
    width: 100%;
  }
  .inputs-wrapper.type_grade {
    width: 100%;
  }
  .table.form-table input[type="email"].w390 {
    width: 100%;
  }

  .custom_selectbox {
    display: block;
    width: 100%;
  }

  .f_fixed.on,
  .top_fixed.on {
    display: none;
  }

  /* 確認画面 */
  .mw_wp_form.mw_wp_form_confirm.mw_wp_form_preview .btn_area.submit {
    margin-bottom: 60px;
    width: 100%;
    padding: 0 20px;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
  }
  .mw_wp_form.mw_wp_form_confirm.mw_wp_form_preview .btn_area.confirm {
    padding-bottom: 0;
  }
  .btn_area button.confirm,
  .btn_area button.submit,
  .btn_area button.back {
    width: 100%;
  }
  .btn_area button.back {
    margin-bottom: 20px;
  }

  /* 完了ページ */
  #ThanksMessageBox .thanks_title {
    font-size: 2rem;
  }
  #ThanksMessageBox .thanks_message {
    font-size: 1.3rem;
    margin-bottom: 5rem;
    padding: 0 1rem;
  }
  #ThanksMessageBox .btn {
    margin-bottom: 90px;
    width: 90%;
  }
}
@media screen and (max-width: 680px) {
}
@media screen and (max-width: 500px) {
  .title_01 {
    font-size: 4.5vw;
  }
}

@media screen and (-ms-high-contrast: active),
  screen and (-ms-high-contrast: none) {
  .tel_fax_box > span:nth-of-type(2) > span > .tel,
  .tel_fax_box > span:nth-of-type(2) > span > .fax {
    font-family: "メイリオ";
    font-size: 2.6rem;
    align-items: center;
  }
  ul.step_box li > span::before {
    font-family: "メイリオ";
  }
  .table.form-table input[type="text"],
  .table.form-table input[type="email"],
  .table.form-table input[type="tel"],
  .table.form-table select {
    height: 48px;
  }
  .table.form-table .custom_selectbox select::-ms-expand {
    display: none;
  }
}

/* 2021-01-08 ADD */
.spring_form form table:first-of-type,
.extra_form form table:first-of-type {
  border-bottom: none;
}
.table .bdbn {
  border-bottom: none;
}
.mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 0;
}
.mw_wp_form .horizontal-item {
  margin-right: 10px;
}
.spring_form form .caution,
.extra_form form .caution {
  font-size: 1.4rem;
  margin-top: 10px;
}
.spring_form form .caution > span,
.extra_form form .caution > span {
  display: block;
}
.spring_form form .birth,
.extra_form form .birth {
  align-items: flex-end;
}
.spring_form form .birth input[type^="text"],
.extra_form form .birth input[type^="text"],
.extra_form form .hope_box input[type^="text"] {
  height: 50px;
  margin-right: 10px;
}
.spring_form form .birth input[type^="text"],
.extra_form form .birth input[type^="text"] {
  width: 80px;
}
.spring_form form .birth select,
.extra_form form .birth select {
  margin-left: 10px;
  margin-right: 10px;
  max-width: 170px;
}
@media screen and (max-width: 950px) {
  .spring_form form .birth,
  .extra_form form .birth {
    flex-wrap: wrap;
  }
  .spring_form form .birth input[type^="text"],
  .extra_form form .birth input[type^="text"],
  .extra_form form .hope_box input[type^="text"] {
    width: 90%;
    margin-bottom: 10px;
  }
  .spring_form form .birth .custom_selectbox:first-of-type select,
  .extra_form form .birth .custom_selectbox:first-of-type select {
    margin-left: 0;
  }
}
@media screen and (max-width: 767px) {
  .spring_form form .birth .custom_selectbox:first-of-type,
  .extra_form form .birth .custom_selectbox:first-of-type {
    max-width: 180px;
  }
  .spring_form form .birth .custom_selectbox,
  .extra_form form .birth .custom_selectbox {
    max-width: 190px;
  }
}
@media screen and (max-width: 460px) {
  .spring_form form .birth .custom_selectbox:first-of-type,
  .extra_form form .birth .custom_selectbox:first-of-type {
    max-width: 100%;
    margin-bottom: 10px;
  }
  .spring_form form .birth .custom_selectbox,
  .extra_form form .birth .custom_selectbox {
    max-width: 100%;
    width: 90%;
    margin-right: 10px;
  }
  .spring_form form .birth select,
  .extra_form form .birth select {
    max-width: 100%;
    margin-left: 0;
  }
}

.extra_form form .hope_box > div:not(:first-of-type) {
  margin-top: 10px;
}

#form_style .input_flex_box > span.label {
  min-width: 120px;
}
@media screen and (max-width: 767px) {
  #form_style .sp_fb_column {
    flex-direction: column;
  }
}
.university_list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.input_flex_box > span.input_birth {
  display: flex;
  align-items: center;
  flex-direction: row;
}
.input_form {
  margin-bottom: 15px;
  width: 100%;
}
.min_text {
  font-style: normal;
  font-size: 1.4rem;
}
.input_flex_box.birth {
  align-items: flex-end;
}
.input_flex_box.birth select {
  margin: 0 10px;
}
.input_flex_box.birth input:first-child {
  margin-left: 0;
  width: 80px;
  height: 50px;
  margin-right: 10px;
}

#form_style .birth_input {
  display: flex;
}
#form_style .birth_input > div {
  display: flex;
  align-items: flex-end;
}
#form_style .birth_input > div input {
  height: 50px;
  width: 90px;
}
#form_style .birth_input > div span {
  padding: 0 5px;
}

#form_style .input_flex_hope {
  display: flex;
  align-items: flex-end;
}
#form_style .input_flex_hope input {
  height: 50px;
  width: 175px;
  margin-right: 10px;
}
#form_style .input_flex_hope span {
  padding: 0 5px;
}
#form_style .input_flex_hope {
  margin-bottom: 10px;
}
@media screen and (max-width: 767px) {
  #form_style .input_flex_hope .custom_selectbox {
    width: 92px;
  }
}
#form_style .tarm_list .horizontal-item {
  min-width: 262px;
  width: 46%;
  display: inline-block;
}
@media screen and (max-width: 767px) {
  #form_style .tarm_list .horizontal-item {
    margin-bottom: 10px;
  }
}

/* Radio & Checkbox */
.mwform-checkbox-field,
.mwform-radio-field {
  display: inline-block;
}
.mwform-checkbox-field label {
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  letter-spacing: 0;
  position: relative;
}
.mwform-checkbox-field input[type="checkbox"] {
  display: none;
}
.mwform-checkbox-field label > span,
.mwform-radio-field label > span {
  letter-spacing: -1px;
  display: flex;
  margin: auto;
  color: #9c9c9c;
  padding: 12px;
  background-color: #e4e4e4;
  border-radius: 8px;
  width: 100%;
  justify-content: center;
}
.mwform-checkbox-field .active,
.mwform-radio-field .active {
  background-color: #ff6598;
}
.mwform-checkbox-field label > input:checked + span,
.mwform-radio-field label > input:checked + span {
  color: #fff;
  background-color: #001f50;
}
.mwform-checkbox-field label,
.mwform-radio-field label {
  -ms-align-items: flex-start;
  align-items: flex-start;
  padding: 0;
  height: auto;
}
.mwform-radio-field input[type="radio"] {
  display: none;
}
.mwform-radio-field label {
  letter-spacing: 0;
  box-sizing: border-box;
  transition: background-color 0.2s linear;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  line-height: 1.4;
  width: 30%;
  min-width: 130px;
  height: 100%;
  display: inline-flex;
  align-items: center;
}
.mwform-radio-field label > span {
  letter-spacing: -1px;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  line-height: 1;
}
@media screen and (max-width: 500px) {
  .mwform-checkbox-field,
  .mwform-radio-field {
    margin-bottom: 5px;
    margin-top: 5px;
  }
}

.lecture-form .label {
  margin-bottom: 5px;
  display: inline-block;
}
.lecture_wrap .mwform-checkbox-field,
.lecture_wrap .mwform-radio-field {
  margin-bottom: 5px;
  margin-top: 5px;
}
@media screen and (max-width: 500px) {
  .lecture_wrap .mwform-checkbox-field label > span,
  .lecture_wrap .mwform-radio-field label > span {
    font-size: 1.4rem;
  }
}

.trial-form .hope_subject_wrap .label {
  display: block;
}

.spring_form form .spring_select-wrap + .caution span {
  display: inline-block;
}
.spring_select-wrap .mwform-checkbox-field {
  margin-top: 5px;
  margin-bottom: 5px;
}


/*210507追加*/
#mw_wp_form_mw-wp-form-4425 table:first-of-type tr:first-of-type .inputs-wrapper .mwform-radio-field label {
	min-width: 400px;
}
#mw_wp_form_mw-wp-form-4425 table:first-of-type tr:first-of-type span.mwform-radio-field:first-of-type label {
	margin-bottom: 20px;
}
#mw_wp_form_mw-wp-form-4425 table:first-of-type tr:nth-of-type(3n) .inputs-wrapper .mwform-radio-field label {
	min-width: 200px;
}
#mw_wp_form_mw-wp-form-4425 table:nth-of-type(2n) {
	border-top: none;
}
#mw_wp_form_mw-wp-form-4425 table:nth-of-type(2n) th:first-of-type {
    border-top: none;
}
#mw_wp_form_mw-wp-form-4425 table:nth-of-type(2n) td:first-of-type {
    border-top: none;
}
.page-template-default.page.page-id-4435.page-child.parent-pageid-4383.logged-in.admin-bar.customize-support #mw_wp_form_mw-wp-form-4425 .btn_flex.btn_area.submit {
    width: 85%;
}
.page-template-default.page.page-id-4435.page-child.parent-pageid-4383.logged-in.admin-bar.customize-support #mw_wp_form_mw-wp-form-4425 button {
	margin-bottom: 40px;
}
@media screen and (max-width: 626px) {
	#mw_wp_form_mw-wp-form-4425 table:first-of-type tr:nth-of-type(2n) .inputs-wrapper span label {
		margin-bottom: 10px;
	}
}
@media screen and (max-width: 500px) {
	#mw_wp_form_mw-wp-form-4425 table:first-of-type tr:first-of-type .inputs-wrapper .mwform-radio-field label {
		min-width: inherit;
		width: calc(100vw - 4rem);
	}
	#mw_wp_form_mw-wp-form-4425 table:first-of-type tr:first-of-type span.mwform-radio-field:first-of-type label {
		margin-bottom: 0;
	}
	#mw_wp_form_mw-wp-form-4425 table:first-of-type tr:first-of-type .inputs-wrapper .mwform-radio-field label span {
	    line-height: 1.4;
	}
	#mw_wp_form_mw-wp-form-4425 table:first-of-type tr:nth-of-type(2n) .inputs-wrapper span label {
		min-width: 150px;
		margin-bottom: 0;
	}
}