﻿@font-face {
font-family: "genjyu_b";
  src: url("./Dup/img/genjyu_b.ttf") format("ttf"),url("./Dup/img/genjyu_b.eot") format("eot"),url("./Dup/img/genjyu_b.woff") format("woff"),url("./Dup/img/genjyu_b.woff2") format("woff2");
}
.font1{font-family: "genjyu_b","sans-serif";}
/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#intro,#contents{position: relative;}
/*リピートなし*/
#intro:before,#intro:after,#contents:before,#contents:after{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#intro:before{
background-image: url(./Dup/img/obj3.png);
background-size: 600px;
background-repeat: repeat;
width: 100%;
height: 150px;
bottom: -5px;
left: 0;
opacity: 0.5;
animation: anime2 60s linear infinite;
}
#intro:after{
background-image: url(./Dup/img/obj4.png);
background-size: 600px;
background-repeat: repeat;
width: 100%;
height: 150px;
bottom: 55px;
left: 0;
z-index: -1;
opacity: 0.3;
animation: anime2 60s reverse linear infinite;
}

@keyframes anime2{
from{
background-position-x: 0;
}
to{
background-position-x: 2400px;
}
}

#contents:before{
background-image: url(./Dup/img/obj1.png);
background-size: 800px;
background-repeat: repeat;
width: 100%;
height: 120px;
bottom: -4px;
left: 0;
opacity: 0.5;
}
#contents:after{
background-image: url(./Dup/img/obj2.png);
width: 200px;
height: 133px;
bottom: -40px;
right: 0;
z-index: 1;
animation: anime1 15s steps(6) 0s infinite;
-ms-animation: anime1 15s steps(6) 0s infinite;
}
@keyframes anime1{

0%{
transform: rotateY(0);
right: 0;
}
45%{
transform: rotateY(0);
right: 88%;
}
48%{
transform: rotateY(180deg);
right: 88%;
}

95%{
transform: rotateY(180deg);
right: 0;
}
98%{
transform: rotateY(360deg);
right: 0;
}
100%{
transform: rotateY(360deg);
right: 0;
}

}

/*--------------------------------
全体
--------------------------------*/
#loading_logo{
width: 80%;
max-width: 300px;
}
.menu .nav ul li{
margin-left: 15px;
padding-left: 15px;
border-color: #93a3c3;
}
.menu .nav ul li .nav2{color: #284b91;}

.other .box{background-color: #000;}
.other .box figure{opacity: 0.7;}
.other .box:hover figure{opacity: 0.5;}
.other .box p, .other .box h2 span{color: #fff;}

.sns_links li{max-width: 40px;}

footer{background-color: #e6eaf2;}
footer .logo{width: 80%!important;}
#footer p,.footer_cms{color: #333;}
p#copyright{color: #284b91;}

.more_box .more:hover > div{color: #fff;}
.more_box .more:hover:before,.more:hover span:before{background-color: #fff;}
.more:hover span:after{border-left: 5px solid #fff;}

.img-container:before{background: #284b91;}
/*--------------------------------
TOP
--------------------------------*/
.top_nav li{
margin-left: 15px;
padding-left: 15px;
}
.vegas-overlay{opacity: 0.3;}
.main_img_wrap .catch{
bottom: 120px;
left: 80px;
}

.main_img_wrap .catch span{line-height: 2;}

#intro{padding-bottom: 300px;}

#contents{background-color: #f5f0eb;}
#contents .box h3:before{border-color: #284b91;opacity: 0.5;}
#contents .box:nth-child(2) .txt_wrap{padding-left: 0px;}

#top_cms{background-color: #e6eaf2;}
.top_cms_box:before{background-color: #284b91;}

/*--------------------------------
下層
--------------------------------*/
.all_page.bg_color4{background-color: #f5f0eb;}
.all_page .cms_wrap.width_90per {padding-left: 5%;}
.page_title_box:before{border-color: #284b91;opacity: 0.5;}
#title_img:after{
content: "";
display: block;
background-color: rgba(245,240,235,0.5);
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}


/* 5-b Q削除 */
#cms_5-b .cate_box .open_bt .box_title1::before, .cms_5-b .cate_box .open_bt .box_title1::before{display: none;}
#cms_5-b .cate_box .open_bt .box_title1, .cms_5-b .cate_box .open_bt .box_title1{margin-left: 70px;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {}

/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
.main_img_wrap .catch{
bottom: 200px;
left: 40px;
}

#contents:before{
background-size: 700px;
height: 105px;
bottom: -4px;
left: 0;
}
#contents:after{
width: 130px;
height: 87px;
bottom: -25px;
right: 0;
animation: anime3 15s steps(6) 0s infinite;
-ms-animation: anime3 15s steps(6) 0s infinite;
}
.all_page .cms_wrap.width_90per{padding-left: 15%;}
}

@keyframes anime3{

0%{
transform: rotateY(0);
right: 0;
}
45%{
transform: rotateY(0);
right: 78%;
}
48%{
transform: rotateY(180deg);
right: 78%;
}

95%{
transform: rotateY(180deg);
right: 0;
}
98%{
transform: rotateY(360deg);
right: 0;
}
100%{
transform: rotateY(360deg);
right: 0;
}

}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
#wrap{width: 100%;}
.main_img_wrap .catch{
bottom: 200px;
left: 15px;
}

#intro:before{
background-size: 400px;
height: 100px;
bottom: -5px;
left: 0;
animation: anime2 60s linear infinite;
}
#intro:after{
background-size: 400px;
height: 100px;
bottom: 35px;
left: 0;
animation: anime2 60s reverse linear infinite;
}
#intro{padding-bottom: 150px;}

#contents:before{
background-size: 400px;
height: 60px;
bottom: -2px;
left: 0;
}
#contents:after{
width: 70px;
height: 47px;
bottom: -20px;
right: 0;
}
#contents .box:nth-child(3) figure{margin-top: 30px;}

#page_title .img-container::after{background-color: rgba(40,75,145,0.3);}
.all_page .cms_wrap.width_90per{padding-left: 0;}
}


/*--------------------------自動リンク--------------------------*/
/* color */
.linkStyle{color: #284b91; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #284b91;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #736455;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #284b91;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------カラー--------------------------*/
body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: #333333;}
.txt_white,.hvr_txt_white:hover{color: white;}
.txt_red,.hvr_txt_red:hover{color: red;}
.txt_color1,.hvr_txt_color1:hover{color: #736455;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #ebe6dc;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #284b91;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #e6eaf2;} /* アクセントカラー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: #736455;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #ebe6dc;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #284b91;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #e6eaf2;} /* アクセントカラー2 */
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}


/* border-color ※!important */
.border_color1,.hvr_border_color1:hover{border-color: #736455;}
.border_color2,.hvr_border_color2:hover{border-color: #ebe6dc;}
.border_color3,.hvr_border_color3:hover{border-color: #284b91;}
.border_color4,.hvr_border_color4:hover{border-color: #e6eaf2;}
