/* PC対応 */

/* 基本のスタイル */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

h1 {
    color: #3cff00;
    text-align: center;
    margin-bottom: 30px;
}

.hometitle {
    text-align: center;
    margin-top: 50px;
    font-size: 2rem;
    color: white;
    text-shadow: 3px 3px 6px rgb(255, 0, 0); /* 文字に影を追加 */
}

.homedesign {
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
}

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

ul li {
    margin: 20px 0;  /* 各リストアイテムの間隔 */
    text-align: center;
}

ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    padding: 10px;
    display: block;
    background-color: #e0e0e0;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

ul li a:hover {
    background-color: #5cb85c;
    color: white;
}

/* メディアクエリ（レスポンシブ対応） */
@media screen and (min-width: 520px) {
    .homedesign {
        width: 400px;
    }
}

/* スライドショーのコンテナ */
.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

/* スライドショーの画像 */
.slideshow-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* 表示する画像 */
.slideshow-container img.active {
    opacity: 1;
}

#X-image {
    transform: scale(0.1);
    position: absolute;
    top: -180px;
    right: -200px;
}
#announcement{
    position: absolute;
    transform: scale(1.5);
    font-weight: 700;
    top: 0px;
    right: 200px;
    text-align: center;
    color: red;
}

