/* 頁尾本體 */
.contain_footer {
  position: relative;
  width: 100%;
}
.contain_footer .bg {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}
.contain_footer a {
  text-decoration: none;
}
.contain_footer .big_wrap {
  padding: 3.15vw 13.125vw 0;
}
.contain_footer .top {
  position: relative;
  height: 5.73vw;
  display: flex;
  justify-content: space-between;
  padding-bottom: 1.875vw;
  border-bottom: 1px solid #db212e;
}
.contain_footer .top .social_wrap {
  display: flex;
  align-items: center;
}
.contain_footer .top .social_wrap .title {
  margin-right: 1.5625vw;
  font-size: calc(18 / 1920 * 100vw);
  font-weight: bold;
  color: #fff;
}

.contain_footer .top .social_wrap .icon .img {
  width: 30px;
  height: auto;
  margin: 0 1.302vw;
  object-fit: cover;
  object-position: center;
}
.contain_footer .top .newsletter_wrap {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
}
.contain_footer .top .newsletter_wrap .title {
  margin-right: 1.3vw;
  font-size: calc(18 / 1920 * 100vw);
  font-weight: bold;
  color: #fff;
}
.contain_footer .top .newsletter_wrap .newsletter_item {
  position: relative;
  width: 17.1875vw;
  height: 3.8vw;
  padding: 1.45vw 1.40625vw 1.51vw 1.09375vw;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #db212e;
  border-radius: 6px;
}
.contain_footer .top .newsletter_wrap .newsletter_item .input {
  width: 80%;
  background: transparent;
  font-size: calc(16 / 1920 * 100vw);
  color: #fff;
  height: auto;
  border: none;
  outline: none;
}
.contain_footer .top .newsletter_wrap .newsletter_item .subscription {
  font-size: calc(18 / 1920 * 100vw);
  color: #fff;
  cursor: pointer;
}
.contain_footer .middle {
  padding-top: 1.82vw;
  padding-bottom: 4vw;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #777;
}
.contain_footer .middle .title {
  margin-bottom: 2.08vw;
  font-size: calc(18 / 1920 * 100vw);
  font-weight: bold;
  letter-spacing: 0.9px;
  color: #fff;
}
.contain_footer .middle .sitemap_item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contain_footer .middle .sitemap_item a {
  color: #000000;
}
.contain_footer .middle .sitemap_item p {
  margin-bottom: 10px;
  font-size: calc(16 / 1920 * 100vw);
  line-height: 1.25;
  color: #fff;
}
.contain_footer .bottom {
  position: relative;
  width: 100%;
  padding-top: 1.823vw;
  display: flex;
  justify-content: space-between;
}
.contain_footer .bottom .item {
  width: 25%;
}
.contain_footer .bottom .item .box {
  width: 95%;
  min-height: 8.90625vw;
}
.contain_footer .bottom .item .logo {
  width: 10.42vw;
  display: inline-block;
}
.contain_footer .bottom .item .logo .img {
  max-width: 100%;
  height: auto;
}
.contain_footer .bottom .item .title {
  margin-bottom: 1.40625vw;
  font-size: calc(18 / 1920 * 100vw);
  font-weight: bold;
  letter-spacing: 9px;
  color: #ededed;
}
.contain_footer .bottom .item p {
  font-size: calc(16 / 1920 * 100vw);
  letter-spacing: 0.8px;
  color: #a4a4a4;
}
.contain_footer .bottom .item.item1 .box{
  position: absolute;
  bottom:0;
  width: 25%;
}
.contain_footer .bottom .item.item2 p {
  line-height: 1.25;
}
.contain_footer .bottom .item.item3 .title {
  margin-bottom: 1.25vw;
}
.contain_footer .bottom .item.item3 p {
  line-height: 1.25;
  margin-bottom: 1.5625vw;
}
.contain_footer .bottom .item.item4 {
  position: relative;
  right: 4.16vw;
  margin-bottom: 5.2vw;
}
.contain_footer .bottom .item.item4 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.contain_footer .bottom .item.item4 iframe {
  width: 17.44vw;
  height: 10.15625vw;
}
.contain_footer .bottom .scroll_top {
  position: absolute;
  width: 3.125vw;
  right: -1.04vw;
  top: 1.66vw;
  z-index: 1;
}
.contain_footer .bottom .scroll_top p {
  font-size: calc(16 / 1920 * 100vw);
  font-weight: bold;
  color: #db212e;
  transform: rotate(270deg);
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.5s ease;
}
.contain_footer .bottom .scroll_top p::before {
  content: '';
  position: absolute;
  width: 2.65vw;
  height: 1px;
  background: #a0a0a0;
  left: -4.4vw;
  top: 0.36vw;
  transition: 0.5s ease;
}
.contain_footer .bottom .scroll_top p:hover {
  letter-spacing: 2px;
  transition: 0.5s ease;
}
.contain_footer .bottom .scroll_top p:hover::before {
  transition: 0.5s ease;
  left: -4.9vw;
}
.contain_footer .copyright {
  position: relative;
  padding: 1.82vw 12.125vw 1.3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1b1b1b;
}
.contain_footer .copyright.active {
  padding: 2.82vw 12.125vw 2.3vw;
}
.contain_footer .copyright.active .right {
  position: absolute;
  right: 12.125vw;
}
.contain_footer .copyright p {
  color: #a4a4a4;
  font-size: calc(14 / 1920 * 100vw);
  letter-spacing: 0.7px;
  font-weight: normal;
  opacity: 0.6;
}
.contain_footer .copyright .left {
  position: relative;
  max-width: 30%;
  display: flex;
  align-items: center;
}
.contain_footer .copyright .left .item:first-child {
  margin-right: 1.25vw;
}
.contain_footer .copyright .right {
  position: relative;
  display: flex;
}
.contain_footer .copyright .right a {
  color: #a4a4a4;
}
.contain_footer .copyright .right span {
  width: 10px;
  height: 10px;
  display: inline-block;
  -webkit-mask: url(../../images/lock.svg) no-repeat;
  -webkit-mask-size: contain;
  background: #d0d0d0;
}
.contain_footer .copyright .right p:first-child {
  margin-right: 15px;
}
.contain_footer .copyright .rules {
  position: relative;
  display: flex;
  align-items: center;
  left: 15px;
}
.contain_footer .copyright .rules .link-copyright {
  color: #a4a4a4;
  opacity: 0.6;
  margin-right: 2.6vw;
  font-size: 14px;
}
@media (max-width: 1600px) {
  .contain_footer .bottom .scroll_top {
    top: 1.73vw;
  }
  .contain_footer .bottom .item.item4 {
    margin-bottom: 3.2vw;
  }

  .contain_footer .copyright .right {
    flex-direction: column;
  }
  .contain_footer .copyright .right p:first-child {
    margin-right: 0;
  }
}

