/* static/css/step_demo_slider.css */
/* コラム記事内で、アプリの操作画面をHTML/CSSで再現して見せるためのスライダー部品。
   awsbomb側のLPで使っている step_demo.css の考え方を、コラム記事用に簡略移植したもの。 */

.step-demo-slider {
  width: 100%;
  max-width: 34rem;
  margin: 1.2rem auto 1.5rem;
  user-select: none;
}

.step-demo-caption {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: #444;
  font-weight: 700;
  text-align: center;
  min-height: 1.2em;
}

.step-demo-viewport {
  overflow: hidden;
  border-radius: 0.6rem;
  border: 1px solid #9aa5b1;
  box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.12);
}

.step-demo-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.45s ease-in-out;
}

.step-demo-frame {
  flex: 0 0 100%;
  width: 100%;
  padding: 0.9rem;
  background: #f0f8ff;
  box-sizing: border-box;
}

.step-demo-footer {
  display: flex;
  justify-content: center;
  margin-top: 0.7rem;
}

.step-demo-navs {
  display: flex;
  gap: 0.5rem;
}

.step-demo-nav {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #bbb;
  border-radius: 50%;
  background: #fff;
  color: #555;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.step-demo-nav:hover {
  background: #eff6ff;
  border-color: #0175d8;
  color: #0175d8;
}

.step-demo-nav.is-active {
  background: #0175d8;
  border-color: #0175d8;
  color: #fff;
}

/* ====== モーダル画面のモックアップ ====== */

.step-demo-modal {
  border: 1px solid #d0d5dd;
  border-radius: 0.6rem;
  background: #ffffff;
  overflow: hidden;
}

.step-demo-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  background: #f7fbff;
  border-bottom: 1px solid #ddd;
}

.step-demo-modal__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
}

.step-demo-modal__close {
  font-size: 1rem;
  color: #666;
  line-height: 1;
}

.step-demo-modal__body {
  padding: 0.75rem 0.85rem;
  text-align: left;
}

.step-demo-modal__notice {
  margin: 0 0 0.7rem;
  padding: 0.5rem 0.65rem;
  background: #fffbeb;
  border: 1px solid #f0d78a;
  border-radius: 0.4rem;
  font-size: 0.74rem;
  color: #555;
  line-height: 1.6;
}

.step-demo-modal__field {
  margin-bottom: 0.6rem;
}

.step-demo-modal__label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #111827;
}

.step-demo-modal__input,
.step-demo-modal__textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.4rem 0.55rem;
  border: 1px solid #ccc;
  border-radius: 0.35rem;
  background: #fff;
  color: #333;
  font-size: 0.8rem;
  font-family: inherit;
}

.step-demo-modal__textarea {
  min-height: 3.6rem;
  resize: none;
  white-space: pre-wrap;
}

.step-demo-modal__help {
  margin: 0.3rem 0 0;
  font-size: 0.68rem;
  color: #888;
}

.step-demo-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: #f7fbff;
  border-top: 1px solid #ddd;
}

.step-demo-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 0.35rem;
  background: #fff;
  color: #333;
  font-size: 0.78rem;
  font-weight: 700;
}

.step-demo-modal__btn--primary {
  border-color: #0175d8;
  background: #0175d8;
  color: #fff;
}

.step-demo-modal__btn--gmail {
  border-color: #ea4335;
  background: #ea4335;
  color: #fff;
}

/* ====== 宛先カード（氏名・電話番号など） ====== */

