@import url("https://fonts.googleapis.com/css2?family=Klee+One:wght@400;600&family=Noto+Sans+JP:wght@400;500;600&display=swap");
:root {
  color-scheme: light;
  background: #eeeee6;
  color: #293a32;
  font-family: "Noto Sans JP", sans-serif;
  font-synthesis: none;
  font-weight: 400;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid #b4593c;
  outline-offset: 6px;
}
::selection {
  background: #c9d4bd;
}
#switch-app {
  --paper: #eeeee6;
  --ink: #293a32;
  --muted: #70786d;
  --accent: #b55e40;
  --line: #d2d7ca;
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23566549' opacity='.045' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.sw-header {
  height: 88px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
}
.sw-brand {
  font-family: Georgia, serif;
  font-size: 33px;
  letter-spacing: -2px;
  font-style: italic;
}
.sw-brand span {
  color: var(--accent);
}
.sw-edition {
  font-size: 11px;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.sw-header-actions {
  display: flex;
  gap: 24px;
}
.sw-header button {
  border: 0;
  background: transparent;
  font-size: 11px;
  padding: 14px 0;
  color: var(--muted);
}
.sw-skip {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 20;
  background: var(--paper);
  padding: 12px;
}
.sw-skip:focus {
  top: 12px;
}
.sw-sr-only {
  position: absolute;
  margin: 0;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* Native horizontal touch scrolling moves through one continuous sheet. */
#sw-journey {
  position: relative;
}
.sw-sticky {
  padding: 100px 9vw 50px;
}
.sw-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5vw;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  width: 100%;
}
.sw-chapter {
  padding: 25px 0;
}
.sw-chapter h1 {
  font-family: "Klee One", serif;
  font-weight: 600;
  font-size: clamp(28px, 3.3vw, 48px);
  line-height: 1.6;
  letter-spacing: 0.035em;
  margin: 0 0 48px;
  white-space: nowrap;
}
.sw-control {
  max-width: 340px;
}
.sw-control-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  font-size: 12px;
}
.sw-control-label output {
  font-family: "Klee One", serif;
  font-size: 24px;
  color: var(--accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.sw-control input,
#sw-progress {
  width: 100%;
  height: 44px;
  margin: 8px 0 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: ew-resize;
  touch-action: none;
}
.sw-control input::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(
    to right,
    var(--accent) var(--range, 48%),
    #c8cebf var(--range, 48%)
  );
}
.sw-control input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--accent);
  border-radius: 48% 53% 46% 51%;
  background: var(--paper);
  margin-top: -10px;
  box-shadow: 0 0 0 5px #eeeee699;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.sw-control input:active::-webkit-slider-thumb {
  transform: scale(1.17);
  box-shadow: 0 0 0 8px #b55e4012;
}
.sw-control input::-moz-range-track {
  height: 2px;
  background: #c8cebf;
}
.sw-control input::-moz-range-progress {
  background: var(--accent);
  height: 2px;
}
.sw-control input::-moz-range-thumb {
  width: 19px;
  height: 19px;
  border: 2px solid var(--accent);
  border-radius: 48%;
  background: var(--paper);
}
.sw-range-ends {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.sw-artwork {
  text-align: center;
  min-width: 0;
  position: relative;
}
.sw-canvas {
  width: 100%;
  max-width: 660px;
  display: block;
  margin: 0 auto;
  border: 0;
  background: transparent;
  padding: 0;
  touch-action: pan-x;
  position: relative;
  border-radius: 40%;
  cursor: pointer;
}
.sw-canvas svg {
  display: block;
  width: 100%;
  overflow: visible;
  color: var(--ink);
}
#sw-lines path,
#sw-details path {
  vector-effect: non-scaling-stroke;
}
#sw-guides {
  opacity: 0.2;
  stroke-width: 1;
}
#sw-labels text {
  font-size: 16px;
  font-family: "Klee One", serif;
  fill: var(--ink);
}
.sw-progress {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2px;
}
#sw-progress {
  display: block;
  margin: 0;
}
#sw-progress::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 5px;
  background: linear-gradient(
    to right,
    #9b7259 var(--journey, 0%),
    #cbd0c2 var(--journey, 0%)
  );
}
#sw-progress::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 36px;
  height: 7px;
  margin-top: -2px;
  background: #9b7259;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 0 0 7px #eeeee633;
}
#sw-progress::-moz-range-track {
  height: 3px;
  background: #cbd0c2;
}
#sw-progress::-moz-range-progress {
  height: 3px;
  background: #9b7259;
}
#sw-progress::-moz-range-thumb {
  width: 36px;
  height: 7px;
  background: #9b7259;
  border: 0;
  border-radius: 8px;
}
.sw-ready #sw-journey {
  height: 100svh;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}
