@charset "UTF-8";

/*body {
	overflow-x: hidden;
}*/
div#mf_hidden {
	overflow: hidden;
	width: 1px;
	height: 1px;
	padding: 0px;
	margin: 0px;
}
div#mf_hidden input {
	margin: 10px;
}
div.mf_thanks {
	padding: 30px;
}
div.mf_thanks p {
	line-height: 1.7em;
}
div.mf_thanks ul.mf_caution {
	margin: 0px;
	padding: 0px;
}
div.mf_thanks ul.mf_caution li {
	display: block;
	color: #C00;
	margin: 0px;
	padding: 5px 0px;
}
div#mf_thanks {
	text-align: center;
	font-size: 18px;
	padding: 20px 0px;
}
div#mf_thanks strong {
	color: #C00;
	font-size: 24px;
}
form#mailform {
	padding: 10px 0px;
        padding-top: 200px;
        margin-top: -200px;
}
form#mailform dl dt {
/*	float: left;*/
	width: 160px;
	clear: both;
/*	font-size: 12px;*/
	padding: 10px 0px;
/*	text-align: right;*/
	border-top: solid 1px #CCC;
	margin: 0px;
}
form#mailform dl dt.dt_stl{
    padding-right: 55px;
}
form#mailform dl dd {
	border-top: solid 1px #CCC;
	margin: 0px;
	padding: 10px 5px 20px 170px;
/*	font-size: 12px;*/
	line-height: 1.5em;
	text-align: left;
}
form#mailform dl dd ul,form#mailform dl dd ol {
	margin: 0px;
	padding: 0px;
}
form#mailform dl dd ul li,form#mailform dl dd ol li {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

