html{
	margin: 0%;
	padding: 0px;
	scroll-behavior: smooth;
}

	@media (orientation: portrait){
		html{
			font-size: max(1rem, 24px);
		}
	}

span.smaller{
	font-size: 0.8em;
}

	@media (orientation: landscape){
		br.portrait{
			display: none;
		}
	}

a{
	text-decoration: none;
}

body{
	margin-left: 0;
	margin-right: 0;
}

main{
	height: 90%;
	margin-top: 10%;
}

section.ContentsSection{
	position: relative;
}

div.baseBackground{
	position: fixed;
	width: 100%;
	height: 100vh;
	z-index: -2;
	background-color: rgb(196,138,115);
}

div.topIllust{
	position: sticky;
	top: -10%;
	/*z-index: -1;*/
	overflow: hidden;
}


img.topIllust{
	max-width: 100%;
}

div.frameLight{
	position: absolute;
	top: 57%;
	left: 48%;
	background-color: orange;
	width: 10%;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	mix-blend-mode: overlay;
	box-shadow: 0px 0px 15px 15px orange;
}

img.topIllust.TopGear1{
	position: absolute;
	max-width: 12%;
	left: 12%;
	top: 16.4%;
}

img.topIllust.TopGear2{
	position: absolute;
	max-width: 11%;
	left: 23%;
	top: 18%;
}

img.topIllust.TopGear3{
	position: absolute;
	max-width: 11%;
	left: 17%;
	top: 31%;
}

img.topIllust.TopGear0{
	position: absolute;
	max-width: 28%;
	left: 9%;
	top: 7%;
}

img.topIllust.TopFront{
	position: absolute;
	left: 0;
}

img.topIllust.TopAko{
	position: absolute;
	right: 0%;
	max-width: 63%;
}

div.catchCopy{
	position: absolute;
	right: 10%;
	top: 24%;
	font-size: 3vw;
}

div.catchCopy p{
	writing-mode: vertical-rl;
	color: rgb(231,255,241);
	text-shadow: 4px 0px 3px black,
				 -4px 0px 3px black,
				 0px 4px 3px black,
				 0px -4px 3px black;
	font-weight: bold;
	transform: skew(-5deg);
}

div.whatsNew{
	position: absolute;
	top: 65.6%;
	left: 15.5%;
	font-size: 2vw;
	width: 35vw;
	height: 32%;
}
	
	div.whatsNew:hover{
		cursor: pointer;
		opacity: .8;
	}

p.updateDate{
	text-align: center;
	margin-bottom: 0;
}

img.whatsNew{
	max-height: 53%;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

div.whatsNew p.figcaption{
	text-align: center;
	color: white;
	font-weight: bold;
}

img.titleRogo{
	max-width: 42%;
	position: absolute;
	bottom: 3%;
	right: 3%;
}

div.convey, div.secondConvey{
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	height: 65%;
	top: 0;
	position: absolute;
	align-items: flex-end;
	gap: 5%;
}

img.conveyImg{
	max-width: 15%;
	padding-top: 4px;
	padding-left: 2px;
	padding-right: 2px;
	background-color: white;
}


div.relativeLinkStart{
	width: 21rem;
	height: 12%;
	border: solid;
	border-width: 2px;
	background-color: aliceblue;
	margin-left: auto;
	margin-right: auto;
	font-size: 1.2rem;
	text-align: center;
	margin-bottom: 5%;
}


div.relativeLinkStart:hover{
	cursor: pointer;
	background-color: lime;
}

/*------*/

h1{
	text-align: center;
	position: sticky;
	top: 0;
	z-index: 2;
	background: linear-gradient(115deg, white, 20%, silver,60%,grey,95%,white);
	margin: 0;
	margin-bottom: -2%;
	font-size: 3vh;
}

div.leftTopStud{
	position: absolute;
	left: 0;
	top: 0;
}

div.leftBottomStud{
	position: absolute;
	left: 0;
	bottom: 0;
}

div.rightTopStud{
	position: absolute;
	right: 0;
	top: 0;
}

div.rightBottomStud{
	position: absolute;
	right: 0;
	bottom: 0;
}

div.leftTopStud, div.leftBottomStud, div.rightTopStud, div.rightBottomStud{
	height: 3vh;
	background: linear-gradient(115deg, white, 20%, silver,60%,grey,95%,white);
	border-radius: 50%;
	aspect-ratio: 1 / 1;
}

/*---------*/


div.mainContents{
	padding: 5%;
	padding-top: 0;
	background: linear-gradient(to bottom, green, lime);
}

div.aboutUs, div.contactUs, div.relativeLink{
	padding-left: 5%;
	padding-right: 5%;
	background-color: rgba(255,255,255,.8);
}

div#aboutUs, div#contactUs, div#relativeLink{
	margin-bottom: 10%;
}

	@media (orientation: portrait){
		div#aboutUs, div#contactUs, div#relativeLink{
			margin-bottom: 13vh;
		}
	}


