@charset "utf-8";
/*---------------------------------
  Form Style
---------------------------------*/
.event_form_wrap {
	background: #e8f2e9;
	padding: 5em 0;
}

form#mail_form dl {
  border-bottom: dashed 1px #dde3ea;
	padding: 2em 0;
}

form#mail_form dl:last-of-type {
  margin-bottom: 3em;
}

form#mail_form dl dt,
form#mail_form dl dd {
  box-sizing: border-box;
}

form#mail_form dl dt {
	font-size: 16px;
	display: flex;
	align-items: center;
  font-weight: 600;
	margin-bottom: 1em;
}

form#mail_form dl dt i {
  font-style: normal;
	position: relative;
  top: -2px;
}

.input_short {
	max-width: 100px;
	margin-right: 0.5em;
}

.form_category li {
	display: inline-block;
}

.check_list li {
	text-indent: -2.5em;
	padding: 5px 0 5px 2.5em;
}

/* .required, .optional */
form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 2em;
  letter-spacing: 0.1em;
	border-radius: 3px;
	display: inline-block;
  margin-right: 1em;
	padding: 0 0.5em;
}

form#mail_form dl dt span.required {
	background: #e58256;
}

form#mail_form dl dt span.optional {
  color: #666;
  background: #eaeaea;
}

/* error message */
form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format,
form#mail_form dl dd span.error_match {
	color: #e58256;
	display: block;
	margin-top: 5px;
}

/*---------------------------------
  Basic
---------------------------------*/
button,
input,
select,
textarea {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-size: 16px !important;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

input,
select,
textarea {
	border: solid 1px #dde3ea;
	border-radius: 3px;
	background: #fbfcfb;
	-webkit-appearance: none;
	box-sizing: border-box;
}

input,
select {
	padding: 0.8em;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"] {
  width: 100%;
}

textarea {
	width: 100%;
  resize: vertical;
	min-height: 150px;
	padding: 1em;
}

::-webkit-input-placeholder {
  color: #9aa0a6;
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* radio checkbox */
label {
  margin: 0 0.5em;
  position: relative;
  line-height: normal;
  cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
  display: none;
}

input[type="radio"] + span,
input[type="checkbox"] + span {
  padding-left: 2em;
}
 
/* radio */
input[type="radio"] + span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: solid 1px #dde3ea;
  border-radius: 50%;
  background: #fbfcfb;
  display: block;
}

input[type="radio"]:checked + span::before {
  background: #fff;
}

input[type="radio"]:checked + span::after {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 10px;
  top: 5px;
  left: 5px;
  background: #e58256;
  border-radius: 50%
}
 
/* checkbox */
input[type="checkbox"] + span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: solid 1px #dde3ea;
  border-radius: 3px;
  background: #fbfcfb;
  display: block;
}

input[type="checkbox"]:checked + span::after {
  content: "";
  display: block;
  position: absolute;
  top: 2px;
  left: 6px;
  width: 8px;
  height: 12px;
  transform: rotate(40deg);
  border-bottom: 2px solid #e58256;
  border-right: 2px solid #e58256;
}

/* select */
.selectbox {
  width: 100%;
  position: relative;
}

.selectbox select {
  width: 100%;
}

.selectbox::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  position: absolute;
  right: 20px;
  top: 40%;
  border-bottom: #1f1f1f 2px solid;
  border-right: #1f1f1f 2px solid;
  transform: rotate(45deg)translateY(-30%);
}

form#mail_form #form_submit_button {
  width: 45%;
  min-width: 300px;
  height: 70px;
  line-height: 70px;
  color: #fff;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
	font-size: clamp(16px, 2vw, 18px) !important;
	font-weight: 600;
  text-align: center;
  letter-spacing: 0.1em;
  border: none;
	border-radius: 5em;
	background: #e58256;
	-webkit-appearance: none;
  margin: 0 auto;
  padding: 0 0.5em;
  display: block;
	cursor: pointer;
  position: relative;
}

form#mail_form #form_submit_button:hover {
	opacity: 0.8;
  transition: 0.3s;
}

@media print, screen and (max-width: 896px) {
  form#mail_form dl {
    flex-direction: column;
  }
  
  form#mail_form dl dt,
  form#mail_form dl dd {
    width: 100%;
  }
}
