
/*===== brand identity banner =====*/
.brand-identity .slogn-inner{
    position: relative;
    padding-top:240px;
    display:flex;
    align-items:flex-end;
    background:#fffefe ;
    z-index:2;
}
.brand-identity .slogn{
    font-size: clamp(3.6rem, 7vw, 10rem);
    font-family:var(--content-font);
    line-height:1.3;
    font-weight:800;
}
.brand-identity .slogn .text-inner{
    position: relative;
    overflow: hidden;
}

.brand-identity .slogn .text-inner span.char {
    display: inline-block;
}


.brand-identity .slogn-content{
    margin-bottom:clamp(40px, 5vw, 100px);   
}
.brand-identity .slogn-content .content{
    padding-left:4rem;
}

.brand-identity .content-cn p,
.brand-identity .content-cn .split-line{
    color:var(--color-secondary);
    font-size:1.2rem;
    line-height:1.5;
}
.brand-identity .content-en p,
.brand-identity .content-en .split-line{
    color:var(--color-gray);
    font-size:1.15rem;
    font-family:var(--en-font);
}

/* brand gallery */
.brand-gallery .img-inner{
    position: relative;
    height:100%;
    width:100%;
    aspect-ratio: 2 / 1;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow: hidden;
}
.brand-gallery .img-inner img{
    position:absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-identity .brand-gallery .img-inner img{
    opacity: 0;
    animation: fadeSlide 3s ease-in-out infinite;
}

.brand-gallery .img-inner img:nth-child(1) { animation-delay: 0s; }
.brand-gallery .img-inner img:nth-child(2) { animation-delay: 0.5s; }
.brand-gallery .img-inner img:nth-child(3) { animation-delay: 1s; }
.brand-gallery .img-inner img:nth-child(4) { animation-delay: 1.5s; }
.brand-gallery .img-inner img:nth-child(5) { animation-delay: 2s; }
.brand-gallery .img-inner img:nth-child(6) { animation-delay: 2.5s; }


@keyframes fadeSlide {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    16%  { opacity: 1; }
    21%  { opacity: 0; }
    100% { opacity: 0; }
}

@media (max-width:1200px) and (orientation: portrait){
    .brand-identity .slogn-inner{
        min-height:54vh;
    }
    .brand-gallery .img-inner{
        aspect-ratio: 2 / 1.1;
    }
}

@media (max-width:1199px){
    .brand-identity .slogn{
        margin-bottom:2.5rem;
    }
}


@media (max-width: 540px) and (orientation: portrait) {
    .brand-gallery .img-inner{
        aspect-ratio: 3 / 4;
    }
}

@media (max-width:540px){
    .brand-identity .slogn-inner{
        padding-top:200px;
    }
    .brand-identity .slogn{
        font-size:9vw;
    }
    .brand-identity .slogn-content .content{
        padding-left:10rem;
    }
    .brand-identity .content-cn p,
    .brand-identity .content-cn .split-line{
        font-size:1rem;
    }
    .brand-identity .content-en p,
    .brand-identity .content-en .split-line{
        font-size:1rem;
    }
  
}
@media (max-width:450px){
    .brand-identity .slogn{
        margin-bottom:40px;
    }
    .brand-identity .content-cn p,
    .brand-identity .content-cn .split-line{
        font-size:1.15rem;
    }
    .brand-identity .content-en p,
    .brand-identity .content-en .split-line{
        font-size:1.1rem;
    }
  
}

/*===== service info =====*/

/* card info */
.brand-identity .card-image{
    position: relative;
    background:#f1f1f1;
    min-height:480px;
    width:100%;
    aspect-ratio: 4 / 2.2;
    overflow: hidden;
}
/*  card1 ani */
.brand-identity .build-images{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    height:450px;
    aspect-ratio: 366 / 528;
}
.brand-identity .build-images .body {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-identity .build-images .hand {
    position: absolute;
    /* top: 44%; */
    top: 45%;
    /* left:88%; */
    left:86%;
    transform: translate(-50%, -50%);
    width:29%;
    height:auto;
    z-index:-1;
    transform-origin:left top;
    animation: build-hand 1.5s infinite alternate ease-in-out paused;
}
@keyframes build-hand {
    0%   { transform: translate(-50%, -50%) rotate(0deg); }
    50%  { transform: translate(-50%, calc(-50% + 10px)) rotate(12deg); }
    100% { transform: translate(-50%, calc(-50% - 6px))  rotate(0deg); }
}

.brand-identity .build-images.ani-start .hand {
    animation-play-state: running;
}

/*  card2 ani */
.brand-identity .design-images{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    height:420px;
    aspect-ratio: 318 / 386;
}
.brand-identity .design-images .body {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.brand-identity .design-images .eyes {
    position:absolute;
    top: 17%;
    left:55%;
    transform: translate(-50%, -50%);
    width:26%;
    height:auto;
    animation: d-blink 2s infinite;
}
@keyframes d-blink {
    0%, 88%, 100% { clip-path: inset(0 0 0 0); }
    96%            { clip-path: inset(47% 0 47% 0); }
}

.brand-identity .design-images .hand {
    position: absolute;
    top: 37%;
    left:82%;
    transform: translate(-50%, -50%);
    width:32%;
    height:auto;
    transform-origin:left top;
    animation: d-hand 1s infinite alternate linear paused;
}
@keyframes d-hand {
    0%   { transform: translate(-50%,-50%); }
    50%  { transform: translate(calc(-50% - 10px), calc(-50% + 20px)); }
    100% { transform: translate(calc(-50% + 10px), calc(-50% + 10px));}
}
.brand-identity .design-images.ani-start .hand {
    animation-play-state: running;
}

@media (min-width:2000px) and (orientation: landscape){
    .brand-identity .build-images,
    .brand-identity .design-images{
        height:90%;
    }

    .brand-identity #card2 .card-image{
        aspect-ratio: 4 / 2.5;
    }
    
}



@media (max-width:991px) and (orientation: portrait) {
    .brand-identity .card-image {
        min-height: auto;
        width: 100%;
        height:100%;
        aspect-ratio: 4 / 2.2;
        margin-bottom:2.5rem;
    }
    .brand-identity .build-images,
    .brand-identity .design-images{
        height:46vw;
    }
    .brand-identity .build-images .body,
    .brand-identity .design-images .body{
        height:100%;
        width:100%;
    }
    
}
@media (max-width:450px) {
    .brand-identity .card-image {
        aspect-ratio: 4 / 2.5;
    }
}

