﻿/* CMS・下層ページ ----------------------------------*/
.pager li a{color: #231815;}
.pager li a:hover{color: #231815;}
/*#cms_2-h .btn_container{position: relative;height: 30px;}*/
#cms_2-h .btn_container a{
    display: block;
    /*position: absolute;*/
    /*right: 0;*/
    /*top: 0;*/
    background-color: #eded92;
    color: #70b4c4;
    padding: 10px;
    width: 300px;
    text-align: center;
    border-radius: 5px;
    
    transition: all 0.7s;
}
#cms_2-h .btn_container a:hover{opacity: 0.7;}


#cms_3-c .cate_title{
    background-color: #EDED92;
    color: #231815;
    padding: 10px 20px;
}
#cms_3-c .box_txt1{
    background-color: #9dccd9;
    color: #ffffff;
    padding: 10px 20px!important;
    border-radius: 5px;
}
#cms_3-c .box_item{padding-bottom: 0px;}

#cms_4-c .cate_box {padding: 2.5px 2.5px 2.5px 2.5px;}

/* タブレット */
@media screen and (max-width: 768px){
    .cms_3-c .box_title1,#cms_3-c .box_title1{border-bottom: none;}
}
/* スマホ */
@media screen and (max-width: 667px){
    #cms_1-a .pager li{margin: 0;}
    #cms_2-h .btn_container a{margin: 0 auto;}
    #cms_3-c .box_item{padding-bottom: 5px;}
    
    #page8 #contact_tel a{padding: 30px 0px;}
}

/* メインイメージ -----------------------------------*/
.catch {
    z-index: 3;
    position: absolute;
    top: 8%;
    right: 5%;
    /*transform: translate(0%, -50%);*/
    width: 40%;
}

/* 動画位置調整 */
#video{height: 70vh!important; height: auto;}
#video video{
    /*width: 100%!important;*/
	width: auto!important;
	height: 100%;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
    vertical-align: bottom;
}
@media screen and (min-width: 1630px){
    #video video{width: 100%!important; height: auto!important;}
}
/* タブレット */
@media screen and (max-width: 768px){
    /* 動画位置調整 */
	#video {
		height: auto!important;
		width: 100%;
	}
	#video video {
		width: 100%!important;
		height: auto;
		position: relative;
		top: 0%;
		left: 0%;
		-ms-transform: translate(-50%,-50%);
		-webkit-transform: translate(-50%,-50%);
		transform: translate(0%,0%);
	}
}
/* タブレット */
@media screen and (max-width: 768px){}
/* スマホ */
@media screen and (max-width: 667px){}

/* トップページ -------------------------------------*/

#aisatsu h2{font-size: 32px;}
#aisatsu .txt_left{text-align: center;max-width: 830px;}
#aisatsu > div{
    border-top: 1px solid;
    border-bottom: 1px solid;
}

#top_contents{
    padding-bottom: 100px;
    margin-bottom: 30px;
    background-image: url(./Dup/img/con_bg.png);
    background-size: 100%;
    background-repeat:repeat-y;
    
    position: relative;
}
#top_contents::before{
    content: "";
    background: linear-gradient(180deg, rgba(146,197,211,0) 0%, rgba(146,197,211,1) 100%);
    width: 100%;
    height: 100px;
    position: absolute;
    bottom: 0;
}

#contents1 .contents_box, #contents2 .contents_box, #contents3 .contents_box{
    margin-left: 40%;
    margin-top: -130px;
    
    background: url(./Dup/img/bg.jpg) no-repeat;
    background-size: cover;
}

.contents_box2 .linehight_2-h{
    line-height: 2;
    letter-spacing: 0.07em;
}



/* タブレット */
@media screen and (max-width: 768px){
    #aisatsu .txt_left{width: 700px;}
    #aisatsu h2{
        font-size: 29px;
    }
    
    #contents1 .contents_img,#contents2 .contents_img, #contents3 .contents_img{
        width: 80%!important;
    }
    #contents1 .contents_box, #contents2 .contents_box, #contents3 .contents_box{
        margin-left: 20%;
        margin-top: -60px;
        width: 80%!important;
    }
}
/* スマホ */
@media screen and (max-width: 667px){
    #aisatsu h2{font-size: 25px;}
    #aisatsu .txt_left{text-align: left;width: 100%;}
    
    #top_contents{
        background-image: none;
    }
    
    #contents1 .contents_img,#contents2 .contents_img, #contents3 .contents_img{
        width: 100%!important;
    }
    #contents1 .contents_box, #contents2 .contents_box, #contents3 .contents_box{
        margin-left: 0%;
        margin-top:0px;
        width: 100%!important;
    }
}

/* 全体 ---------------------------------------------*/
#main_menu.fixed{padding: 5px 0;}

