.learn-page {
  --learn-ink: #233a2c;
  --learn-muted: #58685e;
  --learn-line: #d9dfd3;
  --learn-tint: #eef2e7;
  box-sizing: border-box;
  max-width: 55rem;
  margin: 0 auto;
  padding: clamp(1.1rem, 4vw, 2.75rem) clamp(1.1rem, 5vw, 3.75rem) 4.75rem;
  color: var(--learn-ink);
  overflow-wrap: anywhere;
}
.category-kids { --learn-tint: #fcf0ca; }
.category-students { --learn-tint: #eaf0df; }
.category-adults { --learn-tint: #f8e8df; }
.category-basics { --learn-tint: #e8eef2; }
.learn-page * { box-sizing: border-box; }
.learn-page a { color: inherit; }
.detail-breadcrumb { display: flex; flex-wrap: wrap; gap: .35rem .6rem; align-items: center; color: var(--learn-muted); font-size: .875rem; line-height: 1.75; }
.detail-breadcrumb a { text-decoration: underline; text-decoration-color: #acb6a8; text-underline-offset: .25em; }
.learn-head { padding: clamp(1.6rem, 5vw, 3rem) 0 clamp(1.4rem, 4vw, 2.2rem); border-bottom: 1px solid var(--learn-line); }
.section-tag, .item-type { font-size: .86rem; letter-spacing: .06em; font-weight: 650; color: #3e533f; }
.section-tag { background: var(--learn-tint); padding: .35rem .85rem; border-radius: .3rem; display: inline-block; }
.learn-head h1 { margin: .9rem 0 .8rem; font-size: clamp(1.7rem, 5vw, 3rem); line-height: 1.45; font-family: 'Yu Mincho','Hiragino Mincho ProN','Noto Serif JP',serif; }
.learn-head p,.reading-body p,.reading-body li { font-size: 1rem; line-height: 1.95; }
.learn-head p { margin: 0; }
.reading-body p { margin: .65rem 0; }
.detail-list { display: grid; gap: .85rem; padding-top: 1.5rem; }
.detail-list-card { display: grid; grid-template-columns: clamp(84px, 21vw, 160px) minmax(0, 1fr); align-items: center; gap: clamp(.7rem, 2.5vw, 1.35rem); padding: clamp(.65rem, 2vw, 1rem); border: 1px solid var(--learn-line); border-radius: .65rem; background: #fffefa; text-decoration: none; transition: border-color .18s, background .18s; }
.detail-list-card:hover,.detail-list-card:focus-visible { border-color: #839780; background: #fff; }
.detail-list-card strong { font-size: clamp(1.15rem, 3vw, 1.45rem); }
.detail-list-card span:not(.item-type) { line-height: 1.8; color: var(--learn-muted); }
.detail-card-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; background: #eee7d8; }
.detail-card-copy { display: grid; gap: .22rem; }
.reading-body { max-width: 45rem; }
.reading-body h2, .source-links h2 { font-family: 'Yu Mincho','Hiragino Mincho ProN','Noto Serif JP',serif; font-size: clamp(1.2rem, 3vw, 1.55rem); line-height: 1.55; margin: 0 0 .7rem; }
.reading-section,.prompt-card,.mini-quiz,.source-links { margin: 1.9rem 0; }
.reading-body ol,.source-links ul { padding-inline-start: 1.6rem; margin: .5rem 0; }
.reading-body li + li { margin-top: .38rem; }
.prompt-card, .mini-quiz { padding: 1.2rem clamp(1rem, 3vw, 1.55rem); border: 1px solid #cdd7c5; border-radius: .75rem; background: #f5f7ef; }
.mini-quiz { min-width: 0; }
.mini-quiz legend { font-weight: 700; padding: 0 .35rem; color: var(--learn-ink); line-height: 1.6; }
.prompt-card pre { background: white; border-left: .2rem solid #9eac8c; border-radius: 0 .35rem .35rem 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; font-size: 1rem; line-height: 1.9; padding: .95rem 1.1rem; margin: 1rem 0; }
.copy-prompt,.quiz-options button,.learn-page .learn-action { min-height: 2.8rem; padding: .65rem 1rem; border: 1px solid #546d55; border-radius: .35rem; font: inherit; line-height: 1.5; cursor: pointer; }
.copy-prompt,.learn-page .learn-action { display: inline-block; text-decoration: none; background: #304e3c; color: white; }
.copy-prompt[hidden] { display: none; }
.copy-prompt:hover,.learn-action:hover { filter: brightness(1.12); }
.copy-feedback { display: inline-block; margin-inline-start: .65rem; font-size: .875rem; }
.quiz-options { display: flex; flex-wrap: wrap; gap: .55rem; }
.quiz-options button { min-width: 3.75rem; background: #fff; color: #304e3c; }
.quiz-options button[aria-pressed=true] { background: #304e3c; color: #fff; }
.quiz-feedback:empty { display: none; }
.source-links { padding-top: 1.5rem; border-top: 1px solid var(--learn-line); }
.source-links a, .read-return a { text-decoration: underline; text-underline-offset: .22em; }
.read-return { padding-top: 1.5rem; margin-top: 1.8rem; border-top: 1px solid var(--learn-line); }
.reading-skip { position: absolute; left: 1rem; top: -6rem; background: #fff; color:#243f2e; padding: .7rem; z-index: 1000; }
.reading-skip:focus { top: .5rem; }
.learn-page :focus-visible { outline: 3px solid #577435; outline-offset: 3px; }

.learn-head h1, .reading-body h2, .detail-list-card strong { font-family: var(--serif); font-weight: 400; }
.detail-list-card { background: #fff; }

.learn-head .review-date {
  margin-top: .85rem;
  color: #546458;
  font-size: .875rem;
}
.reading-body details { margin-block: .85rem; }
.reading-body details summary { cursor: pointer; padding-block: .45rem; color: #345640; text-decoration: underline; text-underline-offset: .2em; }
.reading-body a:not(.learn-action) { text-decoration: underline; text-underline-offset: .2em; }
.reading-body table { width: 100%; border-collapse: collapse; margin-block: 1rem; }
.reading-body :is(th, td) { text-align: left; vertical-align: top; padding: .5rem; border-bottom: 1px solid var(--line); }

.world-contents { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap:.65rem; }
.world-contents a { display:block; background:#f4f7f4; padding:.75rem 1rem; border-radius:.3rem; }
.world-contents small { display:block; color:#526357; }

.info-page .team-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 0 clamp(1.4rem, 4vw, 3rem);
}
.info-page .team-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin: 0;
  padding: .75rem 0;
  border-top: 1px solid var(--line);
}
.team-list abbr { color: #45624f; font-size: .9rem; text-decoration: none; }
.info-links { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.info-links a { display: inline-block; padding-block: .4rem; }
.inquiry-example { padding: .4rem 0 .4rem 1rem; border-left: 2px solid #b9c9b9; }
