@charset "UTF-8";
/* ========================================
   CONTACT Section — 共用コンポーネント
   波線背景画像 (contact-bg.png) + mask 水玉 + 固定高さ + footer 重なり
======================================== */
.contact-section {
  position: relative;
  text-align: center;
  overflow: hidden;
  height: 625px;
  margin-bottom: -188px;
}

/* 波線背景画像 */
.contact-section__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 625px;
  background: url("image/contact-bg.png");
  background-position: center top;
  background-size: 110% 100%;
  background-repeat: no-repeat;
}

/* 水玉オーバーレイ — 波形にマスクして表示 */
.contact-section__wave::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("image/contact-mask.png");
  background-size: cover;
  pointer-events: none;
  -webkit-mask-image: url("image/contact-bg.png");
  -webkit-mask-size: 110% 100%;
  -webkit-mask-position: center top;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("image/contact-bg.png");
  mask-size: 110% 100%;
  mask-position: center top;
  mask-repeat: no-repeat;
  opacity: 0.5;
}

.contact-section__inner {
  position: relative;
  z-index: 1;
  padding: 120px 40px 107px;
}

.contact-section__header {
  margin-bottom: 17px;
}

.contact-section__title {
  color: #fff;
}

.contact-section__subtitle {
  color: #fff;
  line-height: 61px;
}

/* ボタン個別オーバーライド */
.contact-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-width: 275px;
}

/* ========================================
   SP (max-width: 960px)
======================================== */
@media (max-width: 960px) {
  .contact-section__wave {
    height: 454px;
    background: url("image/contact-bg-sp.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }
  .contact-section__wave::after {
    background-image: url("image/contact-mask-sp.png");
    background-size: initial;
    -webkit-mask-image: url("image/contact-bg-sp.png");
    -webkit-mask-size: 100% 100%;
    -webkit-mask-position: center top;
    mask-image: url("image/contact-bg-sp.png");
    mask-size: 100% 100%;
    mask-position: center top;
    opacity: 0.5;
  }
  .contact-section__inner {
    padding: 106px 20px 0;
  }
}