/* ============================================================
   index.html (申込フォーム) のスタイル一式
   ============================================================ */

/* ── 価格カード(子供/保護者) ── */
.lead-price {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.lead-price-card {
  padding: 22px 28px;
  text-align: center;
}
.lead-price-kid {
  background: var(--white);
  border-right: 1px dashed var(--green);
}
.lead-price-adult {
  background: var(--white);
}
.lead-price-tag {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
  background: var(--green);
  color: var(--white);
  margin-bottom: 20px;
}
.lead-price-target {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 14px;
  line-height: 1.5;
  text-align: left !important;
}
.lead-price-main {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
}
.lead-price-main .big {
  font-size: 32px;
  color: var(--green);
  letter-spacing: -0.02em;
  margin: 0 2px;
}
.lead-price-main .big-red {
  font-size: 32px;
  color: var(--red);
  letter-spacing: -0.02em;
  margin: 0 4px 0 0;
}


/* ── 申込フォーム導入(橋渡し) ── */
.form-bridge {
  background: var(--white);
  text-align: center;
  padding: 24px 28px;
  margin-bottom: 2px;
}
.form-bridge-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.form-bridge-text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ── Section ── */
.form-section {
  background: var(--white);
  margin-bottom: 2px;
}
.section-title {
  background: var(--green);
  color: var(--white);
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 700;
}
.section-body { padding: 24px 28px; }

.group-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
  padding: 10px 0 6px;
  border-bottom: 2px solid var(--green);
  margin-bottom: 16px;
  margin-top: 8px;
}
.group-label:first-child { margin-top: 0; }

/* ── Form Fields ── */
.field {
  margin-bottom: 24px;
}
.field-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.field-row .field {
  flex: 1;
  margin-bottom: 0;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.field label .req {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 700;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field select {
  width: 100%;
  padding: 14px 16px;
  font-size: 17px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-family: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  line-height: 1.3;
  -webkit-appearance: none;
  appearance: none;
}
.field select option {
  font-family: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  font-size: 17px;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0,159,64,0.15);
}
/* ── readonly 入力欄(郵便番号からの自動入力欄) ── */
.field input[readonly] {
  background-color: #f5f5f5;
  color: var(--text-sub);
  cursor: not-allowed;
  border-color: var(--border-light);
}
.field input[readonly]:focus {
  border-color: var(--border-light);
  box-shadow: none;
}

.field .help {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 6px;
  line-height: 1.4;
}
.field .error-msg {
  font-size: 12px;
  color: var(--red);
  font-weight: 700;
  margin-top: 6px;
  display: none;
}
.field .error-msg.visible {
  display: block;
}
.field input.invalid,
.field select.invalid,
.birth-input-row select.invalid {
  border-color: var(--red);
  background: var(--red-bg);
}

/* ── 生年月日(年/月/日プルダウン) ── */
.birth-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.birth-input-row select {
  font-size: 16px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: inherit;
  background: var(--white);
  min-width: 0;
}
.birth-input-row select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 159, 64, 0.15);
}
.birth-input-row select#rep-birth-y,
.birth-input-row select#adult2-birth-y,
.birth-input-row select[id$="-birth-y"] {
  width: 100px;
}
.birth-input-row select[id$="-birth-m"],
.birth-input-row select[id$="-birth-d"] {
  width: 75px;
}
.birth-unit {
  font-size: 13px;
  color: var(--text-sub);
  margin-right: 4px;
}
@media (max-width: 600px) {
  .birth-input-row { gap: 4px; }
  .birth-input-row select { font-size: 14px; padding: 7px 8px; }
  .birth-input-row select[id$="-birth-y"] { width: 80px; }
  .birth-input-row select[id$="-birth-m"],
  .birth-input-row select[id$="-birth-d"] { width: 58px; }
  .birth-unit { margin-right: 0; font-size: 12px; }
}

/* ── フォーム全体のエラーバナー ── */
.form-error-banner {
  background: var(--red-bg);
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 20px;
  margin: 0 0 16px;
  border-radius: 6px;
  text-align: center;
  line-height: 1.6;
}

/* ── fincode by GMO マウント領域 ── */
.fincode-mount-area {
  min-height: 200px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
  margin-top: 8px;
}
.fincode-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.65;
}

