:root {
  --primary-color: #1e73be;
  --secondary-color: #364993;
  --text-main: #333333;
  --text-sub: #666666;
  --bg-light: #f8f9fa;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --table-border: #cbd5e1;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --radius-lg: 16px;
  --radius-md: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.7;
  letter-spacing: 0.04em;
}

/* ヘッダー */
.site-header {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 1.5rem 1rem;
  border-bottom: 3px solid var(--primary-color);
}

.header-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.site-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  text-align: left;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.2;
}

.site-tagline {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-top: 0.25rem;
}

/* メインコンテンツ */
.main-content {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.section-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.section-header {
  padding: 1rem 1.5rem;
  color: #ffffff;
}

.section-header.primary {
  background: linear-gradient(135deg, var(--primary-color), #2d8ae0);
}

.section-header.secondary {
  background: linear-gradient(135deg, var(--secondary-color), #4b63be);
}

.section-header h2 {
  font-size: 1.35rem;
  font-weight: 600;
  text-align: center;
}

.card-body {
  padding: 1.75rem;
}

/* テーブルスタイル */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
}

.recruit-table th,
.recruit-table td {
  padding: 1rem;
  border: 1px solid var(--table-border);
  vertical-align: top;
  font-size: 0.95rem;
}

.recruit-table th {
  width: 25%;
  background-color: #f1f5f9;
  color: #1e293b;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.recruit-table td {
  color: #334155;
}

.recruit-message {
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  color: var(--secondary-color);
  padding: 0.75rem;
  background-color: #f0f4ff;
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
}

/* 会社概要・事業所 */
.office-block {
  margin-bottom: 2rem;
}

.office-block:last-child {
  margin-bottom: 0;
}

.office-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.office-info {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.office-info a {
  color: var(--primary-color);
  text-decoration: none;
}

.office-info a:hover {
  text-decoration: underline;
}

.map-container {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.map-container iframe {
  width: 100%;
  height: 380px;
  display: block;
}

/* フッター */
.site-footer {
  background-color: #1e293b;
  color: #94a3b8;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.85rem;
  margin-top: 3rem;
}

/* レスポンシブ対応 */
@media (max-width: 640px) {
  .brand-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .brand-text {
    text-align: center;
  }

  .site-title {
    font-size: 1.25rem;
  }

  .card-body {
    padding: 1rem;
  }

  .recruit-table th,
  .recruit-table td {
    display: block;
    width: 100%;
  }

  .recruit-table th {
    text-align: left;
    background-color: #e2e8f0;
    border-bottom: none;
  }

  .map-container iframe {
    height: 300px;
  }
}
