/* The Kutchan homepage's photo banner, palette and booking controls on guide pages. */
html.niseko-subpage {
  --niseko-blue: #006faa;
  --niseko-hero: #1768b9;
  --niseko-navy: #075481;
  --niseko-ice: #eff8fb;
  --niseko-yellow: #fff02c;
  --niseko-line: #087e19;
  scroll-padding-top: 136px;
}
.niseko-shell-wide { width: min(1230px, calc(100% - 8vw)); margin-inline: auto; }
.niseko-site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  padding: 0;
  background: white;
  color: #172934;
  box-shadow: 0 2px 4px #142b4320;
  font-family: "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
}
.niseko-site-header a, .niseko-site-header summary, .niseko-site-header select { text-decoration: none; }
.niseko-utility { background: var(--niseko-blue); color: white; font-size: .78rem; }
.niseko-utility > div { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 10px; }
.niseko-utility a { display: inline-flex; align-items: center; min-height: 44px; }
.niseko-navigation { display: flex; align-items: center; justify-content: space-between; gap: clamp(7px, 1.5vw, 19px); min-height: 77px; }
.niseko-shell-brand { flex: none; display: grid; line-height: 1.16; }
.niseko-shell-brand > span { color: #172934; font-size: .65rem; letter-spacing: .07em; }
.niseko-shell-brand strong {
  color: #142d3d;
  background: linear-gradient(165deg, #101820 44%, #087ea5 45% 66%, #101820 67%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(1.5rem, 2.55vw, 2.25rem);
  font-weight: 900;
  white-space: nowrap;
}
.niseko-desktop-nav { display: flex; flex-wrap: wrap; gap: 0 clamp(7px, 1.1vw, 16px); justify-content: center; font-size: clamp(.73rem, 1.05vw, .94rem); font-weight: 750; }
.niseko-desktop-nav a { display: inline-flex; min-height: 40px; align-items: center; white-space: nowrap; }
.niseko-site-header nav a[aria-current="page"], .niseko-site-header nav a:hover { color: var(--niseko-navy); text-decoration: underline; text-underline-offset: .25em; }
.niseko-language { display: inline-flex; flex: none; align-items: center; gap: 4px; color: var(--niseko-navy); }
.niseko-language select { width: min(11.2vw, 135px); min-height: 44px; padding: 4px; border: 1px solid #bed7e9; border-radius: 5px; background: #fff; color: #172934; font: inherit; font-size: .86rem; }
.niseko-line {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid transparent;
  background: var(--niseko-line);
  color: white;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
}
.niseko-line b { display: grid; place-items: center; width: 27px; aspect-ratio: 1; border-radius: 50%; background: white; color: #087418; font-size: .53rem; }
.niseko-line:hover { color: #fff; background: #066016; }
.niseko-header-line { flex: none; white-space: nowrap; }
.niseko-mobile-menu { display: none; }
.niseko-subpage :is(.niseko-site-header,.niseko-page-banner,.niseko-subfooter) :focus-visible { outline: 3px solid #f0a13c; outline-offset: 3px; }

.niseko-subpage .niseko-page-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: none;
  min-height: clamp(280px, 31vw, 435px);
  margin: 0;
  padding: clamp(28px, 4vw, 62px) 12px clamp(60px, 7vw, 110px);
  overflow: hidden;
  color: white;
  background: var(--niseko-hero);
  text-align: center;
}
.niseko-subpage .niseko-page-banner::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 23%;
  background: var(--niseko-hero);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
}
.niseko-banner-photos { position: absolute; z-index: -3; inset: 0; display: flex; justify-content: space-between; }
.niseko-banner-photos img { display: block; width: 38%; height: 100%; object-fit: cover; object-position: center 52%; filter: brightness(.72) saturate(.86); }
.niseko-banner-photos img:last-child { object-position: 44% 42%; transform: translateX(20px) scale(1.04); }
.niseko-banner-wave { position: absolute; z-index: -1; inset: auto 0 0; width: 100%; height: clamp(45px, 10vw, 138px); pointer-events: none; }
.niseko-subpage .niseko-page-banner .niseko-banner-inner {
  display: block;
  width: min(100%, 780px);
  max-width: 100%;
  margin: 0;
  padding: 0 12px;
  border: 0;
  box-shadow: none;
  color: white;
  background: none;
  text-align: center;
}
.niseko-page-banner .hero-content .clarity-hero-copy { width: auto; max-width: none; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.niseko-subpage .niseko-page-banner h1 {
  margin: 0 auto 12px;
  color: white;
  font-size: clamp(1.9rem, 4.35vw, 4rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.025em;
  text-wrap: balance;
  text-shadow: 0 3px 2px #0d4e91;
}
.niseko-subpage .niseko-page-banner h1 :is(span,strong) { color: inherit; }
.niseko-subpage .niseko-page-banner .hero-fare { color: white; }
.niseko-subpage .niseko-page-banner .hero-fare > span { color: white; text-shadow: 2px 3px #105095; }
.niseko-subpage .niseko-page-banner .hero-fare strong { color: var(--niseko-yellow); text-shadow: 3px 4px 0 #073d7c; }
.niseko-subpage .niseko-page-banner :is(.eyebrow,.hero-kicker,.niseko-banner-kicker,.hero-lead) { margin: 0 0 7px; color: var(--niseko-yellow); font-size: clamp(.8rem, 1.45vw, 1.1rem); font-weight: 850; }
.niseko-subpage .niseko-page-banner :is(.lede,.hero-desc,.hero-fine,.niseko-banner-note) { max-width: 620px; margin: 0 auto 12px; color: white; font-size: clamp(.84rem, 1.4vw, 1.03rem); font-weight: 600; }
.niseko-page-banner .breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 10px; color: white; font-size: .83rem; }
.niseko-subpage .niseko-page-banner :is(.inline-actions,.hero-actions,.niseko-banner-actions) { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 12px auto 0; }
.niseko-subpage .niseko-page-banner .text-link { display: inline-flex; align-items: center; color: white; min-height: 44px; text-decoration: underline; text-underline-offset: .2em; }
.niseko-page-banner .niseko-line { border-radius: 7px; }
.niseko-secondary { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 13px; border-radius: 7px; background: white; color: var(--niseko-navy); font-weight: 800; text-decoration: none; }
.niseko-secondary:hover { background: #e1f3ff; }
.niseko-subpage .niseko-page-banner .hero-chips { margin: 6px 0; }
.niseko-airport .hero-booking { margin-top: 0; padding-top: 12px; }
.niseko-airport .hero-badges a { border-color: #1874bc; background: #f0f9ff; color: var(--niseko-navy); }
.niseko-airport .hero-badges strong { color: var(--niseko-navy); }
.niseko-airport .hero-badges b { background: #075481; }
.niseko-subpage body.niseko-blue { --site-blue: #006faa; --site-dark-blue: #075481; --site-ice: #eff8fb; --site-book: #087e19; }
.niseko-subpage .niseko-subfooter {
  max-width: none;
  background: #056495;
  color: white;
}
.niseko-subpage .niseko-subfooter :is(a,p,h2,summary,small,.eyebrow) { color: white; }
.niseko-subpage .niseko-subfooter .footer-detail p { color: #17384d; }
.niseko-footer-return { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; padding-block: 9px; border-top: 1px solid #b5dceb; }
.niseko-footer-return a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 750; text-decoration: none; }
.niseko-arrival .niseko-page-banner { min-height: 215px; }
.niseko-arrival body { max-width: none; padding: 0; }
.niseko-arrival .niseko-subfooter { margin: 0; border: 0; border-radius: 0; padding: 0; }
.niseko-arrival .niseko-subfooter .niseko-footer-return { border: 0; }
@media (max-width: 980px) {
  html.niseko-subpage { scroll-padding-top: 79px; }
  .niseko-utility, .niseko-desktop-nav, .niseko-header-line { display: none; }
  .niseko-navigation { min-height: 64px; }
  .niseko-language { margin-inline-start: auto; }
  .niseko-language select { width: clamp(64px, 19vw, 124px); }
  .niseko-mobile-menu { display: block; }
  .niseko-mobile-menu summary { display: grid; place-content: center; min-width: 43px; min-height: 44px; list-style: none; cursor: pointer; text-align: center; font: 800 .64rem/1.1 system-ui, sans-serif; }
  .niseko-mobile-menu summary::-webkit-details-marker { display: none; }
  .niseko-mobile-menu summary span { font-size: 1.22rem; }
  .niseko-mobile-menu nav { position: absolute; top: 100%; inset-inline: 0; display: grid; gap: 0; max-height: 72vh; padding: 0 15px 8px; overflow: auto; background: white; box-shadow: 0 3px 8px #0b335d35; }
  .niseko-mobile-menu nav a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid #dcebf4; font-weight: 750; }
}
@media (max-width: 600px) {
  .niseko-site-header .niseko-shell-wide { width: calc(100% - 20px); }
  .niseko-shell-brand > span { font-size: .54rem; }
  .niseko-shell-brand strong { font-size: clamp(1.3rem, 5.5vw, 1.58rem); }
  .niseko-language > span { display: none; }
  .niseko-language select { font-size: .78rem; }
  .niseko-subpage .niseko-page-banner { min-height: 246px; padding: 22px 5px 58px; }
  .niseko-subpage .niseko-page-banner::before { inset-inline: 13%; }
  .niseko-banner-photos img { width: 31%; }
  .niseko-banner-photos img:last-child { transform: none; }
  .niseko-subpage .niseko-page-banner h1 { font-size: clamp(1.56rem, 6vw, 2.15rem); }
  .niseko-subpage .niseko-page-banner .niseko-banner-inner { padding-inline: 7px; }
  .niseko-airport .niseko-page-banner .hero-fare strong { font-size: 4.8rem; }
}
@media print {
  .niseko-site-header, .niseko-subfooter, .niseko-banner-photos, .niseko-banner-wave { display: none !important; }
  .niseko-arrival .niseko-page-banner { display: block; min-height: 0; padding: 0; background: white; }
  .niseko-arrival .niseko-page-banner::before { content: none; }
  .niseko-arrival .niseko-page-banner :is(h1,p) { color: black; text-shadow: none; }
}

.quote-example-table table { min-width: 0; }
.quote-example-table caption { padding: .65rem; font-weight: 700; text-align: left; }
.quote-example-table :is(th,td) { padding: .55rem .4rem; }
.quote-example-table td { white-space: nowrap; }
.quote-example-table tbody tr:last-child { background: var(--niseko-ice); font-weight: 800; }
