main {
    background-color: black;
}

.about {
    width: 100%;
    padding: clamp(40px, 6vw, 100px);
    color: white;
    font-family: 'Noto Sans JP', sans-serif;
    z-index: 3;
    position: relative;
}

/* Title */
.about-title {
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 700;
    margin-bottom: 20px;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Animated state */
.about-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================== */
/* About Section */
/* ===================================== */

.about-wrapper {
    width: 100%;
    background: #2c2e36;
    display: flex;
    gap: clamp(20px, 4vw, 40px);
    overflow: hidden;
    padding: clamp(20px, 4vw, 60px);
    flex-wrap: wrap;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Animated state */
.about-wrapper.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* LEFT SIDE */
.about-left {
    flex: 1;
    padding: clamp(20px, 4vw, 50px) clamp(20px, 6vw, 150px);
    line-height: 1.7;
    font-size: clamp(14px, 1.6vw, 20px);
}

.about-small {
    font-size: clamp(16px, 2vw, 24px);
    margin-bottom: 10px;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.2s;
}

/* Animated state */
.about-wrapper.animate-in .about-small {
    opacity: 1;
    transform: translateX(0);
}

.about-mid {
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 600;
    margin-bottom: 10px;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.3s;
}

/* Animated state */
.about-wrapper.animate-in .about-mid {
    opacity: 1;
    transform: translateX(0);
}

.about-desc {
    font-size: clamp(14px, 1.8vw, 22px);
    margin-bottom: 20px;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.4s;
}

/* Animated state */
.about-wrapper.animate-in .about-desc {
    opacity: 1;
    transform: translateX(0);
}

.about-footer {
    font-size: clamp(12px, 1.4vw, 18px);
    opacity: 0.8;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.6s;
}

/* Animated state */
.about-wrapper.animate-in .about-footer {
    opacity: 0.8;
    transform: translateX(0);
}

/* RIGHT SIDE VIDEO */
.about-right {
    flex: 1;
    padding: clamp(20px, 4vw, 50px);
    display: flex;
    justify-content: center;
}

.about-video {
    width: 100%;
    max-width: 500px;
    height: clamp(200px, 40vw, 400px);
    background-image: url('../assets/images/ai_bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    
    /* Animation initial state */
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1),
                transform 1s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.3s;
}

/* Animated state */
.about-wrapper.animate-in .about-video {
    opacity: 1;
    transform: scale(1);
}

.about-play {
    /* Animation initial state */
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.5s;
}

/* Animated state */
.about-wrapper.animate-in .about-play {
    opacity: 1;
    transform: scale(1);
}

.about-play {
    width: clamp(40px, 6vw, 60px);
    height: clamp(40px, 6vw, 60px);
    font-size: clamp(20px, 4vw, 32px);
    border-radius: 50%;
    background-color: transparent;
    border: none;
    position: absolute;
    left: 50%;
    top: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    
    /* Animation initial state */
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.5s;
}

/* Animated state */
.about-wrapper.animate-in .about-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.6s cubic-bezier(0.19, 1, 0.22, 1),
                scale 0.25s ease;
}

.about-wrapper.animate-in .about-play:hover {
    transform: translate(-50%, -50%) scale(1.12);
}

/* ===================================== */
/* Team Section */
/* ===================================== */

.team-section {
    width: 100%;
    padding: clamp(40px, 6vw, 80px) 0;
    text-align: center;
    color: white;
}

.team-title {
    font-size: clamp(28px, 4vw, 54px);
    margin-bottom: 20px;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Animated state */
.team-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.team-desc {
    font-size: clamp(14px, 1.4vw, 18px);
    line-height: 1.8;
    margin-bottom: clamp(30px, 5vw, 60px);
    opacity: 0.85;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.2s;
}

/* Animated state */
.team-desc.animate-in {
    opacity: 0.85;
    transform: translateY(0);
}

.team-wrapper {
    width: 90%;
    margin: auto;
    background: #232630;
    padding: clamp(30px, 5vw, 60px);
    display: flex;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 30px);
    flex-wrap: wrap;
}

.member {
    width: clamp(240px, 22%, 300px);
    position: relative;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Animated state */
.member.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.member img {
    width: 100%;
    border-radius: 6px;
    filter: brightness(0.6);
    transition: 0.3s ease;
    
    /* Animation initial state */
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                transform 1s cubic-bezier(0.19, 1, 0.22, 1),
                filter 0.3s ease;
    transition-delay: 0.2s;
}

/* Animated state */
.member.animate-in img {
    opacity: 1;
    transform: scale(1);
}

/* First member: brightness 1 on hover */
.member:first-child:hover img {
    filter: brightness(1);
}

/* Other members: brightness 2 on hover */
.member:not(:first-child):hover img {
    filter: brightness(2);
}

.member-info {
    position: absolute;
    left: 20px;
    bottom: 10px;
}

.member-name {
    font-size: clamp(14px, 1.4vw, 20px);
    font-weight: 600;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.4s;
}

/* Animated state */
.member.animate-in .member-name {
    opacity: 1;
    transform: translateY(0);
}

.member-role {
    font-size: clamp(10px, 1vw, 14px);
    opacity: 0.85;
    letter-spacing: 1px;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.5s;
}

/* Animated state */
.member.animate-in .member-role {
    opacity: 0.85;
    transform: translateY(0);
}

/* ===================================== */
/* Mission Section */
/* ===================================== */

.mission-section {
    position: relative;
    width: 100%;
    padding: clamp(30px, 6vw, 80px);
    color: white;
    background: url("../assets/images/mission.avif") center / cover no-repeat fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    /* Animation initial state */
    opacity: 0;
    transition: opacity 1s ease;
}

/* Animated state */
.mission-section.animate-in {
    opacity: 1;
}

.mission-section>* {
    z-index: 2;
}

/* Overlay */
.mission-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(1px);
    
    /* Animation initial state */
    opacity: 0;
    transition: opacity 1s ease;
}

/* Animated state */
.mission-section.animate-in::after {
    opacity: 1;
}

/* White note */
.mission-note {
    top: 0px;
    left: clamp(10px, 4vw, 60px);
    font-size: clamp(14px, 1.4vw, 18px);
    z-index: 3;
    position: absolute;

}

/* Main text */
.mission-title {
    font-size: clamp(22px, 3vw, 42px);
    padding-block: clamp(30px, 3vw, 50px);
    font-weight: 600;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 40px;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.2s;
}

/* Animated state */
.mission-section.animate-in .mission-title {
    opacity: 1;
    transform: translateY(0);
}

.mission-subtext {
    font-size: clamp(13px, 1.4vw, 18px);
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 60px;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.4s;
}

/* Animated state */
.mission-section.animate-in .mission-subtext {
    opacity: 0.85;
    transform: translateY(0);
}

/* Values */
.core-values {
    width: 100%;
    display: flex;
    gap: clamp(10px, 3vw, 20px);
    flex-wrap: wrap;
}

.value-box {
    flex: 1 1 clamp(250px, 30%, 350px);
    background: rgba(10, 10, 20, 0.55);
    padding: clamp(20px, 4vw, 30px);
    border-radius: 10px;
    backdrop-filter: blur(6px);
    
    /* Animation initial state */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Animated state */
.value-box.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.value-box h3 {
    font-size: clamp(16px, 1.8vw, 22px);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.2s;
}

/* Animated state */
.value-box.animate-in h3 {
    opacity: 1;
    transform: translateX(0);
}

.value-line {
    width: 4px;
    height: 30px;
    background: #6D4BFF;
    border-radius: 3px;
    margin-right: 12px;
    
    /* Animation initial state */
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.1s;
}

/* Animated state */
.value-box.animate-in .value-line {
    opacity: 1;
    transform: scaleY(1);
}

.value-box p {
    font-size: clamp(12px, 1.4vw, 16px);
    line-height: 1.7;
    opacity: 0.9;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.4s;
}

/* Animated state */
.value-box.animate-in p {
    opacity: 0.9;
    transform: translateX(0);
}


/* Responsive */
@media (max-width : 768px) {
    .about-wrapper {
        display: flex;
        flex-direction: column;
    }

    .about-left,
    .about-right {
        padding: 0px;
    }

    .about{
        padding-inline: 20px;
    }
}