﻿@charset "UTF-8";


/*-----------------------------------------------------------
	アイテム
-----------------------------------------------------------*/
.courseBox{
}
a.course{
	margin-bottom:-1px;
	padding:14px 18px;
	display:block;
	position:relative;
	display:flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: center;
	overflow:hidden;
	border:solid 1px #e6e6e6;
	counter-increment: item;
}
a.course:hover{
	background-color:#f6f6f6;
}
a.course::before{
	content: "0" counter(item) ".";
	color:#666;
	margin-right: .5em;
	font-weight: bold;
	font-size:14px;
}
a.course:nth-child(n+10)::before{
	content: "" counter(item) ".";
}
a.course.children{
	background-color:#e5f8ff;
	
}@media screen and (max-width: 1024px){
a.course.children{
	padding:12px 20px;
}
}
@media screen and (max-width: 640px){
a.course.children{
	margin:0 0 15px 50px;
	padding:10px 15px;
	padding-left:15px;
}
}
a.course.children h3{
	margin-bottom:0;
	font-size:14px;
	font-weight:normal;
}
@media screen and (max-width: 640px){
a.course.children h3{
	font-size:12px;
}
}
a.course.children h3::before{
	content: "練習問題";
    background: #666;
    color: #FFF;
	display:inline-block;
	font-size: 14px;
	padding: 14px 14px;
	border-radius:20px;
    /*font-weight: bold;*/
    background: #319dd0;
	margin-right:1.2em;
    color: #FFF;
    line-height: 0;
    letter-spacing: 0;
}
@media screen and (max-width: 640px){
a.course.children h3::before{
	font-size:12px;
	padding: 12px 12px;
}
}
/*a.course:last-child{
	border-bottom:none;
}*/
@media screen and (max-width: 1024px){
a.course{
	padding:20px;
}
}
@media screen and (max-width: 640px){
a.course{
	padding:10px;
	margin:12px 0;
}
}




.course .image{
	margin:0;
	overflow:hidden;
	border-radius: 6px;
	width:16%;
	height:auto;
	order:1;
}
@media only screen and (max-width: 640px) {
.course .image{
	width:17%;
}
}
.course .image img{
	transform:scale(1,1);
	transition: 0.3s;
}
.course:hover .image img{
	transform:scale(1.1,1.1);
}

.course .detail{
	width:auto;
	order:2;
}
@media only screen and (max-width: 640px) {
.course .detail{
	width:auto;
}
}
.course h3{
	font-size:14px;
	font-weight:normal;
	line-height:1.5;
}


@media screen and (max-width: 1024px){
.course h3{
	line-height:1.4;
	padding: 0.3em 0.0em;

}
}
@media screen and (max-width: 640px){
.course h3{
	font-size: 75%;

}
}


.course .date time,
.course .category{
	font-size:80%;
	color:#666;
	padding: .5em .6em .5em 1.4em;
	position:relative;
	line-height:1.6;
}
@media screen and (max-width: 640px){
.course .date time,
.course .category{
	font-size: 65%;

}
}
.course .date time.createdDate::before,
.course .date time.updatedDate::before,
.course .category::before{
	font-family: 'Font Awesome 5 Free';
	font-size: 100%;
	font-weight: 900;
	position: absolute;
	top: 50%;
	left:0;
	content:"";
	transform: translateY(-50%);
	color:#319dd0;
}

.course .date time.createdDate::before{
	content:"\f304";
}
.course .date time.updatedDate::before{
	content:"\f2ea";
}
.course .category::before{
	content:"\f07b";
}


.course p.text{
	font-size:90%;
	color:#666;
	margin:5px 0;
	position:relative;
	line-height:1.8;
	/*height:3em;*/
	overflow:hidden;
}

@media only screen and (max-width: 1024px) {
.course p.text{
	font-size:80%;
}
}
@media only screen and (max-width: 640px) {
.course p.text{
	display:none;
}
}

.course2 p.text::after{
	content: "";
	background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, #fff 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	height:1.5em;
	width:100%;
	position:absolute;
	left:0;
	bottom:0;
}


.course p.more{
	background-color:#319dd0;
	border-radius: 14px;
	font-size:12px;
	line-height:14px;
	padding:5px 12px;
	color:#fff;
	margin:5px 0 0;
	display:inline-block;
}
@media only screen and (max-width: 640px) {
.course p.more{
	display:none;
}
}
.courseBtn{
	margin:0 auto 50px;
	float:right;
}
.courseBtn a{
	background-color:#319dd0;
	color:#fff;
	padding:10px;
	border-radius: 10px;
}