﻿
/*================================================
 *   お問い合わせ
 ================================================*/
/*
header .inner {
    padding-right: 230px;
}
header .inner .nav_list .fixed_list {
    width: 180px;
}
header .inner .nav_list .fixed_list a.fixed_contact {
  display:none;
}
*/
#contact .contents {
  padding: 100px 70px 165px;
}
#contact .box01 {
  width: 620px;
  margin: 0 auto 110px;
  border: 1px solid #CCC;
  text-align: center;
  padding: 55px 10px;
  color: #4D4D4D;
}
#contact .box01 p.tel {
  font-size: 54px;
  letter-spacing: 0.04em;
}
#contact .box01 p.tel a::before {
  content: "";
  width: 29px;
  height: 37px;
  background: url(../image/contact_phone.svg) no-repeat 0 0/contain;
  display: inline-block;
  margin-right: 20px;
}
#contact .box01 p.text {
  font-size: 20px;
  padding: 15px 0 0 55px;
}
#contact p.main_text {
  font-size: 20px;
  margin-bottom: 70px;
  line-height: 1.75;
}
#contact .required {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #a92224;
  color: #fff;
  font-size: 12px;
  width: 36px;
  height: 21px;
}
#contact p.caution_text {
  font-size: 18px;
  margin-bottom: 28px;
  line-height: 1.75;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
#contact p.caution_text .required {
  font-size: .92em;
  width: 50px;
  height: 28px;
  margin-right: 0.75em;
}
/* テーブル */
.tbl_01 tr:nth-last-child(2).business-op th {
  border-bottom: 1px solid #67B944;
}
.tbl_01 tr:nth-last-child(2).business-op td {
  border-bottom: 1px solid #999;
}
.tbl_01 th {
  width: 28%;
  padding: 30px 30px 30px 25px;
}
.tbl_01 td {
  width: 72%;
}
.mw_wp_form .tbl_01 td .error {
  margin-top: 0.25em
}
/*チェックボックス＋ラジオボタン*/
.contents table [class*="radio"] label {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.contents table [class*="radio"] + [class*="radio"] {
  margin-top: 1em;
}
.contents table [class*="radio"] label input:not([type=text]) {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.contents table [class*="radio"] label > span {
  position: relative;
  padding-left: 40px;
  display: block;
}
.contents table [class*="radio"] label > span::before, .contents table [class*="radio"] label > span::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  display: block;
}
.contents table [class*="radio"] label > span::before, .contents table [class*="radio"] label > span::after {
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
.contents table [class*="radio"] label > span::before {
  border: 1px solid #9f9f9f;
  z-index: 1;
}
.contents table [class*="radio"] label input:checked + span::after {
  background-color: #67B944;
  border: 7px solid #fff;
  z-index: 0;
}
/*フォームサイズ*/
.contents table td > div:not(:first-child) {
  margin-top: 1em;
}
.contents table select {
  padding: 0 2em 0 0.5em;
  border-radius: 3px;
  border: 1px solid #9f9f9f;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: url(../image/select_arrow.svg) no-repeat center right 0.85em/11px #fffff0;
  height: 46px;
  line-height: normal;
  color: #666;
  width: 240px;
}
.contents table input[type=text], .contents table input[type=tel], .contents table input[type=email], .contents table input[type=number], .contents table input[type=url], .contents table input[type=date] {
  padding: 0 0.5em;
  background-color: #fffff0;
  border: 1px solid #9f9f9f;
  border-radius: 3px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  line-height: normal;
  height: 46px;
  color: #666;
}
.contents table #zip {
  margin: 0 0 0 .5em;
}
.contents table textarea {
  background-color: #fffff0;
  border: 1px solid #9f9f9f;
  border-radius: 3px;
  width: 100%;
  height: 170px;
  padding: 0.3em 0.5em;
  vertical-align: bottom;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  color: #666;
}
/* ボタン */
#contact .submit_btn {
  text-align: center;
  margin-top: 80px;
  font-size: 22px;
}
#contact .submit_btn input {
  width: 360px;
  max-width: 70%;
  padding: 24px 50px;
  border: none;
  color: #fff;
  cursor: pointer;
  background-color: #FBB03B;
  -webkit-transition: all 0.1s linear;
    transition: all 0.1s linear;
}
#contact .submit_btn input:hover {
  opacity:0.7;
}
/* フッター */
footer .cmn_contact {
  display: none;
}
/*******情報＋ナビ*******/
footer .footer_info_box {
  padding-top: 95px;
}
/* エラー */
.mw_wp_form_error .error_box .error {
  display: block;
  background-color: #a92224;
  color: #fff;
  font-size: 22px;
  letter-spacing: 0.08em;
  margin-bottom: 52px;
  padding: 22px 5px;
  text-align: center;
}
.mw_wp_form .error-message, .mw_wp_form_error .error ~ .error-message {
  display: none;
}
.mw_wp_form_error .error-message {
  display: block;
  background-color: #a92224;
  color: #fff;
  font-size: 28px;
  letter-spacing: 0.08em;
  margin-bottom: 52px;
  padding: 19px 5px;
  text-align: center;
}
/* thanksページ */
#contact #thanks p.main_text {
  text-align: center;
  line-height: 2.5;
  font-size: 20px;
}
#contact #thanks p.btn {
  margin-top: 65px;
}
#contact #thanks p.btn a {
  font-size: 22px;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 380px;
  height: 80px;
  border-radius: 80px;
  margin: 0 auto;
  letter-spacing: .06em;
  background-color: #7bb755;
  color: #fff;
}
#contact #thanks p.btn a:hover {
  opacity: .7;
}
/*================================================================================================
 *  スマートフォン向けデザイン
 ================================================================================================*/
