@charset "utf-8";

/* RACE
----------------------------------------- */
.raceTxt{
	line-height: 2;
}
.raceList{
	margin-top: 40px;
}
.raceItem{
 	position: relative;
	padding: 24px 0;
	border-bottom: dashed 1px #9da7af;
}
.raceItem:first-child{
	border-top: dashed 1px #9da7af;
}



.raceItem:before, .raceItem:after{
	position: absolute;
	content: "";
	display: inline-block;
}
.raceItem:before{
	left: 0;
	top: 20px;
	width: 30px;
	height: 30px;
	border: solid 1px #999;
}
.raceItem.-check:after{
	left: -5px;
	top: 0;
    font-family: 'Material Icons Round';
    content: "\e876";
    color: #21b61a;
    font-size: 5.0rem;
}


.race-body{
    position: relative;
}
.race-body:before{
    position: absolute;
    left: -8px;
    top: -20px;
    z-index: 1;
    content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    opacity: .6;
}
.raceItem.-stamp1 .race-body:before{ background-image: url("/images/stamp1.svg"); }
.raceItem.-stamp2 .race-body:before{ background-image: url("/images/stamp2.svg"); }
.raceItem.-stamp3 .race-body:before{ background-image: url("/images/stamp3.svg"); }

.race-meta{
	display: flex;
	flex-wrap: wrap;
    margin-left: 65px;
    font-size: 1.8rem;
}
.race-meta dt span, .race-class span{
    font-size: 2.2rem;
	font-weight: bold;
    background: linear-gradient(transparent 60%, #c6ecf5 60%);
}
.race-date{
	order: -1;
	width: 100%;
}
.race-photo{
    margin-top: 20px;
}
.race-photo a{
    display: block;
    background: #fff;
	font-size: 1.4rem;
    transition: all 0.4s ease;
    text-decoration: none;
}
.race-photo img{
    vertical-align: bottom;
}
@media screen and (max-width: 959px){
    .race-photo_box{
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
		overflow: hidden;
		padding: 2px;
		box-shadow: 0 0 0.5em rgb(0 0 0 / 20%);
    }
    .race-photo_box .race-photo_txt{
        flex: 1;
		padding: 8px 16px;
    }
    .race-photo_box figure{
		margin-right: auto;
        width: 30%;
    }
}

.race-photo img{
	width: 100%;
	height: auto;
}
.race-comment{
    position: relative;
	margin-top: 20px;
    padding-left: 110px;
}
.race-comment:before{
    position: absolute;
    left: -55px;
    bottom: 0;
    content: "";
    display: inline-block;
    width: 130px;
    height: 71px;
    background: url("/images/character.png") center / 100% auto no-repeat;   
}
.race-comment_box{
    position: relative;
	padding: 16px;
    min-height: 82px;
	border-radius: 10px;
	border: solid 2px #ade0ff;
    background: #fff;
}
.race-comment_box::before{
    content: '';
    position: absolute;
    display: block;
    border-radius: 50%;
    border: solid 2px #ade0ff;
    left: -23px;
    bottom: 40px;
    width: 10px;
    height: 10px;
    background: #fff;
}
.race-comment_box::after{
    content: '';
    position: absolute;
    display: block;
    border-radius: 50%;
    border: solid 2px #ade0ff;
    left: -35px;
    bottom: 35px;
    width: 5px;
    height: 5px;
    background: #fff;
}

@media screen and (min-width: 769px){
	.raceTxt{
		margin: 0 auto;
        max-width: 1000px;
	}
	.raceList{
		margin-top: 80px;
	}
	.raceItem{
		position: relative;
		display: flex;
		padding: 80px 32px;
	}
    .raceItem:before{
        top: 50px;
        width: 50px;
        height: 50px;
    }
	.raceItem.-check:after{
        left: -9px;
        top: 1px;
        font-size: 9.0rem;
	}
	.race-body{
		width: 70%;
	}
    .race-body:before{
        position: absolute;
        left: -20px;
        top: -50px;
        z-index: 1;
        content: "";
        display: inline-block;
        width: 150px;
        height: 150px;
        background-position: center;
        background-size: 100% auto;
        background-repeat: no-repeat;
        opacity: .6;
    }
	.race-meta{
        margin-left: 160px;
        font-size: 2.4rem;
	}
	.race-meta dt span, .race-class span{
	    font-size: 3.2rem;
	}
	.race-photo_txt{
		text-align: center;
	}
	.race-photo img{
		width: 100%;
		height: auto;
	}
	.race-comment{
        margin-top: 50px;
        padding-left: 200px;
	}
	.race-comment_box{
		padding: 20px;
	}
	.race-comment:before{
        width: 150px;
        height: 82px;
    }
    .race-comment_box{
        padding: 20px;
    }

    .race-comment_box::before{
        left: -27px;
        bottom: 50px;
        width: 15px;
        height: 15px;
    }
    .race-comment_box::after{
        left: -45px;
        bottom: 40px;
        width: 10px;
        height: 10px;
    }
    
	.race-photo{
		margin: 0 0 0 56px;
		width: 30%;
	}
    .race-photo_txt{
        position: relative;
        margin-bottom: 15px;
        padding-bottom: 5px;
        text-align: center;
        line-height: 1.3;
        border-bottom: solid 1px #9da7af;
    }
    .race-photo_txt:before {
        content: "";
        position: absolute;
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        border: 8px solid transparent;
        border-top: 8px solid #FFF;
        z-index: 2;
    }

    .race-photo_txt:after {
        content: "";
        position: absolute;
        top: calc(100% + 1px);
        left: 50%;
        transform: translateX(-50%);
        border: 8px solid transparent;
        border-top: 8px solid #9da7af;
        z-index: 1;
    }
	.race-photo a{
		font-size: 100%;
		
	}
	.race-photo a:hover{
		opacity: .6;
	}
}


