html, body, div, h1, h2, h3, h4, p, ul, ol, li, dl, dt, dd {
	margin: 0;
	padding: 0;
	border: 0;
}

body {
	position: relative;
	font-size: 16px;
	font-family: YakuHanJP, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
	line-height: 1.5;
	color: #333;
	font-display: swap;
}

body:before {
	content: "";
	position: fixed;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100vh);
	z-index: -1;
	background-size: cover;
	background-repeat: no-repeat;
}

a {
	color: #03f;
}

a:hover {
	opacity: 0.75;
}

img {
	max-width: 100%;
	max-height: 100%;
}

h1 {
	font-size: 200%;
}

h2 {
	font-size: 150%;
}

h3 {
	font-size: 135%;
}

em {
	font-weight: bold;
	font-style: normal;
}

.ssmall {
	font-size: 50%;
}

.small {
	font-size: 85%;
}

.red {
	color: #f30;
}

.alignC {
	text-align: center;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	background: #fffafa;
	z-index: 2;
	box-sizing: border-box;
}

header .container {
	max-width: 768px;
	margin: auto;
}

header h1 {
	font-size: 100%;
	line-height: 1em;
	box-sizing: border-box;
}

header .description {
	text-align: right;
	line-height: 1em;
	font-size: 80%;
}

header nav {
	height: 2em;
	line-height: 2em;
}

header nav ul:after {
	content: "";
	display: block;
	clear: both;
}

header nav li {
	float: left;
	list-style: none;
	text-align: center;
	box-sizing: border-box;
}

header nav a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

article {
	width: 100%;
	padding: 0;
	line-height: 1.75;
}

article section {
	position: relative;
}

article section:last-child {
	margin-bottom: 0;
}

article .container {
	width: 100%;
	max-width: 768px;
	margin: auto;
	padding: 1.5em;
	box-sizing: border-box;
}

article section h2 {
	position: relative;
	margin-bottom: 0.5em;
	text-align: center;
}

article section h2 > span {
	display: inline-block;
}

article section h2 .jpn {
	margin-left: -2em;
}

article section h2 .eng {
	position: absolute;
	bottom: 0;
	padding-left: 1.75em;
	font-size: 85%;
	font-weight: normal;
}

article section h2 .eng:before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0.25em;
	width: 1.25em;
	height: 1px;
	margin: auto;
	background: #333;
}

article .container p,
article .container > div,
article .container > ul,
article .container > dl {
	margin-bottom: 0.75em;
}

article .container p:last-child,
article .container > div:last-child,
article .container > ul:last-child,
article .container > dl:last-child {
	margin-bottom: 0;
}

article ul.ref {
	position: relative;
	font-size: 85%;
}

article ul.ref li {
	position: relative;
	margin-left: 0;
	padding-top: 0.25em;
	padding-left: 1.5em;
	line-height: 1.5;
	list-style: none;
}

article ul.ref li:before {
	content: "\203b";
	position: absolute;
	top: 0.25em;
	left: 0;
	line-height: 1.5;
	list-style: none;
}

footer {
	position: relative;
	width: 100%;
	background: #eee;
	text-align: center;
	box-sizing: border-box;
}

footer .container {
	max-width: calc(768px + 3em);
	margin: auto;
	padding: 1.5em;
	box-sizing: border-box;
}

footer h2 {
	margin-bottom: 0.75em;
}

footer .logo img {
	max-width: 234px;
}

footer .addr {
	text-align: left;
}

footer .addr p {
	margin-bottom: 0.75em;
}

footer .copy {
	padding: 1px 0;
	background: #000;
	line-height: 3;
	color: #fff;
}

body > .totop {
	display: none;
	position: fixed;
	bottom: 0.5em;
	right: 0.5em;
	font-size: 300%;
	line-height: 1;
}

body > .totop a {
	color: #333;
	text-shadow: -1px -1px 3px #fff, -1px 0px 3px #fff, 0px -1px 3px #fff, 0px 0px 3px #fff, 1px 1px 2px #fff
}

@media all and (min-width: 640px) {
/* PC start */
.sp {
	display: none;
}

body {
	padding-top: 4em;
}

body:before {
	background-image: url(./img/bg.jpg);
	background-position: right top;
}

.box2:after {
	content: "";
	display: block;
	clear: both;
}

.box2 > * {
	float: left;
	width: 50%;
}

.box2 > *:nth-child(2n+1) {
	clear: noth;
}

header {
	height: 4em;
	padding: 0.5em;
}

header .container {
	display: flex;
	justify-content: space-between;
}

header h1 {
	height: 3em;
}

header nav li {
	position: relative;
}

header nav a {
	padding: 0 0.75em;
	line-height: 3em;
	color: #333;
}

article section {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: calc(56.25vw);
	box-sizing: border-box;
}

article section:nth-of-type(2n+1) {
	background: #fff;
}
article section:nth-of-type(2n+2) {
	background: #fffafa;
}

article section:last-child {
	padding-bottom: 2em;
}

article section .container {
	padding: 4em 1.5em;
}

article .container ul {
	margin-left: 1.5em;
}

/* PC end */
}

@media all and (max-width: 639px) {
/* SP start */
.no-sp {
	display: none;
}

body {
	font-size: 14px;
	padding-top: 8.5em;
}

body:before {
	background-image: url(./img/bg_sp.jpg);
	background-position: right top;
}

.box2 > * {
	margin-bottom: 0.75em;
}

.box2 > *:last-child {
	margin-bottom: 0;
}

header {
	height: 8.5em;
}

header h1 {
	width: 100%;
	height: 6em;
	padding: 0.75em 1.5em;
	text-align: center;
}

header nav ul {
	background: #000;
	color: #fff;
}

header nav li {
	width: 25%;
	border-right: 1px solid #fff;
}

header nav li:last-child {
	border-right: 0;
}

header nav a {
	color: #fff;
	line-height: 2.5;
}

article section {
	height: auto;
	min-height: calc(56.25vw + 10em);
	z-index: 0;
}

article section:nth-of-type(2n+1):before,
article section:nth-of-type(2n+2):before {
	content: "";
	display: block;
	position: absolute;
	top: 8.5em;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

article section:nth-of-type(2n+1):before {
	background: #fff;
}

article section:nth-of-type(2n+2):before {
	background: #fffafa;
}

article section:last-child {
	padding-bottom: 1.5em;
}

article section .container {
	margin-top: -8.5em;
	padding-top: 10em;
}

article .container ul {
	margin-left: 1em;
}

/* SP end */
}
