/* 全体 */
html {
	-webkit-scroll-behavior: smooth;
	scroll-behavior: smooth;
	overflow-x: hidden;
}
body {
	margin: auto;
	padding: 0px;
	color: black;
	width: 800px;
}
body.index {
	background: fixed white url("image/bg.jpg");
	background-position: center bottom 10px;
	background-repeat: no-repeat;
}
@media screen and ( max-width:800px ) {
	body {
		margin: 0px;
		width: 100%;
	}
	body.index {
		background-position: right bottom 10px;
	}
}
@media screen and ( max-width:550px ) {
	body.index {
		background-size: 120% !important;
	}
	* {
		font-size: 90%;
	}
}

h1 {
	font-size: large;
	font-weight: bold;
	text-shadow: 2px 0px white, -2px 0px white, 0px 2px white, 0px -2px white;
}
@media screen and ( max-width:550px ) {
	h1 {
		font-size: medium;
	}
}


/* InitiaSnowロゴ */
span.logo {
	position: absolute;
	top: 2px;
	left: 8px;
	color: white;
	font-weight: bold;
	font-style: italic;
	font-family: "Hiragino Kaku Gothic Pro", Verdana, Arial, Helvetica, "ヒラギノ角ゴ Pro W3", "Osaka", "ＭＳ Ｐゴシック", sans-serif;
	z-index: 99999;
}

/* 上部メニュー */
div.menu {
	position: fixed;
	top: 0px;
	width: 800px;
	height: 28px;
	padding-top: 3px 3px;
	background-color: black;
	text-align: right;
	border-bottom: solid #202020 1px;
	box-shadow: 0px 3px 5px 0px rgba(10,10,10,0.6);
	z-index: 99998;
}
@media screen and ( max-width:800px ) {
	div.menu {
		width: 100%;
	}
}
@media screen and ( max-width:550px ) {
	div.menu {
		height: 21px;
	}
}

div.menu a {
	margin: 5px;
	color: white;
	font-weight: bold;
	text-decoration: underline;
	font-family: -apple-system, blinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', YuGothicM, YuGothic, Meiryo, sans-serif;
}
div.menu a:hover {
	color: white;
	text-shadow: 0px 0px 5px white, 0px 0px 2px white;
}
@media screen and ( max-width:550px ) {
	div.menu a {
		margin-right: 0px;
	}
}

/* コンテンツ表示部 */
div.contents{
	width: 100%;
	margin: 40px auto auto auto;
	text-align: center;
}
@media screen and ( max-width:550px ) {
	div.contents{
		width: 98%;
	}
}
fieldset {
	height: max(80vh, 500px);
}
legend {
	margin: 0px;
}

/* ニュース一覧 */
div.news {
	width: 480px;
	margin: auto;
	border: solid silver 1px;
	text-align: left;
	padding: 5px;
	overflow-y: scroll;
	font-size: 16px;
	line-height: 18px;
	background-color: white;
}
@media screen and ( max-width:550px ) {
	div.news {
		padding: 1px;
		width: 96% !important;
		font-size: 12px;
		line-height: 13px;
	}
}

/* レビューサイト一覧 */
div.reviews {
	margin: auto;
	padding: 0px;
	width: 480px;
	background-color: white;
	border-radius: 0 7px 7px 7px;
	font-size: 14px;
}
@media screen and ( max-width:550px ) {
	div.reviews {
		width: 96% !important;
	}
}

input[name="tab_item"] {
	display: none;
}

label.tab_item {
	display: block;
	position: relative;
	float: left;
	margin: 0px;
	top: 1px;
	height: 25px;
	line-height: 24px;
	width: calc(100%/3);
	border: solid silver 1px;
	border-radius: 7px 7px 0 0;
	background-color: #eeeeee;
	color: #565656;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	transition: background-color 0.1s ease;
	z-index: 11;
}
@media screen and ( max-width:550px ) {
	label.tab_item {
		width: 150px;
		font-size: 13px;
	}
}
label.tab_item:hover {
	opacity: 0.75;
}
div.reviews input:checked + label.tab_item {
	border-bottom: 0px;
	background-color: white;
	color: #565656;
}
div.reviews input:checked + label.tab_item:hover {
	opacity: 1;
}

