﻿
/* --------------------------------------------
 メインイメージ 
---------------------------------------------*/
.top_bnr{
    z-index: 3;
    position: absolute;
    bottom: 20px ;
    right: 2%;
    width: 25%;
    transition: all 0.3s;
}
.top_bnr:hover{opacity: 0.7;transform: translateX(1%);}

.catch_t{
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
}
.catch_b{
    z-index: 2;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
}

/* 動画位置調整 */
#video{height: calc(100vh - 110px)!important;}
#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: 1400px){
    #video video{width: 100%!important; height: auto!important;}
}
/* タブレット */
@media screen and (max-width: 768px){
    .catch_t{width: 80%;}
    .catch_b{width: 70%;}
    
    /* 動画位置調整 */
	#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%);
	}
}



/*---------------------------------------------
 テンプレート ・CMS・下層ページ 
--------------------------------------------*/
/*メニュー固定*/
aside.grid_3 {
        padding-top: 30px;
    position: sticky;
    top: 110px;
    left: 0;
}
#side_info{margin-top: 20px;}
.sns.mg_t-50px{margin-top: 20px;}
/*メニュー固定*/

.fa-envelope:before{content: "\f086"!important;}
header{z-index: 5;}
main article.grid_8{
    width: 70%!important;
    background-color: #fff;
    padding: 50px 4%;
    border-radius: 20px;
    margin-bottom: 50px;
}
header #logo{max-width: 230px;}
header .pd_b-20px.pd_t-20px{padding-bottom: 0px; padding-top: 10px;}
#header ul li a{max-width: 120px;margin: 0 auto;}
#header{box-shadow: 0 5px 10px rgba(64, 99, 181, 0.5);}
.mail_bt{transform: translateX(-16px);transition: all 0.3s;}
.mail_bt:hover{transform: translateX(-10px);}
#side_info .logo{
    margin: 10px auto;
    width: 50%!important;
}
#side_info figure{
    margin-top: 0px;
    border-radius: 10px;
}
#side_contact h2 span{
    background-color: #1549c3;
    border-radius: 15px;
    color: #fff;
    padding: 10px 20px;
}

#contents .box_wrap h2{
    font-size: calc(1rem + 12px);
    color: #1549c3;
}
#contents .box_wrap h2::first-letter{
    font-size: calc(1rem + 20px);
    background-color: #ffda00;
    border-radius: 15px;
    padding: 5px 10px;
}


#contents h3{
    font-weight: bold;
    font-size: 1.3em;
    letter-spacing: -0.05em;
    background-color: #ffef97;
    border-radius: 10px;
    padding: 5px 0 3px;
    text-align: center;
}
#contents figure img{border-radius: 10px;}




#page_title h2{
    color: #1549c3;
    font-weight: bold;
}

.cate_list li{
    width: 48%!important;
}
.cate_list li a{
    color: #fff;
    background: rgb(21,73,195);
    background: linear-gradient(-20deg, rgba(21,73,195,1) 0%, rgba(71,148,249,1) 100%);
    border-radius: 5px;
    box-shadow: 1px 2px 5px #8d9ab7;
    transition: all 0.3s;
}
.cate_list li a:hover{
    opacity: 0.7;
    color: #fff;
    transform: translateY(2px);
    box-shadow: 1px 0px 2px #8d9ab7;
}

#cms_3-e .box_item.box_text{background-color: #f7f7f7;border-radius: 10px;}

#cms_3-e .btn_container a {
    margin-left: 20px;
    display: block;
    background: rgb(21,73,195);
    background: linear-gradient(-20deg, rgba(21,73,195,1) 0%, rgba(71,148,249,1) 100%);
    color: #fff;
    max-width: 300px;
    text-align: center;
    padding: 10px;
    font-size: 20px;
    border-radius: 5px;
    box-shadow: 1px 2px 5px #8d9ab7;
}

