﻿@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";}
/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img,#main_img > div,#contents .box_wrap,.contents1,.contents1 .con_photo,
.contents2,.contents2 .con_img3,.contents3,.contents3 > div,
.page main{position: relative;}
/*リピートなし*/
#main_img:before,#main_img > div:before,#contents .box_wrap:before,.contents1:before,.contents1 .con_photo:before,
.contents2:before,.contents2 .con_img3:before,.contents3:before,.contents3:after,.contents3 > div:before,
.page main:before,.page main:after{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#main_img:before{
background-image: url(./Dup/img/obj1.png);
width: 600px;
height: 263px;
top: 50px;
left: 60px;
z-index: 1;
}

#main_img > div:before{
background-image: url(./Dup/img/obj3.png);
width: 600px;
height: 100px;
bottom: 10px;
right: -110px;
z-index: 1;
transform: rotate(-15deg);
}

#contents .box_wrap:before{
background-image: url(./Dup/img/obj10.png);
width: 1000px;
height: 620px;
top: -150px;
right: -200px;
z-index: -1;
}
.contents1,.contents2{overflow: hidden;}
.contents1:before{
width: 100%;
height: 250px;
bottom: -125px;
left: 0;
background: url(./dup/img/obj6-1.png) repeat-x;
background-position:0 50%;
background-size:110%;
animation: bgroop 30s linear infinite;
}
.contents2:before{
width: 100%;
height: 250px;
top: -125px;
left: 0;
background: url(./dup/img/obj6-2.png) repeat-x;
background-position: 0 50%;
background-size:110%;
animation: bgroop 30s linear infinite;
}
@keyframes bgroop{
    0% { background-position: 0 50%;}
  100% { background-position: 1100% 50%;}
}

.contents1 .con_photo:before{
background-image: url(./Dup/img/obj4.png);
width: 20px;
height: 150px;
top: 0px;
left: -25px;
}

/*
.contents2 .con_img3:before{
background-image: url(./Dup/img/obj5.png);
width: 20px;
height: 150px;
top: -10px;
right: -35px;
}
*/

.contents3:before{
background-image: url(./Dup/img/obj9.png);
width: 600px;
height: 675px;
top: -50px;
left: -200px;
z-index: -1;
}
.contents3:after{
background-image: url(./Dup/img/obj7.png);
width: 500px;
height: 500px;
top: -310px;
right: -150px;
-webkit-animation: rotate 100s linear infinite;
animation: rotate 100s linear infinite;
}
@keyframes rotate {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}
.contents3 > div:before{
background-image: url(./Dup/img/obj8.png);
width: 20px;
height: 150px;
top: -35px;
left: -35px;
}

.page main:before{
background-image: url(./Dup/img/obj10.png);
width: 600px;
height: 372px;
top: -150px;
right: -130px;
z-index: -1;
}
.page main:after{
background-image: url(./Dup/img/obj9.png);
width: 600px;
height: 675px;
bottom: -100px;
left: -200px;
z-index: -1;
}
/*--------------------------------
全体
--------------------------------*/
body{overflow: hidden;}
#header{background-color: #fff;}
#header_nav a{color: #333;}
#logo .logo img{width: 100%!important;}

