﻿@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{font-family: "gennei","sans-serif";}
/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#intro,#contents_links,#cms,.page_wrap,#cms_2-c .cate_title{position: relative;}
/*リピートなし*/
footer:before,#intro:before,#contents_links:before,#contents_links:after,
#contents:after,#cms:before,#cms:after,.page_wrap:before,.page_wrap:after,#cms_2-c .cate_title:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}


footer:before{
background-image: url(./Dup/img/border.png);
background-size: 500px;
background-repeat: repeat-x;
width: 100%;
height: 15px;
left: 0;
}
footer:before{
top: -10px;
transform: scale(1, -1);
z-index: 2;
}

#intro:before{
background-image: url(./Dup/img/obj2.png);
background-size: 100%;
width: 41vw;
height: 62vw;
top: 0;
right: 0;
opacity: 0.1;
}
#contents_links:before{
background-image: url(./Dup/img/obj1.png);
width: 100%;
height: 120px;
top: -110px;
}
#contents_links:after{
background-image: url(./Dup/img/obj1.png);
width: 100%;
height: 120px;
bottom: -110px;
transform: scale(-1, -1);
z-index: 4;
}
#contents:after{
background-image: url(./Dup/img/obj1.png);
width: 100%;
height: 120px;
bottom: -10px;
z-index: 4;
}
#cms:before,.page_wrap:before{
background-image: url(./Dup/img/obj2.png);
background-size: 100%;
width: 19vw;
height: 29vw;
top: 3%;
right: 1%;
opacity: 0.05;
pointer-events: none;
}
#cms:after,.page_wrap:after{
background-image: url(./Dup/img/border.png);
background-size: 500px;
background-repeat: repeat-x;
width: 100%;
height: 15px;
top: -10px;
left: 0;
z-index: 1;
}

#cms_2-c .cate_title{padding-left: 40px;}
#cms_2-c .cate_title:before{
background-image: url(./Dup/img/obj4.png);
width: 30px;
height: 30px;
top: 7px;
left: 0;
}
/*--------------------------------
全体
--------------------------------*/
#wrap{background-image: url(./Dup/img/bg.jpg);background-size: 70%;}
#sub_menu.bg_color3{background-color: #333;}
h1 img,#sc_menu .logo img{max-width: 300px;}
/*--------------------------------
TOP
--------------------------------*/
#video{ height: 88vh; }
#video video{
width: auto!important;
height: 100%;
top: 50%;
left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
#main_img #catch{background-color: rgba(5,135,205,0.8);}
#main_img #catch h2{
font-size: 70px;
top: 55px;
border: none;
text-shadow:none;
line-height: 1.5;
}
#main_img .img{margin-left: 20%;}

#intro{background-color: #efefef;}
#contents .d_flex > div{padding: 200px 100px;}
#contents .contents_txt{background-color: transparent;}
/*--------------------------------
下層
--------------------------------*/
#page_title::after{background-color: rgba(0,35,85,0.4);}
#page07 .box:nth-of-type(odd){background-color: transparent;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
#cms_5-b .cate_box .arrow, .cms_5-b .cate_box .arrow{margin-top: -11px;}
}

/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
#video{ height: 40vh; }
#video video{
width: 100%!important;
height: auto;
}
#main_img #catch{width: 90%;}
#main_img #catch h2{
font-size: 45px;
top: 0;
transform: translateY(0px);
}
#main_img #catch h2 span{padding: 30px;}
#main_img .img{margin: 0 auto;}

#intro:before{
width: 73vw;
height: 111vw;
}
#contents .d_flex > div{padding: 100px;}
#contents .d_flex > div:first-of-type{padding-bottom: 0;}
#contents .d_flex > div:last-of-type{padding-top: 0;}
#cms:before, .page_wrap:before{
width: 30vw;
height: 46vw;
}
}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
h1{width: 60%;}

#video{ height: 31vh; }
#main_img #catch h2{font-size: 28px;letter-spacing: 0px;}
#main_img #catch h2 span{padding: 30px 0;}
#intro .box_wrap .box > div{margin: 0 auto;}
#contents .d_flex > div{padding: 30px;}

#page_title > div > div{padding: 50px 0;}
#cms:before, .page_wrap:before{
width: 43vw;
height: 65vw;
}
}

/*--------------------------自動リンク--------------------------*/
/* color */
.linkStyle{color: #79ca2e; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #79ca2e;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #0587cd;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #79ca2e;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------カラー--------------------------*/
body,.txt_color_nomal{color: #333333;}
.txt_white{color: white;}
.txt_red{color: red;}
.txt_color1{color: #0587cd} /* メインカラー */
.txt_color2{color: #e2f1f9} /* サブカラー */
.txt_color3{color: #79ca2e} /* アクセントカラー1 */
.txt_color4{color: #f2f2f2} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: #333;} /* 黒背景 */
.bg_color1{background-color: #0587cd} /* メインカラー */
.bg_color2{background-color: #e2f1f9} /* サブカラー */
.bg_color3{background-color: #79ca2e} /* アクセントカラー1 */
.bg_color4{background-color: #f2f2f2} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_color1{border-color: #0587cd}
.border_color2{border-color: #e2f1f9}
.border_color3{border-color: #79ca2e}
.border_color4{border-color: #f2f2f2}


/* hover ---------------------------------------------------------------------------------------------*/
/* color */
.hvr_txt_color_nomal:hover{color: #333333;}
.hvr_txt_white:hover{color: white;}
.hvr_txt_red:hover{color: red;}
.hvr_txt_color1:hover{color: #0587cd} /* メインカラー */
.hvr_txt_color2:hover{color: #e2f1f9} /* サブカラー */
.hvr_txt_color3:hover{color: #79ca2e} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #f2f2f2} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #0587cd} /* メインカラー */
.hvr_bg_color2:hover{background-color: #e2f1f9} /* サブカラー */
.hvr_bg_color3:hover{background-color: #79ca2e} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #f2f2f2} /* アクセントカラー2 */
.hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #0587cd}
.hvr_border_color2:hover{border-color: #e2f1f9}
.hvr_border_color3:hover{border-color: #79ca2e}
.hvr_border_color4:hover{border-color: #f2f2f2}