@charset "utf-8";

body {
  margin: 0;
  padding: 0;
}

/*リンク*/
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  gap: 10px;
}

.aikon {
  position: absolute;
  left: 20px;
  top: 10px;
}

.aikon img {
  width: 40px;
  height: auto;
  cursor: pointer;
}




.sidebar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
}

.sidebar a:hover {
  background-color: transparent; 
  color: #28ff14; 
}


/*メイン画像*/
.main-image {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden; /* スライドをはみ出させない */
  height: 450px; /* スライダーの高さを固定 */
  background-color: #ccc;
  text-align: center;
  padding-top: 50px;
}

.slideshow {
  position: relative;
  width: 960px; /* 白い枠に合わせる */
  height: 465px;
  margin: 60px auto 40px; /* 上にナビバー分の余白を確保 */
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* 横幅を枠に合わせる */
  height: 100%; /* 高さも枠に合わせる */
  object-fit: cover; /* 画像を枠にフィットさせる */
  display: none;
}

.slideshow img:first-child {
  display: block;
}



.slide {
  width: 25%; /* 各スライドはコンテナの 1/4 (100% / 4) */
  height: 400px;
  line-height: 400px;
  font-size: 2em;
  color: #fff;
  background-color: #6a6a6a;
  flex-shrink: 0; /* スライドが縮まないようにする */
  text-align: center;
}

/* スライダーナビゲーションボタン */
.slide-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 10px;
}

.slide-nav button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 4px;
}

/* インジケーター */
.slide-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;

  display: flex;
}

.slide-indicators li {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.slide-indicators li.active {
  background-color: #fff;
}


/*ストーリー部分*/
.story {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    gap: 40px; 
    flex-wrap: wrap; 
    background-color: #d2d2d2; 
  }
  
  .story img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .story-text {
    max-width: 500px;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
  }
  



  .form-section {
    background-color: #d2d2d2;
    padding: 40px;
    margin: 40px auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  .form-section h2 {
    color: #2c3e50;
  }
  input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    box-sizing: border-box;
  }
  button {
    margin-right: 10px;
    padding: 10px 20px;
    cursor: pointer;
  }
  
