@charset "UTF-8";

*, ::before, ::after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
* {
    padding: 0;
    margin: 0;
}
body {
    font-family:"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic",sans-serif,serif;
	-webkit-box-sizing: border-box;
	color: #323232;
}
textarea{
    font-family:"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic",sans-serif,serif;
    font-size: 16px;
}
input {
    font-family:"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic",sans-serif,serif;
    font-size: 16px;
}
h2 {
    font-size: 16px;
    line-height: 1.3;
    color: #323232;
}
h3 {
    font-size: 14px;
    line-height: 1.3;
    color: #37abe0;
    font-weight: bold;
}
#mf_wrapper {
	margin: 12rem 0 8rem;
	position: relative;
}
#mf_header,#mailformpro {
	margin: 0 auto;
}
#mf_wrapper:before {
	content: '';
	display: block;
	width: 100%;
	max-width: calc(1100px + 3rem);
	height: calc(100% + 5rem);
	background: repeating-linear-gradient(135deg, rgba(246, 232, 204, 1), rgba(246, 232, 204, 1) 2px, transparent 2px, transparent 4.8px );
	border-radius: 20px;
	position: absolute;
	top: -3.5rem;
	left: 50%;
	z-index: -10;
	transform: translateX(-50%);
	border: 1px solid rgb(245 236 217);
}
/* ヘッダー部分 */
#mf_header {
	text-align: center;
	margin-bottom: 2rem;
}
#mf_header h1 {
	font-size: 28px;
	line-height: 1.3;
	font-weight: bold;
	color: white;
	background-color: rgb(0 76 118 / 95%);
	padding: 15px 0;
	position: relative;
	border-radius: 5px;
}
#mf_header h1::before {
	content: '';
	display: block;
	width: 40px;
	height: 100%;
	background: #fff;
	opacity: .3;
	position: absolute;
	top: 0;
	left: 0;
}
/* フォーム本体 */
#mailformpro {
	/* background-color: #F9F9F9; */
	width: 100%;
	box-sizing: border-box;
	margin: auto;
	position: relative;
	z-index:0;
	/* max-width: 700px; */
}
table.mailformpro {
	max-width: 700px;
	width: 100%;
	margin: 30px auto;
	padding: 2rem 0 5rem;
}
table.mailformpro th,
table.mailformpro td {
	display: block;
	width: 100%;
}
table.mailformpro tr th {
	padding-top: 2rem;
}
table.mailformpro tr td {
	padding-top: 0.5rem;
}
/* 項目のスタイル */
table.mailformpro tr th,
table.mailformpro tr td {
	text-align: left;
	font-size: 20px;
	font-weight: 600;
	box-sizing: border-box;
	line-height: 1.2;
}
/* 英語表記部分 */
table.mailformpro tr th p {
	text-align: left;
	font-size: 14px;
	font-weight: normal;
	/* color: #737373; */
	padding: 0.1em 0.2em;
}
table.mailformpro tr th span {
	margin-left: 0.5rem;
	background: #b2cf1b;
	color: white;
	font-size: 16px;
	font-weight: normal;
	padding: 2px 10px;
	border-radius: 3px;
}
table.mailformpro tr td input[type="text"],
table.mailformpro textarea{
	border-radius: 10px;
	border: 1px solid #aebec7;
	height: 50px;
	width: 100%;
}
table.mailformpro input {
    padding-left: 1em;
}
/* プレースホルダー */
input::placeholder {
    color: #a2a2a2;
}
/* テキストボックスの幅を半分に half-widthを付与する */
table.mailformpro tr td input[type="text"].half-width {
	width: calc(50% - 10px);
}
/* 性別　ラジオボタン */
table.mailformpro input[type="radio"] {
    width: 25px;
    height: 25px;
    background: #fff;
    position: relative;
    border: solid #6b6a6a 1px;
    vertical-align: middle;
}
table.mailformpro td input[type="radio"]:not(:first-child){
	margin-left: 25px;
}
/* 住所入力ボタン */
table.mailformpro tr td:has(input[type="button"]) {
	display: flex;
	align-items: center;
	column-gap: .5rem;
}
table.mailformpro input[type="button"] {
	padding: 5px 10px;
	color: #fff;
	background: #fec52e;
	border: 1px solid #fff;
	border-radius: 5px;
}
table.mailformpro input[type="button"]:hover {
	transform: translate(1px, 1px);
	background: rgba(254,197,46,0.6);
	cursor: pointer;
}
/* ご用件 */
table.mailformpro textarea {
	padding: 1em;
}
/* 送信・リセットボタン */
table.mailformpro input[type="submit"],
table.mailformpro input[type="reset"]{
	font-size: 18px;
	font-weight: bold;
	padding: 10px 30px;
	border-radius: 30px;
	border: none;
	color: #ffffff;
	/* margin: 0 10px; */
	cursor: pointer;
	vertical-align: middle;
}
table.mailformpro input[type="submit"]:hover,
table.mailformpro input[type="reset"]:hover {
	opacity: .6;
	transform: translate(2px, 2px);
}
table.mailformpro tr td:has(input[type="submit"]) {
	text-align: center;
	padding-top: 3.5rem;
	display: flex;
	justify-content: center;
	column-gap: 1.4rem;
}
/* 送信ボタン */
table.mailformpro input[type="submit"] {
	background: linear-gradient(135deg, #ffdc44, #ffc123, #ffdc44);
	margin-left: 7vw;
	flex-basis: 65%;
}

.mfp_buttons{
    /* padding-top:1em; */
    text-align:center;
    clear: both;
}

.mfp_buttons button{
    font-size: 16px;
    padding: 12px;
    /* border-radius: 40px; */
    border: none;
    color: #ffffff;
    cursor: pointer;
    vertical-align: middle;
    width: 80%;
    max-width:192px;
    position:relative;
    background-color: #30315A;
    font-weight: bold;
    line-height: 1.6;
}

.mfp_element_submit {
/*    background: linear-gradient(135deg, #ffdc44, #ffc123, #ffdc44);*/
        background:#b2cf2f;
   /* margin-left: 7vw;*/
    flex-basis: 65%;
}


/* リセットボタン */
table.mailformpro input[type="reset"] {
	background-color: #737171;
	font-size: 80%;
	padding: 10px 20px;
}
@media screen and (min-width: 1079px) {
	#mf_header,#mailformpro {
//max-width: 1100px;/* max-width: 700px; */margin-top: 20px;}
	#mf_header h1 {
		font-size: 32px;
	}
	table.mailformpro input {
		padding-left: 30px;
	}
	.mailform dd select {
		padding-left: 30px;
        }
}

