@charset "UTF-8";
:root {
	--headnav_size: 40px;
	--anchor_size: -40px;
	--indexContents_size: 0;
	--BaceContents_size: 40px 0 0 0;
	--contents_size: 1200px;
	--contents_small_size: 900px;
}

#Base_contents {
	padding: var(--BaceContents_size);/* ヘッダーとフッターの高さ */
	min-height: 100vh;
}

#Base_contents.index {
	padding: var(--indexContents_size);/* ヘッダーとフッターの高さ */
	min-height: 100vh;
}

header {
	background-color: #e73a4e;
	padding: 0 20px;
	height: var(--headnav_size);
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 9998;
}

#Base_contents.index header {
	top: -100px;
}

footer {
	background-color: #e73a4e;
}

.anchorLink {
	top: var(--anchor_size);
	height: var(--headnav_size);/* ヘッダー分の高さ */
	position: absolute;
	display: block;
	width: 5px;
	z-index: -1;
}

#TopPage {
	animation: fadeIn 2s; /* 2秒間でフェードイン */
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

section .contents_box {
	width: var(--contents_size);
	margin: 0 auto;
}

section .contents_box .inBox {
	width: 100%;
	background-color: #ffffff;
	border-radius: 20px;
	padding: 50px;
	font-size: 130%;
	line-height: 1.5em;
}

section .contents_box .inBox.goods,
section .contents_box .inBox.game {
	background-color: transparent;
	padding: 0;
}


/* スライダーの画像幅調整 */
a .main_photoBox {
	height: var(--slider_size);
}

/* ------------------------------------------------------ */
@media only screen and (max-width : 1200px) {
/* ------------------------------------------------------ */
:root {
	--contents_size: calc(100% - 100px);
}

}

/* ------------------------------------------------------ */
@media only screen and (max-width : 920px) {
/* ------------------------------------------------------ */
}

/* ------------------------------------------------------ */
@media only screen and (max-width : 820px) {
/* ------------------------------------------------------ */
.anchorLink {
	top: 0;
	height: 0;/* ヘッダー分の高さ */
}

#page_top.anchorLink {
	top: var(--anchor_size);
	height: var(--headnav_size);/* ヘッダー分の高さ */
}
}

/* ------------------------------------------------------ */
@media only screen and (max-width : 600px) {
/* ------------------------------------------------------ */
:root {
	--contents_size: calc(100% - 50px);
}

section .contents_box .inBox {
	padding: 20px;
}

}