footer{
	width: 100%;
	background-color: black;
	color: white;
	text-align: center;
	position: fixed;
	bottom: 0;
	z-index: 5;
}

section.category{
	position: sticky;
	top: 13vh;
	z-index: 3;
}

ul.category{
	list-style: none;
	display: flex;
	max-width: 96%;
	position: sticky;
}

ul.category li{
	width: 24%;
	text-align: center;
	background-color: cornsilk;
	font-size: 1.2rem;
}

ul.category li.selected{
	background-color: orange;
	color: white;
}

ul.category li:hover{
	background-color: aqua;
	cursor: pointer;
}

ul.category li.leftList{
	border-top-left-radius: 6px;
}

ul.category li.rightList{
	border-top-right-radius: 6px;
}

/*メインコンテンツのスタイル*/
section.articles{
	display: grid;
	grid-template-areas: "game illust"
						 "game music";
	background: linear-gradient(to bottom, orange,5%, cornsilk,80%,white);
}

section.articles.each{
	display: block;
}

article.game{
	grid-area: game;
}

article.illust{
	grid-area: illust;
}

article.music{
	grid-area: music;
}

article.mainSection{
	border: solid;
	border-width: 2px;
	border-color: seagreen;
}

article.mainSection.hidden{
	display: none;
	height: 0%;
}

h2.categoryName{
	text-align: center;
}

h2.categoryName.hidden{
	display: none;
	height: 0;
}

section.SubPanel{
	position: sticky;
	top: 23%;
	background-color: white;
	z-index: 2;
}

section.SubPanel.hidden{
	display: none;
	height: 0;
}

section.SubPanel ul{
	display: flex;
	list-style: none;
	align-items: center;
}

section.SubPanel ul li{
	max-width: 10%;
	margin-left: 2%;
	margin-right: 2%;
}

section.SubPanel ul li:hover{
	cursor: pointer;
	background-color: aqua;
	opacity: 0.7;
}

section.SubPanel ul li a figure img{
	max-width: 100%;
}

/*サブコンテンツのスタイル*/

article.titleList ul{
	list-style: none;
}


img.titleList{
	display: inline-block;
	max-width: 100%;
}