form#mailform .must {
    color: var(--col_red);
    left: 0;
    margin-right: 10px;
    border-radius: 20px;
    letter-spacing: .2em;
    height: 1.8em;
    line-height: 1.8em;
}
form#mailform dt.no_must {
/*    margin-left: 57px;*/
}
form#mailform .optionally {
	display: block;
	background-color: #06C;
	border: solid 2px #06C;
	text-shadow: 0px 1px 2px #933;
	padding: 2px 5px;
	font-size: 10px;
	color: #FFF;
	float: left;
	margin: 0px 5px;
	border-radius: 4px;
	box-shadow: 0px 0px 5px #CCC;
	background-image: url(_images/mf_header.png);
	background-size: 100% 100%;
}
form#mailform label {
	border-radius: 3px;
	margin: 3px;
	display: inline-block;
	white-space: nowrap;
}
form#mailform label.lbl_tsusho{
    width: 83%;
}
form#mailform label.lbl_keikaku{
    width: 30%;
}
form#mailform label.lbl_shien{
    width: calc(83% - 30%);
}
form#mailform label.lbl_jidou{
    width: 30%;
}
form#mailform label.lbl_group{
    
}
form#mailform label.mf_checked {
	padding: 3px;
	border: solid 1px #CCC;
	background-color: #E8EEF9;
	box-shadow: 0px 1px 3px #CCC inset;
}
form#mailform label.mf_not_checked {
	padding: 3px;
	border: solid 1px #EEE;
}
table#mf_confirm_table {
	border-spacing: 0px;
	border-collapse: collapse;
	width: 100%;
}
table#mf_confirm_table tr.mf_colored {
	background-color: #F6F7F9;
}
table#mf_confirm_table tr.mf_achroma {
	background-color: #FFF;
}
table#mf_confirm_table tr th,table#mf_confirm_table tr td {
	text-align: left;
	font-size: 12px;
	border-top: solid 1px #CCC;
	padding: 5px 10px;
}
table#mf_confirm_table tr th {
	white-space: nowrap;
	width: 200px;
}
table#mf_confirm_table tr td {
	line-height: 1.5em;
	word-break: break-all;
}
div#mf_phase_confirm {
	clear: both;
}
div#mf_phase_confirm h4 {
	font-size: 36px;
	padding: 10px 0px 0px 0px;
	text-align: center;
}
div#mf_phase_confirm div#mf_phase_confirm_inner {
}
div#mf_overlay {
	position: absolute;
	display: none;
	z-index: 10001;
}
div#mf_overlay_inner {
	background-color: #FFF;
	padding: 15px;
	margin: 0px auto;
	border-radius: 5px;
	box-shadow: 0px 0px 10px #000;
	width: 640px;
	max-width: 90%;
}
div#mf_overlay_background {
	background-color: #000;
	position: absolute;
	display: none;
	z-index: 10000;
}
div#mf_loading_screen {
	z-index: 20000;
	opacity: 0.8;
	display: none;
	background-color: #000;
	position: absolute;
}
div#mf_loading {
	z-index: 20001;
	position: absolute;
	display: none;
	width: 40px;
	height: 40px;
	background-image: url(_images/mf_loading.gif);
}
.mf_colored {
	background-color: #F6F7F9;
}
.mf_achroma {
	background-color: #FFF;
}
div.mf_err {
	clear: both;
	display: none;
	text-align: left;
	margin: 5px 0px 0px 0px;
	padding: 3px 0px 5px 17px;
	color: #F00;
	font-size: 12px;
	line-height: normal;
	background-image: url(_images/mf_error.gif);
	background-repeat: no-repeat;
	background-position: 0px 1px;
}
.mf_parent_error {
	border: solid 2px #F00;
}
form#mailform　.problem {
	background-color: #FCC;
}
div#mf_error {
	background-color: #FEE;
	border: solid 1px #F00;
	padding: 10px;
	display: none;
}
div#mf_error p {
	padding: 0px;
	margin: 0px;
	font-size: 14px;
	text-align: center;
}
div#mf_error p strong {
	font-size: 18px;
	color: #F00;
}
form#mailform .error_area{
    color: red;
    margin-bottom: 60px;
}
div#mf_warning {
	background-color: #FEE;
	border: solid 1px #F00;
	padding: 10px;
	display: none;
	border-radius: 5px;
}
div#mf_warning p {
	padding: 0px;
	margin: 0px;
	font-size: 14px;
	text-align: center;
}
div#mf_warning p strong {
	font-size: 18px;
	color: #F00;
}
div#mf_price {
	color: #C00;
	font-size: 36px;
	padding: 10px;
	font-weight: bolder;
}
div#mf_price span {
	color: #666;
	font-size: 12px;
	font-weight: normal;
}
button.mf_next,button.mf_prev {
	font-size: 18px;
	margin: 10px;
	padding: 5px 10px;
}
button.mf_next {
	float: right;
}
button.mf_prev {
	float: left;
}
ul#mf_phase_stat {
	padding: 10px;
	text-align: center;
}
ul#mf_phase_stat li {
	display: inline-block;
	padding: 8px 15px;
	border-radius: 5px;
	margin: 0px 5px;
	list-style: none;
	font-size: 14px;
}
ul#mf_phase_stat li.mf_phase_arrow {
	box-shadow: none;
	color: #999;
	padding: 8px 0px;
}
ul#mf_phase_stat li.mf_active_phase {
	box-shadow: 0px 1px 6px #000;
	background-image: url(_images/mf_header.png);
	background-size: 100% 100%;
	background-color: #0068B7;
	border: solid 2px #0068B7;
	font-weight: bolder;
	color: #FFF;
	text-shadow: 0px 1px 3px #000;
}
ul#mf_phase_stat li.mf_inactive_phase {
	background-image: url(_images/mf_header.png);
	background-size: 100% 100%;
	background-color: #EEE;
	border: solid 2px #EEE;
	color: #999;
	box-shadow: 0px 1px 6px #CCC;
}
div#mf_shopping_cart {
	border: solid 1px #CCC;
	margin: 0px;
	padding: 0px;
}
div#mf_shopping_cart p {
	margin: 0px;
	text-align: center;
	padding: 20px 10px;
	font-size: 12px;
	background-color: #FEE;
}
table.mf_shoppingcart {
	border-spacing: 0px;
	border-collapse: collapse;
	width: 100%;
}
table.mf_shoppingcart thead tr td {
	background-color: #EEE;
	border-bottom: solid 1px #CCC;
	text-align: center;
	font-size: 12px;
	padding: 5px;
}
table.mf_shoppingcart tbody tr th,table.mf_shoppingcart tbody tr td {
	font-size: 12px;
	padding: 5px;
	border-bottom: solid 1px #CCC;
}
table.mf_shoppingcart tbody tr td select {
	display: block;
	margin: 0px auto;
	text-align: center;
}
table.mf_shoppingcart tbody tr td select option {
	text-align: center;
}
table.mf_shoppingcart tbody tr th span {
	display: block;
	font-weight: normal;
	font-size: 10px;
	color: #666;
	padding: 3px 0px;
}
table.mf_shoppingcart tfoot tr td {
	padding: 5px;
	font-size: 16px;
	font-weight: bolder;
	color: #900;
}
form#mailform td.msc_price {
	font-size: 12px;
	text-align: right;
}
div.mf_buttons {
	clear: both;
	padding: 10px 0px;
	text-align: center;
}
div.mf_buttons button#mf_button_send {
}
div.mf_buttons button#mf_button_cancel {
}
form#mailform .imagebutton {
	margin: 0px;
	padding: 0px;
	border: none;
	outline: none;
	background: none;
}
.mf_element_all {
	max-width: 90%;
}
.mf_element_text,
.mf_element_number,
.mf_element_select-one,
.mf_element_email,
.mf_element_tel,
.mf_element_textarea,
.mf_element_date
.mf_element_password {
	border: solid 1px #aaa;
	padding: 3px 8px;
	margin: 2px;
	vertical-align: middle;
        max-width: 100%;
        width: 100%;
/*        filter: drop-shadow(2px 2px 2px rgba(80,80,80,0.6));*/
}
.mf_element_checkbox,
.mf_element_radio {
/*	vertical-align: middle;*/
	margin: 0px 2px;
}
.mf_element_checkbox{
    transform: scale(2);
    margin-right: 1em;
}
.mf_element_file {
	font-size: 12px;
	display: inline-block;
	padding: 10px 10px;
	vertical-align: middle;
	border: solid 1px #CCC;
	border-radius: 3px;
	box-shadow: 0px 0px 5px #CCC inset;
	background: #EEE;
}
.mf_element_submit,.mf_element_reset,.mf_element_button,button.mf_next,button.mf_prev {
	border-radius: 5px;
	padding: 5px 10px;
	border: solid 1px #CCC;
	background: gradient(linear, center top, center bottom, from(#EEE), to(#CCC));
	background: -webkit-gradient(linear, center top, center bottom, from(#EEE), to(#CCC));
	background: -moz-linear-gradient(top, #EEE, #CCC);
	background: -ms-linear-gradient(top, #EEE 0%, #CCC 100%);
	text-shadow: 0px 2px 0px #FFF;
	font-size: 18px;
	cursor: pointer;
	outline: none;
}
.mf_element_reset {
	color: #333;
}
.mf_element_submit:hover,.mf_element_reset:hover,.mf_element_button:hover,button.mf_next:hover,button.mf_prev:hover {
	background: gradient(linear, center top, center bottom, from(#FFF), to(#CCC));
	background: -webkit-gradient(linear, center top, center bottom, from(#FFF), to(#CCC));
	background: -moz-linear-gradient(top, #FFF, #CCC);
	background: -ms-linear-gradient(top, #FFF 0%, #CCC 100%);
	box-shadow: 0px 2px 15px #CCC;
}
button.mf_next,button.mf_prev {
	font-size: 14px;
}
input#mf_reserve_item,input#mf_reserve_date {
	display: none;
}
div#mf_reserve_wrapper {
	position: relative;
	overflow: hidden;
	border: solid 1px #CCC;
}
div#mf_reserve_inner {
	position: relative;
	padding: 0px 0px 0px 100px;
	overflow: auto;
}
div#mf_reserve_wrapper table {
	border-spacing: 0px;
	border-collapse: collapse;
}
div#mf_reserve_wrapper table.mf_reserve_table_label {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100px;
	background-color: #FEE;
	z-index: 100;
}
div#mf_reserve_wrapper table.mf_reserve_table_value {
	padding: 0px 0px 0px 0px;
}
div#mf_reserve_wrapper table.mf_reserve_table_value tr td.mf_reserve_active,
div#mf_reserve_wrapper table.mf_reserve_table_value tr td.mf_reserve_warning {
	cursor: pointer;
}
div#mf_reserve_wrapper table.mf_reserve_table_value tr td.mf_reserve_active:hover,
div#mf_reserve_wrapper table.mf_reserve_table_value tr td.mf_reserve_warning:hover {
	background-color: #E8EEF9;
}
div#mf_reserve_wrapper table.mf_reserve_table_value tr td.mf_reserve_current {
	background-color: #0068B7;
	color: #FFF;
}
td.mf_reserve_disabled {
	background-color: #CCC;
}
td.mf_reserve_warning {
	background-color: #FFC;
}
div#mf_reserve_wrapper table tr td,div#mf_reserve_wrapper table tr th {
	border: solid 1px #CCC;
	padding: 0px 5px;
	font-size: 12px;
	text-align: center;
	font-family: Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	font-weight: normal;
	height: 20px;
	text-align: left;
}
td.mf_reserve_week_0 {
	color: #F00;
	background-color: #FEE;
}
td.mf_reserve_week_6 {
	color: #00F;
	background-color: #EEF;
}
div.mf_ok {
	border-radius: 5px;
	background-color: #090;
	border: solid 1px #090;
	display: inline-block;
	line-height: 1.5em;
	padding: 0px 5px;
	margin: 0px 2px;
	color: #FFF;
	font-size: 10px;
	background-image: url(_images/mf_header.png);
	background-size: 100% 100%;
	display: none;
}
form#mailform div.prefcodeWrapper {
	position: relative;
}
form#mailform div.prefcodeResult {
	position: absolute;
	top: 0px;
	left: 0px;
	padding: 5px;
	border: solid 1px #CCC;
	background-color: #FFF;
	box-shadow: 0px 0px 5px #CCC;
	display: none;
}
form#mailform div.prefcodeResult div {
	cursor: pointer;
}
form#mailform div.prefcodeResult div:hover {
	background-color: #C9EBFB;
}
form#mailform div.prefcodeResult div.prefcodeNext {
	background-color: #EEE;
	text-align: center;
}
form#mailform div.prefLoading {
	padding: 60px 100px;
	background: url(_images/mf_zip_loading.gif) no-repeat center center;
}
form#mailform .hidefield {
	height: 0px;
	overflow: hidden;
}
form#mailform .showfield {
	height: auto;
	overflow: visible;
}
div.mf_attached_thumbnails {
	display: none;
	padding: 5px;
	margin: 5px auto;
	border: solid 1px #CCC;
	border-radius: 3px;
	box-shadow: 0px 0px 5px #CCC inset;
	background: #EEE;
}
div.mf_attached_thumbnails ul {
	margin: 0px;
	padding: 0px;
}
form#mailform dl dd div.mf_attached_thumbnails ul li {
	display: inline-block;
	vertical-align: top;
	padding: 0px;
	border: solid 4px #FFF;
	margin: 5px;
	box-shadow: 0px 2px 5px #999;
}
form#mailform dl dd div.mf_attached_thumbnails ul li a {
	display: block;
	max-height: 100px;
	overflow: hidden;
}
div.mf_attached_thumbnails ul li a img {
	display: block;
	max-width: 80px;
}
button.mf_attached_reset {
	font-size: 14px;
}
div.mf_guide {
	position: relative;
	width: 1px;
	height: 1px;
}
div.mf_guide div {
	position: absolute;
	bottom: 0px;
	left: 0px;
	margin-top: -2em;
	white-space: nowrap;
	border-radius: 5px;
	padding: 5px 10px;
	line-height: 1em;
	font-size: 12px;
	color: #FFF;
	font-weight: bolder;
	background: #F00;
	display: none;
}
.mf_ok {
	background-color: rgba(0,255,0,0.2);
}
.mf_ng {
	background-color: rgba(255,0,0,0.2);
}
div#mf_OperationCheck {
}
div#mf_OperationCheck div#mf_OperationCheck_inner {
	display: none;
}
div#mf_OperationCheck strong {
	background: #090;
	display: block;
	color: #222;
	text-align: center;
	border-radius: 3px;
}
div#mf_OperationCheck * {
	padding: 0px;
	margin: 0px;
	font-size: 12px;
}
div#mf_OperationCheck p {
	padding: 0px 5px;
	margin: 0px;
	font-size: 12px;
}
div#mf_OperationCheck p a {
	color: #0C0;
	text-decoration: none;
}
div#mf_OperationCheck p a:hover,
div#mf_OperationCheck p button:hover {
	text-decoration: underline;
}
div#mf_OperationCheck p button {
	border: none;
	background: none;
	color: #0C0;
	cursor: pointer;
}
div#mf_OperationCheck div#mf_OperationCheck_inner ul {
}
div#mf_OperationCheck ul li,
div#mf_OperationCheck ul li label,
div#mf_OperationCheck ul li label input {
	line-height: 12px;
	font-size: 12px;
	list-style: none;
	vertical-align: middle;
}
div#mf_OperationCheck ul li {
	padding: 5px 10px;
}
div#mf_OperationCheck ul li label {
	text-decoration: underline;
}
button#mf_recorder_record,
button#mf_recorder_clear,
button#mf_recorder_restore {
	border-radius: 5px;
	padding: 5px 10px 5px 2em;
	border: solid 1px #CCC;
	background: gradient(linear, center top, center bottom, from(#EEE), to(#CCC));
	background: -webkit-gradient(linear, center top, center bottom, from(#EEE), to(#CCC));
	background: -moz-linear-gradient(top, #EEE, #CCC);
	background: -ms-linear-gradient(top, #EEE 0%, #CCC 100%);
	text-shadow: 0px 2px 0px #FFF;
	font-size: 16px;
	cursor: pointer;
	outline: none;
	display: inline-block;
	margin: 5px auto;
}
button#mf_recorder_record {
	background: url(_images/mf_record_disabled.png) no-repeat 5px center #EEE;
	background-size: 24px 24px;
}
button#mf_recorder_clear {
	background: url(_images/mf_record_remove.png) no-repeat 5px center #EEE;
	background-size: 24px 24px;
}
button#mf_recorder_restore {
	background: url(_images/mf_record_restore.png) no-repeat 5px center #EEE;
	background-size: 24px 24px;
}
button.enabled#mf_recorder_record,
button.enabled#mf_recorder_clear,
button.enabled#mf_recorder_restore {
	background: url(_images/mf_record_enabled.png) no-repeat 5px center #EEE;
	background-size: 24px 24px;
}
div#mf_recorder_wrap {
	border: solid 1px #CCC;
	padding: 10px;
	text-align: center;
	margin: 5px auto;
}
form#mailform td.request_image {
	width: 100px;
}
form#mailform td.request_image img {
	max-width: 100px;
}
button.mf_submit_enable {
	background: none;
	background: #000090;
}
button.mf_submit_disable {
	background: none;
	background: #FD8282;
}
span.mf_tips {
	background-image: url(_images/mf_header.png);
	background-size: 100% 100%;
	background-color: #FCC;
	display: block;
	border-radius: 5px;
	padding: 10px;
	margin: 2px;
	box-shadow: 0px 2px 10px #999;
}
span.mf_tips strong {
	color: #800040;
}
span.mf_tips span {
	display: block;
	padding: 10px;
	color: #008080;
}
span.mf_tips em {
	font-style: normal;
	color: #090;
	font-weight: bold;
}

