﻿@import url("https://www.tbs.co.jp/murainokoi_tbs/css/sns.css");
@import url("/um/v7/css/reset.css");
@import url("keyframes.css");


/* div#bn_super {
	border-bottom:1px solid #c0c4ce;
} */


@media all and (min-width: 768px) {
div.bn-recta {
	margin-bottom:40px;
}
}
@media all and (max-width: 767px) {
div.bn-recta {
	margin-bottom:20px;
}
}

/* =================================
	Web Fonts
================================= */
@font-face {
	font-family: 'Tinos';
	src: url('/um/library/fonts/Tinos/Tinos-Regular.ttf') format("truetype");
}

div.menu nav ul li span a:before,
main > article > header h1:before,
div.story article header h2, div.story article header p,
div.interview article header h2,
div.wnew section h2 span,
div.tbs-topics article header h2,
div.chara article header h2,
.idx div.cover div.sns > aside div section > h3,
section.story-bn ul li span a.lazy-done:before,
ul.yt-lists li span a.yt-playing:after,
h2.h2-story > span.ep > span,
section.unit > h3 > span > span.relay {
	font-family: Tinos, sans-serif;
	font-weight: 400;
	font-style: normal;
	letter-spacing:0.05em;
	text-indent:0.05em;
}
.idx div.cover div.sns {
	border-top:1px solid hsla(0,0%,100%,0.6);
	border-bottom:1px solid hsla(0,0%,100%,0.6);
	background-color:hsla(0,0%,100%,0.2);
	backdrop-filter:blur(10px);
	-webkit-backdrop-filter:blur(10px);
	position:relative;
}
/* .idx div.cover div.sns:before {
	content:"";
	background-color:hsla(30,44%,82%,0.8);
	width:100%;
	height:100%;
	position:absolute;
	left:0;
	top:0;
	-webkit-transform:skewY(5deg);
	transform:skewY(5deg);
	background-image: -webkit-gradient(linear, center left, center right, from(transparent), color-stop(0.25, transparent), to(hsla(23,38%,57%,0.7)));
	background-image: linear-gradient(90deg, transparent 25%, hsla(23,38%,57%,0.9));
} */
.idx div.cover div.sns aside {
	position:relative;
}

.sticky {
	opacity: 0;
}
main .sticky-done {
	-webkit-animation-duration: 0.75s;
	animation-duration: 0.75s;
	-webkit-animation-name: fadeIn;
	animation-name: fadeIn;
}


/* =================================
	CSS
================================= */

/* link */
a:link {
	text-decoration:underline;
	color:#7b0000;
}
a:visited {
	text-decoration:none;
	color:#7b0000;
}
a:active {
	text-decoration:none;
	color:#7b0000;
}
a:hover {
	text-decoration:underline;
	color:#7b0000;
}

.xxl {
	font-size:150%;
}
.xl {
	font-size:125%;
}
.l {
	font-size:112.5%;
}
.s {
	font-size:83%;
}
.xs {
	font-size:75%;
}
.xxs {
	font-size:62.5%;
}

@media all and (max-width: 374px) {
.xl, .xxl {
	font-size:112.5%;
}
.s, .xs {
	font-size:62.5%;
}
}
@media all and (min-width: 768px) {
.br-smp {
	display:none;
}
}
.ff {
	font-family:serif;
}
.lazy {
	display:block;
	position:relative;
}
.wbr {
	white-space: nowrap;
	display: inline-block;
}


/*	copyright
============================== */
div.copyright p {
	line-height:1.25;
	text-align:center;
}
div.copyright p > small {
	display:block;
}
@media all and (min-width: 768px) {
	div.copyright p {
		font-size:75%;
	}
	div.copyright p > small {
		padding:40px 0 40px;
	}
	div.copyright p a:hover {
		text-decoration:none;
	}
}
@media all and (max-width: 767px) {
	div.copyright p {
		font-size:62.5%;
	}
	div.copyright p > small {
		padding:30px 12px 30px;
	}
}