.field-half { max-width: 240px; }
/* ── 郵便番号検索 ── */
.zip-input-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.zip-input-row input {
  flex: 1;
  min-width: 0;
}
.zip-search-btn {
  flex-shrink: 0;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--green);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  white-space: nowrap;
}
.zip-search-btn:hover { background: var(--green-dark); }
.zip-search-btn:disabled {
  background: #aaa;
  cursor: not-allowed;
}
.zip-status {
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.4;
  min-height: 1.4em;
  white-space: pre-line;
}
.zip-status.loading { color: var(--text-sub); }
.zip-status.success { color: var(--green-dark); font-weight: 700; }
.zip-status.error { color: var(--red); font-weight: 700; }

/* ── Guidance Box(アイコン付きインフォボックス) ── */
.guidance {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--green-bg);
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.85;
}
.guidance::before {
  content: "i";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
}

.alert-box {
  background: var(--red-bg);
  border: 2px solid var(--red);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--red);
  font-weight: 700;
  border-radius: 8px;
  margin-bottom: 16px;
  display: none;
}

/* ── Person Count Display ── */
.count-display {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-bg);
  border: 2px solid var(--green);
  border-radius: 8px;
  padding: 8px 16px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
}
.count-display.error {
  background: var(--red-bg);
  border-color: var(--red);
  color: var(--red);
}
.count-display .num {
  font-size: 22px;
  font-weight: 700;
}

/* ── Dynamic Sections ── */
.dynamic-section {
  display: none;
  animation: fadeIn 0.3s ease;
}
.dynamic-section.show { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Session Table ── */
.session-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.session-table thead th {
  background: var(--green-dark);
  color: var(--white);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border: 1px solid #005c25;
}
.session-table tbody td {
  padding: 12px 10px;
  border: 1px solid var(--border-light);
  text-align: center;
  vertical-align: middle;
}
.session-table tbody tr:nth-child(even) td { background: #fafafa; }
.session-table tbody tr.checked td { background: var(--green-light); }
.session-table .session-name {
  text-align: left;
  font-weight: 600;
  font-size: 15px;
}
.session-table .session-code {
  font-family: 'Courier New', Consolas, Monaco, monospace;
  font-weight: 700;
  font-size: 13px;
  color: var(--green-dark);
  white-space: nowrap;
}

.session-table input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--green);
  cursor: pointer;
}

/* ── 希望順位ドロップダウン ── */
.session-table .priority-select {
  width: 100%;
  padding: 8px 28px 8px 10px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.session-table .priority-select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,159,64,0.15);
}
.session-table .priority-select option:disabled {
  color: #bbb;
}
/* 希望順位が選択されている行は緑の枠線でも強調 */
.session-table tbody tr.checked .priority-select {
  border-color: var(--green);
  background-color: var(--white);
  font-weight: 700;
  color: var(--green-dark);
}

/* ── 連番違反の警告(第1希望から順に選んでください) ── */
.priority-warning {
  background: var(--red-bg);
  border: 2px solid var(--red);
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 12px;
}
.priority-warning-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 4px;
}
.priority-warning-detail {
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
}

/* ── Total ── */
.total-area {
  background: var(--green-bg);
  border: 2px solid var(--green);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.total-area .label { font-size: 15px; font-weight: 700; color: var(--green-dark); }
.total-area .price { font-size: 26px; font-weight: 700; color: var(--green-dark); }

/* ── Submit ── */
.submit-area {
  margin-top: 0;
  margin-bottom: 40px;
  text-align: center;
  background: var(--white);
  padding: 8px 28px 32px;
}
.submit-btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  padding: 16px 72px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  letter-spacing: 0.01em;
}
.submit-btn:hover { background: var(--green-dark); }
.submit-btn:disabled {
  background: #aaa;
  cursor: not-allowed;
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--border-light);
  margin: 24px 0;
}

/* ── Page footer (特商法・プライバシー等) ── */
.page-legal-footer {
  text-align: center;
  padding: 24px 16px 16px;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.8;
  border-top: 1px solid var(--border-light);
  margin-top: 16px;
}
.page-legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  margin-bottom: 10px;
}
.page-legal-footer-links a {
  color: var(--green-dark);
  text-decoration: underline;
  padding: 0 14px;
  border-right: 1px solid var(--border);
  line-height: 1.4;
}
.page-legal-footer-links a:last-child { border-right: none; }
.page-legal-footer-links a:hover { text-decoration: none; }

