header {
    align-items: center;
    position: fixed;
    width: 100%;
    height: 90px;
    z-index: 300;
}

header a.main_logo {
    display: block;
    width: 160px;
    height: 45px;
    z-index: 500;
    background-image: url("/img/main_logo.png");
    background-repeat: no-repeat;
    background-size: contain;
}

header .container {
    max-width: 1500px;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    color: white;
}

header .container nav:nth-child(3){
    z-index: 500;
}

#main_menu {
    overflow: hidden;
}

#main_menu ul {
    display: inline-flex;
    align-items: center;
    cursor: pointer;

    gap: 100px;
}

#main_menu ul li a span{
    display: inline-block;
    height: 18px;
    cursor: pointer;

    color: white;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

#main_menu ul li a:hover {
    cursor: pointer;
    opacity: 0.6;
    text-decoration: none;
}

/*.header-right {
  position: absolute;
  right: 0;
  display: flex;
      align-items: center;
      gap: 10px;
}*/

#main_top_sns {
    display: inline-flex;
    height: 18px;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

#main_top_sns img{
    height: 16px;
    margin-top: 3px;
}

#main_top_sns li a{
    color: white;
    text-decoration: none;
}

#main_top_sns li:first-child a{
    font-size: 16px;
    display: inline-flex;
    gap:10px;
}

#lang {
    position: relative;
    display: inline-flex;
    flex-direction: column;
}

#lang > ul {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top:10px;

    position: absolute;
    top: 20px;
    
    background-color: rgba(255, 255, 255, 0.4);

    opacity: 0;
}

#lang.active > ul {
    opacity: 1;
    transition: 0.5s;
}

#lang.active > ul > li {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    padding: 7px 10px;
}

#lang.active > ul > li:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.2);
}
@media screen and (max-width: 1200px) {
    #main_menu ul {
        gap: 60px;
    }
}

@media screen and (max-width: 1020px) {
    #main_menu {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    header a.main_logo {
        width: 120px;
        height: 36px;
        margin-left: 10px;
    }

    #main_top_sns {
        gap: 5px;
    }
}
/*
.hamburger {
    background-color: transparent;
    border-radius: 10px;
    outline: none;
}

.hamburger:hover {
    background-color: rgba(0,0,0,0.4);
} 

.hamburger:focus {
    background-color: rgba(0,0,0,0.2);
} 

.hamburger2 {
    padding: 0;
    color: white;
    background-color: transparent;
    outline: none;
}

.hamburger2:hover {
    --background-color: rgba(0,0,0,0.4);
} 

.hamburger2:focus {
    --background-color: rgba(0,0,0,0.2);
} 
*/

/* hamburger */
.hamWrapper{
    width: 45px;
    height: 45px;
}

/*.hamWrapper{
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 20px;
    gap: 10px;

    cursor: pointer;

    word-break: keep-all;
    font-weight: 600;
    font-size: 0.8rem;
    color: white;

    background-color: var(--sub-blue);
}*/

.ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.ham.hamRotate.active { transform: rotate(45deg); }
.ham.hamRotate180.active { transform: rotate(180deg); }
.ham .line {
    fill:none;
    stroke:white;
    stroke-width:5.5;
    stroke-linecap:round;
}
.ham .top { stroke-dasharray: 40 160; }
.ham .middle {
    stroke-dasharray: 40 142;
    transform-origin: 50%;
    transition: transform 400ms;
}
.ham .bottom {
    stroke-dasharray: 40 85;
    transform-origin: 50%;
    transition: transform 400ms;
}
.ham.active .top {
    stroke-dashoffset: -64px;
}
.ham.active .middle {
    transform: rotate(90deg);
}
.ham.active .bottom { stroke-dashoffset: -64px; }

header.act {
    background-color: rgba(255, 255, 255, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.1);

    transition: 0.3s;
}

header.act a.main_logo {
    background-image: url("/img/main_logo.png");
}

header.act .container,
header.act #main_menu ul li a span,
header.act #main_top_sns li a {
    color: black;
}
header.act .ham .line {
    stroke: black;
}

/* Dropdown Menu - initially hidden */
.dropdown-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    z-index: 99;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: #0A6FAE;
    justify-content: center;
}

