/* ===================================================================
CSS Document
file name  :contact.css <- contact.scss
style info : CONTACT PAGE Style
=================================================================== */
@media all and (max-width: 480px) {
  .contact {
    margin-top: 100px;
  }

  /*--------------------------
  Section01
  ---------------------------*/
  .sec01 {
    padding: 0 4%;
  }
  .sec01 .txt01 {
    font-size: 1.4rem;
    line-height: 1.7;
    padding: 0 0 38px;
    background: url(../img/common/line01.png) repeat-x 0 bottom;
  }
  .sec01 .txt01 span {
    color: #C90018;
  }
  .sec01 dl {
    background: url(../img/common/line01.png) repeat-x 0 bottom;
  }
  .sec01 dt {
    font-size: 1.5rem;
    padding: 12px 5px 6px 5px;
  }
  .sec01 .required {
    color: #C90018;
  }
  .sec01 dd {
    font-size: 1.5rem;
    padding: 5px 5px 18px;
  }
  .sec01 input, .sec01 select, .sec01 textarea {
    border: #ccc 1px solid;
  }
  .sec01 select {
    vertical-align: middle;
    width: 100%;
    height: 34px;
    padding: 0 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff url(../img/contact/select_arrow.png) no-repeat right center/32px;
    font-size: 1.5rem;
    color: #999;
    border-radius: 0;
  }
  .sec01 select::-ms-expand {
    display: none;
  }
  .sec01 input[type="text"],
  .sec01 input[type="email"],
  .sec01 input[type="tel"] {
    width: 100%;
    height: 34px;
    font-size: 1.5rem;
    color: #999;
    padding: 0 10px;
    -webkit-appearance: none;
    border-radius: 0;
  }
  .sec01 label {
    position: relative;
    margin: 0 11px 0 0;
  }
  .sec01 label:before {
    content: '';
    background: #fff;
    width: 12px;
    height: 12px;
    border-color: #ccc;
    border-width: 2px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 50%;
    border-style: solid;
    position: absolute;
    top: 4px;
    left: -19px;
  }
  .sec01 input[type="radio"] {
    margin: 0 6px 0 0;
    position: relative;
    top: 2px;
    opacity: 0;
  }
  .sec01 input[type="radio"]:checked + label {
    position: relative;
  }
  .sec01 input[type="radio"]:checked + label:before {
    background: #fff;
    border: #999 5px solid;
    box-sizing: border-box;
    width: 16px;
    height: 16px;
  }
  .sec01 textarea {
    width: 100%;
    height: 150px;
    padding: 10px;
    font-size: 1.5rem;
    color: #999;
    resize: none;
  }
  .sec01 textarea[readonly] {
    height: auto;
  }
  .sec01 .submit {
    margin: 80px auto 0;
    text-align: center;
  }
  .sec01 .submit p {
    white-space: nowrap;
    position: relative;
  }
  .sec01 .submit input[type="submit"],
  .sec01 .submit input[type="button"] {
    border: none;
    background: #A3001B;
    width: 140px;
    height: 50px;
    font-size: 1.3rem;
    color: #fff;
    text-align: center;
    transition: all .2s ease;
    margin: 0 5px 30px;
  }
  .sec01 .submit input[type="button"] {
    background: #999;
  }
  .sec01 input[type="reset"] {
    display: none;
  }

  .foot-btn {
    display: none;
  }
}
@media all and (min-width: 481px) {
  /*--------------------------
  Section01
  ---------------------------*/
  .sec01 {
    width: 960px;
    margin: 0 auto 50px;
    overflow: hidden;
  }
  .sec01 .txt01 {
    font-size: 1.7rem;
    line-height: 1.8;
    padding: 0 0 38px;
    background: url(../img/common/line01.png) repeat-x 0 bottom;
  }
  .sec01 .txt01 span {
    color: #C90018;
  }
  .sec01 dl {
    background: url(../img/common/line01.png) repeat-x 0 bottom;
    display: table;
    width: 100%;
  }
  .sec01 dt, .sec01 dd {
    display: table-cell;
    vertical-align: middle;
    padding: 17px 15px 19px;
  }
  .sec01 dt {
    font-size: 2rem;
    width: 260px;
  }
  .sec01 .required {
    color: #C90018;
  }
  .sec01 dd {
    font-size: 1.6rem;
    width: calc(100% - 260px);
  }
  .sec01 dd br {
    display: none;
  }
  .sec01 input, .sec01 select, .sec01 textarea {
    border: #ccc 1px solid;
  }
  .sec01 select {
    vertical-align: middle;
    width: 300px;
    height: 38px;
    padding: 0 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff url(../img/contact/select_arrow.png) no-repeat right 0;
    font-size: 1.6rem;
    color: #999;
    border-radius: 0;
  }
  .sec01 select::-ms-expand {
    display: none;
  }
  .sec01 input[type="text"],
  .sec01 input[type="email"],
  .sec01 input[type="tel"] {
    width: 545px;
    height: 38px;
    font-size: 1.6rem;
    color: #999;
    padding: 0 10px;
  }
  .sec01 label {
    position: relative;
  }
  .sec01 label:before {
    content: '';
    background: #fff;
    width: 15px;
    height: 15px;
    border-color: #ccc;
    border-width: 2px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 50%;
    border-style: solid;
    position: absolute;
    top: 4px;
    left: -23px;
  }
  .sec01 input[type="radio"] {
    margin: 0 7px 0 20px;
    position: relative;
    top: 2px;
    opacity: 0;
  }
  .sec01 input[type="radio"]:checked + label {
    position: relative;
  }
  .sec01 input[type="radio"]:checked + label:before {
    background: #fff;
    border: #999 6px solid;
    box-sizing: border-box;
    width: 19px;
    height: 19px;
  }
  .sec01 textarea {
    width: 545px;
    height: 220px;
    padding: 10px;
    font-size: 1.6rem;
    color: #999;
    resize: none;
  }
  .sec01 textarea[readonly] {
    height: auto;
  }
  .sec01 .submit {
    margin: 80px auto 0;
    text-align: center;
  }
  .sec01 .submit p {
    display: inline-block;
    position: relative;
  }
  .sec01 .submit input[type="submit"],
  .sec01 .submit input[type="button"] {
    border: none;
    background: #A3001B url(../img/contact/btn_arrow.svg) no-repeat right 15px center;
    width: 266px;
    height: 64px;
    font-size: 1.8rem;
    color: #fff;
    text-align: center;
    transition: all .2s ease;
    margin: 0 10px;
  }
  .sec01 .submit input[type="submit"]:hover,
  .sec01 .submit input[type="button"]:hover {
    cursor: pointer;
    opacity: .8;
    background: #A3001B url(../img/contact/btn_arrow.svg) no-repeat right 10px center;
  }
  .sec01 .submit input[type="button"] {
    background: #999;
  }
  .sec01 .submit input[type="button"]:hover {
    background: #999;
  }
  .sec01 input[type="reset"] {
    display: none;
  }

  .foot-btn {
    display: none;
  }
}
@media all and (min-width: 321px) and (max-width: 480px) {
  .cat dd br {
    display: none;
  }
}
#wrap span.wpcf7-not-valid-tip {
  color: #da1a20;
}

#wrap div.wpcf7-validation-errors {
  text-align: center;
  margin-bottom: -25px;
}

#wrap form {
  padding: 0 0 105px 0;
  position: relative;
}

#wrap form .submit {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 100%;
}

#wrap .wpcf7c-conf {
  background: #fff;
  border: none;
  padding: 0;
}

div.wpcf7-mail-sent-ok {
  text-align: center;
}

#wpcf7-f71-o2,
#wpcf7-f72-o3 {
  display: none;
}

.recaptcha {
  display: flex;
  justify-content: center;
  margin: 30px auto 0;
}