/**
 * CSS File: index.css
 * 2026-05-12 | Final checked
 */

.l-cmn-section {
  position: relative;
  padding: 30px 20px 120px;
  overflow: visible;
  margin-bottom: -10px;
  z-index: var(--z_0-base);
}

.l-cmn-container {
}

.p-cmn-wave {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.p-cmn-wave__img {
  width: 100%;
  height: 150%;
  object-fit: cover;
  position: absolute;
  transform: translateY(-100px);
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 1));
  z-index: -1;
}

.p-cmn-wave__fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
}

.l-cmn-container {
  margin-bottom: 30px;
}

.p-cmn-header {
  position: relative;
  text-align: center;
  margin-bottom: 64px;
}

.p-cmn-header__title-unit {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.p-cmn-header__bg {
  width: 224px;
  height: auto;
  object-fit: contain;
}

.p-cmn-header__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
  margin: 0;
  white-space: nowrap;
}

.p-cmn-header__lead {
  font-size: 1.25rem;
  color: #555555;
  line-height: 1.6;
  max-width: 100%;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .l-cmn-section {
    padding: 0px 20px 300px;
  }

  .l-cmn-container {
  }

  .p-cmn-wave {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .p-cmn-wave__img {
    top: 0;
    transform: translateY(-180px) scale(1.02);
    height: 180%;
  }

  .p-cmn-wave__fill {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
  }

  .l-cmn-container {
    margin-bottom: 30px;
  }

  .p-cmn-wave__img {
  }

  .p-cmn-wave__fill {
    height: 160px;
  }

  .p-cmn-header__bg {
    width: 280px;
  }

  .p-cmn-header__text {
    font-size: 1.5rem;
  }

  .p-cmn-header__lead {
    font-size: 1.25rem;
  }
}

@media screen and (min-width: 1024px) {
  .p-cmn-header__bg {
    width: 320px;
  }

  .p-cmn-wave__img {
    height: 200%;
  }

  .p-cmn-header__text {
    font-size: 1.875rem;
  }
}
