@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;500;600&display=swap');
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;}
* {-webkit-box-sizing: border-box;box-sizing: border-box;}



/*------------------------------------*\
    helper
\*------------------------------------*/
.h-bg-full{background-size: cover;background-repeat: no-repeat;background-position: center;}
.h-center{display: flex;align-items: center;justify-content: center;}
.h-img-full{position: absolute;top: 0;left: 0;width: 100%;height: 100%;-webkit-object-fit: cover;object-fit: cover;}
.h-full{position: absolute;top: 0;left: 0;width: 100%;height: 100%;}
.text-align-center{text-align: center !important;}
.text-align-left{text-align: left !important;}
.text-align-right{text-align: right !important;}
.ver-align-middle *{vertical-align: middle;display: inline-block;}
.mt-5{margin-top: 5px !important;}
.mt-10{margin-top: 10px !important;}
.mt-20{margin-top: 20px !important;}
.mt-30{margin-top: 30px !important;}
.mt-60{margin-top: 60px !important;}
.color-primary{color:var(--primary-color);}
.fz-s{font-size: 0.75rem !important;}
.position-r{position: relative;}
.text-underline{text-decoration: underline;}
.justify-content-center{justify-content: center;}
.align-items-center{align-items: center;}
.align-items-end{align-items: flex-end;}
.letter-spacing{letter-spacing: 0.5em}
.font-serif{font-family: var(--font-family-serif);}




/*------------------------------------*\
    MODULE
\*------------------------------------*/
.list{
  margin-bottom: 1rem;
  margin-left: 1em;
  font-feature-settings: "liga" 0;
}

.list--decimal{
  list-style-type: decimal;
}

.list--disc{
  list-style-type: disc;
}



/*------------------------------------*\
    display
\*------------------------------------*/
.display-flex{display: flex;}
.dispaly-none{display: none;}

@media (min-width: 992px){
  .display-flex-lg{display: flex;}
  .dispaly-none-lg{display: none;}
  .dispaly-blcok-lg{display: block;}
}



/*------------------------------------*\
    layout
\*------------------------------------*/
.container{padding: 0 30px;margin: 0 auto; position: relative;}
.row {display: -webkit-flex;display: flex;-webkit-flex-wrap: wrap;flex-wrap: wrap;}
.row-reverse{flex-direction: row-reverse;}
.row-center{align-items: center;}
.col-6{width: 50%;max-width: 50%;flex-basis: 50%;}
.row-g-20{margin: 0 calc(20px / 2 * -1);}
.row-g-20 > div{padding: 0 calc(20px / 2);}
.row-g-40{margin: 0 calc(40px / 2 * -1);}
.row-g-40 > div{padding: 0 calc(40px / 2);}

@media (min-width: 768px){
  .row-mb{display: -webkit-flex;display: flex;-webkit-flex-wrap: wrap;flex-wrap: wrap;}
  .row-center-mb{align-items: center;}
  .col-6-mb{width: calc(100% / 2);max-width: calc(100% / 2);flex-basis: calc(100% / 2);}

  .row-g-10-mb{
    margin: 0 calc(10px / 2 * -1);
  }

  .row-g-10-mb > div{
    padding: 0 calc(10px / 2);
  }

  .row-g-20-mb{
    margin: 0 calc(20px / 2 * -1);
  }

  .row-g-20-mb > div{
    padding: 0 calc(20px / 2);
  }
}

