@charset "utf-8";

.error,
.errorlist {
  color: red;
  font-weight: bold;
}

.contact_box dl {
  background: url(../img/line_dotted.gif) repeat-x left bottom;
}

.contact_box dl dd input,
.contact_box dl dd textarea {
  border: 0;
  border: solid 1px #ccc;
  padding: 10px;
  -moz-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
  box-shadow: inner 0 0 4px rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.contact_box dl dd input:focus,
.contact_box dl dd textarea:focus {
  border: solid 1px #efc22f;
}

.contact_box dl dd div.preview {
  white-space: pre;
}

.captcha {
  display: flex;
  justify-content: center;
}

.btn_contact {
  text-align: center;
  margin: 0 0 120px;
}

.btn_contact input {
  border: 0;
  margin: 20px;
  padding: 15px 0;
  width: 280px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

#button-edit {
  background: #666;
}

#button-confirm,
#button-submit {
  background: url(../img/ico_mail_l.png) #958822 no-repeat 20px center;
  background-size: 30px auto;
}

.btn_contact input:hover {
  opacity: 0.7;
}

/* ---- contact_comp.html ---- */

.contct_comp_titile {
  color: #198b99;
  text-align: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  padding: 0 0 20px;
  font-weight: bold;
  border-bottom: 1px solid #198b99;
}

.img_mail {
  background: #198b99;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  text-align: center;
  margin: 50px auto 150px;
}

.img_mail img {
  width: 160px;
  height: auto;
  margin: 40px 0 0;
}

/* ===============================================
 PC版のみ
=============================================== */

@media screen and (min-width: 768px) {
  .contact_box {
    margin: 80px 200px 0;
  }

  .contact_box dl {
    margin: 0 0 20px;
    padding: 0 10px 20px;
  }

  .contact_box dl dt {
    width: 180px;
    float: left;
    font-weight: bold;
    border-left: 3px solid #198b99;
    padding: 0 0 0 20px;
  }

  .contact_box dl dd {
    width: 450px;
    float: right;
    border-left: 1px solid #e6e6e6;
    padding: 0 0 0 30px;
  }

  .contact_box dl dd input,
  .contact_box dl dd textarea {
    width: 400px;
  }

  /* ---- contact_comp.html ---- */

  .contct_comp_titile {
    width: 600px;
  }
}

/* ===============================================
スマホ版のみ
=============================================== */

@media screen and (max-width: 767px) {
  .contact_box {
    margin: 80px auto 0;
    width: 100%;
  }

  .contact_box dl {
    background: url(../img/line_dotted.gif) repeat-x left bottom;
    margin: 0 0 20px;
    padding: 0 0 20px;
  }

  .contact_box dl dt {
    font-weight: bold;
    border-left: 3px solid #198b99;
    padding: 0 0 0 20px;
    margin: 0 0 10px;
  }

  .contact_box dl dd input,
  .contact_box dl dd textarea {
    width: 100%;
    box-sizing: border-box;
  }

  .btn_contact input {
    margin: 20px 0;
    width: 100%;
    padding: 25px 0;
  }

  /* ---- contact_comp.html ---- */

  .contct_comp_titile {
    width: 100%;
  }
}
