@charset "utf-8";
/* contact.html の画面用。2026-11-22 の CSP 対応で、画面の中の <style> と style 属性から移した。 */

/* ---- もとの <style> ---- */
    /* フォーム専用スタイル（common.cssを補完） */
    div#area {
      position: static;
      margin: 8px 20px;
    }
    div#area div {
      position: static;
      margin: 2px 0 10px 0;
    }
    .form-desc {
      border: 1px solid #CCC;
      padding: 10px 14px;
      margin-bottom: 14px;
      font-size: 10pt;
      line-height: 1.8;
      max-width: 480px;
    }
    .form-row {
      margin-bottom: 12px;
    }
    .form-row label {
      display: block;
      line-height: 2.0em;
      font-size: 10pt;
    }
    .badge-required {
      display: inline-block;
      background: #c0392b;
      color: #FFF;
      font-size: 8pt;
      padding: 0 5px;
      margin-left: 6px;
      vertical-align: middle;
    }
    .badge-optional {
      display: inline-block;
      background: #AAA;
      color: #FFF;
      font-size: 8pt;
      padding: 0 5px;
      margin-left: 6px;
      vertical-align: middle;
    }
    input[type="text"].form-input,
    input[type="email"].form-input {
      width: 300px;
      height: 28px;
      margin-right: 4px;
      padding: 2px 6px;
      font-family: "Noto Sans JP", sans-serif;
      font-size: 10pt;
      border: 1px solid #CCC;
      box-sizing: border-box;
    }
    textarea.form-input {
      width: 460px;
      height: 120px;
      padding: 4px 6px;
      font-family: "Noto Sans JP", sans-serif;
      font-size: 10pt;
      border: 1px solid #CCC;
      resize: vertical;
      display: block;
    }
    input.form-input:focus,
    textarea.form-input:focus {
      outline: none;
      border-color: #00957A;
    }
    .error-msg {
      display: none;
      color: #c0392b;
      font-size: 9pt;
      margin-top: 3px;
    }
    .has-error input.form-input,
    .has-error textarea.form-input {
      border-color: #c0392b;
    }
    .has-error .error-msg {
      display: block;
    }
    input[type="button"].submit-btn,
    button.submit-btn {
      width: 300px;
      height: 50px;
      text-align: center;
      background-color: #00957A;
      color: #FFF;
      font-size: 16pt;
      font-family: "Noto Sans JP", sans-serif;
      border-style: none;
      cursor: pointer;
      margin-top: 8px;
    }
    button.submit-btn:hover {
      font-weight: bold;
    }
  

/* ---- もとの style 属性（クラスに置き換えた） ----
   元の style 属性と同じく、この画面のほかの規則に必ず勝つよう :not(#__) を 2 つ付けて詳細度を上げている（#__ の要素は無い）。 */
.tar-mt0_8em:not(#__):not(#__) { text-align:right; margin-top:0.8em; }
.hp-field:not(#__):not(#__) { position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden; }