/* ── Guide Sections ── */
.guide-wrap {
  background: var(--white);
  margin-bottom: 2px;
}
.guide-section {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-light);
}
.guide-section:last-child { border-bottom: none; }
.guide-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  padding: 8px 14px;
  background: var(--green-light);
  margin-bottom: 14px;
}
/* ── 段落型のガイド本文 ── */
/* ── お申し込み人数セクション(大きな数字+補足ボックス) ── */
.people-feature {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: var(--green-bg);
  border-radius: 8px;
  margin-bottom: 12px;
}
.people-feature-num {
  font-size: 44px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  flex-shrink: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: -0.02em;
}
.people-feature-num small {
  font-size: 18px;
  color: var(--red);
  margin-left: 2px;
  font-family: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  letter-spacing: 0;
}
.people-feature-body {
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}
.people-feature-body strong {
  color: var(--green-dark);
  font-weight: 700;
}
.people-note {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text);
  padding: 8px 0 8px 14px;
  border-left: 3px solid #f0ad00;
}
.people-note strong {
  color: var(--red);
  font-weight: 700;
}

.guide-venue-intro {
  font-size: 14px;
  padding-left: 0;
  margin-bottom: 12px;
  line-height: 1.8;
}

/* ── 外部サイトへの誘導バナー(C-3:左にラベル+右に説明) ── */
.external-banner {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  margin-top: 12px;
  transition: background 0.2s;
}
.external-banner:hover {
  background: var(--green-bg);
}
.external-banner-left {
  background: var(--green);
  color: var(--white);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 110px;
  flex-shrink: 0;
}
.external-banner-icon {
  width: 28px;
  height: 28px;
}
.external-banner-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.external-banner-right {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.external-banner-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: underline;
  line-height: 1.5;
  margin-bottom: 4px;
}
.guide-confirm {
  border: 2px solid var(--green);
  margin-top: 0;
}
.guide-confirm-header {
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 16px;
}
.guide-confirm-body { padding: 24px 28px; }
.guide-confirm-item { margin-bottom: 20px; }
.guide-confirm-item:last-child { margin-bottom: 0; }
.guide-confirm-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 4px;
}
.guide-confirm-item-body {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}
.guide-confirm-item-body strong {
  color: var(--red);
  font-weight: 700;
}
.guide-confirm-item-body a {
  color: var(--green-dark);
  text-decoration: underline;
  font-weight: 700;
}
.guide-confirm-item-body a:hover {
  text-decoration: none;
}
.guide-alert-red {
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  background: var(--red-bg);
  border: 2px solid var(--red);
  padding: 8px 12px;
  margin-top: 8px;
  display: block;
  line-height: 1.8;
}

.guide-divider {
  height: 1px;
  background: var(--border-light);
  margin: 16px 0;
}

