
body {
  margin: 0;
  background: #f8f8f8;
  color: #333;
  line-height:2;
  font-family: "M PLUS 1", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

nav {
  display:flex;
  flex-wrap: wrap;
  justify-content: right;
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #555;
  font-weight: 500;
  white-space: nowrap;
  display:block;
}

.hero {
  background: url('mv.jpg') center/cover no-repeat;
  height: 80vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.55);
  padding: 2rem;
  border-radius: 10px;
  max-width: 700px;
}

.cta-btn {
  margin-top: 1.5rem;
  display: inline-block;
  background: #4b6cb7;
  border: 1px solid #4b6cb7;
  color: white;
  padding: 0.5rem 1.3rem;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.2s ease;
  font-size: 1.2rem;
  font-weight: 500;
}

.cta-btn:hover {
  color: #4b6cb7;
  background-color: white;
}

#contact .cta-btn {
  margin-top: 0;
}

.section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.section h2 {
  font-size: 1.6rem;
  border-left: 4px solid #4b6cb7;
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0;
  list-style: none;
}

.services-grid li {
  flex: 1 1 250px;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: center;
}

.services-grid .img {
  display:block;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.services-grid img {
  width: 100%;
    height: 100%;
    object-fit: cover;
}

#info ul {
  padding-left: 1.5em;
}

footer {
  text-align: center;
  background: #333;
  color: #ccc;
  padding: 2rem;
  margin-top: 3rem;
}

/* モバイル対応 */
@media (max-width: 768px) {

  br.br {
    display:none;
  }
  nav a {
    margin-left: 1rem;
    font-size: 0.9rem;
  }
  .hero {
    height: 60vh;
    padding: 2rem;
  }
  .overlay h1 {
    font-size: 1.8rem;
  }
  .services-grid {
    flex-direction: column;
  }
}
