@charset "utf-8";

/*//////////////////////////////////////////////////////////
インプレスアカデミー
オンデマンド配信用CSS
作成：2021/1/22
//////////////////////////////////////////////////////////*/

/*===========================================================
オンデマンド配信トップページ
===========================================================*/

/*==================== 共通スタイル ====================*/

/* フォントサイズをリセット */
@media screen and (max-width: 767px) {
	.odmd-lineup p,
	.odmd-attention p {
		font-size: inherit !important;
	}
}

/*-------------------- 見出し --------------------*/
.odmd-lineup h2,
.odmd-attention h2 {
	position: relative;
	text-align: center;
	color: #3e5d65 !important;
	border-bottom: 0 !important;
}
.odmd-lineup h2::before,
.odmd-lineup h2::after,
.odmd-attention h2::before,
.odmd-attention h2::after {
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	width: 320px;
	height: 6px;
	background: #d2dcdd;
	border-radius: 6px;
	transform: translateX(-50%);
}
.odmd-lineup h2::before,
.odmd-attention h2::before {
	top: 0;
}
.odmd-lineup h2::after,
.odmd-attention h2::after {
	bottom: 0;
}
@media screen and (max-width: 320px) {
	.odmd-lineup h2::before,
	.odmd-lineup h2::after,
	.odmd-attention h2::before,
	.odmd-attention h2::after {
		width: 100%;
	}
}

/*============== すべての講座一覧：リード ==============*/
.odmd-lead {
	position: relative;
	background: url("https://academy.impress.co.jp/event/common/images/ondemand/keyvisual.jpg") no-repeat 50% 0;
	background-size: cover;
	border-radius: 8px;
}
@media screen and (max-width: 438px) {
	.odmd-lead {
		padding: 75% 15px 0;
		background-position: 99% -10px;
		background-size: 250%;
	}
}
@media screen and (min-width: 439px) and (max-width: 991px) {
	.odmd-lead {
		background-position: 80% 0;
		background-size: 110%;
	}
}
@media screen and (min-width: 439px) and (max-width: 766px) {
	.odmd-lead {
		padding: 15px;
	}
}

/* エリアの高さ */
@media screen and (min-width: 439px) and (max-width: 644px) {
	.odmd-lead {
		min-height: 200px;
	}
}
@media screen and (min-width: 645px) and (max-width: 766px) {
	.odmd-lead {
		min-height: 250px;
	}
}
@media screen and (min-width: 767px) {
	.odmd-lead {
		min-height: 300px;
	}
}

.odmd-lead p {
	padding: 6px 10px;
	font-size: 0.95rem !important;
	color: #fff;
	background: rgba(53,94,107,0.75);
	border-radius: 6px;
}
@media screen and (min-width: 485px) {
	.odmd-lead p {
		position: absolute;
		left: 3%;
		top: 50%;
		transform: translateY(-50%);
	}
}
/* リード文表示エリアの幅 */
@media screen and (min-width: 439px) and (max-width: 484px) {
	.odmd-lead p {
		width: 60%;
	}
}
@media screen and (min-width: 485px) {
	.odmd-lead p {
		width: 55%;
	}
}
/* スマホ・タブレット表示時のフォントサイズ */
@media screen and (max-width: 438px) {
	.odmd-lead p {
		font-size: 3.5vw !important;
	}
}
@media screen and (min-width: 439px) and (max-width: 644px) {
	.odmd-lead p {
		font-size: 0.87rem !important;
	}
}
@media screen and (min-width: 992px) {
	.odmd-lead p {
		font-size: 18px !important;
	}
}