.footer_box .logo{
    max-width: 170px;
    /*margin-right: 0;*/
    margin-bottom: 20px;
}
footer .border_color2{border-color: #1549c3;}

/* タブレット */
@media screen and (max-width: 768px){
    main article.grid_8{width: 100%!important;}
    .hamburger{top: 0px;}
    header{
        position: fixed; top: 0;
    }
    header.shadow-b_tb{box-shadow: 0 5px 10px rgba(64, 99, 181, 0.5);}
    header #logo{max-width: 160px;}
    header .pd_b-20px.pd_t-20px{padding-bottom: 10px; padding-top: 10px;}
    #side_info .logo{
        margin: 20px auto;
        width: 50%!important;
    }
    .mail_bt{
        width: 55%;
        margin: 20px auto 0;
    }
    
    #page_title{padding-top: 130px;}
    #page_title h2{font-size: 24px;}
    
    
    .cate_list li{width: 50%!important;letter-spacing: 0em;}
    
    #side_info p{text-align: center;}
    
}
/* スマホ */
@media screen and (max-width: 667px){
    main article.grid_8{padding: 0px 1%;}
    .mail_bt{width: 75%;}
    .cms_title h2{font-size: 22px; }
    #contents h2{font-size: 22px; }
    #contents h3{
        font-size: 1.2em;
        letter-spacing: -0.04em;
        padding: 13px 7% 7px;
        line-height: 1.3;
        text-align: left;
    }
    .fat-nav li{padding: 10px 0;}
    .cate_list li{width: 100%!important;}
    #cms_3-e .btn_container a{margin-left: 0px;}
    .tel_wrap{padding: 50px 0px;}
    .tel_wrap .tel_box p{letter-spacing: 0em;}
    .tel_wrap .tel_box a{padding: 10px 0;letter-spacing: 0em;}
}
/* 閉じるボタン付き追従バナー */
.fix_banner{
	max-width: 200px;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 4;
	transition: 0.5s;
}
.fix_banner .close_bt{
	position: absolute;
	bottom: 100px;
    right: 170px;
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	transition: 0.5s;
	background-color: #fff;
	border: solid 2px #ffda00;
	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: #858585;
	height: 4px;
	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;
}
.fix_banner.close2{opacity: 0;z-index: -1;}

@media  screen and (max-width: 768px){
.fix_banner{max-width: 240px; bottom: 10px;}
.fix_banner .close_bt{bottom: 71px;left: 13px;}
}

@media  screen and (max-width: 667px){
.fix_banner{max-width: 210px;}
.fix_banner .close_bt{
	width: 25px;
	height: 25px;
	bottom: 65px;
	left: 13px;
}
.fix_banner .close_bt span{
	width: 25px;
	height: 25px;
}
}
/* 閉じるボタン付き追従バナー end */
/*--------------------------------------------
 全体 
----------------------------------------------*/
.linkStyle{
	color: #edba00;
	text-decoration: underline;
	transition: all 0.5s;
}
.linkStyle:hover{
	color; #edba00;
	opacity: 0.7;
	text-decoration: none;
}


.txt_color1,.hvr_txt_color1:hover{color: #1549c3;} 
.txt_color2,.hvr_txt_color2:hover{color: #cbcbcb;} 
/*.txt_color3,.hvr_txt_color3:hover{color: #60513c;} */
.txt_color4,.hvr_txt_color4:hover{color: #e9e9e9;} 
/*.txt_color5,.hvr_txt_color5:hover{color: #f2ede7;}*/ 

.bg_color1,.hvr_bg_color1:hover{background-color: #1549c3;}
.bg_color2,.hvr_bg_color2:hover{background-color: #cbcbcb;}
/*.bg_color3,.hvr_bg_color3:hover{background-color: #60513c;} */
.bg_color4,.hvr_bg_color4:hover{background-color: #e9e9e9;} 
/*.bg_color5,.hvr_bg_color5:hover{background-color: #f2ede7;}*/ 

.border_color1,.hvr_border_color1:hover{border-color: #1549c3;}
.border_color2,.hvr_border_color2:hover{border-color: #cbcbcb;}
/*.border_color3,.hvr_border_color3:hover{border-color: #60513c;}*/
.border_color4,.hvr_border_color4:hover{border-color: #e9e9e9;}
/*.border_color5,.hvr_border_color5:hover{border-color: #f2ede7;}*/


html,body{font-size: 18px;
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    letter-spacing: 0.07em;
    line-height: 1.7;
    font-weight: 600;
    font-size: 18px;
}
/* スマホ */
@media screen and (max-width: 667px){
    html,body{line-height: 1.9;}
}