.study-chapter-list {
  margin: 0;
  padding-inline-start: 1.5rem;
}
.study-chapter-list li {
  padding: .8rem 0 .8rem .25rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 105px;
}
.study-chapter-list li:last-child { border-bottom: 0; }
.study-chapter-list li p { margin: .2rem 0 0; }
.textbook-guide .guide-layout {
  display: grid;
  width: min(1120px, calc(100% - 40px));
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
}
.textbook-guide .guide-article { grid-column: 1; grid-row: 1; }
.study-chapter-menu {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 20px;
  padding: 17px;
  border: 1px solid #dcd8cb;
  border-radius: 12px;
  background: #fffdf8;
}
.study-chapter-menu summary {
  font: 700 1.35rem Georgia, serif;
  cursor: pointer;
}
.study-chapter-menu nav { display: block; }
.study-chapter-menu ol {
  margin: 12px 0 0;
  padding-inline-start: 1.5rem;
  max-height: calc(100vh - 105px);
  overflow: auto;
}
.study-chapter-menu li { line-height: 1.35; }
.study-chapter-menu a {
  display: block;
  padding: 8px;
  border-bottom: 1px solid #e8e2d8;
  color: #193f65;
  text-decoration: none;
  font-size: .89rem;
  font-weight: 650;
}
.study-chapter-menu li:last-child a { border-bottom: 0; }
.study-chapter-menu a:hover { text-decoration: underline; }
.study-chapter-menu a[aria-current="page"] {
  color: #14273a;
  background: #efe4ce;
  border-radius: 5px;
}
@media (max-width: 760px) {
  .textbook-guide .guide-layout { grid-template-columns: 1fr; }
  .textbook-guide .guide-article { grid-row: 2; }
  .study-chapter-menu { position: static; grid-column: 1; }
  .study-chapter-menu ol { max-height: none; }
}
.study-chapter-art img {
  display: block;
  width: 100%;
  height: auto;
}
.textbook-guide .study-chapter-lesson h2 {
  margin: 1.35rem 0 .55rem;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
}
.study-chapter-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1.25rem;
  margin: 0 0 2rem;
}
.study-chapter-pagination a {
  padding: .6rem .8rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffdf8;
  white-space: normal;
}
.study-chapter-pagination a[rel="next"] { margin-inline-start: auto; }
@media (max-width: 520px) {
  .study-chapter-pagination { flex-direction: column; align-items: stretch; }
  .study-chapter-pagination a[rel="next"] { margin-inline-start: 0; }
}
