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

/* 下部リボンの見積りボタン */
.ribbon-quote {
  background: #e67e22;
}

/* アクションカードを用途別に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;
  }
}

/* ご購入前の確認（ご利用料金セクション内・チェックリスト） */
.pre-check {
  max-width: 760px;
  margin: 28px auto 0;
}

.pre-check__title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d2d2d;
  margin: 0 0 6px;
}

.pre-check__lead {
  text-align: center;
  color: #777;
  font-size: 0.88rem;
  margin: 0 0 18px;
}

.pre-check__list {
  margin: 0;
  padding: 22px 26px;
  list-style: none;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.pre-check__item {
  position: relative;
  margin: 0 0 12px;
  padding-left: 28px;
  color: #555;
  font-size: 0.94rem;
  line-height: 1.8;
}

.pre-check__item:last-child {
  margin-bottom: 0;
}

.pre-check__item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #648cff;
  font-weight: 700;
}

.pre-check__label {
  font-weight: 700;
  color: #2d2d2d;
}

.pre-check__item strong {
  color: #2d2d2d;
}

/* よくあるご質問（アコーディオン・罫線区切り） */
.faq-ac {
  max-width: 880px;
  margin: 48px auto 0;
  border-top: 1px solid #e3e3e3;
}

.faq-ac__item {
  border-bottom: 1px solid #e3e3e3;
}

.faq-ac__btn {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 4px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-ac__btn:focus {
  outline: none;
}

.faq-ac__mark {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #648cff;
  line-height: 1.65;
}

.faq-ac__text {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2d2d2d;
  line-height: 1.65;
}

.faq-ac__chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #a8a098;
  stroke-width: 2;
  margin-top: 6px;
  transition: transform 0.22s;
}

.faq-ac__btn.open .faq-ac__chevron {
  transform: rotate(180deg);
}

.faq-ac__body {
  display: none;
  padding: 0 4px 22px 36px;
}

.faq-ac__body.open {
  display: block;
}

.faq-ac__body p {
  margin: 0 0 10px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.9;
}

.faq-ac__body p:last-child {
  margin-bottom: 0;
}

.faq-ac__body a {
  color: #648cff;
  text-decoration: underline;
}

.faq-ac__more {
  max-width: 880px;
  margin: 28px auto 0;
  text-align: center;
  color: #555;
  font-size: 0.93rem;
}

.faq-ac__more a {
  color: #648cff;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .pre-check {
    margin-top: 20px;
  }

  .pre-check__list {
    padding: 18px 16px;
  }

  .faq-ac {
    margin-top: 32px;
  }

  .faq-ac__btn {
    padding: 16px 2px;
    gap: 8px;
  }

  .faq-ac__text {
    font-size: 1rem;
  }

  .faq-ac__body {
    padding: 0 2px 18px 28px;
  }
}
