/* RockHill Diagnosis Result — Styles
 * Brand: rockhill.jp / カラー #990000
 * 軽量 / モバイル対応 / WordPress テーマと干渉しないよう .rd-card スコープ
 */

.rd-result-wrap {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Hiragino Sans', 'Yu Gothic', 'Meiryo', system-ui, -apple-system, sans-serif;
  color: #333;
  line-height: 1.8;
}

.rd-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.rd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.rd-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.rd-tag-business { background: #fff5e6; color: #c47900; }
.rd-tag-pattern  { background: #e8f4fd; color: #0066cc; }
.rd-tag-type     { background: #ffe6e6; color: #990000; }

.rd-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px !important;
  color: #222 !important;
  line-height: 1.4;
}

.rd-subtitle {
  color: #666;
  font-size: 14px;
  margin: 0 0 32px !important;
}
.rd-subtitle strong {
  color: #990000;
  font-size: 16px;
}

.rd-content {
  border-top: 1px solid #eee;
  padding-top: 32px;
}
.rd-content h1 {
  font-size: 22px !important;
  margin: 36px 0 16px !important;
  color: #222 !important;
}
.rd-content h2 {
  font-size: 20px !important;
  margin: 36px 0 12px !important;
  color: #990000 !important;
  border-left: 4px solid #990000 !important;
  padding-left: 12px !important;
  font-weight: 700 !important;
  background: transparent !important;
}
.rd-content h3 {
  font-size: 16px !important;
  margin: 24px 0 8px !important;
  color: #333 !important;
  font-weight: 600 !important;
  background: transparent !important;
}
.rd-content h4 {
  font-size: 14px !important;
  margin: 16px 0 6px !important;
  color: #555 !important;
  font-weight: 600 !important;
}
.rd-content p {
  margin: 0 0 16px !important;
  color: #333 !important;
}
.rd-content ul {
  padding-left: 24px !important;
  margin: 0 0 16px !important;
}
.rd-content li {
  margin: 6px 0 !important;
  color: #333 !important;
}
.rd-content strong {
  color: #990000 !important;
  font-weight: 700 !important;
}
.rd-content code {
  background: #f6f6f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #c00;
}
.rd-content table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
  font-size: 14px;
}
.rd-content th, .rd-content td {
  padding: 8px 12px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}
.rd-content th {
  background: #fafafa;
  font-weight: 600;
  color: #333;
}
.rd-content hr {
  border: none !important;
  border-top: 1px dashed #ddd !important;
  margin: 32px 0 !important;
}

.rd-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  text-align: center;
}
.rd-cta {
  display: inline-block;
  padding: 14px 36px;
  background: #990000 !important;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(153, 0, 0, 0.2);
}
.rd-cta:hover {
  background: #7a0000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(153, 0, 0, 0.3);
}
.rd-share-label {
  margin: 24px 0 6px;
  font-size: 12px;
  color: #888;
}
.rd-share-input {
  width: 100%;
  max-width: 480px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 12px;
  color: #555;
  font-family: 'Menlo', 'Consolas', monospace;
  background: #fafafa;
}
.rd-share-input:focus {
  outline: none;
  border-color: #990000;
  background: #fff;
}
.rd-disclaimer {
  margin: 20px 0 0;
  font-size: 12px;
  color: #999;
  line-height: 1.6;
}
.rd-disclaimer small {
  font-size: 11px;
  color: #aaa;
}

@media (max-width: 600px) {
  .rd-result-wrap { margin: 20px auto; padding: 0 12px; }
  .rd-card { padding: 24px 20px; }
  .rd-title { font-size: 20px !important; }
  .rd-content h2 { font-size: 18px !important; }
  .rd-cta { padding: 12px 24px; font-size: 14px; width: 100%; text-align: center; }
}
