@charset "UTF-8";
/*
# 独自のmixinやプレースホルダーを定義するファイル。
*/
/*
## clearfixのプレースホルダーです。
*/
/*
## ie7をサポートしたinline-blockのプレースホルダーです。
*/
/* CSS Document */
/* mainv_box
---------------------------------------*/
.mainv_box {
  height: 340px;
  background: url(../img/contact_mv.png) center center no-repeat;
  background-size: cover;
  position: relative;
}
.mainv_box h1 {
  font-size: 34px;
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
@media (max-width: 767px) {
  .mainv_box {
    height: 210px;
  }
  .mainv_box h1 {
    font-size: 27px;
  }
}

/* 問い合わせ＆完了画面 form
---------------------------------------*/
#form {
  position: relative;
  z-index: 0;
}
#form .inner {
  padding-top: 60px;
  max-width: 990px;
}
#form .cont_ttl {
  text-align: center;
  margin-bottom: 50px;
}
#form .top {
  margin-bottom: 70px;
}
#form p {
  text-align: center;
}
#form .inner {
  padding-bottom: 100px;
}
#form table {
  margin: 40px auto;
  border-collapse: separate;
  width: 100%;
}
#form input[type="submit"],
#form input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
#form input[type="text"],
#form input[type="email"],
#form input[type="tel"],
#form textarea {
  border: none;
  background: #f3f3f3;
  font-size: 16px;
  width: 100%;
  padding: 11px 23px;
}
#form input[type="text"]::placeholder,
#form input[type="email"]::placeholder,
#form input[type="tel"]::placeholder,
#form textarea::placeholder {
  color: #999999;
  font-size: 14px;
  font-family: serif;
  letter-spacing: 0.2em;
}
#form input[type="text"]::-ms-input-placeholder,
#form input[type="email"]::-ms-input-placeholder,
#form input[type="tel"]::-ms-input-placeholder,
#form textarea::-ms-input-placeholder {
  color: #999999;
  font-size: 14px;
  font-family: serif;
  letter-spacing: 0.2em;
}
#form input[type="text"]::-mos-input-placeholder,
#form input[type="email"]::-mos-input-placeholder,
#form input[type="tel"]::-mos-input-placeholder,
#form textarea::-mos-input-placeholder {
  color: #999999;
  font-size: 14px;
  font-family: serif;
  letter-spacing: 0.2em;
}
@media all and (-ms-high-contrast: none) {
  #form input[type="text"],
  #form input[type="email"],
  #form input[type="tel"],
  #form textarea {
    overflow-y: hidden;
  }
}
#form th {
  width: 30%;
  position: relative;
  font-weight: bold;
  padding: 15px 0;
  vertical-align: middle;
}
#form th p {
  text-align: left;
  line-height: 1;
}
#form th p::before {
  display: block;
  width: 0;
  height: 0;
  margin-top: calc((1 - 1) * .5em);
  content: "";
}
#form th p::after {
  display: block;
  width: 0;
  height: 0;
  margin-bottom: calc((1 - 1) * .5em);
  content: "";
}
#form th p span {
  display: block;
  font-weight: 400;
  font-size: 12px;
  margin-top: 5px;
}
#form td {
  padding: 15px 0;
  width: 70%;
  vertical-align: middle;
}
#form .radio {
  display: flex;
}
#form .radio li {
  margin-right: 28px;
}
#form .radio li:last-child {
  margin-right: 0;
}
#form .red {
  font-size: 12px;
  color: #dd2626;
  text-align: left;
  margin-top: 10px;
}
#form .required {
  background: #a6903f;
  font-size: 11px;
  margin-right: 30px;
  color: #fff;
  padding: 0 5px;
  margin-top: 0;
  width: 36px;
  height: 16px;
  line-height: 16px;
  position: absolute;
  right: 0;
  top: 50%;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
#form .link_btn a, #form .link_btn button {
  font-family: shippori-mincho,serif;
  border: none;
  display: block;
  margin: 0 auto;
  color: #fff;
  text-align: center;
  width: 240px;
  font-size: 15px;
  padding: 19px;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
#form .link_btn a:hover, #form .link_btn button:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
}
@media (max-width: 767px) {
  #form .inner {
    padding: 40px 20px 80px;
  }
  #form .top {
    margin: 20px auto;
  }
  #form table {
    width: 100%;
  }
  #form th, #form td {
    display: block;
  }
  #form th {
    width: 100%;
    padding-bottom: 0;
  }
  #form td {
    width: 100%;
    border-top: none;
  }
  #form .radio {
    flex-direction: column;
  }
  #form .radio li {
    margin-right: 0;
    margin-bottom: 5px;
  }
  #form .radio li:last-child {
    margin-right: 0;
    margin-bottom: 0;
  }
  #form .red {
    margin-top: 15px;
    line-height: 1.5em;
  }
  #form .required {
    margin-right: 0;
    top: 18px;
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

/* 確認画面 conf
---------------------------------------*/
#conf .cont_ttl {
  text-align: center;
  margin-bottom: 50px;
}
#conf h3 {
  text-align: center;
  font-size: 18px;
  line-height: 1.7;
}
#conf h3::before {
  display: block;
  width: 0;
  height: 0;
  margin-top: calc((1 - 1.7) * .5em);
  content: "";
}
#conf h3::after {
  display: block;
  width: 0;
  height: 0;
  margin-bottom: calc((1 - 1.7) * .5em);
  content: "";
}
#conf .error_messe {
  color: #ff0000;
}
#conf .send_btn {
  font-family: shippori-mincho,serif;
  border: none;
  display: block;
  margin: 0 auto;
  color: #fff;
  text-align: center;
  width: 240px;
  font-size: 15px;
  padding: 19px;
  background: #a6903f;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
#conf .send_btn:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
}
#conf .clum_box {
  display: flex;
  justify-content: center;
}
#conf .clum_box li:first-child {
  margin-right: 30px;
}
#conf .clum_box li:first-child .send_btn {
  background: #656155;
}
#conf td {
  line-height: 1.5em;
}
@media (max-width: 767px) {
  #conf h3 {
    font-size: 16px;
  }
  #conf th {
    padding-bottom: 15px;
    background: #eee;
    padding-left: 10px;
  }
  #conf td {
    padding-left: 10px;
  }
  #conf .clum_box {
    flex-direction: column;
  }
  #conf .clum_box li:first-child {
    margin-right: 0;
  }
  #conf .clum_box li:last-child .send_btn {
    margin-top: 20px;
  }
}
