@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);
h1,
.uk-h1,
h2,
.uk-h2,
h3,
.uk-h3,
h4,
.uk-h4,
h5,
.uk-h5,
h6,
.uk-h6 {
  font-family: Helvetica, "Lucida Grande", "Microsoft JhengHei", sans-serif;
}
/* p{text-align: justify;text-align-last: left;} */
#visual {
  background-image: url(../img/img-hero-pc.jpg);
}
#garment {
  background-image: url(../img/sc-section-1.jpg);
  margin-bottom: 40px;
  background-size: cover;
  padding-top: 74.64%;
}
#siteName {
  line-height: 0;
}
.wrapper {
  padding: 0 0 15px 0;
}
.square:after {
  content: "";
  display: block;
  padding-bottom: 62.5%;
}
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0.5;
  transition: 0.5s ease;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
}

/*hero card*/
.border {
  border: 1px solid #e6e6e6;
}
.hero > * > * > .uk-card-body {
  padding: 0 15px 10px;
}
.hero > * > * > .uk-card-media-top img {
  padding: 15px;
}
.cafe > * > * > * > .uk-card-title {
  line-height: 1em;
}
.terms {
  border: 1px solid #aaaaaa;
}
.mj-red {
  color: #910029;
}

.square .overlay:hover {
  opacity: 1;
}
.square h2 {
  font-size: 1.2em;
  z-index: 3;
}
/*.hover-text{background: rgba(0,0,0,0.5);}
.overlay{background: rgba(0,0,0,0.5); width:100%;}
.overlay:after {
  content: "";
  display: block;
  padding-bottom: 100%;

}*/
.uk-icon {
  position: relative;
  top: -2px;
}
.kv {
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 0;
  padding-top: 64%;
}

.sub-page-kv {
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 0;
  padding-top: 62.64%;
}

.kv h1 {
  font-size: 1.5em;
  /*left:48%;
        top:10%;*/
  font-weight: 700; /*color:#fff; */
  font-family: "Noto Sans TC";
  text-align: center;
}

/*index*/
/*.grid>* {padding:0 7px  !important;}*/
.square h2 {
  color: #fff;
  text-decoration: none;
}
.square h2:hover {
  color: #fff;
  text-decoration: none;
}

#main a:hover {
  text-decoration: none;
}

/*section header*/
.sec > div > .uk-card-body {
  padding: 0;
}

/* section card*/
.card > div > div > .uk-card-body {
  padding: unset;
}
.card > div > div > .uk-card-body p {
  margin: unset;
}

.btn {
  position: relative !important;
}

/*dotnav*/
.dotnav-flow {
  position: fixed;

  top: 40%;
  margin-left: -25px;
}
/*fukan*/
.fukan {
  background: #e9dfe0;
}
.fukan .uk-grid > * {
  padding-left: 0px;
}
.fukan-center {
  padding: 40px 20px !important ;
}
.cm-shortlist {
  height: 70%;
}

/*terms*/
.terms_content ul {
  list-style: none;
}
.terms_content ul li::before {
  content: "- ";
}
.arrow_down,
.arrow_up {
  float: right;
}
.arrow_down img {
  padding-top: 0;
}

.uk-tab {
  background: #ffffff;
}
.uk-tab > .uk-active > a {
  color: #333;
  border-color: #333;
  display: inline-block;
  height: 42px;
}
.route-next {
  position: absolute;
  top: 50%;
  top: 35%;
  right: -12%;
}
.route-map {
  width: 100%;
  height: calc(100% / 4 * 3);
}
.route > * > * > span {
  margin-top: 15px;
  display: inline-block;
}

.uk-card-body {
  padding: 20px;
}

.grid-first {
  padding-left: unset;
}

.card-logo {
  max-width: 100px;
  margin: 0 auto;
  display: flex;
}
.item > span {
  display: block;
  margin-top: 10px;
}
.uk-grid-small > .tmp {
  padding-left: 0px;
}
.tmp > .uk-card-body > p{padding-left:15px;text-align: justify;}
/*mobile*/
@media only screen and (max-width: 767px) {
  /* .uk-grid-small > * {
    padding-left: 0;
  } */

  .uk-grid-small > .tmp {
    padding-left: 0px;
  }
  .uk-gr .route > * {
    width: 42%;
  }
  .route-next {
    top: 20%;
    right: -20%;
  }
  .route {
    width: 1024px;
    overflow-x: scroll;
  }
  .uk-tab > * {
    padding-left: 20px;
  }
  .uk-tab > * > a {
    padding: 5px 0px;
  }
  .uk-tab {
    overflow: auto;
    flex-wrap: nowrap;
    width: auto;
    /* justify-content: left; */
    border-bottom: 1px solid #e5e5e5;
  }
  .uk-tab::before {
    border-bottom: unset;
  }

  #garment {
    margin-bottom: 20px;
    background-size: cover;
    padding-top: 75.64%;
  }
  .cafe .wrapper {
    width: 90%;
    margin: 0 auto;
  }
  .wrapper {
    width: 90%;
    margin: 0 auto;
  }
  /*index*/
  #visual {
    background-image: url(../img/img-hero-sp.jpg);
  }
  .kv {
    padding-top: 100%;
  }
  /*.kv h1{  writing-mode:tb-rl;
    color:#000; left:14%;
    white-space:nowrap;}*/

  .m_adj {
    height: 200px;
  }
  .square:after {
    content: "";
    display: block;
    padding-bottom: 50%;
  }

  /* btn*/
  .btn {
    position: relative !important;
  }

  .sec > div > .uk-card-body {
    padding: 0;
   ;
  }
  /*dotnav*/
  .uk-dotnav-vertical {
    margin-top: -18px;
  }
  /* fukan */
  .fukan-center-text {
    padding: 0 20px;
  }
  .uk-dotnav-vertical > * {
    padding-top: 18px;
  }
  .dotnav-flow {
    position: fixed;
    top: 25%;
    margin-left: -5.8%;
  }
  .uk-dotnav > * > * {
    width: 15px;
    height: 15px;
  }
  .content {
    width: 90%;
  }
  /*terms*/
  .terms h4 {
    font-size: 1.1em;
  }
  .terms,
  p {
    font-size: 0.9em;
  }
  .terms_text {
    width: 93%;
    display: inline-block;
  }
  .arrow_down,
  .arrow_up {
    margin-top: -15px;
  }
  .arrow_down img,
  .arrow_up img {
  }
}
