﻿@font-face {
font-family: "gennei";
  src: url("./Dup/img/gennei.ttf") format("ttf"),url("./Dup/img/gennei.eot") format("eot"),url("./Dup/img/gennei.woff") format("woff"),url("./Dup/img/gennei.woff2") format("woff2");
}
.font1,#page_title h2{font-family: "gennei","sans-serif";font-weight: normal;}

/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
header #header #main_menu li.page08_link a,#sc_menu li.page08_link a,#intro1,#intro1_wrap,#intro,#main_img,#contents_links,#contents,#contents > div{position: relative;}
/*リピートなし*/
header #header #main_menu li.page08_link a:before,#sc_menu li.page08_link a:before,#main_img:after,#intro1_wrap:before,#intro1_wrap:after,#intro .box_wrap .box > div:before,#contents > div:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}
/*リピートあり*/
footer:before,#main_img:before,#intro:before,#intro:after,#contents_links:before,#contents:after,#page_title:before{
content: "";
display: block;
position: absolute;
}


header #header #main_menu li.page08_link a:before,
#sc_menu li.page08_link a:before{
background-image: url(./Dup/img/icon1.png);
width: 40px;
height: 40px;
top: 10px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}



footer:before,#main_img:before,#intro:before,#intro:after,#contents_links:before,#contents:after,#page_title:before{
background-image: url(./Dup/img/border.png);
background-size: 500px;
width: 100%;
height: 15px;
left: 0;
}

footer:before,#intro:before{
top: -1px;
transform: scale(1, -1);
}
#main_img:before,#intro:after,#contents:after,#page_title:before{bottom: -1px;}
#contents_links:before{
bottom: -10px;
transform: scale(1, -1);
z-index: 4;
}

footer:before,#main_img:before,#contents:after,#page_title:before{z-index: 3;}


#main_img:after{
background-image: url(./Dup/img/catch.png);
background-size: 100%;
width: 53vw;
height: 43vw;
top:50%;
left: 0;
-ms-transform: translate(0,-50%);
-webkit-transform: translate(0,-50%);
transform: translate(0,-50%);
}

#intro1::before {
position: absolute;
content: "";
left: 0;
bottom: -80px;
width: 100%;
height: 150px;
background-image: url("./Dup/img/txt1.png");
background-size: 1700px;
background-position-y: 0;
background-position-x: 0;
background-repeat: repeat-x;
z-index: 1;
opacity: 0.15;
animation: loop 30s linear infinite;
}
@keyframes loop {
0% {background-position-x: 0;}
100% {background-position-x: -1700px;}
}

#intro1_wrap:before{
background-image: url(./Dup/img/obj4.png);
background-size: 100%;
width: 30vw;
height: 20vw;
top: -15px;
left: 0;
z-index: 3;
opacity: 0.5;
}
#intro1_wrap:after{
background-image: url(./Dup/img/obj5.png);
background-size: 100%;
width: 30vw;
height: 20vw;
bottom: -15px;
right: -5vw;
z-index: 3;
opacity: 0.5;
}

#intro .box_wrap .box > div:before{
background-size: 100%;
width: 7vw;
height: 7vw;
top: -6vw;
left: -4vw;
}
#intro .box_wrap .box:first-of-type > div:before{background-image: url(./Dup/img/obj1.png);}
#intro .box_wrap .box:last-of-type > div:before{background-image: url(./Dup/img/obj2.png);}

#contents > div:before{
background-image: url(./Dup/img/obj3.png);
width: 7vw;
height: 7vw;
top: -4vw;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
z-index: 4;
}
/*--------------------------------
全体
--------------------------------*/
#wrap{overflow: hidden;}

header #header #main_menu li.page08_link a,#sc_menu li.page08_link a{padding-top: 50px;}
#sub_menu.bg_color3{background-color: #ebd232;}

