@charset "utf-8";
/*---------------------------------
  Form Style
---------------------------------*/
.form_content dl {
  display: flex;
  flex-wrap: wrap;
}

.form_content dl:last-of-type {
  margin-bottom: 5em;
}

.form_content dl dt,
.form_content dl dd {
  box-sizing: border-box;
  padding: 2em 1em;
}

.form_content dl dt {
	display: flex;
	align-items: center;
	width: 30%;
  font-weight: 600;
  border-bottom: solid 1px #ad0c0c;
}

.form_content dl dt i {
  font-style: normal;
	position: relative;
  top: -2px;
}

.form_content dl dd {
	width: 70%;
  border-bottom: dashed 1px #dcdfe1;
  padding-left: 2em;
}

.form_content dl dd a {
  color: #ad0c0c;
  text-decoration: underline;
}

.form_content dl dd a:hover {
  opacity: 0.8;
  transition: 0.3s;
}

/* .required, .optional */
.form_content dl dt span.required,
.form_content 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_content dl dt span.required {
	background: #e54a3b;
}

.form_content dl dt span.optional {
  color: #a7aeb3;
  border: solid 1px #dcdfe1;
}

/* error message */
.form_content dl dd span.error_blank,
.form_content dl dd span.error_format,
.form_content dl dd span.error_match {
	color: #e54a3b;
	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: none !important;
  background: #f6f7f8;
	border-radius: 3px;
	-webkit-appearance: none;
	box-sizing: border-box;
}

input,
select {
	padding: 1.2em;
}

textarea {
	width: 100%;
	min-height: 200px;
	padding: 1.2em;
}

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

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

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

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

input[type="submit"] {
  width: 30% !important;
  min-width: 300px;
  height: 65px;
  line-height: 63px;
  color: #fff;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
	font-weight: 600;
  text-align: center;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 3px;
	background: #ad0c0c;
	-webkit-appearance: none;
  margin: 0 auto;
  padding: 0 0.5em;
  display: block;
	cursor: pointer;
  position: relative;
}

input[type="submit"]:hover {
  opacity: 0.8;
  transition: 0.3s;
}

.wpcf7-form input {
  width: 100%;
}

.wpcf7-not-valid-tip {
  display: inline-block;
  padding: 0.5em;
}

.wpcf7-response-output {
  color: #dc3232;
  text-align: center;
  border: none !important;
}

.wpcf7-list-item {
  margin: 0 0 0.5em 0 !important;
}

.wpcf7-spinner {
  display: none !important;
}

@media print, screen and (max-width: 896px) {
  .form_content dl {
    flex-direction: column;
  }
  
  .form_content dl dt {
    width: fit-content;
    border-bottom: none;
    padding: 1.5em 0.5em 0 0.5em;
    display: inline-block;
  }
  
  .form_content dl dd {
    width: 100%;
    padding: 1em 0.5em 1.5em 0.5em;
  }
}

@media print, screen and (max-width: 480px) {
  .form_content dl dd.name_input {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .form_content dl dd.name_input input {
    width: 49%;
  }
  
  input[type="tel"] {
    width: 100%;
  }
}