/*
サイト独自のスタイル
*/

/*
プロパティ定義
*/

:root {
	--header-color: #ffffff;
	--header-background-color: #802030;
}

body {
	background-color: #401010;
}

/*
ヘッダー
*/

.header > .main-menu-switch {
	background-image: url(/assets/img/logo.png);
	background-repeat: no-repeat;
	background-size: cover;
}
header > .header__menus > .header__menus__menu {
	display: flex;
	flex-direction: column;
	padding: 0 0.5em;
	border-radius: 5px;
}
header > .header__menus > .header__menus__menu:hover {
	/*background-color: rgba(255, 255, 255, 0.5);*/
	opacity: 0.9;
}
header > .header__menus > .header__menus__menu > .icon {
	display: none;
}
header > .header__menus > .header__menus__menu > span {
	line-height: 1;
}
header > .header__menus > .header__menus__menu > span + span {
	opacity: 0.7;
}

/*
フッター
*/

.footer {
	padding: 5px;
	justify-content: center;
}

/*
サイド画像
*/

.side-image {
	position: fixed;
	z-index: -1;
	width: calc((100vw - var(--container-max-width)) / 2 - 4px);
	height: calc(100vh - var(--header-height) - 8px);
	background-repeat: no-repeat;
	background-size: cover;
}
.side-image.-left {
	top: calc(var(--header-height) + 4px);
	left: 4px;
}
.side-image.-right {
	top: calc(var(--header-height) + 4px);
	right: 4px;
}
.side-image[data-image="1"] {
	background-image: url(/assets/img/side1.jpg);
	background-position-x: 45%;
}
.side-image[data-image="2"] {
	background-image: url(/assets/img/side2.jpg);
	background-position-x: 50%;
}
.side-image[data-image="3"] {
	background-image: url(/assets/img/side3.jpg);
	background-position-x: 50%;
}
.side-image[data-image="4"] {
	background-image: url(/assets/img/side4.jpg);
	background-position-x: 50%;
}
.side-image[data-image="5"] {
	background-image: url(/assets/img/side5.jpg);
	background-position-x: 55%;
}
.side-image[data-image="6"] {
	background-image: url(/assets/img/side6.jpg);
	background-position-x: 65%;
}
.side-image[data-image="7"] {
	background-image: url(/assets/img/side7.jpg);
	background-position-x: 45%;
}
.side-image[data-image="8"] {
	background-image: url(/assets/img/side8.jpg);
	background-position-x: 60%;
}
.side-image[data-image="9"] {
	background-image: url(/assets/img/side9.jpg);
	background-position-x: 55%;
}
.side-image[data-image="10"] {
	background-image: url(/assets/img/side10.jpg);
	background-position-x: 60%;
}
.side-image[data-image="11"] {
	background-image: url(/assets/img/side11.jpg);
	background-position-x: 55%;
}
.side-image[data-image="12"] {
	background-image: url(/assets/img/side12.jpg);
	background-position-x: 50%;
}
.side-image[data-image="13"] {
	background-image: url(/assets/img/side13.jpg);
	background-position-x: 43%;
}
.side-image[data-image="14"] {
	background-image: url(/assets/img/side14.jpg);
	background-position-x: 50%;
}
.side-image[data-image="15"] {
	background-image: url(/assets/img/side15.jpg);
	background-position-x: 55%;
}
.side-image[data-image="16"] {
	background-image: url(/assets/img/side16.jpg);
	background-position-x: 50%;
}
.side-image[data-image="17"] {
	background-image: url(/assets/img/side17.jpg);
	background-position-x: 50%;
}

/*
コンテンツ（ページ内の情報エリア）
*/