@media screen and (min-width: 769px) {

	/* .name_col{
		width:49%!important;
		float:left;
	} */

	.mfp_err:after {
//	        left:14em!important;
        	left:0em!important;
	}

	.mfp_rows .name_col:last-child .mfp_err:after {
//	        left:36em!important;
	        left:0em!important;
	}

	.personal_check .mfp_col10 .mfp_err {
	    left: 34%!important;
	}

	.buttom_yagirushi{
//		right: 8em!important;
	}

}


@media screen and (min-width: 1079px) {
    .buttom_yagirushi {
        //right: 11em !important;
    }
}


@media screen and (max-width: 768px) {
	#mf_wrapper {
		width: auto;
		margin: 6rem 0.6rem 5rem;
	}
	#mailformpro {
		margin-top: 20px;
	}
	#mf_wrapper:before {
		width: calc(100% + 1.3rem);
		height: calc(100% + 3rem);
		top: -2rem;
	}
	#mf_header h1 {
		font-size: 22px;
	}
	#mf_header h1::before {
		width: 20px;
	}
	table.mailformpro tr td:has(input[type="submit"]) {
		column-gap: 0.8rem;
	}
	table.mailformpro input[type="reset"]{
		padding: 6px 10px;
	}
	table.mailformpro input[type="submit"] {
		font-size: 18px;
		flex-basis: 75%;
		margin-left: 0;
	}
	table.mailformpro {
		max-width: 350px;
		padding: 0 0 3rem;
		margin: 0 auto;
	}
	table.mailformpro tr th,
	table.mailformpro tr td {
		font-size: 16px;
	}
	table.mailformpro tr th span {
		font-size: 14px;
	}
	table.mailformpro tr th p {
		font-size: 14px;
	}

/*20240701*/
.cource .mfp_col10{
    width: 100%!important;
}

