.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from { opacity: .4 }
    to { opacity: 1 }
}

@keyframes fade {
    from { opacity: .4 }
    to { opacity: 1 }
}

.loading-bar {
    width: 90%; /* メーターの横棒をさらに長くする */
    height: 20px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

@media screen and (max-width: 428px) {

.center-logo {
        max-width: 200px;
    }

.works {
    display: flex;
    flex-direction: column;
    align-items: center; /* 中央揃え */
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.work-item {
    width: 100%;
    max-width: 800px; /* 最大幅を設定 */
    margin: 20px 0; /* 上下のマージンを設定 */
    box-sizing: border-box;
    text-align: center; /* テキストと画像を中央揃え */
}

.work-item img {
    width: 100%;
    height: auto;
    max-width: 100%; /* 画像が親要素を超えないように設定 */
    border-radius: 10px; /* 角を丸くする */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* 影をつける */
}

.work-item h3 {
    margin-top: 10px;
    font-size: 1.5em;
    color: #333;
}
}