/* mail custom */
form#mailform dl{
    max-width: 1030px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5em;
    display: flex;
    flex-wrap: wrap;
    font-family: var(--fnt_fam_noto);
    font-size: 90%;
    font-weight: 600;
}

form#mailform dl dt {
    border: none;
    width: 10em;
    padding-top: 15px;
    display: flex;
    position: relative;
    justify-content: flex-end;
    line-height: 1;
    align-items: center;
}
form#mailform dl dt.counseling_area{
    align-items: normal;
    padding-top: 30px;
}
form#mailform dl dt.otoiawase{
    width: 100%;
    justify-content: flex-start;
}
form#mailform dl dt.otoiawase + dd{
/*    padding-left: 0;*/
}
form#mailform dl dd {
/*  font-size: 18px;*/
  border: none;
  padding-left: 3.5em;
  padding-bottom: 10px;
    width: calc(100% - 22%);
}
form#mailform dl dd.mail_info {
  color: #C1976D;
  margin-top: -15px;
}
form#mailform dl dd.check_box_stl{
    display: flex;
    flex-direction: column;
}
form#mailform dl dd.check_box_stl label{
    margin-right: 2em;
    margin-bottom: 0px;
    line-height: 2.5em;
}

form#mailform .check_box_stl label {
margin: 12px 8px;
margin-left: 0;
padding-left: 0;
align-items: center;
cursor: pointer;
}
form#mailform .check_box_stl input {
margin: 0;
width: 0;
opacity: 0;
float: left;
}
form#mailform .check_box_stl input:checked + .dummyInput::before {
    content: "";
    display: block;
    position: absolute;
    top: 60%;
    left: 45%;
    width: 30%;
    height: 4px;
    border-radius: 2em;
    transform: translate(-5px, 6px) rotateZ(-135deg);
    transform-origin: 1px 1px;
    background: var(--col_main-color);
}
form#mailform .check_box_stl input:checked + .dummyInput::after {
    content: "";
    display: block;
    position: absolute;
    top: 60%;
    left: 45%;
    width: 75%;
    height: 4px;
    border-radius: 2em;
    transform: translate(-5px, 6px) rotateZ(-45deg);
    transform-origin: 1px 1px;
    background: var(--col_main-color);
}
form#mailform .check_box_stl.agree_box input:checked + .dummyInput::before{
    top: 50%;
    left: 50%;
}
form#mailform .check_box_stl.agree_box input:checked + .dummyInput::after{
    top: 50%;
    left: 50%;
}
form#mailform .dummyInput {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    width: 46px;
    height: 45px;
    background: #fff;
    margin-right: .5em;
    float: left;
}

