
/*-------------------------------------------*\
    CSS SharedComponents
  - 00. 文字
  - 01. 主選單
  - 02. 側選單
  - 03. movie 影片
  - 04. project 媒體報導
  - 05. RWD
  - 06. HOVER
\*-------------------------------------------*/

html,
body {
    font-size: 3.15vw; /*22px*/
    letter-spacing: 0.02em;
    line-height: 1.6;
    overflow-x: hidden;
}

button{
    background: transparent;
}

body{
    position: relative;
    overflow-x: hidden;
    width: 100%;
    font-family: "Roboto","Microsoft JhengHei", "微軟正黑";
    font-weight: 400;
    color: #fff;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

iframe{
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
}


/* 00. 文字*/

h1{
    display: none;
}

h2{
    font-size: 2rem; /*55px*/
    line-height: 1.25;
    font-weight: normal;
}

h2 .sub_size{
    font-size: 0.9em; /*50px*/
}

h3{
    font-size: 1.5rem; /*35px*/
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.25;
    font-weight: normal;
}

h4{
    font-size: 1.2727rem; /*28px*/
}


h4 .sub_size{
    font-size: 0.928em; /*26px*/
}

h5,.learn-more{
    font-size: 1.26rem; /*30px*/
    line-height: 1.25;
    letter-spacing: 0.02em;
    font-weight: normal;
}


p{
    font-weight: inherit;
}

.d-flex{
    display: flex;
}
.justify-content-center {
    justify-content: center!important;
}

.justify-content-around{
    justify-content: space-around;
}

.justify-content-between{
    justify-content: space-between;
}

.justify-content-evenly{
    justify-content: space-evenly;
}


.section_kv{
    position: relative;
}

/* 01. 主選單*/

.main_menu{
    position: absolute;
    width: 100%;
    margin: 0 auto;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.main_menu.is-active{
    position: fixed;
    top: 0;
    bottom: initial;
    background: rgba(0, 0, 0, 0.9);
    z-index: 998;
}

.main_menu .container_menu{
    display: flex;
    display: -ms-flexbox;
    justify-content: space-between;
    align-items: stretch;
    width: 71.7%;
    margin: auto;
}

.main_menu .container_menu a{
    display: flex;
    display: -ms-flexbox;
    justify-content: center;
    align-items: center;
    width: 24%;
    padding: 1rem 0 0.75rem 0;
    text-align: center;
    text-shadow: 0 0 10px #000;
    transition: all ease .3s;
    border-bottom: 0.25rem solid transparent;
}
.main_menu .container_menu a.menu_apex.is-active{
    color: #F2AF00;
    border-color: #F2AF00 ;
}

.main_menu .container_menu a.menu_workspace.is-active{
    color: #4BA9FF;
    border-color: #4BA9FF;
}

.main_menu .container_menu a.menu_data.is-active{
    color: #ECB5FF;
    border-color: #ECB5FF;
}

.main_menu .container_menu a.menu_safety.is-active{
    color: #21FFE4;
    border-color: #21FFE4;
}

/*02. 側選單*/

.side_menu{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 4.54rem;
    text-align: center;
    z-index: 3;
    transform: translateY(80%);
}

.side_menu.is-active{
    position: fixed;
    top: 10%;
    z-index: 999;
    transform: initial;
}

.side_menu a.btn_side{
    display: block;
    padding: 0.9rem 0.2rem 0.9rem 0;
    border-width: 1px 1px 1px 0px;
    border-style: solid;
    border-color: #005CFA;
    border-radius: 0 0.9rem 0.9rem 0;
    box-shadow: 0px 5px 10px #1c1c1c9e;
    background: rgba(225, 225, 225, 0.8);
    transition: all ease .3s;
}

.side_menu  .btn_side ~ .btn_side{
    margin-top: 1rem;
}

.side_menu .icon{
    position: relative;
    display: block;
    margin: auto;
    margin-bottom: 0.36rem;
    width: 50%;
    padding: 7%;
    box-sizing: border-box;
}

.side_menu .icon::before{
    content:"";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background: #fff;
    z-index: -1;
    border-radius: 100%;
}

.side_menu p{
    color: #022664;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
}




/* - 03. movie */
.section_movie,.section_project{
    padding: 100px 0;
}

.movie{
    position: relative;
    display: flex;
    display: -ms-flexbox;
    flex-direction:  column;
    align-items: center;
    padding: 2.5rem 2rem;
    border: 2px solid #fff;
    border-radius: 4px;
    width: 95%;
    margin-bottom: 50px;
    box-sizing: border-box;
}

.movie::after{
    position: absolute;
    content: "";
    width: 3.22rem;
    height: 0.9rem;
    background: url(../images/cube.png);
    background-size: 100%;
    background-repeat: no-repeat;
    top: 0.86rem;
    right: 0.9rem;
}

.movie .ratio_text{
    position: absolute;
    bottom: 0;
    display: inline-block;
    padding: 0.22rem 1.35rem;
    max-width: 85%;
    border-radius: 4px; 
    background: #D9D9D9;
    text-align: center;
    color: #000;
    transform: translateY(50%);
}

/* video */
.ratio {
    position: relative;
    width: 100%;
    border: 1px solid #fff;
    overflow: hidden;
}

.ratio::before {
    display: block;
    padding-top: var(--bs-aspect-ratio);
    content: "";
}

.ratio>* {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ratio-1x1 {
    --bs-aspect-ratio: 100%;
}

.ratio-4x3 {
    --bs-aspect-ratio: 75%;
}

.ratio-16x9 {
    --bs-aspect-ratio: 56.25%;
}

.ratio-21x9 {
    --bs-aspect-ratio: 42.8571428571%;
}

/* - 04. project */
.project {
    position: relative;
    overflow: hidden;
    z-index: 2;
    border-radius: 15px;
    width: 95%;
    margin: 20px 0;
    filter: drop-shadow(0px 5px 30px rgba(46, 77, 155, 0.25));
}

.project h6 {
    font-weight: 400;
    color: #fff;
}

.project .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #4607F8;
    background: linear-gradient(180deg, rgba(4, 99, 187, 0) 26.69%, #4607F8 65.78%);
}

.project .content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    padding: 1.363rem;
    box-sizing: border-box;
}

.project .title{
    margin-bottom: 0.4545rem;
}

.project-green .project .overlay {
    background: rgb(0,159,169);
    background: linear-gradient(180deg, rgba(0, 59, 67, 0) 38.02%, #009FA9 66.15%);
}

.learn-more{
    font-weight: 600;
}

.btn-white{
    display: flex;
    margin-top: 1.36rem;
    background: #fff;
    padding: 0.22rem 1.8rem 0.22rem 2.04rem;
    color: #1C4EFF;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    justify-content: center;
}

.btn-white:hover{
    background: rgb(16, 13, 216);
    color: #fff;
    box-shadow: 4px 4px 12px 4px rgb(51 51 102 / 50%);
    transition: all ease .5s;
}

.btn-arrow{
    width: 1.8rem;
    display: flex;
    padding-left: 10px;
}

.btn-arrow img{
    justify-content: end;
}

.project .btn-white:hover .btn-arrow img{
    filter: grayscale(100%) brightness(400%);
}

.project-green .btn-white{
    color: #008c95;
}

.project-green .btn-white:hover{
    color: #fff;
    background: #008c95;
}

.bg-dark{
    background: #000;
}

/*- 05. RWD*/

@media screen and (max-width:767px) {
	html,
    body {
        overflow-x: hidden;
    }
    .b_br{
        display: none;
    }

    .pc_block{
        display: none;
    }

    .kv_pc{
        display: none;
    }

    .kv_m{
        display: block;
    }

    .container{
        width: 82%;
        margin: auto;
    }

    .main_menu .container_menu{
        width: 90%;
    }

    .side_menu{
        width: 3.5rem;
        transform: translateY(110%);
    }

    .side_menu a.btn_side{
        padding: 0.8rem 0;
    }

    .side_menu  p{
        font-size: 0.8rem;
        line-height: 1.1;
        letter-spacing: -0.01em;
    }
    .side_menu.is-active{
        transform: initial;
    }
}

@media screen and (min-width:768px) {
	html,
    body {
        font-size: 1.35vw;
        letter-spacing: 0.1em;
    }

    h3{
        line-height: 1.4;
    }

    .s_br {
        display: none;
    }

    .m_block{
        display: none;
    }
    .container {
        width: 95%;
    }

    .kv_pc{
        display: block;
    }

    .kv_m{
        display: none;
    }

    .section_menu .container_menu{
        width: 71.7%;
    }

    .main_menu .container_menu a{
        width: 20%;
    }

    .side_menu{
        width: 4.54rem;
        transform: translateY(80%);
    }

    .side_menu.is-active{
        transform: translateY(0);
    }
}

@media screen and (min-width:992px) {

    html,
    body {
        font-size: 1.15vw;
        letter-spacing: 0.1em;
    }

    .container {
        width: 90%;
    }

    h2{
        font-size: 2.5rem; /*55px*/
    }

    h3{
        font-size: 1.6rem; /*35px*/
    }

    h5{
        font-size: 1.3rem; /*30px*/
        letter-spacing: 0.2em;
    }


}

@media screen and (min-width:1366px) {

    html,
    body {
        font-size: 1.13vw;
        letter-spacing: 0.1em;
    }
    
    .main_menu.is-active .container_menu a{
        padding: 0.5rem 0 0.25rem 0;
    }

    .main_menu.is-active .container_menu a h5{
        transform: scale(0.9);
    }
}

@media screen and (min-width:1600px) {
    html,
    body {
        font-size: 1.1vw;
        letter-spacing: 0.1em;
    }
    .container {
        width: 83.333%;
    }
}

/*- 06. HOVER*/

@media (hover: hover){
    .main_menu .container_menu a:hover{
        text-shadow: 0 0 15px #fff;
    }
    .main_menu .container_menu a.is-active:hover{
        cursor: default;
        text-shadow: 0 0 10px #000;
    }

    .side_menu a.btn_side:hover{
        background: #fff;
    }
}