@charset "UTF-8";
/* ==========================================================================
   mock-exam-september.css｜9月共通テスト模試コラム専用CSS（第3層・v1.0）
   作成：2026-11-30（Antigravity）
   前提：style.css ＋ type-column.css（v1.16）の後に読み込む
   接頭辞：ms-（mock-exam-september）
   内容：冒頭の全体流れ図（HTML/CSS 概念図）
   ========================================================================== */

/* ===== 冒頭の全体流れ図 ===== */
.ms-hero-figure {
  max-width: none;
  margin: 0;
}

.ms-concept {
  padding: clamp(14px, 1.8vw, 20px);
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.ms-concept-title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  word-break: auto-phrase;
  text-wrap: balance;
}

.ms-concept-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.ms-concept-item {
  position: relative;
  padding: 10px 14px;
  background: var(--bg-white);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
}

.ms-concept-item--start {
  background: #edf3fa;
}

.ms-concept-item--goal {
  background: #faf2f0;
  border-color: var(--accent);
}

.ms-concept-item:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 50%;
  top: calc(100% + 1px);
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  color: var(--navy);
}

.ms-concept-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
  word-break: auto-phrase;
  text-wrap: balance;
}

.ms-concept-item--goal strong {
  color: var(--accent);
}

.ms-concept-item span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text);
  word-break: auto-phrase;
  text-wrap: balance;
}

@media (max-width: 960px) {
  .ms-hero-figure {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .ms-concept {
    padding: 12px;
  }

  .ms-concept-item {
    padding: 9px 10px;
  }

  .ms-concept-item strong {
    font-size: 13.5px;
  }

  .ms-concept-item span {
    font-size: 12px;
  }
}
