/* ヘッダーのスタイル */
header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-bottom: 10px;
  }

/* フッターのスタイル */
footer {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
  }  

/* スライドショーのコンテナ */
.slider-container {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.slider a {
    min-width: 100%;
    transition: transform 0.5s ease;
}

.slider img {
    width: 100%;
    height: auto;
}

/* 前後ボタンのスタイル */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 18px;
    cursor: pointer;
    border: none;
    user-select: none;
    z-index: 10;  /* ボタンを前面に表示 */
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
