﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
.intro_left{position: relative;}
/*リピートなし*/
.main_bg,.catch,.intro_left:before,.intro_left:after{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

.main_bg{
background-image: url(./Dup/img/main_bg.jpg);
background-size: cover;
background-position: center center;
width: 100%;
height: 100vh;
top:50%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
.catch{
background-image: url(./Dup/img/catch.png);
background-size: 100%;
width: 31vw;
height: 34vw;
top:50%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}

.intro_left:before{
background-image: url(./Dup/img/obj1.png);
width: 200px;
height: 200px;
bottom: 0;
left: 0;
}
.intro_left:after{
background-image: url(./Dup/img/obj2.png);
width: 200px;
height: 200px;
bottom: 0;
right: 0;
}
/*--------------------------------
全体
--------------------------------*/
#pc_nav ul.width_300-max{max-width: 400px;}

.fix_banner{
position: fixed;
top: 20px;
right: 110px;
z-index: 7;
}
@media  screen and (max-width: 768px){
.fix_banner{
top: auto;
bottom: 10px;
right: 55px;
}
}
/* スマホ時真ん中へ */
@media  screen and (max-width: 667px){
.fix_banner{
width: 250px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
}
/*--------------------------------
TOP
--------------------------------*/
#worry p{
width: 57vw;
max-width: 1150px;
min-width: 800px;
}

#worry .worry_wrap{transition: 1.5s}
#worry.trans .worry_wrap{
	opacity: 1;
}

#contents2 .con_wrap{right: -10px}
#contents2.trans .con_wrap{
	opacity: 1;
	right: 0;
}

#contents2 .con_bg{
	top: 0;
	right: 0
}
#contents2 .con_img{
	top: 100px;
	bottom: 100px;
	left: 0
}
#contents2 .con_box1::before{
	width: 40px;
	height: 1px;
	left: 0;
	bottom: 0;
	background-color: #fff
}
#contents .con_box1::before{display: none;}

@media screen and (max-width: 768px){
    
    #worry .worry_wrap{opacity: 1;}
    #worry p{
        top: 0;
        left: 0;
        transform:none;
    }
	#contents2 .con_wrap{right: 0;opacity: 1}
	#contents2 .con_img{
		height: 60vw;
		top: auto;
		bottom: auto
	}
}

/* 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}
}
/*--------------------------------
下層
--------------------------------*/
/* ギャラリー */
.BA_type2 .box_img1_wrap, .BA_type2 .box_img2_wrap {
	width: 48%!important;
	margin: 0 1%;
}
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before {
	position: absolute;
	content: "Before";
	width: 121px;
	background-color: #FAE6A5;
	color: #FA8C55;
	text-align: center;
	display: block;
	left: 0;
	bottom: 0;
	margin: auto;
	z-index: 1;
	font-size: 14px;
	letter-spacing: 1px;
	padding: 4px 0px;
	box-sizing: border-box;
}
.BA_type2 .box_img2_wrap::before {
	content: "After";
	background-color: #FA8C55;
	color: #ffffff;
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before{
	width: 76px;
	font-size: 13px;
}
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before{padding: 1px 0px;}
}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
#custom,.main_bg{height: 55vh!important;}
.main_bg{
background-size: cover;
background-position: center center;
}
.catch{
width: 50vw;
height: 56vw;
}
#worry p{
width: 100%;
min-width: auto;
}
.intro_left:before,.intro_left:after{
width: 170px;
height: 170px;
}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){

#custom, .main_bg{height: 40vh!important;}
.catch {
width: 60vw;
height: 67vw;
}
.intro_left:before,.intro_left:after{
width: 120px;
height: 120px;
}
}

/*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: #FA8C55;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #FAE6A5;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #7DC3E1;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #FEFCF3;} /* アクセントカラー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: #FAAA78;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #FAE6A5;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #A5DEF1;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #FEFCF3;} /* アクセントカラー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: #FAAA78;}
.border_color2,.hvr_border_color2:hover{border-color: #FAE6A5;}
.border_color3,.hvr_border_color3:hover{border-color: #A5DEF1;}
.border_color4,.hvr_border_color4:hover{border-color: #FEFCF3;}