
/* ===================================================

	theme-add.cssの内容

=====================================================*/

/*---------------------------------------------------
    検索リストおよびページ一覧表示の追加CSS
 ----------------------------------------------------*/

/* ===================================================

   一番外のdivに付与する

=====================================================*/

/*---折り返しの段差解消----*/
.row-flex {
    display: flex;
    flex-wrap: wrap;
}

.row-index {
  margin-right: -5px;
  margin-left: -5px;
}

.row-index > div[class*="col-"] {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;    
}




/* ===================================================

   aタグ用の共通設定

=====================================================*/

/*------------------
　index_block_xx adrive
---------------------*/

a[class*="index_block"].active {
    background: #d2d2dd;
}


a[class*="index_block"]:hover,
a[class*="index_block"]:focus {
  color: #666;
}

/*------------------
　index_block_xxの共通要素
---------------------*/

a[class*="index_block"] {
    position: relative;
    display: block;
    background-color: #fff;
    padding: 0;
    height: 100%;
}

a[class*="index_block"] .row0 div[class*="col-"] {
  padding-left: 0px;
  padding-right: 0px;
} 



/* ===================================================

   コンテンツ部分の共通設定

=====================================================*/



.content-bookmark,
.content-title,
.content-description,
.content-progress,
.content-tag {
  padding: 5px 5px;
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;  
  overflow: hidden;

}

/* content-bookmark */
.content-bookmark {
  position: relative;
  line-height: 25px;
  color: #333;
}
.content-bookmark .label {
  font-size: 10px;
  padding: 0px 10px;
  border-radius: 30px;
  max-width: 50%;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 3px 0 0 0;
  line-height: 23px;
  white-space: normal;
}

.content-bookmark button {
  border: none;
  background-color: inherit;
  font-size: 25px;
  position: absolute;
  right:5px;
  top: 5px;

}


/* content-title */
.content-title{
  font-size: 15px;
	font-weight: bold;
  line-height: 24px;
}

/* content-description */
a[class*="index_block"] .content-description{
  font-size: 75%;
  color: #999;
  -webkit-line-clamp: 3;
}


/* 学習進捗のグラフ */
.content-progress{
  display: flex;
  align-items: center;
}
.content-progress .progress-value{
  width:40px;
  font-size: 13px;
}
.content-progress .progress{
  flex: 1;
  height: 8px !important;
  margin: 0;

}

/* content-tag */
a[class*="index_block"] .content-tag {
  color: #999;
}


/*------------------
　一覧の枠のデザインタイプ（現在1つのみ）　index_block_border
---------------------*/
/*一覧の枠のデザイン（デフォルト）*/
.index_block_border {
  border:1px solid #ddd;
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
  border-radius: 10px;
  
  overflow: hidden;
}


/*------------------
一覧のデザインタイプ index_block_01〜index_block_04
---------------------*/

.item-col-image .content-image{
  height: inherit;
}

/*タイプ１*/
.index_block_01 .item-row {
  display: -webkit-flex;
	display: flex;
  align-items: stretch; 
	-webkit-flex-direction: column;
	flex-direction: column;
}
.index_block_01 .item-col-image .content-image{
  height: inherit;
}
.index_block_01 .item-col-image {
  display: none;
}

/*タイプ2*/
.index_block_02 .item-row {
  display: -webkit-flex;
	display: flex;
  align-items: stretch; 
	-webkit-flex-direction: column;
	flex-direction: column;
}
.index_block_02 .item-col-image {
  height: 150px;
}

/*タイプ3*/
.index_block_03 .item-row {
  display: -webkit-flex;
	display: flex;
  align-items: stretch; 
	-webkit-align-items: stretch;
	align-items: stretch;
  height: 180px;
}
.index_block_03 .item-col-image {
  width: 33%;
  height: inherit;
}

.index_block_03 .item-col-content {
  width: 66%;
}


/*タイプ4*/
.index_block_04 .item-row {
  display: -webkit-flex;
	display: flex;
  align-items: stretch; 
	-webkit-flex-direction: column;
	flex-direction: column;
  height: 180px;
  position: relative;
}
.index_block_04 .item-col-image {
  height: inherit;
  opacity: 0.4;
}

.index_block_04 .item-col-content {
  height: inherit;
  position: absolute;
  bottom: 0;
  color: #000;
  mix-blend-mode:normal;;
}

.index_block_04 .content-bookmark,
.index_block_04 .content-description,
.index_block_04 .content-tag  {
  color: #000 !important;
}







/*------------------
ホバーアニメタイプ
---------------------*/

