@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

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

/*HTML5 tag*/
section, article, aside, footer, header, nav, main {
  display: block;
}

/* 基本元素 */
html {
  height: 100%;
}

body {
  height: 100%;
  font-size: 16px;
  font-family: "Roboto", "Noto Sans TC", "微軟正黑體", "PingFang SC", "Arial", "Helvetica Neue", sans-serif;
  color: #222;
  letter-spacing: 1px;
  font-weight: 300;
  word-wrap: break-word;
  word-break: normal;
  position: relative;
  z-index: -999;
}

a {
  color: #222;
  text-decoration: none;
  display: inline-block;
}

a:hover {
  text-decoration: none;
}

input, textarea, select, button {
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  font-family: "Noto Sans TC", serif;
  font-size: 17px;
}

select:not([multiple]) {
  -webkit-appearance: none;
  -moz-appearance: none;
}

* { /* Safari/Chrome, other WebKit */ /* Firefox, other Gecko */
  box-sizing: border-box;
}

/* header */
nav {
  height: 100px;
}
nav:after {
  content: "";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
@media all and (max-width: 540px) {
  nav {
    height: 80px;
  }
}

.logo {
  float: left;
  padding-top: 10px;
}
.logo a {
  display: block;
  width: 102px;
  height: 80px;
  text-indent: -9999px;
  background: url("../images/TOYOTA-logo.png") left center no-repeat;
  background-size: contain;
  position: relative;
  z-index: 50;
}
@media all and (max-width: 820px) {
  .logo {
    padding-top: 20px;
  }
  .logo a {
    width: 78px;
    height: 60px;
  }
}
@media all and (max-width: 540px) {
  .logo {
    padding-top: 10px;
  }
  .logo a {
    width: 65px;
    height: 50px;
  }
}

.header_left {
  width: 75%;
  float: left;
  padding-left: 1%;
}
.header_left:after {
  content: "";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
@media all and (max-width: 820px) {
  .header_left {
    width: 82%;
  }
}
@media all and (max-width: 680px) {
  .header_left {
    width: 100%;
    float: none;
  }
}

.link_buycar {
  float: right;
  width: 210px;
  background-color: #EB3237;
  text-align: center;
}
.link_buycar:hover {
  background-color: rgba(235, 50, 55, 0.85);
}
.link_buycar a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 100px;
  letter-spacing: 2px;
}
@media all and (max-width: 820px) {
  .link_buycar {
    width: 120px;
  }
  .link_buycar a {
    font-size: 1rem;
  }
}
@media all and (max-width: 680px) {
  .link_buycar {
    display: none;
  }
}

.header_menu {
  width: 80%;
  float: left;
  padding: 3% 0 0 3%;
}
@media all and (max-width: 1440px) {
  .header_menu {
    padding: 4% 0 0 3%;
  }
}
.header_menu .menu_item {
  display: inline-block;
  vertical-align: top;
  margin-left: 25px;
  letter-spacing: 0.5px;
}
.header_menu .menu_item:first-child {
  margin-left: 0;
}
.header_menu .menu_item a {
  font-weight: 300;
  color: #222;
}
.header_menu .menu_item a:hover {
  color: #EB3237;
  cursor: pointer;
  font-weight: 500;
}
@media all and (max-width: 540px) {
  .header_menu .menu_item a {
    font-size: 15px;
  }
}
.header_menu .menu_active {
  position: relative;
  z-index: 2;
  color: #EB3237;
  font-weight: 500;
}
.header_menu .menu_active:after {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  z-index: -1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #EB3237;
  margin: 0 auto;
}
@media all and (max-width: 1180px) {
  .header_menu {
    padding: 4% 0 0 3%;
  }
}
@media all and (max-width: 820px) {
  .header_menu {
    text-align: center;
    padding: 6% 0 0;
    margin-left: 6%;
  }
  .header_menu .menu_item {
    margin-bottom: 15px;
  }
}
@media all and (max-width: 540px) {
  .header_menu {
    margin-left: 0;
    padding: 4% 0 0;
  }
  .header_menu .menu_item {
    margin-bottom: 10px;
  }
}

#masthead {
  width: 100%;
  height: 700px;
  background-image: url("../images/index/bn.jpg");
  background-size: auto 100%;
  background-position: top center;
  background-repeat: no-repeat;
  transition: 0.3s ease all;
}
@media all and (max-width: 1440px) {
  #masthead {
    height: 600px;
  }
}
@media all and (max-width: 820px) {
  #masthead {
    height: 550px;
    background-position: 75% 0%;
  }
}
@media all and (max-width: 540px) {
  #masthead {
    background-image: url("../images/index/bn_m.jpg");
    background-position: 72% 0%;
  }
}

