/* 追記CSS（style.css は編集せず、こちらに追記する） */

/* アクションカードを用途別に2グループへ分割 */
.action-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.action-group + .action-group {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed #d8cabd;
}

.action-group__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9a8b7d;
}

/* グループ内ではジグザグ配置を無効化し、横幅を揃える */
.action-group .action-card,
.action-group .action-card:nth-child(odd),
.action-group .action-card:nth-child(even) {
  width: 100%;
  align-self: stretch;
}

/* PDF資料カードは「書類」寄りの別デザイン（塗りカードと差別化） */
.action-card--doc {
  background: #ffffff;
  border: 1px solid #e6ddd4;
  border-left: 5px solid var(--accent, #6e341e);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.action-card--doc .action-card__icon {
  background: transparent;
  color: var(--accent, #6e341e);
  font-size: 28px;
}

.action-card--doc .action-card__title::after {
  content: "PDF";
  margin-left: 8px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--accent, #6e341e);
  border-radius: 4px;
  vertical-align: middle;
}

/* 設定マニュアル用アクションカードの色 */
.action-card--manual {
  --accent: #3f7cb8;
  --card-bg: linear-gradient(135deg, #eef3f9, #dce8f3);
}

/* PC: 本文を上・ボタンを下に配置し、右カラムが縦に伸びる崩れを解消 */
@media screen and (min-width: 769px) {
  .osunaru-use-cases .intro-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 56px;
  }

  .osunaru-use-cases .intro-flex .intro-text {
    flex: 1 1 auto;
  }

  /* ボタン群は全幅で、2グループを横並びに */
  .osunaru-use-cases .intro-buttons {
    flex: 1 1 auto;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    gap: 0;
  }

  .osunaru-use-cases .action-group {
    flex: 1 1 0;
    max-width: 460px;
    padding: 0 28px;
  }

  .osunaru-use-cases .action-group:first-child {
    padding-left: 0;
  }

  /* 横並び時は上罫線ではなく左罫線で仕切る */
  .osunaru-use-cases .action-group + .action-group {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    border-left: 1px dashed #d8cabd;
  }
}