/*	background
============================== */
body {
	color:#000;
	text-align:center;
	-webkit-text-size-adjust:100%;
	-ms-text-size-adjust: 100%;
	font-family:"ヒラギノ角ゴ ProN W3",Hiragino Kaku Gothic ProN,Arial,"メイリオ",Meiryo,sans-serif;
}
div.fix-bg {
	width: 100%;
	height: 100%;
	position: fixed;
	background-repeat:no-repeat;
	background-position:center center;
	background-size: cover;
	z-index: -3;
/*	background-color:#d29c6a; */
}
div.fix-bg span {
	display:block;
	position:absolute;
	left:0;
	top:0;
	width: 100%;
	height: 100%;
	background-color:hsla(28,53%,61%,0.3);
	background-image: linear-gradient(to right bottom, hsla(221,88%,75%,.5), hsla(288,94%,85%,.5));
}
div.cover {
	/**/
	font-family: ten-mincho-text, serif;
	font-weight: 400;
	font-style: normal;
	/**/
	-moz-font-feature-settings: "palt";
	-webkit-font-feature-settings: "palt";
	font-feature-settings: "palt";
	overflow:hidden;
}
div.cover h1, div.cover h2, div.cover h3, div.cover h4, div.cover h5, div.cover b {
	/**/
	font-weight:600;
	/**/
}
@media all and (min-width: 768px) {
div.fix-bg {
	background-image: url(../img/bg.jpg?2);
}
div.cover {
}
}
@media all and (max-width: 767px) {
div.fix-bg {
	background-image: url(../img/bg.jpg?2);
}
div.cover {
	min-width:320px;
}
}

/*	menu
============================== */
div.menu {
	background-color:hsla(0,0%,100%,0.2);
	backdrop-filter:blur(10px);
	-webkit-backdrop-filter:blur(10px);
	border-color:hsla(0,0%,100%,0.6);
	border-top-width:1px;
	border-bottom-width:1px;
	border-style:solid;
}
div.menu nav {
	position:relative;
	z-index:2;
	text-align:left;
}
div.menu nav ul li {
	float:left;
}
div.menu nav ul li span,
div.menu nav ul li a {
	display:block;
}
div.menu nav ul li span a {
	text-align:center;
	text-decoration:none;
	border:solid 1px hsla(0,0%,100%,1);
	background-image: url(../img/bg.jpg?2);
	background-size:500%;
	background-position:center center;
	overflow:hidden;
	position:relative;
}
div.menu nav ul li span a:before, div.menu nav ul li span a span {
	position:relative;
	z-index:1;
}
div.menu nav ul li span a:before {
	display:block;
	white-space:nowrap;
	line-height:1.25;
	color:#fff;
	text-shadow:2px 3px 3px hsla(0,0%,0%,0.3);
}

div.menu nav ul li span a:after {
	content:"";
	display:block;
	width:100%;
	height:100%;
	background-image: linear-gradient(to right bottom, hsla(284,82%,70%,.5), hsla(216,64%,48%,.5));
	position:absolute;
	left:0;
	top:0;
	z-index:0;
}

div.menu nav ul li.about span a:before {
	content:"About";
}
div.menu nav ul li.staff span a:before {
	content:"Cast&Staff";
}
div.menu nav ul li.story span a:before {
	content:"Story";
}
div.menu nav ul li.chara span a:before {
	content:"Character";
}
div.menu nav ul li.news span a:before {
	content:"News";
}
div.menu nav ul li span a span {
	color:#d6eaea;
	display:inline-block;
	line-height:1.5;
	padding:0 0.5em;
}
div.menu nav ul li span a span {
	font-weight:700;
	background-image: -webkit-gradient(linear, center top, center bottom, from(transparent), color-stop(0.5, transparent), color-stop(0.5, hsla(331,100%,75%,0.3)), to(hsla(331,100%,75%,0.3)));
	background-image: linear-gradient(transparent 50%, hsla(331,100%,75%,0.3) 50%);
}
div.menu nav ul li > span {
	border-color:transparent;
	border-style:solid;
}
.about div.menu nav ul li.about span a:before,
.story div.menu nav ul li.story span a:before,
.caststaff div.menu nav ul li.staff span a:before,
.character div.menu nav ul li.chara span a:before,
.news div.menu nav ul li.news span a:before {
	color:hsla(56,100%,57%,1);
	color:#fff;
}


/*div.menu nav ul li:nth-last-child(3),
div.menu nav ul li:nth-last-child(1) {
	opacity:0.5;
} */
/* div.menu nav ul li:nth-last-child(3) span a,
div.menu nav ul li:nth-last-child(1) span a {
	cursor:default;
} */



