﻿@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";}
/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img #catch h2,#intro1,#intro_title,#intro .box_wrap,
#contents_links,#contents,#contents > div{position: relative;}
/*リピートなし*/
#main_img #catch h2:before,#intro1:before,
#intro_title:before,#intro_title:after,#intro .box_wrap:before,#contents_links:before,#contents_links:after,#contents:after,#contents > div:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#intro1:before,#contents_links:before,#contents_links:after,#contents:after{
background-image: url(./Dup/img/tri.png);
width: 100%;
height: 300px;
left: 0;
}
#intro1:before,#contents_links:after,#contents:after{bottom: -160px;}
#contents_links:before{top: -160px;transform: scale(-1, -1);}
#contents_links:after{z-index: 4;}
#contents:after{transform: scale(-1, -1);z-index: 4;}

#main_img #catch h2{display: block!important;}
#main_img #catch h2:before{
background-image: url(./Dup/img/catch.png);
background-size: 100%;
width: 56vw;
height: 19vw;
top: -13vw;
left: 0;
}
#intro_title:before{
background-image: url(./Dup/img/obj2.png);
width: 200px;
height: 200px;
top: 20px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#intro_title:after{
background-image: url(./Dup/img/obj3.png);
width: 280px;
height: 280px;
bottom: -210px;
right: -80px;
z-index: 3;
}
#intro .box_wrap:before{
background-image: url(./Dup/img/obj4.png);
width: 900px;
height: 1035px;
top: -7%;
right: -10%;
opacity: 0.3;
}
#contents  > div:before{
background-image: url(./Dup/img/obj1.png);
width: 300px;
height: 300px;
top: -130px;
left: 90px;
z-index: 5;
}
/*--------------------------------
全体
--------------------------------*/
body{font-weight: bold;}
#wrap{overflow: hidden;}
h1 img{max-width: 300px;}
#sc_menu .logo img{max-width: 250px;}

.filter{
top: 0;
right: 0;
width: 100%;
}
.filter1{background-color: #d71e3c;z-index: 2;}
.filter2{background-color: #000;z-index: 1;}

.fadein_up{
    opacity : 0;
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
	transition:transform 1.5s ease,opacity 2s ease; 
}
.fadein_up.scrollin{
    opacity : 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}
/*--------------------------------
TOP
--------------------------------*/
#main_img .con_img{margin-left: 20%;}
#main_img #catch{border: 3px solid black;top: 55%;}
#main_img #catch h2{border: none;}
#main_img #catch h2 span{text-decoration: underline;padding: 0;}
#main_img #catch h2{
opacity : 0;
-webkit-transform: rotate(-3deg) scale(2);
-ms-transform: transform: rotate(-3deg) scale(2);
transform: transform: rotate(-3deg) scale(2);
transition:transform 0.5s ease,opacity 0.5s ease; 
}
#main_img #catch h2.active{
opacity : 1;
-webkit-transform: rotate(-3deg) scale(1);
-ms-transform: transform: rotate(-3deg) scale(1);
transform: transform: rotate(-3deg) scale(1);
}

#intro{background-image: none;}
#intro1 #intro_title{padding-bottom: 50px;padding-top: 230px;}
#intro .box_wrap .box > div{background-color: rgba(255,255,255,1.0);border: 2px solid black;}

#contents::before{background-color: rgba(30,110,205,0.6);}
#contents .contents_txt{background-color: rgba(30,110,205,0.5);}
#contents .d_flex > div{padding: 200px 100px;}

#top_cms{z-index: 4;}
/*--------------------------------
下層
--------------------------------*/

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
#cms_6-b .cate .cate_title{padding: 10px 5px!important;}
#cms_6-b .cate .box_txt1,#cms_6-b .cate .box_txt2{padding: 10px!important;}
}


