@charset "UTF-8";
.tg_banner {
  overflow: hidden;
  display: block;
  position: relative;
}
.tg_banner .swiper-control .pagination-swipe {
  position: absolute;
  top: calc(50% - 18rem);
  right: 40px;
  width: initial;
  z-index: 2;
  left: initial;
  height: auto;
  bottom: initial;
  display: flex;
  gap: 36rem;
  flex-direction: column;
  display: none;
}
@media (min-width: 1025px) and (max-width: 1599px) {
  .tg_banner .swiper-control .pagination-swipe {
    gap: 31rem;
  }
}
@media (max-width: 1024px) {
  .tg_banner .swiper-control .pagination-swipe {
    top: initial;
    bottom: 70px;
    right: initial;
    left: 25px;
    gap: 20rem;
  }
  .mat_material .mat_material_content_general_right_neo:first-child{
    margin: 0 0 5rem 0;
    padding:0;
  }
}
.tg_banner .swiper-control .pagination-swipe span {
  font-size: 1.6rem;
  line-height: 100%;
  color: #fff;
  font-weight: 400;
  font-style: normal;
}
.tg_banner .swiper-control .swiper-progress-container {
  width: 100%;
  max-width: 300px;
  height: 1px;
  background-color: #747474;
  border-radius: 3px;
  overflow: hidden;
  position: absolute;
  top: calc(50% + 14px);
  right: -98px;
  z-index: 2;
  transform: rotate(90deg);
  display: none;
}
@media (min-width: 1025px) and (max-width: 1599px) {
  .tg_banner .swiper-control .swiper-progress-container {
    max-width: 220px;
    right: -62px;
    top: calc(50% - 8px);
  }
}
@media (max-width: 1024px) {
  .tg_banner .swiper-control .swiper-progress-container {
    height: 2px;
    top: initial;
    right: initial;
    left: -51px;
    bottom: 186px;
    max-width: initial;
    width: 170px;
  }
}
.tg_banner .swiper-control .swiper-progress-bar {
  height: 2px;
  width: 0%;
  background-color: #ffffff;
  transition: width 0.3s ease-out;
  border-radius: 3px;
}
.tg_banner .tg_text_marquee_wrap {
  position: absolute;
  top: 50%;
  left: calc(50% + 7.5rem);
  transform: translate(-50%, -50%);
  height: 100%;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  text-transform: uppercase;
}
@media (max-width: 1024px) {
  .tg_banner .tg_text_marquee_wrap {
    display: none;
  }
}
.tg_banner .tg_text_marquee_wrap em {
  text-indent: -9999px;
}
.tg_banner .tg_text_marquee_wrap span {
  font-size: 13rem;
  line-height: 100%;
  color: #fff;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 10px;
}
@media (min-width: 1025px) and (max-width: 1599px) {
  .tg_banner .tg_text_marquee_wrap span {
    font-size: 10rem;
    line-height: 100%;
    color: #fff;
    font-weight: 600;
    font-style: normal;
  }
}
.tg_banner .tg_text_marquee_wrap span .js-marquee {
  transform: rotate(-90deg);
  display: block;
}
.tg_banner .tg_text_marquee_wrap2 {
  position: absolute;
  top: 50%;
  left: calc(50% - 7.5rem);
  transform: translate(-50%, -50%);
  height: 100%;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  text-transform: uppercase;
}
@media (max-width: 1024px) {
  .tg_banner .tg_text_marquee_wrap2 {
    display: none;
  }
}
.tg_banner .tg_text_marquee_wrap2 em {
  text-indent: -9999px;
}
.tg_banner .tg_text_marquee_wrap2 span {
  font-size: 13rem;
  line-height: 100%;
  color: #fff;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 10px;
}
@media (min-width: 1025px) and (max-width: 1599px) {
  .tg_banner .tg_text_marquee_wrap2 span {
    font-size: 10rem;
    line-height: 100%;
    color: #fff;
    font-weight: 600;
    font-style: normal;
  }
}
.tg_banner .tg_text_marquee_wrap2 span .js-marquee {
  transform: rotate(-90deg);
  display: block;
}
.tg_banner .tg_text_marquee_mb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  z-index: 2;
  overflow: hidden;
  display: none;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .tg_banner .tg_text_marquee_mb {
    display: block;
  }
}
.tg_banner .tg_text_marquee_mb .tg_text_marquee {
  width: 100%;
}
.tg_banner .tg_text_marquee_mb .tg_text_marquee em {
  text-indent: -9999px;
}
.tg_banner .tg_text_marquee_mb .tg_text_marquee span {
  font-size: 5rem;
  line-height: 100%;
  color: #fff;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 10px;
}
.tg_banner .tg_text_marquee_mb .tg_text_marquee span .js-marquee {
  transform: rotate(-90deg);
  display: block;
  min-width: 65rem;
}

.swiper-fade {
  perspective: 1000px; /* Cần cho một số hiệu ứng 3D */
}

