/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
html {
  font-size: 62.5%
}
:root {
  --color-primary: #ea5404;
  --container-padding: 7rem;
  --container-margin: clamp(1.5rem, 15vw, 300px);
}
/* 完全移除 Bootstrap navbar-toggler 所有外觀樣式 */
.navbar-toggler {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
/* 點擊 / focus / active 狀態 */
.navbar-toggler:focus, .navbar-toggler:active, .navbar-toggler:focus-visible {
  outline: none;
  box-shadow: none;
  border: 0;
}
/* 移除 Bootstrap 5 預設 CSS 變數影響 */
.navbar-toggler {
  --bs-navbar-toggler-border-color: transparent;
  --bs-navbar-toggler-focus-width: 0;
}
/* iOS / Android 點擊高亮 */
.navbar-toggler {
  -webkit-tap-highlight-color: transparent;
}
@media screen and (max-width:1440px) {
  html {}
}
@media screen and (max-width:1200px) {
  :root {
    --container-padding: 3rem;
    --section-margin: 11rem;
  }
  html {}
}
@media screen and (max-width:575px) {
  :root {
    --section-margin: 6rem;
    --aside-width: 100%;
  }
  html {}
}
body {
  color: #1e1e1e;
  font-size: 2.1rem;
  font-family: Myriad Pro, "Noto Sans TC", Arial, sans-serif;
  line-height: 1.6;
}
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all .3s
}
a:hover {
  opacity: 1 !important
}
figure {
  margin-bottom: 0
}
.fade-up, .fade-down, .fade-left, .fade-right, .fade-in {
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}
a[class^="btn-"] {
  transition: all .3s;
  text-decoration: none;
}
a[class^="btn-"]:hover {
  opacity: 0.6;
}
/* Header & nav 基本樣式 */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  z-index: 999
}
header .logo {
  height: 6rem;
  transition: all .3s
}
.navbar {
  padding: 0;
}
.navbar-container {
  justify-content: space-between;
  flex: 1
}
.navbar-nav {
  justify-content: flex-end;
  flex: 1;
  gap: clamp(2rem, 3.8vw, 7.5rem);
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  display: block;
  white-space: nowrap;
  font-weight: 600;
  align-content: center;
  transition: all .3s
}
.dropdown-menu {
  font-size: 1em;
  padding: 0;
}
.dropdown-menu .dropdown-item {
  display: block;
  height: auto;
  padding: 0.5rem 1.5rem;
}
.dropdown-menu .dropdown-item:hover {
  color: #fff;
  background-color: var(--color-primary)
}
.on-scroll .logo {
  height: 4rem;
}
.on-scroll .nav-link {
  height: 6rem;
  padding-top: 0;
}
/* navbar-toggler */
.navbar-toggler {
  position: absolute;
  top: 0;
  right: 1.5rem;
  height: 6.6rem;
  border: 0;
  padding: 0;
}
/* 漢堡 icon */
.hamburger {
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 30
}
.hamburger > span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #333;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}
/* 轉成 X 的狀態 */
.hamburger > span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.hamburger > span:nth-child(2) {
  opacity: 0;
  transform: none;
}
.hamburger > span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}
.collapsed .hamburger > span:nth-child(1) {
  top: 0;
  transform: none;
}
.collapsed .hamburger > span:nth-child(2) {
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
}
.collapsed .hamburger > span:nth-child(3) {
  top: auto;
  bottom: 0;
  transform: none;
}
/* footer */
footer {
  background-color: #e0e0e0;
  border-bottom: 1.8rem solid var(--color-primary);
  overflow: hidden;
}
.footer {
  justify-content: space-between;
  padding: 3rem 0;
  gap: 3rem;
  font-size: 2.1rem;
}
.footer strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 500
}
.footer > div {
  flex-basis: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
}
.footer > div a {
  padding-right: 0.25em;
}
.footer > div a:hover {
  filter: brightness(0) saturate(100%) invert(46%) sepia(53%) saturate(5384%) hue-rotate(3deg) brightness(92%) contrast(105%);
}
.footer p {
  margin-bottom: 0;
  border-left: 1px solid #aaa;
  padding-left: 0.75em;
}
.btn-top {
  display: flex;
  align-items: center;
  column-gap: 1em;
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 20px 20px 0 0;
  color: var(--color-primary);
  background-color: #ccc;
  padding: 0.5em 1em;
  text-decoration: none;
  transform: translateY(5px);
  transition: all .3s;
  font-size: 1.8rem;
}
.btn-top:hover {
  transform: translateY(0);
  opacity: 1;
  background-color: #ccc;
}
main {
  min-width: 0;
  overflow: hidden;
  background-color: #f1f1f1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-top: 6.5rem;
}
.main-content {
  flex: 1;
  background-color: #fff;
}
.post-content {}
.top {
  background-color: #fff;
}
.top-wrapper {
  justify-content: space-between;
  padding-right: 0
}
.top-img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.page-title {
  flex: 0 0 23vw;
  padding: 0 1.5rem;
  align-self: center;
  min-height: 18rem;
}
h1.entry-title {
  font-size: 4.6rem;
  display: inline-block;
  margin: 0.5em auto 0.5em 0;
}
h1.entry-title strong {
  display: block;
  /*margin-bottom: 0.25em;*/
}
h2 {
  font-size: 4rem;
  font-weight: 400
}
h3 {
  font-size: 3rem;
  font-weight: 400
}
.sub-title {
  font-size: 3rem;
  align-items: flex-start;
  line-height: 1;
  color: #666
}
.sub-title span {
  min-width: 4em;
}
.sub-title strong {
  align-self: flex-end;
  display: flex;
  position: relative;
  line-height: 1;
  padding: 0.25em 0 0 0.75em;
  margin-left: 0.5em;
  font-weight: 400;
  color: #1e1e1e;
  font-size: 1.2em;
}
.sub-title strong:before {
  content: '';
  height: 1.3em;
  border-left: 7px solid var(--color-primary);
  position: absolute;
  left: 0;
  top: 0
}
.breadcrumb {
  color: #333;
  font-size: 1.5rem;
  line-height: 1;
}
.breadcrumb a {
  color: #333;
  text-decoration: none;
}
/*about */
body.about {
  background-color: #fff;
}
.about h3 {
  font-size: 3.6rem;
  font-weight: 400;
  padding: 3rem 0;
}
.about h3 span {
  font-size: 0.83em;
}
.about h3 small {
  font-size: 0.83em;
  margin-left: 0.5em;
  display: inline-block
}
.about h3 strong {
  margin-top: 0.25em;
  display: block;
  border-left: 7px solid var(--color-primary);
  line-height: 1;
  padding: 0.2em 0.5em;
  font-weight: 400
}
.about section {
  padding-top: clamp(4.5rem, 3.125vw, 60px);
  padding-bottom: clamp(4.5rem, 6.25vw, 120px);
  background-size: cover;
}
.about section.philosophy {
  background-image: url("../images/about_bg_01.jpg");
  padding-bottom: 0;
  padding-top: 0;
}
.philosophy h3 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.member {
  gap: 4.6vw;
  align-items: center;
  margin-top: 2rem;
}
.member figure {
  background-color: #eee;
  align-items: center;
  flex: 0 0 calc(50% - 2.3vw);
  position: relative;
  margin-bottom: auto
}
.member-2 {
  flex-direction: row-reverse;
}
.member-1 h3 {
  left: clamp(1.5rem, 15vw, 300px)
}
.member-2 h3 {
  right: clamp(1.5rem, 15vw, 300px)
}
.member img {
  width: max(2vw, 375px);
  margin: 2.5rem 5rem 0
}
.team-member {
  gap: 6.25vw;
  justify-content: space-between
}
.team-member > div {
  flex: 1 1 calc(50% - 6.25vw);
}
.team-member ul {
  list-style: none;
}
.group {
  background-image: url("../images/about_bg_02.jpg");
}
.journal {
  background-image: url("../images/about_bg_03.jpg");
}
.journal-list figure {
  flex: 0 0 50%
}
.journal-content {
  flex-direction: column;
  margin: 1.5rem auto;
  min-width: 0
}
.years-swiper {
  font-size: 2.8rem;
  font-weight: 500;
}
.years-swiper .swiper-wrapper {}
.years-swiper .swiper-button-next:after, .years-swiper .swiper-button-prev:after {
  font-size: 1em;
  color: var(--color-primary)
}
.years-swiper .swiper-slide {
  text-align: center
}
.years-swiper .swiper-slide .nav-link {
  margin: auto;
  border: 0;
  background-color: transparent;
  color: inherit;
}
.years-swiper .swiper-slide .nav-link:hover {
  color: inherit;
  color: var(--color-primary)
}
.years-swiper .swiper-slide .nav-link.active {
  color: var(--color-primary)
}
.journal .tab-content {
  background-color: #efefef;
  height: 100%;
}
.journal .tab-content ul {
  display: flex;
  margin: 0;
  padding: 3vw 4.6vw;
  width: 100%;
  flex-wrap: wrap;
  list-style: none;
  justify-content: space-between;
  column-gap: 4vw;
}
.journal .tab-content ul li {
  flex: 0 0 calc(50% - 2vw);
  padding: 1rem;
}
.journal .tab-content ul li a {
  font-size: 2.3rem;
  text-decoration: none
}
/* project */
.project-list a {
  display: block;
}
.project-list figure {
  position: relative;
  overflow: hidden;
}
.project-list figure:after {
  content: '';
  background-image: linear-gradient(0deg, #00000080 0%, #00000080 5%, #00000000 15%);
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  transition: all .3s
}
.project-list figure img {
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: all 1s
}
.project-list figcaption {
  color: #fff;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3
}
.project-list figcaption .mouse-out {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  transition: all .3s;
}
.project-list figcaption .mouse-in {
  opacity: 0;
  transition: all .6s;
  transform: translateY(1rem)
}
.project-list a:hover figure img {
  transform: scale(1.1)
}
.project-list a:hover figure:after {
  background-color: #00000099;
}
.project-list a:hover figcaption .mouse-in {
  opacity: 1;
  transform: translateY(0)
}
.project-list a:hover figcaption .mouse-out {
  opacity: 0
}
/*project single */
.project-single .top-img img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%
}
.project-single .page-title {
  margin-top: 6rem;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  flex: 0 0 30vw;
}
.project-single article p, .service article p {
  text-align: justify
}
.project-single .project {
  padding-bottom: 10rem;
}
.ex-link {
  font-size: 2.3rem;
  justify-content: space-between;
  padding: 0 0.5em;
}
.ex-title {
  margin-left: .5em;
  padding: 0.2em .7em;
  font-size: 2.8rem;
  border-left: 7px solid var(--color-primary);
  line-height: 1
}
.post-bottem {
  margin: 6rem auto 4rem;
}
.post-bottem h3 {
  margin: auto 4rem 2rem;
}
.post-bottem ul {
  border-radius: 10px;
  background-color: #f1f1f1;
  margin: 0;
  padding: 2rem 4rem;
  list-style: none
}
.post-bottem ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25em 0;
  font-size: 2.8rem;
}
.post-bottem ul li a i {
  display: block;
  width: 1em;
  height: 1em;
  transition: all .2s;
  background: url("../images/ico_download.png") center/contain no-repeat;
}
.post-bottem ul li a:hover i {
  filter: brightness(0) saturate(100%) invert(46%) sepia(53%) saturate(5384%) hue-rotate(3deg) brightness(92%) contrast(105%);
}
/* contact */
.office-inf {
  border: 1px solid #cecece;
  border-radius: 20px;
  padding: 2.5rem;
}
.office-inf h3 {
  padding: .2rem 1rem;
  font-size: 3.6rem;
  border-left: 7px solid var(--color-primary);
  line-height: 1;
}
.office-inf p {
  padding: 0 1.7rem;
}
.map-wrap {
  position: relative;
  aspect-ratio: 1920 / 750;
  width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 1rem;
}
.map-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.marker {
  font-weight: 600;
  font-size: 2.8em;
  position: absolute;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: #fff;
  cursor: pointer
}
.marker:hover {
  color: #39cee5;
}
.marker > i {
  width: 0.8em;
  height: 0.8em;
  border-radius: 100px;
  background-color: #477ce9;
  animation: .5s shine;
  position: relative;
  z-index: 1
}
.marker > i::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  animation: ripple 1.8s ease-out infinite;
}
.marker.show {
  opacity: 1;
}
.marker.taiwan {
  top: 40%;
  left: 34.9%;
}
.marker.japan {
  top: 24%;
  left: 42.97%;
}
.spot {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(100%);
  opacity: 0;
  transition: all .4s ease;
  width: 43%;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
}
.spot ul {
  width: 60%;
  line-height: 1.8;
  list-style: none;
  padding: 0;
  margin: 0
}
.spot ul li {
  position: relative;
  margin-bottom: 1em
}
.spot ul li::before {
  content: '';
  position: absolute;
  left: -2.4em;
  top: 1.8em;
  width: 1.5em;
  height: 1.5em;
  border-radius: 5px;
  background-color: #39cee5;
}
.spot li strong {
  display: block;
  font-size: 2.8em;
  color: #39cee5;
}
.spot li p {
  font-size: 2.1em;
}
.spot.show {
  transform: translateX(0);
  opacity: 1
}
@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  70% {
    opacity: 0.4;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.6);
    opacity: 0;
  }
}
/*home */
.home section {
  padding: clamp(3rem, 3.1vw, 7rem) 0;
}
.home section:last-child {
  padding-bottom: 0
}
.home h2 {
  font-size: 4.6rem;
}
.home h2 small {
  font-size: .652em;
  font-weight: 400;
}
.home h2 strong {
  display: block;
}
.slide-title {
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 3rem;
  text-align: left;
  letter-spacing: 0.2em;
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center
}
.intro {
  background: url("../images/home_bg_01.jpg") center/cover no-repeat;
}
.intro .container > .d-flex {
  gap: 4rem;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  width: 100%;
}
.intro article {
  background-color: #fff;
  padding: clamp(15px, 2.6vw, 50px);
  width: 55.55%;
  position: absolute;
  left: 0;
  color: #333
}
.intro h2 {
  line-height: 1.5;
  margin-bottom: 0.5em
}
.intro figure {
  flex: 0 0 calc(50% - 2rem);
}
.home section.news {
  padding-bottom: 0
}
.news .container {
  border-bottom: 10px solid var(--color-primary)
}
.news .container > .d-flex {
  gap: 4rem;
  justify-content: space-between;
  width: 100%;
}
.news .section-heading {
  flex: 1
}
.news article {
  margin-top: 11rem;
  width: 67%;
}
.news ul {
  list-style: none;
  margin: 0;
  padding: 0 0 clamp(3rem, 3.1vw, 7rem) 0;
}
.news ul li {
  border-bottom: 1px solid #ccc;
}
.news ul li a {
  display: flex;
  justify-content: space-between;
  color: #1e1e1e;
  padding: 1em .75em;
  line-height: 1.4
}
.news ul li a:hover {
  color: var(--color-primary);
  text-decoration: none
}
.news ul li a h5 {
  font-weight: 400;
  font-size: 2.3rem;
  margin: 0;
  line-height: 1.4
}
.news ul li a i {
  font-style: normal
}
.work .container > .d-flex {
  gap: 3rem;
  justify-content: space-between;
  width: 100%;
}
.work .section-heading {
  flex: 1
}
.work .container > .d-flex > article {
  margin-top: 11rem;
}
a[class ^="btn-ico-"] {
  display: flex;
  white-space: nowrap;
  gap: 0.5em;
  align-items: center;
  line-height: 1;
  color: #1e1e1e;
}
a[class ^="btn-ico-"] i {
  display: block;
  width: 1em;
  height: 1em;
  transition: all .2s;
  transform-origin: center center
}
a[class ^="btn-ico-"]:hover {
  filter: brightness(0) saturate(100%) invert(46%) sepia(53%) saturate(5384%) hue-rotate(3deg) brightness(92%) contrast(105%);
}
.btn-ico-arr-left i {
  background: url("../images/ico_arr_left_circle.png") center/contain no-repeat;
}
.btn-ico-download i {
  background: url("../images/ico_download.png") center/contain no-repeat;
}
.btn-ico-plus i {
  background: url("../images/ico_plus_circle.png") center/contain no-repeat;
}
.btn-ico-plus:hover i {
  transform: rotate(135deg)
}
.btn-more {
  display: inline-block;
  line-height: 1;
  border-bottom: 4px solid var(--color-primary);
  padding: 0.5em;
  align-self: flex-start;
  color: #1e1e1e
}
.btn-more:hover {
  color: var(--color-primary);
}
.project {
  flex-direction: column;
  justify-content: space-between;
  gap: 3.5rem;
}
.project article {
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 0 2rem;
}
.project p {
  margin-bottom: 0
}
.project p strong {
  display: inline-block;
  margin-right: 0.5em;
  font-weight: normal
}