body {
    background-color: #f0f0f0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    margin: 0;
    /* 縦に並べて中央に寄せる設定 */
    display: flex;
    flex-direction: column;
    align-items: center; 
    padding-top: 20px; /* 画面の一番上との隙間 */
    padding-bottom: 50px; /* 画面の一番下との隙間 */
}

/* タイトルの設定 */
.page-title {
    font-size: 1.2em;
    color: #008080;
    font-weight: bold;
    margin-bottom: 15px; /* スライドショーとの隙間 */
    text-align: center;
}

/* 下部リンクの設定 */
.bottom-link {
    margin-top: 20px; /* スライドショーとの隙間 */
    text-align: center;
}

.bottom-link a {
    color: #555;
    text-decoration: none;
}


.container {
    width: 100%;
    max-width: 600px; /* パソコンでの最大幅 */
    background-color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    padding: 20px;
    box-sizing: border-box;
}

.slideshow-container {
    position: relative;
    width: 100%;
}

.mySlides {
    display: none; /* 初期状態は非表示 */
}

img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* テロップ（文字）エリア */
.text {
    color: #333;
    font-size: 14px;
    padding: 15px 5px;
    text-align: left;
    line-height: 1.6;
    min-height: 80px; /* 文字量が変わってもガタつかないように */
}

/* ボタンのデザイン */
.controls, .audio-player {
    text-align: center;
    margin-top: 10px;
}

button {
    cursor: pointer;
    padding: 8px 16px;
    margin: 5px;
    background-color: #555;
    color: white;
    border: none;
    border-radius: 20px;
    transition: 0.3s;
}

button:hover {
    background-color: #000;
}

/* フェードアニメーション */
.fade {/* 1.5s を 3s (3秒) などに増やすとゆっくりになります */
    animation: fadeAnim 3s;
}

@keyframes fadeAnim {/* 0.4 から 0 にすると、よりハッキリ消えた状態から始まります */
    from {opacity: 0} 
    to {opacity: 1}
}