.swiper-fade .swiper-slide {
  opacity: 0;
  transition: opacity 0.3s ease-in-out; /* Thời gian và kiểu chuyển đổi fade */
  visibility: hidden; /* Ẩn slide không hoạt động để không chiếm không gian (tùy chọn) */
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; /* Thêm transition cho zoom */
  overflow: hidden;
}

.swiper-fade .swiper-slide-active {
  pointer-events: auto; /* Cho phép tương tác với slide hiện tại */
  opacity: 1;
  visibility: visible; /* Hiển thị slide hiện tại */
}

.swiper-fade .swiper-slide img {
  transform: scale(1.2);
  transition: all 5s linear;
  width: 100%;
  object-fit: cover;
}

.swiper-fade .swiper-slide-active img {
  transform: scale(1);
}

.swiper-slide {
  position: relative;
}
.swiper-slide canvas {
  top: 0 !important;
  left: 0 !important;
  width: 100%;
  z-index: 2 !important;
  height: 100%;
  transform: scale(1.1);
  transition: all 10s;
}

.swiper-fade .swiper-slide-active canvas {
  transform: scale(1);
}

.tg_banner_slide .swiper-slide img {
  height: 100vh;
  background-position: center center !important;
  background-size: cover !important;
}

.autoplay-progress {
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}
@media (min-width: 1025px) and (max-width: 1599px) {
  .autoplay-progress {
    right: 23px;
  }
}
@media (max-width: 1024px) {
  .autoplay-progress {
    right: initial;
    bottom: 1rem;
    left: 11px;
  }
}
.autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 1px;
  stroke: #fff;
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}
.autoplay-progress span {
  display: none;
  pointer-events: none;
}

.tg_header.tg_home_page {
  background: none !important;
}

.tg_home .tg_content {
  padding: 0;
}

.tg_header {
  transition: all 0.3s;
}


.mat_homepage_partner h2{
      font-size: 6.4rem;
    line-height: 120%;
    color: #fff;
    font-weight: 300;
    font-style: normal;
    margin: 0 0 30px 0;
}

.page-template-page-material header{
  min-height: initial;
}

.error404 header, .error404 footer{
  display: none !important;
}

html .tg_current_lang li {
    position: relative;
    cursor: pointer;
    display: none;
    color: #ffffff;
    padding: 0px 17px 0px 0px;
}

html .tg_current_lang li::before {
    content: "\f107";
    font: normal normal normal 14px / 1 FontAwesome;
    position: absolute;
    top: 3px;
    right: 0px;
    font-size: 15px;
}


html[lang="en-US"] .tg_current_lang li.tg_lang_eng {
    display: block;
}

html[lang="ja"] .tg_current_lang li.tg_lang_ja {
    display: block;
}

.tg_lang {
    display: none;
}

.tg_lang_area {
    position: relative;
}


.tg_current_lang ul {
    padding: 0;
}

.tg_current_lang ul li {
    font-size: 1.4rem;
    line-height: 150%;
    text-transform: uppercase;
}

.tg_lang_area .tg_lang {
    position: absolute;
    top: 28px;
    left: -23px;
    width: 51px;
    padding: 0px;
    background: #fff;
    transition: all 0.4s;
    position: absolute;
    background: #000;
    border: 0.1rem solid #fff;
    width: 6rem;
    z-index: 9;
    transition: all 0.3s;
}

.tg_lang ul {
    flex-direction: column;
    padding: 0;
    gap: 7px !important;
    text-align: center;
    line-height: 20px;
    font-size: 13px;
}
.tg_lang ul li a{
      display: block;
    width: 100%;
    padding: 0.8rem 1.6rem;
    transition: all 0.3s;
    font-size: 1.4rem;
    line-height: 150%;
    color: #fff;
    font-weight: 400;
    font-style: normal;
    display: flex;
    gap: 1rem;
    cursor: pointer;
    border-bottom: 0.1rem solid #fff;
}
.tg_lang ul li:last-child a{
    border-bottom: none;
}
.tg_lang ul li:hover a{
  background: #1d1d1d;
}
.tg_lang ul li a {
}

.tg_lang a img {
    display: none;
}

.tg_lang a::before {
    color: #ffffff;
}

.tg_lang a[lang="en-US"]::before {
    content: "EN";
}

.tg_lang a[lang="ja"]::before {
    content: "JA";
}

.post-type-archive-works header{
  min-height: initial;
}

/*ctf7*/
.wpcf7-spinner {
    position: absolute !important;
    bottom: 20px;
    right: 20px;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: #46b450 !important;
    color: #fff !important;
    border: none !important;
}

.wpcf7-not-valid-tip {
    text-align: left;
    padding: 5px 0px 0px 0px;
}

.wpcf7-spinner {
    position: absolute !important;
    bottom: 20px;
    right: 20px;
}

