@font-face {
	font-family: 'ZenMaruGothic-Medium';
	src: url(../fonts/Zen_Maru_Gothic/ZenMaruGothic-Medium.ttf) format('truetype');
}

@font-face {
	font-family: 'ZenMaruGothic-Regular';
	src: url(../fonts/Zen_Maru_Gothic/ZenMaruGothic-Regular.ttf) format('truetype');
}

@font-face {
	font-family: 'ZenMaruGothic-Bold';
	src: url(../fonts/Zen_Maru_Gothic/ZenMaruGothic-Bold.ttf) format('truetype');
}

:root {
	--pc-height: 64px;
	--sp-height: 50px;
	--header_bg: rgba(198, 0, 64, 1);
	--button-red_out: rgba(198, 0, 64, 1);
	--button-red_over: rgba(198, 0, 64, 0.85);
}

* {
	margin: 0;
	padding: 0;
	line-height: 1;
	box-sizing: border-box;
}

html, body {
	font-size: 10px;
}

body {
	margin: 0;
	padding: 0;
	background-color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', /* 'Hiragino Sans', */ 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, 'メイリオ', arial, sans-serif;
	color: #000;
	-webkit-text-size-adjust: 100%; /* for iPhone */
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: unset;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),(min-resolution: 2dppx) {
	body {
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}
}

ul, ol {
	list-style: none;
}

fieldset, img {
	border: none;
}

table {
	border-collapse: collapse;
}

a, a:focus, *:focus {
	outline: none;
}

a:link {
	text-decoration: none;
	color: rgba(0, 151, 255, 1);
}

a:visited {
	text-decoration: none;
	color: rgba(0, 151, 255, 0.5);
}

a:hover, 
a:active {
	text-decoration: underline;
}

#main {
	margin: 0;
	padding: 0;
}

/****************************
  header
****************************/

.header {
	display: block;
	width: 100%;
	height: var(--sp-height);
	margin: 0;
	padding: 0;
	background-color: var(--header_bg);
}

.header > div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0 0 0 15px;
}

#logo {
	display: block;
	width: 120px;
	margin: 0;
	padding: 0;
}

#logo > a {
	display: block;
	margin: 0;
	padding: 0;
}

#logo > a > img {
	width: 100%;
	height: initial;
	vertical-align: bottom;
}

@media (min-width: 1200px) {
	.header {
		display: block;
		width: 100%;
		height: var(--pc-height);
		margin: 0;
		padding: 0;
		background-color: var(--header_bg);
	}

	.header > div {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0 0 0 40px;
	}

	#logo {
		display: block;
		width: 170px;
		margin: 0;
		padding: 0;
	}

	#logo > a {
		display: block;
		margin: 0;
		padding: 0;
	}
}

/****************************
  effect
****************************/

.effect,
.effect_scroll {
	overflow: hidden;
}

@media (min-width: 821px) {
	.effect .effect_each, 
	.effect_scroll .effect_scroll_each {
		opacity: 0;
		transition: all 1.5s ease 0s;
	}

	.effect .effect_each.effect_view, 
	.effect_scroll .effect_scroll_each.effect_view {
		opacity: 1;
		transform: translate(0, 0);
	}

	.effect_slide_left {
		transform: translate(20px, 0);
	}

	.effect_slide_right {
		transform: translate(-20px, 0);
	}

	.effect_slide_top {
		transform: translate(0, 20px);
	}

	.effect_slide_bottom {
		transform: translate(0, -20px);
	}

	.effect .effect_each.delay1, 
	.effect_scroll .effect_scroll_each.delay1 {
		transition-delay: 0.4s;
	}

	.effect .effect_each.delay2, 
	.effect_scroll .effect_scroll_each.delay2 {
		transition-delay: 0.6s;
	}

	.effect .effect_each.delay3, 
	.effect_scroll .effect_scroll_each.delay3 {
		transition-delay: 0.8s;
	}

	.effect .effect_each.delay4, 
	.effect_scroll .effect_scroll_each.delay4 {
		transition-delay: 1.0s;
	}

	.effect .effect_each.delay5, 
	.effect_scroll .effect_scroll_each.delay5 {
		transition-delay: 1.2s;
	}

	.effect .effect_each.delay6, 
	.effect_scroll .effect_scroll_each.delay6 {
		transition-delay: 1.4s;
	}

	.effect .effect_each.delay7, 
	.effect_scroll .effect_scroll_each.delay7 {
		transition-delay: 1.6s;
	}
}

/****************************
  misc
****************************/

.clearfix:before {
	display: table;
	content: '';
}

.clearfix:after {
	display: table;
	content: '';
	clear: both;
}

.responsive {
	width: 100%;
	height: initial;
	margin: 0;
	padding: 0;
	vertical-align: bottom;
}

@media (max-width: 1199px) {
	.hide_if_sp {
		display: none;
	}
}
@media (min-width: 1200px) {
	.hide_if_pc {
		display: none;
	}
}

.error_h1 {
	margin: 0;
	padding: 100px 0 0;
	text-align: center;
	font-style: normal;
	font-weight: normal;
	font-size: 20px;
	line-height: 1;
}

.error_h2 {
	margin: 0;
	padding: 30px 0;
	text-align: center;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	line-height: 1;
}

@media (min-width: 1000px) {
	.error_h1 {
		padding: 130px 0 0;
		font-size: 26px;
		line-height: 1;
	}

	.error_h2 {
		padding: 30px 0;
		font-size: 16px;
		line-height: 1;
	}
}
