﻿#header h1{
	position: fixed;
	top: 20px;
	left: 20px;
	transform: translate(0%,0%);
	z-index: 999;
	padding: 15px;
}
#header h1 img{
	max-width: 105px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
/* タブレット */
@media screen and (max-width: 768px){
    #header h1{padding: 10px;}
    #header h1 img{max-width: 74px;}
}
/* スマホ */
@media screen and (max-width: 667px){
    #header h1{
        padding: 5px;
        top: 10px;
        left: 10px;
    }
    #header h1 img{max-width: 69px;}
    /*#header h1.active img{max-width: 62px;}*/
}

/* CMS・下層ページ ----------------------------------*/
#cms_5-f #cate0 .cate_box .open_bt .box_title1::before, .cms_5-f .cate_box .open_bt .box_title1::before{display: none;}
#cms_5-f #cate0 .cate_box .box_item, .cms_5-f .cate_box .box_item{display: block;}
#cms_5-f #cate0 .cate_box .open_bt .arrow::after{transform: rotate(0deg);}
.cms_5-f .cate_box .open_bt .arrow::after{transform: rotate(0deg);}
#cms_5-f .cate_box .box_txt1, .cms_5-f .cate_box .box_txt1,
#cms_3-e .box_txt1{ background-color: #fff0e4;}
#cms_3-e .box_txt1{
    padding: 10px;
    margin-top: 10px;
}
/* タブレット */
@media screen and (max-width: 768px){}
/* スマホ */
@media screen and (max-width: 667px){
    #cms_2-f .cate_title h3{letter-spacing: 0em;}
}

/* メインイメージ -----------------------------------*/
.catch {
    z-index: 3;
    position: absolute;
    top: 160px;
    left: 5%;
    transform: translate(0%, 0%);/* X横 Y縦 始点が要素の中心になる */
    width: 15%;
}
#video{height: 100vh!important; z-index: 2;}
#video video{
	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;
    z-index: 2;
}
@media screen and (min-width: 1651px){
    #video video{width: 100%!important;height: auto;}
}
/* タブレット */
@media screen and (max-width: 768px){
    #main_img{height: auto!important;}
    .catch {top: 140px;}
	#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: 667px){
    .catch{
        top: 90px;
        width: 22%;
    }
    #main_img{
        height: auto;
        background-image: url(../Dup/img/head_sp.jpg);
        background-size: cover;
        /*background-color: #122248;*/
    }
    #video{margin-top: 80px;}
}

/* トップページ -------------------------------------*/
#intro{
    color: #333;
    background-image: url(../Dup/img/intro_bg.jpg);
    background-size: cover;
}
#intro p{text-shadow: 0px 0px 5px #fff,0px 0px 10px #fff,0px 0px 15px #fff;}

.dec1{
    top: -60px;
    right: 10%;
    z-index: 0;
}
#contents1 p .dec2{
    left: -50px;
    top: 40%;
    opacity: 0.8;
    z-index: 0;
    position: absolute;
    width: 30%;
}
#contents1 h2 span{
    background-color: rgba(255, 255, 255, 0.7);
    text-shadow: 0px 0px 7px #fff, 0px 0px 5px #fff, 0px 0px 8px #fff;
}
#contents1 p{
    background-color: #fff0e4;
    padding: 19px 50px;
    position: relative;
    z-index: 2;
    margin-left: 30%;
    margin-right: 15%;
}
#contents1 p span{
    position: relative;
    z-index: 2;
}

/* タブレット */
@media screen and (max-width: 768px){
    #contents1 p{
        padding: 15px;
        width: 95%!important;
        margin: 100px auto 0;
    }
}
/* スマホ */
@media screen and (max-width: 667px){
    #intro{background-image: url(../Dup/img/intro_bg_sp.jpg);}
    
    #contents1 p{width: 100%!important;}
    #contents1 p .dec2{
        display: none;
    }
    .dec1{width: 50%; top: -40px;}
}

/* 全体 ---------------------------------------------*/
#intro h2,#contents1 h2,#contents2 h3,#contents3 h3{font-family: 'Yuji Syuku', serif;
    font-weight: 400;
}

#main_nav.active{background-color: #333;}


#page_title{
    background-image: url(../Dup/img/img_big.jpg);
    background-size: cover;
    background-position: center center;
}
.linkStyle{
	color: #f5681d;
	text-decoration: underline;
	transition: all 0.5s;
}
.linkStyle:hover{
	color: #f5681d;
	opacity: 0.7;
	text-decoration: none;
}

#footer{
    background-color: #333;
    color: #fff;
}

/* タブレット */
@media screen and (max-width: 768px){}
/* スマホ */
@media screen and (max-width: 667px){
    .cate_list a{display: block;}
    .cate_list a img{padding-left: 5px; width: 30px;}
}

