/* ==========================================================================
   Contact Form 7 - ページレイアウトとコンテナスタイル
   Figmaデザイン準拠
   ※フォーム入力フィールドのスタイルは form-input.css に記載
   ========================================================================== */

/* @import してフォーム入力フィールドのスタイルを読み込み */

/* ==========================================================================
   Contact Form 7 - フォーム入力フィールド専用スタイル
   Figmaデザイン準拠
   ※CF7のフォーム要素のみのスタイル（見出し等は form.css に記載）
   ========================================================================== */

/* フォームコンテナ */

.form-container {
  width: 100%;
}

/* フォーム行 - Desktop: 2カラムレイアウト, Mobile: 1カラム */

.form-row {
  border-top: 1px solid #CCCCCC;
  padding: 24px 16px;
}

@media (min-width: 1024px) {
  .form-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px 0;
  }
}

/* ボーダーなし・上部パディングなしの行 */

.form-row-no-border {
  border-top: 0;
  padding-top: 0;
}

/* フォームラベル */

.form-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

@media (min-width: 1024px) {
  .form-label {
    width: 200px;
    flex-shrink: 0;
    min-height: 48px;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding-top: 12px;
  }
}

.form-label-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #333333;
  line-height: 1.8;
  letter-spacing: 0.7px;
}

@media (min-width: 1024px) {
  .form-label-text {
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.8px;
    flex-shrink: 1;
  }
}

/* 必須バッジ */

.form-label-required {
  color: white;
  font-size: 10px;
  font-weight: 400;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.5;
  background-color: #D64545;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .form-label-required {
    font-size: 12px;
    margin-top: 4px;
  }
}

/* フォーム入力コンテナ */

.form-input-container {
  flex: 1;
}

/* 入力フィールドラッパー（幅制限用） */

.form-input-wrapper {
  width: 100%;
}

.form-input-wrapper--narrow {
  width: 100%;
}

@media (min-width: 1024px) {
  .form-input-wrapper--narrow {
    max-width: 460px;
  }
}

/* 入力フィールド共通 */

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border-radius: 4px;
  height: 48px;
  padding-left: 16px;
  padding-right: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #333333;
  background-color: #fff;
  border: 1px solid #dfdfdf;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::-moz-placeholder, .form-select::-moz-placeholder, .form-textarea::-moz-placeholder {
  color: #999999;
}

.form-input::placeholder,
.form-select::placeholder,
.form-textarea::placeholder {
  color: #999999;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #D64545;
  box-shadow: 0 0 0 1px #D64545;
}

@media (min-width: 1024px) {
  .form-input,
    .form-select {
    font-size: 16px;
    max-width: 460px;
    height: auto;
    min-height: 48px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

.form-input:disabled,
.form-select:disabled,
.form-input-readonly {
  background-color: #F6F4EF;
  cursor: not-allowed;
}

/* セレクトボックス */

.form-select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23484343' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  padding-right: 48px;
}

/* テキストエリア */

.form-textarea {
  height: 96px;
  min-height: 80px;
  padding-top: 8px;
  padding-bottom: 8px;
  resize: vertical;
}

@media (min-width: 1024px) {
  .form-textarea {
    height: 134px;
  }
}

/* 希望日時フィールド */

.form-datetime-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 1024px) {
  .form-datetime-fields {
    gap: 24px;
  }
}

.form-datetime-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* フィールドラベル */

.form-field-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #333333;
  letter-spacing: 0.7px;
}

@media (min-width: 1024px) {
  .form-field-label {
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.8px;
  }
}

.form-field-label-bold {
  font-weight: 700;
}

.form-field-label-note {
  font-weight: 400;
}

/* 日付・時間入力ラッパー（横並びレイアウト） */

.form-date-time-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 1024px) {
  .form-date-time-wrapper {
    flex-direction: row;
    gap: 16px;
    max-width: 560px;
  }
}

