﻿@charset "utf-8";


#nav-mokuji h2 {
	font-size: 1.8rem;
}

#badge br {
	display: none;
}


#badge {
	position: relative;
	z-index: 10;
	padding-bottom: 3rem;
}

#badge br {
	display: inline;
}

#badge p {
	position: absolute;
	top: -5px;
	right: 0;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 1.4rem;
	color: #fff;
}

#badge p::before,
#badge p::after {
	display: block;
	content: '';
	position: absolute;
	width: 125%;
	padding-top: 125%;
	border: 2px solid #fd8eab;
	border-radius: 50%;
	background: #fd8eab;
	top: -145%;
	left: -80%;
	/* padding: 1.0rem; */
	z-index: -2;
	transform: translate(50%,50%);
}

#badge p::before {
	border-color: #fff;
	border-style: dotted;
	z-index: -1;
	transform: translate(50%,50%) scale(.94);
}

.articles {
	list-style: none;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	box-sizing: border-box;
	margin: 1.0rem -1.0rem 3.0rem 0;
}

.articles > a {
	box-sizing: border-box;
	flex: 0 0 50%;
	margin: 0;
	padding: 1.0rem;
}

.articles > a:link,
.articles > a:hover,
.articles > a:visited,
.articles > a:active {
	text-decoration: none;
}


.articles > a .holder {
	position: relative;
	overflow: hidden;
	margin: 0 0 1.0rem;
	padding: 100% 0 0 0;
	/*
	opacity: 1;
	transition: opacity 1.0s ease;
	*/
}

.articles > a .holder::after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100;
	opacity: 0;
	background-color: #f0f0f0;
	transition: opacity .25s ease;
}

.articles > a.loading .holder::after {
	opacity: 1;
}

.articles > a .holder img {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 10;
	max-width: 95%;
	max-height: 95%;
	transform: translate(-50%, -50%);
	margin: 0;
	padding: 0;
	
	opacity: 1.0;
	transition: opacity .5s ease;
}

.articles > a.loading .holder img {
	opacity: 0;
}

/*
.articles > a.loading .holder {
	opacity: 0;
}
*/
.articles > a .title {
	font-weight: bold;
	font-size: 1.6rem;
}

.articles > a .sub-title {
	color: #666;
	font-size: 1.2rem;
}

.articles > a p {
	margin: 0 0 .5rem;
}

.articles > a .desc {
	line-height: 1.2;
	color: #666;
	font-size: 1.2rem;
}


.articles > a .vol {
	display: inline-block;
	margin-left: .5rem;
	letter-spacing: 1px;
	font-size: 1.0rem;
}

.articles > a:hover {
	background: #fafafa;
}

.articles > a:hover p {
	color: #fff;
}


.articles > .cat-walk:hover {
	background-color: #31a0d9;
}

.articles > .cat-flower:hover {
	background-color: #e06834;
}

.articles > .cat-animal:hover {
	background-color: #c0e15b;
}

.articles > .cat-food:hover {
	background-color: #e2bd67;
}

.articles > .cat-interior:hover {
	background-color: #de87de;
}

.articles > .cat-go:hover {
	background-color: #5261e2;
}

.articles > .cat-person:hover {
	background-color: #fd799d;
}

.articles > .cat-event:hover {
	background-color: #eac184;
}

.articles > .cat-nature:hover {
	background-color: #20b418;
}







@media screen and (min-width: 768px) {

	.summary {
		position: relative;
	}

	#badge {
		position: absolute;
		top: 0;
		right: 30px;
		padding-bottom: 0;
	}

	#badge br {
		display: inline;
	}
	
	#badge p {
		position: static;
	}
	
	#badge p::before, #badge p::after {
		top: -135%;
	}
	
	#nav-mokuji h2 {
		margin-bottom: 2.0rem;
		font-size: 1.5rem;
	}
	
	.articles > a {
		flex: 0 0 25%;
	}
	
	.articles > a .title {
		font-size: 1.8rem;
	}

	#nav-index .articles > a {
		flex: 0 1 33%;
	}
}