.step-demo-recipient {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.step-demo-recipient span {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.35rem 0.5rem;
  border: 1px solid #ccc;
  border-radius: 0.35rem;
  background: #fff;
  font-size: 0.78rem;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ====== QRコードのモック（実際のQRではなく雰囲気を再現したもの） ====== */

.step-demo-qr-mock {
  width: 6.5rem;
  height: 6.5rem;
  margin: 0.4rem auto 0.6rem;
  border: 1px solid #ccc;
  border-radius: 0.3rem;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #222 25%, transparent 25%, transparent 75%, #222 75%, #222),
    linear-gradient(45deg, #222 25%, transparent 25%, transparent 75%, #222 75%, #222);
  background-size: 1rem 1rem;
  background-position: 0 0, 0.5rem 0.5rem;
  position: relative;
}

.step-demo-qr-mock::after {
  content: "";
  position: absolute;
  inset: 1.6rem;
  background: #fff;
  border: 0.35rem solid #222;
}

.step-demo-qr-caption {
  text-align: center;
  font-size: 0.68rem;
  color: #888;
  margin: 0 0 0.6rem;
}

.step-demo-open-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid #cfe0ff;
  color: #0175d8;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 600px) {
  .step-demo-recipient { flex-direction: column; }
}

/* ====== 調整表（マトリクス）のモックアップ ====== */

.step-demo-screen-title {
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
}

.step-demo-matrix-note {
  margin: 0 0 0.7rem;
  padding: 0.5rem 0.65rem;
  background: #fffbeb;
  border: 1px solid #f0d78a;
  border-radius: 0.4rem;
  font-size: 0.74rem;
  color: #555;
  line-height: 1.6;
}

.step-demo-matrix-wrap {
  overflow-x: auto;
  border-radius: 0.5rem;
  border: 1px solid #d0d5dd;
  background: #fff;
}

.step-demo-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.step-demo-matrix th,
.step-demo-matrix td {
  padding: 0.5rem 0.6rem;
  border: 1px solid #e5e9f0;
  text-align: center;
  white-space: nowrap;
}

.step-demo-matrix thead th {
  background: #f7fbff;
  font-weight: 700;
  color: #333;
}

.step-demo-matrix tbody th {
  text-align: left;
  background: #fafbfd;
  font-weight: 700;
  color: #333;
}

.step-demo-matrix__row--own {
  background: #eef7ff;
}

.step-demo-matrix__row--own th {
  color: #0175d8;
}

.step-demo-matrix__cell--editable {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 3.2rem;
  padding: 0.15rem 0.4rem;
  border: 1px solid #0175d8;
  border-radius: 0.3rem;
  background: #fff;
  color: #0175d8;
  font-weight: 700;
}

.step-demo-matrix__cell--editable::after {
  content: "▾";
  font-size: 0.65rem;
}

.step-demo-matrix__cell--readonly {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  padding: 0.15rem 0.4rem;
  border-radius: 0.3rem;
  background: #f2f2f2;
  color: #666;
  font-weight: 700;
}

.step-demo-matrix__hidden-row td {
  padding: 0.9rem 0.6rem;
  color: #999;
  font-size: 0.74rem;
  background: #fafafa;
}

/* 画面（モックアップ）の外に置く凡例。実画面の一部に見えないよう、枠・背景をあえて分ける */
.step-demo-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.6rem;
  padding: 0 0.2rem;
}

.step-demo-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: #666;
}

.step-demo-legend__swatch {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 0.2rem;
}

.step-demo-legend__swatch--editable {
  background: #fff;
  border: 1px solid #0175d8;
}

.step-demo-legend__swatch--readonly {
  background: #f2f2f2;
  border: 1px solid #ccc;
}

.step-demo-legend__swatch--hidden {
  background: #fafafa;
  border: 1px dashed #ccc;
}

/* ====== 確定表（FIX表）のモックアップ ====== */

.step-demo-fixtable-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

.step-demo-fixtable__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1.1rem;
  border: 1px solid #6b7280;
  border-radius: 0.35rem;
  background: #6b7280;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.step-demo-fixtable-wrap {
  overflow-x: auto;
  border-radius: 0.5rem;
  border: 1px solid #d0d5dd;
  background: #fff;
}

.step-demo-fixtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
}

