#main input,
#main textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  border: none;
  padding: 0.5em;
  background: #f1f1f1;
}
#main input[name="zip"],
#main input[name="pref"] {
  width: 10em;
}
#main input[name="namae"],
#main input[name="kana"],
#main input[name="tel"],
#main input[name="company"],
#main input[name="busho"] {
  width: 25em;
}
#main input[name="email"],
#main input[name="email2"],
#main input[name="addr"],
#main input[name="addr2"] {
  width: 100%;
}
#main textarea {
  height: 10em;
}
#main .form-button {
  text-align: center;
  margin-top: 3rem;
}
#main .form-button > * {
  display: inline-block;
  vertical-align: middle;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  margin: 0.5em;
}
.mw_wp_form_input .mw-preview,
.mw_wp_form_preview .mw-input {
  display: none !important;
}
input[type="radio"] {
  width: auto;
}
label {
  display: inline-block;
}

.page-lower #visual {
  background: url("../images/contact/visual-bg.jpg") center center /cover no-repeat;
}

#main .link[target="_blank"]:after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  background: url("../images/common/icon-aside-2.png") center center /contain no-repeat;
  margin-top: -4px;
  margin-left: .4em;
}
#main .box {
  max-width: 100%;
  width: 440px;
  text-align: center;
  padding: 1em 1em 1.5em;
  background: #d8f1ff;
}
#main .box dt {
  font-weight: 700;
  color: var(--c-blue);
}

.hissu {
  display: inline-block;
  vertical-align: middle;
  width: 3em;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  color: #fff;
  padding: .25em .5em .3em;
  background: #f00;
  margin-top: -4px;
  margin-right: .4em;
}

#main table.default tr th {
  text-align: left;
}
#main table.default tr.require th:after {
  content: '必須';
  display: block;
  float: right;
  width: 3.5em;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1;
  color: #fff;
  padding: .25em 0 .3em;
  background: #f00;
  margin-top: .5em;
}

.form-button button {
}
.form-button .back {
  position: relative;
  max-width: 100%;
  width: 290px;
  height: 70px;
  display: inline-flex !important;
  vertical-align: middle;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  background: #ccc;
}
@media (max-width:768px) {
  .form-button .back {
    width: 260px;
    height: 50px;
  }
}