/* search */

#search {
    display: none;
}

.search {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: transform 250ms ease;
    cursor: pointer;
    z-index: 200;
    padding: 0 3rem;
}

.search span {
    position: relative;
    display: block;
    width: 50%;
    height: 3px;
    background-color: #fff;
    float: left;
    transform-origin: center center;
    transition: transform 250ms ease;
    z-index: 200;
}

.search span:nth-of-type(1) {
    transform: translate(-2px, -2px);
    width: 20px;
    height: 20px;
    background: none;
    border: #fff solid 3px;
    border-radius: 100%;
}

.search span:nth-of-type(2) {
    transform: translate(2px, -8px);
    rotate: 45deg;
    width: 10px;
    border-radius: 20px;
}

.search-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 60px;
    height: 60px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

.search-ico i {
    position: relative;
    display: block;
    width: 50%;
    height: 1px;
    background-color: #fff;
    float: left;
    transform-origin: center center;
    transition: transform 250ms ease;
    z-index: 200;
}

.search-ico i:nth-of-type(1) {
    transform: translate(-2px, -2px);
    width: 20px;
    height: 20px;
    background: none;
    border: #fff solid 1px;
    border-radius: 100%;
}

.search-ico i:nth-of-type(2) {
    transform: translate(4px, -8px);
    rotate: 45deg;
    width: 17%;
}

.search-sc option {
    color: #333
}

#search:checked~.search span:nth-of-type(1) {
    border: var(--main-color) solid 3px;
}

#search:checked~.search span:nth-of-type(2) {
    background: var(--main-color);
}

.search-box {
    position: fixed;
    left: 0;
    top: -100%;
    width: 100vw;
    height: 0;
    margin: 0;
    padding: 0;
    /* background-color: rgba(255, 0, 0, 0.6); */
    transition: height 300ms ease;
    z-index: 90;
    opacity: 0;
    overflow: hidden;
}

.search-box .layer {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--main-color);
    z-index: -1;
    transition: top 500ms ease-in-out;
}

#search:checked~.search-box .layer {
    top: 0;
}

#search:checked~.search-box {
    left: 0px;
    top: calc(50vh - 60px);
    /* transition: height 500ms ease; */
    transition: opacity 500ms ease;
    transition: top 500ms ease;
    z-index: 99;
    height: 94px;
    opacity: 1;
    display: block;
}

#search:checked~.search-box:after {
    top: 0;
}

.s-input {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: relative;
    z-index: 996;
}

.s-input select,
.s-input input {
    border: none;
    height: 100%;
    outline: none;
    height: 60px;
}

.s-input select {
    width: 150px;
    background: #ffffff46;
    color: #fff;
    margin-right: 5px;
}

.s-input input[type="button"] {
    width: 60px;
    background: #ffffff46;
    color: #fff;
    border-radius: 0;
    position: relative;
    z-index: 6;
}

.s-input input[type="text"] {
    width: calc(100% - 210px);
    background: #ffffff80;
    color: #fff;
}

.s-input input[type="text"]::placeholder {
    color: #fff;
}


/* menu */

.responsive-menu {
    /* position: relative; */
}

.main-menu,
.main-menu>li>ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0;
}

.main-menu li,
.main-menu>li>ul li {
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
}

.main-menu>li span {
    width: 20px;
    height: 20px;
    margin-left: auto;
    /* background-color: red; */
}

.main-menu>li span:hover {
    color: #fff;
}

.main-menu>li span::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    color: #fff;
}

.main-menu>li a {
    display: inline-block;
}


/* .main-menu>li a {
	display: block;
} */

.main-menu>li.active .main-menu>li>ul {
    opacity: 1;
    pointer-events: auto;
    margin-top: 0;
    z-index: 20;
}


/* .main-menu .expand {
	display: none;
} */

.main-menu>li>ul li a {
    display: inline-block;
}

.toggle-menu {
    display: none;
}


/* for fixed menu */


/* end */

header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 996;
}

header.fixed {
    background-color: rgba(var(--dark), .9);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 96;
}

header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 15px;
}

nav {
    display: inline-block;
    vertical-align: middle;
    font-size: 1rem;
    box-sizing: border-box;
    width: 85%;
}


/* .toggle-menu {
    color: #ffffff;
    padding-right: 1rem;
    float: right;
}

.toggle-menu span {
    display: inline-block;
    vertical-align: middle;
    padding-left: 0.3rem;
}

.toggle-menu svg {
    display: inline-block;
    vertical-align: middle;
} */

.logo {
    display: inline-block;
    vertical-align: middle;
    width: 275px;
    height: auto;
}

.logo img {
    width: 100%;
    height: auto;
}

.main-menu>li>ul {
    background: var(--main-color);
    border-radius: var(--border-radius);
    box-shadow: 0px 20px 60px rgb(0 0 0 / 20%);
}

.main-menu>li {
    padding: 0.2rem 0.3rem;
    position: relative;
}

