@charset "UTF-8";
@import url(common.css);
/*==================================================================*/
/* contact css　*/
/*==================================================================*/
/* -------------------------------------------- */
/* title */
/* -------------------------------------------- */
#title {
  background: url("/contact/image/title.jpg") no-repeat center center;
  background-size: cover;
}

.contact-form h2 {
  margin-bottom: 2em;
  font-size: 1.6em;
  text-align: center;
}
.contact-form .read {
  margin-bottom: 3em;
}
.contact-form .read a {
  text-decoration: underline;
}
.contact-form .read a:hover {
  text-decoration: none;
}
.contact-form .tel-area {
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-form .tel-area dl {
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-form .tel-area dl dt .fa-circle {
  color: #af0c10;
}
.contact-form .tel-area dl dt .fa-phone-alt {
  color: #fff;
}
.contact-form .tel-area dl dd {
  margin-right: .5em;
  font-size: 2.2em;
}
.contact-form .tel-area p {
  font-size: 1.1em;
  text-align: center;
}

/* form
---------------------------------------- */
input.middle, input.long, input.short, textarea {
  margin-bottom: 2px;
  padding: 10px 15px;
  letter-spacing: 1px;
  background: #fff;
  border: 1px solid #cccccc;
  -webkit-appearance: none;
  border-radius: 0;
}

input::placeholder {
  color: #616161;
}

button, input, select, textarea {
  font-size: 16px;
  vertical-align: baseline;
  font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

select {
  background: #fff;
  padding: 10px 15px;
  cursor: pointer;
  border: 1px solid #cccccc;
  border-radius: 0;
}

textarea {
  width: 100%;
  border: 1px solid #cccccc;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

input {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border-radius: 0;
}

input.short {
  width: 100%;
  max-width: 120px;
}

input.middle {
  width: 100%;
  max-width: 360px;
}

input.long {
  width: 100%;
}

input[type="submit"], input[type="button"] {
  -webkit-appearance: none;
}

input[type="text"] {
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

p.agree {
  margin: 0 auto 2em;
  text-align: center;
}
p.agree a {
  position: relative;
  text-decoration: underline;
}
p.agree a:hover {
  text-decoration: none;
}

/* -------------------------------------------- */
/* form */
/* -------------------------------------------- */
.form {
  margin: 0 auto 5em;
}
.form .form-inner {
  margin-bottom: 4em;
}
.form form dl dd span {
  display: inline-block;
  color: #646464;
  font-size: .9em;
}
.form form dl dd #zipcode {
  margin-bottom: 10px;
}

form #btn {
  text-align: center;
}
form #btn ul {
  display: flex;
  justify-content: center;
  flex-flow: row-reverse;
}
form #btn ul li {
  margin: 0 1em;
}
form #btn ul li input {
  position: relative;
  padding: 0.8em 3.5em;
  width: 100%;
  max-width: 300px;
  background: #9e0b0e;
  color: #fff;
  border: 1px solid #9e0b0e;
  font-size: 1.2em;
  transition: all 0.2s linear;
  line-height: 1.2;
  cursor: pointer;
}
form #btn ul li input:hover {
  opacity: 0.8;
  cursor: pointer;
}
form #btn ul li.back input {
  background-color: #a8a8a8;
  border: 1px solid #a8a8a8;
}
form #btn .b-btn {
  text-align: center;
  padding: 0.8em 3.5em;
  background: #9e0b0e;
  color: #fff;
  border: 1px solid #9e0b0e;
  transition: all 0.2s linear;
}
form #btn .b-btn span {
  font-size: 1.4em;
  line-height: 2;
}
form #btn .b-btn:hover {
  background: #af0c10;
  border: 1px solid #af0c10;
  cursor: pointer;
}

/* -------------------------------------------- */
/*photoupload*/
/* -------------------------------------------- */
.form form dl dd .photoupload {
  margin: 1em auto;
  padding: 0.7em;
  background: #f1f1f1;
  text-align: center;
}

.hover {
  background: #e5e5d8 !important;
}

.form form dl dd .photoupload #drag-drop-area {
  border: 3px dotted #cccccc;
  padding: 1em;
}

.form form dl dd .photoupload #drag-drop-area {
  border: 3px dotted #cccccc;
  padding: 1em;
}

.form form dl dd .photoupload #drag-drop-area p {
  color: #bbb;
  font-size: 0.8em;
  line-height: 2;
}

.form form dl dd .photoupload #drag-drop-area p i {
  font-size: 3em;
}