.dropdown-menu.active {
    display: inline-flex;
    -webkit-animation: fadeIn 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: fadeIn 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    overflow-y: scroll;
}

.dropdown-menu.hidden {
    display: none;
    -webkit-animation: fadeOut 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: fadeOut 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.dropdown-menu > ul {
    display: inline-flex;
    flex-direction: row;
    max-width: 1500px;
    /*width: 100%;*/
    margin: 30px auto;
    gap: 70px;
    justify-content: center;
    flex-wrap: wrap;

}

.dropdown-menu > ul > li {
    height: fit-content;
    width: 300px;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex: 0 0 calc(100% / 4);
}

/*.dropdown-menu > ul > li:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}*/

.dropdown-menu > ul > li > a {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    word-break: keep-all;
    font-size: 33px;
    text-decoration: none;
    color:white;
    font-weight: 600;
    font-size: 33px;
}

/*.dropdown-menu > ul > li > a > span {
    font-family: 'GongGothicLight';
}*/

.dropdown-menu > ul > li > a:hover,
.dropdown-menu > ul > li > a:focus,
.dropdown-menu > ul > li > a:active {
    text-decoration: none;
}

.dropdown-menu > ul > li > ul {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    width: 80%;
    height: 100%;
}

.dropdown-menu > ul > li > ul > li > a {
    display: inline-flex;
    flex-direction: row;
    width: 100%;

    word-break: keep-all;
    line-height: 32px;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 18px;

}

.dropdown-menu > ul > li > ul > li > a:hover,
.dropdown-menu > ul > li > ul > li > a:active {
    text-decoration: underline;
}

.dropdown-info-wrapper {
    margin: 0 auto;
    margin-top: 30px;
    width: 1040px;
}

.dropdown-company-wrapper {
    margin-bottom: 20px;
}

.dropdown-info-title {
    font-weight: 600;
    font-size: 20px;
    color: #FFFFFF;
    margin-right: 20px;
    width: 99px;
}

.dropdown-info-content {
    font-weight: 400;
    font-size: 20px;
    font-style: normal;
    color: #FFFFFF;
}

@media screen and (max-width: 1500px) {
    /*.dropdown-menu > ul {
        padding: 50px;
    }

    .dropdown-menu > ul > li {
        width: 80%;
    }

    .dropdown-menu > ul > li > ul {
        gap : 20px;
    }

    .dropdown-menu > ul > li > a:first-child {
        width: max-content;
        margin-right: 50px;
    }*/

}

@media screen and (max-width: 860px) {

    .dropdown-menu > ul {
        margin: 0 auto 10%;
    }

    .dropdown-menu > ul > li {
        width: 100%;
        /*height: 100%;*/
        padding: 30px 0;
        gap: 50px;
    }

    .dropdown-menu > ul > li > a {
        align-items: flex-start;
        font-size: 24px;
    }

    /*.dropdown-menu > ul > li > ul {
        width: 100%;
        flex-wrap: wrap;
        gap: 0px;
        display: none;
    }*/

    .dropdown-menu > ul > li > ul > li > a {
        font-size: 24px;
        width: max-content;
    }

    .dropdown-info-wrapper {
        display: none;
    }

}

@media screen and (max-width: 640px) {
    .dropdown-menu > ul {
        padding: 30px;
        margin: 0 30px;
        flex-direction: column;
        gap: 0px;
        margin-bottom: 0px;
        padding-bottom: 0px;
        padding-top: 0px;
        height: 40%;
        flex-wrap: nowrap;
    }

    .dropdown-menu > ul > li {
        flex-direction: column;
        width: 100%;
        /*height: 100%;*/
        padding: 10px 0;
        gap: 20px;
    }

    .dropdown-menu > ul > li > a {
        margin-bottom: 0px;
    }

    .dropdown-menu > ul > li > ul {
        width: 100%;
        flex-wrap: wrap;
        gap: 0px;
        display: none;
        padding-left: 10px;
    }

    .dropdown-menu > ul > li > ul > li > a {
        font-size: 18px;
        width: max-content;
    }

    #bg_dropdown {
        width: 80% !important;
    }
}

#top_menu_header {
    display: inline-flex;
    max-width: 1500px;
    width: 100%;
    /*height: 90px;*/
    justify-content: space-between;

    margin: 0 auto;
}

