@charset "UTF-8";
/* ==========================================================================
   contact.css : お問い合わせページ専用スタイル
   ========================================================================== */

/* --------------------------------------------------------------------------
   ファーストビュー
   -------------------------------------------------------------------------- */
.p-contact-fv {
  position: relative;
  height: 64rem;
  padding: 8.8rem 11.3rem;
  overflow: hidden;
}

.p-contact-fv__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.p-contact-fv__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3.1rem;
  color: var(--color-white);
}

.p-contact-fv__en {
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.12;
  letter-spacing: 0.2em;
  color: var(--color-red-dark);
}

.p-contact-fv__title {
  font-size: 8.3rem;
  line-height: 1.19;
  letter-spacing: 0.07em;
}

.p-contact-fv__txt {
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1.8;
  letter-spacing: 0.07em;
}

/* --------------------------------------------------------------------------
   フォーム
   -------------------------------------------------------------------------- */
.p-contact-form {
  padding: 9rem 0;
}

/* --------------------------------------------------------------------------
   帯画像（お問い合わせ背景と同じ写真を横長に切り抜いて表示）
   -------------------------------------------------------------------------- */
.p-contact-band {
  height: 34.1rem;
}

.p-contact-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   [共通]レスポンシブ対応
   ========================================================================== */
/*960px以下*/
@media only screen and (max-width: 960px) {
  /* ファーストビュー：写真の上でも文字が読めるよう、左側を暗くする */
  .p-contact-fv {
    height: auto;
    padding: 12rem var(--side-padding) 14rem;
  }

  .p-contact-fv__bg {
    object-position: 70% center;
  }

  .p-contact-fv::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
  }

  .p-contact-fv__copy {
    z-index: 1;
    gap: 3rem;
  }

  .p-contact-fv__en {
    font-size: 2.6rem;
  }

  .p-contact-fv__title {
    font-size: 7.2rem;
  }

  .p-contact-fv__txt {
    font-size: 2.6rem;
  }

  /* フォーム */
  .p-contact-form {
    padding: 10rem var(--side-padding) 12rem;
  }

  /* 帯画像 */
  .p-contact-band {
    height: 24rem;
  }
}
