@import url("reset.css");

:root {
  color-scheme: light;
  --bg: #f8fafc;
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

strong{
  font-weight: 900;
}

html,
body {
  margin: 0;
  height: 100%;
  font-family: "PP Kyoto", "Noto Serif TC", serif;
  color: var(--ink);
  cursor: none;
}



body {
  position: relative;
}

html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar, 
body::-webkit-scrollbar {
    display: none;
}

.noscroll{
  overflow: hidden;
}

.logo{
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  width: 10vw;
  mix-blend-mode: difference;
}

.logo img{
  width: 100%;
}

.left_logo_eng{
  position: fixed;
  left:50px;
  top:50px;
  width:1.8vh;
  z-index: 9002;
}

.left_logo_eng img{
  width: 100%;
}

.left_logo_chi{
  transition: all 0.6s ease;
  position: fixed;
  left:50px;
  bottom:50px;
  width:1.8vh;
  z-index: 9;
  
}

.nottop .left_logo_chi{
  position: fixed;
  bottom:50px;
  z-index: 9002;
}

.left_logo_chi img{
  width: 100%;
}

.right_logo{
  transition: all 0.6s ease;
  position: fixed;
  right:50px;
  bottom:50px;
  width:8vh;
  z-index: 9;
}

.nottop .right_logo{
  bottom:-200px;
}

.right_logo img{
  width: 100%;
}

.home_info1{
  transition: all 0.6s ease;
  position: fixed;
  top:100px;
  right:50px;
  z-index: 99;
  mix-blend-mode: difference;
  width:1.8vw;
  max-width: 36px;
}

.home_info2{
  transition: all 0.6s ease;
  position: fixed;
  top:100px;
  right:calc(2.4vw + 50px);
  z-index: 99;
  mix-blend-mode: difference;
  width:1.8vw;
  max-width: 36px;
}

.nottop .home_info1{
  top:-1000px;
}

.nottop .home_info2{
  top:-1000px;
}

.dropdown_btn{
  transition: all 0.3s ease;
  position: fixed;
  right:50px;
  top:50px;
  width:24px;
  height:24px;
  border-radius: 999px;
  background-color: #000;
  z-index: 99;
  cursor: pointer;
}

.dropdown_btn:hover{
  background-color: #ed1b2f;
}

.dropdown{
  position: fixed;
  right:40px;
  top:40px;
  width: 280px;
  padding: 40px 20px;
  background-color: #000;
  text-align: center;
  z-index: 100;
  border-radius: 20px;
  display: none;
}

.dropdown ul li+li{
  margin-top: 20px;
}

.dropdown ul a{
  transition: all 0.3s ease;
  color:#cae0e9;
  display: block;
  position: relative;
  cursor: pointer;
}

.dropdown ul a:hover{
  color:#ed1b2f;
}

.dropdown ul a .dot{
  position: absolute;
  left: 0px;
  right:0px;
  margin: auto;
  width:8px;
  height: 8px;
  border-radius: 100px;
  bottom: 100%;
  margin-bottom: 3px;
  background-color: #ed1b2f;
  display: none;
}

.dropdown ul a.active .dot{
  display: block;
}

.close_dropdown_btn{
  width: 24px;
  height:24px;
  position: absolute;
  top:10px;
  right:10px;
}

.close_dropdown_btn::before{
  content:"";
  position: absolute;
  top:0px;
  right:0px;
  left:0px;
  bottom: 0px;
  margin: auto;
  width:100%;
  height:1px;
  background-color: #cae0e9;
  transform: rotate(-45deg);
}

.close_dropdown_btn::after{
  content:"";
  position: absolute;
  top:0px;
  right:0px;
  left:0px;
  bottom: 0px;
  margin: auto;
  width:100%;
  height:1px;
  background-color: #cae0e9;
  transform: rotate(45deg);
}

.close_dropdown_btn:hover::before{
  background-color: #ed1b2f;
}

.close_dropdown_btn:hover::after{
  background-color: #ed1b2f;
}

/* footer */

.footer_logo_wrapper{
  transition: all 0.6s ease;
  position: fixed;
  left: 0px;
  right:0px; 
  bottom:0px;
  margin: auto;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  background-color: #fff;
}

.nottop .footer_logo_wrapper{
  bottom:-120px;
}

.footer_logo_wrapper .bottom_left_logo{
  height:6vh;
}

.footer_logo_wrapper .bottom_right_logo{
  height:5.7vh;
}

.bottom_menu_wrapper{
  transform: translateY(100px);
  transition: all 0.6s ease;
  position: fixed;
  left:0px;
  right:0px;
  margin: auto;
  bottom:50px;
  z-index: 9;
  opacity: 0;
}

.loadfinish .bottom_menu_wrapper{
  transform: translateY(0px);
  opacity: 1;
}

.nottop .bottom_menu_wrapper{
  bottom:50px;
  
}

.bottom_menu_inwrapper{
  -webkit-mask-image: linear-gradient(90deg, rgba(255,255,255,0) 30%, rgba(255,255,255,1) 40%, rgba(255,255,255,1) 60%,  rgba(255,255,255,0) 70%);
  mask-image: linear-gradient(90deg, rgba(255,255,255,0) 30%, rgba(255,255,255,1) 40%, rgba(255,255,255,1) 60%,  rgba(255,255,255,0) 70%);
}



.bottom_menu_wrapper a{
  color:#000000;
  display: inline-block;
  text-align: center;
  position: relative;
  padding-top: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.bottom_menu_wrapper a:hover{
  color: #ed1b2f;
}

.bottom_menu_wrapper a .dot{
  position: absolute;
  left: 0px;
  right:0px;
  margin: auto;
  width:8px;
  height: 8px;
  border-radius: 100px;
  top: 0%;
  background-color: #ed1b2f;
  display: none;
}

.bottom_menu_wrapper a.active .dot{
  display: block;
}

.mouse_cursor{
  position: fixed;
  left: 0px;
  top:0px;
  width:1px;
  height:1px;
  z-index: 999999;
  pointer-events: none;
  mix-blend-mode: difference;
}

.mouse_cursor .cursor1{
  transition: all 0.3s ease;
  width:50px;
  height:50px;
  position: absolute;
  left: 50%;
  top:50%;
  margin-left: -25px;
  margin-top: -25px;
  border:1px solid #fff;
  border-radius: 100%;
  overflow: hidden;
}

.mouse_cursor .cursor_circle{
  width:70px;
  height:70px;
  position: absolute;
  left: 50%;
  top:50%;
  margin-left: -35px;
  margin-top: -35px;
}

.scrollingup .mouse_cursor .cursor1, .scrollingdown .mouse_cursor .cursor1{
  width:60px;
  height:60px;
  margin-left: -30px;
  margin-top: -30px;
}

.mouseover_tooltip .mouse_cursor .cursor1, .mouseover  .mouse_cursor .cursor1{
  width:80px;
  height:80px;
  margin-left: -40px;
  margin-top: -40px;
}

.mouse_cursor .dot{
  transition: all 0.3s ease;
  transform: scale(1);
  position: absolute;
  left:50%;
  top:50%;
  margin-left: -3px;
  margin-top: -3px;
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 100%;
}

.scrollingup .mouse_cursor .dot, .scrollingdown .mouse_cursor .dot{
  transform: scale(0);
}

.mouseover_tooltip .mouse_cursor .dot, .mouseover  .mouse_cursor .dot{
  transform: scale(0);
}

.mouse_cursor .arrowup, .mouse_cursor .arrowdown{
  transition: all 0.15s ease;
  transform: scale(0);
  position: absolute;
  left:0px;
  right:0px;
  top:0px;
  bottom:0px;
  width: 20px;
  height: 20px;
  margin: auto;
}

.mouse_cursor .arrowup{
  animation: rolling_ball 0.6s ease reverse infinite;
}
.mouse_cursor .arrowdown{
  animation: rolling_ball 0.6s ease forwards infinite;
}

.scrollingup .mouse_cursor .arrowup, .scrollingdown .mouse_cursor .arrowdown{
  transform: scale(1);
}

.mouseover_tooltip{
  cursor: pointer;
}

.mouseover_tooltip .mouse_cursor .arrowup, .mouseover  .mouse_cursor .arrowup{
  transform: scale(0);
  
}

@keyframes rolling_ball {
  0% {
  top:-10px;
  }

  50% {
  top:10px;
  }

  100% {
  top:-10px;
  }
}

.mouse_cursor .arrowdown::before{
  content:"";
  position: absolute;
  top:0px;
  right:0px;
  bottom:5px;
  left:0px;
  margin: auto;
  width:15px;
  height:15px;
  transform: rotate(45deg);
  border-right:1px solid #fff;
  border-bottom:1px solid #fff;
}

.mouse_cursor .arrowup::before{
  content:"";
  position: absolute;
  top:5px;
  right:0px;
  bottom:0px;
  left:0px;
  margin: auto;
  width:15px;
  height:15px;
  transform: rotate(-45deg);
  border-top:1px solid #fff;
  border-right:1px solid #fff;
}


/* mobile */
.mobile_hide{
  }
  
.mobile_show{
  display:none !important;
  }	
  
@media screen and (max-width: 1023px) { 

  .home_info1{
  top:60px;
  right:20px;
  width:4.5vw;
  max-width: 36px;
}

.home_info2{
  top:60px;
  right:calc(5.5vw + 20px);
  z-index: 99;
  mix-blend-mode: difference;
  width:4.5vw;
  max-width: 36px;
}




  .left_logo_eng {
    left: 20px;
    top: 20px;
  }

  .left_logo_chi {
    left: 20px;
    bottom: 20px;
  }

  .nottop .left_logo_chi{
    bottom:20px;
  }

  .dropdown_btn {
    right: 20px;
    top: 20px;
  }

  .dropdown {
    right: 10px;
    top: 10px;
  }

  .right_logo{
    right: 20px;
    bottom: 20px;
  }

  .bottom_menu_bg{
    position: fixed;
    left: 0px;
    bottom:0px;
    right:0px;
    margin: auto;
    height:150px;
    background: linear-gradient(rgba(255,255,255,0) 0% , rgba(255,255,255,1) 50% );
    z-index: 8;
  }

  .bottom_menu_wrapper{
    bottom: 20px;
  }

  .bottom_menu_inwrapper {
    -webkit-mask-image: linear-gradient(90deg, rgba(255,255,255,0) 25%, rgba(255,255,255,1) 40%, rgba(255,255,255,1) 60%, rgba(255,255,255,0) 75%);
    mask-image: linear-gradient(90deg, rgba(255,255,255,0) 25%, rgba(255,255,255,1) 40%, rgba(255,255,255,1) 60%, rgba(255,255,255,0) 75%);
  }

  .nottop .bottom_menu_wrapper{
    bottom:20px;
  }

  .footer_logo_wrapper {
    padding: 20px 20px;
  }

  .footer_logo_wrapper .bottom_left_logo {
    height: 4vh;
  }

  .footer_logo_wrapper .bottom_right_logo {
    height: 4vh;
  }

	/* mobile */
	.mobile_hide{
		display:none !important;
		}
		
	.mobile_show{
		display:block !important;
		}	
}