*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
}
html, body {
    height: 100%;
    font-family: sans-serif;
    color: #222;
    line-height: 1.5;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

ul,
ol {
    list-style: none;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    margin: 0;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

:focus {
    outline: none;
}
        .nav-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Hamburger Menu Styles */
        .hamburger {
            display: none; /* Ẩn trên màn hình lớn */
            flex-direction: column;
            cursor: pointer;
            z-index: 1001; /* Đảm bảo nó nằm trên các phần tử khác */
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: #333;
            margin: 4px 0;
            transition: all 0.3s ease-in-out;
            border-radius: 2px;
        }
        
        /* Animation cho hamburger thành dấu X */
        .hamburger.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-7px, 7px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}
.scroll-up-btn {
    position: fixed;
    height: 60px;
    width: 60px;
    right: 35px;
    bottom: 10px;
    text-align: center;
    font-size: 30px;
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 100rem;
    background: #eeeeeeb0;
    backdrop-filter: blur(3px);
    flex-direction: column;
    gap: 5px 0;
}

.scroll-up-btn.show {
    bottom: 50px;
    opacity: 1;
    pointer-events: auto;
}

.scroll-up-btn:hover {
    transform: translateY(-7px) scale(1,1);
    background: #51a7f5;
}

.scroll-up-btn:hover span {
    color: #fff;
}

.scroll-up-btn img {
    transform: rotate(270deg);
    height: 25px;
}

.scroll-up-btn:hover svg path {
    fill: #fff;
}

.scroll-up-btn span {
    font-size: .9rem;
    color: #4f94bb;
}
.nav-sub-menu {
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
/* Header */
.nav-item-icon {
    display: flex;
    align-items: center;
    gap: 0 5px;
}
.nav-item-with-submenu {
    position: relative;
    display: inline-block;
}
.nav-sub-menu {
    z-index: 1;
}
.nav-sub-menu a:nth-child(1){
       border-left: 4px solid #00bcd4; 
}
.nav-sub-menu a:nth-child(2){
    border-left: 4px solid #4caf50;
}
.nav-sub-menu a:nth-child(3) {
    border-left: 4px solid #fd88a8;
}

.nav-sub-menu.show {
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
    position: static; 
    box-shadow: none;
    border: 1px solid #eee;
    margin-top: 10px;
    min-width: 100%;
}
.nav-item-with-box {
    display: flex;
    width: 100%;
    justify-content: center;
}
@media (min-width: 993px) {
    .nav-item-with-submenu:hover .nav-sub-menu {
        opacity: 1; 
        visibility: visible; 
        transform: translateY(0); 
    }

    /* Trả lại position absolute cho menu con trên desktop */
    .nav-sub-menu.show {
        position: absolute;
    }
}

.nav-sub-menu a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    min-width: 100%;
}
.top-business-make {
color: #4da7f2;
}
.nav-sub-menu a:hover {
    background-color: #f1f1f1;
}
.icon-top {
    width: 140px;
    height: 60px;
    color: #ffffff;
    font-size: 1.1rem;
}

.icon-top-lf {
    background: #4da7f2;
}

.icon-top-lf:hover,
.icon-top-rt:hover {
    background-color: #005bb5;
    transition: .5s ease;
}

.icon-top-rt {
    background: #21324b;
}

.btn-contact {
    display: flex;
}

.entry-section {
    position: relative;
    display: inline-block;
}

.mynabi-wrap {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 5;
    overflow: hidden;
    margin-top: 5px;
    width: 280px;
}

.entry-section:hover .mynabi-wrap {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mynabi-btn {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mynabi-btn:last-child {
    border-bottom: none;
}

.mynabi-btn:hover {
    background-color: #f8f9fa;
}

.mynabi-logo {
    height: 30px;
    width: auto;
}

.arrow {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}

.logo-myna {
    max-width: 180px;
}
p.entry-text{
    font-weight: 600;
}
.mynabi-wrap a:nth-child(1){
        border-left: 4px solid #00bcd4;
}
.mynabi-wrap a:nth-child(2){
    border-left: 4px solid #4caf50;
}
.mynabi-wrap a:nth-child(3) {
    border-left: 4px solid #ef6626;
}
.top-sologan {
    position: absolute;
    bottom: 0px;
    left: -50px;
    font-size: 3.5rem;
    width: max-content;
    z-index: 9;
}
.top-sologan img {
    width: 730px;
}
.top-sologan span {
    display: table;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    padding: 0 1rem;
    font-family: "Klee One", cursive;
    font-weight: 400;
}
#header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    gap: 0 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box;
    height: 60px;
    /* Đặt chiều cao cố định cho header */
}

.logo {
    display: flex;
    align-items: center;
    flex: 1;
}

.logo-pc {
    max-width: 280px;
    height: auto;
}

.nav-effect-1 {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.nav-effect-1 a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    position: relative;
    width: max-content;
    transition: color 0.3s ease;
}
.nav-effect-1 a:hover {
    background: #dceaf6;
    border-radius: 0.5rem;
    transition: 0.5s ease;
}
.contact-button {
    display: flex;
    align-items: center;
    background-color: #4db3f0;
    color: white;
    padding: 13px 15px;
    border-radius: 100rem;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    gap: 0 10px;
    background: linear-gradient(to right, #3a8dde, #4dd0ff);
    box-shadow: rgb(205 205 205) 0px 4px 5px 0px;
    transition: all 0.3s ease;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.all-member-wrap .slick-slide:nth-child(even) img {
    margin-top: 2rem;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    background: #1c2993;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 60px;
    height: 60px;
    background: #ff6b35;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 100px;
    height: 100px;
    background: #4db3f0;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.bg {
    height: 500px;
    background: linear-gradient(to bottom, #fffdf5, #aad8ff);
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.bg img.wave {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
}

.all-member {
    height: 570px;
    object-fit: cover;
}

.top-wrapper {
    position: absolute;
    top: 120px;
    left: 70px;
    margin-top: 110px;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
}

.top-title {
    width: 100%;
    color: white;
    top: -30px;
    position: relative;
}

.top-title h1 {
    font-size: 4rem;
}

.top-title small {
    font-size: 1rem;
    letter-spacing: 3px;
    margin-top: 0.6rem;
    display: block;
}

.top-img {
    width: 60%;
}

.bg p.top_mv_text {
    position: absolute;
    bottom: 100px;
    font-size: 5rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 5px;
    opacity: 0.5;
    white-space: nowrap;
    animation: scrollRight 50s linear infinite;
    width: max-content;
}

.bg p.top_mv_text::after {
    content: " MAKE A GOOD SMILE MAKE A GOOD SMILE MAKE A GOOD SMILE";
}

@keyframes scrollRight {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.top_mv_scroll {
    position: absolute;
    bottom: 100px;
    left: 2%;
    z-index: 3;
}

.top_mv_scroll_text {
    height: 160px;
}

.top_mv_scroll_text .line {
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: calc(50% - 6px);
    width: 8px;
    height: 60px;
}

.top_mv_scroll_text .line::before {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 58px;
    background: #e6e6e6;
    content: '';
}

.top_mv_scroll_text .line::after {
    display: block;
    position: absolute;
    top: 0;
    left: 1px;
    z-index: 2;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    content: '';
    animation-name: scrollBall;
    animation-duration: 2s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
    opacity: 1;
}

.top_mv_scroll_text .text {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 0;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

@keyframes scrollBall {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(60px);
    }
}

.top-img img {
    position: absolute;
    border-radius: 0.7rem;
}

.top-img img:nth-child(4) {
    bottom: -370px;
    width: 250px;
    left: 100px;
}

.top-img img:nth-child(1) {
    width: 380px;
    right: 180px;
}

.top-img img:nth-child(2) {
    display: none;
}

.top-img img:nth-child(3) {
    width: 360px;
    right: -264px;
    height: 460px;
    object-fit: cover;
}

.top-img img:nth-child(5) {
    z-index: -1;
    right: 450px;
    top: -40px;
    width: 25%;
}

.top_business_body {
    position: relative;
}

.all_l_wrap {
    position: relative;
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ryokei-img img:nth-child(1) {
    max-width: 500px;
}

.ryokei-img img:nth-child(2) {
    position: absolute;
    top: -120px;
    right: 210px;
    width: auto;
    height: 290px;
    object-fit: cover;
    z-index: -1;
}
.ryokei-img {
    position: relative;
}

.all-title {
    font-size: 6rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgb(192 211 232 / 60%);
    text-stroke: 2px rgba(255, 255, 255, 0.6);
    letter-spacing: 8px;
    text-align: center;
    text-transform: uppercase;
    opacity: 0.7;
    line-height: 1;
}

.top-txt {
    border-radius: 5px;
    background: #ffffff;
    font-size: 3rem;
    color: #2570ad;
    text-wrap: nowrap;
    display: inline-block;
    line-height: 1;
    box-shadow: 0 2px 9px 5px #e9e9e9;
    margin: 10px 0 0 0;
    font-weight: 500;
    padding: 15px 50px;
    border: none;
}
.l_main_visual_top {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 50vh;
    min-height: 450px; 
    overflow: hidden;
}
.l_main_visual_top .mv_wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    height: calc(1vw * 505 / 1366 * 100);
}
.l_main_visual_top .inner {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 400%; 
    display: flex; 
    will-change: transform;
    backface-visibility: hidden;
    transform: translateX(0);
}
.l_main_visual_top .mv_wrap .inner .list img {
    width: 100%;
    height: auto;
}
.l_main_visual_top .inner.layer01 {
  animation: slide-animation 90s linear infinite;
}
.l_main_visual_top .inner.layer02 {
  animation: slide-animation 90s linear infinite;
}
.l_main_visual_top .inner.layer03 {
  animation: slide-animation 100s linear infinite;
}
.l_main_visual_top .inner .list {
  flex-shrink: 0; /* Ngăn không cho các ảnh bị co lại */
/* width: 25%; */
}
.l_main_visual_top .inner .list img {
  width: 100%;
  height: 100%; /* Cho ảnh lấp đầy chiều cao của container */
  object-fit: contain; /* Giữ tỷ lệ ảnh và cắt bớt phần thừa */
}
.l_main_visual_top .mv_wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  height: calc(1vw * 505 / 1366 * 100);
}
.l_main_visual_top .mv_wrap .inner {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    will-change: transform;
    backface-visibility: hidden;
}
@-webkit-keyframes slide-animation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes slide-animation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.smile {
    max-width: 270px;
    top: -30px;
    position: relative;
}

span.top_business_sologan {
    display: block;
    color: #005FB2;
}

.top_business_body h3 {
    padding: 2rem 0;
    font-size: 2.5rem;
}

.top_business_text {
    padding-bottom: 5rem;
    line-height: 2;
}

.all_c_more {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    justify-content: flex-end;
}

.all_c_more_text {
    color: #127db8;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .1em;
}

.all_c_more_mark {
    overflow: hidden;
    position: relative;
    width: 50px;
    height: 50px;
    margin-left: 30px;
    border-radius: 50%;
    background-color: #62afe3;
    transition: .3s;
}

.all_c_more_mark::before {
    position: absolute;
    top: 50%;
    left: -100%;
    width: 14px;
    height: 14px;
    /* Thêm filter để đổi màu SVG thành trắng */
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2"><path d="M5 12h14M12 5l7 7-7 7"/></svg>') no-repeat 50% 50%/contain;
    content: '';
    transition: .3s;
    transform: translate(-50%, -50%);
}

.all_c_more_mark::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    /* Sử dụng inline SVG thay vì file */
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2"><path d="M5 12h14M12 5l7 7-7 7"/></svg>') no-repeat 50% 50%/contain;
    content: '';
    transition: .3s;
    transform: translate(-50%, -50%);
}

.all_c_more:hover .all_c_more_mark {
    transform: scale(1.1, 1.1);
}

.all_c_more:hover .all_c_more_mark::before,
.menu-item:hover .all_c_more_mark::before {
    left: 50%;
}

.all_c_more:hover .all_c_more_mark::after,
.menu-item:hover .all_c_more_mark::after {
    left: 150%;
}

.window {
    position: absolute;
    background: #4a90e2;
    border-radius: 2px;
}
.main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #273775;
    line-height: 1.3;
    text-align: left;
}

.description {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.arrow {
    color: #4a90e2;
    font-size: 20px;
    font-weight: 300;
}

.all-member-wrap {
    width: 100%;
    margin: 0 auto;
}

.all-member-wrap .slide-bx {
    width: 540px !important;

}

.all-member {
    width: 100%;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    /* Giữ nguyên tỉ lệ ảnh */
    padding: 10px;
    /* Khoảng cách giữa các item */
}

/* Nếu muốn hình ảnh bo góc và đổ bóng nhẹ */
.all-member {
    border-radius: 12px;
}
.member-slider-wrapper{
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.slick-slide {
    margin: 0.6rem;
}

.slick-slide img {
    display: block;
    object-fit: cover;
}

.title {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
    color: #595959;
    position: relative;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.circle {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #cdeeff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.circle::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #88CAEB;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 6px;
    background:
        radial-gradient(ellipse 100% 40% at 50% 50%, #17a2b8 0%, transparent 70%),
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(23, 162, 184, 0.8) 0%, transparent 70%),
        radial-gradient(ellipse 90% 50% at 80% 60%, rgba(23, 162, 184, 0.6) 0%, transparent 70%);
    border-radius: 50px;
    transform: skewX(-5deg);

}

#message {
    margin-bottom: 2rem;
}

#our-work {
    background: #FAFBFF;
}

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            animation: fadeIn 0.3s ease-out;
        }

        .modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }

.modal-content {
    background: white;
    width: 850px;
    max-width: 95%;
    height: 510px;
    border-radius: 12px;
    position: relative;
    display: flex;
    transform: scale(0.7);
    animation: slideIn 0.4s ease-out forwards;
}

.member-slider-container .slick-list {
    overflow: hidden;
}

        .modal-left.manufacturing {
            background: #2ba3b9;
        }

        .modal-right {
            flex: 1;
            display: flex;
        }

        .modal-text {
            flex: 1;
            padding: 30px;
            background: white;
        }

        .modal-image {
            flex: 1;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .modal-title {
            color: #2bb9b0;
            font-size: 28px;
            font-weight: 600;
            margin-bottom: 20px;
        }

        .modal-subtitle {
            color: #333;
            font-size: 16px;
            margin-bottom: 30px;
            line-height: 1.4;
        }

        .modal-description {
            color: #666;
            font-size: 14px;
            line-height: 1.8;
            margin-bottom: 30px;
            height: 200px;
            min-height: 170px;
        }

        .modal-keywords {
            margin-bottom: 20px;
        }

        .modal-keywords h4 {
            color: rgb(43, 163, 185);
            font-size: 14px;
            margin-bottom: 15px;
        }

        .keyword-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .keyword-item {
            color: #666;
            font-size: 13px;
            padding-left: 10px;
            position: relative;
        }

        .keyword-item::before {
            content: '■';
            color: #2bb9b0;
            position: absolute;
            left: 0;
        }

        .close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            color: #333;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
                border: 1px solid #2bb9b0;
        }

        .close-btn:hover {
            background: white;
            transform: scale(1.1);
        }
.link-style:hover{
   text-decoration: underline;
   color: #2ba3b9!important;
}
.link-style:hover a{
   color: #2ba3b9!important;
}
        /* Navigation buttons */
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 20px;
            color: #333;
            transition: all 0.3s ease;
        }

        .nav-btn:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
        }

        .prev-btn {
            left: -60px;
        }

        .next-btn {
            right: -60px;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideIn {
            from {
                transform: scale(0.7);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }
.our-work-container {
    max-width: 1200px;
    margin: 0 auto;
}
.header {
    padding: 70px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}
.business-section {
    display: flex;
    min-height: 500px;
    max-width: 1200px;
    margin: 0px auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
}
.business-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 600px;
}

.trading-card {
    background: #4da2dc;
}
.manufacturing-card {
    background: #db7a4d;
}
        .card-content {
            color: white;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

.category-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.9;
    z-index: 9;
}

.card-title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.2;
}
.card-description {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.95;
    line-height: 1.7;
    z-index: 9;
}
.card-content {
    color: white;
    height: auto;
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30px;
    z-index: 99;
}
.card-wrap{
    z-index: 9;
}
.links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px 20px;
    margin-top: auto;
    height: 180px;
}