#top_menu_header a{
    display: flex;
    align-items: center;
}

#top_menu_header a img{
    width: 160px;
    margin: 0 auto;
}

#top_menu_header a:hover,
#top_menu_header a:focus,
#top_menu_header a:active{
    --background-color: #13348A;
}

#bg_dropdown {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 500px;
}

/* Main Slider section */

.main_hero {
    position: relative;
    z-index: 100;

    display: inline-flex;
    flex-direction: row;
    width: 100%;
    background-image : url("/img/bg_main_hero.jpeg");
    /*background: linear-gradient(0deg, rgba(0, 8, 50, 0.4), rgba(0, 8, 50, 0.4)), url("/img/bg_main_hero.jpeg");*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.main_hero .container {
    width: 100%;
    max-width: max-content;
    margin: 0 10%;
    display: flex;
    align-items: center;
}

#hero_banner {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

#hero_banner .hero-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    top: 14em;
    position: relative;
}

.product-area {
    max-width: 1500px;
}

.product-txt {
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    color: white;
    /*margin-left: calc((100vw - 1500px)/2);*/

    /*opacity: 0;*/
}

.hero-wrapper .product-txt {
    opacity: 1;
    transition: 0.3s;
    transition-duration: 3s;
}

.product-subtitle {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 20px;
}

.product-title {
    /*font-family: 'GongGothicLight';*/
    font-size: 70px;
    font-weight: 700;
    margin-bottom: 40px;
    word-break: keep-all;

    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.9);
}
.product-desc {
    font-size: 24px;
    font-weight: 200;
    line-height: 36px;

    display: inline-flex;
    flex-direction: column;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.9);

    --list-style-type: "- ";
    list-style-position: inside;
    color: white;
}
.product-img {
    position: absolute;
    z-index: -1;
    opacity: 0;
    right: calc((100vw - 1500px)/2);
    bottom: -50px;
}

.swiper-slide-active .product-img {
    opacity: 1;
    bottom: 0;

    transition: 0.3s;
    transition-delay: 0.3s;
    transition-duration: 1s;
}

.product-img img {
    max-width: 1000px;
    max-height: 800px;
}

@media screen and (max-width : 1500px) {
    .product-area {
        width: 100%;
    }

    .product-txt {
        width: 50%;
        margin-left: 50px;
    }

    .product-img {
        right: 0;
        bottom: 0;
        z-index: -1;
    }

    .product-img img {
        max-width: 800px;
        max-height: 600px;
    }
    .product-title {
        line-height: 70px;
    }
}

@media screen and (max-width : 840px) {
    .product-area {
        height: 100vh;
        /*padding-top: 12vh;*/
    }

    .product-txt {
        width: 40%;
        margin-left: 30px;
        height: 100%;
    }

    .product-img {
        top: 240px;
        right: -100px;
        z-index: -1;
    }

    .product-subtitle {
        font-size: 22px;
        font-weight: 300;
        margin-bottom: 20px;
    }
    .product-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    .product-desc {
        font-size: 18px;
        line-height: 24px;
    }
}

@media screen and (max-width : 640px) {
    .product-txt {
        width: 80%;
        margin-left: 20px;
    }

    .product-img {
        right: auto;
        top: 360px;
    }

    .product-subtitle {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .product-title {
        font-size: 36px;
        line-height: 42px;
        margin-bottom: 40px;
    }
    .product-desc {
        font-size: 20px;
        line-height: 30px;
    }
}

#hero_swiper .swiper-button-prev,
#hero_swiper .swiper-button-next {
    cursor: pointer;

    position: absolute;
    top: 680px !important;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.4);
}

#hero_swiper .swiper-button-next:after,
#hero_swiper .swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: 300 !important;
}

#hero_swiper .swiper-button-prev {
    left: calc((100% - 1500px)/2) !important;
}

#hero_swiper .swiper-button-next {
    left: calc((100% - 1500px)/2 + 60px) !important;
}

#hero_swiper .swiper-button-prev:hover,
#hero_swiper .swiper-button-next:hover {
    cursor: pointer;
    color: white;
    border: 1px solid white;
}

