/* グローバル設定 */

body {
	color: #544;

	background-color: white;
	background-image: url("img/op_sky.jpg");
	background-size: cover;
	background-position-x: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: normal;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* トップ */

#top {
	width: 100%;
	height: 100vh;
	position: relative;
	margin: 0;
	padding: 0;
	background: none;
}

#top > #main-visual {
	background-image: url("img/main_visual.jpg");
	background-size: cover;
	background-position: 30% center;
	background-repeat: no-repeat;
	width: 100%;
	/*  max-width: 1024px;*/
	height: 100%;
	position: relative;
	margin: 0 auto;
}

#top > #main-visual > #title {
	width: 70%;
	max-width: 450px;
	filter: drop-shadow(2px 2px 2px white);
	top: 12%;
	right: 2%;
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#top p#subtitle {
	margin-bottom: -20px;
	font-size: min(3vw, 18px);
	letter-spacing: min(1vw, 10px);
	color: #433;
}

#top p#release-date {
	margin-top: -14px;
	font-size: min(15vw, 24px);
	letter-spacing: 2px;
	color: #0082d6;
	filter: drop-shadow(1px 1px 3px white);
	word-break: keep-all;
}

#top img#logo {
	width: 100%;
}

/* section の一般設定 */

body > section {
	margin: 128px 6px;
	padding: 36px 6px;
	background: rgba(255, 255, 255, 0.79);
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #544;
	overflow-x: hidden;
	text-align: center;
}

body > section * {
	color: inherit;
}

body > section h2 {
	color: #e79;
	font-size: 39px;
}

body > section h3 {
	color: rgb(44, 64, 184);
	font-size: 28px;
}

body > section p {
	font-size: min(18px, 5vw);
	line-height: 36px;
}

section#sequel a.sequel {
	display: block;
	width: 320px;
	max-width: 100%;
	background: rgb(255, 29, 93);
	color: white;
	padding: 20px;
	text-decoration: none;
	filter: drop-shadow(3px 3px 5px rgb(41, 54, 61));
	transition: background 0.2s, filter 0.2s;
}

/* 製品案内 */
section#product .product-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	width: 100%;
	padding-inline: 20px;
	box-sizing: border-box;
}

section#product .left {
	width: 500px;
	max-width: 100%;
}

section#product .left img {
	width: 100%;
}

section#product .right {
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
}

section#product a.store {
	display: block;
	width: 200px;
	background: rgb(255, 29, 93);
	color: white;
	padding: 20px;
	text-decoration: none;
	filter: drop-shadow(3px 3px 5px rgb(41, 54, 61));
	transition: background 0.2s, filter 0.2s;
}

section#product a.store:hover {
	background: rgb(255, 110, 156);
	filter: drop-shadow(-2px 5px 5px rgb(41, 54, 61));
}

section#product .notice {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

section#product ul {
	word-break: break-all;
	font-size: 14px;
	text-align: left;
	max-width: 700px;
	padding-inline-start: 10px;
}

table.spec {
	font-size: 17px;
	max-width: 100%;
	margin-block: 20px;
}

table.spec tr td:first-child {
	text-align: right;
	font-size: 13px;
	padding-right: 10px;
}

table.spec tr td:first-child::after {
	content: ":";
}

table.spec tr td:nth-child(2) {
	text-align: left;
}

/* ムービー */

section#movies figure {
	width: 100%;
	max-width: 1024px;
}

section#movies figure iframe {
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
}

section#movies figure figcaption {
	font-size: 1rem;
}

/* news */

section #twitter {
	width: 90%;
	max-width: 400px;
}

/* キャラ */

section#chara {
	padding-inline: 0;
}

section#chara figure {
	width: 100%;
	margin: 50px 0;
}

section#chara .img-wrapper {
	width: 100%;
	max-width: 1500px;
	height: 100vh;
	margin: 0 auto;
	position: relative;
	display: flex;
	justify-content: center;
	overflow: hidden;
}

section#chara .img-wrapper div {
	position: absolute;
	width: 100%;
}

section#chara img {
	width: 100%;
}

section#chara .chara-main {
	min-width: 500px;
	max-width: 1500px;
	right: calc(-12% - 130px);
	z-index: 101;
}

section#chara .chara-sub {
	min-width: 500px;
	max-width: 1200px;
	top: -8vw;
	left: calc(8% - 150px);
	z-index: 100;
}

section#chara p.word {
	writing-mode: vertical-rl;
	position: absolute;
	font-size: min(7vw, 42px);
	z-index: 102;
	width: min(7vw, 42px);
	display: flex;
	align-items: center;
	overflow: hidden;
	white-space: nowrap;
}

section#chara .chara-profile {
	background: linear-gradient(to top, white 50%, rgba(255, 255, 255, 0) 100%);
	filter: drop-shadow(2px 2px 2px white);
	text-align: left;
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
	margin-top: -40vh;
	padding: 20px 5%;
	z-index: 102;
	position: relative;
	box-sizing: border-box;
}

section#chara .chara-profile h3 {
	font-size: 52px;
}

section#chara .chara-profile p.cv {
	color: rgb(44, 64, 184);
	font-size: 32px;
	margin-top: -40px;
}

section#chara #chara-mio div.chara-main {
	left: calc(-12% - 90px);
	right: auto;
}

section#chara #chara-mio div.chara-sub {
	right: calc(8% - 170px);
	left: auto;
}

section#chara #chara-mio p.word {
	left: auto;
}

section#chara #chara-mio div.chara-profile h3,
#chara-mio p.cv {
	text-align: right;
}

/* メンバー */

section#creators .member h3 {
	font-size: 29px;
}

section#creators .member p {
	font-size: min(17px, 5vw);
}

/* フッター */

section#footer {
	background: none;
	color: #ccc;
}

section#footer footer p {
	text-align: center;
	font-size: 11px;
}
