@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@200;300;400;500;600;700&family=Noto+Serif+JP:wght@300;400;500;600;700&family=Noto+Serif+TC:wght@300;400;500;600&family=Manrope:wght@200;600&family=Playfair+Display:ital,wght@0,400;1,400&family=Cormorant+SC:wght@300;400;500&display=swap');

:root{
        --fc-vw: 100vw;
        --fc-rem:calc(var(--fc-vw) * 1 / 168);
        --ft-noto-serif: "noto-serif", serif;
        --ft-noto-sans: "noto-sans", sans-serif;
        --ft-cormor:"Cormorant SC", serif;
    }
    @media (max-width: 1024px) {
            :root {  --fc-rem:calc(var(--fc-vw) / 100); }
     }
    @media (max-width: 640px) {
        :root { --fc-rem:calc(var(--fc-vw) / 60);  }
     }
    @media (max-width: 460px) {
        :root {--fc-rem:calc(var(--fc-vw) / 50);}
     }
    *{ box-sizing: border-box;}
    body{ padding: 0;margin: 0; background: #fff; }
    .bg_box{
        background: #fff;
        position: fixed;
        width: 100%;
        height: 100dvh;
        opacity: 0.5;
        overflow: hidden;
    }
    .bg_box img{ position: fixed; bottom: 50%;left: 50%; transform: translate(-50%,50%); width: 100%; height: 100dvh; object-fit: cover;}
    main{ display: flex;  flex-direction: row;justify-content: center; height: 100dvh; }
    section.sale_area { 
        padding: 30px 30px;position: relative;z-index: 10; 
        display:flex; flex-direction: column; justify-content:center;align-items: center;
        z-index: 10;
    }
    section.sale_area .btn_wrap{ text-align: center; margin: 0 30px ;width: 100%;}
    section.sale_area > div div{ margin: auto; margin-bottom: 12px;}
    section.sale_area a{ 
        text-align: center; padding: 20px 30px;
         display: block; text-decoration: none; position: relative;overflow: hidden;
        backdrop-filter: blur(0px);
        font-size: calc(var(--fc-rem) * 2);
        outline: 1px solid #aeaeaf; 
        font-family: var(--ft-noto-sans); font-weight: 400;
    }
    section.sale_area a:hover{  transition:backdrop-filter 0.3s ease,background 0.3s ease;}
    section.sale_area a img{ position: relative; z-index:0;opacity:1; width: 100%; }

    .lang_wrap a{  
        font-size: calc(var(--fc-rem) * 2); color: transparent;line-height: 1;
        display: inline-block; width: 100%; position: relative;border: 1px solid #fff;text-align: center;position: relative;overflow: hidden;
        transition: all 0.3s;
        backdrop-filter: blur(10px);
        background-color: #ffffff83;
    }
    .lang_wrap a:hover{ transition: all .3s; }
    /* .lang_wrap a:first-of-type{margin-right:-1px;border-top-left-radius: 50px; border-bottom-left-radius: 50px;}
    .lang_wrap a:last-of-type{border-top-right-radius: 50px; border-bottom-right-radius: 50px;} */
    .lang_wrap span{ font-size: calc(var(--fc-rem) * 2); }
    
    .swip_box{ 
        position: absolute; top: 0; left: 50%; width: 100%; height: auto;
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        transition: all .3s; transform: translate(-50%,0%); color: #aeaeaf;
        font-family: var(--ft-noto-sans);
    }
    .swip_box span{ padding: 20px 0;}
    .lang_wrap a:hover .lang_box{ transform: translate(-50%,-66.6666%); }
    .lang_wrap a:hover .swip_box{ color: #fff;  transition: all 0.3s;}
    .lang_wrap a:hover { background: #4b464b71; transition: all 0.3s;}
    /* section.sale_area a:hover img{ animation: btn_bg_scale 0.5s ease forwards; transition: transform 0.5s ease,filter 1s ease; } */
    /* section.sale_area a span{ position: absolute; z-index: 10;} */
    .logo_wrap{ margin-bottom: 10px; padding: 20px ;}
    .logo_wrap img{width: 100%;}
    .kv_area{ position: relative; padding: 30px 0 30px 30px;}

    footer{ 
       padding: 7px 0px; width: 100%; text-align: center;
       position: absolute;bottom: 10%;left: 0;color: #fff; z-index: 100;
    }
    footer p{margin: auto;}
    footer div{ display: flex;flex-direction: column;align-items: center;justify-content: center; }
    footer img{ width: 200px; margin: auto; }
    footer p{ font-size: 0.5em; margin-top: 10px;}
    .sale_area footer{display: none;}

    .copyright{ font-size:calc(var(--fc-rem) * 1.25) ;}

    @media (max-width:1024px) {
    section.sale_area a,.lang_wrap a,.lang_wrap span{  font-size: calc(var(--fc-rem) *1.5);}

    }
    @media (max-width:959px) {
        .kv_area{ position: fixed; padding:0px;  height: 70%;}
        section.sale_area { position: absolute; bottom: 0;  height: 100%; overflow-y: unset; justify-content: flex-end;}
        .logo_wrap{max-width: 360px; display: none;}
        .kv_area footer{display: none;}
        .sale_area footer{display: block;  position: relative; bottom: unset;}
        section.sale_area > div div{ max-width: 360px;}

    }

    @media (max-width:640px) {
        section.sale_area {  padding-bottom: 0px;}
    }
    @media (max-width:400px) {
        .kv_area{ height: 70dvh; }
    }
    @media (max-width:375px) {
        .kv_area{ height: 60dvh; }
    }
#mask-cover{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: #fff; z-index: 9999;transition: all 0.3s ease;
}
#mask-cover.mask-hide{ pointer-events: none; opacity: 0; filter: blur(200px);}
.mask_bg {margin-bottom: 30px;}
.mask_bg img{ width: 100%; }
.time_wrap p{font-family: "Cormorant SC", serif;font-weight: 500;font-style: normal; font-size: 1rem;margin-bottom: 0; color: #aeaeaf;}


.cross_wrap{max-width: 300px; text-align: center;margin-top: 0;}
.cross_wrap img{width: 100%; }
.time_wrap{ position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; opacity: 0; animation: load-start 1s forwards;}
.loaded .loading_mask{ opacity: 0; transition:all 0.5s; pointer-events: none;}
.load_box_inner{ color: #aeaeaf;font-size: 2rem; text-align: center;display: flex;flex-direction: row; align-items: center; justify-content: center;}
.load_text,.letter{ 
    font-family: "Cormorant SC", serif;font-weight: 500;font-style: normal; font-size: 2rem;margin-bottom: 0;color: #afafb0;
}
.dot_flow{ display: flex; flex-direction: row;justify-content: center;align-items: center;margin-left: 16px; }
.dot_flow p{font-size: calc(var(--fc-rem) * 4);}
.dotcolor{
    margin: 0px 2px;
    transform: translateY(0px);
    animation: colors 1.3s ease-in-out infinite;
}
.dotcolor:nth-of-type(2) { animation-delay: -1.1s;} 
.dotcolor:nth-of-type(3) { animation-delay: -0.9s; }
.background-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index:-1;
    opacity: 0.875;
  }
    @keyframes load-start{ 
        0%{opacity: 0;}
        100%{ opacity: 1;}
     }
    @keyframes colors {
      0%,100% { transform: initial; }
      50% { transform: translateY(-20px);}
    }
    @keyframes mask-bg{
        0%{ opacity: 0;}
        100%{ opacity: 100;}
    }
    .hero{
        position: relative;
    }
    
    .kv_people{ width: 100%; height: 100%;object-fit: cover; object-position: center; position: absolute; left: 50%;top:50%;transform: translate(-50%,-50%); }
    .kv_title{ position: absolute; width: 30%; top: 10%; left: 50%; transform: translate(-50%,0%);}
    .kv_door{ position: absolute; width: 100%; height: 100%;object-fit: cover; object-position: center; position: absolute;  top: 50%;left: 50%; transform: translate(-50%,-50%);}
    @media (max-width:480px) {
       .kv_title{ position: absolute; width: 50%; top: 5%;}
    .kv_door{ position: absolute; width: 100%; height: 100%;object-fit: cover; object-position: center; position: absolute;  top: 50%;left: 50%; transform: translate(-50%,-50%);}
    }
    @media (max-width:400px) {
        .kv_people{ width: 100%; height: 100%;object-fit: cover; object-position: center top; position: absolute; left: 50%;top:50%;transform: translate(-50%,-50%); }
    }

    .hero[data-ratio='narrow'] .kv_door{object-position: center 10%; }
    .hero[data-ratio='straight'] .kv_door{object-position: center 10%; }



.about_before_wrap,.about_after_wrap,.about_wrap_inner,.about_wrap{position: relative;}
.about_wrap::before{ content: '';  position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: calc(100% - calc(var(--fc-rem) * 7));background: linear-gradient(to top, #ad924200, #ad9242);}
.about_wrap::after{ content: '';  position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: calc(100% - calc(var(--fc-rem) * 7));background: linear-gradient(to top, #ad924200, #ad9242);;}
.about_wrap_inner::before{ content:''; position: absolute;top: 0;left: 50%;transform: translateX(-50%);width: calc(100% - calc(var(--fc-rem) * 7));height: 1px; background: #ad9242;}
/* .about_wrap_inner::after{ content:''; position: absolute;bottom: 0;left: 50%;transform: translateX(-50%);width: calc(100% - 60px);height: 1px; background: #ad9242;} */
.about_after_wrap{display: flex;flex-direction: column;justify-content: center;align-items: center;padding:0;}
.about_before_wrap::before{content: '';position: absolute;top: 0px;left: 0px;width: calc(var(--fc-rem) * 3); height: calc(var(--fc-rem) * 3);background: url(../image/deco_about_top_left.svg)no-repeat center; background-size: contain;}
.about_before_wrap::after{content: '';position: absolute;top: 0px;right: 0px;width: calc(var(--fc-rem) * 3); height: calc(var(--fc-rem) * 3);background: url(../image/deco_about_top_right.svg)no-repeat center; background-size: contain;}
.about_after_wrap::before{content: '';position: absolute;bottom: 0px;left: 0px;width: 20px; height: 20px;background: url(../image/deco_about_bottom_left.svg)no-repeat center; background-size: contain;}
.about_after_wrap::after{content: '';position: absolute;bottom: 0px;right: 0px;width: 20px; height: 20px;background: url(../image/deco_about_bottom_right.svg)no-repeat center; background-size: contain;}
.hero .about_wrap{position: absolute; width: 100%; height: 100%;top:50%; left: 50%; transform: translate(-50%,-50%); z-index: 200;}

    .hero::after{
        content: ''; position: absolute; width: 100%; height: 40%; bottom: 0; left: 0; 
        background: linear-gradient(#ffffff00,#fff) ; z-index: 5; 
    }

    @media (max-width:960px) {
        .hero .about_wrap{display: none;}
    }
