/* Keep the desktop navigation compact, then switch to the mobile menu before it clips. */
@media only screen and (min-width:1061px) and (max-width:1250px){
	.header .headerInner{padding-right:2%;padding-left:2%}
	.header .logo{flex-basis:170px}
	.header .navBox{flex-basis:760px}
	.header .gNav{font-size:13px}
	.header .gNav>li:not(:last-child){margin-right:9px}
	.header .gNav a,.header .gNav span{padding-right:3px;padding-left:3px}
}

@media only screen and (min-width:1061px){
	.header .childCompany,.header .childPickup,.header .childShowroom,.header .childRecurit{position:fixed;top:117px;right:auto;left:50%;transform:translateX(-50%)}
	.header .childCompany{width:460px}
	.header .childPickup{width:390px}
	.header .childShowroom{width:980px}
	.header .childRecurit{width:620px}
}

@media only screen and (min-width:768px) and (max-width:1060px){
	.header{position:absolute;min-width:0;background:#191919}
	.largeHeader .header,.fixHeader .header{background:#191919}
	.header .headerInner{min-width:0;max-width:none;height:76px;padding:0 28px}
	.header .logo{flex:0 0 184px}
	.header .navBox{position:fixed;z-index:1000;top:0;left:0;display:none;overflow-y:auto;width:100%;height:calc(100vh - 68px);padding:0 0 32px;background:#fff}
	.header .menuOpen{display:block;animation:menuFadeIn .3s linear 0s 1 forwards;opacity:1}
	.header .menuClose{animation:menuFadeOut .3s linear 0s 1 forwards}
	.header .gNav{display:block;height:auto;margin:0;padding:0;font-size:18px;font-weight:300}
	.header .gNav a,.header .gNav span{display:block;padding:20px 28px;color:#191919}
	.header .gNav a::before,.header .gNav a:hover::before,.header .gNav .paprent span::before,.header .gNav .parentOpen::before{display:none}
	.header .gNav>li{border-bottom:1px solid #bfbfbf}
	.header .gNav>li:not(:last-child){margin-right:0}
	.header .gNav .paprent svg{position:absolute;top:50%;right:28px;display:block;width:20px;transform:translateY(-50%);fill:none;stroke:#000;stroke-linejoin:round;stroke-width:2px}
	.header .gNav .spParentOpen svg line:last-child{stroke:none}
	.header .child{position:static;display:none;width:100%;transform:none;background:#f6f6f6}
	.header .child::before,.header .child::after{display:none}
	.header .child ul{display:block;height:auto}
	.header .child a{font-size:16px;color:#191919}
	.header .childShowroom,.header .childCompany,.header .childPickup,.header .childRecurit{right:auto;left:auto;width:100%;transform:none}
	.header .navBoxTop{margin:32px 0 0;flex-flow:row-reverse;justify-content:center}
	.header .translator{margin:0}
	.header .snsList li{margin:0 0 0 24px}
	.fixSpMenu{position:fixed;z-index:999;bottom:0;left:0;display:block;width:100%}
	.fixSpMenu ul{display:flex;width:100%;height:68px;border-top:1px solid #fff}
	.fixSpMenu ul li{flex:0 1 25%;background:rgba(26,26,26,.92)}
	.fixSpMenu ul li:not(:last-child){border-right:1px solid #fff}
	.fixSpMenu ul li a,.fixSpMenu ul li button{display:flex;width:100%;height:100%;align-items:center;flex-flow:column;justify-content:center;color:#fff}
	.fixSpMenu ul li a::before,.fixSpMenu ul li button::before{display:block;width:27px;height:24px;margin-bottom:5px;content:"";background-repeat:no-repeat;background-position:center;background-size:contain}
	.fixSpMenu ul .top a::before{background-image:url('../../img/home_icon.png')}
	.fixSpMenu ul .tel a::before{background-image:url('../../img/tel_icon.png')}
	.fixSpMenu ul .mail a::before{background-image:url('../../img/mail_icon.png')}
	.fixSpMenu ul .menu button{position:relative}
	.fixSpMenu ul .menu button::before{background-image:url('../../img/menu_icon.png')}
	.fixSpMenu ul .menu button::after{position:absolute;top:11px;left:50%;width:27px;height:24px;content:"";transform:translateX(-50%);opacity:0;background:url('../../img/menu_icon_close.png') no-repeat center/contain}
	.fixSpMenu ul .menu .open{background-color:#606060}
	.fixSpMenu ul .menu .open::before{opacity:0}
	.fixSpMenu ul .menu .open::after{opacity:1}
	.fixSpMenu ul a,.fixSpMenu ul button{font-size:12px;font-weight:300;padding:0;border:0;outline:0;background:none}
	.footer{padding-bottom:84px}
}

@media only screen and (max-width:1060px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
	.header .headerInner{height:18.66667vh;padding:0 4vh}
	.header .logo{flex:0 0 36.53333vh}
	.home .fixSpMenu{display:none}
	.homePage .firstView::before{display:none}
	.homePage .firstView video{display:none}
	.homePage .firstView .spSlide .swiper-slide{height:100vh;background-repeat:no-repeat;background-position:center;background-size:cover}
	.homePage .firstView .spSlide .slide1{background-image:url('../../img/home/sp_slide1.jpg')}
	.homePage .firstView .spSlide .slide2{background-image:url('../../img/home/sp_slide2.jpg')}
	.homePage .firstView .spSlide .slide3{background-image:url('../../img/home/sp_slide3.jpg')}
	.homePage .firstView .fvLead{position:absolute;z-index:4;top:34%;left:5vw;width:42vw}
	.homePage .firstView .fvLead .mugen{position:static;width:42vw;margin:0;transform:none}
	.homePage .firstView .fvLead .contactCta--fv{position:relative;top:auto;right:auto;left:auto;width:38vw;max-width:none;margin:40px 0 0}
	.homePage .firstView .scroll{display:none}
	.homePage .firstView .banner{top:calc(34% + 4.11vw + 40px);right:4vw;bottom:auto;width:46vw;min-height:0;padding:2.5vh 2vw;transform:none;background:url('../../img/home/sp_slide_back.png') no-repeat center/cover}
	.homePage .firstView .banner .bannerSlide{width:100%;margin:0 auto}
	.homePage .firstView .banner .swiper-slide a{display:flex;align-items:center;min-height:0;background:rgba(255,255,255,.72)}
	.homePage .firstView .banner .swiper-slide .img{flex:0 0 18vw}
	.homePage .firstView .banner .swiper-slide .inner{flex:1;padding:2vh 2vw;text-align:left}
	.homePage .firstView .banner .swiper-slide p{font-size:clamp(12px,1.7vw,17px)}
	.homePage .firstView .banner .swiper-slide .logo{width:13vw;margin:0 auto 1.5vh}
	.homePage .firstView .banner .slideHs .logo{width:18vw;margin:0 auto 2vh}
	.homePage .firstView .banner .slideHs p{text-align:center}
	.homePage .firstView .banner .swiper-pagination{margin-top:1.5vh}
}