.business-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
}
        .business-link:hover {
            border-bottom-color: rgba(255,255,255,0.8);
            padding-left: 10px;
        }

        .business-link::after {
            content: '→';
            font-size: 16px;
            transition: transform 0.3s ease;
        }

        .business-link:hover::after {
            transform: translateX(5px);
        }

.person-image, .manufacturing-image {
    position: relative;
    width: 100%;
    height: 280px;
    object-fit: cover;
    z-index: 9;
    object-position: 6% 22%;
}
.trading-card::before, .manufacturing-card::before {
    position: absolute;
    content: "";
    top: 140px;
    left: 0;
    width: 100%;
    height: 140px;
    z-index: 99;
}

.trading-card::before {
    background: linear-gradient(to bottom, rgba(43, 185, 176, 0) 0, rgb(77 162 220) 100%);
}
.manufacturing-card::before {
    background: linear-gradient(to bottom, rgba(44, 163, 185, 0) 0, rgb(219 122 77) 100%);
}
.vertical-text {
    position: absolute;
    right: 20px;
    top: 10px;
    transform: translateY(-50%);
    z-index: 10;
}
/* --- CSS CHO PHẦN KEYWORDS TRONG MODAL --- */
.modal-keywords {
    margin-top: 20px;
}

.keywords-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    /* Thêm dấu chấm đầu dòng giống ảnh */
    list-style-type: disc;
    display: list-item;
    margin-left: 1em;
}

