@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: url(../image/bg_entry_L.webp) no-repeat center center fixed; background-size: cover;
}
@media (max-width: 1024px) {
    body{ 
        background: url(../image/bg_entry_s.webp) no-repeat center center fixed; background-size: cover;
    }
 }
.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; }
    .white-mask{ content: ''; position: absolute; bottom: 0; right: 0; width: 100%; height: 90%; background: linear-gradient(to top, #ffffff, #ffffff00); z-index: 0; opacity: 0.7; }

    @media (max-width: 1024px) {
        
    .white-mask{ content: '';  top: unset; bottom:0px; right: 0; width: 100%; height: 70%; background: linear-gradient(to top, #ffffff, #ffffff00); z-index: 0; opacity: 0.5; }
     }
 @media (max-width: 959px) {
        
    .white-mask{ content: '';  top: unset; bottom:0px; right: 0; width: 100%; height: 80%; background: linear-gradient(to top, #ffffff, #ffffff00); z-index: 0; opacity: 0.5; }
     }

    section.sale_area { 
        padding: 30px 5vw 30px 0;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;
        border-radius: 9px; 
    }
    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-serif);
    }
    .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: 30%; margin: auto; display: block;}
    .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;}

    section.sale_area > div div.brand_wrap{margin-top: 30px;}
    .copyright{ font-size:calc(var(--fc-rem) * 1.25) ; margin-top: 8px;}
    .brand_wrap img{ width: 70%; max-width: 200px; margin: auto; display: block;}


    @media (max-width:1200px) {
        section.sale_area { padding: 30px 60px; }
    }

    @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 { padding: 30px 30px; position: absolute; bottom: 0;  height: 100%; overflow-y: unset; justify-content: flex-end;}
        .logo_wrap{max-width: unset; width: 100%; padding: 0; filter: drop-shadow(0px 0px 10px #ffffff) drop-shadow(0px 0px 20px #ffffff)  drop-shadow(0px 0px 20px #ffffff);;}
        .logo_wrap img{width:100%;}
        .kv_area footer{display: none;}
        .sale_area footer{display: block;  position: relative; bottom: unset;}
        section.sale_area > div div{ max-width: 360px;}
        .hero_title{display: none;}
        section.sale_area > div div.brand_wrap{margin-top: 10px;}

        section.sale_area a{ padding:15px 20px; }
        .swip_box span{ padding: 15px 0;}
    }

    @media (max-width:640px) {
        section.sale_area {  padding:30px 20px 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 top; position: absolute; left: 50%;top:0%;transform: translate(-50%,0%); }
    .kv_title{ position: absolute; width: 30%; top: 10%; left: 50%; transform: translate(-50%,0%);}
    .kv_door{ position: absolute; width: 30%; height:auto;object-fit: unset; object-position: center; position: absolute;  top: 5%;left: 50%; transform: translate(-50%,-50%);}
    @media (max-width:480px) {
       .kv_title{ position: absolute; width: 50%; top: 5%;}
       .kv_door{ position: absolute; width: 50%; height: auto;object-fit: unset; object-position: center; position: absolute;  top: 5%;left: 50%; transform: translate(-50%,0%);}
    }
    @media (max-width:400px) {
        .kv_people{ width: 100%; height: 100%;object-fit: cover; object-position: center top; position: absolute; left: 50%;top:0%;transform: translate(-50%,0%); }
    }

    /* .hero[data-ratio='narrow'] .kv_door{object-position: center 10%; }
    .hero[data-ratio='straight'] .kv_door{object-position: center 10%; } */
    .hero[data-ratio='square'] .kv_door{width: 30%; top:5%;}


    img.hero_title{ position: absolute; width: 90%; bottom: 0%; left: 50%; transform: translate(-50%,0%); filter: drop-shadow(0px 0px 20px #ffffff) drop-shadow(0px 0px 30px #ffffff);}

   .bubble_wrap{width: 100%; height: 100%;  pointer-events: none;  }
   .bg_bubble{ width: 100%; height: auto; position: absolute; bottom: 0; left: 0;  pointer-events: none;  }
    .kv_door{opacity:0;}
    @media (max-width:1024px) {
       .brand_wrap img{ visibility: hidden; }
       .kv_door{opacity:1;}
       .hero[data-ratio='narrow'] .hero_title{bottom:3%;}
       .bubble_wrap{transform: scale(2.5);}
    }
    @media (max-width:1023px) {
       .bubble_wrap{display: none;}
    }
    @media (max-width:600px) {
        section.sale_area .btn_wrap{ width: 60%; }
       .brand_wrap img{ visibility: hidden; display: none; }
       .hero img.hero_title{  bottom: 0%;  }
       .hero[data-ratio='narrow'] .kv_door{top:3%;}
       .hero[data-ratio='straight'] .kv_door{top:3%; }
       .bubble_wrap{display: none;}
    }

/* .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_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;}
    } */


/* ===== Loading Page ===== */
#Loader {
  position: fixed; inset: 0; background: #000; color:#fff;
  display:flex; align-items:center; justify-content:center; flex-direction:column;
  padding: 0 30px; z-index: 9999; overflow: hidden;
}
.load_wrap{ width: 340px; }
#Loader .logo { width: 100%; margin-bottom: 16px;  }
#Loader .loading { font-size: 20px; letter-spacing:.1em; margin-top: 16px; opacity:.9; font-family:"span-compressed", serif;font-weight: 400;font-style: normal; animation: load-start 0.5s forwards ease;}
#Loader .bar { flex-shrink: 0; width: 100%; height: 4px; background: rgba(255,255,255,.15);  overflow:hidden; }
#Loader .bar > span { display:block; height:100%; width:0; overflow: hidden; position: relative;}
#Loader .bar > span::after {
    content: '';position: absolute; top:0; left:0; width:100%; height:100%;
    background:linear-gradient(to right, #ab2e2c 0%,#9b3fb0 25%,#fcf372 50%,#52a372 75%);
 }
 .loading{ display: flex;justify-content: center; align-items: center;margin-left: 40px;}
.dot_flow{position: relative; margin-left: 10px;}
.dotcolor{
    display: inline-block;
    transform: translateY(0px);
    animation: colors 1.3s ease-in-out infinite;
    animation-delay: 0.3s;margin-right: 0px;
}
.logo-gs{width:100%; text-align: center;}
.logo-gs img {width: 18%; margin: auto;margin-bottom: 20px;}
.dotcolor:nth-of-type(2) { animation-delay: -1.1s;} 
.dotcolor:nth-of-type(3) { animation-delay: -0.9s; }

@keyframes load-start{ 
    0%{opacity: 0;}
    100%{ opacity: 1;}
 }
@keyframes colors {
  0%,100% { transform: initial; opacity: 0;}
  50% { transform: translateY(-10px); opacity: 1;}
}