.form form dl dd .photoupload #drag-drop-area p.drag-drop-info {
  font-size: 1.1em;
  line-height: 1.2;
}

.form form dl dd .photoupload #drag-drop-area a.button {
  display: inline;
  padding: 5px;
  position: relative;
  font-size: 0.9em;
  z-index: 1;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: #F7F7F7;
  text-decoration: none;
}

#drag-drop-area label {
  display: inline;
  padding: 5px;
  position: relative;
  font-size: 0.9em;
  z-index: 1;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: #F7F7F7;
  text-decoration: none;
}

#drag-drop-area .upload-area ul {
  letter-spacing: -0.4em;
  text-align: center;
}

#drag-drop-area .upload-area ul li {
  padding: 0 15px;
  letter-spacing: normal;
  width: 170px;
  position: relative;
  text-align: left;
  vertical-align: top;
}

#drag-drop-area .upload-area ul li img {
  width: 100%;
}

#drag-drop-area .upload-area ul li span.delete-image {
  background: rgba(248, 248, 248, 0.9) none repeat scroll 0 0;
  border: 1px solid #c4ccce;
  border-radius: 100%;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  color: #666666;
  display: block;
  font-size: 20px;
  height: 30px;
  line-height: 30px;
  position: absolute;
  left: 10px;
  text-align: center;
  top: -10px;
  vertical-align: middle;
  width: 30px;
  text-decoration: none;
  font-weight: bold;
}

#drag-drop-area .upload-area ul li span.delete-image:hover {
  opacity: 0.6;
}

/*アップロード済み*/
.form form dl dd .settled .fa-picture-o {
  display: none;
}

.form form dl dd .settled .drag-drop-info {
  font-size: 0.9em;
  line-height: 0.5;
}

/* -------------------------------------------- */
/* error */
/* -------------------------------------------- */
#error {
  max-width: 900px;
  width: 90%;
  margin: 0px auto 2em;
  padding: 15px;
  border: 1px solid #d81a1e;
  background-color: #fff6f7;
  font-size: 1em;
  font-weight: bold;
  color: #d81a1e;
  text-align: center;
}

p.error {
  color: #d81a1e;
  font-weight: bold;
}

.form input.error,
.form select.error,
.form textarea.error {
  background-color: #fff4f4;
}

/* -------------------------------------------- */
/* thanks */
/* -------------------------------------------- */
.thanks-message {
  margin-bottom: 1em;
  text-align: center;
  font-size: 2em;
}

.thanks-read {
  margin-bottom: 6em;
  text-align: center;
}

.btn-top {
  text-align: center;
}
.btn-top a {
  padding: 0.8em 1em;
  border: 1px solid black;
}
.btn-top a:before {
  content: "\f104";
  padding: 0 0.5em 0 0;
  font-weight: 900;
  font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands";
}
.btn-top a:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}

/*===========================================================================*/
/*  media quary:1000px  */
/*===========================================================================*/
/*===========================================================================*/
/*  media quary:767px  */
/*===========================================================================*/
@media screen and (max-width: 767px) {
  .contact-form h2 {
    margin-bottom: 1em;
    font-size: 1.4em;
  }
  .contact-form .read {
    margin-bottom: 2em;
  }
  .contact-form .tel-area {
    display: block;
    text-align: center;
  }
  .contact-form .tel-area dl dd {
    line-height: 1.4;
  }

  form #btn {
    text-align: center;
  }
  form #btn ul {
    display: block;
  }
  form #btn ul li {
    width: 90%;
    margin: 0 auto 0.5em;
  }
  form #btn ul li input {
    padding: 0.8em 1.5em;
    font-size: 1em;
  }
  form #btn .b-btn {
    text-align: center;
    padding: 0.8em 1.5em;
    font-size: 1em;
  }

  /* -------------------------------------------- */
  /* error */
  /* -------------------------------------------- */
  #error {
    font-size: 1em;
  }

  /* -------------------------------------------- */
  /* thanks */
  /* -------------------------------------------- */
  .thanks-message {
    margin: 0 auto 1em;
    font-size: 1.3em;
    letter-spacing: initial;
  }

  .thanks-read {
    margin: 0 auto 2em;
    text-align: left;
  }
}
/*===========================================================================*/
/*  media quary:479px  */
/*===========================================================================*/
@media screen and (max-width: 479px) {
  .contact-form .read {
    text-align: left;
  }
  .contact-form .tel-area dl dd {
    font-size: 1.8em;
  }
  .contact-form .tel-area p {
    font-size: 1em;
  }
}