.keywords-list {
    display: flex;
    flex-direction: column; /* Sắp xếp theo chiều dọc */
    align-items: flex-start; /* Căn lề trái */
    gap: 10px; /* Khoảng cách giữa các keyword */
    padding-left: 1em; /* Căn lề thẳng với tiêu đề */
}

.keyword-tag {
    font-size: 14px;
    color: #666666!important;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 0 8px;
}
.keyword-tag img{
       filter: brightness(0.5);
    max-width: 15px; 
}
[data-aos="fade-left"].aos-short-left {
    transform: translate3d(30px, 0, 0);
}

[data-aos="fade-left"].aos-short-left.aos-animate {
    transform: translate3d(0, 0, 0);
}
[data-aos="fade-up"].custom-fade {
    transform: translate3d(0, 30px, 0);
}

[data-aos="fade-up"].custom-fade.aos-animate {
    transform: translate3d(0, 0, 0);
}
.work-links-container .work-links-row{
      border-top: 1px solid rgba(255, 255, 255, 0.3);  
}
.work-showcase {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.work-images-container {
    display: flex;
    height: 550px;
    position: relative;
}

.work-image-left,
.work-image-right {
    flex: 1;
    width: 50%;
}

.work-image-left img,
.work-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    padding: 0 40px 10px 40px;
    box-sizing: border-box;
    background: linear-gradient(to top, #9fccf6 54%, transparent);
}
.work-overlay-title {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 25px;
}
.work-overlay small{
    font-size: 1.1rem;
}
.work-links-row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.work-links-row:last-child {
    border-bottom: none; /* Bỏ đường kẻ ở hàng cuối */
}

.work-link {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    position: relative;
    transition: all 0.5s ease;
    width: 220px;
    display: flex;
    justify-content: space-between;
}

.work-link:hover {
    color: #3f66a2;
    transition: all 1s ease;
}
.work-link::after {
    content: '→';
    margin-left: 15px;
}

.work-link {
    transition: opacity 0.1s ease, transform 0.1s ease;
}

.work-link::after {
    transition: transform 0.3s ease;
}

.work-link:hover {
    transform: translateX(8px); /* Di chuyển chữ sang phải 8px */
    opacity: 1; 
}

.work-link:hover::after {
    transform: translateX(5px); /* Di chuyển mũi tên thêm 5px sang phải */
}

.work-links-container:hover .work-link:not(:hover) {
    opacity: 0.5;
}





.header-left {
    flex: 1;
}

.header-tag {
    font-size: 14px;
    color: #666;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: normal;
}

.recruitment-title {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.recruitment-text {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

#member {
    background: #f5fbff;
    position: relative;
}

.member-slider-container {
    position: relative;
    margin: 0 auto;
    padding-bottom: 5rem;
    max-width: 1200px;
}
.member-slider-container img {
width: 100%;
height: auto;
box-sizing: border-box;
transition: transform 0.4s ease;
}

/* Làm slide ở giữa to hơn một chút trên PC */
.slick-center {
transform: scale(1.1);
}
.member-company {
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-role {
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 0px;
    font-weight: 500;
}

#member .job-bg {
    position: absolute;
    max-width: 320px;
    top: -30px;
    right: 0;
    z-index: 1;
}

/* Custom Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex; /* Đảm bảo nút hiển thị */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}
.slider-nav:hover {
    background: #3498db;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 0;
}
.slider-next {
    right: 0;
}

.slider-nav::after {
    font-size: 18px;
    font-weight: bold;
}

.slider-prev::after {
    content: '←';
}

.slider-next::after {
    content: '→';
}

/* Hide default slick arrows */
.slick-prev,
.slick-next {
    display: none !important;
}

.slick-dots {
    bottom: -50px;
}

.slick-dots li button:before {
    color: #3498db;
    font-size: 12px;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.benefit-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: scale(1.02);
    z-index: 10;
}

.benefit-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}
/* --- Sân khấu chứa ảnh và hình vuông --- */
.image-wrapper {
    position: relative; /* Rất quan trọng: biến div này thành hệ quy chiếu */
    width: 500px; /* Đặt chiều rộng phù hợp với ảnh của bạn */
    margin: 20px auto; /* Căn giữa để dễ nhìn */
}

