body{
    margin: 0;
    background-image: url('../../image/toppage/toppage_image.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* スクロール時に背景を固定 */
    background-position: center;

    color: white;
}

#dark-accent{
    margin-top: 25vh;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 400px;
}

@media (max-width: 1000px) {
    #dark-accent {
        height: 500px;
    }    
}

#text-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh;
    overflow: hidden;
}

#animated-text{
    font-size: clamp(3.0rem, calc(0.25vw + 2.0rem), 4.0rem);
    white-space: nowrap;
    overflow: hidden;
}

#cursor{
    width: 5px;
    height: clamp(3.0rem, calc(0.25vw + 2.0rem), 4.0rem);
    background-color: white;
    /* animation: blinkCursor 0.7s infinite; */
}

@keyframes blinkCursor{
    0%, 100%{
        opacity: 1;
    }
    50%{
        opacity: 0;
    }
}

.button-container{
    display: flex;
    justify-content: center; /* ボタンを中央に配置 */
    flex-wrap: wrap; /* 必要に応じてボタンを折り返す */
}

@media (max-width: 1000px) {
    .button-container {
        flex-direction: column;
    }    
}

.button{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    text-decoration: none; /* リンクの下線を削除 */
    font-size: clamp(2.0rem, calc(0.25vw + 2.0rem), 3.0rem);
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 1); /* 文字色 */
    padding: 10px 20px; /* ボタン内の余白を設定 */
    background-color: rgba(0, 37, 91, 0.8); /* ボタン色 */
    border: 3px solid white;
    border-radius: 10px; /* ボタンの角を丸める */
    margin: 20px; /* ボタンの間の余白を設定 */
}
