@charset "UTF-8";
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
     ========================================================================== */
/**
   * Remove the margin in all browsers.
   */
body {
  margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */
main {
  display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */
/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
     ========================================================================== */
/**
   * Remove the gray background on active links in IE 10.
   */
a {
  background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
b,
strong {
  font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */
small {
  font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
     ========================================================================== */
/**
   * Remove the border on images inside links in IE 10.
   */
img {
  border-style: none;
}

/* Forms
     ========================================================================== */
/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
progress {
  vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */
textarea {
  overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
     ========================================================================== */
/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
details {
  display: block;
}

/*
   * Add the correct display in all browsers.
   */
summary {
  display: list-item;
}

/* Misc
     ========================================================================== */
/**
   * Add the correct display in IE 10+.
   */
template {
  display: none;
}

/**
   * Add the correct display in IE 10.
   */
[hidden] {
  display: none;
}

.top-menu ul, .main-menu ul, .new-items ul, .new-and-principle .news ul, .page-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

html {
  font-size: 16px;
  font-family: sans-serif;
  line-height: 1.4;
  color: #555;
}

img {
  max-width: 100%;
}

a {
  color: #009ced;
  text-decoration: none;
}

a:hover {
  color: #0081c3;
  text-decoration: underline;
}

.container {
  width: 1080px;
  margin: 0 auto;
}

.top-menu {
  background: #eb6ccb;
  height: 36px;
}

.top-menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.top-menu a {
  display: block;
  width: 90px;
  height: 36px;
  line-height: 36px;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.top-menu i {
  margin-right: 5px;
}

.top-menu a:hover {
  background: #d41da6;
  -webkit-transition-duration: 3s;
          transition-duration: 3s;
}

.top-block {
  height: 80px;
}

.top-block h1.logo img {
  display: block;
  width: 250px;
  height: 62px;
}

.top-block h1.logo {
  margin: 0;
}

.top-block h1.logo a {
  display: block;
}

.top-block .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  padding: 9px 0;
}

.top-block .search {
  position: relative;
}

.top-block .search input {
  width: 250px;
  height: 28px;
  border: 2px solid #ddd;
  border-radius: 17px;
  padding-left: 35px;
}

.top-block .search i {
  position: absolute;
  top: 10px;
  left: 9px;
}

.top-block .search input:focus {
  outline: none;
  border-color: #009ced;
  -webkit-box-shadow: #009ced 0 0 2px;
          box-shadow: #009ced 0 0 2px;
}

.main-menu {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  height: 38px;
}

.main-menu button {
  display: none;
}

.main-menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.main-menu li {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 20%;
          flex: 0 0 20%;
}

.main-menu a {
  display: block;
  height: 38px;
  color: #3d4143;
  line-height: 38px;
  text-align: center;
  text-decoration: none;
}

.main-menu a:hover {
  color: #ffffff;
  background: #eb6ccb;
  -webkit-transition-duration: 1s;
          transition-duration: 1s;
}

.index-image {
  height: 400px;
  background: url(../images/index-image.jpg) center center no-repeat;
  background-size: cover;
}

.index-image .container {
  position: relative;
  height: 100%;
}

.index-image h2 {
  font-size: 50px;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: rgba(0, 0, 0, 0.8) 0 0 5px;
  position: absolute;
  margin: 0 0 0 150px;
  left: 50%;
  bottom: 80px;
}

.index-image h2 span {
  display: block;
  position: relative;
  left: 2em;
}

.new-items {
  padding: 40px 0;
  /*內距*/
}

.new-items ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.new-items li {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 340px;
          flex: 0 0 340px;
}

.featured-item {
  background: #eee;
  padding: 40px 0;
}

.featured-item h2 {
  color: #eb6ccb;
  size: 2rem;
  text-align: center;
  margin: 0 0 30px;
}

.featured-item .item-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.featured-item .item-img {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 360px;
          flex: 0 0 360px;
  margin-right: 30px;
}

.featured-item .item-text {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.featured-item h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.featured-item .user {
  margin-top: 30px;
  float: right;
}

.featured-item .user img {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-left: 10px;
  vertical-align: middle;
}

.new-and-principle {
  padding: 40px 0;
}

.new-and-principle .new-principle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.new-and-principle .news {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  min-width: 0;
  margin-right: 30px;
}

.new-and-principle .news h2 {
  width: 120px;
  height: 36px;
  background: url("../images/news-title@2x.png") no-repeat;
  background-size: 100% 100%;
  text-indent: 110%;
  overflow: hidden;
  white-space: nowrap;
  margin: 0 0 20px;
}

.new-and-principle .news li {
  padding: 8px;
  border-bottom: 1px dotted #ddd;
}

.new-and-principle .news li:nth-child(even) {
  background: #f5f5f5;
}

.new-and-principle .news a {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.new-and-principle .principle {
  color: #ffffff;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 280px;
          flex: 0 0 280px;
  /* margin-left: auto; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
}

.new-and-principle .principle h2 {
  height: 60px;
  margin: 0;
  padding: 20px;
  background: #5f5547;
  position: relative;
}

.new-and-principle .principle h2 img {
  display: none;
}

.new-and-principle .principle .principle-content {
  background: #eb6ccb;
  padding: 10px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.new-and-principle .principle .principle-content li {
  margin: 10px 0;
  font-size: 18px;
}

.new-and-principle .principle h2::before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
  background: #ffffff url(../images/cat-head-animate@2x.png) no-repeat;
  background-size: 60px 300px;
  -webkit-animation-name: moving-box;
          animation-name: moving-box;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps(4);
          animation-timing-function: steps(4);
}

@-webkit-keyframes moving-box {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 0 -240px;
  }
  100% {
    background-position: 0 0;
  }
}

@keyframes moving-box {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 0 -240px;
  }
  100% {
    background-position: 0 0;
  }
}

.new-and-principle .principle h2::after {
  content: "";
  width: 0px;
  height: 0px;
  border: transparent 8px solid;
  border-top: #eb6ccb 8px solid;
  position: absolute;
  top: 0;
  left: 40px;
}

.page-footer {
  color: #ffffff;
  padding: 40px 0;
  background: #3d4143;
  text-align: center;
}

.page-footer ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.page-footer li {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.page-footer .business-hours {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  margin: 20px 0;
}

@media screen and (max-width: 1140px) {
  .container {
    width: 820px;
  }
  .index-image h2 {
    left: auto;
    margin: 0;
    right: 2em;
  }
  .new-items li {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 260px;
            flex: 0 0 260px;
  }
}

@media screen and (max-width: 880px) {
  .container {
    width: 740px;
  }
  .index-image h2 {
    left: auto;
    margin: 0;
    right: 2em;
  }
  .new-items ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .new-items li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-preferred-size: auto;
        flex-basis: auto;
    margin-bottom: 20px;
  }
  .new-items li:last-child {
    margin-bottom: 0;
  }
  .new-items li > a {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 200px;
            flex: 0 0 200px;
    margin-right: 20px;
  }
  .new-items li > div {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  .new-items h2 {
    margin-top: 0;
  }
  .new-and-principle .new-principle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .new-and-principle .news {
    margin: 0;
  }
  .new-and-principle .principle {
    -ms-flex-preferred-size: auto;
        flex-basis: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-left: 0;
    margin-top: 20px;
  }
  .new-and-principle .principle h2 {
    padding: 0;
    color: #000;
    background: transparent;
  }
  .new-and-principle .principle h2::before {
    content: "";
    border: #eb6ccb 2px solid;
  }
  .new-and-principle .principle h2::after {
    display: none;
  }
  .new-and-principle .principle ol li {
    position: relative;
  }
  .new-and-principle .principle ol li::before {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    color: #eb6ccb;
    text-align: center;
    line-height: 20px;
    position: absolute;
    top: 2px;
    left: -25px;
  }
  .new-and-principle .principle ol {
    list-style: none;
  }
  .new-and-principle .principle ol li:nth-child(1)::before {
    content: "1";
  }
  .new-and-principle .principle ol li:nth-child(2)::before {
    content: "2";
  }
  .new-and-principle .principle ol li:nth-child(3)::before {
    content: "3";
  }
}

@media screen and (max-width: 767px) {
  .container {
    width: 90%;
  }
  .featured-item .item-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .featured-item .item-img {
    margin: 0;
    -ms-flex-preferred-size: auto;
        flex-basis: auto;
    text-align: center;
  }
}

@media screen and (max-width: 640px) {
  .top-block {
    height: auto;
  }
  .top-block .container {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-preferred-size: auto;
        flex-basis: auto;
  }
  .top-block .search {
    padding-top: 10px;
  }
  .main-menu {
    position: relative;
  }
  .main-menu .container {
    width: 100%;
  }
  .main-menu button {
    display: block;
    background: #fff;
    border: none;
    width: 100%;
    height: 40px;
  }
  .main-menu button i {
    margin-left: 5px;
  }
  .main-menu ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    position: absolute;
    top: 40px;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 5;
  }
}
/*# sourceMappingURL=styles.css.map */