.step-demo-fixtable th,
.step-demo-fixtable td {
  padding: 0.45rem 0.55rem;
  border: 1px solid #e5e9f0;
  text-align: center;
  white-space: nowrap;
}

.step-demo-fixtable thead th {
  background: #f7fbff;
  font-weight: 700;
  color: #333;
}

.step-demo-fixtable tbody th {
  text-align: left;
  background: #fafbfd;
  font-weight: 700;
  color: #333;
}

.step-demo-fixtable__toggle-cell {
  text-align: left;
  white-space: nowrap;
}

.step-demo-fixtable__toggle-active {
  color: #111827;
  font-weight: 700;
}

.step-demo-fixtable__toggle-sep {
  margin: 0 0.3rem;
  color: #ccc;
}

.step-demo-fixtable__toggle-link {
  color: #0175d8;
  font-weight: 700;
}

.step-demo-fixtable__header-checkbox,
.step-demo-fixtable__cell-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 1rem;
  height: 1rem;
  margin: 0;
  border: 1px solid #9aa5b1;
  border-radius: 0.25rem;
  background: #fff;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  flex: 0 0 auto;
}

.step-demo-fixtable__header-checkbox:checked,
.step-demo-fixtable__cell-checkbox:checked {
  background: #16a34a;
  border-color: #16a34a;
}

.step-demo-fixtable__header-checkbox:checked::after,
.step-demo-fixtable__cell-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.08rem;
  width: 0.28rem;
  height: 0.5rem;
  border: solid #fff;
  border-width: 0 0.15rem 0.15rem 0;
  transform: rotate(45deg);
}

.step-demo-fixtable__header-checkbox:disabled,
.step-demo-fixtable__cell-checkbox:disabled {
  opacity: 1;
}

.step-demo-fixtable__header-checkbox:disabled:not(:checked) {
  background: #f2f2f2;
  border-color: #ddd;
}

.step-demo-fixtable__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 0.3rem;
  background: #f2f2f2;
  color: #666;
  font-weight: 700;
}

.step-demo-fixtable__cell-value {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.step-demo-fixtable__col--checked {
  background: #eaf6ee;
}

.step-demo-fixtable__col--checked th {
  color: #16a34a;
}

.step-demo-fixtable__col--checked .step-demo-fixtable__status {
  background: #dcf5e3;
  color: #16a34a;
}

/* ====== 確定通知メール（3人分を横並びで見せるモック） ====== */

.step-demo-mail-grid {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.step-demo-mail-card {
  flex: 0 0 10.8rem;
  min-width: 10.8rem;
  border: 1px solid #d0d5dd;
  border-radius: 0.5rem;
  background: #fff;
  overflow: hidden;
}

.step-demo-mail-card__to {
  margin: 0;
  padding: 0.35rem 0.5rem;
  background: #eef4ff;
  border-bottom: 1px solid #d0d5dd;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0175d8;
  text-align: center;
}

.step-demo-mail-card__window {
  padding: 0.55rem 0.6rem;
}

.step-demo-mail-card__subject {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
}

.step-demo-mail-card__from {
  margin: 0 0 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #e5e9f0;
  font-size: 0.62rem;
  color: #666;
  line-height: 1.5;
  word-break: break-all;
}

.step-demo-mail-card__body {
  font-size: 0.62rem;
  color: #333;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-all;
}

.step-demo-mail-card__body mark {
  background: #fff2a8;
  color: inherit;
  padding: 0 0.05rem;
}

/* ====== 操作方法デモ（チェック→個数→届け先→送信ボタン） ====== */

.step-demo-order-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.step-demo-frame .order-select-table {
  font-size: 0.74rem;
}

.step-demo-frame .order-select-table th,
.step-demo-frame .order-select-table td {
  padding: 0.3rem 0.35rem;
}

.step-demo-order-focus {
  background: #eaf3ff;
  box-shadow: inset 0 0 0 0.125rem #0175d8;
  border-radius: 0.3rem;
}

.step-demo-order-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem;
}

.step-demo-order-row--center {
  justify-content: center;
  margin-top: 0.9rem;
}

.step-demo-order-mock {
  pointer-events: none;
}

.step-demo-order-focus-btn {
  box-shadow: 0 0 0 0.2rem rgba(1, 117, 216, 0.35);
}

/* ====== 関係者一覧・個別メモのモックアップ ====== */

.step-demo-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-demo-contact-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.step-demo-contact-search {
  flex: 1 1 8rem;
  min-width: 0;
  padding: 0.35rem 0.55rem;
  border: 1px solid #ccc;
  border-radius: 0.35rem;
  background: #fff;
  color: #999;
  font-size: 0.72rem;
}

.step-demo-contact-btn {
  flex: 0 0 auto;
  padding: 0.32rem 0.6rem;
  border: 1px solid #ccc;
  border-radius: 0.35rem;
  background: #f2f2f2;
  color: #666;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.step-demo-contact-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid #d0d5dd;
  border-left: 0.2rem solid #d0d5dd;
  border-radius: 0.4rem;
  background: #fff;
}

.step-demo-contact__name {
  flex: 0 0 auto;
  min-width: 3.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #111827;
}

.step-demo-contact__icons {
  flex: 0 0 auto;
  display: inline-flex;
  gap: 0.25rem;
}

.step-demo-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 700;
}

