/* ==========================================================================
   Bikosha Contact Form (J-Font Exact Layout & Typography with Bikosha Colors)
   Brand Colors:
     - Navy: #12324e
     - Yellow/Amber: #eb7e00
   ========================================================================== */

.bk-contact-page {
  background-color: #ffffff;
  min-height: 100vh;
}

/* Fixed Header Background */
.bk-contact-page .rc-header {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #eaeaea;
}

.bk-contact-section {
  padding: 150px 24px 120px;
  background-color: #ffffff;
}

@media (max-width: 768px) {
  .bk-contact-section {
    padding: 120px 16px 80px;
  }
}

.bk-contact-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Header Area */
.bk-contact-header {
  text-align: center;
  margin-bottom: 45px;
}

.bk-contact-en-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 68.4px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #12324e;
  margin: 0 0 14px;
  line-height: 1.2;
}

.bk-contact-bar {
  width: 34px;
  height: 3px;
  background-color: #eb7e00;
  margin: 0 auto 16px;
  border-radius: 2px;
}

.bk-contact-ja-title {
  font-size: 27px;
  font-weight: 700;
  color: #12324e;
  margin: 0 0 16px;
  letter-spacing: 0.06em;
}

.bk-contact-lead {
  font-size: 18px;
  line-height: 1.8;
  color: #4a5568;
  margin: 0;
  letter-spacing: 0.04em;
}

/* Table Layout (J-Font 完全一致仕様) */
.bk-contact-card {
  margin-top: 30px;
}

.bk-contact-table {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  border-top: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
}

.bk-contact-table tr {
  border-bottom: 1px solid #dcdcdc;
  border-top: 1px solid #dcdcdc;
}

/* J-Font 実機準拠: th の幅は 176px、縦区切り線あり、フォントサイズ 18px、背景白 */
.bk-contact-table th {
  width: 176px;
  min-width: 176px;
  padding: 24px 16px 24px 0;
  text-align: left;
  vertical-align: middle;
  font-size: 18px;
  font-weight: 700;
  color: #12324e;
  line-height: 1.5;
  letter-spacing: 1.2px;
  background: none;
  border-right: 1px solid #dcdcdc;
  box-sizing: border-box;
}

/* J-Font 実機準拠: td パディング 24px 0 24px 25px、フォントサイズ 18px */
.bk-contact-table td {
  padding: 24px 0 24px 25px;
  vertical-align: middle;
  font-size: 18px;
  line-height: 1.7;
  color: #111827;
  box-sizing: border-box;
}

.bk-req {
  color: #d72d00;
  font-size: 16px;
  font-weight: 700;
  margin-left: 2px;
}

/* J-Font 実機準拠: 入力欄のフォントサイズ 18px、letter-spacing: 3px、高さ 53px */
.bk-contact-table input[type="text"],
.bk-contact-table input[type="email"],
.bk-contact-table select,
.bk-contact-table textarea {
  font-size: 18px;
  letter-spacing: 3px;
  color: #111827;
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 0;
  padding: 12px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.bk-contact-table input[type="text"],
.bk-contact-table input[type="email"] {
  height: 53px;
}

.bk-contact-table select {
  height: 55px;
  font-size: 18px;
  letter-spacing: 1px;
}

.bk-contact-table textarea {
  padding: 16px 20px;
  height: 200px;
  line-height: 1.7;
  resize: vertical;
}

.bk-contact-table input::placeholder,
.bk-contact-table textarea::placeholder {
  color: #a0aab2;
  font-size: 17px;
  letter-spacing: 2px;
}

.bk-contact-table input:focus,
.bk-contact-table select:focus,
.bk-contact-table textarea:focus {
  border-color: #12324e;
  outline: none;
  box-shadow: 0 0 0 2px rgba(18, 50, 78, 0.2);
}

/* J-Font 実機準拠の幅サイズ（box185, box410, box580, etc.） */
.bk-box185 {
  width: 185px !important;
  max-width: 100%;
}

.bk-box410 {
  width: 410px !important;
  max-width: 100%;
}

.bk-box580 {
  width: 580px !important;
  max-width: 100%;
}

.bk-box-email {
  width: 750px !important;
  max-width: 100%;
}

.bk-box-textarea {
  width: 750px !important;
  max-width: 100%;
}

.bk-select-purpose select {
  width: 750px !important;
  max-width: 100%;
}

.bk-field-inline {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bk-name-space {
  display: none;
}

/* Custom Select Styling */
.bk-select-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.bk-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 54px;
  cursor: pointer;
  background-color: #ffffff;
}

.bk-select-wrap::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 52px;
  background-color: #12324e;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%23ffffff' d='M7 10L0 0h14z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 8px;
}

/* Zipcode input */
.bk-zip-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.bk-box115 {
  width: 115px !important;
  text-align: center;
  letter-spacing: 3px !important;
}

.bk-zip-hyphen {
  font-size: 20px;
  font-weight: 700;
  color: #555555;
}

