.itemBlock2 {
  /* border-top: 0; */
  margin: 1rem 0.25rem;
}

.pageBannerWrap.aboBanner {
  background: url(../images/about_ban.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

/* 創辦人 */
.pageBannerWrap.founderBanner {
  background: url(../images/founder_ban.jpg);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 公司簡介 */
.pageBannerWrap.companyBanner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 75px);
  background: url(../images/company_ban.jpg);
  background-size: cover;
  background-attachment: fixed;
  transition: all 0.5s ease;
}

.pageBannerWrap .bannerContent {
  position: relative;
  width: 100%;
  height: calc(100vh - 75px);
  overflow-y: auto;
  padding: 50px 20px;
  box-sizing: border-box;
}

.companyBanner .intro {
  position: absolute;
  left: 0;
  opacity: 1;
  transform: translateY(0);
  transition: all .6s ease;
}

.companyBanner .intro.hidden {
  opacity: 0;
  transform: translateY(-30px);
}

#Taipei .companyTxt {
  position: absolute;
  bottom: -44em;
  display: none;
  opacity: 0;
  transform: translateY(30px);
  transition: all .3s ease;
}

#Taipei .companyTxt.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.companyTxt {
  padding: 2rem 0 2rem 2rem;
  color: var(--whiteColor);
  background: rgba(102, 102, 102, 0.9);
}

.companyTxtCon {
  height: 200px;
  overflow-y: auto;
  padding-right: 2rem;
}

.companyTxt .swiper {
  height: 100%;
}

.companyTxt .swiper .swiper-slide {
  padding-bottom: 0;
}

.companyTxt .swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.companyTxt .swiper-button-next,
.companyTxt .swiper-button-prev {
  top: auto;
  bottom: 5.5rem;
  background-color: var(--whiteColor2);
  width: 60px;
  height: 60px;
  border: 1px solid var(--whiteColor);
  border-radius: 50%;
  padding: 0.5rem;
}

.companyTxt .swiper-button-next:after,
.companyTxt .swiper-button-prev:after {
    font-family: 'icomoon' !important;
    font-size: 1.5rem;
    color: var(--whiteColor);
}

.companyTxt .swiper-button-next:after {
    content: '\e906';
}

.companyTxt .swiper-button-prev:after {
    content: '\e905';
}

.companyTxt .swiper-button-next:hover,
.companyTxt .swiper-button-prev:hover {
    background-color: var(--hoverColor);
}

.companyTxt .swiper-button-next:hover:after,
.companyTxt .swiper-button-prev:hover:after {
    color: var(--whiteColor);
}

.siteTagWrap {
  position: sticky;
  bottom: 4rem;
  width: 100%;
  background: transparent;
  z-index: 99;
} 

.siteTagWrap.scrolled {
  position: fixed;
  top: 75px;
  left: 0;
  width: 100%;
  height: 70px;
  background: var(--whiteColor);
  box-shadow: 0 10px 15px rgba(25, 25, 25, 0.1);
  animation: slideDownFadeIn 1.1s forwards;
  z-index: 2;
}

.siteTagWrap.scrolled .siteTag {
  background: var(--whiteColor);
}

@keyframes slideDownFadeOut {
  0% {
    opacity: 0;
    transform: translateY(0px);
  }
  100% {
    opacity: 1;
    transform: translateY(100px);
  }
}

@keyframes slideDownFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

.siteTagWrap a {
  color: var(--whiteColor);
  transition: color 1s ease;
}

.siteTagWrap.scrolled a {
  color: var(--textColor);
}

.siteTagWrap.scrolled a.active {
  color: var(--hoverColor);
}

.siteTag {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.siteTagWrap.scrolled .siteTag {
  padding: 1rem;
}

.siteTag a {
  display: inline-block;
  font-size: 1.75rem;
}

.siteTagWrap.scrolled .siteTag a {
  font-size: 1.25rem;
}

.siteTag a:hover {
  color: var(--hoverColor);
}

.siteTag a + a {
  margin-left: 5rem;
}

#Taipei, #Taichung, #South, #Thailand{
  position: relative;
  margin-bottom: 100px;
}

#Taipei .container, #Taichung .container, #South .container, #Thailand .container{
  position: relative;
}