@media (min-width: 992px){
  .container{
    /*width: 90%;*/
    max-width: 1260px;
  }

  .row-lg{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .row-g-20-lg{
    margin: 0 calc(20px / 2 * -1);
  }

  .row-g-20-lg > div{
    padding: 0 calc(20px / 2);
  }

  .row-g-40-lg{
    margin: 0 calc(40px / 2 * -1);
  }

  .row-g-40-lg > div{
    padding: 0 calc(40px / 2);
  }

  .row-g-60-lg{
    margin: 0 calc(60px / 2 * -1);
  }

  .row-g-60-lg > div{
    padding: 0 calc(60px / 2);
  }

  .row-reverse-lg{
    flex-direction: row-reverse;
  }

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

  .col-1-lg{
    width: calc(100% / 12 * 1);
    max-width: calc(100% / 12 * 1);
    flex-basis: calc(100% / 12 * 1);
  }

  .col-2-lg{
    width: calc(100% / 12 * 2);
    max-width: calc(100% / 12 * 2);
    flex-basis: calc(100% / 12 * 2);
  }

  .col-3-lg{
    width: calc(100% / 12 * 3);
    max-width: calc(100% / 12 * 3);
    flex-basis: calc(100% / 12 * 3);
  }

  .col-4-lg{
    width: calc(100% / 12 * 4);
    max-width: calc(100% / 12 * 4);
    flex-basis: calc(100% / 12 * 4);
  }

  .col-5-lg{
    width: calc(100% / 12 * 5);
    max-width: calc(100% / 12 * 5);
    flex-basis: calc(100% / 12 * 5);
  }

  .col-6-lg{
    width: calc(100% / 12 * 6);
    max-width: calc(100% / 12 * 6);
    flex-basis: calc(100% / 12 * 6);
  }

  .col-7-lg{
    width: calc(100% / 12 * 7);
    max-width: calc(100% / 12 * 7);
    flex-basis: calc(100% / 12 * 7);
  }

  .col-8-lg{
    width: calc(100% / 12 * 8);
    max-width: calc(100% / 12 * 8);
    flex-basis: calc(100% / 12 * 8);
  }

  .col-9-lg{
    width: calc(100% / 12 * 9);
    max-width: calc(100% / 12 * 9);
    flex-basis: calc(100% / 12 * 9);
  }

  .col-10-lg{
    width: calc(100% / 12 * 10);
    max-width: calc(100% / 12 * 10);
    flex-basis: calc(100% / 12 * 10);
  }

  .col-11-lg{
    width: calc(100% / 12 * 11);
    max-width: calc(100% / 12 * 11);
    flex-basis: calc(100% / 12 * 11);
  }

  .col-12-lg{
    width: calc(100% / 12 * 12);
    max-width: calc(100% / 12 * 12);
    flex-basis: calc(100% / 12 * 12);    
  }
}

@media (min-width: 1380px){
  .container{
    width: 90%;
  }
}


/*------------------------------------*\
    base
\*------------------------------------*/
:root {
  --bg-color: #ffffff;
  --primary-color: #ff6f6f;
  --highlighted-color: #ff5555;
  --txt-color: #2f2f2f;
  --txt-color-lighten: #434343;
  --font-family-serif: 'Noto Serif TC', serif;
  --font-family-sans-serif: 'Arial','Noto Sans TC','微軟正黑體', 'Microsoft JhengHei', sans-serif;
  --header-h: 60px;
}

html{font-size: 16px;}

body{
  background-color: var(--bg-color);
  color: var(--txt-color);
  font-family: var(--font-family-sans-serif);
  font-size: 1rem;
  line-height: 1.7;
}

a{
  color: var(--txt-color);
  text-decoration: none;
  transition: all 0.3s 0s ease;
}

button {
  background-color: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  color: var(--txt-color);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

h1,h2,h3{line-height: 1.3;}

video{max-width: 100%;}

.dej_wrap {
  margin: 0;
  width: 100%;
}

.dej_wrap section {
  width: 100%;
  position: relative;
}

.title{
  font-weight: 500;
}

.title--l{
  font-size: 1.8rem;
}

.title--m{
  font-size: 1.8rem;
}

.m_only {display: block;}
.pc_only{display: none;}


@media (min-width: 992px){

  .title--l{font-size: 2.5rem;}
  .title--m{font-size: 2.25rem;}
  .m_only {display: none;}
  .pc_only{display: block;}
}


/*------------------------------------*\
    Header
\*------------------------------------*/

header {
  width: 100%;
  background-color: var(--primary-color);
  padding: 20px 0;
}
header nav {
  justify-content: space-between;
  align-items: center;
}
header .nav_logo {
  width: 40%;
  max-width: 253px;
  height: 100%;
}
header .nav_a {
  color: #fff;
  font-size: 1.2rem;  
  font-weight: 700;
}
header .nav_a.nav2 {margin-left: 8px;}

@media (min-width: 640px){
  header .nav_a { font-size: 1.375rem;}
  header .nav_a.nav2 {margin-left: 30px;}
}
@media (min-width: 992px){
  header .nav_a.nav2 {margin-left: 50px;}
}

/*------------------------------------*\
    fix Nav
\*------------------------------------*/
.fix_nav {
    position: fixed;
    z-index: 80;
    bottom: 30px;
    right: 30px;
}

.fix_nav a {
    display: block;
    margin-bottom: 10px;
}

@media screen and (max-width: 640px) {
  .fix_nav {
    right: 20px;
    bottom: 20px;
  }
  .fix_nav a {
    width: 50px;
    height: 50px;
  }
}