/* .mfp_col5{
    width:100%!important;
} */
.mfp_col5:nth-child(2){
    margin-right:0!important;
}
.personal_check .mfp_col10 label{
    width:50%!important;
}

.form_progress{
    width:100%!important;
}

#mfp_confirm_table{
    width:100%!important;
}

/*20240701*/

.mailform .select-box::before {
    right: 0;
}

.mfp_buttons button{
   width:100%;
}



}

#mfp_hidden{
    display:none;
}

.mailform {
    /* max-width: 700px; */
    width: 100%;
    margin: 0px auto;
    padding: 2rem 0 0rem;
}

/* 項目のスタイル */
.mailform dt {
	text-align: left;
	font-size: 16px;
	font-weight: 600;
	box-sizing: border-box;
	line-height: 1.2;
    /* padding-top: 2rem; */
    clear: both;
}

.mailform dt span {
	margin-left: 16px;
    display: inline-block;
	background: #30315A;
	color: white;
	font-size: 14px;
	font-weight: normal;
	padding: 7px 12px;
	/* border-radius: 3px; */
}

.mailform dd{
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    box-sizing: border-box;
    line-height: 1.2;
}

/* テキストボックスの幅を半分に half-widthを付与する */
.mailform dd input[type="text"].half-width {
	width: calc(50% - 10px);
}
/* テキスト　ラジオボタン */
.mailform dd input[type="text"] {
    width: 100%!important;
    /* border-radius: 0.25em;
    border: 1px solid #b8b8b8; */
    height: 50px;
    margin-top: 0.5em;
    font-weight:normal;
}

.mailform dd input[type="email"] {
    width: 100%!important;
    /* border-radius: 0.25em; */
    /* border: 1px solid #aebec7; */
    height: 50px;
    margin-top: 0.5em;
}

.mailform dd input[type="tel"] {
    width: 100%!important;
    /* border-radius: 0.25em;
    border: 1px solid #aebec7; */
    height: 50px;
    margin-top: 0.5em;
}

.mailform dd input[type="num"] {
    width: 100%!important;
    /* border-radius: 0.25em;
    border: 1px solid #aebec7; */
    height: 50px;
    margin-top: 0.5em;
}

.mailform dd input[type="number"] {
    width: 100%!important;
    /* border-radius: 0.25em;
    border: 1px solid #aebec7; */
    height: 50px;
    margin-top: 0.5em;
    text-align: unset !important;
}

.hide-spin::-webkit-inner-spin-button,
.hide-spin::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance:textfield;
}

.mailform dd select {
    width: 100% !important;
    /* border-radius: 0.25em;
    border: 1px solid #aebec7; */
    height: 50px;
    margin-top: 0.5em;
    /* background:white; */
    background: #F3F3F3;
    color:black;
    -webkit-appearance: none;
}

.mailform dd textarea {
    width: 100%!important;
    border-radius: 0.25em;
    border: 1px solid #aebec7;
    height: 50px;
    margin-top: 0.5em;
    padding: 0.5em;
}

dl.mailform.tel .mfp_col10,
dl.mailform.address li{
    display: flex;
    align-items: center;
}
@media screen and (max-width: 767px){
    dl.mailform.tel .mfp_col10{
        gap: 8px;
    }
    dl.mailform.address li{
        display: grid;
    }
}
dl.mailform.tel .mfp_col10 .adress_title{
    width: 85px;
    font-weight: normal;
}
dl.mailform .address li dt{
    max-width: 150px;
    min-width: 160px;
}

.mfp_err{
//    color:red;
//   font-size:16px;

    display:none;
    color: white;
//    font-size: 16px;
    font-weight: normal;
    font-size: 12px;
    background: red;
    padding: 0.5em;
    margin-top:1em;
    z-index:100;
    position:absolute;
    margin-top:-2em;
}

.mfp_err#errormsg_資料,
.mfp_err#errormsg_性別{
    margin-top: -3em;
}

.mailform.address .mfp_err{
    margin-top: -0.5em;
}

.mailform.tel .mfp_err{
    margin-top: -6em;
    /* margin-left: 6.7em; */
}

.mfp_err#errormsg_学年{
    margin-top: -6em;
    margin-left: 4.7em;
}