.TaipeiBg, .TaichungBg, .southBg, .ThailandBg{
    min-height: 480px;
}

.TaipeiBg {
  background: url(../images/company_ban.jpg) center no-repeat;
  background-attachment: fixed;
}

.TaichungBg {
  background: url(../images/company_img1.jpg) center no-repeat;
  background-attachment: fixed;
}

.southBg {
  background: url(../images/company_img2.jpg) center no-repeat;
  background-attachment: fixed;
}

.ThailandBg {
  background: url(../images/company_img3.jpg) center no-repeat;
  background-attachment: fixed;
}

@media screen and (min-width: 768px) {
  #Taipei, #Taichung, #South, #Thailand {
    margin-bottom: 150px;
  }

  .TaichungBg, .southBg, .ThailandBg {
    min-height: 100vh;
  }

  .companyTxt {
    padding: 3rem 2rem 3rem 3rem;
    position: absolute;
    bottom: -50px;
    right: 0;
  }
}

.companyTxt h4 {
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 1200px) {
  .siteTag {
    display: flex;
    flex-wrap: nowrap;
    padding: 1.25rem 1rem;
  }

  .siteTag a {
    display: block;
    word-break: keep-all;
    white-space: nowrap;
  }

  .siteTagWrap.scrolled {
    top: 87px;
  }
}

@media screen and (max-width: 991px) {
  .pageBannerWrap.companyBanner {
    height: 110vh;
    margin-bottom: 10rem !important;
  }

  .companyTxtCon {
    margin-bottom: 2rem;
  }

  .companyTxt .swiper-button-next,
  .companyTxt .swiper-button-prev {
    bottom: 4rem;
  }

  .siteTag {
    overflow-x: scroll;
  }

  .siteTag a {
    font-size: 1.125rem;
  }

  .siteTag a + a {
    margin-left: 1.5rem;
  }

  #Taipei .companyTxt {
    right: 0;
    bottom: -54rem;
  }

  .siteTagWrap.scrolled {
    top: 93px;
    bottom: 42.25rem;
  }

  .TaichungBg, .southBg, .ThailandBg{
    background-size: cover;
    background-attachment: unset;
  }
}

@media screen and (max-width: 768px) {
  .pageBannerWrap.companyBanner {
    height: 100vh;
    margin-bottom: 46rem !important;
  }

  .siteTagWrap.scrolled {
    top: 88px;
  }

  .companyTxt{
    padding: 2rem;
    width: 100%;
  }

  #Taipei .companyTxt {
    position: relative;
    bottom: -40rem;
  }
}

@media screen and (max-width: 580px) {
  .pageBannerWrap.companyBanner {
    background-attachment: unset;
    margin-bottom: 40rem !important;
  }

  .siteTagWrap {
    margin: 0;
  }

  .siteTag {
    display: flex;
    flex-wrap: nowrap;
    padding: 1.25rem 1rem;
    overflow-x: scroll;
  }

  .siteTagWrap.scrolled .siteTag {
    padding: 1.25rem 1rem;
  }

  #Taipei .container, #Taichung .container, #South .container, #Thailand .container{
    padding: 0;
  }

  .siteTagWrap.scrolled {
    bottom: 31.5rem;
  }

  .siteTag a {
    display: block;
    font-size: 1.25rem;
    word-break: keep-all;
  }
}

@media screen and (max-height: 414px) {
  .pageBannerWrap.companyBanner {
    margin-bottom: 20rem !important;
  }
  #Taipei .companyTxt {
    bottom: -38rem;
  }
  .siteTagWrap {
    bottom: 1rem;
  }
}

@media screen and (max-height: 375px) {
  #Taipei .companyTxt {
    bottom: -21rem;
  }
}

