#main input,
#main textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  border: none;
  padding: 0.5em;
  background: #eee;
}
#main select {
  appearance: auto;
  border: 1px solid #aaa;
}
#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="fax"] {
  width: 15em;
}
#main input[name="email"],
#main input[name="email2"],
#main input[name="addr"],
#main input[name="addr2"],
#main input[name="busho"],
#main input[name="company"] {
  width: 20em;
}
@media (max-width:768px) {
  #main input[name="email"],
  #main input[name="email2"] {
    width: 100%;
  }
}
.mw_wp_form_input .mw-preview,
.mw_wp_form_preview .mw-input {
  display: none !important;
}
#main input[type="radio"],
#main input[type="checkbox"] {
  width: auto;
}
#main label {
  display: inline-block;
}
#main .form-button {
  text-align: center;
  margin-top: 4rem;
}
#main .form-button > * {
  display: inline-block;
  vertical-align: top;
  margin: 10px;
}
#main .form-button .btn-1 {
  width: 260px;
}
#main .form-button .btn-1:after {}

.page-lower #visual {
  background-image: url(../images/contact/visual.jpg?20260706);
}
@media (max-width:768px) {
  .page-lower #visual {
    background-image: url(../images/contact/visual.webp?20260706);
  }
}
#main section .title-1 {}
#main section .title-1::before {
  color: var(--c-ye);
}

#main .hissu {
  display: inline-block;
  font-size: .9em;
  line-height: 1;
  color: #fff;
  padding: .25em .5em;
  background: #fe0002;
}
#main a[href] {
  color: var(--c-ye);
  text-decoration: underline;
}
#main table.default tr.require th {
  text-indent: 2.5em;
}
#main table.default tr.require th:after {
  content: '必須';
  width: 3em;
  font-size: .9em;
  line-height: 1;
  color: #fff;
  text-align: center;
  text-indent: initial;
  padding: .3em 0;
  background: #fe0002;
  float: right;
  margin-top: 2px;
}

#main .tel .box {
  max-width: 750px;
  text-align: center;
  padding: 30px;
  background: #f6f6f6;
  margin: 1.5em auto 0;
}
#main .tel .box > * {
  display: inline-block;
  vertical-align: bottom;
  margin: 5px 15px;
}

#main .form {
  padding-top: 20px;
}
#main .form p + p,
#main .form table.default {
  margin-top: 1.5em;
}

@media (max-width:768px) {
  #main .form table.default tr ~ tr {
    margin-top: -1px;
  }
  #main .form table.default tr td {
    padding: .5em;
    border: 1px solid #ccc;
    border-top: 0;
  }
}
