﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#intro{position: relative;}
/*リピートなし*/
#main_img .img,#main_img .catch,#intro:before,#intro:after{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#main_img{overflow: hidden;}
#main_img .img{
background-image: url(./Dup/img/main.png);
background-size: 100%;
width: 1000px;
height: 1000px;
bottom: -60px;
right: 5%;
z-index: 1;
}
#main_img .catch{
background-image: url(./Dup/img/catch.png);
background-size: 100%;
width: 37vw;
height: 19vw;
top: 25%;
left: 7%;
z-index: 1;
}

#intro:before{
background-image: url(./Dup/img/intro1.png);
background-size: 100%;
width: 27vw;
height: 18vw;
top: 0;
left: 0;
z-index: -1;
}
#intro:after{
background-image: url(./Dup/img/intro2.png);
background-size: 100%;
width: 27vw;
height: 18vw;
bottom: -8vw;
right: 0;
z-index: -1;
}
/*--------------------------------
全体
--------------------------------*/
body{overflow: hidden;}
#wrap.top:before{
	content: "";
	display: block;
	background-image: url(./Dup/img/dotte2.png), url(./Dup/img/dotte2.png), url(./Dup/img/dotte2.png), url(./Dup/img/dotte2.png), url(./Dup/img/dotte2.png);
	background-repeat: repeat-y;
	background-position: 0,25%,50%,75%,100%;
	width: 80%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 50%;
	-ms-transform: translate(-50%,0);
	-webkit-transform: translate(-50%,0);
	transform: translate(-50%,0);
	opacity: 0.3;
}

footer{position: relative;}
.footer_nav.bg_color3{background-color: #f0f5fa;position: relative;}
.footer_nav a{color: #3c78c3;}

#page_top{right: 0;}
#page_top a{color: #005aa5;}
#page_top.trans a{color: #ffffff;}
#page_top .scroll_u .scroll_bar{background-color: #28aae1;}

.fix_banner{
width: 300px;
position: fixed;
bottom: -10px;
right: 0;
z-index: 5;
}
/*--------------------------------
TOP
--------------------------------*/
/* 花イチ工業株式会社で働く魅力 */
#appeal .txt_wrap .con_box {
    width: calc(20% - 16px);
    max-width: 245px;
    margin-right: 20px;
    box-sizing: border-box;
}
#appeal.box2 .txt_wrap .con_box {
    width: calc(33% - 16px);
}
#appeal .txt_wrap .con_box:last-of-type {
    margin-right: 0;
}
.fadeIn_box .con_box{
    opacity: 0;
}
#appeal .con_img {
    border-radius: 30px;
}
#appeal .con_txt{font-size: 14px;}

@media screen and (max-width: 768px){
#appeal .txt_wrap .con_box {
    width: calc(33% - 12px);
    margin-bottom: 30px;
}
#appeal.box2 .txt_wrap .con_box{width: calc(32% - 16px);}

}
@media screen and (max-width: 667px){
#appeal .txt_wrap .con_box {
    width: 80%;
    margin-right: 0;
}
#appeal .con_title h3:before {
    bottom: -15px;
}
}

#con1{margin-bottom: -100px;}
#con2 .con_img{
    height: 400px;
}
#con3{margin-top: -100px;}

/* ---------- loopSlider ---------- */
#topcms_gallery_type1 .loopSliderWrap{
    top: 0;
    left: 0;
    height: 450px;
}
#topcms_gallery_type1 .loopSlider {
    margin: 0 auto;
    height: 450px;
    text-align: left;
    position: relative;
    overflow: hidden;
}
#topcms_gallery_type1 .loopSlider .ul {
    height:450px;
    float: left;
    overflow: hidden;
}
#topcms_gallery_type1 .loopSlider .ul .li {
    width: 450px;
    height: 450px;
    float: left;
    display: inline;
    overflow: hidden;
	position: relative;
	box-sizing: border-box;
	padding: 0;
}
#topcms_gallery_type1 .loopSlider .ul .li img{
    border-radius: 0;
}
#topcms_gallery_type1 .loopSliderWrap:after {
    content: "";
    display: none;
    clear: none;
}

@media(max-width: 768px) {
#topcms_gallery_type1,#topcms_gallery_type1 .loopSliderWrap,#topcms_gallery_type1 .loopSlider,#topcms_gallery_type1 .loopSlider ul,#topcms_gallery_type1 .loopSlider .ul .li{
	height: 280px;
}
#topcms_gallery_type1 .loopSlider .ul .li{
    width: 280px;
}
#topcms_gallery_type1 {
    padding-bottom: 0;
    padding-top: 0;
}
}
@media(max-width: 667px) {
#topcms_gallery_type1,.loopSliderWrap,.loopSlider,.loopSlider .ul,.loopSlider .ul .li{
	height: 179px!important;
}
#topcms_gallery_type1 .loopSlider .ul .li{
    width: 179px;
}
}

/* TOP お知らせ */
.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}
/*--------------------------------
下層
--------------------------------*/

@media  screen and (max-width: 1280px){

#main_img .img{right: -5%;}
#con2.pd_l-r10per {
padding-left: 5%;
padding-right: 5%;
}

}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){

.fix_banner{width: 250px;}

#main_img .img{
width: 65vw;
height: 65vw;
bottom: -30px;
right: -2%;
}

#intro:before{
width: 43vw;
height: 30vw;
top: -25px;
left: -30px;
}
#intro:after{
width: 43vw;
height: 30vw;
bottom: -30vw;
right: 0;
}

#con1{margin-bottom: 100px;}
#con2 .con_img{height: 300px;}

.page_container.pd_r-100px{
padding-right: 5%;
padding-left: 5%;
}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){

.fix_banner{
width: 55px;
bottom: 66px;
}

#intro:before,#intro:after{
width: 60vw;
height: 45vw;
}
#intro:after{bottom: -45vw;}

#appeal .txt_wrap .con_box{width: 100%;}
#con1{margin-bottom: 50px;}

}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #3C78C3; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #3C78C3;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #3C78C3;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #14A541;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------------
カラー
--------------------------------*/
body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: #333333;}
.txt_black,.hvr_txt_black:hover{color: black;}
.txt_white,.hvr_txt_white:hover{color: white;}
.txt_red,.hvr_txt_red:hover{color: red;}
.txt_color1,.hvr_txt_color1:hover{color: #3c78c3;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #f0f5fa;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #14a541;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #f9f9f9;} /* アクセントカラー2 */

/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: white;} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: black;} /* 黒背景 */
.bg_color1,.hvr_bg_color1:hover{background-color: #3c78c3;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #f0f5fa;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #14a541;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #f9f9f9;} /* アクセントカラー2 */
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}

/* border-color */
.border_white,.hvr_border_white:hover{border-color: white;}
.border_black,.hvr_border_black:hover{border-color: black;}
.border_color1,.hvr_border_color1:hover{border-color: #3c78c3;}
.border_color2,.hvr_border_color2:hover{border-color: #f0f5fa;}
.border_color3,.hvr_border_color3:hover{border-color: #14a541;}
.border_color4,.hvr_border_color4:hover{border-color: #f9f9f9;}


/*--------------------------------
debug 2022.08.30
--------------------------------*/
/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
#page_top a{
    width: 50px;
    height: 50px;
    z-index: 99;
}
#main_img .catch {
    width: 49vw;
    height: 25vw;
    top: 15%;
}
}