.sw-ready #sw-journey::-webkit-scrollbar {
  display: none;
}
.sw-ready .sw-scroll-track {
  width: 600%;
  height: 100%;
}
.sw-ready .sw-sticky {
  position: sticky;
  left: 0;
  width: calc(100% / 6);
  height: 100%;
  padding: 88px 9vw 22px;
  display: flex;
  flex-direction: column;
}
.sw-ready .sw-layout {
  min-height: 0;
  flex: 1;
  user-select: none;
  -webkit-user-select: none;
}
.sw-ready .sw-story {
  display: grid;
  align-items: center;
  min-width: 0;
}
.sw-ready .sw-chapter {
  grid-area: 1/1;
  opacity: 0;
  pointer-events: none;
  padding: 0;
  will-change: opacity, transform;
}
.sw-control-label output {
  position: relative;
}
.sw-value-old {
  position: absolute;
  right: 0;
  top: 0;
  white-space: nowrap;
  pointer-events: none;
}
.sw-ready .sw-chapter.is-current {
  pointer-events: auto;
}
.sw-ready .sw-artwork {
  align-self: center;
}
#sw-recipe-dialog {
  width: min(800px, calc(100% - 28px));
  max-height: calc(100svh - 36px);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 38px;
  background: var(--paper);
  color: var(--ink);
}
#sw-recipe-dialog::backdrop {
  background: #283a3244;
  backdrop-filter: blur(5px);
}
.sw-dialog-close {
  text-align: right;
}
.sw-dialog-close button {
  border: 0;
  background: transparent;
  padding: 10px;
  font-size: 12px;
  color: var(--muted);
}
.sw-footer {
  padding: 0 0 10px;
}
.sw-step-label {
  font-size: 11px;
  color: var(--muted);
}
.sw-footer h2 {
  font:
    600 clamp(24px, 4vw, 36px) / 1.7 "Klee One",
    serif;
  margin: 16px 0;
}
.sw-footer p {
  font-size: 12px;
  line-height: 2;
  color: #667160;
}
.sw-footer dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 22px;
  margin: 30px 0;
}
.sw-footer dt {
  font-size: 11px;
  color: #727c6b;
}
.sw-footer dd {
  margin: 7px 0 0;
  font:
    23px "Klee One",
    serif;
}
.sw-footer-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.sw-footer-actions button {
  background: #304438;
  color: #f0f1e7;
  border: 0;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 11px;
}
.sw-footer-actions #sw-start {
  background: transparent;
  color: var(--ink);
}
.sw-footer details {
  border-top: 1px solid #c7d0bd;
  padding: 24px 0;
  margin-top: 30px;
}
.sw-footer summary {
  font-size: 11px;
  cursor: pointer;
}
.sw-about a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sw-colophon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}
.sw-colophon a {
  font:
    italic 25px Georgia,
    serif;
}
.sw-colophon span {
  font:
    14px "Klee One",
    serif;
}
.sw-nojs {
  padding: 20px;
}
@media (max-width: 900px) {
  .sw-header {
    height: 65px;
  }
  .sw-brand {
    font-size: 29px;
  }
  .sw-edition {
    font-size: 10px;
  }
  .sw-ready .sw-sticky {
    padding: 70px 6vw 16px;
  }
  .sw-layout {
    gap: 3vw;
    grid-template-columns: 1fr 1.15fr;
  }
  .sw-chapter h1 {
    font-size: 30px;
    margin-bottom: 30px;
  }
}
@media (max-width: 640px) {
  .sw-header {
    height: 60px;
    gap: 10px;
  }
  .sw-edition {
    font-size: 9px;
  }
  .sw-header-actions {
    gap: 16px;
  }
  .sw-header button {
    font-size: 10px;
  }
  .sw-ready .sw-sticky {
    padding: 64px 28px 20px;
  }
  .sw-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }
  .sw-story {
    width: 100%;
    max-width: 360px;
    order: 2;
  }
  .sw-artwork {
    width: 100%;
    max-width: 380px;
    order: 1;
  }
  .sw-canvas {
    max-width: min(360px, 44svh);
  }
  .sw-chapter h1 {
    font-size: 30px;
    text-align: center;
    margin: 0 0 28px;
  }
  .sw-control {
    max-width: none;
  }
  .sw-control-label {
    font-size: 11px;
  }
  .sw-control-label output {
    font-size: 23px;
  }
  .sw-control input {
    margin-top: 3px;
  }
  .sw-progress {
    margin-top: 22px;
  }
  #sw-labels text {
    font-size: 21px;
  }
  .sw-footer dl {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 16px;
  }
  #sw-recipe-dialog {
    padding: 18px 22px;
  }
}
@media (max-width: 380px) {
  .sw-edition {
    display: none;
  }
  .sw-ready .sw-sticky {
    padding-left: 22px;
    padding-right: 22px;
  }
  .sw-chapter h1 {
    font-size: 27px;
  }
}
@media (max-width: 640px) and (max-height: 680px) {
  .sw-header {
    height: 50px;
  }
  .sw-ready .sw-sticky {
    padding-top: 50px;
    padding-bottom: 8px;
  }
  .sw-layout {
    gap: 5px;
  }
  .sw-canvas {
    max-width: min(285px, 44svh);
  }
  .sw-chapter h1 {
    margin-bottom: 15px;
    font-size: 27px;
  }
  .sw-progress {
    margin-top: 12px;
  }
}
@media (max-height: 500px) and (min-width: 641px) {
  .sw-header {
    height: 44px;
  }
  .sw-ready .sw-sticky {
    padding-top: 45px;
    padding-bottom: 5px;
  }
  .sw-canvas {
    max-width: 280px;
  }
  .sw-chapter h1 {
    font-size: 29px;
    margin-bottom: 20px;
  }
  .sw-control {
    max-width: 280px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