/* 組織架構 */
.pageBannerWrap.teamBanner {
  background: url(../images/team_ban.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.teamBlock {
  display: block;
  margin: 1rem 0.25rem 2rem 0.25rem;
}

.teamBlockImg {
  position: relative;
  display: block;
  width: 100%;
  /* height: 440px; */
  /* background: var(--black20); */
  text-align: center;
  margin: auto;
  margin-bottom: 1rem;
  border-radius: 16px;
  overflow-y: hidden;
}

.teamBlockImg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.teamBlock .teamBlockTxt {
  padding: 0 1rem;
}

.teamBlock .teamBlockTxt h4 {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
}

.modal-content {
  border-radius: 1em;
  border: none;
}

.modal-header {
  padding: 1.5rem 1rem 1rem;
  border-bottom: none;
}

.modal-header .btn-close {
  font-size: 1.5rem;
  margin: -0.5rem 1rem -0.5rem auto;
}

.modal-body{
    /* height: 60vh; */
    height: 58vh;
    padding: 1rem 2rem;
    /* overflow: scroll; */
}

/* .modal-body .scroll{
    height: 55vh;
} */

.modal-body img{
    /* position: sticky;
    top: 0;
    width: 100%; */
    border-radius: 16px;
}

.modal-body .Txt {
    height: 49vh;
    overflow-y: scroll;
}

.modal-body h2{
    font-weight: normal;
}

.modal-body h4{
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    color: var(--textColor);
    border-bottom: 1px solid var(--textColor);
}

.modal-body p{
    color: var(--textColor);
}

.modal-body ul{
    padding-left: 0;
    list-style: none;
}

.modal-body ul li{
    position: relative;
    padding-left: 2rem;
    margin-bottom: .5rem;
}

.modal-body ul li::before{
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hoverColor);
    position: absolute;
    top: 10px;
    left: 0.5rem;
}

.modal-backdrop{
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

@media (min-width:576px) {
    .modal-dialog {
        max-width: 540px
    }
}
@media (min-width:768px) {
    .modal-dialog {
        max-width: 732px
    }
}
@media (min-width:992px) {
    .modal-xl {
        max-width: 956px
    }
}
@media (min-width:1200px) {
    .modal-xl {
        max-width: 1100px
    }
}
@media (min-width:1440px) {
    .modal-xl {
        max-width: 1300px
    }
}
@media (min-width:1560px) {
    .modal-xl {
        max-width: 1500px
    }
}
@media (min-width:1660px) {
    .modal-xl {
        max-width: 1600px
    }
}

@media screen and (max-width: 991px) {
    .modal-body{
        height: 80vh;
        overflow: scroll;
    }
    .modal-body .scroll{
        height: 75vh;
    }
    .modal-body .Txt {
        height: auto;
        overflow-y: unset;
    }
    .modal-body img{
        margin-bottom: 2rem;
    }
}
@media screen and (max-width: 768px) {
    .modal-body{
        padding: 1rem;
    }
}


/* 集團分布 */
.pageBannerWrap.groupBanner{
    background: url(../images/group_ban.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}


/* ESG */
.pageBannerWrap.esgBanner{
    background: url(../images/esg_ban.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.esgWrap .itemBlock2{
    border-top: 0;
}


/* 品質政策 */
.pageBannerWrap.qualityBanner{
    background: url(../images/quality_ban.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.awardBlockImg{
    background: none;
    padding: 1rem;
}

.awardBlockImg img{
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.qualityWrap{
    position: relative;
    background: url(../images/quality_bg.jpg) center no-repeat;
    background-attachment: fixed;
    color: var(--whiteColor);
    z-index: 0;
}

@media screen and (max-width: 991px) {
  .qualityWrap{
    background-size: cover;
    background-attachment: unset;
  }
}

.qualityWrap::before{
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.qualityWrap h4{
    font-size: 1.75rem;
    color: var(--whiteColor);
    margin: 3rem 0;
}

.qualityWrap2 h4{
    font-size: 1.75rem;
    margin: 3rem 0;
}

.qualityWrap2 img{
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}


/* 職業安全衛生 */
.pageBannerWrap.safetyBanner{
    background: url(../images/safety_ban.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.safetyWrap ul{
    list-style: none;
    padding-left: 0;
}

.safetyWrap ul li{
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
}

.safetyWrap ul li::before{
    content: "";
    width: 10px;
    height: 10px;
    border: 1px solid var(--hoverColor);
    border-radius: 25px;
    position: absolute;
    left: 1rem;
    top: 10px;
}

.safetyWrap h4{
    margin-top: 3rem;
    margin-bottom: 1rem;
}