@charset "utf-8";
/*---------------------------------
  Form Style
---------------------------------*/
form#mail_form dl {
  display: flex;
  flex-wrap: wrap;
}

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

form#mail_form dl dt,
form#mail_form dl dd {
  box-sizing: border-box;
  padding: 0.5em 2em;
}

form#mail_form dl dt {
	display: flex;
	width: 30%;
  font-weight: 600;
  padding-top: 1em;
}

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

form#mail_form dl dd {
	width: 70%;
}

/* accordion */
.privacy_content {
  width: 100%;
  margin-bottom: 20px !important;
}

.privacy_open {
  width: 100%;
  font-size: 14px;
	border-radius: 3px;
  background: #f0f8fa;
  cursor: pointer;
  position: relative;
  padding: 0.7em 1em;
}

.privacy_open:after {
  content: "\f055";
  font-family: 'Font Awesome 5 Free';
  font-weight: 600;
  font-size: 18px;
  position: absolute;
  right: 15px;
}

.privacy_open.active:after {
  content: "\f056";
	font-family: 'Font Awesome 5 Free';
	font-weight: 600;
}

.privacy_inner {
	border-left: solid 1px #dfe1e5;
	border-right: solid 1px #dfe1e5;
	border-bottom: solid 1px #dfe1e5;
	background: #fff;
	padding: 1.5em;
}

.privacy_inner h5 {
  font-size: 13px;
  margin: 1em 0 0.2em 0;
}

.privacy_inner p,
.privacy_inner li {
  font-size: 12px;
  line-height: 1.8em;
}

/* .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: #e35f4a; /* 必須項目色変更 */
}

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: #e35f4a;
	display: block;
	margin-top: 5px;
}

/*---------------------------------
  Basic
---------------------------------*/
button,
input,
select,
textarea {
  font-family: "Roboto", "Noto Sans JP", 游ゴシック, YuGothic, "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Verdana, sans-serif !important;
  font-size: 16px !important;
  letter-spacing: 0.1em;
}

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

input,
select,
textarea {
  width: 100%;
  border: none;
  background: #f0f8fa;
	border-radius: 3px;
	-webkit-appearance: none;
	box-sizing: border-box;
}

input,
select {
	padding: 0.7em 1em;
}

textarea {
  max-width: 100%;
	min-height: 150px;
	padding: 0.7em;
}

::-webkit-input-placeholder {
  color: #9aa0a6;
  font-size: 14px;
  font-weight: 400;
  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 {
  vertical-align: top;
  padding-left: 2em;
}

/* radio */
input[type="radio"] + span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: solid 1px #bdc1c6;
  border-radius: 50%;
  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: #e35f4a;
  border-radius: 50%
}

form#mail_form #form_submit_button {
  width: 30%;
  min-width: 300px;
  height: 60px;
  line-height: 60px;
  color: #fff;
  font-family: "Roboto", "Noto Sans JP", 游ゴシック, YuGothic, "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Verdana, sans-serif !important;
	font-weight: 600;
  text-align: center;
  letter-spacing: 0.1em;
  border: none;
	border-radius: 3px;
	background: #e35f4a;
	-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%;
  }
  
  form#mail_form dl dt {
    padding: 1.5em 0 0.5em 0;
  }
  
  form#mail_form dl dd {
    padding: 0 0 1.5em 0;
  }
}
