@charset "utf-8";

/*------------------------------------------------------------
	ヘッダー
------------------------------------------------------------*/


@media all and (min-width: 0) and (min-width: 768px) {
	.menuBox {
		display: none !important;
	}
}
#gHeader{display: none}

@media screen and (max-width: 767px) {
	#gHeader {
        display: block;
		width: 100%;
		height: 60px;
		border-bottom: none;
		padding: 17px 18px 4px;
		position: fixed;
		left: 0;
		top: 0;
		background-size: 7px auto;
		box-sizing: border-box;
		z-index: 1000;
        background-color: #fff;
        filter:drop-shadow(0px 0px 4px rgba(0,0,0,0.5));
	}
    #gHeader a.pagelogo{
        display: block;
        width: 220px;
    }
	#gHeader .hBox01 ul {
		width: 135px;
		position: absolute;
		right: 50px;
		top: 20px;
		text-align: right;
	}
	
	#gHeader .hBox01 ul li {
		margin: 0;
		float: left;
	}
	
	#gHeader .hBox01 ul li img {
		height: 30px;
	}

	.menu {
		position: absolute;
		right: 18px;
		top: 25px;
	}

	.menu img {
		width: 23px;
	}

	.menuBox {
		width: 100%;
		position: fixed;
		left: 0;
		top: 60px;
		display: none;
		z-index: 2000;
		border-top: 1px solid #000;
		background-color: #fff;
		overflow-y: scroll;

        max-height: calc(100vh-60px);
        height: 100vh;
	}
	
	.menuBox li {
		position: relative;
	}

	.menuBox li a,
	.menuBox li span {
		padding: 25px 25px;
		display: block;
		color: #333;
		font-size: 14px;
		border-bottom: 1px solid #999;
        text-align: center;
	}
	
	.menuBox li li a,
	.menuBox li li span {
		padding: 15px 30px 15px 35px;
	}
	
	.menuBox li li li a,
	.menuBox li li li span {
		padding: 15px 30px 15px 45px;
	}
	
	.menuBox li ul {
		display: none;
	}
	
	.menuBox li .accordion {
		padding: 0;
		border: none;
		width: 20px;
		height: 20px;
		position: absolute;
		right: 20px;
		top: 15px;
		background: url(img/common/icon_m.png) no-repeat center center;
		background-size: 20px auto;
	}
	
	.menuBox li .accordion.on {
		background: url(img/common/icon_p.png) no-repeat center center;
	}
    .menuBox li a:hover{
        background-color: #eee;
    }
}

/*------------------------------------------------------------
	gNavi
------------------------------------------------------------*/

/* ナビゲーション */
#gHeader_pc{
    position: absolute;
    top:0px;
    color:#fff;
    z-index: 100;
    background-color: rgba(255,255,255,1);
    filter:drop-shadow(0px 0px 4px rgba(0,0,0,0.5));
    width: 100%;
    height: 76px;
}
#gHeader_pc div{
    font-size:4.2rem;
    font-weight: 400;
    text-align: center;
    color:#fff;
}

#gNavi{
    width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content:space-between;
}
#gNavi .pagelogo{
    width: 282px;
    display: block;
    padding: 18px 0;
}
#gNavi ul {
	text-align: center;
	display: flex;
}

#gNavi ul li {
	margin: 0 auto;
}

#gNavi ul li a {
    display: block;
    padding: 30px 12px;
    height: 60px;
	color: #333;
	font-size: 1.4rem;
    letter-spacing: 0.1em;
	font-weight: 400;
    transition: 0.5s ease-in-out;
}
#gNavi ul li a.trans{
    letter-spacing: 0.1em;
}

#gNavi ul li a:hover {
    background-color: #fff;
    color: #333;
}
#gHeader_pc a.contactBtn{
    padding: 12px 0;
    margin-top: 15px;
}

@media screen and (max-width: 767px) {
	#gNavi {
		display: none;
	}

}

/*------------------------------------------------------------
	フッター
------------------------------------------------------------*/
#footer{
    background: #000;
}
#footer .footer_box{
    width: 96%;
    max-width: 1220px;
    margin: 0 auto;
}
.copyright{
    text-align: center ;
    font-size: 85%;
    padding:10px 0;
    color: #fff;
}
@media screen and (max-width: 767px) {
    #footer{
        margin-top: 0px;
    }
    #footer .footer_box{
        width: 100%;
        min-width: 320px;
    }
    .copyright{
        font-size: 160%;
    }
}
/*------------------------------------------------------------
	その他 共通
------------------------------------------------------------*/
/*スクロールしたら、このCSSを適用し、ナビゲーションバーの位置を固定する*/
.is-fixed {
	position: fixed !important;
	top: 0;
    bottom: inherit !important;
	left: 0;
	z-index: 10000;
	width: 100%;
}
.is-spaced:before{
	content:"";
	height: 101px;
	width: 100%;
	display: block;
}

/* コンテンをフェードで登場させる */
.fadeIn {
    visibility: hidden;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1s cubic-bezier(0,0.3,0.3,1), transform 1s cubic-bezier(0,0.3,0.3,1);
}

.fadeIn.animated {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);

}

/*アニメーションのロールオーバ処理野ついたボタンリンク*/
.homeBtn {
    width: 390px;
}
.homeBtn a {
    display: block;
    width: 100%;
    padding: 26px 30px;
    color: #3b3b3b;
    font-size: 90%;
    letter-spacing: 0.2em;
    text-align: left;
    background: transparent;
    border: 1px solid #3b3b3b;
}
.homeBtn a span:before, .homeBtn a span:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    -webkit-transition: .2s;
    transition: .2s;
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
}
.homeBtn a span:before {
    width: 100px;
    height: 1px;
    background: #3b3b3b;
}
.homeBtn a:hover span {
    color: #fff !important;
}
.homeBtn a:hover span:before {
    background: #fff;
}
.homeBtn--nolink{
    margin-top: 30px;
    margin-top: 40px;
}
.homeBtn--nolink .nolink-text{
    display: block;
    width: 100%;
    background-color: #cccccc;
    border: 1px solid #ccc;
    cursor: default;
    text-align: center;
    font-size: 115%;
    padding: 12px 10px 10px;
    color: #fff;
    letter-spacing: 0.1em;
}
.homeBtn--nolink .nolink-text span{
    border-top:1px solid #fff;
    display: block;
    font-size: 70%;
    letter-spacing: 0.15em;
    width: 120px;
    margin: 0 auto;
    color: #fff;
    margin-top: 6px;
    padding-top: 3px;
}

.anime-btnFill {
    z-index: 1;
    box-sizing: border-box;
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

.anime-btnFill:hover {
    color: #cec8c4;
}

.anime-btnFill:before {
    z-index: -1;
    box-sizing: border-box;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #24140c;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

.anime-btnFill:hover:before {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

@media screen and (max-width: 767px) {
    .homeBtn {
        width: 100%;
    }
    .homeBtn a {
        color: #fff;
        background-color: #000;
        font-size: 120%;
        padding: 8px 30px;
        text-align: center;
    }
    .homeBtn a span{
        color: #fff;
    }
    .homeBtn a span:before, .homeBtn a span:after {
        display: none;
    }
}

#pagetop{
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 60px;
    z-index: 2000;
    display: none;
}
#pagetop.footer-fix{
    bottom: 106px;
}
@media screen and (max-width: 767px) {
    #pagetop{
        bottom: 46px;
        right: 0px;
        width: 40px;
    }
}


