@charset "UTF-8";
/*
 各ページ.css（ファイル名変更可）
 本サイト各ページ用CSS
*/

.ieuru-second {
	background-image: url(../images/common/bg_teiko_blue.png);
}
.ieuru-second .d-inner {
	padding: 70px 0 100px;
}
.ieuru-second .d-box-body {
	background-image: url(../images/common/bg_parts.png);
	padding: 60px 70px 80px;
}

.history-head {
	width: 100%;
	height: 0;
	padding-top: 210px;
	background-color: #0b2aa4;
	background-image: url(../images/history/head_pc.png);
	background-repeat: no-repeat;
	background-size: 822px 181px;
	background-position: center;
	margin-bottom: 50px;
}
.history-movie {
	margin-bottom: 50px;
}
.history-movie-data {
	padding-top: 56.25%;
	overflow: hidden;
	position: relative;
}
.history-movie-data iframe {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.history-chart {
	width: 100%;
	height: 0;
	padding-top: 563px;
	background-image: url(../images/history/chart_pc.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	margin-bottom: 50px;
}

.history-ranking {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 459px;
	background-image: url(../images/history/ranking_pc.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	margin-bottom: 50px;
}
#modalOpen {
	position: absolute;
	top: 150px;
	left: 353px;
	width: 155px;
	height: 220px;
	background: #fff;
	opacity: 0;
}
#modalOpen:hover {
	cursor: pointer;
	opacity: 0.5;
}

.history-story-btn {
	padding: 0 55px;
	text-align: center;
	margin-bottom: 80px;
}
.history-story-btn a {
	position: relative;
	display: block;
	width: 100%;
	color: #fff;
	background: #0b2aa4;
	font-size: 22px;
	line-height: 1.7;
	padding: 15px;
	border-radius: 5px;
}
.history-story-btn a:after {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 7.5px 0 7.5px 10px;
	border-color: transparent transparent transparent #fff;
	position: absolute;
	top: 50%;
	right: 30px;
	transform: translate(0, -50%);
}
.sp-only {
	display: none;
}

.history-point {
	border-top: 1px solid #0b2aa4;
	border-bottom: 1px solid #0b2aa4;
	border-left: 1px solid #0b2aa4;
	border-right: 1px solid #0b2aa4;
	margin-bottom: 115px;
	background: #fff;
}
.history-point.ieuru-box-deco .motif-door {
	border: 1px solid #0b2aa4;
	top: 100%;
}
.history-point.ieuru-box-deco .motif-door {
	border: 1px solid #0b2aa4;
	top: 100%;
}
.history-point.ieuru-box-deco .motif-door.bottom + .bottom {
	top: 100%;
}
.history-point.point02.ieuru-box-deco .motif-door {
	transform: rotate(180deg);
	left: auto;
	right: 20px;
}
.history-point.ieuru-box-deco:after {
	border: 1px solid #0b2aa4;
	background-image: url(../images/common/bg_border_history.png);
	background-size: 2px 10px;
	top: 100%;
	right: -1px;
}
.history-point.point02.ieuru-box-deco:after {
	right: auto;
	left: 10px;
	border-right: 2px solid #0b2aa4;
	border-left: 2px solid #0b2aa4;
	border-bottom: 2px solid #0b2aa4;
	border-top: none;
	background-image: url(../images/common/bg_tile_blue3.png);
	background-size: 8px;
	background-position: 4px 0;
	width: 170px;
	height: 50px;
}
.history-point-head {
	width: 100%;
	height: 0;
	padding-top: 100px;
	background-color: #ffffeb;
	background-image: url(../images/history/point_01_pc.png);
	background-repeat: no-repeat;
	background-size: 815px 59px;
	background-position: center 25px;
	border-bottom: 1px solid #0b2aa4;
}
.point02 .history-point-head {
	width: 100%;
	height: 0;
	padding-top: 100px;
	background-color: #ffffeb;
	background-image: url(../images/history/point_02_pc.png);
	background-repeat: no-repeat;
	background-size: 562px 59px;
	background-position: center 25px;
}
.history-point-txt {
	position: relative;
	height: 720px;
	width: 100%;
}
.history-point-txt-inner {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 20px;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	width: calc(100% - 40px);
	writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	-webkit-writing-mode:vertical-rl;
	height: 680px;
}

.history-point-txt p + p {
	margin-right: 2em;
}
.history-point-txt p.emph{
	margin-right: 3.5em;
}
.history-point-txt .c-blue { color: #003c9d; }
.history-point-txt .c-pink { color: #e61874; }
.history-point-txt .bg-blue { padding: 3px; background: linear-gradient(transparent 0%, #ced4ed 0%); }
.history-point-txt .bg-pink { padding: 3px; background: linear-gradient(transparent 0%, #fad1e3 0%); }

.history-channel-inner {
	position: relative;
	background:#0b2aa4;
	padding: 10px 20px 20px;
	color: #fff;
	text-align: center;
}
.history-channel-title {
	font-size: 22px;
	padding-bottom: 10px;
}
.history-channel-list {
	display: flex;
	align-items: stretch;
	justify-content: center;
	padding: 0 20px;
}
.history-channel-item {
	flex: 0 1 50%;
}
.history-channel-item + .history-channel-item {
	margin-left: 3%;
}
.history-channel-item a {
	display: block;
	border-radius: 3px;
}
.history-channel-item.tada a { background-color: #ff005a;padding: 20px 30px; }
.history-channel-item.hulu a { background-color: #67ae3e; padding: 10px 30px;}

.history-channel-item a span {
	display: block;
	height: 46px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	font-size: 0;
	text-indent: -9999px;
	overflow: hidden;
	white-space: nowrap;
}
.history-channel-item.tada a span {
	background-image: url(../images/top/channel-tada-ieuru-pc.png);
	height: 47px;
}
.history-channel-item.hulu a span {
	background-image: url(../images/top/channel-hulu-ieuru-pc.png);
	height: 67px;
}




#modal-area {
	display: none;
}
#modal-area.active {
	display: block;
}
#modal-bg {
	display: block;
	width:100%;
	height:100%;
	background: rgba(0, 0, 0, 0.5);
	position:fixed;
	top:0;
	left:0;
	z-index: 200;
	animation: show .2s linear;
}

#modal {
	position:fixed;
	z-index: 201;
	display: block;
	width: 100%;
	max-width: 492px;
	height: auto;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
	animation: show .2s linear;
}
.modal-inner {
	position: relative;
	width: 100%;
	max-width: 452px;
	margin: 0 auto;
	text-align: center;
}
#modal-close {
	position: absolute;
	top: -20px;
	right: -20px;
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50px;
	background: rgba(0, 0, 0, 0.8);
	border: 2px solid #fff;
	cursor: pointer;
}
#modal-close:hover {
	opacity: 0.5;
	transition: all 0.2s ease;
}
#modal-close span {
	display: inline-block;
	position: absolute;
	width: 20px;
	height: 2px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
}
#modal-close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
#modal-close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg);}

.modal-inner img.modal-item {
	width: 100%;
}




/* ------------------------------------------------------------------
 PC（993px〜）
------------------------------------------------------------------ */
@media screen and (min-width: 993px) {}

/* ------------------------------------------------------------------
 tablet（0〜992px）
------------------------------------------------------------------ */
@media screen and (max-width: 992px) {
	.ieuru-second .d-box { padding: 10px; }
	.ieuru-second .d-box-body {
		padding: 10px 0 30px;
	}
	.history-head {
		width: calc(100% - 20px);
		margin: 0 auto 10px;
		background-size: 90%;
		padding-top: 22.01%;
	}
	.history-movie {
		margin-bottom: 20px;
	}
	.history-items { padding: 0 10px; }
	.history-chart {
		padding-top: 65.46%;
		background-size: contain;
		margin-bottom: 20px;
	}
	.history-ranking {
		padding-top: 53.37%;
		background-size: contain;
		margin-bottom: 20px;
	}
	.history-story-btn { padding: 0; margin-bottom: 20px; }

	.history-point {
		border-left: none;
		border-right: none;
	}
	.history-point-head {
		padding-top: 150px;
		background-color: #ffffeb;
		background-image: url(../images/history/point_01_sp.png);
		background-size: 439px 124px;
		background-position: center;
	}
	.point02 .history-point-head {
		padding-top: 100px;
		background-image: url(../images/history/point_02_sp.png);
		background-size: 560px 61px;
		background-position: center;
	}
	.history-point-txt {
		height: 500px;
	}
	.history-point-txt-inner {
		top: 10px;
		right: 10px;
		font-size: 16px;
		width: calc(100% - 20px);
		height: 480px;
	}

	.history-point-txt p + p {
		margin-right: 1em;
	}
	.history-point-txt p.emph{
		margin-right: 3em;
	}

	.history-channel {
		padding: 0 10px;
	}
	.history-channel-title {
		font-size: 12px;
	}

	#modalOpen {
		top: 32.5%;
		left: 41%;
		width: 18%;
		height: 48.5%;
	}
}

/* ------------------------------------------------------------------
 SP（0〜600px）
------------------------------------------------------------------ */
@media only screen and (max-width: 600px) {
	.ieuru-second {
		background-image: url(../images/common/bg_teiko_blue.png);
		background-size: 48px 48px;
	}
	.ieuru-second .d-inner {
		padding: 20px 0 50px;
	}
	.ieuru-second .d-box-body {
		background: url(../images/common/bg_parts.png);
		background-size: 225px 250px;
	}
	.history-head {
		width: calc(100% - 20px);
		margin: 0 auto 10px;
		background-image: url(../images/history/head_sp.png);
		background-size: 95%;
		padding-top: 37.56%;
	}
	.history-chart {
		padding-top: 75.35%;
		background-image: url(../images/history/chart_sp.png);
	}
	.history-ranking {
		padding-top: 81.25%;
		background-image: url(../images/history/ranking_sp.png);
	}

	.history-story-btn a { font-size: 14px; padding: 10px; }
	.history-story-btn a:after {
		border-width: 5px 0px 5px 6px;
		right: 10px;
	}
	.sp-only {
		display: block;
	}
	.history-point {
		margin-bottom: 50px;
	}
	.history-point.ieuru-box-deco:after {
		background-size: 1px 5px;
	}
	.history-point.point02.ieuru-box-deco:after {
		right: auto;
		left: 10px;
		border-right: 1px solid #0b2aa4;
		border-left: 1px solid #0b2aa4;
		border-bottom: 1px solid #0b2aa4;
		border-top: none;
		background-image: url(../images/common/bg_tile_blue3.png);
		background-size: 4px;
		background-position: 2px 0;
		width: 90px;
		height: 30px;
	}


	.history-point-head {
		padding-top: 28.24%;
		background-size: 80%;
	}
	.point02 .history-point-head {
		padding-top: 15.89%;
		background-size: 95%;
	}
	.history-point-txt {
		letter-spacing: -1px;
		line-height: 1.6;
		height: 400px;
	}
	.history-point-txt-inner {
		overflow-x: scroll;
		top: 10px;
		right: 10px;
		font-size: 12px;
		width: calc(100% - 20px);
		height: 380px;
	}
	.history-point-txt p + p {
		margin-right: 0.5em;
	}
	.history-point-txt p.emph {
		margin-right: 2em;
	}

	.history-channel-list { padding: 0; }

	.history-channel-item.tada a {
		padding: 12px 10px;
	}
	.history-channel-item.tada a span {
		background-image: url(../images/top/channel-tada-ieuru-sp.png);
		height: 52px;
	}
	.history-channel-item.hulu a {
		padding: 10px;
	}
	.history-channel-item.hulu a span {
		background-image: url(../images/top/channel-hulu-ieuru-sp.png);
		height: 55px;
	}

	#modal-close {
		top: -10px;
		right: -10px;
		width: 30px;
		height: 30px;
	}
	#modal-close span {
		width: 15px;
	}

	#modalOpen {
		top: 35%;
		left: 41%;
		width: 18%;
		height: 32%;
	}

}

@media only screen and (max-width: 360px) {
	.history-point-txt {
		height: 500px;
	}
	.history-point-txt-inner {
		height: 480px;
	}
}