@charset "utf-8";

/* Shared viewport corrections and intrinsic-element exceptions. General wide-screen
   geometry is compiled into fluid-desktop.css; see tools/README.md for maintenance. */

/* Replaced/intrinsic elements need their own wide-screen rules. */
@media screen and (min-width:1920.01px) {
    html .section-honors .section-swiper .swiper-slide > .item {width:100%;min-width:0;}
    /* Preserve the map's 1920 x 432 CSS viewport, including its internal UI.
       Only this embedded frame scales; the page continues normal fluid layout. */
    html .page-contact-us .map {height:calc(432 * var(--desktop-unit));overflow:hidden;}
    html .page-contact-us .map iframe {width:1920px;height:432px;max-width:none;transform:scale(var(--desktop-scale,1));transform-origin:0 0;}
}

/* Correct the small factory carousel overflow without clipping slide effects. */
@media screen and (max-width:620px) {
    .factory-photo-gallery .swiper-button-next {right:0;}
    .factory-photo-gallery .swiper-button-prev {left:0;}
}

/* On tablets, let the existing footer columns determine the background height. */
@media screen and (min-width:720.01px) and (max-width:1024px) {
    .index_footer .index_footer_bg {position:absolute;inset:0;height:100%;}
    .index_footer .index_footer_bg img {height:100%;object-fit:cover;}
    .index_footer .footer_content {position:relative;height:auto;}
    .index_footer .footer_under {height:auto;}
    .footer_copyright {margin-top:0;}
}

/* Constrain authored content and form controls within their existing columns. */
@media screen and (max-width:1024px) {
    .article img,.article video,.article iframe,.map iframe {max-width:100%;}
    .article img {height:auto;}
    .article table {display:block;max-width:100%;overflow-x:auto;}
    .article,.page-contact-us .con,.footer_under_left_list_img_content {overflow-wrap:anywhere;}
    .touch-form .form-input,.touch-form .form-content,.form-under_left {min-width:0;}
    .touch-form input:not([type=checkbox]):not([type=radio]),.touch-form textarea {max-width:100%;}
}