.step-demo-contact__icon--on {
  background: #dcf5e3;
  color: #16a34a;
}

.step-demo-contact__icon--off {
  background: #f0f0f0;
  color: #aaa;
}

.step-demo-contact__arrow {
  flex: 0 0 auto;
  color: #aaa;
  font-size: 0.7rem;
}

.step-demo-contact-row {
  justify-content: flex-start;
}

.step-demo-contact__memo-status {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.step-demo-contact__memo-status--filled {
  padding: 0.15rem 0.5rem;
  border-radius: 0.3rem;
  background: #fff4d6;
  color: #b45309;
}

.step-demo-contact__memo-status--empty {
  color: #999;
}

/* メモモーダル（記録／確認の両方で共通のUI）内で使う補助パーツ */

.step-demo-modal__subtitle {
  display: block;
  margin: -0.2rem 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #333;
}

.step-demo-modal__counter {
  display: block;
  margin-top: 0.3rem;
  text-align: right;
  font-size: 0.68rem;
  color: #999;
}

/* 案件設定（候補日作成）画面の中で開く、その案件だけの関係者ミニ一覧 */

.step-demo-project-panel {
  padding: 0.6rem 0.7rem;
  margin-bottom: 0.9rem;
  border: 1px solid #d0d5dd;
  border-radius: 0.5rem;
  background: #f7fbff;
}

.step-demo-project-panel__title {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #111827;
}

.step-demo-project-participant {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.55rem;
  margin-bottom: 0.4rem;
  border: 1px solid #d0d5dd;
  border-radius: 0.4rem;
  background: #fff;
  font-size: 0.78rem;
  color: #111827;
}

.step-demo-project-participant:last-child {
  margin-bottom: 0;
}

.step-demo-project-participant__memo-btn {
  flex: 0 0 auto;
  padding: 0.15rem 0.5rem;
  border-radius: 0.3rem;
  background: #fff4d6;
  color: #b45309;
  font-size: 0.68rem;
  font-weight: 700;
}

/* メニュー画面の「宛先管理」カード（関係者一覧を開く入口） */

.step-demo-entry-card {
  position: relative;
  max-width: 20rem;
  margin: 0.7rem auto 0;
  padding: 1.4rem 1rem 0.9rem;
  border: 1px solid #d0d5dd;
  border-radius: 0.6rem;
  background: #f7fbff;
}

.step-demo-entry-card__header {
  position: absolute;
  top: -0.7rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid #d0d5dd;
  border-radius: 0.4rem;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  color: #111827;
}

.step-demo-entry-card__desc {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  color: #555;
}

.step-demo-entry-card__btn {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid #999;
  border-radius: 0.35rem;
  background: #fff;
  color: #111827;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ====== 案件の関係者ごとの進捗一覧（調整送信〜確定確認）のモックアップ ====== */

.step-demo-progress-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.step-demo-progress-card {
  padding: 0.6rem 0.7rem;
  border: 1px solid #d0d5dd;
  border-radius: 0.5rem;
  background: #fff;
}

.step-demo-progress-card--attention {
  border-color: #e08a00;
  background: #fffaf0;
}

.step-demo-progress-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.step-demo-progress-card__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #111827;
}

.step-demo-progress-card__resend-btn {
  flex: 0 0 auto;
  padding: 0.2rem 0.6rem;
  border: 1px solid #999;
  border-radius: 0.3rem;
  background: #f2f2f2;
  color: #333;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.step-demo-progress-card__rows {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.step-demo-progress-card__row {
  display: flex;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #444;
}

.step-demo-progress-card__label {
  flex: 0 0 4.4rem;
  color: #888;
}

.step-demo-progress-card__value {
  color: #333;
}

.step-demo-progress-card__value--empty {
  color: #c0392b;
  font-weight: 700;
}

/* ====== 案件一覧（確定済みカード）のモックアップ：プロジェクト単位の一斉ボタンと、関係者ごとの個別ボタン ====== */

.step-demo-confirmed-card {
  border: 1px solid #d0d5dd;
  border-radius: 0.5rem;
  background: #fff;
  overflow: hidden;
}

.step-demo-confirmed-card__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.6rem 0.7rem;
  background: #f7fbff;
  border-bottom: 1px solid #e5e9f0;
}

