@charset "UTF-8";
@import url(common.css);
/*==================================================================*/
/* contact css　*/
/*==================================================================*/
.title-area {
  background: url("/contact/image/title_bg.png") 0 bottom no-repeat;
  background-size: cover;
}

p.read {
  text-align: center;
}

/* form
---------------------------------------- */
input.middle, input.long, input.short, select, textarea {
  margin-bottom: 2px;
  padding: 6px;
  letter-spacing: 1px;
  border: 1px solid #eee;
  background: #eee;
}

button, input, select, textarea {
  font-size: 16px;
  vertical-align: baseline;
}

textarea {
  border: 1px solid #eee;
  background: #eee;
  width: 98%;
  font-family: sans-serif;
}

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

input.middle {
  width: 98%;
  max-width: 300px;
}

input.long {
  width: 98%;
  max-width: 500px;
}

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

.b-btn {
  font-size: 1.2em;
  padding: 10px;
  background: #003265;
  color: #fff;
  font-weight: bold;
  border: 1px solid #003265;
  transition: all 0.2s linear;
  font-size: 1.2em;
  line-height: 1.2;
  font-family: "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ ゴシック", "sans-serif";
}
.b-btn:hover {
  background: #004c9a;
  border: 1px solid #004c9a;
  box-shadow: 0px 0px 10px 0px #d3d3d3;
  cursor: pointer;
}

.tel {
  margin: 0 auto 2em;
  max-width: 900px;
  border-bottom: 1px solid #ccc;
}
.tel h2 {
  margin: 0 auto !important;
  position: relative;
  text-align: center;
}
.tel h2 span {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 0 1em;
  background-color: #fff;
  text-align: left;
}
.tel h2::before {
  position: absolute;
  top: 50%;
  z-index: 1;
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: #ccc;
  background: -webkit-linear-gradient(-45deg, transparent, #cccccc 10%, #cccccc 90%, transparent);
  background: linear-gradient(-45deg, transparent, #cccccc 10%, #cccccc 90%, transparent);
}
.tel ul {
  display: flex;
  justify-content: center;
}
.tel ul li {
  margin: 0 0.5em;
  font-size: 1.2em;
  font-weight: bold;
}
.tel ul li a {
  text-decoration: underline;
}
.tel ul li span {
  font-size: 1.5em;
  color: #003265;
}
.tel p {
  margin: 0 auto 0.5em;
  text-align: center;
}

p.agree {
  margin: 0 auto 1em;
  text-align: center;
}
p.agree a {
  position: relative;
  padding-right: 1.3em;
  text-decoration: underline;
}
p.agree a:hover {
  text-decoration: none;
}
p.agree a:before {
  position: absolute;
  content: "\f08e";
  right: 0;
  top: 0;
  font-family: FontAwesome;
}

/* -------------------------------------------- */
/* form */
/* -------------------------------------------- */
.form {
  max-width: 900px;
  width: 100%;
  margin: 0 auto 5em;
}
.form .form-inner {
  margin-bottom: 2em;
}
.form form dl {
  box-sizing: border-box;
  zoom: 1;
  border-bottom: 1px solid #b3b3b3;
}
.form form dl:after {
  content: ".";
  clear: both;
  height: 0;
  display: block;
  visibility: hidden;
}
.form form dl dt {
  width: 25%;
  padding: 20px;
  position: relative;
  float: left;
  font-weight: bold;
}
.form form dl dt span {
  padding: 0 5px;
  position: absolute;
  right: 10px;
  top: 25px;
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  zoom: 1;
  *display: inline;
  background: #801924;
  color: #fff;
  font-size: 0.8em;
}
.form form dl dd {
  width: 75%;
  min-height: 70px;
  padding: 20px;
  float: right;
  word-wrap: break-word;
}
.form form dl dd select {
  margin-bottom: 10px;
}
.form form dl dd ul li {
  margin: 0 10px 2px 0;
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  zoom: 1;
  *display: inline;
}
.form form dl dd .btn-style {
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  zoom: 1;
  *display: inline;
}
.form form dl dd .btn-style a {
  padding: 2px 10px 0;
  cursor: pointer;
  font-size: 0.9em;
}

form #btn {
  text-align: center;
}
form #btn ul {
  display: flex;
  justify-content: center;
  flex-flow: row-reverse;
}
form #btn ul li {
  width: 35%;
  margin: 0 1em;
}
form #btn ul li input {
  padding: 0.8em 3.5em;
  background: #003265;
  color: #fff;
  border: 1px solid #003265;
  font-size: 1.3em;
  transition: all 0.2s linear;
  line-height: 1.2;
  cursor: pointer;
  font-family: "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ ゴシック", "sans-serif";
}
form #btn ul li input:hover {
  background: #004c9a;
  border: 1px solid #004c9a;
  box-shadow: 0px 0px 10px 0px #d3d3d3;
  cursor: pointer;
}
form #btn ul li.back input {
  background-color: #a8a8a8;
  border: 1px solid #a8a8a8;
}
form #btn ul li.back input:hover {
  background: #ccc;
  border: 1px solid #ccc;
  box-shadow: 0px 0px 10px 0px #d3d3d3;
  cursor: pointer;
}
form #btn .b-btn {
  text-align: center;
  padding: 0.8em 3.5em;
  background: #003265;
  color: #fff;
  border: 1px solid #003265;
  font-size: 1.3em;
  transition: all 0.2s linear;
  line-height: 1.2;
}
form #btn .b-btn:hover {
  background: #004c9a;
  border: 1px solid #004c9a;
  box-shadow: 0px 0px 10px 0px #d3d3d3;
  cursor: pointer;
}

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