.mfp_err#errormsg_confirm_email{
    margin-top: -1em;
}

@media screen and (max-width: 767px){
    .mfp_err#errormsg_資料,
    .mfp_err#errormsg_性別{
        margin-top: -2.25em;
    }

    .mfp_err#errormsg_学年{
        margin-top: -4em;
        margin-left: 4.2em;
    }
}

.mfp_col5{
    float:left;
//    padding-right:2em;
}

.prefcodeResult{
//    display: block;
    display: none!important;
    font-size: 15px;
    font-weight: normal;
    padding-left: 1em;
    //padding-top: 0.5em;
    width:980px;
}

/* 確認画面 */
#mfp_phase_confirm{
    /* max-width: 700px; */
    width: 100%;
//    margin: 30px auto;
    margin: 0 auto;
}

#mfp_phase_confirm_inner{
    /* background-color: #f8f8f9; */
    width: 100%;
    box-sizing: border-box;
    margin: auto;
    position: relative;
}

#mfp_phase_confirm h4{
    /* padding: 2em 0 0 0; */
    /* font-size:20px; */
    /* text-align:center; */
    border: none;
}

#mfp_confirm_table {
    margin: 0 auto;
}
#mfp_confirm_table th {
    margin-right:1em;
}

/* #mfp_phase_confirm_inner .mfp_buttons{
    padding-bottom:2em;
} */

/*#mfp_button_send{
    background: #b2cf2f;
    background: linear-gradient(135deg, #ffdc44, #ffc123, #ffdc44);
}*/
#mfp_button_cancel{
    color: #30315A;
    border: solid 2px #30315A;
    background-color: #fff;
    margin-right: 16px;
}

@media screen and (max-width: 767px){
    #mfp_button_cancel{
        margin-right: 0;
        margin-bottom: 12px;
    }
}

/* 確認画面 */

#mfp_warning{
    text-align:center;
    color:red;
}

/* 性別　ラジオボタン */
.mailform dd input[type="radio"] {
    width: 25px;
    height: 25px;
    background: #fff;
    position: relative;
    border: solid #6b6a6a 1px;
    vertical-align: middle;
    margin-left:0.5em;
    margin-right:1em;
}

.mailform dd input[type="radio"]:not(:first-child){
// 20240701
//	margin-left: 25px;
}

.mfp_achroma{
    
}

body {
    font-family:"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic",sans-serif,serif;
	-webkit-box-sizing: border-box;
	color: #323232;
}
textarea{
    font-family:"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic",sans-serif,serif;
    font-size: 16px;
}
input {
    font-family:"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic",sans-serif,serif;
    font-size: 16px;
}
h2 {
    font-size: 16px;
    line-height: 1.3;
    color: #323232;
}
h3 {
    font-size: 14px;
    line-height: 1.3;
    color: #37abe0;
    font-weight: bold;
}

@media screen and (min-width: 1079px) {
	#mf_header,#mailform {
		max-width: 1100px;
	}
	#mf_header h1 {
		font-size: 32px;
	}
	.mailform input {
		padding-left: 30px;
	}

                /* #mfp_phase_confirm{
		max-width: 1100px;
        } */
	.personal_check .mfp_err{
	    left: 37%!important;
	}
}


.name_col{
	width:47%;
	float:left;
    margin-right: 0.3em;

}

.mfp_rows:has(.name_col) {
	display: flex;
	gap: 16px;
}
.mfp_rows:has(.name_col) .name_col {
	flex: 1;
    width: 50%;
    margin-right: unset;
}

.mfp_rows:has(.mfp_col5) {
	display: flex;
	gap: 16px;
}
.mfp_rows:has(.mfp_col5) .name_col {
	flex: 1;
    margin: unset;
}

@media screen and (max-width: 767px){
    dl.mailform.school_year .mfp_rows{
        flex-wrap: wrap;
        column-gap: 16px;
        row-gap: 0;
    }
    dl.mailform.school_year .mfp_rows:before{
        content: "";
        order: 3;
        flex-basis: 100%;
    }
    dl.mailform.school_year .mfp_col10{
        order: 4;
    }
}

input{
    padding-left: 0.5em;
}

select{
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif, serif;
    font-size: 16px;    padding-left: 1em;
}

