@charset "UTF-8";
/* NANKANアナリティクス - ブログテーマ統一カスタマイズ */
/* カスタムCSS変数でサイトデザインと統一 */
:root {
  --card-background: rgba(255, 255, 255, 0.1);
  --body-background: #0f172a;
  --accent-color: #3b82f6;
  --accent-color-darker: #1d4ed8;
  --card-border-radius: 10px;
  --tag-border-radius: 6px;
  --card-padding: 20px;
  --small-card-padding: 15px;
  --main-top-padding: 30px;
  --body-text-color: #e2e8f0;
  --accent-text-color: #64748b;
  --border-color: rgba(148, 163, 184, 0.2);
}

/* ダークテーマでの背景色統一 */
[data-scheme=dark] {
  --body-background-color: var(--body-background);
  --accent-color: var(--accent-color);
  --accent-color-darker: var(--accent-color-darker);
  --card-background: var(--card-background);
  --body-text-color: var(--body-text-color);
}

/* 全体のフォント設定 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif !important;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: var(--body-text-color) !important;
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
}

/* ヘッダー統一 */
.main-header {
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color) !important;
}

/* ナビゲーション統一 */
.main-menu a {
  color: var(--body-text-color) !important;
  transition: color 0.3s ease;
}

.main-menu a:hover {
  color: var(--accent-color) !important;
}

/* カード系要素の統一 */
.article-list .article-title {
  color: var(--body-text-color) !important;
}

.article-list .article-title:hover {
  color: var(--accent-color) !important;
}

.article-category a,
.article-tag a {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-darker) 100%) !important;
  color: white !important;
  padding: 4px 12px;
  border-radius: var(--tag-border-radius);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.article-category a:hover,
.article-tag a:hover {
  transform: scale(1.05);
  color: white !important;
}

/* サイドバーの統一 */
.widget {
  background: var(--card-background) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--card-border-radius) !important;
  padding: var(--small-card-padding) !important;
  margin-bottom: 20px !important;
}

.widget .widget-title {
  color: var(--accent-color) !important;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
}

/* 記事カードの統一 */
.article-list--compact .article {
  background: var(--card-background) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--card-border-radius) !important;
  padding: var(--card-padding) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px !important;
}

.article-list--compact .article:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2) !important;
}

/* 検索フォームの統一 */
.search-form input {
  background: var(--card-background) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--tag-border-radius) !important;
  color: var(--body-text-color) !important;
  padding: 8px 12px;
}

