.contactForm {
  width: 100%;
  margin-top: 40px;
}

.contactForm__loading {
  display: grid;
  min-height: 420px;
  margin-top: 40px;
  place-content: center;
  justify-items: center;
  gap: 18px;
  border: 1px solid #eee;
  background: #fafafa;
  color: #555;
  text-align: center;
}

.contactForm__loading-spinner {
  display: block;
  width: 44px;
  height: 44px;
  border: 3px solid rgba(236, 94, 0, 0.18);
  border-top-color: #ec5e00;
  border-radius: 50%;
  animation: clamppy-contact-loading-spin 0.8s linear infinite;
}

.contactForm__loading p {
  margin: 0 !important;
  color: inherit;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7 !important;
}

.contactForm__unavailable {
  margin-top: 40px;
  padding: 48px 40px;
  border: 1px solid #e2e2e2;
  background: #fafafa;
  color: #333;
  text-align: center;
}

.contactForm__unavailable h3 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.contactForm__unavailable p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 2 !important;
}

@keyframes clamppy-contact-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.contactForm__field {
  width: 100%;
}

.contactForm__label {
  display: block;
  padding: 15px;
  background: #f8f8f8;
  font-weight: bold;
  line-height: 1.5;
}

.contactForm__control {
  position: relative;
}

.contactForm__error {
  margin: 0 !important;
  padding: 10px 15px;
  background: #fff1ee;
  color: #b42318;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1.6 !important;
}

.contactForm [aria-invalid="true"] {
  border-color: #b42318 !important;
  box-shadow: inset 0 0 0 1px #b42318;
}

.contactForm .select_wrap select {
  appearance: none;
  min-height: 50px;
  padding-right: 48px;
}

.contactForm .select_wrap::after {
  pointer-events: none;
}

.contactForm input,
.contactForm select,
.contactForm textarea,
.contactForm button {
  border-radius: 0;
  font-family: inherit;
}

.contactForm input:-webkit-autofill,
.contactForm select:-webkit-autofill,
.contactForm textarea:-webkit-autofill {
  animation: clamppy-contact-autofill 0.01s both;
}

@keyframes clamppy-contact-autofill {
  from {
    opacity: 0.99;
  }
  to {
    opacity: 1;
  }
}

.contactForm input:focus-visible,
.contactForm select:focus-visible,
.contactForm textarea:focus-visible,
.contactForm button:focus-visible,
.contactPolicyModal button:focus-visible,
.contactPolicyModal__scroll:focus-visible {
  outline: 3px solid rgba(236, 94, 0, 0.35);
  outline-offset: 2px;
}

.contactConsent {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid #e4e4e4;
  background: #fafafa;
  text-align: center;
}

.contactConsent.is-complete {
  padding: 0;
  border: 0;
  background: transparent;
}

.contactConsent h3 {
  margin: 0 0 10px;
  color: #333;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.contactConsent > p {
  margin: 0 0 22px !important;
  color: #666;
  font-size: 13px !important;
  line-height: 1.8 !important;
}

.contactConsent .contactConsent__open {
  min-width: 280px;
  min-height: 56px;
  padding: 12px 24px;
  border: 1px solid #333;
  background: #333;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}

.contactConsent .contactConsent__open:not(:disabled):hover {
  border-color: #ec5e00;
  background: #ec5e00;
}

.contactConsent .contactConsent__open:disabled {
  border-color: #ccc;
  background: #ddd;
  color: #777;
  cursor: not-allowed;
}

.contactConsent .contactConsent__hint {
  margin: 12px 0 0 !important;
  color: #777;
  font-size: 12px !important;
}

.contactConsent__complete {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  border: 1px solid #d7e6d9;
  background: #f4faf5;
  box-shadow: inset 4px 0 0 #237a35;
  text-align: left;
}

.contactConsent__check {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #237a35;
  color: #fff;
}

.contactConsent__check svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.contactConsent__complete strong,
.contactConsent__complete > div > span {
  display: block;
}

.contactConsent__complete strong {
  color: #245d30;
  font-size: 13px;
}

.contactConsent__complete div > span {
  margin-top: 3px;
  color: #58705d;
  font-size: 11px;
}

.contactConsent__complete button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #9eaaa0;
  background: #fff;
  color: #333;
  font-size: 11px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.contactConsent__complete button:hover {
  border-color: #237a35;
  color: #237a35;
}

.contactConsent__complete button:disabled {
  border-color: #ccc;
  background: #eee;
  color: #777;
  cursor: not-allowed;
}

.contactForm__send {
  min-height: 72px;
  margin-top: 50px;
}

.contactForm .contactForm__send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 72px;
  margin: 0 auto;
  padding: 0 30px;
  border: 0;
  background: #ec5e00;
  color: #fff;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08), 0 1px 5px rgba(0, 0, 0, 0.06);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  opacity: 1;
}