.bk-zip-status {
  font-size: 15px;
  color: #eb7e00;
  font-weight: 700;
  margin-left: 8px;
}

.bk-zip-notes {
  margin-top: 8px;
  font-size: 14.5px;
  color: #555555;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.bk-zip-notes p {
  margin: 3px 0;
}

.bk-link-inline {
  color: #12324e;
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.2s;
}

.bk-link-inline:hover {
  color: #eb7e00;
}

/* Address 2-row styling */
.bk-address-row1 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.bk-pref-select-wrap select {
  width: 160px !important;
  padding-left: 16px;
  padding-right: 48px;
}

.bk-pref-select-wrap::after {
  width: 44px;
}

.bk-address-row2 {
  width: 100%;
}

/* Paste Notice */
.bk-paste-notice {
  font-size: 14px;
  color: #eb7e00;
  font-weight: 700;
  margin: 8px 0 0;
}

/* Consent Area */
.bk-consent-area {
  margin-top: 50px;
  text-align: center;
  padding: 0 16px;
}

.bk-consent-notice {
  font-size: 16px;
  color: #222222;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.bk-consent-checkbox-wrap {
  display: inline-block;
}

.bk-consent-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 18px;
  color: #12324e;
}

.bk-consent-label input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: #eb7e00;
  cursor: pointer;
}

.bk-consent-text {
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Error Messages */
.bk-error-msg {
  color: #d72d00;
  font-size: 14.5px;
  font-weight: 700;
  margin: 8px 0 0;
  line-height: 1.4;
}

.bk-has-error input,
.bk-has-error select,
.bk-has-error textarea {
  border-color: #d72d00 !important;
  background-color: #fff9f9 !important;
}

/* Action Area (Input Screen) */
.bk-action-area {
  margin-top: 50px;
  text-align: center;
}

.bk-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 68px;
  background-color: #eb7e00;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(235, 126, 0, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.bk-submit-btn:hover {
  background-color: #d67200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(235, 126, 0, 0.45);
}

.bk-submit-btn:active {
  transform: translateY(0);
}

/* Confirmation Screen Table (J-Font 完全一致) */
.bk-confirm-table th {
  background: none;
  width: 176px;
  font-size: 18px;
  letter-spacing: 1.2px;
}

.bk-confirm-table td {
  padding: 24px 0 24px 25px;
  font-size: 18px;
  letter-spacing: 2.5px;
  line-height: 1.8;
  color: #111827;
  word-break: break-all;
}

.bk-conf-multiline {
  white-space: pre-wrap;
  line-height: 1.85;
}

/* Confirmation Screen Buttons */
.bk-confirm-action-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 55px;
}

.bk-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 68px;
  background-color: #a8a8a8;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.bk-back-btn:hover {
  background-color: #949494;
  transform: translateY(-2px);
}

.bk-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 68px;
  background-color: #eb7e00;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(235, 126, 0, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.bk-send-btn:hover {
  background-color: #d67200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(235, 126, 0, 0.45);
}

.bk-send-btn:disabled,
.bk-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Complete Message */
.bk-complete-message {
  padding: 60px 20px;
  text-align: center;
}

.bk-complete-inner {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid #eb7e00;
  border-radius: 8px;
  padding: 50px 36px;
  box-shadow: 0 8px 30px rgba(18, 50, 78, 0.08);
}

.bk-complete-inner h2 {
  font-size: 26px;
  font-weight: 700;
  color: #12324e;
  margin: 0 0 16px;
}

.bk-complete-inner p {
  font-size: 17px;
  line-height: 1.8;
  color: #4a5568;
  margin: 0 0 36px;
}

.bk-complete-action {
  text-align: center;
}

/* Responsive Table */
@media (max-width: 768px) {
  .bk-contact-en-title {
    font-size: 54px;
  }
  .bk-contact-ja-title {
    font-size: 24.3px;
  }
  .bk-contact-lead {
    font-size: 16px;
  }
  .bk-contact-table,
  .bk-contact-table tbody,
  .bk-contact-table tr,
  .bk-contact-table th,
  .bk-contact-table td {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
  }

  .bk-contact-table tr {
    padding: 16px 0;
  }

  .bk-contact-table th {
    padding: 8px 0;
    font-size: 16px;
    border-right: none;
  }

  .bk-contact-table td {
    padding: 8px 0 16px;
  }

  .bk-field-inline {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .bk-box185,
  .bk-box410,
  .bk-box580,
  .bk-box-email,
  .bk-box-textarea,
  .bk-select-purpose select {
    width: 100% !important;
  }

  .bk-address-row1 {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .bk-pref-select-wrap select {
    width: 100% !important;
  }

  .bk-submit-btn {
    width: 100%;
    max-width: 320px;
  }

  .bk-confirm-action-area {
    flex-direction: column-reverse;
    gap: 16px;
  }

  .bk-back-btn,
  .bk-send-btn {
    width: 100%;
    max-width: 320px;
  }
}

/* フッター直前の「募集を見る」セクションの非表示 */
.dp-next {
  display: none !important;
}
