﻿:root{
    --titile: 2.5rem;
}
/* タブレット */
@media screen and (max-width: 768px){
    :root{
        --titile: 2rem;
    }
}
/* スマホ */
@media screen and (max-width: 667px){
    :root{
        --titile: 1.5rem;
    }
}

/*■■ main img ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.dec1{
    z-index: 0;
    opacity: 0.7;
    top: 0;
    right: 0;
    width: 40%;
}
#main_img{
    /* width: 80vw !important; */
    width: 100vw !important;
    margin: 0 auto;
    padding:0 10%;
}
.catch{
    position: relative;
/*     left: 50%;
transform: translate(-50%, 0%); */
    max-width: 670px;
    width: 80%;
    margin: 80px auto;
}
.c_pc{display:block;}
.c_sp{display:none;}


@media screen and (max-width: 1400px){
    .dec1{
        top:40px;
    }
}
@media screen and (max-width: 990px){
    #main_img{width: 80vw !important;padding:0 0%;}
    .dec1{
        top:-20px;
        opacity: 0.4;
        /* right: 50px; */
        width: 43%;
    }
}

/* タブレット */
@media screen and (max-width: 768px){
    #main_img{
        padding-top: 0!important;
        width: 100vw !important;
    }
    .dec1{width: 48%;}
    .catch{width: 70%;}
}
/* スマホ */
@media screen and (max-width: 667px){
    .c_pc{display:none;}
    .c_sp{display:block;}
    .catch{
        width: 100%;
        margin: 40px auto 60px;
    }
    .dec1{display: none;}


}

/*■■ top ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
header{
    position: fixed!important;
    top: 0;
    left: 0;
    z-index: 10;
}


.title{
    font-size: var(--titile);
    color: var(--black);
}
#top_contents1{}

#top_contents2{
    padding: 0;
}

#top_contact_box .btn_text {width: 220px;}
#top_contact_box .bg_color3{
    background-color: var(--color4);
}
#top_contact_box .top .box.bg_color3 .txt_white{
    color: var(--black);
}
#top_contact_box .tel_bt,#top_contact_box .con_bt{
    background-color: var(--color1);
    border: 2px sold var(--color1);
}
#top_contact_box .tel_bt:hover,#top_contact_box .con_bt:hover{
    background-color: var(--color2);
    border: 2px sold var(--color1);
}

#top_contact_box .tel_bt a{
    margin: 0 auto;
    padding: 0;
}
#top_contact_box .con_bt a{}

.top_cms_title{
    margin-bottom: 80px;
}

/* タブレット */
@media screen and (max-width: 768px){
    .top_cms_title{
    margin-bottom: 50px;
    }
    #top_contact_box .btn_text {width: 100%;}
}
/* スマホ */
@media screen and (max-width: 667px){
    #top_contact_box .btn_text {width: 100%;}
}


/*■■ all ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#fix_menu{display: none;}
#wrap{padding-right: 0;}
.contact_box .eigyo{
    font-weight: bold;
    line-height: 1;
    padding: 1px 13px 0px;
    color: #858585;
    border-left: 2px solid var(--color2);
    margin: 6px 0 0 10px;
}
header{background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;}
#header{
    width: calc(96% - 200px);
    margin-right: 0;
    margin-left: auto;
    padding: 0 3% 5px;
}
#header-nav {margin-top: 20px;}
#header-nav ul li{
    padding-bottom: 10px;
    margin-left: 30px;
}
#header .contact_box{}

#header .mail_bt a{
    padding: 6px 23px;
    line-height: 1.4;
    text-align: center;
}
#header .mail_bt a{font-size:1rem}
#header .mail_bt a span{
    font-size:0.8rem;
    text-align: center;
}
    .eigyo .small{
        display: block;
        font-size: 0.8em;
        line-height: 1.6;
        padding-right: 9px;
        font-weight: normal;
    }

#logo{
    width: 240px;
    margin-left: 2%;
}
#logo h1.logo img,#logo h1.logo{width: 100%!important;}

main{padding-top: 120px;}



#footer::before{background: #f5f5f5;}
#footer .txt_white{color: var(--black);}

@media screen and (max-width: 1400px){
    #header{width: 820px;}
}
@media screen and (max-width: 1100px){
    #header{width: calc(100vw - 300px);;}
}
@media screen and (max-width: 990px){
    .h_contents{display: none;}
    #fix_menu{display: block;}
}
/* タブレット */
@media screen and (max-width: 768px){
    #fix_menu{display: block;}
    main{padding-top: 100px;}
    #logo h1.logo{max-width: 250px;}
    
}
/* スマホ */
@media screen and (max-width: 667px){
    main{padding-top: 80px;}
    #logo{
        width: calc(100vw - 70px) !important;
        margin-top: 3px;
    }
}