.contactForm .contactForm__send-btn:disabled {
  background: #b7b7b7;
  cursor: not-allowed;
}

.contactForm .contactForm__send-btn:not(:disabled):hover {
  background: #c94f00;
}

.contactForm__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contactForm__notice {
  margin: 14px 0 0 !important;
  color: #666;
  font-size: 12px !important;
  line-height: 1.7 !important;
  text-align: center;
}

.contactForm__notice p {
  margin: 0 !important;
  font-size: inherit !important;
}

.contactForm__notice.is-error {
  color: #b42318;
}

.contactForm__notice button {
  margin-top: 10px;
  padding: 7px 16px;
  border: 1px solid #999;
  background: #fff;
  color: #333;
  cursor: pointer;
}

.contactPolicyModal {
  display: grid;
  position: fixed;
  z-index: 100000;
  inset: 0;
  padding: 24px;
  overflow: auto;
  place-items: center;
  background: rgba(14, 14, 14, 0.72);
  backdrop-filter: blur(3px);
}

.contactPolicyModal__dialog {
  display: flex;
  width: min(920px, 100%);
  max-height: calc(100dvh - 48px);
  flex-direction: column;
  overflow: hidden;
  border-top: 5px solid #ec5e00;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.contactPolicyModal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid #e8e8e8;
}

.contactPolicyModal__eyebrow {
  margin: 0 0 4px;
  color: #ec5e00;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.contactPolicyModal__header h2 {
  margin: 0;
  color: #333;
  font-size: 24px;
  line-height: 1.4;
}