.filter{
top: 0;
right: 0;
width: 100%;
}
.filter1{background-color: #f7f7f7;z-index: 2;}
.filter2{background-color: #6eb4b9;z-index: 1;}

footer.bg_white{background-color: transparent;}
#copyright{color: #333;}

#banner{
position: fixed;
right: 15px;
z-index: 5;
}
#banner a img{
width: 40px;
height: 343px;
}
#page-top{z-index: 3;}
/*--------------------------------
TOP
--------------------------------*/
#video{ height: 70vh; }
#video video{
width: 100%!important;
height: auto;
top: 50%;
left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
#contents .contents1 .con_item{
margin-left: 50%;
margin-top: -400px;
position: relative;
z-index: 3;
}
#contents .contents2 .cms_title{margin-top: -300px;}
/*--------------------------------
下層
--------------------------------*/
/* 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) {
.contents3 > div::before{left: 0;}
}

@media  screen and (max-width: 1280px){
#main_img > div,.contents1,.contents2 > div,.contents3 > div,#top_cms,#footer{
padding-left: 5%;
padding-right: 5%;
}
#main_img:before{left: 0;}
#main_img > div:before{right: 0;}
.contents3 > div:before{left: 35px;}
}
@media only screen and (min-width: 768px) and (max-width: 1024px){
#contents .box, #top_cms .top_cms_box, #footer .box, #page_title, .cate_list, .cate_box, .box_wrap .box, #page8, #page9, #page10 {
padding-left: 5%;
padding-right: 5%;
}
}

@media  screen and (max-width: 1600px){
#video video{
width: auto!important;
height: 100%;
}
}
/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
.footer_cms p{padding-right: 50px;padding-left: 50px;}
#video{ height: 40vh; }
#video video{
width: 100%!important;
height: auto;
}
#main_img:before{
width: 400px;
height: 175px;
}
#main_img > div:before{
width: 400px;
height: 67px;
}
#contents .box_wrap:before {
width: 600px;
height: 372px;
top: -100px;
right: -160px;
}
.contents3:before{
width: 400px;
height: 450px;
}
.contents3 > div:before{left: 10px;}

#contents .contents1 .con_item{
margin-left: 41%;
margin-top: -175px;
}
.contents1:before{
height: 100px;
bottom: -50px;
}
.contents2:before{
height: 100px;
top: -50px;
}
.contents3:after{
width: 400px;
height: 400px;
top: -300px;
right: -145px;
}
#contents .contents2{padding-right: 0;padding-left: 0;}
#contents .contents2 .cms_title{margin-top: -175px;}

.page main:before{
width: 400px;
height: 248px;
top: -150px;
right: -130px;
}
.page main:after{
width: 400px;
height: 450px;
bottom: -100px;
left: -200px;
}
}


/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
#banner{right: 10px;}
.footer_cms p{padding-right: 50px;padding-left: 30px;}
#video{ height: 31vh; }
#banner a img{
width: 30px;
height: 257px;
}

#main_img:before{
width: 200px;
height: 87.5px;
top: 20px;
}
#main_img > div:before{
width: 200px;
height: 33px;
}
#contents .box_wrap:before{
width: 400px;
height: 248px;
top: -40px;
right: -120px;
}
#contents .contents1 .con_item{
margin-left: 0;
margin-top: 0;
}
.contents1:before{
height: 80px;
bottom: -40px;
}
.contents2:before{
height: 80px;
top: -40px;
}

#contents .contents2 .cms_title{margin-top: 30px;}
.contents3:after{
width: 200px;
height: 200px;
top: -50px;
right: -80px;
}
.contents1 > div{
padding-left: 5%;
padding-right: 5%;
}

.page main:before{
width: 300px;
height: 186px;
top: -150px;
right: -130px;
}
.page main:after{
width: 300px;
height: 338px;
bottom: -100px;
left: -200px;
}
}

/*--------------------------自動リンク--------------------------*/
/* color */
.linkStyle{color: #6eb4b9; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #6eb4b9;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #be7d55;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #6eb4b9;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------カラー--------------------------*/
body,.txt_color_nomal{color: #555;}
.txt_white{color: white;}
.txt_red{color: red;}
.txt_color1{color: #6eb4b9} /* メインカラー */
.txt_color2{color: #e6e1be} /* サブカラー */
.txt_color3{color: #be7d55} /* アクセントカラー1 */
.txt_color4{color: #f9f9f9} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #6eb4b9} /* メインカラー */
.bg_color2{background-color: #e6e1be} /* サブカラー */
.bg_color3{background-color: #be7d55} /* アクセントカラー1 */
.bg_color4{background-color: #f9f9f9} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_color1{border-color: #6eb4b9}
.border_color2{border-color: #e6e1be}
.border_color3{border-color: #be7d55}
.border_color4{border-color: #f9f9f9}


/* hover ---------------------------------------------------------------------------------------------*/
/* color */
.hvr_txt_color_nomal:hover{color: #555;}
.hvr_txt_white:hover{color: white;}
.hvr_txt_red:hover{color: red;}
.hvr_txt_color1:hover{color: #6eb4b9} /* メインカラー */
.hvr_txt_color2:hover{color: #e6e1be} /* サブカラー */
.hvr_txt_color3:hover{color: #be7d55} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #f9f9f9} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #6eb4b9} /* メインカラー */
.hvr_bg_color2:hover{background-color: #e6e1be} /* サブカラー */
.hvr_bg_color3:hover{background-color: #be7d55} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #f9f9f9} /* アクセントカラー2 */
.hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #6eb4b9}
.hvr_border_color2:hover{border-color: #e6e1be}
.hvr_border_color3:hover{border-color: #be7d55}
.hvr_border_color4:hover{border-color: #f9f9f9}