@charset "UTF-8";

:root {
  --color-primary: #2c5f7c;
  --color-primary-dark: #1e4259;
  --color-primary-light: #e8f1f5;
  --color-accent: #3a8f6e;
  --color-accent-light: #e6f5ef;
  --color-text: #333;
  --color-text-light: #666;
  --color-bg: #fff;
  --color-bg-alt: #f8f9fa;
  --color-border: #e0e0e0;
  --font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --max-width: 1080px;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Header */
.site-header {
  background: var(--color-primary);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 64px;
}

.site-logo {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.site-logo a {
  color: #fff;
  text-decoration: none;
}

.site-logo a:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.site-logo .logo-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.85;
  display: block;
  margin-top: -2px;
}

/* Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.global-nav ul {
  display: flex;
  list-style: none;
  gap: 0;
}

.global-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  padding: 0 1rem;
  font-size: 0.875rem;
  line-height: 64px;
  transition: background 0.2s, color 0.2s;
}

.global-nav a:hover,
.global-nav a.current {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb span {
  margin: 0 0.4rem;
}

/* Main Content */
.main-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
}

.content-full {
  grid-template-columns: 1fr;
}

/* Article */
.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary-light);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 2rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
  line-height: 2;
}

.article-content ul,
.article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  line-height: 2;
}

.article-content li {
  margin-bottom: 0.5rem;
}

/* Info Box */
.info-box {
  background: var(--color-primary-light);
  border-left: 4px solid var(--color-primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.info-box h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.info-box p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* CTA Box */
.cta-box {
  background: var(--color-accent-light);
  border: 1px solid #c3e6d5;
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  text-align: center;
}

.cta-box h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.cta-box p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.cta-box .btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.6rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.cta-box .btn:hover {
  background: #2f7a5c;
  text-decoration: none;
  color: #fff;
}

/* Table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.price-table th,
.price-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  text-align: left;
}

.price-table th {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 600;
}

.price-table tbody tr:nth-child(even) {
  background: var(--color-bg-alt);
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.card h3 a {
  color: var(--color-primary);
}

.card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.card .read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Sidebar */
.sidebar {
  font-size: 0.9rem;
}

.sidebar-section {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.sidebar-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary-light);
}

.sidebar-section ul {
  list-style: none;
}

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

.sidebar-section a {
  display: block;
  padding: 0.4rem 0;
  color: var(--color-text);
  font-size: 0.875rem;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s, padding-left 0.2s;
}

.sidebar-section a:hover {
  color: var(--color-accent);
  padding-left: 0.5rem;
  text-decoration: none;
}

.sidebar-section li:last-child a {
  border-bottom: none;
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-nav h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 2;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-copy {
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }

  .nav-toggle {
    display: block;
  }

  .global-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .global-nav.open {
    display: block;
  }

  .global-nav ul {
    flex-direction: column;
  }

  .global-nav a {
    line-height: 48px;
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero {
    padding: 2.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .main-content {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem 3rem;
    gap: 2rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .price-table {
    font-size: 0.85rem;
  }

  .price-table th,
  .price-table td {
    padding: 0.5rem 0.6rem;
  }
}
