@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC&family=Noto+Serif+TC:wght@500&family=Sen:wght@400..800&display=swap');

@font-face {
  font-family: SweiSpringCJKtc-SemiBold;
  src: url(https://cdn.jsdelivr.net/gh/max32002/swei-spring@1.068/WebFont/CJK%20TC/SweiSpringCJKtc-SemiBold.woff2) format("woff2")
  , url(https://cdn.jsdelivr.net/gh/max32002/swei-spring@1.068/WebFont/CJK%20TC/SweiSpringCJKtc-SemiBold.woff) format("woff");
}


/************************************
 * Reset
 ************************************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {margin: 0;padding: 0;border: 0;font: inherit;font-size: 100%;vertical-align: baseline;}
html {line-height: 1;}
ol, ul {list-style: none;}
table {border-collapse: collapse;border-spacing: 0;}
caption, th, td {text-align: left;font-weight: normal;vertical-align: middle;}
q, blockquote {quotes: none;}
q:before, q:after, blockquote:before, blockquote:after {content: "";content: none;}
a img {border: none;}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {display: block;}
a, button {display: inline-block;transition: all 0.3s 0s ease-in;text-decoration: none;}
img {max-width: 100%;height: auto;vertical-align: middle;transition: all 0.3s 0s ease-in;}
button {
  background-color: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
}




/************************************
 * Base
 ************************************/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --menu-width: 70px;
  --header-height: 70px;
  --fixed-bar-height: 60px;
  --gap-width: 20px;
  --white-bg-color: #ffffff;
  --bg-color:#d9e5ee;
  --txt-color: #333;
  --primary-color: #006ab3;
  --fb-icon-color:#3496f6;
  --line-icon-color:#68d77f;
  --phone-icon-color:#627179;
  --mail-icon-color:#ff9ec8;
  --title-font-family: "Noto Sans TC";
  --sans-serif-font-family: "Sen", "Noto Sans TC", sans-serif;
  --serif-font-family: "Noto Sans TC", serif;
  --section-space: 50px;
  --intro-layer-height: 30px;
  --intro-image-offset: 50px;
  --final-clip-top: 100px;
}

html{
  font-size: 16px;
}

body {
  font-family: var(--sans-serif-font-family);
  background-color: var(--bg-color);
  color: var(--txt-color);
  line-height: 1.6;
}

h1,h2,h3{
  font-family: var(--title-font-family);
}

.swiper-pagination{
  position: static;
  margin-top: 1rem;
 }

 .swiper-pagination-bullet{
  width: 0.5rem;
  height: 0.5rem;
  background-color: #4b4b4b;
 }

 .swiper-pagination-bullet-active{
  background-color: #7c7c7c;
 }


 @media (min-width: 768px) {
  :root{
    --menu-width: 80px;
    --header-height: 80px;
    --fixed-bar-height: 80px;
  }
} 

@media (min-width: 1024px) {
  :root{
    --section-space: 80px;
    --gap-width: 40px;
  }
  html{font-size: 18px;}
}


/************************************
 * Layout
 ************************************/
.l-container{
  margin: 0 25px;
}

.l-main{
  overflow: hidden;
}

.l-row{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap-width);
}

.l-row--no-gap {
  gap: 0;
}

.l-col-1 {
  grid-column: span 1;
}

.l-col-2 {
  grid-column: span 2;
}

.l-col-3 {
  grid-column: span 3;
}

.l-col-4 {
  grid-column: span 4;
}

.l-col-5 {
  grid-column: span 5;
}

.l-col-6 {
  grid-column: span 6;
}

.l-col-7 {
  grid-column: span 7;
}

.l-col-8 {
  grid-column: span 8;
}

.l-col-9 {
  grid-column: span 9;
}

.l-col-10 {
  grid-column: span 10;
}

.l-col-11 {
  grid-column: span 11;
}

.l-col-12 {
  grid-column: span 12;
}

