/* top-services.css */

.services {
  padding: 50px 20px;
  background-color: #fdfaf5;
  text-align: center;
}

.services h2 {
  font-size: 2em;
  color: #d16666;
  margin-bottom: 30px;
  font-weight: bold;
}

.service-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 25px;
  width: 100%;
  max-width: 400px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-box h3 {
  font-size: 1.3em;
  color: #d16666;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .service-boxes {
    flex-direction: column;
    align-items: center;
  }
}