.form-date-group,
.form-time-group {
  width: 100%;
}

@media (min-width: 1024px) {
  .form-date-group,
    .form-time-group {
    flex: 1;
  }

  .form-date-group .form-input-icon-wrapper,
    .form-time-group .form-input-icon-wrapper {
    max-width: none;
  }

  .form-date-group .form-input,
    .form-date-group .form-select,
    .form-time-group .form-input,
    .form-time-group .form-select {
    max-width: none;
  }
}

/* 日付・時間入力アイコンラッパー */

.form-input-icon-wrapper {
  position: relative;
}

@media (min-width: 1024px) {
  .form-input-icon-wrapper {
    max-width: 460px;
  }
}

.form-input-icon-wrapper .form-input,
.form-input-icon-wrapper .form-select {
  padding-right: 48px;
  max-width: none;
}

/* 時間セレクトのドロップダウン矢印を非表示 */

.form-input-icon-wrapper .form-select {
  background-image: none;
}

.form-input-icon {
  position: absolute;
  right: 16px;
  pointer-events: none;
  width: 22px;
  height: 22px;
  top: 50%;
  transform: translateY(-50%);
}

/* アイコンなしのラッパー */

.form-input-icon-wrapper--no-icon .form-input {
  padding-right: 16px;
  max-width: 460px;
}

/* 参加人数ラッパー */

.form-input-icon-wrapper--participants {
  width: 100%;
}

@media (min-width: 1024px) {
  .form-input-icon-wrapper--participants {
    width: 304px;
    flex-shrink: 0;
  }
}

/* 日付入力 */

input[type="date"].form-input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type="date"].form-input::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* 時間入力 */

input[type="time"].form-input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type="time"].form-input::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* メールアドレスフィールド */

.form-email-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

@media (min-width: 1024px) {
  .form-email-wrapper {
    gap: 24px;
  }
}

.form-email-input {
  width: 100%;
}

@media (min-width: 1024px) {
  .form-email-input {
    width: 460px;
  }
}

.form-email-confirm-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #333333;
  line-height: 2;
}

/* 郵便番号と住所のレイアウト */

.form-zipcode-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-zipcode-prefix {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #333333;
}

@media (min-width: 1024px) {
  .form-zipcode-prefix {
    font-size: 16px;
  }
}

.form-zipcode-input {
  width: 100%;
}

@media (min-width: 1024px) {
  .form-zipcode-input {
    width: 280px;
  }
}

/* 住所フィールド */

.form-address-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 1024px) {
  .form-address-wrapper {
    gap: 16px;
  }
}

.form-address-row {
  width: 100%;
}

.form-address-row--flex {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 1024px) {
  .form-address-row--flex {
    flex-direction: row;
    gap: 16px;
  }
}

.form-pref-wrapper {
  width: 100%;
}

@media (min-width: 1024px) {
  .form-pref-wrapper {
    width: 304px;
    flex-shrink: 0;
  }
}

.form-address-input-wrapper {
  width: 100%;
}

@media (min-width: 1024px) {
  .form-address-input-wrapper {
    flex: 1;
  }
}

/* サブラベル（住所欄用） */

.form-sublabel {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #333333;
  line-height: 1.8;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
  display: block;
}

@media (min-width: 1024px) {
  .form-sublabel {
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.8px;
  }
}

/* ラジオボタン */

.form-radio-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

@media (min-width: 1024px) {
  .form-radio-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    min-height: 48px;
  }
}

.form-radio-wrapper .wpcf7-radio {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

@media (min-width: 1024px) {
  .form-radio-wrapper .wpcf7-radio {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }
}

.form-radio-wrapper .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.form-radio-wrapper .wpcf7-list-item input[type="radio"] {
  width: 24px;
  height: 24px;
  cursor: pointer;
  accent-color: #484343;
  flex-shrink: 0;
}

.form-radio-wrapper .wpcf7-list-item-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #333333;
  line-height: 1.8;
}

