select, input, textarea {
  border-radius: 0;
}

/* .select-wrap {
  position: relative;
}

.select-wrap::before {
  z-index: 1;
  content: '';
  position: absolute;
  top: 0;
  right: 2px;
  background: #fff;
  height: 100%;
  width: 26px;
  border-left: solid 1px #aaa;
}

.select-wrap::after {
  z-index: 2;
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  right: 9px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  border-color: #aaa transparent transparent transparent;
} */

.mw_wp_form_preview .select-wrap::after, .mw_wp_form_preview .select-wrap::before {
  display: none;
}

select {
  position: relative;
  border: solid 1px #aaa;
  border-radius: 3px;
  padding: 5px 15px;
  box-sizing: border-box;
  cursor: pointer;
  line-height: 1;
  border-radius: 3px;
  font-size: 16px;
  color: #000000;
}

select::-ms-expand {
  /* display: none; */
}

#contacts .detail {
  padding: 60px 80px;
  box-sizing: border-box;
}

#contacts .detail h3 {
  color: #fff;
  font-size: 2.2em;
  padding: 15px 25px;
  box-sizing: border-box;
  background: url('../images/common/bg_ttl3.png');
  margin: 60px auto 0 auto;
}

#contacts .detail h3+p {
  display: none;
}

#contacts .detail h4 {
  position: relative;
  font-size: 2.2em;
  color: #1f98d0;
  box-sizing: border-box;
  margin-top: 50px;
  margin-bottom: 20px;
  text-indent: -1.2em;
  padding-left: 1em;
}

#contacts .detail h4::before {
  content: '';
  display: inline-block;
  vertical-align: baseline;
  margin-right: 10px;
  width: .4em;
  height: .4em;
  border: solid 4px #1f98d0;
  border-radius: 50%;
}

#contacts .detail h4 strong {
  color: #c20009;
  font-weight: normal;
  font-size: .8em;
}

#contacts .detail table {
  position: relative;
  color: #000000;
  width: 100%;
  font-size: 1.6em;
  margin-top: 20px;
  border-collapse: collapse;
  border-bottom: dashed 1px #aaa;
}

#contacts .detail table tr td {
  position: relative;
  vertical-align: top;
  box-sizing: border-box;
  padding: 20px 20px 20px 0;
  max-width: 100%;
  overflow: hidden;
}

#contacts .detail table tr td input::-webkit-input-placeholder {
  line-height: 1;
  font-size: 16px;
  color: #979696;
}

#contacts .detail table tr td strong {
  color: #c20009;
  font-weight: normal;
}

#contacts .detail table tr.even, p.even {
  border-top: dashed 1px #aaa;
}

p.even {
  padding-top: 20px;
}

#contacts .detail table tr td:first-child {
  /*   white-space: nowrap; */
}

#contacts .detail input, #contacts .detail textarea {
  max-width: 420px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
    background-color: #ffffff;
    border: solid 1.3px #979696;
    padding: 10px;
    font-size: 16px;
}

#contacts .detail textarea {
  max-width: 100%;
  width: 100%;
}

#contacts .detail table tr td input.name {
  max-width: 200px;
}

#contacts .detail table tr td input.name:first-child {
  margin-right: 20px;
}

.status {
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  font-size: 15px;
  margin-bottom: 50px;
}

.status .status-inner {
  position: relative;
  width: 32%;
  display: inline-block;
  float: left;
  color: #fff;
  margin: 4px 4px 4px 0;
  line-height: 1;
}

.status .status-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 100%;
  height: 0;
  width: 0;
  border: 23px solid transparent;
  border-left-width: 20px;
  z-index: 1;
  -webkit-transform: translateX(4px);
  -moz-transform: translateX(4px);
  -ms-transform: translateX(4px);
  -o-transform: translateX(4px);
  transform: translateX(4px);
  border-left-color: #fff;
  margin: 0;
}

.status .status-inner span {
  position: relative;
  display: block;
  text-align: center;
  background-color: #99d9f6;
  border-color: #99d9f6;
  padding: 1em .8em 1em 1.6em;
}

.status .status-inner span::after {
  position: absolute;
  top: 0;
  left: 100%;
  content: '';
  height: 0;
  width: 0;
  border: 23px solid transparent;
  border-right-width: 0;
  border-left-width: 20px;
  z-index: 2;
  border-left-color: inherit;
}

.status .status-inner:last-child span::after {
  display: none;
}

.status .current span {
  background-color: #00a0e9;
}

.status .current span::after {
  border-left-color: #00a0e9;
}

#contacts .detail #teltable01, #contacts .detail #teltable02 {
  display: inline-block;
  position: relative;
  float: left;
  width: 50%;
  box-sizing: border-box;
  overflow: hidden;
  margin-bottom: 50px;
  border: solid 2px #000000;
  padding: 10px 0;
}

#contacts .detail #teltable01 {
  border-right: 0;
}

#contacts .detail #teltable01 tr td:first-child {
  padding-left: 10px;
}

#contacts .detail #teltable01 tr td:last-child {
  padding-right: 10px;
}

#contacts .detail #teltable02 {
  border-left: 0;
}

#contacts .detail #teltable02 tr td:last-child {
  padding-right: 10px;
}

#contacts .detail #teltable02 tr td:first-child {
  padding-left: 10px;
}

#contacts .detail #teltable01 td, #contacts .detail #teltable02 td {
  padding: 10px 0;
  box-sizing: border-box;
}

.mw_wp_form .horizontal-item {
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  margin-right: 15px;
}

.mw_wp_form .horizontal-item+.horizontal-item {
  margin-left: 0;
  margin-right: 15px;
}