.contactPolicyModal__close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  place-items: center;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.contactPolicyModal__instruction {
  margin: 0;
  padding: 12px 28px;
  background: #fff6ef;
  color: #8d3d08;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}

.contactPolicyModal__scroll {
  height: clamp(240px, 32dvh, 360px);
  min-height: 0;
  flex: 0 0 auto;
  padding: 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.contactPolicy__document {
  color: #444;
  font-size: 13px;
  line-height: 2;
}

.contactPolicy__document > p {
  margin: 0 0 28px;
}

.contactPolicy__document section {
  margin-top: 28px;
}

.contactPolicy__document h3 {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e6e6e6;
  color: #333;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.contactPolicy__document p {
  margin: 0;
}

.contactPolicy__document ol,
.contactPolicy__document ul {
  margin: 14px 0 0;
  padding-left: 1.8em;
}

.contactPolicy__document ol {
  list-style: decimal;
}

.contactPolicy__document ul {
  list-style: disc;
}

.contactPolicy__document li + li {
  margin-top: 7px;
}

.contactPolicy__document address {
  margin-top: 30px;
  padding: 18px;
  background: #f7f7f7;
  font-size: 12px;
  font-style: normal;
  line-height: 1.9;
}

.contactPolicyModal__version {
  margin: 24px 0 0;
  color: #777;
  font-size: 11px;
  text-align: right;
}

.contactPolicyModal__end {
  margin-top: 24px;
  padding: 14px;
  border: 1px dashed #d6a27f;
  background: #fff9f5;
  color: #8d3d08;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.contactPolicyModal__footer {
  padding: 18px 28px 22px;
  border-top: 1px solid #e8e8e8;
  background: #fff;
  text-align: center;
}

.contactPolicyModal__footer p {
  margin: 0 0 10px;
  color: #666;
  font-size: 11px;
  line-height: 1.6;
}

.contactPolicyModal__footer .contactPolicyModal__error {
  color: #b42318;
  font-weight: 700;
}

.contactPolicyModal__footer .contactPolicyModal__ready {
  color: #237a35;
  font-weight: 700;
}

.contactPolicyModal__agree {
  min-width: 280px;
  min-height: 58px;
  padding: 12px 24px;
  border: 0;
  background: #ec5e00;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.contactPolicyModal__agree:disabled,
.contactPolicyModal__close:disabled {
  background: #d8d8d8;
  color: #777;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .contactForm__loading-spinner {
    animation: none;
    border-color: rgba(236, 94, 0, 0.35);
    border-top-color: #ec5e00;
  }
}

.contact-complete {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 30px 110px;
  text-align: center;
}

.contact-complete__mark {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: #ec5e00;
  color: #fff;
}

.contact-complete__mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.contact-complete .main_contents_section_ttl_eng {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.contact-complete h1 {
  width: auto;
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  overflow-wrap: normal;
  word-break: keep-all;
}

.contact-complete__lead {
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 2;
}

.contact-complete__notice {
  margin: 36px 0 30px;
  padding: 24px 30px;
  border: 1px solid #e3e3e3;
  border-left: 4px solid #ec5e00;
  background: #fafafa;
  text-align: left;
}

.contact-complete__notice strong {
  display: block;
  font-size: 16px;
  line-height: 1.6;
}

.contact-complete__notice p {
  margin: 8px 0 0;
  color: #666;
  line-height: 1.8;
}

.contact-complete__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 64px;
  margin-top: 0;
  background: #ec5e00;
  color: #fff !important;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.contact-complete__back:hover {
  opacity: 0.78;
}

@media screen and (max-width: 600px) {
  .contactForm {
    margin-top: 30px;
  }

  .contactForm__loading {
    min-height: 320px;
    margin-top: 30px;
    padding: 30px 20px;
  }

  .contactForm__label {
    padding: 12px;
  }

  .contactConsent {
    margin-top: 26px;
    padding: 22px 16px;
  }

  .contactConsent .contactConsent__open {
    width: 100%;
    min-width: 0;
  }

  .contactConsent__complete {
    grid-template-columns: auto 1fr;
    padding: 16px;
  }

  .contactConsent__complete button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 42px;
  }

  .contactForm .contactForm__send-btn {
    width: min(250px, 100%);
  }

  .contactPolicyModal {
    padding: 0;
  }

  .contactPolicyModal__dialog {
    width: 100%;
    max-height: 100dvh;
  }

  .contactPolicyModal__header {
    padding: 18px 18px 14px;
  }

  .contactPolicyModal__header h2 {
    font-size: 20px;
  }

  .contactPolicyModal__instruction {
    padding: 10px 18px;
  }

  .contactPolicyModal__scroll {
    height: min(40dvh, 320px);
    min-height: 220px;
    padding: 22px 18px;
  }

  .contactPolicyModal__footer {
    padding: 14px 18px 18px;
  }

  .contactPolicyModal__agree {
    width: 100%;
    min-width: 0;
  }

  .contact-complete {
    padding: 52px 16px 80px;
  }

  .contact-complete__mark {
    width: 60px;
    height: 60px;
  }

  .contact-complete__mark svg {
    width: 30px;
    height: 30px;
  }

  .contact-complete h1 {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 1.5;
  }

  .contact-complete__lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .contact-complete__lead-break {
    display: none;
  }

  .contact-complete__notice {
    margin: 28px 0 24px;
    padding: 20px;
  }

  .contact-complete__back {
    width: 100%;
    min-width: 0;
  }
}

@media screen and (max-height: 600px) {
  .contactPolicyModal {
    padding: 8px;
  }

  .contactPolicyModal__dialog {
    max-height: calc(100dvh - 16px);
  }

  .contactPolicyModal__header {
    padding: 12px 16px 10px;
  }

  .contactPolicyModal__header h2 {
    font-size: 18px;
  }

  .contactPolicyModal__close {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .contactPolicyModal__instruction {
    padding: 8px 16px;
  }

  .contactPolicyModal__scroll {
    height: auto;
    min-height: 100px;
    flex: 1 1 auto;
    padding: 16px;
  }

  .contactPolicyModal__footer {
    padding: 10px 16px 12px;
  }

  .contactPolicyModal__agree {
    min-height: 46px;
  }
}