.cate_list li a{
    background-color: rgba(255,255,255,0.2);
    border-color: #e6faff;
    color: #747474;
}
.cate_list li a i{color: #747474;}

.linkStyle{
	color: #fbfb84;
	text-decoration: underline;
	transition: all 0.5s;
}
.linkStyle:hover{
	color: #fbfb84;
	opacity: 0.7;
	text-decoration: none;
}

/* タブレット */
@media screen and (max-width: 768px){
    #main_menu ul li a{
        letter-spacing: 0.03em;
        padding: 10px 5px;
    }
}
/* スマホ */
@media screen and (max-width: 667px){
    .button_container span{background: #302c2b; box-shadow: none;}
    .header #logo a img{padding-left: 15px;}
}

/* 配色 ----------------------------------------------*/

.header div p span{color: #576a6f;}
.header div a i,.header div a{color: #576a6f;}
.header div p{border-color: #8fa9b1;}

#main_menu ul li a{color: #32302f;}
#main_menu ul li a .menu_sub_title{color: #5a6d72;}

#main_menu.fixed{
    background-color: rgb(237 237 146)!important;
    border-bottom: 1px solid #e3e38d;
}
#main_menu.fixed ul li a{color: #406e8c;}
#main_menu.fixed ul li a .menu_sub_title{color: #5a6d72;}

#aisatsu, #aisatsu .txt_white{
    color: #60402d;
    /*text-shadow: 0px 0px 3px #fff, 0px 0px 3px #fff, 0px 0px 3px #fff;*/
}

#contents1 .contents_box,#contents2 .contents_box,#contents3 .contents_box{
    /*background: #ffffc8;*/
    /*background: #fff;*/
}
.contents_box .txt_white{
    /*color: #468eb4;*/
    color: #60402d;
}

/*#aisatsu > div{background-color: rgba(255, 255, 222, 0.8)!important;}*/
#aisatsu > div{background-color: rgb(146 197 211)!important;}

#top_cms h2{color: #60402d;}
#top_cms p{color: #76665c;}

#info_map .txt_white{color: #231815;}
.foot_tel_bt .border_color4{border-color: #997a39;}
#f_menu{border-color: #8fa9b1;}
#f_menu ul li a,#foot_txt span{color: #60402d;}

#main_img2 .page_title{background-color: rgba(255, 255, 242, 0.3)!important;}
.page_title .bg_color1{background-color: transparent;}
.page_title .txt_white{color: #4b5558;}
.page_title .txt_color2{color: #80969d;}

.txt_white{color: #685b57;}
.txt_color1,.hvr_txt_color1:hover{color: #92c5d3;} 
.txt_color2,.hvr_txt_color2:hover{color: #EDED92;} 
/*.txt_color3,.hvr_txt_color3:hover{color: #60513c;} */
/*.txt_color4,.hvr_txt_color4:hover{color: #eae4df;} */
/*.txt_color5,.hvr_txt_color5:hover{color: #f2ede7;}*/ 

#top_cms .cms_title h2::before, #top_cms .cms_title h2::after{background-color: #8fa9b1;}
.bg_color1,.hvr_bg_color1:hover{background-color: #92c5d3;}
.bg_color2,.hvr_bg_color2:hover{background-color: #EDED92;}
.bg_color3,.hvr_bg_color3:hover{background-color: #EDED92;} 
.bg_color4,.hvr_bg_color4:hover{background-color: #aad5e1;} 
/*.bg_color5,.hvr_bg_color5:hover{background-color: #f2ede7;}*/ 

#top_cms .border_white{border-color: #8fa9b1;}
.border_color1,.hvr_border_color1:hover{border-color: #92c5d3;}
.border_color2,.hvr_border_color2:hover{border-color: #EDED92;}
.border_color3,.hvr_border_color3:hover{border-color: #ffffbd;}
.border_color4,.hvr_border_color4:hover{border-color: #8fa9b1;}
/*.border_color5,.hvr_border_color5:hover{border-color: #f2ede7;}*/

/*テンプレート  -------------------------------------*/

/* 閉じるボタン付き追従バナー */
.fix_banner{
	max-width: 200px;
	position: fixed;
	bottom: 70px;
	right: 10px;
	z-index: 10;
	transition: 0.5s;
}
.fix_banner .close_bt{
	position: absolute;
	bottom: 90px;
    right: -7px;
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	transition: 0.5s;
	background-color: rgba(255,255,255,1);
	border: solid 1px #eded92;
	z-index: 11;
	cursor: pointer;
}
.fix_banner .close_bt:hover{opacity: 0.7;}
.fix_banner .close_bt span{
	position: relative;
	display: block;
	width: 30px;
	height: 30px;
}
.fix_banner .close_bt span:before,.fix_banner .close_bt span:after{
	content: "";
	display: block;
	background-color: #92c5d3;
	height: 2px;
	width: 20px;
	position: absolute;
	top:50%;
	left: 50%;
}
.fix_banner .close_bt span:before{
	-ms-transform: translate(-50%,-50%) rotate(-45deg);
	-webkit-transform: translate(-50%,-50%) rotate(-45deg);
	transform: translate(-50%,-50%) rotate(-45deg);
}
.fix_banner .close_bt span:after{
	-ms-transform: translate(-50%,-50%) rotate(45deg);
	-webkit-transform: translate(-50%,-50%) rotate(45deg);
	transform: translate(-50%,-50%) rotate(45deg);
}
.fix_banner.close {
    /*opacity: 0;z-index: -1;*/
    right: -450px;
}
.fix_banner.close2{
    /*opacity: 0;z-index: -1;*/
    right: -450px;
}

@media  screen and (max-width: 768px){
.fix_banner{max-width: 200px;bottom: 70px;}
.fix_banner .close_bt{bottom: 90px;right: -5px;}
}

@media  screen and (max-width: 667px){
.fix_banner{max-width: 150px;bottom: 10px; right: auto; left: 10px;}
.fix_banner .close_bt{
	width: 25px;
	height: 25px;
	bottom: 67px;
	right: auto;
	left: 0;
}
.fix_banner .close_bt span{
	width: 25px;
	height: 25px;
}
.fix_banner.close {
    /*opacity: 0;z-index: -1;*/
    right: auto;
    bottom: -200px;
}
.fix_banner.close2{
    /*opacity: 0;z-index: -1;*/
    right: auto;
    bottom: -450px;
}
}
/* 閉じるボタン付き追従バナー end */