hgroup {
  position: relative;
  transition: 0.15s ease all;
}

#masthead.scrolled {
  background: transparent;
}
#masthead.scrolled hgroup {
  opacity: 0;
  transform: translateY(-75px);
}

#masthead.scrolled nav {
  position: fixed;
  width: 100%;
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
}
#masthead.scrolled nav::after {
  margin-bottom: 100px;
}

#masthead.scrolled .container {
  height: 100px;
}

footer {
  margin-top: 70px;
  background-color: #222;
}
footer .container {
  padding: 15px 0 20px;
}
@media all and (max-width: 820px) {
  footer {
    margin-top: 0;
  }
}

.footer_left {
  float: left;
  text-align: center;
}
@media all and (max-width: 820px) {
  .footer_left {
    width: 100%;
    float: none;
  }
}

.footer_logo {
  width: 60px;
  display: inline-block;
  vertical-align: middle;
}
.footer_logo a {
  display: block;
  width: 100%;
  height: 50px;
  text-indent: -9999px;
  background: url("../images/TOYOTA-logo.png") left center no-repeat;
  background-size: contain;
}
@media all and (max-width: 820px) {
  .footer_logo a {
    height: 40px;
  }
}

.footer_phone {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  color: #fff;
  line-height: 50px;
}
.footer_phone a {
  color: #fff;
}
@media all and (max-width: 820px) {
  .footer_phone {
    margin-left: 0;
  }
}

.footer_info {
  width: 20%;
  float: right;
  text-align: right;
}
.footer_info li {
  display: inline-block;
  margin-right: 15px;
  line-height: 50px;
}
.footer_info li a span {
  font-size: 1.25rem;
  margin-right: 8px;
  color: #fff;
}
.footer_info li a span:hover {
  color: #EB3237;
}
@media all and (max-width: 820px) {
  .footer_info {
    width: 100%;
    float: none;
    text-align: center;
  }
}

.wrap {
  width: 100%;
  position: relative;
  z-index: -99;
}

.container {
  width: 1280px;
  position: relative;
  z-index: 50;
  margin: 0 auto;
  padding: 100px 0 0;
}
.container:after {
  content: "";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
@media all and (max-width: 1440px) {
  .container {
    width: 95%;
    margin: 0 auto;
  }
}
@media all and (max-width: 820px) {
  .container {
    padding: 50px 0;
  }
}

/* flexbox */
.flex_container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: stretch;
}

.flex_item {
  order: 0;
  flex: 0 1 auto;
  align-self: auto;
}

.col_5 {
  flex: 0 1 auto;
  flex-basis: 20%;
  max-width: 20%;
}
@media all and (max-width: 1180px) {
  .col_5 {
    flex-basis: 33.33%;
    max-width: 33.33%;
  }
}
@media all and (max-width: 540px) {
  .col_5 {
    flex-basis: 50%;
    max-width: 50%;
  }
}

