/* src/styles.css */
:root {
  --ink: #221111;
  --parchment: #e2d4af;
  --parchment-hi: #c8aa59;
  --parchment-edge: #cdbc94;
  --teal-dark: #243b41;
  --teal-deep: #16272c;
  --accent-red: #9d0000;
  --gold: #dcbb20;
  --font-display:
    "Palatino Linotype",
    "Book Antiqua",
    Palatino,
    Georgia,
    serif;
  --font-ui:
    Tahoma,
    Geneva,
    Verdana,
    system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}
body {
  background-color: var(--teal-dark);
  color: var(--ink);
  font-family: var(--font-ui);
  line-height: 1.5;
  overscroll-behavior: none;
}
img {
  max-width: 100%;
}
.site-main > * {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  z-index: 2;
}
.site-main > router-outlet {
  display: none;
}
.panel {
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 19rem 1.1rem 7.5rem;
  position: relative;
}
.panel::before,
.panel::after {
  content: "";
  position: absolute;
  top: 1.1rem;
  height: calc(100% - 2.2rem);
  aspect-ratio: 167 / 1091;
  background: url("./media/scroll_left-nq8.png") no-repeat center / 100% 100%;
  pointer-events: none;
}
.panel {
  --roll-start: 7.5rem;
  --roll-final: calc(100% - 19rem);
}
.panel::before {
  left: 7.5rem;
  transform: translateX(-100%);
}
.panel::after {
  left: var(--roll-final);
  background-image: url("./media/scroll_right-nq8.png");
}
.page {
  position: relative;
  width: 100%;
  height: 100%;
  background: url("./media/scroll_center-nq8.png") repeat-x;
  background-size: auto 100%;
  color: var(--ink);
  font-size: 1.1rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2.4rem 3rem 4.6rem;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}
.page > :last-child::after {
  content: "";
  display: block;
  clear: both;
  margin: 1.2rem auto 0;
  width: 4.2rem;
  aspect-ratio: 200 / 178;
  background: url("./media/seal-nq8.png") no-repeat center / contain;
}
@media (prefers-reduced-motion: no-preference) {
  .page {
    animation: unroll-reveal 0.65s ease-in-out;
  }
  .panel::after {
    animation: unroll-roll 0.65s ease-in-out;
  }
  @keyframes unroll-reveal {
    from {
      clip-path: inset(0 100% 0 0);
    }
    to {
      clip-path: inset(0 0 0 0);
    }
  }
  @keyframes unroll-roll {
    from {
      left: var(--roll-start);
    }
    to {
      left: var(--roll-final);
    }
  }
  html {
    scroll-behavior: smooth;
  }
}
.page h1,
.page h2 {
  font-family: var(--font-display);
  font-weight: normal;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.15;
  clear: both;
}
.page h1 {
  font-size: 2.6rem;
  border-bottom: 2px solid var(--accent-red);
  background: url("./media/ninjakanji-nq8.png") right top / auto 1.15em no-repeat;
}
.page h2 {
  font-size: 1.9rem;
  border-bottom: 1px solid var(--accent-red);
  padding-left: 1.15em;
  background: url("./media/h2_star-nq8.png") left 0.08em / auto 1em no-repeat;
}
.page p {
  margin: 0 0 0.5em;
  line-height: 1.45;
}
.page a {
  color: var(--accent-red);
  transition: color 0.3s;
}
.page a:hover {
  color: #e00000;
}
.page ul {
  list-style: none;
  margin: 0 0 0.5em;
  padding: 0;
}
.page li {
  padding-left: 1em;
  background: url("./media/square.gif") 0.2em 0.5em / 0.4em 0.4em no-repeat;
}
.page li li {
  background-image: url("./media/dot-nq8.png");
}
.star {
  position: absolute;
  z-index: 101;
  pointer-events: none;
  background: center / contain no-repeat;
  animation: star-fade 4s forwards;
}
.star.s3 {
  width: 32px;
  height: 50px;
  background-image: url("./media/star_3point-nq8.png");
}
.star.s4 {
  width: 38px;
  height: 48px;
  background-image: url("./media/star_4point-nq8.png");
}
.star.s6 {
  width: 46px;
  height: 46px;
  background-image: url("./media/star_6point-nq8.png");
}
@keyframes star-fade {
  0%, 75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@media (orientation: landscape) and (max-width: 64rem) {
  .panel {
    padding: 0.9rem min(19rem, 30vw) 0.9rem min(7.5rem, 11vw);
    --roll-start: min(7.5rem, 11vw);
    --roll-final: calc(100% - min(19rem, 30vw));
  }
  .panel::before {
    left: min(7.5rem, 11vw);
  }
  .page {
    font-size: 1rem;
    padding: 1.4rem 1.6rem 3.4rem;
  }
}
@media (orientation: portrait) {
  .panel {
    padding: 0.75rem 0.75rem 0.5rem;
  }
  .page {
    font-size: 1rem;
    padding: 1.5rem 1.4rem 3.4rem;
  }
  .panel::before,
  .panel::after {
    display: none;
  }
  .page h1 {
    font-size: 1.9rem;
  }
  .page h2 {
    font-size: 1.5rem;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
