@font-face {
  font-family: "Niseko Display JP";
  src: url("/monthly-assets/fonts/niseko-display-jp.woff?v=2") format("woff");
  font-weight: 700 950;
  font-display: swap;
}

#niseko-hero-copy {
  width: min(850px, 100%);
  margin: 0 auto;
  padding: clamp(12px, 2vw, 26px) clamp(8px, 2.5vw, 34px) clamp(14px, 2vw, 24px);
  color: #202820 !important;
  font-family: "Niseko Display JP", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  background: radial-gradient(ellipse at center, #fff 24%, #f3fbff 67%, #d6eef9 100%);
  border-radius: 18px;
  container-type: inline-size;
}
.hero-banner {
  position: relative;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: .52em .3em;
  background: #07562e;
  color: #fff5a6;
  border-radius: 12px;
  font-size: clamp(.88rem, 4.8cqi, 1.65rem);
  font-weight: 900;
  line-height: 1.3;
}
.hero-banner::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  translate: -50% 0;
  border: 9px solid transparent;
  border-top-color: #07562e;
}
#niseko-hero-copy #hero-title {
  margin: .24em 0 .23em;
  transform: none;
  font-weight: 950;
  line-height: 1.06;
}
#niseko-hero-copy #hero-title span {
  display: block;
  margin: 0;
  padding: 0;
  background: transparent !important;
  color: #064d37 !important;
  text-shadow: 0 2px 0 #d5efeb !important;
  -webkit-text-stroke: .032em currentColor;
  font-size: clamp(1.24rem, 9.15cqi, 4.75rem);
  line-height: 1.11;
  letter-spacing: -.04em;
}
#niseko-hero-copy #hero-title span:first-child {
  color: #b94b05 !important;
  text-shadow: 0 2px 0 #ffe8a7 !important;
  font-size: clamp(3rem, 16.5cqi, 8.45rem);
  margin-bottom: .035em;
}
.hero-airport-fee {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3px .4em;
  margin: 0;
  font-size: clamp(.88rem, 3.9cqi, 1.36rem);
  font-weight: 850;
  line-height: 1.3;
}
.hero-airport-fee strong {
  padding-inline: .1em;
  color: #07562e;
  background: linear-gradient(transparent 58%, #ffe964 58%, #ffe964 94%, transparent 94%);
  font-size: 2.05em;
  line-height: 1;
  white-space: nowrap;
}
#niseko-hero-copy .hero-strap,
#niseko-hero-copy .hero-fine {
  background: transparent !important;
  color: #27352c !important;
  text-shadow: none !important;
  font-size: clamp(.85rem, 3.2cqi, 1.08rem);
}
#niseko-hero-copy .hero-strap { margin: .64em 0 .22em; }
#niseko-hero-copy .hero-fine { margin: .35em 0 0; }
#niseko-hero-copy #rental-minimum { margin: 0; line-height: 1.4; }
@media (max-width: 760px) {
  #niseko-hero-copy { width: min(480px, 96%); margin-bottom: 8px; }
}

.niseko-main .hero:has(#niseko-hero-copy) {
  background: #153c55;
}
.niseko-main .hero:has(#niseko-hero-copy) .hero-photos { inset: 0; }
.niseko-main .hero:has(#niseko-hero-copy) .hero-photos > div { width: 50%; }
.niseko-main .hero:has(#niseko-hero-copy) .hero-photos > div::after { background: #082e5490; }
.niseko-main .hero:has(#niseko-hero-copy) #niseko-hero-copy {
  width: min(100%, 720px);
  max-width: none;
  padding: clamp(15px, 2.7vw, 39px);
  background: linear-gradient(95deg, #093550c4, #082e49 21%, #082e49 79%, #093550c4);
  border-radius: 12px;
  color: white !important;
  box-shadow: none;
}
#niseko-hero-copy .hero-banner {
  background: transparent;
  color: #d4edfc;
  font-size: clamp(.85rem, 4cqi, 1.3rem);
  padding: 0;
}
#niseko-hero-copy .hero-banner::after { content: none; }
.niseko-main #niseko-hero-copy #hero-title { margin: .16em 0 .25em; }
.niseko-main #niseko-hero-copy #hero-title span {
  color: #fff !important;
  text-shadow: none !important;
  font-size: clamp(1.25rem, 8.7cqi, 3.5rem);
}
.niseko-main #niseko-hero-copy #hero-title span:first-child { font-size: clamp(2rem, 12cqi, 4.6rem); }
.niseko-main #niseko-hero-copy .hero-airport-fee {
  display: grid;
  justify-items: center;
  color: #fff;
  font-size: clamp(.83rem, 4.1cqi, 1.45rem);
}
.niseko-main #niseko-hero-copy .hero-airport-fee strong {
  padding: 0;
  color: #ffe260;
  background: none;
  font-size: clamp(4rem, 23cqi, 8rem);
  line-height: .96;
  letter-spacing: -.03em;
}
.hero-airport-fee strong small { font-size: .44em; }
.niseko-main #niseko-hero-copy #rental-minimum { margin-top: 10px; }
.niseko-main #niseko-hero-copy #rental-minimum span {
  color: #fff !important;
  background: transparent !important;
}
.niseko-main #niseko-hero-copy .hero-fine { color: #d4edfc !important; }
#niseko-hero-copy .hero-booking-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 7px 23px;
  border-radius: 999px;
  color: white;
  background: #14734b;
  font-size: 1rem;
  font-weight: 850;
  text-decoration: none;
}
#niseko-hero-copy .hero-booking-link:focus-visible { outline: 3px solid #ffe260; outline-offset: 3px; }

