* {
	margin: 0;
	padding: 0;
}
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

html,body {
	height: 100%;
}
body {
	font-size: 14px;
	font-family: 'Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
	background: #eee;
	-webkit-text-size-adjust: 100%;
}

#main {
	background: #eee;
}
#main-in {
	padding-left: 260px;
	min-height: 98vh;
}
#main p {
	margin-bottom: 1em;
	line-height: 1.9;
}
#main .inner {
	padding: 60px;
}

/* ここから */
#global-head {
	position: fixed;
	color: #033560;
	width: 260px;
	text-align: center;
	padding-top: 20px;
	z-index: 100;
}

#sidebar {
	font-size: 15px;
	padding-top: 120px;
	width: 260px;
	height: 100%;
	position: fixed;
	color: #033560;
	background: #fff;
	text-align: center;
}

#global-nav ul {
	list-style: none;
	margin-left: 0;
}
#global-nav > ul > li {
	position: relative;
}

#global-nav a {
	color: #033560;
	text-decoration: none;
	display: block;
	/*padding: 15px 0;*/
	padding: 10px 0;      /* ← 15px から 10px に */
	line-height: 1.3;    /* ← 追加：文字の行高を少し詰める */
	-moz-transition: background-color .3s linear;
	-webkit-transition: background-color .3s linear;
	transition: background-color .3s linear;
}
#global-nav .sub-menu.is-active > a,
#global-nav a:hover {
	color: #fff;
	background: #54a690;
}

#global-nav .sub-menu-nav a,
#global-nav .sub-menu:hover .sub-menu-nav {
	width: 230px;
}

/* nav-toggle */
#nav-toggle {
	display: none;
	position: fixed;
	top: 15px;
	right: 15px;
	height: 32px;
}
#nav-toggle > div {
	position: relative;
	width: 32px;
}
#nav-toggle span {
	width: 100%;
	height: 2px;
	left: 0;
	display: block;
	background: #033560;
	position: absolute;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
	top: 0;
}
#nav-toggle span:nth-child(2) {
	top: 11px;
}
#nav-toggle span:nth-child(3) {
	top: 22px;
}

#overlay {
	display: none;
	position: fixed;
	background: rgba(0,0,0,.6);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

footer{
	text-align: center;
	margin-left: 260px;
}

/*899px以下用（タブレット以下）2022/06/27 1024pxに変更*/
@media screen and (max-width: 1024px) {
	#main-in {
		padding-left: 0;
		padding-top:80px;
	}

	#global-head {
		width: 100%;
		padding: 5px;
		background: rgba(255,255,255,.8);
		display: -webkit-flex;
		display: flex;
		align-items: center;
	}

	#global-head h1{
		display: flex;
	}

	#sidebar {
		/*display: none;*/
		position: fixed;
		right: -300px;
		top: 0;
		height: 100%;
		width: 300px;
		color: #333;
		background: #fff;
		-webkit-transition: .35s ease-in-out;
		transition: .35s ease-in-out;
	}

	/* サブメニューは開けない */
	#global-nav .sub-menu-head:after,
	#global-nav .sub-menu-nav {
		display: none;
	}
	#nav-toggle {
		display: block;
	}

	/* nav open */
	.open {
		overflow: hidden;
	}
	.open #overlay {
		display: block;
	}
	.open #sidebar  {
		-webkit-transform: translate3d(-300px,0,0);
		transform: translate3d(-300px,0,0);
	}

	/* #nav-toggle close */
	.open #nav-toggle span:nth-child(1) {
		top: 11px;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	.open #nav-toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}
	.open #nav-toggle span:nth-child(3) {
		top: 11px;
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	/* z-index */
	#overlay {
		z-index: 200;
	}
	#sidebar {
		z-index: 300;
	}
	#nav-toggle {
		z-index: 400;
	}

	footer{
		margin-left: 0;
	}
}

@media screen and (max-width: 400px) {
	#sidebar {
		right: -200px;
		width: 200px;
		padding-top: 60px;
	}
	.open #sidebar  {
		-webkit-transform: translate3d(-200px,0,0);
		transform: translate3d(-200px,0,0);
	}
	footer{
		margin-left: 0;
	}
}


/*
　各ページの見出し部分
*/
.headPanel{
	padding:20px 20px 0;
	text-align: center;
	font-size: 24px;
}

/*デザインＢ（タブレットサイズ）*/
@media screen and (min-width:768px) and ( max-width:1300px) {
	.headPanel{
		padding:20px 20px 0;
		text-align: center;
		font-size: 18px;
	}
}

/*デザインＣ（スマホサイズ）*/
@media screen and (max-width:767px) {
	.headPanel{
		padding:20px 20px 0;
		text-align: center;
		font-size: 18px;
	}
}

/*
　各ページのコンテンツ部分
*/
.contentPanel{
	width:100%;
	max-width: 1200px;
	margin:0 auto;
	margin-top: 30px;
	padding: 10px;
}
.text-center{
	text-align: center;
}