.hover {
  background: #e5e5d8 !important;
}

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

.form form dl dd .photoupload #drag-drop-area {
  border: 3px dotted #ccc;
  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 #ccc;
  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 #ccc;
  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;
}

.modal-overlay {
  position: fixed !important;
  width: 100%;
  height: 120%;
  top: 0;
  left: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.3);
}
.modal-overlay .modal-contents {
  margin-left: auto !important;
  position: fixed;
  margin: auto;
  padding: 30px;
  z-index: 11;
  width: 45%;
  height: 170px;
  background: #000;
  left: 0;
  right: 0;
  top: 0 !important;
  bottom: 0;
  border-radius: 15px;
  text-align: center;
}
.modal-overlay .modal-contents .modal-content {
  color: #fff;
  font-size: 1.2em;
}
.modal-overlay .modal-contents .modal-content p {
  margin: 0.5em auto;
  width: 150px;
  background: #fff;
  color: #000;
}
.modal-overlay .modal-contents .modal-content p.delete-txt {
  background: #99adc1;
}
.modal-overlay .modal-contents .modal-image img {
  width: 70%;
}

body.ui-overlay-c #header #header-in {
  table-layout: auto;
}

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

p.error {
  color: #ff3c44;
  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;
}

/*===========================================================================*/
/*  media quary:1000px  */
/*===========================================================================*/
/*===========================================================================*/
/*  media quary:767px  */
/*===========================================================================*/
@media screen and (max-width: 767px) {
  p.read {
    text-align: left;
  }

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

  .tel ul li span {
    font-size: 1.3em;
  }

  .form form dl input.long,
  .form form dl input.middle {
    max-width: auto !important;
  }

  .form form dl {
    box-sizing: border-box;
    zoom: 1;
    border-bottom: 5px solid #fff;
  }
  .form form dl dt {
    width: 100%;
    padding: 5px 20px;
    position: relative;
    float: none;
    font-weight: bold;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: #b2c1d0;
  }
  .form form dl dt span {
    padding: 0 5px;
    position: absolute;
    right: 10px;
    top: 8px;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    *vertical-align: auto;
    zoom: 1;
    *display: inline;
    color: #fff;
    font-size: 0.8em;
  }
  .form form dl dd {
    width: 100%;
    min-height: auto;
    padding: 20px;
    float: none;
    word-wrap: break-word;
  }
  .form form dl dd select {
    width: 60%;
  }

  body .modal-overlay .modal-contents {
    width: 80%;
    padding: 15px 8px 45px;
    height: 145px;
  }
  body .modal-overlay .modal-contents .modal-content {
    font-size: 1em;
  }
  body .modal-overlay .modal-contents .modal-image img {
    width: 70%;
  }

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

  /* -------------------------------------------- */
  /* thanks */
  /* -------------------------------------------- */
  .thanks-message {
    width: 95%;
    margin: 0 auto 1em;
    font-size: 1.5em;
  }

  .thanks-read {
    width: 95% !important;
    margin: 0 auto 2em;
    text-align: left;
  }
}
/*===========================================================================*/
/*  media quary:479px  */
/*===========================================================================*/
@media screen and (max-width: 479px) {
  .form dl dd span {
    font-size: 0.9em !important;
  }

  .tel ul {
    display: block;
  }
  .tel ul li {
    text-align: center;
    line-height: 1.2;
  }
  .tel ul li span {
    font-size: 1.5em;
  }
}
