﻿@font-face {
font-family: "kanjuku";
  src: url("./Dup/img/kanjuku.otf") format("otf"),url("./Dup/img/kanjuku.woff") format("woff"),url("./Dup/img/kanjuku.woff2") format("woff2");
}
.font1{font-family: "kanjuku","sans-serif";}

/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#wrap,#intro,#top_contents1,#top_contents2,#top_contents2 .contents2_txt,#top_cms{position: relative;}
/*リピートなし*/
#wrap:before,#wrap:after,#intro:before,#top_contents1:before,#top_contents1:after,#top_contents2:before,#top_contents2 .contents2_txt:before,#top_cms:before,#page-top span{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#wrap:before{
background-image: url(./Dup/img/obj3.png);
background-size: 100%;
width: 27vw;
height: 44vw;
top: 0;
left: 0;
z-index: -1;
}
#wrap:after{
background-image: url(./Dup/img/obj7.png);
background-size: 100%;
width: 60vw;
height: 65vw;
bottom: -30vw;
left: -20vw;
}
#intro:before{
background-image: url(./Dup/img/obj4.png);
background-size: 100%;
width: 40vw;
height: 50vw;
top: 0;
right: -16vw;
z-index: -1;
}

#top_contents1:before,#top_contents1:after{
background-size: 100%;
width: 100%;
height: 100px;
left: 0;
}
#top_contents1:before{
background-image: url(./Dup/img/obj1.png);
top: -60px;
}
#top_contents1:after{
background-image: url(./Dup/img/obj2.png);
bottom: -60px;
}

#top_contents2:before{
background-image: url(./Dup/img/obj5.png);
background-size: 100%;
width: 25vw;
height: 19vw;
top: -450px;
left: -5vw;
}
#top_contents2 .contents2_txt:before{
background-image: url(./Dup/img/5chara.png);
width: 300px;
height: 240px;
top:-200px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}

#top_cms:before{
background-image: url(./Dup/img/obj6.png);
background-size: 100%;
width: 30vw;
height: 74vw;
top: 5vw;
right: -10vw;
z-index: -1;
}

#page-top span{
background-image: url(./Dup/img/obj8.png);
width: 300px;
height: 300px;
position: fixed;
bottom: -130px;
right: -130px;
-webkit-animation: rotate 100s linear infinite;
animation: rotate 100s linear infinite;
}

@keyframes rotate {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}
/*--------------------------------
全体
--------------------------------*/
body{background-color: #f4f2ea;}
#wrap{overflow: hidden;}
.sc_nav .logo img{max-width: 300px;}

#main_img img, #intro img, #top_contents1 img, #top_contents2 img,#page_title{
-webkit-filter: grayscale(0);
-moz-filter: grayscale(0);
-ms-filter: grayscale(0);
-o-filter: grayscale(0);
filter: grayscale(0);
}

#footer{position: relative;z-index: 1;}
#copyright{text-align: center;}
/*--------------------------------
TOP
--------------------------------*/
.updates .cms_1-b .date{width: 150px;box-sizing: border-box;}
.updates .cms_1-b .box_title1 {width: calc(100% - 200px);box-sizing: border-box;}

#intro .intro_txt h2{transform: translateY(0);}

#top_contents1{background-image: url(./Dup/img/bg.jpg);background-size: 70%;}
#top_contents1 .contents1_txt h3{text-shadow: none;}

.top_cms_box{background-color: #ffffff;padding: 50px;}
/*--------------------------------
下層
--------------------------------*/
#page_title{
min-height: 200px;
padding: 100px 50px;
}


@media  screen and (max-width: 1367px){

#top_contents2:before{
width: 28vw;
height: 22vw;
top: -340px;
left: -5vw;
}
#top_contents2 .contents2_txt:before{top:-175px;}

}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){


#top_contents1:before, #top_contents1:after{
background-size: 1200px;
height: 80px;
}
#top_contents1:before{top: -45px;}
#top_contents1:after{bottom: -45px;}
#top_contents1 .contents1_txt{
margin: 0 auto;
}
#top_contents1 .contents1_txt h3{
width: 90%!important;
transform: translateX(0);
}

.top_cms_box{padding: 20px;}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
.updates .cms_1-b .date{width:100%;}
.updates .cms_1-b .box_title1{width:100%;}

#intro:before{
width: 65vw;
height: 84vw;
top: 54vw;
right: -16vw;
}

#top_contents1:before, #top_contents1:after{
background-size: 600px;
height: 40px;
}
#top_contents1:before{top: -20px;}
#top_contents1:after{bottom: -20px;}
#top_contents1 .contents1_txt h3{width: 100%!important;}
#top_contents2:before{
width: 36vw;
height: 28vw;
top: -146px;
}
#top_contents2 .contents2_txt:before{
width: 250px;
height: 200px;
top: -450px;
}

#page-top span{
width: 150px;
height: 150px;
right: -65px;
}

#page_title {
min-height: 150px;
padding: 50px;
}

}

/*IE*/
@media all and (-ms-high-contrast: none) {
.box_banner a{padding-top: 7px;}

#page-top span.on{
bottom: -100px!important;
right: -100px!important;
}
}
@media all and (-ms-high-contrast: none) and (max-width: 667px){

#page-top span.on{
bottom: -35px!important;
right: -50px!important;
}

}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #3b5d2b; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #3b5d2b;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #3b5d2b;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #e1643c;}

/*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: #d73c3c;}
.txt_color1,.hvr_txt_color1:hover{color: #8fbc8f;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #f4f2ea;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #ffa550;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #F9F3DF;} /* アクセントカラー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: #8fbc8f;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #f4f2ea;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #ffa550;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #F9F3DF;} /* アクセントカラー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: #8fbc8f;}
.border_color2,.hvr_border_color2:hover{border-color: #f4f2ea;}
.border_color3,.hvr_border_color3:hover{border-color: #ffa550;}
.border_color4,.hvr_border_color4:hover{border-color: #F9F3DF;}