.wpcf7 form:not(.sent) .wpcf7-response-output, .mc4wp-error, .mc4wp-notice, .woocommerce-error, .woocommerce-info, .dokan-alert-warning, .dokan-alert-danger, .dokan-alert-info, .dokan-error, .dokan-info {
    background-color: #ff0000;
    color: #fff !important;
    border: 0px !important;
    font-size: 14px;
    margin: 10px 0px !important;
}

.wd-notice, div.wpcf7-response-output, .mc4wp-alert, .woocommerce-error, .woocommerce-message, .woocommerce-info, .dokan-alert, .dokan-message, .dokan-info, .dokan-error, .dokan-store-contact .alert-success, .yith_ywraq_add_item_product_message {
    position: relative;
    flex-wrap: wrap;
    padding: 10px !important;
    width: 100% !important;
    text-align: center !important;
    max-width: 100% !important;
    margin: 20px 0px 0px 0px !important;
}

.wpcf7-not-valid-tip {
    text-align: left;
    padding: 0px 0px 0px 0px;
    font-size: 13px !important;
    position: absolute;
    background: #ff0000;
    color: #fff !important;
    padding: 0px 10px;
    z-index: 2;
    line-height: 21px;
}

.form_ct {
    position: relative;
}

.wpcf7-form .wpcf7-spinner {
    visibility: hidden;
    display: inline-block;
    border-width: 10px;
    border-style: solid;
    border-color: rgb(240 105 36) rgb(243, 243, 243) rgb(243, 243, 243);
    border-image: initial;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: 2s linear 0s infinite normal none running spin;
    background: none;
    top: 40%;
    left: 47%;
    bottom: initial;
    right: initial;
    opacity: 1;
    margin: 0px;
    padding: 0px;
    z-index: 2;
    position: fixed !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.wpcf7-form.submitting .wpcf7-spinner {
    visibility: visible;
    z-index: 999999999;
}

.wpcf7-form[data-status="submitting"]::before {
    content: "";
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
}

.wpcf7-not-valid-tip::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 7px solid #ff0000;
    top: -7px;
    left: 0px;
    right: 0px;
    margin: 0px auto;
}

/* end ctf7*/

.mat_contact_form_policy{
  display: none !important;
}

.popup .result_lv h3{
  margin: 0 0 20px 0;
}

.popup .result_lv ul{
  margin: 10px 0 20px 0;
}

.popup .result_lv table{
  margin:20px 0px;
}

.popup .result_lv{
  min-height: 200px;
  width: 100%;
}

.mat_contact_form_general_widget_detailds_inner .wpcf7-form-control{
  display: flex;
  gap: 20px;
}

.mat_contact_form_general_widget_detailds_inner .wpcf7-form-control .wpcf7-list-item{
  margin:0;
}

.mat_contact_form_general_widget_detailds_inner .wpcf7-form-control .wpcf7-list-item label{
  display: flex;
  align-items: center;
  gap: 3px;
  color: rgba(255, 255, 255, 0.6);
}

.mat_contact_form_general_widget_detailds_inner .wpcf7-form-control .wpcf7-list-item input{
  width: auto;
}

  .tg_content .mat_contact_form_general_widget_detailds_inner em {
    font-size: 2rem;
    line-height: 120%;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    font-style: normal;
    display: block;
  }
.mat_contact_form_general_widget_detailds_inner .wpcf7-form-control .wpcf7-list-item input:checked+span{
  color:#fff;
}

.mat_contact_form_general_widget_detailds_inner.tg_input_file input{
  padding:0 0 3.2rem 0;
}

.mat_contact_form_general_widget_detailds_inner.tg_input_file{
  padding: 1.2rem 0 0 0 !important;
}

.mat_contact_form_general_widget_detailds_inner.tg_input_file input{
     padding: 10px 0 15px 0 !important;
}

/*CSS RAU*/


@media(max-width: 1024px){
   html[lang="ja"] .mat_banner_general .mat_banner_general_widget h2 span{
    font-size: 2.2rem !important;
    line-height: 120%;
  }
    html[lang="en-US"] .mat_banner_general .mat_banner_general_widget h2 span{
    font-size: 2.2rem !important;
    line-height: 120%;
  }
}

@media(max-width: 767px){
   html[lang="ja"] .tg_banner .tg_text_marquee_mb .tg_text_marquee span .js-marquee{
        min-width: 85rem;
  }
  .wpcf7-form .wpcf7-spinner{
        width: 50px !important;
    height: 50px !important;
    border-width: 5px !important;
        top: 46% !important;
    left: 43% !important;
  }
  .mat_contact_form_general_widget_detailds_inner .wpcf7-form-control{
    flex-direction: column;
  }
  .mat_homepage_partner h2{
    font-size: 3rem;
    margin: 0 0 1.6rem 0;
  }
  .mat_banner_general .mat_banner_general_widget{
    width: 100% !important;
  }
 
}