@media all and (min-width: 768px) {
div.menu {
	padding:10px 0;
}
div.menu nav {
	max-width:1080px;
	margin:0 auto;
}

div.menu nav ul li {
	width:17%;
}
div.menu nav ul li:nth-child(2) {
	width:25%;
}
div.menu nav ul li:nth-child(1) {
	width:24%;
}
div.menu nav ul li:nth-child(5n-4) > span {
	border-right-width:4px;
}
div.menu nav ul li:nth-child(5n-3) > span {
	border-left-width:1px;
	border-right-width:3px;
}
div.menu nav ul li:nth-child(5n-2) > span {
	border-left-width:2px;
	border-right-width:2px;
}
div.menu nav ul li:nth-child(5n-1) > span {
	border-left-width:3px;
	border-right-width:1px;
}
div.menu nav ul li:nth-child(5n) > span {
	border-left-width:4px;
}
div.menu nav ul li span a {
	padding:0.75em 0 1.25em;
}
}
@media all and (min-width: 980px) {
div.menu nav ul li span a:before {
	font-size:225%;
}
div.menu nav ul li span a span {
	font-size:112.5%;
}
}
@media all and (min-width: 768px) and (max-width: 979px) {
div.menu nav ul li span a:before {
	font-size:150%;
}
div.menu nav ul li span a span {
	font-size:87.5%;
}
}
@media all and (max-width: 767px) {
div.menu nav ul {
	padding:8px 10px;
}
div.menu nav ul li {
	width:50%;
}
div.menu nav ul li:nth-child(1),div.menu nav ul li:nth-child(2) {
	border-bottom:6px solid transparent;
}
div.menu nav ul li:nth-child(3),div.menu nav ul li:nth-child(5) {
	width:35%;
}
div.menu nav ul li:nth-child(4) {
	width:30%;
}
div.menu nav ul li:nth-child(1) > span {
	border-right-width:3px;
}
div.menu nav ul li:nth-child(2) > span {
	border-left-width:3px;
}
div.menu nav ul li:nth-child(3) > span {
	border-right-width:4px;
}
div.menu nav ul li:nth-child(4) > span {
	border-left-width:2px;
	border-right-width:2px;
}
div.menu nav ul li:nth-child(5) > span {
	border-left-width:4px;
}
div.menu nav ul li span a {
	padding:0.25em 0 0.5em;
}
div.menu nav ul li span a:before {
	font-size:6vw;
}
div.menu nav ul li span a span {
	font-size:3.5vw;
}
}

/*	YouTube
============================== */
div.mov-inner {
	position:relative;
	height:0;
	padding-top:56.25%;
	background-color:#000;
	background-size:cover;
}
div.mov-inner iframe {
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
}
@media all and (min-width: 768px) {
body.story main > article > div.mov-outer {
	margin:0 auto 40px;
	max-width:800px;
}
}
@media all and (max-width: 767px) {
body.story main > article > div.mov-outer {
	margin:0 12px 20px;
}
}
@media print {
div.mov-inner {
	display:none;
}
}