/* --- Kiểu dáng cho ảnh cô gái --- */
.image-wrapper img {
    position: relative; /* Đặt ảnh vào hệ quy chiếu của .image-wrapper */
    bottom: 0;
    right: 0;
    max-width: 100%; /* Đảm bảo ảnh không bị tràn ra ngoài */
    z-index: 2; /* QUAN TRỌNG: Đặt ảnh ở lớp trên cùng (số lớn hơn) */
}

/* --- Kiểu dáng chung cho các hình vuông nền --- */
.background-square {
    position: absolute; 
    z-index: 1; 
        transition: transform 0.5s ease-in-out;

}

/* --- Tùy chỉnh cho từng hình vuông --- */
.background-square.yellow {
    background-color: #FFFACD;
    width: 250px;
    height: 200px;
    top: 100px;
    right: 70px;
    transform: rotate(2deg);
}
.image-wrapper:hover .background-square.yellow {
    transform: rotate(5deg) scale(1.1); 
}

/* Khi hover vào .image-wrapper, hình vuông màu cam sẽ thay đổi */
.image-wrapper:hover .background-square.orange {
    transform: rotate(-10deg) scale(1.1); 
}
.background-square.orange {
    background-color: #FFE4C4;
    width: 220px;
    height: 220px;
    top: 100px;
    right: 90px;
    transform: rotate(19deg);
}
.benefit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%); */
    display: flex;
    align-items: flex-end;
    padding: 30px 0px 0px 0px;
}
.square01 {
    background: rgba(255, 237, 0, 0.55) !important; /* Gốc: #ffed00 */
}
.square02 {
    background: rgba(255, 173, 195, 0.55) !important; /* Gốc: #ffadc3 */
}
.square03 {
    background: rgba(255, 173, 195, 0.55) !important; /* Gốc: #ffadc3 */
}
.square04 {
    background: rgba(173, 225, 255, 0.55) !important; /* Gốc: #ade1ff */
}
.square05 {
    background: rgba(182, 255, 173, 0.55) !important; /* Gốc: #b6ffad */
}
.square06 {
    background: rgba(177, 222, 255, 0.55) !important; /* Gốc: #b1deff */
}
.square07 {
    background: rgba(230, 179, 255, 0.55) !important; /* Gốc: #e6b3ff */
}
.square08 {
    background: rgba(147, 255, 133, 0.55) !important; /* Gốc: #93ff85 */
}
.benefit-content {
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: linear-gradient(360deg, #739aba, transparent);
    padding: 1rem 1rem 0.5rem 1rem;
}

.benefit-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.benefit-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.benefit-arrow::after {
    content: '→';
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.benefit-card:hover .benefit-arrow {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}
/* CSS cho các nút bấm chuyển đổi trên mobile */
.mobile-tabs {
    display: none; /* Mặc định ẩn trên desktop */
    width: 100%;
    margin-bottom: 30px; /* Tạo khoảng trống cho mũi tên bên dưới */
}

.tab-btn {
    flex: 1;
    padding: 15px 10px;
    border: none;
    background-color: #f0f0f0;
    color: #888;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    line-height: 1.4;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tab-btn span {
    font-size: 12px;
    font-weight: normal;
}

.tab-btn.active {
    background-color: #4da2dc;
    color: white;
    position: relative;
}
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #4da2dc;
}
.recruitment-section {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.9) 0%, rgba(92, 179, 204, 0.9) 100%);
    min-height: 50vh;
    position: relative;
    margin: 5rem 0 10rem 0;
}
        .background-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('../img/採用情報裏.jpg');
            background-size: cover;
            background-position: center;
            z-index: 1;
        }