@media (min-width: 1024px) {
  .form-radio-wrapper .wpcf7-list-item-label {
    font-size: 16px;
  }
}

/* チェックボックス */

.form-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-checkbox,
.wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
  width: 24px;
  height: 24px;
  border: 2px solid #CCCCCC;
  border-radius: 4px;
  cursor: pointer;
  accent-color: #484343;
  flex-shrink: 0;
}

.form-checkbox-label,
.wpcf7-acceptance .wpcf7-list-item-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #333333;
  line-height: 1.8;
}

@media (min-width: 1024px) {
  .form-checkbox-label,
    .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 16px;
  }
}

/* チェックボックス グリッドレイアウト */

.form-checkbox-grid .wpcf7-form-control,
.form-radio-grid .wpcf7-form-control {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.form-checkbox-grid .wpcf7-list-item,
.form-radio-grid .wpcf7-list-item {
  margin: 0 !important;
}

.form-checkbox-grid .wpcf7-list-item label,
.form-radio-grid .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* デスクトップ: 3列グリッド */

@media (min-width: 1160px) {
  .form-checkbox-grid--3col .wpcf7-form-control,
    .form-radio-grid--3col .wpcf7-form-control {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 40px;
  }
}

/* グリッド内チェックボックス・ラジオボタン */

.form-checkbox-grid .wpcf7-list-item input[type="checkbox"],
.form-radio-grid .wpcf7-list-item input[type="radio"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  border: 2px solid #CCCCCC;
  border-radius: 4px;
  cursor: pointer;
  accent-color: #484343;
  flex-shrink: 0;
  margin: 0;
}

@media (min-width: 1024px) {
  .form-checkbox-grid .wpcf7-list-item input[type="checkbox"],
    .form-radio-grid .wpcf7-list-item input[type="radio"] {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
  }
}

/* ラジオボタンの丸形状 */

.form-radio-grid .wpcf7-list-item input[type="radio"] {
  border-radius: 50%;
}

/* グリッド内の行間隔 */

.form-checkbox-grid .wpcf7-list-item,
.form-radio-grid .wpcf7-list-item {
  padding: 4px 0;
}

@media (min-width: 1024px) {
  .form-checkbox-grid .wpcf7-list-item,
    .form-radio-grid .wpcf7-list-item {
    padding: 8px 0;
  }
}

/* グリッド内ラベルテキスト */

.form-checkbox-grid .wpcf7-list-item-label,
.form-radio-grid .wpcf7-list-item-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  line-height: 1.8;
  letter-spacing: 0.7px;
}

@media (min-width: 1024px) {
  .form-checkbox-grid .wpcf7-list-item-label,
    .form-radio-grid .wpcf7-list-item-label {
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.8px;
  }
}

/* リフォーム箇所チェックボックス専用 */

.form-checkbox-grid--reform .wpcf7-form-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 1024px) {
  .form-checkbox-grid--reform .wpcf7-form-control {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 24px;
         column-gap: 24px;
    row-gap: 0;
  }
}

.form-checkbox-grid--reform .wpcf7-list-item {
  margin: 0 !important;
  padding: 4px 0;
}

@media (min-width: 1024px) {
  .form-checkbox-grid--reform .wpcf7-list-item {
    padding: 8px 0;
  }

  .form-checkbox-grid--reform .wpcf7-list-item-label {
    white-space: nowrap;
  }
}

/* 予算ラジオボタン専用 (Figma: Desktop 1619-23409, Mobile 1626-23860) */

.form-radio-grid--budget .wpcf7-form-control {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 1160px) {
  .form-radio-grid--budget .wpcf7-form-control {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 24px;
         column-gap: 24px;
    row-gap: 0;
  }
}

.form-radio-grid--budget .wpcf7-list-item {
  margin: 0 !important;
  padding: 4px 0;
}

