﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#mainwrap,#top_news .cms_title,.con1_img,.con1_img2 div,.con3_box2,#top_contents3,#top_contents3 .con_title,#top_cms .cms_title,#footer_info,#footer_info .info_txt_wrap{position: relative;}
/*リピートなし*/
#mainwrap:before,#top_news .cms_title:before,.con1_img:after,.con1_img2 div:after,.con3_box2:after,#top_contents3:before,#top_contents3 .con_title:before,
#top_cms .cms_title:before,#footer_info:before,#footer_info .info_txt_wrap:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#mainwrap:before{
background-image: url(./Dup/img/main_frame.png);
width: 100%;
height: 10vw;
bottom: -4vw;
left: 0;
z-index: 2;
}

#top_news .cms_title:before,#top_contents3 .con_title:before{
background-image: url(./Dup/img/obj6.png);
width: 70px;
height: 70px;
top: -27px;
left: -32px;
opacity: 0.3;
transform: rotate(-17deg);
}
#top_contents3 .con_title:before{z-index: -1;}

#top_contents1{
	background-image: url('./Dup/img/bg.png');
	background-size: 1000px;
	background-position: top 0 left 0;
	background-repeat: repeat;
	animation: bgloop 20s linear infinite;
}
@keyframes bgloop {
	0% {background-position: top 0 left 0;}
	100% {background-position: top -400px left 400px;}
}

.con1_img:after{
background-image: url(./Dup/img/obj1.png);
background-size: 100%;
width: 120px;
height: 150px;
top: 80px;
right: -80px;
z-index: 1;
}
.con1_img2 div:after{
background-image: url(./Dup/img/obj2.png);
background-size: 100%;
width: 100px;
height: 170px;
top: -165px;
left: 20px;
z-index: 1;
}
.con3_box2:after{
background-image: url(./Dup/img/obj3.png);
background-size: 100%;
width: 150px;
height: 150px;
top: -70px;
right: -125px;
z-index: 1;
}
#top_contents3:before{
background-image: url(./Dup/img/obj7.png);
background-size: 100%;
width: 30vw;
height: 45vw;
top: 0;
left: 0;
z-index: 0;
opacity: 0.5;
}

#top_cms .cms_title:before{
background-image: url(./Dup/img/obj4.png);
background-size: 100%;
width: 230px;
height: 150px;
top: -180px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
z-index: 1;
}

#footer_info:before{
background-image: url(./Dup/img/obj8.png);
background-size: 100%;
width: 30vw;
height: 30vw;
top: -9vw;
right: -8vw;
z-index: 1;
pointer-events: none;
}
#footer_info .info_txt_wrap:before{
background-image: url(./Dup/img/obj5.png);
background-size: 100%;
width: 170px;
height: 110px;
top: -50px;
left: 40px;
z-index: 1;
}
/*--------------------------------
全体
--------------------------------*/
#wrap.bg_color3{background-color: #f3f0e0;}

body,a{cursor: none}
.cursor{
    width: 8px;
	height: 8px;
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 10;
	transition: 0.3s;
	transition-property: opacity,background,width,height,transform
}
.cursor::before {
    content: " ";
    display: block;
    width: 50px;
    height: 50px;
    position: relative;
    top: -22px;
    left: -18px;
    opacity: 1;
    transition: 0.3s;
    background-image: url("./dup/img/cursor.png");
    background-size: contain;
    background-repeat: no-repeat;
}
.cursor.is-active{
	opacity: 1;
	background-color: transparent;
	transform: scale(1.8);
}
.cursor.is-active::before{
	background-image: url("./dup/img/cursor_hover.png");
}
.fixbnr{width: 250px;}
.fixbnr.d_none,.fixbnr2{
position: fixed;
right: 90px;
bottom: 0;
}
.fixbnr2{
width: 250px;
z-index: 1;
}
#loader.bg_color3,footer.bg_color1,.logo_bg.bg_color3{background-color: #6290b1;}
footer,footer a{color: #ffffff;}
/*--------------------------------
TOP
--------------------------------*/
#mainwrap{padding: 0;}
#main_img.mainwrap-l{
width: 100%;
height: 87vh;
max-height: none;
border-radius: 0;
}
.main_logo{
width: 30vw;
max-width: 400px;
top: 45%;
left: 20%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
z-index: 1;
}
.scroll{bottom: 170px;}
#con_nav{
position: relative;
z-index: 2;
}

#top_news .cms_title h3,#top_news .cms_title p,#top_contents3 .con_title{position: relative;z-index: 1;}

/* TOPお知らせ */
.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}
.topcms_news_type2 .box_img1 {
	border-radius: 10px;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}
/*--------------------------------
下層
--------------------------------*/
#page_title .title_img{background-position: top -25px center;}

@media  screen and (max-width: 1450px){
#page_title .title_img {background-position: top center;}
}
@media  screen and (max-width: 1000px){
.fixbnr{
width: 200px;
right: 10px;
bottom: 50px;
}
}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){

body{cursor: auto;}
a{cursor: pointer;}
.cursor{display: none;}
.fixbnr{left: auto;}
.fixbnr2{display: none!important;}
#mainwrap:before{bottom: -15px;background-image: url(./Dup/img/main_frame2.png);}
#mainwrap,#main_img.mainwrap-l{height: 47vh;}
#top_news .cms_title:before, #top_contents3 .con_title:before{left: -23px;}
.con1_img:after{
top: -75px;
right: auto;
left: 0;
}
.con1_img2 div:after{
width: 80px;
height: 140px;
top: 80px;
left: -65px;
}
.con3_box2:after{
width: 130px;
height: 130px;
top: -40px;
right: -25px;
}
#top_cms .cms_title:before{
width: 200px;
height: 125px;
top: -140px;
}
#footer_info:before{
width: 30vw;
height: 30vw;
top: 30vw;
right: -12vw;
}
#footer_info .info_txt_wrap{padding: 5%;}
#footer_info .info_txt_wrap:before{
width: 150px;
height: 95px;
top: -90px;
left: 40px;
}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){

.fixbnr{
width: 150px;
bottom:0;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}

#mainwrap,#main_img.mainwrap-l{height: 42vh;}
#mainwrap{min-height: auto;}
#mainwrap:before{bottom: -1px;}

.sp_catch{
top: -85px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
z-index: 2;
}

.con1_img:after{
width: 100px;
height: 120px;
top: -112px;
}
.con1_img2 div:after{
width: 60px;
height: 105px;
top: 22px;
left: -35px;
}
#attach{height: 300px;}
.con3_box2:after{
width: 100px;
height: 100px;
top: -40px;
right: -27px;
}
#top_cms .cms_title:before{
width: 170px;
height: 110px;
top: -140px;
}
#footer_info:before{
width: 43vw;
height: 43vw;
top: -18vw;
right: -16vw;
}

}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #333; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #333;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #333;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #333;}

/*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: red;}
.txt_color1,.hvr_txt_color1:hover{color: #367294;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #6290B1;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #EBE3BD;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #e3e0cf;} /* アクセントカラー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: #367294;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #6290B1;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #EBE3BD;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #e3e0cf;} /* アクセントカラー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: #367294;}
.border_color2,.hvr_border_color2:hover{border-color: #6290B1;}
.border_color3,.hvr_border_color3:hover{border-color: #EBE3BD;}
.border_color4,.hvr_border_color4:hover{border-color: #e3e0cf;}