/* ==========================================================
0. WordPress Theme Shell
========================================================== */

/* Keep only the theme elements that are not used by these LP pages hidden. */
.comBusiness,
.comContact {
  display: none !important;
}

/* ==========================================================
1. Shared Utilities
========================================================== */

.arrow-icon {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.arrow-icon::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.arrow-icon--large {
  width: 52px;
}

/* ==========================================================
2. Contact / Inquiry Button
========================================================== */

.lp-contact {
  position: relative;
  display: grid;
  grid-template-columns: 237px minmax(0, 606px) 214px;
  align-items: center;
  justify-content: start;
  column-gap: 83px;
  width: min(1600px, calc(100% - 96px));
  min-height: 336px;
  margin: 160px auto;
  padding: 80px clamp(48px, 8.3333cqw, 160px);
  border-radius: 85px;
  background: linear-gradient(117.1638deg, #94c7d3 10.019%, #166e87 94.679%);
  color: #fff;
}

.lp-contact__title {
  margin: 0;
  color: #fff;
  font-size: 48px;
  font-weight: 500;
  line-height: normal;
}

.lp-contact__subtitle {
  margin: 4px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.05em;
}

.lp-contact__text {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 48px;
}

.lp-contact__link {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 214px;
  min-height: 48px;
  margin: 0;
  color: #fff !important;
  font-size: 21px;
  font-weight: 400;
  line-height: 48px;
  white-space: nowrap;
}

#shoho-log-main-lp .lp-contact__link,
#shoho-log-pic-lp .lp-contact__link,
#shoho-log-mov-lp .lp-contact__link,
#shoho-log-main-lp .lp-contact__link > span:first-child,
#shoho-log-pic-lp .lp-contact__link > span:first-child,
#shoho-log-mov-lp .lp-contact__link > span:first-child {
  color: #fff !important;
}

.lp-contact__link::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
}

.lp-contact:focus-within {
  outline: 3px solid #fff;
  outline-offset: -8px;
}

.lp-contact__arrow {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 35px;
  background: url("./assets/contact-arrow.svg") center / 48px 35px no-repeat;
}

/* ==========================================================
3. Responsive
========================================================== */

@media (max-width: 1100px) {
  .lp-contact {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px 48px;
  }

  .lp-contact__link {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .lp-contact {
    display: block;
    width: min(312px, calc(100% - 48px));
    min-height: 384px;
    height: 384px;
    margin: 0 auto 72px;
    padding: 0;
    border-radius: 33px;
  }

  .lp-contact__header {
    position: absolute;
    top: 43px;
    left: 24px;
  }

  .lp-contact__title {
    margin: 0;
    color: #fff;
    font-size: 38px;
    font-weight: 500;
    line-height: normal;
  }

  .lp-contact__subtitle {
    margin: 3px 0 0 2px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.05em;
  }

  .lp-contact__text {
    position: absolute;
    top: 145px;
    left: 24px;
    width: 216px;
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 32px;
  }

  .lp-contact__link {
    /* Keep the link's pseudo-element relative to the card for a full-card hit area. */
    position: static;
    width: 264px;
    min-height: 36px;
    margin: 296px 0 0 24px;
    color: #fff !important;
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
  }

  .lp-contact__arrow {
    flex-basis: 48px;
    width: 48px;
    height: 35px;
    background-size: 48px 35px;
  }
}