.col_4 {
  flex: 0 1 auto;
  flex-basis: 25%;
  max-width: 25%;
}
@media all and (max-width: 1180px) {
  .col_4 {
    flex-basis: 33.3%;
    max-width: 33.3%;
  }
}
@media all and (max-width: 820px) {
  .col_4 {
    flex-basis: 50%;
    max-width: 50%;
  }
}
@media all and (max-width: 540px) {
  .col_4 {
    flex-basis: 100%;
    max-width: 100%;
  }
}

.col_3 {
  flex: 0 1 auto;
  flex-basis: 33.33%;
  max-width: 33.33%;
}
@media all and (max-width: 1180px) {
  .col_3 {
    flex-basis: 50%;
    max-width: 50%;
  }
}

.col_2 {
  flex: 0 1 auto;
  flex-basis: 50%;
  max-width: 50%;
}
@media all and (max-width: 1180px) {
  .col_2 {
    flex-basis: 100%;
    max-width: 100%;
  }
}

.col_3-1 {
  flex: 0 1 auto;
  flex-basis: 33.33%;
  max-width: 33.33%;
}
@media all and (max-width: 1180px) {
  .col_3-1 {
    flex-basis: 100%;
    max-width: 100%;
  }
}

.col_3-2 {
  flex: 0 1 auto;
  flex-basis: 66.66%;
  max-width: 66.66%;
}
@media all and (max-width: 1180px) {
  .col_3-2 {
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* 共用 */
.part_title {
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 35px;
}
.part_title img {
  vertical-align: bottom;
}
.part_title span {
  vertical-align: bottom;
}
@media all and (max-width: 540px) {
  .part_title {
    font-size: 1.125rem;
  }
}

.large_text {
  font-size: 3rem;
  font-weight: 700;
}
@media all and (max-width: 820px) {
  .large_text {
    margin-bottom: 25px;
  }
}
@media all and (max-width: 540px) {
  .large_text {
    font-size: 2rem;
  }
}

.text_title {
  font-weight: 500;
  font-size: 1.25rem;
}

.text_article1 {
  line-height: 26px;
}

/* btn */
.btn {
  display: inline-block;
  vertical-align: top;
  min-width: 160px;
  height: 40px;
  font-size: 0.9375rem;
  font-weight: 300;
  background-color: #aaa;
  text-align: center;
  line-height: 40px;
  letter-spacing: 1px;
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
  touch-action: manipulation;
  cursor: pointer;
  outline: 0;
  border: 0;
}
.btn:hover {
  opacity: 0.9;
}

.slogan {
  width: 45%;
  text-align: center;
  margin-top: 10%;
}
.slogan p {
  margin-bottom: 30px;
  font-size: 1.25rem;
  line-height: 1.8rem;
}
.slogan p span {
  margin-left: 10px;
}
@media all and (max-width: 1440px) {
  .slogan {
    margin-top: 3%;
  }
}
@media all and (max-width: 1280px) {
  .slogan {
    width: 45%;
  }
}
@media all and (max-width: 1180px) {
  .slogan .flex_container {
    flex-direction: column;
  }
  .slogan .flex_container .link_btn {
    margin-bottom: 25px;
  }
}
@media all and (max-width: 820px) {
  .slogan {
    width: 100%;
  }
}
@media all and (max-width: 375px) {
  .slogan p {
    font-size: 1.125rem;
  }
}

.contact_box a {
  margin: 0 15px;
}
.contact_box .link_btn {
  height: 48px;
  padding: 0 25px;
  border-radius: 30px;
}
@media all and (max-width: 1280px) {
  .contact_box .link_btn {
    width: 100%;
  }
}
.contact_box .link_phone {
  background-color: #005792;
}
.contact_box .link_phone:hover {
  background-color: rgba(0, 87, 146, 0.85);
}
.contact_box .link_line {
  background-color: #22C92F;
}
.contact_box .link_line:hover {
  background-color: rgba(34, 201, 47, 0.85);
}
.contact_box span {
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  line-height: 48px;
  vertical-align: middle;
}
@media all and (max-width: 540px) {
  .contact_box span {
    font-size: 1.25rem;
  }
}
.contact_box .icon {
  margin-right: 5px;
}

img {
  max-width: 100%;
}

.service {
  position: relative;
}
.service .service_bg {
  width: 45%;
  position: absolute;
  right: 0;
  top: -10%;
  z-index: 20;
}
@media all and (max-width: 1440px) {
  .service .service_bg {
    width: 48%;
    top: 0;
  }
}
@media all and (max-width: 1280px) {
  .service .service_bg {
    width: 60%;
  }
}
.service .service_left {
  width: 60%;
}
.service .service_right {
  width: 40%;
}
@media all and (max-width: 820px) {
  .service .flex_container {
    flex-direction: column;
  }
  .service .service_left {
    width: 100%;
  }
  .service .service_right {
    width: 60%;
    margin: 40px auto 0;
  }
  .service .service_bg {
    width: 80%;
    bottom: 4%;
    top: auto;
  }
}

.awarded {
  text-align: center;
  background-image: url("../images/index/bg_awarded.jpg");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 80px;
  overflow: hidden;
  padding-bottom: 100px;
}
@media all and (max-width: 820px) {
  .awarded {
    padding-bottom: 50px;
  }
  .awarded .flex_container {
    flex-direction: column;
  }
}

.awarded_photo {
  width: 75%;
  padding: 10px;
}
@media all and (max-width: 820px) {
  .awarded_photo {
    width: 100%;
    order: 2;
  }
}

.awarded_text {
  text-align: left;
  padding: 15% 10px 10px 40px;
}
.awarded_text .large_text {
  margin-bottom: 20px;
}
@media all and (max-width: 820px) {
  .awarded_text {
    max-width: 100%;
    text-align: center;
    padding: 40px 0;
    order: 1;
  }
}

.album {
  text-align: center;
  background-image: url("../images/index/bg_album.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
@media all and (max-width: 1440px) {
  .album {
    margin-top: 0;
  }
}

.photo_slider {
  padding-top: 40px;
}
.photo_slider .col_3 {
  padding: 10px;
}
.photo_slider .photo_item {
  display: block;
  padding: 15px 15px 20px;
  background-color: #fff;
  box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.photo_slider .photo_item .photo {
  width: 100%;
  height: 200px;
  background-color: #aaa;
  overflow: hidden;
}
.photo_slider .photo_item .year {
  margin-top: 20px;
}

.slick-dots {
  bottom: -35px;
}

.slick-dots li button:before {
  font-size: 6px;
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  content: "•";
  text-align: center;
  opacity: 0.25;
  color: #aaa;
}

.slick-dots li.slick-active button:before {
  opacity: 0.75;
  color: #EB3237;
}

.reservice {
  position: relative;
  background-image: url("../images/index/bg_reservice.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  margin: 40px 0 0;
  padding: 70px 0 0;
}
@media all and (max-width: 1366px) {
  .reservice {
    margin: 0 0 -70px;
  }
}
.reservice .reservice_bg {
  position: absolute;
  left: 0;
  top: 12%;
  z-index: 5;
  width: 39%;
}
@media all and (max-width: 1440px) {
  .reservice .reservice_bg {
    top: 26%;
    left: -3%;
  }
}
@media all and (max-width: 1366px) {
  .reservice .reservice_bg {
    top: 23%;
  }
}
@media all and (max-width: 1280px) {
  .reservice .reservice_bg {
    top: 28%;
  }
}
@media all and (max-width: 820px) {
  .reservice .reservice_bg {
    width: 60%;
    top: 20%;
  }
}
@media all and (max-width: 540px) {
  .reservice .reservice_bg {
    width: 80%;
    top: 12%;
    left: 0;
  }
}
.reservice .reservice_img {
  width: 40%;
  margin: -10.5% 0 0 2%;
}
@media all and (max-width: 1440px) {
  .reservice .reservice_img {
    width: 35%;
    margin: -10% 0 0 0;
  }
}
.reservice .reservice_right {
  padding: 5% 0 0 15%;
}
@media all and (max-width: 1180px) {
  .reservice .reservice_right {
    padding: 0 0 0 8%;
  }
}
@media all and (max-width: 820px) {
  .reservice .reservice_right {
    padding: 0;
  }
}
.reservice .contact_box {
  margin-top: 35px;
}
@media all and (max-width: 540px) {
  .reservice .contact_box {
    margin-top: 20px;
    text-align: center;
  }
  .reservice .contact_box a {
    margin-bottom: 25px;
  }
}
@media all and (max-width: 820px) {
  .reservice {
    margin: 0 0 50px;
    padding: 0;
  }
  .reservice .flex_container {
    flex-direction: column;
  }
  .reservice .flex_container .reservice_img {
    width: 60%;
    margin: 0 auto 40px;
  }
  .reservice .flex_container .reservice_right {
    width: 100%;
  }
}
@media all and (max-width: 540px) {
  .reservice {
    margin: 0;
  }
  .reservice .flex_container {
    flex-direction: column;
  }
  .reservice .flex_container .reservice_img {
    width: 70%;
    margin: 0 auto 40px;
  }
}

.icon-location {
  color: #EB3237;
  font-size: 1.25rem;
  vertical-align: middle;
}

.location {
  position: relative;
  background-image: url("../images/index/bg_location.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 80px;
}
.location .text_article1 span {
  vertical-align: middle;
}

.map {
  width: 100%;
  height: 540px;
  padding: 20px;
  margin-top: 30px;
  background-color: #fff;
  box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
}
.map iframe {
  width: 100%;
  height: 100%;
}

.link_buycar_m {
  display: none;
  width: 210px;
  height: 48px;
  padding: 0 25px;
  border-radius: 30px;
  margin: 40px auto 0;
  background-color: #EB3237;
  text-align: center;
}
.link_buycar_m a {
  color: #fff;
  line-height: 48px;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 2px;
}
@media all and (max-width: 680px) {
  .link_buycar_m {
    display: block;
  }
}

:target:before {
  content: "";
  display: block;
  height: 20px;
}

@media all and (max-width: 820px) {
  :target:before {
    height: 70px;
  }
}
@media all and (max-width: 540px) {
  :target:before {
    height: 40px;
  }
}
/* Styles the lightbox, removes it from sight and adds the fade-in transition */
.lightbox-target {
  position: fixed;
  top: -100%;
  z-index: 99;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  overflow: hidden;
}

/* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */
.lightbox-target img {
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 0%;
  max-width: 0%;
  border: 3px solid white;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  transition: 0.5s ease-in-out;
}

/* Styles the close link, adds the slide down transition */
.lightbox-close {
  display: block;
  width: 50px;
  height: 50px;
  box-sizing: border-box;
  background: white;
  color: black;
  text-decoration: none;
  position: absolute;
  top: -80px;
  right: 0;
  transition: 0.5s ease-in-out;
}

/* Provides part of the "X" to eliminate an image from the close link */
.lightbox-close:before {
  content: "";
  display: block;
  height: 30px;
  width: 2px;
  background: black;
  position: absolute;
  left: 26px;
  top: 10px;
  transform: rotate(45deg);
}

/* Provides part of the "X" to eliminate an image from the close link */
.lightbox-close:after {
  content: "";
  display: block;
  height: 30px;
  width: 2px;
  background: black;
  position: absolute;
  left: 26px;
  top: 10px;
  transform: rotate(-45deg);
}

/* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */
.lightbox-target:target {
  opacity: 1;
  top: 0;
  bottom: 0;
  overflow: scroll;
}

.lightbox-target:target img {
  max-height: 80%;
  max-width: 80%;
}

.lightbox-target:target .lightbox-close {
  top: 0;
}/*# sourceMappingURL=style.css.map */