.gallery {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 12.5rem;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
}

.thumbnail-gallery {
    display: flex;
    flex-direction: column;
    max-height: 500px;
    /* 必要に応じて調整 */
    overflow-y: auto;
}

.main-img img {
    max-width: 800px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.main-img-p {
    margin-top: 2rem;
    max-width: 800px;
    width: 100%;
}

.main-img p {
    max-width: 800px;
    width: 100%;
    margin-bottom: 2rem;
}

.thumbnails-wrapper {
    position: relative;
    white-space: nowrap;
    /* 画像が折り返されないように */
    max-width: 100%;
    /* コンテナの幅を制限 */
}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 600px;
    overflow-y: auto;
    cursor: pointer;
    /* スクロールバーを非表示 */
    scrollbar-width: none;
    /* Firefox用 */
    -ms-overflow-style: none;
    /* Edge用 */
}

.scroll-indicator {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    right: -2rem;
    color: #262222;
    font-size: 3rem;
    animation: blink 1s infinite alternate;
    /* 点滅アニメーション */
    transition: opacity 0.5s;
}

.scroll-sentencr {
    transform: rotate(90deg);
    margin-bottom: 1rem;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

.return {
    color: #262222;
    font-size: 1rem;
    animation: blink 1s infinite alternate;
    margin-bottom: 1rem;
    /* 点滅アニメーション */
    transition: opacity 0.5s;
}

.thumbnail-gallery {
    display: flex;
    flex-direction: column;
    max-height: 500px;
    /* 必要に応じて調整 */
    overflow-y: auto;
}

.thumbnail {
    cursor: pointer;
    margin: 5px;
    width: 100px;
    /* 必要に応じて調整 */
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.thumbnail:hover {
    transform: scale(1.1);
    /* ホバー時に拡大 */
}

.thumbnails::-webkit-scrollbar {
    display: none;
}

.thumbnails img {
    max-width: 150px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.thumbnails img:hover {
    transform: scale(1.1);
    opacity: 0.7;
}

.web-link a {
    display: block;
    float: right;
    /* margin-bottom: 2rem; */
    animation: blink 1s infinite alternate;
    /* 点滅アニメーション */
    transition: opacity 0.6s;
}

.work-page-1-link {
    display: flex;
    justify-content: space-between;
}

.web-login {
    font-size: 0.8rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-end;

}

.web-login-inner {
    margin-left: 1rem;
}

.work-skill-sub-continer {
    display: flex;
    width: 100%;
    margin-top: 1.5rem;
}

.work-skill-sub-continer img {
    max-height: 80px;
    height: 80%;
    width: auto;
    box-shadow: none;
    margin-right: 1.5rem;
}