@charset "utf-8";
/* ==========================================================================
   underlayer.css — 専用CSSがないページ（現状は 404）
   ========================================================================== */

.p-underlayer {
  --fv-band: 91px;
  position: relative;
  padding: 1vw 2vw;
  background-image: url(../img/front/bg-fv-nami.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
}

.p-underlayer__inner {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 5vw;
  width: 100%;
  min-height: 620px;
  padding: 2.5vw 4vw 6vw;
  background-color: var(--c-white);
}

@media screen and (max-width: 767px) {
  .p-underlayer {
    padding: 0;
  }

  .p-underlayer__inner {
    flex-direction: column;
    padding: 0;
  }
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.p-404 .p-404__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(70vh, 720px);
  padding: 80px 40px;
}

.p-404__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.p-404__code {
  font-family: var(--ff-en);
  font-size: clamp(72px, 8vw, 120px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--c-teal);
}

.p-404__title {
  margin-top: 16px;
  font-family: var(--ff-en);
  font-size: var(--fz-variable-xl);
  font-weight: 700;
  letter-spacing: .12em;
}

.p-404__text {
  margin-top: 20px;
  margin-bottom: 40px;
  font-size: var(--fz-variable-md);
  line-height: 1.8;
  color: var(--c-text-sub);
}

@media screen and (max-width: 767px) {
  .p-404 .p-404__inner {
    min-height: 60vh;
    padding: 64px 24px;
  }

  .p-404__text {
    margin-bottom: 32px;
  }
}