/*============== テーマ別ページ：タイトル ==============*/
.odmd-header {
	position: relative;
	min-height: 184px;
	background: #7b99a1 url("https://academy.impress.co.jp/event/common/images/ondemand/keyvisual.jpg") no-repeat 100% 15%;
	background-size: 679px 280px; /*元画像の70%縮小サイズ*/
	border-radius: 8px;
}
@media screen and (max-width: 438px) {
	.odmd-header {
		padding: 75% 15px 0;
		background-position: 99% -10px;
		background-size: 250%;
	}
}
@media screen and (min-width: 439px) and (max-width: 991px) {
	.odmd-header {
		min-height: 140px;
		background-size: 485px 200px; /*元画像の50%縮小サイズ*/
	}
}
.odmd-header h2 {
	position: absolute;
	left: 10px;
	top: 50%;
	color: #fff;
	line-height: 1.25 !important;
	font-weight: normal !important;
	transform: translateY(-50%);
}
@media screen and (max-width: 438px) {
	.odmd-header h2  {
		left: 0;
		width: 100%;
		padding: 1.5em 0.5em;
		font-size: 6vw;
		text-align: center;
		background: rgba(53,94,107,0.75);
	}
}
@media screen and (min-width: 439px) and (max-width: 767px) {
	.odmd-header h2  {
		font-size: 4vw;
	}
}
@media screen and (min-width: 439px) and (max-width: 991px) {
	.odmd-header h2  {
		padding-right: 180px;
	}
}
.odmd-header h2 span {
	display: inline-block;
}

/*==================== タグ一覧 ====================*/
nav.odmd-tag-list {
	max-width: 636px;
	margin: 0 auto 30px;
	padding: 10px 10px 0.4em;
	text-align: center;
	background: #dff4f0;
	border: 1px solid #4bcdb4;
	border-radius: 12px;
}
nav.odmd-tag-list p {
	font-weight: 600;
	color: #00ac8b;
}
nav.odmd-tag-list p::before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: 0.25em;
	background: url("https://academy.impress.co.jp/event/common/images/ondemand/ico-filter.svg");
	background-size: cover;
	transform: translateY(2px);
}
nav.odmd-tag-list ul {
	margin-top: -0.4em;
	padding-left: 0 !important;
}
nav.odmd-tag-list li {
	/*display: inline-block;*/
	margin-bottom: 0 !important;
}
nav.odmd-tag-list li::before {
	content: none !important;
}
nav.odmd-tag-list li a {
	display: inline-block;
	margin-top: 0.4em;
	padding: 0.4em 0.75em;
	line-height: 1;
	color: #00ac8b !important;
	background: #fff;
	border: 1px solid #4bcdb4;
	border-radius: 1.5em;
}
nav.odmd-tag-list li a:hover {
	color: #fff !important;
	background-color: #4bcdb4;
}
/* スマホ・タブレット表示時のフォントサイズ */
@media screen and (max-width: 438px) {
	nav.odmd-tag-list li a {
		font-size: 3.5vw !important;
	}
}
@media screen and (min-width: 439px) and (max-width: 991px) {
	nav.odmd-tag-list li a {
		font-size: 0.87rem !important;
	}
}

/*============== すべての講座一覧に戻るボタン ==============*/
nav.odmd-btn-back p {
	width: 60%;
	min-width: 290px;
	max-width: 530px;
	margin: 0 auto 30px;
}
@media screen and (max-width: 320px) {
	nav.odmd-btn-back p {
		width: 100%;
		min-width: auto;
	}
}
nav.odmd-btn-back a {
	display: block;
	width: 100%;
	padding: 10px 10px 0.4em;
	text-align: center;
	font-weight: 600;
	color: #00ac8b;
	background: #dff4f0;
	border: 1px solid #4bcdb4;
	border-radius: 12px;
}
nav.odmd-btn-back a:not(:hover):not(:active) {
	color: #00ac8b !important;
}
nav.odmd-btn-back a:hover,
nav.odmd-btn-back a:active {
	color: #fff !important;
	background-color: #4bcdb4;
}
/* アイコン */
nav.odmd-btn-back a::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	vertical-align: middle;
	margin-right: 0.4em;
	background: url(../images/ondemand/ico-list.svg);
	background-size: cover;
	transform: translateY(-2px);
}
nav.odmd-btn-back a:hover::before,
nav.odmd-btn-back a:active::before {
	background-image: url(../images/ondemand/ico-list-w.svg);
	transition: 0.3s;
}