form#mailform .check_box_stl input:checked + .dummyInput{
background: #fff;
}
form#mailform #other-text{
    transition: all .2s;
    height: 280px;
    opacity: 1;
    margin-top: 12px;
}
form#mailform #other-text.hidden{
    transition: all .2s;
    height: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
}
form#mailform .agree_box{
    text-align: center;
    font-size: 95%;
    margin-bottom: 25px;
}
form#mailform .agree_box .dummyInput{
    background: transparent;
    border: solid 1px var(--col_main-color);
    width: 28px;
    height: 28px;
}


form#mailform dl.items label {
  display: block;
}

form#mailform label.mf_checked {
  border: none;
  box-shadow: none;
  background-color: transparent;
}

form#mailform label.mf_not_checked {
  border: none;
}

.mf_colored {
  background-color: transparent;
}

.mf_element_submit,
.mf_element_button,
button.mf_next,
button.mf_prev {
  text-shadow: none;
}

/*section #mailform dl dd input[type="text"],
section #mailform dl dd input[type="email"],
section #mailform dl dd input[type="tel"], section #mailform dl dd select{
    height: 42px;
    line-height: 32px;
}*/

section #mailform button {
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 9px;
  color: #fff;
  padding: 7px 46px;
  cursor: pointer;
}

#mailform button[type="submit"] {
    background: var(--col_blue);
    color: #fff;
    border: solid 1px var(--col_blue);
    width: 250px;
    padding-top: .7em;
    padding-bottom: .7em;
    font-size: 116%;
    font-family: var(
    --fnt_fam_noto);
    font-weight: 600;
    transition: all .2s;
}

