/* 先生・おうちの方へ のページ */
.doc { max-width: 720px; margin: 8px auto 40px; }
.doc h1 {
  font-size: clamp(1.5rem, 4.6vw, 2rem); font-weight: 600;
  letter-spacing: 0.08em; line-height: 1.4; margin-bottom: 6px;
}
.doc .sub { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 28px; }
.doc h2 {
  font-size: 1.1rem; font-weight: 600; letter-spacing: 0.06em;
  margin: 34px 0 10px; padding-bottom: 7px;
  border-bottom: 1px solid var(--line-dark);
}
.doc p { margin-bottom: 14px; word-break: auto-phrase; text-wrap: pretty; }
.doc ul { margin: 0 0 14px; }
.doc li { padding-left: 1.1em; text-indent: -1.1em; margin-bottom: 5px; }
.doc li::before { content: "・"; }
.doc blockquote {
  margin: 0 0 14px; padding: 12px 16px;
  background: var(--white); border-left: 3px solid var(--ai);
  font-size: 0.95rem; line-height: 1.9;
}
.doc blockquote p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin-bottom: 14px; }
.doc table { width: 100%; min-width: 460px; border-collapse: collapse; table-layout: fixed; font-size: 0.9rem; }
.doc th, .doc td {
  border: 1px solid var(--line-dark); padding: 7px 10px;
  text-align: left; vertical-align: top; line-height: 1.7;
}
.doc th { background: var(--ai-soft); font-weight: 600; white-space: nowrap; }
.doc td { word-break: auto-phrase; }
.doc .src { font-size: 0.83rem; color: var(--ink-soft); }
.doc .back { display: inline-block; margin-top: 30px; }
@media (max-width: 600px) {
  .doc table { font-size: 0.84rem; }
  .doc th, .doc td { padding: 6px 7px; }
}
