/* ==========================================================
   LIFE WORKS 共通最終CTA
   ========================================================== */

.lw-pro-home__contact,
.lw-pro-home__contact * {
  box-sizing: border-box;
}

.lw-pro-home__contact {
  --lw-contact-ink: #302621;
  --lw-contact-body: #554b45;
  --lw-contact-red: #c9252d;
  padding: 72px 24px 82px;
  background: #fff;
  color: var(--lw-contact-ink);
  font-family: "Noto Sans JP", sans-serif;
}

.lw-pro-home__contact a:focus-visible {
  outline: 3px solid rgba(201, 37, 45, 0.6);
  outline-offset: 4px;
}

.lw-pro-home__contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  align-items: center;
  width: min(1280px, 100%);
  min-height: 500px;
  margin-inline: auto;
  padding: 48px 58px 42px 68px;
  overflow: hidden;
  border-radius: 22px;
  background: #fbf6ed;
  box-shadow: 0 8px 24px rgba(71, 53, 38, 0.08);
}

.lw-pro-home__contact-copy {
  max-width: 650px;
}

.lw-pro-home__contact-label {
  margin: 0;
  color: var(--lw-contact-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.2em;
}

.lw-pro-home__contact-label::after {
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 13px;
  background: var(--lw-contact-red);
  content: "";
}

.lw-pro-home__contact-copy h2 {
  margin: 0;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: clamp(29px, 2.7vw, 39px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.025em;
}

.lw-pro-home__contact-text {
  margin: 20px 0 0;
  color: var(--lw-contact-body);
  font-size: 16px;
  line-height: 1.8;
}

.lw-pro-home__contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 250px;
  min-height: 58px;
  margin-top: 28px;
  padding: 0 20px;
  border: 1px solid var(--lw-contact-red);
  border-radius: 999px;
  background: var(--lw-contact-red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lw-pro-home__contact-button:visited,
.lw-pro-home__contact-button:hover {
  color: #fff;
}

.lw-pro-home__contact-button:hover {
  border-color: #af1f27;
  background: #af1f27;
}

.lw-pro-home__contact-button span:last-child {
  color: #fff;
}

.lw-pro-home__contact-visual {
  align-self: end;
  width: 100%;
  max-width: 450px;
  margin: 0 0 -42px auto;
}

.lw-pro-home__contact-visual img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .lw-pro-home__contact {
    padding: 58px 14px 64px;
  }

  .lw-pro-home__contact-panel {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 38px 18px 0;
    border-radius: 18px;
  }

  .lw-pro-home__contact-copy h2 {
    margin-top: 0;
    font-size: 20.3px !important;
    line-height: 1.65;
  }

  .lw-pro-home__contact-copy h2 br {
    display: initial;
  }

  .lw-pro-home__contact-text {
    font-size: 15px;
    line-height: 1.8;
  }

  .lw-pro-home__contact-button {
    width: 100%;
    min-height: 56px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .lw-pro-home__contact-visual {
    width: min(100%, 330px);
    margin: 28px auto 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lw-pro-home__contact * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
