@charset "UTF-8";

/*form
-------------------------------------------------------------*/
dl.dl_form {
  margin: 0 auto 1em;
}
dl.dl_form div {
  margin: 0px 0;
  padding: 20px 1em;
  border-bottom: 1px dotted rgb(238, 239, 244);
}
@media screen and (min-width: 768px) {
  dl.dl_form div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
  }
}
dl.dl_form dt {
  font-weight: bold;
  margin: 0 0 10px;
}
@media screen and (min-width: 768px) {
  dl.dl_form dt {
    width: 25%;
  }
}
dl.dl_form dd {
  margin: 0 0 10px;
}
@media screen and (min-width: 768px) {
  dl.dl_form dd {
    width: 73%;
  }
}
dl.dl_form input[type=text],
dl.dl_form input[type=email],
dl.dl_form input[type=tel],
dl.dl_form input[type=date],
dl.dl_form select,
dl.dl_form textarea {
  box-sizing: border-box;
  padding: 8px;
  margin: 0 0 10px;
  border: 1px solid #999;
  border-radius: 5px;
  background-color: rgb(255, 255, 255);
  min-width: 50%;
}
dl.dl_form input[type=date] {
  -webkit-appearance: none;
  padding: 2px 8px;
}
dl.dl_form select,
dl.dl_form input[type=date] {
  min-width: 50%;
  min-height: 2em;
}
dl.dl_form input.hiragana,
dl.dl_form textarea {
  width: 100%;
}
dl.dl_form textarea {
  height: 10em;
}
dl.dl_form input.numeric {
  width: 10em;
}
dl.dl_form input.alpha {
  width: 70%;
}

.mail_error {
  display: block;
  color: rgb(235, 97, 0);
  font-size: 90%;
}

.mail_error:before {
  content: "* ";
}

.dl_form input, .dl_form textarea, .dl_form select {
  font-size: 16px;
}
.dl_form input::placeholder {
  font-size: 80%;
}


input.button {
  padding: 0.5em 1em;
  font-size: 0.8em;
}

input.yubin {
  min-width: 0px;
  padding: 0.25em 0.5em;
  font-size: 0.8em;
}

label.radio {
  cursor: pointer;
  position: relative;
  margin-right: 20px;
  padding-left: 20px;
  overflow: hidden;
  display: inline-block;
}

label.radio:before {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid #999;
  border-radius: 50%;
  left: 0px;
  top: 4px;
  content: "";
  z-index: 3;
}

label.radio:after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 100%;
  left: 3px;
  top: 7px;
  background-color: rgb(250, 45, 100);
  z-index: 1;
}

label.radio input[type=radio] {
  -moz-appearance: none;
  -webkit-appearance: none;
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  left: -23px;
  top: 3px;
  margin: 0px;
  box-shadow: 22px 0px #FFF;
  border-radius: 50%;
}

label.radio input[type=radio]:required {
  box-shadow: 22px 0px rgb(252, 255, 225);
}

label.radio input[type=radio]:checked {
  box-shadow: none;
}

label.checkbox {
  cursor: pointer;
  position: relative;
  margin-right: 20px;
  padding-left: 30px !important;
  overflow: hidden;
  display: inline-block;
}

label.checkbox:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 0px;
  top: 0;
  border: 1px solid #999;
  border-radius: 2px;
  z-index: 3;
}

label.checkbox:after {
  content: "";
  position: absolute;
  top: 10px;
  left: 6px;
  display: block;
  margin-top: -8px;
  width: 8px;
  height: 12px;
  border-right: 3px solid rgb(250, 45, 100);
  border-bottom: 3px solid rgb(250, 45, 100);
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  z-index: 1;
}

label.checkbox input[type=checkbox] {
  -moz-appearance: none;
  -webkit-appearance: none;
  position: absolute;
  left: -40px;
  width: 20px;
  height: 20px;
  display: block;
  box-shadow: 41px 0px #FFF;
  z-index: 2;
  margin: 0px;
  padding: 0px;
}

label.checkbox input[type=checkbox]:checked {
  box-shadow: none;
}




#form_validate .form_hidden{
	height:0;
	overflow:hidden;
	visibility:hidden;
	padding:0;
	margin:0;
}
#form_validate .form_msg{
	display:block;
}
#form_validate .validation{
	color:#F00;
	font-size:80%;
}
#form_validate .placeholder{
	font-size:90%;
}
dl.dl_form input[type=text][readonly],
dl.dl_form input[type=email][readonly],
dl.dl_form input[type=tel][readonly],
dl.dl_form textarea[readonly] {
	border-style:none;
	pointer-events:none;
	background-color:transparent;
}
.form_check #form_validate .form_msg{
	display:inline-block;
}
.form_check dl.dl_form input[type=text],
.form_check dl.dl_form input[type=email],
.form_check dl.dl_form input[type=tel],
.form_check dl.dl_form input[type=file],
.form_check dl.dl_form textarea{
	height:0;
	overflow:hidden;
	visibility:hidden;
	padding:0;
	margin:0;
	pointer-events:none;
	display:inline-block;
	width:0;
	min-width:auto;
}
.form_check .form_check_hidden,
.form_input .form_input_hidden{
	height:0;
	overflow:hidden;
	visibility:hidden;
	padding:0;
	margin:0;
	pointer-events:none;
}
.form_check .form_check_none,
.form_input .form_input_none{
	display:none;
}

