:root {
  --primary-color: #FF764C;
  --primary-color-rgb: 255, 118, 76;
  --second-color: #FF903F;
}

html,
body {
    font-size: 3.5vw;
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

html.scroll_lock {
    overflow-y: hidden;
}

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

img {
    display: block;
    border: none;
    outline: 0;
}

a:has(button){
    -webkit-tap-highlight-color:rgba(255,118,76,0.2);
}

button {
    background: transparent;
}

p {
    font-size: 1rem;
    font-weight: 400;
}

p.info {
    font-size: 0.875rem;
}

a.btn_link{
    text-decoration: underline;
}

.index h1 p.main_title {
    font-size: 3.7rem;
    letter-spacing: 0.15em;
    font-weight: 300;
}

.index h1 p.sub_title {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    font-weight: 300;
}

.index h2 p.main_title,
.page h1 p.main_title {
    font-size: 2.8rem;
    font-weight: 400;
}

.index h2 p.sub_title {
    font-size: 1.125rem;
}

.index h3 p.main_title,
.page h2 p.main_title,
.page .project_data h3 p.main_title {
    font-size: 1.6rem;
}

.index h3 p.sub_title,
.page .project_data h3 p.sub_title {
    font-size: 0.875rem;
}

.index h4 p.main_title {
    font-size: 1.15rem;
}

.index h4 p.sub_title,
.page h4 p.main_title {
    font-size: 1.125rem;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    display: -ms-flexbox;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
    transition: background ease .3s;
}

header .logo{
    flex: none;
}


.index header.is-active .logo_text,
.page header .logo_text {
    color: #002E63;
}

.index header.is-active,
.page header {
    border-bottom: 1px solid #fff;
    padding: 1rem 3.125rem;
}

.page header {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(10px);
}


.index header.is-active,
.page header.is-active {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 0px 12px rgba(0,0,0,0.4);
}



header h2.logo_text p.main_title {
    font-size: 37px;
    letter-spacing: 0.2rem;
    line-height: 1.2;
    font-weight: 400;
}

header h2.logo_text .sub_title {
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    transform: scale(0.93);
    transform-origin: left top;
}

.index header h2.logo_text {
    color: #fff;
}

.menu {
    font-size: 1.125rem;
}

.menu ul {
    display: flex;
    display: -ms-flexbox;
}

.menu li {
    list-style: none;
}

header .menu li a {
    position: relative;
    display: block;
    padding: 0.6rem 1rem;
    text-align: center;
    box-sizing: border-box;
    min-width: 4.888em;
    transition: color ease .3s;
}

header .menu ul.main_menu>li>a::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 0;
    height: 4px;
    bottom: 0;
    background: var(--primary-color);
    transition: all ease .3s;
}

header .menu ul.main_menu > li > a.is-active,
header .menu ul.sub_menu a.is-active {
    color: var(--primary-color);
}

header .menu ul.main_menu > li > a.is-active::after {
    width: 90%;
}

header .menu ul.main_menu > li {
    position: relative;
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
    align-items: center;
}

header .menu ul.sub_menu {
    transition: all ease .3s;
}

header .menu ul.sub_menu::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0;
    height: 0;
    transform: translateY(-100%);
    border-style: solid;
    border-width: 0 4px 6px 4px;
}

a.btn .btn_arrow{
    margin-left: -0.5rem;
}

a.btn .btn_arrow,a.btn .btn_download {
    position: relative;
    display: flex;
    display: -ms-flexbox;
    align-items: center;
    cursor: pointer;
    flex: none;
}

a.btn .btn_arrow img {
    margin-right: -0.15rem;
    transform: translateX(50.5%);
    transition: all ease .3s;
}

a.btn .btn_download img{
    display: block;
    position: absolute;
    width: 40%;
    height: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    transition: all ease .3s;
}

a.btn .btn_arrow::after,a.btn .btn_download::after {
    content: "";
    display: block;
    flex: none;
    border-radius: 100%;
    border: 2px solid var(--primary-color);
    transition: all ease .3s;
}


a.btn .btn_arrow_s::after {
    width: 1.625rem;
    height: 1.625rem;
}