/*■■ 下層ページ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.cate_title,.cate_title h3{
    font-size: 2rem;
    font-weight: bold;
    padding-left: 0;
    padding-right: 0;
}
.box_title1 {
    color:var(--black);
    font-weight: bold;
    border-color: var(--color1);
}
.cate_box {padding: 0;}
.cate{}
#page_title{
    margin-bottom: 50px;
}

#page_title .title_box{
    bottom: -50px;
    border-top: none;
    padding: 10px 80px;
    text-align: center;
}

#cms_2-g .box_wrap {
    margin-top: 0;
}
#cms_2-g .cate_title{padding-left: 30px;}
#cms_2-g .cate_title_wrap::before{display: none;}
#cms_4-b .cate_txt1{padding: 0 0 50px;}
#cms_4-b .box_title1{
    font-weight: normal;
    color: var(--gray);
}
#cms_4-b .box_img1, #cms_4-b .box_img1 a img,.cms_4-b .box_img1 a img{
    transition: all 0.3s;
}
#cms_4-b .cate_box,.cms_4-b .cate_box{
    box-sizing: border-box;
    padding: 2px;
    margin: 0;
}

#cms_7-a .cate_box{padding: 20px 0;}

.bnr{
    width: 50%;
    margin: 10px auto 60px;
}

/* タブレット */
@media screen and (max-width: 768px){
    #fix_menu{display: block;}
    #page_title{
        margin: 0!important;
    }
    #page_title .title_box{
        bottom: -30px;
        margin-bottom: 110px;
    }
}
/* スマホ */
@media screen and (max-width: 667px){
    #page_title .title_box{
        bottom: 0;
        margin-bottom: 50px;
        padding: 10px 3%;
    }
    #page_title .title_box{width: 70% !important;}
   
   .cate_title, .cate_title h3{font-size: 1.5rem;}
   
   #contact_tel a{    padding: 30px 0;}
   
   .bnr{width: 100%;}
}

/*■■ flow ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.flow_type3 .cate{counter-reset: box;}
.flow_type3 .cate_box{counter-increment: box;}
.flow_type3 .box_item{padding-top: 60px;}
.flow_type3 .box_title1{z-index: 0}
.flow_type3 .box_title1::before, .flow_type3 .box_title1::after{
	position: absolute;
	content: "";
	display: block;
	pointer-events: none
}
.flow_type3 .box_title1::before {
	content: "0"counter(box);
	font-size: 86px;
	color: var(--color2);
	right: 0;
	top: -49px;
	z-index: -1;
}
.flow_type3 .box_title1::after{
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color:var(--color2)
}
.top_cms_box .flow_type3{
    align-items: stretch
}
.top_cms_box .flow_type3 .cate_box{
    margin-top: 0px;
    width: 25%;
    box-sizing: border-box;
    padding: 0 2%;
}
/* タブレット */
@media screen and (max-width: 768px){
    .top_cms_box .flow_type3 .cate_box{
        width: 50%;
        margin-top: 40px;
    }
}

/*-------- スマートフォン --------*/
@media screen and (max-width: 667px){
    .flow_type3 .box_title1::before{
    	left: auto;
    	right: 0;
    	top: -50px
    }
    .flow_type3 .box_item {
        padding-top: 36px;
    }
    .top_cms_box .flow_type3 .cate_box{width: 100%;}
}



/*■■ loopSlider ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/* ---------- loopSlider ---------- */
.loopSliderWrap{
    top: 0;
    left: 0;
    height: 300px;
}
.loopSlider {
    margin: 0 auto;
    height: 300px;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.loopSlider .ul {
    height:300px;
    float: left;
    overflow: hidden;
}
.loopSlider .ul .li {
    width: auto;
    height: 300px;
    aspect-ratio: 4/3;
    float: left;
    display: inline;
    overflow: hidden;
	position: relative;
	box-sizing: border-box;
	padding: 0;
}
.loopSlider .ul .li img{
    border-radius: 0;
}
.loopSliderWrap:after {
    content: "";
    display: none;
    clear: none;
}

@media screen and (max-width: 768px){
#top_conveyor,.loopSliderWrap,.loopSlider,.loopSlider .ul,.loopSlider .ul .li{
	height: 280px;
}
.loopSlider .ul .li{}
#top_conveyor {
    padding-bottom: 0;
    padding-top: 0;
}
}
@media screen and (max-width: 667px){
#top_conveyor,.loopSliderWrap,.loopSlider,.loopSlider .ul,.loopSlider .ul .li{
	height: 170px!important;
}
.loopSlider .ul .li{}

}