.contents {}
.contents > .contents__title {
	margin-bottom: 1em;
	background-color: #ffd0d8;
	white-space: pre-wrap;
	background-color: #000000;
	border-radius: 10px;
	color: #fff8f8;
}
.contents__items {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.contents__items__item {
	display: flex;
	justify-content: center;
	align-items: center;
	width: calc((100% - 40px) / 3);
	max-height: 300px;
	padding: 5px;
	background-color: #ffffff;
	border-radius: 5px;
	box-shadow: #ffc080 0 0 3px 1px;
}
.contents__items__item:hover {
	box-shadow: #fff0e0 0 0 10px 2px; 
}
.contents__items__item > * {
	max-width: 100%;
	max-height: 100%;
}
.contents__items.-v {
	display: flex;
	flex-direction: column;
}
.contents__items.-v .contents__items__item {
	width: 100%;
}

/*
作品一覧ページ
*/

[data-act="products"] .contents__items__item {
	width: calc((100% - 40px) / 3);
	max-height: 300px;
	overflow-y: auto;
}
/* 記事全体 */
[data-act="products"] .contents__items__item > div {
	width: 100%;
	height: 100%;
}
/* ビジュアル部分 */
[data-act="products"] .contents__items__item > div > div[id] {
	display: flex;
	width: 100%;
	height: auto;
}
[data-act="products"] .contents__items__item > div > div[id] > video {
	width: 100%;
	height: auto;
}
/* テキスト部分 */
[data-act="products"] .contents__items__item > div > div + div {
}
[data-act="products"] .contents__items__item > div > div + div > a {
	white-space: pre-wrap;
	text-decoration: none;
}
[data-act="products"] .contents__items__item > div > div + div > a ~ a ~ a ~ a ~ a {
	display: block;
	width: 100%;
	text-align: right;
}
[data-act="products"] .contents__items__item > div > div + div > a ~ a ~ a ~ a ~ a > img {
	display: inline;
}
[data-act="products"] .contents__items__item > div > div + div > a > pre {
	white-space: pre-wrap;
}
/* 他女優 */
[data-act="products"] .contents__items__item > div > div + div + p {
}
[data-act="products"] .contents__items__item > div > div + div + p ~ a {
	display: inline-block;
	width: 20%;
}
[data-act="products"] .contents__items__item > div > div + div + p ~ a > img {
	display: inline;
}

/*
作品紹介ページ
*/

[data-act="product"] .contents {
	width: 100%;
	color: #ffffff;
}
[data-act="product"] .contents a {
	text-decoration: none;
}
[data-act="product"] .contents > div {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	column-gap: 15px;
	width: 100%;
}
[data-act="product"] .contents > div > div[id] {
	width: 100%;
}
[data-act="product"] .contents > div > div[id] > video {
	width: 100%;
	height: auto;
}
[data-act="product"] .contents > div > div[id] + div {
	width: 100%;
}
[data-act="product"] .contents > div > div[id] + div > a:nth-of-type(1) {
}
[data-act="product"] .contents > div > div[id] + div > a:nth-of-type(2) {
}
[data-act="product"] .contents > div > div[id] + div > a:nth-of-type(3) {
}
[data-act="product"] .contents > div > div[id] + div > a:nth-of-type(4) {
}
[data-act="product"] .contents > div > div[id] + div > a:nth-of-type(4) > pre {
	white-space: normal;
}
[data-act="product"] .contents > div > div[id] + div > a:nth-of-type(5) {
}
[data-act="product"] .contents > div > div[id] + div > a:nth-of-type(5) > img {
	margin-left: auto;
}
[data-act="product"] .contents > div > div[id] + div + p {
	width: 100%;
}
[data-act="product"] .contents > div > div[id] + div + p ~ a {
	display: flex;
	flex-direction: column;
	margin-bottom: 10px;
}
[data-act="product"] .contents > div > div[id] + div + p ~ a > img {
	border-radius: 10%;
}
[data-act="product"] .contents > div > div[id] + div + p ~ a > br {
	display: none;
}


[data-act="eng"] .contents > iframe,
[data-act="kor"] .contents > iframe,
[data-act="cht"] .contents > iframe,
[data-act="chs"] .contents > iframe {
	width: 100%;
	height: 100%;
}
@media screen and (max-width: 900px) {
	[data-act="products"] .contents__items {
		gap: 40px;
	}
	[data-act="products"] .contents__items__item {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		max-height: 300px;
		padding: 5px;
		overflow: hidden;
		box-shadow: #000 0 0 3px 0;
	}
	[data-act="products"] .contents__items__item > div > div[id] {
		height: 100%;
	}
	[data-act="products"] .contents__items__item > div > div[id] > video {
		max-height: 100%;
	}
	[data-act="products"] .contents__items__item > div > div[id] ~ * {
		display: none;
	}
}

/*
ページトップリンク
*/
.container.-single + .goto-pagetop {
	display: none;
}
.goto-pagetop {
	position: fixed;
	bottom: 0.5em;
	right: 0.5em;
	z-index: 100;
	display: block;
	width: 3em;
	height: 3em;
	background: #fff;
	border: #888 1px solid;
	border-radius: 50%;
	opacity: 0.5;
	line-height: 40px;
	text-decoration: none;
	text-align: center;
	color: #fff;
	cursor: pointer;
	transition: 0.5s;
}
.goto-pagetop img {
	position: absolute;
	top: 20%;
	right: 20%;
	bottom: 20%;
	left: 20%;
}
.goto-pagetop:hover {
	opacity: 1;
}
.container.-single ~ .goto-pagetop {
	display: none;
}
