.mailform {
  width: 100%;
  padding: 40px;
  background: #fff;
  box-sizing: border-box;
}
.notice {
  font-size: 12px;
  margin-top: 5px;
  margin-bottom: 10px;
}
.mailform table {
  margin-top: 30px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 2px;
  margin-bottom: 30px;
}
.mailform table tr th {
  width: 30%;
  padding: 10px;
  font-size: 16px;
  text-align: left;
  vertical-align: middle;
}

.mailform table tr th span.none {
  margin-right: 5px;
  padding: 3px 5px;
  font-size: 11px;
}
.mailform table tr th span.req {
  margin-right: 5px;
  padding: 3px 10px;
  font-size: 11px;
  line-height: 1em;
  font-weight: bold;
  color: #fff;
  background: #ec6d56;
  border-radius: 9px;
}
.mailform table tr th span.any {
  margin-right: 5px;
  padding: 3px 10px;
  font-size: 11px;
  line-height: 1em;
  font-weight: bold;
  color: #fff;
  background: #666;
  border-radius: 9px;
}
.mailform table tr td {
  padding: 10px;
  font-size: 13px;
  vertical-align: middle;
}
@media only screen and (max-width: 767px) {
  .mailform table tr th, .mailform table tr td {
    border-top: none;
  }
}

.mailform input, .mailform textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-border-radius: none;
  -moz-border-radius: none;
  border-radius: none;
}

.mailform input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  border: none;
  background: #f0f0f0;
  box-sizing: border-box;
}
.mailform input[type="text"].short {
  width: 50%;
}
.mailform input[type="text"].short2 {
  width: 20%;
}
.mailform textarea {
  display:block;
  width: 100%;
  padding: 7px 12px;
  font-size: 13px;
  box-sizing: border-box;
  resize: vertical;
  border: none;
  background: #f0f0f0;
}
.mailform textarea.low {
  height: 100px;
}
.mailform textarea.high {
  height: 200px;
}
.mailform input[type="text"]:focus , .mailform textarea:focus {
  outline: none;
  background: #ccc;
}
@media only screen and (max-width: 767px) {
  .mailform {
    padding: 10px;
  }
  .mailform h2 {
    font-size: 21px;
  }
  .mailform_text {
    text-align: left;
  }
  .notice {
    font-size: 11px;
  }
  .mailform table {
    width: 100%;
  }
  .mailform table tr th {
    display: block;
    padding: 3px 0 0 10px;
    width: 100%;
    font-size: 12px;
    box-sizing: border-box;
  }
  .mailform table tr th span.req {
    padding: 1px 5px;
    font-size: 10px;
  }
  .mailform table tr th span.any {
    padding: 1px 5px;
    font-size: 10px;
  }
  .mailform table tr td {
    display: block;
    width: 100%;
    padding: 0 3px;
    box-sizing: border-box;
    margin-bottom: 0;
    background: none;
  }
  .mailform input[type="text"] {
    width: 100%;
    font-size: 16px;
  }
  .mailform input[type="text"].short {
    width: 100%;
    font-size: 16px;
  }
  .mailform input, .mailform textarea {
    width: 100%;
    font-size: 16px;
  }
}

/*セレクトボックス*/
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 12px 106px 12px 10px;
  color: #fff;
  background: #222;
  font-size: 14px;
  font-weight: bold;
  border: none;
}
select:hover {
  filter: brightness(1.2);
  cursor: pointer;
}
select:focus {
  outline: none;
}
@media only screen and (max-width: 767px) {
  select {
    width: 100%;
    font-size: 16px;
  }
}