@media screen and (max-width : 1500px) {
    #hero_swiper .swiper-button-prev,
    #hero_swiper .swiper-button-next {
        top: 700px !important;
    }

    #hero_swiper .swiper-button-prev {
        left: 48px !important;
    }

    #hero_swiper .swiper-button-next {
        left: 108px !important;
    }
}

@media screen and (max-width : 840px) {
    #hero_swiper .swiper-button-prev,
    #hero_swiper .swiper-button-next {
        top: 65vh !important;
    }

    #hero_swiper .swiper-button-prev {
        left: 30px !important;
    }

    #hero_swiper .swiper-button-next {
        left: 88px !important;
    }
}

@media screen and (max-width : 640px) {
    .main_hero {
        height: 100vh;
    }

    #hero_swiper .swiper-button-prev,
    #hero_swiper .swiper-button-next {
        top: 70vh !important;
        width: 38px;
        height: 38px;
    }

    #hero_swiper .swiper-button-prev {
        left: 15px !important;
    }

    #hero_swiper .swiper-button-next {
        left: 62px !important;
    }
}

/* Sub Header section */
.sub_header {
    /*max-width: 1500px;*/
    width: 100%;
    margin: 0 auto;
    display: flex;
    min-height: 470px;
    padding: 135px 0 60px;
    align-items: center;
    background: linear-gradient(0deg, rgba(10, 28, 66, 0.4), rgba(10, 28, 66, 0.4)), url("/img/bg_sub_header_company.jpg");
    /*background-image : url("/img/bg_sub_header_company.jpg");*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.sub_header.product {
    background: linear-gradient(0deg, rgba(10, 28, 66, 0.2), rgba(10, 28, 66, 0.2)), url("/img/bg_sub_header_product2.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.sub_header.news {
    background: linear-gradient(0deg, rgba(10, 28, 66, 0.4), rgba(10, 28, 66, 0.4)), url("/img/bg_sub_header_news.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.sub_header.support {
    background: linear-gradient(0deg, rgba(10, 28, 66, 0.3), rgba(10, 28, 66, 0.3)), url("/img/bg_sub_header_support.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 80px;
}

.sub_header.inquiry {
    background: linear-gradient(0deg, rgba(10, 28, 66, 0.3), rgba(10, 28, 66, 0.3)), url("/img/bg_sub_header_inquiry.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 80px;
}

.sub_header.rd {
    background: linear-gradient(0deg, rgba(10, 28, 66, 0.3), rgba(10, 28, 66, 0.3)), url("/img/bg_sub_header_rd.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 80px;
}

.sub_header_under {
    width: 100%;
    margin: 0 auto;
    display: flex;
    min-height: 300px;
    align-items: center;
    justify-content: center;
}

.sub_header > h1 {
    font-weight: 600;
    font-size: 60px;
    color: #FFFFFF;
}

.sub_header_under nav {
    width: 100%
}

.sub_header_under nav ul {
    width: fit-content;
    border: 5px solid #F5F5F5;
    border-radius: 65px;
    background-color: #F5F5F5;
    margin: 0 auto;
}

.sub_header_under nav ul li {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.sub_header_under nav ul li a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 80px;
    height: 55px;
    /*border: 1px solid #F5F5F5;*/
    border-radius: 100px;

    font-size: 20px;
    font-weight: 600;
}

@media screen and (max-width : 1100px) {
    .sub_header_under nav ul li a {
        padding: 0 40px;
    }
}

.sub_header_under nav ul li.active a,
.sub_header_under nav ul li a:hover{
    background-color: #0085CF;
    color: white;
    cursor: pointer;
}

@media screen and (max-width : 640px) {

    .sub_header {
        padding: 100px 0 10px;
        min-height: 300px;
    }

    .sub_header.support {
        margin-bottom: 50px !important;
    }

    .sub_header.inquiry {
        margin-bottom: 50px !important;
    }

    .sub_header h1 {
        font-size: 30px;
    }

    .sub_header_under nav ul {
        width: 92vw;
        flex-wrap: wrap;
        justify-content: center;
        border: revert;
        border-radius: revert;
        background-color: revert;
        gap: 10px;
    }

    .sub_header_under nav ul li {
        width: 45%;
    }

    .sub_header_under nav ul li a {
        word-break: keep-all;
        font-size: 16px;
        width: 100%;
        height: 40px;
        border: 1px solid #F5F5F5;
    }

}