@charset "UTF-8";
@import url(./reset.css);
@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
@import url('https://fonts.googleapis.com/css2?family=Old+Standard+TT:ital,wght@0,400;0&display=swap');

* {
	box-sizing: border-box;
}

html {
	overflow: auto;
}
body {
	font-family: "Noto Sans Japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	font-weight: normal;
	font-size: 15px;
	-webkit-text-size-adjust: none;
	-webkit-font-smoothing: antialiased;
	line-height: 1;
	color: #222;
	background-color: #fff;
	letter-spacing: 0.1em;
	overflow: hidden;
}

img {
	border: none;
	vertical-align: bottom;
	height: auto;
}

.clearfix:after {
	content: ""; 
	display: block; 
	height: 0; 
	font-size:0;	
	clear: both; 
	visibility:hidden;
}

.mb0 { margin-bottom: 0px !important; }
.mb10 { margin-bottom: 10px !important; }
.mb20 { margin-bottom: 20px !important; }
.mb30 { margin-bottom: 30px !important; }
.mb40 { margin-bottom: 40px !important; }
.mb50 { margin-bottom: 50px !important; }
.mb60 { margin-bottom: 60px !important; }
.mb1em { margin-bottom: 1em !important; }
.mb2em { margin-bottom: 2em !important; }
.mb3em { margin-bottom: 3em !important; }
.mb4em { margin-bottom: 4em !important; }
.mb5em { margin-bottom: 5em !important; }
.mb6em { margin-bottom: 6em !important; }
.pt0 { padding-top: 0px !important; }
.pb0 { padding-bottom: 0px !important; }
.pt60 { padding-top: 60px !important; }
.pb60 { padding-bottom: 60px !important; }
.center { text-align: center; }
.alignright { float: right; margin: 0 0 40px 40px;}
.aligncenter { text-align: center; }
.bold { font-weight: 900; }
.nowrap { white-space: nowrap; }


.en {
	font-family: "Old Standard TT", serif;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0;
}

@media screen and (max-width: 767px){
	.pcOnly{
		display: none !important;
	}
	
	.alignright { float: none; margin: 0 0 20px 0;}
}

@media screen and (min-width: 768px){
	.spOnly{
		display: none !important;
	}
}

#wrapper {
	width: 100%;
	position: relative;
	margin: 0 auto;
}

@media screen and (max-width: 767px){
	#wrapper {
		min-width: 100%;
	}
}

#js-menuBk {
	display: none;
	position: fixed;
	z-index: 10;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
}


/*------ヘッダーメニュー-----*/

header {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 130px;
	position: fixed;
	left: 0;
	top: 0;
	background: #fff;
	z-index: 999;
}
header .logo a {
	width: 430px;
	height: 26px;
	display: flex;
	justify-content: center;
	align-items: center;
}
header .logo img {
	width: 100%;
	height: auto;
	transition: opacity 0.3s ease;
}
header .logo a img:hover {
	opacity: 0.6;
}
.btn_spmenu {
	position: fixed;
	right: 10px;
	top: 20px;
	display: block;
	width: 90px;
	height: 90px;
	text-align: center;
	cursor: pointer;
	z-index: 999;
}
.menubtn {
	position: fixed;
	right: 0;
	top: 0;
}
.btn_close {
	position: absolute;
	right: 10px;
	top: 20px;
	display: block;
	width: 90px;
	height: 90px;
	color: #ffffff;
	text-align: center;
	cursor: pointer;
	z-index: 999;
}
.btn_spmenu span,
.btn_spmenu::before,
.btn_spmenu::after {
	content: '';
	width: 50px;
	height: 1px;
	position: absolute;
	top: 45px;
	left: 50%;
	margin-left: -25px;
	background: #222;
	transition: all 0.3s ease;
}
.btn_spmenu::before {
	transform: translateY(-12px);
}
.btn_spmenu::after {
	transform: translateY(12px);
	width: 30px;
}
.btn_close span,
.btn_close::before,
.btn_close::after {
	content: '';
	width: 50px;
	height: 1px;
	position: absolute;
	top: 45px;
	left: 50%;
	margin-left: -25px;
	background: #000;
	transition: all 0.3s ease;
}
.btn_close span {
	opacity: 0;
}
.btn_close::before {
	transform: translateY(0) rotate(45deg);
}
.btn_close::after {
	transform: translateY(0) rotate(-45deg);
}
.g_navi {
	position: fixed;
	z-index: -9999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	visibility: hidden;
	border: none;
	background: #fff;
	transition: all .3s;
	display: flex;
	justify-content: space-between;
	align-items: center;
	opacity: 0;
	overflow: auto; /*追加*/
	-webkit-overflow-scrolling: touch; /*追加*/
}
.g_navi.is-active {
	z-index: 9999;
	opacity: 1;
	visibility: visible;
}
.g_navi ul {
	width: 100%;
}
.g_navi li {
	margin-bottom: 40px;
	font-size: 48px;
	line-height: 1.3;
}
.g_navi li a {
	color: #222;
	text-decoration: none;
	transition: opacity 0.3s ease;
	display: block;
	text-align: center;
}
.g_navi li a:hover {
	opacity: 0.6;
}