/*==================== ラインナップ ====================*/
.odmd-lineup {
	margin-top: 65px;
}
@media screen and (max-width: 991px) {
	.odmd-lineup {
		margin-top: 50px;
	}
	.odmd-lineup table tr {
		flex-basis: 50% !important;
	}
}
@media screen and (max-width: 438px) {
	.odmd-lineup table tr {
		flex-basis: 100% !important;
	}
}
.odmd-lineup table td {
	display: flex;
	flex-direction: column;
	padding-bottom: 30px !important;
}

/*-------------------- 動画タイトル --------------------*/
.odmd-lineup table td > *:nth-child(1) {
	order: 4;
}
.odmd-lineup table td h3 {
	margin-bottom: 1.25rem !important;
	padding: 0.5rem 0 0 !important;
	font-size: 1.1rem !important;
	font-weight: 600 !important;
	text-align: left;
	color: #555 !important;
}
@media screen and (min-width: 439px) {
	.odmd-lineup table td h3 {
		min-height: 5.2rem;
	}
}
.odmd-lineup h3::before {
	border-left: 0 !important;
}

/*-------------------- タグ --------------------*/
.odmd-lineup table td > *:nth-child(2) {
	order: 3;
	margin-bottom: 0 !important;
}
.odmd-lineup table td > *:nth-child(2) {
	padding-left: 0 !important;
	text-align: left;
}
.odmd-lineup table td > *:nth-child(2) li {
	/*display: inline-block;*/
	margin-top: 0.75em;
	margin-bottom: 0 !important;
	padding: 0.4em 0.75em;
	line-height: 1;
	font-size: 80%;
	color: #00ac8b !important;
	background: #dff4f0;
	border: 1px solid #4bcdb4;
	border-radius: 1.5em;
}
.odmd-lineup table td > *:nth-child(2) li::before {
	content: none !important;
}

/*-------------------- アイコン --------------------*/
.odmd-lineup table td > *:nth-child(3) {
	order: 1;
	margin-bottom: 0.5em !important;
}
.odmd-lineup table td > *:nth-child(3) {
	vertical-align: bottom;
	text-align: left;
	letter-spacing: -0.4em;
}
.odmd-lineup table td > *:nth-child(3) li {
	/*display: inline-block;*/
	margin-bottom: 0 !important;
	line-height: 29px;
	font-size: 90%;
	font-weight: 600;
	letter-spacing: normal;
}
.odmd-lineup table td > *:nth-child(3) li::before {
	content: "" !important;
	position: relative !important;
	top: 0 !important;
	left: 0 !important;
	display: inline-block;
	background: transparent;
	background-size: cover;
	transform: translateY(2px);
}
/* 新着 */
.odmd-lineup table td > *:nth-child(3) li:nth-of-type(1) {
	padding-top: 2px;
	color: #00c5ff;
}
.odmd-lineup table td > *:nth-child(3) li:nth-of-type(1):not(:empty)::before {
	width: 26px;
	height: 26px;
	margin-right: 0.3em;
	background-image: url("https://academy.impress.co.jp/event/common/images/ondemand/ico-new.svg");
}
/* 人気の講座 */
.odmd-lineup table td > *:nth-child(3) li:nth-of-type(2) {
	color: #ff7379;
}
.odmd-lineup table td > *:nth-child(3) li:nth-of-type(2):not(:empty)::before {
	width: 23px;
	height: 29px;
	margin-right: 0.1em;
	background-image: url("https://academy.impress.co.jp/event/common/images/ondemand/ico-hot.svg");
}
.odmd-lineup table td > *:nth-child(3) li:nth-of-type(1):not(:empty) +  li:nth-of-type(2) {
	margin-left: 0.6em;
}

