.top-header {
    height: calc(100vh/3.5);
    width: 100%;
    display: flex;
    overflow: hidden; /* 画面外に出る部分を隠す */
}

.header-image {
    width: 100%;
    height: 100%; /* 高さを明示的に指定 */
    overflow: hidden;
}

/* 各スライドの設定 */
.slide {
    width: 100%;
    height: 100%; /* スライドの高さを親の高さに合わせる */
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* お知らせ */
.announcement {
    padding: 10px;
    text-align: center;
    font-weight: normal;
}

.announcement p{
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration-line: underline;
    text-decoration-color: #323232;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    margin-bottom: 5px;
}

.announcement ul {
    list-style-type: disc;
    list-style-position: outside;
    margin: 0 auto;
    padding-left: 2em;
    display: inline-block;
    text-align: left;
}

.announcement li {
    white-space: pre-wrap;
    word-break: break-all;
}

.announcement.sp {
    margin-bottom: 10px;
    display: block;
}
.announcement.pc {
    display: none;
}

/* 横向きの場合 */
@media (orientation: landscape) {
    .top-header {
        height: 100vh;
    }

    .announcement.sp {
        display: none;
    }
    .announcement.pc {
        display: block;
    }
}

/* *********************** */
/* iPad */
/* *********************** */
@media (min-width:600px) {
    .top-header {
        height: 450px;
    }
    /* 横向きの場合 */
    @media (orientation: landscape) {
        .top-header {
            height: 80vh;
        }
    }
}

/* *********************** */
/* PC */
/* *********************** */
@media (min-width:1200px) {
    .top-header {
        height: 100vh;
    }

    .announcement.sp {
        display: none;
    }
    .announcement.pc {
        display: block;
    }
}