@media (min-width: 1160px) {
  .form-radio-grid--budget .wpcf7-list-item {
    padding: 8px 0;
  }
}

/* 完成時期ラジオボタン専用 (Figma: Desktop 1619-23663, Mobile 1626-23700) */

.form-radio-grid--timing .wpcf7-form-control {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 1160px) {
  .form-radio-grid--timing .wpcf7-form-control {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 24px;
         column-gap: 24px;
    row-gap: 0;
  }
}

.form-radio-grid--timing .wpcf7-list-item {
  margin: 0 !important;
  padding: 4px 0;
}

@media (min-width: 1160px) {
  .form-radio-grid--timing .wpcf7-list-item {
    padding: 8px 0;
  }
}

/* 健康住宅を知ったきっかけチェックボックス専用 (Figma: Desktop 1619-23828, Mobile 1626-22056) */

.form-checkbox-grid--trigger .wpcf7-form-control {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 1024px) {
  .form-checkbox-grid--trigger .wpcf7-form-control {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 24px;
         column-gap: 24px;
    row-gap: 0;
  }
}

.form-checkbox-grid--trigger .wpcf7-list-item {
  margin: 0 !important;
  padding: 4px 0;
}

@media (min-width: 1024px) {
  .form-checkbox-grid--trigger .wpcf7-list-item {
    padding: 8px 0;
  }

  .form-checkbox-grid--trigger .wpcf7-list-item-label {
    white-space: nowrap;
  }
}

/* 補足テキスト */

.form-note-text,
.form-question-note,
.form-privacy-note,
.form-ssl-note,
.form-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #333333;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .form-question-note,
    .form-privacy-note {
    font-size: 14px;
    line-height: 2;
  }
}

.form-note-text {
  margin-top: 16px;
}

.form-question-note {
  margin-bottom: 8px;
}

.form-privacy-note {
  margin-bottom: 8px;
}

@media (min-width: 1024px) {
  .form-privacy-note {
    font-size: 16px;
    line-height: 2;
  }
}

.form-ssl-note {
  margin-top: 8px;
}

.form-note {
  margin-top: 16px;
}

.form-note p {
  margin: 0;
}

/* 個人情報保護方針 */

.form-privacy-content {
  width: 100%;
  height: 134px;
  overflow-y: auto;
  border: 1px solid #CCCCCC;
  padding: 8px 16px;
  margin-bottom: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #333333;
  line-height: 1.8;
}

@media (min-width: 1024px) {
  .form-privacy-content {
    font-size: 16px;
  }
}

.form-privacy-content p {
  margin-bottom: 12px;
}

.form-privacy-content p:last-child {
  margin-bottom: 0;
}

.form-privacy-content strong {
  font-weight: 700;
}

.form-privacy-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #333333;
  line-height: 1.8;
  margin-top: 16px;
  margin-bottom: 8px;
}

@media (min-width: 1024px) {
  .form-privacy-subtitle {
    font-size: 16px;
    line-height: 2;
  }
}

.form-privacy-content ul {
  margin-left: 20px;
  list-style-type: disc;
}

.form-privacy-content li {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #333333;
  line-height: 1.8;
}

@media (min-width: 1024px) {
  .form-privacy-content li {
    font-size: 16px;
  }
}

/* ドメイン指定受信お願いセクション */

.form-email-notice-wrapper {
  background-color: #f6f4ef;
  width: 100%;
}

.form-email-notice {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  padding: 24px 16px;
}

@media (min-width: 1024px) {
  .form-email-notice {
    gap: 16px;
    align-items: flex-start;
    padding: 32px 80px;
    max-width: 960px;
    margin: 0 auto;
  }
}

.form-email-notice-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #333333;
  line-height: 1.8;
  letter-spacing: 0.7px;
}

@media (min-width: 1024px) {
  .form-email-notice-title {
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.8px;
    max-width: 800px;
  }
}

.form-email-notice-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #333333;
  line-height: 1.5;
}

