section.brand-story {
    width: 100%;
    background-color: transparent;
    color: var(--color-on-surface);
    margin: var(--margin-section) 0;
}

.brand-story .content {
    padding: 0 var(--padding-side);
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.brand-story .image-box {
    width: 100%;
    position: relative;
    height: 300px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.brand-story img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
    animation: img-rotate 30s linear infinite;
    will-change: transform, opacity;
}

.brand-story .word-box {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@keyframes img-rotate {
    0% {
        transform: rotate(0deg) scale(1.3);
    }

    92% {
        opacity: 1;
    }

    97% {
        opacity: 0;
        transform: rotate(30deg) scale(2);
    }

    98% {
        opacity: 0;
        transform: rotate(0deg) scale(1.3);
    }

    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1.3);
    }
}

.brand-story h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
}

.brand-story p {
    /* 行距 */
    line-height: var(--line-height-normal);
    margin: var(--space-1) 0;
}



@media (max-width: 1200px) {
    .brand-story .content {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .brand-story .image-container {
        transform: translateX(0);
        height: 250px;
    }

    .brand-story .word-box {
        align-items: center;
    }

    .brand-story p {
        font-size: 0.9rem;
        text-align: center;
    }

    .brand-story h1 {
        font-size: 1.4rem;
        font-weight: 700;
    }
}