.main-menu>li:hover {
    background: rgb(139 139 139 / 10%);
    border-radius: 10px;
}

.main-menu>li>ul {
    padding: 1rem;
}

.main-menu li a {
    color: #ffffff;
    text-decoration: none;
}

.main-menu li ul a {
    /* transform: translateX(0px);
    transition: transform ease .5s, color ease .3s; */
    background: #3e3e3e;
    font-size: .875rem;
    border-radius: 8px;
    padding: 5px 10px;
    width: 100%;
}

.main-menu li ul a:hover {
    /* transform: translateX(10px);
    color: rgba(255, 255, 255, 0.75) */
    background: rgb(148, 148, 148);
    border-radius: 8px;
}

.main-menu>li>a {
    color: #fff;
    font-weight: 500;
    /* padding: 1.4rem 0; */
    font-size: 1.125rem;
}


/* header {
        display: flex;
        flex-direction: row;
        align-content: flex-start;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        position: sticky;
    }
    header::after {
        content: "";
        background: #333333;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 80;
    }
    .logo {
        width: 50%;
        max-width: 185px;
        z-index: 82;
        transform: translateY(0px);
    }
    .menu {
        display: flex;
        margin-left: auto;
    }
    #menu:checked~.nav {
        left: 0px;
        top: 0;
        z-index: 80;
        
    }
    .nav {
        height: auto;
        max-height: 90vh;
        width: 100%;
        padding-top: 120px;
        background: rgba(0, 0, 0, 0.8);       
        position: fixed;
        left: 0;
        top: -100%;
        transition: top 0.2s ease-in-out;
        overflow-y: auto;
        box-shadow: 0px 20px 60px rgb(0 0 0 / 20%);
    }
    .nav .main-menu {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
    }
    .nav .main-menu li,
    .nav .main-menu li a {
        width: 100%;
    }
    .main-menu>li ul {
        display: none;
        position: unset;
        opacity: 1;
        width: 100%;
    }
    .main-menu li {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        padding: .2rem 1rem;
    }
    .main-menu>li span::after {
        color: #fff
    }
    .main-menu>li a {
        color: #fff;
        width: calc(100% - 30px)!important;
        padding: 0
    }
    .search-box {
        width: 100%;
        margin-bottom: .5rem;
        position: relative;
        z-index: 81;
    }
    .main-menu>li>ul {
        transform: translateY(0);
    }

    .main-menu .open {
        height: auto;
        padding: 1rem;
        opacity: 1;
    }
    .main-menu>li span.active {
        transform: rotate(180deg);
        transition: transform .3s ease;
    }
    .main-menu>li span:active::after {
        color: #fff;
    }
    .main-menu>li span.active::after {
        color: #fff;
    }
    .main-menu>li ul span {
        display: inline-block;
    } */

#menu {
    display: none;
}


/* #menu:checked~.menu {
    color: var(--main-color);
} */

#menu:checked~.menu span i:nth-of-type(1) {
    transform: translateY(1px) rotate(45deg);
    /* background-color: var(--main-color)!important; */
}

#menu:checked~.menu span i:nth-of-type(2) {
    display: none;
}

#menu:checked~.menu span i:nth-of-type(3) {
    transform: translateY(-2px) rotate(-45deg);
    /* background-color: var(--main-color)!important; */
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: auto;
    transition: transform 250ms ease;
    cursor: pointer;
    z-index: 200;
    height: 50px;
    color: #fff;
    gap: 5px;
    position: relative;
    z-index: 9;
}