.step-demo-confirmed-card__badge {
  flex: 0 0 auto;
  padding: 0.15rem 0.5rem;
  border-radius: 0.3rem;
  background: #16a34a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.step-demo-confirmed-card__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0175d8;
}

.step-demo-confirmed-card__date {
  flex: 0 0 auto;
  font-size: 0.7rem;
  color: #888;
}

.step-demo-confirmed-card__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid #e5e9f0;
}

.step-demo-confirmed-card__toolbar-btn {
  flex: 0 0 auto;
  padding: 0.3rem 0.6rem;
  border: 1px solid #ccc;
  border-radius: 0.3rem;
  background: #f2f2f2;
  color: #333;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.step-demo-confirmed-card__toolbar-btn--danger {
  border-color: #f2b8b8;
  background: #fdeceb;
  color: #c0392b;
}

.step-demo-confirmed-table {
  display: flex;
  flex-direction: column;
}

.step-demo-confirmed-table__head {
  display: flex;
  padding: 0.5rem 0.7rem;
  background: #fafbfd;
  border-bottom: 1px solid #e5e9f0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #111827;
}

.step-demo-confirmed-table__row {
  display: flex;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid #eef0f3;
}

.step-demo-confirmed-table__row:last-child {
  border-bottom: none;
}

.step-demo-confirmed-table__col--participant {
  flex: 0 0 6.4rem;
}

.step-demo-confirmed-table__col--date {
  flex: 0 0 7.2rem;
}

.step-demo-confirmed-table__col--progress {
  flex: 1 1 auto;
  min-width: 0;
}

.step-demo-confirmed-table__name {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #111827;
}