.form-email-notice-text strong {
  font-weight: 700;
}

@media (min-width: 1024px) {
  .form-email-notice-text {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.7px;
    max-width: 800px;
  }
}

/* ドメイン指定受信（別レイアウト） */

.form-domain-notice-wrapper {
  background-color: #f6f4ef;
  width: 100%;
  margin-top: 32px;
}

@media (min-width: 1024px) {
  .form-domain-notice-wrapper {
    margin-top: 40px;
  }
}

.form-domain-notice {
  padding: 24px 16px;
}

@media (min-width: 1024px) {
  .form-domain-notice {
    padding: 32px 80px;
    max-width: 960px;
    margin: 0 auto;
  }
}

.form-domain-notice-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #333333;
  line-height: 1.8;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
}

@media (min-width: 1024px) {
  .form-domain-notice-title {
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.8px;
  }
}

.form-domain-notice-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #333333;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .form-domain-notice-text {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.7px;
  }
}

.form-domain-notice-highlight {
  font-weight: 700;
}

/* 送信ボタン */

.form-submit-wrapper {
  margin-top: 40px;
  text-align: center;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  display: inline-block;
  width: 100%;
}

@media (min-width: 1024px) {
  .form-submit-wrapper {
    margin-top: 56px;
    padding-left: 0;
    padding-right: 0;
  }
}

.form-submit-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 47px;
  background-color: #FFD800;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #333333;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease-in-out;
  padding-left: 32px;
  padding-right: 32px;
  letter-spacing: 0.7px;
  text-align: center;
}

.form-submit-button:hover {
  opacity: 0.9;
}

@media (min-width: 1024px) {
  .form-submit-button {
    width: 260px;
    height: 56px;
    font-size: 16px;
    padding-left: 32px;
    padding-right: 32px;
    letter-spacing: 0.8px;
  }
}

.form-submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 矢印アイコン */

.form-submit-wrapper::after {
  content: '';
  position: absolute;
  right: calc(50% - 120px + 12px);
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.91683 13.75L12.0835 9.58333L7.91683 5.41667' stroke='%23484343' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  transition: transform 0.3s ease-in-out;
}

@media (min-width: 1024px) {
  .form-submit-wrapper::after {
    right: calc(50% - 130px + 12px);
  }
}

.form-submit-wrapper:hover::after {
  transform: translateX(4px) translateY(-50%);
}

.form-submit-wrapper:has(.form-submit-button:disabled)::after {
  opacity: 0.5;
}

/* バリデーションエラー */

.wpcf7-not-valid-tip {
  font-size: 12px;
  color: #dc2626;
  margin-top: 8px;
}

.wpcf7-form-control-wrap {
  display: block;
}

/* CF7 レスポンスメッセージ */

.wpcf7-response-output {
  margin-top: 24px;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
}

@media (min-width: 1024px) {
  .wpcf7-response-output {
    font-size: 16px;
  }
}

.wpcf7-mail-sent-ok {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.wpcf7-validation-errors {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.wpcf7-spam-blocked {
  background-color: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde047;
}

/* スピナー（送信中） */

.form-submit-wrapper .wpcf7-spinner {
  position: absolute !important;
  display: block !important;
  left: calc(50% - 120px - 40px);
  right: auto !important;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 !important;
}

@media (min-width: 1024px) {
  .form-submit-wrapper .wpcf7-spinner {
    left: calc(50% - 130px - 40px);
  }
}

/* CF7 acceptance用のスタイル調整 */

.wpcf7-acceptance .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

/* ==========================================================================
   資料請求ページ - 資料カードグリッド
   Figmaデザイン準拠 (Desktop: 1626-10752 / Mobile: 2453-25462)
   ========================================================================== */

/* 資料カードグリッド */

.document-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .document-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
}

@media (min-width: 1160px) {
  .document-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 24px;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 64px;
  }
}

/* 資料カード */

.document-card {
  width: 100%;
}

