@charset "utf-8";
/*お問い合わせ*/

/*ContactForm7カスタマイズ*/
table.CF7_table {
    width: 100%;
    margin: 0 auto;
  }
  
  
  .CF7_table td,
  .CF7_table th {
    border: none;
    display: block;
    font-size: 18px;
  }
  .CF7_table td{
    margin-bottom: 20px;
  }
  .CF7_table th{
    margin: 10px 0;
  }
  .single .entry-content table.CF7_table,
  .page .entry-content table.CF7_table {
    display: table;
  }
  
  /*入力欄*/
  .CF7_table input,
  .CF7_table textarea,
  .CF7_table select {
    border: 1px solid #DDDDDD;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    background: none;
    border-radius: 5px;
  }
  
  .sluck-select {
    /* selectボックスの親要素 */
    position: relative;
  }
  
  .sluck-select:after {
    /* selectボックスの親要素にオリジナルの矢印を宣言 */
    content: '\f078';
    /* fontawesomeのアイコン表示 */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    color: var(--sub-color);
    width: 0;
    z-index: 0;
    position: absolute;
    top: 50%;
    right: 85px;
    transform: translateY(-50%);
  }
  .cf_select{
    position: relative;
  }
  .CF7_table select {
    /* select要素 */
    appearance: none;
  }
  .CF7_table .cf_select::before {
    position: absolute;
    top: 20%;
    right: 3%;
    transform: translateY(-50%) translateX(0%);
    -webkit-transform: translateY(-50%) translateX(0%);
    width: 0;
    height: 0;
    border-width: 10px 8px 0 8px;
    border-style: solid;
    border-color: #808080 transparent transparent transparent;
    content: "";
    pointer-events: none;
  }
  
  .CF7_table ::placeholder {
    color: #797979;
  }
  .CF7_table p{
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 13px;
  }
  .CF7_table span{
      font-size: 14px;
      font-weight: 400;
  }
  /*「必須」文字*/
  .CF7_req {
    padding: 5px 14px;
    background: #e6007f;
    color: #fff;
    border-radius: 50px;
    margin-left: 1em;
  }
  
  /*「任意」文字*/
  .CF7_unreq {
  
    padding: 5px 14px;
    background: #858585;
    /*グレー*/
    color: #fff;
    border-radius: 50px;
    margin-left: 1em;
  }
  
  .bd p{
      display: flex;
      align-items: center;
  }
  .bd-y{
      width: 80px !important;
  }
  .bdspan{
      margin: 0 15px 0 7px;
  }
  .row-privacy{
      text-align: center;
      margin-bottom: 20px;
  }
  
  /* レスポンシブ */
  @media screen and (max-width: 768px) {
    table.CF7_table {
        width: 95%;
    }
  
    .CF7_table tr,
    .CF7_table td,
    .CF7_table th {
        display: block;
        width: 100%;
        text-align: left;
    }
    .CF7_table p{
      margin-bottom: 0;
    }
  }
  
  /* 「送信する」ボタン */
  .wpcf7 input.wpcf7-submit {
  display: block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  width: 240px;
  padding: 1rem 4rem;
  font-weight: bold;
  border: 2px solid #171A1C;
  color: #171A1C;
  cursor: pointer;
  position: relative;
   overflow: hidden;
   z-index: 1;
    margin: 0 auto;
    background-color: inherit;
    border-radius: 0;
    font-size: 16px;
    transition: all .3s;
    background: none;
  }
  .wpcf7 input.wpcf7-submit::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #171A1C;
  transform: translateX(-100%);
  transition: all .3s;
  z-index: -1;
  }
  .wpcf7 input.wpcf7-submit:hover::before{
    transform: translateX(0);
  }
  .wpcf7 input.wpcf7-submit:hover{
      color: #fff;
    opacity: 1;
    background-color: #171A1C;
  }
  /* 「戻るボタン」ボタン */
  .wpcf7 input.wpcf7-previous {
      display: block;
      text-align: center;
      vertical-align: middle;
      text-decoration: none;
      width: 240px;
      padding: 1rem 4rem;
      font-weight: bold;
      border: 2px solid #171A1C;
      color: #171A1C;
      cursor: pointer;
      position: relative;
       overflow: hidden;
       z-index: 1;
        margin: 0 auto;
        background-color: inherit;
        border-radius: 0;
        font-size: 16px;
        transition: all .3s;
        margin-bottom: 20px;
      }
      .wpcf7 input.wpcf7-previous::before{
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: #171A1C;
      transform: translateX(-100%);
      transition: all .3s;
      z-index: -1;
      }
      .wpcf7 input.wpcf7-previous:hover::before{
        transform: translateX(0);
      }
      .wpcf7 input.wpcf7-previous:hover{
          color: #fff;
        opacity: 1;
        background-color: #171A1C;
      }
  
  .CF7_btn {
    text-align: center;
    margin-top: 20px;
  }
  
  .wpcf7-spinner {
    width: 0;
    margin: 0;
  }
  .form__body span{
    font-weight: 600;
  }
  .row-privacy .form__body{
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
  }
  .row-attentions{
    background-color: #f5f5f5;
    padding: 20px 30px;
    margin: 20px 0;
  }
  .row-attentions .form__body{
    font-size: 16px;
  }
  .row-attentions .acceptance-429{
    margin: 0 auto;
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: -30px;
  }

  .a-contact_wrap p,.a-contact_wrap li{
    font-size: 16px;
    letter-spacing: .02em;
    line-height: 1.8;
  }
  .a-contact_top p{
    font-size: 18px;
    font-weight: 600;
  }
  .a-contact_wrap a{
    text-decoration: underline;
  }
  dl.accordion dd{
    background: #f4f4f4;
    padding: 10px 20px;
  }
  @media screen and (max-width: 768px){
    .row-attentions{
        padding: 20px;
    }
    .CF7_table td, .CF7_table th{
        font-size: 16px;
    }
  }