/* ========== 詳細ページ専用スタイル ========== */

/* パンくずリスト */
.breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #888;
}

.breadcrumb a {
  color: #6b5b7a;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* 記事全体 */
.method-page article {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.method-page article h2 {
  font-size: 1.5rem;
  color: #5a4a6a;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e0d8e6;
  text-align: left;
}

/* イントロ */
.method-intro {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 2rem;
}

/* セクション */
.method-section {
  margin-bottom: 2rem;
}

.method-section h3 {
  font-size: 1.15rem;
  color: #6b5b7a;
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  border-left: 4px solid #8b7a9e;
}

.method-section ul,
.method-section ol {
  padding-left: 1.5rem;
  color: #555;
}

.method-section li {
  margin-bottom: 0.5rem;
}

/* ステップ（順序付きリスト） */
.method-section ol {
  list-style: none;
  padding-left: 0;
  counter-reset: step-counter;
}

.method-section ol > li {
  counter-increment: step-counter;
  margin-bottom: 1.5rem;
  padding-left: 2.5rem;
  position: relative;
}

.method-section ol > li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: #6b5b7a;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 1.75rem;
  font-size: 0.9rem;
  font-weight: bold;
}

.method-section ol h4 {
  font-size: 1rem;
  color: #5a4a6a;
  margin-bottom: 0.5rem;
}

.method-section ol p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 活用例ボックス */
.example-box {
  background: #faf8fc;
  border: 1px solid #e0d8e6;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.example-box h4 {
  font-size: 0.95rem;
  color: #6b5b7a;
  margin-bottom: 0.5rem;
}

.example-box p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

/* リンクリスト */
.link-list {
  list-style: none;
  padding-left: 0;
}

.link-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.link-list li:last-child {
  border-bottom: none;
}

.link-list a {
  color: #6b5b7a;
  font-weight: bold;
  text-decoration: none;
}

.link-list a:hover {
  text-decoration: underline;
}

/* Tipsリスト */
.tips-list {
  background: #fff9e6;
  border: 1px solid #f0e6c0;
  border-radius: 8px;
  padding: 1rem 1rem 1rem 2rem;
}

.tips-list li {
  margin-bottom: 0.5rem;
}

.tips-list li:last-child {
  margin-bottom: 0;
}

/* ページナビゲーション */
.page-nav {
  margin-top: 2rem;
  text-align: center;
}

.nav-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #6b5b7a;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: #5a4a6a;
}

.nav-btn-sub {
  background: transparent;
  color: #6b5b7a;
  border: 1px solid #6b5b7a;
  margin-left: 0.5rem;
}

.nav-btn-sub:hover {
  background: #6b5b7a;
  color: #fff;
}

/* スプレッド図（タロット用など） */
.spread-diagram {
  background: #f5f3f7;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
  text-align: center;
}

.spread-diagram .cards {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.spread-diagram .card-slot {
  width: 60px;
  height: 90px;
  background: #fff;
  border: 2px dashed #8b7a9e;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #6b5b7a;
}

.spread-diagram .card-labels {
  font-size: 0.85rem;
  color: #666;
}

/* テーブル（ハウスの意味一覧など） */
.method-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.method-table th,
.method-table td {
  padding: 0.75rem;
  border: 1px solid #e0d8e6;
  text-align: left;
}

.method-table th {
  background: #f5f3f7;
  color: #5a4a6a;
  font-weight: bold;
}

.method-table tr:nth-child(even) {
  background: #faf8fc;
}

/* レスポンシブ */
@media (max-width: 480px) {
  .method-page article {
    padding: 1.25rem;
  }
  
  .method-page article h2 {
    font-size: 1.25rem;
  }
  
  .spread-diagram .cards {
    gap: 0.5rem;
  }
  
  .spread-diagram .card-slot {
    width: 50px;
    height: 75px;
  }
}

/* ========== 占術一覧ページ ========== */
.method-index-list {
  list-style: none;
  padding: 0;
}

.method-index-list li {
  padding: 1rem;
  border-bottom: 1px solid #e0d8e6;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.method-index-list li:last-child {
  border-bottom: none;
}

.method-index-list a {
  font-size: 1.1rem;
  font-weight: bold;
  color: #6b5b7a;
  text-decoration: none;
}

.method-index-list a:hover {
  text-decoration: underline;
  color: #5a4a6a;
}

.method-index-wip {
  font-size: 1.1rem;
  font-weight: bold;
  color: #999;
}

.method-index-wip::after {
  content: "";
  margin-left: 0;
}

.method-index-desc {
  font-size: 0.9rem;
  color: #666;
}

/* ========== ルーン一覧ページ ========== */
.rune-card {
  background: #fff;
  border: 1px solid #e0d8e6;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.rune-card h3 {
  font-size: 1.1rem;
  color: #5a4a6a;
  margin-bottom: 0.75rem;
  border: none;
  padding: 0;
}

.rune-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.rune-keyword {
  background: #6b5b7a;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.rune-birthday {
  color: #888;
  font-size: 0.85rem;
  align-self: center;
}

.rune-symbol {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.rune-meanings {
  margin: 0;
}

.rune-meanings dt {
  font-weight: bold;
  color: #5a4a6a;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.rune-meanings dd {
  margin-left: 0;
  padding-left: 1rem;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
}

.rune-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
}