.newly-open-plan {
  position: relative;
  z-index: 1;
  background: linear-gradient(to right, #3556ac, #5f78c6, #3556ac);
  color: #f0f7fb;
  padding: 5rem 2rem 10rem;
}

.newly-open-plan::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 100vw;
  height: 8vw;
  background: linear-gradient(to right, #3556ac, #5f78c6, #3556ac);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  transform: translateY(-100%);
}

.newly-open-plan::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40vw;
  height: 40vw;
  background: url("../img/wave.png") no-repeat;
  background-size: contain;
  opacity: 0.8;
  z-index: -1;
}

.newly-open-plan__title-en {
  margin: 0 auto;
  text-align: center;
  font-family: "Poiret One", sans-serif;
  font-size: 135px;
  font-weight: 300;
  line-height: 1;
  opacity: 0.5;
  letter-spacing: 0.1em;
}

.newly-open-plan__title-jp {
  margin-top: 2.5rem;
  text-align: center;
  font-family: "M PLUS 1p", sans-serif;
  font-size: 29px;
  font-weight: 500;
  line-height: 1.2;
}

.newly-open-plan__desc {
  margin-top: 2.5rem;
  text-align: center;
  font-family: "M PLUS 1p", sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
  opacity: 0.9;
}

.newly-open-plan__desc strong {
  font-weight: 700;
}

.newly-open-plan__pre-open-section {
  padding: 3rem 0;
  color: #fff;
}

.newly-open-plan__pre-open-inner {
  position: relative;
  display: flex;
  margin: 0 auto;
  padding: 0 5rem;
}

.newly-open-plan__pre-open-image {
  align-self: center;
}

.newly-open-plan__pre-open-image img {
  max-width: 35rem;
  display: block;
}

.newly-open-plan__pre-open-bubble {
  position: absolute;
  left: 33.75rem;
  top: 11%;
  transform: translateY(-50%);
  width: 18.75rem;
  aspect-ratio: 1.5 / 1;
  background: url("../img/bubble_shape.png") center / contain no-repeat;
  z-index: 1;
}

.newly-open-plan__bubble-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0a2560;
  font-family: "M PLUS 1p", sans-serif;
  line-height: 1.2;
}

.newly-open-plan__bubble-headline {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #2e57bf;
  margin-right: -3.75rem;
  margin-left: -1.875rem;
}

.newly-open-plan__bubble-price {
  margin: 0.5rem 0 0;
  font-size: 1.8rem;
  font-weight: bold;
  color: #0a2560;
  margin-right: -3.75rem;
  margin-left: -1.875rem;
}

.newly-open-plan__bubble-price .tax {
  font-size: 0.8rem;
  font-weight: 400;
  margin-left: 0.25rem;
}

.newly-open-plan__pre-open-desc {
  font-family: "M PLUS 1p", sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
  opacity: 0.9;
  padding-top: 7rem;
}

.newly-open-plan__pre-open-desc strong {
  font-weight: 700;
}

br.sp-only {
  display: none;
}

@media (width > 430px) and (width <= 1000px) {
  .newly-open-plan__pre-open-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .newly-open-plan__pre-open-bubble {
    order: 0;
    position: absolute;
    left: 0;
    top: -80px;
    transform: none;
    margin: 0 auto;
    background: url("../img/bubble_shape_reverse.png") center / contain
      no-repeat;
  }

  .newly-open-plan__bubble-headline {
    margin: 0;
    color: #2e57bf;
    margin-right: -3.75rem;
    margin-left: -1.875rem;
  }

  .newly-open-plan__bubble-price {
    margin: 0.5rem 0 0;
    color: #0a2560;
    margin-right: -3.75rem;
    margin-left: -1.875rem;
  }

  .newly-open-plan__bubble-price .tax {
    font-size: 0.7rem;
    font-weight: 400;
    margin-left: 0.25rem;
  }

  .newly-open-plan__pre-open-image {
    order: 1;
  }

  .newly-open-plan__pre-open-image img {
    max-width: 100%;
    height: auto;
  }

  .newly-open-plan__pre-open-desc {
    order: 2;
    padding-top: 0;
    text-align: left;
    margin: 0 -1.5rem;
  }

  .newly-open-plan__title-en,
  .newly-open-plan__title-jp,
  .newly-open-plan__desc {
    text-align: left;
  }

  br.sp-only {
    display: none;
  }
}

@media (max-width: 430px) {
  .newly-open-plan {
    padding: 5% 1rem 5%;
    margin-top: -8.8rem;
  }

  .newly-open-plan::before {
    height: 10vw;
  }
  .newly-open-plan::after {
    width: 60vw;
    height: 60vw;
    bottom: 50%;
    opacity: 0.6;
  }

  br.sp-only {
    display: inline;
  }

  .newly-open-plan__title-en {
    font-size: 55px;
    text-align: left;
  }

  .newly-open-plan__title-jp {
    font-size: 20px;
    margin-top: 1.5rem;
    text-align: left;
  }

  .newly-open-plan__pre-open-section {
    padding: 0%;
  }
  .newly-open-plan__desc {
    font-size: 16px;
    margin-top: 0.5rem;
    text-align: left;
  }

  .newly-open-plan__pre-open-inner {
    position: relative;
    display: flex;
    flex-direction: column; /* ← 縦並びに切り替える */
    padding: 3rem 0 3rem;
  }

  .newly-open-plan__pre-open-image {
    order: 1;
    align-self: center;
  }

  .newly-open-plan__pre-open-image img {
    max-width: 85vw;
  }

  .newly-open-plan__pre-open-desc {
    order: 2;
    padding-top: 1.5rem;
    font-size: 16px;
  }

  .newly-open-plan__pre-open-bubble {
    left: 3vw;
    top: 7%;
    width: 180px;
    background: url("../img/bubble_shape_reverse.png") center / contain
      no-repeat;
  }

  .newly-open-plan__bubble-headline {
    font-size: 0.7rem;
    margin-right: -2.5rem;
    margin-left: -2.75rem;
  }

  .newly-open-plan__bubble-price {
    font-size: 1.2rem;
    margin-right: -2.5rem;
    margin-left: -2.75rem;
  }

  .newly-open-plan__bubble-price .tax {
    font-size: 0.6rem;
  }
}
