@charset "utf-8";
/* CSS Document */

/*================================
共通
================================*/
@media (min-width: 768px){
  #contact_form #main section{
    padding-top: 70px !important;
  }
}

/*MV
================================*/
#page_mv{
  position: relative;
  padding-bottom: 50px;
}
#page_mv::before{
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #cacaca;
}
#page_mv .breadcrumb{
  margin-bottom: 0;
}
#page_mv .mv_form{
  position: relative;
}
#page_mv .mv_form::before{
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: -50px;
  width: 88px;
  height: 1px;
  background-color: #ef5a24;
}

/*フォーム共通
================================*/
#form{
  margin-top: 50px;
}
#form .form-control{
  border-color: #cacaca;
}
#form .form-control:focus,
#form .form-check-input:focus{
  box-shadow: 0 0 0 .25rem rgba(249, 246, 242, .85);
}
#form input:-webkit-autofill,
#form input:-webkit-autofill:hover,
#form input:-webkit-autofill:focus,
#form input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
}
#form .form-check-input:checked{
  background-color: #ef5a24;
  border-color: #ef5a24;
}

/*ボタンボックス*/
.btnbox{
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 1rem;
}
.btnbox .submit{
  position: relative;
  width: 100%;
}
.btnbox .submit::after{
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%) rotate(45deg);
  border-color: #fff;
  border-width: 1px;
  border-style: solid;
  border-left: 0;
  border-bottom: 0;
}

/*ボタン*/
.btn_submit{
  width: 100%;
  display: block;
  font-weight: bold;
  border-color: #000;
  border-radius: 3px; 
  color: #fff;
  background-color: #000;
}

@media (hover: hover) {
  .btn_submit:hover{
    color: #fff;
    border-color: #000;
    background-color: #333;
  }
}
@media (min-width: 768px){
  .btnbox .submit{
    max-width: 270px;
  }
  .btn_submit{
    padding: .75rem;
  }
}
@media (max-width: 767px){
  .btnbox .submit{
    max-width: 230px;
  }
  .btn_submit{
    font-size: .8rem;
    padding: .6rem .5rem;
  }
}

/*必須エラー*/
#form .formError{
  opacity: .9 !important;
}
#form .formError .formErrorContent{
  background: #eb1c24;
  border: none;
  box-shadow: none;
  border-radius: 3px;
  margin-top: 10px;
}
#form .formError .formErrorArrowBottom{
  display: none;
}
/*エラーボックス*/
.error_box{
  background-color: #f9f3ef;
  padding: 1rem;
}

/*入力画面
================================*/
#form .table>:not(caption)>*>*{
  border-bottom-width: 0;
  padding: 1rem .5rem;
}
#form th .required{
  color: #eb1c24;
  margin-left: .5rem;
}
#form td .form-group{
  position: relative;
}
#form td .form-group.name > div{
  display: flex;
  align-items: center;
}
#form td .form-group.name label{
  width: 32px;
  margin-right: .5rem;
}
#form td .form-group.zip{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#form td .form-group.zip input{
  width: 200px;
}
#form td .form-group p{
  color: #666;
  font-size: .8rem;
  margin-left: .5rem;
  margin-bottom: 0;
}
#form .btn_submit{
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 992px){
  #form td .form-group.name{
    display: flex;
  }
  #form td .form-group.name > div:not(:last-child){
    margin-right: 1rem;
  }
}
@media (min-width: 768px){
  #form th{
    min-width: 200px;
  }
  #form td .form-group.name input{
    width: 300px;
  }
}
@media (max-width: 991px){
  #form td .form-group.name > div:not(:last-child){
    margin-bottom: .5rem;
  }
  #form td .form-group p{
    margin-top: .5rem;
  }
}
@media (max-width: 767px){
  #form th,
  #form td{
    display: block;
    width: 100%;
  }
  #form th{
    padding-bottom: 0 !important;
  }
  #form td .form-group.name input{
    flex: 1;
  }
}

/*確認画面と完了画面の共通
================================*/
.contact_ttl{
  position: relative;
  font-size: 1.4rem;
  font-weight: bold;
  padding-left: 1rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.contact_ttl::after{
  content: '';
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: #22b373;
  border-radius: 50%;
}

/*確認画面
================================*/
#confirm .form_table{
  border-top: #cacaca 1px solid;
  border-color: #cacaca;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}
#confirm .form_table th{
  background-color: #f5f6f4;
}
#confirm .btnbox > .return,
#confirm .btnbox > .submit_func{
  width: 50%;
}

@media (min-width: 768px){
  #confirm .form_table>:not(caption)>*>*{
    padding: .75rem 1rem;
  }
  #confirm .form_table th{
    width: 200px;
  }
}
@media (max-width: 767px){
  #confirm .form_table th,
  #confirm .form_table td{
    display: block;
    width: 100%;
  }
}

/*戻るボタン*/
.btn_return{
  position: relative;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: 0;
  font-weight: bold;
  border-color: #000;
  border-radius: 3px; 
  color: #000;
  background-color: #fff;
}
@media (hover: hover) {
  .btn_return:hover{
    color: #000;
    border-color: #000;
    background-color: #e4e4e4;
  }
}
@media (min-width: 768px){
  .btn_return{
    max-width: 270px;
    padding: .75rem;
  }
}
@media (max-width: 767px){
  .btn_return{
    font-size: .8rem;
    max-width: 230px;
    padding: .6rem .5rem;
  }
}

/*完了画面
================================*/
#finish .btn_detail{
  margin-top: 2rem;
}