﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img,#attach .blur{position: relative;}
/*リピートなし*/
#main_img:before,#attach .blur:before,#attach .blur:after{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#main_img:before{
background-image:url(./Dup/img/catch.png);
width: 35vw;
height: 26vw;
top:50%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}
#attach .blur:before{
background-image:url(./Dup/img/obj1.png);
width: 300px;
height: 300px;
top: -30px;
left: -30px;
opacity: 0.1;
}
#attach .blur:after{
background-image:url(./Dup/img/obj2.png);
width: 400px;
height: 360px;
bottom: -20px;
right: -5px;
opacity: 0.1;
}
/*--------------------------------
全体
--------------------------------*/
.main_box{
background-image: url(./Dup/img/bg.png);
background-size: cover;
background-attachment: fixed;
}
.footer_back{background-color: white;}
/*--------------------------------
TOP
--------------------------------*/
#attach .blur{background-color: #333333;}

.top_cms_wrap .top_cms_before{z-index: -2;}

/* 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
}

/* ---------- タブレット ---------- */
@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::before{display: none;}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
#logo{max-width: 300px;}
.hamburger{top: 20px;}
footer .link_box li{max-width: 100px;}
#main_img{height: 47vh;}
#main_img:before{
width: 43vw;
height: 32vw;
}
.main_box{
padding-top: 65px;
background-image:none;
}
.main_box::before {
content: "";
display: block;
min-width: 100vw;
min-height: 100vh;
background-image: url(./Dup/img/bg.png);
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
position: fixed;
top: 0;
left: 0;
z-index: -1;
}

.blur{
backdrop-filter: none;
-webkit-backdrop-filter: none;
}
#attach .blur:before{
width: 250px;
height: 250px;
}
#attach .blur:after{
width: 300px;
height: 273px;
}
}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){

#logo{max-width: 200px;}
.hamburger{top: 13px;}

#main_img:before{
width: 55vw;
height: 41vw;
}
}

/*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: #1a1a1a;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #F2F2F2;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #4bb4d7;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #F1FCFD;} /* アクセントカラー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: #1a1a1a;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #F2F2F2;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #4bb4d7;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #F1FCFD;} /* アクセントカラー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: #1a1a1a;}
.border_color2,.hvr_border_color2:hover{border-color: #F2F2F2;}
.border_color3,.hvr_border_color3:hover{border-color: #4bb4d7;}
.border_color4,.hvr_border_color4:hover{border-color: #F1FCFD;}