@charset "utf-8";

/* PC */

@media (max-width: 1300px) {
  .kv {
    background-size: cover;
    height: 400px;
  }

  .kv.home {
    height: 500px;
  }
}

@media (max-width: 1024px) {
  .kv.event1 {
    background-position: 75%;
  }
}

/* IPAD */

@media (max-width: 960px) {
  .txtAll ol {
    margin-left: 2em;
  }

  .prdList li article {
    padding-left: 30px;
  }

  .kv {
    height: 300px;
  }
  .kv.home {
    height: 400px;
  }

  .eventsList {
    max-width: 650px;
    margin: auto;
  }

  .eventsList li {
    flex-direction: column !important;
  }

  .eventsList li article {
    padding: 2em 1em;
  }

  .eventsList li article a {
    display: block;
    margin: auto;
    text-align: center;
  }

  /* step */
  .stepList {
    flex-direction: column;
    max-width: 600px;
    margin: auto;
  }
  .stepList li + li {
    border-left: none;
    border-top: 1px solid #7ac6e3;
  }
  .stepList li:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 30px 0 30px;
    border-color: transparent;
    border-top-color: #7ac6e3;
    position: absolute;
    top: auto;
    bottom: -15px;
    left: calc(50% - 40px);
    z-index: 10;
  }

  .stepList li:hover:before {
    border-left-color: transparent;
    border-top-color: var(--blue);
  }

  .stepList li p {
    font-size: 17px;
  }
  .stepList li button {
    width: 250px;
    margin-top: 20px;
    font-size: 17px;
  }

  .txtAll {
    padding: 30px 0;
  }
}

@media (max-width: 1024px) and (min-width: 767px) {
  .kv.event1 > div {
    margin-left: -200px;
    text-align: left;
  }
}

/* 手機尺吋 */

@media (max-width: 767px) {
  .tip {
    font-size: 13px;
    text-align: left;
  }

  .kv {
    height: 350px;
  }
  .kv.home {
    height: 400px;
    /* background-image: url(../images/home/kv-mb.jpg); */
    background-position: 50%;
  }

  .kv > div.dark {
    padding: 20px;
    margin: 0 20px;
  }

  .kv > div p {
    letter-spacing: 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .kv > div p br {
    display: none;
  }

  .kv.event1 {
    background-position: 50%;
  }
  .kv.event2 {
    background-position: 20%;
  }
  .kv.event3 {
    background-position: 0;
  }
  .kv.event4 {
    background-position: 70%;
  }

  .kv.event1 div p {
    padding: 0 80px;
  }

  .prdList li {
    flex-direction: column;
    margin-bottom: 50px;
  }

  .prdList li aside {
    width: 300px;
    text-align: center;
    margin: auto;
  }
  .prdList li aside p {
    text-align: center;
  }

  .stepList li h4 {
    font-size: 25px;
  }
  .stepList li p {
    font-size: 15px;
  }

  .timeList {
    flex-direction: column;
    border-radius: 15px;
  }

  .timeList li {
    padding: 50px 30px;
  }

  .timeList li p {
    text-align: center;
    font-size: 13px;
  }

  .timeList li + li {
    border-left: none;
    border-top: 1px solid #999;
  }

  .trafficList,
  .signTime {
    flex-direction: column;
  }
  .trafficList li {
    margin-bottom: 50px;
    padding: 0 1em;
  }

  .photoList {
    flex-direction: column;
  }

  .event2List > dl dt {
    width: 35%;
    font-size: 15px;
  }
  .event2List dl dd:last-child {
    display: none;
  }

  .eventsList li:nth-child(2) aside div {
    text-align: left;
    margin-right: 120px !important;
  }
  .eventsList li aside div p {
    font-size: 15px;
  }

  /* videoList */

  .videoList {
    margin: 0 -15px;
  }
  .videoList li {
    padding: 0 3px;
    margin-bottom: 20px;
    width: 100%;
  }
  .videoList li h4 {
    font-size: 13px;
  }

  :root {
    /* video ico */
    --videoIco: 40px;
  }

  .kv.video {
    background-position: 100%;
  }

  /* mobile End */
}

/* IPHONE X */
@media only screen and (device-width: 375px) and (-webkit-device-pixel-ratio: 3) {
}

/* IPHONE SE */
@media (max-width: 360px) {
}