.guide-to-form {
  text-align: center;
  padding: 24px 28px;
  background: var(--white);
  margin-bottom: 0;
}
.guide-confirm-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--green-dark);
  user-select: none;
}
.guide-confirm-check input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}
.guide-confirm-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ── Responsive(form.css 独自部分) ── */
@media (max-width: 600px) {
  .section-body { padding: 16px; }
  .field-row { flex-direction: column; gap: 0; }
  .field-row > .field { margin-bottom: 20px; }
  .field-row > .field:last-child { margin-bottom: 0; }
  .field-half { max-width: 100%; }
  .zip-search-btn { padding: 0 12px; font-size: 12px; }
  .session-table { font-size: 14px; }
  .session-table thead th { padding: 8px 4px; font-size: 11px; }
  .session-table tbody td { padding: 10px 4px; }
  /* スマホではセッション番号列を非表示(セッション名内にコードが含まれているため) */
  .session-table thead th:nth-child(2),
  .session-table tbody td.session-code { display: none; }
  /* HTML側 style="width:130px" を上書きして第1列を圧縮 */
  .session-table thead th:first-child { width: 96px !important; }
  .session-table thead th:last-child { width: 72px !important; }
  .session-table .session-code { font-size: 11px; }
  .session-table .session-name { font-size: 13px; }
  .session-table .priority-select { padding: 8px 24px 8px 6px; font-size: 13px; }
  .total-area { flex-direction: column; gap: 4px; text-align: center; }
  .guide-section { padding: 16px; }
  .external-banner { flex-direction: column; }
  .external-banner-left {
    flex-direction: row;
    min-width: 0;
    padding: 10px 16px;
    gap: 8px;
  }
  .external-banner-icon { width: 20px; height: 20px; }
  .external-banner-right { padding: 14px 16px; }
  .people-feature { gap: 12px; padding: 14px 16px; }
  .people-feature-num { font-size: 36px; }
  .people-feature-num small { font-size: 14px; }
  .people-feature-body { font-size: 13px; }
  .guide-confirm-body { padding: 14px; }
  .page-legal-footer-links a { padding: 0 10px; font-size: 11px; }
  /* 価格カード: モバイルは縦並び、子供カードの右点線を下点線に変更 */
  .lead-price { grid-template-columns: 1fr; }
  .lead-price-card { padding: 16px 18px; }
  .lead-price-kid {
    border-right: none;
    border-bottom: 1px dashed var(--green);
  }
  /* 送信ボタン: モバイルでは横padding縮小 */
  .submit-area { padding: 8px 16px 24px; }
  .submit-btn { padding: 14px 28px; width: 100%; max-width: 320px; margin: 0 auto; }
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.88);
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  max-width: 320px;
}

.loading-spinner {
  width: 54px;
  height: 54px;
  border: 5px solid #d8eadf;
  border-top-color: #009f40;
  border-radius: 50%;
  margin: 0 auto 18px;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#entry-form input[type="text"],
#entry-form input[type="email"],
#entry-form input[type="tel"],
#entry-form select,
#entry-form textarea {
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  background-color: #fff !important;
  padding: 10px 14px !important;  /* PCはコンパクト */
  box-shadow: none;
}

/* モバイルではタッチターゲットを確保するため padding を一段大きく戻す */
@media (max-width: 600px) {
  #entry-form input[type="text"],
  #entry-form input[type="email"],
  #entry-form input[type="tel"],
  #entry-form select,
  #entry-form textarea {
    padding: 12px !important;
  }
}

/* フォーカス時の枠線色・シャドウ復活（上の !important ルールを :focus で上書き） */
#entry-form input[type="text"]:focus,
#entry-form input[type="email"]:focus,
#entry-form input[type="tel"]:focus,
#entry-form select:focus,
#entry-form textarea:focus {
  border-color: var(--green) !important;
  box-shadow: 0 0 0 4px rgba(0,159,64,0.15) !important;
}

/* ===== fincode スマホ崩れ対策 ===== */

#fincode-form.fincode-mount-area {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;

  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  box-shadow: none !important;
  border-radius: 8px !important;
}

#fincode {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

#fincode iframe {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  border: 0 !important;
}

/* 狭いスマホ */
@media screen and (max-width: 480px) {
  #fincode-form.fincode-mount-area {
    min-height: 390px !important;
  }

  #fincode iframe {
    height: 390px !important;
    min-height: 390px !important;
  }
}

/* 中間幅：スマホ横〜小さめタブレット */
@media screen and (min-width: 481px) and (max-width: 768px) {
  #fincode-form.fincode-mount-area {
    min-height: 620px !important;
  }

  #fincode iframe {
    height: 620px !important;
    min-height: 620px !important;
  }
}

/* PC */
@media screen and (min-width: 769px) {
  #fincode-form.fincode-mount-area {
    min-height: 720px !important;
  }

  #fincode iframe {
    height: 720px !important;
    min-height: 720px !important;
  }
}

#entry-form input.invalid,
#entry-form select.invalid,
#entry-form textarea.invalid {
  border: 2px solid var(--red) !important;
  background-color: var(--red-bg) !important;
  box-shadow: none !important;
}

#entry-form input.invalid:focus,
#entry-form select.invalid:focus,
#entry-form textarea.invalid:focus {
  border: 2px solid var(--red) !important;
  background-color: var(--red-bg) !important;
  box-shadow: 0 0 0 4px rgba(220, 0, 0, 0.15) !important;
}