/* static/css/article_schedule-fix-flow.css */
/* 日程調整の全体フロー（候補日作成→入力→FIX→通知）のうち、
   この記事が扱っている工程を示すための簡易フロー図。
   article_schedule-flow.css と見た目のトーンを合わせつつ、
   工程数が少なく役割ラベル・複数ハイライトが必要なため専用CSSとして分離。 */

.fix-flow {
  margin: 1.8rem 0;
  padding: 1.1rem;
  border: 0.08rem solid #d9e6f7;
  border-radius: 1rem;
  background: #f8fbff;
}

.fix-flow__label {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #e8f1ff;
  color: #0175d8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fix-flow__lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #333;
}

.fix-flow__row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.3rem;
}

.fix-flow__step {
  position: relative;
  flex: 1 1 0;
  min-width: 7.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 0.6rem;
  border: 0.08rem solid #cfe0ff;
  border-radius: 0.7rem;
  background: #fff;
  text-align: center;
}

.fix-flow__role {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: #eef2f7;
  color: #555;
  font-size: 0.68rem;
  font-weight: 700;
}

.fix-flow__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
}

.fix-flow__arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa5b1;
  font-size: 1.1rem;
  font-weight: 700;
}

.fix-flow__step--scope {
  margin-top: 0.7rem;
  border-color: #0175d8;
  background: #eef6ff;
  box-shadow: 0 0.35rem 0.8rem rgba(1, 117, 216, 0.15);
}

.fix-flow__step--scope .fix-flow__role {
  background: #0175d8;
  color: #fff;
}

.fix-flow__step--scope::before {
  content: "この記事の範囲";
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: #0175d8;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  white-space: nowrap;
}

.fix-flow__note {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: #666;
  text-align: center;
}

@media (max-width: 600px) {
  .fix-flow {
    padding: 0.8rem;
    border-radius: 0.85rem;
  }

  .fix-flow__row {
    min-width: 0;
  }

  .fix-flow__step {
    min-width: 6.2rem;
    padding: 0.7rem 0.45rem;
  }

  .fix-flow__step--scope {
    margin-top: 0.85rem;
  }

  .fix-flow__title {
    font-size: 0.78rem;
  }

  .fix-flow__role {
    font-size: 0.62rem;
  }
}
