/* ========================================
   Base
======================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Yu Gothic",
    "Yu Gothic Medium",
    Meiryo,
    sans-serif;
  line-height: 1.8;
  color: #222;
  background: #f7f5ef;
}

a {
  color: #1f5f8b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Header
======================================== */

.site-header {
  background: #fff;
  border-bottom: 1px solid #e5dfd2;
}

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 20px 16px;
}

.site-branding {
  text-align: center;
}

.site-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.site-title a {
  color: #222;
  text-decoration: none;
}

.site-subtitle {
  margin: 6px 0 0;
  color: #777;
  font-size: 0.9rem;
}

.global-nav {
  margin-top: 18px;
}

.global-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a {
  color: #333;
  font-size: 0.95rem;
}

/* ========================================
   Layout
======================================== */

.site-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 20px 56px;
}

.main-content {
  max-width: 920px;
  margin: 0 auto;
}

/* ========================================
   Typography
======================================== */

h1,
h2,
h3 {
  line-height: 1.45;
  color: #1f2933;
}

h1 {
  margin: 0 0 24px;
  font-size: 2.1rem;
}

h2 {
  margin: 48px 0 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd4c4;
  font-size: 1.55rem;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

p {
  margin: 0 0 1.1em;
}

.lead {
  font-size: 1.08rem;
}

/* ========================================
   Sections
======================================== */

.hero-section {
  margin-bottom: 48px;
  padding: 36px;
  background: #fff;
  border: 1px solid #e5dfd2;
  border-radius: 18px;
}

.section-block {
  margin-bottom: 48px;
}

/* ========================================
   Category Cards
======================================== */

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.category-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #e5dfd2;
  border-radius: 16px;
}

.category-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.category-card li {
  margin-bottom: 0.45em;
}

/* ========================================
   Footer
======================================== */

.site-footer {
  background: #fff;
  border-top: 1px solid #e5dfd2;
}

.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px;
  text-align: center;
}

.footer-site-name {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.footer-site-name a {
  color: #222;
  text-decoration: none;
}

.footer-description {
  margin: 0 0 14px;
  color: #777;
  font-size: 0.9rem;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.copyright {
  margin: 0;
  color: #777;
  font-size: 0.85rem;
}

/* ========================================
   Responsive
======================================== */

@media (max-width: 700px) {
  .site-title {
    font-size: 1.65rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  .hero-section {
    padding: 24px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }
}

.ad-box {
  margin: 32px 0;
  text-align: center;
}

.ad-article-top {
  margin-top: 24px;
  margin-bottom: 36px;
}

.ad-article-middle {
  margin: 42px 0;
}

.ad-article-bottom {
  margin-top: 48px;
}