.main-title-recu {
    font-size: 3rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 2rem;
}
.content-wrapper {
    position: relative;
    z-index: 2;
    padding: 80px 40px;
    margin: 0 auto;
    height: 500px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.9) 0%, rgba(92, 179, 204, 0.9) 100%);
        background: #ade1ffd9;
}
.recruitment-info-txt {
    max-width: 1200px;
    margin: 0 auto;
}
.navigation-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}
.nav-item {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 20px 0;
    margin: 0px 20px;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    min-width: 250px;
    text-align: left;
}
        .nav-item:hover {
            color: #fff;
            border-bottom-color: rgba(255,255,255,0.8);
            transform: translateY(-2px);
        }

        .nav-item::after {
            content: '→';
            position: absolute;
            right: 0px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 20px;
            opacity: 0.7;
            transition: transform 0.3s ease;
        }

        .nav-item:hover::after {
            transform: translateY(-50%) translateX(5px);
        }

.cta-section {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}
.cta-card {
    background: rgb(65 92 110);
    border-radius: 8px;
    padding: 50px 60px;
    color: white;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: all 0.7s ease;
    cursor: pointer;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}
        .cta-card:hover {
            box-shadow: 0 12px 48px rgba(0,0,0,0.3);
        }

        .cta-text {
            font-size: 16px;
            line-height: 1.8;
            margin-bottom: 30px;
            opacity: 0.9;
            transition: all 0.5s ease;
        }

.cta-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 0;
    letter-spacing: 2px;
    transition: all 0.5s ease;
}

        .cta-arrow {
            transition: all 0.5s ease;
        }

        .cta-card:hover .cta-arrow {
            transform: translateY(-50%) rotate(90deg) translateX(10px);
            opacity: 1;
        }
