/* =============================================
   石の図鑑 - 共通スタイル（/zukan/ 配下の全ページ）
   common.css の後に読み込む
   ============================================= */

/* ---------- ページ冒頭：石の写真＋ひとこと ---------- */
.stone-hero {
  margin: 0 0 28px;
}
.stone-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  background: #f3eef7;
}
.stone-hero figcaption {
  font-size: 11px;
  font-weight: 700;
  color: #aaa;
  margin-top: 8px;
  text-align: right;
}
.stone-lead {
  font-size: 16px;
  font-weight: 900;
  color: #2a0a4a;
  line-height: 1.9;
  background: rgba(90,26,120,0.05);
  border-left: 4px solid #C71F8E;
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin-bottom: 28px;
}

/* ---------- 基本データ表 ---------- */
.stone-data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 8px 0 36px;
}
.stone-data th,
.stone-data td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  line-height: 1.7;
}
.stone-data th {
  width: 7.5em;
  color: #5A1A78;
  font-weight: 900;
  white-space: nowrap;
}
.stone-data td { color: #444; }

/* ---------- 本文の見出し ---------- */
.zukan-section { margin: 40px 0; }
.zukan-section h2 { margin-bottom: 18px; }
.zukan-section h3 {
  font-size: 16px;
  font-weight: 900;
  color: #2a0a4a;
  margin: 24px 0 10px;
}

/* ---------- 見分け方チェックリスト ---------- */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 18px;
}
.check-list li {
  background: rgba(82,183,136,0.07);
  border: 1.5px solid rgba(82,183,136,0.3);
  border-radius: 14px;
  padding: 12px 14px 12px 44px;
  position: relative;
  font-size: 14px;
  color: #444;
  line-height: 1.8;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #52B788;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  line-height: 20px;
}
.check-list li b {
  color: #2a0a4a;
  font-weight: 900;
}

/* ---------- 似ている石との比較 ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 8px 0 18px;
}
.compare-table th,
.compare-table td {
  border: 1px solid rgba(0,0,0,0.08);
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.compare-table thead th {
  background: rgba(90,26,120,0.06);
  color: #5A1A78;
  font-weight: 900;
}
.compare-table tbody th {
  color: #2a0a4a;
  font-weight: 900;
  white-space: nowrap;
}

/* ---------- 注意ボックス ---------- */
.caution-box {
  background: rgba(255,107,53,0.06);
  border: 1.5px solid rgba(255,107,53,0.35);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 20px 0;
}
.caution-box .caution-title {
  font-size: 14px;
  font-weight: 900;
  color: #c2410c;
  margin-bottom: 6px;
}
.caution-box ul {
  padding-left: 1.2em;
  font-size: 14px;
  color: #444;
  line-height: 1.9;
}

/* ---------- この石を石モンにすると ---------- */
.ishimon-card {
  background: linear-gradient(135deg, #1a0a3a, #3a1a6a 60%, #C71F8E);
  border-radius: 22px;
  padding: 22px;
  color: #fff;
  margin: 40px 0;
}
.ishimon-card .ic-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #FFD700;
  margin-bottom: 6px;
}
.ishimon-card .ic-title {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 16px;
}
.ishimon-card .ic-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.ishimon-card .ic-pair figure { margin: 0; text-align: center; }
.ishimon-card .ic-pair img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
}
.ishimon-card .ic-pair figcaption {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  margin-top: 6px;
  line-height: 1.5;
}
.ishimon-card .ic-arrow {
  font-size: 22px;
  color: #FFD700;
}
.ishimon-card p {
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.92);
  margin-bottom: 10px;
}
.ishimon-card .cta-wrap { margin: 20px 0 0; }
.ishimon-card .cta-sub { color: rgba(255,255,255,0.6); }

/* ---------- 関連リンク（石・都道府県） ---------- */
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
}
.related-links a,
.related-links span {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
}
.related-links a {
  color: #5A1A78;
  background: rgba(90,26,120,0.06);
  border: 1.5px solid rgba(90,26,120,0.18);
}
.related-links a:hover { background: rgba(90,26,120,0.12); }
.related-links span {
  color: #bbb;
  background: #f6f6f6;
  border: 1.5px dashed #ddd;
}

/* ---------- 一覧ページ：石のカード ---------- */
.stone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 8px 0 32px;
}
.stone-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1.5px solid rgba(90,26,120,0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}
.stone-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(90,26,120,0.15);
}
.stone-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f3eef7;
}
.stone-card .sc-body { padding: 10px 12px 12px; }
.stone-card .sc-name {
  font-size: 15px;
  font-weight: 900;
  color: #2a0a4a;
}
.stone-card .sc-desc {
  font-size: 12px;
  color: #777;
  line-height: 1.6;
  margin-top: 2px;
}
.stone-card.soon {
  pointer-events: none;
  border-style: dashed;
  background: #fafafa;
}
.stone-card.soon .sc-name { color: #aaa; }
.stone-card .sc-thumb {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, rgba(199,31,142,0.10), rgba(90,26,120,0.08));
}
.stone-card.soon .sc-thumb { background: #f3f3f3; color: #ccc; }