/* フォームの元々のCSS */
/* div#mf_wrapper {
	width: 640px;
	text-align: left;
	margin: 0px auto;
}
div#mf_header h1 {
	font-size: 24px;
	border-bottom: solid 1px #999;
	margin: 0px;
	padding: 0px;
}
div#mf_header h2 {
	font-size: 16px;
	color: #999;
	font-weight: normal;
	margin: 0px;
	padding: 0px;
}
form#mailformpro {
	padding: 5px;
}
table.mailformpro {
	width: 100%;
	box-sizing: border-box;
}
table.mailformpro tr th,table.mailformpro tr td {
	text-align: left;
	font-weight: normal;
	border-bottom: solid 1px #999;
	padding: 7px 5px 7px 5px;
	box-sizing: border-box;
}
table.mailformpro tr th {
	width: 150px;
}
table.mailformpro tr th span {
	color: #C00;
	font-size: 10px;
}
table.mailformpro tr th p {
	margin: 0px;
	padding: 0px;
	font-size: 10px;
	color: #999;
}
table.mailformpro tr td textarea {
	max-width: 100%;
	width: 100%;
	height: 120px;
	box-sizing: border-box;
}


@media screen and (max-width: 800px) {
	div#mf_wrapper {
		width: auto;
		max-width: 100%;
	}
	table.mailformpro,table.mailformpro tbody,table.mailformpro tbody tr {
		border-spacing: 0px;
		border-collapse: collapse;
		display: block;
		width: auto;
		max-width: 100%;
	}
	table.mailformpro tr th,table.mailformpro tr td {
		display: block;
		width: auto;
		max-width: 100%;
		padding: 0px;
		box-sizing: border-box;
	}
	table.mailformpro tr th {
		border: none;
		padding: 7px 5px 2px 5px;
	}
	table.mailformpro tr th p {
		display: inline-block;
	}
	table.mailformpro tr th span {
		display: inline-block;
		margin: 0px 3px;
	}
	table.mailformpro tr td {
		padding: 2px 5px 7px 5px;
	}
	table.mailformpro tr td textarea,
	table.mailformpro tr td input,
	table.mailformpro tr td select {
		max-width: 100%;
		box-sizing: border-box;
	}

}
 */

.cource .mfp_col10{
    width: 49%;
    float: left;
    margin-right: 0.5em;
/*
    margin: 0.25em 0.5em 0.25em 0;
    padding: 0.5em;
    border: 1px solid #b8b8b8;
    border-radius: 0.25em;
    margin: 0.25em 0.5em 0.25em 0;
    background:white;
*/
}

.cource .mfp_col10:nth-child(even){
    margin-right:0;
}


.personal_check .mfp_col10{
    text-align:center;
    display:flex;
}

.personal_check .mfp_col10 label{
    width: 30%;
    display:block;
    padding: 0.75em;
    border: 1px solid #b8b8b8;
    border-radius: 0.25em;
    /* margin: 0.25em 0.5em 0.25em 0; */
    margin: 0 auto;
    background:white;

    margin-top: 0.5em;
}


 .personal_check .mfp_col10 .mfp_err:after {
        left: 44% !important;
    }

.mfp_err:after{
  content: "";
  position: absolute;
  left: 1em;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: red transparent transparent transparent;
  border-width: 36px 20px 0 20px;
  z-index:-1;
}

.mfp_rows .name_col:last-child .mfp_err:after {
//        left:12em;
}

.mfp_col5{
   width: fit-content;
/* margin-right: 0.5em; */
}

.mfp_col5:last-child{
    margin-right:0;
}

.personal_txt{
    font-size:14px;
    padding:1em 0;
    font-weight: normal;
    text-align: left;
//    font-weight:bold;
}


.cnt_area section:first-child{
    background:#f8f8f9;
}

.mfp_col5  label,
.mfp_col10 label{
    width: 100%;
    font-size: 16px;
    /* float: left; */
    padding-right: 2em;
    font-weight: normal;
    /* float: left; */
    padding: 0.5em;
    /* border: 1px solid #b8b8b8; */
    /* border-radius: 0.25em; */
    margin: 0.25em 0.5em 0.25em 0;
    /* background: white; */
}

.age_inp{
    width:8em;
}