@media screen and (max-width: 999px){

	header {
		height: 90px;
	}

	header .logo a {
		width: 330px;
		height: 20px;
	}
	.btn_spmenu {
		top: 0px;
	}
	.btn_close {
		top: 0px;
	}
	.g_navi li {
		margin-bottom: 40px;
		font-size: 40px;
	}
	
}

@media screen and (max-width: 767px){

	header {
		height: 60px;
		justify-content: flex-start;
	}
	header .logo {
		margin-left: 15px;
	}
	header .logo a {
		width: 200px;
		height: 12px;
	}
	.btn_spmenu {
		right: 0px;
		top: 5px;
		width: 50px;
		height: 50px;
	}
	.btn_close {
		right: 0px;
		top: 5px;
		width: 50px;
		height: 50px;
	}
	.btn_spmenu span,
	.btn_spmenu::before,
	.btn_spmenu::after {
		width: 30px;
		top: 25px;
		margin-left: -15px;
	}
	.btn_spmenu::before {
		transform: translateY(-8px);
	}
	.btn_spmenu::after {
		transform: translateY(8px);
		width: 20px;
	}
	.btn_close span,
	.btn_close::before,
	.btn_close::after {
		width: 40px;
		top: 20px;
		margin-left: -20px;
	}
	.g_navi li {
		margin-bottom: 30px;
		font-size: 30px;
	}
	
}



/*------フッター-----*/

footer {
	background-color: #fff;
	padding: 40px 80px 60px;
}
footer .inner {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	text-align: center;
	font-size: 14px;
	line-height: 1.5;
}
footer a {
	text-decoration: none;
	color: #222;
	order: 1;
}
footer a:hover {
	text-decoration: underline !important;
}

@media screen and (max-width: 999px){
	
	footer {
		padding: 0px 60px 40px;
	}
	footer .inner {
		border-top: 1px solid #ccc;
		padding-top: 40px;
		font-size: 13px;
	}
	
}

@media screen and (max-width: 767px){
	
	footer {
		padding: 0px 20px 30px;
	}
	footer .inner {
		padding-top: 30px;
		font-size: 13px;
		flex-direction: column;
		text-align: center;
	}
	footer a {
		order: -1;
		display: inline-block;
		margin-bottom: 30px;
	}
}

/*--------------pageTop--------------*/

#pageTop{
	position: fixed;
	right: -60px;
	bottom: 20px;
	width: 40px;
	height: 40px;
	background: rgba(0, 0, 0, 0.5) url(../img/common/pagetop.png) no-repeat 50% 50%;
	background-size: 14px;
	z-index: 9998;
	transition: all 0.3s ease;
	text-indent: -9999px;
}

#pageTop.showIn{
	right: 0;
}

@media screen and (min-width: 768px), print{
	#pageTop{
		right: 35px;
		bottom: -60px;
		width: 60px;
		height: 60px;
		background: rgba(0, 0, 0, 0.5) url(../img/common/pagetop.png) no-repeat 50% 50%;
		background-size: 27px;
	}
	
	#pageTop.showIn{
		right: 35px;
		bottom: 30px;
	}
}




/*------アニメーション-----*/

.fadeIn {
	opacity: 0;
	visibility: hidden;
	transition: all 1s ease;
}
.fadeIn.show {
	opacity: 1;
	visibility: visible;
	transform: translate(0,0);
}

.fi_top {
	transform: translate(0,60px);
}

.fi_bottom {
	transform: translate(0,-60px);
}

.fi_right {
	transform: translate(60px,0);
	transition-delay: 0s;
}
.fi_left {
	transform: translate(-60px,0);
	transition-delay: 0s;
}

.delay {
	transition-delay: 0.5s !important;
}

/*	LOADING	*/

#loading {
	width: 100%;
	height: 100%;
	background: #fff;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
}

#loading .ldgimg {
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	display: none;
	text-align: center;
}
#loading .ldgimg .en {
	font-size: 22px;
	letter-spacing: 0.05em;
	-moz-animation: ldgtxt 1.5s infinite;
	-webkit-animation: ldgtxt 1.5s infinite;
	-o-animation: ldgtxt 1.5s infinite;
	-ms-animation: ldgtxt 1.5s infinite;
}

#loading span {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 2px;
	background-color: #000;
}

#loading span.loaded {
	width: 0;
	height: 0;
	-moz-animation: ldg 1.5s;
	-webkit-animation: ldg 1.5s;
	-o-animation: ldg 1.5s;
	-ms-animation: ldg 1.5s;
}

@media screen and (max-width: 767px){
	
	#loading .ldgimg img {
		width: 200px;
		margin-bottom: 40px;
	}
	
}

@keyframes ldg {
	0% {
		width: 0;
		height: 2px;
	}
	50% {
		width: 100%;
		height: 2px;
	}
	80% {
		width: 100%;
		height: 2px;
	}
	100% {
		width: 100%;
		height: 0;
	}
}

@keyframes ldgtxt {
	0% {
		opacity: 0;
	}
	40% {
		opacity: 100;
	}
	60% {
		opacity: 100;
	}
	100% {
		opacity: 0;
	}
}