.step-demo-confirmed-table__actions {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.step-demo-confirmed-table__action-btn {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border: 1px solid #ccc;
  border-radius: 0.3rem;
  background: #f2f2f2;
  color: #333;
  font-size: 0.64rem;
  font-weight: 700;
  text-align: center;
}

.step-demo-confirmed-table__date-value {
  font-size: 0.76rem;
  color: #333;
}

/* 実画面上のボタンはそのままに、上から赤丸で囲って「このボタン」を示す */

.step-demo-circle-mark {
  position: relative;
  display: inline-block;
}

.step-demo-circle-mark::after {
  content: "";
  position: absolute;
  inset: -0.4rem -0.55rem;
  border: 0.14rem solid #e53935;
  border-radius: 50%;
  pointer-events: none;
}

/* ====== 確定再通知：全員一斉／1人だけ個別の対比 ====== */

.step-demo-resend-block {
  padding: 0.7rem 0.75rem;
  border: 1px solid #d0d5dd;
  border-radius: 0.5rem;
  background: #fff;
}

.step-demo-resend-block__label {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #666;
}

.step-demo-resend-block__btn {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid #999;
  border-radius: 0.35rem;
  background: #f2f2f2;
  color: #333;
  font-size: 0.78rem;
  font-weight: 700;
}

.step-demo-resend-divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.7rem 0;
  color: #aaa;
  font-size: 0.72rem;
}

.step-demo-resend-divider::before,
.step-demo-resend-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #e5e9f0;
}

/* ====== 確定通知メッセージのプレビュー ====== */

.step-demo-notice-preview {
  padding: 0.7rem 0.8rem;
  border: 1px solid #d0d5dd;
  border-radius: 0.5rem;
  background: #fafbfd;
  font-size: 0.78rem;
  color: #333;
  line-height: 1.9;
  white-space: pre-wrap;
}

.step-demo-notice-preview mark {
  background: #fff2a8;
  color: inherit;
  padding: 0 0.1rem;
}

/* ====== 関係者が開く「確定内容の確認」ページ ====== */

.step-demo-confirm-page {
  padding: 1rem 0.9rem;
  border: 1px solid #d0d5dd;
  border-radius: 0.5rem;
  background: #fff;
  text-align: center;
}

.step-demo-confirm-page__title {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
}

.step-demo-confirm-page__lead {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  color: #555;
}

.step-demo-confirm-page__row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: #333;
}

.step-demo-confirm-page__label {
  color: #888;
}

/* メモ編集モーダル内の連絡手段・曜日タグ */

.step-demo-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.3rem;
}

.step-demo-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #f2f2f2;
  color: #999;
  font-size: 0.7rem;
  font-weight: 700;
}

.step-demo-tag--off {
  border-color: #f2b8b8;
  background: #fdeceb;
  color: #c0392b;
  text-decoration: line-through;
}

.step-demo-tag--on {
  border-color: #0175d8;
  background: #eef6ff;
  color: #0175d8;
}

/* 候補日作成画面で、関係者メモを横に並べて参照させるレイアウト */

.step-demo-split {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.step-demo-split__panel {
  flex: 1 1 0;
  min-width: 0;
}

.step-demo-split__panel-title {
  margin: 0 0 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #666;
}

.step-demo-memo-card {
  padding: 0.55rem 0.6rem;
  border: 1px solid #d0d5dd;
  border-radius: 0.5rem;
  background: #fafbfd;
  font-size: 0.72rem;
  color: #444;
  line-height: 1.6;
}

.step-demo-candidate-mock {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.step-demo-candidate-row {
  display: block;
  padding: 0.35rem 0.5rem;
  border: 1px solid #e5e9f0;
  border-radius: 0.4rem;
  background: #fff;
  font-size: 0.72rem;
  color: #333;
}

.step-demo-candidate-row--excluded {
  background: #fafafa;
  color: #aaa;
  text-decoration: line-through;
}

.step-demo-candidate-row--picked {
  border-color: #0175d8;
  background: #eef6ff;
  color: #0175d8;
  font-weight: 700;
}

@media (max-width: 600px) {
  .step-demo-split {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .step-demo-confirmed-table__row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .step-demo-confirmed-table__col--participant,
  .step-demo-confirmed-table__col--date,
  .step-demo-confirmed-table__col--progress {
    flex: 1 1 auto;
    width: 100%;
  }
}