a.btn .btn_arrow_b::after {
    width: 2.5rem;
    height: 2.5rem;
    max-width: 40px;
    max-height: 40px;
}



a.btn_more {
    display: flex;
    display: -ms-flexbox;
    justify-content: center;
    align-items: center;
    padding: 0.9375rem 1.25rem 0.9375rem 1.875rem;
    border-radius: 100px;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
    font-size: 1.25rem;
    font-weight: 700;
    background: #fff;
    color: var(--primary-color);
    letter-spacing: 0.125rem;
    transition: all ease .3s;
}

a.btn_back{
    display: inline-flex;
    display: -ms-flexbox;
    align-items: center;
    justify-content: center;
}

a.btn_back .btn_arrow{
    transform: scaleX(-1.0);
    margin-right: -0.5%;
}


a.btn_more .btn_arrow {
    margin-left: -5%;
}

.content_input{
    display: flex;
    display: -ms-flexbox;
    margin-bottom: 0.625rem;
}

.content_input .form_group{
    display: flex;
    display: -ms-flexbox;
    align-items: center;
}

.content_input .form_select {
    width: 100%;
    padding: 0.2rem 1rem 0.2rem 0.625rem;
    border-radius: 0.2rem;
    line-height: 1.8;
    color: #1C1C1C;
    border: 1px solid #696969;
    box-sizing: border-box;
    cursor: pointer;
    background: #fff;
}

.content_input .form_item ~ .form_item{
    margin-left: 0.625rem;
}

.content_input .text {
    flex: none;
    display: inline-block;
    margin-right: 0.625rem;
}

.content_input .form_group ~ .form_group{
    margin-left: 1.25rem;
    padding-left: 1.25rem;
    border-color: #C0C0C0;
    border-style: solid;
    border-width: 0 0 0 1px;
}

.content_input a.btn_send{
    display: block;
    padding: 0.25rem 1rem;
    border: 1px solid #002E63;
    border-radius: 0.625rem;
    color:  #002E63;
    font-weight: 600;
    text-align: center;
    transition: all ease .3s;
}

.content_media .info-list li{
    list-style: none;
}

.content_media .info-list li:nth-of-type(even){
    background: #F2F2F2;
}

.content_media .info-list li:nth-of-type(odd){
    background: #fff;
}

.content_media .info-list li ~ li{
    border-top: 1px solid rgba(192, 192, 192, 0.5);
}

.content_media .info-list li a{
    padding: 1.125rem 0.93rem;
    display: flex;
    display: -ms-flexbox;
    justify-content: space-between;
    height: 2.6em;
    overflow: hidden;
}

.content_media .info-list li p{
    display: flex;
    display: -ms-flexbox;
    align-items: center;
}

.content_media .info-list li p span{
    text-align: left;
    text-overflow: ellipsis;
    display: -webkit-box;
   -webkit-line-clamp: 2;
    line-clamp: 2; 
   -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all ease .3s;
}

.content_media .info-list li .date{
    padding: 0.3rem 0.5rem;
    margin-right: 0.8rem;
    border: 1px solid #002E63;
    color: #002E63;
    letter-spacing: 0;
    flex: none;
}

.item_card{
    display: block;
}


.item_card a.btn{
    display: block;
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
}

.item_card a.btn::before{
    content:"";
    display: block;
    width: 100%;
    height: 0;
}

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

.item_card img.bg{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin:auto;
    object-fit: cover;

}

.item_card p.main_title{
    font-weight: 600;
}

.content_navigation ul{
   display: flex;
   display: -ms-flexbox;
   justify-content: center;
   align-items: center;
}

.content_navigation li{
    list-style: none;
}

.content_navigation li ~ li{
    margin-left: 0.5rem;
}

.content_navigation li a{
   display: flex;
   display: -ms-flexbox;
   justify-content: center;
   align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #696969;
    transition: all ease .3s;
}

.content_navigation li a.is-active,
.content_navigation li a.is-active:hover{
    color: #fff;
    background: #696969;
    cursor: default;
}

.content_navigation li:last-of-type img{
    transform: scale(-1);
}



footer {
    position: relative;
    padding-top: 1.875rem;
    background: #1C1C1C;
    z-index: 9;
}

