* {
  /* font-family: "微軟正黑體", "Microsoft JhengHei", Arial, sans-serif !important; */
  font-family: "Helvetica Neue", "微軟正黑體", "Microsoft JhengHei", Arial, sans-serif;
}

/*  */
@media screen and (min-width: 769px) {
  .h-header .navbar .navbar-brand img {
    width: 280px;
  }

  .h-header .navbar {
    padding: 1.5rem 6rem;
  }
}

.h-header .navbar {
  background-color: white;
}

.h-header .navbar .navbar-brand img {
  width: 160px;
}

.navbar-dark .navbar-toggler {
  /* border-color: red; */
  background-color: #aaa;
}

.nav-link.dropdown-toggle:hover,
.nav-link.dropdown-toggle:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #222;
}

.nav-link,
.navbar-dark .navbar-nav .nav-link {
  /* color: #333 !important; */
  color: var(--customSecondary);
}

.nav-item {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 1rem;
}

.dropdown-item {
  margin: 1rem 0;
  font-size: 1.25rem;
}

h2 {
  text-align: center;
  letter-spacing: 5px;
  font-size: 2.5rem;
  color: var(--customMain);
  font-weight: 600;
}

/* 經營理念 */
#about .btnBg {
  background: transparent;
  width: 100%;
  height: 60px;
}

#about img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

#about .aboutImgBig{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#about .nav-item{
  width: 20%;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: end;
}

.aboutText{
  line-height: 2;
}


/* service */
.h2shadow{
  font-size: 50px;
  font-weight: bolder;
  color: var(--customThird);
  opacity: .2;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  text-transform: uppercase;
}

#service .serviceBoxText{
  color: var(--whiteText);
  width: 100%;
  height: auto;
  min-height: 150px;
  position: relative;

  &::before{
    content: "";
    width: 100%;
    height: 100%;
    background: var(--customSecondary);
    /* background: rgba(0, 0, 0, 0.5); */
    /* opacity: .5; */
    border-radius: 4px;
    position: absolute;
    top: 0px;
    left: 0;
    z-index: -1;
  }
}

/* #service .serviceBoxText{
  color: white;
  width: 100%;
  height: 100%;
  position: relative;

  &::before{
    content: "";
    width: 100%;
    height: 110%;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0%, -50%);
    z-index: -1;
  }
} */

#service i{
  font-size: 70px;
  color: white;
  width: auto;
  padding: 0;
  position: absolute;
  bottom: -5px;
  right: -3px;
}

.hLogo {
  display: block;
  position: relative;
  transition: 0.2s all;
}

.hLogoText {
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--customSecondary);
  background: white;
  /* opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #222222cc;

  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s all; */
}
.hLogoText:hover {
  opacity: 1;
}


/* process */

.hFlowText {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--whiteText);
  /* margin-top: 1rem; */
}

#process .processItem{
  color: var(--whiteText);
  background: var(--customSecondary);
  height: 100%;
  min-height: 170px;
  border-radius: 4px;
  position: relative;
}

#process .processIcon{
  font-size: 50px;
  color: var(--customSecondary);
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(70%, -50%);

  &::after{
    content: "\f04b";
    color: var(--whiteText);
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    /* transform: translate(-80%, -50%); */
    animation: H-shake .5s infinite alternate;
  }
}

/* 水平搖晃動畫 */
@keyframes H-shake {
  0% {
      transform: translate(-80%, -50%);}

  100% {
      transform: translate(-50%, -50%);}
}

#process span {
  font-size: 1.2rem;
  font-weight: 600;
}

#process ul {
  padding: 0;
  padding-left: 8px;
}

#process li {
  padding-left: 3px;
}


/* portfolio */

.portfolioImgSize{
  width: 100%;
  height: 300px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

#portfolio img{
  width: 150%;
  height: 100%;
  object-fit: cover;
  object-position: -75px 0px;
}

.portfolioImgHover{
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  color: white;
  font-size: 1.3rem;
  letter-spacing: 2px;
    p {
      font-size: 1rem;
    }
}

.portfolioImgHover:hover{
  animation: blur .5s 1 forwards;
}

/* 模糊動畫 */
@keyframes blur {
  from {
    filter: blur(0px);}

  to {
    filter: blur(20px);
    opacity: 0;}
}


/* contact */

#contact a, p {
  &:hover {
  text-decoration: none;
  /* color: #0056b3; */
  }
}

.hContactText {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

.contactText{
  font-size: 18px;
  font-weight: 500;
  color: var(--customSecondary);
    
    &:hover{
      color: var(--customMain);
    }
}


/*  */

#slogon {
  background-color: #5a5655;
}

.hSlogonText {
  text-align: center;
  color: white;
}

.hSlogonText h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

.hSlogonText h4 {
  font-size: 1.125rem;
  line-height: 1.5;
}

/*  */

footer {
  margin: 0;
  /* background-color: #383735; */
  background-color: var(--customSecondary);
  text-align: center;
  color: var(--whiteText);
}

.hFooterText {
  font-size: 1.125rem;
}
.hFooterText a {
  color: #eee;
}
.copyright {
  font-size: 1rem;
  margin-top: 1rem;
}

.toTop {
  background-color: #fafafa;
  border: 1px solid #ccc;
}

a {
  color: inherit;
}

/* */

.hFixFabFlex {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 5566;
  /*  */
  display: flex;
  flex-flow: column-reverse;
  justify-content: center;
  align-items: center;
}

.hFixFabFlex > a {
  display: block;
}

.hFab {
  width: 48px;
  height: 48px;
  font-size: 32px;
  line-height: 48px;
  text-align: center;
  color: white;
  /*  */
  border-radius: 64px;
  box-shadow: 0px 2px 3px 0px #66666666;
  overflow: hidden;
  transition: 0.2s all;
  margin-top: 16px;
}

.hFab:hover {
  box-shadow: 1px 3px 4px 0px #666666cc;
}

.hFabPhone {
  /* background-color: #555; */
  background-color: var(--customMain); 
}
.hFabLine {
  background-color: var(--customMain);
}
.hFabFacebook {
  background-color: var(--customMain);
}
.swiper-pagination-bullet-active{
  background-color: #5a5655;
}
