/* ==========================================================================
   Card Component (カードデザイン)
   ========================================================================== */
.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.spec-law-card {
  padding: 16px 12px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .card {
    padding: 2rem;
  }
}

/* ==========================================================================
   Intro Text & Links (導入文とリンクスタイル)
   ========================================================================== */
.intro-text {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}

.interactive-link {
  color: #2471a3;
  text-decoration: none;
  transition: color 0.2s;
}

.interactive-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Specification List (特定商取引法に基づく表記の定義リスト)
   ========================================================================== */
/* スマホ幅での読みやすさを追求した縦積みリストレイアウト */
.spec-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spec-item {
  border-bottom: 1px solid #e1e8ed;
  padding-bottom: 12px;
}

.spec-end{
  border: none;
  padding-bottom: 0;
}

.spec-item dt {
  font-weight: bold;
  font-size: 0.9rem;
  color: #2471a3; /* 項目を会社のブランド青に統一 */
  margin-bottom: 4px;
}

.spec-item dd {
  color: #444;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.sub-info {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 4px;
}

/* ==========================================================================
   Important Item (キャンセル・返金用の警告コールアウト)
   ========================================================================== */
.important-item {
  background-color: #fdf2f2; /* 警告を促す薄い赤背景 */
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  padding: 12px;
  margin: 8px 0;
}

.important-title {
  color: #c0392b !important; /* 重要警告用の赤 */
  font-size: 0.95rem !important;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px !important;
}

.important-desc {
  color: #2c3e50;
  font-size: 0.9rem;
  line-height: 1.6;
}

.important-desc strong {
  color: #c0392b;
}

/* ==========================================================================
   Environment Info (動作環境用のリスト表示)
   ========================================================================== */
.env-info {
  font-size: 0.9rem;
}

.env-category {
  font-weight: bold;
  margin-top: 8px;
  color: #2c3e50;
}

.env-info ul {
  margin-left: 20px;
  margin-bottom: 8px;
}

.env-info li {
  margin-bottom: 4px;
}

/* ==========================================================================
   Buttons & Action Area (下部戻るボタン等)
   ========================================================================== */
.action-area {
  margin-top: 24px;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

.btn-secondary-back {
  background-color: #5f6c8d;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary-back:hover {
  background-color: #4b5772;
}

.tokushoho-footer-info {
  margin-top: 40px;
  border-top: 1px solid #e1e8ed;
  padding-top: 16px;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.6;
}

.appendix {
  color: #333;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.operator {
  text-align: right;
  margin-top: 8px;
}