.public-head {
  margin-bottom: 40px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 700px) {

  .public-head {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    justify-content: space-between;
  }
}

@media (min-width: 1440px) {

  .public-head {
    padding-left: 0px;
    padding-right: 0px;
  }
}

.public-heading {
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity));
}

.public-heading .public-title {
  margin-bottom: 0.25rem;
  font-size: 1.375rem;
  font-weight: 500;
}

@media (min-width: 700px) {

  .public-heading .public-title {
    font-size: 1.5625rem;
    line-height: 1.5;
    font-weight: 500;
  }
}

.public-heading .public-descipt {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.kv-img {
  background-image: var(--mb-kv);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  aspect-ratio: 375 / 217;
  width: 100%;
}

@media (min-width: 700px) {

.kv-img {
    aspect-ratio: 557 / 105;
    background-image: var(--dt-kv)
}
  }

.kv-img.size-special {
    aspect-ratio: 375 / 481;
  }

@media (min-width: 700px) {

.kv-img.size-special {
      aspect-ratio: 96 / 25
  }
    }

/* for page-public-plan-header */

.head-plan-swiper-container {
  text-align: center;
}

.head-plan-swiper-container .swiper-wrapper {
  display: inline-flex;
  width: auto;
}

.head-plan-swiper-container .swiper-slide {
    width: auto;
  }

.head-plan-swiper-container .head-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

@media (min-width: 1024px) {

  .head-plan-swiper-container .head-plan {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

.head-plan-swiper-container .head-plan-img {
  width: 92px;
}

@media (min-width: 1024px) {

  .head-plan-swiper-container .head-plan-img {
    width: 112px;
  }
}

.head-plan-swiper-container .head-plan-img img {
  width: 100%;
  max-width: 100%;
}

.head-plan-swiper-container .head-plan-title {
  font-size: 0.8125rem;
  line-height: 1.5;
}

@media (min-width: 1024px) {

  .head-plan-swiper-container .head-plan-title {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
}

/* 按鈕外層漸層 */

.head-plan-swiper-container .swiper-next-wrap {
  position: absolute;
  top: 0px;
  right: 0px;
  height: 100%;
  width: 80px;
  background-image: linear-gradient(to left, var(--tw-gradient-stops));
  --tw-gradient-from: #fff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
    z-index: 10;
}

.head-plan-swiper-container .swiper-prev-wrap {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 80px;
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
  --tw-gradient-from: #fff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
    z-index: 10;
}

/* disabled 時隱藏 */

.head-plan-swiper-container .swiper-next-wrap:has(.swiper-button-disabled),
  .head-plan-swiper-container .swiper-prev-wrap:has(.swiper-button-disabled) {
  display: none;
}

/* 按鈕本身 */

.head-plan-swiper-container .swiper-tab-next {
    background-image: url('../icons/right-arrow-orange.svg');
    background-position: center;
    background-repeat: no-repeat;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    margin-top: 0;
    height: 28px;
    width: 28px;
    border-radius: 9999px;
    --tw-bg-opacity: 1;
    background-color: rgb(245 247 248 / var(--tw-bg-opacity));
  }

.head-plan-swiper-container .swiper-tab-next::after {
  content: var(--tw-content);
  display: none;
}

.head-plan-swiper-container .swiper-tab-prev {
    background-image: url('../icons/left-arrow-orange.svg');
    background-position: center;
    background-repeat: no-repeat;
    left: 1rem;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    margin-top: 0;
    height: 28px;
    width: 28px;
    border-radius: 9999px;
    --tw-bg-opacity: 1;
    background-color: rgb(245 247 248 / var(--tw-bg-opacity));
  }

.head-plan-swiper-container .swiper-tab-prev::after {
  content: var(--tw-content);
  display: none;
}

/*# sourceMappingURL=public-head.css.map */