div.tab_content {
	display: none;
	position: relative;
	margin: 0px;
	padding: 5px; 0px;
	clear: both;
	overflow: hidden;
	border: solid silver 1px;
	border-radius: 0 7px 7px 7px;
	background-color: white;
	z-index: 10;
	text-align: left;
}
#rd_kokoro:checked ~ #contents_kokoro,
#rd_kimera:checked ~ #contents_kimera {
	display: block;
}

div.reviews a {
	display: inline-block;
	margin: 0 5px;
	width: 143px;
	font-size: 14px;
	color: black;
}
div.reviews a:visited {
	color: gray;
}
div.reviews a:hover {
	color: #8080ff;
}
@media screen and ( max-width:550px ) {
	div.reviews a {
		width: 120px;
		font-size: 13px;
	}
}


/* ゲーム一覧 */
div.games {
	text-align: center;
}

div.games > div {
	position: relative;
	margin: 5px;
	width: 500px;
	height: 105px;
	border: 1px solid white;
	background-color: black;
	display: inline-block;
	transition-duration: 0.3s;
}
div.games > div div.preparing {
	position: absolute;
	margin: 0px;
	padding: 40px 0px 0px;
	width: 500px;
	height: 105px;
	font-size: large;
	color: white;
	background-color: rgb(0 0 0 / 50%);
	display: inline-block;
	transition-duration: 0.3s;
	vertical-align: middle;
	z-index: 99;
}
div.games div.open:hover {
	transform: scale(1.05);
	transition-duration: 0.3s;
	box-shadow: 5px 5px 5px 0px rgba(10,10,10,0.3);
}
img.img_game{
	border: 0px;
	width: 500px;
	height: 105px;
}
@media screen and ( max-width:550px ) {
	div.games div {
		width: 330px;
		height: 70px;
	}
	img.img_game {
		width: 330px;
		height: auto;
	}
	div.games > div div.preparing {
		width: 330px;
		height: 70px;
		padding-top: 22px;
	}
}

a.dl_link {
	position: absolute;
	left: 380px;
}
a.dl_store1-1 {
	top: 33px;
}
a.dl_store1-2 {
	top: 10px;
}
a.dl_store2-2 {
	top: 57px;
}
@media screen and ( max-width:550px ) {
	a.dl_link {
		left: 250px;
	}
	a.dl_link img {
		width: 73px;
		height: auto;
	}
	a.dl_store1-1 {
		top: 21px;
	}
	a.dl_store1-2 {
		top: 7px;
	}
	a.dl_store2-2 {
		top: 37px;
	}
}

h4 {
	margin: 0px auto auto;
	text-shadow: 1px 0px white, -1px 0px white, 0px 1px white, 0px -1px white;
}
@media screen and ( max-width:550px ) {
	h4 {
		margin: 8px auto auto;
		font-size: large;
	}
}

/* プロフィール */
div.profile {
	width: 330px;
	margin: 10px auto 0px auto;
	border: solid silver 1px;
	text-align: left;
	padding: 5px;
	font-size: 16px;
	line-height: 18px;
	background-color: white;
}
@media screen and ( max-width:550px ) {
	div.profile {
		padding: 2px;
		width: 250px;
		font-size: 12px;
		line-height: 13px;
	}
}

div.profile span {
	display: inline-block;
	width: 120px;
	text-align: right;
}
@media screen and ( max-width:550px ) {
	div.profile span {
		width: 85px;
	}
}

/* Contact */
div.contact {
	text-align: center;
}

div.contact a{
	color: #a0a0ff;
}
div.contact a:hover{
	color: #8080ff;
}


/* 下部フッター */
div.footer {
	width: 500px;
	text-align: center;
	font-size: small;
	margin: 50px auto auto auto;
}
@media screen and ( max-width:550px ) {
	div.footer {
		width: 330px;
	}

	a.policy-link{
		color: #a0a0ff;
	}
	a.policy-link:hover{
		color: #8080ff;
	}
}

/* マウスオーバー時のエフェクト */
a.effect_wink:hover img {
	opacity: 1;
	-webkit-animation: flash 1.5s;
	animation: flash 1.5s;
}
@-webkit-keyframes flash {
	0% {
		opacity: .4;
	}
	100% {
		opacity: 1;
	}
}
@keyframes flash {
	0% {
		opacity: .4;
	}
	100% {
		opacity: 1;
	}
}

ul {
	margin: auto auto 5px auto;
}
