.flex {
  display: flex;
}

.header_banner img,
.history_timeline_img img {
  width: 100%;
}

.top_tab {
  border-bottom: solid 2px #f6f6f6;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.top_tab a {
  display: block;
  padding: 0 20px;
  color: black;
  height: 60px;
  line-height: 60px;
}

.top_tab a:hover,
.top_tab a.active {
  background-color: var(--theme-color-blue);
  color: #fff;
  font-weight: bolder;
}

.top_tab a.active {
  border-bottom: solid 3px var(--theme-color-orange);
}

.d-flex {
  display: flex !important;
}

.title {
  text-decoration: underline;
  text-decoration-color: var(--theme-color-orange);
  text-underline-offset: 13px;
  text-decoration-thickness: 5px;
}

.brand_culture {
  margin: 4% 0 0;
  padding: 5px 9%;
}

.history,
.news_video {
  padding: clamp(15px, 3vw, 10px) 0;
}

.machine{
  padding: clamp(40px, 3vw, 10px) 0;
}

.brand_culture .title,
.history .title,
.machine .title,
.news_video .title {
  text-align: center;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: bolder;
  color: var(--theme-color-blue);
  line-height: 1.5;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 13px;
}

.brand_culture .slogan {
  text-align: center;
  font-size: clamp(1rem, 1vw, 1.1rem);
  line-height: 1.5;
  margin-bottom: 1%;
}

.brand_culture .slug_box {
  max-width: calc(1rem * 59);
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1%;
}

.brand_culture .slug_box .slug {
  flex: 1 1 calc(50% - 10%);
  min-width: 20rem;
}

.brand_culture .slug_box .slug div {
  font-size: clamp(1.7rem, 3vw, 2.9rem);
  font-weight: bolder;
  color: var(--theme-color-orange);
  line-height: 3;
}

.brand_culture .slug_box .slug p {
  font-size: clamp(1.2rem, 1.1vw, 1.5rem);
  font-weight: bolder;
  color: #54585a;
  line-height: 3;
  padding-left: 1em;
}

/* history */
.swiper_year_next::after,
.swiper_year_prev::after {
  color: var(--theme-color-blue);
  font-size: 1.5rem;
}

.swiper-slide .img_title_box {
  position: relative;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #f7f7f7, #ff4500);
  opacity: 0.5;
  padding: 0px 10px;
  max-height: 106px;
}

.swiper-slide .img_title_box h2 {
  font-size: clamp(2rem, 3vw, 4rem);
  font-weight: bolder;
  color: var(--theme-color-orange);
  border-bottom: 0;
}

.img_title_box .img_year_box {
  flex-wrap: wrap;
}

.img_title_box .img_year_box div {
  flex: 1 1 55%;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: bold;
  color: #fff;
  border: none;
  text-align: center;
}

.img_title_box .img_year_box .line {
  flex: 1 1 45%;
}

.img_title_box .img_year_box {
  background: linear-gradient(to bottom right,
      transparent 0%,
      transparent calc(50% - 3px),
      #ededef 50%,
      transparent calc(50% + 3px),
      transparent 100%);
  background-size: calc(100% - 60px) calc(100% - 20px);
  background-position: 30px 10px;
  background-repeat: no-repeat;
}