/* フッターの統一 */
.site-footer {
  background: rgba(15, 23, 42, 0.95) !important;
  border-top: 1px solid var(--border-color) !important;
  color: var(--accent-text-color) !important;
  padding: 40px 0 20px 0;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

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

.footer-section ul li a {
  color: var(--accent-text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* NANKANアナリティクス カスタムスタイル */
/* Hero Section カスタムスタイル */
.hero-section-custom {
  text-align: center;
  padding: 60px var(--card-padding);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: var(--card-border-radius);
  margin-bottom: 40px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.hero-section-custom .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title-custom {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 768px) {
  .hero-title-custom {
    font-size: 2rem;
  }
}

.hero-subtitle-custom {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.stats-grid-custom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .stats-grid-custom {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

.stat-card-custom {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: var(--card-border-radius);
  border: 1px solid rgba(148, 163, 184, 0.2);
  text-align: center;
  backdrop-filter: blur(10px);
}

.stat-number-custom {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.stat-label-custom {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Newsletter Section カスタムスタイル */
.newsletter-section-custom {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  padding: 40px var(--card-padding);
  border-radius: var(--card-border-radius);
  margin: 40px 0;
  border: 1px solid rgba(148, 163, 184, 0.2);
  text-align: center;
}

.newsletter-title-custom {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.newsletter-description {
  color: #94a3b8;
  margin-bottom: 25px;
  line-height: 1.6;
}

.newsletter-form-custom {
  display: flex;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .newsletter-form-custom {
    flex-direction: column;
  }
}

.newsletter-input-custom {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  font-size: 16px;
  transition: all 0.3s ease;
}
.newsletter-input-custom:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.newsletter-button-custom {
  padding: 12px 24px;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}
.newsletter-button-custom:hover {
  background: var(--accent-color-darker);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.newsletter-note {
  font-size: 0.9rem;
  margin-top: 15px;
  color: #94a3b8;
}

/* ヘッダー固定CTA */
.header-newsletter-cta {
  background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.header-newsletter-cta a {
  color: white;
  text-decoration: none;
}
.header-newsletter-cta:hover {
  background: linear-gradient(135deg, #059669 0%, #1d4ed8 100%);
}

/* メルマガ登録フォームのスタイリング */
.newsletter-form {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid #475569;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.newsletter-form.highlight {
  background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
  border-color: #3b82f6;
}
.newsletter-form h3 {
  color: #f8fafc;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.newsletter-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.newsletter-form input[type=email] {
  padding: 0.75rem 1rem;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  background-color: #0f172a;
  color: #e2e8f0;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.newsletter-form input[type=email]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.newsletter-form button {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}
.newsletter-form .cta-button {
  background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
  font-size: 1.2rem;
  padding: 1rem 2rem;
}
.newsletter-form .note {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 0.5rem;
  text-align: center;
}

/* サイドバー登録フォーム */
.sidebar-newsletter {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1rem 0;
  border: 1px solid #475569;
}
.sidebar-newsletter h4 {
  color: #f8fafc;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.sidebar-newsletter form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sidebar-newsletter input[type=email] {
  padding: 0.5rem 0.75rem;
  border: 1px solid #475569;
  border-radius: 0.375rem;
  background-color: #0f172a;
  color: #e2e8f0;
  font-size: 0.875rem;
}
.sidebar-newsletter button {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 記事内CTAボタン */
.article-cta {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: 2px solid #3b82f6;
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}
.article-cta h4 {
  color: #3b82f6;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.article-cta p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.article-cta button {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.article-cta button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.4);
}

/* テーブルのカスタマイズ強化 */
table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  background-color: rgba(30, 41, 59, 0.8);
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
}
table thead {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
}
table thead th {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}
table th, table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
table tbody tr:hover {
  background-color: rgba(59, 130, 246, 0.1);
}
table tbody tr:last-child td {
  border-bottom: none;
}
table strong {
  color: var(--accent-color);
}
@media (max-width: 768px) {
  table {
    font-size: 0.875rem;
  }
  table th, table td {
    padding: 0.75rem 0.5rem;
  }
}

/* コードブロックのカスタマイズ */
pre {
  background-color: #0f172a !important;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  padding: 1.5rem !important;
  margin: 1.5rem 0;
  overflow-x: auto;
}
pre code {
  background-color: transparent !important;
  color: #e2e8f0 !important;
  font-size: 0.9rem;
}

/* インラインコード */
:not(pre) > code {
  background-color: #1e293b !important;
  color: #3b82f6 !important;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
}

/* アニメーション効果 */
.hero-section-custom,
.newsletter-section-custom {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.newsletter-section-custom {
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .newsletter-form {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  .newsletter-form h3 {
    font-size: 1.25rem;
  }
  .newsletter-form form {
    gap: 0.75rem;
  }
  .newsletter-form input[type=email],
  .newsletter-form button {
    padding: 0.75rem;
    font-size: 1rem;
  }
  table {
    font-size: 0.875rem;
  }
  table th, table td {
    padding: 0.75rem 0.5rem;
  }
  .main-menu {
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
  }
  .container {
    padding: 0 1rem;
  }
}
/* ユーティリティクラス */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.hidden {
  display: none;
}

/* フォーカス可視性 */
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* ダーク固有のスクロールバー */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #1e293b;
}

::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/*# sourceMappingURL=global.css.map */
