﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img,#top_news,#top_contents3,.cms_6-b{position: relative;}
/*リピートなし*/
#main_img:before,#top_news:before,#top_news:after,#top_contents3:before,#top_contents3:after,.cms_6-b:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#main_img:before{
background-image: url('./Dup/img/catch.png');
background-size: 100%;
width: 55vw;
height: 38vw;
top:42%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
#top_news:before{
background-image: url('./Dup/img/obj1.png');
background-size: 100%;
width: 42vw;
height: 10vw;
bottom: -3vw;
left: -40px;
}
#top_news:after{
background-image: url('./Dup/img/obj2.png');
background-size: 100%;
width: 27vw;
height: 10vw;
bottom: -3vw;
right: -40px;
}
#top_contents3:before{
background-image: url('./Dup/img/obj3.png');
background-size: 100%;
width: 42vw;
height: 10vw;
bottom: -4vw;
left: -40px;
}
#top_contents3:after{
background-image: url('./Dup/img/obj4.png');
background-size: 100%;
width: 27vw;
height: 10vw;
bottom: -4vw;
right: -40px;
}
.cms_6-b:before{
background-image: url('./Dup/img/obj5.png');
background-size: 100%;
width: 8vw;
height: 8vw;
bottom: -40px;
right: -20px;
}
/*--------------------------------
全体
--------------------------------*/
.fix_banner{
width: 200px;
position: fixed;
bottom: 10px;
right: 90px;
z-index: 5;
}
/* スマホ時真ん中へ */
@media  screen and (max-width: 667px){
.fix_banner{
width: 120px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
}
/*--------------------------------
TOP
--------------------------------*/
#main_img{
width: 100%;
height: calc(100vh - 50px);
max-height: none;
}
.mainwrap-r{
position: absolute;
right: 50px;
}
#top_contents1 .con1_img{background-size: auto 100%;padding-bottom: 0;}

/* 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 .con2_bg{display: none;}
#page_title h2{color: #333;}
#page_title p{color: #e86368;}
#page_title .title_wrap{text-shadow: none;}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){

#mainwrap{min-height: auto;}
#main_img{height: 42vh;}
#main_img:before{
width: 67vw;
height: 47vw;
top: 44%;
}
#top_news{margin-top: 20px;}
.cms_6-b:before{
width: 13vw;
height: 13vw;
bottom: -20px;
right: -20px;
}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #e86368; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #e86368;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}

/*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: #e86368;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #d4baa1;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #f6f4eb;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #e4e4e4;} /* アクセントカラー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: #e86368;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #d4baa1;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #f6f4eb;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #e4e4e4;} /* アクセントカラー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: #e86368;}
.border_color2,.hvr_border_color2:hover{border-color: #d4baa1;}
.border_color3,.hvr_border_color3:hover{border-color: #f6f4eb;}
.border_color4,.hvr_border_color4:hover{border-color: #e4e4e4;}