ul.subCategory.flexList{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

ul.subCategory.hidden{
	display: none;
	height: 0;
}

ul.subCategory.flexList li{
	max-width: 30%;
	margin-left: 1%;
	margin-right: 1%;
}


figure.titleListFlex{
	margin-block-start: 0;
	margin-block-end: 0;
	margin-inline-start: 0;
	margin-inline-end: 0;
}

figure.titleListFlex figcaption{
	font-size: 0.9rem;
	text-align: center;
}

	@media (orientation: portrait){
		figure.titleListFlex figcaption{
			display: none;
		}
	}

img.titleListFlex{
	display: inline-block;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

img.titleListFlex:hover{
	background-color: aqua;
	opacity: 0.7;
}

/*イントロダクションのスタイル*/

article.introduction.hidden{
	display: none;
	height: 0;
}

article.introduction h3{
	text-align: center;
}

section.miniSection{
	display: grid;
	grid-template-columns: 1fr 2fr;
}

img.jacket{
	max-width: 90%;
	padding: 5%;
	position: sticky;
	top: 41%;
}

section.miniSection article{
	margin-bottom: 10%;
}

div.thumbnails {
	display: grid;
	grid-template-columns: 1fr 3fr 1fr;
	margin-bottom: 5%;
}

div.leftThumbs img, div.rightThumbs img{
	max-width: 94%;
	margin: 3%;
} 


div.centerThumbs figure img{
	max-width: 94%;
}

div.centerThumbs figure figcaption{
	text-align: center;
}

img.thumbImg:hover{
	cursor: pointer;
	opacity: 0.7;
}

figcaption.centerThumbCaption{
	font-size: .8rem;
}


a.officialsite{
	border: solid;
	border-color: black;
	border-width: 2px;
	padding: 2%;
}

a.officialsite:hover{
	background-color: green;
	color: white;
}

ul.gameSummary{
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: 70%;
}

li.gameSummaryLeft{
	justify-self: right;
	padding-right: 4%;
}

li.gameSummaryRight{
	justify-self: left;
	padding-left: 4%;
}


/*---その他のスタイル---*/
h2.otherSection{
	text-align: center;
	max-width: 60%;
	margin-left: auto;
	margin-right: auto;
	background: linear-gradient(90deg, orange, 1%, white, 95%, orange);
}

h3.aboutUsH3, h3.contactUsH3{
	background: linear-gradient(to top, rgba(138,196,24,1),20%,rgba(138,196,24,0));
}

section.aboutSection article, section.contactSection article, section.relativeLinkSection article{
	background-color: white;
	padding-bottom: 3%;
}

p.sign{
	text-align: right;
}

ul.banner{
	list-style: none;
}

img.bannerImage{
	max-width: 100%;
}

img.bannerImage:hover{
	cursor: pointer;
	opacity: .5;
}

p.ps{
	font-size: .8rem;
	max-width: 80%;
	margin-left: 1rem;
}

p.center{
	text-align: center;
}

div.mailBox{
	max-width: 9rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding: 10px;
	border: solid;
	border-width: 2px;
}


div.mailBox:hover{
	cursor: pointer;
	background-color: aliceblue;
}


ul.priceList{
	list-style: none;
	max-width: 80%;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	text-align: center;
}

ul.priceList li.headLeft, ul.priceList li.headRight, ul.priceList li.item, ul.priceList li.price{
	border: solid;
	border-bottom-width: 2px;
	border-right-width: 2px;
	border-top: none;
	border-left: none;
}

ul.priceList li.headLeft, ul.priceList li.headRight{
	background-color: cornsilk;
	border-top: 2px solid;
}

ul.priceList li.headLeft{
	border-left: 2px solid;
}
ul.priceList li.item{
	background-color: aliceblue;
	border-left: 2px solid;
}

/*-relativeLinkのリスト--*/
ul.relativeLink{
	list-style: none;
	border: 1px solid;
	max-width: 90%;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}

li.relativeList{
	display: grid;
	grid-template-columns: 1fr 3fr;
	column-gap: 5%;
	border: 1px solid;
	padding: 2%;
	background-color: aliceblue;
}

	@media (orientation: portrait){
		ul.relativeLink{
			display: grid;
		}

		li.relativeList{
			display: initial;
		}

		/*--imgは下記にて再宣言--*/

		p.relativeText{
			font-size: .8rem;
		}

		a.relativeLinkBox{
			float: right;
		}
	}

li.relativeList.hidden{
	display: none;
	height: 0;
}

a.relativeLinkImgParent{
	justify-self: center;
	align-self: center;
}

img.relativeLink{
	width: 100%;
}

	@media (orientation: landscape){
		img.relativeLink{
			min-width: 300px;
		}
	}

	@media (orientation: portrait){
		img.relativeLink{
			width: auto;
			max-height: 120px;
			float: right;
		}
	}


img.relativeLink:hover{
	cursor: pointer;
	opacity: .8;
	max-width: 105%;
}

a.relativeLink{
	display: grid;
	grid-template-rows: 1fr .8fr;
	width: fit-content;
}

a.relativeLink h3, a.relativeLink p{
	margin: 0;
}

a.relativeLink p{
	text-align: right;
}

a.relativeLinkBox{
	text-align: center;
	border: 1px solid;
	background-color: orange;
	color: white;
	max-width: 7rem;
	margin-left: auto;
	margin-right: auto;
	padding: 1%;
}

a.relativeLinkBox:hover{
	cursor: pointer;
	background-color: blue;
}
