@import "https://fonts.googleapis.com/css2?family=Klee+One:wght@400;600&family=Zen+Maru+Gothic:wght@500;700;900&display=swap";
:root {
  --g-dk: #5aa02c;
  --g: #8cc63f;
  --g-lt: #e9f4f4;
  --g-ln: #cfe5ae;
  --or: #ee7d2b;
  --or-tx: #c2560f;
  --or-lt: #e7e7fd;
  --red: #e0503c;
  --red-tx: #c63f2f;
  --g-tx: #46821f;
  --g-link: #3f7a1c;
  --blue: #3d8ad6;
  --blue-lt: #cfe6f7;
  --ink: #2b2b2b;
  --ink2: #555b62;
  --page: #ffffff;
  --out: #eef2ec;
  --book:
    "Klee One",
    "Klee Medium",
    "Hiragino Maru Gothic ProN",
    system-ui,
    sans-serif;
  --maru:
    "Zen Maru Gothic",
    "Hiragino Maru Gothic ProN",
    system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html,
body {
  margin: 0;
}
body.book {
  background: var(--out);
  color: var(--ink);
  font-family: var(--book);
  font-weight: 600;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}
body.book a {
  color: var(--g-link);
}
body.book button {
  font: inherit;
  color: inherit;
}
rt {
  font-size: max(9px, 0.5em);
  font-weight: 600;
  letter-spacing: 0;
}
ruby {
  ruby-align: center;
}
.booktop {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 16px 2px;
}
.booktop a {
  color: var(--g-link);
  text-decoration: none;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 2px;
}
.booktop .sp {
  flex: 1;
}
.booktop .nm {
  font-family: var(--maru);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink2);
}
.booktop {
  display: none !important;
}
.page {
  position: relative;
  max-width: 980px;
  margin: 0 auto 36px;
  background: var(--page);
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 30px rgba(40, 60, 30, .10);
  padding: 26px 34px 30px 92px;
  overflow: hidden;
}
@media (max-width: 700px) {
  .page {
    padding: 18px 14px 24px 48px;
    border-radius: 0;
  }
}
.page::before {
  content: "";
  position: absolute;
  left: 50px;
  top: 120px;
  bottom: 60px;
  border-left: 3px dotted var(--g);
}
@media (max-width: 700px) {
  .page::before {
    left: 22px;
  }
}
.unit {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 3px solid var(--g);
  padding-bottom: 6px;
  margin: 0 0 14px;
}
.unit .unit-no {
  font-family: var(--maru);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 52px);
  color: var(--g-dk);
  line-height: 1;
}
.unit h1 {
  font-family: var(--maru);
  font-weight: 900;
  font-size: clamp(24px, 4.2vw, 36px);
  margin: 0;
  line-height: 1.3;
  text-wrap: balance;
  word-break: auto-phrase;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  align-items: start;
  margin: 4px 0 8px;
}
@media (max-width: 700px) {
  .intro {
    grid-template-columns: 1fr;
  }
}
.talk {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.talk.r {
  flex-direction: row-reverse;
}
.kid {
  flex: 0 0 auto;
  width: 74px;
  height: 92px;
  margin: 0;
}
.kid svg {
  width: 100%;
  height: 100%;
  display: block;
}
.bubble {
  position: relative;
  margin: 0 0 18px;
  padding: 10px 14px;
  border: 2px solid var(--g);
  border-radius: 14px;
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
}
.bubble::after {
  content: "";
  position: absolute;
  left: -10px;
  bottom: 14px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 2px solid var(--g);
  border-bottom: 2px solid var(--g);
  transform: rotate(45deg) skew(10deg, 10deg);
}
.talk.r .bubble::after {
  left: auto;
  right: -10px;
  transform: rotate(-135deg) skew(10deg, 10deg);
}
.lead {
  grid-column: 1 / -1;
  font-size: 17px;
  margin: 2px 0 0;
}
.sec {
  position: relative;
  margin: 22px 0 6px;
}
.sec > .badge {
  position: absolute;
  left: -82px;
  top: -6px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--maru);
  font-weight: 900;
  font-size: 15px;
  line-height: 1.1;
  text-align: center;
  color: #fff;
  background: var(--or-tx);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
}
.sec > .badge.g {
  background: #fff;
  color: var(--or-tx);
  border: 3px solid var(--or);
  font-size: 13px;
}
.sec > .badge i {
  display: block;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
}
@media (max-width: 700px) {
  .sec > .badge {
    left: -46px;
    width: 44px;
    height: 44px;
    font-size: 11px;
  }
  .sec > .badge.g {
    font-size: 9px;
    line-height: 1.05;
    letter-spacing: -0.03em;
  }
  .sec > .badge i {
    font-size: 16px;
  }
}
.mondai p {
  font-family: var(--maru);
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 22px);
  margin: 0;
  padding: 12px 0 10px;
  border-top: 2px solid var(--or);
  border-bottom: 2px solid var(--or);
}
.jikken {
  margin-left: -14px;
  margin-right: -14px;
  padding: 18px 18px 16px;
  border-radius: 10px;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--g-lt) 0 10px,
      #fff 10px 20px);
}
.jikken > .inner {
  background: #fff;
  border-radius: 8px;
  padding: 14px 16px 12px;
}
.jk-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.jk-head .ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--g);
  display: grid;
  place-items: center;
}
.jk-head h2 {
  white-space: nowrap;
  font-family: var(--maru);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 46px);
  margin: 0;
  line-height: 1.1;
  border-bottom: 6px solid var(--g);
  padding: 0 4px 2px;
}
.aim {
  font-family: var(--maru);
  font-weight: 700;
  font-size: 19px;
  margin: 10px 0 12px;
}
.aim u {
  text-decoration: none;
  border-bottom: 3px solid var(--g);
}
.jk-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 16px 22px;
  align-items: start;
}
@media (max-width: 760px) {
  .jk-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
ol.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: st;
}
ol.steps li {
  position: relative;
  padding: 2px 0 20px 52px;
  font-size: 16px;
  counter-increment: st;
}
ol.steps li::before {
  content: counter(st);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 40px;
  border-radius: 4px;
  background: var(--g);
  color: #fff;
  font-family: var(--maru);
  font-weight: 900;
  font-size: 22px;
  display: grid;
  place-items: center;
}
ol.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 42px;
  bottom: 2px;
  border-left: 2px solid var(--g);
}
ol.steps li:not(:last-child) > .ar {
  position: absolute;
  left: 12px;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--g);
}
ol.steps li small {
  display: block;
  font-size: 14px;
  color: var(--ink2);
  margin-top: 2px;
}
ol.steps li small::before {
  content: "● ";
  color: var(--g);
}
.fig {
  margin: 0 0 12px;
  border: 3px solid var(--g);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.fig .tab {
  display: flex;
  align-items: stretch;
  margin: -1px 0 0 -1px;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 15px;
}
.fig .tab b {
  background: var(--g-tx);
  color: #fff;
  padding: 2px 12px;
  font-weight: 900;
  white-space: nowrap;
  flex: 0 0 auto;
}
.fig .tab span {
  padding: 2px 12px;
  border-bottom: 3px solid var(--g);
  border-right: 3px solid var(--g);
  border-radius: 0 0 10px 0;
  background: #fff;
}
.fig canvas {
  display: block;
  width: 100%;
}
.ctrl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin: 8px 0 4px;
}
.ctrl label {
  display: inline-block;
  font-size: 15px;
}
.ctrl label > span[id] {
  white-space: nowrap;
  display: inline-block;
}
.ctrl label input,
.ctrl label select {
  vertical-align: middle;
  margin: 0 6px;
}
.ctrl input[type=range] {
  width: 150px;
  height: 32px;
  accent-color: var(--g-dk);
}
body.book .btn {
  font-family: var(--maru);
  font-weight: 700;
  font-size: 16px;
  border: 0;
  background: var(--g-tx);
  color: #fff;
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  box-shadow: 0 3px 0 #2f5c14;
}
body.book .btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #2f5c14;
}
body.book .btn.sub {
  background: #fff;
  color: var(--g-link);
  border: 2px solid var(--g-tx);
  box-shadow: 0 3px 0 var(--g-ln);
}
@media (max-width: 360px) {
  .ctrl input[type=range] {
    width: 120px;
  }
}
.yoi {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: baseline;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 2px dashed var(--g-ln);
  font-size: 15px;
}
.yoi > b {
  font-family: var(--maru);
  font-weight: 700;
  margin-right: 6px;
}
.yoi > span::before {
  content: "□";
  margin-right: 3px;
  color: var(--g-dk);
}
.yoi > span.shop::after {
  content: "（100円ショップ）";
  font-size: 12px;
  color: var(--ink2);
}
.chui {
  margin: 10px 0 0;
  font-size: 15px;
}
.chui::before {
  content: "注意";
  display: inline-block;
  background: var(--red-tx);
  color: #fff;
  font-family: var(--maru);
  font-weight: 900;
  font-size: 13px;
  line-height: 1.5;
  padding: 1px 8px;
  border-radius: 4px;
  margin-right: 10px;
  vertical-align: 1px;
}
.adult {
  display: inline-block;
  background: var(--red-tx);
  color: #fff;
  font-family: var(--maru);
  font-weight: 900;
  font-size: 13px;
  padding: 1px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: 4px;
}
.kekka .say {
  font-size: 17px;
  min-height: 3.4em;
  margin: 2px 0 8px;
  padding: 10px 14px;
  background: var(--g-lt);
  border-radius: 10px;
}
.kekka canvas {
  display: block;
  width: 100%;
}
.matome p {
  margin: 0;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 18px;
  padding: 12px 16px;
  border: 3px solid var(--or);
  border-radius: 12px;
  background: #fff;
}
.motto {
  padding: 14px 16px;
  border-radius: 12px;
  background-color: #fff;
  background-image:
    linear-gradient(var(--or-lt) 1px, transparent 1px),
    linear-gradient(
      90deg,
      var(--or-lt) 1px,
      transparent 1px);
  background-size: 14px 14px;
  border: 2px solid var(--or-lt);
}
.motto .over {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0;
}
.motto .over button {
  font-family: var(--maru);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--or);
  color: var(--or-tx);
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}
.motto .over button.on {
  background: var(--or-tx);
  color: #fff;
}
.motto .over-say {
  margin: 4px 0 0;
  font-size: 15px;
  min-height: 2.6em;
}
.motto .hakase {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.note {
  font-size: 13px;
  color: var(--ink2);
  margin: 6px 0 0;
}
.further {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}
@media (max-width: 760px) {
  .further {
    grid-template-columns: 1fr;
  }
}
.further .card {
  border: 2px solid var(--g-ln);
  border-radius: 12px;
  padding: 14px 16px 12px;
  background: #fff;
}
.further .card h2 {
  font-family: var(--maru);
  font-weight: 900;
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--g-tx);
}
.further .card p {
  margin: 4px 0;
  font-size: 15px;
}
.further .deep {
  font-size: 13px;
  color: var(--ink2);
}
.further a.go {
  display: inline-block;
  margin-top: 4px;
  padding: 8px 0 4px;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 2px solid var(--g);
}
.further .fine {
  font-size: 12px;
  color: var(--ink2);
  margin-top: 8px;
  line-height: 1.6;
}
.pageno {
  text-align: right;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink2);
  margin-top: 18px;
}
@media (max-width: 400px) {
  .jikken {
    margin-left: -8px;
    margin-right: -8px;
    padding: 10px 8px;
  }
  .jikken > .inner {
    padding: 10px 10px 10px;
  }
  ol.steps li {
    padding-left: 42px;
    font-size: 15px;
  }
  ol.steps li::before {
    width: 30px;
    height: 34px;
    font-size: 19px;
  }
  ol.steps li:not(:last-child)::after {
    left: 14px;
    top: 36px;
  }
  ol.steps li:not(:last-child) > .ar {
    left: 9px;
  }
  .page {
    overflow-wrap: anywhere;
  }
}
.page {
  overflow: clip;
}
body:not(.spread) .page {
  padding: 0;
  margin-top: 16px;
}
body:not(.spread) .page::before {
  display: none;
}
body:not(.spread) .lp,
body:not(.spread) .rp {
  position: relative;
  padding: 26px 34px 30px 92px;
}
body:not(.spread) .lp::before,
body:not(.spread) .rp::before {
  content: "";
  position: absolute;
  left: 50px;
  top: 120px;
  bottom: 60px;
  border-left: 3px dotted var(--g);
}
body:not(.spread) .rp::before {
  top: 40px;
}
body:not(.spread) .rp {
  border-top: 2px dashed var(--g-ln);
}
body:not(.spread) .ra,
body:not(.spread) .rb,
body:not(.spread) .figbox {
  display: contents;
}
body:not(.spread) .figbox > .fig:first-child {
  position: sticky;
  top: 0;
  z-index: 5;
  box-shadow: 0 8px 14px -10px rgba(40, 60, 30, .45);
}
body:not(.spread) .figbox > .fig:first-child canvas {
  max-height: 36svh;
}
body:not(.spread) .ra > .motto {
  margin-top: 12px;
}
@media (max-width: 700px) {
  body:not(.spread) .page {
    margin-top: 0;
  }
  body:not(.spread) .lp,
  body:not(.spread) .rp {
    padding: 18px 14px 24px 48px;
  }
  body:not(.spread) .lp::before,
  body:not(.spread) .rp::before {
    left: 22px;
  }
  body:not(.spread) .figbox > .fig:first-child {
    margin-left: -46px;
    margin-right: -12px;
  }
  body:not(.spread) .figbox > .fig:first-child .tab {
    padding-left: 0;
  }
}
body.spread {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
body.spread .page {
  position: absolute;
  left: 50%;
  top: var(--top, 44px);
  width: var(--pw, 1440px);
  height: 820px;
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  transform: translateX(-50%) scale(var(--s, 1));
  transform-origin: 50% 0;
}
body.spread .page::before {
  display: none;
}
body.spread .lp,
body.spread .rp {
  position: relative;
  height: 820px;
  overflow: hidden;
  background-color: var(--page);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 30px rgba(40, 60, 30, .10);
  line-height: 1.6;
}
body.spread .lp {
  border-radius: 8px 0 0 8px;
  padding: 14px 30px 16px 82px;
  background-image:
    linear-gradient(
      90deg,
      transparent calc(100% - 26px),
      rgba(60, 80, 50, .07)),
    radial-gradient(
      circle,
      var(--g) 1.4px,
      transparent 1.6px);
  background-size: auto, 4px 7px;
  background-position: 0 0, 39px 0;
  background-repeat: no-repeat, repeat-y;
  background-attachment: local, local;
}
body.spread .rp {
  border-radius: 0 8px 8px 0;
  padding: 16px 22px 26px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 18px;
  background-image:
    linear-gradient(
      90deg,
      rgba(60, 80, 50, .09),
      transparent 26px);
}
body.spread .lp > .pin {
  display: flex;
  flex-direction: column;
}
body.spread .lp > .pin > * {
  flex: 0 0 auto;
}
body.spread .sec {
  margin: 10px 0 2px;
}
body.spread .lp .sec > .badge {
  left: -70px;
  top: -4px;
  width: 54px;
  height: 54px;
  font-size: 13px;
}
body.spread .lp .sec > .badge i {
  font-size: 18px;
}
body.spread .rp .sec > .badge {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: 1px 12px;
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: none;
}
body.spread .rp .sec > .badge.g {
  border-width: 2px;
  font-size: 14px;
}
body.spread .rp .sec > .badge br {
  display: none;
}
body.spread .rp .sec > .badge i {
  display: inline;
  font-size: 15px;
}
body.spread .unit {
  margin-bottom: 6px;
  padding-bottom: 4px;
}
body.spread .unit .unit-no {
  font-size: 44px;
}
body.spread .unit h1 {
  font-size: 29px;
}
body.spread .intro {
  gap: 2px 16px;
  margin: 0;
}
body.spread .kid {
  width: 54px;
  height: 67px;
}
body.spread .bubble {
  font-size: 14px;
  line-height: 1.5;
  padding: 6px 11px;
  margin-bottom: 6px;
}
body.spread .lead {
  font-size: 15px;
  line-height: 1.6;
}
body.spread .mondai p {
  font-size: 18px;
  padding: 6px 0 5px;
}
body.spread .jikken {
  margin-left: -10px;
  margin-right: -10px;
  padding: 8px;
}
body.spread .jikken > .inner {
  padding: 6px 14px 6px;
}
body.spread .jk-head .ic {
  width: 32px;
  height: 32px;
}
body.spread .jk-head h2 {
  font-size: 32px;
  border-bottom-width: 5px;
}
body.spread .aim {
  font-size: 16px;
  margin: 4px 0 6px;
}
body.spread .jk-grid {
  display: block;
}
body.spread ol.steps li {
  font-size: 14.5px;
  padding-bottom: 4px;
  line-height: 1.75;
}
body.spread ol.steps li::before {
  width: 30px;
  height: 30px;
  font-size: 18px;
}
body.spread ol.steps li:not(:last-child)::after {
  left: 14px;
  top: 32px;
}
body.spread ol.steps li:not(:last-child) > .ar {
  left: 9px;
}
body.spread ol.steps li small {
  font-size: 13px;
}
body.spread .yoi {
  font-size: 13.5px;
  margin-top: 4px;
  padding-top: 5px;
  gap: 0 14px;
}
body.spread .chui {
  font-size: 13.5px;
  margin-top: 4px;
  line-height: 1.5;
}
body.spread .lp .further {
  margin-top: 14px;
  padding-top: 0;
  gap: 6px;
  grid-template-columns: 1fr;
}
body.spread .further .card {
  padding: 7px 14px 7px;
  border-radius: 10px;
}
body.spread .further .card h2 {
  font-size: 15.5px;
  margin: 0 0 5px;
}
body.spread .further .card p {
  font-size: 13.5px;
  margin: 1px 0;
  line-height: 1.8;
}
body.spread .further a.go {
  font-size: 14px;
  padding: 0;
  margin: 0;
}
body.spread .further .fine {
  font-size: 10.5px;
  line-height: 1.45;
  margin-top: 3px;
}
body.spread .ra {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
body.spread .ra > .figbox {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
body.spread .figbox > * {
  flex: 0 0 auto;
}
body.spread .figbox > .fig {
  flex: 1 1 0;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  margin-bottom: 4px;
}
body.spread .figbox > .fig > canvas {
  flex: 1 1 0;
  height: auto !important;
  min-height: 0;
}
body.spread .figbox .ctrl {
  margin: 2px 0 2px;
  gap: 4px 14px;
}
body.spread .figbox .ctrl label {
  font-size: 14px;
}
body.spread .figbox .ctrl input[type=range] {
  width: 110px;
  height: 28px;
}
body.spread body.book .btn,
body.spread .figbox .btn {
  font-size: 15px;
  padding: 7px 16px;
}
body.spread .ra > .motto {
  margin: 8px 0 0;
  padding: 6px 12px 6px;
}
body.spread .motto .hakase .kid {
  width: 44px;
  height: 55px;
}
body.spread .motto .hakase .bubble {
  margin-bottom: 6px;
  font-size: 13.5px;
}
body.spread .motto .over {
  margin: 2px 0;
  gap: 6px;
}
body.spread .motto .over button {
  font-size: 14px;
  padding: 3px 12px;
}
body.spread .motto .over-say {
  font-size: 14px;
  min-height: 2.9em;
  line-height: 1.45;
  margin: 2px 0 0;
}
body.spread .rb {
  min-height: 0;
}
body.spread .rb > .pin > .sec:first-child {
  margin-top: 0;
}
body.spread .rb .fig {
  margin-bottom: 4px;
}
body.spread .rb .fig canvas {
  height: 165px !important;
}
body.spread .rb .kangae-fig canvas {
  height: 120px !important;
}
body.spread .rb table td,
body.spread .rb table th {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}
body.spread .rb .fig .tab {
  font-size: 13.5px;
}
body.spread .kekka .say {
  font-size: 14.5px;
  min-height: 0;
  margin: 0 0 6px;
  padding: 7px 12px;
  line-height: 1.55;
}
body.spread .note {
  font-size: 12px;
  line-height: 1.45;
  margin-top: 2px;
}
body.spread .rb .talk .bubble {
  font-size: 14px;
  margin-bottom: 4px;
}
body.spread .matome p {
  font-size: 15.5px;
  padding: 7px 12px;
  line-height: 1.55;
}
body.spread .pageno {
  position: absolute;
  right: 18px;
  bottom: 4px;
  margin: 0;
  font-size: 15px;
}
body.spread .lp,
body.spread .rb {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--g-ln) transparent;
}
.morebar {
  display: none;
}
body.spread .morebar {
  display: flex;
  position: absolute;
  z-index: 6;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-top: 2px dashed var(--g-ln);
}
body.spread .lp + .morebar {
  border-radius: 0 0 0 8px;
}
body.spread .morebar button {
  font-family: var(--maru);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: var(--g-tx);
  border: 0;
  border-radius: 999px;
  padding: 4px 16px;
  cursor: pointer;
}
body.spread .lp.scroll {
  height: 782px;
}
body.spread .rb.scroll {
  height: calc(100% - 38px);
}
.further .card .kids {
  font-size: 15px;
}
.further .card .src {
  font-size: 13px;
  color: var(--ink2);
}
.further .card .src a.go {
  white-space: nowrap;
}
.fig .tab span,
.unit h1,
.mondai p,
.matome p,
.aim {
  text-wrap: pretty;
  word-break: auto-phrase;
}
.unit h1,
.mondai p {
  text-wrap: balance;
}
.lead,
.bubble,
.say,
ol.steps li,
.over-say,
.further p,
.note,
.chui,
.yoi {
  text-wrap: pretty;
}
body:not(.spread) .page > .further {
  margin: 0;
  padding: 18px 34px 0 92px;
  border-top: 2px dashed var(--g-ln);
}
body:not(.spread) .page > .pageno {
  margin: 0;
  padding: 10px 34px 18px;
}
@media (max-width: 700px) {
  body:not(.spread) .page > .further {
    padding: 16px 14px 0 48px;
  }
  body:not(.spread) .page > .pageno {
    padding: 8px 14px 16px;
  }
}
body.spread .rp {
  overflow: clip;
}
body.spread .lp > .pin,
body.spread .rb > .pin {
  max-width: 100%;
}
html:has(body.spread) {
  overflow: hidden;
}
body.book .jk-grid {
  display: block;
}
body.spread .further .card.geo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 12px;
}
body.spread .further .card.geo h2 {
  margin: 0;
}
body.spread .further .card.geo p {
  margin: 0;
}
body.spread .rb .sec {
  position: relative;
  padding-top: 18px;
}
body.spread .rb .sec > .badge {
  position: absolute;
  left: 6px;
  top: -10px;
  z-index: 2;
  margin: 0;
  padding: 0 10px;
  font-size: 13px;
  line-height: 1.45;
  background-color: var(--or-tx);
}
body.spread .rb .sec > .badge.g {
  background: #fff;
}
body.spread .rb .sec + .sec {
  margin-top: 8px;
}
body.spread .rb > .sec:first-child,
body.spread .rb > :first-child > .sec:first-child {
  margin-top: 10px;
}
body.spread .fold {
  margin: 0 0 4px;
}
body.spread .fold > summary {
  cursor: pointer;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--g-tx);
  list-style: none;
}
body.spread .fold > summary::-webkit-details-marker {
  display: none;
}
body.spread .fold > summary::before {
  content: "＋ ";
}
body.spread .fold[open] > summary::before {
  content: "− ";
}
body.spread ol.steps li small {
  display: inline;
  margin-left: 0.6em;
}
body.spread .lp .further .card {
  position: relative;
  margin-top: 10px;
  padding-top: 10px;
}
body.spread .lp .further .card h2 {
  position: absolute;
  top: -11px;
  left: 10px;
  background: #fff;
  padding: 0 6px;
  line-height: 1.4;
}
body.spread .lp .further .card.geo {
  padding-top: 6px;
}
body.spread .lp .further .card.geo h2 {
  position: static;
  padding: 0;
}
body.spread .lp .sec {
  margin-top: 7px;
}
body.spread .mondai p {
  padding: 5px 0 4px;
}
body.spread .rb .kangae-fig canvas {
  height: 104px !important;
}
body.book:not(.toy-ready) {
  visibility: hidden;
  animation: kl-boot 0s 4s forwards;
}
body.book:not(.toy-ready)::before {
  content: "じゅんび中…";
  visibility: visible;
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #6a7f8c;
}
@keyframes kl-boot {
  to {
    visibility: visible;
  }
}
.page button,
.page a.go,
.page summary,
.page h2,
.page .chip,
.page .badge,
.page th,
.jk-head .adult {
  white-space: nowrap;
}
.sec > .badge {
  display: block;
  align-content: center;
  line-height: 1.6;
}
body.spread .rp .sec > .badge {
  display: block;
  width: max-content;
}
.page .fig .tab {
  display: block;
}
.page .fig .tab b {
  display: block;
  width: max-content;
}
.page .fig .tab span {
  display: block;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  font-size: 12px;
  padding-inline: 6px;
}
.page .ctrl label,
body.spread .figbox .ctrl label {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  max-width: 100%;
  white-space: nowrap;
}
.page .ctrl label > .control-name {
  display: block;
}
.page .ctrl label input,
.page .ctrl label select {
  margin: 0;
  max-width: 100%;
}
.page .ctrl label input[type=range],
body.spread .figbox .ctrl input[type=range] {
  width: 100%;
  min-height: 36px;
}
.page p,
.page li,
.page figcaption,
.page .bubble,
.page .deep,
.page dd,
.page td {
  word-break: auto-phrase;
  text-wrap: pretty;
}
.page .bubble,
.page .over-say,
.page .say,
.page .lead,
.page .note,
.page li {
  text-wrap: balance;
}
.page ol.steps li small,
body.spread ol.steps li small {
  display: block;
  margin-left: 0;
  text-wrap: balance;
}
.page ol.steps li {
  word-break: normal;
  line-break: strict;
  text-wrap: balance;
}
.page .matome p {
  word-break: normal;
  line-break: strict;
  text-wrap: balance;
}
.page .aim,
.page .note,
.page .kids,
.page .yoi,
.page .chui {
  word-break: normal;
  line-break: strict;
  text-wrap: balance;
}
body:has(#paper) .page .note {
  letter-spacing: 0.02em;
}
@media (max-width: 700px) {
  body:is([data-desk=ice_salt], [data-desk=pipe_sound], [data-desk=soda], [data-desk=waves]) .page .note {
    font-size: 12.5px;
  }
  body:has(#paper) .page .note {
    letter-spacing: normal;
  }
  .unit {
    flex-wrap: wrap;
    gap: 5px;
  }
  .unit h1 {
    flex-basis: 100%;
    font-size: 16px;
    white-space: nowrap;
    letter-spacing: 0;
  }
  .page .ctrl {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .page .over {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .page .over button {
    font-size: 13px;
    padding-inline: 6px;
  }
  .page .further .card h2 {
    font-size: 14px;
  }
  .page .further a.go {
    font-size: 13px;
  }
}
body.spread .figbox .ctrl label {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 8px;
  align-items: baseline;
}
body.spread .figbox .ctrl label > .control-name {
  grid-column: 1;
  grid-row: 1;
}
body.spread .figbox .ctrl label > span[id],
body.spread .figbox .ctrl label > output {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}
body.spread .figbox .ctrl label > input,
body.spread .figbox .ctrl label > select {
  grid-column: 1/-1;
  grid-row: 2;
}
body.spread .page .fig .tab {
  display: flex;
  align-items: center;
  gap: 0;
}
body.spread .page .fig .tab b,
body.spread .page .fig .tab span {
  display: inline-block;
}
