body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

.header-bg {
  background-image: url('img/header-image.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 200px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.header-content {
  background-color: rgba(0, 0, 0, 0.35);
  padding: 1em;
  width: 100%;
  border-radius: 10px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin-top: 1em;
  display: flex;
  justify-content: center;
  gap: 2em;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

section {
  background-color: #f9f9f9;
  padding: 2rem;
  margin: 1.5rem auto;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

section h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #ffffff;
  border-left: 6px solid #4a90e2;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1.5rem
}

.scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-bottom: 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollable_card{
  flex: 0 0 300px;
  scroll-snap-align: start;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.3s ease;

}

/* スクロールバーを非表示（オプション） */
.scroll::-webkit-scrollbar {
  display: none;
}

