html {
    width: 100%;
    height: 100%;
}

body {
    position: relative;
    box-sizing: border-box;
    width: auto;
    height: 100%;
    margin: 0;
    padding-top: 50px;
    font-size: 78%;
    font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

body::before{
	content: "";
	display: block;
	position: fixed;
	z-index: -1;
	width: 100%;
	height: 100%;

	background: url('../resources/background_main.png');
	background-repeat: no-repeat;
	background-size: cover;
}

footer{
  padding: 16px;
  font-size: 0.9rem;
  text-align: center;
  color: #666;
}

.footer-nav a {
  color: inherit;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.separator {
  margin: 0 6px;
  color: #aaa;
}

.access-counter
{
	width: 100%;
	height: 30px;
	text-align: right;
	color: white;
}

.terms {
	padding: 10px;
  background: url('../resources/background_main.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.flex-h-start{
  	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
  	justify-content: flex-start;
	align-items: stretch;
}

.flex-h-start-start{
  	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
  	justify-content: flex-start;
	align-items: flex-start;
}

.flex-h-start-center{
  	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
  	justify-content: flex-start;
	align-items: center;
}

.flex-h-start-end{
  	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
  	justify-content: flex-start;
	align-items: flex-end;
}

.flex-h-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.flex-h-center-start {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.flex-h-center-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-h-center-end{
  	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
  	justify-content: center;
	align-items: flex-end;
}

.flex-h-end-center{
  	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
  	justify-content: flex-end;
	align-items: center;
}

.flex-v-start{
  	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
	flex-direction: column;
  	justify-content: flex-start;
	align-items: stretch;
}

.flex-v-start-start{
  	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
	flex-direction: column;
  	justify-content: flex-start;
	align-items: flex-start;
}

.flex-v-start-center{
  	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
	flex-direction: column;
  	justify-content: flex-start;
	align-items: center;
}
