/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 14px;
  color: #333;
  background: #f4f4f4;
  line-height: 1.6;
}

a {
  color: #1a5276;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #e67e22;
}

/* Header */
header {
  background: #1a2c42;
  color: white;
  padding: 16px 0;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  color: #e67e22;
  font-size: 22px;
}

.logo-text {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1px;
}

.logo-sub {
  font-size: 12px;
  color: #aab;
  margin-top: 4px;
}

/* Nav */
nav {
  background: #243c58;
  border-bottom: 3px solid #e67e22;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

nav ul li a {
  display: block;
  color: #dde;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: bold;
}

nav ul li a:hover {
  background: #e67e22;
  color: white;
  text-decoration: none;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 20px;
  display: flex;
  gap: 20px;
}

.main-content {
  flex: 1;
  min-width: 0;
}

.sidebar {
  width: 240px;
  flex-shrink: 0;
}

/* Section Title */
.section-title {
  font-size: 16px;
  font-weight: bold;
  color: #1a2c42;
  border-left: 4px solid #e67e22;
  padding-left: 10px;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 13px;
  color: #55677a;
  line-height: 1.7;
  margin: 0 0 16px;
  padding-left: 14px;
}

/* Updates */
.updates {
  background: white;
  border: 1px solid #ddd;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.update-list {
  list-style: none;
}

.update-list li {
  padding: 6px 0;
  border-bottom: 1px dotted #ddd;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

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

.date {
  color: #888;
  font-size: 12px;
  white-space: nowrap;
}

/* Cards */
.popular {
  background: white;
  border: 1px solid #ddd;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card {
  display: block;
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 4px;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: #333;
}

.card:hover {
  border-color: #e67e22;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  text-decoration: none;
}

.card-category {
  font-size: 11px;
  color: white;
  background: #243c58;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}

.card-title {
  font-size: 13px;
  font-weight: bold;
  color: #1a5276;
  margin-bottom: 4px;
}

.card-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

/* Sidebar Widgets */
.widget {
  background: white;
  border: 1px solid #ddd;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.widget-title {
  font-size: 14px;
  font-weight: bold;
  color: #1a2c42;
  border-bottom: 2px solid #e67e22;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

/* Category List */
.category-list {
  list-style: none;
}

.category-list li {
  border-bottom: 1px dotted #ddd;
}

.category-list li a {
  display: flex;
  justify-content: space-between;
  padding: 6px 2px;
  font-size: 13px;
}

.count {
  background: #e8eef3;
  color: #555;
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 11px;
}

/* Roadmap */
.roadmap {
  padding-left: 20px;
}

.roadmap li {
  padding: 5px 0;
  border-bottom: 1px dotted #eee;
  font-size: 13px;
}

/* SPL Tags */
.spl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: #1a2c42;
  color: #7fb3d3;
  font-family: "Courier New", monospace;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 3px;
}

/* Footer */
footer {
  background: #1a2c42;
  color: #aab;
  text-align: center;
  padding: 16px;
  font-size: 12px;
  margin-top: 20px;
}

footer .footer-note {
  margin-top: 6px;
  font-size: 11px;
  color: #7788a0;
}

