﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img,#intro{position: relative;}
/*リピートなし*/
#main_img:after{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}
/*リピートあり*/
#intro:before{
content: "";
display: block;
position: absolute;
}

#main_img:after{
background-image: url(./Dup/img/catch2.png);
background-size: 100%;
width: 30vw;
height: 8vw;
top: 20vw;
left: 3vw;
z-index: 3;
}

#intro::before{
left: 0;
bottom: -175px;
width: 100%;
height: 100px;
background-image: url("./dup/img/txt1.png");
background-size: 1500px;
background-position-y: 0;
background-position-x: 0;
background-repeat: repeat-x;
animation: loop 60s linear infinite;
z-index: 1;
opacity: 0.1;
}
@keyframes loop {
	0% {background-position-x: 0;}
	100% {background-position-x: -1500px;}
}
/*--------------------------------
全体
--------------------------------*/
#wrap{background-color: #ffffff;}
#header{color: #5d5d5d;padding-bottom: 100px;}
#header h1 img{width: 400px!important;}
#pc_nav{top: 140px;}
#sp_nav li a{color: #ffffff!important;}
.sp_contact_bt .bg_color5{background-color: #ffffff;}
.sp_contact_bt .txt_white{color: #c20f0f;}

#header .contact_bt a:hover,#pc_nav .contact_bt a:hover{background-color: #C20F0F;}

#footer{text-shadow: none;}
#footer .con_img{background-color: #f1f1f1;}
#footer figure.opacity03{opacity: 0.1;}
#page-top .scroll_u span{background-color: rgba(195,15,15,0.5);}

#copyright a{color: #333;}
.fix_banner{
width: 300px;
position: fixed;
bottom: -10px;
right: 0;
z-index: 5;
}

.more a::before{
border-top: solid 1px #b90014;
border-right: solid 1px #b90014;
}
.more a::after{
border-bottom: solid 1px #b90014;
border-left: solid 1px #b90014;
}
/*--------------------------------
TOP
--------------------------------*/
#main_img .bg_box{background-color: transparent;}

#intro .banner p{
width: 100%;
max-width: 400px;
box-sizing: border-box;
}
#contents2 .con_box{
width: calc(33% - 50px);
margin-right: 50px;
box-sizing: border-box;
}
#contents2 .con_box:last-of-type{margin-right: 0;}
#contents2 .con2_img::before{color: #f6f6f6;height: 35%;}
#top_cms .more a::before{
border-top: solid 1px #c20f0f;
border-right: solid 1px #c20f0f;
}
#top_cms .more a::after{
border-bottom: solid 1px #c20f0f;
border-left: solid 1px #c20f0f;
}
#top_cms .more a:hover{background-color: rgba(195,15,15,0.1);}

#top_cms .date{color: #c20f0f;}

/* 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}
}

#top_info .con_box,.map_w .con_box{
width: calc(50% - 20px);
box-sizing: border-box;
}
.map_wrap iframe{margin-top: 0;height: 500px;}
/*--------------------------------
下層
--------------------------------*/
#under_page .under_box{background-color: #ebebeb;}
#under_page .map_w{height: auto;}
#page_title{color: white;}
#page_title img.opacity02{opacity: 0.7;}
.cate_list li a{color: #333;}
.pager li a{color: #b90014;}
.pager li.prev a:hover, pager li.next a:hover{border-bottom: solid 1px #b90014;}
.pager li:not(.prev):not(.next) a{
background-color: transparent;
border: solid 1px #b90014;
}
.pager li:not(.prev):not(.next) a:hover{
background-color: #b90014;
color: #ffffff;
}

/* 求人データ */
.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: #ebebeb;
	left: 0;
	top: -70px;
	z-index: -1;
}
.flow_type3 .box_title1::after{
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #222
}
/*-------- スマートフォン --------*/
@media screen and (max-width: 667px){
.flow_type3 .box_title1::before{
	left: auto;
	right: 0;
	top: -50px
}
.flow_type3 .box_item {
    padding-top: 36px;
}
}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){

#header .contact_bt, .sp_contact_bt{top: 35px;}
header .menu_stick{top: 50px;}
#sp_nav li a:hover .en{opacity: 0.7;}
#sp_nav li a .jp{display:none;}

.fix_banner{width: 250px;}

#main_img:after{
width: 45vw;
height: 11vw;
top: 45vw;
left: 4vw;
}
#contents2 .con_box{
width: 100%;
margin-right: 0;
margin-bottom: 50px;
}
#contents2 .con_box:last-of-type{margin-right: 0;}

#top_info .con_box,.map_w .con_box{
width: 80%;
margin: 0 auto 100px;
}
#top_banner a .banner_bg{opacity: 0.8;}
.map_wrap iframe{height: 400px;}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
#header .contact_bt, .sp_contact_bt{
top: auto;
bottom: 0;
}
header .menu_stick{top: 40px;}
#header h1 img{width: 270px!important;}
.sp_contact_bt{display: none;}

.fix_banner{
width: 55px;
bottom: 0;
}

#main_img:after{top: 64vw;}
#top_info .con_box,.map_w .con_box{
width: 90%;
margin: 0 auto 50px;
}
.map_wrap iframe{height: 300px;}

#page_title h2{font-size: 26px;}

}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #b90014; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #b90014;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------------
カラー
--------------------------------*/
body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: #333333!important;}
.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: #b90014;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #ffffff;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #1A1A1A;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #f6f6f6;} /* アクセントカラー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: #b90014;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #ffffff;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #1A1A1A;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #f6f6f6;} /* アクセントカラー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: #b90014;}
.border_color2,.hvr_border_color2:hover{border-color: #ffffff;}
.border_color3,.hvr_border_color3:hover{border-color: #1A1A1A;}
.border_color4,.hvr_border_color4:hover{border-color: #f6f6f6;}