
/*===============================================
●共通
===============================================*/

.form table th span.must {
  color: #ff0000;
}

/* フォーム */
.input-error {
  display: none;
  margin: 10px 0 0 0;
  font-size: 14px;
  color: #ff0000;
  line-height: 100%;
}

.error-disp {
  display: block !important;
}


/*===============================================
●画面の横幅が813px以上(タブレット・PC)
===============================================*/
@media screen and (min-width: 813px) {

  /* メイン画像 */
  .main-img {
    width: 100%;
    margin: 0 auto;
  }

  .main-img img {
    width: 100%;
  }

  .form {
    width: 100%;
    margin: 0 auto 250px auto;
  }

  /* テーブル */
  .form table {
    width: 900px;
    margin: 50px auto 0 auto;
    border-top: #cccccc 1px solid;
  }

  .form table th {
    width: 280px;
    padding: 25px 0 25px 25px;
    font-size: 16px;
    color: #e89f42;
    line-height: 160%;
    text-align: left;
    border-bottom: #cccccc 1px solid;
    vertical-align: middle;
  }

  .form table td {
    padding: 25px 0 25px 25px;
    font-size: 16px;
    line-height: 160%;
    text-align: left;
    background-color: #fff;
    border-bottom: #cccccc 1px solid;
    vertical-align: top;
  }

  .form table td p.p01,
  .form table td p.p02 {
    font-size: 14px;
  }

  .form table td p.p02 {
    margin: 15px 0 0 0;
  }

  .form table td p.p01 span,
  .form table td p.p02 span {
    display: inline-block;
    width: 80px;
    margin: 15px 0 0 0;
    vertical-align: top;
  }

  .form table td p.p01 span:nth-of-type(2),
  .form table td p.p02 span:nth-of-type(2) {
    width: 105px;
    padding: 0 0 0 20px;
  }

  .form input {
    width: 540px;
    height: 50px;
    padding: 0 10px;
    font-size: 16px;
    border: #cccccc 1px solid;
  }

  .form input.input01 {
    width: 180px;
  }

  .form input.input02 {
    width: 464px;
  }

  .form textarea {
    width: 540px;
    height: 200px;
    padding: 10px;
    border: #cccccc 1px solid;
  }

  .form span#send-btn {
    cursor: pointer;
    margin: 60px auto 0 auto;
    display: block;
    width: 350px;
    height: 60px;
    padding: 21px 0 0 0;
    font-size: 20px;
    font-weight: 700px;
    color: #779652;
    text-align: center;
    line-height: 100%;
    border: 1px solid #779652;
    border-radius: 30px;
  }

  .form span#send-btn:hover {
    color: #fff;
    background-color: #779652;
    transition : .5s;
  }

}

/*===============================================
●画面の横幅が812px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 812px) {

  /* メイン画像 */
  .main-img {
    width: 100%;
    margin: 0 auto;
  }

  .main-img img {
    width: 100%;
  }


  /* テーブル */
  .form {
    width: 100%;
    margin: 60px auto 100px auto;
  }

  .form > p {
    width: 90%;
    margin: 0 auto;
    font-size: 16px;
    line-height: 25px;
    text-align: left;
  }

  .form table {
    width: 90%;
    margin: 40px auto 0 auto;
    border-top: #cccccc 1px solid;
    border-left: #cccccc 1px solid;
    border-right: #cccccc 1px solid;
  }

  .form table th {
    display: block;
    width: 100%;
    padding: 10px 0 10px 10px;
    font-size: 14px;
    color: #e89f42;
    line-height: 160%;
    text-align: left;
    border-bottom: #cccccc 1px solid;
  }

  .form table td {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 14px;
    line-height: 160%;
    text-align: left;
    background-color: #fff;
    border-bottom: #cccccc 1px solid;
  }

  .form table td p.p01,
  .form table td p.p02 {
    font-size: 12px;
  }

  .form table td p.p01 span,
  .form table td p.p02 span {
    display: block;
    width: 100%;
    margin: 10px 0 0 0;
    vertical-align: top;
  }

  .form table td p.p01 > span:nth-of-type(1) {
    margin: 0;
  }

  .form input {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    font-size: 16px;
    border: #cccccc 1px solid;
  }

  .form textarea {
    width: 100%;
    height: 140px;
    padding: 10px;
    border: #cccccc 1px solid;
  }

  .form  span#send-btn {
    margin: 40px auto 0 auto;
    display: block;
    width: 90%;
    max-width: 300px;
    height: 60px;
    padding: 22px 0 0 0;
    font-size: 16px;
    font-weight: 700px;
    color: #779652;
    text-align: center;
    line-height: 100%;
    border: 1px solid #779652;
    border-radius: 30px;
  }

}

