@charset "utf-8";
/* ==================================================
   お問い合わせフォーム
   位置揃え修正版
================================================== */

#mail-form {
  box-sizing: border-box;
}


/* フォーム全体 */
#mail-form .contact-form {
  width: 860px;
  max-width: 90%;
  margin: 0 auto;
  padding: 12px 14px;

  box-sizing: border-box;

  border: 1px solid rgba(255, 255, 255, 0.65);
  background: transparent;

  color: #fff;
  font-size: 15px;
  line-height: 1.4;
}


/* --------------------------------
   各行
-------------------------------- */

#mail-form .contact-row {
  display: flex;
  align-items: center;

  min-height: 42px;
  padding: 4px 8px;

  box-sizing: border-box;

  border-bottom:
    1px dotted rgba(255, 255, 255, 0.35);
}


/* --------------------------------
   左側の項目名
-------------------------------- */

#mail-form .contact-label {
  flex: 0 0 200px;

  width: 200px;
  padding-right: 12px;

  box-sizing: border-box;

  color: #fff;

  font-size: 15px;
  font-weight: bold;

  text-align: right;
  white-space: nowrap;
}


/* --------------------------------
   右側
-------------------------------- */

#mail-form .contact-field {
  flex: 1;

  min-width: 0;

  color: #fff;
  text-align: left;
}


/* --------------------------------
   入力欄
   全部同じ左位置から開始
-------------------------------- */

#mail-form .contact-field input[type="text"],
#mail-form .contact-field input[type="email"],
#mail-form .contact-field input[type="tel"] {

  display: block;

  width: 360px;
  max-width: 100%;
  height: 28px;

  margin: 0;
  padding: 3px 6px;

  box-sizing: border-box;

  border: 1px solid #aaa;
  border-radius: 2px;

  background: #fff;
  color: #333;

  font-family: inherit;
  font-size: 13px;
}


/* --------------------------------
   お問い合わせ内容
-------------------------------- */

#mail-form .message-row {
  align-items: flex-start;

  padding-top: 14px;
  padding-bottom: 14px;
}


#mail-form .message-row .contact-label {
  padding-top: 2px;
}


#mail-form .message-row textarea {

  display: block;

  width: 420px;
  max-width: 100%;
  height: 165px;

  margin: 0;
  padding: 6px;

  box-sizing: border-box;

  border: 1px solid #999;
  border-radius: 2px;

  background: #fff;
  color: #333;

  font-family: inherit;
  font-size: 13px;

  resize: vertical;
}


/* --------------------------------
   ラジオボタン
-------------------------------- */

#mail-form .radio-field {

  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 5px 18px;

  text-align: left;
}


#mail-form .radio-field label {

  display: inline-flex;
  align-items: center;

  margin: 0;

  color: #fff;

  font-size: 14px;
  font-weight: bold;

  white-space: nowrap;
  cursor: pointer;
}


#mail-form .radio-field input[type="radio"] {

  width: auto;
  height: auto;

  margin: 0 6px 0 0;
}


/* --------------------------------
   貴社名
-------------------------------- */

#mail-form .company-field {

  display: flex;
  align-items: center;
  flex-wrap: nowrap;

  text-align: left;
}


#mail-form .company-field input[type="text"] {

  flex: 0 0 240px;

  width: 240px;

  margin: 0;
}


#mail-form .form-note {

  display: inline-block;

  margin-left: 10px;

  color: #fff;

  font-size: 13px;
  font-weight: bold;

  white-space: nowrap;
}


/* --------------------------------
   個人情報
-------------------------------- */

#mail-form .privacy-check {

  padding: 12px 5px 5px;

  color: #fff;

  font-size: 13px;
  text-align: center;
}


#mail-form .privacy-check label {
  cursor: pointer;
}


#mail-form .privacy-check input[type="checkbox"] {

  width: auto;
  height: auto;

  margin: 0 5px 0 0;
}


#mail-form .privacy-check a {

  color: #fff;

  text-decoration: underline;
}


#mail-form .privacy-check a:hover {
  text-decoration: none;
}


/* --------------------------------
   ボタン
-------------------------------- */

#mail-form .form-buttons {

  padding: 10px 0 3px;

  text-align: center;
}


#mail-form .submit-button,
#mail-form .reset-button {

  min-width: 125px;

  margin: 0 4px;
  padding: 6px 15px;

  border: 1px solid #999;
  border-radius: 2px;

  font-family: inherit;
  font-size: 13px;

  cursor: pointer;
}


#mail-form .submit-button {

  background: #fff;
  color: #333;
}


#mail-form .reset-button {

  background: #eee;
  color: #555;
}


#mail-form .submit-button:hover,
#mail-form .reset-button:hover {

  opacity: 0.8;
}


/* --------------------------------
   スパム対策
-------------------------------- */

#mail-form .form-honeypot {

  position: absolute !important;

  left: -9999px !important;

  width: 1px;
  height: 1px;

  overflow: hidden;
}


/* ==================================================
   スマートフォン
================================================== */

@media screen and (max-width: 700px) {

  #mail-form .contact-form {

    width: auto;
    max-width: none;

    margin: 0 10px;
    padding: 8px;
  }


  #mail-form .contact-row {

    display: block;

    min-height: 0;

    padding: 8px 4px;
  }


  #mail-form .contact-label {

    width: auto;
    max-width: none;

    padding: 0 0 5px;

    text-align: left;
  }


  #mail-form .contact-field input[type="text"],
  #mail-form .contact-field input[type="email"],
  #mail-form .contact-field input[type="tel"] {

    width: 100%;
    max-width: none;
  }


  #mail-form .message-row textarea {

    width: 100%;
    max-width: none;

    height: 130px;
  }


  #mail-form .company-field {

    display: block;
  }


  #mail-form .company-field input[type="text"] {

    width: 100%;
  }


  #mail-form .form-note {

    display: block;

    margin: 5px 0 0;

    white-space: normal;
  }


  #mail-form .radio-field {

    gap: 5px 14px;
  }


  #mail-form .privacy-check {

    text-align: left;
  }

}