#mailform button:hover {
    color: var(--col_blue);
    background: transparent;
    cursor: pointer;
}

.mf_element_text, .mf_element_number, .mf_element_select-one, .mf_element_email, .mf_element_tel, .mf_element_textarea, .mf_element_date .mf_element_password{
    font-size: 100%;
    border: none;
    width: 100%;
    height: 4em;
    padding-left: 1.5em;
    font-size: 100%;
    font-family: var(--fnt_fam_noto);
    font-weight: 500;
}
.mf_element_select-one{
    width: auto;
    min-width: 6em;
}
.hour,.minute{
    font-size: 100%;
    height: 3em;
    padding: 0 .5em;
    border: solid 1px #aaa;
    box-shadow: 1px 1px 4px #ccc;
    min-width: 6em;
}
.width_m{
    min-width: 14em;
}
.mf_element_text:focus, .mf_element_number:focus, .mf_element_select-one:focus, .mf_element_email:focus, .mf_element_tel:focus, .mf_element_textarea:focus, .mf_element_date .mf_element_password:focus{
    background: #fff;
}
::placeholder{
    color: #C3C3C3;
}
form#mailform dl dt{
    width: 18em;
    display: block;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    line-height: 2em;
    margin-bottom: 40px;
    padding: 0;
    border-bottom: solid 1px var(--col_white);
}
form#mailform dl dt > span{
    padding-left: 1em;
    width: 100%;
    padding-bottom: 15px;
}
form#mailform dl dt.txt_stl01{
    margin-bottom: 2.5em;
}
form#mailform dl dt.txt_stl01 > span{
    
}
form#mailform dl dt.txt_stl02{
    align-items: flex-start;
    padding-top: 1.5em;
}
form#mailform dl dd{
    padding: 0;
    width: calc(100% - 19em);
    margin-left: 1em;
    margin-bottom: 40px;
}
form#mailform dl dd:has(.asta){
    margin-bottom: 20px;
}
form#mailform dl dd .asta{
    font-size: 90%;
    color: var(--col_red);
    font-weight: normal;
}
form#mailform dl dt.form_age + dd input{
    width: 6em;
}
form#mailform dl dt.check{
    height: 0;
}
form#mailform dl .agree_box{
    text-align: center;
    padding-left: 0;
}
form#mailform .agree_box a{
    text-decoration: underline;
}
form#mailform .agree_box a:hover{
    opacity: .7;
}
dd.tel_stl input{
    width: 20%;
}