/*ラジオボタン チェックボックス*/
input[type=radio], input[type=checkbox] {
  display: none;
}
.radio, .checkbox {
  box-sizing: border-box;
  -webkit-transition: background-color 0.1s linear;
  transition: background-color 0.1s linear;
  position: relative;
  display: inline-block;
  margin: 0 10px 8px -15px;
  padding: 8px 12px 8px 42px;
  border-radius: 2px;
  /*background: #fff;*/
  vertical-align: middle;
  cursor: pointer;
}
.radio:hover, .checkbox:hover {
  background-color: #ffc;
}
.radio:hover:after, .checkbox:hover:after {
  border-color: #ec6d56;
}
.radio:after {
  -webkit-transition: border-color 0.1s linear;
  transition: border-color 0.1s linear;
  position: absolute;
  top: 50%;
  left: 15px;
  display: block;
  margin-top: -10px;
  width: 16px;
  height: 16px;
  border: 2px solid #999;
  border-radius: 20px;
  content: '';
}
.checkbox:after {
  -webkit-transition: border-color 0.1s linear;
  transition: border-color 0.1s linear;
  position: absolute;
  top: 50%;
  left: 15px;
  display: block;
  margin-top: -10px;
  width: 16px;
  height: 16px;
  border: 2px solid #999;
  border-radius: 2px;
  content: '';
}
.radio:before {
  -webkit-transition: opacity 0.1s linear;
  transition: opacity 0.1s linear;
  position: absolute;
  top: 41%;
  left: 16px;
  display: block;
  margin-top: -5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #999;
  content: '';
  opacity: 0;
}
input[type=radio]:checked + .radio:before {
  opacity: 1;
}
.checkbox:before {
  -webkit-transition: opacity 0.1s linear;
  transition: opacity 0.1s linear;
  position: absolute;
  top: 50%;
  left: 21px;
  display: block;
  margin-top: -8px;
  width: 5px;
  height: 9px;
  border-right: 3px solid #666;
  border-bottom: 3px solid #666;
  content: '';
  opacity: 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
input[type=checkbox]:checked + .checkbox:before {
  opacity: 1;
}
input[type=file] {
  margin-top: 5px;
  padding: 10px;
  font-size: 12px;
  background: #fff;
}
input[type=file]:hover {
  background: #ffc;
  cursor: pointer;
}
input[type=file]:focus {
  outline: none;
}

.confirmation_btn {
  display: block;
  width: 100%;
  padding: 15px 20px 15px 30px;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2em;
  text-align: center;
  box-sizing: border-box;
  background: #222 url(../img/arrow1.png) right 20px center no-repeat;
  border: none;
  cursor: pointer;
}
.confirmation_btn:hover {
  opacity: .8;
}
input.confirm_btn_disabled {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 18px 0;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2em;
  box-sizing: border-box;
  background: #ccc;
  border: none;
}
input.confirm_btn , .submit_content input[type="submit"][value="送信"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-transition: opacity 0.1s linear;
  transition: opacity 0.1s linear;
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 15px 20px 15px 30px;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2em;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  border-radius: 25px;
  background: #333 url(../img/arrow1.png) right 20px center no-repeat;
}
input.confirm_btn:hover {
  opacity: 0.8;
}
input[type="button"][value="戻る"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  margin: 0 auto;
  cursor: pointer;
  border: none;
  padding: 15px 20px 15px 30px;
  color: #444;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2em;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  border-radius: 25px;
  background: #fff url(../img/arrow2.png) right 10px center no-repeat;
  border: 1px solid #444;
}
input[type="submit"][value="送信"]:hover,
input[type="button"][value="戻る"]:hover {
  opacity: 0.8;
}
input[type="button"][value="戻る"].single {
  margin-left: 0;
}
input.confirm_btn:focus , input[type="button"][value="戻る"]:focus , input[type="button"][value="戻る"].single:focus {
  outline: none;
}

.confirmation {
  font-size: 17px;
  text-align: center;
  margin-bottom: 40px;
}
.confirmation p {
  color: #444 !important;
}
.submit_content dl {
  width: 100%;
  padding: 10px 20px;
  margin-bottom: 1px;
  background: #f0f0f0;
  box-sizing: border-box;
  color: #444;
}
.submit_content dl p {
  color: #444;
}
.submit_content dt {
  width: 220px;
  display: table-cell;
  vertical-align: middle;
  font-weight: bold;
  box-sizing: border-box;
}
.submit_content dd {
  width: 800px;
  display: table-cell;
  vertical-align: middle;
  box-sizing: border-box;
}
@media only screen and (max-width: 767px) {
  .confirmation {
    font-size: 15px;
    text-align: left;
  }
  .submit_content dt {
    display: block;
    width: 100%;
    margin-bottom: 5px;
    line-height: 1.3em;
  }
  .submit_content dl {
    display: block;
    width: 100%;
    padding: 5px 10px;
    line-height: 1.3em;
  }
  .submit_content dd {
    line-height: 1.3em;
  }
}

.err {
  color: #ec6d56;
  font-weight: bold;
}
.completion {
  margin-bottom: 50px;
  text-align: center;
}

.terms_title {
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
.terms {
  padding: 20px;
  height: 100px;
  background: #fff;
  overflow: auto;
}