/* =================================
Main Form
================================= */
/* Button */
.btn-contact-wrap {
  text-align: center;
}
.btn-contact {
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  
  display: block;
  min-width: 200px;
  margin: 50px auto 0;
  padding: 20px 20px 20px;
  background: #000000;
  color: #ffffff;
  text-align: center;
  font-size: 17px;
  line-height: 1em;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-contact:hover {
  opacity: 0.8;
}

/* Table */
#form {
  margin: 50px 0 60px;
  padding: 0;
}
  #form table {
    width: 100%;
    font-family: 'Noto Sans Japanese', sans-serif, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.85em;
    letter-spacing: 0.05em;
    border-collapse: collapse;
  }
    #form tr {
      
    }
      #form th {
        display: block;
        position: relative;
        width: 100%;
        margin-bottom: 10px;
        padding: 3px 0 0 0;
        text-align: left;
        vertical-align: top;
        font-weight: 400;
      }
        #form th::before {
          content: '';
          display: inline-block;
          width: 10px;
          height: 10px;
          margin-right: 8px;
          vertical-align: -1.5px;
          border: solid 1px #000000;
        }
        #form th.required::after {
          content: '※';
          display: inline-block;
          margin-left: 5px;
          color: #e60012;
        }
      #form .th-strong {
        padding: 3px 0 20px 0;
        color: #000000;
        font-size: 14px;
        font-weight: 700;
      }
        #form .th-strong::before {
          content: '';
          display: none;
        }
      #form td {
        display: block;
        width: 100%;
        padding: 2px 0 0 0;
        padding: 2px 0 30px 0;
        vertical-align: top;
        /*border-bottom: solid 1px #d5d5d5;*/
      }

/* Form Parts */
  #form input,
  #form textarea,
  #form select {
    display: inline-block;
    margin-bottom: 5px;
    padding: 0 7px 0;
    font-family: 'Noto Sans Japanese', sans-serif, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.85em;
    letter-spacing: 0.05em;
    border: none;
  }
  #form input {
    height: 30px;
    background: #dcdddd;
  }
  #form textarea {
    width: 100%;
    max-width: 100%;
  }
  #form .form-input-01 {
    background: none;
    border-bottom: solid 2px #dcdddd;
  }
  #form select {
    height: 34px;
    border: solid 2px #dcdddd;
  }
  #form option {
    text-indent: 0.4em;
  }
  #form optgroup {
    text-indent: 0.5em;
    font-style: normal;
  }
  #form textarea {
    border: solid 2px #dcdddd;
  }
  
  #form .radio-01 {
    line-height: 1em;
  }
    #form .radio-01 > input {
      display: none;
    }
    #form .radio-01 > span {
      display: inline-block;
      position: relative;
      padding: 2px 0 0 26px;
    }
    #form .radio-01 > span::before {
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 17px;
      height: 17px;
      border: 1px solid #999999;
      border-radius: 50%;
    }
    #form .radio-01 > input:checked + span {
      
    }
    #form .radio-01 > input:checked + span::after {
      content: '';
      display: block;
      position: absolute;
      top: 4px;
      left: 4px;
      width: 11px;
      height: 11px;
      background: #000000;
      border-radius: 50%;
    }

  #form .checkbox-01 {
    line-height: 1em;
  }
    #form .checkbox-01 > input {
      display: none;
    }
    #form .checkbox-01 > span {
      display: inline-block;
      position: relative;
      padding: 2px 0 0 26px;
    }
    #form .checkbox-01 > span::before {
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 17px;
      height: 17px;
      border: 1px solid #999999;
      border-radius: 50%;
    }
    #form .checkbox-01 > input:checked + span {
      
    }
    #form .checkbox-01 > input:checked + span::after {
      content: '';
      display: block;
      position: absolute;
      top: 4px;
      left: 4px;
      width: 11px;
      height: 11px;
      background: #000000;
      border-radius: 50%;
    }
  
  #form td span {
    display: inline-block;
    cursor: pointer;
  }
  #form .span-01,
  #form .span-02 {
    display: block;
    vertical-align: top;
  }
    #form .span-01 > input,
    #form .span-01 > select {
      width: 165px;
    }
    #form .span-02 > input,
    #form .span-02 > select {
      width: 120px;
    }
  #form .add > div:nth-child(1),
  #form .add > div:nth-child(2) {
    display: block;
    vertical-align: top;
  }
    #form .add > div:nth-child(1) > input:nth-of-type(1) {
      width: 50px;
    }
    #form .add > div:nth-child(1) > input:nth-of-type(2) {
      width: 60px;
    }
    #form .add > div:nth-child(2) > input {
      width: 100%;
      max-width: 330px;
    }

/* Decoration */
.line-contact-01 {
  border-bottom: dashed 1px #838181;
}
.s-mr-comtact-01 {
  margin-right: 60px;
}
.txt-contact-center {
  text-align: center;
}
.txt-contact-strong {
  color: #e60012;
}
#form div.err {
  color: #e60012;
}
  #form div.err::before {
    content: '※';
  }

/* Message */
#message-error {
  margin-bottom: 30px;
  padding: 10px 10px 10px;
  background: #e60012;
  color: #FFFFFF;
  line-height: 1em;
}
#message-contact {
  margin-bottom: 30px;
  padding: 10px 10px 10px;
  background: #45a450;
  color: #FFFFFF;
  line-height: 1em;
}

/* =================================
Media Queries
================================= */
@media screen and (min-width: 751px) {
/* Button */
  .btn-contact {
    display: inline-block;
    margin: 50px auto 0;
  }
  .btn-contact:nth-child(2) {
    margin-left: 20px;
  }

/* Form Parts */
  #form .add > div:nth-child(2) > input {
    max-width: 420px;
  }
  #form textarea {
    max-width: 550px;
  }
  #form th {
    display: table-cell;
    width: 250px;
    margin-bottom: 0;
    padding: 3px 0 30px;
  }
  #form .th-strong {
    padding: 3px 0 30px 0;
  }
  #form td {
    display: table-cell;
    width: auto;
    margin-bottom: 20px;
    padding: 2px 0 30px 20px;
    border: none;
  }
  #form .span-01,
  #form .span-02 {
    display: inline-block;
  }
  #form .add > div:nth-child(1) {
    display: inline-block;
  }
  #form .add > div:nth-child(2) {
    display: inline-block;
    width: 330px;
  }
}
