.contact {
  position: relative;
  isolation: isolate;
  margin-bottom: 0;
  overflow: hidden;
  color: #fff;
}
.contact__background, .contact__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contact__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact__overlay {
  background: rgba(51, 51, 51, 0.59);
}
.contact__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 4.5rem 1.25rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.contact__header {
  width: min(100%, 39.625rem);
}
.contact__title-en {
  margin: 0;
  font-size: clamp(3rem, 14vw, 4.5rem);
  font-weight: 700;
}
.contact__title-ja {
  margin: 1rem 0 0;
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
}
.contact__lead {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.contact__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 0.5rem;
  background-color: #fff;
  color: #333;
  text-decoration: none;
}
.contact-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-width: 0;
}
.contact-card__title {
  width: 100%;
  margin: 0;
  font-size: clamp(2rem, 7.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: #333;
}
.contact-card--estimate .contact-card__title {
  color: #004DA7;
}
.contact-card--line .contact-card__title {
  color: #06c755;
}
.contact-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  color: #333;
}
.contact-card__meta img {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  object-fit: contain;
}
.contact-card__meta-text {
  white-space: normal;
}
.contact-card__arrow {
  width: 3.375rem;
  height: 3.375rem;
  flex: 0 0 auto;
  align-self: flex-end;
  border-radius: 50%;
  border: 1px solid #333;
  background-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.contact-card__arrow img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
  transform: rotate(90deg);
  transition: filter 0.3s ease;
}
.contact-card:hover .contact-card__arrow {
  background-color: #333;
  border-color: #333;
}
.contact-card:hover .contact-card__arrow img {
  filter: brightness(0) invert(1);
}

@media (min-width: 960px) {
  .contact__inner {
    padding: 6rem 2.5rem 4rem;
    gap: 4.5rem;
  }
  .contact__title-en {
    font-size: clamp(3.5rem, 8.5vw, 6rem);
  }
  .contact__title-ja {
    margin-top: 2rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
  }
  .contact__lead {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
  }
  .contact__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .contact-card {
    height: 11.375rem;
    padding: 2rem;
  }
  .contact-card__content {
    gap: 0.8125rem;
  }
  .contact-card--estimate .contact-card__content {
    width: 17.5rem;
    flex: 0 0 auto;
  }
  .contact-card--line .contact-card__content {
    flex: 1 0 0;
  }
  .contact-card__title {
    font-size: 3rem;
  }
  .contact-card__meta {
    font-size: 1.125rem;
    line-height: 1;
  }
  .contact-card__meta img {
    width: 2rem;
    height: 2rem;
  }
  .contact-card__meta-text {
    white-space: nowrap;
  }
  .contact-card__arrow {
    width: 4.375rem;
    height: 4.375rem;
  }
  .contact-card__arrow img {
    width: 1.25rem;
    height: 1.25rem;
  }
}
@media (max-width: 599px) {
  .contact__inner {
    padding: 4rem 1.25rem 3rem;
    gap: 1.5rem;
  }
  .contact__lead {
    font-size: 1.2rem;
  }
  .contact-card__meta {
    font-size: 1.2rem;
  }
}
.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.section-heading .section-heading__en {
  margin: 0;
  padding: 0;
  border: none;
  font-size: clamp(3.25rem, 12vw, 5.25rem);
  font-weight: 700;
  background: linear-gradient(180deg, #29488C 0%, #5BB2F7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-heading .section-heading__en::before {
  content: none;
  border: none;
}
.section-heading .section-heading__ja {
  margin: 0;
  color: #333;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
}
.section-heading--center {
  align-items: center;
  text-align: center;
}

@media (min-width: 960px) {
  .section-heading .section-heading__en {
    font-size: 5.25rem;
  }
}
.single-works .c-taxList__link {
  background-color: var(--color_main, #004ca6);
  color: #fff;
}

/*# sourceMappingURL=common.css.map */