.document-card__label {
  display: block;
  cursor: pointer;
}

.document-card__inner {
  background-color: #f6f4ef;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease;
}

@media (min-width: 1024px) {
  .document-card__inner {
    padding: 48px 40px;
    gap: 16px;
  }
}

/* チェックボックス（非表示） */

.document-card__checkbox {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* 画像 */

.document-card__image {
  width: 100%;
  aspect-ratio: 290 / 206;
  overflow: hidden;
}

.document-card__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

/* タイトル */

.document-card__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #333333;
  line-height: 2;
  letter-spacing: 1.4px;
  min-height: 56px;
}

@media (min-width: 1024px) {
  .document-card__title {
    font-size: 18px;
    letter-spacing: 1.8px;
    min-height: 72px;
  }
}

/* ボタン */

.document-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 48px;
  background-color: #ffffff;
  border: 2px solid #484343;
  border-radius: 50px;
  transition: all 0.2s ease;
}

@media (min-width: 1024px) {
  .document-card__button {
    height: 56px;
    max-width: 291px;
    margin: 0 auto;
  }
}

.document-card__button-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #484343;
  transition: color 0.2s ease;
}

@media (min-width: 1024px) {
  .document-card__button-text {
    font-size: 16px;
  }
}

.document-card__button-icon {
  width: 20px;
  height: 20px;
  color: #484343;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* ホバー状態 */

.document-card__label:hover .document-card__inner {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.document-card__label:hover .document-card__button-icon {
  transform: translateX(4px);
}

/* 選択状態 */

.document-card__checkbox:checked + .document-card__inner .document-card__button {
  background-color: #FFD800;
  border-color: #FFD800;
}

.document-card__checkbox:checked + .document-card__inner .document-card__button-text {
  color: #333333;
}

.document-card__checkbox:checked + .document-card__inner .document-card__button-icon {
  color: #333333;
}

/* 選択状態のボタンテキスト変更（CSS疑似要素で対応） */

.document-card__checkbox:checked + .document-card__inner .document-card__button-text::before {
  content: '選択中';
}

.document-card__checkbox:checked + .document-card__inner .document-card__button-text {
  font-size: 0;
}

.document-card__checkbox:checked + .document-card__inner .document-card__button-text::before {
  font-size: 14px;
}

@media (min-width: 1024px) {
  .document-card__checkbox:checked + .document-card__inner .document-card__button-text::before {
    font-size: 16px;
  }
}

/* ==========================================================================
   資料請求ページ - フォームセクション
   Figmaデザイン準拠 (Desktop: 1626-10254 / Mobile: 2453-25466)
   ========================================================================== */

/* フォームセクション */

.document-form-section {
  max-width: 960px;
  margin: 0 auto;
}

/* フォームヘッダー */

.document-form-header {
  text-align: center;
  margin-bottom: 32px;
}

@media (min-width: 1024px) {
  .document-form-header {
    margin-bottom: 48px;
  }
}

.document-form-header__label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  line-height: 2;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
}

@media (min-width: 1024px) {
  .document-form-header__label {
    font-size: 16px;
    letter-spacing: 0.8px;
  }
}

.document-form-header__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #333333;
  line-height: 1.5;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

@media (min-width: 1024px) {
  .document-form-header__title {
    font-size: 28px;
    letter-spacing: 2.8px;
    margin-bottom: 32px;
  }
}

.document-form-header__description {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  line-height: 2;
  letter-spacing: 0.7px;
  margin-bottom: 16px;
}

@media (min-width: 1024px) {
  .document-form-header__description {
    font-size: 16px;
    letter-spacing: 0.8px;
    margin-bottom: 24px;
  }
}

.document-form-header__note {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  line-height: 2;
  letter-spacing: 0.7px;
}

@media (min-width: 1024px) {
  .document-form-header__note {
    font-size: 16px;
    letter-spacing: 0.8px;
  }
}