html { overflow-x: clip; }
html.embedded { overflow: hidden; }
.book {
  width: min(1160px, calc(100% - 88px));
  margin-inline: auto;
  padding: 3px 0 clamp(40px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(166px, .24fr) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(28px, 4.4vw, 64px);
}
.contents {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #aabcb1;
}
.chapter-choice {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 51px;
  padding: 11px 8px 11px 17px;
  border-bottom: 1px solid #d3dad0;
  color: #3f5d5c;
  font-size: 16px;
  line-height: 1.34;
  cursor: pointer;
}
.chapter-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chapter-choice:has(:checked) { color: #153f40; font-weight: 650; }
.chapter-choice:has(:checked)::before {
  content: ''; position: absolute; left: 1px; top: calc(50% - 8px);
  width: 3px; height: 16px; background: #285b57;
}
.chapter-choice:has(:focus-visible) { outline: 2px solid #285b57; outline-offset: -2px; }
@media (hover:hover) { .chapter-choice:hover { background: #e9ede5; } }
.chapter {
  display: none;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 32px clamp(20px, 2.6vw, 38px);
}
.example { min-width: 0; margin: 0; scroll-margin-top: 1rem; }
.example:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 2.6vw, 38px);
  padding-bottom: 30px;
  border-bottom: 1px solid #c4cec2;
}
.example figcaption { padding-top: 14px; }
.example:first-child figcaption { padding-top: 0; }
.example h3 { color: #193f40; font-size: clamp(21px, 1.6vw, 26px); font-weight: 530; letter-spacing: -.035em; line-height: 1.15; margin: 0; text-wrap: pretty; }
.example:first-child h3 { font-size: clamp(27px, 2.65vw, 40px); font-weight: 480; line-height: 1.07; }
.example .description { color: #3d5959; font-size: 17px; line-height: 1.52; margin-top: 9px; max-width: 57ch; }
.screen-frame {
  position: relative;
  overflow: hidden;
  border: 4px solid #253d40;
  border-bottom-width: 6px;
  border-radius: 9px;
  background: #253d40;
}
.screen-frame::after {
  position: absolute; content: ''; left: calc(50% - 9px); bottom: -1px;
  width: 18px; height: 2px; background: #a2b7ac;
}
.screen-frame .tv-screen { aspect-ratio: 1.64; border-radius: 4px; }
.tv-panel { padding: 6% 7%; }
.tv-main, .tv-panel[data-kind=activities] .tv-main { font-size: clamp(17px, 10cqw, 30px); line-height: 1.1; letter-spacing: -.035em; }
.aura-name { font-size: clamp(14px, 1.3vw, 18px); }
.tv-label, .tv-panel[data-kind=dialogue] .tv-label { font-size: clamp(14px, 7.8cqw, 22px); margin-bottom: 5px; }
.tv-content { animation: none; }
.tv-illustration { margin-block: 3px; min-height: 12px; }
.tv-panel[data-kind=dialogue] .tv-illustration { margin-top: 4px; }
.tv-footer { margin-top: 3px; padding-top: 5px; gap: 5px; }
.tv-footer .tv-secondary, .contact-hour { font-size: clamp(13px, 6.7cqw, 18px); line-height: 1.2; }
.tv-footer > svg { width: 15px; }
.tv-footer kbd { width: 22px; height: 22px; font-size: 10px; }
.tv-panel[data-kind=sos] .tv-footer > svg { animation: none; }
.clock-face { font-size: clamp(29px, 17cqw, 48px); margin: 0 0 5px; letter-spacing: -.05em; }
.appointment-card .tv-main { font-size: clamp(16px, 9cqw, 25px); }
.clock-face .clock-before { display: none; animation: none; }
.clock-face .clock-after, .appointment-card { animation: none; }
.in-motion .clock-before { display: block; animation: clockBefore 1.8s step-end both; }
.in-motion .clock-after { animation: clockAfter 1.8s step-end both; }
.in-motion .appointment-card { animation: reminderIn 2.35s ease-out both; }
@media (max-width: 980px) {
  .book { width: calc(100% - 48px); display: block; }
  .contents { display: flex; flex-wrap: wrap; gap: 0 16px; margin-bottom: 22px; }
  .chapter-choice { flex: 1 1 auto; }
}
@media (max-width: 640px) {
  .book { width: calc(100% - 40px); }
  .contents { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin-bottom: 18px; }
  .chapter-choice { min-height: 44px; padding: 8px 2px 8px 10px; font-size: 15px; }
  .chapter-choice:has(:checked)::before { left: 0; width: 2px; height: 14px; top: calc(50% - 7px); }
  .chapter-choice:last-child { grid-column: 1 / -1; }
  .chapter { grid-template-columns: 1fr; gap: 22px; }
  .example, .example:first-child { display: block; padding-bottom: 19px; border-bottom: 1px solid #d1d9cf; }
  .example:last-child { padding-bottom: 0; border: 0; }
  .example figcaption, .example:first-child figcaption { padding-top: 12px; }
  .example h3, .example:first-child h3 { font-size: 24px; line-height: 1.15; }
  .example .description { font-size: 16px; margin-top: 6px; line-height: 1.5; }
}
@media (max-width: 350px) { .book { width: calc(100% - 28px); } }
@media (forced-colors: active) {
  .chapter-choice:has(:checked) span { text-decoration: underline; }
  .chapter-choice:has(:focus-visible) { outline-color: Highlight; }
}
