@charset "UTF-8";
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td, figure {
  margin: 0;
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  border: 0;
  display: block;
}

legend, hr {
  display: none;
}

th {
  font-style: inherit;
  font-weight: inherit;
}

li {
  list-style: none;
}

caption, th {
  text-align: left;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
}

a {
  outline: none;
  hlbr: expression(this.onFocus=this.blur());
  text-decoration: none;
  cursor: pointer;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

/* main.css ==============================================*/
/*Mixin*/
.hide {
  display: none;
}

body {
  font-family: "微軟正黑體", Arial;
}

#g-wrap {
  min-height: 110vh;
  font-size: 20px;
}

.page-tag .hero {
  background: linear-gradient(to right, #0072ce 10%, transparent 70%), url(../img/hero.jpg);
  background-repeat: no-repeat;
  background-position: 0 0, 50%;
  background-size: 100% 100%, cover;
  height: 12.8em;
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-tag h1 {
  font-size: 1.8em;
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  color: #fff;
}
.page-tag h1 p {
  font-size: 0.56em;
}
.page-tag h1 p::after {
  content: "";
  width: 2.6em;
  height: 1px;
  background: #fff;
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5em;
}
.page-tag h1 b {
  font-weight: bold;
}

.page-post .hero {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  background: linear-gradient(to right, #0072ce 10%, transparent 70%), url(../img/hero.jpg);
  background-repeat: no-repeat;
  background-position: 0 0, 80% 30%;
  background-size: 100% 100%, auto 160%;
  height: 17.7em;
}
.page-post h1 {
  font-size: 1.8em;
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  color: #fff;
  padding-top: 2.8em;
  font-weight: bold;
  text-shadow: 0 0 1em #0072ce;
}
.page-post .breadcrumb {
  max-width: 950px;
  padding-bottom: 1.3em;
}
.page-post article, .page-post aside {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  padding: 2.9em 0 3.9em;
}
.page-post article header, .page-post aside header {
  text-align: center;
  margin-bottom: 2.5em;
}
.page-post article header h2, .page-post article header h3, .page-post aside header h2, .page-post aside header h3 {
  font-size: 1.5em;
  color: #0072ce;
  font-weight: bold;
}
.page-post article header small, .page-post aside header small {
  color: #565656;
  font-size: 0.85em;
  display: block;
}

.breadcrumb {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.9em 0;
}
.breadcrumb li {
  display: inline-block;
}
.breadcrumb li::after {
  content: "/";
  transform: rotate(-4deg);
  display: inline-block;
  margin-left: 0.5em;
  position: relative;
  top: -0.1em;
}
.breadcrumb li:last-child::after {
  display: none;
}
.breadcrumb a {
  color: #373737;
}
.breadcrumb a:hover {
  color: #0072ce;
}

.article-list {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto 3em;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.article-list li {
  width: 49.2%;
  display: flex;
  background: #fff;
  box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.3);
  margin-bottom: 1.9em;
}
.article-list .img {
  width: 39%;
}
.article-list .txt {
  width: 61%;
  padding: 1em;
  position: relative;
}
.article-list .txt > a:hover h2 {
  color: #0072ce;
}
.article-list h2 {
  font-weight: bold;
  margin-bottom: 0.2em;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-all;
  min-height: 2.6em;
  color: #000;
}
.article-list p {
  font-size: 0.8em;
  color: #000;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-all;
  text-align: justify;
  position: relative;
}
.article-list p .more {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #0072ce;
  font-weight: bold;
  background: linear-gradient(to right, transparent, #fff 2em);
}
.article-list p .more::before {
  content: "　...";
  padding-left: 1em;
}
.article-list .tags {
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1em;
}
.article-list .tags a {
  color: #373737;
  font-size: 0.6em;
  border: 1px solid #b1b1b1;
  border-radius: 50em;
  padding: 0.2em 1.5em;
  margin-right: 0.6em;
  margin-bottom: 0.6em;
}
.article-list .tags a:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.accordion-list .item {
  border-bottom: 1px solid #bfbfbf;
}
.accordion-list .item.active .title {
  color: #0072ce;
}
.accordion-list .item.active .title::before {
  transform: rotate(-90deg);
}
.accordion-list .item.active .content {
  grid-template-rows: 1fr;
  padding: 0 1.7em 1.3em;
}
.accordion-list .title {
  padding: 1.5em 3em 1.5em 1.5em;
  font-size: 1.1em;
  font-weight: bold;
  position: relative;
  cursor: pointer;
}
.accordion-list .title:hover {
  color: #0072ce;
}
.accordion-list .title:before, .accordion-list .title::after {
  content: "";
  width: 0.6em;
  height: 0.6em;
  position: absolute;
  top: calc(50% - .6em / 2);
  right: 1.6em;
  background: linear-gradient(to right, transparent 40%, #0072ce 40.1%, #0072ce 60%, transparent 60.1%);
  transition: 0.4s;
}
.accordion-list .title::after {
  transform: rotate(-90deg);
}
.accordion-list .content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.4s ease-in-out;
  line-height: 1.5;
}
.accordion-list .content > * {
  overflow: hidden;
}
.accordion-list a {
  color: #0072ce;
  text-decoration: underline;
}
.accordion-list a:hover {
  color: #0e3452;
}

.list-dot li {
  position: relative;
  padding-left: 1em;
}
.list-dot li::before {
  content: "．";
  position: absolute;
  top: 0;
  left: 0;
}

.list-no li {
  position: relative;
  margin-left: 1em;
  list-style: decimal;
}

.list-emoji li {
  position: relative;
  padding-left: 1em;
}
.list-emoji i.emoji {
  position: absolute;
  top: 0;
  left: -0.2em;
  font-size: 80%;
  font-style: normal;
}

.bg-blue-100 {
  background: #e5f5ff;
  padding: 0.8em 0 2.1em;
}

.ck-zone {
  line-height: 1.5;
}
.ck-zone h2 {
  font-size: 1.4em;
  color: #0072ce;
}
.ck-zone h3 {
  font-size: 1.1em;
}
.ck-zone h2, .ck-zone h3, .ck-zone h4 {
  font-weight: bold;
  margin: 0.5em 0;
}
.ck-zone p {
  line-height: 1.5;
}
.ck-zone p ~ img {
  margin-top: 0.5em;
}
.ck-zone a {
  color: #0072ce;
  text-decoration: underline;
}
.ck-zone a:hover {
  color: #0e3452;
}
.ck-zone table {
  width: 100%;
  margin: 0.5em 0;
}
.ck-zone table th, .ck-zone table td {
  border-bottom: 1px solid rgba(0, 114, 206, 0.2);
  text-align: center;
  padding: 0.4em 0;
}
.ck-zone table thead th {
  background: #0072ce;
  color: #fff;
  font-weight: bold;
}
.ck-zone table thead th a {
  color: #fff;
}
.ck-zone table thead th a:hover {
  color: #e5f5ff;
}
.ck-zone table thead th:first-child {
  border-top-left-radius: 0.4em;
}
.ck-zone table thead th:last-child {
  border-top-right-radius: 0.4em;
}
.ck-zone table tbody th, .ck-zone table tbody td {
  border-right: 1px solid rgba(0, 114, 206, 0.2);
}
.ck-zone table tbody td:last-child {
  border-right: 0;
}
.ck-zone table tbody tr:nth-child(even) th, .ck-zone table tbody tr:nth-child(even) td {
  background: #e5f5ff;
}
.ck-zone table tbody tr:last-child th, .ck-zone table tbody tr:last-child td {
  border-bottom: 0.1em solid #0072ce;
}
.ck-zone table .list-dot li {
  text-align: left;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 1em 0;
}
.post-tags a {
  color: #373737;
  font-size: 0.6em;
  border: 1px solid #b1b1b1;
  border-radius: 50em;
  padding: 0.2em 1.5em;
  margin-right: 0.6em;
  margin-bottom: 0.6em;
}
.post-tags a:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

aside.recommend {
  width: 100%;
  max-width: 100%;
  padding-top: 1.3em;
  text-align: center;
  vertical-align: top;
}

.other__item {
  width: 13.1em;
  display: inline-block;
  vertical-align: top;
  margin: 0 1em;
}
.other__item img {
  margin-bottom: 0.8em;
}

.other__item__name {
  display: inline-block;
  color: #0e3452;
}
.other__item__name br {
  display: none;
}

.other__item__type {
  display: block;
  color: #0e3452;
}

.other__item__price {
  font-weight: bold;
  margin: 0.4em 0;
}

.other__item_buy__btn a {
  background: #0e3452;
  color: #fff;
  font-size: 0.9em;
  padding: 0.6em 0;
  display: block;
  margin: 0 auto;
  width: 52%;
}
.other__item_buy__btn a:hover {
  background: #0072ce;
}
.other__item_buy__btn .icon-arrow {
  width: 0.7em;
  height: 0.7em;
  background: url(../img/icon-arrow-fff.svg) no-repeat center;
  background-size: auto 100%;
  display: inline-block;
  margin-left: 0.5em;
}

@media screen and (max-width: 1400px) {
  #g-wrap {
    font-size: 1.3vw;
  }
}
@media screen and (max-width: 1000px) {
  #g-wrap {
    font-size: 4vw;
  }

  .page-tag .hero {
    height: 10em;
    background-position: 0 0, 90%;
  }

  .article-list li {
    width: 100%;
    flex-wrap: wrap;
    box-shadow: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1.5em;
    margin-bottom: 1.5em;
  }
  .article-list .img {
    width: 35%;
  }
  .article-list .img img {
    width: 100%;
  }
  .article-list .txt {
    width: 65%;
    padding: 0.1em 1em;
  }
  .article-list h2 {
    margin-bottom: 0.5em;
    -webkit-line-clamp: 2;
  }
  .article-list p {
    -webkit-line-clamp: 2;
  }
  .article-list .tags {
    position: static;
    padding: 0;
    margin-top: 0.8em;
  }
  .article-list .tags a {
    padding: 0.2em 1em;
    display: none;
  }
  .article-list .tags a:nth-child(1), .article-list .tags a:nth-child(2), .article-list .tags a:nth-child(3) {
    display: inline-block;
  }

  .accordion-list .item.active .content {
    padding: 0 0 1.3em;
  }
  .accordion-list .title {
    padding: 1.5em 2em 1.5em 0em;
  }
  .accordion-list .title:before, .accordion-list .title::after {
    right: 0.5em;
  }

  .m-scroll {
    overflow-x: scroll;
    position: relative;
  }
  .m-scroll table.is-w170 {
    width: 170vw;
  }

  .tip-drag {
    position: absolute;
    top: calc(50% - 10em);
    left: calc(50% - 10em);
    width: 20em;
    height: 20em;
    background: radial-gradient(circle, #fff, transparent 60%);
    border-radius: 50%;
    text-align: center;
    z-index: 1;
  }
  .tip-drag .icon-drag {
    width: 7em;
    height: 3.6em;
    background: url(../img/icon-drag.svg) no-repeat;
    background-size: 100%;
    display: block;
    margin: 7.2em auto 0;
    animation: icon_drag_move 0.5s ease-in-out infinite alternate;
  }
  @keyframes icon_drag_move {
    0% {
      transform: translateX(-10%);
    }
    100% {
      transform: translateX(10%);
    }
  }
  .tip-drag p {
    font-size: 1.4em;
    color: #0e3452;
    font-weight: bold;
  }

  .post-tags {
    justify-content: center;
  }

  .other__item {
    width: calc(48% - 2em);
    vertical-align: top;
    margin-bottom: 2em;
  }

  .other__item__type {
    display: block;
  }

  .other__item_buy__btn a {
    width: 80%;
  }
}