.post_inp{
    width:8em!important;
}

.form_progress{
    /* width: 580px; */
    /* text-align:center; */
    margin: 0 auto;
    font-weight: bold;
    font-size: 16px;
}

.form_progress span{
	font-weight: normal;
	margin-bottom: 15px;
	display: block;
}

.mfp_thanks{
    text-align:center;
}

#mailform{
    margin:0 auto;
}

.form main{
    background: #f8f8f9;
}

#mfp_confirm_table{
    width:100%;
}

#mfp_confirm_table tr{
    text-align:left;    
    padding: 0.5em;
    border-bottom:1px solid #E1E1E1;
    padding: 24px 0;
    display: grid;
    grid-template-columns: 20% 80%;
    align-items: center;
}

@media screen and (max-width: 767px){
    #mfp_confirm_table tr{
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

#mfp_confirm_table th{
    /* margin-right: 1em;
    margin-top: 1em;
    padding-top: 1.5em;
    padding-bottom: 1.5em; */
    font-weight:bold;
}

#mfp_confirm_table td{
    background-color: #F3F3F3;
    padding: 10px 16px;
}

#mfp_confirm_table{
    /* margin-top:2em; */
    margin-bottom:40px;
}

.form .copyright{
    text-align:center;
}

/* .mfp_checked{
    background:#ebf3c4!important;
} */



.mfp_col5  input[type="radio"],
.mfp_col10 input[type="radio"] {
   display:none;
}

.mfp_col5  label,
.mfp_col10 label {
  cursor: pointer;
//  padding-left: 30px;
  padding:1em 0 1em 45px;
  position: relative;
}

.mfp_col5 label,
.mfp_col10 label{
    display: flex;
    align-items: center;
    padding: 0;
    gap: 16px;
}

.mfp_col5  label::before,
.mfp_col5  label::after,
.mfp_col10 label::before,
.mfp_col10 label::after {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
}


.mfp_col10 label::before{
    border-radius: unset;
}

.mfp_col5  label::before,
.mfp_col10 label::before {
  background-color: #fff;
  border: 1px solid #898989;
  height: 20px;
  width: 20px;
  flex-shrink: 0;
}

.mfp_col5 label::before,
.mfp_col10 label::before{
    position: relative;
    transform: unset;
    top: unset;
    display: inline-block;
}

/* .mfp_col5  label::after,
.mfp_col10 label::after {
  background-color:  #b2cf2f;
  opacity: 0;
  height: 14px;
  width: 14px;
  left: 18px;
} */

.mfp_col5  .mfp_checked::after,
.mfp_col10 .mfp_checked::after {
  opacity: 1;
}

/* .mfp_col5  .mfp_checked::before,
.mfp_col10 .mfp_checked::before {
  border: 1px solid #b2cf2f;
} */



.cnt_area{
    padding-bottom:0px;
}

.personal_check label {
  cursor: pointer;
  padding-left: 30px;
  position: relative;
}

.personal_check label::before,
.personal_check label::after {
  content: "";
  display: block; 
  position: absolute;
}

.personal_check label::before {
  background-color: #fff;
  border-radius: 0%;
  border: 1px solid #ddd;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  top: 50%;
  left: 1em;
}

.personal_check label::after {
     border-bottom: 5px solid #b2cf3c;
    border-left: 5px solid #b2cf3c;
    height: 11px;
    width: 26px;
    transform: rotate(-45deg);
    top: 0.5em;
    left: 1em;
    background: none;
    border-radius: 0;
}

.mfp_checked:has(input[type="radio"]):before{
    background-color: #30315A;
}

.mfp_checked:has(input[type="checkbox"]):after{
	border-bottom: 5px solid #30315A;
    border-left: 5px solid #30315A;
    height: 11px;
    width: 26px;
    transform: rotate(-45deg);
    inset: 0;
    background: none;
    border-radius: 0;
}

@media screen and (max-width: 496px) {
    .mfp_checked:has(input[type="checkbox"]):after{
        top: 8px;
    }
}

.mfp_rows personal_check + .mfp_checked::after {
  opacity: 1;
}

.personal_check label input[type="checkbox"] {
   display:none;
}

.personal_check .mfp_err{
    left:17%;
}

