﻿.top {
  background-color: #0c449b !important
}

@media screen and (max-width: 650px) {
  .top {
    height: 140px !important;
    margin-bottom: 60px !important;
  }
}

.top h1 {
  text-align: center;
  padding-top: 80px !important
}

@media screen and (max-width: 650px) {
  .top h1 {
    padding-top: 40px !important
  }
}

html:lang(en) .top h1 {
  padding-top: 60px !important
}

@media screen and (max-width: 650px) {
  html:lang(en) .top h1 {
    padding-top: 24px !important
  }
}

@media screen and (max-width: 650px) {
  html:lang(zh-Hans) .top {
    margin-bottom: 60px !important;
  }
  }
  
  @media screen and (max-width: 650px) {
  html:lang(zh-Hans) .top h1 {
    padding-top: 40px !important;
  }
  }



.top h1 span {
  width: auto !important;
  background-color: transparent !important;
  line-height: 80px
}

@media screen and (max-width: 650px) {
  .top h1 span {
    width: 100% !important
  }
}

@media screen and (max-width: 650px) {

  .entry-content {
    margin-top: -60px !important
  }
}

.sec {
  margin: 0 auto 60px !important
}

.title01 {
  margin-bottom: 45px !important
}

section#remote_inquiries01 p:first-child {
  margin-bottom: 15px
}

section#remote_inquiries01>div div:last-child {
  width: 70%;
  margin: 30px 0 0;
  max-width: 500px
}

@media screen and (max-width: 650px) {
  section#remote_inquiries01>div div:last-child {
    width: 100%;
    margin: 30px auto 0
  }
}

section#remote_inquiries01>div div:last-child a:hover {
  opacity: .7
}

section#remote_inquiries01>div div:last-child p {
  margin-top: 5px
}

p#inquiries_Tel {
  margin-bottom: 15px
}

p#inquiries_Daihyo_Fax>span,
p#inquiries_Telinfo>span {
  display: block;
  margin: 5px 0
}

p#inquiries_Daihyo_Fax {
  margin: 30px 0 0
}

div#remote_inquiries02 {
  margin-top: 15px;
  margin-bottom: 40px;
}

div#remote_inquiries02 ul {
  margin-top: 5px
}

.d-block .required {
  color: #fff;
  background-color: #ac1a00;
  font-family: inherit;
  font-display: swap;
  font-weight: 700;
  font-size: 12px;
  padding: 0 5px 2px;
  margin: 0 2px;
}


.sec_form {
  margin: 30px auto 45px
}

.sec_form dt {
  font-weight: 400;
}

form {
  margin: 0 auto 120px
}

form h3 {
  margin-bottom: 15px
}

form h4 {
  margin-bottom: 15px
}

form dt {
  margin-bottom: 15px
}

form .form_items {
  margin: 0 auto 30px !important
}

form .form_items .required {
  font-weight: 700;
  position: relative;
}


/* wpcf7はcf7のスタイル*/
form .wpcf7-form-control-wrap .radio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

@media screen and (max-width: 650px) {
  form .wpcf7-form-control-wrap .radio {
    display: block
  }
}

form .wpcf7-form-control-wrap .radio::before,
form .wpcf7-form-control-wrap .radio::after {
  display: none;
}

form .wpcf7-form-control-wrap .radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

form .wpcf7-form-control-wrap .radio input[type="radio"]:checked~.wpcf7-list-item-label {
  background: #012e57;
  border: 1px solid #012e57;
  color: #fff
}

form .radio .wpcf7-list-item-label {
  display: block;
  text-align: center;
  cursor: pointer;
  border-radius: 2px;
  transition: 0.5s;
  border: 1px solid #000;
  line-height: 3.5em
}

form .radio .wpcf7-list-item-label:hover {
  background-color: #0c449b;
  border: 1px solid #0c449b;
  color: #fff
}

form .radio .wpcf7-list-item label {
  display: block;
}


form .wpcf7-form-control-wrap .wpcf7-list-item {
  width: 30%;
  margin: 0;
}

@media screen and (max-width: 650px) {
  form .wpcf7-form-control-wrap .wpcf7-list-item {
    width: 80%;
    margin: 0 auto 25px
  }
}

form textarea {
  width: 100%;
  display: block;
  height: 150px;
  resize: vertical;
  border: 1px solid #717171;
  border-radius: 2px;
  font-family: inherit;
  font-display: swap;
  padding: 10px
}

form input:-ms-input-placeholder {
  color: #c0c0c0
}

form input::-ms-input-placeholder {
  color: #c0c0c0
}

form input:-ms-input-placeholder,
form input:-ms-input-placeholder,
form input::-moz-placeholder,
form input::-ms-input-placeholder,
form input::-ms-input-placeholder,
form input::-webkit-input-placeholder,
form input::placeholder {
  color: #c0c0c0
}

form input[type="text"],
form input[type="email"],
form input[type="tel"] {
  display: inline-block;
  border: 1px solid #717171;
  border-radius: 2px;
  padding: 5px;
  line-height: 1.5em
}