.thanks, #contacts .detail button, #contacts .detail input[type="submit"] {
  position: relative;
  cursor: pointer;
  margin-top: 80px;
  background-color: #000000;
  border: solid 1px #000000;
  padding: 24px 0;
  width: 280px;
  text-align: center;
  color: #fff;
  font-size: 20px;
  transition: .3s;
}

.thanks {
  transition: .3s;
  display: inline-block;
}

.submit {
  position: relative;
}

.thanks::after, .submit::after {
  position: absolute;
  content: '';
  top: 50%;
  right: 20px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.thanks:hover::after, .submit:hover::after {
  border-top: 2px solid #000000;
  border-right: 2px solid #000000;
}

.submit.mr30 {
  margin-right: 50px;
}

.thanks:hover, #contacts .detail button:hover, #contacts .detail input[type="submit"]:hover {
  background-color: #fff;
  color: #000000;
}
.errornone .error {
  display: none;
}
.contacts-detail .mail-link {
    position: relative;
    cursor: pointer;
    margin: 30px auto;
    background-color: #000000;
    border: solid 1px #000000;
    width: 280px;
    text-align: center;
    color: #fff;
    font-size: 20px;
    transition: .3s;
}
.contacts-detail .mail-link a {
	display: block;
	width: 100%;
	height: 100%;
	font-size: 18px;
	padding: 24px 0;
}
.contacts-detail .mail-link a:after {
    position: absolute;
    content: '';
    top: 50%;
    right: 20px;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.contacts-detail .mail-link:hover {
	background-color: #fff;
   color: #000000;
}
.contacts-detail .mail-link:hover a:after {
	border-top: 2px solid #000;
   border-right: 2px solid #000;
}
@media (max-width:1000px) {
  select {
    padding: 8px 35px 8px 15px;
    width: 100%;
    font-size: 1.2em;
  }
  #contacts .detail {
    padding: 30px 0;
  }
  .status {
    margin-bottom: 30px;
  }
  #contacts .detail #teltable01, #contacts .detail #teltable02 {
    float: none;
    width: 100%;
    margin: 0 auto;
  }
  #contacts .detail #teltable01 {
    border-right: 2px solid #000000;
    border-bottom: 0;
  }
  #mw_wp_form_mw-wp-form-261 table tr {
    display: block;
    padding: 15px 0;
  }
  #mw_wp_form_mw-wp-form-261 table tr td:last-child {
    padding-top: 0!important;
  }
  #contacts .detail #teltable01 td, #contacts .detail #teltable02 td {
    display: block;
    padding: 10px;
    width: 100%;
  }
  #contacts .detail #teltable01 tr td:first-child {
    padding-bottom: 0;
    padding-left: 10px;
  }
  #contacts .detail #teltable01 tr td:last-child {
    padding-top: 0;
    padding-right: 10px;
  }
  #contacts .detail #teltable02 {
    border-left: 2px solid #000000;
    border-top: 0;
    margin-top: -20px;
    margin-bottom: 30px;
  }
  #contacts .detail #teltable02 tr td:last-child {
    padding-top: 0;
    padding-right: 10px;
  }
  #contacts .detail #teltable02 tr td:first-child {
    padding-bottom: 0;
    padding-left: 10px;
  }
  #contacts .detail table tr td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }
  #contacts .detail table tr td input.name {
    max-width: 160px
  }
  #contacts .detail input, #contacts .detail textarea {
    max-width: 300px;
  }
  #contacts .detail textarea {
    max-width: 100%;
  }
  #contacts .detail h4 strong {
    font-size: .9em;
    text-indent: .1em
    display: block;
  }
  #contacts .detail table tr td strong {
    font-size: .8em;
  }
  .mw_wp_form .horizontal-item+.horizontal-item {
    margin: 0 auto;
  }
  .mw_wp_form .horizontal-item {
    display: inline-block;
    min-width: 48%;
    vertical-align: top;
  }
  .thanks, #contacts .detail button, #contacts .detail input[type="submit"] {
    margin-top: 30px;
    max-width: 100%;
    padding: 15px 0;
    width: 100%;
  }
  #contacts.confirm .detail button, #contacts.confirm .detail input[type="submit"] {
    width: 45%;
  }
  .submit.mr30 {
    margin-right: 0%;
  }
  .mw_wp_form .horizontal-item{
    margin-right: 0;
  }
  #contacts .detail h3 {
    font-size: 1.8em;
    padding: 15px;
    box-sizing: border-box;
  }
  #contacts .detail h4 {
    font-size: 1.8em;
  }
  #contacts .detail input[type="radio"] {
    position: relative;
    -webkit-appearance: button;
    appearance: button;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    content: '';
    background-color: #fff;
    border: 1px solid #aaa;
    -webkit-border-radius: 24px;
    border-radius: 24px;
    vertical-align: middle;
    cursor: pointer;
  }
  #contacts .detail input[type="checkbox"] {
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    content: '';
    background-color: #fff;
    border: 1px solid #aaa;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    vertical-align: middle;
    cursor: pointer;
  }
  .mwform-radio-field-text,.mwform-checkbox-field-text {
    display: inline-block;
    vertical-align: middle;
  }
  #contacts .detail input[type="radio"]:checked::after {
    display: block;
    position: absolute;
    top: 5px;
    left: 5px;
    content: '';
    width: 10px;
    height: 10px;
    background: #00a0e9;
    -webkit-border-radius: 10px;
    border-radius: 10px;
  }
	.contacts-detail .mail-link {
    width: 100%;
  }
	.contacts-detail .mail-link a {
    padding: 15px 0;
  }
}
.even {
    background-color: #ffffff;
}
