@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}

/* JavaScriptが無効でもローディング表示で本文を塞がない */
#loading {
  display: none;
}

.js #loading {
  display: flex;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.js #loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* JavaScriptが無効でも本文を隠さない */
.js_fadeIn {
  opacity: 1;
  transform: none;
}

.js .js_fadeIn:not(.active) {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
}

.g_hamb,
.top_merit_btn,
.top_faq_lst_dt {
  cursor: pointer;
}

.top_faq_lst_answer:not([hidden]) {
  display: block;
}

[role="button"]:focus-visible,
[role="tab"]:focus-visible,
a:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 3px;
}

.contact-line-only .top_contact_form_btn {
  box-sizing: border-box;
  flex-wrap: nowrap;
  gap: 40px;
  min-height: 210px;
  max-width: 840px;
  padding: 30px 54px 26px;
  border-radius: 60px;
}

.contact-line-only .top_contact_form_btn .contact-line-only__icon {
  display: block;
  flex: 0 0 auto;
  width: 84px;
  height: 52px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.contact-line-only__icon img {
  display: block;
  width: 298px;
  max-width: none;
  height: 52px;
}

.contact-line-only .top_contact_form_btn .contact-line-only__label {
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-align: center;
}

.contact-line-only .line_qr {
  width: 150px;
  height: 150px;
  flex: 0 0 auto;
}

@media (max-width: 896px) {
  .contact-line-only .top_contact_form_btn {
    gap: 12px;
    min-height: 150px;
    padding: 24px 16px 20px;
  }

  .contact-line-only .top_contact_form_btn .contact-line-only__label {
    font-size: 1.8rem;
  }

  .contact-line-only .line_qr {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 576px) {
  .contact-line-only .top_contact_form_btn {
    flex-direction: column;
    gap: 14px;
    min-height: 0;
    width: 100%;
    padding: 24px 16px 20px;
    border-radius: 24px;
  }

  .contact-line-only .top_contact_form_btn .contact-line-only__label {
    font-size: 2rem;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