@media screen and (max-width: 650px) {

  form input[type="text"],
  form input[type="email"],
  form input[type="tel"] {
    line-height: 1.8em
  }
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form textarea:focus,
form textarea:active {
  box-shadow: 0 0 1px #de8175;
  border: 1px solid #de8175 !important;
  background: #fffeed;
  outline-offset: -999px
}


/* required */
form .required span:after {
  color: #fff;
  background-color: #ac1a00;
  font-family: inherit;
  font-display: swap;
  font-weight: 700;
  font-size: 12px;
  padding: 0 5px;
  margin-left: 5px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

html:lang(ja) form .required span:after {
  content: "必須";
}

html:lang(en) form .required span:after {
  content: "Required";
}

html:lang(zh-Hans) form .required span:after {
  content: "必需的";
}

form .kakunin .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label .required:after {
  color: #fff;
  background-color: #ac1a00;
  font-family: inherit;
  font-display: swap;
  font-weight: 700;
  font-size: 12px;
  padding: 0 5px;
  margin-left: 5px;
  position: absolute;
  top: 0;
}

html:lang(ja) form .kakunin .wpcf7-form-control-wrap .wpcf7-list-item label {
  margin-left: -40px;
}

form .kakunin .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label .required {
  vertical-align: middle;
}

html:lang(ja) form .kakunin .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label .required:after {
  content: "必須";
  top: 5px;
}

html:lang(en) form .kakunin .wpcf7-form-control-wrap .wpcf7-list-item label {
  margin-left: -50px;
}

html:lang(en) form .kakunin .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label .required:after {
  content: "Required";
}

html:lang(zh-Hans) form .kakunin .wpcf7-form-control-wrap .wpcf7-list-item label {
  margin-left: -50px;
}

html:lang(zh-Hans) form .kakunin .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label .required:after {
  content: "必需的";
  top: 5px;
}

@media screen and (min-width: 0\0) and (-webkit-min-device-pixel-ratio: 0.75), screen and (min-width: 0\0) and (min-resolution: 72dpi) {
  form #namearea label {
    display: block
  }
}

form #namearea label:first-child {
  margin-right: 30px
}

@media screen and (max-width: 650px) {
  form #namearea label:first-child {
    margin-bottom: 30px
  }
}

form input {
  width: 590px
}

@media screen and (max-width: 650px) {
  form input {
    width: 300px
  }
}

form input.sh {
  width: 280px
}

@media screen and (max-width: 650px) {
  form input.sh {
    width: 300px
  }
}

form #caution {
  margin-top: 60px;
  font-weight: 100;
  color: #696969
}

form #caution ul li p {
  margin-bottom: 0;
}

form #caution ul li a {
  display: inline;
  color: #696969;
  border-bottom: 1px solid #696969
}

.kakunin {
  margin-top: 60px;
  text-align: center;
  font-weight: 700;
}

.kakunin input {
  width: 30px;
  height: 24px;
  vertical-align: middle;
}

form .kakunin .wpcf7-form-control-wrap .wpcf7-list-item {
  width: 100%;
}

form div#form_submit {
  width: 280px;
  height: 70px;
  margin: 60px auto 0
}

form div#form_submit input[type="submit"],
form div#form_submit input[type="button"] {
  border-radius: 0;
  -webkit-appearance: none;
  box-sizing: border-box;
  font-family: inherit;
  font-display: swap;
  font-size: 100%;
  font-weight: 700;
  border: none;
  width: 100%;
  height: 100%
}

form div#form_submit input[type="submit"]::-webkit-search-decoration,
form div#form_submit input[type="button"]::-webkit-search-decoration {
  display: none
}

form div#form_submit input[type="submit"]:focus,
form div#form_submit input[type="button"]:focus {
  outline-offset: -2px
}

form div#form_submit input[type="submit"] {
  padding: 0;
  vertical-align: middle;
  line-height: 1;
  background: #59760b;
  border-radius: 10px;
  color: #ffffff;
  box-shadow: 2px 3px 2px rgba(0, 0, 0, 0.49);
  transition: box-shadow 0.3s, transform 0.3s
}

form div#form_submit input[type="submit"]:hover {
  box-shadow: none;
  transform: translateY(3px) translateX(3px);
  box-shadow: none;
  cursor: pointer;
  background: #2f4003;
  color: rgba(255, 255, 255, 0.5)
}

form div#form_submit input[type="submit"]::-webkit-search-decoration {
  display: none
}

form div#form_submit input[type="submit"]:focus {
  outline-offset: -2px
}


/* CF7 */
.sub_label {
  width: 100%;
  margin-bottom: 25px !important;
}

.sub_label .inline p {
  display: flex;
  justify-content: flex-start;
}

@media screen and (max-width: 650px) {
  .sub_label .inline p {
    display: block;
  }
}

/* submitボタン下のエラーメッセージ非表示 */
.wpcf7-form.invalid .wpcf7-response-output {
  display: none;
}

/* submitボタン下の送信完了メッセージ非表示 */
.wpcf7-form.sent .wpcf7-response-output {
  display: none;
}

#form_submit p {
  margin-top: 60px;
  text-align: center;
}

#form_submit input[type="submit"],
#form_submit input[type="button"] {
  border-radius: 0;
  -webkit-appearance: none;
  box-sizing: border-box;
  font-family: inherit;
  font-display: swap;
  font-size: 100%;
  font-weight: 700;
  border: none;
  width: 280px;
  height: 70px;
}

#form_submit input[type="submit"]::-webkit-search-decoration,
#form_submit input[type="button"]::-webkit-search-decoration {
  display: none
}

#form_submit input[type="submit"]:focus,
#form_submit input[type="button"]:focus {
  outline-offset: -2px
}

#form_submit input[type="submit"] {
  padding: 0;
  vertical-align: middle;
  line-height: 1;
  background: #59760b;
  border-radius: 10px;
  color: #ffffff;
  box-shadow: 2px 3px 2px rgba(0, 0, 0, 0.49);
  transition: box-shadow 0.3s, transform 0.3s
}

#form_submit input[type="submit"]:hover {
  box-shadow: none;
  transform: translateY(3px) translateX(3px);
  box-shadow: none;
  cursor: pointer;
  background: #2f4003;
  color: rgba(255, 255, 255, 0.5)
}

#form_submit input[type="submit"]::-webkit-search-decoration {
  display: none
}

#form_submit input[type="submit"]:focus {
  outline-offset: -2px
}