@media  screen and (max-width: 1500px){
#main_img #catch{top: 70%;}
}
@media  screen and (max-width: 1100px){
#main_img #catch{top: 75%;}
#intro1 #intro_title.pd_t-100px{padding-top: 400px;}
#intro_title:before{top: 185px;}
}
@media  screen and (max-width: 1000px){
#main_img #catch h2:before{top: -10vw;}

#intro .box_wrap:before{
width: 700px;
height: 805px;
top: -5%;
}
#contents > div:before{
width: 200px;
height: 200px;
top: -30px;
left: 30px;
}
}
@media  screen and (max-width: 900px){
#intro_title:after{
width: 250px;
height: 250px;
}

}
/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
#main_img .con_img{margin: 0 auto;}
#main_img #catch{padding-top: 100px!important;}
#main_img #catch h2:before{
width: 72vw;
height: 24vw;
top: -200px;
}

#intro_title:before {
width: 170px;
height: 170px;
top: 10px;
}
#intro_title:after{
width: 200px;
height: 200px;
bottom: -130px;
right: -30px;
}
#intro1 #intro_title.pd_t-100px{padding-top: 200px;}
#intro1:before, #contents_links:before, #contents_links:after, #contents:after{height: 165px;}
#intro1:before, #contents_links:after, #contents:after{bottom: -50px;}
#intro{
padding-top: 100px;
padding-bottom: 200px;
}
#contents_links .square_box{transform: translateY(-80%);}
#contents .d_flex > div:last-of-type{padding-top: 50px;padding-bottom: 100px;}
#contents > div:before{
width: 200px;
height: 200px;
top: -115px;
left: 10px;
}
}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
.loader.logo{width: 300px;}
h1{width: 60%;}
#main_img #catch h2:before{
width: 100vw;
height: 33vw;
top: -140px;
left: -30px;
}

#intro1 #intro_title.pd_t-100px{padding-top: 150px;}
#intro_title:before{
width: 150px;
height: 150px;
top: -5px;
}
#intro_title:after{
width: 170px;
height: 170px;
bottom: -125px;
right: -25px;
}
#intro .box_wrap:before{
width: 350px;
height: 403px;
top: -3%;
right: 4%;
}
#intro{
padding-top: 100px;
padding-bottom: 50px;
}
#intro1:before, #contents_links:after, #contents:after{bottom: -20px;}
#intro .box_wrap .box > div{margin-left: 0;margin: 0 auto ;}
#contents_links {padding: 50px 0 100px;}
#contents_links:before{top: -25px;}
#contents_links .box_wrap{position: relative;z-index: 5;}
#contents_links .square_box {transform: translateY(0);}
#contents .d_flex > div{padding: 30px;}
#contents .d_flex > div:first-of-type{
padding-top: 250px;
padding-bottom: 0;
}
#contents .d_flex > div:last-of-type{
padding-top: 50px;
padding-bottom: 150px;
}
#contents > div:before{
width: 150px;
height: 150px;
top: -95px;
left: 0;
}
}

/*--------------------------自動リンク--------------------------*/
/* color */
.linkStyle{color: #4bdcf5; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #4bdcf5;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #1e6ecd;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #d71e3c;}

/*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: #1E6ECD} /* メインカラー */
.txt_color2{color: #eef4fb} /* サブカラー */
.txt_color3{color: #D71E3C} /* アクセントカラー1 */
.txt_color4{color: #F2F2F2} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #1E6ECD} /* メインカラー */
.bg_color2{background-color: #eef4fb} /* サブカラー */
.bg_color3{background-color: #D71E3C} /* アクセントカラー1 */
.bg_color4{background-color: #F2F2F2} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_color1{border-color: #1E6ECD}
.border_color2{border-color: #eef4fb}
.border_color3{border-color: #D71E3C}
.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: #1E6ECD} /* メインカラー */
.hvr_txt_color2:hover{color: #eef4fb} /* サブカラー */
.hvr_txt_color3:hover{color: #D71E3C} /* アクセントカラー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: #1E6ECD} /* メインカラー */
.hvr_bg_color2:hover{background-color: #eef4fb} /* サブカラー */
.hvr_bg_color3:hover{background-color: #D71E3C} /* アクセントカラー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: #1E6ECD}
.hvr_border_color2:hover{border-color: #eef4fb}
.hvr_border_color3:hover{border-color: #D71E3C}
.hvr_border_color4:hover{border-color: #F2F2F2}