/*dd.check_box_stl label:nth-child(1),dd.check_box_stl label:nth-child(2),dd.check_box_stl label:nth-child(3){
    width: 20%;
}
dd.check_box_stl label:nth-child(4){
    width: calc(40% + 12px);
}*/

    form#mailform{
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 60px;
    }

    .mf_element_textarea{
        height: 220px;
        padding: 1em 1.5em;
    }
    
    p.txt_stl{
        text-align: center;
        margin-bottom: 4em;
    }
    p.txt_stl a{
        color: #4d4d4d;
        border-bottom: solid 1px #4d4d4d;
    }
    p.txt_stl a:hover{
        text-decoration: none;
        opacity: .7;
    }
@media screen and (max-width: 1023px) {
    form#mailform dl dt{
        width: 16em;
    }
    form#mailform dl dd{
        width: calc(100% - 17em);
    }
}
@media screen and (max-width: 768px) {
    form#mailform{
        max-width: 100%;
    }
    form#mailform dl dt {
            float: none;
            width: auto;
/*		font-size: 12px;*/
            padding: 5px;
            text-align: left;
            margin-bottom: .5em;
    }
    form#mailform dl dt.txt_stl01{
            margin-bottom: .5em;
    }
    form#mailform dl dt > span{
        padding-bottom: .5em;
    }
    form#mailform dl dd {
            clear: both;
            border-top: none;
            padding: 5px 15px;
