@charset "utf-8";

/* 共通（リセット）
-------------------------------------------------- */
*{
	margin: 0;
	padding: 0;
	line-height: 1.6em;
}

body{
	font-family: "Noto Sans JP", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
	-webkit-text-size-adjust: 100%;
	color: #333333;
}

body.fixed{
	height: 100vh;
	overflow: hidden;
}

img{
	vertical-align: bottom;
}

li{
	list-style-type: none;
}

/* PC用 */
@media screen and (min-width:768px){
	header{
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1000;
		box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.2);
		background: #ffffff;
	}

	.h_inner{
		box-sizing: border-box;
		padding: 10px 0;
		height: 60px;
		width: 100%;
		max-width: 1200px;
		margin: auto;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.h_inner .logo a{
		display: block;
	}

	.h_inner .logo img{
		height: 100%;
		max-height: 40px;
		width: auto;
	}

	/* ドロワーメニュー > ボタン
	------------------------------ */
	.open-btn1{
		position: relative;
		cursor: pointer;
		width: 30px;
		height: 40px;
		z-index: 10;
	}

	.open-btn1 span{
		display: inline-block;
		transition: all 0.4s;
		position: absolute;
		left: 0;
		height: 5px;
		transform: scaleY(0.5) translateY(1px);
		background: #333333;
		width: 100%;
	}

	.open-btn1 span:nth-of-type(1){top: 8px;}
	.open-btn1 span:nth-of-type(2){top: 18px;}
	.open-btn1 span:nth-of-type(3){top: 28px; width: 70%;}

	.open-btn1.active span:nth-of-type(1){
		top: 13px;
		right: 0;
		transform: translateY(6px) rotate(-45deg);
		width: 120%;
		height: 3px;
	}

	.open-btn1.active span:nth-of-type(2){
		opacity: 0;
	}

	.open-btn1.active span:nth-of-type(3){
		top: 25px;
		right: 0px;
		transform: translateY(-6px) rotate(45deg);
		width: 120%;
		height: 3px;
	}
	
	/* ドロワーメニュー > 背景
	------------------------------ */
	.nav-bg{
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 5;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.6);
		transition: all 0.3s;
	}

	.nav-bg.bg-active{
		display: block;
		transition: all 0.3s;
	}

	#sp-g-nav{display: none;}

	.navWrap{
		display: block;
		box-sizing: border-box;
		position: fixed;
		z-index: 10;
		background-color: #f1f1f1;
		font-size: 16px;
		font-weight: 300;
		line-height: 1.3;
		width: 100%;
		top: 0;
		right: -100%;
		transition: all 0.3s;
		padding: 80px 0 0;
	}

	.navWrap.panel-active{
		width: 100%;
		height: 100vh;
		top: 0;
		right: 0;
		transition: all 0.3s;
		padding: 80px 0 0;
	}

	/* ドロワーメニュー > 内部
	------------------------------ */
	.navInner{
		display: block;
		box-sizing: border-box;
		padding: 40px;
		background: #ffffff;
		box-shadow: 0 5px 5px 0 rgba(0,0,0,0.2);
		width: 100%;
		max-width: 1200px;
		margin: 0 auto;
	}

	.navList > li{
		margin-bottom: 20px;
		padding-bottom: 20px;
		border-bottom: 1px solid #cccccc;
	}

	.navList li a{
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 16px;
		font-weight: 600;
		color: #333333;
		text-decoration: none;
	}
	
	.navList li a:hover{
		text-decoration: underline;
	}

	.accordion{
		display: block;
		font-size: 16px;
		font-weight: 600;
		color: #333333;
		text-decoration: none;
		position: relative;
		z-index: 1;
		cursor: pointer;
	}
	
	.accordion::before{
		content: '';
		display: inline-block;
		position: absolute;
		top: 50%;
		right: 6px;
		width: 2px;
		height: 14px;
		margin-top: -7px;
		background-color: #cc0000;
		transition: 0.2s;
	}
	
	.accordion::after{
		content: '';
		display: inline-block;
		position: absolute;
		top: 50%;
		right: 0px;
		width: 14px;
		height: 2px;
		margin-top: -1px;
		background-color: #cc0000;
	}
	
	.accordion.open::before{
		transform: rotate(90deg);
		opacity: 0;
	}
}

/* SP用 */
@media screen and (max-width:767px){
	header{
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1000;
		box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.2);
		background: #ffffff;
	}

	.h_inner{
		box-sizing: border-box;
		padding: 10px 20px;
		height: 60px;
		width: 100%;
		max-width: 1300px;
		margin: auto;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.h_inner .logo a{
		display: block;
	}

	.h_inner .logo img{
		height: 100%;
		max-height: 40px;
		width: auto;
	}

	/* ドロワーメニュー > ボタン
	------------------------------ */
	.open-btn1{
		position: relative;
		cursor: pointer;
		width: 30px;
		height: 40px;
		z-index: 10;
	}

	.open-btn1 span{
		display: inline-block;
		transition: all 0.4s;
		position: absolute;
		left: 0;
		height: 5px;
		transform: scaleY(0.5) translateY(1px);
		background: #333333;
		width: 100%;
	}

	.open-btn1 span:nth-of-type(1){top: 8px;}
	.open-btn1 span:nth-of-type(2){top: 18px;}
	.open-btn1 span:nth-of-type(3){top: 28px; width: 70%;}

	.open-btn1.active span:nth-of-type(1){
		top: 13px;
		right: 0;
		transform: translateY(6px) rotate(-45deg);
		width: 120%;
		height: 3px;
	}

	.open-btn1.active span:nth-of-type(2){
		opacity: 0;
	}

	.open-btn1.active span:nth-of-type(3){
		top: 25px;
		right: 0px;
		transform: translateY(-6px) rotate(45deg);
		width: 120%;
		height: 3px;
	}
	
	/* ドロワーメニュー > 背景
	------------------------------ */
	.nav-bg{
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 5;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.6);
		transition: all 0.3s;
	}

	.nav-bg.bg-active{
		display: block;
		transition: all 0.3s;
	}

	.navWrap{
		display: block;
		box-sizing: border-box;
		position: fixed;
		z-index: 10;
		background-color: #f1f1f1;
		font-size: 16px;
		font-weight: 300;
		line-height: 1.3;
		width: 100%;
		top: 0;
		right: -100%;
		transition: all 0.3s;
		padding: 80px 0 0;
	}

	.navWrap.panel-active{
		width: 100%;
		height: 100vh;
		top: 0;
		right: 0;
		transition: all 0.3s;
		padding: 80px 0 0;
		overflow-y: scroll;
	}

	/* ドロワーメニュー > 内部
	------------------------------ */
	.navInner{
		padding: 0 20px;
	}
	
	.navList{
		box-sizing: border-box;
		background: #ffffff;
		padding: 30px 20px;
		box-shadow: 0 5px 5px 0 rgba(0,0,0,0.2);
	}

	.navList > li{
		margin-bottom: 20px;
		padding-bottom: 20px;
		border-bottom: 1px solid #cccccc;
	}
	
	.navList > li:last-child{
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: 0;
	}

	.navList li a{
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 16px;
		font-weight: 600;
		color: #333333;
		text-decoration: none;
	}
	
	.navList li a:hover{
		text-decoration: underline;
	}
}