:root {
  --main-color: #2b3e59;
  --base-color: #f8f8f8; /* やや明るいグレー */
  --accent-color: #ff7f50; /* コーラル系 */
  --text-color: #333;
  --light-text-color: #eee;
}

/* 基本設定 */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
header {
  background-color: var(--main-color);
  color: var(--light-text-color);
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
}

.logo img {
  width: 240px;
  height: auto;
  object-fit: cover;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--light-text-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent-color);
}

.hamburger-menu {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--light-text-color);
}

/* メインビジュアル */
.hero {
  background: url("../img/hero.jpg") no-repeat center center/cover;
  color: var(--light-text-color);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 150px 20px;
  min-height: 400px;
  width: 100%;
}

.hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content p {
  font-size: 1.5em;
  max-width: 800px;
  font-weight: bold;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* 各セクション */
.content-section {
  padding: 72px 0;
  text-align: center;
}

.content-section:nth-of-type(odd) {
  background-color: #fff; /* 白 */
}

.content-section:nth-of-type(even) {
  background-color: var(--base-color); /* ベースカラー */
}

.content-section h2 {
  font-size: 2.8em;
  margin-bottom: 60px;
  color: var(--main-color);
  position: relative;
  display: inline-block;
}

.content-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.business-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.business-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 30px;
  width: calc(50% - 40px);
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.business-item img {
  width: 50px;
  height: 50px;
  display: block;
  margin: 0 auto 8px;
}

.business-item h3 {
  font-size: 1.8em;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.business-item p {
  font-size: 1.1em;
  color: var(--text-color);
}

.company-info {
  text-align: left;
  margin: 0 auto;
  max-width: 685px;
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.company-info p {
  display: flex;
  font-size: 1.2em;
  margin-bottom: 15px;
  border-bottom: 1px dashed #eee;
  padding-bottom: 10px;
}

.company-info p:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.company-info strong {
  color: var(--main-color);
  display: inline-block;
  min-width: 130px;
}

/* フッター */
footer {
  background-color: var(--main-color);
  color: var(--light-text-color);
  text-align: center;
  padding: 30px 0;
  font-size: 0.9em;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo img {
    width: 220px;
  }

  nav {
    display: none; /* ハンバーガーメニューがアクティブな時のみ表示 */
    width: 100%;
    background-color: var(--main-color);
    position: absolute;
    top: 65px; /* ヘッダーの高さに合わせて調整 */
    left: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }

  nav ul li {
    margin: 15px 0;
  }

  .hamburger-menu {
    display: block;
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
  }

  .hero-content {
    padding: 100px 20px;
    min-height: 300px;
  }

  .hero-content h1 {
    font-size: 2.5em;
  }

  .hero-content p {
    font-size: 1.2em;
  }

  .content-section {
    padding: 60px 0;
  }

  .content-section h2 {
    font-size: 2.2em;
    margin-bottom: 40px;
  }

  .business-item {
    width: 90%; /* スマホでは1列に */
    margin-bottom: 30px;
  }

  .company-info {
    padding: 30px;
  }

  .company-info p {
    font-size: 1.1em;
  }

  .company-info strong {
    min-width: 110px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 80px 15px;
  }

  .hero-content h1 {
    font-size: 2em;
  }

  .hero-content p {
    font-size: 1em;
  }

  .content-section h2 {
    font-size: 1.8em;
  }

  .business-item {
    padding: 20px;
  }

  .business-item h3 {
    font-size: 1.5em;
  }
}
