/* ベース */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f7f7f9;
  font-size: 15px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ヘッダー */
.site-header {
  background: #111827;
  color: #fff;
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo a {
  text-decoration: none;
}

.site-logo-main {
  font-weight: 700;
  font-size: 18px;
  display: block;
}

.site-logo-sub {
  font-size: 12px;
  opacity: 0.8;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.site-nav a {
  color: #e5e7eb;
}

.site-nav a:hover {
  color: #ffffff;
}

/* ヒーロー */
.hero {
  padding: 40px 0 32px;
  background: linear-gradient(135deg, #eef2ff, #f9fafb);
  border-bottom: 1px solid #e5e7eb;
}

.hero-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

.hero-lead {
  font-size: 14px;
  color: #4b5563;
}

/* セクション共通 */
.main-content {
  padding: 24px 0 40px;
}

.section {
  margin-bottom: 32px;
  background: #ffffff;
  border-radius: 8px;
  padding: 20px 18px;
  border: 1px solid #e5e7eb;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

.section-body p + p {
  margin-top: 8px;
}

.section-more {
  margin-top: 12px;
  font-size: 14px;
}

.section-more a {
  color: #2563eb;
}

/* カード（会社一覧） */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: #f9fafb;
  border-radius: 8px;
  padding: 14px 12px;
  border: 1px solid #e5e7eb;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-tagline {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.card-text {
  font-size: 13px;
  color: #374151;
}

.card-link {
  margin-top: 10px;
  font-size: 13px;
}

.card-link a {
  color: #2563eb;
}

/* ニュース */
.news-list {
  list-style: none;
  font-size: 13px;
}

.news-item + .news-item {
  margin-top: 6px;
}

.news-date {
  color: #6b7280;
  margin-right: 8px;
}

/* フッター */
.site-footer {
  background: #111827;
  color: #e5e7eb;
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
}

.footer-col {
  flex: 1;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-links {
  list-style: none;
  margin-top: 4px;
}

.footer-links li + li {
  margin-top: 2px;
}

.footer-copy {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
  }
}
