@charset "utf-8";

/*~~*/

body {
	width: 100%;
	height: 100vh;
	min-height: 100vh;
	/*
	display: flex;
	flex-direction: column;
	*/
}

/*~~*/

.a-wrap {
	position: relative;
}

.a-wrap a {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: block;
}

.a-wrap a:hover {
	background: rgba(0, 0, 0, 0.5);
}

/*~~*/

#nav {
	border-bottom: 1px solid #e1e1e1;
	background: linear-gradient(to bottom, #e1e1e1, #f5f5f5);
	text-align: center;
}

#nav .sns {
	display: flex;
}

#nav .sns span {
	background: #000;
	border-radius: 50%;
	color: #fff;
}

/*~~*/

header .head {
	display: flex;
	align-items: center;
}

header .head h1 {
	font-weight: 400;
	line-height: 120%;
}

/*~~*/

footer {
	width: 100%;
	margin-top: auto;
	border-top: 1px solid #e1e1e1;
	background: linear-gradient(to bottom, #f5f5f5, #e1e1e1);
}

footer a {
	display: block;
}

footer p {
	border-top: 1px solid #999;
}

/*~~*/

.topbtn {
	position: fixed;
}

.topbtn span {
	margin: 0 auto;
	padding: 3px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	display: block;
	cursor: pointer;
}

.topbtn span:hover {
	background: rgba(0, 0, 0, 0.75);
	position: relative;
	bottom: 7pt;
}

/*~~*/

.backbtn {
	margin-top: 20px;
	text-align: center;
}
	
.backbtn div {
	width: 150px;
	padding: 5px;
	border-radius: 38px;
	border: 3px solid #c8c8c8;
	display: inline-block;
}
	
.backbtn div a {
	padding: 7px 10px;
	background: linear-gradient(#4b4b4b, #1e1e1e);
	border-radius: 28px;
	display: block;
	font-size: 14px;
	line-height: 100%;
	color: #FFF;
	text-align: center;
}

/*
SP
*/
/*////////////////////////////////////////////////////////////////////////////*/
@media all and (max-width: 768px) {
	/*
	*/
	.h1, .h1 > * {
		font-size: 26px;
	}
	
	.h2, .h2 > * {
		font-size: 20px;
	}
	
	.h3, .h3 > * {
		font-size: 18px;
	}
	
	.h4, .h4 > * {
		font-size: 16px;
	}
	
	.h5, .h5 > * {
		font-size: 14px;
	}
	
	.h6, .h6 > * {
		font-size: 12px;
	}

	section .h1 + div[class*="-body"],
	section .h2 + div[class*="-body"],
	section .ex + div[class*="-body"],
	section .h1 + .element,
	section .h2 + .element,
	section .ex + .element {
		margin-top: 15px;
	}

	section .h1 {
		text-align: center;
	}

	section .h2 {
		text-align: center;
	}

	section .wrap {
		width: 100%;
		padding: 15px;
	}

	section .ex p {
		padding-top: 7px;
		border-top: 1px solid #999;
		font-size: 14px;
		line-height: 150%;
		text-align: justify;
		text-justify: inter-ideograph;
	}		

	section .nt {
		margin-top: 15px;
	}

	/*~~*/

	#nav {
		padding: 10px 10px 5px;
	}
	
	#nav .sns {
		margin-top: 10px;
		justify-content: center;
	}

	#nav .sns span {
		margin-left: 5px;
		padding: 5px;
		font-size: 12px;
		line-height: 100%;
	}

	/*~~*/

	header .wrap {
		padding: 10px;
	}

	header .head {
		flex-direction: column;
	}

	header .head h1 {
		font-size: 24px;
	}

	/*~~*/

	.wrap {
		padding: 0 15px;
	}
	
	/*~~*/

	footer li {
		text-align: center;
		background: linear-gradient(to bottom, #f5f5f5, #e1e1e1);
	}

	footer li:nth-child(odd) {
		background: linear-gradient(to bottom, #d7d7d7, #c3c3c3);
	}

	footer li a {
		padding: 10px;
	}

	footer p {
		padding: 10px 0;
	}

	/*~~*/

	.topbtn {
		right: 7px;
		bottom: 35px;
	}

	.topbtn span {
		width: 30px;
		height: 30px;
		font-size: 24px;
	}
	/*
    */
}
/*////////////////////////////////////////////////////////////////////////////*/

/*
PC
*/
/*////////////////////////////////////////////////////////////////////////////*/
@media all and (min-width: 769px) {
	/*
	*/
	.h1, .h1 > * {
		font-size: 38px;
		letter-spacing: 0.5em;
		text-indent: 0.5em;
	}
	
	.h2, .h2 > * {
		font-size: 24px;
	}
	
	.h3, .h3 > * {
		font-size: 22px;
	}
	
	.h4, .h4 > * {
		font-size: 18px;
	}
	
	.h5, .h5 > * {
		font-size: 16px;
	}
	
	.h6, .h6 > * {
		font-size: 14px;
	}

	section .h1 + div[class*="-body"],
	section .h2 + div[class*="-body"],
	section .ex + div[class*="-body"],
	section .h1 + .element,
	section .h2 + .element,
	section .ex + .element {
		margin-top: 20px;
	}


	section .h1 h1 {
		text-align: center;
	}
	
	section .h2 h2 {
		text-align: center;
	}

	section .ex {
		text-align: center;
	}

	section .ex p {
		margin-top: 10px;
		padding: 10px 20px 0;
		border-top: 1px solid #999;
		font-size: 16px;
		line-height: 150%;
		display: inline-block;
	}

	section .nt {
		margin-top: 20px;
		text-align: center;
	}

	section .wrap {
		width: 70%;
		min-width: 1000px;
		margin: 0 auto;
		padding: 50px 0;
	}

	/*~~*/

	#pankuzu {
		width: 70%;
		min-width: 1000px;
		margin: 25px auto;
		padding: 0;
		display: block;
	}

	#pankuzu .wrap {
		padding: 3px 15px;
		border-radius: 20px;
		background: rgba(0, 0, 0, 0.7);
		font-size: 10px;
		color: #fff;
		display: inline;
	}

	#pankuzu a {
		font-size: 10px;
	}

	/*~~*/

	#nav {
		padding: 15px 0;
		position: relative;
	}

	#nav .sns {
		position: absolute;
		top: calc(50% - 8px);
		right: 20px;
	}
	
	#nav .sns span {
		margin-left: 10px;
		padding: 7px;
		font-size: 16px;
		line-height: 100%;
	}

	/*~~*/

	header .wrap {
		width: 70%;
		min-width: 1000px;
		margin: 0 auto;
		padding: 10px 0;
	}

	header .head h1 {
		font-size: 30px;
	}

	/*~~*/

	footer {
		margin-top: auto;
		padding: 10px;
	}

	footer ul {
		display: flex;
		justify-content: center;
	}

	footer li {
		padding: 0 10px;
		border-left: 1px solid #999;
	}

	footer li:first-child {
		border-left: none;
	}

	footer p {
		margin-top: 10px;
		padding-top: 10px;
	}

	footer p br {
		display: none;
	}

	/*~~*/

	.topbtn {
		right: 30px;
		bottom: 120px;
	}

	.topbtn span {
		width: 54px;
		height: 54px;
		font-size: 48px;
	}
	/*
    */
}
/*////////////////////////////////////////////////////////////////////////////*/
