@charset "UTF-8";
/* ==========================================================================
   ronin-or-enroll.css｜もう一年か、進学か 専用CSS（第3層・v1.0）
   作成：2026-11-30（Antigravity）
   前提：style.css（v4.0）＋ type-column.css（v1.16）の後に読み込む
   接頭辞：roe-（ronin-or-enroll）
   ========================================================================== */

/* ===== 冒頭HTML/CSS概念図 ===== */
.roe-hero-figure {
  max-width: none;
  margin: 0;
}

.roe-concept {
  padding: clamp(14px, 1.8vw, 18px);
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

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

.roe-concept-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 11px;
  background: var(--bg-white);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  text-align: left;
}

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

.roe-step-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
}

.roe-step-text {
  flex: 1 1 auto;
  min-width: 0;
}

.roe-step-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  word-break: auto-phrase;
  text-wrap: balance;
}

.roe-step-text span {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text);
  word-break: auto-phrase;
  text-wrap: balance;
}

.roe-concept-arrow {
  margin: 4px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

.roe-concept-goal {
  padding: 9px 12px;
  background: #faf2f0;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  text-align: center;
}

.roe-concept-goal strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--accent);
  word-break: auto-phrase;
  text-wrap: balance;
}

.roe-concept-goal span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text);
  word-break: auto-phrase;
  text-wrap: balance;
}

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

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

  .roe-concept-item {
    padding: 7px 9px;
    gap: 8px;
  }

  .roe-step-text strong,
  .roe-concept-goal strong {
    font-size: 13px;
  }

  .roe-step-text span,
  .roe-concept-goal span {
    font-size: 11.5px;
  }
}