.cta-button{
       display: flex;
    align-items: center;
    justify-content: space-between; 
}
        /* Entry options panel */
        .entry-options {
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            margin-top: 30px;
            transition: all 0.5s ease;
            transform: translateY(-20px);
        }

        .cta-card:hover .entry-options {
            max-height: 200px;
            opacity: 1;
            transform: translateY(0);
        }

        .entry-buttons {
            display: flex;
            gap: 20px;
            margin-top: 20px;
        }

        .entry-button {
            flex: 1;
            background: white;
            border: none;
            border-radius: 6px;
            padding: 20px;
            color: #1e2749;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .entry-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            background: #f8f9fa;
        }

        .entry-button .logo {
            height: 24px;
            width: auto;
            margin-right: 10px;
        }

        .entry-button .text {
            flex: 1;
            text-align: left;
        }

        .entry-button .arrow {
            font-size: 16px;
            opacity: 0.7;
        }

        .mynavi-button {
            border-left: 4px solid #00bcd4;
        }

        .career-button {
            border-left: 4px solid #4caf50;
        }
        .entry-buttons a:nth-child(3){
                border-left: 4px solid #ef6626;
        }


.footer {
    background: #f8f9fa;
    padding: 40px 20px 20px;
    margin-top: 60px;
    border-top: 1px solid #e9ecef;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-left {
    flex: 1;
}

.company-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #2196F3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.company-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.company-info {
    color: #666;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 1.5rem 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-links {
    display: flex;
    gap: 80px;
    flex: 2;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.footer-link {
    color: #6e6e6e;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 10px;
    position: relative;
    display: flex;
    align-items: center;
}

.footer-link:before {
    content: "●";
    color: #6DA6D7;
    position: absolute;
    left: -2px;
    font-size: 8px;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    color: #999;
    font-size: 12px;
}

.footer-extra {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-extra {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.footer-extra-link:hover {
    text-decoration: underline;
}

.social-icon-ist {
    max-width: 30px;
}

.footer-extra-link {
    display: flex;
    gap: 0 5px;
    text-decoration: underline;
    font-size: 13px;
}

.footer-extra-link img {
    max-width: 12px;
}













/* =================================================================== */
/* CSS RESPONSIVE BỔ SUNG                        */
/* =================================================================== */

/* Tablet & Mobile nhỏ (dưới 1024px) */
@media (max-width: 1024px) {

    /* --- Slogan trên banner đầu trang --- */
    .top-sologan {
        font-size: 2.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        text-align: center;
        bottom: 40px;
    }
.all-member-wrap .slide-bx {
    width: auto !important;
}
.main-title {
    font-size: 2.5rem;
}
.bg img.wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
}
.bg {
    height: 390px;
}
.modal-content {
    width: 80%;
    max-width: 95%;
    height: 400px;
}
    .top-sologan span {
        padding: 5px 15px;
        line-height: 1.3;
            margin: 0.5rem 0;
    }
    
    /* --- Section Message --- */
    .all_l_wrap {
        flex-direction: column;
        gap: 4rem 0;
        margin: 3rem auto;
        padding: 0 20px;
    }

    .top_business_body h3 {
        font-size: 2rem;
    }

    /* --- Section Our Work --- */
    #our-work .header {
        text-align: center;
        gap: 20px;
        padding: 50px 0px;
    }

    .business-section {
        flex-direction: column;
        min-height: auto;
    }

    .vertical-text {
        font-size: 14px;
        top: 60px;
    }

    /* --- Section Benefits --- */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 15px;
    }

    /* --- Section Recruitment --- */
    .content-wrapper {
        height: auto;
        padding: 30px 20px;
    }
.navigation-menu {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: space-between;
}
.nav-item {
    width: 40%;
    text-align: center;
}
    .nav-item::after {
        right: 20px;
    }
    .cta-card {
        padding: 30px;
    }
    .cta-title {
        font-size: 28px;
    }
.footer-links {
    gap: 20px;
    flex: none;
}
.recruitment-section {
    margin: 5rem 0 0rem 0;
}
.footer-container {
    gap: 20px;
}
#member .job-bg {
    position: absolute;
    max-width: 210px;
    top: 30px;
    right: 0;
    z-index: 1;
}
.nav-btn {
    top: 70%;

}

.entry-buttons {
    display: flex;
    gap: 10px;
    margin-top: 0;
}
.entry-button {
    padding: 10px;
    max-height: 50px;
}
.benefit-card {
    height: 250px;
}
.mynabi-btn img{
   width: 100px; 
}
.mynabi-btn {
    padding: 0 20px;
}
.icon-top-rt{
    display: none!important;
}
.entry-section a, .mynabi-wrap{
    border: none;
}
.entry-buttons a:nth-child(3) {
    border-left: 4px solid #ef6626;
    min-height: 50px;
}
.entry-button career-button p{
      font-size: 1rem;
    font-weight: bold;  
}



}

/* Chỉ cho Mobile (dưới 768px) */
@media (max-width: 767.98px) {
.nav-btn {
    top: auto;
        bottom: 30px;
    transform: none;
    width: 45px;
    height: 45px;
    font-size: 18px;
    border: 1px solid #2bb9b0;
}
    .nav-btn:hover {
        transform: scale(1.1); 
    }

    .prev-btn {
        left: 15px; 
    }

    .next-btn {
        right: 15px;
    }
.footer-links, .footer-container, #environment .header{
    flex-direction: column;
}
.mynabi-btn {
    padding: 0 20px;
}
    .slider-nav {
        display: flex;
        /* Chỉ hiện navigation khi có slider */
    }
/* Hiển thị các nút bấm trên mobile */
.mobile-tabs {
    display: flex;
}
.cta-section {
    width: 100%;
}
/* Logic ẩn/hiện các khối nội dung trên mobile */
.business-section .business-card {
    display: none;
}