.menu span {
    position: relative;
    display: flex;
    width: 20px;
    height: 20px;
    transform-origin: center center;
    transition: transform 250ms ease;
    z-index: 200;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.menu span i {
    border-radius: 20px;
}

.menu span i:nth-of-type(1) {
    transform: translateY(-5px);
    width: 100%;
    height: 3px;
    background-color: #fff;
    transform-origin: center center;
    transition: transform 250ms ease;
}

.menu span i:nth-of-type(2) {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transform-origin: center center;
    transition: transform 250ms ease;
}

.menu span i:nth-of-type(3) {
    transform: translateY(5px);
    width: 100%;
    height: 3px;
    background-color: #fff;
    transform-origin: center center;
    transition: transform 250ms ease;
}

.showlist {
    overflow: hidden;
    position: relative;
}

.showlist .swiper-slide>a {
    border-radius: 2.875rem;
    color: #fff;
    padding: 4rem 1.5rem 2rem 1.5rem!important;
    height: 660px;
    /* min-height: 660px; */
    overflow: hidden;
    text-overflow: ellipsis;
    flex-direction: column;
    justify-content: flex-start;
    display: flex;
}

.og-a-box {
    border-radius: var(--border-radius);
    background-color: #fff;
    color: #333;
    text-decoration: none;
    display: block;
    height: 100%;
    padding: 20px 20px 5px 20px;
    transition: all .3s ease;
}

.imgbox {
    height: 175px;
    margin: -20px -20px 20px -20px;
    overflow: hidden;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.imgbox>img {
    object-fit: cover;
    /* width: calc(100% + 40px); */
    width: 100%;
    height: 100%;
}

.og-a-box i {
    font-style: normal;
    border: #eee solid 1px;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    display: block;
    font-size: 20px;
    color: #676767;
}

.og-a-box .content {
    width: calc( 100% - 55px);
}

.og-a-box .d-flex {
    gap: 10px;
}

.main-menu>li span::before {
    content: "";
    width: 100%;
    height: 30px;
    position: absolute;
    top: 0;
    left: 0;
}


/* for pc */

@media screen and (min-width: 768px) {
    .main-menu>li {
        position: unset;
    }
    .main-menu>li span::before {
        display: none;
    }
    .og-a-box:hover {
        background: rgb(62, 62, 62)
    }
    .og-a-box:hover * {
        color: #fff;
    }
    .showlist::before {
        content: "";
        opacity: .85;
        display: block;
        left: 0;
        background: linear-gradient(90deg, #292929 20%, rgba(41, 41, 41, 0));
        position: absolute;
        width: max(25vw - 632px + 200px, 200px);
        height: 100%;
        top: 0;
        z-index: 5;
        cursor: move;
    }
    .showlist::after {
        content: "";
        opacity: .85;
        display: block;
        right: 0;
        background: linear-gradient(270deg, #292929 20%, rgba(41, 41, 41, 0));
        position: absolute;
        width: max(25vw - 632px + 200px, 200px);
        height: 100%;
        top: 0;
        z-index: 5;
    }
    .menu {
        display: none;
    }
    .nav {
        height: auto;
        width: auto;
        position: unset;
        transition: top .2s ease-in-out;
        z-index: 90;
        margin-left: auto;
    }
    .main-menu>li>ul {
        display: none
    }
    /* menu */
    .nav .main-menu {
        display: flex;
        column-gap: 15px;
    }
    .main-menu>li>.ul-multiple li {
        margin-bottom: 0;
    }
    .main-menu li li {
        margin-bottom: 10px;
    }
    .main-menu>li>ul {
        opacity: 0;
        pointer-events: none;
        /* margin-top: 20px; */
        transition: ease-out .2s transform;
        position: absolute;
        top: 100%;
        left: auto;
        right: auto;
        min-width: 200px;
        text-align: left;
        /* transform: translateY(10px); */
        transform: translate(-12px, 4px);
    }
    .main-menu li li {
        margin-bottom: 0px;
        padding: 0;
    }
    .main-menu>li>.ul-multiple {
        width: 100%;
        /* left: 0!Important; */
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 1200px;
        left: 50%;
        transform: translate(-50%, 4px);
    }
    .main-menu>li>.ul-multiple>li ul li {
        list-style-type: none;
    }
    .main-menu>li>.ul-multiple>li {
        width: 33%;
    }
    .main-menu>li>.ul-multiple>li>ul {
        max-height: 350px;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0 0.5rem 0.5rem 1rem;
    }
    .main-menu>li:hover>ul {
        opacity: 1;
        pointer-events: auto;
        margin-top: 0;
        z-index: 20;
        top: auto;
        /* transform: translateY(0); */
    }
    .main-menu>li ul span {
        display: none;
    }
    footer {
        position: unset;
    }
    /* index start */
    .banner>div {
        width: 1200px;
        margin: 0 auto;
        padding-top: 95px;
    }
    .banner>div h2.hero-title {
        font-size: 4rem;
        max-width: 768px;
        width: 100%;
        line-height: 1;
    }
}


/* for bigger pc */

@media screen and (min-width: 1024px) {
    html {
        font-size: 18px;
    }
}


/* for mobile */

@media only screen and (max-width: 1200px) {
    header .container {
        justify-content: space-between;
    }
    .menu {
        display: flex
    }
    header {
        display: flex;
        flex-direction: row;
        align-content: flex-start;
        align-items: flex-start;
        justify-content: flex-start;
        flex-wrap: wrap;
        top: 0;
        left: 0;
        height: 70px;
        background-color: #292929;
    }
    header::after {
        content: "";
        background: unset;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0
    }
    .logo {
        width: 288px;
        max-width: 185px;
        z-index: 82;
        transform: translateY(0)
    }
    .menu {
        display: flex;
        margin-left: auto
    }
    #menu:checked~.nav {
        left: 0;
        top: 70px;
        z-index: 80
    }
    .nav {
        height: auto;
        max-height: 50vh;
        background: rgba(0, 0, 0, .8);
        position: fixed;
        left: 0;
        top: -100%;
        transition: top .2s ease-in-out;
        overflow-y: auto;
        box-shadow: 0 20px 60px rgb(0 0 0 / 20%);
        padding: 10px 0 20px 0;
        width: 100%
    }
    .main-menu {
        width: 90%;
        margin: 0 auto;
    }
    .search {
        padding: 0
    }
}