.swiper-slide .img_description_box {
  width: 100%;
  padding: 10px 40px;
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.img_description_box .description_title {
  font-size: clamp(1.2rem, 3vw, 3rem);
  font-weight: bolder;
}

.img_description_box .description {
  font-size: clamp(0.8rem, 1vw, 1.1rem);
}

.history_timeline_img {
  width: 80%;
  position: relative;
  overflow: hidden;
}

.history_timeline_year {
  width: 18%;
  position: relative;
}

.history_timeline_img .img_title_box {
  position: relative;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #f7f7f7, #ff4500);
  opacity: 0.5;
  padding: 0px 10px;
  max-height: 106px;
}

.img_title_box h2 {
  font-size: clamp(2rem, 3vw, 4rem);
  font-weight: bolder;
  color: var(--theme-color-orange);
  border-bottom: 0;
}

.img_description_box {
  width: 100%;
  padding: 10px 40px;
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.swiper_year {
  height: 100%;
}

.year_num {
  font-size: 5.5rem;
  font-weight: bold;
  color: #f7f7f7;
  text-align: center;
  cursor: pointer;
}

.swiper-slide-active .year_num {
  color: var(--theme-color-orange);
  font-size: 6rem;
  transform: scale(1.1);
}

.history_img_width {
  width: 100%;
}

.year_img {
  transform: unset !important;
  font-size: unset !important;
  cursor: pointer;
}

.swiper-slide-active .year_img img {
  border: 3px solid var(--theme-color-orange);
}

.history_timeline_img_box {
  margin-top: 20px;
}

.left {
  align-items: flex-start;
  text-align: left;
}

.right {
  margin-bottom: 10px;
}

/* product_list */
.product_list {
  padding-bottom: 50px;
}

.product_detail_child {
  width: 25%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('/assets/img/product/bg_product.png');
  transition: background-image 0.3s ease-in;
}

.product_detail_child:hover {
  background-image: url(/assets/img/product/hover_bg_product.png);
}

.product_detail_child img {
  width: 100%;
}

.product_detail_child .product_name {
  color: #000000;
  font-weight: bold;
  font-size: 1.55rem;
  margin: 10px 0 15px;
  text-align: center;
}

/* news & videos */
.news_video .tab_list {
  display: none;
}

.news_video .tab_list.tab_show {
  display: flex;
}

.switch_type {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 300px;
  margin: 0 auto 30px;
}

.click_button {
  width: 100%;
  height: 60px;
  border: 2px solid #ffffff;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 35px;
  box-shadow: 0 0 15px #d7d6d65c;
  cursor: pointer;
  transition: all ease .3s;
}

.click_button:hover {
  color: #fff;
  background-color: var(--theme-color-blue);
  border: 2px solid var(--theme-color-blue);
}

.active_button {
  color: #fff;
  background-color: var(--theme-color-blue);
  border: 2px solid var(--theme-color-blue);
}

.circle {
  width: 12px;
  height: 12px;
  background-color: transparent;
  border-radius: 50%;
  border: 2px solid var(--theme-color-blue);
  margin-right: 8px;
  transition: all ease .3s;
}

.active_button .circle,
.click_button:hover .circle {
  border: 2px solid #fff;
}

.news_list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
  opacity: 1;
  transition: opacity 0.5s;
}

.news_list.loadings {
  opacity: 0;
}

.news_list_detail {
  position: relative;
  width: 32%;
  box-shadow: 2px 2px 10px #002f742e;
}

.news_list_detail a {
  display: block;
  overflow: hidden;
}

.news_list_detail>a>img {
  width: 100%;
  transition: 0.3s transform ease-in;
}

.news_list_detail>a>img:hover {
  transform: scale(1.1);
}

.news_info {
  padding: 0 20px 0;
}

.news_list_detail:hover .news_info {
  background-image: url('/assets/img/newslist/news_bk.png');
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.news_list .news_list_detail:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: var(--theme-color-blue);
}

.news_title {
  font-size: 24px;
  font-weight: bold;
  line-height: 36px;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: unset;
}

.news_dec {
  width: 100%;
  min-height: 60px;
  color: #898D8D;
  line-height: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news_info>a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 30px;
  padding-bottom: 25px;
  min-height: 210px;
}

.news_time_share {
  padding: 20px 0;
  border-top: 2px solid #c9c9c969;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.news_time,
.news_share {
  display: flex;
  align-items: center;
}

.news_time span {
  font-size: 16px;
  color: #54585A;
}

.news_time img {
  margin-right: 10px;
}

.news_share {
  gap: 20px;
}

.news_share img {
  cursor: pointer;
}

.qr_code {
  position: relative;
}

.code_show {
  display: none;
  position: absolute;
  top: -120px;
  left: -2vw;
  z-index: 1000;
  background: white;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.code_show canvas {
  display: block;
}

.copy_result {
  width: 250px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: rgb(77 74 74);
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  text-align: center;
}

.copy_result.show {
  opacity: 1;
}

.qr_code>img,
.wb_style>img,
img.copy-link-btn {
  width: 28px;
}

.video_img,
.detail_img {
  width: 100%;
  position: relative;
  display: block;
  overflow: hidden;
}

.video_img img:not(.play_style),
.detail_img img:not(.play_style) {
  width: 100%;
}

.video_img img,
.detail_img img {
  transition: all 0.3s ease;
}

.video_img:hover img,
.detail_img:hover img {
  transform: scale(1.1);
}

.play_style {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px auto auto -20px;
  filter: drop-shadow(5px 5px 8px rgba(0, 0, 0, 0.4));
}

.video_list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
  opacity: 1;
  transition: opacity 0.5s;
}

.video_list.loading {
  opacity: 0;
}

.video_type {
  width: 100%;
  padding: 20px 0;
  border-top: 0.5px solid #c9c9c969;
  border-bottom: 0.5px solid #c9c9c969;
  margin-bottom: 45px;
}

.type_text {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin-right: 40px;
  cursor: pointer !important;
}

.type_active {
  color: var(--theme-color-blue);
}

a.type_text:hover {
  color: var(--theme-color-blue) !important;
}

.video_type .type_text:last-child {
  margin-right: 0;
}


.video_detail_small {
  position: relative;
  width: 32%;
  box-shadow: 2px 2px 10px #002f742e;
}

.detail_dec {
  padding: 0 20px;
}

.detail_dec a {
  font-size: 24px;
  font-weight: bold;
  line-height: 36px;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 30px 0;
}

@media (min-width: 992px) {
  .history_timeline {
    max-height: 733px;
    gap: 2%;
  }

  .swiper_year_prev,
  .swiper_year_next {
    left: 50%;
    right: auto;
    margin-top: 0;
    border-radius: 100%;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
    width: 44px;
    transform: rotate(270deg);
    margin-left: -22px;
  }

  .swiper_year_prev {
    top: auto;
    bottom: 0;

  }

  .swiper_year_next {
    top: 0;
  }

  .news_list .news_list_detail:nth-child(-n+3) {
    margin-bottom: 3%;
  }

  .video_list .video_detail_small:nth-child(-n+3) {
    margin-bottom: 3%;
  }
}

@media (min-width: 992px) and (max-width: 1400px) {
  .history_timeline {
    max-height: 630px;
  }

  .year_num {
    font-size: 4.5rem;
  }

  .swiper-slide-active .year_num {
    font-size: 5.2rem;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .history_timeline {
    max-height: 531px;
  }

  .year_num {
    font-size: 3.5rem;
  }

  .swiper-slide-active .year_num {
    font-size: 4.2rem;
  }
}

@media (max-width: 991px) {

  .history_timeline_img,
  .history_timeline_year {
    width: 100%;
  }

  .history_timeline {
    flex-wrap: wrap;
  }

  .img_description_box {
    padding: 10px 10px;
  }

  .year_num {
    font-size: 16px;
  }

  .swiper-slide-active .year_num {
    font-size: 20px;
  }

  .history_timeline_year {
    margin-top: 20px;
    margin-bottom: 50px;
  }

  .swiper_year_prev,
  .swiper_year_next {
    display: none;
  }

  .year_num {
    color: #9e9a9a;
  }

  .swiper_year .swiper-slide {
    display: flex;
    align-items: center;
  }

  .history_timeline_img img {
    min-height: 200px;
    object-fit: contain;
  }

  .top_tab {
    height: 45px;
  }

  .top_tab a {
    height: 45px;
    line-height: 45px;
    font-size: 14px;
  }

  .history_timeline_img_box {
    display: none;
  }

  .product_detail_child {
    width: 100%;
  }

  .click_button {
    height: 50px;
    padding: 0 20px;
  }

  .button_text {
    font-size: 15px;
  }

  .circle {
    width: 10px;
    height: 10px;
  }

  .news_list_detail {
    width: 49%;
    margin-bottom: 20px;
  }

  .news_list_detail:nth-child(n+5):nth-child(-n+6) {
    margin-bottom: 0;
  }

  .news_title {
    font-size: 18px;
    line-height: 26px;
  }

  .news_info {
    padding: 0 10px 0;
  }

  .news_info>a {
    min-height: 150px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .news_dec {
    min-height: 44px;
    font-size: 14px;
    line-height: 22px;
  }

  .news_time_share {
    padding: 10px 0;
  }

  .news_time span {
    font-size: 11px;
  }

  .news_time img {
    margin-right: 5px;
    width: 15px;
  }

  .qr_code>img,
  .wb_style>img,
  img.copy-link-btn {
    width: 20px;
  }

  .news_share {
    gap: 5px;
  }

  .pagination {
    margin-top: 40px;
  }

  .code_show {
    top: -8vh;
    left: -6vw;
    padding: 5px;
    border-radius: 3px;
  }

  .play_style {
    width: 40px;
    height: 40px;
    margin: -20px auto auto -20px;
  }

  .video_type {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
  }

  .type_text {
    font-size: 16px;
    margin-right: 0;
  }

  .video_info h3 {
    font-size: 16px;
  }

  .video_info {
    padding: 10px;
  }

  .video_info p,
  .video_info .more_button p {
    font-size: 12px;
  }

  .video_detail_small {
    width: 49%;
    margin-bottom: 20px;
  }

  .detail_dec {
    padding: 0 10px;
  }

  .detail_dec a {
    font-size: 18px;
    line-height: 26px;
    margin: 15px 0;
  }

  .video_detail_small:nth-child(n+5):nth-child(-n+6) {
    margin-bottom: unset;
  }
}