/* 基本的なスタイル */
body {
    font-family: sans-serif;
    margin: 0;
}

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

/* ヘッダー */
header {
    background-color: #f0f0f0;
    padding: 20px 0;
}

header h1 {
    margin: 0;
    float: left;
}

header nav {
    float: right;
}

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

header nav li {
    display: inline-block;
    margin-left: 20px;
}

/* スライドショー */
.slideshow {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slideshow img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slideshow img.active {
  opacity: 1;
}

/* メインコンテンツ */
.hero {
    background-image: url("../images/hero.jpg"); 
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    padding: 100px 0;
}

.news {
    padding: 40px 0;
}

.news h3 {
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.news ul {
    list-style: disc;
    padding-left: 40px;
}

.features {
    padding: 40px 0;
}

.feature-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature {
    width: 30%;
    margin-bottom: 30px;
}

.feature img {
    width: 100%;
    height: auto;
}

/* 地図 */
.map {
  padding: 40px 0;
}

.map h3 {
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

#map {
  height: 400px;
  width: 100%;
}

/* お問い合わせフォーム */
.contact {
  padding: 40px 0;
}

.contact h3 {
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.contact form div {
  margin-bottom: 15px;
}

.contact label {
  display: block;
  margin-bottom: 5px;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.contact button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

/* フッター */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
    .feature-grid {
        flex-direction: column;
    }

    .feature {
        width: 100%;
    }
}