@charset "UTF-8";
/* ===============================================
# 日工建設｜お問い合わせフォーム用CSS 
# File: pages/contact-form.css
=============================================== */
/* ===============================================
# 日工建設｜メディアクエリ（mixin定義）
# File: base/_mediaQuery.scss
=============================================== */
/* -----------------------------
# 0. 使用例（コメントアウトサンプル）
-------------------------------- */
/* -----------------------------
# 1. ブレークポイント定義（命名ベース）
-------------------------------- */
/* -----------------------------
# 2. mixin：名前で指定（@include mq()）
-------------------------------- */
/* -----------------------------
# 3. mixin：数値で指定（@include max()）
-------------------------------- */
/* -----------------------------
# 4. 用途別：どちらを使うべき？
-------------------------------- */
/* ===============================================
# 日工建設｜変数（色・余白などの変数定義）
# File: base/_variables.scss
# ex (480px|1100px)
=============================================== */
/* ===============================================
# 日工建設｜お問い合わせフォーム用CSS 
# File: pages/contact-form.css
=============================================== */
/* ===============================================
# 日工建設｜フォント（mixin定義）
# File: base/_typography.scss
=============================================== */
/* -----------------------------
# 1. フォントファミリー
-------------------------------- */
body {
  font-family: "noto sans jp", sans-serif;
  color: #111111;
}

.en {
  font-family: "Akshar", sans-serif;
  letter-spacing: 0.01em;
}

