*,
:before,
::before,
:after,
::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #15171c;
  color: #edeae3;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

p {
  margin: 0;
}

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

button {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.Article {
  margin: 0 auto;
  max-width: 700px;
  padding: 24px 18px 48px;
}
.Article h1 {
  color: #edeae3;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.Article h2 {
  color: #edeae3;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.Article p {
  color: #8e939c;
  font-size: 12.5px;
  line-height: 1.8;
  margin-bottom: 6px;
}
.Article ul {
  display: grid;
  gap: 6px;
}
.Article li {
  color: #c6c3bb;
  font-size: 13.5px;
  line-height: 1.85;
  padding-left: 16px;
  position: relative;
}
.Article li::before {
  background-color: #5b6069;
  border-radius: 50%;
  content: "";
  height: 2px;
  left: 2px;
  position: absolute;
  top: 12px;
  width: 2px;
}
.Article li ul {
  margin-top: 6px;
}
.Article ul + ul {
  margin-top: 10px;
}
.Article b {
  color: #edeae3;
  font-weight: 700;
}
.Article-Step {
  margin-bottom: 24px;
}

.Header {
  align-items: center;
  background: #15171c;
  display: flex;
  height: 56px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.Logo {
  align-items: center;
  display: flex;
  padding: 0 24px;
}
.Logo a {
  color: #edeae3;
  font-family: "Quicksand", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
}

.ApplicationTitle {
  color: #8e939c;
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 21px;
  user-select: none;
}

.Weather {
  margin: 0 auto;
  max-width: 1180px;
  padding: calc(56px + clamp(6px, 1.5vw, 18px)) clamp(14px, 3vw, 34px) 48px;
}

.StepNav {
  display: flex;
  gap: clamp(2px, 0.8vw, 8px);
  margin-bottom: clamp(18px, 3vw, 30px);
  overflow-x: auto;
  scrollbar-width: none;
}
.StepNav::-webkit-scrollbar {
  display: none;
}
.StepNav-Item {
  align-items: baseline;
  color: #8e939c;
  display: flex;
  gap: 8px;
  padding: 10px 12px 13px;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.StepNav-Item::after {
  background: linear-gradient(90deg, #8ccfe2, #3f93b8);
  border-radius: 1px;
  bottom: 5px;
  content: "";
  height: 2px;
  left: 12px;
  position: absolute;
  right: 12px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.StepNav-Item:hover {
  color: #c6c3bb;
}
.StepNav-Item:focus-visible {
  outline: 2px solid #8ccfe2;
  outline-offset: 2px;
}
.StepNav-Item[data-active] {
  color: #edeae3;
}
.StepNav-Item[data-active]::after {
  transform: scaleX(1);
}
.StepNav-Item[data-active] .StepNav-Number {
  color: #8ccfe2;
}
.StepNav-Number {
  color: #5b6069;
  font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.StepNav-Label {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.Panel {
  align-items: start;
  display: none;
  gap: clamp(20px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr) clamp(252px, 30%, 340px);
}
.Panel[data-active] {
  display: grid;
}

@media (max-width: 860px) {
  .Panel[data-active] {
    display: block;
  }
  .Lesson {
    margin-top: 18px;
  }
}
.Stage {
  background: #1e222a;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.Stage-Scene {
  aspect-ratio: 1.6;
  display: block;
  height: auto;
  width: 100%;
}
.Stage[data-chart] {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(14px, 2vw, 24px);
}

.Lesson-Kicker {
  color: #8ccfe2;
  font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  margin: 2px 0 10px;
}
.Lesson-Heading {
  color: #edeae3;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(19px, 2.3vw, 23px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin-bottom: 16px;
}
.Lesson-PointList {
  display: grid;
  gap: 2px;
}
.Lesson-Point {
  color: #c6c3bb;
  font-size: 13.5px;
  line-height: 1.85;
  padding: 8px 8px 8px 26px;
  position: relative;
}
.Lesson-Point::before {
  background-color: #5b6069;
  content: "";
  height: 2px;
  left: 8px;
  position: absolute;
  top: 17px;
  width: 10px;
}
.Lesson-CaptionList {
  display: grid;
  gap: 2px;
}
.Lesson-Caption {
  border-radius: 2px;
  color: #8e939c;
  cursor: pointer;
  font-size: 13.5px;
  line-height: 1.85;
  padding: 9px 10px 12px 34px;
  position: relative;
  transition: color 0.25s, background 0.25s;
}
.Lesson-Caption::after {
  background: linear-gradient(90deg, #8ccfe2, #3f93b8);
  bottom: 6px;
  content: "";
  height: 1.5px;
  left: 34px;
  opacity: 0;
  position: absolute;
  right: 12px;
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  transition: opacity 0.25s;
}
.Lesson-Caption[data-done] {
  color: #c6c3bb;
}
.Lesson-Caption[data-active] {
  background: rgba(255, 255, 255, 0.035);
  color: #edeae3;
}
.Lesson-Caption[data-active]::after {
  opacity: 0.9;
}
.Lesson-Caption[data-active] .Lesson-CaptionIndex {
  color: #8ccfe2;
}
.Lesson-CaptionIndex {
  color: #5b6069;
  font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  font-size: 10.5px;
  left: 11px;
  letter-spacing: 0.05em;
  position: absolute;
  top: 10px;
  transition: color 0.25s;
}
.Lesson-Control {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.Lesson-Hint {
  color: #5b6069;
  font-size: 11.5px;
  line-height: 1.7;
  margin-top: 14px;
}

.Keyword {
  color: #8ccfe2;
  font-weight: 700;
}
.Keyword[data-warm] {
  color: #e8945c;
}

.ActionButton {
  align-items: center;
  background: #262b35;
  border-radius: 2px;
  color: #edeae3;
  display: inline-flex;
  font-size: 12.5px;
  gap: 8px;
  letter-spacing: 0.04em;
  padding: 8px 15px;
  transition: background 0.2s;
}
.ActionButton:hover {
  background: #2d3341;
}
.ActionButton:focus-visible {
  outline: 2px solid #8ccfe2;
  outline-offset: 2px;
}
.ActionButton-Icon {
  display: none;
  fill: #8ccfe2;
  height: 11px;
  width: 11px;
}
.ActionButton[data-state=play] .ActionButton-Icon[data-icon=play] {
  display: block;
}
.ActionButton[data-state=pause] .ActionButton-Icon[data-icon=pause] {
  display: block;
}
.ActionButton[data-state=replay] .ActionButton-Icon[data-icon=replay] {
  display: block;
}

.Reading {
  background: #191c22;
  border-radius: 12px;
  display: grid;
  gap: 12px 18px;
  grid-template-columns: repeat(4, 1fr);
  padding: 14px 18px;
}
.Reading-Item {
  min-width: 0;
  transition: opacity 0.25s;
}
.Reading-Item[data-zero] {
  opacity: 0.4;
}
.Reading-Label {
  color: #8e939c;
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.05em;
}
.Reading-Value {
  align-items: baseline;
  color: #edeae3;
  display: flex;
  gap: 3px;
}
.Reading-Value b {
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(17px, 2.1vw, 21px);
  font-weight: 700;
  line-height: 1.35;
}
.Reading-Value small {
  color: #5b6069;
  font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  font-size: 10px;
}

@media (max-width: 640px) {
  .Reading {
    grid-template-columns: repeat(2, 1fr);
  }
}
.HumidityChart {
  position: relative;
}
.HumidityChart-Canvas {
  display: block;
  height: clamp(200px, 27vw, 260px);
  width: 100%;
}
.HumidityChart-Scrub {
  cursor: ew-resize;
  height: 100%;
  inset: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  touch-action: none;
  width: 100%;
}

.PressureMap {
  position: relative;
}
.PressureMap-Canvas {
  border-radius: 6px;
  display: block;
  height: clamp(230px, 31vw, 310px);
  width: 100%;
}
.PressureMap-Scrub {
  cursor: ew-resize;
  height: 100%;
  inset: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  touch-action: none;
  width: 100%;
}

.SeasonMap-Canvas {
  border-radius: 6px;
  display: block;
  height: clamp(230px, 30vw, 300px);
  width: 100%;
}

.SeasonNav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.SeasonNav-Item {
  border-radius: 2px;
  color: #8e939c;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  transition: background 0.2s, color 0.2s;
}
.SeasonNav-Item:hover {
  color: #c6c3bb;
}
.SeasonNav-Item:focus-visible {
  outline: 2px solid #8ccfe2;
  outline-offset: 2px;
}
.SeasonNav-Item[data-active] {
  background: #262b35;
  color: #edeae3;
}

.SeasonNote {
  background: #191c22;
  border-radius: 12px;
  display: grid;
  gap: 7px;
  padding: 14px 18px;
}
.SeasonNote-Pattern {
  color: #8ccfe2;
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.SeasonNote-Text {
  color: #c6c3bb;
  font-size: 12.5px;
  line-height: 1.8;
}
.SeasonNote-Mass {
  color: #8e939c;
  display: grid;
  font-size: 11.5px;
  gap: 3px;
  line-height: 1.7;
}
.SeasonNote-Row b {
  color: #c6c3bb;
  font-weight: 700;
  margin-right: 8px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01s !important;
    transition-duration: 0.01s !important;
  }
}