@media (max-width: 1100px) {
  .contain_footer {
    height: auto;
    max-height: 100%;
  }
  .contain_footer .big_wrap {
    padding: 4.65vw calc(55 / 768 * 100vw) 0;
  }
  .contain_footer .top {
    padding-bottom: 2.875vw;
  }
  .contain_footer .top .social_wrap .title {
    font-size: 16px;
  }
  .contain_footer .top .newsletter_wrap {
    position: relative;
  }
  .contain_footer .top .newsletter_wrap .title {
    margin-right: 2.3vw;
    font-size: 16px;
  }
  .contain_footer .top .newsletter_wrap .newsletter_item {
    width: 25.1875vw;
    height: 5.8vw;
  }
  .contain_footer .top .newsletter_wrap .newsletter_item .input {
    font-size: calc(16 / 1100 * 100vw);
  }
  .contain_footer .top .newsletter_wrap .newsletter_item .subscription {
    font-size: calc(18 / 1100 * 100vw);
  }
  .contain_footer .middle {
    flex-wrap: wrap;
    padding-top: 3.82vw;
  }
  .contain_footer .middle .sitemap_wrap {
    width: 25%;
    margin-bottom: 30px;
  }
  .contain_footer .middle .sitemap_item p {
    font-size: 14px;
  }
  .contain_footer .middle .title {
    font-size: 16px;
  }
  .contain_footer .bottom {
    padding-top: 2.823vw;
    flex-wrap: wrap;
  }
  .contain_footer .bottom .item {
    width: 50%;
  }
  .contain_footer .bottom .item .title {
    font-size: 16px;
    margin-bottom: 2.40625vw;
  }
  .contain_footer .bottom .item .logo {
    width: 40%;
    margin-bottom: 6.4375vw;
  }
  .contain_footer .bottom .item p {
    font-size: calc(16 / 1100 * 100vw);
  }
  .contain_footer .bottom .item.item1 {
    width: 100%;
    order: 1;
  }
  .contain_footer .bottom .item.item1 .box {
    position: relative;
    top: 0;
    width: 50%;
  }

  .contain_footer .bottom .item.item2 {
    position: relative;
    top: -16.31875vw;
    order: 3;
  }
  .contain_footer .bottom .item.item3 {
    order: 2;
  }
  .contain_footer .bottom .item.item3 .title {
    margin-bottom: 2.40625vw;
  }
  .contain_footer .bottom .item.item3 .model {
    display: block;
  }
  .contain_footer .bottom .item.item3 .model p {
    margin-right: 20px;
  }
  .contain_footer .bottom .item.item4 {
    position: relative;
    bottom: 50px;
    right: 0;
    order: 4;
  }
  .contain_footer .bottom .item.item4 iframe {
    width: 100%;
    height: 200px;
  }
  .contain_footer .bottom .scroll_top {
    top: 4.1875vw;
  }
  .contain_footer .copyright {
    padding: 2.82vw calc(55 / 768 * 100vw) 3.3vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .contain_footer .copyright .left {
    max-width: 100%;
    margin-bottom: 15px;
  }
  .contain_footer .copyright .right {
    position: relative;
    right: 0;
    max-width: 100%;
  }

  .contain_footer .copyright .left {
    flex-direction: row;
    align-items: center;
  }
  .contain_footer .copyright .right {
    flex-direction: row;
  }
  .contain_footer .copyright .rules {
    left: 0;
    margin-bottom: 15px;
  }
  .contain_footer .copyright .rules .link-copyright {
    font-size: 14px;
  }
  .contain_footer .bottom .item .box {
    max-width: 50%;
    margin-bottom: 0;
    min-height: 16.40625vw;
  }
}
@media (max-width: 700px) {
  .contain_footer {
    height: auto;
  }
  .contain_footer .big_wrap {
    padding: 40px 37px 0;
  }
  .contain_footer .top {
    height: auto;
    padding-bottom: 0;
    flex-direction: column;
    justify-content: initial;
    border: none;
  }
  .contain_footer .top .social_wrap {
    flex-wrap: wrap;
    padding-bottom: 23px;
    border-bottom: 1px solid #db212e;
  }
  .contain_footer .top .social_wrap .title {
    width: 100%;
    margin-bottom: 30px;
  }
  .contain_footer .top .social_wrap .social_item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .contain_footer .top .newsletter_wrap {
    padding-top: 26px;
    flex-wrap: wrap;
  }
  .contain_footer .top .newsletter_wrap .title {
    width: 100%;
    margin-bottom: 20px;
  }
  .contain_footer .top .newsletter_wrap .newsletter_item {
    width: 100%;
    height: 60px;
    padding: 24px 1.40625vw 24px 1.09375vw;
  }
  .contain_footer .top .newsletter_wrap .newsletter_item .input {
    font-size: 16px;
  }
  .contain_footer .top .newsletter_wrap .newsletter_item .subscription {
    font-size: 18px;
  }
  .contain_footer .middle {
    padding-top: 23px;
    padding-bottom: 38px;
    flex-wrap: wrap;
  }
  .contain_footer .middle .title {
    margin: 0;
    padding: 15px 0;
  }
  .contain_footer .middle .sitemap_wrap {
    width: 40%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
  }
  .contain_footer .middle .sitemap_wrap:last-child {
    border: none;
  }
  .contain_footer .middle .sitemap_wrap:last-child .title {
    padding: 15px 0 0;
  }
  .contain_footer .middle .sitemap_wrap:nth-last-child(2) {
    border: none;
  }
  .contain_footer .middle .sitemap_wrap:nth-last-child(2) .title {
    padding: 15px 0 0;
  }
  .contain_footer .middle .sitemap_wrap .sitemap_item {
    display: none;
  }
  .contain_footer .bottom {
    padding-top: 40px;
    flex-wrap: wrap;
  }
  .contain_footer .bottom .item {
    width: 100%;
    margin-bottom: 44px;
  }
  .contain_footer .bottom .item .title {
    margin-bottom: 15px;
  }
  .contain_footer .bottom .item .logo {
    width: 100%;
    margin-bottom: 11.4375vw;
  }
  .contain_footer .bottom .item p {
    font-size: 14px;
  }
  .contain_footer .bottom .item .box {
    max-width: 100%;
    margin-bottom: 0;
  }
  .contain_footer .bottom .item.item1 {
    width: 100%;
    margin-bottom: 44px;
    order: 1;
  }
  .contain_footer .bottom .item.item1 .box {
    width: 100%;
  }
  .contain_footer .bottom .item.item2 {
    position: relative;
    top: 0;
    order: 2;
  }
  .contain_footer .bottom .item.item2 p {
    line-height: 1.43;
  }
  .contain_footer .bottom .item.item2 .box:first-child {
    margin-bottom: 44px;
  }
  .contain_footer .bottom .item.item3 {
    order: 3;
  }
  .contain_footer .bottom .item.item3 .title {
    margin-bottom: 5.40625vw;
  }
  .contain_footer .bottom .item.item3 .model {
    display: flex;
  }
  .contain_footer .bottom .item.item3 .model p {
    margin-right: 50px;
  }
  .contain_footer .bottom .item.item4 {
    right: 0;
    order: 4;
    bottom: 0;
  }
  .contain_footer .bottom .item.item4 iframe {
    width: 100%;
    height: 200px;
  }
  .contain_footer .bottom .scroll_top {
    top: auto;
    bottom: -80px;
  }
  .contain_footer .bottom .scroll_top p {
    font-size: 16px;
  }
  .contain_footer .bottom .scroll_top p::before {
    width: 51px;
    left: -65px;
    top: 8px;
  }
  .contain_footer .bottom .scroll_top p:hover::before {
    left: -70px;
  }
  .contain_footer .copyright {
    padding: 35px 37px 53px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  .contain_footer .copyright p {
    font-size: 14px;
    line-height: 1.5;
  }
  .contain_footer .copyright .left {
    width: 100%;
    margin-bottom: 25px;
    flex-wrap: wrap;
  }
  .contain_footer .copyright .left .item {
    width: 100%;
  }
  .contain_footer .copyright .right {
    position: relative;
    right: 0;
    flex-wrap: wrap;
  }
  .contain_footer .copyright .right p:first-child {
    padding: 0 60px 0 0;
    margin-bottom: 30px;
  }
  .contain_footer .copyright .rules {
    margin-bottom: 30px;
  }
  .contain_footer .copyright .rules .link-copyright {
    margin-right: 20px;
  }
}

/* 固定懸浮icon */
.fix_icon {
  text-align: center;
  display: block;
  bottom: 90px;
  right: 23px;
  position: fixed;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.fix_icon a {
  height: 60px;
  margin-bottom: 10px;
}
.fix_icon img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 1024px) {
  .fix_icon {
    right: 35px;
  }
  .fix_icon img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 500px) {
  .fix_icon {
    right: 20px;
  }
  .fix_icon img {
    width: 60px;
    height: 60px;
  }
}

/* 徵才 */

.footer_careers .btn_careers,
.inpage .btn-back {
  width: clamp(200px, 13.75vw, 300px);
  background-color: var(--color-btn-back);
  height: clamp(50px, 3.85vw, 98px);
  border-radius: var(--size-radius);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding-left: clamp(15px, 1.3vw, 30px);
  padding-right: clamp(15px, 1.3vw, 30px);
  border: none;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  transition: all 0.4s ease;
}

@media (min-width: 0) and (max-width: 575px) {
  .footer_careers .btn_careers,
  .inpage .btn-back {
    width: 100%;
  }
}

@media (min-width: 0) and (max-width: 1499px) {
  .footer_careers .btn_careers .fz-C,
  .inpage .btn-back .fz-C {
    font-size: 16px;
  }
}

.footer_careers .btn_careers:before,
.inpage .btn-back:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  background-image: url('../../images/new/layout/inpage_iconset.svg');
  background-size: auto 100%;
  background-position: 51.02% 0;
  width: 16px;
  height: 16px;
  transform: rotate(-180deg);
}

@media (min-width: 1500px) {
  .footer_careers .btn_careers:before,
  .inpage .btn-back:before {
    width: 18px;
    height: 18px;
  }
}

@media (min-width: 1800px) {
  .footer_careers .btn_careers:before,
  .inpage .btn-back:before {
    width: 20px;
    height: 20px;
  }
}

.footer_careers .btn_careers span,
.inpage .btn-back span {
  color: var(--color-btn-cart-text);
}

.footer_careers .btn_careers:hover,
.inpage .btn-back:hover,
.footer_careers .btn_careers:active,
.inpage .btn-back:active {
  background-color: var(--color-main);
}

.footer_map {
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  position: relative;
  height: var(--height-map-footer);
  min-height: var(--min-height-map-footer);
}

.footer_map iframe {
  width: 100%;
  padding: 0;
  margin: 0;
  height: 100%;
}

.footer_map img {
  height: 100%;
  width: auto;
}

.footer_careers {
  height: 29.42vw;
  min-height: 500px;
  background-size: cover;
  background-color: var(--color-bg-careers-footer);
}

.footer_careers .container_inside {
  height: 100%;
}

.footer_careers .item {
  display: flex;
  padding-top: var(--padding-top-careers-footer);
  padding-bottom: var(--padding-bottom-careers-footer);
  flex-wrap: wrap;
  height: 100%;
  width: 100%;
  position: relative;
}

.footer_careers .item .box {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.footer_careers .item .title {
  width: 100%;
  color: var(--color-text-careers-footer);
  font-family: var(--font-family);
  position: relative;
  align-self: center;
  padding-bottom: 1.125em;
  font-size: 14px;
  display: block;
  font-weight: bold;
}

@media (min-width: 1100px) {
  .footer_careers .item .title {
    font-size: 16px;
  }
}

@media (min-width: 1500px) {
  .footer_careers .item .title {
    font-size: 18px;
  }
}

@media (min-width: 1800px) {
  .footer_careers .item .title {
    font-size: 0.9375vw;
  }
}

.footer_careers .item .content {
  position: relative;
  width: 100%;
}

.footer_careers .item .content + .content {
  border-top: 1px solid var(--color-border-careers-footer);
  margin-top: 2.29vw;
  padding-top: 2.29vw;
}

@media (min-width: 740px) {
  .footer_careers .item .content h3 {
    font-size: 36px;
  }
}

.footer_careers .item .content h3 {
  color: var(--color-title-careers-footer);
  display: block;
}

@media (min-width: 980px) {
  .footer_careers .item .content h3 {
    width: 50%;
  }
}

@media (min-width: 1500px) {
  .footer_careers .item .content h3 {
    width: 35%;
  }
}

.footer_careers .item .content p {
  font-size: 14px;
  color: var(--color-text-careers-footer);
  display: block;
}

@media (min-width: 980px) {
  .footer_careers .item .content p {
    width: 50%;
  }
}

@media (min-width: 1500px) {
  .footer_careers .item .content p {
    width: 35%;
  }
}

.footer_careers .btn_careers {
  background-color: var(--color-btn-careers-bg-footer);
  flex-direction: row-reverse;
}

@media (min-width: 980px) {
  .footer_careers .btn_careers {
    position: absolute;
    right: 0;
    top: var(--padding-top-careers-footer);
    margin-top: 7.5em;
  }
}

@media (min-width: 980px) and (min-width: 1500px) {
  .footer_careers .btn_careers {
    margin-top: 5.5em;
  }
}

.footer_careers .btn_careers:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  background-image: url('../../images/new/layout/inpage_iconset.svg');
  background-size: auto 100%;
  background-position: 51.02% 0;
  transform: none;
}

.footer_careers .btn_careers span {
  color: var(--color-btn-careers-text-footer);
}

.footer_careers .btn_careers:hover,
.footer_careers .btn_careers:active {
  background-color: var(--color-btn-careers-hover-bg);
}

.footer_careers .btn_careers:hover span,
.footer_careers .btn_careers:active span {
  color: var(--color-btn-careers-hover-text);
}

/* inpage設定 */
.inpage {
  color: var(--color-text);
  line-height: 2em;
  font-family: var(--font-family);
}

@media (min-width: 2200px) {
  .inpage {
    font-size: 0.9375vw;
  }
}

@media (min-width: 980px) {
  .inpage.v3_border {
    position: relative;
  }
  .inpage.v3_border > section,
  .inpage.v3_border > div:not(.popup_gallery) {
    z-index: 2;
    position: relative;
  }
  .inpage.v3_border:after {
    content: '';
    display: block;
    height: 150vh;
    width: 1px;
    left: 30vw;
    top: var(--height-nav-md);
    z-index: 0;
    position: absolute;
  }
}

.inpage .container,
.inpage.container {
  max-width: 100% !important;
  padding-left: var(--pd-xs);
  padding-right: var(--pd-xs);
}

@media (min-width: 740px) {
  .inpage .container,
  .inpage.container {
    padding-left: var(--pd-md);
    padding-right: var(--pd-md);
  }
}

@media (min-width: 980px) {
  .inpage .container,
  .inpage.container {
    padding-left: var(--pd-lg);
    padding-right: var(--pd-lg);
  }
}

@media (min-width: 1500px) {
  .inpage .container,
  .inpage.container {
    padding-left: var(--pd-xxl);
    padding-right: var(--pd-xxl);
  }
}

.inpage .container_inside,
.inpage.container_inside {
  padding-left: var(--pd-inside-xs);
  padding-right: var(--pd-inside-xs);
}

@media (min-width: 740px) {
  .inpage .container_inside,
  .inpage.container_inside {
    padding-left: var(--pd-inside-md);
    padding-right: var(--pd-inside-md);
  }
}

@media (min-width: 980px) {
  .inpage .container_inside,
  .inpage.container_inside {
    padding-left: var(--pd-inside-lg);
    padding-right: var(--pd-inside-lg);
  }
}

@media (min-width: 1500px) {
  .inpage .container_inside,
  .inpage.container_inside {
    padding-left: var(--pd-inside-xxl);
    padding-right: var(--pd-inside-xxl);
  }
}

.inpage .img-group {
  margin-right: -15px;
  margin-left: -15px;
}

.inpage .img-group [class^='col-'] {
  padding-left: 15px;
  padding-right: 15px;
}

.inpage p {
  line-height: 2em;
  color: var(--color-text);
  font-size: 16px;
  text-align: justify;
  text-justify: distribute;
}

:lang(eng) .inpage p{
  text-align: initial;
}

@media (min-width: 2200px) {
  .inpage p {
    font-size: 0.9375vw;
  }
}
*,
*::before,
*::after {
  box-sizing: inherit;
}