@media (max-width: 600px) {
  .niseko-main .hero:has(#niseko-hero-copy) #niseko-hero-copy {
    padding: 16px 10px 12px;
    background: linear-gradient(180deg, #082e49ed 8%, #082e49bd 62%, #082e49f5);
  }
  .niseko-main .hero:has(#niseko-hero-copy) .hero-photos > div::after { background: #09375036; }
  .niseko-main #niseko-hero-copy #hero-title { margin-block: 8px 12px; }
}

/* The offer sits directly on the blue hero, between the winter photos. */
.niseko-main .hero:has(#niseko-hero-copy) {
  background: #145ca6;
  min-height: 0;
  padding-top: 16px;
}
.niseko-main .hero:has(#niseko-hero-copy) .hero-photos > div::after {
  background: #0c58a050;
}
.niseko-main .hero:has(#niseko-hero-copy) #niseko-hero-copy {
  width: min(100%, 690px);
  padding: clamp(12px, 2vw, 23px) clamp(10px, 2vw, 24px);
  border-radius: 0;
  background: linear-gradient(90deg, transparent, #145ca6 13% 87%, transparent);
}
#niseko-hero-copy .hero-banner {
  color: white;
  font-weight: 950;
}
.niseko-main #niseko-hero-copy #hero-title {
  margin: 9px 0 12px;
}
.niseko-main #niseko-hero-copy #hero-title span {
  font-size: clamp(1.25rem, 9.1cqi, 3.7rem);
  transform: skewX(-6deg);
}
.niseko-main #niseko-hero-copy #hero-title span:first-child {
  display: inline;
  font-size: clamp(1rem, 5.4cqi, 2rem);
  letter-spacing: .05em;
}
.niseko-main #niseko-hero-copy .hero-airport-fee {
  gap: 4px;
}
.niseko-main #niseko-hero-copy .hero-airport-fee strong {
  color: #fff04b;
  font-size: clamp(4.8rem, 24cqi, 8.5rem);
  font-weight: 950;
  line-height: .86;
  text-shadow: 3px 5px #0a4077;
}
.niseko-main #niseko-hero-copy #rental-minimum {
  margin-top: 8px;
}
@media (max-width: 600px) {
  .niseko-main .hero:has(#niseko-hero-copy) { padding-inline: 0; padding-top: 0; }
  .niseko-main .hero:has(#niseko-hero-copy) #niseko-hero-copy {
    background: linear-gradient(165deg, #145ca6 48%, #145ca6e8 74%, #145ca669);
  }
  .niseko-main .hero:has(#niseko-hero-copy) .niseko-trust-badges { width: min(92%, 345px); }
}

.niseko-main #niseko-hero-copy #hero-title {
  font-family: "Niseko Display JP", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 950;
  transform: skewX(-8deg);
}
.niseko-main #niseko-hero-copy #hero-title span:first-child {
  display: block;
  margin: 0;
  font-size: clamp(1rem, 7.35cqi, 3rem);
  line-height: 1.22;
  letter-spacing: -.045em;
  transform: none;
  -webkit-text-stroke: .085em currentColor;
  paint-order: stroke fill;
  text-shadow: 0 .07em #0a4384 !important;
}
.niseko-main #niseko-hero-copy .hero-banner {
  transform: skewX(-7deg);
  -webkit-text-stroke: .018em currentColor;
}
.niseko-main #niseko-hero-copy .hero-airport-fee strong {
  display: block;
  font-family: "Arial Black", "Niseko Display JP", sans-serif;
  font-style: normal;
  transform: skewX(-9deg);
  -webkit-text-stroke: .07em #0a4077;
  paint-order: stroke fill;
  text-shadow: .027em .055em #0a4077;
}
.niseko-main #niseko-hero-copy .hero-airport-fee strong small {
  padding-inline: .11em;
  -webkit-text-stroke-width: .055em;
}

.niseko-main #niseko-hero-copy .hero-airport-fee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 3cqi, 22px);
  padding-block: 4px 8px;
}
#niseko-hero-copy .hero-airport-label {
  font-weight: 900;
  text-align: left;
  line-height: 1.35;
}
.niseko-main #niseko-hero-copy #rental-minimum span {
  color: #fff04b !important;
  font-weight: 900;
}
@media (max-width: 360px) {
  .niseko-main #niseko-hero-copy .hero-airport-fee strong { font-size: 23cqi; }
}

.niseko-main .hero:has(#niseko-hero-copy) .hero-photos > div::after {
  content: none;
}

.niseko-main .hero:has(#niseko-hero-copy) .hero-photos img {
  display: block;
  transform: none;
  object-position: center 58%;
}

@media (min-width: 761px) {
  .niseko-main .hero:has(#niseko-hero-copy) .hero-photos > div {
    width: max(28%, calc((100% - 690px) / 2));
    clip-path: none;
  }
}

@media (max-width: 760px) {
  .niseko-main .hero:has(#niseko-hero-copy) {
    display: flex;
    flex-direction: column;
  }
  .niseko-main .hero:has(#niseko-hero-copy) #niseko-hero-copy {
    order: -2;
  }
  .niseko-main .hero:has(#niseko-hero-copy) .hero-photos {
    position: relative;
    inset: auto;
    z-index: auto;
    order: -1;
    width: 100%;
    gap: 4px;
    margin: 6px auto;
  }
  .niseko-main .hero:has(#niseko-hero-copy) .hero-photos > div {
    width: calc((100% - 4px) / 2);
    aspect-ratio: 1 / 1;
    clip-path: none;
  }
}

.niseko-main .hero:has(#niseko-hero-copy) .hero-right img {
  object-position: right 58%;
}
