@charset "UTF-8";

/* =================================
   韓国LP お問い合わせ
================================= */

.korea-contact {
  width: min(calc(100% - 40px), 700px);
  margin: 60px auto;
  overflow: hidden;
  color: #14213d;
  background: #fff;
  border: 1px solid #ddd8cf;
  border-radius: 4px;
}

/* 上部 */

.korea-contact__head {
  padding: 40px 38px 36px;
  color: #fff;
  background: #14213d;
}

.korea-contact__label {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 14px;
  color: #f2b51d;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #a97b12;
  border-radius: 2px;
}

.korea-contact__head h1 {
  margin: 0 0 15px;
  color: #fff;
  font-size: clamp(27px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.5;
}

.korea-contact__head>p:last-child {
  margin: 0;
  color: #e3e7ef;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}

/* フォーム本体 */

.korea-contact__body {
  padding: 38px;
}

.contact-field {
  margin-bottom: 28px;
}

.contact-field label,
.contact-field__title {
  display: block;
  margin: 0 0 9px;
  color: #14213d;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
}

.contact-field__title {
  padding: 0;
}

.contact-required {
  margin-left: 4px;
  color: #d71920;
  font-size: 12px;
  font-weight: 700;
}

.contact-optional {
  margin-left: 4px;
  color: #666;
  font-size: 12px;
  font-weight: 500;
}

/* 入力欄 */

.korea-contact .contact-input,
.korea-contact .contact-textarea {
  width: 100%;
  margin: 0;
  color: #222;
  font-size: 16px;
  background: #fff;
  border: 1px solid #ddd7cf;
  border-radius: 3px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.korea-contact .contact-input {
  height: 54px;
  padding: 0 15px;
}

.korea-contact .contact-textarea {
  min-height: 130px;
  padding: 15px;
  resize: vertical;
  line-height: 1.8;
}

.korea-contact .contact-input:focus,
.korea-contact .contact-textarea:focus {
  border-color: #d71920;
  box-shadow: 0 0 0 2px rgba(215, 25, 32, 0.12);
}

.korea-contact input::placeholder,
.korea-contact textarea::placeholder {
  color: #777;
}

/* お悩みチェックボックス */

.contact-options .mwform-checkbox-field {
  display: block;
  margin: 0 0 8px;
}

.contact-options .mwform-checkbox-field:last-child {
  margin-bottom: 0;
}

.contact-options .mwform-checkbox-field label {
  min-height: 48px;
  margin: 0;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #222;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  background: #fff;
  border: 1px solid #ddd7cf;
  border-radius: 3px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.contact-options .mwform-checkbox-field label:hover {
  border-color: #d71920;
  background: #fff8f8;
}

.contact-options input[type="checkbox"],
.contact-privacy input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #d71920;
}

/* 個人情報同意 */

.contact-privacy {
  margin: 4px 0 25px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-privacy__checkbox {
  padding-top: 3px;
  flex-shrink: 0;
}

.contact-privacy__checkbox .mwform-checkbox-field label {
  display: block;
  margin: 0;
  font-size: 0;
  cursor: pointer;
}

.contact-privacy p {
  margin: 0;
  color: #555;
  font-size: 13px;
  line-height: 1.8;
}

.contact-privacy a {
  color: #2059b5;
  text-decoration: underline;
}

/* ボタン */

.contact-actions {
  display: flex;
  gap: 12px;
}

.korea-contact .contact-submit,
.korea-contact .contact-back {
  min-height: 62px;
  padding: 0 25px;
  flex: 1;
  font-size: 17px;
  font-weight: 800;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.korea-contact .contact-submit {
  color: #fff;
  background: #d71920;
}

.korea-contact .contact-back {
  color: #333;
  background: #e8e8e8;
}

.korea-contact .contact-submit:hover,
.korea-contact .contact-back:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.contact-note {
  margin: 18px 0 0;
  color: #666;
  text-align: center;
  font-size: 13px;
}

/* エラー表示 */

.korea-contact .error {
  display: block;
  margin-top: 6px;
  color: #d71920;
  font-size: 13px;
  font-weight: 600;
}

/* 確認画面 */

.mw_wp_form_confirm .contact-field {
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

/* =================================
   完了画面
================================= */

.contact-complete {
  width: min(calc(100% - 40px), 700px);
  margin: 60px auto;
  padding: 70px 40px;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd8cf;
}

.contact-complete__label {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 15px;
  color: #d71920;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #d71920;
}

.contact-complete h1 {
  margin: 0 0 28px;
  color: #14213d;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.5;
}

.contact-complete p {
  margin: 0;
  color: #444;
  font-size: 16px;
  line-height: 2;
}

.contact-complete p+p {
  margin-top: 18px;
}

.contact-complete__button {
  width: min(100%, 360px);
  min-height: 60px;
  margin: 38px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  background: #d71920;
  border-radius: 999px;
  text-decoration: none;
}

/* =================================
   スマホ
================================= */

@media (max-width: 767px) {
  .korea-contact {
    width: calc(100% - 28px);
    margin: 30px auto;
  }

  .korea-contact__head {
    padding: 30px 22px 28px;
  }

  .korea-contact__head h1 {
    font-size: 25px;
  }

  .korea-contact__head>p:last-child {
    font-size: 14px;
  }

  .korea-contact__head>p:last-child br {
    display: none;
  }

  .korea-contact__body {
    padding: 28px 20px 32px;
  }

  .contact-field {
    margin-bottom: 24px;
  }

  .contact-options .mwform-checkbox-field label {
    padding: 12px;
    font-size: 14px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .korea-contact .contact-submit,
  .korea-contact .contact-back {
    width: 100%;
  }

  .contact-complete {
    width: calc(100% - 28px);
    margin: 30px auto;
    padding: 50px 20px;
  }

  .contact-complete p {
    font-size: 14px;
  }

  .contact-complete p br {
    display: none;
  }
}



/* =========================
   GLローディング
========================= */

.lp-contact-loading {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d71920;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.lp-contact-loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lp-contact-loading img {
  display: block;
  width: 100px;
  height: auto;
}

/* =========================
   GLヘッダー
========================= */

.gl-contact-header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.gl-contact-header__inner {
  width: min(calc(100% - 80px), 1180px);
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.gl-contact-header__logo {
  display: block;
}

.gl-contact-header__logo img {
  display: block;
  width: auto;
  height: 44px;
}

/* =========================
   GLフッター
========================= */

.gl-contact-footer {
  padding: 55px 20px 30px;
  text-align: center;
  background: #171717;
}

.gl-contact-footer img {
  display: block;
  width: 44px;
  height: auto;
  margin: 0 auto;
}

.gl-contact-footer p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

@media (max-width: 767px) {
  .gl-contact-header__inner {
    width: calc(100% - 40px);
    height: 72px;
  }

  .gl-contact-header__logo img {
    height: 34px;
  }

  .lp-contact-loading img {
    width: 100px;
  }
}

body {
  margin: 0px;
}