.business-section .business-card.active {
    display: flex; /* Chỉ hiển thị khối có class active */
}
.ryokei-img img:nth-child(1) {
    max-width: 100%;
}
.recruitment-text {
    text-align: left;
}
.slick-slide:nth-child(even) img {
    margin-top: 0;
}
#our-work .header ,#environment .header{
    text-align: center;
    gap: 20px;
    padding: 50px 0px;
    flex-direction: column;
    align-items: baseline;
}
    /* --- Header --- */
    #header {
        padding: 0 15px;
        height: 70px; /* Tăng chiều cao để dễ thao tác */
    }
    
    /* --- Banner đầu trang --- */
    .bg {
        height: 380px;
    }
.top-sologan {
    bottom: 10px;
    width: 100%;
}
.all-member-wrap .slide-bx {
    width: 95% !important;
}
.top_mv_scroll{
    display: none;
}
    /* --- Tiêu đề chung --- */
    .main-title {
        font-size: 2.2rem;
    }
    .description {
        font-size: 15px;
    }

    /* --- Section Message --- */
    .top_business_body h3 {
        font-size: 1.8rem;
    }
    .top_business_text {
        font-size: 15px;
        line-height: 1.8;
        padding-bottom: 2rem;
    }
    .ryokei-img img:nth-child(2) {
        display: none; /* Ẩn ảnh nền trang trí */
    }

    /* --- Section Our Work --- */
    .card-title {
        font-size: 28px;
    }
    .card-description {
        font-size: 15px;
    }
    .links-grid {
        grid-template-columns: 1fr; /* 1 cột trên mobile */
        height: auto;
        gap: 0;
    }
    .vertical-text {
        display: none; /* Ẩn text dọc */
    }
    
.modal-content {
    flex-direction: column;
    height: 100vh;
    width: 95vw;
}
    .modal-left {
        position: static;
        flex: 0 0 50px;
        width: 100%;
        border-radius: 0.5rem 0.5rem 0 0;
    }
    .modal-left-text {
        writing-mode: horizontal-tb;
    }
    
    .modal-right {
        flex-direction: column-reverse;
        overflow-y: auto;
    }

.modal-text {
    padding: 5px 15px;
}
    
    .modal-image {
        flex: 0 0 200px;
    }
    .close-btn {
        top: 10px;
        right: 10px;
    }
    
    /* --- Section Benefits --- */
    .benefits-grid {
        grid-template-columns: 1fr; /* 1 cột trên mobile */
    }

    /* --- Section Recruitment --- */
    .main-title-recu {
        font-size: 2rem;
    }
    .cta-card {
        padding: 30px 20px;
    }
    .cta-title {
        font-size: 22px;
    }
    .cta-button {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .entry-buttons {
        flex-direction: column;
    }
    
    /* --- Footer --- */
.footer-links {
    text-align: center;
    display: none;
}
    .footer-column {
        align-items: center;
    }
    
    .scroll-up-btn {
        height: 50px;
        width: 50px;
        right: 15px;
    }
    .scroll-up-btn.show {
        bottom: 20px;
    }
/* Bỏ layout dạng lưới và padding mặc định */
#environment .benefits-grid {
    display: block;
    grid-template-columns: none;
    padding: 0;
    gap: 0;
}

#environment .benefit-card {
    height: auto; /* Tự động điều chỉnh chiều cao */
    overflow: visible;
}

/* Biến thẻ a thành một dòng flexbox */
#environment .benefit-card .benefit-image a {
    display: flex;
    align-items: center;
    gap: 15px; /* Khoảng cách giữa ảnh và chữ */
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef; /* Đường kẻ phân cách */
}

/* Xóa đường kẻ ở mục cuối cùng */
#environment .benefits-grid .benefit-card:last-child .benefit-image a {
    border-bottom: none;
}

/* Thu nhỏ ảnh lại thành thumbnail */
#environment .benefit-card .benefit-image {
    flex: 0 0 100px; /* Chiều rộng cố định 100px */
}

#environment .benefit-card .benefit-image img {
    border-radius: 5px; /* Bo góc nhẹ cho ảnh */
}

/* Gỡ bỏ lớp phủ (overlay) */
#environment .benefit-card .benefit-overlay {
    position: static;
    background: none;
    padding: 0;
    flex: 1; /* Chiếm hết phần không gian còn lại */
    display: flex;
    align-items: center;
}

#environment .benefit-card .benefit-content {
    width: 100%;
    background: none;
    padding: 0;
    display: flex;
    justify-content: space-between; /* Đẩy chữ và mũi tên ra 2 bên */
    align-items: center;
}

/* Định dạng lại tiêu đề */
#environment .benefit-card .benefit-title {
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

/* Định dạng lại mũi tên */
#environment .benefit-card .benefit-arrow {
    background: none;
    backdrop-filter: none;
    width: auto;
    height: auto;
}

#environment .benefit-card .benefit-arrow::after {
    content: '→';
    color: #4da2dc; /* Màu xanh dương */
    font-size: 18px;
    font-weight: 300; /* Làm mũi tên mảnh hơn */
}

/* Tắt hiệu ứng hover trên mobile */
#environment .benefit-card:hover {
    transform: none;
}
.benefit-image img {
    width: 40%;
}
.nav-item {
    width: auto;
    min-width: 160px;
    padding: 10px 0;
    text-align: left;
    margin: 0;
}