/*-------------------- サムネイル --------------------*/
.odmd-lineup table td > *:nth-child(4) {
	order: 2;
	margin-bottom: 0 !important;
}
.odmd-lineup table td > *:nth-child(4) img {
	width: 100%;
	height: 100%;
}

/*-------------------- 金額、公開日 --------------------*/
.odmd-lineup table td > *:nth-child(5) {
	order: 5;
}
.odmd-lineup table td > *:nth-child(5) {
	padding: 10px 8px 10px 30px !important;
	text-align: left !important;
  background: #f5f5f5;
  border: 2px solid #f5f5f5;
  border-radius: 5px !important;
}
.odmd-lineup table td > *:nth-child(5) li:first-child {
	margin-bottom: 0.5em !important;
	font-size: 1.05rem;
}
.odmd-lineup table td > *:nth-child(5) li:last-child {
	margin-bottom: 0.25rem !important;
	font-size: 0.9rem;
}
.odmd-lineup table td > *:nth-child(5) li::before {
	top: 50% !important;
	font-size: inherit !important;
	color: #7b99a1;
	transform: translateY(-50%);
}
.odmd-lineup table td > *:nth-child(5) li:first-child::before {
	content: "" !important; /* ￥マーク */
	left: -18px !important;
}
.odmd-lineup table td > *:nth-child(5) li:last-child::before {
	content: "" !important; /* 時計マーク */
	left: -19px !important;
}

/*-------------------- リンクボタン --------------------*/
.odmd-lineup table td > *:nth-child(6) {
	order: 6;
}
.odmd-lineup table td > *:nth-child(6) a {
	display: block;
	padding: 1em;
	line-height: 1;
	color: #fff !important;
	text-shadow: 0px -1px 1px rgba(0,0,0,0.25);
	background: #00a7dc;
	border-bottom: 3px solid #307ea7;
	border-radius: 5px;
}
.odmd-lineup table td > *:nth-child(6) a span {
	position: relative;
	margin-left: 1.7rem;
}
.odmd-lineup table td > *:nth-child(6) a span::before {
	content: ""; /* 再生マーク */
	position: absolute;
	left: -1.7rem;
	top: 50%;
	font-family: "Font Awesome 5 Free";
	font-size: 1.4rem !important;
	font-weight: 600;
	transform: translateY(-50%);
}

/*-------------------- セルにカーソルを合わせたとき --------------------*/
.odmd-lineup table td.active {
	cursor: pointer;
	background-color: #f5f5f5;
	border-color: #eee !important;
	transition: 0.2s;
}
.odmd-lineup table td.active ul {
  border-color: #fff;
}
.odmd-lineup table td a.active {
	background-color: #2d8474;
	border-color: #255a4f;
}

/*==================== ご利用について ====================*/
.odmd-attention {
	margin-top: 50px;
}
@media screen and (max-width: 991px) {
	.odmd-attention {
		margin-top: 30px;
	}
}
.odmd-attention ul ul {
	margin: 15px 0 18px;
}
.odmd-attention li::before {
	content: "●" !important;
	left: -20px !important;
	top: 0.5em !important;
	font-family: inherit !important;
	color: #7b99a1;
}
.odmd-attention-cnt {
	padding: 15px;
}
.odmd-attention-cnt > ul {
	padding-left: 27px !important;
}

/*-------------------- プライバシーポリシー --------------------*/
.odmd-attention .privacy {
	position: relative;
	margin-top: 2em !important;
	padding-top: 0.5em;
	text-align: center;
}
.odmd-attention .privacy::before {
	content: "";
	position: absolute;
	left: 0;
	top: -0.25em;
	width: 100%;
	height: 1px;
	background: #d2dcdd;
}
.odmd-attention .privacy a {
	position: relative;
	padding-left: 1.7rem;
}
.odmd-attention .privacy a::before {
	content: ""; /* infoマーク */
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	font-family: "Font Awesome 5 Free";
	font-size: 1.4rem !important;
	font-weight: 600;
	color: #797979;
}