@media screen and (max-width: 900px) {
  #contact .contents {
    padding: 12vw 7vw 16vw;
  }
  #contact .box01 {
    width: 100%;
    margin: 0 auto 15.2vw;
    padding: 8.533vw 2.667vw;
  }
  #contact .box01 p.tel {
    font-size: 8.8vw;
  }
  #contact .box01 p.tel a::before {
    width: 5.067vw;
    height: 6.667vw;
    margin-right: 2.667vw;
    margin-left: -0.25em;
  }
  #contact .box01 p.text {
    font-size: 3.2vw;
    padding: 1.867vw 0 0 13.333vw;
    text-align: left;
  }
  #contact p.main_text {
    font-size: 4vw;
    margin-bottom: 9.2vw;
    line-height: 1.75;
  }
  #contact .required {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #a92224;
    color: #fff;
    font-size: 3.2vw;
    width: 9.6vw;
    height: 5.867vw;
  }
  #contact p.caution_text {
    font-size: 4vw;
    margin-bottom: 7.467vw;
  }
  #contact p.caution_text .required {
    font-size: 3.467vw;
    width: 10.133vw;
    height: 6.4vw;
  }
  /* テーブル */
  .tbl_01 th {
    border-bottom: none !important;
  }
  .tbl_01 th {
    width: 100%;
    padding: 5.333vw 0;
  }
  .tbl_01 td {
    width: 100%;
  }
  /*チェックボックス＋ラジオボタン*/
  .contents table [class*="radio"] label {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  .contents table [class*="radio"] + [class*="radio"] {
    margin-top: 1em;
  }
  .contents table [class*="radio"] label input:not([type=text]) {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .contents table [class*="radio"] label > span {
    position: relative;
    padding-left: 10.667vw;
    display: block;
  }
  .contents table [class*="radio"] label > span::before, .contents table [class*="radio"] label > span::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    display: block;
  }
  .contents table [class*="radio"] label > span::before, .contents table [class*="radio"] label > span::after {
    border-radius: 50%;
    width: 8vw;
    height: 8vw;
  }
  .contents table [class*="radio"] label > span::before {
    border: 1px solid #9f9f9f;
    z-index: 1;
  }
  .contents table [class*="radio"] label input:checked + span::after {
    background-color: #67B944;
    border: 1.867vw solid #fff;
    z-index: 0;
  }
  /*フォームサイズ*/
  .contents table td > div:not(:first-child) {
    margin-top: 1em;
  }
  .contents table select {
    border-radius: 0.8vw;
    background-size: 2.933vw auto;
    height: 12.267vw;
    width: 100%;
  }
  .contents table select#pref {
    width: 40vw;
  }
  .contents table input[type=text], .contents table input[type=tel], .contents table input[type=email], .contents table input[type=number], .contents table input[type=url], .contents table input[type=date] {
    border-radius: 0.8vw;
    height: 12.267vw;
    width: 100%;
  }
  .contents table input[type=tel] {
    width: 10em;
  }
  .contents table input[type=tel] {
    width: 10em;
  }
  .contents table textarea {
    border-radius: 0.8vw;
    height: 45.333vw;
  }
  /* ボタン */
  #contact .submit_btn {
    margin-top: 8vw;
    font-size: 4.8vw;
  }
  #contact .submit_btn input {
    width: 77%;
    max-width: 77%;
    padding: 4.8vw 13.333vw;
  }
  /* エラー */
  .mw_wp_form .error_box .error {
    font-size: 4vw;
    margin-bottom: 9.333vw;
    padding: 4vw 4.5vw;
    line-height: 1.5;
  }
  .mw_wp_form_error .error-message {
    font-size: 4vw;
    margin-bottom: 9.333vw;
    padding: 4vw 1.333vw;
    line-height: 1.75;
  }
  /* thanksページ */
  #contact #thanks p.main_text {
    font-size: 4vw;
    line-height: 2;
    margin-bottom: 13.333vw;
    text-align: left;
  }
  #contact #thanks p.btn a {
    width: 90%;
    padding: 4vw 4.333vw;
    height: 18.667vw;
    font-size: 4.8vw;
  }
  /* SP下タブ（非表示） */
  #contact footer {
    padding-bottom: 5vw;
  }
  body#contact .sp_fixed_bottom {
    display: none;
  }
}