/*	YouTube buttons
============================== */
ul.yt-lists {
	width:100%;
	background-color:hsla(30,44%,82%,0.8);
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
ul.yt-lists li {
	float:left;
}
ul.yt-lists li span, ul.yt-lists li span a {
	display:block;
}
ul.yt-lists li span a {
	text-decoration:none;
	color:#4f3833;
	background-color:hsla(0,0%,100%,0.7);
	padding:1em;
	line-height:1.5;
	position:relative;
	text-align:center;
}
ul.yt-lists li span a.yt-playing {
	background-color:#be8c6e;
}
ul.yt-lists li span a.yt-playing span {
	font-weight:bold;
	color:#efe8de;
	text-shadow:2px 3px 3px hsla(24,33%,21%,0.5);
}
ul.yt-lists li span a.yt-playing:after {
	content:"NOW PLAYING";
	background-color:#66dcfa;
	/**/
	/**/
	color:#000;
	display:inline-block;
	line-height:1.25;
	font-size:75%;
	padding:0.1em 0.5em;
	position:absolute;
	top:-4px;
	right:-4px;
}
@media all and (min-width: 768px) {
body.story div.yt-playlist {
	margin:0 auto 40px;
	max-width:800px;
}

ul.yt-lists {
	padding:8px;
}
/* case => 2
ul.yt-lists li {
	width:50%;
}
ul.yt-lists li:nth-child(odd) > span {
	margin-right:4px;
}
ul.yt-lists li:nth-child(even) > span {
	margin-left:4px;
} */

/* case => 3
ul.yt-lists {
	padding:9px;
}
ul.yt-lists li {
	width:33.333333333333333%;
}
ul.yt-lists li:nth-child(3n-2) > span {
	margin-right:6px;
}
ul.yt-lists li:nth-child(3n-1) > span {
	margin-left:3px;
	margin-right:3px;
}
ul.yt-lists li:nth-child(3n) > span {
	margin-left:6px;
} */


/* case => 4 */
ul.yt-lists {
	padding:8px;
}
ul.yt-lists li {
	width:25%;
}
ul.yt-lists li:nth-child(4n-3) > span {
	margin-right:6px;
}
ul.yt-lists li:nth-child(4n-2) > span {
	margin-left:2px;
	margin-right:4px;
}
ul.yt-lists li:nth-child(4n-1) > span {
	margin-left:4px;
	margin-right:2px;
}
ul.yt-lists li:nth-child(4n) > span {
	margin-left:6px;
}

ul.yt-lists li span a span {
	font-size:112.5%;
}
}
@media all and (max-width: 767px) {

body.story div.yt-playlist {
	margin:0 12px 20px;
}

ul.yt-lists {
	padding:8px 8px 0;
}
ul.yt-lists li {
	width:50%;
	margin-bottom:8px;
}
ul.yt-lists li:nth-child(even) > span {
	margin-left:4px;
	margin-right:4px;
}
ul.yt-lists li:nth-child(odd) > span {
	margin-right:4px;
	margin-left:4px;
}
/*
ul.yt-lists li:first-child {
	width:100%;
}
ul.yt-lists li:first-child > span {
	margin-left:0;
	margin-right:0;
}
*/
ul.yt-lists li span a span {
	font-size:83%;
}
}

/*	p.lines
============================== */
p.lines {
	background-position:left bottom;
	background-repeat:repeat;
	text-align:justify;
	text-justify:inter-ideograph;
	padding:0 0.75em;
}
@media all and (min-width: 768px) {
p.lines {
	font-size:112.5%;
	background-image:url(../img/line36.png);
	line-height:36px;
	background-size:36px 36px;
}
p.lines:not(:last-child) {
	margin-bottom:36px;
}
}
@media all and (max-width: 767px) {
p.lines {
	font-size:100%;
	background-image:url(../img/line30.png);
	line-height:30px;
	background-size:30px 30px;
}
p.lines:not(:last-child) {
	margin-bottom:30px;
}
}


/*	.pagetop
============================== */
div.pagetop {
	position:fixed;
	transition: right ease 1s;
	display:none;
	z-index:2;
}
div.pagetop a {
	display:block;
	background-image:url(../img/btn_pagetop.png?0);
	background-size:cover;
	text-indent:110%;white-space:nowrap;overflow:hidden;
	background-repeat:no-repeat;
	background-position:right bottom;
}
@media all and (min-width: 768px) {
div.pagetop {
	bottom:20px;
}
div.pagetop-on {
	right:30px;
}
div.pagetop-off {
	right:-104px;
}
div.pagetop a {
	width:100px;
	height:100px;
}
}
@media all and (max-width: 767px) {
div.pagetop {
	bottom:72px;
}
div.pagetop-on {
	right:0;
}
div.pagetop-off {
	right:-70px;
}
div.pagetop a {
	width:68px;
	height:68px;
}
}


/*	images
============================== */
@keyframes fuwafuwa {
	0%, 100% {
		transform:translateY(0);
	}
	50% {
		transform:translateY(-40px);
	}
}
div.imgs {
	z-index:-1;
	position:absolute;
	opacity:1;
	animation:12s fuwafuwa infinite;
}
div.imgs span, div.imgs img {
	display:block;
}
div.imgs > span {
	position:relative;
	height:0;
	background-repeat:no-repeat;
	background-size:cover;
	background-color:hsla(0,0%,100%,.1);
	border-radius:50%;
	border:solid 1px hsla(0,0%,100%,.4);
	backdrop-filter:blur(10px);
	-webkit-backdrop-filter:blur(10px);
}
div.imgs > span.lazy-done {
	-webkit-animation: fadeIn 400ms;
	animation: fadeIn 400ms;
}
div.imgs > span img {
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
}
div.imgs-cmn-tl,
div.imgs-cmn-bl {
	left:10%;
}
div.imgs-cmn-tr,
div.imgs-cmn-br {
	right:10%;
}
div.imgs-cmn-tl,
div.imgs-cmn-tr {
	top:5%;
}
div.imgs-cmn-bl,
div.imgs-cmn-br {
	bottom:5%;
}
div.imgs-cmn-tl span,
div.imgs-cmn-bl span {
	padding-top:100%;
}
div.imgs-cmn-tr span,
div.imgs-cmn-br span {
	padding-top:100%;
}
@media all and (min-width: 768px) {
div.imgs {
	width:400px;
}

div.imgs-cmn-tl,
div.imgs-cmn-tr {
/*	top:-30px; */
}
div.imgs-cmn-bl,
div.imgs-cmn-br {
/*	bottom:-30px; */
}
.idx div.story div.imgs-cmn-tl {
/*	top:-60px; */
}
.idx div.chara div.imgs-cmn-tr {
}
.about div.imgs-cmn-tr {
	top:-200px;
}
}
@media all and (max-width: 767px) {
/* yoko */
div.imgs {
	width:60%;
}

.lower div.header div.imgs-cmn-tr.imgs-yoko {
	top:-40px;
	right:-40%;
}
.lower div.header div.imgs-cmn-bl.imgs-yoko {
	bottom:-25%;
}
}