.cta-arrow {
    width: 20px;
}
.cta-button {
    align-items: center;
    gap: 15px;
    flex-direction: row;
    padding-bottom: 1rem;
}
.entry-options {
margin-top: 0px;
}
.all_l_wrap {
    gap: 0rem 0;

}

.ryokei-img img:nth-child(1) {
    max-width: 80%;
    margin: 0 auto;
}
.navigation-menu {
    gap: 10px;
    justify-content: space-between;
}
.background-square.yellow {
    width: 180px;
    height: 160px;
    top: 60px;
    right: 40px;
    transform: rotate(2deg);
}
.background-square.orange {
    width: 160px;
    height: 160px;
    top: 50px;
    right: 40px;
    transform: rotate(19deg);
}
.work-overlay small {
    font-size: 0.9rem;
}

.member-slider-container {
    padding-bottom: 0rem;
}

    .work-images-container {
        height: 200px;
    }
    .work-overlay {
        position: static; /* Không đè lên ảnh nữa mà nằm bên dưới */
        padding: 20px;
    }
    .work-overlay-title {
        font-size: 20px;
        margin-bottom: 15px;
        padding-left: 0;
    }
    .work-links-row {
        flex-direction: column; /* Xếp các link theo chiều dọc */
        gap: 10px;
        padding: 0;
        align-items: flex-start;
        border-bottom: none;
            padding-top: 10px;

    }

.l_main_visual_top .inner.layer01 {
  animation: slide-animation 50s linear infinite;
}
.l_main_visual_top .inner.layer02 {
  animation: slide-animation 50s linear infinite;
}
.l_main_visual_top .inner.layer03 {
  animation: slide-animation 60s linear infinite;
}
.l_main_visual_top .inner {
    position: absolute;
    left: 0;
    top: 0;
    height: 70%;
    display: flex;
    will-change: transform;
    backface-visibility: hidden;
}
.l_main_visual_top .inner .list {
  flex-shrink: initial; /* Ngăn không cho các ảnh bị co lại */
}
.l_main_visual_top .inner{
    width: 1500%;
}
.l_main_visual_top .inner .list img {
  object-fit: cover; 
}

}


@media (min-width: 1300px) {
    .all-member-wrap .slide-bx {
        width: 600px !important;
    }
.top_mv_scroll {
    bottom: 160px;
}
    .bg {
        height: 600px;
    }
.top-sologan {
    bottom: 40px;
    left: -10px;

}
}

@media (max-width: 992px) {
.nav-item-icon svg{
    display: none;
}

.nav-sub-menu {
    position: inherit;
    box-shadow: none;
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
}
.nav-sub-menu a {
    font-size: 1rem!important;
    font-weight: 400;
    border: none!important;
    padding: 7px!important;
}
    .hamburger {
        display: flex; /* Hiển thị hamburger trên màn hình nhỏ */
    }
.work-overlay {
    padding: 20px 10px;
    height: auto;
}
.work-link {
    font-size: 16px;
    width: 160px;
}
.logo-pc img{
     max-width: 220px;   
}
.top-sologan img {
    width: 570px;
}
#header{
    padding: 0 10px;
    height: 50px;
}
#member, #our-work, #environment {
    padding: 0 20px;
}
.nav-container {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    background-color: rgb(250 250 250 / 98%);
    backdrop-filter: blur(5px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    height: 100vh;
    padding: 2rem 0;
    overflow-y: scroll;
}

    .nav-container.active {
        transform: translateX(0);
    }

    .nav-effect-1 {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-effect-1 a {
        font-size: 1.2rem;
        padding: 15px 10px;
        width: 100%;
        border-bottom: none;
        max-width: 160px;
    }
    .nav-effect-1 a:last-child {
        border-bottom: none;
    }

    .btn-contact {
        flex-direction: column;
        gap: 15px;
        width: 80%;
    }
.icon-top {
    width: 70%;
    height: 60px;
    margin: 0 auto;
    display: block;
    max-width: 300px;
}

.mynabi-wrap {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    width: 100%;
    border-top: 0;
    margin-top: 0;
    border-radius: 0;
    gap: 1rem;
    display: flex;
    flex-direction: column;
}
    .entry-section:hover .mynabi-wrap {
            transform: none;
    }
.mynabi-btn img , .logo-myna{
    width: 250px!important;
    max-width: 250px;
}
.entry-section {
    max-width: 300px;
    margin: 0 auto;
}
.mynabi-wrap a:nth-child(1),
.mynabi-wrap a:nth-child(2),
.mynabi-wrap a:nth-child(3){
        height: 40px;
}

}

@media (min-width: 768px) and (max-width: 1200px) and (orientation: landscape) {

.business-section {
    flex-direction: row;
    min-height: auto;
}
.all_l_wrap{
    flex-direction: row;
}
.icon-top-rt {
    display: block!important;
}
#our-work, #member, #environment{
    padding: 0 20px;
}
.l_main_visual_top {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
}
}

@media (min-width: 768px) and (max-width: 1200px) and (orientation: portrait){
    .l_main_visual_top {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    min-height: 300px;
    overflow: hidden;
}
.work-images-container {
    display: flex;
    height: 450px;
    position: relative;
}





}
@media (min-width: 768px) {


    .slick-dots {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
.icon-top {
    width: 100%;
}


    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .slider-prev {
        left: -20px;
    }

    .slider-next {
        right: -20px;
    }
.work-links-container{
    display: flex;
    justify-content: space-between;
}
.work-overlay {
    background: linear-gradient(0deg,#6396c5 0%, rgb(223 223 223) 100%);
}
.bg img.wave {
    width: max-content;
}
}