footer .content {
    padding-bottom: 1.6rem;
}

footer h2.logo_text {
    color: #fff;
    line-height: 1.5;
}

footer h2.logo_text p.main_title {
    font-size: 1.875rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

footer h2.logo_text p.sub_title {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.075em;
}

footer .menu {
    padding: 0.625rem 0;
    color: var(--primary-color);
}


footer .menu li {
    padding-right: 1.875rem;
    border-right: 1px solid #C0C0C0;
    line-height: 1;
}

footer .menu li~li {
    margin-left: 1.875rem;
}

footer .menu li:last-of-type {
    padding-right: 0;
    border: none;
}

footer .infomation {
    padding: 0.625rem 0;
    color: #DFDFDF;
}

footer .infomation p {
    letter-spacing: 0.05em;
    line-height: 1.5;
    font-weight: 300;

}

footer .infomation p span.eng{
    display: block;
    margin-left: 1.8em;
}

footer .copyright {
    padding: 1.25rem 0;
    border-top: 1px #C0C0C0 solid;
    text-align: center;
    color: #C0C0C0;
}

footer .copyright p{
    font-size: 0.8rem;
}

footer a.btn_top {
    display: flex;
    display: -ms-flexbox;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    max-width: 68px;
    max-height: 68px;
    background: rgba(239, 239, 239, 0.9);
    border: 1px solid var(--primary-color);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    border-radius: 100px;
    transform: translateY(-50%);
    transition: all ease .3s;
}

footer a.btn_top.is-active{
    position: fixed;
    top: inherit;
    bottom: 5px;
}

footer .btn_top::after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    margin: auto;
    background-image: url("../images/btn_top.svg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    transition: all ease .3s;
}

footer a.btn_mail{
    text-decoration: none;
    display: inline-block;
}

footer .icon{
    background: #333;
    border-radius: 100%;
    color: #ccc;
/*    border: 1px solid #aaa;*/
    padding: 0.25rem;
    width: 0.8rem;
    height: 0.8rem;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.1em;
}

@media screen and (max-width:767px) {
    .pc_block {
        display: none;
    }

    .index .container,
    .page footer .container {
        width: 92%;
    }

    .page .container {
        width: 92%;
    }

    .page header {
        border-bottom: 1px solid #fff;
        padding: 0.5rem 1.5rem;
    }

    .index header.is-active {
        padding: 0.5rem 1rem;
    }

    header {
        padding: 1rem 1.5rem;
        text-align: left;
        transition: all ease .3s;
    }


    header h2.logo_text {
        transform: scale(0.85);
        transform-origin: left center;
    }

    header h2.logo_text .sub_title{
        -webkit-transform: scale(0.85);
    }

    header .menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 0;
        text-align: center;
        color: #fff;
        font-size: 1.22em;
        font-weight: 400;
        background: rgba(0, 46, 99, 0.9);
        transition: all ease .3s;
    }

    header .menu.is-active {
        width: 100%;
        height: 100vh;
        padding: 7rem 0;
        bottom: 0;
        background: rgba(0, 46, 99, 0.95);
    }


    header .menu ul {
        flex-direction: column;
        display: none;
        transition: all ease .3s;
    }

    header .menu.is-active ul {
        display: flex;
    }

    header .menu li {
        display: flex;
        display: -ms-flexbox;
        justify-content: center;
        text-align: left;
    }

    header .menu ul.main_menu>li~li {
        margin-top: 3rem;
    }

    header .menu ul.main_menu>li {
        align-items: center;
    }

    header .menu ul.sub_menu {
        position: relative;
        margin: auto;
        margin-top: -10px;
        color: #ccc;
        background: rgba(0, 34, 73, 0.6);
        width: 90%;
        height: 0;
        font-size: 0.95em;

    }

    header .menu ul.sub_menu>li {
        display: none;
    }

    header .menu ul.sub_menu::before {
        display: none;
        border-color: transparent transparent rgba(0, 34, 73, 0.6) transparent;
    }

    header .menu ul.sub_menu.is-active {
        display: flex;
        background: rgba(0, 34, 73, 0.6);
        height: inherit;
        margin-top: 0.6rem;
        padding: 0.4rem 0;
    }

    header .menu ul.sub_menu.is-active>li {
        display: block;
    }

    header .menu ul.sub_menu.is-active::before {
        display: block;
    }

    /*header .menu ul.main_menu > li:has(.sub_menu) > a span::after{
        content:">";
        font-weight: 200;
        display: inline-block;
        margin-left: 0.5em;
        transform: scaleX(1.8) rotate(90deg);
        transform-origin: center;
        font-size:  0.9em;
    }

    header .menu ul.main_menu > li:has(.sub_menu) > a{
        margin-left: 1em;
    }

    header .menu ul.main_menu > li:has(.sub_menu.is-active) > a span::after{
        transform: scaleX(1.8) rotate(270deg);
    }*/

    .btn_hamburger {
        position: relative;
        display: flex;
        display: -ms-flexbox;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        width: 2.25rem;
        height: 26px;
        z-index: 999;
    }

    .btn_hamburger::before,
    .btn_hamburger::after {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        transition: all ease .3s;
    }

    .btn_hamburger::before {
        box-shadow: 0 12px 0 #fff;
    }

    .page .btn_hamburger::before,
    header.is-active .btn_hamburger::before,
    .page .btn_hamburger::after,
    header.is-active .btn_hamburger::after {
        background: #002E63;
    }

    .page .btn_hamburger::before,
    header.is-active .btn_hamburger::before {
        box-shadow: 0 12px 0 #002E63;
    }

    .btn_hamburger.is-active {
        justify-content: center;
    }

    header .btn_hamburger.is-active::before {
        transform: rotate(45deg) translate(1px);
        box-shadow: 0 12px 0 rgba(28, 28, 28, 0);
        background: #fff;
    }

    header .btn_hamburger.is-active::after {
        transform: rotate(-45deg) translate(1px);
        background: #fff;
    }

    .content_input{
        flex-direction: column;
    }

    .content_input .form_group ~ .form_group{
        margin-left: 0;
        padding-left: 0;
        margin-top: 1rem;
        border-width: 0;
    }

    .content_input a.btn_send{
        margin-top: 1rem;
    }

    .content_media .info-list li a{
        padding: 1.125rem 0.5rem;
        height: auto;
        letter-spacing: 0.02em;
    }

    /*.content_media .info-list li p{
        flex-direction: column;
        align-items: flex-start;
    }*/

    .content_media .info-list li p .date{
        padding: 0.1rem 0.3rem;
        letter-spacing: -0.02em;
/*        margin-bottom: 0.5rem;*/
    }

    footer {
        padding-top: 1.2rem;
    }

    footer .content {
        padding-bottom: 0.5rem;
    }

    footer .menu {
        display: none;
    }

    footer h2.logo_text {
        transform: scale(0.9);
        line-height: 1.3;
        transform-origin: left center;
    }

    footer h2.logo_text p.sub_title {
        -webkit-transform: scale(0.956);
        transform-origin: left center;
    }

    footer .copyright {
        padding: 1rem;
    }

    footer a.btn_top {
        right: 0.2rem;
        width: 2.8rem;
        height: 2.8rem;
    }

}

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

    ::selection {
        background-color: var(--primary-color);
        color: rgb(255, 255, 255);
    }

    .m_block {
        display: none;
    }

    html,
    body {
        font-size: 1.4vw;
        letter-spacing: 0.03em;
    }

    .index h1 p.main_title {
        font-size: 4.375rem;
    }

    .index h1 p.sub_title {
        font-size: 1.875rem;
    }

    .index h2 p.main_title,
    .page h1 p.main_title {
        font-size: 3.4375rem;
    }

    .index h3 p.main_title,
    .page h2 p.main_title,
    .page .project_data h3 p.main_title {
        font-size: 1.875rem;
    }

    .index h4 p.main_title {
        font-size: 1.25rem;
    }

    .index .container,
    .page footer .container {
        width: 92%;
    }

    .page .container {
        width: 85%;
    }

    .index header {
        padding: 1.87rem 3.125rem;
    }

    header .logo_text {
        transform: scale(0.88);
    }

    header .menu ul.main_menu {
        flex-direction: row;
    }

    header .menu ul.main_menu>li {
        cursor: pointer;
    }

    header .menu ul.main_menu>li>a {
        color: #1C1C1C;
        font-weight: 600;
    }

    header .menu ul.sub_menu {
        opacity: 0;
        position: absolute;
        flex-direction: column;
        align-items: center;
        top: 3.25rem;
        font-size: 0.9em;
        width: 250%;
        transform: translateY(-10px);
        z-index: -1;
        transition: transform ease .3s;
        pointer-events: none;
    }

    header .menu ul.sub_menu li {
        padding: 0.625rem 0.25rem;
        color: #fff;
        background: rgba(28, 28, 28, 0.9);
    }

    header .menu ul.main_menu>li:hover>a::after {
        width: 90%;
    }

    header .menu ul.main_menu>li:hover ul.sub_menu {
        opacity: 1;
        z-index: 2;
        transform: translateY(0px);
        pointer-events: auto;
    }

    header .menu ul.main_menu .sub_menu:after {
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        transform: translateY(-50%);
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        margin: auto;
        z-index: -1;
    }

    header .menu ul.sub_menu::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 0;
        height: 0;
        transform: translateY(-100%);
        border-style: solid;
        border-width: 0 4px 6px 4px;
        border-color: transparent transparent rgba(28, 28, 28, 0.8) transparent;
    }

    header .menu ul.main_menu>li~li {
        margin-left: 3.4375rem;
    }

    header .menu ul.sub_menu li~li {
        padding-top: 0.3125rem;
    }

    .content_input{
        align-items: center;
    }

    .content_input a.btn_send{
        margin: 0 1rem ;
    }

    footer a.btn_top {
        right: 0.5rem;
        width: 3rem;
        height: 3rem;
    }
}

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

    html,
    body {
        font-size: 1.25vw;
        letter-spacing: 0.03em;
    }

    .menu {
        letter-spacing: 0.1em;
    }


    .index .container,
    .page footer .container {
        width: 90%;
    }

    .page .container {
        width: 85%;
    }
}

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

    html,
    body {
        font-size: 1.28vw;
    }

    header .logo_text {
        transform: scale(1);
    }

}

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

    html,
    body {
        font-size: 1.05vw;
    }

    footer a.btn_top {
        right: 1rem;
        width: 3.8rem;
        height: 3.8rem;
    }

}


