/*  ===================================================================
Color
=====================================================================  */
/*  ===================================================================
Font 
=====================================================================  */
/* Roboto */
@font-face {
  font-family: 'Roboto', sans-serif;
  src: url("../fonts/Roboto/Roboto-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto', sans-serif;
  src: url("../fonts/Roboto/Roboto-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto', sans-serif;
  src: url("../fonts/Roboto/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto', sans-serif;
  src: url("../fonts/Roboto/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto', sans-serif;
  src: url("../fonts/Roboto/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto', sans-serif;
  src: url("../fonts/Roboto/Roboto-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

/* Montserrat */
@font-face {
  font-family: 'Montserrat', sans-serif;
  src: url("../fonts/Montserrat/Montserrat-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat', sans-serif;
  src: url("../fonts/Montserrat/Montserrat-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat', sans-serif;
  src: url("../fonts/Montserrat/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat', sans-serif;
  src: url("../fonts/Montserrat/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat', sans-serif;
  src: url("../fonts/Montserrat/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat', sans-serif;
  src: url("../fonts/Montserrat/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat', sans-serif;
  src: url("../fonts/Montserrat/Montserrat-Black.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

/**
* ----------------------------------------
* animation scale-in-hor-left
* ----------------------------------------
*/
@keyframes scale-in-hor-left {
  0% {
    transform: scaleX(0);
    transform-origin: 0% 0%;
    opacity: 1;
  }

  100% {
    transform: scaleX(1);
    transform-origin: 0% 0%;
    opacity: 1;
  }
}

/**
* ----------------------------------------
* animation side nav
* ----------------------------------------
*/
@keyframes sidenav-slideInRight {
  0% {
    right: -30px;
  }

  100% {
    right: 50px;
  }
}

/**
* ----------------------------------------
* animation Fade Slide In bottom
* ----------------------------------------
*/
@keyframes fadeSlideIn-30px {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeSlideIn-50px {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeSlideIn-80px {
  0% {
    transform: translateY(80px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/**
 * ----------------------------------------
 * animation heartbeat
 * ----------------------------------------
 */
@keyframes heartbeat {
  from {
    transform: scale(1);
    transform-origin: center center;
    animation-timing-function: ease-out;
  }

  10% {
    transform: scale(0.91);
    animation-timing-function: ease-in;
  }

  17% {
    transform: scale(0.98);
    animation-timing-function: ease-out;
  }

  33% {
    transform: scale(0.87);
    animation-timing-function: ease-in;
  }

  45% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
}

/*  ===================================================================
Common
=====================================================================  */
body {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  overflow-x: hidden;
}

.sub-headline {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #444a65;
  font-weight: bold;
  letter-spacing: 1px;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  line-height: 1.5em;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  line-height: 1.5em;
}

h4 {
  font-size: 36px;
  line-height: 1.5em;
}

p {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
}

.preloading-mark {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #fff;
  z-index: 1000;
  opacity: 1;
  transition: opacity .2s linear .6s;
  pointer-events: none;
}

.preloading-mark.disabled {
  opacity: 0;
}

.bg-lightblue {
  background-color: #f5f7fb;
}

/*  ===================================================================
color
=====================================================================  */
.color-gray-10 {
  color: #1b1b1b;
}

.color-gray-20 {
  color: #303030;
}

.color-gray-30 {
  color: #474747;
}

.color-gray-40 {
  color: #5e5e5e;
}

.color-gray-50 {
  color: #777777;
}

.color-gray-60 {
  color: #919191;
}

.color-gray-70 {
  color: #ababab;
}

.color-gray-80 {
  color: #c6c6c6;
}

.color-gray-90 {
  color: #e2e2e2;
}

.color-gray-95 {
  color: #f1f1f1;
}

.color-gray-97 {
  color: #f6f6f6;
}

/**
* ----------------------------------------
* animation 
* ----------------------------------------
*/
.animate-delay-02 {
  animation-delay: 0.2s !important;
}

.animate-delay-04 {
  animation-delay: 0.4s !important;
}

.animate-delay-06 {
  animation-delay: 0.6s !important;
}

.animate-delay-08 {
  animation-delay: 0.8s !important;
}

.animate-delay-1 {
  animation-delay: 1s !important;
}

.animate-delay-12 {
  animation-delay: 1.2s !important;
}

.animate-delay-14 {
  animation-delay: 1.4s !important;
}

.animate-delay-16 {
  animation-delay: 1.6s !important;
}

.animate-delay-18 {
  animation-delay: 1.8s !important;
}

.animate-delay-2 {
  animation-delay: 2s !important;
}

.animate-delay-22 {
  animation-delay: 2.2s !important;
}

.animate-delay-24 {
  animation-delay: 2.4s !important;
}

.animate-delay-26 {
  animation-delay: 2.6s !important;
}

.animate-delay-28 {
  animation-delay: 2.8s !important;
}

.animate-delay-3 {
  animation-delay: 3s !important;
}

.animate-delay-32 {
  animation-delay: 3.2s !important;
}

.animate-delay-34 {
  animation-delay: 3.4s !important;
}

.animate-delay-36 {
  animation-delay: 3.6s !important;
}

.animate-delay-38 {
  animation-delay: 3.8s !important;
}

.animate-delay-4 {
  animation-delay: 4s !important;
}

.animate-delay-42 {
  animation-delay: 4.2s !important;
}

.animate-delay-44 {
  animation-delay: 4.4s !important;
}

.animate-delay-46 {
  animation-delay: 4.6s !important;
}

.animate-delay-48 {
  animation-delay: 4.8s !important;
}

.animate-delay-5 {
  animation-delay: 5s !important;
}

.scale-x {
  animation: scale-in-hor-left 1.5s cubic-bezier(0.645, 0.045, 0.355, 1) both;
}

.fadeSlideIn-30px {
  animation: fadeSlideIn-30px .4s ease-out both;
}

.fadeSlideIn-50px {
  animation: fadeSlideIn-50px .5s ease-out both;
}

.fadeSlideIn-80px {
  animation: fadeSlideIn-50px .6s ease-out both;
}

.heartbeat {
  animation: heartbeat 2.5s ease-in-out infinite both;
}

/*  ===================================================================
home
=====================================================================  */
.logo {
  width: 60px;
  height: 50px;
  background-image: url(../images/roy_logo.svg);
  background-size: cover;
}

.sideNav {
  position: fixed;
  right: -30px;
  top: 50%;
  animation: sidenav-slideInRight ease-out .5s 1s forwards;
  transform: translateY(-50%);
  z-index: 10;
}

.sideNav .nav-btn {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #e2e2e2;
  list-style: none;
  margin-bottom: 30px;
}

.sideNav .nav-btn span {
  display: block;
  position: absolute;
  border-radius: 10rem;
  height: 26px;
  width: 2px;
  bottom: -30px;
  left: 3px;
  background-color: #e2e2e2;
}

.sideNav .nav-btn:before {
  content: "";
  display: block;
  position: absolute;
  height: 40px;
  width: 40px;
  left: -16px;
  top: -16px;
  border-radius: 50%;
  line-height: 50px;
  background-color: red;
  z-index: 1;
  background: red url(../images/arrow-white-down.svg) center center no-repeat;
  transform: scale(0);
  transition: transform ease-out .2s;
}

.sideNav .nav-btn.active:before {
  transform: scale(1);
}

.main-headline {
  height: 600px;
  padding: 180px 10%;
}

.main-headline .sub-title {
  width: 400px;
  font-size: 32px;
  color: #ababab;
}

.main-headline .sub-title span {
  display: inline-block;
  background-color: red;
  height: 1px;
  width: 120px;
  margin-left: 15px;
}

.main-headline .main-title {
  color: #ababab;
}

.main-headline .main-title div {
  display: inline-block;
  font-size: 80px;
  margin-left: -10px;
}

.main-headline .main-title .space {
  width: 40px;
}

.main-headline .desc {
  font-size: 18px;
  color: #ababab;
  text-transform: uppercase;
}

.skillbar-bar-custom {
  background: red;
  height: 3px;
}

#mail_btn {
  transition: ease-in-out .2s;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  line-height: 60px;
  background-color: red;
}

#mail_btn:hover {
  cursor: pointer;
  height: 76px;
  width: 76px;
  line-height: 76px;
  margin-top: -8px;
  margin-bottom: -8px;
  animation: none;
}

/* =========================================================
* inner
========================================================= */
header nav.nav-box-width {
  padding: 25px 15px;
}

.sticky.header-appear .navbar-top {
  padding: 12px 15px;
}

.top-banner {
  position: relative;
  width: 100%;
  max-width: 1500px;
  padding: 100px 30px 220px;
  margin: 0 auto;
}

.top-banner .page-hero-banner {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  text-align: left;
  padding: 110px 8%;
  background-size: 1540px auto;
  background-position: right center;
  border-radius: 15px;
}

.top-banner .page-hero-banner.web {
  align-items: flex-start;
}

.top-banner .hero-image {
  position: absolute;
  height: auto;
}

.top-banner .hero-image-2 {
  position: absolute;
  height: auto;
}

.top-banner .app-icon {
  position: absolute;
  height: auto;
}

.web-portfo .weblayout {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  border: 8px solid #fff;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.15);
}

.web-portfo .weblayout img {
  width: 800px;
  height: auto;
}

.controlArrow {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  background-color: #f1f1f1;
  color: #ababab;
  line-height: 44px;
  text-align: center;
  margin: 0 5px;
  transition: none;
}

.controlArrow:hover {
  background-color: red;
  color: white;
}

.controlArrow.disabled {
  opacity: .3;
  pointer-events: none;
}

.process {
  text-align: center;
}

.process img {
  width: 75%;
  margin-bottom: 30px;
}

.portfo-feature {
  text-align: center;
}

.portfo-feature img {
  width: 1278px;
  height: auto;
}

.bottom_menu {
  position: relative;
  z-index: 99999;
  background: #fff;
}

/* prototype button */
.viewBtn {
  line-height: 46px;
  height: 46px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 100rem;
  padding: 0 40px;
  overflow: hidden;
  transition: padding .2s ease-out;
  color: #fff;
  background-color: #3d87ea;
}

.viewBtn * {
  color: #fff;
}

.viewBtn.absolute {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
}

.viewBtn i {
  display: block;
  line-height: 46px;
  font-size: 24px;
  position: relative;
  z-index: 2;
}

.viewBtn span {
  display: block;
  height: 46px;
  margin-top: 0;
  transition: margin-top .2s ease-out;
  position: relative;
  z-index: 2;
}

.viewBtn:hover {
  padding: 0 25px;
}

.viewBtn:hover span {
  margin-top: -46px;
}

/* ======================================
hero banner position
====================================== */
.octtest-app .page-hero-banner {
  background-image: url("../images/octtest_app/banner-bg.jpg");
}

.octtest-app .hero-image {
  width: 670px;
  right: 275px;
  top: 140px;
}

.octtest-app .app-icon {
  left: 140px;
  top: 420px;
  width: 170px;
  height: auto;
}

.octtest-app .viewBtn {
  background-color: #3d87ea;
}

.octtest-app .viewBtn * {
  color: #fff;
}

.octtest-web .top-banner {
  padding: 100px 30px 340px;
}

.octtest-web .top-banner .page-hero-banner {
  height: 450px;
  padding: 70px 120px;
  background-image: url("../images/octtest_web/banner-bg.jpg");
}

.octtest-web .top-banner .hero-image {
  width: 1318px;
  top: 280px;
  left: 50%;
}

.octtest-web .top-banner .hero-image>img {
  transform: translateX(-68%);
}

.octtest-web .top-banner .hero-image-2 {
  width: 576px;
  top: 390px;
  left: 50%;
}

.octtest-web .top-banner .hero-image-2>img {
  transform: translateX(-15%);
}

.scb .top-banner {
  padding: 100px 30px 360px;
}

.scb .top-banner .page-hero-banner {
  height: 450px;
  padding: 70px 120px;
  background-image: url("../images/scb/banner-bg.jpg");
}

.scb .top-banner .hero-image {
  width: 1318px;
  top: 280px;
  left: 50%;
}

.scb .top-banner .hero-image>img {
  transform: translateX(-68%);
}

.scb .top-banner .hero-image-2 {
  width: 576px;
  top: 420px;
  left: 50%;
}

.scb .top-banner .hero-image-2>img {
  transform: translateX(-15%);
}

.octplus .top-banner {
  padding: 100px 30px 250px;
}

.octplus .top-banner .page-hero-banner {
  height: 450px;
  padding: 70px 120px;
  background-image: url("../images/octplus/banner-bg.jpg");
}

.octplus .top-banner .hero-image {
  width: 856px;
  top: 280px;
  left: 50%;
  margin-left: -428px;
}

.winglung .top-banner {
  padding: 100px 30px 360px;
}

.winglung .top-banner .page-hero-banner {
  height: 450px;
  padding: 70px 120px;
  background-image: url("../images/winglung/banner-bg.jpg");
}

.winglung .top-banner .hero-image {
  width: 957px;
  top: 280px;
  left: 50%;
}

.winglung .top-banner .hero-image>img {
  transform: translateX(-50%);
}

.winglung .top-banner .hero-image-2 {
  width: 282px;
  top: 450px;
  left: 50%;
}

.winglung .top-banner .hero-image-2>img {
  transform: translateX(85%);
}

.winglung .viewBtn {
  background-color: #ce2e31;
}

.winglung .viewBtn * {
  color: #fff;
}

.msig .top-banner {
  padding: 100px 30px 270px;
}

.msig .page-hero-banner {
  background-image: url("../images/msig/banner-bg.jpg");
}

.msig .hero-image {
  width: 670px;
  right: 275px;
  top: 140px;
}

.msig .app-icon {
  left: 140px;
  top: 420px;
  width: 170px;
  height: auto;
}

.msig .web-layout .col-6 {
  padding: 0;
}

.msig .web-layout img {
  width: 100%;
  height: auto;
}

.msig .viewBtn {
  background-color: #fff;
}

.msig .viewBtn * {
  color: #ffa900;
}

.gapsk .top-banner {
  padding: 100px 30px 270px;
}

.gapsk .page-hero-banner {
  background-image: url("../images/gapsk/banner-bg.png");
}

.gapsk .hero-image {
  width: 570px;
  right: 259px;
  top: 140px;
}

.gapsk .app-icon {
  left: 140px;
  top: 420px;
  width: 170px;
  height: auto;
}

.abbottgo .top-banner {
  padding: 100px 30px 220px;
}

.abbottgo .page-hero-banner {
  background-image: url("../images/abbott_go/banner-bg.jpg");
}

.abbottgo .hero-image {
  width: 690px;
  right: 259px;
  top: 140px;
}

.abbottgo .app-icon {
  left: 140px;
  top: 420px;
  width: 170px;
  height: auto;
}

.octlearn .top-banner {
  padding: 100px 30px 220px;
}

.octlearn .page-hero-banner {
  background-image: url("../images/octlearn/banner-bg.jpg");
}

.octlearn .hero-image {
  width: 760px;
  right: 175px;
  top: 120px;
}

.octlearn .app-icon {
  left: 140px;
  top: 420px;
  width: 170px;
  height: auto;
}

.aeon .top-banner {
  padding: 100px 30px 220px;
}

.aeon .top-banner h2 {
  color: #46448f;
}

.aeon .page-hero-banner {
  background-image: url("../images/aeon/banner-bg.jpg");
}

.aeon .hero-image {
  width: 760px;
  right: 155px;
  top: 120px;
}

.aeon .app-icon {
  left: 140px;
  top: 420px;
  width: 170px;
  height: auto;
}

.abbott .top-banner {
  padding: 100px 30px 220px;
}

.abbott .page-hero-banner {
  background-image: url("../images/abbott/banner-bg.jpg");
}

.abbott .hero-image {
  width: 550px;
  right: 110px;
  top: 120px;
}

.abbott .app-icon {
  left: 140px;
  top: 420px;
  width: 170px;
  height: auto;
}
#sect-mail {
  padding: 250px 0 300px;
}
#sect-portfo .portfolio-grid li{
  cursor: pointer;
}
.skill{
  padding: 160px 0 0px;
  margin-bottom: -50px;
}
/* ===============================
preloading
===============================*/
.spinner1 .double-bounce1,
.spinner1 .double-bounce2 {
  background-color: red !important;
}
/* ===============================
popup custom elementz
===============================*/
/* work-popup 內 position absolute 的 video / image：用 % 與 max-width 隨版面縮放 */

.work-detail-overlay__content{
  position: relative;
}
#workDetailOverlay-disney .video-1 {
  position: absolute;
  z-index: 2;
  top: 7.58%;
  left: 50%;
  transform: translateX(-50%);
  width: 21%;
  max-width: 320px;
  border-radius: 29px;
  overflow: hidden;
  border: 10px solid #232323;
}
#workDetailOverlay-disney .video-1 video {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: -4px;
}
#workDetailOverlay-disney .video-2 {
    position: absolute;
    z-index: 2;
    top: 32%;
    left: 50%;
    transform: translateX(-50%);
    width: 21%;
    max-width: 320px;
    border-radius:35px;
    overflow: hidden;
    border: 10px solid #232323;
}
#workDetailOverlay-disney .video-2 video {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
}
#workDetailOverlay-disney .video-3 {
  position: absolute;
  z-index: 2;
  top: 88.2%;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  max-width: 750px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}
#workDetailOverlay-disney .video-3 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#workDetailOverlay-zoda .video-1 {
  position: absolute;
  z-index: 2;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 25%;
  max-width: 330px;
  overflow: hidden;
  padding-left: 1.6%;
}
#workDetailOverlay-zoda .video-1 video {
  width: 100%;
  height: auto;
  display: block;
}
#workDetailOverlay-zoda .video-1__mask {
  position: absolute;
  left: 10px;
  top: 0;
  width: 100%;
  height: 100%;
  /* object-fit: contain; */
  object-position: center;
  pointer-events: none;
}
#workDetailOverlay-zoda .video-2 {
  position: absolute;
  z-index: 2;
  top: 59.6%;
  left: 50%;
  transform: translateX(-50%);
  width: 25%;
  max-width: 330px;
  overflow: hidden;
  border-radius:35px;
  border: 10px solid rgba(255, 255, 255, 0.5);
}
#workDetailOverlay-zoda .video-2 video {
  width: 100%;
  height: auto;
  display: block;
}
#workDetailOverlay-zoda .zoda-title {
  position: absolute;
  z-index: 2;
  top: 2.4%;
  left: 50%;
  transform: translateX(-50%);
  width: 71%;
  max-width: 960px;
  margin-left: -1%;
}
#workDetailOverlay-zoda .zoda-title img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===============================
Responsive
===============================*/
@media only screen and (max-width: 1200px) {
  .app-icon {
    display: none;
  }

  .page-hero-banner h2 {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 22px;
  }

  .sideNav {
    display: none;
  }

  #sect-mail {
    padding-bottom: 25vh;
  }

  .main-headline {
    padding: 180px 15% 180px 5%;
  }

  .main-headline .sub-title {
    font-size: 22px;
  }

  .main-headline .main-title div {
    font-size: 70px;
  }

  .main-headline .main-title .space {
    display: block;
    height: 15px;
  }

  .project-story .col-12 {
    padding-left: 35px !important;
    padding-right: 35px !important;
  }

  .top-banner {
    padding: 100px 30px 130px !important;
    overflow-x: hidden;
  }

  .top-banner .hero-image {
    max-width: 600px;
    width: 140%;
    left: 50%;
    top: 130px;
  }

  .top-banner .hero-image>img {
    transform: translateX(-78%);
  }

  .margin-70px-bottom {
    margin-bottom: 30px;
  }

  .octtest-app .page-hero-banner {
    background-position: 20% center;
  }

  .octtest-app .hero-image>img {
    transform: translateX(-79%);
  }

  .octtest-web .page-hero-banner {
    height: 230px !important;
  }

  .octtest-web .top-banner {
    padding: 100px 30px 100px !important;
  }

  .octtest-web .top-banner .hero-image {
    width: 100%;
    top: 190px;
    left: 50%;
  }

  .octtest-web .top-banner .hero-image>img {
    transform: translateX(-66%);
  }

  .octplus .page-hero-banner {
    height: 230px !important;
  }

  .octplus .top-banner {
    padding: 100px 30px 100px !important;
  }

  .octplus .top-banner .hero-image {
    width: 80%;
    top: 190px;
    left: 50%;
    margin-left: 0;
  }

  .octplus .top-banner .hero-image>img {
    transform: translateX(-50%);
  }

  .winglung .page-hero-banner {
    height: 230px !important;
  }

  .winglung .top-banner {
    padding: 100px 30px 100px !important;
  }

  .winglung .top-banner .hero-image {
    width: 80%;
    top: 170px;
    left: 50%;
  }

  .winglung .top-banner .hero-image>img {
    transform: translateX(-50%);
  }

  .winglung .top-banner .hero-image-2 {
    width: 110px;
    top: 220px;
    right: 3%;
    left: auto;
  }

  .winglung .top-banner .hero-image-2>img {
    transform: translateX(0);
  }

  .msig .hero-image {
    width: 120%;
    left: 50%;
  }

  .msig .hero-image>img {
    transform: translateX(-78%);
  }

  .gapsk .page-hero-banner {
    background-position: 0 center;
  }

  .gapsk .hero-image {
    width: 100%;
  }

  .gapsk .hero-image>img {
    transform: translateX(-74%);
  }

  .abbottgo .hero-image {
    width: 120%;
    top: 160px;
  }

  .abbottgo .hero-image>img {
    transform: translateX(-75%);
  }

  .octlearn .page-hero-banner {
    background-position: 78% center;
  }

  .octlearn .hero-image>img {
    transform: translateX(-62%);
  }

  .aeon .page-hero-banner {
    background-position: -910px center;
  }

  .aeon .hero-image {
    right: 50%;
    top: 120px;
  }

  .aeon .hero-image>img {
    transform: translateX(-60%) !important;
  }

  .abbott .page-hero-banner {
    background-position: 76% center;
  }

  .abbott .hero-image {
    width: 100%;
    left: 50%;
    top: 180px;
  }

  .abbott .hero-image>img {
    transform: translateX(-46%);
  }

  .scb .page-hero-banner {
    background-position: 76% center;
    height: 230px !important;
  }

  .scb .hero-image {
    width: 100%;
    left: 50%;
    top: 200px !important;
    max-width: 500px !important;
  }

  .scb .hero-image>img {
    transform: translateX(-65%) !important;
  }

  .scb .hero-image-2 {
    display: none;
  }
}

.portfolio-grid{
  margin: 12px;
}
.portfolio-img::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 0 8px #fff inset;
  z-index: 1;
}
/* Work detail popup — Behance 風格 */
.work-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: #1a1a1a;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.work-detail-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.work-detail-overlay__close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.work-detail-overlay__close:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.work-detail-overlay__inner {
  width: 100%;
  max-width: 1400px;
  margin: 80px 24px 48px;
  min-height: min-content;
}

.work-detail-overlay__content {
  width: 100%;
  background: #1a1a1a;
  padding: 0;
}

.work-detail-overlay__img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

body.is-preloading {
  overflow: hidden;
}

.page-shell {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.page-shell.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.preloader-screen {
  position: fixed;
  inset: 0;
  z-index: 30000;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.72s cubic-bezier(0.22, 0.9, 0.2, 1), opacity 0.45s ease;
}

.preloader-screen--exit {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.preloader-screen__center {
  text-align: center;
}

.preloader-screen__number {
  position: relative;
  height: 120px;
  width: 220px;
  margin: 0 auto;
  overflow: hidden;
}

.preloader-screen__num {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  display: block;
  width: 100%;
  text-align: center;
  font-size: 82px;
  line-height: 1;
  font-weight: 800;
  color: #ea1e24;
  letter-spacing: 1px;
  transition: transform 0.26s ease, opacity 0.26s ease;
}

.preloader-screen__num--current {
  top: 12px;
  opacity: 1;
}

.preloader-screen__num--next {
  top: 12px;
  transform: translate(-50%, 100%);
  opacity: 0;
}

.preloader-screen__number.is-rolling .preloader-screen__num--current {
  transform: translate(-50%, -100%);
  opacity: 0;
}

.preloader-screen__number.is-rolling .preloader-screen__num--next {
  transform: translate(-50%, 0);
  opacity: 1;
}

.preloader-screen__label {
  margin-top: 10px;
  color: #ea1e24;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/*# sourceMappingURL=custom-style.css.map */