/*		font-size: 12px;*/
            line-height: 1.5em;
            margin-left: 0;
    }
    form#mailform dl dt.txt_stl01 > span{
        padding-bottom: .5em;
    }
    form#mailform dl dt.txt_stl02{
        padding-top: 0;
    }
    form#mailform dl dd .txt_stl03{
        display: block;
        padding-left: 2.6em;
    }
    div.mf_buttons button {
            font-size: 14px;
    }
    div#mf_phase_confirm h4 {
            font-size: 18px;
    }
    ul#mf_phase_stat {
            padding: 0px;
            text-align: left;
    }
    ul#mf_phase_stat li {
            text-align: center;
            padding: 5px 0px;
            border-radius: 3px;
            margin: 5px;
            list-style: none;
            font-size: 14px;
            width: 28%;
    }
    ul#mf_phase_stat li.mf_phase_arrow {
            bos-shadow: none;
            display: none;
    }
    ul#mf_phase_stat li.mf_active_phase {
    }
    ul#mf_phase_stat li.mf_inactive_phase {
    }
    table#mf_confirm_table tr th {
            white-space: nowrap;
            width: 100px;
    }
    div#mf_thanks {
            text-align: center;
            font-size: 18px;
            padding: 20px 0px;
    }
    div#mf_thanks strong {
            color: #C00;
            font-size: 24px;
            display: block;
    }

  form#mailform {
    width: auto;
  }
  form#mailform dl dt {
    width: auto;
  }
  form#mailform dl dd {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 1em;
    width: 100%;
  }
  form#mailform .must {
    display: inline;
    float: none;
    margin-left: .5em;
  }
  form#mailform .dummyInput{
    width: 2em;
    height: 2em;
    margin-right: 1em;
  }
  form#mailform dl dd.dd_stl01 label:first-child .dummyInput{
      margin-top: 1em;
  }
