/* The full, still composition is also the no-script and reduced-motion presentation. */
.chapter-title .title-line {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
  overflow: hidden;
  padding-block: .055em;
  margin-block: -.055em;
}
.title-line > span { display: inline-block; }
.field-guide {
  background: radial-gradient(ellipse at 78% 24%, #262b49 0, transparent 60%), #181829;
}
.field-intro {
  margin: 0;
  grid-area: intro;
}
.field-heading {
  display: grid;
  align-content: center;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) clamp(160px, 23vw, 340px);
  grid-template-rows: auto auto;
  grid-template-areas: "title map" "intro map";
  column-gap: 1rem;
  margin-bottom: clamp(1.25rem, 2.6vw, 2.5rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--edge);
}
.field-heading h2 { grid-area: title; align-self: end; }
.field-intro { align-self: start; }
.region-map {
  position: relative;
  grid-area: map;
  width: 100%;
  justify-self: end;
  color: #d4def6;
}
.region-map img { width: 100%; height: auto; display: block; }
.city-point { position: absolute; }
.city-point.sapporo { left: 33.42%; top: 59.27%; }
.city-point.hakodate { left: 27.1%; top: 87.72%; color: #ffd1b0; }
.city-point.tomakomai { left: 35.8%; top: 68.51%; }
.city-point b {
  position: absolute;
  right: clamp(5px, .9vw, 15px);
  top: 0;
  transform: translateY(-65%);
  font-size: clamp(.63rem, .85vw, .81rem);
  white-space: nowrap;
  text-shadow: 0 1px 3px #17172a;
}
.city-point.tomakomai b { right: auto; left: clamp(6px, 1vw, 18px); transform: translateY(-45%); }
@media (max-width: 650px) {
  .field-heading {
    grid-template-columns: minmax(0, 1fr) clamp(100px, 33vw, 165px);
    grid-template-areas: "title map" "intro intro";
    gap: .8rem .2rem;
  }
  .field-heading h2 { margin: 0; align-self: center; font-size: clamp(1.5rem, 7.3vw, 2.5rem); }
}
.field-disclaimer {
  display: block;
  margin: .35rem 0 0;
  text-align: right;
  font-size: .72rem;
  color: #bec1d1;
}
.film-disclaimer { display: block; color: #c8ceda; font-size: .72rem; }
.field-detail { margin-top: .5rem; }
.drawing-plate { display: none; }
.aerial-plane { position: absolute; inset: 0; }
#inquiry {
  position: relative;
  border-top: 1px solid var(--edge);
  padding-top: clamp(.9rem, 2vw, 1.4rem);
}
#inquiry::before {
  content: '';
  position: absolute;
  inset: -1px 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #aaaeff, #f7b49a 74%, transparent);
  transform-origin: left;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  html[data-motion='on'] .region-map.arrived { animation: none; }
  html[data-motion='on'] .region-map.arrived .city-point::after {
    content: '';
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    left: -.75rem;
    top: -.75rem;
    box-sizing: border-box;
    border: 1px solid currentColor;
    border-radius: 50%;
    pointer-events: none;
    animation: locate-city 1.25s ease-out both;
  }
  html[data-motion='on'] .region-map.arrived .city-point.sapporo::after { animation-delay: .2s; }
  html[data-motion='on'] .region-map.arrived .city-point.hakodate::after { animation-delay: .4s; }
  html[data-motion='on'] :is(.chapter-title,.methods-views,.methods-table tr).arrived { animation: none; }
  html[data-motion='on'] .chapter-title.arrived .title-line > span {
    animation: chapter-line-in .72s cubic-bezier(.16,.7,.22,1) backwards;
  }
  html[data-motion='on'] .chapter-title.arrived .title-line ~ .title-line > span { animation-delay: 85ms; }
  html[data-motion='on'] :is(.build-demo,.field-card) .walk-frame {
    clip-path: inset(calc((1 - var(--shot,1)) * 4%) calc((1 - var(--shot,1)) * 2.5%) round 4px);
  }
  html[data-motion='on'] .drawing-plate {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-size: 100% 100%;
    clip-path: polygon(calc(var(--shot, 1) * 109% - 9%) 0, 100% 0, 100% 100%, calc(var(--shot, 1) * 109%) 100%);
  }
  html[data-motion='on'] .walk-frame:focus-within .drawing-plate { visibility: hidden; }
  html[data-motion='on'] .aerial-plane {
    transform: scale(calc(1 + (1 - var(--shot, 1)) * .095));
    transform-origin: 50% 57%;
  }
  html[data-motion='on'] .methods-table tr.arrived :is(.method-rating,.price-zero) {
    animation: rating-in .5s cubic-bezier(.2,.7,.26,1) backwards;
  }
  html[data-motion='on'] .methods-table tr.arrived td:nth-child(3) .method-rating { animation-delay: 65ms; }
  html[data-motion='on'] .methods-table tr.arrived td:nth-child(4) .method-rating { animation-delay: 130ms; }
  html[data-motion='on'] .methods-views.arrived > div {
    animation: print-in .7s cubic-bezier(.15,.7,.27,1) backwards;
  }
  html[data-motion='on'] .methods-views.arrived > div + div { animation-delay: 130ms; }
  html[data-motion='on'] #inquiry::before { transform: scaleX(var(--shot,1)); }
  html[data-motion='on'] :is(.field-play,.build-play,.pilot-link,.button) > span[aria-hidden] {
    display: inline-block;
    transition: transform .22s ease-out;
  }
  html[data-motion='on'] :is(.field-play,.build-play,.pilot-link,.button):focus-visible > span[aria-hidden] {
    transform: translate(2px,-2px);
  }
  @media (hover: hover) {
    html[data-motion='on'] :is(.field-play,.build-play,.pilot-link,.button):hover > span[aria-hidden] {
      transform: translate(2px,-2px);
    }
  }
}
@keyframes chapter-line-in {
  from { transform: translateY(80%); opacity: .32; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes rating-in {
  from { transform: translateY(6px) scale(.9); opacity: .55; }
  to { transform: none; opacity: 1; }
}
@keyframes print-in {
  from { clip-path: inset(3% 16% 3% 0); }
  to { clip-path: inset(0); }
}
@keyframes locate-city {
  from { transform: scale(.22); opacity: 0; }
  18% { opacity: .95; }
  to { transform: scale(1.2); opacity: 0; }
}
