/* 福運オンライン スタイルシート */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: #333;
  line-height: 1.7;
  background-color: #f8f9fa;
}

a {
  color: #1a73e8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ヘッダー */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-logo {
  font-size: 24px;
  font-weight: bold;
  color: #c0392b;
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a {
  color: #555;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.site-nav a:hover {
  background-color: #f0f0f0;
  text-decoration: none;
}

/* メインコンテンツ */
.site-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 20px;
  min-height: calc(100vh - 120px);
}

/* おすすめクリプトカジノ */
.casino-list-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 20px 0;
}

.casino-list-header {
  margin-bottom: 20px;
}

.casino-list-header h2 {
  font-size: 22px;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c0392b;
}

.casino-list-subtitle {
  color: #666;
  font-size: 14px;
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.casino-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.2s, transform 0.2s;
}

.casino-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  text-decoration: none;
}

.casino-card-image {
  background-color: #f0f0f0;
  height: 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.casino-card-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.casino-card-body {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.casino-card-name {
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
}

.casino-card-description {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  flex: 1;
}

.casino-card-link {
  font-size: 14px;
  font-weight: bold;
  color: #c0392b;
}

/* ホームページ */
.hero {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 50%, #f39c12 100%);
  color: #fff;
  padding: 50px 30px;
  border-radius: 8px;
  margin-bottom: 40px;
  text-align: center;
}

.hero h1 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: bold;
}

.hero-description {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

/* FAQリスト */
.faq-list h2 {
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c0392b;
}

.faq-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}

.faq-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-card-meta {
  margin-bottom: 8px;
}

.faq-category {
  display: inline-block;
  background-color: #f39c12;
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: bold;
}

.faq-card-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.faq-card-title a {
  color: #333;
}

.faq-card-title a:hover {
  color: #1a73e8;
}

.faq-card-description {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

.faq-card-link {
  font-size: 14px;
  font-weight: bold;
}

/* ページネーション */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.pagination-link {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  font-size: 14px;
}

.pagination-link:hover {
  background-color: #f0f0f0;
  text-decoration: none;
}

.pagination-disabled {
  color: #aaa;
  cursor: not-allowed;
}

.pagination-numbers {
  list-style: none;
  display: flex;
  gap: 5px;
}

.pagination-numbers li {
  display: inline-block;
}

.pagination-number,
.pagination-current {
  display: inline-block;
  min-width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.pagination-number {
  background-color: #fff;
  color: #333;
}

.pagination-number:hover {
  background-color: #f0f0f0;
  text-decoration: none;
}

.pagination-current {
  background-color: #c0392b;
  color: #fff;
  border-color: #c0392b;
  font-weight: bold;
}

/* FAQ詳細ページ */
.faq-topic-header {
  margin-bottom: 30px;
}

.faq-topic-meta {
  margin-bottom: 10px;
}

.faq-category-link {
  display: inline-block;
  background-color: #f39c12;
  color: #fff;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: bold;
}

.faq-category-link:hover {
  text-decoration: none;
  opacity: 0.9;
}

.faq-topic-header h1 {
  font-size: 28px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.faq-topic-description {
  color: #666;
  font-size: 15px;
}

.faq-questions {
  max-width: 100%;
}

.faq-item {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
}

.faq-question {
  font-size: 18px;
  color: #c0392b;
  margin-bottom: 10px;
  padding-left: 15px;
  border-left: 4px solid #c0392b;
  line-height: 1.5;
}

.faq-answer {
  color: #444;
  font-size: 15px;
}

.faq-answer p {
  margin-bottom: 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* リストページ共通 */
.list-header {
  margin-bottom: 30px;
}

.list-header h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.list-description {
  color: #666;
  font-size: 15px;
}

/* カテゴリー一覧 */
.category-list h2 {
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c0392b;
}

.category-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.2s;
}

.category-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-card h3 {
  font-size: 18px;
}

.category-card h3 a {
  color: #333;
}

.category-card h3 a:hover {
  color: #1a73e8;
}

.category-count {
  color: #888;
  font-size: 14px;
}

.empty-message {
  color: #888;
  font-size: 15px;
  text-align: center;
  padding: 30px 0;
}

/* フッター */
.site-footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.site-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-footer p {
  font-size: 14px;
  opacity: 0.8;
}

/* レスポンシブ対応 */
@media (max-width: 640px) {
  .site-header-inner {
    height: auto;
    padding: 10px 15px;
    flex-direction: column;
    gap: 8px;
  }

  .site-main {
    padding: 20px 15px;
  }

  .hero {
    padding: 30px 20px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .faq-card {
    padding: 18px;
  }

  .faq-card-title {
    font-size: 17px;
  }

  .faq-question {
    font-size: 16px;
  }

  .pagination {
    gap: 8px;
  }

  .pagination-link {
    padding: 6px 10px;
    font-size: 13px;
  }

  .pagination-number,
  .pagination-current {
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 13px;
  }

  .casino-list-section {
    padding: 20px 15px 0;
  }

  .casino-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
