* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #2c5f8d;
  margin: 0;
}

.header ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.header a:hover {
  color: #2c5f8d;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #2c5f8d 0%, #4a7ba7 100%);
  color: #fff;
  padding: 120px 24px;
  text-align: center;
}

.hero-content h2 {
  font-size: 36px;
  margin-bottom: 16px;
  font-weight: bold;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: #fff;
  color: #2c5f8d;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Section */
.section {
  padding: 80px 24px;
}

.section-gray {
  background-color: #f8f9fa;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 48px;
  color: #2c5f8d;
  font-weight: bold;
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.highlight-red {
  color: #e74c3c;
  font-weight: bold;
}

/* Service Section */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  background: #fff;
  padding: 32px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #2c5f8d;
}

.service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Works Section */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.work-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.work-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.work-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 18px;
}

.work-item p {
  padding: 16px;
  text-align: center;
  font-weight: 500;
}


/* Footer */
.footer {
  background-color: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 32px 24px;
}

.footer p {
  margin: 0;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 16px;
  }

  .header ul {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-content h2 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .service-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }
}
/* ---------- Hero まわりの追加 ---------- */
.hero-sub {
  font-size: 16px;
  margin-top: 8px;
  opacity: 0.9;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* 既存の .cta-button にバリエーションを追加 */
.cta-button.primary {
  background-color: #fff;
  color: #2c5f8d;
  border: 2px solid #fff;
}

.cta-button.secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

/* ---------- 会社概要テーブル ---------- */
.about-detail {
  max-width: 800px;
  margin: 32px auto 0;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.company-table th,
.company-table td {
  border: 1px solid #ddd;
  padding: 8px 12px;
}

.company-table th {
  width: 30%;
  background-color: #f5f5f5;
  text-align: left;
  white-space: nowrap;
}

/* ---------- お問い合わせ ---------- */
.contact-lead {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: left;
  line-height: 1.8;
  color: #555;
  font-size: 16px;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-item strong {
  display: block;
  font-size: 16px;
  color: #666;
  margin-bottom: 12px;
  font-weight: 600;
}

.contact-item p {
  font-size: 18px;
  color: #333;
  margin: 0;
}

.contact-info a {
  color: #2c5f8d;
  text-decoration: underline;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: #1a4a6b;
}

/* ---------- スマホ調整（追記） ---------- */
@media (max-width: 768px) {
  .hero {
    padding: 80px 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }
}