.passing .passing-bar {
    position: relative;
    display: inline-block;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.passing .passing-bar:before {
    content: '';
    display: inline-block;
    width: 0;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background: #fadc32;
}
.passing.move .passing-bar:before {
    -webkit-animation: passing-bar 1s ease 0s 1 normal forwards;
    animation: passing-bar 1s ease 0s 1 normal forwards;
}
.passing .passing-txt {
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
	padding: 5px 15px;
}
.passing.move .passing-txt {
    -webkit-animation: passing-txt 0s ease .5s 1 normal forwards;
    animation: passing-txt 0s ease .5s 1 normal forwards;
    background-color: #2a2922;
    color: #fff;
}
@-webkit-keyframes passing-bar{
	0% {left: 0;right: auto;width: 0;}
	50% {left: 0;right: auto;width: 100%;}
	51% {left: auto;right: 0;width: 100%;}
	100% {left: auto;right: 0;width: 0;}
}
@keyframes passing-bar{
	0% {left: 0;width: 0;}
	50% {left: 0;width: 100%;}
	51% {left: 0;width: 100%;}
	100% {left: 100%;width: 0;}
}
@-webkit-keyframes passing-txt{
	0% { opacity: 0; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes passing-txt{
	0% { opacity:0; }
	50% { opacity:0; }
	100% { opacity:1; }
}
/*--------------------------------
TOP
--------------------------------*/
#main_img{height: 89vh;overflow: hidden;}
#main_img .slick{margin-left: 0;}

#intro1 .con_txt_wrap{position: relative;z-index: 4;}

#intro{
background-image: url(./Dup/img/bg.jpg);
background-size: 30%;
}
#intro .box_wrap .box > div{margin: 0 auto;}

#contents::before{background-color: transparent;}
#contents .contents_txt{background-color: rgba(250,220,50,0.7);}

#contents_links .square_box a{background-color: rgba(45,65,140,0.5);}
#contents_links .square_box a:hover{background-color: rgba(45,65,140,0.2);}

/* 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
}
.topcms_news_type2 .box_img1 {
	border-radius: 10px;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}
/*--------------------------------
下層
--------------------------------*/
#page_title p{
border: none;
background-color: #2d418c;
}

/* 仕事を知る */
.slide_img .thumbnail .swiper-wrapper {
margin-left: 0!important;
transform: none!important;
}

/* 一日の流れ */
#cms_3-a .cate_box.border_color2{border-color: #afc0e9;}

#page07 .box.bg_color2:nth-of-type(even){background-color: #f7f7f7;}


@media screen and (max-width: 1280px){

#main_img {height: 70vh;}
#intro .box_wrap.width_80per{width: 90%!important;}

}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){

#main_img {height: 40vh;}
#intro1_wrap:before,#intro1_wrap:after{
width: 40vw;
height: 30vw;
}
#intro .box_wrap.width_80per{width: 100%!important;}
#intro .box_wrap .box > div:before{
width: 10vw;
height: 10vw;
top: -8vw;
}

#contents .logo{height: 300px;}
#contents .d_flex > div{padding: 0;}
#contents > div:before{
width: 10vw;
height: 10vw;
}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){

#main_img {height: 30vh;}

#intro1_wrap:before,#intro1_wrap:after{
width: 60vw;
height: 40vw;
}
#intro1::before{
background-size: 1000px;
height: 88px;
bottom: -60px;
animation: loop2 30s linear infinite;
}

#intro .box_wrap .box > div:before{
width: 70px;
height: 70px;
top: -57px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}

#contents .logo{height: 200px;}
#contents .d_flex > div{padding: 30px;}
#contents > div:before{
width: 70px;
height: 70px;
top: -37px;
}

}

@keyframes loop2{
0% {background-position-x: 0;}
100% {background-position-x: -1000px;}
}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #2d418c; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #2d418c;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #2d418c;}
.bg_color3 .linkStyle{color: #2d418c;}
.bg_color4 .linkStyle{color: #ebd232;}

/*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: #2D418C;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #ebf1ff;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #ebd232;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #f3f3f3;} /* アクセントカラー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: #2D418C;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #ebf1ff;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #FADC32;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #f3f3f3;} /* アクセントカラー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: #2D418C;}
.border_color2,.hvr_border_color2:hover{border-color: #ebf1ff;}
.border_color3,.hvr_border_color3:hover{border-color: #FADC32;}
.border_color4,.hvr_border_color4:hover{border-color: #f3f3f3;}