.main.contact {
  position: relative;
  min-height: 100vh;
  background-color: var(--color-bg);
  z-index: 1;
}

.contact__background-layer {
  background: url(../images/pc/bg/bg5.webp);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  bottom: 0;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: var(--z-background);
}


.contact__inner {
  position: relative;
  max-width: 198rem;
  width: 100%;
  margin: auto;
  z-index: var(--z-content-base);
}

.contact__container {
  position: relative;
}

.contact__content-wrapper {
  font-size: 0.694444vw !important;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 14.9em;
  align-items: flex-start;
  z-index: var(--z-spotlight);
}

.contact__left {
  margin-top: 0;
  position: sticky;
  top: var(--header-height-pc);
}

.contact__heading {
  font-family: var(--font-main);
  font-size: 8em;
  font-weight: 400;
  line-height: 1;
  color: var(--color-dark);
  padding: 6rem 0;
  white-space: nowrap;
}

.contact__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 20em;
  flex: 1;
  padding-right: 17.9em;
  z-index: var(--z-sticky-content);
  margin-bottom: 12.2em;
}


/* Contact Form 7 のスタイル */
/* フォーム全体 */
.contact__content .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 4em;
}

/* ローディングスピナー */
.contact__content .wpcf7-spinner {
  display: none;
}

/* Mobile */
@media screen and (max-width: 750px) {
  .contact__background-layer {
    background: url(../images/sp/bg/bg5.webp);
    bottom: 0;
    background-position: top;
    background-repeat: no-repeat;
    z-index: -1;
  }

  .contact__left {
    position: relative;
    top: 0;
  }

  .contact__heading {
    font-size: 3.6rem;
    line-height: 1.38;
    padding: 2rem 0;
  }

  .contact__content-wrapper {
    font-size: 10px !important;
    padding: 0;
    flex-direction: column;
    gap: 0;
  }

  .contact__content {
    padding: 1rem 3rem 0;
    margin-top: 0;
    margin-bottom: 15rem;
  }

  .contact__content .wpcf7-form {
    gap: 4rem;
  }
}



/* 電話セクション */
.contact__phone {
  background: var(--color-dark);
  margin-top: 6.4em;
  display: flex;
  flex-direction: column;
  gap: 3.7em;
  padding: 4.85em 1em 5.25em 6em;
  width: 100%;
}

.contact__phone-intro {
  font-family: var(--font-strong);
  font-size: 1.5em;
  line-height: 1.85;
  color: var(--color-light);
  font-style: normal;
  font-weight: 400;
  line-height: 1.33;
  letter-spacing: 0.15em;
}
.contact__phone-time{
  font-family: var(--font-num);
}

.contact__phone-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6em;
}

.contact__phone-item {
  margin: 0;
}

.contact__phone-link {
  display: inline-flex;
  align-items: center;
  gap: 1.5em;
  text-decoration: none;
  color: var(--color-light);
  transition: opacity 0.3s ease;
}

.contact__phone-link:hover {
  opacity: 0.7;
}

.contact__phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.1em;
  height: 3.1em;
  aspect-ratio: 1/1;
}

.contact__phone-icon svg {
  width: 100%;
  height: 100%;
  color: var(--color-light);
}

.contact__phone-number {
  font-family: var(--font-num);
  font-size: 3.2em;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.16em;
}

.br-sp{
  display: none;
}
/* Mobile */
@media screen and (max-width: 750px) {
  .br-sp{
    display: block;
  }

  .contact__phone {
    margin-top: 3.5rem;
    gap: 2.6rem;
    padding: 3rem 0 3.4rem;
  }

  .contact__phone-item {
    margin-left: 5.1rem;
  }

  .contact__phone-number {
    font-size: 3.2rem;
    letter-spacing: 0.16rem;
  }

  .contact__phone-intro {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.15rem;
  }

  .contact__phone-list {
    gap: 1.4rem;
  }

  .contact__phone-link {
    gap: 0.7rem;
  }

  .contact__phone-icon {
    width: 2.7rem;
    height: 2.7rem;
  }

  .contact__phone-number {
    font-size: 2.4rem;
    line-height: 0.58;
    letter-spacing: 0.12rem;
  }
}


