@charset "UTF-8";
/* ========================================
   メディア日本語まとめ — スタイルシート
   ======================================== */
/* リセット & 基本設定 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #ffffff;
  --color-surface: #f8f9fa;
  --color-border: #e9ecef;
  --color-text: #212529;
  --color-text-muted: #6c757d;
  --color-primary: #e63946;
  --color-primary-hover: #c1121f;
  --color-secondary: #457b9d;
  --color-accent: #f4a261;
  --font-sans: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.7;
  --max-width: 1100px;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ヘッダー */
.site-header {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-header .site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}
.site-header .site-logo:hover {
  text-decoration: none;
  opacity: 0.9;
}
.site-header .logo-icon {
  font-size: 1.4rem;
}
.site-header .site-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.site-header .nav-link {
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.2s;
}
.site-header .nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

/* メインコンテンツエリア */
.site-content {
  padding: 24px 0;
  min-height: calc(100vh - 200px);
}

.main-content {
  margin: 16px 0;
}

/* トップページ */
.site-top .hero {
  text-align: center;
  padding: 48px 0 32px;
}
.site-top .hero .hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
}
.site-top .hero .hero-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* カテゴリ一覧グリッド */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.category-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.category-card .category-card-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}
.category-card .category-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  display: block;
  margin-bottom: 8px;
}
.category-card .category-card-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: block;
}

/* 最新記事セクション */
.latest-posts {
  margin: 32px 0;
}
.latest-posts h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}

/* 記事カード */
.post-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s;
}
.post-card:hover {
  box-shadow: var(--shadow);
}
.post-card .post-card-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.post-card .post-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.post-card .post-card-title a {
  color: var(--color-text);
}
.post-card .post-card-title a:hover {
  color: var(--color-primary);
  text-decoration: none;
}
.post-card .post-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.post-card .read-more {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* 記事詳細ページ */
.post {
  max-width: 760px;
}
.post .post-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
.post .post-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.post .post-category a {
  background: var(--color-primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}
.post .post-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}
.post .post-description {
  font-size: 1rem;
  color: var(--color-text-muted);
}
.post .agent-first-notice {
  margin-top: 12px;
}
.post .agent-first-notice .md-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 4px 10px;
  border-radius: 4px;
}
.post .post-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}
.post .post-content h3 {
  font-size: 1.2rem;
  margin: 24px 0 12px;
}
.post .post-content p {
  margin-bottom: 16px;
}
.post .post-content ul, .post .post-content ol {
  margin: 0 0 16px 24px;
}
.post .post-content ul li, .post .post-content ol li {
  margin-bottom: 6px;
}
.post .post-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 12px 16px;
  margin: 16px 0;
  background: var(--color-surface);
  color: var(--color-text-muted);
}
.post .post-content code {
  background: var(--color-surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.post .post-content pre {
  background: var(--color-surface);
  padding: 16px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 16px 0;
}
.post .post-content img {
  max-width: 100%;
  border-radius: var(--radius);
}
.post .post-content a {
  color: var(--color-primary);
}
.post .post-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.post .post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.post .tag {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.post .back-link {
  color: var(--color-secondary);
  font-size: 0.875rem;
}

/* カテゴリページ */
.category-page .category-header {
  text-align: center;
  padding: 32px 0 24px;
}
.category-page .category-header .category-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.category-page .category-header .category-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.category-page .category-header .category-description {
  color: var(--color-text-muted);
}
.category-page .no-posts {
  color: var(--color-text-muted);
  text-align: center;
  padding: 48px 0;
}

/* AdSense プレースホルダー */
.adsense-placeholder {
  border-radius: var(--radius);
}

/* フッター */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0;
  margin-top: 48px;
}
.site-footer .footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.site-footer .footer-copy {
  font-size: 0.9rem;
}
.site-footer .footer-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.site-footer .footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}
.site-footer .footer-nav a:hover {
  color: #fff;
}
.site-footer .footer-nav .sep {
  color: rgba(255, 255, 255, 0.3);
}
.site-footer .footer-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .site-header .site-nav {
    gap: 2px;
  }
  .site-header .site-nav .nav-link {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
  .post .post-title {
    font-size: 1.4rem;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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