/* ホバーアニメタイプ1　フラッシュ  */
.hover-anime1:hover{
opacity: 1;
  -webkit-animation: flash 1.5s;
  animation: flash 1.5s;
}
@-webkit-keyframes flash {
  0% {
    opacity: .4;
  }
  100% {
    opacity: 1;
  }
}
@keyframes flash {
  0% {
    opacity: .4;
  }
  100% {
    opacity: 1;
  }
}

/* ホバーアニメタイプ2 ズーム */
.hover-anime2 {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.hover-anime2:hover{
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
	opacity: 0.9;
}

/* ホバーアニメタイプ3　ボトムアップ  */
.hover-anime3 {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.hover-anime3:hover{
	-webkit-transform: translate(0, -5px);
	transform: translate(0, -5px);
	opacity: 0.9;

}

/* ホバーアニメタイプ4　回転ズーム  */
.hover-anime4 {
  -webkit-transform: scale(1) rotate(0deg);
  transform: scale(1) rotate(0deg);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.hover-anime4:hover{
	-webkit-transform: scale(1.1) rotate(2deg);
	transform: scale(1.1) rotate(2deg);
	opacity: 0.9;
}

/* ホバーアニメタイプ5　フラッシュシャドウ  */
.hover-anime5:hover{
opacity: 1;
  -webkit-animation: shadow 1.5s;
  animation: shadow 1.5s;
}
@-webkit-keyframes shadow {
  0% {
    box-shadow: 2px 2px 15px #999;
  }
  100% {
    box-shadow: 2px 2px 15px #fff;
  }
}
@keyframes shadow {
  0% {
    box-shadow: 2px 2px 15px #999;
  }
  100% {
    box-shadow: 2px 2px 15px #fff;
  }
}




/*------------------
    既読＆未読 unread
---------------------*/
/* 通常時非表示　*/
.content-title .label{
  display: none;
}
/* aタグにunreadが付いたときだけ表示　*/
.unread .content-title .label{
  display: inline;
  border-radius: 15px;
  margin: 0 5px 0 0;
}

/* テキスト（なし、びっくり、チェック、未読） */
.unread .content-title .label:after {
  content: "";
  display: inline-block;
  width: 8px;
}

.unread.unread-content-exclamation .content-title .label:after {
  font-family: "FontAwesome";
  content: "\f12a";
  display: inline-block;
  width: 10px;
  text-align: center;
}
.unread.unread-content-check .content-title .label:after {
  font-family: "FontAwesome";
  content: "\f00c";
  display: inline-block;
  width: 10px;
  text-align: center;
}

.unread.unread-content-midoku .content-title .label:after {
  font-family: "Arial", "メイリオ";
  content: "未読";
  display: inline;
}



/* 既読（非表示）already_read_0 */
.unread.already_read_0 .content-title .label {
  display: none;
}

/* 既読（グレー版）already_read_1 */
.unread.already_read_1 .content-title .label:after {
  font-family: "FontAwesome";
  content: "\f00c";
  display: inline-block;
  width: 10px;
  text-align: center;
}
.unread.already_read_1 .content-title .label {
    background-color:rgba(200, 200, 200, 1);
}





/*------------------
   リンク先を見る権限がない時　locked
    unreadより後につける
---------------------*/
.locked {
	cursor: not-allowed;
	position: relative;
	display: block;
}

.locked::after {
	position: absolute;
	content: "\f023";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	pointer-events: none;
	font-family: "FontAwesome";
	font-size: 4.5em;
	color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0;
}






/* ===================================================

   Helper classes

=====================================================*/

.p-0 {
  padding: 0px !important;
}
.p-5 {
  padding: 5px !important;
}
.p-10 {
  padding: 10px !important;
}
.p-15 {
  padding: 15px !important;
}
.p-20 {
  padding: 20px !important;
}

.p-t-0 {
  padding-top: 0px !important;
}
.p-t-5 {
  padding-top: 5px !important;
}
.p-t-10 {
  padding-top: 10px !important;
}
.p-t-15 {
  padding-top: 15px !important;
}

.p-b-0 {
  padding-bottom: 0px !important;
}
.p-b-5 {
  padding-bottom: 5px !important;
}
.p-b-10 {
  padding-bottom: 10px !important;
}
.p-b-15 {
  padding-bottom: 15px !important;
}

.p-l-0 {
  padding-left: 0px !important;
}
.p-l-5 {
  padding-left: 5px !important;
}
.p-l-10 {
  padding-left: 10px !important;
}
.p-l-15 {
  padding-left: 15px !important;
}

.p-r-0 {
  padding-right: 0px !important;
}
.p-r-5 {
  padding-right: 5px !important;
}
.p-r-10 {
  padding-right: 10px !important;
}
.p-r-15 {
  padding-right: 15px !important;
}

.m-0 {
  margin: 0px !important;
}
.m-5 {
  margin: 5px !important;
}
.m-10 {
  margin: 10px !important;
}
.m-15 {
  margin: 15px !important;
}
.m-20 {
  margin: 20px !important;
}

.m-r-0 {
  margin-right: 0px !important;
}
.m-r-5 {
  margin-right: 5px !important;
}
.m-r-10 {
  margin-right: 10px !important;
}
.m-r-15 {
  margin-right: 15px !important;
}

.m-l-0 {
  margin-left: 0px !important;
}
.m-l-5 {
  margin-left: 5px !important;
}
.m-l-10 {
  margin-left: 10px !important;
}
.m-l-15 {
  margin-left: 15px !important;
}

.m-t-0 {
  margin-top: 0px !important;
}
.m-t-5 {
  margin-top: 5px !important;
}
.m-t-10 {
  margin-top: 10px !important;
}
.m-t-15 {
  margin-top: 15px !important;
}
.m-t-20 {
  margin-top: 20px !important;
}
.m-t-25 {
  margin-top: 25px !important;
}
.m-t-30 {
  margin-top: 30px !important;
}

.m-b-0 {
  margin-bottom: 0px !important;
}
.m-b-5 {
  margin-bottom: 5px !important;
}
.m-b-10 {
  margin-bottom: 10px !important;
}
.m-b-15 {
  margin-bottom: 15px !important;
}
.m-b-20 {
  margin-bottom: 20px !important;
}
.m-b-25 {
  margin-bottom: 25px !important;
}
.m-b-30 {
  margin-bottom: 30px !important;
}

.w-xs {
  min-width: 80px;
}
.w-sm {
  min-width: 95px;
}
.w-md {
  min-width: 110px;
}
.w-lg {
  min-width: 140px;
}

.m-h-50 {
  min-height: 50px;
}
.l-h-34 {
  line-height: 34px;
}

.font-normal {
  font-weight: normal;
}
.font-bold {
  font-weight: bold;
}

.font-9 {
  font-size: 9px;
}
.font-11 {
  font-size: 11px;
}
.font-13 {
  font-size: 13px;
}
.font-15 {
  font-size: 15px;
}
.font-17 {
  font-size: 17px;
}
.font-19 {
  font-size: 19px;
}

/*-------------------
角のスタイル
---------------------*/
.be_radius_01,.be_radius_01::before {
	border-radius: 0px !important;
}
.be_radius_02,.be_radius_02::before {
	border-radius: 0.4em !important;
    overflow: hidden;
}
.be_radius_03,.be_radius_03::before {
	border-radius: 0.8em !important;
    overflow: hidden;
}
.be_radius_04,.be_radius_04::before {
	border-radius: 1.2em !important;
    overflow: hidden;
}
.be_radius_05,.be_radius_05::before {
	border-radius: 3em .7em 2em .7em/.7em 2em .7em 3em !important;
    overflow: hidden;
}

.be_radius_06,.be_radius_06::before {
	border-radius: 0.4em 0.4em 0 0 !important;
    overflow: hidden;
}
.be_radius_07,.be_radius_07::before {
	border-radius: 0.8em 0.8em 0 0 !important;
    overflow: hidden;
}
.be_radius_08,.be_radius_08::before {
	border-radius: 1.2em 1.2em 0 0 !important;
    overflow: hidden;
}
.be_radius_09,.be_radius_09::before {
	border-radius: 0 0 0.4em 0.4em !important;
overflow: hidden;
}
.be_radius_10,.be_radius_10::before {
	border-radius: 0 0 0.8em 0.8em !important;
    overflow: hidden;
}
.be_radius_11,.be_radius_11::before {
	border-radius: 0 0 1.2em 1.2em !important;
    overflow: hidden;
}

.be_radius_50,.be_radius_50::before {
	border-radius: 50% !important;
    overflow: hidden;
}

/*-------------------
LPサムネ用
---------------------*/
.preview-iframe-wrap {
    height: 180px;
    overflow: hidden;
}
.preview-iframe-wrap iframe {
    height: 300%;
    width: 300%;
    transform: scale(0.33);
    -o-transform: scale(0.33);
    -webkit-transform: scale(0.33);
    -moz-transform: scale(0.33);
    -ms-transform: scale(0.33);
    transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    pointer-events: none;
}