@media (min-width: 480px) {
  .l-container{
    margin: 0 auto;
    width: 90%;
    max-width: 680px;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    .l-container{
    margin: 0 auto;
    width: 90%;
    max-width: 480px;
  }
}


@media (min-width: 1024px) {
  .l-row-lg{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
    gap: var(--gap-width);
  }

  .l-row--no-gap-lg {
    gap: 0;
  }

  .l-col-12-lg {
    grid-column: span 12;
  }

  .l-col-11-lg {
    grid-column: span 11;
  }

  .l-col-10-lg {
    grid-column: span 10;
  }

  .l-col-9-lg {
    grid-column: span 9;
  }

  .l-col-8-lg {
    grid-column: span 8;
  }

  .l-col-7-lg {
    grid-column: span 7;
  }

  .l-col-6-lg {
    grid-column: span 6;
  }

  .l-col-5-lg {
    grid-column: span 5;
  }

  .l-col-4-lg {
    grid-column: span 4;
  }

  .l-col-3-lg {
    grid-column: span 3;
  }

  .l-col-2-lg {
    grid-column: span 2;
  }

  .l-col-1-lg {
    grid-column: span 1;
  }

  .l-grid-column-1-lg { grid-column-start: 1; }
  .l-grid-column-2-lg { grid-column-start: 2; }
  .l-grid-column-3-lg { grid-column-start: 3; }
  .l-grid-column-4-lg { grid-column-start: 4; }
  .l-grid-column-5-lg { grid-column-start: 5; }
  .l-grid-column-6-lg { grid-column-start: 6; }
  .l-grid-column-7-lg { grid-column-start: 7; }
  .l-grid-column-8-lg { grid-column-start: 8; }
  .l-grid-column-9-lg { grid-column-start: 9; }
  .l-grid-column-10-lg { grid-column-start: 10; }
  .l-grid-column-11-lg { grid-column-start: 11; }
  .l-grid-span-1-lg { grid-column-end: span 1; }
  .l-grid-span-2-lg { grid-column-end: span 2; }
  .l-grid-span-3-lg { grid-column-end: span 3; }
  .l-grid-span-4-lg { grid-column-end: span 4; }
  .l-grid-span-5-lg { grid-column-end: span 5; }
  .l-grid-span-6-lg { grid-column-end: span 6; }
  .l-grid-span-7-lg { grid-column-end: span 7; }
  .l-grid-span-8-lg { grid-column-end: span 8; }
  .l-grid-span-9-lg { grid-column-end: span 9; }
  .l-grid-span-10-lg { grid-column-end: span 10; }
  .l-grid-row-1-lg { grid-row: 1; }
  
  .l-container{
    width: 90%;
    max-width: 1600px;
  }
  
  .l-container--s{
    max-width: 1200px;
    width: 70%;
  }  
}

/************************************
 * Utility
 ************************************/
 .u-abs-full {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-object-fit: cover;
  object-fit: cover; 
}

.u-flex{
  display: flex;
  flex-wrap: wrap;
}

.u-align-items-center{
  align-items: center;
}

.u-align-items-flex-end{
  align-items: flex-end;
}

.u-justify-content-center{
  justify-content: center;
}

.u-mobile-only {
  display: block;
}

.u-desktop-only {
  display: none;
}

@media (min-width: 1024px) {
  .u-flex-lg{
    display: flex;
    flex-wrap: wrap;
  }

  .u-align-items-center-lg{
    align-items: center;
  }

  .u-align-items-flex-end-lg{
    align-items: flex-end;
  }

  .u-justify-content-center-lg{
    justify-content: center;
  }

  .u-mobile-only {
    display: none;
  }

  .u-desktop-only {
    display: block;
  }
}

/************************************
 * Header Block (c-header)
 ************************************/
.c-header {
  position: fixed;
  width: 100%;
  height: var(--header-height);
  padding-left: 20px;
  padding-right: var(--menu-width);
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9;
  background-color: transparent;
  transition: 0.3s;
}

.js-header-fixed .c-header{
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Header Logo */
.c-header__logo {
  width: 55%;
  max-width: 250px;
  transition: 0.3s;
}

/* Navigation */
.c-header__nav{
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  max-width: 250px;
  height: 100vh;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.js-menu-opened .c-header__nav{
  opacity: 1;
  visibility: inherit;
}

.c-nav {
  list-style: none;
}

.c-nav__item {
  position: relative;
  font-size: 1.3rem;
  font-weight: 600;
}
.c-nav__item .txt {
  position: relative;
  font-size: 1.1rem;
  font-weight: 600;
}

.c-nav__item a{
  padding: 0.5em 1em;
  transition: color 0.3s ease;
}
.c-nav__item .txt a{
  padding: 0.5em 1em;
  transition: color 0.3s ease;
}

.c-nav__link {
  color: var(--txt-color);
}

.c-subnav__link{
  color: #6b6b6b;
}

.c-nav__link:hover,
.c-subnav__link:hover {
  color: var(--primary-color);
}

.c-nav__link--active {
  color: var(--primary-color);
}

.c-nav__item--has-submenu .c-icon__icon--arrow-bottom{
  display: none;
}

.c-subnav{
  padding-left: 0.5em;
}

/* Menu Button */
.c-menu-btn {
  position: absolute;
  top: 50%;
  right: 0;
  width: var(--menu-width);
  height: var(--menu-width);
  cursor: pointer;
  transform: translateY(-50%);
}

.c-menu-btn::before {
  position: absolute;
  content: '';
  top: -15px;
  right: -15px;
  left: -15px;
  bottom: -15px;
}

.c-menu-btn__open,
.c-menu-btn__close {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: 0.3s;
}

.c-menu-btn__close{
  opacity: 0;
}

.js-menu-opened .c-menu-btn__close{
  opacity: 1;
}

.js-menu-opened .c-menu-btn__open{
  opacity: 0;
}

.c-menu-btn__bar {
  position: absolute;
  width: 50%;
  height: 3px;
  left: 25%;
  top: 50%;
  margin-top: -2px;
  border-radius: 10px;
  background-color: var(--txt-color);
}

.c-menu-btn__open .c-menu-btn__bar:nth-child(1) {
  transform: translateY(-8px) scaleX(0.7);
}

.c-menu-btn__open .c-menu-btn__bar:nth-child(3) {
  transform: translateY(8px) scaleX(0.7);
}

.c-menu-btn__open .c-menu-btn__bar:nth-child(1),
.c-menu-btn__open .c-menu-btn__bar:nth-child(3){
  transform-origin: right;
}

.c-menu-btn__close .c-menu-btn__bar:nth-child(1) {
  transform: rotate(45deg);
}

.c-menu-btn__close .c-menu-btn__bar:nth-child(2) {
  transform: rotate(-45deg);
}


@media (min-width: 1024px) {
  .c-header{
    padding-left: 2%;
  }

  .js-header-fixed .c-header__logo{
    width: 18%;
    transform: translateY(-10%);
  }
  .c-header__logo{
    width: 20%;
  }

  .c-nav {
    display: flex;
  }

  .c-header__nav{
    position: static;
    background-color: transparent;
    height: auto;
    width: auto;
    max-width: none;
    display: block;
  }

  .c-nav__item{
    font-size: 1rem;
  }

  .c-nav__item a{
    padding: 0.5em 1.5em;
  }

  .c-nav__item--has-submenu{
    position: relative;
  }

  .c-nav__item--has-submenu .c-icon__icon--arrow-bottom{
    display: block;
  }

  .c-subnav{
    display: none;
    padding-left: 0;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 9.5em;
    background-color: #fff;
  }

  .c-nav__item--has-submenu:hover .c-subnav {
    display: block;
  }

  .c-nav__link{
    padding: 0 1.5em;
  }

  .c-nav__link::before,
  .c-nav__link::after{
    position: absolute;
    content: '';
    background-color: var(--txt-color);
  }

  .c-nav__link::before{
    top: 10%;
    left: 0;
    width: 1px;
    height: 80%;
    transform: rotate(15deg);
  }

  .c-nav__link::after{
    height: 1px;
    left: 1.5em;
    right: 1.5em;
    bottom: 0;
    opacity: 0;
  }

  .c-nav__item--active .c-nav__link::after{
    opacity: 1;
  }

  .c-nav__item:nth-child(1) .c-nav__link::before{
    display: none;
  }
}


/************************************
 * Fixed Bar Block (c-fixed-bar)
 ************************************/
.c-fixed-bar{
  position: fixed;
  right: 0;
  bottom: 0;
  width: 100%;
  height: var(--fixed-bar-height);
  background-color: #fff;
  display: flex;
  align-items: center;
  z-index: 8;
}

/* Socials */
.c-fixed-bar__socials{
  width: calc(100% / 4 * 3);
  display: flex;
  align-items: center;
}

.c-fixed-bar__social-item{
  position: relative;
  width: calc(100% / 3);
  height: var(--fixed-bar-height);
  border-right: 1px solid #ccc;
}

.c-fixed-bar__social-item svg{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40%;
  max-width: 50px;
  transform: translate(-50%, -50%);
}

.c-fixed-bar__social-item--line svg{
  width: 50%;
}

.c-fixed-bar__social-item--fb path{
  fill: var(--fb-icon-color);
}

.c-fixed-bar__social-item--line path,
.c-fixed-bar__social-item--line rect{
  fill: var(--line-icon-color);
}

.c-fixed-bar__social-item--phone path{
  fill: var(--phone-icon-color);
}

/* Back Top */
.c-fixed-bar__back-top{
  position: relative;
  width: calc(100% / 4 * 1);
  height: var(--fixed-bar-height);
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-fixed-bar__back-top .c-icon{
  width: 30%;
  max-width: 30px;
  aspect-ratio: 1 / 1;
}

.c-fixed-bar__back-top .c-icon__icon{
  margin-left: 0;
  width: 100%;
  height: 100%;
}

@media (hover: hover) {
  .c-fixed-bar__social-item,
  .c-fixed-bar__social-item path{
    transition: 0.3s;
  }

  .c-fixed-bar__social-item:hover{
    background-color: #fff;
  }

  .c-fixed-bar__social-item--fb:hover path{
    fill: var(--fb-icon-color)
  }

  .c-fixed-bar__social-item--line:hover path{
    fill: var(--line-icon-color)
  }

  .c-fixed-bar__social-item--phone:hover path{
    fill: var(--phone-icon-color)
  }
}

@media (min-width: 1024px) {
  .c-fixed-bar{
    background-color: transparent;
    display: block;
    bottom: 12%;
    right: 2%;
    width: auto;
    height: auto;
  }

  .c-fixed-bar__socials{
    display: block;
    width: 100%;
  }

  .c-fixed-bar__social-item{
    position: relative;
    width: 50px;
    height: 50px;
    border: none;
  }

  .c-fixed-bar__social-item + .c-fixed-bar__social-item{
    margin-top: 0.5rem;
  }
  .c-fixed-bar__social-item{
    border-radius: 50%;  
  }

  .c-fixed-bar__social-item--fb{
    background-color: var(--fb-icon-color);
  }
  
  .c-fixed-bar__social-item--line{
    background-color: var(--line-icon-color);
  }
  
  .c-fixed-bar__social-item--phone{
    background-color: var(--phone-icon-color);
  }

  .c-fixed-bar__social-item  path{
    fill: #fff;
  }

  .c-fixed-bar__back-top{
    display: none;
  }
}


/************************************
 * Loading Block (c-loading)
 ************************************/
 .c-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  clip-path: inset(0);
  transition: 1s;
  background-color: #fff;
}

body.is-loading{
  overflow: hidden;
}

body.is-loaded .c-home-hero__title{
  opacity: 1;
  transform: translateY(0);
}

/************************************
 * Footer Block (c-footer)
 ************************************/
 .c-footer {
  padding: 50px 0;
  background-color: #006ab3;
  background-image: url('../images/home/footer-bg.jpg');
  background-size: cover;
  color: #fff;
  text-align: left;
}

body.has-fixed-bar .c-footer{
  margin-bottom: var(--fixed-bar-height);
}

.c-footer .c-title {
  margin-bottom: 3rem;
}

.c-footer__text {
  margin-bottom: 6px;
  font-family: var(--serif-font-family);
  line-height: 1.3;
}

.c-footer__map {
  margin-top: 3rem;
  min-height: 150px;
  width: 100%;
}

.c-footer .c-btn{
  margin-top: 1.5rem;
}

.c-footer .c-btn__icon{
  margin-right: 0.3em;
  background-image: url('../images/map-icon.png');
}

.c-footer__map iframe{
  height: 250px;
}

.c-footer__copyright{
  margin-top: 5rem;
  color: #bababa;
  font-size: 0.88rem;
}

@media (min-width: 1024px) {
  body.has-fixed-bar .c-footer{
    margin-bottom: 0;
  }

  .c-footer{
    padding: var(--section-space) 0;
  }

  .c-footer__map {
    margin-top: 2rem;
    width: 60%;
  }

  .c-footer__map iframe{
    height: 350px;
  }

  .c-footer__text{
    font-size: 1.2rem;
  }
}

/************************************
 * Components
 ************************************/
/* icon */
.c-icon{
  display: flex;
  align-items: center;
}

.c-icon__icon{
  position: relative;
  width: 1em;
  height: 1em;
  margin-left: 0.5em;
}

.c-icon__icon::after{
  position: absolute;
  content: '';
  width: 60%;
  height: 60%;
  left: 20%;
  top: 20%;
}

.c-icon__icon--arrow-bottom{
  margin-left: 0.8em;
}

.c-icon__icon--arrow-bottom::after{
  border-bottom: 1px solid;
  border-right: 1px solid;
  transform: translateY(-20%) rotate(45deg);
}

.c-icon__icon--arrow-right::after{
  border-bottom: 1px solid;
  border-right: 1px solid;
  transform: rotate(-45deg);
}

.c-icon__icon--arrow-up::after{
  border-top: 1px solid;
  border-right: 1px solid;
  transform: translateY(20%) rotate(-45deg);
}

/* socials */
.c-social__item{
  position: relative;
  width: 50px;
  height: 50px;
  border: none;
}

.c-social__item{
  border-radius: 50%;
  margin: 0 0.5rem;
}

.c-social__item--fb{
  background-color: var(--fb-icon-color);
}

.c-social__item--line{
  background-color: var(--line-icon-color);
}
.c-social__item--mail{
  background-color: var(--mail-icon-color);
}
.c-social__item--phone{
  background-color: var(--phone-icon-color);
}
.c-social__item path{
  fill: #fff;
}

.c-social__item svg{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  max-width: 40px;
  transform: translate(-50%, -50%);
}

@media (hover: hover) {
  .c-social__item,
  .c-social__item path{
    transition: 0.3s;
  }

  .c-social__item:hover{
    background-color: #fff;
  }

  .c-social__item--fb:hover path{
    fill: var(--fb-icon-color)
  }

  .c-social__item--line:hover path{
    fill: var(--line-icon-color)
  }

  .c-social__item--phone:hover path{
    fill: var(--phone-icon-color)
  }

  .c-social__item--mail:hover path{
    fill: var(--mail-icon-color)
  }
}

/* title */
.c-title {
  display: inline-block;
  font-size: 1.6rem;
  margin-bottom: 10px;
  line-height: 1.2;
}

.c-title--underline{
  position: relative;
}

.c-title--underline::before{
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--txt-color);
}

.c-title--bg{
  position: relative;
  z-index: 0;
}

.c-title--bg::after{
  position: absolute;
  content: '';
  width: 105%;
  left: -1%;
  bottom: -4%;
  height: 0.4em; 
  z-index: -1;
}

.c-title--blue::after{
  background-color: #378ac3;
}

.c-title--yellow::after{
  background-color: #fffea5;
}

/* team member */
.c-team-member{
  text-align: center;
}

.c-team-member__image{
  position: relative;
  aspect-ratio: 330 / 430;
  background-color: #ccc;
  overflow: hidden;
}

.c-team-member__content{
  margin-top: 1rem;
}

.c-team-member__title span{
  padding: 0 0.1rem;
}

.c-team-member__title__s{
  font-size: 1rem;
}

.c-team-member__title__l{
  font-size: 1.6rem;
}

/* btns */
.c-btn{
  padding: 0.4em 2em;
  border-radius: 10em;
  font-family: var(--serif-font-family);
  font-size: 0.86rem;
  transition: 0.3s;
}

.c-btn--primary{
  background-color: var(--primary-color);
  color: #fff;
}

.c-btn--black{
  background-color: #000;
  color: #fff;
}

.c-btn__group{
  display: flex;
  align-items: center;
}

.c-btn__icon{
  width: 1em;
  height: 1em;
  background-size: contain;
  background-repeat: no-repeat;
}

@media (hover: hover) {
  .c-btn--black:hover{
    background-color: #fff;
    color: #000;
  }

  .c-btn--primary:hover{
    background-color: #378ac3;
  }
}

/* decorative txt */
.c-decorative-text{
  font-size: 5rem;
  line-height: 1;
  color: transparent;
  font-family: var(--sans-serif-font-family);
  font-weight: 500;
  letter-spacing: -0.05em;
}

/* Hero/Banner */
.c-hero {
  text-align: center;
  position: relative;
}

.c-hero__title {
  margin-bottom: 10px;
}

.c-hero__title__l{
  font-size: 3rem;
  line-height: 1.3;
}

.c-hero__title__s{
  font-size: 1rem;
  color: #8d8d8d;
  letter-spacing: 1px;
}

/* Section */
.c-section {
  position: relative;
  padding: var(--section-space) 0;
  z-index: 0;
}

.c-section__title{
  margin-bottom: 2rem;
}

.c-section__text {
  --font-family-sans: "Noto Sans TC";
  font-size: .92rem;
  line-height: 1.8;
  letter-spacing: 1px;
  text-align: justify;
}

.c-section__text + .c-section__text{
  margin-top: 1rem;
}

.c-section__image{
  text-align: center;
}

.c-section__content {
  margin-top: 2rem;
}


@media (min-width: 1024px) {
  .c-decorative-text{
    font-size: 5.5rem;
  }

  .c-title {
    font-size: 1.8rem;
    line-height: 1.8rem;
  }

  .c-team-member__title__s{
    font-size: 1em;
  }
  
  .c-team-member__title__l{
    font-size: 2rem;
  }

  .c-team-member__title span{
    padding: 0 0.25rem;
  }

  .c-btn{
    font-size: 1rem;
  }

  .c-hero__title__l {
    font-size: 3rem;
    line-height: 1.2;
  }

  .c-section__content{
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  .c-decorative-text{
    font-size: 8rem;
  }
  
  .c-team-member__title__s{
    font-size: 1.6rem;
  }
  .c-team-member__title__l{
    font-size: 2.6rem;
  }
}


/************************************
 * Home Page
 ************************************/
/* Home hero */
.c-home-hero{
  --layer-space: 70px;
  position: relative;
  padding: calc(var(--header-height) + 20px) 0 calc(var(--section-space) * 1.5 + var(--intro-layer-height)) 30px;
}

.c-home-hero__title{
  font-size: 3rem;
  line-height: 1.3;
}

.c-home-hero__inner{
  position: relative;
  padding: calc(var(--layer-space) / 2) 0 var(--layer-space) 0;
  transition: transform 1s ease;
}

.c-home-hero__video{
  position: relative;
  aspect-ratio: 615 / 480;
  overflow: hidden;
}

.c-home-hero__layer{
  position: absolute;
  width: 90%;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #ffffff;
}

.c-home-hero__video,
.c-home-hero__title{
  width: 80%;
  margin: 0 auto;
  left: -10%;
}

.c-home-hero__title{
  position: relative;
  text-align: right;
  margin-top: -0.5em;
  text-shadow: 0 0 10px rgba(255,255,255,1),0 0 10px rgba(255,255,255,1),0 0 10px rgba(255,255,255,1);
  opacity: 0;
  transform: translateY(50px);
  transition: 0.5s;
  font-weight: 500;
}

.c-home-hero__title::after{
  position: absolute;
  content: '';
  right: 0;
  bottom: -170%;
  width: 1px;
  height: 160%;
  background-color: #000;
}

@media (min-width: 1024px) {
  .c-home-hero{
    padding: calc(var(--header-height) + 20px) 0 calc(var(--section-space) * 1.5 + var(--intro-layer-height)) 0;
  }

  .c-home-hero__inner{
    padding: var(--layer-space) 0 var(--layer-space) 0%;
    margin-left: -100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .c-home-hero__video,
  .c-home-hero__title{
    left: 0;
    margin: 0;
  }

  .c-home-hero__video{
    width: 50%;
    aspect-ratio: 16 / 9;
  }
  
  .c-home-hero__title{
    font-size: 5rem;
    line-height: 1.2;
  }

  .c-home-hero__title{
    margin-left: -0.5em;
    width: auto;
    z-index: 2;
    text-shadow: none;
  }

  .c-home-hero__layer{
    width: 65%;
  }
}


/* Home Intro */
.c-section--intro{
  position: relative;
  padding-left: 4rem;
  padding-bottom: 0;
  background-color: #fff;
}

.c-home-intro__image{
  position: relative;
  margin-top: 2rem;
  aspect-ratio: 740 / 600;
  overflow: hidden;
}

.c-home-intro__image,
.c-home-intro__content{
  position: relative;
  z-index: 2;
}

.c-home-intro__content{
  padding-right: 10%;
}

.c-section--intro .c-title{
  position: relative;
  margin-bottom: 2rem;
}

.c-section--intro .c-title::after{
  display: inline-block;
  margin-left: 0.5em;
  content: '';
  width: 1em;
  height: 1em;
  vertical-align: middle;
  background-image: url('../images/title-arrow.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: translateY(-10%);
}

.c-section--intro .c-title::before{
  width: 4em;
}

.c-home-intro__layer{
  position: absolute;
  left: 0;
  z-index: -1;
}

.c-home-intro__layer:nth-child(1){
  width: 70%;
  top: calc(var(--intro-layer-height) * -1);
  height: var(--intro-layer-height);
  background-color: var(--primary-color);
}

.c-home-intro__layer:nth-child(2){
  width: 100%;
  height: 80%;
  top: 0;
  background-color: #dfdfdf;
}

.c-home-intro__decorative{
  position: absolute;
  top: calc(var(--intro-layer-height) + 10px);
  left: 2%;
  writing-mode: vertical-rl;
  background: linear-gradient(-155deg, rgba(246,246,246,1) 0%,rgba(200,200,200,0.68) 30%,rgba(200,200,200,0) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  background-size: 150% 150%;  
}

@media (min-width: 1024px) {
  .c-section--intro{
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 60px;
    padding-bottom: 0;
  }

  .c-home-intro__decorative{
    left: 4.5%;
  }

  .c-home-intro__image{
    margin-top: 0;
  }

  .c-home-intro__content{
    padding-left: 6rem;
    padding-right: 0;
  }

  .c-home-intro__layer:nth-child(2){
    height: 100%;
  }
}

@media (min-width: 1200px) {
  .c-home-intro__content{
    padding-left: 8rem;
    padding-right: 40px;
  }

  .c-home-intro__layer:nth-child(2){
    height: 90%;
  }
}


/* Home Lawyer */
.c-home-lawyer{
  padding-bottom: calc(var(--section-space) * 2);
  background-color: var(--white-bg-color);
  background-image: url('../images/home/lawyer-bg.jpg');
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 150% auto;
}

.c-home-lawyer__decorative{
  background: linear-gradient(-45deg, rgba(246,246,246,1) 0%,rgba(223,223,223,0.68) 50%,rgba(223,223,223,0) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  background-size: 150% 100%;
}

.c-home-lawyer__main__title{
  text-align: right;
}

.c-home-lawyer__main .c-team-member{
  margin-left: 15px;
  margin-bottom: 40px;
  margin-top: -30px;
}

.c-home-lawyer__main  .c-team-member__image{
  position: relative;
  z-index: 0;
  overflow: visible;
}

.c-home-lawyer__main  .c-team-member__image::before{
  position: absolute;
  z-index: -1;
  content: '';
  left: -15px;
  top: 15px;
  width: 100%;
  height: 100%;
  background-color: #d9e5ee;
}

.c-home-lawyer .c-team-member__title{
  margin-bottom: 0.5rem;
}

.c-home-lawyer__main  .c-team-member__image{
  width: 55%;
}

.c-home-lawyer__main .c-team-member__content{
  flex: 1 0 0;
  text-align: left;
  padding-left: 1rem;
}

.c-home-lawyer__main .c-team-member__title span{
  display: block;
}



@media (min-width: 1024px) {
  .c-home-lawyer{
    padding-bottom: calc(var(--section-space) * 2);
    background-size: 100% auto;
  }

  .c-home-lawyer__main{
    position: relative;
    margin-bottom: 90px;
  }

  .c-home-lawyer__main .c-team-member{
    margin: 0;
  }
  
  .c-home-lawyer__main__title{
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
  }

  .c-home-lawyer__main .c-team-member{
    width: 65%;
  }

  .c-home-lawyer__main .c-team-member__content{
    padding-left: var(--gap-width);
  }

  .c-home-lawyer__main .c-team-member__title span{
    display: block;
    padding: 0;
  }

  .c-home-lawyer__main  .c-team-member__image::before{
    left: -30px;
    top: 30px;
  }

  .c-home-lawyer__main .c-team-member__title span{
    display: inline;
  }
}


/************************************
 * About Page
 ************************************/
.c-about-hero{
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 750 / 300;
  background-image: url(../images/about/hero-mob.jpg);
  background-size: cover;
  background-position: right top;
}

.c-about-hero__title{
  margin-top: var(--header-height);
  text-align: left;
}

.c-about-info{
  font-size: 1.3rem;
  line-height: 1.7;
  letter-spacing: 1px;
  text-align: center;
  font-family: var(--serif-font-family);
  padding: 35px 0px;
}

.c-about-article-1__layer{
  position: absolute;
  z-index: -1;
  background-color: #fff;
  right: 0;
  top: 0;
  height: 100%;
  left: 40px;
}

.c-about-article-1 .c-section__content{
  padding-left: 60px;
}

@media (min-width: 1024px) {
  .c-about-hero{
    justify-content: flex-start;
    aspect-ratio: 1700 / 480;
    background-image: url(../images/about/hero-dsk.jpg);
  }

  .c-about-info h2 br{
    display: none;
  }

  .c-about-article-1__layer{
    height: 85%;
    left: 10%;
  }
  

  .c-about-article-1{
    padding-top: 50px;
  }

  .c-about-article-2{
    padding-top: 0;
  }

  .c-about-article-1 .c-section__content{
    padding-left: 60px;
    padding-right: 60px;
  }

  .c-about-article-1 .c-section__image{
    position: relative;
    top: 50px;
  }

  .c-about-article-2 .c-section__content{
    padding-right: 80px;
  }
  
}


/************************************
 * Profile Page
 ************************************/
 .c-hero-profile{
  margin-top: var(--header-height);
  padding: var(--section-space) 0;
  background-color: #fff;
  text-align: left;
 }

 .c-section--experience{
   background-color: #000;
   color: #fff;
 }

 .c-hero-profile__image{
  position: relative;
  padding-left: 20px;
  padding-bottom: 20px;
 }

 .c-hero-profile__image__inner{
  position: relative;
  aspect-ratio: 545 / 725;
  z-index: 0;
 }

 .c-hero-profile__image__inner::after{
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  left: -20px;
  bottom: -20px;
  background-color: #e6e6e6;
  z-index: -1;
 }

 .c-hero-profile__content{
  margin-top: 2rem;
 }

 .c-profile-hero__title{
  margin-bottom: 2rem;
 }

 .c-degree__icon{
  margin-bottom: 0.5rem;
  display: inline-block;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid #378ac3;
  background-image: url('../images/profile/degree-icon.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
 }

 .c-hero-profile__content__header{
  margin-bottom: 2rem;
  text-align: center;
 }
 
.c-hero-profile__content__body p{
   --font-family-sans: "Noto Sans TC";
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 1px;
  text-align: justify;
 }

 .c-hero-profile__date{
  text-align: right;
  margin-top: 1rem;
 }

 .c-hero-profile .c-hero__title__s{
  color: var(--txt-color);
 }

 .c-profile-additional{
  background-color: #fff;
 }

 .c-profile-experience{
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
 }

 .c-experience{
  padding: 1rem 0;
  font-family: var(--title-font-family);
  font-weight: 600;
  font-size: 1.55rem;
 }

 .c-experience + .c-experience{
  border-top: 1px solid #595959;
 }

 .c-profile-experience .c-section__content{
  margin-top: 0;
 }

 .c-profile-experience .c-section__image{
  margin-top: 2rem;
}

.c-profile-footer{
  text-align: center;
}

.c-profile-footer .c-social{
  margin-bottom: 2rem;
}

 @media (min-width: 1024px) {
  .c-hero-profile{
    padding: var(--section-space) 0;
  }

  .c-hero-profile__content{
    margin-top: 0;
    padding-left: 60px;
    max-width: 800px;
  }

  .c-profile-hero__title{
    margin-bottom: 0;
  }

  .c-degree__icon{
    margin-bottom: 0;
  } 

  .c-degree__content{
    flex: 1 0 0;
    padding-left: 1rem;
  }

  .c-hero-profile__image{
    padding-left: 40px;
    padding-bottom: 40px;
    max-width: 600px;
   }
  
  .c-hero-profile__image__inner::after{
    left: -40px;
    bottom: -40px;
  }

  .c-hero-profile__content__header{
    text-align: left;
  }

  .c-profile-additional{
    padding-top: 0;
  }

  .c-profile-additional .c-section__content{
    padding-left: 60px;
  }

  .c-profile-additional .c-section__image{
    margin-top: -40px;
  }

  .c-profile-experience{
    background-image: url('../images/profile/lawyer-1-experience-bg-dsk.jpg');
  }

  .c-profile-experience .c-section__content{
    padding-left: 10%;
    padding-right: 40px;
  }

  .c-profile-experience .c-section__image{
    margin-top: 0;
    padding-left: 50px;
    padding-right: 50px;
   }

 } 

 @media (min-width: 1080px) {
  .c-hero-profile__content__header{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
   }
  
   .c-profile-hero__title{
    width: 11rem;
   }
  }

/************************************
 * 0407
 ************************************/

.profile-item h3 {
   font-family: var(--font-family-sans);
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    font-size: .9rem;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0.8px;
    text-align: left;
    color: #3e3e3e;
    position: relative;
    margin-bottom: .6rem;
  }

.profile-item h3 span {
  display: block;
  position: relative;
  z-index: 2;
  margin-top: 18px;
}

.profile-item h3::after {
  content: "";
  display: block;
  width: 102%;
  height: 8px;
  background-color: #e7e7e7;
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 1;
}

@media screen and (max-width: 460px) {
.profile-item h3{
     font-size: 1.2rem;
  }
.profile-item h3::after {
    height: 4px;
  }
 .c-experience{
  padding: 1rem 0;
  font-size: 1.3rem;
 }
}

.profile-item p,
.profile-item a {
  font-family: var(--font-family-sans);
  font-size: .85rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.7;
  letter-spacing: 0.8px;
  text-align: left;
  color: #3e3e3e;
  text-indent: -1.2rem;
  margin-left: 1.2rem;
}
.profile-item small {
  font-size: 0.9em;
  display: block;
  color: #a2a2a2;
  letter-spacing: 1px;
  margin-left: 20px;
}
@media screen and (max-width: 460px) {
.profile-item p,
.profile-item a {
    font-size: 1rem;
    line-height: 1.7;
  }
.profile-item small {
  font-size: 0.8em;
  display: block;
  letter-spacing: 0px;
}

}



.profile-item a {
  border-bottom: 1px solid #3e3e3e;
  text-indent: -1rem;
  margin-left: 1rem;
  position: relative;
}

@media screen and (max-width: 460px) {
.profile-item a {
    text-indent: -1.6rem;
    margin-left: 1.6rem;
    border-bottom: 0;
  }
.profile-item a span {
    display: block;
    border-bottom: 1px solid #3e3e3e;
  }
.profile-item a span:nth-of-type(2) {
    margin-left: 0;
    text-indent: 0;
  }
}
.profile-item .item {
  display: block;
  position: relative;
  z-index: 2;
  margin-top: 15px;
}

@media screen and (max-width: 1198px) { 
.nav{ display:none}
.nav_m{ display:block}
  .wrap,.wrap_news, .wrap_lawyer{width: 100%;max-width: 100%;}
  
  .wrap.flex{padding: 50px 8% 8%}
    .contact{width: auto;}
    .news{padding: 0;}
    .team{margin: 0 auto;}
    .wrap{padding:8%}
    .info_addr .wrap{padding: 5% 8%;}
}

@media screen and (max-width: 900px) { 
  .contact,.contact iframe,.contact img{width: 100%;max-width: 100%;}
  .contact li span img{width: 20px; }
  .contact li span{padding-right: 10px}
}

/************************************
 * news
 ************************************/
.c-news-hero{
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 750 / 200;
  background-image: url(../images/news/hero-mob.jpg);
  background-size: cover;
  background-position: right top;
}

.c-news-hero__title{
  margin-top: var(--header-height);
  text-align: left;
}

.c-news-info{
  font-size: 1.66rem;
  line-height: 1.3;
  text-align: center;
  font-family: var(--serif-font-family);
}

.c-news-article-1__layer{
  position: absolute;
  z-index: -1;
  background-color: #fff;
  right: 0;
  top: 0;
  height: 100%;
  left: 40px;
}

.c-news-article-1 .c-section__content{
  padding-left: 60px;
}

.wrap{max-width:1000px;padding: 50px;margin: 0 auto;/* background: white; */}
.news{background: white;}
.kv_news{background:url("../images/bg_news.jpg") center  no-repeat;background-size: cover;}
.news .wrap,.info_addr .wrap, .news_detail .wrap{max-width: 1000px;width: auto;}
.news_block{display: flex; flex-wrap: wrap; gap:40px;}
.news_box{width: calc(48% - 20px);/* border-radius:20px; */overflow: hidden;box-shadow: 5px 5px 8px rgb(88 88 88 / 10%);background: white;}
.news_box figure {width: 100%;height: 200px;overflow: hidden;}
.news_box figure img {width: 100%;display: block;}
.news_box a .date{color: #d1d1d1;font-size: 14px;}
.news_box a h3{color:#000;font-size: 18px;padding-left: 15px;position: relative;line-height: 1.4;letter-spacing: 1px;}
.news_box a h3:before{content:"";width: 6px;height: 20px;background-color: #9edbf4;display: block;margin-top: 6px;position: absolute;top:0;left:0}
.news_detail .content h3{font-size: 18px;margin: 30px 0px 10px 0px;line-height: 1.4;font-weight: 800;letter-spacing: 1px;color: #212121;}
.news_detail .content strong {font-weight: 800;color: #4a4a4a;}
.news_box a .news_title{padding: 25px 30px;}
.news_box:hover figure img{transform: scale(1.1);}
.news_box:hover { box-shadow:0px 0px 5px  rgba(0,0,0,.3);}

.kv_news_detail h2{font-family:"Noto Sans TC", sans-serif;font-size: 28px;margin-top: 5px;line-height: 1.2;font-weight: 800;}
.kv_news_detail{ background:url("../images/news/bg_news_detail.jpg") center  no-repeat; background-size: cover;height: auto; padding: 20px 0;}
.kv_news_detail .title_box{background: transparent;text-align: left;/* width: 100%; */width: 840px;margin: 0 auto;overflow: hidden;padding-top:50px;/* min-width: 840px; */}
.kv_news_detail .title_box .date{color:#a0a0a0 ;font-size: 14px;}
.kv_news_detail .title_box h3{font-family:"Noto Sans TC", sans-serif;font-size: 16px;color:#7f7f7f ; line-height: 1.6; margin-top: 20px; }
.swiper_newsdetail { overflow: visible; }
.hr-bold {height: 1px;background-color: #a6a6a6;border: none;margin: 1rem 0;}
.news_detail .content ul {margin-left: 1.5rem;list-style: disc;color: #777777;line-height: 1.8;font-size: 15px;}
.slider_news{width: 625px; overflow: hidden; margin: 0 auto; padding-bottom: 30px;}

.swiper-pagination-bullet{width: 11px;height: 11px; background-color: #555; }
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin: 0 8px;}
.news_detail .content p{font-size: 15px;color: #777777;line-height: 1.8;letter-spacing: 1px;width: 100%;}
.news_detail .content {padding: 0px 30px 40px 30px;}
.news_detail .content em {color: #006bb3;font-weight: 600;}
.news .news_detail .wrap img {padding: 0px 100px;}
.news_detail .back  {text-align: center;margin: 20px 0px; letter-spacing:2px;}
.news_detail .back a{padding: 5px 40px;display: inline-block;margin-top: 30px;color: #44788e;font-size: 14px;/* background: #dfe6f0; */border: 1px solid #447b90;}
.news_detail .back a:hover{ background: #000; color:#fff}


@media (min-width: 1024px) {
  .c-news-hero{aspect-ratio: 1700 / 380;background-image: url(../images/news/hero-dsk.jpg);}
  .wrap{padding: 50px;margin: 0 auto;}
  .c-news-info h2 br{
    display: none;
  }

  .c-news-article-1__layer{
    height: 85%;
    left: 10%;
  }
  
 }
@media screen and (max-width: 960px) { 
  .news_box figure{height: auto;}
  .news .wrap,.info_addr .wrap, .news_detail .wrap {padding:8%}
  .news_detail .wrap {padding:8%}
  .kv_news_detail .title_box{min-width: min-content; padding: 20px 30px;}
}

@media screen and (max-width: 768px) { 
  body{font-size: 15px   
}
@media screen and (max-width: 768px) { 
  .wrap{padding: 30px;margin: 0 auto;}
  .news_box a .news_title{padding: 20px;}
  .news_box a h3{font-size:17px; }
    .news figure img{ width:100%; height:auto; }
    .news figure,.about p{width: 100%}
    .news{padding: 20px 0;}
    .news_box,.info_addr .info, .info_addr .map{width: 100%;}
    .news_box figure img{max-width: 100%;}
    .news_box figure{ max-height: 320px;}
    .news_detail  {width: 100%}
    .news_detail .content h3{font-size: 21px;margin: 30px 0px 12px 0px;line-height: 1.5;}
    .news_detail .content p{font-size: 17px;line-height: 1.6;margin-bottom: 20px;}
    .news .news_detail .wrap img {padding: 10px 30px; padding-bottom: 20px;}
    .news_detail .content {padding: 0px 5px 40px 10px;}
    .kv_news { background: url(../images/bg_news_m.jpg) center top no-repeat ;background-size: cover;}
    .kv_news_detail{height: auto;min-height: 350px;}
  .kv_news_detail .title_box{width: auto;}
    .slider_news{width:100%; overflow: hidden; }
    .slider_news img{width:100%; height: auto; }
    .news_detail .back a{width: auto;display: inline-block;margin-top: 30px;font-size: 20px;}
    .kv_news_detail .title_box{padding: 20px 8%;padding-top: 80px;}
    .info_addr .info li{font-size: 15px;}

}
