/* 日本レビューサイト - Japanese Review Site */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans JP', -apple-system, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif; color: #222; line-height: 1.8; background: #fafafa; }
a { color: #c0392b; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; }
header nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; }
.logo { font-size: 22px; font-weight: 900; color: #c0392b; }
.logo span { color: #333; }
.nav-links { list-style: none; display: flex; gap: 22px; }
.nav-links a { color: #444; font-weight: 500; }
.nav-links a:hover { color: #c0392b; }
.hamburger { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(135deg, #fde7e7 0%, #fff8f0 100%); padding: 60px 0; text-align: center; }
.hero h1 { font-size: 44px; font-weight: 900; margin-bottom: 16px; }
.hero h1 em { color: #c0392b; font-style: normal; }
.hero p { font-size: 18px; color: #555; max-width: 640px; margin: 0 auto 24px; }
.hero-pills { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-pill { background: #fff; padding: 10px 18px; border-radius: 999px; box-shadow: 0 2px 10px rgba(0,0,0,.06); font-size: 14px; }
.hero-pill strong { color: #c0392b; font-size: 18px; }

/* Category filter */
.category-bar { background: #fff; padding: 16px 0; border-bottom: 1px solid #eee; text-align: center; }
.category-bar a { display: inline-block; margin: 4px; padding: 8px 18px; border-radius: 999px; background: #f5f5f5; color: #333; font-weight: 600; font-size: 14px; }
.category-bar a:hover, .category-bar a.active { background: #c0392b; color: #fff; text-decoration: none; }

/* Articles grid */
.articles-section { padding: 50px 0; }
.articles-section h2 { font-size: 28px; margin-bottom: 24px; text-align: center; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.article-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .2s; }
.article-card:hover { transform: translateY(-4px); }
.article-card .thumb { height: 180px; background: linear-gradient(135deg, #ffd1d1, #ffe7c7); background-size: cover; background-position: center; display: flex; align-items: flex-end; justify-content: flex-end; padding: 10px; position: relative; }
.article-card .thumb-icon { background: rgba(255,255,255,.9); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.article-card .body { padding: 18px; }
.article-card .cat { font-size: 12px; font-weight: 700; color: #c0392b; text-transform: uppercase; }
.article-card h3 { font-size: 17px; font-weight: 700; margin: 8px 0 10px; line-height: 1.4; }
.article-card h3 a { color: #222; }
.article-card p { font-size: 14px; color: #666; }

/* Article page */
.article-layout { padding: 40px 20px; max-width: 820px; }
.article-layout h1 { font-size: 34px; line-height: 1.3; margin-bottom: 14px; }
.breadcrumb { font-size: 14px; color: #888; margin-bottom: 20px; }
.breadcrumb a { color: #888; }
.expert-note, .verdict-box { padding: 18px 20px; border-radius: 12px; margin: 20px 0; font-size: 16px; }
.expert-note { background: #fff8e1; border-left: 4px solid #f6b93b; }
.verdict-box { background: #e8f5e9; border-left: 4px solid #2ecc71; }
.hero-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin: 24px 0; }
.hero-vs .side { background: linear-gradient(135deg,#fde7e7,#fff); border-radius: 14px; overflow: hidden; text-align: center; font-weight: 700; font-size: 18px; display: flex; flex-direction: column; align-items: stretch; }
.hero-vs .side img { width: 100%; height: 180px; object-fit: cover; display: block; }
.hero-vs .side .side-label { padding: 12px 8px; }
.article-hero { margin: 18px 0 24px; border-radius: 14px; overflow: hidden; }
.article-hero img { width: 100%; height: auto; display: block; }
.article-inline { margin: 24px 0; border-radius: 12px; overflow: hidden; text-align: center; }
.article-inline img { width: 100%; height: auto; display: block; }
.article-inline figcaption { padding: 8px; background: #fff8f0; font-size: 13px; color: #888; }
.hero-vs .vs-badge { background: #c0392b; color: #fff; border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; }
.article-layout h2 { font-size: 24px; margin: 30px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #fde7e7; }
.article-layout h3 { font-size: 19px; margin: 22px 0 10px; }
.article-layout p { margin-bottom: 14px; }
.article-layout ul, .article-layout ol { margin: 10px 0 18px 24px; }
.article-layout li { margin-bottom: 6px; }
.compare-table { width: 100%; border-collapse: collapse; margin: 18px 0; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.compare-table th, .compare-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #eee; }
.compare-table th { background: #fde7e7; font-weight: 700; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.pros, .cons { padding: 16px; border-radius: 10px; }
.pros { background: #e8f5e9; }
.cons { background: #ffebee; }
.pros h4, .cons h4 { margin-bottom: 10px; }
.faq details { background: #fff; border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.faq summary { cursor: pointer; font-weight: 600; }
.toc { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.toc h3 { margin-bottom: 10px; }
.toc ul { margin-left: 20px; }

/* Pagination */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 40px 0 10px; }
.page-btn { background: #fff; border: 1px solid #e5d3d3; color: #444; padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .15s; min-width: 40px; }
.page-btn:hover:not(:disabled) { background: #fde7e7; border-color: #c0392b; color: #c0392b; }
.page-btn.active { background: #c0392b; border-color: #c0392b; color: #fff; }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }
.page-ellipsis { padding: 8px 4px; color: #999; align-self: center; }

footer { background: #222; color: #bbb; padding: 40px 20px; text-align: center; margin-top: 60px; font-size: 14px; }
footer a { color: #ffa7a7; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero h1 { font-size: 30px; }
  .proscons { grid-template-columns: 1fr; }
  .hero-vs { grid-template-columns: 1fr; }
  .hero-vs .vs-badge { margin: 0 auto; }
}
