@charset "UTF-8";
/*
 * CSS Document
 * ==========================================================================
 * 版權所有 2018 鉅潞科技網頁設計公司，並保留所有權利。
 * 網站地址: http://www.grnet.com.tw
 * ==========================================================================
 * $Author: Jia $
 * $Date: 2018 Jan. $
*/
/* Fonts Including */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Light.eot");
  src: url("../fonts/Poppins-Light.eot?#iefix") format("embedded-opentype"), url("../fonts/Poppins-Light.woff2") format("woff2"), url("../fonts/Poppins-Light.woff") format("woff"), url("../fonts/Poppins-Light.ttf") format("truetype"), url("../fonts/Poppins-Light.svg#Poppins-Light") format("svg");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.eot");
  src: url("../fonts/Poppins-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/Poppins-Regular.woff2") format("woff2"), url("../fonts/Poppins-Regular.woff") format("woff"), url("../fonts/Poppins-Regular.ttf") format("truetype"), url("../fonts/Poppins-Regular.svg#Poppins-Regular") format("svg");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Medium.eot");
  src: url("../fonts/Poppins-Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/Poppins-Medium.woff2") format("woff2"), url("../fonts/Poppins-Medium.woff") format("woff"), url("../fonts/Poppins-Medium.ttf") format("truetype"), url("../fonts/Poppins-Medium.svg#Poppins-Medium") format("svg");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Bold.eot");
  src: url("../fonts/Poppins-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/Poppins-Bold.woff2") format("woff2"), url("../fonts/Poppins-Bold.woff") format("woff"), url("../fonts/Poppins-Bold.ttf") format("truetype"), url("../fonts/Poppins-Bold.svg#Poppins-Bold") format("svg");
  font-weight: 700;
  font-style: normal;
}
/* Global Style */
html {
  font-size: 16px;
}

body {
  position: relative;
  line-height: 1.625;
  font-size: 1rem;
  font-family: "Poppins", "Microsoft JhengHei UI", "Microsoft JhengHei", Sans-serif;
  color: #222;
  overflow-x: hidden;
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
}

body > *:not(.pace):not(.loading-box) {
  opacity: 0;
  transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
}

body.pace-done > *:not(.pace):not(.loading-box) {
  opacity: 1;
}

html.font-big {
  font-size: 19px;
}

html.font-regular {
  font-size: 16px;
}

html.font-small {
  font-size: 14px;
}

* {
  -webkit-backface-visibility: hidden;
}

img {
  border: 0;
  vertical-align: bottom;
}

a, a:visited, a:hover, a:focus, a:active {
  text-decoration: none;
}

/*:focus, :active { outline: 0; }*/
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

p {
  line-height: inherit;
}

label {
  font-weight: inherit;
}

input, button, textarea, select, optgroup, option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
}

textarea {
  resize: vertical;
}

ol.reset, ul.reset, li.reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

section, article, aside, footer, header, nav, main {
  display: block;
}

/* Page */
.page-wrap {
  padding: 130px 50px 0;
}

@media (max-width: 1599px) {
  .page-wrap {
    padding: 130px 15px 0;
  }
}
@media (max-width: 1479px) {
  .page-wrap {
    padding: 105px 15px 0;
  }
}
@media (max-width: 767px) {
  .page-wrap {
    padding: 70px 0 0;
  }
}
/* Page Container */
@media (min-width: 1600px) {
  .container {
    width: 1430px;
  }
}
/* Page Title */
.p-title-box {
  position: relative;
  text-align: center;
  padding-top: 33px;
}

.p-title-box:before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 30px;
  background: #d83d71;
  top: 0;
  left: 50%;
}

.p-title-box .p-title-en {
  line-height: 1.273;
  font-size: 1.375rem;
  margin: 0;
}

.p-title-box .p-title {
  line-height: 1.417;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

@media (max-width: 991px) {
  .p-title-box .p-title-en {
    line-height: 1.444;
    font-size: 1.125rem;
  }
  .p-title-box .p-title {
    line-height: 1.5;
    font-size: 1.25rem;
  }
}
/* Page Banner */
.p-banner {
  position: relative;
  overflow: hidden;
}

.p-banner > img {
  display: block;
  position: relative;
  height: 100%;
  left: 50%;
  -ms-transform: scale(1.2) translateX(-40%);
      transform: scale(1.2) translateX(-40%);
  -moz-transform: scale(1.2) translateX(-40%);
  -webkit-transform: scale(1.2) translateX(-40%);
  transition: -webkit-transform 3s;
  transition: transform 3s;
  transition: transform 3s, -webkit-transform 3s;
  -moz-transition: -moz-transform 3s;
  -webkit-transition: -webkit-transform 3s;
}

.pace-done .p-banner > img {
  -ms-transform: scale(1) translateX(-50%);
      transform: scale(1) translateX(-50%);
  -moz-transform: scale(1) translateX(-50%);
  -webkit-transform: scale(1) translateX(-50%);
}

@media (max-width: 991px) {
  .p-banner {
    height: 260px;
  }
}
@media (max-width: 767px) {
  .p-banner {
    height: 180px;
  }
}
/* Page Breadcrumb */
.p-crumb {
  font-size: 0;
  text-align: right;
  padding: 20px 0;
}

.p-crumb ul li {
  display: inline-block;
  position: relative;
  line-height: 1.857;
  font-size: 0.875rem;
  vertical-align: top;
  margin-right: 20px;
  margin-bottom: 5px;
}

.p-crumb ul li.current {
  color: #4d9ed6;
  border-bottom: 1px solid #4d9ed6;
  margin-right: 0;
}

.p-crumb ul li:not(.current):after {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 14px;
  background: #222;
  top: 5px;
  right: -11px;
  -ms-transform: rotate(20deg);
      transform: rotate(20deg);
  -moz-transform: rotate(20deg);
  -webkit-transform: rotate(20deg);
}

.p-crumb ul li a {
  color: #222;
}

.p-crumb ul li a:hover {
  color: #000;
}

@media (max-width: 767px) {
  .p-crumb {
    text-align: left;
    padding: 20px 15px;
  }
  .p-crumb ul li {
    line-height: 1.714;
    margin-right: 12px;
  }
  .p-crumb ul li:not(.current):after {
    top: 5px;
    right: -7px;
  }
  .p-crumb ul li.current {
    border-bottom: none;
  }
}
/* Page Tab */
@media (min-width: 992px) {
  .p-tab {
    margin-top: 35px;
  }
  .p-tab .btn {
    display: none;
  }
  .p-tab .dropdown-menu {
    display: block !important;
    float: none;
    position: relative;
    z-index: 1;
    min-width: initial;
    font-size: 0;
    border: none;
    background: none;
    border-radius: 0;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    text-align: center;
    margin: 0;
    padding: 0;
    top: auto;
    left: auto;
  }
  .p-tab .dropdown-menu > li {
    display: inline-block;
    vertical-align: top;
    margin: 0 6px 10px;
  }
  .p-tab .dropdown-menu > li > a {
    display: block;
    position: relative;
    background: none !important;
    padding: 0 50px;
  }
  .p-tab .dropdown-menu > li > a:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid #dcdcdc;
    top: 0;
    left: 0;
  }
  .p-tab .dropdown-menu > li > a:hover:before {
    background: #f5f5f5;
  }
  .p-tab .dropdown-menu > li.current > a:after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px 3px 0 3px;
    border-color: #d83d71 transparent transparent transparent;
    top: 100%;
    left: 50%;
    margin-left: -3px;
  }
  .p-tab .dropdown-menu > li > a span {
    display: block;
    position: relative;
    line-height: 2.333;
    font-size: 0.9375rem;
    color: #222;
    border-bottom: 1px solid transparent;
  }
  .p-tab .dropdown-menu > li.current > a span {
    border-bottom-color: #d83d71;
  }
  .p-tab-addition {
    font-size: 0;
    text-align: center;
  }
  .p-tab-sub,
  .p-tab-grand {
    display: inline-block;
    width: 260px;
    background: #f2f2f2;
    vertical-align: top;
    margin: 0 0 0 5px;
    padding: 5px;
  }
  .p-tab-sub:last-child {
    margin: 0;
  }
  .p-tab-sub .btn,
  .p-tab-grand .btn {
    display: block;
    position: relative;
    width: 100%;
    height: 35px;
    line-height: 33px;
    font-size: 0.875rem;
    border: 1px solid #dcdcdc;
    background: #fff;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    border-radius: 0;
    text-align: left;
    margin: auto;
    padding: 0 30px 0 15px;
  }
  .p-tab-sub .btn {
    background: #ddefff;
    border: 1px solid #add9f7;
  }
  .p-tab-grand .btn {
    background: #fbefe3;
    border: 1px solid #f1cdac;
  }
  .p-tab-sub .btn-default.active.focus, .p-tab-sub .btn-default.active:focus, .p-tab-sub .btn-default.active:hover, .p-tab-sub .btn-default:active.focus, .p-tab-sub .btn-default:active:focus, .p-tab-sub .btn-default:active:hover, .p-tab-sub.open > .dropdown-toggle.btn-default.focus, .p-tab-sub.open > .dropdown-toggle.btn-default:focus, .p-tab-sub.open > .dropdown-toggle.btn-default:hover, .p-tab-sub.open .btn {
    background: #ddefff;
    border: 1px solid #add9f7;
  }
  .p-tab-grand .btn-default.active.focus, .p-tab-grand .btn-default.active:focus, .p-tab-grand .btn-default.active:hover, .p-tab-grand .btn-default:active.focus, .p-tab-grand .btn-default:active:focus, .p-tab-grand .btn-default:active:hover, .p-tab-grand.open > .dropdown-toggle.btn-default.focus, .p-tab-grand.open > .dropdown-toggle.btn-default:focus, .p-tab-grand.open > .dropdown-toggle.btn-default:hover, .p-tab-grand.open .btn {
    background: #FBEFE3;
    border: 1px solid #f1cdac;
  }
  .p-tab-sub .btn:before,
  .p-tab-grand .btn:before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    top: 14px;
    right: 10px;
  }
  .p-tab-sub .btn:before {
    border-color: #4c9ed6 transparent #4c9ed6 transparent;
  }
  .p-tab-grand .btn:before {
    border-color: #fb9a46 transparent #fb9a46 transparent;
  }
  .p-tab-sub.open .btn:before,
  .p-tab-grand.open .btn:before {
    border-top-width: 0;
    border-bottom-width: 5px;
  }
  .p-tab-sub .dropdown-menu,
  .p-tab-grand .dropdown-menu {
    width: calc(100% - 10px);
    border-color: #bababa;
    border-top: none;
    border-radius: 0;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    left: 5px;
    margin: -5px 0 0;
  }
  .p-tab-sub .dropdown-menu > li > a,
  .p-tab-grand .dropdown-menu > li > a {
    display: block;
    position: relative;
    line-height: 30px;
    font-size: 0.875rem;
    color: #777;
    background-color: transparent;
    padding: 0 15px;
    transition: color 0.25s, background 0.25s;
    -moz-transition: color 0.25s, background 0.25s;
    -webkit-transition: color 0.25s, background 0.25s;
  }
  .p-tab-sub .dropdown-menu {
    background: #f0f8ff;
  }
  .p-tab-grand .dropdown-menu {
    background: #fbf3ea;
  }
  .p-tab-sub .dropdown-menu > li.current > a,
  .p-tab-sub .dropdown-menu > li > a:hover {
    color: #fff;
    background: #4c9ed6;
  }
  .p-tab-grand .dropdown-menu > li.current > a,
  .p-tab-grand .dropdown-menu > li > a:hover {
    color: #fff;
    background: #fb9a46;
  }
  .p-tab .dropdown-menu > li > a span.icon-mark {
    display: inline-block;
    font-size: 13px;
    height: 20px;
    text-align: center;
    line-height: 15px;
    color: #fff;
    padding: 3px;
    border-radius: 3px;
    background: #d83d71;
    vertical-align: middle;
    margin-left: 5px;
    letter-spacing: 1px;
  }
}
@media (max-width: 1199px) {
  .p-tab-sub {
    margin: 0;
  }
}
@media (max-width: 991px) {
  .p-tab,
  .p-tab-sub,
  .p-tab-grand {
    width: calc(100% - 30px);
    max-width: 430px;
    margin: 20px auto 0;
  }
  .p-tab-sub,
  .p-tab-grand {
    margin-top: 10px;
  }
  .p-tab .btn,
  .p-tab-sub .btn,
  .p-tab-grand .btn {
    display: block;
    position: relative;
    width: 100%;
    line-height: 38px;
    font-size: 0.9375rem;
    border-radius: 0;
    background: #fff;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    padding: 0 30px 0 10px;
    text-align: left;
  }
  .p-tab .btn {
    color: #d83d71;
    background: #fdf1f4;
    border: 1px solid #f7b5cc;
  }
  .p-tab-sub .btn {
    color: #4c9ed6;
    background: #e5f0f9;
    border: 1px solid #7fc5f5;
  }
  .p-tab-grand .btn {
    color: #F17C1C;
    background: #fbf3ea;
    border: 1px solid #f3be8c;
  }
  .p-tab .btn:active,
  .p-tab .btn:focus,
  .p-tab .btn:hover {
    color: #d83d71;
    border-color: #f7b5cc;
    background: #fdf1f4;
  }
  .p-tab-sub .btn:active,
  .p-tab-sub .btn:focus,
  .p-tab-sub .btn:hover {
    color: #4c9ed6;
    border-color: #7fc5f5;
    background: #ddefff;
  }
  .p-tab-grand .btn:active,
  .p-tab-grand .btn:focus,
  .p-tab-grand .btn:hover {
    color: #F17C1C;
    border-color: #f3be8c;
    background: #fbefe3;
  }
  .p-tab.open .btn {
    color: #fff !important;
    border-color: #d83d71 !important;
    background: #d83d71 !important;
  }
  .p-tab-sub.open .btn {
    color: #fff !important;
    border-color: #4c9ed6 !important;
    background: #4c9ed6 !important;
  }
  .p-tab-grand.open .btn {
    color: #fff !important;
    border-color: #fb9a46 !important;
    background: #fb9a46 !important;
  }
  .p-tab .btn:before,
  .p-tab-sub .btn:before,
  .p-tab-grand .btn:before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    top: 16px;
    right: 10px;
  }
  .p-tab .btn:before {
    border-color: #ef739c transparent transparent transparent;
  }
  .p-tab-sub .btn:before {
    border-color: #4c9ed6 transparent transparent transparent;
  }
  .p-tab-grand .btn:before {
    border-color: #fb9a46 transparent transparent transparent;
  }
  .p-tab .btn:active:before,
  .p-tab .btn:focus:before,
  .p-tab .btn:hover:before {
    border-top-color: #ef739c;
  }
  .p-tab-sub .btn:active:before,
  .p-tab-sub .btn:focus:before,
  .p-tab-sub .btn:hover:before {
    border-top-color: #4c9ed6;
  }
  .p-tab-grand .btn:active:before,
  .p-tab-grand .btn:focus:before,
  .p-tab-grand .btn:hover:before {
    border-top-color: #fb9a46;
  }
  .p-tab.open .btn:before,
  .p-tab-sub.open .btn:before,
  .p-tab-grand.open .btn:before {
    border-top-color: #fff;
  }
  .p-tab .dropdown-menu,
  .p-tab-sub .dropdown-menu,
  .p-tab-grand .dropdown-menu {
    width: 100%;
    min-width: initial;
    border-top: none;
    border-radius: 0;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    margin: 0;
  }
  .p-tab .dropdown-menu {
    border: 1px solid #d83d71;
  }
  .p-tab-sub .dropdown-menu {
    border: 1px solid #4c9ed6;
  }
  .p-tab-grand .dropdown-menu {
    border: 1px solid #fb9a46;
  }
  .p-tab .dropdown-menu > li > a,
  .p-tab-sub .dropdown-menu > li > a,
  .p-tab-grand .dropdown-menu > li > a {
    line-height: 26px;
    font-size: 0.9375rem;
    padding: 4px 10px;
  }
  .p-tab .dropdown-menu > li.current > a,
  .p-tab-sub .dropdown-menu > li.current > a,
  .p-tab-grand .dropdown-menu > li.current > a {
    background: #eee;
  }
  .p-tab .dropdown-menu > li.current > a {
    color: #d83d71;
  }
  .p-tab-sub .dropdown-menu > li.current > a {
    color: #4c9ed6;
  }
  .p-tab-grand .dropdown-menu > li.current > a {
    color: #fb9a46;
  }
}
/* Page Pagination */
.p-pager {
  margin-top: 30px;
  margin-bottom: 60px;
}

.p-pager ul {
  font-size: 0;
  text-align: center;
}

.p-pager ul li {
  display: inline-block;
  vertical-align: top;
}

.p-pager ul li.num {
  margin: 0 3px;
}

.p-pager ul li.prev {
  margin-right: 13px;
}

.p-pager ul li.next {
  margin-left: 13px;
}

.p-pager ul li a {
  display: block;
  position: relative;
  line-height: 2.286;
  font-size: 0.875rem;
  border: 1px solid transparent;
  text-align: center;
}

.p-pager ul li.num a {
  color: #999;
  width: 24px;
}

.p-pager ul li.num a:hover {
  color: #5e95cf;
}

.p-pager ul li.num a:hover:after {
  content: "";
  display: block;
  position: absolute;
  width: 6px;
  height: 6px;
  background: #5e95cf;
  border-radius: 100%;
  left: 50%;
  bottom: -3px;
  margin-left: -3px;
}

.p-pager ul li.num.current a {
  font-weight: bold;
  color: #d83d71;
  border-bottom-color: #d83d71;
}

.p-pager ul li.num.current a:hover:after {
  display: none;
}

.p-pager ul li.prev a {
  width: 42px;
  height: 34px;
  border-top-color: #eee;
  border-left-color: #eee;
  border-right-color: #ccc;
  border-bottom-color: #ccc;
  border-radius: 17px 0 0 17px;
}

.p-pager ul li.prev a:before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 8px 5px 0;
  border-color: transparent #999 transparent transparent;
  top: 11px;
  left: 18px;
}

.p-pager ul li.next a {
  width: 42px;
  height: 34px;
  border-top-color: #eee;
  border-left-color: #ccc;
  border-right-color: #eee;
  border-bottom-color: #ccc;
  border-radius: 0 17px 17px 0;
}

.p-pager ul li.next a:before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #999;
  top: 11px;
  right: 18px;
}

.p-pager ul li.prev:not(.disabled) a:hover {
  border-top-color: rgba(94, 149, 207, 0.5);
  border-left-color: rgba(94, 149, 207, 0.5);
  border-right-color: rgb(94, 149, 207);
  border-bottom-color: rgb(94, 149, 207);
}

.p-pager ul li.next:not(.disabled) a:hover {
  border-top-color: rgba(94, 149, 207, 0.5);
  border-left-color: rgb(94, 149, 207);
  border-right-color: rgba(94, 149, 207, 0.5);
  border-bottom-color: rgb(94, 149, 207);
}

.p-pager ul li.prev:not(.disabled) a:hover:before,
.p-pager ul li.next:not(.disabled) a:hover:before {
  border-left-color: #5e95cf;
  border-right-color: #5e95cf;
}

.p-pager ul li.prev.disabled a {
  border-top-color: #f5f5f5;
  border-left-color: #f5f5f5;
  border-right-color: #eee;
  border-bottom-color: #eee;
  cursor: not-allowed;
}

.p-pager ul li.prev.disabled a:before {
  border-right-color: #e5e5e5;
}

.p-pager ul li.next.disabled a {
  border-top-color: #f5f5f5;
  border-left-color: #eee;
  border-right-color: #f5f5f5;
  border-bottom-color: #eee;
  cursor: not-allowed;
}

.p-pager ul li.next.disabled a:before {
  border-left-color: #e5e5e5;
}

@media (max-width: 419px) {
  .p-pager ul li.num:not(.current) {
    display: none;
  }
}
/* Page Step */
.p-step {
  border-top: 1px solid #eee;
  margin-top: 20px;
}

.p-step-prev,
.p-step-next {
  border-bottom: 1px solid #eee;
}

.p-step-prev a,
.p-step-next a {
  display: block;
  position: relative;
  line-height: 25px;
  font-size: 0.875rem;
  color: #222;
  padding: 12px 0 12px 100px;
  transition: color 0.3s;
  -moz-transition: color 0.3s;
  -webkit-transition: color 0.3s;
}

.p-step-next a {
  text-align: right;
  padding: 12px 100px 12px 0;
}

.p-step-prev a:hover,
.p-step-next a:hover {
  color: #d83d71;
}

.p-step-prev a:before {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 1px;
  background: #5e95cf;
  top: 24px;
  left: 20px;
  transition: width 0.3s, left 0.3s;
  -moz-transition: width 0.3s, left 0.3s;
  -webkit-transition: width 0.3s, left 0.3s;
}

.p-step-prev a:hover:before {
  width: 20px;
  left: 10px;
}

.p-step-prev a:after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3.5px 5px 3.5px 0;
  border-color: transparent #5e95ce transparent transparent;
  top: 21px;
  left: 15px;
  transition: left 0.3s;
  -moz-transition: left 0.3s;
  -webkit-transition: left 0.3s;
}

.p-step-prev a:hover:after {
  left: 5px;
}

.p-step-next a:before {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 1px;
  background: #5e95cf;
  top: 24px;
  right: 20px;
  transition: width 0.3s, right 0.3s;
  -moz-transition: width 0.3s, right 0.3s;
  -webkit-transition: width 0.3s, right 0.3s;
}

.p-step-next a:hover:before {
  width: 20px;
  right: 10px;
}

.p-step-next a:after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3.5px 0 3.5px 5px;
  border-color: transparent transparent transparent #5e95ce;
  top: 21px;
  right: 15px;
  transition: right 0.3s;
  -moz-transition: right 0.3s;
  -webkit-transition: right 0.3s;
}

.p-step-next a:hover:after {
  right: 5px;
}

.p-step-prev a span,
.p-step-next a span {
  display: block;
  position: absolute;
  color: #5e95cf;
  top: 12px;
  left: 40px;
}

.p-step-next a span {
  left: auto;
  right: 40px;
}

/* Page Back */
.p-back {
  text-align: center;
  margin: 30px 0;
}

.p-back .back {
  display: inline-block;
  height: 36px;
  line-height: 34px;
  font-size: 0.9375rem;
  color: #d83d71;
  border: 1px solid #d83d71;
  border-radius: 18px;
  vertical-align: top;
  padding: 0 45px;
  transition: color 0.3s, background 0.3s;
  -moz-transition: color 0.3s, background 0.3s;
  -webkit-transition: color 0.3s, background 0.3s;
}

.p-back .back:hover {
  color: #fff;
  background: #d83d71;
}

@media (max-width: 767px) {
  #news .view-inner .p-back {
    margin-top: 15px;
  }
}
/* Header */
.header {
  position: absolute;
  z-index: 1000;
  width: 100%;
  height: 130px;
  background: #fff;
  top: 0;
  left: 0;
  padding: 0 30px;
}

@keyframes headerScroll {
  from {
    opacity: 0;
    margin-top: -95px;
  }
  to {
    opacity: 1;
    margin-top: 0;
  }
}
@-webkit-keyframes headerScroll {
  from {
    opacity: 0;
    margin-top: -95px;
  }
  to {
    opacity: 1;
    margin-top: 0;
  }
}
.header .container-fluid {
  position: relative;
}

.header .logo {
  float: left;
  width: 250px;
  height: 90px;
  margin: 18px 0 0;
}

.header .logo a {
  display: block;
  position: relative;
  height: 90px;
  overflow: hidden;
  /*background: url('../images/logo_full.jpg') no-repeat;
  background-size: cover;*/
}

.header .logo a img {
  display: block;
  position: absolute;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  top: 50%;
  left: 0;
  -ms-transform: translateY(-50%);
      transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

.header .opts {
  float: right;
  font-size: 0;
  margin: 20px 5px 0 0;
}

.header .opts .lang {
  display: inline-block;
  vertical-align: top;
}

.header .opts .lang .btn {
  display: block;
  position: relative;
  line-height: 22px;
  font-size: 0.9375rem;
  border: none;
  background: #fff !important;
  border-radius: 0;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  padding: 6px 10px 6px 30px;
}

.header .opts .lang .btn:focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.header .opts .lang .btn:before {
  content: "";
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  background: url("../images/header_lang.png") no-repeat;
  background-size: cover;
  top: 8px;
  left: 8px;
}

.header .opts .lang .btn:after {
  content: "";
  display: block;
  position: absolute;
  width: calc(100% - 40px);
  height: 1px;
  background: #222;
  right: 10px;
  bottom: 7px;
}

.header .opts .lang .dropdown-menu {
  min-width: 100%;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 0;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  margin: 0;
  left: 50%;
  -ms-transform: translateX(-50%);
      transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

.header .opts .lang .dropdown-menu:before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 4px 6px 4px;
  border-color: transparent transparent rgba(0, 0, 0, 0.65) transparent;
  top: -6px;
  left: 50%;
  margin-left: -4px;
}

.header .opts .lang .dropdown-menu > li > a {
  line-height: 20px;
  font-size: 0.875rem;
  color: #fff;
  text-align: center;
  padding: 5px 15px;
}

.header .opts .lang .dropdown-menu > li > a:hover,
.header .opts .lang .dropdown-menu > li.current > a {
  background: rgba(0, 0, 0, 0.5);
}

.header .opts .sitemap {
  display: inline-block;
  vertical-align: top;
  line-height: 34px;
  font-size: 0.9375rem;
  color: #222;
  padding: 0 10px;
}

.header .opts .sitemap:hover {
  color: #4193d6;
}

.header .opts .font {
  display: inline-block;
  vertical-align: top;
  padding: 0 0 0 10px;
}

.header .opts .font > span {
  display: inline-block;
  line-height: 34px;
  font-size: 0.9375rem;
  margin-right: 10px;
  vertical-align: middle;
}

.header .opts .font .dropdown {
  display: inline-block;
  vertical-align: middle;
}

.header .opts .search {
  text-align: right;
  margin-top: 15px;
}

.header .opts .search .search-switch {
  display: none;
}

.header .opts .search form {
  display: inline-block;
  position: relative;
  font-size: 0;
  text-align: left;
  vertical-align: top;
}

.header .opts .search input {
  display: inline-block;
  width: 160px;
  height: 34px;
  font-size: 0.8125rem;
  border: 1px solid #e5e5e5;
  border-right: 0;
  vertical-align: top;
  padding: 0 10px;
}

.header .opts .search .submit {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 34px;
  vertical-align: top;
  border: none;
  background: rgb(65, 147, 214);
  background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(65, 147, 214)), color-stop(100%, rgb(115, 194, 214)));
  background: linear-gradient(45deg, rgb(65, 147, 214) 0%, rgb(115, 194, 214) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#4193d6", endColorstr="#73c2d6", GradientType=1 );
}

.header .opts .search .submit:hover {
  background: rgb(115, 194, 214);
  background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(115, 194, 214)), color-stop(100%, rgb(65, 147, 214)));
  background: linear-gradient(45deg, rgb(115, 194, 214) 0%, rgb(65, 147, 214) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#73c2d6", endColorstr="#4193d6", GradientType=1 );
}

.header .opts .search .submit:before {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  background: url("../images/header_search.png") no-repeat;
  background-size: cover;
  top: 7px;
  left: 10px;
}

.header .nav-menu {
  position: absolute;
  top: 69px;
  left: 290px;
}

.header .nav-menu .menu-main {
  font-size: 0;
}

.header .nav-menu .menu-main > li {
  display: inline-block;
  position: relative;
  vertical-align: top;
}

.header .nav-menu .menu-main > li.show-xxs {
  display: none;
}

.header .nav-menu .menu-main > li + li {
  margin-left: 1px;
}

.header .nav-menu .menu-main > li + li:before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 14px;
  background: #c5d9e3;
  top: 18px;
  left: -1px;
}

.header .nav-menu .menu-main > li > h3 {
  margin: 0;
}

.header .nav-menu .menu-main > li > h3 > a {
  display: block;
  position: relative;
  line-height: 30px;
  font-size: 1rem;
  color: #222;
  padding: 10px 18px;
  transition: color 0.3s;
  -moz-transition: color 0.3s;
  -webkit-transition: color 0.3s;
}

.header .nav-menu .menu-main > li > h3 > a:hover,
.header .nav-menu .menu-main > li.current > h3 > a {
  color: #4193d6;
}

.header .nav-menu .menu-main > li > h3 > a:after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 2px;
  background: rgba(65, 147, 214, 0.75);
  left: 50%;
  bottom: 10px;
  opacity: 0;
  -ms-transform: translateX(-50%);
      transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transition: opacity 0.3s, width 0.3s;
  -moz-transition: opacity 0.3s, width 0.3s;
  -webkit-transition: opacity 0.3s, width 0.3s;
}

.header .nav-menu .menu-main > li > h3 > a:hover:after,
.header .nav-menu .menu-main > li.current > h3 > a:after {
  width: calc(100% - 36px);
  opacity: 1;
}

@media (min-width: 1480px) {
  .header.scroll {
    position: fixed;
    height: 95px;
    border-bottom: 1px solid #e5e5e5;
    opacity: 0;
    margin-top: -95px;
    padding: 0;
    animation: headerScroll 0.5s forwards;
    -moz-animation: headerScroll 0.5s forwards;
    -webkit-animation: headerScroll 0.5s forwards;
  }
  .header.scroll .logo {
    width: 215px;
    height: 78px;
    margin-top: 8px;
  }
  .header.scroll .logo a {
    height: 78px;
  }
  .header.scroll .opts {
    margin-top: 30px;
    margin-right: 0;
  }
  .header.scroll .opts .opts-up {
    display: inline-block;
    vertical-align: middle;
  }
  .header.scroll .opts .lang .btn {
    padding: 6px 6px 6px 26px;
  }
  .header.scroll .opts .lang .btn:before {
    left: 4px;
  }
  .header.scroll .opts .lang .btn:after {
    width: calc(100% - 32px);
    right: 6px;
  }
  .header.scroll .opts .sitemap {
    padding: 0 6px;
  }
  .header.scroll .opts .font {
    padding-left: 6px;
  }
  .header.scroll .opts .font > span {
    margin-right: 6px;
  }
  .header:not(.scroll) .opts .font .btn {
    display: none;
  }
  .header:not(.scroll) .opts .font .dropdown-menu {
    display: block !important;
    position: relative;
    float: none;
    min-width: initial;
    font-size: 0;
    border: none;
    background: none;
    border-radius: 0;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    top: auto;
    left: auto;
    margin: 0;
    padding: 0;
  }
  .header:not(.scroll) .opts .font .dropdown-menu > li {
    display: inline-block;
    vertical-align: top;
  }
  .header:not(.scroll) .opts .font .dropdown-menu > li + li {
    margin-left: 8px;
  }
  .header:not(.scroll) .opts .font .dropdown-menu > li > a {
    display: block;
    position: relative;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 0.8125rem;
    color: #222;
    border-radius: 100%;
    text-align: center;
    padding: 0;
  }
  .header:not(.scroll) .opts .font .dropdown-menu > li > a:hover {
    background: #e8e8e8;
  }
  .header:not(.scroll) .opts .font .dropdown-menu > li.current > a {
    color: #fff;
    background: rgb(65, 147, 214);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(65, 147, 214)), color-stop(100%, rgb(115, 194, 214)));
    background: linear-gradient(45deg, rgb(65, 147, 214) 0%, rgb(115, 194, 214) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#4193d6", endColorstr="#73c2d6", GradientType=1 );
  }
  .header:not(.scroll) .opts .font .dropdown-menu > li > a:before {
    content: "";
    display: block;
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px solid #e8e8e8;
    border-radius: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
  }
  .header:not(.scroll) .opts .font .dropdown-menu > li > a:hover:before,
  .header:not(.scroll) .opts .font .dropdown-menu > li.current > a:before {
    display: none;
  }
  .header.scroll .opts .font .btn {
    display: block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 0.875rem;
    color: #fff;
    border: none;
    border-radius: 100%;
    padding: 0;
    background: rgb(65, 147, 214);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(65, 147, 214)), color-stop(100%, rgb(115, 194, 214)));
    background: linear-gradient(45deg, rgb(65, 147, 214) 0%, rgb(115, 194, 214) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#4193d6", endColorstr="#73c2d6", GradientType=1 );
  }
  .header.scroll .opts .font .btn:hover,
  .header.scroll .opts .font .open .btn {
    background: rgb(115, 194, 214);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(115, 194, 214)), color-stop(100%, rgb(65, 147, 214)));
    background: linear-gradient(45deg, rgb(115, 194, 214) 0%, rgb(65, 147, 214) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#73c2d6", endColorstr="#4193d6", GradientType=1 );
  }
  .header.scroll .opts .font .dropdown-menu {
    min-width: 100%;
    border: none;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 0;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    margin: 6px 0 0;
    left: 50%;
    -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }
  .header.scroll .opts .font .dropdown-menu:before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 4px 6px 4px;
    border-color: transparent transparent rgba(0, 0, 0, 0.65) transparent;
    top: -6px;
    left: 50%;
    margin-left: -4px;
  }
  .header.scroll .opts .font .dropdown-menu > li > a {
    line-height: 20px;
    font-size: 0.875rem;
    color: #fff;
    text-align: center;
    padding: 5px 15px;
  }
  .header.scroll .opts .font .dropdown-menu > li > a:hover,
  .header.scroll .opts .font .dropdown-menu > li.current > a {
    background: rgba(0, 0, 0, 0.5);
  }
  .header.scroll .opts .search {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    text-align: left;
    margin: 0 0 0 12px;
  }
  .header.scroll .opts .search .search-switch {
    display: block;
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    background: rgb(65, 147, 214);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(65, 147, 214)), color-stop(100%, rgb(115, 194, 214)));
    background: linear-gradient(45deg, rgb(65, 147, 214) 0%, rgb(115, 194, 214) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#4193d6", endColorstr="#73c2d6", GradientType=1 );
  }
  .header.scroll .opts .search .search-switch:hover,
  .header.scroll .opts .search.open .search-switch {
    background: rgb(115, 194, 214);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(115, 194, 214)), color-stop(100%, rgb(65, 147, 214)));
    background: linear-gradient(45deg, rgb(115, 194, 214) 0%, rgb(65, 147, 214) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#73c2d6", endColorstr="#4193d6", GradientType=1 );
  }
  .header.scroll .opts .search .search-switch:before {
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    background: url("../images/header_search.png") no-repeat;
    background-size: cover;
    top: 4px;
    left: 4px;
  }
  .header.scroll .opts .search form {
    display: none;
    position: absolute;
    width: 210px;
    background: rgba(167, 212, 238, 0.5);
    margin-top: 6px;
    padding: 5px;
    top: 100%;
    right: 0;
  }
  .header.scroll .opts .search.open form {
    display: block;
  }
  .header.scroll .opts .search form:before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 4px 6px 4px;
    border-color: transparent transparent rgba(167, 212, 238, 0.5) transparent;
    top: -6px;
    right: 8px;
  }
  .header .nav-menu {
    display: block !important;
  }
  .header.scroll .nav-menu {
    top: 22px;
    left: 225px;
  }
  .header .nav-switch {
    display: none;
  }
}
@media (max-width: 1799px) {
  .header {
    padding: 0;
  }
  .header .opts {
    margin-right: 0;
  }
  .header .nav-menu {
    top: 69px;
    left: 280px;
  }
  .header.scroll .nav-menu {
    top: 30px;
    left: 240px;
  }
  .header .nav-menu .menu-main > li + li:before {
    top: 10px;
  }
  .header .nav-menu .menu-main > li > h3 > a {
    padding: 2px 10px;
  }
  .header .nav-menu .menu-main > li > h3 > a:after {
    bottom: 2px;
  }
  .header .nav-menu .menu-main > li > h3 > a:hover:after,
  .header .nav-menu .menu-main > li.current > h3 > a:after {
    width: calc(100% - 30px);
  }
}
@media (max-width: 1479px) {
  .header {
    position: fixed;
    height: 90px;
    border-bottom: 1px solid #e5e5e5;
  }
  .header .logo {
    width: 200px;
    height: 72px;
    margin-top: 9px;
  }
  .header .logo a {
    height: 72px;
  }
  .header .opts {
    margin-top: 28px;
  }
  .header .opts .opts-up {
    display: inline-block;
    vertical-align: middle;
  }
  .header .opts .lang .btn {
    padding: 6px 6px 6px 26px;
  }
  .header .opts .lang .btn:before {
    left: 4px;
  }
  .header .opts .lang .btn:after {
    width: calc(100% - 32px);
    right: 6px;
  }
  .header .opts .sitemap {
    padding: 0 6px;
  }
  .header .opts .font {
    padding-left: 6px;
  }
  .header .opts .font > span {
    margin-right: 6px;
  }
  .header .opts .font .btn {
    display: block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 0.875rem;
    color: #fff;
    border: none;
    border-radius: 100%;
    padding: 0;
    background: rgb(65, 147, 214);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(65, 147, 214)), color-stop(100%, rgb(115, 194, 214)));
    background: linear-gradient(45deg, rgb(65, 147, 214) 0%, rgb(115, 194, 214) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#4193d6", endColorstr="#73c2d6", GradientType=1 );
  }
  .header .opts .font .btn:focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
  }
  .header .opts .font .btn:hover,
  .header .opts .font .open .btn {
    background: rgb(115, 194, 214);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(115, 194, 214)), color-stop(100%, rgb(65, 147, 214)));
    background: linear-gradient(45deg, rgb(115, 194, 214) 0%, rgb(65, 147, 214) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#73c2d6", endColorstr="#4193d6", GradientType=1 );
  }
  .header .opts .font .dropdown-menu {
    min-width: 100%;
    border: none;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 0;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    margin: 6px 0 0;
    left: 50%;
    -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }
  .header .opts .font .dropdown-menu:before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 4px 6px 4px;
    border-color: transparent transparent rgba(0, 0, 0, 0.65) transparent;
    top: -6px;
    left: 50%;
    margin-left: -4px;
  }
  .header .opts .font .dropdown-menu > li > a {
    line-height: 20px;
    font-size: 0.875rem;
    color: #fff;
    text-align: center;
    padding: 5px 15px;
  }
  .header .opts .font .dropdown-menu > li > a:hover,
  .header .opts .font .dropdown-menu > li > a:focus,
  .header .opts .font .dropdown-menu > li.current > a {
    background: rgba(0, 0, 0, 0.5);
  }
  .header .opts .search {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    text-align: left;
    margin: 0 0 0 12px;
  }
  .header .opts .search .search-switch {
    display: block;
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    background: rgb(65, 147, 214);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(65, 147, 214)), color-stop(100%, rgb(115, 194, 214)));
    background: linear-gradient(45deg, rgb(65, 147, 214) 0%, rgb(115, 194, 214) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#4193d6", endColorstr="#73c2d6", GradientType=1 );
  }
  .header .opts .search .search-switch:hover,
  .header .opts .search.open .search-switch {
    background: rgb(115, 194, 214);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(115, 194, 214)), color-stop(100%, rgb(65, 147, 214)));
    background: linear-gradient(45deg, rgb(115, 194, 214) 0%, rgb(65, 147, 214) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#73c2d6", endColorstr="#4193d6", GradientType=1 );
  }
  .header .opts .search .search-switch:before {
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    background: url("../images/header_search.png") no-repeat;
    background-size: cover;
    top: 4px;
    left: 4px;
  }
  .header .opts .search form {
    display: none;
    position: absolute;
    width: 210px;
    background: rgba(167, 212, 238, 0.5);
    margin-top: 6px;
    padding: 5px;
    top: 100%;
    right: 0;
  }
  .header .opts .search.open form {
    display: block;
  }
  .header .opts .search form:before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 4px 6px 4px;
    border-color: transparent transparent rgba(167, 212, 238, 0.5) transparent;
    top: -6px;
    right: 8px;
  }
  .header .nav-switch {
    display: block;
    float: right;
    width: 40px;
    height: 40px;
    color: #aaa;
    border: 1px solid #e5e5e5;
    background: #fff;
    border-radius: 4px;
    text-align: center;
    margin: 25px 0 0 12px;
  }
  .header .nav-switch:hover {
    color: #666;
    border-color: #bbb;
  }
  .header .nav-switch i.fa {
    line-height: 38px;
    font-size: 1.25rem;
  }
  .header .nav-switch i.fa[data-nav-open] {
    display: none;
  }
  .header.nav-open .nav-switch {
    color: #fff;
    border-color: #5e95ce;
    background: #5e95ce;
  }
  .header.nav-open .nav-switch i.fa[data-nav-open] {
    display: inline-block;
  }
  .header.nav-open .nav-switch i.fa[data-nav-close] {
    display: none;
  }
  .header .nav-menu {
    display: none;
    position: fixed;
    width: 100%;
    height: calc(100% - 90px);
    background: #fff;
    top: 90px !important;
    left: 0 !important;
    padding: 15px 15px 60px;
    overflow-y: auto;
  }
  .header .nav-menu .menu-main > li {
    display: block;
  }
  .header .nav-menu .menu-main > li + li {
    border-top: 1px solid #f0f0f0;
    margin-left: 0;
  }
  .header .nav-menu .menu-main > li + li:before {
    display: none;
  }
  .header .nav-menu .menu-main > li > h3 > a {
    text-align: center;
    padding: 10px 10px;
  }
  .header .nav-menu .menu-main > li > h3 > a:after {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 849px) {
  .header .logo {
    max-width: 158px;
    height: 57px;
    margin-top: 7px;
  }
  .header .opts .sitemap {
    font-size: 0.875rem;
  }
}
@media (max-width: 767px) {
  .header {
    height: 70px;
  }
  .header .logo {
    max-width: 166px;
    height: 60px;
    margin-top: 5px;
  }
  .header .logo a {
    height: 60px;
    /*background-image: url('../images/logo_short.jpg');*/
  }
  .header .opts {
    margin-top: 18px;
  }
  .header .nav-switch {
    margin-top: 15px;
  }
  .header .nav-menu {
    height: calc(100% - 70px);
    top: 70px !important;
  }
  .header .opts .sitemap,
  .header .opts .font {
    display: none;
  }
  .header .nav-menu .menu-main > li.show-xxs {
    display: block;
  }
  .header .nav-menu .menu-main > li.font {
    text-align: center;
    padding: 8px 10px;
  }
  .header .nav-menu .menu-main > li.font span {
    display: inline-block;
    line-height: 34px;
    font-size: 0.875rem;
    vertical-align: middle;
  }
  .header .nav-menu .menu-main > li.font > ul {
    display: inline-block;
    vertical-align: middle;
  }
  .header .nav-menu .menu-main > li.font > ul > li {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
  }
  .header .nav-menu .menu-main > li.font > ul > li > a {
    display: block;
    position: relative;
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 0.875rem;
    color: #222;
    border-radius: 100%;
  }
  .header .nav-menu .menu-main > li.font > ul > li > a:hover {
    background: #e8e8e8;
  }
  .header .nav-menu .menu-main > li.font > ul > li.current > a {
    color: #fff;
    background: rgb(65, 147, 214);
    background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(65, 147, 214)), color-stop(100%, rgb(115, 194, 214)));
    background: linear-gradient(45deg, rgb(65, 147, 214) 0%, rgb(115, 194, 214) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#4193d6", endColorstr="#73c2d6", GradientType=1 );
  }
  .header .nav-menu .menu-main > li.font > ul > li:not(.current) > a:before {
    content: "";
    display: block;
    position: absolute;
    width: 34px;
    height: 34px;
    border: 1px solid #e8e8e8;
    border-radius: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
  }
}
@media (max-width: 419px) {
  .header .container-fluid {
    padding: 0;
  }
  .header .nav-switch {
    margin-left: 5px;
    margin-right: 5px;
  }
  .header .opts .search {
    margin-left: 5px;
  }
}
/* Footer */
.footer {
  position: relative;
  font-size: 0;
  border-top: 2px solid #535353;
  background: #313131;
  text-align: center;
  padding: 25px 0;
}

.footer .container > div {
  display: inline-block;
  line-height: 31px;
  font-size: 0.875rem;
  color: #fff;
  vertical-align: middle;
  margin: 0 5px;
}

.footer .container a {
  color: #c0bfbf;
}

.footer .container a:hover {
  color: #ddd;
}

@media (max-width: 767px) {
  .footer {
    padding: 15px 0;
  }
  .footer .container > .stamp {
    display: block;
    margin: 5px 0 0;
  }
}
@media (max-width: 543px) {
  .footer .container > .view {
    display: block;
    margin: 0;
  }
}
@media (max-width: 479px) {
  .footer .container > div {
    display: block;
    margin: 0;
  }
}
/* Go Top */
.go-top, .go-map {
  display: block;
  position: fixed;
  width: 41px;
  height: 41px;
  background: #d83d71;
  border-radius: 100%;
  right: 60px;
  bottom: 20px;
  opacity: 0;
  -ms-transform: scale(0);
      transform: scale(0);
  -moz-transform: scale(0);
  -webkit-transform: scale(0);
  -webkit-transition: opacity 0.3s, -webkit-transform 0s 0.3s;
  transition: opacity 0.3s, -webkit-transform 0s 0.3s;
  transition: opacity 0.3s, transform 0s 0.3s;
  transition: opacity 0.3s, transform 0s 0.3s, -webkit-transform 0s 0.3s;
  -moz-transition: opacity 0.3s, transform 0s 0.3s;
  -webkit-transition: opacity 0.3s, transform 0s 0.3s;
}

.go-map {
  opacity: 1;
  color: #fff;
  font-size: 0.875rem;
  padding-top: 8px;
  width: 56px;
  height: 56px;
  border: 3px solid rgb(115, 194, 214);
  border-radius: 100%;
  bottom: 73px;
  right: 51px;
  background: #5e95cf;
  line-height: 1.3;
  text-align: center;
  -ms-transform: scale(1);
      transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
}

.go-top.scroll-view {
  opacity: 0.75;
  -ms-transform: scale(1);
      transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  -webkit-transition: opacity 0.3s, -webkit-transform 0s;
  transition: opacity 0.3s, -webkit-transform 0s;
  transition: opacity 0.3s, transform 0s;
  transition: opacity 0.3s, transform 0s, -webkit-transform 0s;
  -moz-transition: opacity 0.3s, transform 0s;
  -webkit-transition: opacity 0.3s, transform 0s;
}

.go-top:hover,
.go-map:hover {
  opacity: 1;
}

.go-map:hover {
  color: #fff;
  opacity: 0.9;
}

.go-top:before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 12px;
  background: #fff;
  top: 5px;
  left: 20px;
  transition: height 0.3s;
  -moz-transition: height 0.3s;
  -webkit-transition: height 0.3s;
}

.go-top:hover:before {
  height: 0;
}

.go-top:after {
  content: "TOP";
  display: block;
  position: absolute;
  width: 100%;
  line-height: 19px;
  font-size: 0.8125rem;
  color: #fff;
  text-align: center;
  top: 17px;
  left: 0;
  transition: top 0.3s;
  -moz-transition: top 0.3s;
  -webkit-transition: top 0.3s;
}

.go-top:hover:after {
  top: 11px;
}

@media (max-width: 1199px) {
  .go-map {
    right: 18px;
  }
  .go-top {
    right: 25px;
  }
}
/* 文字編輯器 */
.text-edit * {
  max-width: 100%;
}

.text-edit img {
  height: auto !important;
}

/* Index */
#index .quick {
  margin-top: 30px;
  overflow: hidden;
}

#index .quick .quick-list {
  font-size: 0;
  margin: 0 -14px;
}

#index .quick .quick-list li {
  display: inline-block;
  width: 33.333%;
  vertical-align: top;
  padding: 0 14px;
  margin-bottom: 20px;
}

#index .quick .quick-box {
  display: block;
  position: relative;
  height: 260px;
  background: #eee;
  overflow: hidden;
}

#index .quick .quick-box.main-box {
  height: 180px;
}

#index .quick .quick-box:before {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  width: 300px;
  height: 200%;
  background-color: #ddd;
  background-image: url("../images/index_quick_bg.png");
  background-repeat: no-repeat;
  background-position: -130px 35%;
  top: -50%;
  left: -60px;
  -ms-transform: rotate(20deg);
      transform: rotate(20deg);
  -moz-transform: rotate(20deg);
  -webkit-transform: rotate(20deg);
}

#index .quick .quick-list li:nth-child(1) .quick-box:before {
  background-color: #5e95ce;
}

#index .quick .quick-list li:nth-child(2) .quick-box:before {
  background-color: #44981f;
}

#index .quick .quick-list li:nth-child(3) .quick-box:before {
  background-color: #d83d71;
}

#index .quick .quick-list li:nth-child(4) .quick-box:before {
  background-color: #adbf40;
}

#index .quick .quick-list li:nth-child(5) .quick-box:before {
  background-color: #f39800;
}

#index .quick .quick-list li:nth-child(6) .quick-box:before {
  background-color: #908eb6;
}

#index .quick .quick-box > img {
  display: block;
  position: relative;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

#index .quick .quick-box .txt {
  position: absolute;
  z-index: 2;
  width: 220px;
  /*height: 120px;*/
  top: 50%;
  left: 10px;
  text-align: center;
  -ms-transform: translateY(-50%);
      transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

#index .quick .quick-box .txt .ico {
  display: block;
  margin: auto;
}

#index .quick .quick-box .txt .title-en {
  line-height: 1.5;
  font-size: 1rem;
  color: #fff;
  margin: 4px 0 0;
}

#index .quick .quick-box .txt .title {
  line-height: 26px;
  font-size: 1.0625rem;
  color: #fff;
  margin: 0;
}

#index .quick .more-quick-link {
  font-size: 0;
  text-align: center;
  padding: 25px 0;
}

#index .quick li:nth-child(1) .more-quick-link {
  background: rgba(94, 149, 206, 0.75);
}

#index .quick li:nth-child(2) .more-quick-link {
  background: rgba(68, 152, 31, 0.75);
}

#index .quick li:nth-child(3) .more-quick-link {
  background: rgba(216, 61, 113, 0.75);
}

#index .quick .more-quick-link span {
  display: inline-block;
  position: relative;
  line-height: 30px;
  font-size: 1rem;
  vertical-align: middle;
  padding: 0 10px;
}

#index .quick .more-quick-link span + span {
  padding-left: 11px;
}

#index .quick .more-quick-link span + span:before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.5);
  top: 50%;
  left: 0;
  margin-top: -7px;
}

#index .quick .more-quick-link span a {
  color: rgba(255, 255, 255, 0.85);
}

#index .quick .more-quick-link span a:hover {
  color: #fff;
}

#index .quick .more-quick-link > a {
  display: inline-block;
  line-height: 30px;
  font-size: 1rem;
  color: #fff;
  border-radius: 15px;
  vertical-align: middle;
  padding: 0 15px;
}

#index .quick .more-quick-link > a:hover {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset;
}

#index .quick li:nth-child(1) .more-quick-link > a {
  background: #5e95ce;
}

#index .quick li:nth-child(2) .more-quick-link > a {
  background: #44981f;
}

#index .quick li:nth-child(3) .more-quick-link > a {
  background: #d83d71;
}

#index .game {
  position: relative;
  margin-top: 50px;
  opacity: 0;
  -ms-transform: translateY(40px);
      transform: translateY(40px);
  -moz-transform: translateY(40px);
  -webkit-transform: translateY(40px);
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, transform 0.5s;
  transition: opacity 0.5s, transform 0.5s, -webkit-transform 0.5s;
  -moz-transition: opacity 0.5s, transform 0.5s;
  -webkit-transition: opacity 0.5s, transform 0.5s;
}

#index .game.scroll-view {
  opacity: 1;
  -ms-transform: translateY(0);
      transform: translateY(0);
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
}

#index .game .game-box {
  position: relative;
  font-size: 0;
  margin-top: 40px;
  overflow: hidden;
}

#index .game .game-box:before {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 180px;
  background: url("../images/igame_bg.png") center no-repeat;
  top: 50%;
  left: 0;
}

#index .game .game-box:after {
  content: "";
  display: block;
  position: absolute;
  z-index: 3;
  width: 400px;
  height: 600px;
  background: url("../images/igame_woman.png") center no-repeat;
  background-size: contain;
  left: 50%;
  bottom: 0;
  margin-left: -200px;
}

#index .game .game-box .game-left,
#index .game .game-box .game-right {
  display: inline-block;
  position: relative;
  width: 50%;
  height: 640px;
  background-color: #f5d8ec;
  background-image: url("../images/igame_left_bg.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right bottom;
  padding: 0 205px 0 70px;
  overflow: hidden;
  vertical-align: top;
}

#index .game .game-box .game-right {
  float: right;
  background-color: #a7d4ee;
  background-image: url("../images/igame_right_bg.png");
  background-position: left bottom;
  padding: 0 70px 0 205px;
}

#index .game .game-box .inner {
  position: relative;
  z-index: 4;
  top: 50%;
  -ms-transform: translateY(-50%);
      transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

#index .game .game-box .txt {
  line-height: 1.7;
  font-size: 1.25rem;
  font-weight: 500;
}

#index .game .game-box .txt .step {
  display: inline-block;
  line-height: 64px;
  font-size: 4rem;
  vertical-align: bottom;
  margin-right: 10px;
  color: #d83e72;
  background: -webkit-linear-gradient(#f38ea4, #d83e72);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#index .game .game-box .game-right .txt .step {
  background: -webkit-linear-gradient(#57c3df, #5490be);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#index .game .game-box .txt .summary {
  display: block;
  line-height: 1.889;
  font-size: 1.125rem;
  font-weight: bold;
  padding-left: 3px;
}

#index .game .game-box .list {
  font-size: 0;
}

#index .game .game-box .list li {
  display: inline-block;
  width: 115px;
  border-radius: 100%;
  overflow: hidden;
  vertical-align: top;
  margin-top: 35px;
  margin-right: 40px;
}

#index .game .game-box .list li:nth-child(3n) {
  margin-right: 0;
}

#index .game .game-box .start {
  display: block;
  position: absolute;
  z-index: 5;
  width: 220px;
  height: 220px;
  text-align: center;
  left: 50%;
  bottom: 0;
  margin-left: -110px;
  margin-bottom: -110px;
  padding: 12px;
}

#index .game .game-box .start:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(233, 89, 126, 0.5);
  border-radius: 100%;
  top: 0;
  left: 0;
  animation: gameButtonBack 1s infinite;
  -moz-animation: gameButtonBack 1s infinite;
  -webkit-animation: gameButtonBack 1s infinite;
}

@keyframes gameButtonBack {
  0% {
    opacity: 1;
    -webkit-transform: scale(0.89);
            transform: scale(0.89);
  }
  90% {
    opacity: 0;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@-webkit-keyframes gameButtonBack {
  0% {
    opacity: 1;
    -webkit-transform: scale(0.89);
  }
  90% {
    opacity: 0;
    -webkit-transform: scale(1);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(1);
  }
}
#index .game .game-box .start span {
  display: block;
  position: absolute;
  width: 196px;
  height: 196px;
  line-height: 26px;
  font-size: 1.125rem;
  color: #fff;
  background: #e9597e;
  border-radius: 100%;
  padding-top: 30px;
  top: 12px;
  left: 12px;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

#index .game .game-box .start:hover span {
  width: 220px;
  height: 220px;
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
  padding-top: 42px;
  top: 0;
  left: 0;
}

#index .manage {
  position: relative;
  font-size: 0;
  margin-top: 30px;
  opacity: 0;
  -ms-transform: translateY(40px);
      transform: translateY(40px);
  -moz-transform: translateY(40px);
  -webkit-transform: translateY(40px);
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, transform 0.5s;
  transition: opacity 0.5s, transform 0.5s, -webkit-transform 0.5s;
  -moz-transition: opacity 0.5s, transform 0.5s;
  -webkit-transition: opacity 0.5s, transform 0.5s;
}

#index .manage.scroll-view {
  opacity: 1;
  -ms-transform: translateY(0);
      transform: translateY(0);
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
}

#index .manage .bmi,
#index .manage .diary {
  display: inline-block;
  position: relative;
  width: calc(50% - 15px);
  height: 520px;
  vertical-align: top;
  overflow: hidden;
}

#index .manage .bmi {
  background: #f6f6f6;
}

#index .manage .diary {
  background: url("../images/idiary_bg.jpg") center no-repeat;
  background-size: cover;
  margin-left: 30px;
}

#index .manage .bmi .inner,
#index .manage .diary .inner {
  position: relative;
  padding: 0 140px;
  top: 50%;
  -ms-transform: translateY(-50%);
      transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

#index .manage .bmi .bmi-data {
  position: relative;
  margin-top: 30px;
}

#index .manage .bmi [data-bmi-result] {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #f6f6f6;
  top: 0;
  left: 40px;
  opacity: 0;
  -ms-transform: scale(0);
      transform: scale(0);
  -moz-transform: scale(0);
  -webkit-transform: scale(0);
  transition: left 0.3s, opacity 0.3s, -webkit-transform 0s 0.3s;
  transition: left 0.3s, opacity 0.3s, transform 0s 0.3s;
  transition: left 0.3s, opacity 0.3s, transform 0s 0.3s, -webkit-transform 0s 0.3s;
  -moz-transition: left 0.3s, opacity 0.3s, -moz-transform 0s 0.3s;
  -webkit-transition: left 0.3s, opacity 0.3s, -webkit-transform 0s 0.3s;
}

#index .manage .bmi [data-bmi-result].show {
  left: 0;
  opacity: 1;
  -ms-transform: scale(1);
      transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  transition: left 0.3s, opacity 0.3s, -webkit-transform 0s;
  transition: left 0.3s, opacity 0.3s, transform 0s;
  transition: left 0.3s, opacity 0.3s, transform 0s, -webkit-transform 0s;
  -moz-transition: left 0.3s, opacity 0.3s, -moz-transform 0s;
  -webkit-transition: left 0.3s, opacity 0.3s, -webkit-transform 0s;
}

#index .manage .bmi .field {
  display: block;
  margin: 0 0 15px;
}

#index .manage .bmi .field dt {
  line-height: 30px;
  font-size: 0.9375rem;
  font-weight: normal;
  background: url("../images/ibmi_ico.png") left center no-repeat;
  margin: 0 0 8px;
  padding-left: 30px;
}

#index .manage .bmi .field dd .bmi-result-note {
  line-height: 24px;
  font-size: 0.9375rem;
  text-align: center;
  margin: 0;
}

#index .manage .bmi .field dd .bmi-result-note strong {
  display: block;
  line-height: 28px;
  font-size: 1.5rem;
  color: #e9597e;
}

#index .manage .bmi .field dd input {
  display: block;
  width: 100%;
  height: 40px;
  font-size: 0.9375rem;
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 0 10px;
}

#index .manage .bmi .btn-box {
  text-align: center;
  margin-top: 32px;
}

#index .manage .bmi .btn-box .reset,
#index .manage .bmi .btn-box .submit {
  display: inline-block;
  width: calc(50% - 4px);
  height: 44px;
  line-height: 44px;
  font-size: 0.9375rem;
  color: #fff;
  background: #535353;
  vertical-align: top;
}

#index .manage .bmi .btn-box .submit {
  background: #e9597e;
}

#index .manage .bmi .btn-box .reset + .submit {
  margin-left: 8px;
}

#index .manage .bmi .btn-box .reset:hover,
#index .manage .bmi .btn-box .submit:hover {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
}

#index .manage .diary .link {
  display: block;
  width: 200px;
  height: 44px;
  line-height: 44px;
  font-size: 0.9375rem;
  color: #fff;
  background: #e9597e;
  text-align: center;
  margin: 25px auto 0;
}

#index .manage .diary .link:hover {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
}

#index .intro {
  position: relative;
  margin-top: 30px;
  opacity: 0;
  -ms-transform: translateY(40px);
      transform: translateY(40px);
  -moz-transform: translateY(40px);
  -webkit-transform: translateY(40px);
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, transform 0.5s;
  transition: opacity 0.5s, transform 0.5s, -webkit-transform 0.5s;
  -moz-transition: opacity 0.5s, transform 0.5s;
  -webkit-transition: opacity 0.5s, transform 0.5s;
}

#index .intro.scroll-view {
  opacity: 1;
  -ms-transform: translateY(0);
      transform: translateY(0);
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
}

#index .intro .inner {
  background: url("../images/iintro_bg.jpg") center no-repeat;
  background-size: cover;
  position: relative;
}

#index .intro .txt {
  position: relative;
  width: 685px;
  color: #fff;
  text-align: center;
  margin-left: calc(100% - 685px);
  padding: 220px 90px 90px;
}

#index .intro .txt:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: calc(100% - 220px);
  background: rgba(35, 103, 168, 0.9);
  left: 0;
  bottom: 0;
}

#index .intro .txt .ico {
  display: block;
  position: absolute;
  width: 100%;
  height: 220px;
  background: url("../images/iintro_title.png") center bottom no-repeat;
  top: 0;
  left: 0;
}

#index .intro .txt .ico:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: calc(100% - 140px);
  background: rgba(35, 103, 168, 0.9);
  top: 0;
  left: 0;
}

#index .intro .txt .p-title-box {
  padding-top: 48px;
}

#index .intro .txt .p-title-box:before {
  background: #fff;
  top: 15px;
}

#index .intro .txt .summary {
  position: relative;
  line-height: 1.875;
  font-size: 1rem;
  margin: 25px 0 0;
}

#index-bot {
  font-size: 0;
  background: #f6f6f6;
  margin-top: 70px;
  padding: 70px 0;
  opacity: 0;
  transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
}

#index-bot.scroll-view {
  opacity: 1;
}

#index-bot .head {
  background-repeat: repeat-x;
  background-position: 0 15px;
  font-size: 0;
  margin-bottom: 40px;
}

#index-bot .video .head {
  background-image: url("../images/ivideo_line.png");
}

#index-bot .news .head {
  background-image: url("../images/inews_line.png");
}

#index-bot .head > div {
  display: inline-block;
  background-color: #f6f6f6;
  background-repeat: no-repeat;
  background-position: left center;
  vertical-align: top;
  padding-left: 50px;
  padding-right: 10px;
}

#index-bot .video .head > div {
  background-image: url("../images/ivideo_ico.png");
}

#index-bot .news .head > div {
  background-image: url("../images/inews_ico.png");
}

#index-bot .head .title {
  display: inline-block;
  line-height: 40px;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  vertical-align: top;
}

#index-bot .head .title-en {
  display: inline-block;
  line-height: 40px;
  font-size: 1.375rem;
  margin: 0 0 0 10px;
  vertical-align: top;
}

#index-bot .video {
  display: inline-block;
  width: calc(33.333% - 16px);
  vertical-align: top;
}

#index-bot .inner {
  font-size: 0;
  background: #e1effe;
  padding: 10px;
}

#index-bot .news .inner {
  display: inline-block;
  width: calc(50% - 12px);
  background: #fee5ec;
  vertical-align: top;
}

#index-bot .inner .pic {
  display: block;
  position: relative;
  overflow: hidden;
}

#index-bot .inner .pic:before {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}

#index-bot .inner .pic:hover:before {
  opacity: 1;
}

#index-bot .inner .pic:after {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  width: 90px;
  height: 90px;
  background: url("../images/ivideo_play.png") no-repeat;
  background-size: cover;
  top: 50%;
  left: 50%;
  margin-top: -45px;
  margin-left: -45px;
  -ms-transform: scale(0.7);
      transform: scale(0.7);
  -moz-transform: scale(0.7);
  -webkit-transform: scale(0.7);
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  -webkit-transition: -webkit-transform 0.3s;
}

#index-bot .inner .pic:hover:after {
  -ms-transform: scale(1);
      transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
}

#index-bot .news .inner .pic:after {
  display: none;
}

#index-bot .inner .txt {
  height: 258px;
  padding: 20px;
}

#index-bot .inner .subject {
  max-height: 56px;
  line-height: 28px;
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#index-bot .inner .summary {
  max-height: 112px;
  line-height: 28px;
  font-size: 0.875rem;
  margin: 2px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#index-bot .inner .more {
  display: block;
  width: 125px;
  height: 34px;
  line-height: 34px;
  font-size: 0.9375rem;
  color: #fff;
  border-radius: 17px;
  text-align: center;
  margin: 14px auto 0;
  background: rgb(65, 147, 214);
  background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(65, 147, 214)), color-stop(100%, rgb(115, 194, 214)));
  background: linear-gradient(45deg, rgb(65, 147, 214) 0%, rgb(115, 194, 214) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#4193d6", endColorstr="#73c2d6", GradientType=1 );
}

#index-bot .inner .more:hover {
  background: rgb(115, 194, 214);
  background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(115, 194, 214)), color-stop(100%, rgb(65, 147, 214)));
  background: linear-gradient(45deg, rgb(115, 194, 214) 0%, rgb(65, 147, 214) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#73c2d6", endColorstr="#4193d6", GradientType=1 );
}

#index-bot .news .inner .more {
  background: rgb(215, 83, 105);
  background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(215, 83, 105)), color-stop(100%, rgb(243, 143, 165)));
  background: linear-gradient(45deg, rgb(215, 83, 105) 0%, rgb(243, 143, 165) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#d75369", endColorstr="#f38fa5", GradientType=1 );
}

#index-bot .news .inner .more:hover {
  background: rgb(243, 143, 165);
  background: -webkit-gradient(left bottom, right top, color-stop(0%, rgb(243, 143, 165)), color-stop(100%, rgb(215, 83, 105)));
  background: linear-gradient(45deg, rgb(243, 143, 165) 0%, rgb(215, 83, 105) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#f38fa5", endColorstr="#d75369", GradientType=1 );
}

#index-bot .news {
  display: inline-block;
  width: calc(66.667% - 8px);
  vertical-align: top;
  margin-left: 24px;
}

#index-bot .news .list {
  display: inline-block;
  width: calc(50% - 12px);
  vertical-align: top;
  margin-left: 24px;
}

#index-bot .news .list li {
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #fff;
  padding: 24px 0;
}

#index-bot .news .list li:first-child {
  border-top: none;
  padding-top: 0;
}

#index-bot .news .list .item {
  display: block;
  position: relative;
  padding-left: 90px;
}

#index-bot .news .list .item .subject {
  line-height: 28px;
  font-size: 1rem;
  color: #222;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#index-bot .news .list .item:hover .subject {
  color: #eb7a8d;
}

#index-bot .news .list .item .summary {
  height: 78px;
  line-height: 26px;
  font-size: 0.875rem;
  color: #222;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#index-bot .news .list .item .date {
  position: absolute;
  width: 60px;
  height: 70px;
  color: #fff;
  background: #eb7a8d;
  text-align: center;
  padding: 36px 8px 0 8px;
  top: 0;
  left: 0;
}

#index-bot .news .list .item .date .month {
  line-height: 28px;
  font-size: 0.8125rem;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

#index-bot .news .list .item .date .day {
  display: block;
  position: absolute;
  width: 100%;
  line-height: 30px;
  font-size: 1.125rem;
  font-weight: bold;
  top: 8px;
  left: 0;
}

@media (max-width: 1599px) {
  #index .quick .quick-box {
    height: 180px;
  }
  #index .quick .quick-box.main-box {
    height: 120px;
  }
  #index .quick .more-quick-link {
    padding: 15px 0;
  }
  #index .quick .quick-box:before {
    left: -120px;
  }
  #index .quick .quick-box .txt {
    width: 160px;
  }
  #index .game .game-box:after {
    width: 300px;
    height: 450px;
    margin-left: -150px;
  }
  #index .game .game-box .game-left {
    height: 580px;
    padding: 0 145px 0 40px;
  }
  #index .game .game-box .game-right {
    height: 580px;
    padding: 0 40px 0 145px;
  }
  #index .game .game-box .list li {
    margin-right: 20px;
  }
  #index .intro .txt {
    width: 555px;
    margin-left: calc(100% - 555px);
    padding: 220px 50px 90px;
  }
  #index-bot .news .list li {
    padding: 15px 0;
  }
}
@media (max-width: 1199px) {
  #index .game .game-box .game-left {
    padding-right: 160px;
  }
  #index .game .game-box .game-right {
    padding-left: 160px;
  }
  #index .game .game-box .list li {
    margin-top: 15px;
    margin-right: 40px;
  }
  #index .game .game-box .list li:nth-child(3n) {
    margin-right: 40px;
  }
  #index .game .game-box .list li:nth-child(2n) {
    margin-right: 0;
  }
  #index .manage .bmi .inner,
  #index .manage .diary .inner {
    padding: 0 50px;
  }
  #index .intro .txt {
    width: 455px;
    margin-left: calc(100% - 455px);
  }
  #index .intro .txt .ico {
    background-size: 672px 100px;
  }
  #index .intro .txt .ico:before {
    height: calc(100% - 100px);
  }
  #index-bot .head {
    margin-bottom: 20px;
  }
  #index-bot .video {
    display: block;
    width: 100%;
  }
  #index-bot .inner .pic {
    display: inline-block;
    width: 320px;
    vertical-align: top;
  }
  #index-bot .inner .txt {
    display: inline-block;
    position: relative;
    width: calc(100% - 320px);
    height: 240px;
    vertical-align: top;
    padding: 0 0 0 20px;
  }
  #index-bot .inner .summary {
    max-height: 140px;
    -webkit-line-clamp: 5;
  }
  #index-bot .inner .more {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
  }
  #index-bot .news {
    display: block;
    width: 100%;
    margin-top: 40px;
    margin-left: 0;
  }
  #index-bot .news .inner,
  #index-bot .news .list {
    display: block;
    width: 100%;
  }
  #index-bot .news .list {
    margin-top: 20px;
    margin-left: 0;
  }
  #index-bot .news .list .item .subject {
    white-space: normal;
  }
  #index-bot .news .list .item .summary {
    height: auto;
    max-height: 78px;
  }
}
@media (max-width: 991px) {
  #index .quick .quick-list {
    margin: 0;
  }
  #index .quick .quick-list li {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: auto;
  }
  #index .quick .quick-list li + li {
    margin-top: 20px !important;
  }
  #index .quick .quick-box {
    height: 260px;
  }
  #index .quick .quick-box.main-box {
    height: 180px;
  }
  #index .quick .more-quick-link {
    padding: 25px 0;
  }
  #index .quick .quick-box:before {
    left: -60px;
  }
  #index .quick .quick-box .txt {
    width: 220px;
  }
  #index .game .game-box {
    margin-top: 30px;
  }
  #index .game .game-box:before,
  #index .game .game-box:after {
    display: none;
  }
  #index .game .game-box .game-left,
  #index .game .game-box .game-right {
    display: block;
    width: 100%;
    height: 300px;
  }
  #index .game .game-box .game-left {
    padding: 0 200px 0 30px;
  }
  #index .game .game-box .game-right {
    padding: 0 30px 0 200px;
  }
  #index .game .game-box .txt,
  #index .game .game-box .txt .summary {
    line-height: 26px;
    font-size: 1rem;
  }
  #index .game .game-box .txt .step {
    line-height: 40px;
    font-size: 2.5rem;
  }
  #index .game .game-box .list li {
    width: 70px;
    margin-top: 14px;
    margin-right: 14px;
  }
  #index .game .game-box .list li:nth-child(2n),
  #index .game .game-box .list li:nth-child(3n) {
    margin-right: 14px;
  }
  #index .game .game-box .list li:last-child {
    margin-right: 0;
  }
  #index .game .game-box .start {
    height: 80px;
    bottom: 50%;
    margin-bottom: -40px;
    padding: 10px 14px;
  }
  #index .game .game-box .start:before {
    border-radius: 5px;
  }
  #index .game .game-box .start span {
    width: 192px;
    height: 60px;
    line-height: 24px;
    font-size: 1rem;
    border-radius: 5px;
    top: 10px;
    left: 14px;
    padding-top: 6px;
  }
  #index .game .game-box .start:hover span {
    width: 220px;
    height: 80px;
    padding-top: 16px;
  }
  #index .manage .bmi .inner,
  #index .manage .diary .inner {
    padding: 0 15px;
  }
  #index .intro .inner {
    padding-top: 200px;
  }
  #index .intro .txt {
    width: 100%;
    margin-left: 0;
    padding: 180px 30px 40px;
  }
  #index .intro .txt:before {
    height: calc(100% - 180px);
  }
  #index .intro .txt .ico {
    height: 180px;
    background-size: 940px 140px;
  }
  #index .intro .txt .ico:before {
    height: 40px;
  }
}
@media (max-width: 767px) {
  #index .game .game-box .game-left,
  #index .game .game-box .game-right {
    height: 120px;
    padding: 0 30px;
  }
  #index .game .game-box .list {
    display: none;
  }
  #index .game .game-box .game-left .inner {
    margin-top: -10px;
  }
  #index .game .game-box .game-right .inner {
    text-align: right;
    margin-top: 10px;
  }
  #index .game .game-box .game-right .txt .summary {
    padding-left: 0;
  }
  #index .manage .bmi,
  #index .manage .diary {
    display: block;
    width: 100%;
    height: 420px;
  }
  #index .manage .diary {
    margin-top: 30px;
    margin-left: 0;
  }
  #index .intro .txt .summary {
    line-height: 26px;
    font-size: 0.9375rem;
  }
  #index-bot {
    margin-top: 50px;
    padding: 50px 0;
  }
}
@media (max-width: 639px) {
  #index-bot .inner .pic {
    display: block;
    width: 100%;
  }
  #index-bot .inner .txt {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 10px;
    padding: 0;
  }
  #index-bot .inner .summary {
    max-height: none;
    display: block;
    -webkit-line-clamp: initial;
  }
  #index-bot .inner .more {
    position: relative;
    margin: 5px auto 0;
  }
}
@media (max-width: 479px) {
  #index .quick .quick-box {
    height: 195px;
  }
  #index .quick .quick-box.main-box {
    height: 110px;
  }
  #index .quick .more-quick-link {
    padding: 10px 0;
  }
  #index .quick .more-quick-link span,
  #index .quick .more-quick-link > a {
    font-size: 0.875rem;
  }
  #index .quick .more-quick-link > a {
    display: block;
    width: 100px;
    margin: 5px auto 0;
  }
  #index .quick .quick-box > img {
    width: auto;
    height: 100%;
    top: auto;
    left: 47.5%;
    -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }
  #index .quick .quick-box.main-box > img {
    height: calc(100% + 85px);
  }
  #index .quick .quick-box:before {
    width: 160px;
    height: 100%;
    top: 0;
    left: 0;
    background-image: none;
    -ms-transform: none;
        transform: none;
    -moz-transform: none;
    -webkit-transform: none;
  }
  #index .quick .quick-box .txt {
    width: 160px;
    height: auto;
    top: 50%;
    left: 0;
    margin-top: 0;
    padding: 0 10px;
    -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
  }
  #index .quick .quick-box .txt .ico {
    display: none !important;
  }
  #index .quick .quick-box .txt .title-en {
    line-height: 20px;
    font-size: 0.8125rem;
    margin: 0;
  }
  #index .quick .quick-box .txt .title {
    line-height: 26px;
    font-size: 1rem;
  }
  #index .intro .txt {
    padding: 114px 15px 40px;
  }
  #index .intro .txt:before {
    height: calc(100% - 114px);
  }
  #index .intro .txt .ico {
    height: 114px;
    background-size: 500px 74px;
  }
}
@media (max-width: 419px) {
  #index .quick .quick-box:before,
  #index .quick .quick-box .txt {
    width: 120px;
  }
}
/* Diary */
#diary {
  position: relative;
}

#diary:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: calc(100% - 500px);
  top: 500px;
  left: 0;
  pointer-events: none;
  background: rgb(255, 255, 255);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgb(255, 255, 255)), color-stop(100%, rgb(248, 248, 248)));
  background: -webkit-gradient(linear, left top, left bottom, from(rgb(255, 255, 255)), to(rgb(248, 248, 248)));
  background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgb(248, 248, 248) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#ffffff", endColorstr="#f8f8f8", GradientType=0 );
}

#diary > * {
  position: relative;
}

#diary .inner,
#initiate .inner {
  background: #fff;
  margin-bottom: 80px;
  padding: 15px;
}

#diary .select-box,
#initiate .select-box {
  font-size: 0;
  text-align: right;
}

#diary .select-box {
  position: relative;
  z-index: 10;
}

#initiate .select-box {
  text-align: left;
  padding-left: 10px;
}

#initiate .select-box {
  margin-top: 25px;
}

#initiate .select-box.team {
  margin: 0;
  padding: 0;
}

#initiate .select-box.team .dropdown {
  margin-left: 0;
}

#diary .select-box span,
#initiate .select-box span,
#diary .select-box a.before-day,
#diary .select-box a.after-day {
  display: inline-block;
  line-height: 40px;
  font-size: 0.875rem;
  vertical-align: middle;
}

#initiate .select-box span {
  font-size: 0.9375rem;
}

#diary .select-box a.before-day,
#diary .select-box a.after-day {
  line-height: 30px;
  padding: 0px 20px;
  border-radius: 20px;
  border: 1px solid #d83d71;
  color: #d83d71;
  margin-right: 10px;
}

#diary .select-box a.before-day:hover,
#diary .select-box a.after-day:hover {
  color: #fff;
  background-color: #d83d71;
}

#diary .select-box .dropdown,
#initiate .select-box .dropdown {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}

#diary .select-box .dropdown .btn,
#initiate .select-box .dropdown .btn {
  display: block;
  position: relative;
  height: 40px;
  font-size: 0.875rem;
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 0;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  padding: 0 75px 0 10px;
}

#diary .select-box .dropdown .btn:focus,
#initiate .select-box .dropdown .btn:focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

#diary .select-box .dropdown.open .btn,
#initiate .select-box .dropdown.open .btn {
  border-color: #d83d71;
}

#diary .select-box .dropdown .btn:before,
#initiate .select-box .dropdown .btn:before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 26px;
  background: #e5e5e5;
  top: 6px;
  right: 40px;
}

#diary .select-box .dropdown .btn:after,
#initiate .select-box .dropdown .btn:after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 4px 0 4px;
  border-color: #222 transparent transparent transparent;
  top: 16px;
  right: 16px;
}

#diary .select-box .dropdown .dropdown-menu,
#initiate .select-box .dropdown .dropdown-menu {
  min-width: 100%;
  max-height: 178px;
  margin: 0;
  border-color: #d83d71;
  border-top: none;
  border-radius: 0;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  overflow-y: auto;
}

#diary .select-box .dropdown .dropdown-menu > li,
#initiate .select-box .dropdown .dropdown-menu > li > a {
  line-height: 20px;
  font-size: 0.875rem;
  color: #222;
  padding: 4px 10px;
}

#diary .select-box .dropdown .dropdown-menu > li.current > a,
#initiate .select-box .dropdown .dropdown-menu > li.current > a {
  color: #d83d71;
}

#diary .select-box .input {
  display: inline-block;
  width: 140px;
  height: 34px;
  font-size: 0.875rem;
  border: 1px solid #ddd;
  vertical-align: middle;
  margin: 0 5px;
  padding: 0 10px;
}

#diary .select-box .input:focus {
  border-color: #d83d71;
}

#diary .select-box .submit {
  display: inline-block;
  height: 34px;
  font-size: 0.875rem;
  color: #fff;
  background: #d83d71;
  border-radius: 0;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  vertical-align: middle;
  padding: 0 10px;
}

#diary .select-box .submit:hover,
#diary .select-box .submit:focus,
#diary .select-box .submit:active {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
}

#diary .subject,
#initiate .subject,
#exchange .subject {
  font-size: 0;
  background: url("../images/ivideo_line.png") left 12px repeat-x;
  margin: 10px 0;
}

#diary .subject.mg {
  margin-top: 40px;
}

#diary .subject span,
#initiate .subject span,
#exchange .subject span {
  display: inline-block;
  line-height: 36px;
  background: #fff;
  vertical-align: middle;
}

#exchange .subject span {
  background: #f8f8f8;
}

#diary .subject .subject-ch,
#initiate .subject .subject-ch,
#exchange .subject .subject-ch {
  font-size: 1.5rem;
  font-weight: bold;
  padding-right: 10px;
}

#diary .subject .subject-en,
#initiate .subject .subject-en,
#exchange .subject .subject-en {
  font-size: 1.25rem;
  color: #5e95cf;
  padding-right: 30px;
}

.tabs {
  position: relative;
}

.tabs__header {
  padding: 0;
  margin: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.tabs__header--title {
  color: #444;
  cursor: pointer;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
  padding: 20px;
  position: relative;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  margin: 0 6px 10px;
  background: #fff;
  color: #d83d71;
  border: 1px solid #d83d71;
}

.tabs__header--title.active {
  background: #d83d71;
  color: #fff;
  border: 1px solid #d83d71;
}

.tabs__content {
  display: none;
}

@media (max-width: 991px) {
  .tabs__content .p-tab-sub {
    width: 100%;
    margin: 0 auto;
  }
}
.tabs__content.active {
  -webkit-animation: fadeIn 1s;
          animation: fadeIn 1s;
  display: block;
}

.tabs__content.active .tabs__content--title,
.tabs__content.active .tabs__content--text {
  -webkit-animation: fadeInUp 0.3s forwards;
          animation: fadeInUp 0.3s forwards;
}

.tabs__content.active .tabs__content--text {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}

.tabs__content--title {
  font-family: "Lustria", serif;
  font-size: 2rem;
  margin-bottom: 20px;
}

.tabs__content--text {
  line-height: 1.4;
  opacity: 0;
}

@media only screen and (min-width: 651px) {
  .tabs__header--title:not(:last-of-type) {
    border-right: 1px solid #d83d71;
  }
}
@media only screen and (max-width: 650px) {
  body {
    padding: 0;
  }
  .tabs__header {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .tabs__header--title {
    border-bottom: 1px solid #fff;
    width: calc(33.3333333333% - 12px);
  }
  .tabs__header--title::after {
    display: block;
  }
  .tabs__underline {
    display: none;
  }
}
@-webkit-keyframes fadeIn {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}
@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@media (max-width: 991px) {
  #diary .select-box span {
    line-height: 34px;
  }
  #diary .select-box .dropdown .btn {
    height: 34px;
    padding: 0 45px 0 5px;
  }
  #diary .select-box .dropdown .btn:before {
    height: 24px;
    top: 4px;
    right: 30px;
  }
  #diary .select-box .dropdown .btn:after {
    top: 13px;
    right: 11px;
  }
  #diary .select-box .dropdown .dropdown-menu > li > a {
    padding: 4px 5px;
  }
  #diary .subject,
  #initiate .subject {
    background-position: left 10px;
  }
  #diary .subject span,
  #initiate .subject span {
    line-height: 34px;
  }
  #diary .subject .subject-ch,
  #initiate .subject .subject-ch {
    font-size: 1.25rem;
  }
  #diary .subject .subject-en,
  #initiate .subject .subject-en {
    font-size: 1rem;
    padding-right: 15px;
  }
}
@media (max-width: 767px) {
  #diary .select-box .input {
    width: 100px;
  }
}
@media (max-width: 639px) {
  #diary .select-box {
    text-align: center;
    margin-bottom: 5px;
  }
  #diary .select-box .input + span {
    display: inline-block;
  }
  #diary .select-box .submit {
    display: block;
    width: 60px;
    margin: 10px auto 0;
  }
}
@media (max-width: 419px) {
  #diary .subject {
    background-position: left 39px;
  }
  #diary .subject .subject-ch {
    display: block;
    padding: 0;
  }
  #diary .subject .subject-en {
    line-height: 24px;
  }
}
/** Step **/
#diary .step {
  font-size: 0;
  background: url("../images/inews_line.png") left 40px repeat-x;
}

#diary .step.blue {
  background: url("../images/ivideo_line.png") left 40px repeat-x;
}

#diary .step.mg {
  margin-top: 40px;
}

#diary .step > div {
  display: inline-block;
  background: #fff;
  vertical-align: bottom;
}

#diary .step span {
  display: inline-block;
  vertical-align: bottom;
}

#diary .step .step-no {
  line-height: 64px;
  font-size: 4rem;
  vertical-align: bottom;
  padding-right: 25px;
  color: #d83e72;
  background: -webkit-linear-gradient(#f38ea4, #d83e72);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#diary .step.blue .step-no {
  background: -webkit-linear-gradient(#57c3df, #5490be);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#diary .step .step-en {
  line-height: 36px;
  font-size: 0.9375rem;
  font-weight: bold;
  padding-right: 10px;
}

#diary .step .step-ch {
  line-height: 36px;
  font-size: 0.875rem;
  padding-right: 25px;
}

@media (max-width: 991px) {
  #diary .step,
  #diary .step.blue {
    background-position: left 24px;
  }
  #diary .step .step-no {
    line-height: 48px;
    font-size: 2.5rem;
    padding-right: 10px;
  }
  #diary .step .step-ch {
    padding-right: 10px;
  }
}
@media (max-width: 479px) {
  #diary .step .step-ch {
    display: block;
    line-height: 24px;
  }
}
/** Calendar **/
#diary .calendar-wrap {
  position: relative;
  padding-top: 100px;
}

#active .calendar-wrap {
  position: relative;
  padding-top: 30px;
  margin-bottom: 80px;
}

#diary .calendar-wrap:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100px;
  background-image: url("../images/diary_top_bg1.png"), url("../images/diary_top_bg2.png");
  background-repeat: no-repeat;
  background-position: left center, right center;
  top: 0;
  left: 0;
}

@media (max-width: 991px) {
  #diary .calendar-wrap {
    padding-top: 50px;
  }
  #diary .calendar-wrap:before {
    height: 50px;
    background-image: url("../images/diary_top_bg2.png");
    background-size: contain;
    background-position: right center;
  }
}
@media (max-width: 767px) {
  #diary .calendar-wrap {
    padding-top: 0;
  }
  #diary .calendar-wrap:before {
    display: none;
  }
}
/** Active Select **/
#diary .active-select-list-wrap {
  overflow: hidden;
}

#diary .active-select-list {
  display: none;
  font-size: 0;
}

#diary .active-select-list-item {
  display: inline-block;
  width: calc(25% - 15px);
  border: 1px solid #eee;
  background: #fff;
  vertical-align: top;
  margin-right: 20px;
  margin-bottom: 20px;
  padding: 10px;
}

#diary .active-select-list-item:nth-child(4n) {
  margin-right: 0;
}

#diary .active-select-list-item .pic {
  float: left;
  width: calc(50% - 10px);
}

#diary .active-select-list-item .txt {
  float: right;
  width: 50%;
}

#diary .active-select-list-item .name {
  line-height: 22px;
  font-size: 0.9375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

#diary .active-select-list-item .cal {
  line-height: 22px;
  font-size: 0.875rem;
  margin: 0;
}

#diary .active-select-list-item .field {
  margin: 5px 0;
}

#diary .active-select-list-item .field span {
  display: inline-block;
  width: 75px;
  line-height: 34px;
  font-size: 0.875rem;
  vertical-align: top;
}

#diary .active-select-list-item .field input {
  display: inline-block;
  width: calc(100% - 75px);
  height: 34px;
  font-size: 0.875rem;
  border: 1px solid #ddd;
  padding: 0 4px;
  vertical-align: top;
}

#diary .active-select-list-item .field input:focus {
  border-color: #d83d71;
}

#diary .active-select-list-item .field select {
  display: inline-block;
  width: calc(100% - 75px);
  height: 34px;
  font-size: 0.875rem;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 0;
  padding: 0 4px;
  vertical-align: top;
}

#diary .active-select-list-item .field select:focus {
  border-color: #d83d71;
}

#diary .active-select-list-item .total {
  position: relative;
  line-height: 22px;
  font-size: 0.875rem;
  text-align: right;
  margin: 0;
}

#diary .active-select-list-item .total.view {
  color: #d83d71;
}

#diary .active-select-list-item .total.view.blue {
  color: #5e95cf;
}

#diary .active-select-list-item .total .total-left {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

#diary .active-summary,
#initiate .active-summary {
  font-size: 0;
  background-color: #d83d71;
  background-image: url("../images/active_summary_bg.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  padding: 20px;
  text-align: center;
}

#initiate .active-summary.food {
  margin-top: 50px;
}

#diary .active-summary.blue {
  background-color: #5e95cf;
}

#diary .active-summary .summary,
#initiate .active-summary .summary {
  display: inline-block;
  line-height: 40px;
  font-size: 0.9375rem;
  color: #fff;
  vertical-align: top;
  margin-right: 25px;
}

#diary .active-summary .summary span,
#initiate .active-summary .summary span {
  margin: 0 5px;
}

#initiate .active-summary .summary.food span {
  display: inline;
  position: relative;
  padding-right: 20px;
  margin: 0 0 0 5px;
}

#initiate .active-summary .summary.food span:before {
  position: absolute;
  content: "";
  width: 1px;
  height: 16px;
  background: #fff;
  right: 0;
  top: 3px;
}

#diary .active-summary .btn {
  display: inline-block;
  width: 200px;
  height: 40px;
  font-size: 0.9375rem;
  color: #fff;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  text-align: center;
  vertical-align: top;
}

#diary .active-summary .btn:hover,
#diary .active-summary .btn:focus,
#diary .active-summary .btn:active {
  background: rgba(255, 255, 255, 0.3);
}

@media (min-width: 992px) {
  #diary .active-select-wrap .dropdown {
    margin: 30px 0;
    z-index: 50;
  }
  #diary .active-select-wrap .dropdown .btn {
    display: none;
  }
  #diary .active-select-wrap .dropdown .dropdown-menu {
    display: block !important;
    position: relative;
    float: none;
    border: none;
    background: none;
    border-radius: 0;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    /* text-align: center; */
    margin: 0;
    top: auto;
  }
  #diary .active-select-wrap .dropdown .dropdown-menu > li {
    display: inline-block;
    vertical-align: top;
    margin: 0 10px 10px;
  }
  #diary .active-select-wrap .dropdown .dropdown-menu > li > a {
    display: block;
    line-height: 34px;
    font-size: 0.875rem;
    color: #fff;
    border-radius: 17px;
    background: #999;
    padding: 0 30px;
    opacity: 0.5;
  }
  #diary .active-select-wrap .dropdown .dropdown-menu > li.current > a,
  #diary .active-select-wrap .dropdown .dropdown-menu > li > a:hover {
    opacity: 1;
  }
  #diary .active-select-wrap .dropdown .dropdown-menu > li > a img {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin-right: 5px;
    -ms-transform: translateY(-1px);
        transform: translateY(-1px);
    -moz-transform: translateY(-1px);
    -webkit-transform: translateY(-1px);
  }
}
@media (max-width: 1599px) {
  #diary .active-select-list-item {
    width: calc(33.333% - 13.333px);
  }
  #diary .active-select-list-item:nth-child(4n) {
    margin-right: 20px;
  }
  #diary .active-select-list-item:nth-child(3n) {
    margin-right: 0;
  }
}
@media (max-width: 1199px) {
  #diary .active-select-wrap .dropdown .dropdown-menu > li {
    margin: 0 5px 10px;
  }
  #diary .active-select-list-item {
    width: calc(33.333% - 10px);
    margin-right: 15px;
    margin-bottom: 15px;
  }
  #diary .active-select-list-item:nth-child(4n) {
    margin-right: 15px;
  }
}
@media (max-width: 991px) {
  #diary .active-select-wrap .dropdown {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
  }
  #diary .active-select-wrap .dropdown .btn {
    display: block;
    width: 100%;
    height: 34px;
    font-size: 0.875rem;
    color: #fff;
    border: none;
    background: #999;
    border-radius: 17px;
  }
  #diary .active-select-wrap .dropdown .btn:hover,
  #diary .active-select-wrap .dropdown .btn:focus,
  #diary .active-select-wrap .dropdown .btn:active,
  #diary .active-select-wrap .dropdown.open .btn {
    -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
            box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
  }
  #diary .active-select-wrap .dropdown .btn img {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin-right: 5px;
    -ms-transform: translateY(-1px);
        transform: translateY(-1px);
    -moz-transform: translateY(-1px);
    -webkit-transform: translateY(-1px);
  }
  #diary .active-select-wrap .dropdown .dropdown-menu {
    width: 100%;
    padding: 2px;
    text-align: center;
  }
  #diary .active-select-wrap .dropdown .dropdown-menu > li {
    margin: 0;
  }
  #diary .active-select-wrap .dropdown .dropdown-menu > li + li {
    margin-top: 2px;
  }
  #diary .active-select-wrap .dropdown .dropdown-menu > li > a {
    display: block;
    position: relative;
    line-height: 24px;
    font-size: 0.875rem;
    color: #fff;
    background: #999;
    border-radius: 2px;
    padding: 3px 10px;
    text-align: center;
  }
  #diary .active-select-wrap .dropdown .dropdown-menu > li:not(.current) > a {
    background: #ccc !important;
  }
  #diary .active-select-wrap .dropdown .dropdown-menu > li > a img {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin-right: 5px;
    -ms-transform: translateY(-1px);
        transform: translateY(-1px);
    -moz-transform: translateY(-1px);
    -webkit-transform: translateY(-1px);
  }
  #diary .active-select-list-item {
    width: calc(50% - 5px);
    margin-right: 10px !important;
    margin-bottom: 10px;
  }
  #diary .active-select-list-item:nth-child(even) {
    margin-right: 0 !important;
  }
  #diary .active-summary {
    text-align: center;
    padding: 10px;
  }
  #diary .active-summary .summary {
    display: block;
    line-height: 24px;
    margin: 0 0 4px;
  }
  #diary .active-summary .btn {
    width: 160px;
  }
}
@media (max-width: 639px) {
  #diary .active-select-list-item {
    display: block;
    width: 100%;
    margin-right: 0 !important;
  }
  #diary .active-select-list-item .pic {
    width: calc(40% - 10px);
  }
  #diary .active-select-list-item .txt {
    width: 60%;
  }
}
/** Active Table **/
#diary .active-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 20px 0 0;
}

#diary .active-table thead th {
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  color: #fff;
  border: none;
  background: #333;
  padding: 8px 10px;
  text-align: center;
}

#diary .active-table thead th.unit {
  width: 200px;
}

#diary .active-table thead th.del {
  width: 150px;
}

#diary .active-table tbody th,
#diary .active-table tbody td {
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  text-align: center;
  padding: 8px 10px;
}

#diary .active-table tbody tr:nth-child(odd) {
  background: #f6f6f6;
}

#diary .active-table tbody td.del a {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  color: #aaa;
  vertical-align: top;
}

#diary .active-table tbody td.del a:hover {
  color: #888;
}

#diary .active-table tbody .no-data td {
  background: #fff;
  padding: 18px 10px;
}

#diary .active-table-total {
  font-size: 0.9375rem;
  color: #888;
  border-top: 1px solid #bdbdbd !important;
  text-align: right;
  padding-top: 25px;
}

#diary .active-table-total strong {
  font-size: 1.5rem;
  color: #d83d71;
  margin-left: 10px;
}

#diary .active-table-total.blue strong {
  color: #5e95cf;
}

@media (max-width: 1599px) {
  #diary .active-table thead th.unit {
    width: 150px;
  }
  #diary .active-table thead th.del {
    width: 100px;
  }
}
@media (max-width: 1199px) {
  #diary .active-table thead th.unit {
    width: 140px;
  }
  #diary .active-table thead th.del {
    width: 80px;
  }
}
@media (max-width: 991px) {
  #diary .active-table,
  #diary .active-table tbody,
  #diary .active-table tr,
  #diary .active-table th,
  #diary .active-table td {
    display: block;
    width: 100% !important;
  }
  #diary .active-table thead {
    display: none;
  }
  #diary .active-table tbody tr {
    border-bottom: 1px solid #bdbdbd;
    background-color: #fff !important;
    margin-bottom: 10px;
  }
  #diary .active-table tbody th,
  #diary .active-table tbody :not(.no-data) td:not(.del) {
    position: relative;
    text-align: left;
    padding: 2px 0 2px 110px;
  }
  #diary .active-table tbody th:before,
  #diary .active-table tbody :not(.no-data) td:not(.del):before {
    content: attr(title);
    display: block;
    position: absolute;
    color: #888;
    top: 2px;
    left: 0;
  }
  #diary .active-table tbody th:after,
  #diary .active-table tbody :not(.no-data) td:not(.del):after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px 0 3px 5px;
    border-color: transparent transparent transparent #888;
    top: 11px;
    left: 90px;
  }
  #diary .active-table tbody td.del a {
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 1.125rem;
    color: #fff;
    background: #999;
    border-radius: 100%;
    vertical-align: top;
  }
  #diary .active-table tbody td.del a:hover {
    color: #fff;
    background: #888;
  }
  #diary .active-table tbody .no-data {
    border: none;
  }
  #diary .active-table tbody .no-data td {
    background: #f6f6f6;
  }
  #diary .active-table-total {
    border-top: none !important;
    padding-top: 0;
  }
}
/** Level Table **/
#diary .active-level {
  margin-top: 20px;
}

#diary .active-level .head {
  line-height: 34px;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 10px;
}

#diary .active-level .left,
#diary .active-level .right {
  float: left;
  width: 50%;
  padding: 0 15px;
}

#diary .active-level .level-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

#diary .active-level .level-table thead th {
  width: 33.333%;
  line-height: 24px;
  font-size: 0.875rem;
  font-weight: normal;
  color: #fff;
  background: #e77005;
  text-align: center;
  padding: 8px 10px;
}

#diary .active-level .level-table tbody th,
#diary .active-level .level-table tbody td {
  position: relative;
  line-height: 24px;
  font-size: 0.875rem;
  font-weight: normal;
  text-align: center;
  padding: 8px 10px 9px 10px;
}

#diary .active-level .level-table tbody th:after,
#diary .active-level .level-table tbody td:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #e6e6e6;
  left: 0;
  bottom: 0;
}

#diary .active-level .level-table tbody td img {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  margin-right: 5px;
  -ms-transform: translateY(-1px);
      transform: translateY(-1px);
  -moz-transform: translateY(-1px);
  -webkit-transform: translateY(-1px);
}

@media (max-width: 991px) {
  #diary .active-level .head {
    line-height: 26px;
    font-size: 1rem;
  }
  #diary .active-level .left,
  #diary .active-level .right {
    float: none;
    width: 100%;
    padding: 0;
  }
  #diary .active-level .right .level-table thead {
    display: none;
  }
}
@media (max-width: 639px) {
  #diary .active-level .level-table thead th:nth-child(1),
  #diary .active-level .level-table tbody th {
    width: 25%;
    padding: 4px 5px;
  }
  #diary .active-level .level-table thead th:nth-child(2),
  #diary .active-level .level-table tbody td:nth-child(2) {
    width: 45%;
    padding: 4px 5px;
  }
  #diary .active-level .level-table thead th:nth-child(3),
  #diary .active-level .level-table tbody td:nth-child(3) {
    width: 30%;
    padding: 4px 5px;
  }
}
/** Button Box **/
#diary .btn-box,
#initiate .btn-box {
  font-size: 0;
  text-align: center;
  margin: 20px 0;
}

#diary .btn-box .btn,
#initiate .btn-box .btn {
  display: inline-block;
  width: 100%;
  max-width: 200px;
  height: 40px;
  line-height: 40px;
  font-size: 0.9375rem;
  color: #fff;
  border: none;
  border-radius: 0;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  vertical-align: top;
  margin: 0 10px;
  padding: 0;
}

#diary .fields .btn-box .btn,
#initiate .fields .btn-box .btn {
  max-width: 140px;
}

#diary .fields .btn-box .btn.large {
  display: block;
  max-width: 300px;
  height: 46px;
  line-height: 46px;
  font-size: 1.125rem;
  margin: 0 auto 10px;
}

#diary .btn-box .btn.reset,
#initiate .btn-box .btn.reset {
  background: #999;
}

#diary .btn-box .btn.backto {
  background: #555;
}

#diary .btn-box .btn.submit,
#initiate .btn-box .btn.submit {
  background: #d83d71;
}

#diary .btn-box .btn.back {
  background: #5e95cf;
}

#initiate .btn.invite {
  color: #fff;
  background: #5e95ce;
  margin-left: 10px;
}

#diary .btn-box .btn:hover,
#diary .btn-box .btn:focus,
#diary .btn-box .btn:active,
#initiate .btn-box .btn:hover,
#initiate .btn-box .btn:focus,
#initiate .btn-box .btn:active {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
}

#initiate .fields dl dd {
  line-height: 34px;
  font-size: 1rem;
  color: #222;
}

#initiate .fields dl dd span,
#initiate .weight-table tbody td span {
  color: #5e95ce;
}

#initiate .fields dl dd span.tag {
  position: relative;
  display: inline-block;
  color: #222;
  background: #eee;
  border-radius: 0;
  font-weight: normal;
  font-size: 0.875rem;
  margin: 3px 15px 3px 0;
}

#initiate .fields dl dd span.tag::after {
  position: absolute;
  content: ",";
  right: -10px;
}

#initiate .fields dl dd span.tag:last-of-type::after {
  display: none;
}

#initiate .fields dl dd span[data-role=remove] {
  display: none;
}

#initiate .weight-form dl dd .bootstrap-tagsinput input {
  display: none;
}

#initiate .weight-form dl dd .bootstrap-tagsinput {
  width: 100%;
  min-height: 34px;
  padding: 5px;
  border-radius: 0;
  border: 1px solid #e5e5e5;
  -webkit-box-shadow: none;
          box-shadow: none;
}

#initiate .weight-form dl dd .selectize-input {
  border-radius: 0;
  border: 1px solid #e5e5e5;
}

#initiate .input.invite {
  display: inline-block;
  width: calc(100% - 95px);
}

@media (max-width: 1199px) {
  #diary .btn-box .btn {
    max-width: 140px;
  }
}
@media (max-width: 767px) {
  #diary .btn-box .btn {
    display: block;
    margin: auto;
  }
  #diary .btn-box .btn + .btn {
    margin-top: 10px;
  }
  #diary .fields .btn-box .btn.large {
    margin-bottom: 0;
  }
}
/** Finish **/
#diary .active-finish {
  position: relative;
  line-height: 26px;
  font-size: 0.9375rem;
  background: #dce6f1;
  text-align: center;
  padding: 40px 200px;
}

#diary .active-finish:before {
  content: "";
  display: block;
  position: absolute;
  width: 270px;
  height: 150px;
  background: url("../images/diary_finish_ico1.png") no-repeat;
  background-size: cover;
  left: 0;
  bottom: -10px;
}

#diary .active-finish:after {
  content: "";
  display: block;
  position: absolute;
  width: 350px;
  height: 190px;
  background: url("../images/diary_finish_ico2.png") no-repeat;
  background-size: cover;
  right: 0;
  bottom: -10px;
}

#diary .active-finish > div {
  position: relative;
  z-index: 2;
}

#diary .active-finish strong.red {
  color: #d83d71;
}

#diary .active-finish strong.blue {
  color: #5e95cf;
}

#diary .active-finish .notice {
  line-height: 34px;
  font-size: 1.25rem;
  font-weight: bold;
  margin: 10px 0;
}

#diary .active-finish .notice.red {
  color: #d83d71;
}

#diary .active-finish .notice.blue {
  color: #5e95cf;
}

#diary .active-finish .suggest {
  margin: 0;
}

@media (max-width: 1199px) {
  #diary .active-finish {
    padding: 40px 100px;
  }
  #diary .active-finish:before {
    width: 189px;
    height: 105px;
    bottom: -6px;
  }
  #diary .active-finish:after {
    width: 245px;
    height: 133px;
    bottom: -7px;
  }
}
@media (max-width: 767px) {
  #diary .active-finish {
    padding: 20px 15px;
  }
  #diary .active-finish:before,
  #diary .active-finish:after {
    display: none;
  }
}
/** Weight Diary **/
#diary .weight-form,
#initiate .weight-form {
  margin: 20px 0;
}

#diary .weight-form .pic,
#initiate .weight-form .pic {
  float: left;
  width: 50%;
}

#diary .weight-form .fields,
#initiate .weight-form .fields {
  float: right;
  width: calc(50% - 20px);
  font-size: 0;
  padding: 0 50px;
}

#initiate .weight-form .fields.team {
  float: none;
  width: 100%;
  padding: 0;
}

#diary .weight-form .head,
#initiate .weight-form .head {
  line-height: 30px;
  font-size: 1.25rem;
  text-align: center;
}

#initiate .weight-form .head.team {
  text-align: left;
}

#diary .weight-form .head img,
#initiate .weight-form .head img {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  margin-right: 5px;
  -ms-transform: translateY(-1px);
      transform: translateY(-1px);
  -moz-transform: translateY(-1px);
  -webkit-transform: translateY(-1px);
}

#diary .weight-form dl,
#initiate .weight-form dl {
  border-bottom: 1px solid #eee;
  margin: 0;
  padding: 20px 10px;
}

#diary .weight-form dl.half,
#initiate .weight-form dl.half {
  display: inline-block;
  width: 50%;
  vertical-align: top;
}

#diary .weight-form dl dt,
#initiate .weight-form dl dt {
  float: left;
  width: 120px;
  line-height: 34px;
  font-size: 0.875rem;
  font-weight: normal;
}

#initiate .weight-form dl dt {
  font-size: 1rem;
  font-weight: bold;
}

#diary .weight-form dl dd,
#initiate .weight-form dl dd {
  float: right;
  width: calc(100% - 120px);
}

#diary .weight-form dl dd .tip-note,
#initiate .weight-form dl dd .tip-note {
  display: block;
  line-height: 24px;
  font-size: 0.875rem;
  color: #888;
  margin-top: 4px;
}

#diary .weight-form dl dd input,
#initiate .weight-form dl dd input {
  display: block;
  width: 100%;
  height: 34px;
  font-size: 0.875rem;
  border: 1px solid #e5e5e5;
  padding: 0 10px;
}

#diary .weight-form dl dd input:focus {
  border-color: #d83d71;
}

#diary .weight-form dl dd label,
#initiate .weight-form dl dd label {
  display: inline-block;
  line-height: 34px;
  font-size: 0.875rem;
  font-weight: normal;
  margin-right: 10px;
  margin-bottom: 0;
  vertical-align: top;
}

#diary .weight-form dl dd label input {
  display: inline-block;
  position: relative;
  width: auto;
  height: auto;
  vertical-align: middle;
  margin-right: 4px;
  -ms-transform: translateY(-2px);
      transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
}

#diary .weight-form dl dd strong {
  line-height: 34px;
  font-size: 0.875rem;
  color: #d83d71;
}

@media (min-width: 992px) and (max-width: 1199px) {
  #diary .weight-form dl.half,
  #initiate .weight-form dl.half {
    display: block;
    width: 100%;
  }
}
@media (max-width: 1599px) {
  #diary .weight-form .fields,
  #initiate .weight-form .fields {
    padding: 0 15px;
  }
  #diary .weight-form dl,
  #initiate .weight-form dl {
    padding: 10px;
  }
}
@media (max-width: 1199px) {
  #diary .weight-form .fields,
  #initiate .weight-form .fields {
    padding: 0;
  }
  #diary .weight-form dl,
  #initiate .weight-form dl {
    padding: 10px 0;
  }
  #diary .weight-form .btn-box .btn,
  #initiate .weight-form .btn-box .btn {
    max-width: 120px;
    margin: 0 5px;
  }
}
@media (max-width: 991px) {
  #diary .weight-form .pic,
  #diary .weight-form .fields,
  #initiate .weight-form .pic,
  #initiate .weight-form .fields {
    float: none;
    width: 100%;
  }
  #diary .weight-form .fields,
  #initiate .weight-form .fields {
    margin-top: 20px;
  }
  #diary .weight-form .head,
  #initiate .weight-form .head {
    font-size: 1rem;
  }
  #diary .weight-form dl.pdr {
    padding-right: 10px;
  }
  #diary .weight-form dl.pdl {
    padding-left: 10px;
  }
}
@media (max-width: 767px) {
  #diary .weight-form .btn-box .btn,
  #initiate .weight-form .btn-box .btn {
    display: inline-block;
    max-width: 140px;
    margin: 0 10px;
  }
  #diary .weight-form .btn-box .btn.large {
    margin: 0 auto 10px;
  }
}
@media (max-width: 639px) {
  #diary .weight-form dl.half,
  #initiate .weight-form dl.half {
    display: block;
    width: 100%;
  }
  #diary .weight-form dl.pdr,
  #diary .weight-form dl.pdl {
    padding-left: 0;
    padding-right: 0;
  }
}
/** Weight Table **/
#diary .weight-table,
#initiate .weight-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 20px 0 0;
}

#diary .weight-table thead th,
#initiate .weight-table thead th {
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  color: #fff;
  border: none;
  background: #333;
  padding: 8px 10px;
  text-align: center;
}

#diary .weight-table thead th.del {
  width: 160px;
}

#diary .weight-table thead th:not(.del) {
  width: calc(25% - 40px);
}

#diary .weight-table tbody th,
#diary .weight-table tbody td,
#initiate .weight-table tbody th,
#initiate .weight-table tbody td {
  position: relative;
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  text-align: center;
  padding: 8px 10px;
}

#initiate .weight-table tbody th,
#initiate .weight-table tbody td {
  font-size: 1.0625rem;
}

#diary .weight-table tbody tr:nth-child(odd),
#initiate .weight-table tbody tr:nth-child(odd) {
  background: #f6f6f6;
}

#diary .weight-table tbody tr:last-child th,
#diary .weight-table tbody tr:last-child td {
  padding-bottom: 9px;
}

#diary .weight-table tbody tr:last-child th:after,
#diary .weight-table tbody tr:last-child td:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #bdbdbd;
  left: 0;
  bottom: 0;
}

#diary .weight-table tbody td.del a {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  color: #aaa;
  vertical-align: top;
}

#diary .weight-table tbody td.del a:hover {
  color: #888;
}

#diary .weight-table tbody .no-data td {
  background: #fff;
  padding: 18px 10px;
}

@media (max-width: 767px) {
  #diary .weight-table,
  #diary .weight-table tbody,
  #diary .weight-table tr,
  #diary .weight-table th,
  #diary .weight-table td {
    display: block;
    width: 100% !important;
  }
  #diary .weight-table thead {
    display: none;
  }
  #diary .weight-table tbody tr {
    border-bottom: 1px solid #bdbdbd;
    background-color: #fff !important;
    margin-bottom: 10px;
  }
  #diary .weight-table tbody th,
  #diary .weight-table tbody :not(.no-data) td:not(.del) {
    position: relative;
    text-align: left;
    padding: 2px 0 2px 110px !important;
  }
  #diary .weight-table tbody th:before,
  #diary .weight-table tbody :not(.no-data) td:not(.del):before {
    content: attr(title);
    display: block;
    position: absolute;
    color: #888;
    top: 2px;
    left: 0;
  }
  #diary .weight-table tbody th:after,
  #diary .weight-table tbody :not(.no-data) td:not(.del):after,
  #diary .weight-table tbody tr:last-child th:after,
  #diary .weight-table tbody tr:last-child td:not(.del):after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px 0 3px 5px;
    border-color: transparent transparent transparent #888;
    background: none;
    top: 11px;
    left: 90px;
    bottom: auto;
  }
  #diary .weight-table tbody td.del a {
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 1.125rem;
    color: #fff;
    background: #999;
    border-radius: 100%;
    vertical-align: top;
  }
  #diary .weight-table tbody td.del a:hover {
    color: #fff;
    background: #888;
  }
  #diary .weight-table tbody .no-data {
    border: none;
  }
  #diary .weight-table tbody .no-data td {
    background: #f6f6f6;
  }
}
/** Blood Table **/
#diary .blood-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 20px 0 0;
}

#diary .blood-table thead th {
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  color: #fff;
  border: none;
  background: #333;
  padding: 8px 10px;
  text-align: center;
}

#diary .blood-table thead th {
  width: calc(20% - 50px);
}

#diary .blood-table thead th.date {
  width: 150px;
}

#diary .blood-table thead th.del {
  width: 100px;
}

#diary .blood-table tbody th,
#diary .blood-table tbody td {
  position: relative;
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  text-align: center;
  padding: 8px 10px;
}

#diary .blood-table tbody tr:nth-child(odd) {
  background: #f6f6f6;
}

#diary .blood-table tbody tr:last-child th,
#diary .blood-table tbody tr:last-child td {
  padding-bottom: 9px;
}

#diary .blood-table tbody tr:last-child th:after,
#diary .blood-table tbody tr:last-child td:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #bdbdbd;
  left: 0;
  bottom: 0;
}

#diary .blood-table tbody td.del a {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  color: #aaa;
  vertical-align: top;
}

#diary .blood-table tbody td.del a:hover {
  color: #888;
}

#diary .blood-table tbody .no-data td {
  background: #fff;
  padding: 18px 10px;
}

@media (max-width: 991px) {
  #diary .blood-table,
  #diary .blood-table tbody,
  #diary .blood-table tr,
  #diary .blood-table th,
  #diary .blood-table td {
    display: block;
    width: 100% !important;
  }
  #diary .blood-table thead {
    display: none;
  }
  #diary .blood-table tbody tr {
    border-bottom: 1px solid #bdbdbd;
    background-color: #fff !important;
    margin-bottom: 10px;
  }
  #diary .blood-table tbody th,
  #diary .blood-table tbody :not(.no-data) td:not(.del) {
    position: relative;
    text-align: left;
    padding: 2px 0 2px 140px !important;
  }
  #diary .blood-table tbody th:before,
  #diary .blood-table tbody :not(.no-data) td:not(.del):before {
    content: attr(title);
    display: block;
    position: absolute;
    color: #888;
    top: 2px;
    left: 0;
  }
  #diary .blood-table tbody th:after,
  #diary .blood-table tbody :not(.no-data) td:not(.del):after,
  #diary .blood-table tbody tr:last-child th:after,
  #diary .blood-table tbody tr:last-child td:not(.del):after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px 0 3px 5px;
    border-color: transparent transparent transparent #888;
    background: none;
    top: 11px;
    left: 120px;
    bottom: auto;
  }
  #diary .blood-table tbody td.del a {
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 1.125rem;
    color: #fff;
    background: #999;
    border-radius: 100%;
    vertical-align: top;
  }
  #diary .blood-table tbody td.del a:hover {
    color: #fff;
    background: #888;
  }
  #diary .blood-table tbody .no-data {
    border: none;
  }
  #diary .blood-table tbody .no-data td {
    background: #f6f6f6;
  }
}
/** Sugar Table **/
#diary .sugar-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 20px 0 0;
}

#diary .sugar-table thead th {
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  color: #fff;
  border: none;
  background: #333;
  padding: 8px 10px;
  text-align: center;
}

#diary .sugar-table thead th {
  width: calc(33.333% - 90px);
}

#diary .sugar-table thead th.date {
  width: 170px;
}

#diary .sugar-table thead th.del {
  width: 100px;
}

#diary .sugar-table tbody th,
#diary .sugar-table tbody td {
  position: relative;
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  text-align: center;
  padding: 8px 10px;
}

#diary .sugar-table tbody tr:nth-child(odd) {
  background: #f6f6f6;
}

#diary .sugar-table tbody tr:last-child th,
#diary .sugar-table tbody tr:last-child td {
  padding-bottom: 9px;
}

#diary .sugar-table tbody tr:last-child th:after,
#diary .sugar-table tbody tr:last-child td:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #bdbdbd;
  left: 0;
  bottom: 0;
}

#diary .sugar-table tbody td.del a {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  color: #aaa;
  vertical-align: top;
}

#diary .sugar-table tbody td.del a:hover {
  color: #888;
}

#diary .sugar-table tbody .no-data td {
  background: #fff;
  padding: 18px 10px;
}

@media (max-width: 767px) {
  #diary .sugar-table,
  #diary .sugar-table tbody,
  #diary .sugar-table tr,
  #diary .sugar-table th,
  #diary .sugar-table td {
    display: block;
    width: 100% !important;
  }
  #diary .sugar-table thead {
    display: none;
  }
  #diary .sugar-table tbody tr {
    border-bottom: 1px solid #bdbdbd;
    background-color: #fff !important;
    margin-bottom: 10px;
  }
  #diary .sugar-table tbody th,
  #diary .sugar-table tbody :not(.no-data) td:not(.del) {
    position: relative;
    text-align: left;
    padding: 2px 0 2px 140px !important;
  }
  #diary .sugar-table tbody th:before,
  #diary .sugar-table tbody :not(.no-data) td:not(.del):before {
    content: attr(title);
    display: block;
    position: absolute;
    color: #888;
    top: 2px;
    left: 0;
  }
  #diary .sugar-table tbody th:after,
  #diary .sugar-table tbody :not(.no-data) td:not(.del):after,
  #diary .sugar-table tbody tr:last-child th:after,
  #diary .sugar-table tbody tr:last-child td:not(.del):after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px 0 3px 5px;
    border-color: transparent transparent transparent #888;
    background: none;
    top: 11px;
    left: 120px;
    bottom: auto;
  }
  #diary .sugar-table tbody td.del a {
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 1.125rem;
    color: #fff;
    background: #999;
    border-radius: 100%;
    vertical-align: top;
  }
  #diary .sugar-table tbody td.del a:hover {
    color: #fff;
    background: #888;
  }
  #diary .sugar-table tbody .no-data {
    border: none;
  }
  #diary .sugar-table tbody .no-data td {
    background: #f6f6f6;
  }
}
/** Temp Table **/
#diary .temp-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 20px 0 0;
}

#diary .temp-table thead th {
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  color: #fff;
  border: none;
  background: #333;
  padding: 8px 10px;
  text-align: center;
}

#diary .temp-table thead th {
  width: calc(50% - 150px);
}

#diary .temp-table thead th.date {
  width: 180px;
}

#diary .temp-table thead th.del {
  width: 120px;
}

#diary .temp-table tbody th,
#diary .temp-table tbody td {
  position: relative;
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  text-align: center;
  padding: 8px 10px;
}

#diary .temp-table tbody tr:nth-child(odd) {
  background: #f6f6f6;
}

#diary .temp-table tbody tr:last-child th,
#diary .temp-table tbody tr:last-child td {
  padding-bottom: 9px;
}

#diary .temp-table tbody tr:last-child th:after,
#diary .temp-table tbody tr:last-child td:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #bdbdbd;
  left: 0;
  bottom: 0;
}

#diary .temp-table tbody td.del a {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  color: #aaa;
  vertical-align: top;
}

#diary .temp-table tbody td.del a:hover {
  color: #888;
}

#diary .temp-table tbody .no-data td {
  background: #fff;
  padding: 18px 10px;
}

@media (max-width: 767px) {
  #diary .temp-table,
  #diary .temp-table tbody,
  #diary .temp-table tr,
  #diary .temp-table th,
  #diary .temp-table td {
    display: block;
    width: 100% !important;
  }
  #diary .temp-table thead {
    display: none;
  }
  #diary .temp-table tbody tr {
    border-bottom: 1px solid #bdbdbd;
    background-color: #fff !important;
    margin-bottom: 10px;
  }
  #diary .temp-table tbody th,
  #diary .temp-table tbody :not(.no-data) td:not(.del) {
    position: relative;
    text-align: left;
    padding: 2px 0 2px 140px !important;
  }
  #diary .temp-table tbody th:before,
  #diary .temp-table tbody :not(.no-data) td:not(.del):before {
    content: attr(title);
    display: block;
    position: absolute;
    color: #888;
    top: 2px;
    left: 0;
  }
  #diary .temp-table tbody th:after,
  #diary .temp-table tbody :not(.no-data) td:not(.del):after,
  #diary .temp-table tbody tr:last-child th:after,
  #diary .temp-table tbody tr:last-child td:not(.del):after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px 0 3px 5px;
    border-color: transparent transparent transparent #888;
    background: none;
    top: 11px;
    left: 120px;
    bottom: auto;
  }
  #diary .temp-table tbody td.del a {
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 1.125rem;
    color: #fff;
    background: #999;
    border-radius: 100%;
    vertical-align: top;
  }
  #diary .temp-table tbody td.del a:hover {
    color: #fff;
    background: #888;
  }
  #diary .temp-table tbody .no-data {
    border: none;
  }
  #diary .temp-table tbody .no-data td {
    background: #f6f6f6;
  }
}
/** BMI **/
#diary .bmi {
  font-size: 0;
  margin-top: 20px;
}

#diary .bmi .left,
#diary .bmi .right {
  display: inline-block;
  position: relative;
  width: 50%;
  vertical-align: middle;
  overflow: hidden;
}

#diary .bmi .left {
  padding: 0 120px;
}

#diary .bmi .left .head {
  line-height: 30px;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 20px;
}

#diary .bmi .left .head img {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  margin-right: 5px;
  -ms-transform: translateY(-1px);
      transform: translateY(-1px);
  -moz-transform: translateY(-1px);
  -webkit-transform: translateY(-1px);
}

#diary .bmi .left .bmi-data {
  position: relative;
}

#diary .bmi .left .record {
  font-size: 0;
}

#diary .bmi .left .record > div {
  display: inline-block;
  line-height: 30px;
  font-size: 0.875rem;
  vertical-align: top;
  margin-right: 15px;
}

#diary .bmi .left .record > div:last-child {
  margin-right: 0;
}

#diary .bmi .left .record > div span {
  color: #666;
  margin-left: 5px;
}

#diary .bmi .left .field {
  margin: 20px 0 0;
}

#diary .bmi .left .field dt {
  float: left;
  width: 100px;
  line-height: 34px;
  font-size: 0.875rem;
  font-weight: normal;
}

#diary .bmi .left .field dd {
  float: right;
  width: calc(100% - 100px);
}

#diary .bmi .left .field dd input {
  display: block;
  width: 100%;
  height: 34px;
  font-size: 0.875rem;
  border: 1px solid #e5e5e5;
  padding: 0 10px;
}

#diary .bmi .left .field dd input:focus {
  border-color: #d83d71;
}

#diary .bmi .left .btn-box {
  font-size: 0;
  text-align: center;
}

#diary .bmi .left .btn-box .btn {
  display: inline-block;
  width: 100%;
  max-width: 140px;
  height: 40px;
  line-height: 40px;
  font-size: 0.9375rem;
  color: #fff;
  border: none;
  border-radius: 0;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  vertical-align: top;
  margin: 0 5px;
  padding: 0;
}

#diary .bmi .left .btn-box .btn:hover,
#diary .bmi .left .btn-box .btn:focus,
#diary .bmi .left .btn-box .btn:active {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
}

#diary .bmi .left .btn-box .btn.reset {
  background: #999;
}

#diary .bmi .left .btn-box .btn.submit {
  background: #d83d71;
}

#diary .bmi .left [data-bmi-result] {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #dce6f1;
  top: 0;
  left: 40px;
  padding: 9px 15px;
  opacity: 0;
  -ms-transform: scale(0);
      transform: scale(0);
  -moz-transform: scale(0);
  -webkit-transform: scale(0);
  transition: left 0.3s, opacity 0.3s, -webkit-transform 0s 0.3s;
  transition: left 0.3s, opacity 0.3s, transform 0s 0.3s;
  transition: left 0.3s, opacity 0.3s, transform 0s 0.3s, -webkit-transform 0s 0.3s;
  -moz-transition: left 0.3s, opacity 0.3s, -moz-transform 0s 0.3s;
  -webkit-transition: left 0.3s, opacity 0.3s, -webkit-transform 0s 0.3s;
}

#diary .bmi .left [data-bmi-result].view {
  left: 0;
  opacity: 1;
  -ms-transform: scale(1);
      transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  transition: left 0.3s, opacity 0.3s, -webkit-transform 0s;
  transition: left 0.3s, opacity 0.3s, transform 0s;
  transition: left 0.3s, opacity 0.3s, transform 0s, -webkit-transform 0s;
  -moz-transition: left 0.3s, opacity 0.3s, -moz-transform 0s;
  -webkit-transition: left 0.3s, opacity 0.3s, -webkit-transform 0s;
}

#diary .bmi .left .result-value {
  line-height: 30px;
  font-size: 0.875rem;
  text-align: center;
}

#diary .bmi .left .result-value strong {
  display: block;
  line-height: 40px;
  font-size: 2rem;
  color: #d83d71;
}

#diary .bmi .left .result-note {
  line-height: 40px;
  font-size: 1.125rem;
  text-align: center;
  margin: 0 0 20px;
}

#diary .bmi .right {
  background: #f8f8f8;
  padding: 30px;
}

#diary .bmi .right .txt-title {
  line-height: 26px;
  font-size: 1rem;
  margin: 0 0 10px;
}

#diary .bmi .right .txt-summary {
  position: relative;
  line-height: 26px;
  font-size: 0.875rem;
  margin: 0;
  padding-bottom: 20px;
}

#diary .bmi .right .txt-summary.bot {
  color: #5e95cf;
  padding-bottom: 0;
}

#diary .bmi .right .txt-dl {
  display: inline-block;
  width: 100%;
  position: relative;
  border-top: 1px solid #fff;
  vertical-align: top;
  margin: 0;
  padding: 20px 0;
}

#diary .bmi .right .txt-dl.half {
  width: 50%;
}

#diary .bmi .right .txt-dl.pdr {
  padding-right: 10px;
}

#diary .bmi .right .txt-dl.pdl {
  padding-left: 10px;
}

#diary .bmi .right .txt-dl:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #ededed;
  top: -1px;
  left: 0;
}

#diary .bmi .right .txt-dl dt {
  display: inline-block;
  width: 140px;
  line-height: 40px;
  font-size: 0.9375rem;
  font-weight: normal;
  color: #fff;
  background: #e77005;
  text-align: center;
  vertical-align: middle;
}

#diary .bmi .right .txt-dl dd {
  display: inline-block;
  width: calc(100% - 140px);
  line-height: 26px;
  font-size: 0.875rem;
  vertical-align: middle;
  padding-left: 20px;
}

#diary .bmi .right .txt-dl dd span {
  display: inline-block;
  width: calc(50% - 3px);
  vertical-align: top;
}

#diary .bmi .right .txt-bot {
  position: relative;
  border-top: 1px solid #fff;
  padding-top: 20px;
}

#diary .bmi .right .txt-bot:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #ededed;
  top: -1px;
  left: 0;
}

@media (max-width: 1599px) {
  #diary .bmi .left {
    padding: 0 50px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  #diary .bmi .left {
    padding: 0 30px;
  }
  #diary .bmi .right {
    padding: 15px;
  }
  #diary .bmi .right .txt-dl {
    padding: 10px 0;
  }
  #diary .bmi .right .txt-dl.half {
    width: 100%;
  }
  #diary .bmi .right .txt-dl.pdr,
  #diary .bmi .right .txt-dl.pdl {
    padding-left: 0;
    padding-right: 0;
  }
  #diary .bmi .right .txt-dl dd span {
    display: block;
    width: 100%;
  }
}
@media (max-width: 991px) {
  #diary .bmi .left,
  #diary .bmi .right {
    display: block;
    width: 100%;
  }
  #diary .bmi .right {
    margin-top: 15px;
  }
}
@media (max-width: 639px) {
  #diary .bmi .left {
    padding: 0;
  }
  #diary .bmi .right {
    padding: 15px;
  }
  #diary .bmi .right .txt-dl {
    padding: 10px 0;
  }
  #diary .bmi .right .txt-dl.half {
    width: 100%;
  }
  #diary .bmi .right .txt-dl.pdr,
  #diary .bmi .right .txt-dl.pdl {
    padding-left: 0;
    padding-right: 0;
  }
  #diary .bmi .right .txt-dl dd span {
    display: block;
    width: 100%;
  }
}
@media (max-width: 419px) {
  #diary .bmi .left .btn-box .btn {
    display: block;
    margin: 5px auto;
  }
}
/** Chart **/
#chart-pc, #chart-mb {
  margin-top: 20px;
}

#diary .chart-note {
  font-size: 0;
  text-align: center;
  margin: 20px 0;
}

#diary .chart-note > div {
  display: inline-block;
  vertical-align: top;
  margin: 0 10px;
}

#diary .chart-note .line-dot {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 26px;
  vertical-align: top;
}

#diary .chart-note .line-dot i {
  display: block;
  position: absolute;
  width: 100%;
  height: 4px;
  top: 11px;
  left: 0;
}

#diary .chart-note .line-dot i:before {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  top: -3px;
  left: 50%;
  margin-left: -5px;
}

#diary .chart-note .line-dot.red i,
#diary .chart-note .line-dot.red i:before {
  background: #d83d71;
}

#diary .chart-note .line-dot.blue i,
#diary .chart-note .line-dot.blue i:before {
  background: #5e95cf;
}

#diary .chart-note .line-dot.yellow i,
#diary .chart-note .line-dot.yellow i:before {
  background: #F3C541;
}

#diary .chart-note .line-dot.green i,
#diary .chart-note .line-dot.green i:before {
  background: #1cd81c;
}

#diary .chart-note > div p {
  display: inline-block;
  line-height: 26px;
  font-size: 0.875rem;
  vertical-align: top;
  margin: 0 0 0 5px;
}

@media (max-width: 991px) {
  #diary .chart-note .line-dot i {
    height: 10px;
    top: 8px;
    opacity: 0.75;
  }
  #diary .chart-note .line-dot i:before {
    display: none;
  }
}
/* Life Style */
/** Spot **/
#spot .map-wrap {
  font-size: 0;
  background: url("../images/spot_map_bg.jpg") center bottom no-repeat;
  background-size: cover;
  margin: 40px -50px 0;
  padding: 70px 0;
}

#spot .map-wrap .map-box {
  display: inline-block;
  position: relative;
  width: 640px;
  vertical-align: middle;
}

#spot .map-wrap .map-box .map-svg-wrap {
  position: relative;
  height: 0;
  padding-bottom: 84.375%;
}

#spot .map-wrap .map-box #map-svg {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#spot .map-wrap .map-box #map-svg path {
  cursor: pointer;
  transition: fill 0.3s;
  -moz-transition: fill 0.3s;
  -webkit-transition: fill 0.3s;
}

#spot .map-wrap .map-box #map-svg path:hover,
#spot .map-wrap .map-box #map-svg path.hover,
#spot .map-wrap .map-box #map-svg path.current {
  fill: #d83d71;
}

#spot .map-wrap .txt {
  display: inline-block;
  position: relative;
  width: 450px;
  height: 350px;
  background: #fff;
  vertical-align: middle;
  margin-left: 155px;
  padding: 45px;
}

#spot .map-wrap .txt:before {
  content: "";
  display: block;
  position: absolute;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  border: 1px solid #fcf0f4;
  top: 15px;
  left: 15px;
}

#spot .map-wrap .txt:after {
  content: "";
  display: block;
  position: absolute;
  width: 530px;
  height: 165px;
  background: url("../images/spot_txt_ico.png") no-repeat;
  background-size: cover;
  right: -10px;
  bottom: -50px;
}

#spot .map-wrap .txt > * {
  position: relative;
}

#spot .map-wrap .txt .line {
  position: absolute;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  top: 15px;
  left: 15px;
}

#spot .map-wrap .txt .line > i {
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
}

#spot .map-wrap .txt .line > i:nth-child(1) {
  border-top: 1px solid #d83d71;
  border-left: 1px solid #d83d71;
  top: 0;
  left: 0;
}

#spot .map-wrap .txt .line > i:nth-child(2) {
  border-top: 1px solid #d83d71;
  border-right: 1px solid #d83d71;
  top: 0;
  right: 0;
}

#spot .map-wrap .txt .line > i:nth-child(3) {
  border-left: 1px solid #d83d71;
  border-bottom: 1px solid #d83d71;
  left: 0;
  bottom: 0;
}

#spot .map-wrap .txt .line > i:nth-child(4) {
  border-right: 1px solid #d83d71;
  border-bottom: 1px solid #d83d71;
  right: 0;
  bottom: 0;
}

#spot .map-wrap .txt .summary {
  line-height: 30px;
  font-size: 0.9375rem;
  text-align: center;
  margin: 20px 0 0;
}

#spot .spot-list-wrap {
  position: relative;
  background: #f8f8f8;
  margin: 0 -50px;
  padding: 40px 0 80px;
}

#spot .spot-list-wrap .container {
  opacity: 0;
  -ms-transform: translateY(40px);
      transform: translateY(40px);
  -moz-transform: translateY(40px);
  -webkit-transform: translateY(40px);
  transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, transform 0.5s;
  transition: opacity 0.5s, transform 0.5s, -webkit-transform 0.5s;
  -moz-transition: opacity 0.5s, -moz-transform 0.5s;
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
}

#spot .spot-list-wrap .container.scroll-view {
  opacity: 1;
  -ms-transform: translateY(0);
      transform: translateY(0);
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
}

#spot .spot-list-wrap .head {
  position: relative;
  background: url("../images/inews_line.png") bottom repeat-x;
  padding-bottom: 25px;
}

#spot .spot-list-wrap .head .region {
  line-height: 36px;
  font-size: 1.5rem;
  font-weight: bold;
  background: url("../images/spot_list_ico.png") 10px center no-repeat;
  margin: 0;
  padding-left: 40px;
  padding-right: 150px;
}

#spot .spot-list-wrap .head .note {
  position: absolute;
  line-height: 30px;
  font-size: 0.875rem;
  right: 0;
  bottom: 25px;
  margin: 0;
}

#spot .spot-list-wrap .spot-list {
  font-size: 0;
}

#spot .spot-list-wrap .spot-list li {
  display: inline-block;
  width: calc(25% - 21px);
  vertical-align: top;
  margin-top: 40px;
  margin-right: 28px;
}

#spot .spot-list-wrap .spot-list li:nth-child(4n) {
  margin-right: 0;
}

#spot .spot-list-wrap .spot-list-item {
  border: 1px solid #eee;
  background: #fff;
  padding: 10px;
}

#spot .spot-list-wrap .spot-list-item .info {
  position: relative;
  margin-top: 10px;
  padding: 5px 45px 5px 5px;
}

#spot .spot-list-wrap .spot-list-item .info .name {
  line-height: 26px;
  font-size: 0.9375rem;
  margin: 0;
}

#spot .spot-list-wrap .spot-list-item .info .map {
  display: block;
  position: absolute;
  width: 36px;
  height: 36px;
  background: url("../images/spot_map_ico.png") no-repeat;
  top: 0;
  right: 0;
  transition: background 0.3s;
  -moz-transition: background 0.3s;
  -webkit-transition: background 0.3s;
}

#spot .spot-list-wrap .spot-list-item .info .map:hover {
  background-position: 0 -36px;
}

@media (min-width: 1200px) {
  #spot .map-wrap .map-box .map-links {
    position: static;
  }
  #spot .map-wrap .map-box .map-links .btn {
    display: none;
  }
  #spot .map-wrap .map-box .map-links .dropdown-menu {
    display: block !important;
    position: static;
    top: auto;
    left: auto;
    z-index: inherit;
    float: none;
    min-width: auto;
    background: none;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    margin: 0;
    padding: 0;
  }
  #spot .map-wrap .map-box .map-links .dropdown-menu a {
    display: block;
    position: absolute;
    line-height: 26px;
    font-size: 0.9375rem;
    color: #fff;
    background: none !important;
    padding: 0;
  }
  #spot .map-wrap .map-box .map-links a.link-1 {
    top: 35px;
    left: 235px;
  }
  #spot .map-wrap .map-box .map-links a.link-2 {
    top: 70px;
    left: 275px;
  }
  #spot .map-wrap .map-box .map-links a.link-3 {
    top: 105px;
    left: 320px;
  }
  #spot .map-wrap .map-box .map-links a.link-4 {
    top: 140px;
    left: 140px;
  }
  #spot .map-wrap .map-box .map-links a.link-5 {
    top: 145px;
    left: 210px;
  }
  #spot .map-wrap .map-box .map-links a.link-6 {
    top: 190px;
    left: 165px;
  }
  #spot .map-wrap .map-box .map-links a.link-7 {
    top: 190px;
    left: 230px;
  }
  #spot .map-wrap .map-box .map-links a.link-8 {
    top: 220px;
    left: 110px;
  }
  #spot .map-wrap .map-box .map-links a.link-9 {
    top: 260px;
    left: 195px;
  }
  #spot .map-wrap .map-box .map-links a.link-10 {
    top: 255px;
    left: 275px;
  }
  #spot .map-wrap .map-box .map-links a.link-11 {
    top: 195px;
    left: 365px;
  }
  #spot .map-wrap .map-box .map-links a.link-12 {
    top: 280px;
    left: 65px;
  }
  #spot .map-wrap .map-box .map-links a.link-13 {
    top: 320px;
    left: 140px;
  }
  #spot .map-wrap .map-box .map-links a.link-14 {
    top: 380px;
    left: 220px;
  }
  #spot .map-wrap .map-box .map-links a.link-15 {
    top: 360px;
    left: 415px;
  }
  #spot .map-wrap .map-box .map-links a.link-16 {
    top: 370px;
    left: 40px;
  }
  #spot .map-wrap .map-box .map-links a.link-17 {
    top: 400px;
    left: 120px;
  }
  #spot .map-wrap .map-box .map-links a.link-18 {
    top: 470px;
    left: 200px;
  }
}
@media (max-width: 1599px) {
  #spot .map-wrap {
    margin: 40px -15px 0;
  }
  #spot .map-wrap .txt {
    width: 400px;
    margin-left: 100px;
  }
  #spot .spot-list-wrap {
    margin: 0 -15px;
  }
  #spot .spot-list-wrap .spot-list li {
    width: calc(25% - 15px);
    margin-top: 30px;
    margin-right: 20px;
  }
}
@media (max-width: 1199px) {
  #spot .map-wrap {
    background: none;
    margin: 0;
    padding: 20px 0;
  }
  #spot .map-wrap .map-box {
    display: block;
    width: 100%;
  }
  #spot .map-wrap .map-box .map-svg-wrap,
  #spot .map-wrap .txt {
    display: none;
  }
  #spot .map-wrap .map-links {
    width: 100%;
    max-width: 200px;
    margin: auto;
  }
  #spot .map-wrap .map-links .btn {
    display: block;
    position: relative;
    width: 100%;
    height: 34px;
    font-size: 0.875rem;
    border: 1px solid #e5e5e5;
    background: #fff;
    border-radius: 0;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    text-align: left;
    padding: 0 50px 0 10px;
  }
  #spot .map-wrap .map-links.open .btn {
    border-color: #d83d71;
  }
  #spot .map-wrap .map-links .btn:before {
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    height: 24px;
    background: #e5e5e5;
    top: 4px;
    right: 30px;
  }
  #spot .map-wrap .map-links .btn:after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 4px 0 4px;
    border-color: #222 transparent transparent transparent;
    top: 13px;
    right: 11px;
  }
  #spot .map-wrap .map-links .dropdown-menu {
    min-width: 100%;
    max-height: 178px;
    margin: 0;
    border-color: #d83d71;
    border-top: none;
    border-radius: 0;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    overflow-y: auto;
  }
  #spot .map-wrap .map-links .dropdown-menu > li > a {
    line-height: 20px;
    font-size: 0.875rem;
    color: #222;
    padding: 4px 10px;
  }
  #spot .map-wrap .map-links .dropdown-menu > li.current > a {
    color: #d83d71;
  }
  #spot .spot-list-wrap {
    margin: 0;
  }
  #spot .spot-list-wrap .spot-list li {
    width: calc(33.333% - 13.333px);
  }
  #spot .spot-list-wrap .spot-list li:nth-child(4n) {
    margin-right: 20px;
  }
  #spot .spot-list-wrap .spot-list li:nth-child(3n) {
    margin-right: 0;
  }
}
@media (max-width: 767px) {
  #spot .spot-list-wrap .spot-list li {
    width: calc(50% - 5px);
    margin-top: 10px;
    margin-right: 10px;
  }
  #spot .spot-list-wrap .spot-list li:nth-child(4n),
  #spot .spot-list-wrap .spot-list li:nth-child(3n) {
    margin-right: 10px;
  }
  #spot .spot-list-wrap .spot-list li:nth-child(2n) {
    margin-right: 0;
  }
}
@media (max-width: 419px) {
  #spot .spot-list-wrap .spot-list li {
    width: 100%;
    margin-right: 0 !important;
  }
}
.record-wrap {
  margin: -30px auto 20px auto;
}

.record-wrap .title {
  font-size: 0.9375rem;
  text-align: center;
  margin: 0 auto 10px auto;
  position: relative;
}

.record-wrap .title:before {
  content: "";
  display: inline-block;
  vertical-align: top;
  margin: 7px 5px 0 0;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #d83d71;
}

.record-wrap .title.blue:before {
  border-color: transparent transparent transparent #56b2d4;
}

@media (max-width: 639px) {
  .record-wrap {
    margin: 0 auto 20px auto;
  }
  .record-wrap .title {
    display: block;
  }
}
/* News List */
#news,
#initiate {
  position: relative;
}

#news:before,
#initiate:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: calc(100% - 500px);
  top: 500px;
  left: 0;
  pointer-events: none;
  background: rgb(255, 255, 255);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgb(255, 255, 255)), color-stop(100%, rgb(248, 248, 248)));
  background: -webkit-gradient(linear, left top, left bottom, from(rgb(255, 255, 255)), to(rgb(248, 248, 248)));
  background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgb(248, 248, 248) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#ffffff", endColorstr="#f8f8f8", GradientType=0 );
}

#news > *,
#initiate > * {
  position: relative;
}

#news .news-list {
  margin-top: 50px;
}

#news .news-list-item {
  position: relative;
  margin-bottom: 30px;
  opacity: 0;
  -ms-transform: translateY(40px);
      transform: translateY(40px);
  -moz-transform: translateY(40px);
  -webkit-transform: translateY(40px);
  transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, transform 0.5s;
  transition: opacity 0.5s, transform 0.5s, -webkit-transform 0.5s;
  -moz-transition: opacity 0.5s, -moz-transform 0.5s;
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
}

#news .news-list-item.scroll-view {
  opacity: 1;
  -ms-transform: translateY(0);
      transform: translateY(0);
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
}

#news .news-list-item > a {
  display: block;
  position: relative;
  font-size: 0;
}

#news .news-list-item > a:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid #eee;
  background: #fff;
  transition: border 0.3s, background 0.3s;
  -moz-transition: border 0.3s, background 0.3s;
  -webkit-transition: border 0.3s, background 0.3s;
}

#news .news-list-item > a:hover:before {
  border-color: #d83d71;
  background: #d83d71;
}

#news .news-list-item .pic {
  display: inline-block;
  position: relative;
  width: 560px;
  vertical-align: middle;
}

#news .news-list-item .pic:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}

#news .news-list-item > a:hover .pic:after {
  opacity: 1;
}

#news .news-list-item .txt {
  display: inline-block;
  position: relative;
  width: calc(100% - 560px);
  vertical-align: middle;
  padding: 0 100px 0 75px;
}

#news .news-list-item .subject {
  position: relative;
  line-height: 26px;
  font-size: 1rem;
  font-weight: bold;
  color: #222;
  margin: 0;
  padding-bottom: 10px;
  transition: color 0.3s;
  -moz-transition: color 0.3s;
  -webkit-transition: color 0.3s;
}

#news .news-list-item .subject:after {
  content: "";
  display: block;
  position: absolute;
  width: 70px;
  height: 1px;
  background: #72beea;
  left: 0;
  bottom: 0;
}

#news .news-list-item .summary {
  max-height: 130px;
  line-height: 26px;
  font-size: 0.875rem;
  color: #222;
  margin: 10px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
  -moz-transition: color 0.3s;
  -webkit-transition: color 0.3s;
}

#news .news-list-item > a:hover .subject,
#news .news-list-item > a:hover .summary {
  color: #fff;
}

#news .news-list-item .more {
  display: block;
  position: relative;
  width: 100px;
  line-height: 35px;
  font-size: 0.8125rem;
  color: #222;
  border: 1px solid #dcdcdc;
  background: #fff;
  margin: 20px 0 0;
  padding: 0 44px 0 20px;
  transition: width 0.3s;
  -moz-transition: width 0.3s;
  -webkit-transition: width 0.3s;
}

#news .news-list-item > a:hover .more {
  width: 115px;
}

#news .news-list-item .more:before {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 1px;
  background: #5e95ce;
  top: 17px;
  right: 25px;
  transition: width 0.3s;
  -moz-transition: width 0.3s;
  -webkit-transition: width 0.3s;
}

#news .news-list-item > a:hover .more:before {
  width: 25px;
}

#news .news-list-item .more:after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3.5px 0 3.5px 5px;
  border-color: transparent transparent transparent #5e95ce;
  top: 14px;
  right: 20px;
}

#news .news-list-item .view-count {
  display: block;
  font-size: 0.875rem;
  color: #888;
  margin: 20px 0 0 0;
  opacity: 0.75;
}

#news .news-list-item > a:hover .view-count {
  color: #fff;
}

@media (max-width: 1599px) {
  #news .news-list-item .pic {
    width: 500px;
  }
  #news .news-list-item .txt {
    width: calc(100% - 500px);
    padding: 0 75px 0 50px;
  }
}
@media (max-width: 1199px) {
  #news .news-list-item .pic {
    width: 400px;
  }
  #news .news-list-item .txt {
    width: calc(100% - 400px);
    padding: 0 30px;
  }
  #news .news-list-item .subject {
    max-height: 62px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #news .news-list-item .summary {
    max-height: 144px;
    -webkit-line-clamp: 4;
  }
}
@media (max-width: 991px) {
  #news .news-list-item .pic {
    width: 280px;
  }
  #news .news-list-item .txt {
    width: calc(100% - 280px);
    padding: 0 20px;
  }
  #news .news-list-item .subject {
    max-height: 53px;
    line-height: 24px;
    font-size: 0.9375rem;
    padding-bottom: 5px;
  }
  #news .news-list-item .summary {
    max-height: 78px;
    line-height: 24px;
    -webkit-line-clamp: 3;
    margin-top: 5px;
  }
  #news .news-list-item .more {
    width: 80px;
    line-height: 29px;
    margin-top: 10px;
    padding: 0 34px 0 10px;
  }
  #news .news-list-item > a:hover .more {
    width: 95px;
  }
  #news .news-list-item .more:before {
    top: 14px;
    right: 17px;
  }
  #news .news-list-item .more:after {
    top: 11px;
    right: 12px;
  }
}
@media (max-width: 543px) {
  #news .news-list-item .pic {
    display: block;
    width: 100%;
  }
  #news .news-list-item .txt {
    display: block;
    width: 100%;
    padding: 10px 15px 15px;
  }
  #news .news-list-item .subject,
  #news .news-list-item .summary {
    display: block;
    max-height: none;
    -webkit-line-clamp: initial;
  }
}
/* News View */
#news .view-inner,
#initiate .view-inner {
  background: #fff;
  margin-bottom: 80px;
  padding: 50px;
}

#initiate .view-inner {
  padding-top: 10px;
}

#news .view-inner .head .subject {
  line-height: 36px;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

#news .view-inner .head .date {
  background: url("../images/inews_line.png") 0 6px repeat-x;
  margin-top: 5px;
}

#news .view-inner .head .date span {
  display: inline-block;
  line-height: 26px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #d83d71;
  background: #fff;
  vertical-align: top;
  padding-right: 40px;
}

#news .view-inner .video-iframe {
  position: relative;
  height: 0;
  margin-top: 20px;
  padding-bottom: 56.25%;
}

#news .view-inner .video-iframe iframe {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#news .view-inner .content,
#initiate .view-inner .content {
  margin: 20px 0;
}

#news .view-inner .p-back {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  #news .view-inner {
    padding: 25px;
  }
  #news .view-inner .head .subject {
    line-height: 30px;
    font-size: 1.25rem;
  }
  #news .view-inner .head .date {
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  #news .view-inner {
    padding: 15px;
  }
}
/* Blog List */
#blog .blog-list {
  margin-top: 50px;
  overflow: hidden;
}

#blog .blog-list ul {
  margin: 0 -13px;
}

#blog .blog-list ul li[data-masonry-item] {
  width: calc(25% - 26px);
  margin: 0 13px 25px 13px;
}

#blog .blog-list .blog-list-item {
  display: block;
}

#blog .blog-list .blog-list-item .pic {
  position: relative;
  overflow: hidden;
}

#blog .blog-list .blog-list-item .pic:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}

#blog .blog-list .blog-list-item:hover .pic:after {
  opacity: 1;
}

#blog .blog-list ul li[data-masonry-item] {
  display: inline-block;
  border: 1px solid #eee;
  vertical-align: top;
}

#blog .blog-list ul li[data-masonry-item] .pic img {
  position: relative;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  -moz-transition: transform 0.3s;
  -webkit-transition: transform 0.3s;
}

#blog .blog-list ul li[data-masonry-item]:hover .pic img {
  -ms-transform: scale(1.2);
      transform: scale(1.2);
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
}

#blog .blog-list .txt .blog-list-item {
  color: #222;
  padding: 15px 25px 20px;
  -webkit-transition: color 0.3s, border 0.3s, background 0.3s;
  transition: color 0.3s, border 0.3s, background 0.3s;
}

#blog .blog-list li[data-masonry-item]:hover {
  border-color: #d83d71;
  background: #d83d71;
}

#blog .blog-list li[data-masonry-item]:hover .txt {
  color: #fff;
}

#blog .blog-list li[data-masonry-item]:hover .txt a {
  color: #fff;
}

#blog .blog-list .blog-list-item .subject {
  position: relative;
  line-height: 30px;
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  padding-bottom: 10px;
}

#blog .blog-list .blog-list-item .subject:after {
  content: "";
  display: block;
  position: absolute;
  width: 70px;
  height: 1px;
  background: #72beea;
  left: 0;
  bottom: 0;
}

#blog .blog-list .blog-list-item .summary {
  line-height: 28px;
  font-size: 0.875rem;
  margin: 10px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 112px;
}

#blog .blog-list .blog-list-item .view-count {
  display: block;
  line-height: 24px;
  font-size: 0.875rem;
  opacity: 0.75;
  margin-top: 10px;
}

#blog .blog-list .blog-list-item .more {
  display: block;
  position: relative;
  width: 100px;
  line-height: 35px;
  font-size: 0.8125rem;
  color: #222;
  border: 1px solid #dcdcdc;
  background: #fff;
  margin: 20px 0 0;
  padding: 0 44px 0 20px;
  transition: width 0.3s;
  -moz-transition: width 0.3s;
  -webkit-transition: width 0.3s;
}

#blog .blog-list .blog-list-item:hover .more {
  width: 115px;
}

#blog .blog-list .blog-list-item .more:before {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 1px;
  background: #5e95ce;
  top: 17px;
  right: 25px;
  transition: width 0.3s;
  -moz-transition: width 0.3s;
  -webkit-transition: width 0.3s;
}

#blog .blog-list .blog-list-item:hover .more:before {
  width: 25px;
}

#blog .blog-list .blog-list-item .more:after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3.5px 0 3.5px 5px;
  border-color: transparent transparent transparent #5e95ce;
  top: 14px;
  right: 20px;
}

#blog .blog-list .share,
#ebook .ebook-list .list-share {
  margin-top: 15px;
}

.list-share .blog-list-item,
.list-share a[data-chkauth] {
  display: none !important;
}

.list-share .p-share {
  margin: 0 0 30px;
}

@media (max-width: 1199px) {
  #blog .blog-list ul {
    margin: 0 -12px;
  }
  #blog .blog-list ul li[data-masonry-item] {
    width: calc(33.333% - 24px);
    margin: 0 12px 25px 12px;
  }
}
@media (max-width: 991px) {
  #blog .blog-list ul {
    margin: 0 -10px;
  }
  #blog .blog-list ul li[data-masonry-item] {
    width: calc(50% - 20px);
    margin: 0 10px 25px 10px;
  }
  #blog .blog-list .blog-list-item .txt {
    padding: 10px 15px 20px;
  }
  #blog .blog-list .blog-list-item .subject {
    line-height: 26px;
    font-size: 0.9375rem;
    padding-bottom: 5px;
  }
  #blog .blog-list .blog-list-item .summary {
    line-height: 24px;
    margin-top: 5px;
  }
  #blog .blog-list .blog-list-item .more {
    width: 80px;
    line-height: 29px;
    margin-top: 10px;
    padding: 0 34px 0 10px;
  }
  #blog .blog-list .blog-list-item:hover .more {
    width: 95px;
  }
  #blog .blog-list .blog-list-item .more:before {
    top: 14px;
    right: 17px;
  }
  #blog .blog-list .blog-list-item .more:after {
    top: 11px;
    right: 12px;
  }
}
@media (max-width: 479px) {
  #blog .blog-list ul {
    margin: 0;
  }
  #blog .blog-list ul li[data-masonry-item] {
    width: 100%;
    margin: 0 auto 15px auto;
  }
}
/** Hospital **/
#link .hospital-select {
  font-size: 0;
  text-align: right;
}

#link .hospital-select span {
  display: inline-block;
  line-height: 40px;
  font-size: 0.875rem;
  vertical-align: middle;
}

#link .hospital-select .dropdown {
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
}

#link .hospital-select .dropdown .btn {
  display: block;
  position: relative;
  height: 40px;
  font-size: 0.875rem;
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 0;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  padding: 0 75px 0 10px;
}

#link .hospital-select .dropdown.open .btn {
  border-color: #d83d71;
}

#link .hospital-select .dropdown .btn:before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 26px;
  background: #e5e5e5;
  top: 6px;
  right: 40px;
}

#link .hospital-select .dropdown .btn:after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 4px 0 4px;
  border-color: #222 transparent transparent transparent;
  top: 16px;
  right: 16px;
}

#link .hospital-select .dropdown .dropdown-menu {
  min-width: 100%;
  max-height: 178px;
  margin: 0;
  border-color: #d83d71;
  border-top: none;
  border-radius: 0;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  overflow-y: auto;
}

#link .hospital-select .dropdown .dropdown-menu > li > a {
  line-height: 20px;
  font-size: 0.875rem;
  color: #222;
  padding: 4px 10px;
}

#link .hospital-select .dropdown .dropdown-menu > li.current > a {
  color: #d83d71;
}

#link .hospital-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 20px 0;
}

#link .hospital-table thead th {
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  color: #fff;
  border: none;
  background: #333;
  padding: 8px 10px;
  text-align: center;
}

#link .hospital-table thead th.normal {
  width: 140px;
}

#link .hospital-table thead th.tel {
  width: 200px;
}

#link .hospital-table thead th.address {
  width: 400px;
}

#link .hospital-table thead th.map {
  width: 80px;
}

#link .hospital-table tbody tr:nth-child(odd) {
  background: #f6f6f6;
}

#link .hospital-table tbody th,
#link .hospital-table tbody td {
  position: relative;
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  text-align: center;
  padding: 8px 10px;
}

#link .hospital-table tbody tr:last-child th:after,
#link .hospital-table tbody tr:last-child td:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #bdbdbd;
  left: 0;
  bottom: 0;
}

#link .hospital-table tbody tr.no-data td {
  background: #fff;
  padding: 18px 10px;
}

#link .hospital-table tbody td .map-open {
  display: block;
  width: 36px;
  height: 36px;
  background: url(../images/spot_map_ico.png) no-repeat;
  margin: auto;
  transition: background 0.3s;
  -moz-transition: background 0.3s;
  -webkit-transition: background 0.3s;
}

#link .hospital-table tbody td .map-open:hover {
  background-position: 0 -36px;
}

@media (max-width: 1599px) {
  #link .hospital-table thead th.normal {
    width: 100px;
  }
  #link .hospital-table thead th.tel {
    width: 140px;
  }
  #link .hospital-table thead th.address {
    width: 240px;
  }
  #link .hospital-table thead th.map {
    width: 60px;
  }
}
@media (max-width: 991px) {
  #link .hospital-table thead {
    display: none;
  }
  #link .hospital-table,
  #link .hospital-table tbody,
  #link .hospital-table tbody tr,
  #link .hospital-table tbody th,
  #link .hospital-table tbody td {
    display: block;
    width: 100% !important;
  }
  #link .hospital-table tbody tr {
    border-bottom: 1px solid #bdbdbd;
    background-color: #fff !important;
    margin-bottom: 10px;
  }
  #link .hospital-table tbody tr.no-data {
    border: none;
  }
  #link .hospital-table tbody tr.no-data td {
    background: #f6f6f6;
  }
  #link .hospital-table tbody th,
  #link .hospital-table tbody td:not(:last-child) {
    position: relative;
    text-align: left;
    padding: 2px 0 2px 110px !important;
  }
  #link .hospital-table tbody th:before,
  #link .hospital-table tbody td:not(:last-child):before {
    content: attr(title);
    display: block;
    position: absolute;
    color: #888;
    top: 2px;
    left: 0;
  }
  #link .hospital-table tbody th:after,
  #link .hospital-table tbody td:not(:last-child):after,
  #link .hospital-table tbody tr:last-child th:after,
  #link .hospital-table tbody tr:last-child td:not(:last-child):after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px 0 3px 5px;
    border-color: transparent transparent transparent #888;
    background: none;
    top: 11px;
    left: 90px;
    bottom: auto;
  }
}
/* Videos */
#video .list {
  font-size: 0;
  margin-top: 40px;
}

#video .list .list-item {
  display: inline-block;
  width: calc(33.333% - 60px);
  vertical-align: top;
  margin: 0 30px 40px 30px;
  border: 1px solid #eee;
  background: #fff;
  transition: color 0.3s, border 0.3s, background 0.3s;
  -moz-transition: color 0.3s, border 0.3s, background 0.3s;
  -webkit-transition: color 0.3s, border 0.3s, background 0.3s;
}

#video .list .list-item > a {
  display: block;
}

#video .list .list-item .pic {
  position: relative;
  overflow: hidden;
}

#video .list .list-item .pic:before {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}

#video .list .list-item:hover .pic:before {
  opacity: 1;
}

#video .list .list-item .pic:after {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  width: 90px;
  height: 90px;
  background: url(../images/ivideo_play.png) no-repeat;
  background-size: cover;
  top: 50%;
  left: 50%;
  margin-top: -45px;
  margin-left: -45px;
  -ms-transform: scale(0.7);
      transform: scale(0.7);
  -moz-transform: scale(0.7);
  -webkit-transform: scale(0.7);
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  -webkit-transition: -webkit-transform 0.3s;
}

#video .list .list-item:hover .pic:after {
  -ms-transform: scale(1);
      transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
}

#video .list .list-item:hover {
  border-color: #d83d71;
  background: #d83d71;
}

#video .list .list-item .txt {
  color: #222;
  padding: 25px 15px;
}

#video .list .list-item .txt a {
  color: #222;
}

#video .list .list-item:hover .txt a {
  color: #fff;
}

#video .list .list-item:hover .txt {
  color: #fff;
}

#video .list .list-item .subject {
  position: relative;
  line-height: 30px;
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  padding-bottom: 10px;
}

#video .list .list-item .subject:after {
  content: "";
  display: block;
  position: absolute;
  width: 70px;
  height: 1px;
  background: #72beea;
  left: 0;
  bottom: 0;
}

#video .list .list-item .summary {
  max-height: 84px;
  line-height: 28px;
  font-size: 0.875rem;
  margin: 10px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#video .list .list-item .view-count {
  display: block;
  line-height: 24px;
  font-size: 0.875rem;
  opacity: 0.75;
  margin: 10px 0;
}

@media (max-width: 1599px) {
  #video .list .list-item {
    width: calc(33.333% - 30px);
    margin: 0 15px 40px 15px;
  }
}
@media (max-width: 991px) {
  #video .list .list-item {
    width: calc(33.333% - 10px);
    margin: 0 5px 30px 5px;
  }
  #video .list .list-item .txt {
    padding: 15px 10px;
  }
  #video .list .list-item .subject {
    line-height: 26px;
    font-size: 0.9375rem;
    padding-bottom: 5px;
  }
  #video .list .list-item .summary {
    max-height: 72px;
    line-height: 24px;
    margin-top: 5px;
  }
}
@media (max-width: 767px) {
  #video .list .list-item {
    width: calc(50% - 10px);
  }
}
@media (max-width: 479px) {
  #video .list .list-item {
    width: 100%;
    margin: 0 auto 20px auto;
  }
  #video .list .list-item .summary {
    max-height: none;
    display: block;
    -webkit-line-clamp: none;
  }
}
/* Activity List */
#activity {
  position: relative;
}

#activity:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: calc(100% - 500px);
  top: 500px;
  left: 0;
  pointer-events: none;
  background: rgb(255, 255, 255);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgb(255, 255, 255)), color-stop(100%, rgb(248, 248, 248)));
  background: -webkit-gradient(linear, left top, left bottom, from(rgb(255, 255, 255)), to(rgb(248, 248, 248)));
  background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgb(248, 248, 248) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#ffffff", endColorstr="#f8f8f8", GradientType=0 );
}

#activity > * {
  position: relative;
}

#activity .activity-list {
  font-size: 0;
  margin-top: 60px;
}

#activity .activity-list-item {
  display: inline-block;
  position: relative;
  width: calc(33.333% - 30px);
  vertical-align: top;
  margin-right: 45px;
  margin-bottom: 50px;
}

#activity .activity-list-item:nth-child(3n) {
  margin-right: 0;
}

#activity .activity-list-item:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 10px;
  background: url("../images/activity_list_shadow.png") no-repeat;
  background-size: 100% 100%;
  left: 0;
  bottom: -10px;
}

#activity .activity-list-item > a {
  display: block;
  position: relative;
  border: 1px solid #eee;
  background: #fff;
  padding: 15px;
}

#activity .activity-list-item > a:before {
  content: "";
  display: block;
  position: absolute;
  width: 60px;
  height: 65px;
  background: url("../images/activity_list_ico.jpg") no-repeat;
  right: 15px;
  bottom: 0;
}

#activity .activity-list-item .pic {
  position: relative;
  overflow: hidden;
}

#activity .activity-list-item .pic:before {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}

#activity .activity-list-item > a:hover .pic:before {
  opacity: 1;
}

#activity .activity-list-item .subject {
  position: relative;
  line-height: 30px;
  font-size: 1rem;
  font-weight: bold;
  color: #222;
  margin: 30px 0 10px;
  padding: 0 65px 0 5px;
  transition: color 0.3s;
  -moz-transition: color 0.3s;
  -webkit-transition: color 0.3s;
}

#activity .activity-list-item > a:hover .subject {
  color: #d83d71;
}

@media (max-width: 1599px) {
  #activity .activity-list-item {
    width: calc(33.333% - 20px);
    margin-bottom: 40px;
    margin-right: 30px;
  }
}
@media (max-width: 1199px) {
  #activity .activity-list-item {
    width: calc(33.333% - 10px);
    margin-right: 15px;
    margin-bottom: 30px;
  }
  #activity .activity-list-item > a {
    padding: 10px;
  }
  #activity .activity-list-item .subject {
    margin-top: 20px;
  }
}
@media (max-width: 991px) {
  #activity .activity-list {
    margin-top: 40px;
  }
  #activity .activity-list-item {
    width: calc(50% - 10px);
    margin-right: 20px;
  }
  #activity .activity-list-item:nth-child(3n) {
    margin-right: 20px;
  }
  #activity .activity-list-item:nth-child(even) {
    margin-right: 0;
  }
  #activity .activity-list-item .subject {
    line-height: 26px;
    font-size: 0.9375rem;
  }
}
@media (max-width: 479px) {
  #activity .activity-list-item {
    display: block;
    width: 100%;
    margin-right: 0 !important;
    margin-bottom: 20px;
  }
}
/* Activity View */
#activity .view-inner {
  background: #fff;
  margin-bottom: 80px;
  padding: 50px;
}

#activity .view-inner .head {
  background: url("../images/inews_line.png") bottom repeat-x;
  padding-bottom: 13px;
}

#activity .view-inner .head .subject {
  line-height: 36px;
  font-size: 1.5rem;
  font-weight: bold;
  background: url("../images/activity_list_ico.jpg") left bottom no-repeat;
  margin: 0;
  padding: 15px 0 15px 75px;
}

#activity .view-inner .album {
  margin: 50px 0;
  padding: 0 110px;
}

#activity .view-inner .thumb {
  margin-top: 20px;
  overflow: hidden;
}

#activity .view-inner .p-back {
  margin-bottom: 0;
}

@media (max-width: 1199px) {
  #activity .view-inner .album {
    padding: 0 60px;
  }
}
@media (max-width: 991px) {
  #activity .view-inner {
    padding: 25px;
  }
  #activity .view-inner .head .subject {
    line-height: 30px;
    font-size: 1.25rem;
    background-size: 40px 44px;
    padding: 7px 0 7px 50px;
  }
  #activity .view-inner .album {
    margin: 20px 0;
    padding: 0 15px;
  }
}
@media (max-width: 767px) {
  #activity .view-inner {
    padding: 15px;
  }
  #activity .view-inner .p-back {
    margin-top: 15px;
  }
}
/* Related Links */
#link {
  position: relative;
}

#link:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: calc(100% - 500px);
  top: 500px;
  left: 0;
  pointer-events: none;
  background: rgb(255, 255, 255);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgb(255, 255, 255)), color-stop(100%, rgb(248, 248, 248)));
  background: -webkit-gradient(linear, left top, left bottom, from(rgb(255, 255, 255)), to(rgb(248, 248, 248)));
  background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgb(248, 248, 248) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#ffffff", endColorstr="#f8f8f8", GradientType=0 );
}

#link > * {
  position: relative;
}

#link .inner {
  background: #fff;
  margin-bottom: 50px;
  padding: 50px;
}

#link .inner.nobg {
  background: none;
}

#link .link-list {
  border-top: 2px solid #ddd;
  border-bottom: 2px solid #ddd;
  margin-top: 60px;
  margin-bottom: 60px;
}

#link .link-list li + li {
  border-top: 1px solid #eee;
}

#link .link-list li a {
  display: block;
  position: relative;
  line-height: 30px;
  font-size: 1rem;
  color: #222;
  padding: 25px 50px 25px 70px;
  transition: color 0.3s, background 0.3s;
  -moz-transition: color 0.3s, background 0.3s;
  -webkit-transition: color 0.3s, background 0.3s;
}

#link .link-list li a:hover {
  color: #fff;
  background: #d83d71;
}

#link .link-list li a:after {
  content: "";
  display: block;
  position: absolute;
  width: 12px;
  height: 12px;
  border-top: 2px solid #eee;
  border-right: 2px solid #eee;
  top: 34px;
  right: 20px;
  -ms-transform: rotate(45deg);
      transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

#link .link-list li a .ico {
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  background: #aaa;
  border-radius: 100%;
  top: 25px;
  left: 20px;
  transition: background 0.3s;
  -moz-transition: background 0.3s;
  -webkit-transition: background 0.3s;
}

#link .link-list li a:hover .ico {
  background: #fff;
}

#link .link-list li a .ico:before,
#link .link-list li a .ico:after {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  background: url("../images/link_ico.png") no-repeat;
  background-size: 32px 16px;
  top: 7px;
  left: 7px;
  transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}

#link .link-list li a .ico:after {
  background-position: -16px 0;
  opacity: 0;
}

#link .link-list li a:hover .ico:before {
  opacity: 0;
}

#link .link-list li a:hover .ico:after {
  opacity: 1;
}

#link .inner .p-pager {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  #link .inner {
    padding: 25px;
  }
  #link .link-list {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  #link .link-list li a {
    padding: 10px 30px 10px 50px;
  }
  #link .link-list li a:after {
    width: 10px;
    height: 10px;
    top: 20px;
    right: 10px;
  }
  #link .link-list li a .ico {
    top: 10px;
    left: 10px;
  }
}
@media (max-width: 767px) {
  #link .inner {
    padding: 15px;
  }
}
/* Contact Us */
#contact {
  position: relative;
}

#contact:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: calc(100% - 500px);
  top: 500px;
  left: 0;
  pointer-events: none;
  background: rgb(255, 255, 255);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgb(255, 255, 255)), color-stop(100%, rgb(248, 248, 248)));
  background: -webkit-gradient(linear, left top, left bottom, from(rgb(255, 255, 255)), to(rgb(248, 248, 248)));
  background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgb(248, 248, 248) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#ffffff", endColorstr="#f8f8f8", GradientType=0 );
}

#contact > * {
  position: relative;
}

#contact .inner {
  background: #fff;
  margin-bottom: 80px;
}

#contact .info,
#contact .notice {
  line-height: 26px;
  font-size: 0.875rem;
  text-align: center;
  margin-top: 10px;
}

#contact .info span {
  margin: 0 5px;
}

#contact .info a {
  color: #333;
}

#contact .info a:hover {
  color: #d83d71;
}

#contact .notice span {
  color: #888;
  margin-left: 4px;
}

#contact .notice strong {
  color: #d83d71;
  margin: 0 2px;
}

#contact form {
  position: relative;
  margin-top: 60px;
}

#contact form:before {
  content: "";
  display: block;
  position: absolute;
  width: 50%;
  height: 100%;
  background: url("../images/contact_bg.jpg") left bottom no-repeat;
  background-size: contain;
  left: 0;
  bottom: 0;
}

#contact .form {
  position: relative;
  width: 50%;
  margin-left: 50%;
  padding: 0 75px;
}

#contact .form .field {
  margin-bottom: 15px;
}

#contact .form .field dt {
  line-height: 28px;
  font-size: 0.875rem;
  font-weight: normal;
}

#contact .form .field dt strong {
  color: #d83d71;
  margin-left: 4px;
}

#contact .form .field dd {
  font-size: 0;
}

#contact .form .field .input {
  display: inline-block;
  width: 100%;
  height: 40px;
  font-size: 0.875rem;
  border: 1px solid #e5e5e5;
  background: #f6f6f6;
  padding: 0 10px;
  vertical-align: top;
}

#contact .form .field .input.captcha {
  width: calc(100% - 120px);
}

#contact .form .field .textarea {
  display: block;
  width: 100%;
  line-height: 20px;
  font-size: 0.875rem;
  border: 1px solid #e5e5e5;
  background: #f6f6f6;
  padding: 9px 10px;
}

#contact .form .field .input:focus,
#contact .form .field .textarea:focus {
  border-color: #d83d71;
}

#contact .form .field .re-captcha {
  display: inline-block;
  vertical-align: top;
}

#contact .form .btn-box {
  font-size: 0;
  text-align: right;
  margin: 40px 0;
}

#contact .form .btn-box .btn {
  display: inline-block;
  width: calc(50% - 5px);
  max-width: 200px;
  height: 40px;
  font-size: 0.9375rem;
  border-radius: 0;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  text-align: center;
  vertical-align: top;
  padding: 0;
}

#contact .form .btn-box .btn:hover,
#contact .form .btn-box .btn:focus,
#contact .form .btn-box .btn:active {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset !important;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset !important;
}

#contact .form .btn-box .reset {
  color: #fff;
  background: #535353;
}

#contact .form .btn-box .submit {
  color: #fff;
  background: #e9597e;
  margin-left: 10px;
}

#contact .finish {
  line-height: 26px;
  font-size: 0.9375rem;
  margin-top: 40px;
  margin-bottom: 60px;
  padding: 0 75px;
  text-align: center;
}

#contact .finish strong {
  color: #d83d71;
}

#contact .p-back {
  margin-bottom: 0;
  padding-bottom: 40px;
}

@media (max-width: 1199px) {
  #contact .form {
    padding: 0 25px;
  }
}
@media (max-width: 991px) {
  #contact form {
    margin-top: 40px;
  }
  #contact .finish {
    padding: 0 25px;
  }
}
@media (max-width: 767px) {
  #contact .info,
  #contact .notice {
    text-align: left;
  }
  #contact .info span {
    display: block;
    margin: 0;
  }
  #contact form {
    padding-bottom: 90%;
  }
  #contact form:before {
    width: 90%;
    height: 0;
    padding-bottom: 90%;
  }
  #contact .form {
    width: 100%;
    margin: 0;
    padding: 0 15px;
  }
  #contact .finish {
    padding: 0 15px;
  }
}
/* Member Center */
.mfp-login-msg .mfp-content {
  max-width: 500px;
}

.mfp-login-msg .modal-content {
  max-width: 500px;
  padding: 20px 15px 15px 15px;
  margin: 0 auto;
  width: 100%;
}

.mfp-login-msg .mfp-close {
  color: #fff !important;
  top: -30px;
  right: -10px;
}

.mfp-login-msg .mfp-close:hover {
  top: -30px;
  right: -10px;
}

.mfp-login-msg .btn-wrap {
  margin: 20px auto;
}

.mfp-login-msg .btn {
  display: inline-block;
  width: 120px;
  height: 34px;
  line-height: 34px;
  font-size: 0.875rem;
  color: #fff;
  border: none;
  border-radius: 0;
  text-align: center;
  vertical-align: top;
  margin: 0 5px;
  padding: 0;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.mfp-login-msg .btn.submit {
  background: #d83d71;
}

.mfp-login-msg .btn.back {
  background: #5e95cf;
}

@media (min-width: 768px) {
  .mfp-login-msg .btn {
    opacity: 0.9;
  }
}
.login-notice {
  display: block;
  text-align: center;
  color: inherit;
  font-size: 0.9375rem;
  margin: 40px auto 20px auto;
}

.login-notice a {
  color: inherit;
  text-decoration: underline;
}

.login-notice a:hover {
  color: #d83d71;
  text-decoration: none;
}

.login-notice .text-red {
  color: #d83d71;
  display: block;
}

/** Login **/
#member .login-board {
  max-width: 850px;
  background: #eee;
  margin: 20px auto 60px;
  padding: 19px;
}

#member .field.fs-normal {
  font-size: 0.9375rem !important;
}

hr.line {
  width: 70%;
  border-top: 1px solid #ccc;
}

#member .login-board form {
  border: 1px solid #fff;
  padding: 20px 30px;
}

#member .login-board .note {
  line-height: 26px;
  font-size: 0.9375rem;
  text-align: center;
  margin: 0 0 15px;
}

#member .login-board dl {
  margin: 0 0 20px;
}

#member .login-board dl dt {
  float: left;
  width: 80px;
  line-height: 34px;
  font-size: 0.9375rem;
  font-weight: normal;
  text-align: center;
}

#member .login-board dl dd {
  float: right;
  width: calc(100% - 80px);
  font-size: 0;
}

#member .login-board dl dd .input {
  display: inline-block;
  width: 100%;
  height: 34px;
  font-size: 0.9375rem;
  border: 1px solid #ddd;
  background: #fff;
  padding: 0 10px;
  vertical-align: top;
}

#member .login-board dl dd .input.captcha {
  width: calc(100% - 180px);
}

#member .login-board dl dd .input:focus {
  border-color: #d83d71;
}

#member .login-board dl dd .captcha-img {
  display: inline-block;
  vertical-align: top;
  margin-left: 10px;
}

#member .login-board dl dd .captcha-btn {
  display: block;
  width: 100%;
  height: 46px;
  font-size: 1.125rem;
  color: #fff;
  border: none;
  background: #5e95cf;
  vertical-align: top;
  margin-top: 10px;
}

#member .login-board dl dd .captcha-btn:hover {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
}

#member .login-board dl dd .captcha-btn.not-yet {
  background: #ccc;
  -webkit-box-shadow: none;
          box-shadow: none;
  cursor: not-allowed;
}

#member .login-board dl dd .captcha-btn span {
  margin-left: 4px;
}

#member .login-board dl dd .tip {
  display: block;
  line-height: 24px;
  font-size: 0.875rem;
  color: #999;
  padding: 3px 0;
}

#member .login-board .btn-box {
  font-size: 0;
  text-align: center;
  padding-left: 80px;
}

#member .login-board .btn-box.pl0 {
  padding-left: 0;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

#member .login-board .btn-box.pl0 img {
  vertical-align: top;
  margin: 0 5px;
}

#member .login-board .col-md-6.mb20 {
  margin-bottom: 20px;
}

#member .login-board .btn-box.pl0 img:hover {
  opacity: 0.9;
}

#member .login-board .btn-box .btn {
  display: inline-block;
  width: 120px;
  height: 34px;
  line-height: 34px;
  font-size: 0.875rem;
  color: #fff;
  border: none;
  border-radius: 0;
  text-align: center;
  vertical-align: top;
  margin: 0 5px;
  padding: 0;
}

#member .login-board .btn-box .btn:hover,
#member .login-board .btn-box .btn:focus,
#member .login-board .btn-box .btn:active {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
}

#member .login-board .btn-box .btn.back {
  background: #5e95cf;
}

#member .login-board .btn-box .btn.reset {
  background: none;
  color: #444;
  border-bottom: 1px solid #999;
  display: inline-block;
  width: auto;
  padding: 5px 3px;
  height: auto;
  line-height: 1;
  margin: 0;
}

#member .login-board .btn-box .btn.other {
  color: #666;
  display: inline-block;
  width: auto;
  padding: 3px 5px;
  height: auto;
  line-height: 1.3;
  margin: 0;
  background: none;
}

#member .login-board .btn-box .btn.submit {
  background: #d83d71;
}

#member .login-board .btn-box .btn.large {
  display: inline-block;
  max-width: 250px;
  width: calc(37% - 5px);
  height: 46px;
  line-height: 46px;
  font-size: 1.125rem;
  margin: 0 0 10px 0;
}

#member .login-board .login-line {
  display: inline-block;
  width: calc(26% - 10px);
  margin-left: 10px;
}

#member .login-board .btn-box .btn.large:first-child {
  margin-right: 10px;
}

#member .login-board .subject {
  line-height: 30px;
  font-size: 1.125rem;
  font-weight: bold;
  color: #d83d71;
  text-align: center;
  margin: 0 0 15px;
}

@media (max-width: 991px) {
  #member .login-board .note.social {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #aaa;
  }
}
@media (max-width: 767px) {
  #member .login-board .btn-box .btn.large {
    width: calc(50% - 5px);
  }
  #member .login-board .login-line {
    width: 100%;
    margin: 0 0 10px 0;
  }
}
@media (max-width: 639px) {
  #member .login-board {
    padding: 9px;
  }
  #member .login-board form {
    padding: 9px;
  }
  #member .login-board .btn-box .btn {
    display: block;
    width: 140px;
    margin: auto;
  }
}
@media (max-width: 419px) {
  #member .login-board dl dt {
    float: none;
    width: 100%;
    text-align: left;
  }
  #member .login-board dl dd {
    float: none;
    width: 100%;
  }
  #member .login-board .btn-box {
    padding-left: 0;
  }
  #member .login-board .btn-box .text-left {
    text-align: center;
  }
}
/** Register **/
#member .js-popup-img {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  color: #fff;
  background-color: #999;
  border-color: #ccc;
}

.mfp-qrcode.mfp-bg {
  background: rgba(0, 0, 0, 0.5);
}

#member .coop-note {
  max-width: 880px;
  line-height: 26px;
  font-size: 0.9375rem;
  color: #d83d71;
  margin: 20px auto 0;
}

#member .register-board {
  max-width: 880px;
  background: #eee;
  margin: 20px auto 60px;
  padding: 19px;
}

#member .register-board form,
#member .register-board .finish {
  border: 1px solid #fff;
  padding: 20px 30px;
}

#member .register-board .note {
  line-height: 26px;
  font-size: 0.9375rem;
  color: #888;
  text-align: center;
  margin: 0 0 15px;
}

#member .register-board .note strong {
  display: inline-block;
  width: 10px;
  color: #d83d71;
  vertical-align: top;
}

#member .register-board .field {
  font-size: 0;
  margin: 0 -15px;
}

#member .register-board dl,
#member .register-board .dl {
  display: inline-block;
  width: 50%;
  vertical-align: top;
  margin: 0 0 20px;
  padding: 0 15px;
}

#member .register-board dl.full,
#member .register-board .dl.full {
  width: 100%;
}

#member .register-board dl dt,
#member .register-board .dl .dt {
  float: left;
  width: 100px;
  line-height: 34px;
  font-size: 0.9375rem;
  font-weight: normal;
}

#member .register-board.coop .dl .dt {
  width: 120px;
}

#member .register-board dl dt strong {
  display: inline-block;
  width: 10px;
  color: #d83d71;
  vertical-align: top;
}

#member .register-board .dl .dt strong.red {
  color: #d83d71;
}

#member .register-board dl dd,
#member .register-board .dl .dd {
  float: right;
  width: calc(100% - 100px);
  font-size: 0;
}

#member .register-board.coop .dl .dd {
  width: calc(100% - 120px);
}

#member .register-board .dl .dt.full,
#member .register-board .dl .dd.full {
  width: 100%;
}

#member .register-board dl dd .input,
#member .register-board .dl .dd .input {
  display: inline-block;
  width: 100%;
  height: 34px;
  font-size: 0.875rem;
  border: 1px solid #ddd;
  vertical-align: top;
  padding: 0 10px;
}

#member .register-board dl dd .input:focus,
#member .register-board .dl .dd .input:focus {
  border-color: #d83d71;
}

#member .register-board dl dd .textarea,
#member .register-board .dl .dd .textarea {
  display: block;
  width: 100%;
  min-height: 104px;
  line-height: 18px;
  font-size: 0.875rem;
  border: 1px solid #ddd;
  padding: 6px 10px;
}

#member .register-board dl dd .textarea:focus,
#member .register-board .dl .dd .textarea:focus {
  border-color: #d83d71;
}

#member .register-board dl dd .input.mail-phone {
  width: calc(100% - 200px);
  margin-right: 10px;
}

#member .register-board dl dd .input.address {
  margin-top: 10px;
}

#member .register-board dl dd .input.captcha,
#member .register-board .dl .dd .input.captcha {
  width: calc(100% - 130px);
}

#member .register-board dl dd .input.wh {
  width: calc(100% - 40px);
}

#member .register-board dl dd .input.addition {
  width: 140px;
}

#member .register-board .dl .dd .input-discount span {
  display: inline-block;
  line-height: 34px;
  font-size: 0.875rem;
  margin-left: 5px;
}

#member .register-board dl dd .wh-text {
  display: inline-block;
  line-height: 34px;
  font-size: 0.875rem;
  margin-left: 10px;
  vertical-align: top;
}

#member .register-board dl dd .tip,
#member .register-board .dl .dd .tip {
  display: block;
  line-height: 24px;
  font-size: 0.875rem;
  color: #888;
  padding: 3px 0;
}

#member .register-board dl dd .tip.red,
#member .register-board .dl .dd .tip.red {
  color: #f00;
}

#member .register-board dl dd .radio,
#member .register-board .dl .dd .radio,
#diary.food dl dd .radio {
  display: inline-block;
  vertical-align: top;
  margin: 0 15px 0 0;
  cursor: pointer;
}

#member .register-board dl dd .radio input,
#member .register-board .dl .dd .radio input,
#diary.food dl dd .radio input {
  display: none;
}

#member .register-board dl dd .radio span,
#member .register-board .dl .dd .radio span {
  display: block;
  position: relative;
  line-height: 34px;
  font-size: 0.875rem;
  padding-left: 22px;
}

#member .register-board dl dd .radio span:before,
#member .register-board .dl .dd .radio span:before {
  content: "";
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 100%;
  top: 8px;
  left: 0;
}

#member .register-board dl dd .radio input:checked + span:before,
#member .register-board .dl .dd .radio input:checked + span:before,
#diary.food dl dd .radio input:checked + span:before {
  border-color: #d83d71;
}

#member .register-board dl dd .radio input:checked + span:after,
#member .register-board .dl .dd .radio input:checked + span:after,
#diary.food dl dd .radio input:checked + span:after {
  content: "";
  display: block;
  position: absolute;
  width: 8px;
  height: 8px;
  background: #d83d71;
  border-radius: 100%;
  top: 13px;
  left: 5px;
}

#member .register-board dl dd .select,
#member .register-board .dl .dd .select {
  display: inline-block;
  height: 34px;
  font-size: 0.875rem;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 0 !important;
  padding: 0 10px;
}

#member .register-board dl dd .select:focus,
#member .register-board .dl .dd .select:focus {
  border-color: #d83d71;
}

#member .register-board dl dd .brick,
#member .register-board .dl .dd .brick {
  display: inline-block;
  line-height: 34px;
  font-size: 0.875rem;
  vertical-align: top;
  padding: 0 5px;
}

#member .register-board dl dd .captcha-img,
#member .register-board .dl .dd .captcha-img {
  display: inline-block;
  vertical-align: top;
  margin-left: 10px;
}

#member .register-board dl dd .data,
#member .register-board .dl .dd .data {
  display: block;
  line-height: 34px;
  font-size: 0.875rem;
  font-weight: bold;
  color: #d83d71;
}

#member .register-board dl dd .addition-box,
#member .register-board .dl .dd .addition-box {
  display: block;
}

#member .register-board dl dd .radio,
#member .register-board dl dd .check,
#member .register-board .dl .dd .radio,
#member .register-board .dl .dd .check {
  display: inline-block;
  cursor: pointer;
  margin: 0 10px 5px 0;
  vertical-align: top;
}

#member .register-board dl dd .check.confirm,
#member .register-board .dl .dd .check.confirm {
  width: 190px;
  margin: 0;
}

#member .register-board dl dd .radio.sexual,
#member .register-board .dl .dd .radio.sexual {
  margin-bottom: 0;
}

#member .register-board dl dd .radio.full,
#member .register-board dl dd .check.full,
#member .register-board .dl .dd .radio.full,
#member .register-board .dl .dd .check.full {
  display: block;
  margin: 0;
}

#member .register-board dl dd .radio input,
#member .register-board dl dd .check input,
#member .register-board .dl .dd .radio input,
#member .register-board .dl .dd .check input {
  display: none;
}

#member .register-board dl dd .radio span,
#member .register-board dl dd .check span,
#member .register-board .dl .dd .radio span,
#member .register-board .dl .dd .check span,
#diary.food dl dd .radio span {
  display: block;
  position: relative;
  line-height: 34px;
  font-size: 0.875rem;
  padding-left: 22px;
}

#member .register-board dl dd .radio span:before,
#member .register-board dl dd .check span:before,
#member .register-board .dl .dd .radio span:before,
#member .register-board .dl .dd .check span:before,
#diary.food dl dd .radio span:before {
  content: "";
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid #ddd;
  background: #fff;
  top: 8px;
  left: 0;
}

#member .register-board dl dd .radio span:before,
#member .register-board .dl .dd .radio span:before,
#diary.food dl dd .radio span:before {
  border-radius: 100%;
}

#member .register-board dl dd .radio input:checked + span:before,
#member .register-board dl dd .check input:checked + span:before,
#member .register-board .dl .dd .radio input:checked + span:before,
#member .register-board .dl .dd .check input:checked + span:before,
#diary.food dl dd .radio input:checked + span:before {
  border-color: #d83d71;
}

#member .register-board dl dd .radio input:checked + span:after,
#member .register-board .dl .dd .radio input:checked + span:after,
#diary.food dl dd .radio input:checked + span:after {
  content: "";
  display: block;
  position: absolute;
  width: 8px;
  height: 8px;
  background: #d83d71;
  border-radius: 100%;
  top: 13px;
  left: 5px;
}

#member .register-board dl dd .check input:checked + span:after,
#member .register-board .dl .dd .check input:checked + span:after,
#diary.food dl dd .check input:checked + span:after {
  content: "";
  display: block;
  position: absolute;
  width: 6px;
  height: 10px;
  border-right: 2px solid #d83d71;
  border-bottom: 2px solid #d83d71;
  top: 11px;
  left: 6px;
  -ms-transform: rotate(45deg);
      transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

#member .register-board .dl-group {
  border-top: 1px solid #fff;
  padding-top: 20px;
}

#member .register-board .dl .dd .select-discount {
  margin-right: 10px;
}

#member .register-board .dl .dd .select-area {
  margin-right: 10px;
}

#member .register-board .dl .dd .input-discount {
  display: inline-block;
  vertical-align: top;
  margin-right: 10px;
}

#member .register-board .dl .dd .input-discount .input {
  width: 100px;
}

#member .register-board .dl .dd .input-object {
  position: relative;
  padding-left: 15px;
}

#member .register-board .dl .dd .input-object + .input-object {
  margin-top: 10px;
}

#member .register-board .dl .dd .input-object:before {
  content: "";
  display: block;
  position: absolute;
  width: 6px;
  height: 6px;
  background: #4193d6;
  top: 14px;
  left: 2px;
  -ms-transform: rotate(45deg);
      transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

#member .register-board .dl .dd .input-object > span {
  display: inline-block;
  width: 120px;
  line-height: 34px;
  font-size: 0.875rem;
  vertical-align: top;
}

#member .register-board .dl .dd .input-object .input {
  width: calc(100% - 195px);
  margin-right: 10px;
  margin-bottom: 5px;
}

#member .register-board .dl .dd .input-object .object-delete {
  display: inline-block;
  line-height: 32px;
  font-size: 0.875rem;
  color: #999;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 2px;
  vertical-align: top;
  padding: 0 10px;
}

#member .register-board .dl .dd .input-object .object-delete:hover {
  color: #666;
  border-color: #999;
}

#member .register-board .dl .dd .input-object .object-delete i {
  margin-right: 4px;
}

#member .register-board .dl .dd .input-object .upload-box {
  display: inline-block;
  width: calc(100% - 120px);
  vertical-align: top;
}

#member .register-board .dl .dd .input-2 .radio {
  width: 180px;
}

#member .register-board .dl .dd .input-2 .input {
  width: calc(100% - 190px);
}

#member .register-board .dl .dd .input-3 .input {
  width: 100px;
  margin-right: 10px;
}

#member .register-board .dl .dd .input-4 {
  width: 150px;
}

#member .register-board .dl .dd .input-address {
  width: calc(100% - 220px);
}

#member .register-board .dl .object-add {
  display: inline-block;
  line-height: 32px;
  font-size: 0.875rem;
  color: rgba(77, 158, 214, 0.75);
  border: 1px solid rgba(77, 158, 214, 0.75);
  background: #fff;
  border-radius: 2px;
  vertical-align: top;
}

#member .register-board .dl .object-add:hover {
  color: #4d9ed6;
  border-color: #4d9ed6;
}

#member .register-board .dl .object-add i {
  margin-right: 4px;
}

#member .register-board .dl .radio-other {
  display: inline-block;
  vertical-align: top;
}

#member .register-board .agree {
  cursor: pointer;
  margin: 0 0 20px;
}

#member .register-board .agree input {
  display: none;
}

#member .register-board .agree span {
  display: block;
  position: relative;
  line-height: 30px;
  font-size: 0.875rem;
  padding-left: 22px;
}

#member .register-board .agree span:before {
  content: "";
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid #ddd;
  background: #fff;
  top: 6px;
  left: 0;
}

#member .register-board .agree input:checked + span:before {
  border-color: #d83d71;
}

#member .register-board .agree input:checked + span:after {
  content: "";
  display: block;
  position: absolute;
  width: 6px;
  height: 10px;
  border-right: 2px solid #d83d71;
  border-bottom: 2px solid #d83d71;
  top: 9px;
  left: 6px;
  -ms-transform: rotate(45deg);
      transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

#member .register-board .agree span a {
  color: #777;
}

#member .register-board .agree span a:hover {
  color: #4d9ed6;
}

#member .register-board .btn-box {
  font-size: 0;
  text-align: center;
}

#member .register-board .btn-box .btn {
  display: inline-block;
  width: 140px;
  height: 34px;
  line-height: 34px;
  font-size: 0.875rem;
  color: #fff;
  border: none;
  border-radius: 0;
  vertical-align: top;
  margin: 0 10px;
  padding: 0;
}

#member .register-board .btn-box .btn.large {
  width: 200px;
  height: 46px;
  line-height: 46px;
  font-size: 1.125rem;
}

#member .register-board .btn-box .btn.auto-width {
  width: auto;
  min-width: 140px;
  padding: 0 25px;
}

#member .register-board .btn-box .btn.reset {
  background: #999;
}

#member .register-board .btn-box .btn.submit {
  background: #d83d71;
}

#member .register-board .btn-box .btn.link {
  background: #4193d6;
}

#member .register-board .btn-box .btn:hover,
#member .register-board .btn-box .btn:focus,
#member .register-board .btn-box .btn:active {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
}

#member .register-board .finish-note {
  line-height: 1.733;
  font-size: 0.9375rem;
  text-align: center;
}

#member .register-board .finish-note strong {
  display: block;
  line-height: 1.6;
  font-size: 1.25rem;
  color: #d83d71;
  margin-bottom: 15px;
}

#member .register-board .finish-note span {
  font-weight: bold;
  color: #d83d71;
}

#member .register-board .finish-note a {
  color: #d83d71;
}

#member .register-board .finish-note a:hover {
  color: #000;
}

#member .register-board .finish .btn-box {
  margin-top: 40px;
}

#member .register-board .coop-table {
  width: 100%;
}

#member .register-board .coop-table thead th {
  line-height: 24px;
  font-size: 0.875rem;
  font-weight: normal;
  padding: 5px 5px 5px 0;
}

#member .register-board .coop-table thead th:nth-child(3) {
  width: 180px;
}

#member .register-board .coop-table thead th:last-child {
  width: 65px;
}

#member .register-board .coop-table tbody td {
  padding: 2px 5px 2px 0;
}

#member .register-board .coop-table tbody td:last-child {
  text-align: right;
  padding: 2px 0;
}

#member .register-board .coop-table tbody td .coop-tr-delete {
  display: inline-block;
  line-height: 32px;
  font-size: 0.875rem;
  color: #999;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 2px;
  vertical-align: top;
  padding: 0 10px;
}

#member .register-board .coop-table tbody td .coop-tr-delete:hover {
  color: #666;
  border-color: #999;
}

#member .register-board .coop-table tbody td .coop-tr-delete i {
  margin-right: 4px;
}

#member .register-board .coop-table tfoot td {
  padding: 5px 0;
}

#member .register-board .coop-table tfoot td .coop-tr-add {
  display: inline-block;
  line-height: 32px;
  font-size: 0.875rem;
  color: rgba(77, 158, 214, 0.75);
  border: 1px solid rgba(77, 158, 214, 0.75);
  background: #fff;
  border-radius: 2px;
  vertical-align: top;
}

#member .register-board .coop-table tfoot td .coop-tr-add:hover {
  color: #4d9ed6;
  border-color: #4d9ed6;
}

#member .register-board .coop-table tfoot td .coop-tr-add i {
  margin-right: 4px;
}

#member .register-board .upload-wrap {
  position: relative;
}

#member .register-board .upload-file-queue {
  position: relative;
  width: 100%;
  height: 34px;
}

#member .register-board .upload-file-queue:before {
  content: "";
  display: block;
  position: absolute;
  width: calc(100% - 100px);
  height: 34px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 3px;
  top: 0;
  left: 0;
}

#member .register-board .upload-file-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#member .register-board .progress-wrap {
  position: absolute;
  width: calc(100% - 100px);
  height: 34px;
  border-radius: 3px;
  top: 0;
  left: 0;
  overflow: hidden;
}

#member .register-board .progress-wrap .progress-graph {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #ccc;
  top: 0;
  left: 0;
}

#member .register-board .progress-wrap .progress-graph .progress-bar {
  float: none;
  position: relative;
  width: 100%;
  height: 100%;
  background: none;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  transition: none;
  -moz-transition: none;
  -webkit-transition: none;
}

#member .register-board .progress-wrap .progress-graph .progress-bar > i {
  display: block;
  position: absolute;
  width: 0;
  height: 100%;
  background: #ffa726;
  top: 0;
  left: 0;
  transition: width 0.3s;
  -moz-transition: width 0.3s;
  -webkit-transition: width 0.3s;
}

#member .register-board .progress-wrap .progress-graph .progress-bar > span {
  display: block;
  position: relative;
  line-height: 34px;
  font-size: 0.875rem;
  color: #fff;
  text-align: left;
  padding: 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#member .register-board .upload-file-wrap > input {
  display: none;
}

#member .register-board .upload-file-wrap .moxie-shim {
  width: 90px !important;
  height: 34px !important;
  background: #626262;
  left: auto !important;
  right: 0 !important;
  overflow: visible !important;
  -webkit-transition: background 0.2s, -webkit-box-shadow 0.2s;
  transition: background 0.2s, -webkit-box-shadow 0.2s;
  transition: background 0.2s, box-shadow 0.2s;
  transition: background 0.2s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
  -moz-transition: background 0.2s, box-shadow 0.2s;
  -webkit-transition: background 0.2s, box-shadow 0.2s;
}

#member .register-board .upload-file-wrap .moxie-shim:hover {
  background: #639e1e;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

#member .register-board .upload-file-wrap .moxie-shim:before {
  content: "選擇檔案";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  line-height: 34px;
  font-size: 0.875rem;
  color: #fff;
  text-align: center;
  top: 0;
  left: 0;
}

#member .register-board .upload-file-wrap .moxie-shim input {
  font-size: 0 !important;
  cursor: pointer;
}

@media (max-width: 767px) {
  #member .register-board .field {
    margin: 0;
  }
  #member .register-board dl {
    width: 100%;
    padding: 0;
  }
  #member .register-board .finish-note {
    font-size: 0.875rem;
  }
  #member .register-board .finish-note strong {
    font-size: 1.125rem;
    margin-bottom: 10px;
  }
  #member .register-board dl dd .input.mail-phone {
    width: 100%;
    margin: 0;
  }
  #member .register-board dl dd .check.confirm {
    width: auto;
  }
  #member .register-board .coop-table,
  #member .register-board .coop-table tbody,
  #member .register-board .coop-table tfoot,
  #member .register-board .coop-table tr,
  #member .register-board .coop-table td {
    display: block;
    position: relative;
    width: 100% !important;
  }
  #member .register-board .coop-table thead {
    display: none;
  }
  #member .register-board .coop-table tbody tr {
    border: 1px solid #ddd;
    background: #fff;
    padding: 5px 10px;
  }
  #member .register-board .coop-table tbody tr + tr {
    border-top: none;
  }
  #member .register-board .coop-table tbody td {
    padding: 2px 0;
  }
  #member .register-board .coop-table tbody td:nth-child(1):before {
    content: "項目說明";
    display: block;
    line-height: 18px;
    font-size: 0.875rem;
    margin-bottom: 4px;
  }
  #member .register-board .coop-table tbody td:nth-child(2):before {
    content: "原價(元)";
    display: block;
    line-height: 18px;
    font-size: 0.875rem;
    margin-bottom: 4px;
  }
  #member .register-board .coop-table tbody td:nth-child(3):before {
    content: "可使用折價券折抵金額(元)";
    display: block;
    line-height: 18px;
    font-size: 0.875rem;
    margin-bottom: 4px;
  }
  #member .register-board.coop .dl {
    width: 100%;
    padding: 0;
  }
  #member .register-board.coop .dl .dt,
  #member .register-board.coop .dl .dd {
    float: none;
    width: 100%;
  }
}
@media (max-width: 639px) {
  #member .register-board,
  #member .register-board form {
    padding: 9px;
  }
  #member .register-board dl dd .select.birth {
    width: calc(100% - 24px);
  }
  #member .register-board dl dd .select.pdt,
  #member .register-board dl dd .brick.pdt {
    margin-top: 10px;
  }
  #member .register-board .btn-box .btn {
    display: block;
    margin: auto;
  }
  #member .register-board .btn-box .btn + .btn {
    margin-top: 10px;
  }
}
@media (max-width: 543px) {
  #member .register-board .dl .dd .select-discount,
  #member .register-board .dl .dd .input-2 .radio,
  #member .register-board .dl .dd .input-discount,
  #member .register-board .dl .dd .input-discount ~ .select,
  #member .register-board .dl .dd .input-2 .input,
  #member .register-board .dl .dd .select-area,
  #member .register-board .dl .dd .input-address,
  #member .register-board .dl .dd .input-object .upload-box {
    width: 100%;
    margin: 0 0 5px;
  }
  #member .register-board .dl .dd .input-discount .input {
    width: calc(100% - 19px);
  }
  #member .register-board .dl .dd .input-object > span {
    line-height: 24px;
    width: 100%;
    margin: 0 0 5px;
  }
  #member .register-board .dl .dd .input-object .input {
    width: calc(100% - 75px);
  }
}
@media (max-width: 419px) {
  #member .register-board dl dt,
  #member .register-board dl dd {
    float: none;
    width: 100%;
  }
}
/** LINE regist **/
#member .line-board .field {
  margin: 25px auto;
}
#member .line-board .option {
  padding-left: 25px;
}

#member .line-board dl {
  display: inline-block;
  vertical-align: top;
}

#member .line-board .check-wrap {
  display: inline-block;
  vertical-align: top;
  width: calc(50% - 10px);
}
#member .line-board .check {
  display: inline-block;
  cursor: pointer;
  padding-left: 30px;
  margin: 0 0 10px;
  vertical-align: top;
}
#member .line-board .check.full {
  display: block;
  margin: 0;
}
#member .line-board .check span {
  display: block;
  position: relative;
  line-height: 34px;
  font-size: 0.875rem;
  padding-left: 22px;
}
#member .line-board .check span::before {
  content: "";
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid #ddd;
  background: #fff;
  top: 8px;
  left: 0;
}
#member .line-board .check input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
#member .line-board .check input:checked + span::before {
  border-color: #d83d71;
}
#member .line-board .check input:checked + span::after {
  content: "";
  display: block;
  position: absolute;
  width: 6px;
  height: 10px;
  border-right: 2px solid #d83d71;
  border-bottom: 2px solid #d83d71;
  top: 11px;
  left: 6px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

@media screen and (max-width: 767px) {
  #member .line-board dl {
    margin-bottom: 10px;
  }
  #member .line-board .check-wrap {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 419px) {
  #member .line-board .check {
    padding-left: 0;
  }
}
/** Agreement **/
#agreement {
  position: relative;
  max-width: 1200px;
  max-height: calc(100vh - 100px);
  background: #fff;
  border-radius: 15px;
  margin: auto;
  padding: 30px;
}

#agreement .title {
  line-height: 32px;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin: 0 0 18px;
}

#agreement .content {
  max-height: calc(100vh - 210px);
  border: 1px solid #ddd;
  padding: 10px 15px;
}

#agreement .mfp-close {
  width: 34px;
  height: 34px;
  line-height: 34px;
  top: 0;
  right: 0;
}

/* Sitemap */
#link .sitemap-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 20px 0;
}

#link .sitemap-table th {
  position: relative;
  width: 200px;
  line-height: 30px;
  font-size: 0.9375rem;
  font-weight: normal;
  color: #d83d71;
  text-align: center;
  padding: 10px 10px 30px 10px;
}

#link .sitemap-table th:before {
  content: "";
  display: block;
  position: absolute;
  width: calc(100% - 20px);
  height: 1px;
  background: #ddd;
  left: 0;
  bottom: 20px;
}

#link .sitemap-table th:after {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 28px;
  background: #ddd;
  right: 9px;
  bottom: -4px;
  -ms-transform: rotate(-45deg);
      transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

#link .sitemap-table td {
  position: relative;
  font-size: 0;
  padding-left: 15px;
}

#link .sitemap-table td:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #ddd;
  left: 0;
  bottom: 0;
}

#link .sitemap-table td span {
  display: inline-block;
  line-height: 26px;
  font-size: 0.875rem;
  vertical-align: middle;
  padding: 10px 15px;
}

#link .sitemap-table td a {
  color: #222;
}

#link .sitemap-table td a:hover {
  color: #4d9ed6;
}

@media (max-width: 991px) {
  #link .sitemap-table th {
    width: 140px;
  }
}
@media (max-width: 767px) {
  #link .sitemap-table,
  #link .sitemap-table tbody,
  #link .sitemap-table tr,
  #link .sitemap-table th,
  #link .sitemap-table td {
    display: block;
    width: 100%;
  }
  #link .sitemap-table th {
    color: #fff;
    background: #d83d71;
    padding: 5px 10px;
  }
  #link .sitemap-table th:before,
  #link .sitemap-table th:after {
    display: none;
  }
  #link .sitemap-table td {
    text-align: center;
    padding: 5px 0 15px;
  }
}
/* System Message */
#link .system-content {
  margin-top: 40px;
}

#qrcode.page-wrap {
  padding: 20px;
}

#qrcode .qr-logo {
  text-align: center;
}

#qrcode .qr-title {
  text-align: center;
  color: #d83d71;
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 15px;
}

#qrcode .qr-title.black {
  color: #444;
}

#qrcode .qr-txt {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
}

#qrcode .qr-table {
  width: 100%;
  max-width: 900px;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 20px auto 0;
  border: 1px solid #ddd;
}

#qrcode .qr-table th,
#qrcode .qr-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid #ddd;
  font-size: 1.125rem;
  font-weight: 600;
}

#qrcode .qr-table th.red {
  background: #d83d71;
  color: #fff;
}

#qrcode .qr-table th.blue {
  background: #4673c6;
  color: #fff;
}

#qrcode .qr-table img {
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 767px) {
  #qrcode .qr-table th,
  #qrcode .qr-table td {
    font-size: 1rem;
  }
}
#qrcode .qr-table-half {
  width: 100%;
  max-width: 650px;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 20px auto 0;
  border: none;
}

#qrcode .qr-table-half td {
  padding: 10px;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
}

#qrcode .qr-table-half td img {
  max-width: 100%;
}

@media (max-width: 599px) {
  #qrcode .qr-table-half td {
    display: block;
    font-size: 1rem;
    padding: 0;
  }
}
/* Game */
#game {
  padding-top: 130px;
}

#game .layer-wrap {
  position: relative;
  height: calc(100vh - 213px);
  min-height: 720px;
  overflow: hidden;
}

#game .layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

@media (max-width: 1479px) {
  #game {
    padding-top: 90px;
  }
  #game .layer-wrap {
    height: calc(100vh - 173px);
  }
}
@media (max-width: 767px) {
  #game .layer-wrap {
    height: 720px;
  }
}
@media (max-width: 639px) {
  #game {
    padding-top: 70px;
  }
}
#game .layer-1 {
  background: url("../images/game/layer1_bg.jpg") center no-repeat;
  background-size: cover;
}

#game .layer-1 .bg-ico-1 {
  display: block;
  position: absolute;
  width: 450px;
  height: 655px;
  background: url("../images/game/layer1_ico_female.png") no-repeat;
  background-size: cover;
  left: 25%;
  bottom: 0;
  -ms-transform: translateX(-50%);
      transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

#game .layer-1 .bg-ico-2 {
  display: block;
  position: absolute;
  width: 555px;
  height: 630px;
  background: url("../images/game/layer1_ico_male.png") no-repeat;
  background-size: cover;
  right: 25%;
  bottom: 0;
  -ms-transform: translateX(50%);
      transform: translateX(50%);
  -moz-transform: translateX(50%);
  -webkit-transform: translateX(50%);
}

#game .layer-1 .bg-line {
  display: block;
  position: absolute;
  width: 3840px;
  height: 170px;
  background: url("../images/game/layer1_line.png") no-repeat;
  background-size: cover;
  top: 50%;
  left: 0;
  margin-top: -85px;
  animation: layer1line 60s linear infinite;
  -moz-animation: layer1line 60s linear infinite;
  -webkit-animation: layer1line 60s linear infinite;
}

@keyframes layer1line {
  0% {
    left: 0;
    opacity: 1;
  }
  25% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0.25;
  }
  100% {
    left: -1920px;
    opacity: 1;
  }
}
@-webkit-keyframes layer1line {
  0% {
    left: 0;
    opacity: 1;
  }
  25% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0.25;
  }
  100% {
    left: -1920px;
    opacity: 1;
  }
}
#game .layer-1 .txt {
  position: absolute;
  width: calc(100% - 30px);
  max-width: 1000px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 50px;
  -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
          box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
  text-align: center;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  padding: 20px 50px 200px;
  -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

#game .layer-1 .txt .head {
  position: relative;
  padding-top: 36px;
}

#game .layer-1 .txt .head:before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 30px;
  background: #d83d71;
  top: 0;
  left: 50%;
}

#game .layer-1 .txt .head .en {
  line-height: 30px;
  font-size: 1.25rem;
  color: #d83d71;
  margin: 0;
}

#game .layer-1 .txt .head .ch {
  line-height: 54px;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  color: #d83e72;
  background: -webkit-linear-gradient(#f38ea4, #d83e72);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#game .layer-1 .txt .note {
  line-height: 26px;
  font-size: 0.9375rem;
  color: #666;
  margin: 10px 0 0;
}

#game .layer-1 .icos i {
  display: block;
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 100%;
  overflow: hidden;
  animation: layer1ico 2s ease-in-out infinite;
  -moz-animation: layer1ico 2s ease-in-out infinite;
  -webkit-animation: layer1ico 2s ease-in-out infinite;
}

#game .layer-1 .icos i.ico-1 {
  left: 4.5%;
  bottom: 45%;
}

#game .layer-1 .icos i.ico-2 {
  left: 8.5%;
  bottom: 21.5%;
  animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  -webkit-animation-delay: 0.5s;
}

#game .layer-1 .icos i.ico-3 {
  left: 15%;
  bottom: 37.4%;
  animation-delay: 1s;
  -moz-animation-delay: 1s;
  -webkit-animation-delay: 1s;
}

#game .layer-1 .icos i.ico-4 {
  left: 26.5%;
  bottom: 36.3%;
}

#game .layer-1 .icos i.ico-5 {
  left: 32%;
  bottom: 16.8%;
}

#game .layer-1 .icos i.ico-6 {
  left: 35.4%;
  bottom: 48.8%;
  animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  -webkit-animation-delay: 0.5s;
}

#game .layer-1 .icos i.ico-7 {
  right: 35.4%;
  bottom: 46.9%;
  animation-delay: 1s;
  -moz-animation-delay: 1s;
  -webkit-animation-delay: 1s;
}

#game .layer-1 .icos i.ico-8 {
  right: 34.4%;
  bottom: 11%;
}

#game .layer-1 .icos i.ico-9 {
  right: 27.1%;
  bottom: 30%;
  animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  -webkit-animation-delay: 0.5s;
}

#game .layer-1 .icos i.ico-10 {
  right: 15.3%;
  bottom: 38.7%;
  animation-delay: 1s;
  -moz-animation-delay: 1s;
  -webkit-animation-delay: 1s;
}

#game .layer-1 .icos i.ico-11 {
  right: 7.4%;
  bottom: 24.7%;
}

#game .layer-1 .icos i.ico-12 {
  right: 2.6%;
  bottom: 43.3%;
  animation-delay: 1s;
  -moz-animation-delay: 1s;
  -webkit-animation-delay: 1s;
}

@keyframes layer1ico {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@-webkit-keyframes layer1ico {
  0% {
    -webkit-transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(20px);
  }
  100% {
    -webkit-transform: translateY(0);
  }
}
#game .layer-1 .pic {
  position: absolute;
  width: 300px;
  height: 450px;
  left: 50%;
  bottom: 0;
  -ms-transform: translateX(-50%);
      transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

#game .layer-1 .next {
  display: block;
  position: absolute;
  width: 220px;
  height: 220px;
  text-align: center;
  left: 50%;
  bottom: 0;
  margin-left: -110px;
  margin-bottom: -110px;
  padding: 12px;
}

#game .layer-1 .next:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(233, 89, 126, 0.5);
  border-radius: 100%;
  top: 0;
  left: 0;
  animation: gameButtonBack 1s infinite;
  -moz-animation: gameButtonBack 1s infinite;
  -webkit-animation: gameButtonBack 1s infinite;
}

#game .layer-1 .next span {
  display: block;
  position: absolute;
  width: 196px;
  height: 196px;
  line-height: 26px;
  font-size: 1.125rem;
  color: #fff;
  background: #e9597e;
  border-radius: 100%;
  padding-top: 30px;
  top: 12px;
  left: 12px;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

#game .layer-1 .next:hover span {
  width: 220px;
  height: 220px;
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
  padding-top: 42px;
  top: 0;
  left: 0;
}

@media (max-width: 991px) {
  #game .layer-1 .bg-ico-1,
  #game .layer-1 .bg-ico-2,
  #game .layer-1 .bg-line {
    display: none;
  }
  #game .layer-1 .icos {
    display: none;
  }
  #game .layer-1 .next {
    width: 80px;
    height: 34px;
    bottom: 15px;
    margin-left: -40px;
    margin-bottom: 0;
    padding: 0;
  }
  #game .layer-1 .next:before {
    display: none;
  }
  #game .layer-1 .next span,
  #game .layer-1 .next:hover span {
    position: relative;
    width: 100%;
    height: 34px;
    line-height: 34px;
    font-size: 0.9375rem;
    padding: 0;
    top: auto;
    left: auto;
    border-radius: 2px;
    overflow: hidden;
  }
}
@media (max-width: 767px) {
  #game .layer-1 .txt {
    border-radius: 10px;
    padding: 15px;
    top: 40px;
    margin-top: 0;
    -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }
  #game .layer-1 .txt .head {
    padding-top: 20px;
  }
  #game .layer-1 .txt .head:before {
    height: 15px;
  }
  #game .layer-1 .txt .head .en {
    line-height: 26px;
    font-size: 1rem;
  }
  #game .layer-1 .txt .head .ch {
    line-height: 36px;
    font-size: 1.75rem;
  }
  #game .layer-1 .txt .note {
    line-height: 24px;
    font-size: 0.875rem;
    margin-top: 5px;
  }
}
#game .layer-2 {
  background: #f5d8ec;
}

#game .layer-2 .cloud {
  display: block;
  position: absolute;
  width: 3840px;
  height: 100%;
  background: url("../images/game/layer2_bg.png") top;
  background-repeat: space no-repeat;
  top: 0;
  left: -1920px;
  animation: layer2cloud 60s linear infinite;
  -moz-animation: layer2cloud 60s linear infinite;
  -webkit-animation: layer2cloud 60s linear infinite;
}

@keyframes layer2cloud {
  from {
    left: -1920px;
  }
  to {
    left: 0;
  }
}
@-webkit-keyframes layer2cloud {
  from {
    left: -1920px;
  }
  to {
    left: 0;
  }
}
#game .layer-2 .bg-ico-1 {
  display: block;
  position: absolute;
  width: 450px;
  height: 655px;
  background: url(../images/game/layer1_ico_female.png) no-repeat;
  background-size: cover;
  left: 25%;
  bottom: 0;
  -ms-transform: translateX(-50%);
      transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

#game .layer-2 .bg-ico-2 {
  display: block;
  position: absolute;
  width: 250px;
  height: 440px;
  background: url(../images/game/layer2_bg_ico.png) no-repeat;
  background-size: cover;
  right: 25%;
  bottom: 0;
  -ms-transform: translateX(50%);
      transform: translateX(50%);
  -moz-transform: translateX(50%);
  -webkit-transform: translateX(50%);
}

#game .layer-2 .bg-line {
  display: block;
  position: absolute;
  width: 3840px;
  height: 170px;
  background: url(../images/game/layer1_line.png) no-repeat;
  background-size: cover;
  top: 50%;
  left: 0;
  margin-top: -85px;
  animation: layer1line 60s linear infinite;
  -moz-animation: layer1line 60s linear infinite;
  -webkit-animation: layer1line 60s linear infinite;
}

#game .layer-2 .txt {
  position: absolute;
  width: calc(100% - 30px);
  max-width: 1000px;
  font-size: 0;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 50px;
  -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
          box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
  top: 40px;
  left: 50%;
  padding: 40px 100px 160px;
  -ms-transform: translateX(-50%);
      transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

#game .layer-2 .txt .step {
  display: inline-block;
  width: 250px;
  line-height: 34px;
  font-size: 1.25rem;
  font-weight: 500;
  vertical-align: middle;
}

#game .layer-2 .txt .step .no {
  display: inline-block;
  line-height: 64px;
  font-size: 4rem;
  vertical-align: bottom;
  margin-right: 10px;
  color: #d83e72;
  background: -webkit-linear-gradient(#f38ea4, #d83e72);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#game .layer-2 .txt .step .summary {
  display: block;
  line-height: 34px;
  font-size: 1.125rem;
  font-weight: bold;
  padding-left: 3px;
}

#game .layer-2 .txt .note {
  display: inline-block;
  width: calc(100% - 250px);
  line-height: 26px;
  font-size: 0.9375rem;
  vertical-align: middle;
}

#game .layer-2 .items i {
  display: block;
  position: absolute;
  width: 110px;
  height: 110px;
  font-style: normal;
  border-radius: 100%;
  cursor: pointer;
}

#game .layer-2 .items i:hover,
#game .layer-2 .items i.ui-draggable-dragging {
  -webkit-box-shadow: 0 0 8px rgba(195, 159, 182, 0.5);
          box-shadow: 0 0 8px rgba(195, 159, 182, 0.5);
}

#game .layer-2 .items i img {
  border-radius: 100%;
}

#game .layer-2 .items i .cal {
  display: none;
  position: absolute;
  z-index: 10;
  width: 46px;
  height: 46px;
  line-height: 16px;
  font-size: 0.875rem;
  color: #fff;
  border: 2px solid #b92149;
  background: #d83d71;
  border-radius: 100%;
  text-align: center;
  padding: 5px 0;
  top: -15px;
  right: -5px;
}

#game .layer-2 .items i:hover .cal,
#game .layer-2 .items i.ui-draggable-dragging .cal {
  display: block;
}

#game .layer-2 .items .item-1 {
  left: 10.4%;
  bottom: 70%;
}

#game .layer-2 .items .item-2 {
  left: 4.4%;
  bottom: 51.6%;
}

#game .layer-2 .items .item-3 {
  left: 15.1%;
  bottom: 44%;
}

#game .layer-2 .items .item-4 {
  left: 8.6%;
  bottom: 28.1%;
}

#game .layer-2 .items .item-5 {
  left: 15%;
  bottom: 4.4%;
}

#game .layer-2 .items .item-6 {
  left: 26.5%;
  bottom: 44%;
}

#game .layer-2 .items .item-7 {
  left: 24.7%;
  bottom: 18.9%;
}

#game .layer-2 .items .item-8 {
  left: 35.4%;
  bottom: 55.4%;
}

#game .layer-2 .items .item-9 {
  left: 2%;
  bottom: 10%;
}

#game .layer-2 .items .item-10 {
  left: 47.3%;
  bottom: 55.7%;
}

#game .layer-2 .items .item-11 {
  right: 1.5%;
  bottom: 9%;
}

#game .layer-2 .items .item-12 {
  right: 35.7%;
  bottom: 59%;
}

#game .layer-2 .items .item-13 {
  right: 24.6%;
  bottom: 63.2%;
}

#game .layer-2 .items .item-14 {
  right: 23.3%;
  bottom: 36.5%;
}

#game .layer-2 .items .item-15 {
  right: 24.3%;
  bottom: 4.4%;
}

#game .layer-2 .items .item-16 {
  right: 17.3%;
  bottom: 50.3%;
}

#game .layer-2 .items .item-17 {
  right: 20.3%;
  bottom: 20.1%;
}

#game .layer-2 .items .item-18 {
  right: 9.3%;
  bottom: 66%;
}

#game .layer-2 .items .item-19 {
  right: 2.9%;
  bottom: 50%;
}

#game .layer-2 .items .item-20 {
  right: 7.6%;
  bottom: 31.3%;
}

#game .layer-2 .items .item-21 {
  right: 11.3%;
  bottom: 6%;
}

#game .layer-2 .basket-like {
  position: absolute;
  width: 275px;
  height: 275px;
  left: 50%;
  margin-left: -280px;
  padding: 70px 45px 0 30px;
  bottom: 110px;
}

#game .layer-2 .basket-like:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("../images/game/layer2_like.png") no-repeat;
  background-size: cover;
  top: 0;
  left: 0;
}

#game .layer-2 .basket-like.ui-droppable-hover:after {
  background-image: url("../images/game/layer2_like_hover.png");
}

#game .layer-2 .basket-like [data-basket-inner] {
  white-space: nowrap;
  overflow: hidden;
}

#game .layer-2 .basket-like img {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 100%;
  vertical-align: top;
}

#game .layer-2 .basket-like img + img {
  margin-left: -60px;
}

#game .layer-2 .basket-like img:nth-child(n+8) {
  margin-left: -80px;
}

#game .layer-2 .basket-unlike {
  position: absolute;
  width: 275px;
  height: 275px;
  left: 50%;
  margin-left: 5px;
  padding: 70px 45px 0 30px;
  bottom: 110px;
}

#game .layer-2 .basket-unlike:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("../images/game/layer2_unlike.png") no-repeat;
  background-size: cover;
  top: 0;
  left: 0;
}

#game .layer-2 .basket-unlike.ui-droppable-hover:after {
  background-image: url("../images/game/layer2_unlike_hover.png");
}

#game .layer-2 .basket-unlike [data-basket-inner] {
  white-space: nowrap;
  overflow: hidden;
}

#game .layer-2 .basket-unlike img {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 100%;
  vertical-align: top;
}

#game .layer-2 .basket-unlike img + img {
  margin-left: -60px;
}

#game .layer-2 .basket-unlike img:nth-child(n+8) {
  margin-left: -80px;
}

#game .layer-2 .next {
  display: block;
  position: absolute;
  width: 220px;
  height: 220px;
  text-align: center;
  left: 50%;
  bottom: 0;
  margin-left: -110px;
  margin-bottom: -110px;
  padding: 12px;
}

#game .layer-2 .next:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(233, 89, 126, 0.5);
  border-radius: 100%;
  top: 0;
  left: 0;
  animation: gameButtonBack 1s infinite;
  -moz-animation: gameButtonBack 1s infinite;
  -webkit-animation: gameButtonBack 1s infinite;
}

#game .layer-2 .next span {
  display: block;
  position: absolute;
  width: 196px;
  height: 196px;
  line-height: 26px;
  font-size: 1.125rem;
  color: #fff;
  background: #e9597e;
  border-radius: 100%;
  padding-top: 30px;
  top: 12px;
  left: 12px;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

#game .layer-2 .next:hover span {
  width: 220px;
  height: 220px;
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
  padding-top: 42px;
  top: 0;
  left: 0;
}

@media (max-width: 1599px) {
  #game .layer-2 .items i {
    width: 80px;
    height: 80px;
  }
  #game .layer-2 .basket-like {
    width: 225px;
    height: 225px;
    margin-left: -230px;
    padding: 65px 40px 0 25px;
  }
  #game .layer-2 .basket-unlike {
    width: 225px;
    height: 225px;
    padding: 65px 40px 0 25px;
  }
  #game .layer-2 .basket-like img,
  #game .layer-2 .basket-unlike img {
    width: 60px;
    height: 60px;
  }
  #game .layer-2 .basket-like img + img,
  #game .layer-2 .basket-unlike img + img {
    margin-left: -40px;
  }
  #game .layer-2 .basket-like img:nth-child(n+7),
  #game .layer-2 .basket-unlike img:nth-child(n+7) {
    margin-left: -60px;
  }
}
@media (max-width: 1199px) {
  #game .layer-2 .txt {
    padding: 30px 50px;
  }
  #game .layer-2 .txt .step {
    line-height: 26px;
    font-size: 1rem;
  }
  #game .layer-2 .txt .step .no {
    line-height: 36px;
    font-size: 2rem;
    margin-right: 5px;
  }
  #game .layer-2 .items {
    position: absolute;
    width: calc(100% - 40px);
    font-size: 0;
    top: 200px;
    left: 20px;
  }
  #game .layer-2 .items i {
    display: inline-block;
    position: relative;
    vertical-align: top;
    margin: 0 5px 10px;
  }
  #game .layer-2 .items .item-1,
  #game .layer-2 .items .item-2,
  #game .layer-2 .items .item-3,
  #game .layer-2 .items .item-4,
  #game .layer-2 .items .item-5,
  #game .layer-2 .items .item-6,
  #game .layer-2 .items .item-7,
  #game .layer-2 .items .item-8,
  #game .layer-2 .items .item-9,
  #game .layer-2 .items .item-10,
  #game .layer-2 .items .item-11,
  #game .layer-2 .items .item-12,
  #game .layer-2 .items .item-13,
  #game .layer-2 .items .item-14,
  #game .layer-2 .items .item-15,
  #game .layer-2 .items .item-16,
  #game .layer-2 .items .item-17,
  #game .layer-2 .items .item-18,
  #game .layer-2 .items .item-19,
  #game .layer-2 .items .item-20,
  #game .layer-2 .items .item-21 {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
}
@media (max-width: 991px) {
  #game .layer-2 .txt .step {
    width: 200px;
  }
  #game .layer-2 .txt .step .summary {
    line-height: 26px;
    font-size: 1rem;
    padding-left: 0;
  }
  #game .layer-2 .txt .note {
    width: calc(100% - 200px);
    line-height: 24px;
    font-size: 0.875rem;
  }
  #game .layer-2 .items {
    top: auto;
    bottom: 140px;
  }
  #game .layer-2 .basket-like,
  #game .layer-2 .basket-unlike {
    width: 100px;
    height: 100px;
    bottom: 10px;
    margin: 0;
    padding: 20px 30px 0 25px;
  }
  #game .layer-2 .basket-like {
    left: 5px;
  }
  #game .layer-2 .basket-unlike {
    left: auto;
    right: 5px;
  }
  #game .layer-2 .basket-like img,
  #game .layer-2 .basket-unlike img {
    width: 45px;
    height: 45px;
  }
  #game .layer-2 .basket-like img + img,
  #game .layer-2 .basket-unlike img + img {
    margin-left: -45px !important;
  }
  #game .layer-2 .next {
    width: 80px;
    height: 34px;
    bottom: 15px;
    margin-left: -40px;
    margin-bottom: 0;
    padding: 0;
  }
  #game .layer-2 .next:before {
    display: none;
  }
  #game .layer-2 .next span,
  #game .layer-2 .next:hover span {
    position: relative;
    width: 100%;
    height: 34px;
    line-height: 34px;
    font-size: 0.9375rem;
    padding: 0;
    top: auto;
    left: auto;
    border-radius: 2px;
    overflow: hidden;
  }
}
@media (max-width: 767px) {
  #game .layer-2 .txt {
    border-radius: 10px;
    padding: 15px;
    top: 15px;
  }
  #game .layer-2 .txt .step,
  #game .layer-2 .txt .note {
    display: block;
    width: 100%;
  }
  #game .layer-2 .txt .note {
    margin-top: 5px;
  }
  #game .layer-2 .items i {
    width: 45px;
    height: 45px;
    margin: 0 2px 4px;
  }
  #game .layer-2 .items i .cal {
    display: none !important;
  }
}
#game .layer-3 {
  background: url("../images/game/layer1_bg.jpg") center no-repeat;
  background-size: cover;
}

#game .layer-3 .bg-ico-1 {
  display: block;
  position: absolute;
  width: 450px;
  height: 655px;
  background: url("../images/game/layer1_ico_female.png") no-repeat;
  background-size: cover;
  left: 25%;
  bottom: 0;
  -ms-transform: translateX(-50%);
      transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

#game .layer-3 .bg-ico-2 {
  display: block;
  position: absolute;
  width: 555px;
  height: 630px;
  background: url("../images/game/layer1_ico_male.png") no-repeat;
  background-size: cover;
  right: 25%;
  bottom: 0;
  -ms-transform: translateX(50%);
      transform: translateX(50%);
  -moz-transform: translateX(50%);
  -webkit-transform: translateX(50%);
}

#game .layer-3 .bg-line {
  display: block;
  position: absolute;
  width: 3840px;
  height: 170px;
  background: url("../images/game/layer1_line.png") no-repeat;
  background-size: cover;
  top: 50%;
  left: 0;
  margin-top: -85px;
  animation: layer1line 60s linear infinite;
  -moz-animation: layer1line 60s linear infinite;
  -webkit-animation: layer1line 60s linear infinite;
}

@keyframes layer1line {
  0% {
    left: 0;
    opacity: 1;
  }
  25% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0.25;
  }
  100% {
    left: -1920px;
    opacity: 1;
  }
}
@-webkit-keyframes layer1line {
  0% {
    left: 0;
    opacity: 1;
  }
  25% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0.25;
  }
  100% {
    left: -1920px;
    opacity: 1;
  }
}
#game .layer-3 .txt {
  position: absolute;
  width: calc(100% - 30px);
  max-width: 1000px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 50px;
  -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
          box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
  text-align: center;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  padding: 20px 50px 200px;
  -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

#game .layer-3 .txt .head {
  position: relative;
  padding-top: 36px;
}

#game .layer-3 .txt .head:before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 30px;
  background: #5e95cf;
  top: 0;
  left: 50%;
}

#game .layer-3 .txt .head .en {
  line-height: 30px;
  font-size: 1.25rem;
  color: #5e95cf;
  margin: 0;
}

#game .layer-3 .txt .head .ch {
  line-height: 54px;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  color: #5490be;
  background: -webkit-linear-gradient(#57c3df, #5490be);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#game .layer-3 .txt .note {
  line-height: 26px;
  font-size: 0.9375rem;
  color: #666;
  margin: 10px 0 0;
}

#game .layer-3 .icos i {
  display: block;
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 100%;
  overflow: hidden;
  animation: layer1ico 2s ease-in-out infinite;
  -moz-animation: layer1ico 2s ease-in-out infinite;
  -webkit-animation: layer1ico 2s ease-in-out infinite;
}

#game .layer-3 .icos i.ico-1 {
  left: 4.5%;
  bottom: 45%;
}

#game .layer-3 .icos i.ico-2 {
  left: 8.5%;
  bottom: 21.5%;
  animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  -webkit-animation-delay: 0.5s;
}

#game .layer-3 .icos i.ico-3 {
  left: 15%;
  bottom: 37.4%;
  animation-delay: 1s;
  -moz-animation-delay: 1s;
  -webkit-animation-delay: 1s;
}

#game .layer-3 .icos i.ico-4 {
  left: 26.5%;
  bottom: 36.3%;
}

#game .layer-3 .icos i.ico-5 {
  left: 32%;
  bottom: 16.8%;
}

#game .layer-3 .icos i.ico-6 {
  left: 35.4%;
  bottom: 48.8%;
  animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  -webkit-animation-delay: 0.5s;
}

#game .layer-3 .icos i.ico-7 {
  right: 35.4%;
  bottom: 46.9%;
  animation-delay: 1s;
  -moz-animation-delay: 1s;
  -webkit-animation-delay: 1s;
}

#game .layer-3 .icos i.ico-8 {
  right: 34.4%;
  bottom: 11%;
}

#game .layer-3 .icos i.ico-9 {
  right: 27.1%;
  bottom: 30%;
  animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  -webkit-animation-delay: 0.5s;
}

#game .layer-3 .icos i.ico-10 {
  right: 15.3%;
  bottom: 38.7%;
  animation-delay: 1s;
  -moz-animation-delay: 1s;
  -webkit-animation-delay: 1s;
}

#game .layer-3 .icos i.ico-11 {
  right: 7.4%;
  bottom: 24.7%;
}

#game .layer-3 .icos i.ico-12 {
  right: 2.6%;
  bottom: 43.3%;
  animation-delay: 1s;
  -moz-animation-delay: 1s;
  -webkit-animation-delay: 1s;
}

@keyframes layer1ico {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@-webkit-keyframes layer1ico {
  0% {
    -webkit-transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(20px);
  }
  100% {
    -webkit-transform: translateY(0);
  }
}
#game .layer-3 .pic {
  position: absolute;
  width: 600px;
  height: 458px;
  left: 50%;
  bottom: 0;
  -ms-transform: translateX(-50%);
      transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

#game .layer-3 .next {
  display: block;
  position: absolute;
  width: 220px;
  height: 220px;
  text-align: center;
  left: 50%;
  bottom: 0;
  margin-left: -110px;
  margin-bottom: -110px;
  padding: 12px;
}

#game .layer-3 .next:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(94, 149, 207, 0.5);
  border-radius: 100%;
  top: 0;
  left: 0;
  animation: gameButtonBack 1s infinite;
  -moz-animation: gameButtonBack 1s infinite;
  -webkit-animation: gameButtonBack 1s infinite;
}

#game .layer-3 .next span {
  display: block;
  position: absolute;
  width: 196px;
  height: 196px;
  line-height: 26px;
  font-size: 1.125rem;
  color: #fff;
  background: #5e95cf;
  border-radius: 100%;
  padding-top: 30px;
  top: 12px;
  left: 12px;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

#game .layer-3 .next:hover span {
  width: 220px;
  height: 220px;
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
  padding-top: 42px;
  top: 0;
  left: 0;
}

@media (max-width: 991px) {
  #game .layer-3 .bg-ico-1,
  #game .layer-3 .bg-ico-2,
  #game .layer-3 .bg-line {
    display: none;
  }
  #game .layer-3 .icos {
    display: none;
  }
  #game .layer-3 .next {
    width: 80px;
    height: 34px;
    bottom: 15px;
    margin-left: -40px;
    margin-bottom: 0;
    padding: 0;
  }
  #game .layer-3 .next:before {
    display: none;
  }
  #game .layer-3 .next span,
  #game .layer-3 .next:hover span {
    position: relative;
    width: 100%;
    height: 34px;
    line-height: 34px;
    font-size: 0.9375rem;
    padding: 0;
    top: auto;
    left: auto;
    border-radius: 2px;
    overflow: hidden;
  }
}
@media (max-width: 767px) {
  #game .layer-3 .txt {
    border-radius: 10px;
    padding: 15px;
    top: 40px;
    margin-top: 0;
    -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }
  #game .layer-3 .txt .head {
    padding-top: 20px;
  }
  #game .layer-3 .txt .head:before {
    height: 15px;
  }
  #game .layer-3 .txt .head .en {
    line-height: 26px;
    font-size: 1rem;
  }
  #game .layer-3 .txt .head .ch {
    line-height: 36px;
    font-size: 1.75rem;
  }
  #game .layer-3 .txt .note {
    line-height: 24px;
    font-size: 0.875rem;
    margin-top: 5px;
  }
}
#game .layer-4 {
  background: #a7d4ee;
}

#game .layer-4 .cloud {
  display: block;
  position: absolute;
  width: 3840px;
  height: 100%;
  background: url("../images/game/layer2_bg.png") top;
  background-repeat: space no-repeat;
  top: 0;
  left: -1920px;
  animation: layer2cloud 60s linear infinite;
  -moz-animation: layer2cloud 60s linear infinite;
  -webkit-animation: layer2cloud 60s linear infinite;
}

#game .layer-4 .bg-ico-1 {
  display: block;
  position: absolute;
  width: 555px;
  height: 630px;
  background: url(../images/game/layer1_ico_male.png) no-repeat;
  background-size: cover;
  right: 25%;
  bottom: 0;
  -ms-transform: translateX(50%);
      transform: translateX(50%);
  -moz-transform: translateX(50%);
  -webkit-transform: translateX(50%);
}

#game .layer-4 .bg-ico-2 {
  display: block;
  position: absolute;
  width: 340px;
  height: 660px;
  background: url(../images/game/layer4_bg_ico.png) no-repeat;
  background-size: cover;
  left: 25%;
  bottom: 0;
  -ms-transform: translateX(-50%);
      transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

#game .layer-4 .bg-line {
  display: block;
  position: absolute;
  width: 3840px;
  height: 170px;
  background: url(../images/game/layer1_line.png) no-repeat;
  background-size: cover;
  top: 50%;
  left: 0;
  margin-top: -85px;
  animation: layer1line 60s linear infinite;
  -moz-animation: layer1line 60s linear infinite;
  -webkit-animation: layer1line 60s linear infinite;
}

#game .layer-4 .txt {
  position: absolute;
  width: calc(100% - 30px);
  max-width: 1000px;
  font-size: 0;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 50px;
  -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
          box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
  top: 40px;
  left: 50%;
  padding: 40px 100px 160px;
  -ms-transform: translateX(-50%);
      transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

#game .layer-4 .txt .step {
  display: inline-block;
  width: 250px;
  line-height: 34px;
  font-size: 1.25rem;
  font-weight: 500;
  vertical-align: middle;
}

#game .layer-4 .txt .step .no {
  display: inline-block;
  line-height: 64px;
  font-size: 4rem;
  vertical-align: bottom;
  margin-right: 10px;
  color: #5490be;
  background: -webkit-linear-gradient(#57c3df, #5490be);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#game .layer-4 .txt .step .summary {
  display: block;
  line-height: 34px;
  font-size: 1.125rem;
  font-weight: bold;
  padding-left: 3px;
}

#game .layer-4 .txt .note {
  display: inline-block;
  width: calc(100% - 250px);
  line-height: 26px;
  font-size: 0.9375rem;
  vertical-align: middle;
}

#game .layer-4 .items i {
  display: block;
  position: absolute;
  width: 110px;
  height: 110px;
  font-style: normal;
  border-radius: 100%;
  cursor: pointer;
}

#game .layer-4 .items i:hover,
#game .layer-4 .items i.ui-draggable-dragging {
  -webkit-box-shadow: 0 0 8px rgba(195, 159, 182, 0.5);
          box-shadow: 0 0 8px rgba(195, 159, 182, 0.5);
}

#game .layer-4 .items i img {
  border-radius: 100%;
}

#game .layer-4 .items i .cal {
  display: none;
  position: absolute;
  z-index: 10;
  width: 46px;
  height: 46px;
  line-height: 16px;
  font-size: 0.875rem;
  color: #fff;
  border: 2px solid #396298;
  background: #5e95cf;
  border-radius: 100%;
  text-align: center;
  padding: 5px 0;
  top: -15px;
  right: -5px;
}

#game .layer-4 .items i:hover .cal,
#game .layer-4 .items i.ui-draggable-dragging .cal {
  display: block;
}

#game .layer-4 .items .item-1 {
  left: 10.4%;
  bottom: 70%;
}

#game .layer-4 .items .item-2 {
  left: 4.4%;
  bottom: 51.6%;
}

#game .layer-4 .items .item-3 {
  left: 15.1%;
  bottom: 44%;
}

#game .layer-4 .items .item-4 {
  left: 8.6%;
  bottom: 28.1%;
}

#game .layer-4 .items .item-5 {
  left: 15%;
  bottom: 4.4%;
}

#game .layer-4 .items .item-6 {
  left: 26.5%;
  bottom: 44%;
}

#game .layer-4 .items .item-7 {
  left: 24.7%;
  bottom: 18.9%;
}

#game .layer-4 .items .item-8 {
  left: 35.4%;
  bottom: 55.4%;
}

#game .layer-4 .items .item-9 {
  left: 2%;
  bottom: 10%;
}

#game .layer-4 .items .item-10 {
  left: 47.3%;
  bottom: 55.7%;
}

#game .layer-4 .items .item-11 {
  right: 1.5%;
  bottom: 9%;
}

#game .layer-4 .items .item-12 {
  right: 35.7%;
  bottom: 59%;
}

#game .layer-4 .items .item-13 {
  right: 24.6%;
  bottom: 63.2%;
}

#game .layer-4 .items .item-14 {
  right: 23.3%;
  bottom: 36.5%;
}

#game .layer-4 .items .item-15 {
  right: 24.3%;
  bottom: 4.4%;
}

#game .layer-4 .items .item-16 {
  right: 17.3%;
  bottom: 50.3%;
}

#game .layer-4 .items .item-17 {
  right: 20.3%;
  bottom: 20.1%;
}

#game .layer-4 .items .item-18 {
  right: 9.3%;
  bottom: 66%;
}

#game .layer-4 .items .item-19 {
  right: 2.9%;
  bottom: 50%;
}

#game .layer-4 .items .item-20 {
  right: 7.6%;
  bottom: 31.3%;
}

#game .layer-4 .items .item-21 {
  right: 11.3%;
  bottom: 6%;
}

#game .layer-4 .basket-like {
  position: absolute;
  width: 275px;
  height: 275px;
  left: 50%;
  margin-left: -280px;
  padding: 70px 45px 0 30px;
  bottom: 110px;
}

#game .layer-4 .basket-like:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("../images/game/layer2_like.png") no-repeat;
  background-size: cover;
  top: 0;
  left: 0;
}

#game .layer-4 .basket-like.ui-droppable-hover:after {
  background-image: url("../images/game/layer2_like_hover.png");
}

#game .layer-4 .basket-like [data-basket-inner] {
  white-space: nowrap;
  overflow: hidden;
}

#game .layer-4 .basket-like img {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 100%;
  vertical-align: top;
}

#game .layer-4 .basket-like img + img {
  margin-left: -60px;
}

#game .layer-4 .basket-like img:nth-child(n+8) {
  margin-left: -80px;
}

#game .layer-4 .basket-unlike {
  position: absolute;
  width: 275px;
  height: 275px;
  left: 50%;
  margin-left: 5px;
  padding: 70px 45px 0 30px;
  bottom: 110px;
}

#game .layer-4 .basket-unlike:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("../images/game/layer2_unlike.png") no-repeat;
  background-size: cover;
  top: 0;
  left: 0;
}

#game .layer-4 .basket-unlike.ui-droppable-hover:after {
  background-image: url("../images/game/layer2_unlike_hover.png");
}

#game .layer-4 .basket-unlike [data-basket-inner] {
  white-space: nowrap;
  overflow: hidden;
}

#game .layer-4 .basket-unlike img {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 100%;
  vertical-align: top;
}

#game .layer-4 .basket-unlike img + img {
  margin-left: -60px;
}

#game .layer-4 .basket-unlike img:nth-child(n+8) {
  margin-left: -80px;
}

#game .layer-4 .next {
  display: block;
  position: absolute;
  width: 220px;
  height: 220px;
  text-align: center;
  left: 50%;
  bottom: 0;
  margin-left: -110px;
  margin-bottom: -110px;
  padding: 12px;
}

#game .layer-4 .next:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(94, 149, 207, 0.5);
  border-radius: 100%;
  top: 0;
  left: 0;
  animation: gameButtonBack 1s infinite;
  -moz-animation: gameButtonBack 1s infinite;
  -webkit-animation: gameButtonBack 1s infinite;
}

#game .layer-4 .next span {
  display: block;
  position: absolute;
  width: 196px;
  height: 196px;
  line-height: 26px;
  font-size: 1.125rem;
  color: #fff;
  background: #5e95cf;
  border-radius: 100%;
  padding-top: 30px;
  top: 12px;
  left: 12px;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

#game .layer-4 .next:hover span {
  width: 220px;
  height: 220px;
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
  padding-top: 42px;
  top: 0;
  left: 0;
}

@media (max-width: 1599px) {
  #game .layer-4 .items i {
    width: 80px;
    height: 80px;
  }
  #game .layer-4 .basket-like {
    width: 225px;
    height: 225px;
    margin-left: -230px;
    padding: 65px 40px 0 25px;
  }
  #game .layer-4 .basket-unlike {
    width: 225px;
    height: 225px;
    padding: 65px 40px 0 25px;
  }
  #game .layer-4 .basket-like img,
  #game .layer-4 .basket-unlike img {
    width: 60px;
    height: 60px;
  }
  #game .layer-4 .basket-like img + img,
  #game .layer-4 .basket-unlike img + img {
    margin-left: -40px;
  }
  #game .layer-4 .basket-like img:nth-child(n+7),
  #game .layer-4 .basket-unlike img:nth-child(n+7) {
    margin-left: -60px;
  }
}
@media (max-width: 1199px) {
  #game .layer-4 .txt {
    padding: 30px 50px;
  }
  #game .layer-4 .txt .step {
    line-height: 26px;
    font-size: 1rem;
  }
  #game .layer-4 .txt .step .no {
    line-height: 36px;
    font-size: 2rem;
    margin-right: 5px;
  }
  #game .layer-4 .items {
    position: absolute;
    width: calc(100% - 40px);
    font-size: 0;
    top: 200px;
    left: 20px;
  }
  #game .layer-4 .items i {
    display: inline-block;
    position: relative;
    vertical-align: top;
    margin: 0 5px 10px;
  }
  #game .layer-4 .items .item-1,
  #game .layer-4 .items .item-2,
  #game .layer-4 .items .item-3,
  #game .layer-4 .items .item-4,
  #game .layer-4 .items .item-5,
  #game .layer-4 .items .item-6,
  #game .layer-4 .items .item-7,
  #game .layer-4 .items .item-8,
  #game .layer-4 .items .item-9,
  #game .layer-4 .items .item-10,
  #game .layer-4 .items .item-11,
  #game .layer-4 .items .item-12,
  #game .layer-4 .items .item-13,
  #game .layer-4 .items .item-14,
  #game .layer-4 .items .item-15,
  #game .layer-4 .items .item-16,
  #game .layer-4 .items .item-17,
  #game .layer-4 .items .item-18,
  #game .layer-4 .items .item-19,
  #game .layer-4 .items .item-20,
  #game .layer-4 .items .item-21 {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
}
@media (max-width: 991px) {
  #game .layer-4 .txt .step {
    width: 200px;
  }
  #game .layer-4 .txt .step .summary {
    line-height: 26px;
    font-size: 1rem;
    padding-left: 0;
  }
  #game .layer-4 .txt .note {
    width: calc(100% - 200px);
    line-height: 24px;
    font-size: 0.875rem;
  }
  #game .layer-4 .items {
    top: auto;
    bottom: 140px;
  }
  #game .layer-4 .basket-like,
  #game .layer-4 .basket-unlike {
    width: 100px;
    height: 100px;
    bottom: 10px;
    margin: 0;
    padding: 20px 30px 0 25px;
  }
  #game .layer-4 .basket-like {
    left: 5px;
  }
  #game .layer-4 .basket-unlike {
    left: auto;
    right: 5px;
  }
  #game .layer-4 .basket-like img,
  #game .layer-4 .basket-unlike img {
    width: 45px;
    height: 45px;
  }
  #game .layer-4 .basket-like img + img,
  #game .layer-4 .basket-unlike img + img {
    margin-left: -45px !important;
  }
  #game .layer-4 .next {
    width: 80px;
    height: 34px;
    bottom: 15px;
    margin-left: -40px;
    margin-bottom: 0;
    padding: 0;
  }
  #game .layer-4 .next:before {
    display: none;
  }
  #game .layer-4 .next span,
  #game .layer-4 .next:hover span {
    position: relative;
    width: 100%;
    height: 34px;
    line-height: 34px;
    font-size: 0.9375rem;
    padding: 0;
    top: auto;
    left: auto;
    border-radius: 2px;
    overflow: hidden;
  }
}
@media (max-width: 767px) {
  #game .layer-4 .txt {
    border-radius: 10px;
    padding: 15px;
    top: 15px;
  }
  #game .layer-4 .txt .step,
  #game .layer-4 .txt .note {
    display: block;
    width: 100%;
  }
  #game .layer-4 .txt .note {
    margin-top: 5px;
  }
  #game .layer-4 .items i {
    width: 45px;
    height: 45px;
    margin: 0 2px 4px;
  }
  #game .layer-4 .items i .cal {
    display: none !important;
  }
}
#game .layer-5 {
  background-color: #a7d4ee;
  background-image: url("../images/game/layer5_bg.jpg");
  background-repeat: no-repeat;
  background-position: bottom center;
}

#game .layer-5 .bg-cloud {
  display: block;
  position: absolute;
  width: 3840px;
  height: 100%;
  background: url("../images/game/layer2_bg.png") top;
  background-repeat: space no-repeat;
  top: 0;
  left: -1920px;
  animation: layer2cloud 60s linear infinite;
  -moz-animation: layer2cloud 60s linear infinite;
  -webkit-animation: layer2cloud 60s linear infinite;
}

#game .layer-5 .bg-line {
  display: block;
  position: absolute;
  width: 3840px;
  height: 170px;
  background: url(../images/game/layer1_line.png) no-repeat;
  background-size: cover;
  top: 50%;
  left: 0;
  margin-top: -85px;
  animation: layer1line 60s linear infinite;
  -moz-animation: layer1line 60s linear infinite;
  -webkit-animation: layer1line 60s linear infinite;
}

#game .layer-5 .txt {
  position: absolute;
  width: calc(100% - 30px);
  max-width: 1000px;
  top: 40px;
  left: 50%;
  padding: 150px 120px;
  -ms-transform: translateX(-50%);
      transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

#game .layer-5 .txt .bg {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #5e95cf;
  background-image: url("../images/game/layer5_txt_bg.png");
  background-repeat: no-repeat;
  background-position: left center;
  border-radius: 50px;
  -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
          box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  opacity: 0.85;
  top: 0;
  left: 0;
}

#game .layer-5 .txt .bg:before {
  content: "";
  display: block;
  position: absolute;
  width: 520px;
  height: 500px;
  background: url("../images/game/layer5_pic.png") no-repeat;
  background-size: cover;
  right: 0;
  bottom: 0;
}

#game .layer-5 .txt .txt-inner {
  position: relative;
  width: 300px;
  text-align: center;
}

#game .layer-5 .txt .head {
  position: relative;
  margin-bottom: 20px;
  padding-top: 36px;
}

#game .layer-5 .txt .head:before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 30px;
  background: #fff;
  top: 0;
  left: 50%;
}

#game .layer-5 .txt .head .en {
  line-height: 30px;
  font-size: 1.25rem;
  color: #fff;
  margin: 0;
}

#game .layer-5 .txt .head .ch {
  line-height: 54px;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  color: #fff;
}

#game .layer-5 .txt .total {
  line-height: 50px;
  font-size: 0.9375rem;
  color: #fff;
  margin: 0;
}

#game .layer-5 .txt .total strong {
  font-size: 2.25rem;
  color: #d83d71;
  text-shadow: 1px 1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, -1px -1px 0 #fff;
  margin-left: 10px;
}

#game .layer-5 .txt .note {
  line-height: 26px;
  font-size: 0.9375rem;
  color: #fff;
  margin: 0;
}

#game .layer-5 .retry {
  display: block;
  position: absolute;
  width: 220px;
  height: 220px;
  text-align: center;
  left: 50%;
  bottom: 0;
  margin-left: -110px;
  margin-bottom: -110px;
  padding: 12px;
}

#game .layer-5 .retry:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(233, 89, 126, 0.5);
  border-radius: 100%;
  top: 0;
  left: 0;
  animation: gameButtonBack 1s infinite;
  -moz-animation: gameButtonBack 1s infinite;
  -webkit-animation: gameButtonBack 1s infinite;
}

#game .layer-5 .retry span {
  display: block;
  position: absolute;
  width: 196px;
  height: 196px;
  line-height: 26px;
  font-size: 1.125rem;
  color: #fff;
  background: #e9597e;
  border-radius: 100%;
  padding-top: 30px;
  top: 12px;
  left: 12px;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

#game .layer-5 .retry:hover span {
  width: 220px;
  height: 220px;
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
  padding-top: 42px;
  top: 0;
  left: 0;
}

@media (max-width: 991px) {
  #game .layer-5 .txt {
    padding: 100px 50px;
  }
  #game .layer-5 .txt .bg {
    background-position: center;
  }
  #game .layer-5 .txt .bg:before {
    display: none;
  }
  #game .layer-5 .txt .txt-inner {
    width: 100%;
  }
  #game .layer-5 .retry {
    width: 80px;
    height: 34px;
    bottom: 15px;
    margin-left: -40px;
    margin-bottom: 0;
    padding: 0;
  }
  #game .layer-5 .retry:before {
    display: none;
  }
  #game .layer-5 .retry span,
  #game .layer-5 .retry:hover span {
    position: relative;
    width: 100%;
    height: 34px;
    line-height: 34px;
    font-size: 0.9375rem;
    padding: 0;
    top: auto;
    left: auto;
    border-radius: 2px;
    overflow: hidden;
  }
}
@media (max-width: 767px) {
  #game .layer-5 .bg-cloud,
  #game .layer-5 .bg-line {
    display: none;
  }
  #game .layer-5 .txt {
    top: 120px;
    padding: 50px 15px;
  }
  #game .layer-5 .txt .bg {
    display: none;
  }
  #game .layer-5 .txt .head {
    padding-top: 20px;
  }
  #game .layer-5 .txt .head:before {
    height: 15px;
  }
  #game .layer-5 .txt .head .en {
    line-height: 26px;
    font-size: 1rem;
  }
  #game .layer-5 .txt .head .ch {
    line-height: 36px;
    font-size: 1.75rem;
  }
  #game .layer-5 .txt .total {
    line-height: 40px;
  }
  #game .layer-5 .txt .total strong {
    font-size: 1.75rem;
  }
}
/* 20180911 */
#index-image-popup {
  position: relative;
  max-width: 1040px;
  font-size: 0;
  background: #fff;
  border-radius: 10px;
  -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
          box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  text-align: right;
  margin: 40px auto;
  padding: 20px;
}

#index-image-popup .index-popup-content {
  max-height: calc(100vh - 160px);
  font-size: 16px;
  text-align: left;
  margin-bottom: 20px;
}

#index-image-popup .mfp-close {
  width: 34px;
  height: 34px;
  line-height: 34px;
  top: -34px;
  right: 0;
  color: #fff;
}

.index-image-popup-link {
  display: block;
  margin: 0 auto 10px;
}

.index-image-popup-check {
  display: inline-block;
  margin: 0;
  vertical-align: top;
  cursor: pointer;
}

.index-image-popup-check input {
  display: none;
}

.index-image-popup-check span {
  display: block;
  position: relative;
  line-height: 20px;
  font-size: 0.875rem;
  color: #999;
  padding-left: 20px;
}

.index-image-popup-check input:checked + span {
  color: #333;
}

.index-image-popup-check input:focus + span {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.index-image-popup-check span:before {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid #bbb;
  border-radius: 2px;
  top: 2px;
  left: 0;
}

.index-image-popup-check input:checked + span:before {
  border-color: #555;
}

.index-image-popup-check input:checked + span:after {
  content: "";
  display: block;
  position: absolute;
  width: 6px;
  height: 10px;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  top: 4px;
  left: 5px;
  -ms-transform: rotate(45deg);
      transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

@media (max-width: 767px) {
  #index-image-popup {
    border-radius: 5px;
    padding: 10px;
  }
  .index-image-popup-link {
    margin-bottom: 4px;
  }
}
/* 20180911 活動報名 */
#active .switch-mode {
  position: relative;
  top: 20px;
  z-index: 10;
  text-align: right;
  padding-left: 200px;
}

#active .switch-mode a {
  display: inline-block;
  line-height: 30px;
  font-size: 0.875rem;
  vertical-align: middle;
  padding: 0px 20px;
  border-radius: 20px;
  border: 1px solid #999;
  color: #999;
  margin-right: 10px;
}

#active .switch-mode a:last-child {
  margin-right: 0;
}

#active .switch-mode a:hover,
#active .switch-mode a.current {
  border: 1px solid #d83d71;
  color: #d83d71;
}

#active .switch-mode .list-search {
  position: absolute;
  width: 285px;
  height: 32px;
  left: 0;
  top: 0;
  text-align: left;
}

#active .switch-mode .list-search .op1 {
  display: inline-block;
  vertical-align: top;
  width: 100px;
  margin-right: 5px;
}

#active .switch-mode .list-search .op2 {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 105px);
  max-width: 180px;
}

#active .switch-mode .list-search .select {
  border: 1px solid #999;
  border-radius: 50px;
  padding: 0 10px;
  position: relative;
  z-index: 0;
  width: 100%;
  height: 32px;
  line-height: 32px;
  font-size: 15px;
}

#active .switch-mode .list-search .input {
  border: 1px solid #999;
  border-radius: 50px;
  padding: 0 38px 0 10px;
  position: relative;
  z-index: 0;
  width: 100%;
  height: 32px;
  font-size: 15px;
}

#active .switch-mode .list-search .input:focus {
  border-color: #777;
}

#active .switch-mode .list-search .input::-webkit-input-placeholder {
  font-size: 14px;
}

#active .switch-mode .list-search .input::-moz-placeholder {
  font-size: 14px;
}

#active .switch-mode .list-search .input:-ms-input-placeholder {
  font-size: 14px;
}

#active .switch-mode .list-search .submit {
  position: absolute;
  z-index: 1;
  width: 28px;
  height: 28px;
  border: none;
  right: 2px;
  top: 2px;
  display: block;
  border-radius: 100%;
  background: #aaa;
}

#active .switch-mode .list-search .submit:hover {
  background: #666;
}

#active .switch-mode .list-search .submit:before {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  background: url("../images/header_search.png") no-repeat;
  background-size: cover;
  top: 6px;
  left: 6px;
}

@media (max-width: 599px) {
  #active .switch-mode {
    text-align: center;
    padding-left: 0;
  }
  #active .switch-mode .list-search {
    position: relative;
    margin: 0 auto 10px auto;
    width: auto;
    max-width: 285px;
  }
}
#active .active-list {
  font-size: 0;
  margin-top: 35px;
  margin-bottom: 50px;
}

#active .active-list-head > div {
  display: inline-block;
  line-height: 26px;
  font-size: 0.9375rem;
  font-weight: bold;
  color: #fff;
  background: #999;
  text-align: center;
  vertical-align: top;
  padding: 5px 0;
}

#active .active-list-head > div + div {
  border-left: 1px solid #fff;
}

#active .active-list-item {
  border-bottom: 1px solid #dcdcdc;
}

#active .active-list-item:nth-child(even) {
  background: #f7f7f7;
}

#active .active-list-item > div {
  display: inline-block;
  vertical-align: middle;
  padding: 10px;
}

#active .active-list-head .name,
#active .active-list-item .name {
  width: calc(100% - 760px);
}

#active .active-list-head .area,
#active .active-list-item .area,
#active .active-list-head .date,
#active .active-list-item .date,
#active .active-list-head .apply-date,
#active .active-list-item .apply-date,
#active .active-list-head .fee,
#active .active-list-item .fee,
#active .active-list-head .status,
#active .active-list-item .status,
#active .active-list-head .apply-btn,
#active .active-list-item .apply-btn {
  width: 100px;
}

#active .active-list-head .limit,
#active .active-list-item .limit,
#active .active-list-head .remain,
#active .active-list-item .remain {
  width: 80px;
}

#active .active-list-item .name {
  padding: 10px 15px;
}

#active .active-list-item .subject {
  position: relative;
  line-height: 26px;
  font-size: 1rem;
  font-weight: bold;
  color: #222;
  margin: 0;
}

#active .active-list-item .subject a {
  color: #222;
  transition: color 0.25s;
  -moz-transition: color 0.25s;
  -webkit-transition: color 0.25s;
}

#active .active-list-item .subject a:hover {
  color: #d83d71;
}

#active .active-list-item .countdown {
  position: relative;
  line-height: 23px;
  font-size: 0.875rem;
  color: #777;
  margin: 4px 0 0;
  padding-left: 20px;
}

#active .active-list-item .countdown:before {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 1px;
  background: #dcdcdc;
  top: 11px;
  left: 0;
}

#active .active-list-item .countdown span {
  color: #d83d71;
}

#active .active-list-item .cancle-msg {
  display: block;
  font-style: normal;
  color: #DD2629;
  font-size: 0.875rem;
}

#active .active-list-item .countdown .cancle-msg {
  font-size: inherit;
}

#active .active-list-item .area,
#active .active-list-item .date,
#active .active-list-item .apply-date,
#active .active-list-item .limit,
#active .active-list-item .remain,
#active .active-list-item .fee {
  line-height: 24px;
  font-size: 0.875rem;
  color: #999;
  text-align: center;
  min-height: 2rem;
}

#active .active-list-item .status,
#active .active-list-item .apply-btn {
  text-align: center;
}

#active .active-list-item .apply-btn .cancle-msg {
  display: none;
}

#active .active-list-item .status-icon {
  display: inline-block;
  line-height: 24px;
  font-size: 0.875rem;
  color: #fff;
  border: 1px solid #ccc;
  background: #ccc;
  border-radius: 2px;
  margin: 0;
  padding: 0 10px;
  vertical-align: middle;
}

#active .active-list-item .status-icon.open {
  color: #4d9ed6;
  border-color: #4d9ed6;
  background: #fff;
}

#active .active-list-item .status-icon.end {
  color: #f66;
  border-color: #f66;
  background: #fff;
}

#active .active-list-item .status-icon.full {
  border-color: #f66;
  background: #f66;
}

#active .active-list-item .status-icon i {
  margin-right: 4px;
}

#active .active-list-item .status-form {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 1.125rem;
  font-weight: bold;
  color: #fff;
  background: #d83d71;
  border-radius: 100%;
  text-align: center;
  vertical-align: middle;
  margin: auto;
}

#active .active-list-item .status-form:hover {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset;
}

#active .active-list-item .apply-btn-link {
  display: inline-block;
  line-height: 26px;
  font-size: 0.875rem;
  color: #fff;
  background: #999;
  border-radius: 2px;
  margin: 2px 0;
  padding: 0 8px;
}

#active .active-list-item .apply-btn-link:hover {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset;
}

#active .active-list-item .apply-btn-link.add {
  background: #d83d71;
}

@media (max-width: 991px) {
  #active .active-list-head {
    display: none;
  }
  #active .active-list-item > div {
    display: block;
    position: relative;
    width: 100% !important;
    text-align: left !important;
    padding: 5px 0 5px 100px !important;
  }
  #active .active-list-item > div + div {
    border-top: 1px solid #fff;
  }
  #active .active-list-item > div:before {
    content: "";
    display: block;
    position: absolute;
    width: 90px;
    height: 100%;
    background: #999;
    top: 0;
    left: 0;
  }
  #active .active-list-item > div:after {
    display: block;
    position: absolute;
    width: 90px;
    line-height: 24px;
    font-size: 0.875rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    top: 50%;
    left: 0;
    -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
  }
  #active .active-list-item .name:after {
    content: "活動名稱";
  }
  #active .active-list-item .area:after {
    content: "區　　域";
  }
  #active .active-list-item .date:after {
    content: "活動日期";
  }
  #active .active-list-item .apply-date:after {
    content: "報名截止日";
  }
  #active .active-list-item .limit:after {
    content: "報名人數";
  }
  #active .active-list-item .remain:after {
    content: "剩餘名額";
  }
  #active .active-list-item .fee:after {
    content: "報名費用";
  }
  #active .active-list-item .status:after {
    content: "報名狀態";
  }
  #active .active-list-item .apply-btn:after {
    content: "我要報名";
  }
  #active .active-list-item .apply-btn-link {
    display: inline-block;
    line-height: 35px;
    font-size: 1rem;
    margin: 2px 3px;
    text-align: center;
    width: calc(50% - 10px);
  }
  #active .active-list-item .apply-btn .cancle-msg {
    display: block;
    width: 50%;
    margin-left: 49%;
    text-align: center;
  }
}
@media (max-width: 499px) {
  #active .active-list-item .apply-btn-link {
    display: block;
    margin: 2px auto;
    width: 100%;
  }
  #active .active-list-item .apply-btn .cancle-msg {
    width: 100%;
    margin-left: auto;
  }
}
@media (max-width: 419px) {
  #active .active-list-item .countdown span {
    display: block;
  }
}
/*@media (max-width: 419px) {
  #active .active-list-item {
    border: 1px solid #dcdcdc;
  }
  #active .active-list-item + .active-list-item {
    margin-top: 10px;
  }
  #active .active-list-item > div {
    padding: 35px 10px 5px !important;
  }
  #active .active-list-item > div:before {
    width: 100%;
    height: 30px;
  }
  #active .active-list-item > div:after {
    width: 100%;
    line-height: 30px;
    top: 0;
    transform: none;
    -moz-transform: none;
    -webkit-transform: none;
  }
  #active .active-list-item .name,
  #active .active-list-item .status {
    text-align: center !important;
  }
  #active .active-list-item .subject {
    padding-bottom: 5px;
  }
  #active .active-list-item .subject:after {
    left: 50%;
    margin-left: -35px;
  }
  #active .active-list-item .date {
    margin-top: 5px;
  }
  #active .active-list-item .status-icon {
    margin-right: 0;
  }
  #active .active-list-item .status-form {
    display: block;
    width: 90px;
    margin: 5px auto 0;
  }
}*/
#active .active-view-info .head .subject {
  line-height: 36px;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

#active .active-view-info .head .date {
  background: url(../images/inews_line.png) 0 6px repeat-x;
  margin-top: 5px;
}

#active .active-view-info .head .date span {
  display: inline-block;
  line-height: 26px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #d83d71;
  background: #fff;
  vertical-align: top;
  padding-right: 40px;
}

#active .active-view-info .content {
  margin: 20px 0;
}

#active .active-view-login {
  font-size: 0;
  border-top: 1px solid #dcdcdc;
  padding: 40px 0 60px;
  text-align: center;
}

#active .active-view-login a {
  display: inline-block;
  width: 160px;
  height: 40px;
  line-height: 40px;
  font-size: 0.9375rem;
  color: #fff;
  vertical-align: top;
  margin: 0 5px;
}

#active .active-view-login a:hover {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset;
}

#active .active-view-login a.login {
  background: #e9597e;
}

#active .active-view-login a.register {
  background: #4193d6;
}

#active .active-view-login a.back {
  background: #999;
}

#active .active-view-form {
  font-size: 0;
  padding: 0 0 60px;
}

#active .active-view-form form {
  margin: 0 -15px;
}

#active .active-view-form .form-title {
  background: url(../images/inews_line.png) 0 8px repeat-x;
  margin: 0 15px 20px;
}

#active .active-view-form .form-title span {
  display: inline-block;
  line-height: 30px;
  font-size: 1.125rem;
  font-weight: bold;
  color: #d83d71;
  background: #fff;
  vertical-align: top;
  padding-right: 40px;
}

#active .active-view-form .field {
  display: inline-block;
  width: 50%;
  vertical-align: top;
  margin: 0 0 15px;
  padding: 0 15px;
}

#active .active-view-form .field dt {
  display: inline-block;
  width: 90px;
  line-height: 28px;
  font-size: 0.875rem;
  font-weight: normal;
  vertical-align: middle;
}

#active .active-view-form .field dt strong {
  color: #d83d71;
  margin-left: 4px;
}

#active .active-view-form .field dd {
  display: inline-block;
  position: relative;
  width: calc(100% - 90px);
  vertical-align: middle;
}

#active .active-view-form .field.tit-long dt {
  width: 135px;
  vertical-align: top;
}

#active .active-view-form .field.tit-long dd {
  width: calc(100% - 135px);
}

#active .active-view-form .field.tit-long dd .radio {
  display: inline-block;
  vertical-align: top;
}

.nest-opts {
  display: none;
  position: relative;
}

.nest-opts:before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: 50%;
  left: -5px;
  margin-top: -4px;
  border-style: solid;
  border-width: 4px 6px 4px 0;
  border-color: transparent #f4f4f4 transparent transparent;
}

.nest-opts .radio {
  display: inline-block;
  vertical-align: middle;
}

#active .active-view-form .field.tit-long dd .radio:not(.is-checked) ~ .nest-opts {
  display: none;
}

#active .active-view-form .field.tit-long dd .radio.is-checked ~ .nest-opts {
  display: inline-block;
  padding: 5px 10px 5px 2px;
  background: #f4f4f4;
  border-radius: 5px;
  vertical-align: middle;
  margin: -5px 15px 0 5px;
}

#active .active-view-form .field .input {
  display: inline-block;
  width: 100%;
  height: 40px;
  font-size: 0.875rem;
  border: 1px solid #e5e5e5;
  background: #f6f6f6;
  padding: 0 10px;
  vertical-align: middle;
}

#active .active-view-form .field .input.name,
#active .active-view-form .field .input.captcha {
  width: calc(100% - 120px);
}

#active .active-view-form .field .input:focus {
  border-color: #d83d71;
}

#active .active-view-form .field .radio {
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  margin: 0 0 0 10px;
}

#active .active-view-form .field .radio input {
  display: none;
}

#active .active-view-form .field .radio span {
  display: block;
  position: relative;
  line-height: 24px;
  font-size: 0.875rem;
  padding: 0 0 0 22px;
}

#active .active-view-form .field .radio span:before {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 100%;
  top: 4px;
  left: 0;
}

#active .active-view-form .field .radio input:checked + span:before {
  border-color: #d83d71;
}

#active .active-view-form .field .radio input:checked + span:after {
  content: "";
  display: block;
  position: absolute;
  width: 8px;
  height: 8px;
  background: #d83d71;
  border-radius: 100%;
  top: 8px;
  left: 4px;
}

#active .active-view-form .btn-box {
  font-size: 0;
  text-align: center;
  margin-top: 20px;
  padding: 0 15px;
}

#active .active-view-form .btn-box .btn {
  display: inline-block;
  width: calc(50% - 5px);
  max-width: 200px;
  height: 40px;
  font-size: 0.9375rem;
  border-radius: 0;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  text-align: center;
  vertical-align: top;
  padding: 0;
}

#active .active-view-form .btn-box .btn:hover,
#active .active-view-form .btn-box .btn:focus,
#active .active-view-form .btn-box .btn:active {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset !important;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset !important;
}

#active .active-view-form .btn-box .reset {
  color: #fff;
  background: #535353;
}

#active .active-view-form .btn-box .submit {
  color: #fff;
  background: #e9597e;
  margin-left: 10px;
}

@media (max-width: 991px) {
  #active .active-view-info .head .subject {
    line-height: 30px;
    font-size: 1.25rem;
  }
  #active .active-view-info .head .date {
    margin-top: 0;
  }
  #active .active-view-info .head .date span {
    padding-right: 15px;
  }
  #active .active-view-form .field.full {
    width: 100%;
  }
}
@media (max-width: 767px) {
  #active .active-view-form .field {
    width: 100%;
  }
  #active .active-view-form .btn-box {
    width: 100%;
    text-align: center;
    margin-top: 40px;
  }
  #active .active-view-login a {
    display: inline-block;
    width: 140px;
    height: 34px;
    line-height: 34px;
    font-size: 0.875rem;
  }
}
@media (max-width: 479px) {
  #active .active-view-form .field dt,
  #active .active-view-form .field dd {
    width: 100%;
  }
  #active .active-view-login a {
    display: block;
    width: 100%;
    margin: 0 auto 10px auto;
  }
  #active .active-view-form .field.tit-long dt {
    display: block;
    width: auto;
  }
  #active .active-view-form .field.tit-long dd {
    width: auto;
  }
  #active .active-view-form .field.tit-long dd > .radio {
    margin-left: 5px;
    margin-right: 10px;
  }
}
/* 20180927 */
#member .point-board {
  margin: 20px auto 60px;
}

#member .point-summary {
  font-size: 0;
  text-align: center;
  margin-bottom: 20px;
}

#member .point-summary > span,
#member .point-summary > div {
  display: inline-block;
  line-height: 30px;
  font-size: 0.9375rem;
  vertical-align: middle;
}

#member .point-summary > div {
  position: relative;
  margin: 0 5px;
}

#member .point-summary > div > span {
  display: block;
  line-height: 30px;
  font-size: 1.25rem;
  font-weight: bold;
  color: #d83d71;
  opacity: 0;
  -ms-transform: scale(0);
      transform: scale(0);
  -moz-transform: scale(0);
  -webkit-transform: scale(0);
}

#member .point-summary > div > span.view {
  opacity: 1;
  -ms-transform: scale(1);
      transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
}

#member .point-summary > div > strong {
  display: block;
  position: absolute;
  width: 100%;
  line-height: 30px;
  font-size: 1.25rem;
  color: #d83d71;
  top: 0;
  left: 0;
  opacity: 0;
  -ms-transform: scale(1.5);
      transform: scale(1.5);
  -moz-transform: scale(1.5);
  -webkit-transform: scale(1.5);
}

#member .point-summary > div > strong.view {
  opacity: 1;
  -ms-transform: scale(1);
      transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, transform 0.5s;
  transition: opacity 0.5s, transform 0.5s, -webkit-transform 0.5s;
  -moz-transition: opacity 0.5s, transform 0.5s;
  -webkit-transition: opacity 0.5s, transform 0.5s;
}

#member .point-table {
  font-size: 0;
}

#member .point-table-head > div {
  display: inline-block;
  width: 15%;
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: bold;
  color: #fff;
  border-image-width: 0;
  text-align: center;
  vertical-align: middle;
  padding: 8px 10px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  background: rgb(94, 149, 207);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgb(94, 149, 207)), color-stop(100%, rgb(81, 131, 184)));
  background: -webkit-gradient(linear, left top, left bottom, from(rgb(94, 149, 207)), to(rgb(81, 131, 184)));
  background: linear-gradient(to bottom, rgb(94, 149, 207) 0%, rgb(81, 131, 184) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#5e95cf", endColorstr="#5183b8", GradientType=0 );
}

#member .point-table-head > div.wide {
  width: 40%;
}

#member .point-table-item {
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
  transition: background 0.25s;
  -moz-transition: background 0.25s;
  -webkit-transition: background 0.25s;
}

#member .point-table-item:hover {
  background: #f7f7f7;
}

#member .point-table-item > div {
  display: inline-block;
  width: 15%;
  line-height: 24px;
  font-size: 0.9375rem;
  text-align: center;
  vertical-align: top;
  padding: 0 10px;
}

#member .point-table-item > div.wide {
  width: 40%;
}

#member .point-table-item > div span.add {
  font-weight: bold;
  color: #4d9ed6;
}

#member .point-table-item > div span.minus {
  font-weight: bold;
  color: #d83d71;
}

#member .point-table-foot {
  font-size: 0;
  text-align: center;
  margin-top: 20px;
}

#member .point-table-foot > div {
  display: inline-block;
  vertical-align: middle;
  margin: 0 5px;
}

#member .point-table-foot span {
  display: inline-block;
  line-height: 24px;
  font-size: 0.875rem;
  vertical-align: middle;
}

#member .point-table-foot select {
  display: inline-block;
  height: 34px;
  font-size: 0.875rem;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 0 !important;
  margin: 0 3px;
  padding: 0 10px;
  vertical-align: middle;
}

#member .point-table-foot select:focus {
  border-color: #d83d71;
}

@media (max-width: 767px) {
  #member .point-table-head {
    display: none;
  }
  #member .point-table-item {
    border: 1px solid #ddd;
    padding: 0;
  }
  #member .point-table-item:hover {
    background: none;
  }
  #member .point-table-item + .point-table-item {
    margin-top: 10px;
  }
  #member .point-table-item > div {
    display: block;
    position: relative;
    width: 100% !important;
    min-height: 30px;
    text-align: left;
    padding: 3px 5px 3px 95px;
  }
  #member .point-table-item > div + div {
    margin-top: 1px;
  }
  #member .point-table-item > div:before {
    content: "";
    display: block;
    position: absolute;
    width: 90px;
    height: 100%;
    background: #f7f7f7;
    top: 0;
    left: 0;
  }
  #member .point-table-item > div:after {
    content: attr(data-title);
    display: block;
    position: absolute;
    width: 90px;
    line-height: 24px;
    font-size: 0.9375rem;
    text-align: center;
    top: 3px;
    left: 0;
  }
}
#ebook .ebook-list {
  font-size: 0;
  margin: 0 -20px 60px;
  text-align: center;
}

#ebook .ebook-list-item {
  display: inline-block;
  width: 25%;
  vertical-align: top;
  margin-top: 30px;
  padding: 0 20px;
}

#ebook .ebook-list-item a {
  display: block;
}

#ebook .ebook-list-item .pic {
  position: relative;
  overflow: hidden;
}

#ebook .ebook-list-item .pic:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}

#ebook .ebook-list-item a:hover .pic:after {
  opacity: 1;
}

#ebook .ebook-list-item .text {
  padding: 10px 10px 0;
}

#ebook .ebook-list-item .subject {
  position: relative;
  line-height: 26px;
  font-size: 1rem;
  font-weight: bold;
  color: #222;
  margin: 0;
  padding-bottom: 10px;
  transition: color 0.3s;
  -moz-transition: color 0.3s;
  -webkit-transition: color 0.3s;
}

#ebook .ebook-list-item a:hover .subject {
  color: #d83d71;
}

#ebook .ebook-list-item .view-count {
  display: block;
  line-height: 24px;
  font-size: 0.875rem;
  color: #999;
  margin-top: 10px;
}

#ebook .ebook-list-item .subject:after {
  content: "";
  display: block;
  position: absolute;
  width: 70px;
  height: 1px;
  background: #72beea;
  left: 50%;
  bottom: 0;
  margin-left: -35px;
}

#ebook .ebook-list-item .more {
  display: block;
  position: relative;
  width: 120px;
  line-height: 35px;
  font-size: 0.8125rem;
  color: #222;
  border: 1px solid #dcdcdc;
  background: #fff;
  text-align: left;
  margin: 20px auto 0;
  padding: 0 44px 0 20px;
  transition: width 0.3s;
  -moz-transition: width 0.3s;
  -webkit-transition: width 0.3s;
}

#ebook .ebook-list-item a:hover .more {
  width: 115px;
}

#ebook .ebook-list-item .more:before {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 1px;
  background: #5e95ce;
  top: 17px;
  right: 25px;
  transition: width 0.3s;
  -moz-transition: width 0.3s;
  -webkit-transition: width 0.3s;
}

#ebook .ebook-list-item a:hover .more:before {
  width: 25px;
}

#ebook .ebook-list-item .more:after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3.5px 0 3.5px 5px;
  border-color: transparent transparent transparent #5e95ce;
  top: 14px;
  right: 20px;
}

@media (max-width: 1199px) {
  #ebook .ebook-list {
    margin: 0 -15px 60px;
  }
  #ebook .ebook-list-item {
    padding: 0 15px;
  }
}
@media (max-width: 991px) {
  #ebook .ebook-list-item {
    width: 33.333%;
  }
  #ebook .ebook-list-item .txt {
    padding: 5px 5px 0;
  }
  #ebook .ebook-list-item .subject {
    line-height: 24px;
    font-size: 0.9375rem;
    padding-bottom: 5px;
  }
  #ebook .ebook-list-item .more {
    width: 100px;
    line-height: 29px;
    margin-top: 10px;
    padding: 0 34px 0 10px;
  }
  #ebook .ebook-list-item a:hover .more {
    width: 95px;
  }
  #ebook .ebook-list-item .more:before {
    top: 14px;
    right: 17px;
  }
  #ebook .ebook-list-item .more:after {
    top: 11px;
    right: 12px;
  }
}
@media (max-width: 767px) {
  #ebook .ebook-list {
    margin: 0 -5px 40px;
  }
  #ebook .ebook-list-item {
    padding: 0 5px;
  }
}
@media (max-width: 639px) {
  #ebook .ebook-list-item {
    width: 50%;
  }
}
/* 20181015 */
/* 頁面分享功能 */
.p-share {
  font-size: 0;
  text-align: center;
  margin: 30px 0;
}

.p-share > span {
  display: inline-block;
  line-height: 24px;
  font-size: 0.875rem;
  margin-right: 7px;
  vertical-align: middle;
}

.p-share > ul {
  display: inline-block;
  vertical-align: middle;
}

.p-share > ul > li {
  display: inline-block;
  position: relative;
  vertical-align: top;
  margin: 0 3px 0 0;
}

.p-share > ul > li > a {
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  background: #ccc;
  border-radius: 100%;
  transition: background 0.3s;
  -moz-transition: background 0.3s;
  -webkit-transition: background 0.3s;
}

.p-share > ul > li > a.line:hover {
  background: #00c300;
}

.p-share > ul > li > a.twitter:hover {
  background: #1da1f2;
}

.p-share > ul > li > a.pinterest:hover {
  background: #bd081c;
}

.p-share > ul > li > a.google:hover {
  background: #dd4b39;
}

.p-share > ul > li > a.facebook:hover {
  background: #3b5998;
}

.p-share > ul > li > a.mail:hover,
.p-share > ul > li.open > a.mail {
  background: #4193d6;
}

.p-share > ul > li > a:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
}

.p-share > ul > li > a.line:before {
  background-image: url("../images/share_line.png");
}

.p-share > ul > li > a.twitter:before {
  background-image: url("../images/share_twitter.png");
}

.p-share > ul > li > a.pinterest:before {
  background-image: url("../images/share_pinterest.png");
}

.p-share > ul > li > a.google:before {
  background-image: url("../images/share_google.png");
}

.p-share > ul > li > a.facebook:before {
  background-image: url("../images/share_facebook.png");
}

.p-share > ul > li > a.mail:before {
  background-image: url("../images/share_mail.png");
}

.p-share .share-mail-form {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 100%;
  margin-left: 5px;
  opacity: 0;
  -ms-transform: scale(0);
      transform: scale(0);
  -moz-transform: scale(0);
  -webkit-transform: scale(0);
  -webkit-transition: opacity 0.3s, -webkit-transform 0.001s 0.3s;
  transition: opacity 0.3s, -webkit-transform 0.001s 0.3s;
  transition: opacity 0.3s, transform 0.001s 0.3s;
  transition: opacity 0.3s, transform 0.001s 0.3s, -webkit-transform 0.001s 0.3s;
  -moz-transition: opacity 0.3s, transform 0.001s 0.3s;
  -webkit-transition: opacity 0.3s, transform 0.001s 0.3s;
}

.p-share > ul > li.open .share-mail-form {
  opacity: 1;
  -ms-transform: scale(1);
      transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  -webkit-transition: opacity 0.3s, -webkit-transform 0.001s;
  transition: opacity 0.3s, -webkit-transform 0.001s;
  transition: opacity 0.3s, transform 0.001s;
  transition: opacity 0.3s, transform 0.001s, -webkit-transform 0.001s;
  -moz-transition: opacity 0.3s, transform 0.001s;
  -webkit-transition: opacity 0.3s, transform 0.001s;
}

.p-share .share-mail-form .input {
  display: block;
  width: 200px;
  height: 30px;
  font-size: 0.875rem;
  color: #777;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 15px;
  padding: 0 35px 0 10px;
}

.p-share .share-mail-form .input:focus {
  border-color: #777;
}

.p-share .share-mail-form .send {
  display: block;
  position: absolute;
  width: 26px;
  height: 26px;
  border: none;
  background: #4193d6 url("../images/share_send.png") center no-repeat;
  background-size: 20px 20px;
  border-radius: 100%;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  top: 2px;
  right: 2px;
}

.p-share .share-mail-form .send:hover {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
}

@media (max-width: 991px) {
  .p-share .share-mail-form {
    top: 100%;
    left: 50%;
    margin-top: 10px;
    margin-left: 0;
    -ms-transform: translateX(-50%) scale(0);
        transform: translateX(-50%) scale(0);
    -moz-transform: translateX(-50%) scale(0);
    -webkit-transform: translateX(-50%) scale(0);
  }
  .p-share > ul > li.open .share-mail-form {
    -ms-transform: translateX(-50%) scale(1);
        transform: translateX(-50%) scale(1);
    -moz-transform: translateX(-50%) scale(1);
    -webkit-transform: translateX(-50%) scale(1);
  }
  .p-share .share-mail-form:before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 4px 6px 4px;
    border-color: transparent transparent #ccc transparent;
    top: -6px;
    left: 50%;
    margin-left: -4px;
  }
  .p-share .share-mail-form:after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 4px 6px 4px;
    border-color: transparent transparent #fff transparent;
    top: -4px;
    left: 50%;
    margin-left: -4px;
  }
}
@media (max-width: 479px) {
  .p-share .share-mail-form {
    left: auto;
    right: 0;
    -ms-transform: translateX(0) scale(0);
        transform: translateX(0) scale(0);
    -moz-transform: translateX(0) scale(0);
    -webkit-transform: translateX(0) scale(0);
  }
  .p-share > ul > li.open .share-mail-form {
    -ms-transform: translateX(0) scale(1);
        transform: translateX(0) scale(1);
    -moz-transform: translateX(0) scale(1);
    -webkit-transform: translateX(0) scale(1);
  }
  .p-share .share-mail-form:before,
  .p-share .share-mail-form:after {
    left: auto;
    right: 20px;
    margin-left: 0;
    margin-right: -4px;
  }
}
/* Search */
#search:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: calc(100% - 500px);
  top: 500px;
  left: 0;
  pointer-events: none;
  background: rgb(255, 255, 255);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgb(255, 255, 255)), color-stop(100%, rgb(248, 248, 248)));
  background: -webkit-gradient(linear, left top, left bottom, from(rgb(255, 255, 255)), to(rgb(248, 248, 248)));
  background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgb(248, 248, 248) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#ffffff", endColorstr="#f8f8f8", GradientType=0 );
}

#search .inner {
  position: relative;
  background: #fff;
  margin-bottom: 80px;
  padding: 50px;
}

#search .form {
  position: relative;
  font-size: 0;
  margin-top: 40px;
}

#search .form form > div {
  display: inline-block;
  vertical-align: top;
}

#search .form form > div + div {
  margin-left: 10px;
}

#search .form form > div span {
  display: inline-block;
  line-height: 26px;
  font-size: 0.9375rem;
  vertical-align: middle;
}

#search .form form > div .input {
  display: inline-block;
  width: 120px;
  height: 34px;
  font-size: 0.9375rem;
  border: 1px solid #ddd;
  background: #fff;
  margin: 0 5px;
  padding: 0 10px;
  vertical-align: middle;
}

#search .form form > div .select {
  display: inline-block;
  height: 34px;
  font-size: 0.875rem;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 0 !important;
  margin: 0 5px;
  padding: 0 8px;
  vertical-align: middle;
}

#search .form form > div .input:focus,
#search .form form > div .select:focus {
  border-color: #d83d71;
}

#search .form form > div.btn-box {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
}

#search .form form .submit {
  display: inline-block;
  height: 34px;
  font-size: 0.9375rem;
  line-height: 34px;
  font-size: 0.875rem;
  color: #fff;
  border: none;
  background: #d83d71;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  border-radius: 0;
  padding: 0 10px;
  vertical-align: middle;
}

#search .form form .submit:hover {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
}

#search .result {
  margin-top: 40px;
}

#search .result-title {
  line-height: 30px;
  font-size: 1.25rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

#search .result-list li {
  position: relative;
  line-height: 24px;
  font-size: 0.9375rem;
  margin: 2px 0;
  padding-left: 20px;
}

#search .result-list li:before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #666;
  top: 7px;
  left: 2px;
}

#search .result-list li:after {
  content: "";
  display: block;
  position: absolute;
  width: 8px;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  top: 7px;
  left: 2px;
}

#search .result-list li a {
  color: #333;
}

#search .result-list li a:hover {
  color: #000;
}

#search .result-list li a strong {
  color: #d83d71;
}

@media (max-width: 1199px) {
  #search .form form > div.line-3 {
    display: block;
    margin-top: 5px;
    margin-left: 0;
  }
}
@media (max-width: 991px) {
  #search .inner {
    padding: 25px;
  }
  #search .result-title {
    line-height: 26px;
    font-size: 1.125rem;
  }
}
@media (max-width: 767px) {
  #search .inner {
    padding: 15px;
  }
  #search .form form > div.line-1,
  #search .form form > div.line-2 {
    display: block;
    margin-right: -5px;
  }
  #search .form form > div.line-2 {
    margin-top: 5px;
    margin-left: 0;
  }
  #search .form form > div.line-1 .input {
    width: calc(100% - 115px);
  }
  #search .form form > div.line-2 .input {
    width: calc(50% - 47.5px);
  }
}
@media (max-width: 479px) {
  #search .inner {
    margin: 0 -15px 80px;
  }
  #search .form form > div.btn-box {
    display: block;
    position: relative;
    text-align: right;
    margin-top: 5px;
  }
}
/* 20181106 */
.right-board {
  margin-top: 40px;
}

.right-board .title {
  line-height: 30px;
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
}

.right-board .update {
  background: url(../images/inews_line.png) 0 6px repeat-x;
  margin-top: 5px;
}

.right-board .update span {
  display: inline-block;
  line-height: 26px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #d83d71;
  background: #fff;
  vertical-align: top;
  padding-right: 40px;
}

.right-board .content {
  background: #f5f5f5;
  margin-top: 10px;
  padding: 20px;
}

.right-board .content .section {
  margin-top: 26px;
}

.right-board .content .section.no-margin {
  margin-top: 0;
}

.right-board .content .sec-title {
  position: relative;
  line-height: 26px;
  font-size: 1rem;
  font-weight: bold;
  color: #4d9ed6;
  margin: 0 0 5px;
  padding-left: 0.875rem;
}

.right-board .content .sec-title:before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 2px 4px 2px 4px;
  border-color: transparent transparent #ccc #ccc;
  top: 9px;
  left: 0;
}

.right-board .content .sec-title:after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 2px 4px 2px 4px;
  border-color: #aaa transparent transparent #aaa;
  top: 13px;
  left: 0;
}

.right-board .content .paragraph {
  line-height: 26px;
  font-size: 0.875rem;
  margin: 0;
  text-indent: 0.875rem;
}

.right-board .content .order-list {
  margin: 0 0 0 0.875rem;
  padding: 0;
  counter-reset: item;
  list-style-type: none;
}

.right-board .content .order-list > li {
  position: relative;
  line-height: 26px;
  font-size: 0.875rem;
  padding-left: 0.875rem;
}

.right-board .content .order-list > li:before {
  content: counter(item) ".";
  counter-increment: item;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.right-board .content .unorder-list {
  margin: 0 0 0 0.875rem;
  padding: 0;
  list-style: none;
}

.right-board .content .unorder-list > li {
  position: relative;
  line-height: 26px;
  font-size: 0.875rem;
  padding-left: 0.875rem;
}

.right-board .content .unorder-list > li:before {
  content: "";
  display: block;
  position: absolute;
  width: 6px;
  height: 6px;
  background: #bbb;
  top: 10px;
  left: 2px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.right-board .content .order-list.no-margin,
.right-board .content .order-list .order-list,
.right-board .content .order-list .unorder-list,
.right-board .content .unorder-list.no-margin,
.right-board .content .unorder-list .order-list,
.right-board .content .unorder-list .unorder-list {
  margin-left: 0;
}

.right-board .content a {
  color: #d83d71;
}

.right-board .content a:hover {
  color: #000;
}

.right-board .content .coupon-box {
  font-size: 0;
  margin: 0 -15px;
}

.right-board .content .coupon-box-item {
  display: inline-block;
  width: 33.333%;
  vertical-align: top;
  padding: 0 15px;
}

@media (max-width: 991px) {
  .right-board .title {
    line-height: 28px;
    font-size: 1.125rem;
  }
  .right-board .update {
    margin-top: 0;
  }
  .right-board .content {
    margin: 10px -10px 0;
    padding: 10px;
  }
  .right-board .content .coupon-box {
    margin: 0;
  }
  .right-board .content .coupon-box-item {
    width: 100%;
    padding: 0;
  }
  .right-board .content .coupon-box-item + .coupon-box-item {
    margin-top: 20px;
  }
}
.coupon-store {
  margin-top: 40px;
}

.coupon-store .head {
  font-size: 0;
}

.coupon-store .head .pic {
  display: inline-block;
  width: calc(50% - 30px);
  border: 5px solid #f5f5f5;
  vertical-align: top;
}

.coupon-store .head .text {
  display: inline-block;
  width: 50%;
  vertical-align: top;
  margin-left: 30px;
}

.coupon-store .head .title {
  line-height: 30px;
  font-size: 1.25rem;
  font-weight: bold;
  background: url("../images/inews_line.png") bottom repeat-x;
  margin: 0;
  padding-bottom: 20px;
}

.coupon-store .head .info {
  margin: 10px 0 0;
}

.coupon-store .head .info dt {
  display: inline-block;
  width: 36px;
  vertical-align: top;
  margin-top: 10px;
}

.coupon-store .head .info dt i {
  display: block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  font-size: 0.875rem;
  color: #fff;
  background: #aaa;
  border-radius: 100%;
  text-align: center;
}

.coupon-store .head .info dd {
  display: inline-block;
  width: calc(100% - 36px);
  line-height: 26px;
  font-size: 0.875rem;
  vertical-align: top;
  margin-top: 10px;
  padding: 5px 0 5px 15px;
}

.coupon-store .head .info dd a {
  color: #d83d71;
}

.coupon-store .head .info dd a:hover {
  color: #000;
}

.coupon-store .content {
  border-top: 1px solid #eee;
  margin-top: 40px;
  padding-top: 40px;
}

.coupon-store .back {
  display: block;
  width: 140px;
  height: 34px;
  line-height: 34px;
  font-size: 15px;
  color: #fff;
  background: #d83d71;
  text-align: center;
  margin: 20px auto 0;
}

.coupon-store .back:hover {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset;
}

@media (max-width: 991px) {
  .coupon-store .head .pic {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: auto;
  }
  .coupon-store .head .text {
    display: block;
    width: 100%;
    margin: 20px 0 0;
  }
  .coupon-store .head .title {
    line-height: 28px;
    font-size: 1.125rem;
  }
  .coupon-store .content {
    margin-top: 20px;
    padding-top: 20px;
  }
}
.theme-coupon-store-table {
  width: 100%;
  max-width: 670px;
  margin: auto;
  border-collapse: inherit;
  border-spacing: 0;
}

.theme-coupon-store-table thead th {
  line-height: 24px;
  font-size: 0.875rem;
  font-weight: normal;
  color: #fff;
  border: 1px solid #ddd;
  background: #aaa;
  text-align: center;
  padding: 5px 10px;
}

.theme-coupon-store-table thead th:nth-child(n+2) {
  border-left: none;
}

.theme-coupon-store-table tbody th {
  line-height: 24px;
  font-size: 0.875rem;
  font-weight: normal;
  border: 1px solid #ddd;
  border-top: none;
  padding: 5px 10px;
}

.theme-coupon-store-table tbody td {
  line-height: 24px;
  font-size: 0.875rem;
  border: 1px solid #ddd;
  border-top: none;
  text-align: center;
  padding: 5px 10px;
}

.theme-coupon-store-table tbody th:nth-child(n+2),
.theme-coupon-store-table tbody td:nth-child(n+2) {
  border-left: none;
}

@media (max-width: 767px) {
  .theme-coupon-store-table {
    display: block;
    max-width: 100%;
  }
  .theme-coupon-store-table thead {
    display: none;
  }
  .theme-coupon-store-table tbody,
  .theme-coupon-store-table tr,
  .theme-coupon-store-table th,
  .theme-coupon-store-table td {
    display: block;
    width: 100%;
  }
  .theme-coupon-store-table tbody tr {
    border: 1px solid #ddd;
    border-bottom: none;
  }
  .theme-coupon-store-table tbody tr + tr {
    margin-top: 20px;
  }
  .theme-coupon-store-table tbody th,
  .theme-coupon-store-table tbody td {
    position: relative;
    border: none;
    border-bottom: 1px solid #ddd;
    text-align: center;
    padding: 30px 10px 5px;
  }
  .theme-coupon-store-table tbody th:before,
  .theme-coupon-store-table tbody td:before {
    content: attr(data-title);
    display: block;
    position: absolute;
    width: 100%;
    line-height: 30px;
    font-size: 0.875rem;
    background: #ddd;
    top: 0;
    left: 0;
  }
}
/* 20181119 */
/* 計步日記 */
#diary .step-total {
  font-size: 0;
  margin-top: 20px;
}

#diary .step-total .box {
  display: inline-block;
  width: 50%;
  text-align: center;
  vertical-align: top;
}

#diary .step-total .box:nth-child(1) {
  border-right: 1px solid #ddd;
}

#diary .step-total .box .title {
  line-height: 26px;
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  padding: 7px 10px;
}

#diary .step-total .box:nth-child(1) .title {
  color: #fff;
  background: #5e95cf;
}

#diary .step-total .box:nth-child(2) .title {
  color: #fff;
  background: #d83d71;
}

#diary .step-total .box .count {
  line-height: 40px;
  font-size: 0.9375rem;
  margin: 0;
  padding: 10px;
}

#diary .step-total .box .count strong {
  font-size: 1.5rem;
  margin-right: 10px;
}

#diary .step-total .box:nth-child(1) .count strong {
  color: #5e95cf;
}

#diary .step-total .box:nth-child(2) .count strong {
  color: #d83d71;
}

#diary .step-total .box .note {
  line-height: 24px;
  font-size: 0.875rem;
  color: #999;
  margin: 0;
  padding: 0 10px;
}

#diary .step-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 20px 0 0;
}

#diary .step-table thead th {
  width: 33.333%;
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  color: #fff;
  border: none;
  background: #333;
  padding: 8px 10px;
  text-align: center;
}

#diary .step-table tbody tr:nth-child(odd) {
  background: #f6f6f6;
}

#diary .step-table tbody th,
#diary .step-table tbody td {
  position: relative;
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: normal;
  text-align: center;
  padding: 8px 10px;
}

#diary .step-table tbody .no-data td {
  background: #fff;
  padding: 18px 10px;
}

#diary .step-table tbody tr:last-child th,
#diary .step-table tbody tr:last-child td {
  padding-bottom: 9px;
}

#diary .step-table tbody tr:last-child th:after,
#diary .step-table tbody tr:last-child td:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #bdbdbd;
  left: 0;
  bottom: 0;
}

@media (max-width: 767px) {
  #diary .step-total .box {
    position: relative;
    width: 100%;
    padding: 10px 10px 10px 130px;
  }
  #diary .step-total .box:before {
    content: "";
    display: block;
    position: absolute;
    width: 120px;
    height: 100%;
    top: 0;
    left: 0;
  }
  #diary .step-total .box:nth-child(1):before {
    background: #5e95cf;
  }
  #diary .step-total .box:nth-child(2):before {
    background: #d83d71;
  }
  #diary .step-total .box:nth-child(1) {
    border-right: none;
    border-bottom: 1px solid #ddd;
  }
  #diary .step-total .box .title {
    position: absolute;
    width: 120px;
    font-size: 0.9375rem;
    background: none !important;
    top: 50%;
    left: 0;
    margin-top: -13px;
    padding: 0;
  }
  #diary .step-total .box .count {
    padding: 0;
  }
  #diary .step-total .box .note {
    margin-top: 5px;
    padding: 0;
  }
  #diary table tbody tr.no-data th,
  #diary table tbody tr.no-data td {
    padding: 10px !important;
  }
  #diary table tbody tr.no-data th:after,
  #diary table tbody tr.no-data td:after {
    display: none !important;
  }
  #diary .step-table,
  #diary .step-table tbody,
  #diary .step-table tr,
  #diary .step-table th,
  #diary .step-table td {
    display: block;
    width: 100% !important;
  }
  #diary .step-table thead {
    display: none;
  }
  #diary .step-table tbody tr {
    border-bottom: 1px solid #bdbdbd;
    background-color: #fff !important;
    margin-bottom: 10px;
  }
  #diary .step-table tbody th,
  #diary .step-table tbody :not(.no-data) td {
    position: relative;
    text-align: left;
    padding: 2px 0 2px 110px !important;
  }
  #diary .step-table tbody th:before,
  #diary .step-table tbody :not(.no-data) td:before {
    content: attr(title);
    display: block;
    position: absolute;
    color: #888;
    top: 2px;
    left: 0;
  }
  #diary .step-table tbody th:after,
  #diary .step-table tbody :not(.no-data) td:after,
  #diary .step-table tbody tr:last-child th:after,
  #diary .step-table tbody tr:last-child td:after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px 0 3px 5px;
    border-color: transparent transparent transparent #888;
    background: none;
    top: 11px;
    left: 90px;
    bottom: auto;
  }
}
/* 滿意度 */
#member .activity-table {
  font-size: 0;
}

#member .activity-table-head > div {
  display: inline-block;
  line-height: 24px;
  font-size: 0.9375rem;
  font-weight: bold;
  color: #fff;
  border-image-width: 0;
  text-align: center;
  vertical-align: middle;
  padding: 8px 10px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  background: rgb(94, 149, 207);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgb(94, 149, 207)), color-stop(100%, rgb(81, 131, 184)));
  background: -webkit-gradient(linear, left top, left bottom, from(rgb(94, 149, 207)), to(rgb(81, 131, 184)));
  background: linear-gradient(to bottom, rgb(94, 149, 207) 0%, rgb(81, 131, 184) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#5e95cf", endColorstr="#5183b8", GradientType=0 );
}

#member .activity-table-body .activity-table-item {
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
  transition: background 0.25s;
  -moz-transition: background 0.25s;
  -webkit-transition: background 0.25s;
}

#member .activity-table-body .activity-table-item:hover {
  background: #f7f7f7;
}

#member .activity-table-body .activity-table-item > div {
  display: inline-block;
  line-height: 24px;
  font-size: 0.9375rem;
  text-align: center;
  vertical-align: middle;
  padding: 0 10px;
}

#member .activity-table-head .date,
#member .activity-table-body .date,
#member .activity-table-head .name,
#member .activity-table-body .name,
#member .activity-table-head .status,
#member .activity-table-body .status,
#member .activity-table-head .option,
#member .activity-table-body .option,
#member .activity-table-head .satisfaction,
#member .activity-table-body .satisfaction {
  width: 100px;
}

#member .activity-table-head .phone,
#member .activity-table-body .phone {
  width: 100px;
}

#member .activity-table-head .checkin,
#member .activity-table-body .checkin,
#member .activity-table-head .checkout,
#member .activity-table-body .checkout {
  width: 80px;
}

#member .activity-table-head .title,
#member .activity-table-body .title {
  width: calc(100% - 860px);
}

#member .activity-table-body .title a {
  color: #222;
  transition: color 0.25s;
  -moz-transition: color 0.25s;
  -webkit-transition: color 0.25s;
}

#member .activity-table-body .title a:hover {
  color: #d83d71;
}

#member .activity-table-body .status span {
  display: inline-block;
  line-height: 24px;
  font-size: 0.9375rem;
  color: #fff;
  border-radius: 2px;
  vertical-align: top;
  padding: 0 10px;
}

#member .activity-table-body .status span.un-check {
  background: #bbb;
}

#member .activity-table-body .status span.check {
  background: #4d9ed6;
}

#member .activity-table-body .status span.cancel {
  background: #f66;
}

#member .activity-table-body .option a.delete {
  display: inline-block;
  line-height: 24px;
  font-size: 0.9375rem;
  color: #666;
  border: 1px solid #ccc;
  background: #f2f2f2;
  border-radius: 2px;
  vertical-align: top;
  padding: 0 5px;
  transition: color 0.25s, border 0.25s;
  -moz-transition: color 0.25s, border 0.25s;
  -webkit-transition: color 0.25s, border 0.25s;
}

#member .activity-table-body .option a.delete:hover {
  color: #fff;
  border-color: #666;
  background: #666;
}

@media (max-width: 991px) {
  #member .activity-table-head {
    display: none;
  }
  #member .activity-table-body .activity-table-item {
    border: 1px solid #ddd;
    background: none !important;
    padding: 0;
  }
  #member .activity-table-body .activity-table-item + .activity-table-item {
    margin-top: 10px;
  }
  #member .activity-table-body .activity-table-item > div {
    display: block;
    position: relative;
    width: 100% !important;
    min-height: 30px;
    text-align: left;
    padding: 3px 5px 3px 95px;
  }
  #member .activity-table-body .activity-table-item > div:before {
    content: "";
    display: block;
    position: absolute;
    width: 90px;
    height: 100%;
    background: #f7f7f7;
    top: 0;
    left: 0;
  }
  #member .activity-table-body .activity-table-item > div:after {
    content: attr(data-title);
    display: block;
    position: absolute;
    width: 90px;
    line-height: 24px;
    font-size: 0.9375rem;
    text-align: center;
    top: 3px;
    left: 0;
  }
  #member .activity-table-body .option a.delete {
    line-height: 35px;
    font-size: 1rem;
    text-align: center;
    display: block;
    width: 100%;
  }
  #member .activity-table-body .activity-table-item > div.option:after {
    line-height: 35px;
  }
}
#exam-trail {
  display: block;
  margin: 40px auto 20px auto;
  text-align: center;
  position: relative;
}

#exam-trail:before {
  content: "";
  position: absolute;
  z-index: 0;
  height: 1px;
  left: 0;
  right: 0;
  top: 50%;
  background: #e9597e;
}

#exam-trail span {
  position: relative;
  z-index: 1;
  display: inline-block;
  line-height: 1.2;
  font-size: 1.125rem;
  font-weight: bold;
  color: #fff;
  background: #e9597e;
  border-radius: 30px;
  vertical-align: top;
  padding: 10px 25px 10px 25px;
}

.exam {
  background: #fff;
  margin: 40px auto 0 auto;
  -webkit-transition: max-height 0.3s;
  transition: max-height 0.3s;
}

#exam-popup .exam {
  margin-top: 25px;
}

.exam.hide, #exam-trail.hide {
  display: none;
  -webkit-animation: fadeOut 0.5s both;
  animation: fadeOut 0.5s both;
}

.exam.show, #exam-trail.show {
  display: block;
  -webkit-animation: fadeIn 0.5s both;
  animation: fadeIn 0.5s both;
}

.exam-subject {
  display: block;
  margin: 0 auto 20px auto;
  text-align: center;
  position: relative;
}

.exam-subject:before {
  content: "";
  position: absolute;
  z-index: 0;
  height: 1px;
  left: 0;
  right: 0;
  top: 50%;
  background: #e9597e;
}

.exam-subject span {
  position: relative;
  z-index: 1;
  display: inline-block;
  line-height: 1.2;
  font-size: 1.125rem;
  font-weight: bold;
  color: #fff;
  background: #e9597e;
  border-radius: 30px;
  vertical-align: top;
  padding: 10px 25px 10px 25px;
}

.exam-btnwrap {
  text-align: center;
  margin-top: 25px;
}

#ebook .exam-btnwrap {
  margin: 50px auto;
}

.exam-openbtn {
  max-width: 300px;
  color: #e9597e;
  background: #fff;
  display: inline-block;
  width: 100%;
  line-height: 1.2;
  height: 40px;
  font-size: 0.9375rem;
  border: 1px solid #e9597e;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  text-align: center;
  vertical-align: top;
  border-radius: 30px;
  padding: 10px 12px;
}

.exam-openbtn:link {
  color: #e9597e;
  background: #fff;
}

.exam-openbtn:hover {
  background: #e9597e;
  color: #fff;
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset !important;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset !important;
}

.exam-submit {
  color: #e9597e;
  background: #fff;
  display: inline-block;
  width: 100%;
  max-width: 150px;
  height: 40px;
  line-height: 40px;
  font-size: 0.9375rem;
  border: 1px solid #e9597e;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  text-align: center;
  vertical-align: top;
  padding: 0;
  border-radius: 30px;
}

.exam-submit:hover {
  background: #e9597e;
  color: #fff;
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset !important;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.25) inset !important;
}

.exam .group {
  margin-top: 20px;
}

.exam .group-title {
  position: relative;
  line-height: 28px;
  font-size: 1.125rem;
  margin: 0;
  padding-left: 25px;
}

.exam .group-title span {
  position: absolute;
  top: 0;
  left: 0;
}

.exam .group-title strong {
  color: #f8791b;
}

.exam .group-field {
  margin-left: 25px;
}

.exam .check-table {
  width: 100%;
  border-collapse: inherit;
  margin-top: 10px;
}

.exam .check-table th,
.exam .check-table td {
  border: 1px solid #fff;
}

.exam .check-table tr:nth-child(odd) th,
.exam .check-table tr:nth-child(odd) td {
  background: #f1f1f1;
}

.exam .check-table tr:nth-child(even) th,
.exam .check-table tr:nth-child(even) td {
  background: #f8f8f8;
}

.exam .check-table th {
  width: 160px;
  line-height: 30px;
  font-size: 1rem;
  color: #666;
  text-align: center;
  vertical-align: top;
  padding: 12px 20px;
}

.exam .check-table td {
  padding: 12px 0 2px 30px;
}

.exam .check-table .check {
  display: inline-block;
  margin: 0 30px 10px 0;
  cursor: pointer;
}

.exam .check-table .check input {
  display: none;
}

.exam .check-table .check input + span {
  display: block;
  height: 30px;
  line-height: 30px;
  font-size: 1rem;
  color: #666;
  background-image: url("../images/game_map_survey_check.png");
  background-size: 30px 60px;
  background-repeat: no-repeat;
  background-position: 0 0;
  padding-left: 40px;
}

.exam .check-table .check input:checked + span {
  background-position: 0 -30px;
}

#exam-popup {
  max-width: 768px;
  background: #fff;
  border-radius: 10px;
  margin: 30px auto;
  padding: 20px 40px 40px 40px;
  perspective: 500px;
  -moz-perspective: 500px;
  -webkit-perspective: 500px;
}

@media (max-width: 991px) {
  .exam .group {
    margin-top: 10px;
  }
  .exam .group-title {
    line-height: 26px;
    font-size: 1rem;
  }
  .exam .group-field {
    margin-left: 0;
  }
  .exam .check-table,
  .exam span.tip,
  .exam .input,
  .exam .select,
  .exam .textarea {
    margin-top: 5px;
  }
  .exam .check-table th {
    width: 120px;
    line-height: 24px;
    font-size: 0.875rem;
    padding: 10px;
  }
  .exam .check-table td {
    padding: 10px 0 5px 10px;
  }
  .exam .check-table .check {
    margin: 0 10px 5px 0;
  }
  .exam .check-table .check input + span {
    height: 24px;
    line-height: 24px;
    font-size: 0.875rem;
    background-size: 24px 48px;
    padding-left: 30px;
  }
  .exam .check-table .check input:checked + span {
    background-position: 0 -24px;
  }
  .exam span.tip {
    line-height: 24px;
    font-size: 0.875rem;
  }
  .exam .input {
    height: 34px;
    font-size: 0.875rem;
    padding: 0 10px;
  }
}
@media (max-width: 767px) {
  .exam-subject span, #exam-trail span {
    font-size: 1rem;
    padding: 10px 15px;
  }
  #exam-popup {
    padding: 20px 25px 25px 25px;
  }
}
@media (max-width: 639px) {
  .exam .check-table,
  .exam .check-table tbody,
  .exam .check-table tr,
  .exam .check-table th,
  .exam .check-table td {
    display: block;
    width: 100%;
  }
  .exam .check-table th {
    text-align: left;
    border-bottom: none;
    padding-bottom: 0;
  }
  .exam .check-table td {
    border-top: none;
  }
  #exam-popup {
    padding: 20px 15px;
  }
}
/* 20190314 */
#activities-survey {
  position: relative;
  width: calc(100% - 14px);
  max-width: 800px;
  max-height: calc(100vh - 80px);
  background: #fff;
  border-radius: 10px;
  text-align: center;
  margin: auto;
  padding: 20px 30px;
}

#activities-survey .title {
  line-height: 30px;
  font-size: 1.125rem;
  font-weight: bold;
  color: #d83d71;
  margin: 0;
}

#activities-survey .summary {
  line-height: 26px;
  font-size: 0.9375rem;
  margin: 10px 0 0;
}

#activities-survey .summary strong {
  color: #4d9ed6;
}

#activities-survey .face {
  font-size: 0;
  margin-top: 20px;
}

#activities-survey .face label {
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
  margin: 0 5px;
}

#activities-survey .face label input {
  display: none;
}

#activities-survey .face label div {
  padding: 10px;
}

#activities-survey .face label input:checked + div,
#activities-survey .face label:hover div {
  border: 2px dashed #d83d71;
  background: #f5f5f5;
  padding: 8px;
}

#activities-survey .face label .ico {
  display: block;
  width: 60px;
  height: 60px;
  background-image: url("../images/survey_face.png");
  background-size: 180px 60px;
  margin: auto;
}

#activities-survey .face label .ico.normal {
  background-position: -60px 0;
}

#activities-survey .face label .ico.sad {
  background-position: -120px 0;
}

#activities-survey .face label span {
  display: block;
  line-height: 26px;
  font-size: 0.9375rem;
  margin-top: 5px;
}

#activities-survey .face label input:checked + div span {
  color: #4d9ed6;
}

#activities-survey .btn {
  display: inline-block;
  width: 120px;
  height: 34px;
  line-height: 34px;
  font-size: 0.875rem;
  color: #fff;
  border: none;
  background: #d83d71;
  border-radius: 0;
  text-align: center;
  vertical-align: top;
  margin: 20px 0 0;
  padding: 0;
}

#activities-survey .btn:hover {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
}

#activities-survey .mfp-close {
  width: 34px;
  height: 34px;
  line-height: 34px;
  top: -34px;
  right: 0;
  color: #fff;
}

@media (max-width: 767px) {
  #activities-survey {
    padding: 10px 15px;
  }
  #activities-survey .summary {
    margin-top: 5px;
  }
  #activities-survey .face {
    margin-top: 10px;
  }
  #activities-survey .face label {
    margin: 0 2px;
  }
  #activities-survey .btn {
    margin-top: 10px;
  }
}
.popup {
  position: fixed;
  right: 0;
  bottom: 0;
  max-width: 500px;
  z-index: 99;
}

.popup .close {
  position: absolute;
  z-index: 10;
  opacity: 1;
  top: 0;
  right: 0;
}

.popup .cont {
  position: relative;
  max-width: 500px;
}

#initiate .p-back .btn {
  display: inline-block;
  height: 46px;
  line-height: 46px;
  font-size: 0.9375rem;
  color: #fff;
  padding-left: 30px;
  background: #d83d71 url("../images/btn_initiate.png") 20px center no-repeat;
  border-radius: 50px;
  padding: 0 20px 0 50px;
  margin: 0 5px 15px;
  transition: color 0.3s, background 0.3s;
  -moz-transition: color 0.3s, background 0.3s;
  -webkit-transition: color 0.3s, background 0.3s;
}

#initiate .p-back .btn.blue {
  background: #5e95ce url("../images/btn_grade.png") 20px center no-repeat;
}

#initiate .p-back .btn.white {
  background: #ff6666 url("../images/btn_team.png") 20px center no-repeat;
}

#initiate .p-back .btn:hover {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
          box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
}

#initiate .weight-form dl dd .textarea {
  display: block;
  width: 100%;
  line-height: 20px;
  font-size: 0.875rem;
  border: 1px solid #e5e5e5;
  padding: 9px 10px;
}

#initiate .join-text {
  line-height: 2.333;
  font-size: 0.9375rem;
  color: #222;
  padding-left: 15px;
}

#initiate .join-text.right {
  text-align: right;
  color: #d83d71;
}

#initiate .join-item {
  display: inline-block;
  width: 100%;
  background: #f8f8f8;
  vertical-align: top;
  margin: 10px 0 20px;
  padding: 30px 30px 10px;
}

#initiate .weight-form.team {
  margin: 5px 0;
}

#initiate .weight-form.team dl {
  border-bottom: none;
  padding: 5px 10px;
}

#initiate .inner.item {
  padding: 30px;
}

#initiate .weight-form.team {
  margin-top: 0;
}

#initiate .weight-form.team .weight-table {
  margin-top: 10px;
}

@media (max-width: 767px) {
  #initiate .view-inner .p-back {
    margin-top: 15px;
  }
}
/* Select */
#location .select-box {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  border: none;
  cursor: pointer;
  border: 1px solid #eee;
}

#location .select-box select {
  padding: 0 35px 0 12px;
  width: 100%;
  height: 40px;
  color: #333;
  font-size: 15px;
  background: transparent;
  border: none;
  outline: none;
  text-overflow: "";
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

#location .select-box select option {
  color: #000;
  text-shadow: none;
}

#location .select-box select::-ms-expand {
  display: none;
}

#location .select-box:before {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  margin-top: -4px;
  width: 8px;
  height: 8px;
  border-left: 1px solid #333;
  border-top: 1px solid #333;
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
      transform: rotate(-135deg);
}

/* Coupon Location */
#map-area {
  width: 100%;
  height: 300px;
}

#location .page-subject {
  position: relative;
  display: block;
  font-size: 1.4375rem;
  margin: 0;
  padding: 0 10px 0 30px;
  vertical-align: middle;
}

#location .page-subject:before {
  content: "";
  position: absolute;
  width: 25px;
  height: 24px;
  top: 0;
  left: 0;
  background: url(../images/location_search.png) no-repeat;
}

#location .select-box {
  display: inline-block;
  width: calc(50% - 8px);
  margin: 10px 4px;
}

#location .select-area {
  margin: 0 auto;
  padding: 20px 0 10px;
  max-width: 875px;
}

#location .select-area button {
  display: inline-block;
  padding: 8px;
  width: 100%;
  color: #fff;
  border: none;
  font-size: 0.875rem;
  background: rgb(231, 112, 5);
  background: -webkit-gradient(linear, left top, right top, from(rgb(231, 112, 5)), to(rgb(231, 165, 5)));
  background: linear-gradient(to right, rgb(231, 112, 5) 0%, rgb(231, 165, 5) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#e77005", endColorstr="#e7a505",GradientType=1 );
}

#location .select-area button i, #location .select-area button span {
  padding: 0 3px;
}

#location .store-tab {
  width: 100%;
  background: #fff;
  border-bottom: #bdbdbd solid 1px;
}

#location .p-pager ul li.prev a,
#location .p-pager ul li.next a {
  width: 100%;
  border-radius: 3px;
  border: #eee solid 1px;
  color: #333;
  background: #fff;
}

#location .p-pager ul li.prev a {
  padding: 0 11px 0 28px;
}

#location .p-pager ul li.next a {
  padding: 0 28px 0 11px;
}

#location .p-pager ul li.prev a:hover,
#location .p-pager ul li.next a:hover {
  opacity: 0.7;
}

#location .p-pager ul li.prev a:before,
#location .p-pager ul li.next a:before {
  content: "";
  position: absolute;
  width: 13px;
  height: 7px;
  top: 12px;
  left: 10px;
  background: url(../images/icon_right.png) no-repeat;
  border: none;
}

#location .p-pager ul li.next a:before {
  left: auto;
  right: 10px;
  background: url(../images/icon_left.png) no-repeat;
}

#location .p-pager ul li.num a {
  width: 28px;
  border: #eee solid 1px;
  background: #fff;
  border-radius: 3px;
}

#location .p-pager ul li.num a:hover,
#location .p-pager ul li.num.current a {
  color: #fff;
  background: #d83d71;
  border: #eee solid 1px;
  font-weight: normal;
}

#location .p-pager ul li.num a:hover:after {
  display: none;
}

#location .btn-map {
  position: relative;
  display: block;
  width: 105px;
  height: 15px;
  color: #333;
  padding-left: 9px;
  margin: 0 auto;
}

#location .btn-map:hover {
  color: #d83d71;
}

#location .btn-map:before {
  position: absolute;
  content: "";
  width: 11px;
  height: 15px;
  top: 3px;
  left: 0;
  background: url(../images/icon_gmap.png) no-repeat;
  background-position: 0 0;
}

#location a.btn-map:hover:before {
  background-position: 0 -15px;
}

@media only screen and (min-width: 768px) {
  #map-area {
    margin: 10px 10px 0;
    width: calc(100% - 20px);
    height: 600px;
  }
  #location .page-subject {
    display: inline-block;
  }
  #location .select-box.country {
    width: 25%;
  }
  #location .select-box.city {
    width: 25%;
  }
  #location .select-area button {
    max-width: 150px;
    height: 42px;
    border-radius: 25px;
  }
  #location .store-tab {
    margin: 20px auto 30px;
  }
  #location thead {
    background-color: #333;
  }
  #location thead th {
    position: relative;
    padding: 10px;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: normal;
    text-align: center;
    letter-spacing: 1px;
  }
  #location tbody:nth-child(odd) {
    background-color: #e6e6e6;
  }
  #location tbody th,
  #location tbody td {
    padding: 12px;
    text-align: center;
  }
  #location tbody th {
    font-weight: normal;
    white-space: nowrap;
  }
}
@media only screen and (min-width: 1024px) {
  #map-area {
    margin: 20px 20px 0;
    width: calc(100% - 40px);
    height: 500px;
  }
}
@media only screen and (min-width: 1200px) {
  #location tbody th,
  #location tbody td {
    font-size: 0.875rem;
  }
}
@media only screen and (max-width: 767px) {
  #location .store-tab thead {
    /* 隱藏 thead 區塊 */
    position: absolute;
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
  }
  #location .store-tab tbody, #location .store-tab tbody tr, #location .store-tab tr, #location .store-tab th, #location .store-tab td {
    display: block;
  }
  #location .store-tab tbody td[data-title]:before {
    content: attr(data-title);
    float: left;
    padding-right: 15px;
    color: #000;
  }
  #location .store-tab tbody {
    margin: 10px 0;
    color: #666;
    font-size: 14px;
    text-align: center;
  }
  #location .store-tab tbody:last-child {
    margin-bottom: 0;
  }
  #location .store-tab tbody th {
    position: relative;
    margin-bottom: 10px;
    padding: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    background-color: #333;
  }
  #location .store-tab tbody td {
    padding: 3px 10px;
    text-align: left;
  }
  #location .store-tab tbody td a {
    margin: 10px 0 8px;
    color: #d83d71;
    display: inline;
    padding-left: 15px;
  }
  #location .btn-map:before {
    background-position: 0 -15px;
  }
}
.coupon-store #exchange {
  margin-top: 20px;
}

.coupon-store #exchange .subject span {
  background: #fff;
}

#exchange .head {
  margin-bottom: 55px;
}

#exchange .head .pic {
  border: 1px solid #eee;
  max-width: 530px;
  width: calc(50% - 90px);
}

#exchange .head .title {
  font-size: 1.875rem;
  background: none;
  font-weight: normal;
  border-bottom: 1px solid #ddd;
}

#exchange .head .text {
  margin-left: 90px;
}

#exchange .head .info {
  font-size: 1rem;
  line-height: 1.8;
}

#exchange .head .info ul,
#exchange .head .info li {
  padding: 8px 0;
  margin: 0;
  list-style: none;
}

#exchange .head .info span {
  color: #d83d71;
}

#exchange .head .qty {
  display: inline-block;
  max-width: 140px;
  vertical-align: middle;
  margin-left: 10px;
}

#exchange .head .qty span {
  color: #111;
  font-weight: normal;
}

#exchange .head .qty span.minus,
#exchange .head .qty span.plus {
  position: relative;
  display: inline-block;
  width: 11px;
  height: 1px;
  background: #111;
  vertical-align: middle;
}

#exchange .head .qty span.plus:before {
  position: absolute;
  content: "";
  width: 1px;
  height: 11px;
  top: -5px;
  left: 5px;
  background: #111;
}

#exchange .head .qty .input-group .form-control {
  text-align: center;
  border: 1px solid #eee;
  border-top: none;
}

.input-group-btn > .btn, .input-group-btn > .btn-group {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0;
}

#exchange .head .btn-box {
  text-align: left;
}

#exchange .head .btn-box .btn.reset {
  margin-left: 0;
}

#exchange .content .panel {
  border-radius: 0;
  background: none;
}

#exchange .panel-default > .panel-heading {
  border: none;
  background: none;
}

#exchange .panel-heading {
  padding-bottom: 0;
}

#exchange .nav-tabs {
  text-align: center;
  border: none;
}

#exchange .nav-tabs > li {
  float: none;
  display: inline-block;
  font-size: 1.4375rem;
  border-bottom: 2px solid #f8f8f8;
}

#exchange .nav-tabs > li > a {
  border: 1px solid transparent;
  border-radius: 0;
  color: #888;
}

#exchange .nav > li > a:focus, #exchange .nav > li > a:hover {
  background: none;
}

#exchange .nav-tabs > li.active > a, #exchange .nav-tabs > li.active > a:focus, #exchange .nav-tabs > li.active > a:hover {
  color: #d83d71;
  border: none;
  background: none;
  border-bottom: 2px solid #d83d71;
}

#exchange .panel-body {
  padding: 35px 70px;
  background: #fff;
}

.exchange-list .item {
  position: relative;
  display: inline-block;
  width: calc(25% - 24px);
  margin: 25px 10px; /* margin: 25px 12px; */
  border-radius: 5px;
  padding-bottom: 45px;
  background: #fff;
  vertical-align: top;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.exchange-list .item .bg {
  padding: 24px 24px 0;
}

.exchange-list .item .pic {
  border: #eee solid 1px;
  text-align: center;
}

.exchange-list .item .pic:hover {
  background: rgba(0, 0, 0, 0.15);
}

.exchange-list .item .pic:hover img {
  opacity: 0.8;
}

.exchange-list .item .pic img {
  max-width: 100%;
}

.exchange-list .item .txt {
  padding: 18px 0 10px;
  font-size: 0.875rem;
}

.exchange-list .item .txt .title {
  font-size: 1rem;
  line-height: 1.5;
  max-height: 4.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.exchange-list .item .txt ul,
.exchange-list .item .txt li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.exchange-list .item .txt li {
  padding: 3px 0;
}

.exchange-list .item .txt li span {
  color: #d83d71;
}

.exchange-list .item a.btn {
  border-radius: 5px;
  color: #fff;
  padding: 10px;
  width: calc(100% - 10px);
  margin: 0 auto;
  display: block;
  background: #d83d71;
  position: absolute;
  bottom: 5px;
  left: 5px;
}

.exchange-list .item a.btn.blue {
  background: #5e94ce;
}

.exchange-list .item .gary {
  border-radius: 5px;
  color: #fff;
  padding: 10px;
  text-align: center;
  background: #999;
  font-size: 0.875rem;
  width: calc(100% - 10px);
  margin: 0 auto;
  display: block;
}

.exchange-list .item a.btn:hover {
  opacity: 0.8;
}

.exchange-list .item .btn-detail {
  text-align: center;
  color: #444;
  padding: 8px;
  margin: 5px 0 0 0;
  border-radius: 0 0 5px 5px;
  overflow: hidden;
  font-size: 0.875rem;
  display: block;
  border-top: 1px dashed #ccc;
  background: #ebebeb;
  -webkit-transition: background 0.25s, color 0.25s;
  transition: background 0.25s, color 0.25s;
}

.exchange-list .item .btn-detail:hover {
  color: #fff;
  background: #aaa;
}

#exchange .p-share {
  text-align: left;
}

#exchange .finish {
  padding: 30px;
  background: #eee;
}

#exchange .finish .bg {
  padding: 50px;
  border: #fff solid 1px;
  text-align: center;
  font-size: 0.875rem;
  line-height: 2.3;
}

#exchange .finish .title,
#exchange .finish .title.info {
  position: relative;
  font-size: 1.4375rem;
  letter-spacing: 1px;
  line-height: 1.8;
}

#exchange .finish .title.info {
  padding-top: 40px;
}

#exchange .finish .title.info:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 36px;
  top: 0;
  left: 0;
  background: url(../images/icon_finish.png) center no-repeat;
}

#exchange .finish .title span.txt {
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0;
  color: #333;
  padding: 0;
  margin-bottom: 15px;
}

#exchange .finish span {
  color: #d83d71;
  padding: 0;
}

#exchange .finish span.number {
  color: #0b5a98;
}

#exchange .btn-box,
.btn-more {
  text-align: center;
  margin: 20px 0;
}

#exchange .btn-box .btn,
.btn-more .btn {
  display: inline-block;
  width: 100%;
  max-width: 240px;
  height: 40px;
  line-height: 40px;
  font-size: 0.9375rem;
  color: #fff;
  border: none;
  border-radius: 0;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  vertical-align: top;
  padding: 0;
  margin: 0 5px 10px;
}

#exchange .btn-box .btn.reset {
  background: #555;
}

#exchange .btn-box .btn.submit,
.btn-more .btn {
  background: #d83d71;
}

#exchange .btn-box .btn.blue {
  background: #5e94ce;
}

#exchange .btn-box .btn:hover {
  opacity: 0.8;
}

#exchange .btn-box .btn.gary {
  background: #999;
}

#exchange .exchange-board {
  width: 100%;
  max-width: 665px;
  margin: 0 auto;
  text-align: left;
  line-height: 34px;
  font-size: 0.9375rem;
}

#exchange .exchange-board span {
  color: #d83d71;
}

#exchange .exchange-board .qrcode,
#exchange .exchange-board .list {
  display: inline-block;
  width: calc(50% + 20px);
  vertical-align: top;
}

#exchange .exchange-board .qrcode {
  max-width: 195px;
}

#exchange .exchange-board .field {
  font-size: 0;
  margin: 0 -15px;
}

#exchange .exchange-board dl {
  width: 100%;
  margin: 10px 0;
  padding: 0 15px;
}

#exchange .exchange-board dl dt {
  float: left;
  width: 100px;
  font-weight: normal;
}

#exchange .exchange-board dl dd {
  float: right;
  width: calc(100% - 100px);
}

@media only screen and (max-width: 1199px) {
  #exchange .btn-box .btn {
    max-width: 200px;
  }
  .exchange-list .item {
    width: calc(33.3333333333% - 24px);
  }
  #exchange .head .pic {
    width: calc(50% - 30px);
  }
  #exchange .head .text {
    margin-left: 30px;
  }
}
@media only screen and (max-width: 991px) {
  .exchange-list .item {
    width: calc(50% - 24px);
  }
  #exchange .head {
    margin-bottom: 30px;
  }
  #exchange .head .pic {
    width: 100%;
  }
  #exchange .head .text {
    margin-left: 0;
  }
  #exchange .panel-body {
    padding: 15px;
  }
  #exchange .finish .bg {
    padding: 15px;
  }
}
@media only screen and (max-width: 767px) {
  #exchange .head .btn-box, #exchange .p-share {
    text-align: center;
  }
  #exchange .btn-box .btn {
    margin: 5px;
    max-width: 150px;
  }
  #exchange .exchange-board dl {
    width: 100%;
  }
  #exchange .exchange-board dl dd {
    width: calc(100% - 90px);
  }
  #exchange .exchange-board dl dt {
    width: 90px;
  }
  #exchange .exchange-board dl dd {
    font-weight: bold;
  }
}
@media only screen and (max-width: 639px) {
  .exchange-list .item {
    width: 100%;
    margin: 25px 0;
  }
  #exchange .exchange-board dl {
    margin: 5px 0;
  }
  #exchange .exchange-board dl dd,
  #exchange .exchange-board dl dt {
    width: 100%;
  }
}
#exchange .text-center .p-share {
  text-align: center;
}

/* Diet Plan Table */
.theme-dp-wrap {
  padding: 10px;
  line-height: 1.8;
}

.theme-dp-wrap .theme-dp-legend {
  color: #fff;
  padding: 10px;
  margin: 0 auto 20px auto;
  font-size: 1.125rem;
}

.theme-dp-wrap .theme-dp-legend .subhead {
  font-size: 1.875rem;
  line-height: 1.5;
  margin: 0 0 20px 0;
  padding: 0;
}

.theme-dp-wrap .theme-dp-legend .legend-list {
  list-style-type: decimal;
  list-style-position: outside;
  margin: 0;
  padding: 0;
}

.theme-dp-wrap .theme-dp-legend .legend-list > li {
  margin-left: 1.4rem;
}

.theme-dp-wrap .theme-dp-table {
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  display: block;
  font-size: 0;
}

.theme-dp-wrap .theme-dp-table .t-aside, .theme-dp-wrap .theme-dp-table .t-day {
  display: inline-block;
  vertical-align: top;
}

.theme-dp-wrap .theme-dp-table .t-aside .t-th, .theme-dp-wrap .theme-dp-table .t-aside .t-td, .theme-dp-wrap .theme-dp-table .t-day .t-th, .theme-dp-wrap .theme-dp-table .t-day .t-td {
  display: block;
  padding: 10px;
  line-height: 1.3;
  overflow: hidden;
  border-top: 1px solid #ccc;
  font-size: 1rem;
}

.theme-dp-wrap .theme-dp-table .t-aside .t-th, .theme-dp-wrap .theme-dp-table .t-day .t-th {
  border-top: none;
}

.theme-dp-wrap .theme-dp-table .t-aside .time, .theme-dp-wrap .theme-dp-table .t-day .time {
  display: none;
}

.theme-dp-wrap .theme-dp-table .t-aside a, .theme-dp-wrap .theme-dp-table .t-day a {
  display: inline-block;
  position: relative;
  color: inherit;
  text-decoration: none;
  margin-bottom: 10px;
}

.theme-dp-wrap .theme-dp-table .t-aside a:hover, .theme-dp-wrap .theme-dp-table .t-day a:hover {
  color: #4d9ed6;
}

.theme-dp-wrap .theme-dp-table .t-aside .day, .theme-dp-wrap .theme-dp-table .t-day .day {
  margin: 0;
  padding: 0;
  font-size: 1.875rem;
  line-height: 1.3;
  font-weight: 600;
  white-space: nowrap;
  color: #333;
}

.theme-dp-wrap .theme-dp-table .t-aside .day div, .theme-dp-wrap .theme-dp-table .t-day .day div {
  font-size: 0.875rem;
}

.theme-dp-wrap .theme-dp-table .t-day {
  width: calc((100% - 100px) / 7);
}

.theme-dp-wrap .theme-dp-table .t-day .t-th, .theme-dp-wrap .theme-dp-table .t-day .t-td {
  border-left: 1px solid #ccc;
}

.theme-dp-wrap .theme-dp-table .t-aside {
  width: 100px;
}

.theme-dp-wrap .theme-dp-table .t-aside .t-th, .theme-dp-wrap .theme-dp-table .t-aside .t-td {
  padding-left: 20px;
  padding-right: 20px;
  border-left: none;
  font-size: 1.125rem;
  font-weight: 600;
  white-space: nowrap;
}

.theme-dp-wrap .theme-dp-table .t-aside .t-th div, .theme-dp-wrap .theme-dp-table .t-aside .t-td div {
  font-size: 0.75rem;
}

.theme-dp-wrap .theme-dp-table .t-aside .t-th.t-breakfast, .theme-dp-wrap .theme-dp-table .t-aside .t-td.t-breakfast {
  color: #f17d45;
}

.theme-dp-wrap .theme-dp-table .t-aside .t-th.t-lunch, .theme-dp-wrap .theme-dp-table .t-aside .t-td.t-lunch {
  color: #dea914;
}

.theme-dp-wrap .theme-dp-table .t-aside .t-th.t-dessert, .theme-dp-wrap .theme-dp-table .t-aside .t-td.t-dessert {
  color: #6ABBA9;
}

.theme-dp-wrap .theme-dp-table .t-aside .t-th.t-dinner, .theme-dp-wrap .theme-dp-table .t-aside .t-td.t-dinner {
  color: #548CD1;
}

@media (max-width: 1399px) {
  .theme-dp-wrap .theme-dp-table .t-aside .day, .theme-dp-wrap .theme-dp-table .t-day .day {
    font-size: 1.625rem;
  }
}
@media (max-width: 1199px) {
  .theme-dp-wrap .theme-dp-legend {
    font-size: 1rem;
  }
  .theme-dp-wrap .theme-dp-legend .subhead {
    font-size: 1.5rem;
  }
  .theme-dp-wrap .theme-dp-table {
    display: block;
  }
  .theme-dp-wrap .theme-dp-table .t-aside, .theme-dp-wrap .theme-dp-table .t-day {
    width: 100%;
    display: block;
  }
  .theme-dp-wrap .theme-dp-table .t-aside .t-th, .theme-dp-wrap .theme-dp-table .t-aside .t-td, .theme-dp-wrap .theme-dp-table .t-day .t-th, .theme-dp-wrap .theme-dp-table .t-day .t-td {
    display: inline-block;
    vertical-align: top;
    border-left: none;
  }
  .theme-dp-wrap .theme-dp-table .t-aside .t-th, .theme-dp-wrap .theme-dp-table .t-day .t-th {
    width: 120px;
  }
  .theme-dp-wrap .theme-dp-table .t-aside .t-td, .theme-dp-wrap .theme-dp-table .t-day .t-td {
    width: calc((100% - 120px) / 4);
  }
  .theme-dp-wrap .theme-dp-table .t-aside .day, .theme-dp-wrap .theme-dp-table .t-day .day {
    font-size: 1.25rem;
  }
  .theme-dp-wrap .theme-dp-table .t-day .t-th {
    border-top: 1px solid #ccc;
  }
  .theme-dp-wrap .theme-dp-table .t-aside .t-td {
    border-top: none;
  }
}
@media (max-width: 767px) {
  .theme-dp-wrap {
    padding: 5px;
  }
  .theme-dp-wrap .theme-dp-legend {
    padding: 10px;
    margin: 0 auto;
  }
  .theme-dp-wrap .theme-dp-legend .subhead {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }
  .theme-dp-wrap .theme-dp-table .t-aside {
    display: none;
  }
  .theme-dp-wrap .theme-dp-table .t-day {
    width: 100%;
    display: block;
  }
  .theme-dp-wrap .theme-dp-table .t-day .t-th, .theme-dp-wrap .theme-dp-table .t-day .t-td {
    width: 100%;
    display: block;
    padding-left: 70px;
    padding-bottom: 5px;
    position: relative;
  }
  .theme-dp-wrap .theme-dp-table .t-day .t-th.t-breakfast .time, .theme-dp-wrap .theme-dp-table .t-day .t-td.t-breakfast .time {
    color: #f17d45;
  }
  .theme-dp-wrap .theme-dp-table .t-day .t-th.t-lunch .time, .theme-dp-wrap .theme-dp-table .t-day .t-td.t-lunch .time {
    color: #dea914;
  }
  .theme-dp-wrap .theme-dp-table .t-day .t-th.t-dessert .time, .theme-dp-wrap .theme-dp-table .t-day .t-td.t-dessert .time {
    color: #6ABBA9;
  }
  .theme-dp-wrap .theme-dp-table .t-day .t-th.t-dinner .time, .theme-dp-wrap .theme-dp-table .t-day .t-td.t-dinner .time {
    color: #548CD1;
  }
  .theme-dp-wrap .theme-dp-table .t-day .t-th {
    background-color: #eee;
    padding: 15px 10px;
  }
  .theme-dp-wrap .theme-dp-table .t-day .time {
    display: inline-block;
    position: absolute;
    border-radius: 5px;
    margin: 0 0 10px 0;
    position: absolute;
    top: 10px;
    left: 10px;
    font-weight: 600;
  }
  .theme-dp-wrap .theme-dp-table .t-day .time:after {
    content: "：";
  }
}
/* 美食揪團 */
#initiate .view-inner .content.food .img,
#initiate .view-inner .content.food .text {
  display: inline-block;
  width: calc(50% - 4px);
  vertical-align: top;
}

#initiate .view-inner .content.food .text {
  padding: 0 30px;
}

#initiate .view-inner .content.food .p-back {
  margin: 50px 0 30px;
}

#delicacy-photo {
  margin-top: 40px;
}

#delicacy-photo.food {
  margin-top: 20px;
}

#delicacy-photo .tab-content {
  padding: 5px 0;
}

#delicacy-photo .nav-pills.food {
  text-align: center;
}

#delicacy-photo .nav-pills.food > li {
  float: none;
  display: inline-block;
}

#delicacy-photo .nav-pills > li > a {
  border-radius: 0;
  font-size: 0.875rem;
  color: #fff;
  background: #c9c9c9;
  border-radius: 50px;
  margin: 0 15px;
  padding: 5px 30px;
}

#delicacy-photo .nav-pills > li > a:first-of-type {
  margin-left: 0;
}

#delicacy-photo .nav-pills > li.active > a {
  background: #5e95cf;
}

#delicacy-photo .nav-pills > li > a > img {
  margin: 0 8px 3px 0;
}

#delicacy-photo .item-box {
  display: inline-block;
  width: calc(20% - 4px);
  margin: 30px 0 0;
  vertical-align: top;
}

#delicacy-photo .item-box img {
  display: block;
  max-width: 100%;
  height: auto;
}

#delicacy-photo .item-box span.name {
  position: relative;
  display: inline-block;
  color: #222;
  font-size: 1rem;
  padding: 4px 10px 0 0;
  margin-right: 10px;
}

#delicacy-photo .item-box span.name:before {
  position: absolute;
  content: "";
  width: 1px;
  height: 16px;
  top: 8px;
  right: 0;
  background: #888;
}

#delicacy-photo .item-box span.time,
#delicacy-photo .item-box span.del {
  position: relative;
  display: inline-block;
  color: #888;
  font-size: 1rem;
  padding: 4px 13px 0 20px;
}

#delicacy-photo .item-box span.del {
  padding: 4px 0 0 20px;
}

#delicacy-photo .item-box span.time:before {
  position: absolute;
  content: "";
  content: url(../images/icon_clock.gif);
  width: 14px;
  height: 15px;
  top: 6px;
  left: 0;
}

#delicacy-photo .item-box span.time:after {
  content: "";
  position: absolute;
  width: 1px;
  height: 15px;
  top: 8px;
  right: 3px;
  background: #aaa;
}

#delicacy-photo .item-box span.del:before {
  position: absolute;
  content: "";
  content: url(../images/icon_del.gif);
  width: 14px;
  height: 15px;
  top: 6px;
  left: 0;
}

#initiate .join-text.food {
  color: #d83d71;
  text-align: center;
}

#initiate .weight-form.team dl.food {
  padding: 5px 0;
}

#diary .calendar-wrap.food:before {
  background-image: url(../images/food_top_bg1.png), url(../images/food_top_bg2.png);
  background-position: left bottom, right bottom;
}

#calendar.food .fc-view .fc-day .span {
  position: relative;
  display: inline-block;
  width: calc(50% - 4px);
  color: #888;
  font-size: 0.875rem;
  z-index: 9;
}

#calendar.food .fc-view .fc-day .span.add {
  color: #1b80a6;
}

#calendar.food .fc-view .fc-day {
  padding: 10px 0px 0 50px;
  z-index: 9999;
}

#calendar.food a.diary-create,
#calendar.food a.diary-view,
#calendar.food a.diary-check {
  margin-top: 40px;
}

#diary.food .active-select-wrap .dropdown .btn {
  display: inline-block !important;
}

#diary.food .active-select-wrap .dropdown.open > .dropdown-menu {
  display: block !important;
}

#diary.food .active-select.food {
  padding: 30px 0;
  text-align: center;
  background: #eee;
  margin-bottom: 28px;
}

#diary.food .select-box {
  text-align: center;
}

#diary.food .select-box .dropdown .btn {
  padding: 0 75px 0 15px;
}

#diary.food .active-select.food .title {
  font-size: 1.4375rem;
  margin-bottom: 5px;
}

#diary.food .active-table-wrap {
  min-height: 780px;
  margin-bottom: 30px;
  padding: 125px 30px 0;
  background: url(../images/food_diet_bg.png) center 0 no-repeat;
}

#diary.food .active-table {
  width: 100%;
  max-width: 855px;
  min-height: 555px;
  margin: 0 auto;
  padding: 15px 35px 5px;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  border: 5px solid #e1e3e6;
  -webkit-box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
          box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
}

#diary.food .active-table .box {
  position: relative;
  display: inline-block;
  width: 100%;
  border-radius: 20px;
  margin: 10px 8px;
  padding: 10px 5px;
  overflow: hidden;
}

#diary.food .active-table .box.milk {
  height: 150px;
  border: 2px solid #078bc4;
  background: #dfedf3;
}

#diary.food .active-table .box.milk .title {
  color: #078bc4;
}

#diary.food .active-table .box.nut {
  height: 150px;
  border: 2px solid #81511c;
  background: #efeae4;
}

#diary.food .active-table .box.nut .title {
  color: #81511c;
}

#diary.food .active-table .box.other {
  height: 150px;
  border: 2px solid #ae5da1;
  background: #f4ecf3;
}

#diary.food .active-table .box.other .title {
  color: #ae5da1;
}

#diary.food .active-table .box.fruit {
  height: 328px;
  border: 2px solid #ff6c00;
  background: #f9eadf;
}

#diary.food .active-table .box.fruit .title {
  color: #ff6c00;
}

#diary.food .active-table .box.vegan {
  height: 328px;
  border: 2px solid #90c31f;
  background: #edf2e4;
}

#diary.food .active-table .box.vegan .title {
  color: #90c31f;
}

#diary.food .active-table .box.fish {
  height: 150px;
  border: 2px solid #f13a66;
  background: #f7e5e9;
}

#diary.food .active-table .box.fish .title {
  color: #f13a66;
}

#diary.food .active-table .box.rice {
  height: 150px;
  border: 2px solid #fdc82a;
  background: #fcf7e7;
}

#diary.food .active-table .box.rice .title {
  color: #fdc82a;
}

#diary.food .active-table .box .mCSB_inside > .mCSB_container {
  margin-right: 0;
}

#diary.food .active-table .box.milk .mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #078bc4;
  background-color: rgba(7, 139, 196, 0.75);
}

#diary.food .active-table .box.nut .mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #81511c;
  background-color: rgba(129, 81, 28, 0.75);
}

#diary.food .active-table .box.other .mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #ae5da1;
  background-color: rgba(174, 93, 161, 0.75);
}

#diary.food .active-table .box.fruit .mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #ff6c00;
  background-color: rgba(255, 108, 0, 0.75);
}

#diary.food .active-table .box.vegan .mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #90c31f;
  background-color: rgba(144, 195, 31, 0.75);
}

#diary.food .active-table .box.fish .mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #f13a66;
  background-color: rgba(241, 58, 102, 0.75);
}

#diary.food .active-table .box.rice .mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: #fdc82a;
  background-color: rgba(253, 200, 42, 0.75);
}

#diary.food .active-table .box .title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: bold;
}

#diary.food .active-table .box .tr {
  text-align: left;
  padding: 0 20px;
  margin-bottom: 8px;
}

#diary.food .active-table .box .tr div {
  display: inline-block;
  line-height: 1;
  font-size: 0.875rem;
}

#diary.food .active-table .box .tr .list {
  display: inline-block;
  width: calc(50% - 4px);
}

#diary.food .active-table .unit.cal {
  color: #333;
}

#diary.food .active-table .box .tr .mult {
  position: relative;
  padding-left: 13px;
}

#diary.food .active-table .unit {
  font-size: 0.875rem;
  color: #666;
}

#diary.food .active-table .box .tr .mult:before {
  content: "X";
  position: absolute;
  width: 10px;
  left: 0;
  top: 0;
}

#diary.food .no-data {
  display: block !important;
  text-align: center;
  padding: 18px 10px;
}

#diary.food .subject-ch {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  padding-right: 10px;
}

#diary.food .select-style {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 34px;
  font-size: 0.875rem;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 0;
  padding: 0 4px;
  margin-right: 5px;
  vertical-align: top;
}

#diary.food .select-style:focus {
  border-color: #d83d71;
}

#diary.food .txt-box {
  margin-top: 15px;
}

#delicacy-photo .nav-pills > li {
  text-align: center;
}

#diary.food .food-upload {
  margin-top: 40px;
}

#diary.food .food-upload .ti {
  padding: 5px 25px;
  color: #fff;
  background: #333;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

#diary.food .food-upload .cont {
  padding: 30px;
  background: #f6f6f6;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

#diary.food .food-upload dl {
  display: inline-block;
  width: 30%;
  vertical-align: top;
  margin: 0 0 20px;
  padding: 0 15px;
}

#diary.food .food-upload dl.upload {
  width: 69%;
}

#diary.food .food-upload dl dt {
  float: left;
  width: 80px;
  line-height: 34px;
  font-size: 0.9375rem;
  font-weight: normal;
}

#diary.food .food-upload dl dd {
  float: right;
  width: calc(100% - 80px);
  font-size: 0;
}

#diary.food .food-upload dl dd .input {
  display: inline-block;
  width: 80%;
  height: 34px;
  font-size: 0.875rem;
  border: 1px solid #ddd;
  vertical-align: top;
  padding: 5px 10px;
  background: #fff;
}

#diary.food .food-upload input[type=file] {
  -webkit-appearance: textfield;
  position: relative;
  -webkit-box-sizing: border-box;
}

#diary.food .food-upload input[type=file]::-webkit-file-upload-button {
  width: 0;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  border: none;
}

#diary.food .food-upload dl dd .input::-webkit-file-upload-button,
#diary.food .food-upload input[type=file]:after {
  content: "";
  display: inline-block;
  right: 0;
  position: relative;
  -webkit-appearance: button;
  padding: 3px 8px 2px;
  top: 0px;
  width: 80px;
}

#diary.food .food-upload .btn.upload {
  display: inline-block;
  width: 140px;
  height: 34px;
  line-height: 34px;
  font-size: 0.875rem;
  color: #fff;
  border: none;
  border-radius: 0;
  vertical-align: top;
  margin: 0 10px;
  padding: 0;
  background: #5e95cf;
}

#diary.food .active-select-list-item {
  margin-right: 0;
}

#diary.food .slick-dots {
  text-align: center;
}

#diary.food .slick-dots li {
  display: inline-block;
  min-width: 20px;
  list-style: none;
  padding: 0;
  margin: 0 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
}

#diary.food .slick-dots li a {
  font-size: 0.8125rem;
  color: #666;
}

#diary.food .slick-dots li.slick-active {
  background: #d83d71;
  border: 1px solid #d83d71;
}

#diary.food .slick-dots li.slick-active a {
  color: #fff;
}

#diary.food .btn-wrap {
  position: relative;
  height: 30px;
}

#diary.food .slick-slide {
  outline: none;
}

#diary.food .slick-prev,
#diary.food .slick-next {
  cursor: pointer;
  position: absolute;
  display: inline-block;
  top: -30px;
  left: 0;
  border: none;
  width: 80px;
  height: 30px;
  background: url(../images/icon_prev_food.png) no-repeat;
}

#diary.food .slick-next {
  left: auto;
  right: 0;
  background: url(../images/icon_next_food.png) no-repeat;
}

#diary.food .slick-prev:hover,
#diary.food .slick-next:hover {
  opacity: 0.8;
}

#form_grade_search {
  padding: 8px 0;
  background: #f2f2f2;
}

#form_grade_search button {
  height: 34px;
  font-size: 0.985rem;
  color: #fff;
  background: #5e95ce;
  border-radius: 3px;
  border: none;
}

#initiate .select-box #form_grade_search .btn {
  background: #ddefff;
  border: 1px solid #add9f7;
}

@media (min-width: 992px) {
  #diary.food .active-select-wrap .dropdown .dropdown-menu {
    display: none !important;
  }
}
@media (max-width: 1599px) {
  #delicacy-photo .item-box {
    width: calc(25% - 4px);
  }
  #diary.food .food-upload dl,
  #diary.food .food-upload dl.upload {
    width: 100%;
  }
}
@media (max-width: 1199px) {
  #delicacy-photo .item-box {
    width: calc(33.3333333333% - 4px);
  }
  #diary.food .food-upload dl dd .input {
    width: 70%;
  }
}
@media (max-width: 991px) {
  #delicacy-photo .item-box {
    width: calc(50% - 4px);
    text-align: center;
  }
  #delicacy-photo .item-box img {
    margin: 0 auto;
  }
  #delicacy-photo .nav-pills > li {
    width: calc(25% - 4px);
    margin-bottom: 10px;
  }
  #initiate .view-inner .content.food .img,
  #initiate .view-inner .content.food .text {
    width: 100%;
  }
  #initiate .view-inner .content.food .img {
    margin-bottom: 15px;
  }
  #calendar.food .fc-view .fc-day {
    padding: 15px 0 0 15px;
  }
  #calendar.food .fc-view .fc-day span {
    text-align: center;
  }
  #calendar.food .fc-view .fc-day span .hidden-xs {
    display: none !important;
  }
  #diary.food .active-table-wrap {
    padding-bottom: 60px;
    background: url(../images/food_diet_s_bg.png) center 0 no-repeat;
  }
  #diary.food .active-table .box.milk,
  #diary.food .active-table .box.fruit,
  #diary.food .active-table .box.nut,
  #diary.food .active-table .box.vegan,
  #diary.food .active-table .box.other,
  #diary.food .active-table .box.fish,
  #diary.food .active-table .box.rice {
    height: auto;
  }
}
@media (max-width: 767px) {
  #diary.food .food-upload dl dd .input {
    width: 100%;
  }
  #diary.food .food-upload .btn.upload {
    margin: 15px 0 0 0;
  }
}
@media (max-width: 639px) {
  #delicacy-photo .item-box {
    width: 100%;
  }
  #delicacy-photo .nav-pills > li {
    width: calc(50% - 4px);
  }
  #initiate .active-summary .summary.food span:before {
    display: none;
  }
}
/* Step Tracker */
#step-track {
  font-size: 16px;
  width: 100%;
  max-width: 1370px;
  margin: 0 auto 30px auto;
  padding: 70px 100px;
  background: url(../images/stk_bg.jpg) repeat 0 0;
  overflow: hidden;
  border-radius: 15px;
  display: table;
  position: relative;
  -webkit-animation: stkani_bgmove 13s both linear infinite;
  animation: stkani_bgmove 13s both linear infinite;
  will-change: filter;
  -webkit-transition: opacity 1s ease, -webkit-filter 1.2s ease, -webkit-transform 1.2s ease;
  transition: opacity 1s ease, -webkit-filter 1.2s ease, -webkit-transform 1.2s ease;
  transition: filter 1.2s ease, opacity 1s ease, transform 1.2s ease;
  transition: filter 1.2s ease, opacity 1s ease, transform 1.2s ease, -webkit-filter 1.2s ease, -webkit-transform 1.2s ease;
  -webkit-filter: blur(3px);
  filter: blur(3px);
  -webkit-transform: scale(0.96);
  -ms-transform: scale(0.96);
  transform: scale(0.96);
  opacity: 0;
}

#step-track h1, #step-track h2, #step-track h3, #step-track h4, #step-track h5, #step-track h5 {
  font-size: inherit;
}

#step-track.shown {
  -webkit-filter: blur(0);
  filter: blur(0);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

#step-track.shown .deco {
  opacity: 1 !important;
}

#step-track.shown .stk-record li {
  opacity: 1;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

#step-track .stk-record {
  width: 50%;
  display: table-cell;
  vertical-align: middle;
  position: relative;
  z-index: 10;
}

#step-track .stk-record li {
  display: block;
  margin: 0 auto 20px 0;
  text-align: center;
  font-size: 26px;
  -webkit-transition: opacity 1s ease, -webkit-transform 1s ease;
  transition: opacity 1s ease, -webkit-transform 1s ease;
  transition: transform 1s ease, opacity 1s ease;
  transition: transform 1s ease, opacity 1s ease, -webkit-transform 1s ease;
  -webkit-transform: translateY(30px);
  -ms-transform: translateY(30px);
  transform: translateY(30px);
  opacity: 0;
}

#step-track .stk-record li:nth-of-type(1) {
  -webkit-transition-delay: 0.35s;
  transition-delay: 0.35s;
}

#step-track .stk-record li:nth-of-type(2) {
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

#step-track .stk-record li:last-child {
  margin-bottom: 0;
}

#step-track .stk-record .title {
  color: #229898;
  line-height: 1.5;
  text-transform: uppercase;
  margin: 0 auto 15px auto;
  padding: 0;
  font-weight: 600;
}

#step-track .stk-record .title .zh, #step-track .stk-record .title .en {
  display: block;
}

#step-track .stk-record .title .en {
  font-size: 16px;
  color: #5ba6a6;
}

#step-track .stk-record .count {
  border: 5px solid #e9eab7;
  background: #fff;
  padding: 30px 40px;
  line-height: 1.5;
  border-radius: 10px;
  font-family: "Microsoft JhengHei UI", "Microsoft JhengHei", sans-serif;
}

#step-track .stk-record .count strong {
  color: #d83d71;
  display: inline-block;
  margin: 0 5px;
}

#step-track .stk-right {
  width: 50%;
  display: table-cell;
  vertical-align: middle;
  padding: 0 0 0 2%;
  position: relative;
  z-index: 11;
}

#step-track .stk-taiwan {
  position: relative;
  margin: 0 auto;
  z-index: 0;
  width: 100%;
  max-width: 370px;
  background: url(../images/stk_taiwan.png) no-repeat 0 0;
  background-size: contain;
}

#step-track .stk-taiwan:before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 181.08%;
}

#step-track #stk-svg-path {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  -webkit-transform: scale(1.045) translate(-51%, -50%);
  -ms-transform: scale(1.045) translate(-51%, -50%);
  transform: scale(1.045) translate(-51%, -50%);
}

#step-track #stk-path {
  fill: none;
  stroke: #EBEBB9;
  stroke-width: 6;
  stroke-miterlimit: 10;
}

#step-track #stk-progress {
  fill: none;
  stroke: #d83d71;
  stroke-width: 6;
  stroke-miterlimit: 10;
}

#step-track #stk-svg-peo {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  -webkit-transform: scale(1.045) translate(-51%, -50%);
  -ms-transform: scale(1.045) translate(-51%, -50%);
  transform: scale(1.045) translate(-51%, -50%);
}

#step-track #stk-peo {
  position: absolute;
  -webkit-animation: stkani_walk 1s linear both infinite;
  animation: stkani_walk 1s linear both infinite;
}

#step-track #stk-peo image {
  width: 100px;
  height: 112px;
  -webkit-transform: translate(-48px, -85px);
  -ms-transform: translate(-48px, -85px);
  transform: translate(-48px, -85px);
  -webkit-filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.7));
  filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.7));
}

#step-track #stk-city {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 0;
}

#step-track #stk-city li {
  width: 0;
  height: 0;
  position: absolute;
  -webkit-transform-origin: center bottom;
  -ms-transform-origin: center bottom;
  transform-origin: center bottom;
}

#step-track #stk-city .has-mark.n1 {
  left: 24.67%;
  top: 33.28%;
}

#step-track #stk-city .has-mark.n1 .landmark {
  -webkit-animation-delay: 0.02s;
  animation-delay: 0.02s;
}

#step-track #stk-city .has-mark.n2 {
  left: 18.21%;
  top: 73.62%;
}

#step-track #stk-city .has-mark.n2 .landmark {
  -webkit-animation-delay: 0.12s;
  animation-delay: 0.12s;
}

#step-track #stk-city .has-mark.n3 {
  left: 74.53%;
  top: 45.52%;
}

#step-track #stk-city .has-mark.n3 .landmark {
  -webkit-animation-delay: 0.22s;
  animation-delay: 0.22s;
}

#step-track #stk-city .has-mark.n4 {
  left: 60%;
  top: 9.74%;
}

#step-track #stk-city .has-mark.n4 .landmark {
  -webkit-animation-delay: 0.32s;
  animation-delay: 0.32s;
}

#step-track #stk-city .has-mark .landmark {
  -webkit-transform-origin: center bottom;
  -ms-transform-origin: center bottom;
  transform-origin: center bottom;
  font-style: normal;
  font-weight: 600;
  z-index: 3;
  font-size: 20px;
  color: #aaa;
  line-height: 34px;
  width: 45px;
  height: 45px;
  left: 50%;
  bottom: 0;
  margin-left: -22px;
  text-align: center;
  border-radius: 50%;
  background: #fff;
  border: 5px solid #aaa;
  position: absolute;
  -webkit-backface-visibility: visible;
          backface-visibility: visible;
  -webkit-animation: stkani_landmark linear 5.2s both infinite;
  animation: stkani_landmark linear 5.2s both infinite;
}

#step-track #stk-city .has-mark .landmark:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  background: #fff;
  border-radius: 50%;
}

#step-track #stk-city .has-mark .landmark:before {
  content: "";
  z-index: -2;
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  bottom: -12px;
  left: 50%;
  margin-left: -13px;
  border-style: solid;
  border-width: 11px 13px 0 13px;
  border-color: #aaa transparent transparent transparent;
}

#step-track #stk-city .done .landmark {
  color: #d83d71;
  border-color: #d83d71;
}

#step-track #stk-city .done .landmark:before {
  border-color: #d83d71 transparent transparent transparent;
}

#step-track .deco-sun,
#step-track .deco-cloud1,
#step-track .deco-cloud2,
#step-track .deco-cloud3,
#step-track .deco-cloud4,
#step-track .deco-balloon1,
#step-track .deco-balloon2,
#step-track .deco-balloon3,
#step-track .deco-balloon4,
#step-track .deco-ship1,
#step-track .deco-ship2,
#step-track .deco-ship3,
#step-track .deco-ship4,
#step-track .deco-bird1,
#step-track .deco-bird2,
#step-track .deco-bird3,
#step-track .deco-bird4,
#step-track .deco-bird5,
#step-track .deco-bird6 {
  z-index: 0;
  position: absolute;
}

#step-track .deco {
  opacity: 0 !important;
  -webkit-transition: opacity 1s 0.35s;
  transition: opacity 1s 0.35s;
}

#step-track .deco-sun {
  position: absolute;
  width: 25%;
  max-width: 155px;
  top: 4%;
  left: 3.65%;
  -webkit-transition-delay: 0.0002s;
  transition-delay: 0.0002s;
  -webkit-animation: stkani_scaleloop 4s linear both infinite;
  animation: stkani_scaleloop 4s linear both infinite;
}

#step-track .deco-sun .core {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  background-image: url(../images/stk_deco_sun.png);
  -webkit-animation: stkani_rotate360 4s linear both infinite;
  animation: stkani_rotate360 4s linear both infinite;
}

#step-track .deco-sun .core:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-sun .core:before {
  padding-bottom: 100%;
}

#step-track .deco-cloud1 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 9%;
  max-width: 54px;
  top: 29.87%;
  left: 4.89%;
  background-image: url(../images/stk_cloud1.png);
  -webkit-animation: stkani_swing 3s both linear infinite;
  animation: stkani_swing 3s both linear infinite;
}

#step-track .deco-cloud1:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-cloud1:before {
  padding-bottom: 28.57%;
}

#step-track .deco-cloud2 {
  width: 10.5%;
  max-width: 90px;
  top: 27.01%;
  left: 10.65%;
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
}

#step-track .deco-cloud2:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-cloud2:before {
  padding-bottom: 22.22%;
}

#step-track .deco-cloud2 div {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
}

#step-track .deco-cloud2 div:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-cloud2 div:nth-child(1) {
  top: 0;
  left: 0;
  width: 50%;
  background-image: url(../images/stk_cloud1.png);
  -webkit-animation: stkani_swing 4s both linear infinite;
  animation: stkani_swing 4s both linear infinite;
}

#step-track .deco-cloud2 div:nth-child(1):before {
  padding-bottom: 28.57%;
}

#step-track .deco-cloud2 div:nth-child(2) {
  top: 22%;
  left: 20%;
  width: 80%;
  background-image: url(../images/stk_cloud2.png);
  -webkit-animation: stkani_swing 5s 0.32s both linear infinite;
  animation: stkani_swing 5s 0.32s both linear infinite;
}

#step-track .deco-cloud2 div:nth-child(2):before {
  padding-bottom: 25.92%;
}

#step-track .deco-cloud3 {
  width: 11.6%;
  max-width: 105px;
  top: 10.64%;
  left: 46.71%;
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
}

#step-track .deco-cloud3:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-cloud3:before {
  padding-bottom: 22.22%;
}

#step-track .deco-cloud3 div {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
}

#step-track .deco-cloud3 div:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-cloud3 div:nth-child(1) {
  top: 0;
  left: 0;
  width: 65%;
  background-image: url(../images/stk_cloud1.png);
  -webkit-animation: stkani_swing 5s 0.15s both linear infinite;
  animation: stkani_swing 5s 0.15s both linear infinite;
}

#step-track .deco-cloud3 div:nth-child(1):before {
  padding-bottom: 28.57%;
}

#step-track .deco-cloud3 div:nth-child(2) {
  top: 22%;
  left: 30%;
  width: 80%;
  background-image: url(../images/stk_cloud2.png);
  -webkit-animation: stkani_swing 4s 0.12s both linear infinite;
  animation: stkani_swing 4s 0.12s both linear infinite;
}

#step-track .deco-cloud3 div:nth-child(2):before {
  padding-bottom: 25.92%;
}

#step-track .deco-cloud4 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 9.5%;
  max-width: 76px;
  top: 62.33%;
  left: 89.41%;
  background-image: url(../images/stk_cloud1.png);
  -webkit-animation: stkani_swing 4.3s 0.12s both linear infinite;
  animation: stkani_swing 4.3s 0.12s both linear infinite;
}

#step-track .deco-cloud4:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-cloud4:before {
  padding-bottom: 28.57%;
}

#step-track .deco-balloon1 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 12.2%;
  max-width: 110px;
  top: 36.36%;
  left: 2%;
  background-image: url(../images/stk_balloon1.png);
  -webkit-animation: stkani_swingup 4.3s 0.12s both linear infinite;
  animation: stkani_swingup 4.3s 0.12s both linear infinite;
}

#step-track .deco-balloon1:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-balloon1:before {
  padding-bottom: 120.95%;
}

#step-track .deco-balloon2 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 9.1%;
  max-width: 70px;
  top: 82.07%;
  left: 5.69%;
  background-image: url(../images/stk_balloon2.png);
  -webkit-animation: stkani_swingup 3.8s 0.05s both linear infinite;
  animation: stkani_swingup 3.8s 0.05s both linear infinite;
}

#step-track .deco-balloon2:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-balloon2:before {
  padding-bottom: 143.93%;
}

#step-track .deco-balloon3 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 8%;
  max-width: 56px;
  top: 62.59%;
  left: 48.71%;
  background-image: url(../images/stk_balloon3.png);
  -webkit-animation: stkani_swingup 3.5s 0.05s both linear infinite;
  animation: stkani_swingup 3.5s 0.05s both linear infinite;
}

#step-track .deco-balloon3:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-balloon3:before {
  padding-bottom: 143.93%;
}

#step-track .deco-balloon4 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 9.8%;
  max-width: 80px;
  top: 31.81%;
  left: 84.37%;
  background-image: url(../images/stk_balloon2.png);
  -webkit-animation: stkani_swingup 4.5s 0.05s both linear infinite;
  animation: stkani_swingup 4.5s 0.05s both linear infinite;
}

#step-track .deco-balloon4:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-balloon4:before {
  padding-bottom: 143.93%;
}

#step-track .deco-bird1 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 11.15%;
  max-width: 98px;
  top: 54.24%;
  left: 1.45%;
  background-image: url(../images/stk_bird.png);
  animation: stkani_swingup 4.5s 0.05s both ease-in infinite reverse;
}

#step-track .deco-bird1:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-bird1:before {
  padding-bottom: 66.66%;
}

#step-track .deco-bird2 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 7.28%;
  max-width: 45px;
  top: 6.88%;
  left: 62.04%;
  background-image: url(../images/stk_bird.png);
  animation: stkani_swingup 5s 0.15s both ease-in infinite reverse;
}

#step-track .deco-bird2:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-bird2:before {
  padding-bottom: 66.66%;
}

#step-track .deco-bird3 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 7.2%;
  max-width: 48px;
  top: 83.14%;
  left: 61.54%;
  background-image: url(../images/stk_bird.png);
  animation: stkani_swingup 4s 0.05s both ease-in infinite reverse;
}

#step-track .deco-bird3:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-bird3:before {
  padding-bottom: 66.66%;
}

#step-track .deco-bird4 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 8.2%;
  max-width: 55px;
  top: 62.85%;
  left: 78.13%;
  background-image: url(../images/stk_bird2.png);
  animation: stkani_swingup 5.6s 0.05s both ease-in infinite reverse;
}

#step-track .deco-bird4:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-bird4:before {
  padding-bottom: 64.28%;
}

#step-track .deco-bird5 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 8.9%;
  max-width: 60px;
  top: 56.18%;
  left: 93.79%;
  background-image: url(../images/stk_bird2.png);
  animation: stkani_swingup 4.6s 0.02s both ease-in infinite reverse;
}

#step-track .deco-bird5:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-bird5:before {
  padding-bottom: 64.28%;
}

#step-track .deco-bird6 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 6.8%;
  max-width: 34px;
  top: 21.46%;
  left: 13.86%;
  background-image: url(../images/stk_bird.png);
  animation: stkani_swingup 4s 0.02s both ease-in infinite reverse;
}

#step-track .deco-bird6:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-bird6:before {
  padding-bottom: 66.66%;
}

#step-track .deco-ship1 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 10.8%;
  max-width: 66px;
  top: 55.54%;
  left: 8.75%;
  background-image: url(../images/stk_ship1.png);
  animation: stkani_swing2 6s both linear infinite reverse;
}

#step-track .deco-ship1:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-ship1:before {
  padding-bottom: 109.375%;
}

#step-track .deco-ship2 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 8.9%;
  max-width: 70px;
  top: 27.87%;
  left: 52.64%;
  background-image: url(../images/stk_ship1.png);
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-animation: stkani_swing2 5s 0.15s both linear infinite;
  animation: stkani_swing2 5s 0.15s both linear infinite;
}

#step-track .deco-ship2:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-ship2:before {
  padding-bottom: 109.375%;
}

#step-track .deco-ship3 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 8.9%;
  max-width: 70px;
  top: 15.87%;
  left: 90.14%;
  background-image: url(../images/stk_ship1.png);
  animation: stkani_swing2 8s 0.15s both linear infinite reverse;
}

#step-track .deco-ship3:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-ship3:before {
  padding-bottom: 109.375%;
}

#step-track .deco-ship4 {
  position: absolute;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  width: 10.5%;
  max-width: 72px;
  top: 88.7%;
  left: 83.21%;
  background-image: url(../images/stk_ship2.png);
  animation: stkani_swing2 9.5s 0.2s both linear infinite reverse;
}

#step-track .deco-ship4:before {
  content: "";
  display: block;
  width: 100%;
  position: relative;
}

#step-track .deco-ship4:before {
  padding-bottom: 50%;
}

/* keyframe */
@-webkit-keyframes stkani_fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes stkani_fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes stkani_walk {
  0%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
}
@keyframes stkani_walk {
  0%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
}
@-webkit-keyframes stkani_landmark {
  0%, 20%, 40%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  10%, 30%, 50% {
    -webkit-transform: translateY(3px);
    transform: translateY(3px);
  }
  61%, 69% {
    -webkit-transform: translateY(0) rotateY(0deg);
    transform: translateY(0) rotateY(0deg);
  }
  65% {
    -webkit-transform: translateY(0) rotateY(270deg);
    transform: translateY(0) rotateY(270deg);
  }
}
@keyframes stkani_landmark {
  0%, 20%, 40%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  10%, 30%, 50% {
    -webkit-transform: translateY(3px);
    transform: translateY(3px);
  }
  61%, 69% {
    -webkit-transform: translateY(0) rotateY(0deg);
    transform: translateY(0) rotateY(0deg);
  }
  65% {
    -webkit-transform: translateY(0) rotateY(270deg);
    transform: translateY(0) rotateY(270deg);
  }
}
@-webkit-keyframes stkani_rotate360 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes stkani_rotate360 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes stkani_scaleloop {
  0%, 20%, 40%, 60%, 80%, 100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
}
@keyframes stkani_scaleloop {
  0%, 20%, 40%, 60%, 80%, 100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
}
@-webkit-keyframes stkani_bgmove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100%;
  }
}
@keyframes stkani_bgmove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100%;
  }
}
@-webkit-keyframes stkani_swing {
  0%, 50%, 100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  25% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }
  75% {
    -webkit-transform: translateX(5px);
    transform: translateX(5px);
  }
}
@keyframes stkani_swing {
  0%, 50%, 100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  25% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }
  75% {
    -webkit-transform: translateX(5px);
    transform: translateX(5px);
  }
}
@-webkit-keyframes stkani_swingup {
  0%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
}
@keyframes stkani_swingup {
  0%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
}
@-webkit-keyframes stkani_swing2 {
  0%, 100% {
    -webkit-transform: translateX(-5px) skewX(0deg);
    transform: translateX(-5px) skewX(0deg);
  }
  50% {
    -webkit-transform: translateX(5px) skewX(2deg);
    transform: translateX(5px) skewX(2deg);
  }
}
@keyframes stkani_swing2 {
  0%, 100% {
    -webkit-transform: translateX(-5px) skewX(0deg);
    transform: translateX(-5px) skewX(0deg);
  }
  50% {
    -webkit-transform: translateX(5px) skewX(2deg);
    transform: translateX(5px) skewX(2deg);
  }
}
@media (max-width: 991px) {
  #step-track {
    padding: 50px 80px;
  }
  #step-track .stk-record {
    width: 48%;
  }
  #step-track .stk-record li {
    font-size: 24px;
  }
  /*#step-track .stk-record li:first-child {
    margin-bottom: 50px;
  }*/
  #step-track .stk-record .title {
    margin: 0 auto 15px auto;
  }
  /*#step-track .stk-record .title .en {
    font-size: 18px;
  }*/
  #step-track .stk-record .count {
    padding: 40px 30px;
  }
  #step-track .stk-right {
    width: 52%;
    padding: 0 0 0 2%;
  }
}
@media (max-width: 839px) {
  #step-track .stk-record .count {
    padding: 30px;
  }
}
@media (max-width: 767px) {
  #step-track .stk-record .count {
    padding: 20px;
  }
  #step-track .stk-record li {
    font-size: 20px;
  }
  /*#step-track .stk-record .title .en {
    font-size: 17px;
  }*/
}
@media (max-width: 639px) {
  #step-track {
    display: block;
    padding: 50px 20px 20px 20px;
  }
  #step-track .stk-record {
    display: block;
    padding: 0;
    width: 100%;
    margin: 0 auto 30px auto;
  }
  #step-track .stk-record .count {
    padding: 20px;
  }
  #step-track .stk-record li {
    font-size: 20px;
  }
  /*#step-track .stk-record li:first-child {
    margin-bottom: 30px;
  }
  #step-track .stk-record .title .en {
    font-size: 17px;
  }*/
  #step-track .stk-right {
    display: block;
    padding: 0;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
  #step-track .deco-sun {
    top: -7%;
    left: -12%;
    width: 50%;
    max-width: 200px;
  }
  #step-track .deco-cloud1 {
    display: none;
  }
  #step-track .deco-cloud2 {
    width: 30%;
    top: 48%;
  }
  #step-track .deco-cloud2 div {
    opacity: 0.8;
  }
  #step-track .deco-cloud3 {
    width: 35%;
    max-width: 150px;
    top: 2%;
    left: 65%;
  }
  #step-track .deco-cloud3 div {
    opacity: 0.8;
  }
  #step-track .deco-bird4 {
    left: 85%;
    top: 70%;
  }
  #step-track .deco-bird3 {
    width: 10%;
    max-width: 40px;
    left: 68%;
  }
  #step-track .deco-ship4 {
    width: 20%;
    max-width: 100px;
    left: 75%;
    top: 92%;
  }
  #step-track .deco-balloon1, #step-track .deco-balloon2, #step-track .deco-balloon3, #step-track .deco-balloon4, #step-track .deco-ship2, #step-track .deco-ship3, #step-track .deco-bird6, #step-track .deco-bird2, #step-track .deco-bird5 {
    display: none !important;
  }
}
/* 20201231 */
.ytp-chrome-bottom, .ytp-chrome-top {
  display: none !important;
}

/* 20220424健身鏡 */
/*
 * 健身鏡
 */
#fitness {
  --h-header: 130px;
  --fz-fit-subhead: 1.25rem;
  --gap-item: clamp(20px, 1.56vw, 30px);
}

@media (max-width: 1499px) {
  #fitness {
    --h-header: 90px;
  }
}
@media (max-width: 991px) {
  #fitness {
    --gap-item: 20px;
  }
}
@media (max-width: 767px) {
  #fitness {
    --h-header: 65px;
    --fz-fit-subhead: 1.06225rem;
    --gap-item: 15px;
  }
}
/*
 * 健身鏡 - 共用
 */
.fitness-subhead {
  font-size: var(--fz-fit-subhead);
  display: block;
  margin: 0 auto 20px;
  text-align: center;
  line-height: 1.5;
  font-weight: 600;
}
.fitness-subhead i {
  font-style: normal;
}
.fitness-subhead .txt1 {
  margin: 0;
  font: inherit;
  padding: 0;
  font-size: 1.5em;
  display: block;
}
.fitness-subhead .txt2 {
  margin: 5px 0 0 0;
  padding: 0;
}

.fitness-btn {
  width: 195px;
  height: 45px;
  line-height: 45px;
  display: block;
  margin: 15px auto;
  background-color: #e9597e;
  color: #fff;
  text-align: center;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}
.fitness-btn span {
  position: relative;
  display: inline-block;
  z-index: 10;
}
.fitness-btn:hover {
  background-color: #e2446b;
  color: #fff;
}
.fitness-btn.gray {
  background-color: #535353;
  color: #fff;
}
.fitness-btn.gray:hover {
  background-color: #222;
  color: #fff;
}

.fitness-btn-del {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50px;
  text-align: center;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-size: 0;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
}
.fitness-btn-del:hover {
  background-color: #333;
  border-color: #333;
}
.fitness-btn-del:hover::before {
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}
.fitness-btn-del::before {
  content: "";
  width: 22px;
  height: 22px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' class='bi bi-trash3' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 1h3a.5.5 0 0 1 .5.5v1H6v-1a.5.5 0 0 1 .5-.5ZM11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3A1.5 1.5 0 0 0 5 1.5v1H2.506a.58.58 0 0 0-.01 0H1.5a.5.5 0 0 0 0 1h.538l.853 10.66A2 2 0 0 0 4.885 16h6.23a2 2 0 0 0 1.994-1.84l.853-10.66h.538a.5.5 0 0 0 0-1h-.995a.59.59 0 0 0-.01 0H11Zm1.958 1-.846 10.58a1 1 0 0 1-.997.92h-6.23a1 1 0 0 1-.997-.92L3.042 3.5h9.916Zm-7.487 1a.5.5 0 0 1 .528.47l.5 8.5a.5.5 0 0 1-.998.06L5 5.03a.5.5 0 0 1 .47-.53Zm5.058 0a.5.5 0 0 1 .47.53l-.5 8.5a.5.5 0 1 1-.998-.06l.5-8.5a.5.5 0 0 1 .528-.47ZM8 4.5a.5.5 0 0 1 .5.5v8.5a.5.5 0 0 1-1 0V5a.5.5 0 0 1 .5-.5Z'/%3E%3C/svg%3E") no-repeat 0 0/contain;
}

#fitness .container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  z-index: 15;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}
#fitness .w-100 {
  width: 100%;
}
#fitness .subject-head {
  font-size: 0;
  margin: 10px 0;
}
#fitness .subject {
  margin-bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: url("../images/ivideo_line.png") left 12px repeat-x;
}
#fitness .subject span {
  display: inline-block;
  line-height: 36px;
  background: #fff;
  vertical-align: middle;
}
#fitness .subject .subject-ch {
  font-size: 1.5rem;
  font-weight: bold;
}
#fitness .subject .subject-en {
  font-size: 1.25rem;
  color: #5e95cf;
  padding-right: 30px;
  padding-left: 15px;
}
#fitness .fitness-table-wrap {
  overflow-y: hidden;
  overflow-x: auto;
}
#fitness .fitness-table-wrap table {
  min-width: 500px;
}
#fitness table {
  width: 100%;
  border-collapse: collapse;
}
#fitness table th, #fitness table td {
  padding: 10px 20px;
  text-align: center;
  color: #222;
  font-size: 1rem;
  white-space: nowrap;
}
#fitness table thead th, #fitness table thead td {
  background-color: #333;
  color: #fff;
}
#fitness table tbody th, #fitness table tbody td {
  border-bottom: 1px solid #e6e6e6;
}
#fitness table tbody tr:nth-child(odd) th, #fitness table tbody tr:nth-child(odd) td {
  background: #e6e6e6;
}

/*
 * 健身鏡 - 跑馬燈設定
 */
.js-marquee {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  white-space: nowrap;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  position: absolute;
  z-index: 10;
}
.js-marquee > * {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 100%;
  display: inline-block;
  vertical-align: middle;
}

/*
 * 健身鏡 - 首頁
 */
.fitness-index {
  overflow: hidden;
  background: url(../images/fitness_bg.jpg) no-repeat 0 var(--h-header)/100% auto #b2deff;
  background-attachment: fixed;
  position: relative;
  min-height: min(44.79vw, 89vh);
  padding-top: var(--h-header);
  padding-bottom: clamp(30px, 8.33vh, 80px);
}
.fitness-index > .container {
  z-index: 10;
}

.fitness-cloud {
  z-index: 0;
  position: fixed;
  font-size: 0;
  z-index: 0;
  width: 100vw;
  height: 17.7vh;
  left: 0;
  top: calc(var(--h-header) + 7.9vh);
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.fitness-cloud > div {
  background: url(../images/fitness_cloud.png) repeat-x 0 0/auto 100%;
}
.fitness-cloud > div::before {
  content: "";
  display: block;
  padding-bottom: 6.8%;
}

.fitness-index .fitness-cloud > div {
  width: 130vw;
}

.fitness-rate {
  width: 120%;
  max-width: 500px;
}
.fitness-rate::before {
  content: "";
  display: block;
  padding-bottom: 100%;
}
.fitness-rate canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.fitness-subhead-flag {
  width: 100%;
  max-width: 450px;
  background: url(../images/fitness_subhead.png) no-repeat 0 0/contain;
  margin: 85px auto 60px;
}
.fitness-subhead-flag::before {
  content: "";
  display: block;
  padding-bottom: 31.11%;
}

.fitness-sec {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 auto 90px;
  border-radius: 15px;
  background: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 2px) 0 0/15px 15px;
  position: relative;
}
.fitness-sec .info {
  position: relative;
  z-index: 2;
  width: 40%;
  padding-top: max(30px, 8vh);
  padding-bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.fitness-sec .decos {
  white-space: nowrap;
  text-align: center;
  margin-bottom: -50px;
  margin-top: 15px;
  font-size: 0;
}
.fitness-sec .decos > div {
  display: inline-block;
  width: 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
  -webkit-animation: stkani_walk 1s linear both infinite;
          animation: stkani_walk 1s linear both infinite;
}
.fitness-sec .decos > div::before {
  content: "";
  display: block;
}
.fitness-sec .charts {
  width: 60%;
  position: relative;
  z-index: 3;
  padding-top: max(5vh, 35px);
  text-align: center;
  padding-bottom: max(5vh, 35px);
}
.fitness-sec .charts::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: block;
  background: url(../images/fitness_deco_shape.png) no-repeat right bottom/auto 65%;
}
.fitness-sec.sec1 {
  background-color: #ffd6d7;
}
.fitness-sec.sec1 .charts {
  background: #ff9194;
  border-radius: 0 15px 15px 0;
  -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 10% 100%);
          clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 10% 100%);
  padding-right: 5%;
}
.fitness-sec.sec1 .decos > div {
  margin-left: max(30px, 1.5vw);
}
.fitness-sec.sec1 .decos > div:nth-child(1) {
  width: 26.78%;
  max-width: 150px;
  background-image: url(../images/fitness_deco1.png);
}
.fitness-sec.sec1 .decos > div:nth-child(1)::before {
  padding-bottom: 193.33%;
}
.fitness-sec.sec1 .decos > div:nth-child(2) {
  width: 37.5%;
  max-width: 210px;
  background-image: url(../images/fitness_deco2.png);
}
.fitness-sec.sec1 .decos > div:nth-child(2)::before {
  padding-bottom: 138.09%;
}
.fitness-sec.sec2 {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  background-color: #a9dece;
}
.fitness-sec.sec2 .charts {
  border-radius: 15px 0 0 15px;
  padding-left: 5%;
  background: #75cab1;
  -webkit-clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%);
          clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%);
}
.fitness-sec.sec2 .charts::before {
  -webkit-transform: scaleX(-1);
      -ms-transform: scaleX(-1);
          transform: scaleX(-1);
}
.fitness-sec.sec2 .decos > div:nth-child(1) {
  width: 25.89%;
  max-width: 145px;
  background-image: url(../images/fitness_deco3.png);
}
.fitness-sec.sec2 .decos > div:nth-child(1)::before {
  padding-bottom: 200%;
}
.fitness-sec.sec2 .decos > div:nth-child(2) {
  width: 30.35%;
  margin-left: max(30px, 1.5vw);
  max-width: 170px;
  background-image: url(../images/fitness_deco4.png);
}
.fitness-sec.sec2 .decos > div:nth-child(2)::before {
  padding-bottom: 170.58%;
}

/*
 * 健身鏡 - 列表
 */
.fitness-page-list {
  background: rgb(156, 206, 255);
  background: -webkit-gradient(linear, left bottom, left top, from(rgb(156, 206, 255)), to(rgb(201, 239, 255)));
  background: linear-gradient(0deg, rgb(156, 206, 255) 0%, rgb(201, 239, 255) 100%);
  padding-top: 150px;
  padding-bottom: clamp(30px, 8.33vh, 80px);
}

.fitness-white-bg {
  border-radius: 20px;
  padding: var(--gap-item) var(--gap-item) calc(var(--gap-item) * 2);
  background-color: #fff;
}
.fitness-white-bg .fitness-subhead {
  margin: max(4.5vh, 20px) auto max(5vh, 30px);
}

body:not(.mb) .fitness-list .item:hover {
  -webkit-box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.15);
  -webkit-transform: translateY(-5px);
      -ms-transform: translateY(-5px);
          transform: translateY(-5px);
}

.fitness-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-line-pack: start;
      align-content: flex-start;
}
.fitness-list .item {
  display: block;
  position: relative;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 calc(33.3333333333% - var(--gap-item) * 2);
          flex: 0 0 calc(33.3333333333% - var(--gap-item) * 2);
  border-radius: 15px;
  padding: var(--gap-item);
  margin: var(--gap-item) var(--gap-item) max(var(--gap-item) * 2.5, 55px);
  -webkit-transition: -webkit-transform 0.35s, -webkit-box-shadow 0.35s;
  transition: -webkit-transform 0.35s, -webkit-box-shadow 0.35s;
  transition: transform 0.35s, box-shadow 0.35s;
  transition: transform 0.35s, box-shadow 0.35s, -webkit-transform 0.35s, -webkit-box-shadow 0.35s;
}
.fitness-list .item:nth-child(5n+1) {
  background-color: #f4f4fe;
}
.fitness-list .item:nth-child(5n+2) {
  background-color: #eef9ff;
}
.fitness-list .item:nth-child(5n+3) {
  background-color: #fef8ea;
}
.fitness-list .item:nth-child(5n+4) {
  background-color: #fef4f2;
}
.fitness-list .item:nth-child(5n+5) {
  background-color: #f4f4fe;
}
.fitness-list .img {
  z-index: 0;
  position: absolute;
  right: min(6%, 20px);
  top: 0;
  -webkit-transform: translateY(-35%);
      -ms-transform: translateY(-35%);
          transform: translateY(-35%);
  border-radius: 50%;
  overflow: hidden;
  width: 45%;
  max-width: 145px;
}
.fitness-list .img::before {
  content: "";
  display: block;
  padding-bottom: 100%;
}
.fitness-list .img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none !important;
  height: 100% !important;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
.fitness-list .name {
  position: relative;
  z-index: 10;
  font-weight: 600;
  color: #222;
  display: block;
  font-size: clamp(1.375rem, 1.45vw, 1.875rem);
  margin: 0;
  padding: 0;
}
.fitness-list .gchart-badge {
  padding-left: 45px;
  position: relative;
  display: inline-block;
  margin: 25px 0 5px;
  min-height: 20px;
}
.fitness-list .gchart-badge::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 15;
  width: 50px;
  height: 50px;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
  left: 0;
  top: 50%;
  -webkit-transform: translate(-10%, -50%);
      -ms-transform: translate(-10%, -50%);
          transform: translate(-10%, -50%);
}
.fitness-list .gchart-badge i {
  font-size: 1rem;
  min-width: 80px;
  font-style: normal;
  white-space: nowrap;
  font-weight: 600;
  display: inline-block;
  border-radius: 50px;
  padding: 3px 15px;
  text-align: center;
}
.fitness-list .gchart-badge.level-1::before {
  background-image: url(../images/fitness_bdage_1.png);
}
.fitness-list .gchart-badge.level-1 i {
  background-color: #bdb6a8;
  color: #fff;
}
.fitness-list .gchart-badge.level-2::before {
  background-image: url(../images/fitness_bdage_2.png);
}
.fitness-list .gchart-badge.level-2 i {
  background-color: #6db6a0;
  color: #fff;
}
.fitness-list .gchart-badge.level-3::before {
  background-image: url(../images/fitness_bdage_3.png);
}
.fitness-list .gchart-badge.level-3 i {
  background-color: #15a6e9;
  color: #fff;
}
.fitness-list .gchart-badge.level-4::before {
  background-image: url(../images/fitness_bdage_4.png);
}
.fitness-list .gchart-badge.level-4 i {
  background-color: #f4b840;
  color: #fff;
}
.fitness-list .gchart-badge.level-5::before {
  background-image: url(../images/fitness_bdage_5.png);
}
.fitness-list .gchart-badge.level-5 i {
  background-color: #f47940;
  color: #fff;
}
.fitness-list .gchart-block {
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 15px;
}

.gchart-score {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 70%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: clamp(1rem, 1.145vw, 1.375rem);
  color: #222;
  font-weight: 600;
  line-height: 1.2;
}
.gchart-score i {
  font-style: normal;
  display: inline-block;
  vertical-align: baseline;
  font-size: 1.75em;
  color: #d83d71;
  margin-right: 0.1em;
}

.gchart-chart {
  position: relative;
  width: calc(100% - 60px);
  max-width: 220px;
  margin: 20px auto;
}
.gchart-chart *[class*=stroke-] {
  fill: none;
  stroke: #d83d71;
  stroke-width: 18;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
}

.gchart-legend {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.gchart-legend .legend-num {
  display: none;
  font-style: normal;
}
.gchart-legend .legend-name {
  font-style: normal;
}
.gchart-legend span {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1;
  white-space: nowrap;
  color: #888;
  position: absolute;
}
.gchart-legend span:nth-child(1) {
  left: 0;
  top: 75%;
  -webkit-transform: translate(-115%, 0);
      -ms-transform: translate(-115%, 0);
          transform: translate(-115%, 0);
}
.gchart-legend span:nth-child(2) {
  left: 0;
  top: 15%;
  -webkit-transform: translate(-95%, 0);
      -ms-transform: translate(-95%, 0);
          transform: translate(-95%, 0);
}
.gchart-legend span:nth-child(3) {
  left: 50%;
  top: 0;
  -webkit-transform: translate(-50%, -140%);
      -ms-transform: translate(-50%, -140%);
          transform: translate(-50%, -140%);
}
.gchart-legend span:nth-child(4) {
  right: 0;
  top: 15%;
  -webkit-transform: translate(95%, 0);
      -ms-transform: translate(95%, 0);
          transform: translate(95%, 0);
}
.gchart-legend span:nth-child(5) {
  right: 0;
  top: 75%;
  -webkit-transform: translate(115%, 0);
      -ms-transform: translate(115%, 0);
          transform: translate(115%, 0);
}

.svg-hide {
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
  z-index: -9999;
}

/*
 * 健身鏡 - 詳細
 */
.fitness-page-view {
  padding-top: 150px;
  padding-bottom: clamp(30px, 8.33vh, 80px);
}
.fitness-page-view::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50vh;
  z-index: 0;
  background: #f8f8f8;
}
.fitness-page-view > .container {
  z-index: 5;
}

.fitness-view-sec1 {
  padding-bottom: 60px;
}

.fitness-view-gchart {
  position: relative;
  border-radius: 20px;
  border: 10px solid #fff;
  min-height: 240px;
  background-color: #c8eeff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.fitness-view-gchart .gchart-deco {
  position: relative;
  min-height: min(29vh, 240px);
  overflow: hidden;
}
.fitness-view-gchart .deco-land {
  z-index: 0;
  position: absolute;
  font-size: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.fitness-view-gchart .deco-land > div {
  min-width: 1000px;
  background: url(../images/fitness_view_gchart_bg.png) repeat-x center bottom/auto 100%;
}
.fitness-view-gchart .deco-land > div::before {
  content: "";
  display: block;
  padding-bottom: 20.28%;
}
.fitness-view-gchart .deco-cloud {
  z-index: 2;
  position: absolute;
  width: 100% !important;
  top: 20% !important;
  height: 80% !important;
}
.fitness-view-gchart .deco-cloud > div {
  width: 100%;
  min-width: 960px;
}
.fitness-view-gchart .gchart-block {
  position: relative;
  z-index: 10;
  padding-top: 25px;
  padding-bottom: 50px;
  background-color: #9fd0ff;
}
.fitness-view-gchart .svg-peo > g {
  -webkit-transform: translateY(40%);
      -ms-transform: translateY(40%);
          transform: translateY(40%);
}
.fitness-view-gchart .svg-peo image {
  -webkit-animation: ani_fitness_move_svg_peo infinite 1.5s both;
          animation: ani_fitness_move_svg_peo infinite 1.5s both;
}
.fitness-view-gchart .gchart-chart {
  max-width: 1280px;
  margin: 10px auto;
  max-height: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}
.fitness-view-gchart .gchart-chart *[class*=stroke-] {
  stroke-width: 14;
}
.fitness-view-gchart .gchart-chart .track {
  fill: none;
  stroke: #fff;
  stroke-width: 18;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
}
.fitness-view-gchart .gchart-legend .legend-name {
  font-size: 0.875rem;
  min-width: calc(max(20px, 2vw) * 2);
  font-style: normal;
  white-space: nowrap;
  font-weight: 600;
  display: inline-block;
  border-radius: 50px;
  padding: 6px 5px 5px;
  text-align: center;
  -webkit-transform: translate(-63%, 0);
      -ms-transform: translate(-63%, 0);
          transform: translate(-63%, 0);
  position: absolute;
  top: 0;
  left: 50%;
}
.fitness-view-gchart .gchart-legend .legend-num {
  position: absolute;
  display: none;
  top: 0%;
  left: 50%;
  font-style: normal;
  width: max(30px, 2.2vw);
  height: 0;
  padding-bottom: max(30px, 2.2vw);
  line-height: max(30px, 2.2vw);
  border-radius: 50px;
  background-color: #fff;
  text-align: center;
  font-size: 1rem;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  -webkit-transform: translate(-50%, 0);
      -ms-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
}
.fitness-view-gchart .gchart-legend .legend-num::before {
  content: "";
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
  width: calc(max(30px, 2.2vw) * 0.45);
  height: calc(max(30px, 2.2vw) * 0.3);
  margin-left: calc(max(30px, 2.2vw) * -0.225);
  margin-top: calc(max(30px, 2.2vw) * -0.2);
  border-style: solid;
  border-width: 0 0 4px 4px;
  border-color: #d83d71;
}
.fitness-view-gchart .gchart-legend span {
  position: absolute;
  top: 0 !important;
  -webkit-transform: translate(-50%, calc(max(30px, 2.2vw) * -0.125)) !important;
      -ms-transform: translate(-50%, calc(max(30px, 2.2vw) * -0.125)) !important;
          transform: translate(-50%, calc(max(30px, 2.2vw) * -0.125)) !important;
  padding-top: calc(max(30px, 2.2vw) * 1.2);
  display: none;
}
.fitness-view-gchart .gchart-legend span:nth-child(1) {
  left: 22.18%;
  display: inline-block;
}
.fitness-view-gchart .gchart-legend span:nth-child(1) .legend-name {
  background-color: #bdb6a8;
  color: #fff;
}
.fitness-view-gchart .gchart-legend span:nth-child(2) {
  left: 39.68%;
  display: inline-block;
}
.fitness-view-gchart .gchart-legend span:nth-child(2) .legend-name {
  background-color: #6db6a0;
  color: #fff;
}
.fitness-view-gchart .gchart-legend span:nth-child(3) {
  left: 57.18%;
  right: auto;
  display: inline-block;
}
.fitness-view-gchart .gchart-legend span:nth-child(3) .legend-name {
  background-color: #15a6e9;
  color: #fff;
}
.fitness-view-gchart .gchart-legend span:nth-child(4) {
  left: 73.43%;
  right: auto;
  display: inline-block;
}
.fitness-view-gchart .gchart-legend span:nth-child(4) .legend-name {
  background-color: #f4b840;
  color: #fff;
}
.fitness-view-gchart .gchart-legend span:nth-child(5) {
  left: 92.18%;
  right: auto;
  display: inline-block;
}
.fitness-view-gchart .gchart-legend span:nth-child(5) .legend-name {
  background-color: #f47940;
  color: #fff;
}
.fitness-view-gchart .gchart-legend span.is-done {
  right: 0;
}
.fitness-view-gchart .gchart-legend span.is-done .legend-num {
  font-size: 0;
}
.fitness-view-gchart .gchart-legend span.is-done .legend-num::before {
  display: block;
}
.fitness-view-gchart .gchart-score {
  display: none;
}
.fitness-view-gchart .gchart-badge {
  max-width: 160px;
  width: 50%;
  position: absolute;
  top: -12px;
  right: 5px;
  background: url(../images/fitness_bdage_bg.png) no-repeat 0 0/contain;
}
.fitness-view-gchart .gchart-badge::after {
  content: "";
  display: block;
  padding-bottom: 112.5%;
}
.fitness-view-gchart .gchart-badge::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 15;
  width: 45%;
  padding-bottom: 45%;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.fitness-view-gchart .gchart-badge i {
  display: none;
}
.fitness-view-gchart .gchart-badge.level-1::before {
  background-image: url(../images/fitness_bdage_1.png);
}
.fitness-view-gchart .gchart-badge.level-2::before {
  background-image: url(../images/fitness_bdage_2.png);
}
.fitness-view-gchart .gchart-badge.level-3::before {
  background-image: url(../images/fitness_bdage_3.png);
}
.fitness-view-gchart .gchart-badge.level-4::before {
  background-image: url(../images/fitness_bdage_4.png);
}
.fitness-view-gchart .gchart-badge.level-5::before {
  background-image: url(../images/fitness_bdage_5.png);
}

/*
 * 健身鏡 - 詳細 - 檢測紀錄
 */
.fitness-view-sec2 {
  padding-top: 30px;
  padding-bottom: 30px;
}
.fitness-view-sec2 .subject-head {
  position: relative;
  margin-top: 50px;
}
.fitness-view-sec2 .subject-head .select-box {
  position: absolute;
  top: -50px;
  right: 0;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.fitness-view-sec2 .subject-head .select-box > span {
  white-space: nowrap;
  margin-right: 10px;
  font-size: 0.9375rem;
}
.fitness-view-sec2 .fitness-btn-send {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: #d83d71;
  color: #fff;
  line-height: 40px;
  text-align: center;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 40px;
          flex: 0 0 40px;
  margin-left: 10px;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
}
.fitness-view-sec2 .fitness-btn-send:hover {
  background-color: #da215f;
}
.fitness-view-sec2 .input-style {
  display: block;
  position: relative;
  max-width: 200px;
}
.fitness-view-sec2 .input-style input, .fitness-view-sec2 .input-style select {
  width: 100%;
  height: 40px;
  font-size: 1.0625rem;
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 0;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  padding: 0 75px 0 10px;
}
.fitness-view-sec2 .input-style::before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 26px;
  background: #e5e5e5;
  top: 6px;
  right: 40px;
}
.fitness-view-sec2 .input-style::after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 4px 0 4px;
  border-color: #222 transparent transparent transparent;
  top: 16px;
  right: 16px;
}

/*
 * 健身鏡 - 詳細 - 地圖
 */
/* Step Tracker */
.fitness-map {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto 30px auto;
  background: url(../images/fitness_map_bg.jpg) repeat 0 0;
  overflow: hidden;
  border-radius: 15px;
  border: 10px solid #fff;
  position: relative;
  opacity: 0;
}
.fitness-map.scroll-view {
  -webkit-filter: blur(0);
          filter: blur(0);
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
  opacity: 1;
}
.fitness-map.scroll-view .fitstk-record li {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}
.fitness-map .fitstk-record {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  z-index: 10;
  max-width: 1190px;
  margin: 0 auto 30px;
}
.fitness-map .fitstk-record li {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  vertical-align: middle;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 33.3333333333%;
          flex: 1 1 33.3333333333%;
  max-width: calc(33.3333333333% - 30x);
  margin: 0 15px 30px;
  text-align: center;
  font-size: 1.5rem;
  -webkit-transition: opacity 1s ease, -webkit-transform 1s ease;
  transition: opacity 1s ease, -webkit-transform 1s ease;
  transition: transform 1s ease, opacity 1s ease;
  transition: transform 1s ease, opacity 1s ease, -webkit-transform 1s ease;
  -webkit-transform: translateY(30px);
      -ms-transform: translateY(30px);
          transform: translateY(30px);
  opacity: 0;
}
.fitness-map .fitstk-record li:nth-of-type(1) {
  -webkit-transition-delay: 0.35s;
          transition-delay: 0.35s;
}
.fitness-map .fitstk-record li:nth-of-type(2) {
  -webkit-transition-delay: 0.5s;
          transition-delay: 0.5s;
}
.fitness-map .fitstk-record .title {
  -webkit-box-flex: 0;
      -ms-flex: 0;
          flex: 0;
  color: #fff;
  line-height: 1.5;
  text-transform: uppercase;
  margin: 0 auto 20px auto;
  padding: 0;
}
.fitness-map .fitstk-record .title .zh,
.fitness-map .fitstk-record .title .en {
  display: block;
}
.fitness-map .fitstk-record .title .zh {
  font-size: clamp(1.2rem, 1.9vw, 2.1875rem);
  color: #fff;
}
.fitness-map .fitstk-record .count {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  border: 5px solid #e9eab7;
  background: #fff;
  padding: 25px 10px;
  line-height: 1.5;
  border-radius: 10px;
}
.fitness-map .fitstk-record .count strong {
  color: #d83d71;
  display: inline-block;
  margin: 0 5px;
}
.fitness-map .fitstk-taiwan {
  width: 100%;
  position: relative;
}
.fitness-map .fitstk-taiwan::after {
  content: "";
  display: block;
  padding-bottom: 62.22%;
}
.fitness-map #fitstk-svg-path {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.fitness-map #fitstk-path {
  fill: none;
  stroke: #f6f6f6;
  stroke-width: 6;
  stroke-miterlimit: 10;
}
.fitness-map #fitstk-progress {
  fill: none;
  stroke: #d83d71;
  stroke-width: 6;
  stroke-miterlimit: 10;
}
.fitness-map #fitstk-svg-peo {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  -webkit-transform: scale(1.045) translate(-51%, -50%);
      -ms-transform: scale(1.045) translate(-51%, -50%);
          transform: scale(1.045) translate(-51%, -50%);
}
.fitness-map #fitstk-peo {
  position: absolute;
  -webkit-animation: stkani_walk 1s linear both infinite;
          animation: stkani_walk 1s linear both infinite;
}
.fitness-map #fitstk-peo image {
  width: 123;
  height: 142px;
  -webkit-transform: translate(-62px, -71px);
      -ms-transform: translate(-62px, -71px);
          transform: translate(-62px, -71px);
  -webkit-filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.7));
          filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.7));
}
.fitness-map #fitstk-city {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 0;
}
.fitness-map #fitstk-city li {
  width: 0;
  height: 0;
  position: absolute;
  -webkit-transform-origin: center bottom;
      -ms-transform-origin: center bottom;
          transform-origin: center bottom;
}
.fitness-map #fitstk-city .done .landmark {
  color: #d83d71;
  border-color: #d83d71;
}
.fitness-map #fitstk-city .done .landmark::before {
  border-color: #d83d71 transparent transparent transparent;
}
.fitness-map .fitstk-decos {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.fitness-map .fitstk-decos.decos1 {
  z-index: 1;
}
.fitness-map .fitstk-decos.decos2 {
  z-index: 4;
}
.fitness-map .deco {
  position: absolute;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
}
.fitness-map .deco::before {
  content: "";
  display: block;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
}
.fitness-map .deco-taiwan {
  z-index: 0;
  width: 66.2%;
  max-width: 900px;
  background-image: url(../images/fitness_map_taiwan.png);
  left: 16.5%;
  top: 1.707%;
}
.fitness-map .deco-taiwan::before {
  padding-top: 90%;
}
.fitness-map .deco-landscape {
  z-index: 0;
  width: 66.2%;
  max-width: 900px;
  background-image: url(../images/fitness_map_landscape.png);
  left: 16.5%;
  top: 1.826%;
}
.fitness-map .deco-landscape::before {
  padding-top: 90%;
}
.fitness-map .deco-lantern {
  z-index: 0;
  width: 4.74%;
  max-width: 64px;
  background-image: url(../images/fitness_map_lantern.png);
  left: 81.18%;
  top: 13.69%;
}
.fitness-map .deco-lantern::before {
  padding-top: 92.18%;
}
.fitness-map .deco-clouds {
  z-index: 0;
  width: 75.33%;
  max-width: 1017px;
  background-image: url(../images/fitness_map_cloud.png);
  left: 12.07%;
  top: 10.23%;
}
.fitness-map .deco-clouds::before {
  padding-top: 57.12%;
}
.fitness-map .deco-airplane1 {
  z-index: 0;
  width: 8.37%;
  max-width: 113px;
  left: 81.62%;
  top: 73.33%;
}
.fitness-map .deco-airplane1::before {
  padding-top: 58.4%;
  background-image: url(../images/fitness_map_airplane.png);
}
.fitness-map .deco-airplane2 {
  z-index: 0;
  width: 8.37%;
  max-width: 113px;
  left: 17.51%;
  top: 12.26%;
  -webkit-transform: scaleX(-1);
      -ms-transform: scaleX(-1);
          transform: scaleX(-1);
}
.fitness-map .deco-airplane2::before {
  padding-top: 58.4%;
  background-image: url(../images/fitness_map_airplane.png);
}
.fitness-map .deco-bird1 {
  z-index: 0;
  width: 5.62%;
  max-width: 76px;
  left: 88.88%;
  top: 62.7%;
}
.fitness-map .deco-bird1::before {
  padding-top: 43.42%;
  background-image: url(../images/fitness_map_birds.png);
}
.fitness-map .deco-bird2 {
  z-index: 0;
  width: 5.62%;
  max-width: 76px;
  left: 30.37%;
  top: 61.3%;
}
.fitness-map .deco-bird2::before {
  padding-top: 43.42%;
  background-image: url(../images/fitness_map_birds.png);
}
.fitness-map .deco-mark {
  z-index: 0;
  width: 12.22%;
  max-width: 165px;
  white-space: nowrap;
  color: #2990bb;
  font-size: clamp(1.2rem, 1.9vw, 2.1875rem);
}
.fitness-map .deco-mark > span {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -70%);
      -ms-transform: translate(-50%, -70%);
          transform: translate(-50%, -70%);
  z-index: 10;
  font-weight: 600;
}
.fitness-map .deco-mark::before {
  padding-top: 64.84%;
  background-image: url(../images/fitness_map_talk.png);
}
.fitness-map .deco-mark.n1 {
  left: 56.37%;
  top: 5%;
}
.fitness-map .deco-mark.n2 {
  left: 30.11%;
  top: 20.07%;
}
.fitness-map .deco-mark.n2::before {
  -webkit-transform: scaleX(-1);
      -ms-transform: scaleX(-1);
          transform: scaleX(-1);
}
.fitness-map .deco-mark.n3 {
  left: 3.11%;
  top: 58.8%;
}
.fitness-map .deco-mark.n4 {
  left: 72%;
  top: 60.59%;
}
.fitness-map .deco-mark.n4::before {
  -webkit-transform: scaleX(-1);
      -ms-transform: scaleX(-1);
          transform: scaleX(-1);
}

/* keyframe */
@keyframes stkani_fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes stkani_walk {
  0%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
  }
}
@keyframes stkani_landmark {
  0%, 20%, 40%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  10%, 30%, 50% {
    -webkit-transform: translateY(3px);
            transform: translateY(3px);
  }
  61%, 69% {
    -webkit-transform: translateY(0) rotateY(0deg);
            transform: translateY(0) rotateY(0deg);
  }
  65% {
    -webkit-transform: translateY(0) rotateY(270deg);
            transform: translateY(0) rotateY(270deg);
  }
}
@keyframes stkani_rotate360 {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes stkani_scaleloop {
  0%, 20%, 40%, 60%, 80%, 100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
}
@keyframes stkani_swing {
  0%, 50%, 100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  25% {
    -webkit-transform: translateX(-5px);
            transform: translateX(-5px);
  }
  75% {
    -webkit-transform: translateX(5px);
            transform: translateX(5px);
  }
}
@keyframes stkani_swingup {
  0%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
}
@keyframes stkani_swing2 {
  0%, 100% {
    -webkit-transform: translateX(-5px) skewX(0deg);
            transform: translateX(-5px) skewX(0deg);
  }
  50% {
    -webkit-transform: translateX(5px) skewX(2deg);
            transform: translateX(5px) skewX(2deg);
  }
}
@media screen and (max-width: 991px) {
  .fitness-map .fitstk-record {
    display: block;
    width: 100%;
    max-width: calc(100% - 50px);
  }
  .fitness-map .fitstk-record li {
    width: 100%;
    margin: 0 auto 30px;
    font-size: 1.125rem;
  }
  .fitness-map .deco-mark {
    font-size: 1.0625rem;
  }
  .fitness-map .deco-mark > span {
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
  }
}
/*
 * 健身鏡 - 詳細 - 檢測圖表
 */
.fitness-view-sec4 {
  padding-top: 50px;
  padding-bottom: 50px;
}
.fitness-view-sec4 .chart-wrap {
  max-width: 1200px;
  margin: 0 auto;
  height: 300px;
}

#scoreLegend {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/*
 * 健身鏡 - 動畫
 */
@-webkit-keyframes ani_fitness_infinte_land {
  to {
    background-position-x: 1380px;
  }
}
@keyframes ani_fitness_infinte_land {
  to {
    background-position-x: 1380px;
  }
}
@-webkit-keyframes ani_fitness_infinte_cloud {
  from {
    background-position-x: -2500px;
  }
}
@keyframes ani_fitness_infinte_cloud {
  from {
    background-position-x: -2500px;
  }
}
@-webkit-keyframes ani_fitness_subhead_flag {
  from {
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
    opacity: 0;
  }
}
@keyframes ani_fitness_subhead_flag {
  from {
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
    opacity: 0;
  }
}
@-webkit-keyframes ani_fitness_move_svg_peo {
  0%, 100% {
    -webkit-transform: translate(0, 5%);
            transform: translate(0, 5%);
  }
  50% {
    -webkit-transform: translate(0, 7%);
            transform: translate(0, 7%);
  }
}
@keyframes ani_fitness_move_svg_peo {
  0%, 100% {
    -webkit-transform: translate(0, 5%);
            transform: translate(0, 5%);
  }
  50% {
    -webkit-transform: translate(0, 7%);
            transform: translate(0, 7%);
  }
}
/*
 * 健身鏡 - RWD
 */
@media screen and (max-width: 1499px) {
  .fitness-page-list, .fitness-page-view {
    padding-top: 100px;
  }
}
@media screen and (max-width: 1199px) {
  .fitness-sec .charts {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}
@media screen and (max-width: 991px) {
  #fitness .w-100 {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    width: 100%;
  }
  .fitness-index {
    background-size: auto 80%;
  }
  .fitness-index > .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .fitness-subhead-flag {
    margin: 30px auto 45px;
  }
  .fitness-sec {
    display: inline-block;
    vertical-align: top;
    width: calc(50% - 20px);
    margin: 25px 10px 35px;
    border-radius: 10px;
  }
  .fitness-sec .info {
    width: 100%;
    padding-top: 89px;
    padding-bottom: 20px;
    border-radius: 10px 10px 0 0;
  }
  .fitness-sec .decos {
    width: 100%;
    max-width: 250px;
    position: absolute;
    left: 50%;
    top: 0;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
  }
  .fitness-sec .decos > div {
    margin-left: 2px !important;
    margin-right: 2px !important;
  }
  .fitness-sec .charts {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .fitness-sec.sec1 .charts {
    -webkit-clip-path: none;
            clip-path: none;
    border-radius: 0 0 10px 10px;
    padding-right: 0;
  }
  .fitness-sec.sec1 .fitness-rate {
    margin-right: auto;
  }
  .fitness-sec.sec2 .charts {
    -webkit-clip-path: none;
            clip-path: none;
    border-radius: 0 0 10px 10px;
    padding-left: 0;
  }
  .fitness-sec.sec2 .fitness-rate {
    margin-left: auto;
  }
  .fitness-list .item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(50% - var(--gap-item) * 2);
            flex: 0 0 calc(50% - var(--gap-item) * 2);
  }
  .fitness-view-gchart .svg-peo > g {
    -webkit-transform: scale(1.37) translateY(10%);
        -ms-transform: scale(1.37) translateY(10%);
            transform: scale(1.37) translateY(10%);
  }
  .fitness-view-gchart .gchart-chart {
    width: calc(100% + 6vw);
    margin: 0 -3vw;
  }
}
@media screen and (max-width: 767px) {
  .fitness-white-bg {
    border-radius: 0;
  }
  .fitness-page-list, .fitness-page-view {
    padding-top: 65px;
  }
}
@media screen and (max-width: 639px) {
  #fitness .subject {
    background: url("../images/ivideo_line.png") left 10px repeat-x/auto 5px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #fitness .subject span {
    line-height: 1.25;
    display: inline-block;
    padding: 0 10px;
  }
  #fitness .subject .subject-ch {
    font-size: 1.375rem;
  }
  #fitness .subject .subject-en {
    font-size: 1.125rem;
    margin-top: 5px;
    padding-right: 10px;
    padding-left: 10px;
  }
  .fitness-sec {
    display: block;
    width: 100%;
    margin-bottom: 50px;
    z-index: 1;
    z-index: 2;
    z-index: 3;
    z-index: 4;
    z-index: 5;
  }
  .fitness-rate {
    width: 90%;
  }
  .fitness-list {
    display: block;
  }
  .fitness-list .item {
    margin: 50px auto;
    width: 100%;
    padding: 25px 20px 10px;
  }
  .fitness-list .img {
    width: 35%;
    -webkit-transform: translateY(-15%);
        -ms-transform: translateY(-15%);
            transform: translateY(-15%);
  }
  .fitness-view-gchart .gchart-badge {
    z-index: 20;
    right: auto;
    left: 50%;
    max-width: 120px;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  .fitness-view-gchart .gchart-deco {
    min-height: min(22vh, 220px);
  }
  .fitness-view-gchart .svg-peo > g {
    -webkit-transform: scale(1.5) translateY(10%);
        -ms-transform: scale(1.5) translateY(10%);
            transform: scale(1.5) translateY(10%);
  }
  .fitness-view-sec1 {
    padding-bottom: 20px;
  }
  .fitness-view-sec2 {
    padding-top: 0;
  }
  .fitness-view-sec2 .subject-head {
    margin-top: auto;
  }
  .fitness-view-sec2 .subject-head .select-box {
    width: 100%;
    position: relative;
    top: auto;
    right: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .fitness-view-sec2 .input-style {
    max-width: none;
    width: 100%;
  }
}
@media screen and (max-width: 499px) {
  .fitness-view-gchart .svg-peo > g {
    -webkit-transform: scale(2) translateY(-2vh);
        -ms-transform: scale(2) translateY(-2vh);
            transform: scale(2) translateY(-2vh);
  }
}
ul.progress-step-wrap {
  margin: 25px auto;
}

.progress-step-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  position: relative;
  max-width: 1000px;
}

.progress-step-wrap::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: #bbb;
  border-radius: 50%;
  position: absolute;
  top: 13px;
  right: 0;
}

.progress-step-wrap li {
  width: 25%;
  text-align: center;
}

.progress-step-wrap li:first-child i::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: #d83d71;
  border-radius: 50%;
  position: absolute;
  top: -4px;
  left: 0;
}

.progress-step-wrap li.done i {
  background: #d83d71;
}

.progress-step-wrap li.done i::after {
  background: #d83d71;
}

.progress-step-wrap li.done p {
  color: #d83d71;
}

.progress-step-wrap li i {
  display: inline-block;
  width: 100%;
  height: 3px;
  background: #bbb;
  position: relative;
}

.progress-step-wrap li i::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: #bbb;
  border-radius: 50%;
  position: absolute;
  top: -4px;
  right: 0;
}

@media (max-width: 499px) {
  .progress-step-wrap li p {
    font-size: 15px;
  }
}
@media (max-width: 399px) {
  .progress-step-wrap li p {
    font-size: 12px;
  }
}
/* 會員條款202309 */
.form-agree {
  text-align: center;
  margin: 20px auto;
}

.form-agree .checkbox-style {
  display: inline-block;
  vertical-align: middle;
  font-size: 1rem;
  font-weight: 600;
}

.form-agree a {
  color: #d83d71;
  text-decoration: underline;
  display: inline-block;
  vertical-align: top;
  vertical-align: middle;
  margin: 0 0 0 5px;
  padding: 0;
  font-size: inherit;
  font-size: 1rem;
}

.form-agree a:hover {
  text-decoration: none;
}

.checkbox-style {
  margin: 10px 0;
}

.checkbox-style input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.checkbox-style input + span {
  width: 20px;
  height: 20px;
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin-right: 10px;
  margin-top: 3px;
  border: 2px solid #ccc;
  background-color: #fff;
}

.checkbox-style input + span::before {
  content: "";
  display: block;
  position: absolute;
  width: 14px;
  height: 8px;
  top: 1px;
  left: 2px;
  border-width: 0 0 2px 2px;
  border-color: #d83d71;
  border-style: solid;
  -webkit-transform: rotate(-45deg) scale(0);
  -ms-transform: rotate(-45deg) scale(0);
  transform: rotate(-45deg) scale(0);
  -webkit-transition: -webkit-transform 0.25s;
  transition: -webkit-transform 0.25s;
  transition: transform 0.25s;
  transition: transform 0.25s, -webkit-transform 0.25s;
}

.checkbox-style input:checked + span {
  border-color: #d83d71;
}

.checkbox-style input:checked + span::before {
  -webkit-transform: rotate(-45deg) scale(1);
  -ms-transform: rotate(-45deg) scale(1);
  transform: rotate(-45deg) scale(1);
}

.m-terms-wrap {
  position: relative;
  padding: min(1.3vw, 25px);
}

.m-terms-subhead {
  font-size: clamp(22px, 5vw, 25px);
  display: block;
  margin: 0 auto 25px;
  text-align: center;
  font-weight: 700;
}

.m-terms-subhead .text1 {
  color: #d83d71;
  margin-bottom: 5px;
  display: block;
}

.m-terms-version {
  text-align: right;
  display: block;
}

.m-terms-content {
  margin: 25px auto;
}

.m-terms-content .hightlight {
  color: #d83d71;
}

.m-terms-content p {
  margin: 0 0 1em 0;
  padding: 0;
}

.m-terms-content a {
  text-decoration: underline;
}

.m-terms-content a:hover {
  text-decoration: none;
}

.m-terms-content ol {
  margin: 0 0 1.5em;
  padding: 0 0 0 1.5em;
}

.m-terms-content ol > li {
  display: list-item;
  list-style-position: outside;
  padding-left: 0.1em;
}

.m-terms-content ol.m-terms-list-zh {
  list-style-type: none;
  margin-left: 2rem;
  padding-left: 0;
}

.m-terms-content ol.m-terms-list-zh > li {
  text-indent: -2rem;
  margin-bottom: 0.5em;
  color: #c52259;
}

.m-terms-title {
  display: block;
  font-weight: 700;
  font-size: clamp(18px, 3vw, 22px);
  margin: 35px 0 25px 0;
}

.m-terms-agree {
  margin: 25px auto;
  padding: 10px 15px;
  border-radius: 3px;
  background-color: rgba(243, 212, 212, 0.5);
}

.m-terms-agree .checkbox-style {
  margin: 0;
  font-weight: 700;
  font-size: 1.125rem;
}

.mfp-terms.mfp-bg {
  background-color: rgba(0, 0, 0, 0.2);
}

.mfp-terms .mfp-content {
  max-width: 800px;
  background-color: #fff;
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 25px;
  margin: 25px auto;
}

.mfp-terms .mfp-container {
  opacity: 0;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
}

.mfp-terms.mfp-ready .mfp-container {
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.mfp-terms.mfp-removing .mfp-container {
  opacity: 0;
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
}

.m-terms-close {
  width: 100%;
  max-width: 100%;
  margin: 35px auto 5px;
  padding: 0;
  display: block;
  height: 45px;
  line-height: 45px;
  font-size: 1rem;
  color: #fff;
  background: #d83d71;
  border: none;
}

.m-terms-close:hover {
  -webkit-box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
  box-shadow: 0 0 999px rgba(255, 255, 255, 0.15) inset !important;
}