.mailform .select-box{
//    background:white;

}


.mfp_rows .select-box::before {
    content: "▼";
    color: #8d8d8d;
    position: absolute;
    height: 50px;
    width: 50px;
    line-height: 5em;
    font-size: 12px;
    right: 0;
    text-align: center;
    box-sizing: border-box;
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* .adress_title{
    margin-top:1.5em;
} */

.form_address .mfp_rows .select-box::before{
    margin-top: 3em;
}

.address_hr{
    border:none;
    border-bottom: 1px dashed var(--color-blue);
    margin: 2.7em 1px 1em 1px;
}


.buttom_yagirushi {
  display: inline-block;
  vertical-align: middle;
  color: #FFF;
  line-height: 1;
  position:absolute;
  width: 0.5em;
  height: 0.5em;
  /* margin-top: 0.5em; */
  transform: translateX(-25%) rotate(45deg);
  right:30px;
  top: 27px;
}

.buttom_yagirushi::before, .buttom_yagirushi::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 0.1em;
}

.buttom_yagirushi::before {
  top: 0;
  left: 0;
  right: 0;
  height: 0.1em;
}

.buttom_yagirushi::after {
  top: 0;
  right: 0;
  bottom: 0;
  width: 0.1em;
}

#mfp_contact{
  width:100%!important;
  height:5em!important;
}

/* ▼ jQuery UI autocompleteの見た目調整（縦並び・スクロール・スマホ対応） */
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    font-size: 16px;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ccc;
  }
  
  .ui-menu-item {
    display: block !important;
    padding: 8px 12px;
    cursor: pointer;
  }
  
  .ui-menu-item:hover {
    background-color: #eee;
  }

/* ハニーポット（ボット対策の隠し欄） */
.mfp_hp_wrap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* 大学院大学調整css */
dl.mailform {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    padding: 24px 0;
    border-bottom: 1px solid #E1E1E1;
}
dl.mailform.school_year .mfp_col10{
    font-weight: normal;
    display: flex;
    align-items: center;
    flex: 1;
}
dl.mailform dt {
    width: 20%;/* ラベルの幅 */
    min-width: 200px;
    box-sizing: border-box;
    /* padding: 16px 20px; */
    display: flex;
    align-items: center;
}
dl.mailform dd {
    width: 100%;          /* 入力欄の幅 */
    box-sizing: border-box;
    /* padding: 16px 20px; */
    margin: 0;           /* dd の初期の左余白を消す */
}
dl.mailform.school_year .mfp_rows{
    align-items: center;
}
dl.mailform.school_year .mfp_col10 span{
    width: 60px;
}
dl.mailform dd li{
    margin-bottom: 24px;
}
dl.mailform .mfp_rows:has(.adress_title):first-of-type{
    margin-bottom: 24px;
}
dl.mailform dd li:last-child{
    margin-bottom: 0;
}
/* 入力欄がない hidden 項目（氏名・ご住所）は場所を取らない */
dl.mailform > input[type="hidden"] {
    display: none;
    width: 0;
}
/* ボタンやハニーポットは全幅で、横並びから外す */
dl.mailform > .mfp_buttons,
dl.mailform > .mfp_hp_wrap {
    width: 100%;
}
@media screen and (max-width: 767px){
    dl.mailform > dt{
        margin-bottom: 15px;
    }
}

@media screen and (min-width: 768px) {
   dl.mailform{
    flex-wrap: nowrap;
   } 
}

/* 確認画面の「住所」「電話番号」を、項目名と値の別枠に組み替えるcss調整 */
#mfp_confirm_table tr:has(.mfp_confirm_sub){
    align-items: baseline;
}

#mfp_confirm_table td:has(.mfp_confirm_sub){
    background-color: unset;
    padding: 0;
}

#mfp_confirm_table td dl{
    display: grid;
    grid-template-columns: 10% 90%;
    margin-bottom: 16px;
    align-items: center;
}

#mfp_confirm_table td dl:last-child{
    margin-bottom: 0;
}

#mfp_confirm_table td dd{
    background-color: #F3F3F3;
    padding: 10px 16px;
}

@media screen and (max-width: 767px){
    #mfp_confirm_table td dl{
       grid-template-columns: 1fr;
       gap: 8px; 
    }
}