/* -----------------------------
# 2. ナビゲーション用
-------------------------------- */
/* -----------------------------
# 3. 見出し用（heading系）
-------------------------------- */
/* -----------------------------
# 4. 通常テキスト（本文）
-------------------------------- */
/* -----------------------------
# 5. カードレイアウト用
-------------------------------- */
/* -----------------------------
# 6. ボタン
-------------------------------- */
/* -----------------------------
# 7. テーブル（c-company-table）
-------------------------------- */
/* ===============================================
# 日工建設｜お問い合わせフォーム用CSS 
# File: pages/contact-form.css
=============================================== */
/* ===============================================
# 日工建設｜ボタンスタイル（mixin定義）
# File: modules/_button.scss
=============================================== */
/* ボタン | ラップ要素
---------------------------------------------------------- */
.p-buttons {
  display: -ms-grid;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0 auto;
  margin: clamp(20px, 4.516px + 3.226vw, 40px) auto 0;
}
@media screen and (min-width: 1025px) {
  .p-buttons {
    -ms-grid-columns: (1fr)[3];
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 767.9px) {
  .p-buttons {
    -ms-grid-columns: 1fr 20px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
.p-buttons .c-btn {
  margin: 0;
  width: 100%;
}
.p-buttons.is-single {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.p-buttons.is-single .c-btn {
  width: 50%;
  -ms-grid-column-align: center;
      justify-self: center;
}
.p-buttons.is-single .c-btn.left {
  width: 300px;
  -ms-grid-column-align: auto;
      justify-self: auto;
}
@media screen and (max-width: 767.9px) {
  .p-buttons.is-single .c-btn.left {
    width: 100%;
  }
}
@media screen and (max-width: 767.9px) {
  .p-buttons.is-single .c-btn {
    width: 100%;
  }
}
.p-buttons.is-open {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.p-buttons.is-open .c-btn {
  width: 40%;
  -ms-grid-column-align: center;
      justify-self: center;
}
.p-buttons.is-open .c-btn svg {
  color: #999;
}
.p-buttons.is-open .c-btn:hover svg {
  color: #fff;
}
.p-buttons.is-open .c-btn.left {
  width: 300px;
  -ms-grid-column-align: auto;
      justify-self: auto;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .p-buttons.is-open .c-btn {
    width: 50%;
  }
}
@media screen and (max-width: 767.9px) {
  .p-buttons.is-open .c-btn {
    width: 80%;
  }
}

/* ボタン | ラップ要素（2列）
---------------------------------------------------------- */
.p-buttons.is-2nd {
  margin: 0 auto;
  margin: clamp(20px, 4.516px + 3.226vw, 40px) auto 0;
}
@media screen and (min-width: 1025px) {
  .p-buttons.is-2nd {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .p-buttons.is-2nd {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767.9px) {
  .p-buttons.is-2nd {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ボタンアイテム（.c-btn）
---------------------------------------------------------- */
.c-btn {
  font-family: "noto sans jp", sans-serif;
  font-size: clamp(16px, 14.452px + 0.323vw, 18px);
  font-weight: 600;
  color: #111111;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.6;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #fff;
  border: 1px solid #CCCCCC;
  border-radius: clamp(4px, 0.903px + 0.645vw, 8px);
  min-height: 80px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .c-btn {
    margin-top: 1em;
  }
}
@media screen and (max-width: 767.9px) {
  .c-btn {
    margin-top: 1em;
    padding: 0.5rem 1rem;
    text-align: center;
    min-height: 60px;
  }
}
.c-btn__text {
  text-align: left;
}
.c-btn__icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-left: auto;
  gap: 10px;
}
.c-btn__icon svg {
  width: 24px;
  height: 24px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: #0061AF;
}
.c-btn:hover {
  background-color: #0061AF;
  color: #fff;
  border-color: #0061AF;
}
.c-btn:hover svg {
  color: #fff;
}
.c-btn.is-disabled {
  background: #ccc;
  color: #999;
  border-color: #999;
  pointer-events: none;
}
.c-btn.is-disabled .c-btn__icon {
  opacity: 0.5;
}

/* mixin
---------------------------------------------------------- */
:root {
  --color: $error-color;
  --error: $error-color;
  --border: 1px solid $border-color;
}

.c-text.is-form {
  display: block;
}

.c-text.is-form-confirm {
  display: none;
}

body.form-confirm .c-text.is-form {
  display: none;
}

body.form-confirm .c-text.is-form-confirm {
  display: block;
}

body.form-complete .c-text.is-form {
  display: none;
}

body.form-complete .c-text.is-form-confirm {
  display: none;
}

/* フォーム関連
---------------------------------------------------------- */
/* フォーム内のc-text */
form .comment-confirm {
  border-bottom: 1px solid #cccccc;
  padding-bottom: 1rem;
}

form .c-heading--lv3 {
  margin-top: 0;
  padding: 0 2rem;
}

form .c-text {
  padding: 0 2rem;
}

/* エラー文言 */
form .comment-error {
  color: var(--error);
  display: none;
  font-weight: bold;
}

form.form-error .comment-error {
  display: block;
}

/* 確認画面用の冒頭文 */
form .comment-confirm {
  display: none;
}

.form-confirm form .comment-confirm {
  display: block;
  padding: 0 1rem;
}

/* バリデータエラー */
.msg-error {
  color: #F44336;
}

form .table_form td input.error,
form .table_form td select.error,
form .table_form td textarea.error {
  border: 1px solid #F44336 !important;
  background: rgba(244, 67, 54, 0.3) !important;
}

/* 確認画面
---------------------------------------------------------- */
body.form-confirm form .table_form td {
  color: #0061AF !important;
}

/* 送信完了画面
---------------------------------------------------------- */
/* フォーム基本｜初期画面
---------------------------------------------------------- */
.sec_form {
  font-family: "noto sans jp", sans-serif;
  line-height: 1.8;
  word-break: break-word;
  overflow-wrap: break-word;
  color: #111111;
  font-size: 16px;
  background: #FFF;
  margin: clamp(40px, 9.032px + 6.452vw, 80px) auto 0;
  padding: 2rem 0 0;
  width: 1100px;
  border-radius: clamp(4px, 0.903px + 0.645vw, 8px);
}
.sec_form form .table_form {
  width: 70%;
  margin: 1.5rem auto 1.5rem;
  border-spacing: 2em 1em;
  border-collapse: separate;
  border-spacing: 0 1.5em;
}
.sec_form form .table_form th {
  width: 250px;
  vertical-align: top;
  font-size: 16px;
}
.sec_form form .table_form td {
  font-size: 16px;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .sec_form {
    width: 100%;
    padding: 1rem 0 0;
  }
  .sec_form form {
    width: 100%;
  }
  .sec_form form .table_form {
    width: 90%;
  }
}
@media screen and (max-width: 767.9px) {
  .sec_form {
    width: 100%;
    padding: 1rem 0;
  }
  .sec_form form {
    width: 100%;
  }
  .sec_form form .table_form {
    margin: 0 auto;
    width: 90%;
  }
  .sec_form form .table_form tr {
    display: block;
    margin-bottom: 1.5em;
  }
  .sec_form form .table_form th,
  .sec_form form .table_form td {
    display: block;
    width: 100%;
  }
  .sec_form form .table_form th {
    margin-bottom: 0.5em;
    font-weight: bold;
  }
}

.name-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.name-wrap input {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
}
@media screen and (max-width: 767.9px) {
  .name-wrap {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0.5rem;
  }
  .name-wrap input {
    width: 100%;
  }
}

/* テキスト部分（form .table_form td） ------------- */
form .table_form ::-webkit-input-placeholder {
  color: #999;
  font-family: inherit;
}
form .table_form ::-moz-placeholder {
  color: #999;
  font-family: inherit;
}
form .table_form :-ms-input-placeholder {
  color: #999;
  font-family: inherit;
}
form .table_form ::-ms-input-placeholder {
  color: #999;
  font-family: inherit;
}
form .table_form ::placeholder {
  color: #999;
  font-family: inherit;
}

form .table_form td input[type=text],
form .table_form td input[type=email],
form .table_form td input[type=number],
form .table_form td input[type=tel],
form .table_form td select,
form .table_form td textarea {
  background-color: #fff;
  border: 1px solid #ccc;
  color: inherit;
  padding: 0.5rem 1rem;
  width: 100%;
  border-radius: 3px;
  -webkit-appearance: none;
  line-height: 1;
}

form .table_form td input[type=checkbox],
form .table_form td input[type=radio] {
  margin-right: 0.1em;
  -webkit-transform: scale(1.4);
          transform: scale(1.4);
}

form .table_form td select {
  -webkit-appearance: auto;
}

form .table_form td select#prefecture {
  width: 40%;
}
@media screen and (max-width: 767.9px) {
  form .table_form td select#prefecture {
    width: 100%;
  }
}

form .table_form td textarea {
  display: block;
  line-height: 1.8;
}

form .table_form td textarea {
  resize: none;
  width: 100%;
  height: 140px;
}

form .table_form td input[type=text]:focus,
form .table_form td input[type=email]:focus,
form .table_form td select:focus,
form .table_form td textarea:focus {
  border-color: #0061AF;
  outline: 0 none;
}

/* 項目横・必須 ------------- */
form .require {
  color: #fff;
  background-color: #F44336;
  border-radius: 4px;
  font-size: 12px;
  font-weight: normal;
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
}

/* 項目横・補足テキスト ------------- */
form .form-sup {
  background-color: #fff;
  font-size: 12px;
  font-weight: normal;
  margin-left: 0.5rem;
}

/* ボタン
---------------------------------------------------------- */
.submit-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  padding: clamp(20px, 4.516px + 3.226vw, 40px) 0;
  border-top: 1px solid #cccccc;
}
.submit-buttons:has(.c-submit-btn:nth-of-type(1):nth-last-of-type(1)) {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.submit-buttons:has(.c-submit-btn:nth-of-type(1):nth-last-of-type(2)) {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.submit-buttons:has(.c-submit-btn:nth-of-type(1):nth-last-of-type(3)) {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.submit-buttons .c-submit-btn {
  font-family: "noto sans jp", sans-serif;
  font-size: clamp(16px, 14.452px + 0.323vw, 18px);
  font-weight: 600;
  color: #111111;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.6;
  background: #fff;
  border: 1px solid #CCCCCC;
  border-radius: clamp(4px, 0.903px + 0.645vw, 8px);
  padding: 1rem 0;
  text-align: center;
  min-height: 60px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  width: min(60%, 300px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.submit-buttons .c-submit-btn:hover {
  background-color: #0061AF;
  color: #fff;
  border-color: #0061AF;
}
@media screen and (max-width: 767.9px) {
  .submit-buttons .c-submit-btn {
    font-size: 15px;
  }
}
@media screen and (max-width: 767.9px) {
  .submit-buttons {
    padding: 1rem 1rem 0;
  }
}

/* 送信するボタン */
.submit-buttons button[type=submit] {
  display: none;
}

/* 確認画面のときだけ表示する */
body.form-confirm .submit-buttons button[type=submit] {
  display: inline-block;
  background-color: #0061AF;
  color: #fff;
  border-color: #0061AF;
}