/* 管理者設定で OFF の導線 */
.is-channel-hidden,
[data-quote-channel][hidden],
[data-quote-channel-lead][hidden] {
  display: none !important;
}

/* TOP — 統一CTAボタン（査定 / 電話 / LINE） */
.home-action-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

.home-action-stack__lead {
  margin: 0.125rem 0 -0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary, #113c91);
  text-align: center;
}

.home-action-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  min-height: 4.25rem;
  padding: 0.5rem 0.75rem 0.5rem 0.625rem;
  border: 0;
  border-radius: 9999px;
  text-decoration: none;
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 3px 12px rgba(17, 60, 145, 0.16);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* グラデーション＋白枠を本体から分離（角丸端の色にじみ防止） */
.home-action-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.home-action-btn > * {
  position: relative;
  z-index: 1;
}

.home-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(17, 60, 145, 0.22);
  color: #fff;
}

.home-action-btn__badge {
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.home-action-btn__badge--line {
  border-radius: 8px;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.home-action-btn__icon {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.home-action-btn__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.home-action-btn__hint {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.95;
}

.home-action-btn__title {
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.home-action-btn__go {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  position: relative;
}

.home-action-btn__go::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 46%;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ボタン色（グラデーション・バッジ）は home-action-button-colors.php / PublicHeadStyles で配信 */

/* コンパクト（STEP内など） */
.home-action-btn--compact {
  min-height: 3.5rem;
  max-width: 360px;
  margin-inline: auto;
}

.home-action-btn--compact .home-action-btn__title {
  font-size: 0.9375rem;
}

.home-action-btn--compact .home-action-btn__badge {
  flex: 0 0 2.375rem;
  width: 2.375rem;
  height: 2.375rem;
}

@media (min-width: 768px) {
  .home-action-btn {
    min-height: 4.5rem;
    padding: 0.625rem 0.875rem 0.625rem 0.75rem;
  }

  .home-action-btn__title {
    font-size: 1.125rem;
  }
}

/* チャンネル別セクション（買取の流れ） */
.home-steps-channels {
  display: flex;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.home-steps-channel {
  flex: 1;
  min-width: 0;
  padding: 0 1.5rem;
  border-left: 2px solid #e5e7eb;
}

.home-steps-channel:first-child {
  padding-left: 0;
  border-left: none;
}

.home-steps-channel:last-child {
  padding-right: 0;
}

.home-steps-channel__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.home-steps-channel__label {
  flex: 1 1 100%;
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.home-steps-channels .home-action-btn--compact {
  max-width: 100%;
  width: 100%;
}

/* PC 縦並びオーバーライド */
.home-steps-channels--desktop-col {
  flex-direction: column;
}

.home-steps-channels--desktop-col .home-steps-channel {
  padding: 1.5rem 0 0;
  border-left: none;
  border-top: 2px solid #e5e7eb;
  width: 100%;
}

.home-steps-channels--desktop-col .home-steps-channel:first-child {
  padding-top: 0;
  border-top: none;
}

@media (max-width: 767px) {
  .home-steps-channels {
    flex-direction: column;
  }

  .home-steps-channel {
    padding: 1.5rem 0 0;
    border-left: none;
    border-top: 2px solid #e5e7eb;
    width: 100%;
  }

  .home-steps-channel:first-child {
    padding-top: 0;
    border-top: none;
  }

  /* スマホ横並びオーバーライド */
  .home-steps-channels--mobile-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .home-steps-channels--mobile-row .home-steps-channel {
    padding: 0 1.5rem;
    border-top: none;
    border-left: 2px solid #e5e7eb;
    width: auto;
  }

  .home-steps-channels--mobile-row .home-steps-channel:first-child {
    padding-left: 0;
    border-left: none;
  }
}
