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

/*================================
フォーム 共通
================================*/
.req{
  color: #eb1c24;
}

/*フォームの背景
================================*/
@media (min-width: 768px){
  #contact_form{
    clip-path: inset(0 0 round 50px 50px 0 0);
  }
}
@media (max-width: 767px){
  #contact_form{
    clip-path: inset(0 0 round 30px 30px 0 0);
  }
}

/*フォームのパーツ
================================*/
#contact_form input,
#contact_form select,
#contact_form textarea{
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  border-radius: 5px;
  border: #ebe9e2 1px solid;
}
#contact_form input,
#contact_form select,
#contact_form textarea {
  width: 100%;
  background: #fff;
  display: block;
  transition: 0.8s;
}
#contact_form input::placeholder,
#contact_form select option .placeholder,
#contact_form textarea::placeholder{
  color: #b1b1b1;
}
#contact_form select {
  color: #444c48;
}
#contact_form select:has(option[value=""]:checked) {
  color: #b1b1b1;
}
#contact_form select option {
  color: #444c48;
}
#contact_form input,
#contact_form textarea{
  padding: 12px 15px;
}

/*セレクトボックス*/
#contact_form .select_deco{
  position: relative;
  max-width: 400px;
  border-radius: 5px;
  border: #ebe9e2 1px solid;
  background-color: #fff;
}
#contact_form .select_deco::before{
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 17px;
  right: 17px;
  transform: rotate(135deg);
  border-width: 1px;
  border-style: solid;
  border-left: 0;
  border-bottom: 0;
  border-color: #198953;
  z-index: 0;
}
#contact_form .select_deco select{
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background-color: transparent;
  padding: 12px 40px 12px 15px;
  position: relative;
  z-index: 1;
  cursor: pointer;
}


/*ボタン
================================*/
.btnbox{
  display: flex;
  justify-content: center;
  margin-top: 40px;
  column-gap: 10px;
}
/*確認画面に進む*/
.btn_submit{
  position: relative;
  color: #fff;
  font-weight: 600;
  text-align: left;
  border-radius: 32px;
  border: #198953 1px solid;
  background-color: #198953;
  width: 100%;
  max-width: 240px;
  padding: 15px 20px;
  transition: .3s;
  cursor: pointer;
}
.btn_submit::before,
.btn_submit::after{
  content: '';
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.btn_submit::before{
  width: 32px;
  height: 32px;
  border: #ebe9e2 1px solid;
  border-radius: 50%;
  background-color: #fff;
  right: 10px;
}
.btn_submit::after{
  width: 4px;
  height: 4px;
  background-color: #198953;
  border-radius: 50%;
  right: 24px;
}
@media (hover: hover) {
  .btn_submit:hover{
    color: #fff;
    background-color: #00992B;
  }
}
@media (max-width: 767px){
  .btn_submit{
    font-size: 14px;
  }
}


/*注意事項
================================*/
.note{
  margin-top: 15px;
  font-size: 14px;
  text-indent: -14px;
  padding-left: 14px;
  line-height: 1.5;
}

/*================================
入力画面
================================*/
#contact_form table th,
#contact_form table td{
  padding-left: 0;
  padding-right: 0;
}
#contact_form table td{
  padding-bottom: 40px;
}
#contact_form .privacy{
  text-align: center;
  margin-top: 40px;
}
@media (min-width: 768px){
  #contact_form table th{
    padding-top: 13px;
    padding-bottom: 0;
  }
  #contact_form table td{
    padding-top: 0;
  }
}
@media (max-width: 767px){
  #contact_form #form table th,
  #contact_form #form table td{
    width: 100%;
    display: block;
    padding-top: 0;
  }
  #contact_form .privacy p{
    display: inline-block;
    text-align: left;
  }
}

/*バリデーション（エラーバルーン）
================================*/
#contact_form table td{
  position: relative;
}

/*エラーBOX
================================*/
.error_box{
  border: #ebe9e2 1px solid;
  padding: 10px;
  margin-bottom: 70px;
}
.error_box p{
  color: #eb1c24;
  font-size: 14px;
}


/*================================
確認画面
================================*/
#confirm table th,
#confirm table td{
  padding: 10px;
  border-bottom: #ebe9e2 1px dashed;
}
#confirm .return .btn_return{
  color: #444c48;
  background-color: #ebe9e2;
  border-radius: 32px;
  text-align: center;
}
@media (min-width: 768px){
  #confirm table th{
    width: 200px;
  }
  #confirm .return .btn_return{
    width: 150px;
    margin-left: auto;
    margin-right: 0;
  }
  #confirm .submit{
    width: 240px;
  }
}
@media (max-width: 767px){
  #confirm table th,
  #confirm table td{
    width: 100%;
    display: block;
    border-bottom: none;
  }
  #confirm table th{
    background-color: #ebe9e2;
  }
  #confirm .btnbox{
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
  }
  #confirm .return,
  #confirm .submit{
    width: 50%;
  }
  #confirm .return .btn_return{
    font-size: 14px;
    padding: 15px 10px;
  }
}


/*================================
完了画面
================================*/
#contact_finish .btnbox .btn_grn{
  width: 100%;
}