@charset "UTF-8";
/*
Theme Name: Emanon Premium child
Theme URI: https://wp-emanon.jp/emanon-premium/
Author: 株式会社イノ・コード
Author URI: https://innocord.co.jp/
Description: Emanon Premiumnの子テーマです。
Template: emanon-premium
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:one-column, two-columns, three-columns, left-sidebar, right-sidebar, theme-options
*/

/* ==============================================
   身分証送信コンタクトフォーム設定
  ============================================== */
/* 基本フォーム */
.contact-form-ID {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  font-family: 'Noto Sans KR', 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: #333;
}
/* 冒頭の挨拶文 */
.contact-form-ID > p {
  text-align: center;
  color: #333;
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 25px 0;
  font-weight: 500;
}
/* テーブル構造 */
.ID-form-table {
  width: 100%;
  border-collapse: collapse;
}
.ID-form-table th {
  width: 35%;
  text-align: left;
  vertical-align: top;
  color: #333;
  padding: 10px 10px;
  font-weight: 600;
  border-bottom: 1px solid #f2f2f2;
}
.ID-form-table td {
  padding: 10px 10px;
  border-bottom: 1px solid #f2f2f2;
}
/* 必須マーク */
.required {
  color: #e53935 !important;
  margin-left: 4px;
  font-weight: bold;
}
/* テキスト・メール・電話欄 */
.ID-form-table input[type="text"], .ID-form-table input[type="email"], .ID-form-table input[type="tel"], .ID-form-table textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ID-form-table input:focus, .ID-form-table textarea:focus {
  outline: none;
  border-color: #46AA32;
  box-shadow: 0 0 4px rgba(70, 170, 50, 0.25);
}
/* 라디오グループ */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: flex-start;
}
.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  color: #333;
  cursor: pointer;
}
.radio-group input[type="radio"] {
  margin: 0;
  accent-color: #46AA32;
}
span.wpcf7-list-item.last input[type="text"] {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 14px;
  width: 180px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
span.wpcf7-list-item.last input[type="text"]:focus {
  outline: none;
  border-color: #46AA32;
  box-shadow: 0 0 4px rgba(70, 170, 50, 0.25);
}
/* セクション見出し */
.id-title {
  margin-top: 30px;
  color: #2A661E;
  text-align: center;
  border-top: 2px solid #46AA32;
  padding-top: 15px;
}
/* 注意事項 */
.notice-block.refined {
  background: #f9fbf8;
  border: 1px solid #dce8dc;
  border-left: 6px solid #46AA32;
  border-radius: 12px;
  padding: 26px 32px;
  margin: 36px 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  font-family: 'Noto Sans KR', sans-serif;
  color: #2A2A2A;
  line-height: 1.8;
}
.notice-block.refined h4 {
  font-size: 18px;
  font-weight: 700;
  color: #2A661E;
  padding-bottom: 4px;
}
.notice-block.refined ul {
  margin: 0 0 20px 22px;
  padding: 0;
}
.notice-block.refined li {
  list-style: disc;
  margin-bottom: 6px;
  font-size: 15px;
}
.notice-block.refined .upload-limit {
  font-size: 14px;
  color: #2A661E;
  margin-top: 12px;
}
.notice-block.refined .upload-limit strong {
  color: #E54B4B;
}
/*アップロード */
.upload-area {
  text-align: center;
  margin: 20px 0;
}
.upload-area .sample-id {
  border-radius: 8px;
  margin-bottom: 8px;
  max-width: 100%;
  height: auto;
}
/* 注意書き */
.attention {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  background: #f9f9f9;
  border: 1px dashed #ccc;
  padding: 12px 15px;
  border-radius: 6px;
  margin-top: 10px;
}
/* ファイル選択ボタンを送信ボタンと同サイズ */
input[type="file"].wpcf7-form-control {
  display: inline-block;
  min-width: 180px;
  height: 48px;
  padding: 10px 20px;
  border-radius: 16px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
}
/* 中央寄せ */
.upload-area input[type="file"] {
  margin: 0 auto;
  display: block;
}
/* 개인정보 이용 동의 */
.agree-section {
  text-align: center;
  margin: 30px 0 15px 0;
  padding: 20px 15px;
  background: #f7f7f3;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}
.agree-title {
  font-size: 16px;
  font-weight: 700;
  color: #2A661E;
  margin-bottom: 10px;
}
.agree-section label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 17px !important;
  font-weight: 600;
  color: #2A661E;
  cursor: pointer;
  line-height: 1.4;
}
.agree-section input[type="checkbox"] {
  width: 26px;
  height: 26px;
  accent-color: #46AA32;
  vertical-align: middle;
  margin: 0;
  aspect-ratio: 1 / 1;
}
/* 送信ボタン（Salient完全対策） */
.submit-wrap {
  position: relative !important;
  width: 100% !important;
  margin-top: 25px !important;
  text-align: center !important;
}
.submit-wrap p {
  display: inline-block !important;
  margin: 0 auto !important;
  text-align: center !important;
}
.wpcf7 form .wpcf7-submit.id-submit {
  all: unset !important;
  display: inline-block !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: #46AA32 !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: none !important;
  padding: 12px 20px !important;
  border-radius: 16px !important;
  font-size: 20px !important;
  cursor: pointer !important;
  transition: background 0.3s, transform 0.1s !important;
  line-height: 1.2em !important;
  min-width: 180px !important;
  text-align: center !important;
}
.wpcf7 form .wpcf7-submit.id-submit:hover {
  background: #2A661E !important;
  transform: translateX(-50%) translateY(-1px) !important;
}
/* ----------------------------------------------
   スマホ最適化（フォーム幅・余白・送信ボタン／Salient補正付き）
   ---------------------------------------------- */
@media only screen and (max-width: 690px) {
  /* フォーム全体 */
  .contact-form-ID {
    padding: 15px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  /* 冒頭メッセージ */
  .contact-form-ID > p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
  }
  /* テーブル全体 */
  .ID-form-table {
    width: 100% !important;
    margin: 0 auto !important;
    border-spacing: 0 !important;
  }
  .ID-form-table th, .ID-form-table td {
    padding: 8px 6px !important;
  }
  /* 注意事項 */
  .notice-block.refined {
    padding: 20px;
    font-size: 15px;
  }
  .notice-block.refined h4 {
    font-size: 16px;
  }
  .notice-block.refined li {
    font-size: 14px;
  }
  /* ファイル選択ボタン（제출ボタンと同じ幅） */
  input[type="file"].wpcf7-form-control {
    width: calc(100% - 20px) !important;
    height: 48px !important;
    display: block !important;
    margin: 0 auto 10px auto !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }
  /* 同意セクション */
  .agree-section {
    padding: 15px !important;
  }
  .agree-section label {
    font-size: 16px !important;
    gap: 8px !important;
  }
  .agree-section input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
  }
  /* 제출ボタン（スマホ中央完全固定） */
  .submit-wrap {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }
  /* Salientの inline-block スタイルを無効化 */
  .submit-wrap {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* ← はみ出し防止 */
    padding: 0 10px !important; /* ← 左右余白で中央維持 */
  }
  /* Salientの inline-block スタイルをリセット */
  .submit-wrap p {
    all: unset !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  /* 제출ボタン */
  .wpcf7 form .wpcf7-submit.id-submit {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    display: block !important;
    position: static !important;
    transform: none !important;
    border-radius: 16px !important;
    font-size: 18px !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
  }
  /* hover解除 */
  .wpcf7 form .wpcf7-submit.id-submit:hover {
    background: #2A661E !important;
    transform: none !important;
  }
  /* Salient max-width補正 */
  body.page-id-5574 .container, body.page-id-5574 .container.main-content, body.page-id-5574 .post-area.standard-minimal.full-width-content, body.page-id-5574 .post-area.standard-minimal.full-width-content .post-inner-wrap {
    max-width: 85% !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  /* カラム余白補正 */
  [data-col-gap="50px"] .vc_row-fluid .wpb_column {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
