/* terms.css - 規約・禁止事項・免責事項ページ用スタイル */

.terms-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6c757d;
}

.terms-pr-box {
  background-color: #f8f9fa;
  border-left: 4px solid #495057;
  border-radius: 8px;
}

.terms-toc a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  color: #212529;
  text-decoration: none;
  font-size: 0.9rem;
  background-color: rgba(0, 0, 0, 0.02);
}

.terms-toc a:hover {
  background-color: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
}

.terms-article {
  scroll-margin-top: 84px;
}

.terms-ol {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.terms-ol > li {
  margin-bottom: 0.75rem;
  line-height: 1.75;
}

.terms-ol > li:last-child {
  margin-bottom: 0;
}

.terms-ng-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.terms-ng-item {
  scroll-margin-top: 84px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.65);
}

.terms-ng-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.terms-ng-item p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #343a40;
}

.terms-ad-slot {
  padding: 1rem;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.015);
}

/* パンくずリスト */
.terms-breadcrumb {
  font-size: 0.82rem;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.terms-breadcrumb .breadcrumb-item a {
  color: #495057;
  text-decoration: none;
}

.terms-breadcrumb .breadcrumb-item a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.terms-breadcrumb .breadcrumb-item.active {
  color: #6c757d;
  font-weight: 600;
}

/* Linkカード内の各項目をスマホでも押しやすくする */
.ios-card .list-group-item {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  min-height: 48px; /* スマホのタップ推奨サイズ目安 */
  border-radius: 10px;
}

.ios-card .list-group-item:hover,
.ios-card .list-group-item:active {
  background-color: rgba(0, 0, 0, 0.04);
}

.terms-jump-btn {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background-color: rgba(13, 110, 253, 0.07);
  color: #0d6efd;
  font-weight: 600;
  font-size: 0.9rem;
}

.terms-jump-btn:hover,
.terms-jump-btn:active {
  background-color: rgba(13, 110, 253, 0.14);
  color: #0a58ca;
}

/* アフィリエイトカード（単一枠でスッキリ配置） */
.aff-card {
  padding: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.72);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.aff-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.22);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.aff-card-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* A8.netリンクのCTAボタン化（控えめなモノトーン・iOS風） */
.aff-link-slot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.aff-link-slot a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background-color: #111827;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.15s ease;
}

.aff-link-slot a::after {
  content: "↗";
  font-size: 0.85rem;
  opacity: 0.85;
}

.aff-link-slot a:hover {
  background-color: #273249;
  color: #ffffff;
}

.aff-link-slot a:active {
  transform: scale(0.98);
}

/* 1px計測画像のレイアウト崩れ防止 */
.aff-link-slot img {
  display: inline-block;
  width: 1px !important;
  height: 1px !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  vertical-align: middle;
}