/* 配色 ----------------------------------------------*/

.txt_color1,.hvr_txt_color1:hover{color: #f5681d;} 
/*.txt_color2,.hvr_txt_color2:hover{color: #f4f3f2;} */
.txt_color3,.hvr_txt_color3:hover{color: #333;} 
/*.txt_color4,.hvr_txt_color4:hover{color: #eae4df;} */
/*.txt_color5,.hvr_txt_color5:hover{color: #f2ede7;}*/ 

.bg_color1,.hvr_bg_color1:hover{background-color: #f5681d;}
.bg_color2,.hvr_bg_color2:hover{background-color: #fff0e4;}
.bg_color3,.hvr_bg_color3:hover{background-color: #333;} 
/*.bg_color4,.hvr_bg_color4:hover{background-color: #eae4df;} */
/*.bg_color5,.hvr_bg_color5:hover{background-color: #f2ede7;}*/ 

.border_color1,.hvr_border_color1:hover{border-color: #f5681d;}
/*.border_color2,.hvr_border_color2:hover{border-color: #f4f3f2;}*/
.border_color3,.hvr_border_color3:hover{border-color: #333;}
/*.border_color4,.hvr_border_color4:hover{border-color: #eae4df;}*/
/*.border_color5,.hvr_border_color5:hover{border-color: #f2ede7;}*/

/*テンプレート  -------------------------------------*/

/* news type4 -------------------------------*/
.topcms_news_type4 .cate_box{
	width: 30.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	/*border-radius: 15px;*/
	background-color: #fff;
	padding: 0;
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
}
.topcms_news_type4 .cate_box .box_img1{
    /*border-radius: 15px 15px 0 0;*/
}
.topcms_news_type4 .txt_height{
	height: 3em
}
.topcms_news_type4 .box_title1:empty{
	display: block!important;
}
/* タブレット */
@media screen and (max-width: 768px){
}
/* スマートフォン */
@media screen and (max-width: 667px){
.topcms_news_type4 .cate_box {
    width: 100%!important;
    margin-bottom: 15px;
}
}

/* contact_type1 ------------------------------------*/
.contact_type1 .left, .contact_type1 .right {
    padding: 40px 27px 30px;
    background-color: #f7f7f7;
    margin: 1%;
    width: 48%!important;
    box-sizing: border-box;
}
.contact_type1 .cate_title {
    padding: 0;
    margin: 0;
    font-size: 19px;
    margin-bottom: 16px;
}
.contact_type1 .con_box1 a {
    display: block;
    max-width: 330px;
    margin: 0 auto 27px;
    transition: opacity .6s;
}
.contact_type1.con_box2 a{
    display: block;
    max-width: 450px;
    margin: 0 auto;
    transition: opacity .6s;
}
.contact_type1 .click_bt {
    cursor: pointer;
    padding: 10px 18px;
    background-color: #fff;
    box-shadow: 0 3px 8px rgb(0 0 0 / 10%);
    border-radius: 5px;
    text-align: center;
}
.contact_type1 .txt_box{
     display: none
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
    .contact_type1 .left, .contact_type1 .right {
        width: 80%!important;
    }
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){
    .contact_type1 .left, .contact_type1 .right {
        padding: 30px 27px 30px;
        width: 100%!important;
        margin-bottom: 20px;
    }
    .contact_type1 .cate_title {
        font-size: 17px;
    }
}

/*-------------------------------------------------------
				ローディング画面
-------------------------------------------------------*/

#loading::before{
    content: "";
    background-image: url(./Dup/img/loading_noren.png);
    width: 100%;
    height: 70%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
}
#loading::after{
    content: "";
    background-image: url(./Dup/img/loading_bg_nomove.png);
    width: 50%;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999998;
}

#loading{
	position: fixed;
	height: 100%;
	width: 100%;
	z-index: 999999;
	background-color: transparent;
    top:0;
    /*background-image: url(./Dup/img/loading_bg.png);*/
    /*background-size: cover;*/
}
#loading_line{
	position: absolute;
	top: 0;
	margin: auto;
	width: 100%;
	height: 100%;
}
#loading_line .line{
    background-image: url(./Dup/img/loading_bg_move.png);
    background-size: cover;
}
#loading_line .line{
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	left: 0;
}
/*
#loading_line .line2{
	position: absolute;
	top: 0;
	width: 0;
	height: 100%;
	z-index: 2;
	background-color: #fff;
}
*/
#loading_logo{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 60%;
	max-width: 150px;
	z-index: 3;
}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
    #loading::before{height: 30%;}
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){
    #loading_line .line{background-image: url(./Dup/img/loading_bg_move_sp.png);}
    #loading::before{background-image: url(./Dup/img/loading_noren_sp.png);}
    #loading::after{display: none;}
}