
body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background: #f9f9f9;
}
header {
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}
.logo {
  height: 40px;
  object-fit: contain;
}
nav {
  display: flex;
  gap: 15px;
}
nav a {
  text-decoration: none;
  color: #003366;
}
nav a:hover {
  color: #004aad;
}
.hero {
  position: relative;
  height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0; left: 0;
  z-index: 0;
}
.hero-fallback {
  display: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 600px;
  padding: 20px;
}
.hero-content h2 {
  font-size: 36px;
}
.hero-content p {
  font-size: 18px;
}
.hero-content a {
  margin-top: 20px;
  padding: 10px 20px;
  background: #004aad;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}
section {
  padding: 40px 20px;
}
h3 {
  text-align: center;
  color: #003366;
}
.services, .about {
  max-width: 1000px;
  margin: auto;
}
.service-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
}
.company-table-wrapper {
  overflow-x: auto;
}
.company-table {
  width: 100%;
  min-width: 360px;
  border-collapse: collapse;
  background: #fff;
}
.company-table th,
.company-table td {
  padding: 10px 12px;
  border: 1px solid #ddd;
  text-align: left;
}
.company-table th {
  background: #f0f4f8;
  color: #003366;
  width: 100px;
}
.contact {
  background: #e6f4fa;
  text-align: center;
}
.contact a {
  background: #004aad;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
}
footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  background: #002244;
  color: #ccc;
}

/* モバイル調整 */
@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  nav {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
  .hero-video {
    display: none;
  }
  .hero-fallback {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('fallback.jpg') center center / cover no-repeat;
    top: 0; left: 0;
    z-index: 0;
  }
  .hero-content h2 {
    font-size: 24px;
  }
  .hero-content p {
    font-size: 14px;
  }
}