/*  section #mailform dl dd input[type="text"], section #mailform dl dd input[type="email"], section #mailform dl dd input[type="tel"], section #mailform dl dd select{
      height: 36px;
  }*/
  .mf_element_textarea{
      height: 160px;
  }
    form#mailform dl {
        width: 100%;
    }
    .mf_element_text, .mf_element_number, .mf_element_select-one, .mf_element_email, .mf_element_tel, .mf_element_textarea, .mf_element_date .mf_element_password{
        max-width: 100%;
        width: 100%;
        height: 3em;
    }
    form#mailform dt.no_must{
/*        margin-left: 0;*/
    }
    form#mailform dl{
        margin-bottom: 0;
        font-size: 100%;
    }
/*    dd.check_box_stl label:nth-child(1), dd.check_box_stl label:nth-child(2), dd.check_box_stl label:nth-child(3){
        width: 6em;
    }
    dd.check_box_stl label:nth-child(4){
        width: 12.6em;
    }*/
    form#mailform label.lbl_tsusho{
        width: 100%;
    }
    form#mailform label.lbl_keikaku{
        width: 100%;
    }
    form#mailform label.lbl_shien{
        width: 100%;
    }
    form#mailform label.lbl_jidou{
        width: 100%;
    }
    form#mailform label span.kaigyo{
        display: block;
        padding-left: .8em;
        font-size: 85%;
    }
    form#mailform dl dt{
        justify-content: flex-start;
    }
    form#mailform .must{
        position: static;
    }
    form#mailform dl dt{
        padding-bottom: 0;
        line-height: 1.5em;
    }
    form#mailform dl dd.check_box_stl{
        display: flex;
        flex-wrap: wrap;
    }
    form#mailform dl dd.check_box_stl label{
        margin-right: 0;
        line-height: 2em;
        margin-top: 0;
        margin-bottom: 1em;
    }
    form#mailform #other-text{
        margin-top: 0;
    }
    #contact_us .mailform .dd_stl01 {
        margin-bottom: 2em;
    }
    form#mailform dl dt.counseling_area{
        padding-top: 5px;
    }
    form#mailform dl .agree_box{
        display: block;
    }
    form#mailform dl .agree_box label{
        width: 18em;
    }
    .mf_element_select-one{
        min-width: 0;
    }
    #year,#year2{
        width: 28%;
    }
    #month,#month2,#day,#day2{
        width: 23%
    }
}
@media screen and (max-width: 480px) {
    .mf_element_all {
        max-width: 100%;
    }
    section #mailform button {
        font-size: 20px;
    }
    dd.tel_stl input{
        width: 26%;
    }
    .mf_element_text, .mf_element_number, .mf_element_select-one, .mf_element_email, .mf_element_tel, .mf_element_textarea, .mf_element_date .mf_element_password{
        height: 2.5em;
    }
    form#mailform{
/*        padding-top: 10em;*/
    }
    form#mailform dl{
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    p.txt_stl{
        margin-bottom: 2em;
        padding-left: 8%;
        padding-right: 8%;
        text-align: left;
    }
    #mailform button[type="submit"]{
        font-size: 110%;
        width: 50%;
    }
    form#mailform dl dd.check_box_stl label{
        margin-right: 2em;
    }
    form#mailform dl dd{
        padding-right: 0;
        padding-left: 0;
    }
    form#mailform dl dt{
        padding-right: 0;
        padding-left: 0;
    }
    .form_time select{
        max-width: 5em!important;
    }
    #year, #year2{
        width: 25%;
    }
    #month, #month2, #day, #day2 {
        width: 21%;
    }
    form#mailform #other-text{
        height: 160px;
    }
}
@media screen and (max-width: 400px) {
    section #mailform button{
        font-size: 18px;
    }
}