@media screen and (min-width:1600px) {
    html,
    body {
        font-size: 0.9vw;
    }

    .index .container,
    .page footer .container {
        width: 83.33%;
    }

    .page .container {
        width: 72%;
    }

    footer a.btn_top {
        right: 1.875rem;
        width: 4.25rem;
        height: 4.25rem;
    }
}

@media screen and (min-width:1920px) {
    html,
    body {
        font-size: 0.84vw;
    }
}


@media (hover: hover) {
    header .menu ul.main_menu>li:hover>a {
        color: var(--primary-color);
    }

    header .menu ul.main_menu>li>a:hover::after {
        width: 90%;
    }


    header .menu ul.sub_menu a:hover {
        color: var(--primary-color);
    }

    a.btn:hover .btn_arrow img {
        transform: translateX(65%);
    }

    a.btn_more:hover {
        background: var(--primary-color);
        color: #fff;
    }

    a.btn_more:hover .btn_arrow {
        filter: brightness(500%);
    }

    a.btn:hover .btn_download::after{
        background: var(--primary-color);
    }


    .content_media .info-list li a:hover p .text,
    .content_media .info-list li a:hover .date{
        color: var(--primary-color);
    }

    .content_media .info-list li a:hover .date{
        border-color: var(--primary-color);
    }

    .content_media .info-list li a:hover{
        background: #FFF9F7;
    }


    .content_input a.btn_send:hover{
        color: #fff;
        background: #002E63;
    }

    .content_navigation li a:hover{
        background: #E2E2E2;
    }

    footer a.btn_top:hover {
        background: rgba(var(--primary-color-rgb), 0.9);
    }

    footer a.btn_top:hover::after {
        background-position: bottom center;
    }

    /* 20230919 add*/

    a.btn_link:hover{
        color: #ff8762;
        text-decoration: underline;
    }
    /* 20230919 add end*/
}