/* ================================================================
   writing-task2/question-type — local.css
   ================================================================ */

/* ---- Subsection Heading (構成パターンN: ...) ---- */
.qt-h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin: 1.8rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--lb5);
}

/* ---- Template Formula Box ---- */
.qt-formula {
  background: rgba(4,63,109,.04);
  border: 1.5px solid rgba(4,63,109,.12);
  border-radius: 8px;
  padding: .9rem 1.2rem;
  margin: .5rem 0 1.3rem;
}
.qt-formula__row {
  display: flex;
  gap: .7rem;
  padding: .3rem 0;
  line-height: 1.65;
  align-items: flex-start;
}
.qt-formula__row:not(:last-child) {
  border-bottom: 1px dashed rgba(4,63,109,.1);
  padding-bottom: .5rem;
  margin-bottom: .1rem;
}
.qt-formula__label {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--lb);
  font-size: .82rem;
  font-family: 'Raleway', sans-serif;
  min-width: 3.8rem;
  padding-top: .05rem;
}
.qt-formula__text {
  color: var(--blue);
  font-size: .9rem;
  line-height: 1.7;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .qt-h3 { font-size: .97rem; margin-top: 1.5rem; }
  .qt-formula { padding: .75rem 1rem; }
  .qt-formula__label { min-width: 3.5rem; font-size: .78rem; }
  .qt-formula__text { font-size: .87rem; }
}
