/* Post-Action Offer Style (WCAG 2.1 AA準拠・博報堂/電通水準デザイン) */
.pao {
  margin: 32px 0;
  padding: 28px 24px;
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #c9d3df;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
  max-width: 100%;
}

.pao[hidden] {
  display: none !important;
}

.pao__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pao__pr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  background: #0f172a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 4px;
  letter-spacing: 0.05em;
  line-height: 1;
}

.pao__caption {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.pao__title {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: #0f172a;
}

.pao__lead {
  margin: 0 0 20px 0;
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
}

.pao__action-area {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.pao__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px; /* 最小タップ領域 48px 厳守 */
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.pao__btn--sub {
  background: #f8fafc;
  color: #0b5cab;
  border: 2px solid #0b5cab;
  width: 100%;
  max-width: 320px;
}

.pao__btn--sub:hover {
  background: #eff6ff;
}

.pao__btn--primary {
  background: #0b5cab;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(11, 92, 171, 0.25);
}

.pao__btn--primary:hover {
  background: #08437d;
}

.pao__status {
  min-height: 1.4em;
  margin: 8px 0 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #059669;
}

.pao__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.pao__item {
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.pao__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pao__name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.pao__note {
  font-size: 13px;
  color: #64748b;
}

.pao__disclosure {
  margin: 20px 0 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #475569;
}

@media (max-width: 640px) {
  .pao {
    padding: 20px 16px;
  }
  .pao__item {
    flex-direction: column;
    align-items: stretch;
  }
  .pao__btn--primary,
  .pao__btn--sub {
    width: 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   実務電卓 プロダクト推薦カード (Amazonアソシエイト)
   ========================================================================== */
.calculator-recommend-card {
  margin: 40px 0 32px 0;
  padding: 28px 24px;
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #c9d3df;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
}

.crc-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.crc-pr-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  background: #0f172a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 4px;
  letter-spacing: 0.05em;
  line-height: 1;
}

.crc-category-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.crc-content-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: center;
}

.crc-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.crc-calc-illustration {
  width: 80px;
  height: 80px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crc-info-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crc-product-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  color: #0f172a;
}

.crc-product-lead {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: #475569;
}

.crc-feature-list {
  list-style: none;
  margin: 4px 0 8px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.crc-feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.crc-cta-row {
  margin-top: 8px;
}

.crc-buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  background: #ff9900;
  color: #111111 !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(255, 153, 0, 0.3);
  transition: all 0.2s ease;
}

.crc-buy-button:hover {
  background: #e68a00;
  color: #000000 !important;
  transform: translateY(-1px);
}

.crc-disclosure {
  margin: 16px 0 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: #475569;
}

@media (max-width: 640px) {
  .calculator-recommend-card {
    padding: 20px 16px;
  }
  .crc-content-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .crc-calc-illustration {
    width: 64px;
    height: 64px;
  }
  .crc-calc-illustration svg {
    width: 48px;
    height: 48px;
  }
  .crc-buy-button {
    width: 100%;
  }
}

/* ==========================================================================
   A8.net バナー レスポンシブ＆横揺れ完全防止スタイル (360px〜PC対応)
   ========================================================================== */
.a8-banner-unit {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 340px !important;
  margin: 28px auto !important;
  overflow: hidden !important;
}

.a8-banner-unit a {
  display: inline-block !important;
  max-width: 100% !important;
}

.a8-banner-unit img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

.a8-banner-sidebar {
  box-sizing: border-box !important;
  width: 100% !important;
  overflow: hidden !important;
}

.a8-banner-sidebar a {
  display: inline-block !important;
  max-width: 100% !important;
}

.a8-banner-sidebar img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

@media (max-width: 480px) {
  .a8-banner-unit {
    padding: 12px 8px !important;
    margin: 20px auto !important;
    max-width: 100% !important;
  }
  .a8-banner-sidebar {
    padding: 12px 8px !important;
    margin-top: 12px !important;
  }
}
