@charset "utf-8";

ol {
	list-style-type: decimal;
	margin: 1em 0;
	padding-left: 40px;
}

header nav ul {
    margin-bottom: 14px;
}

#category a,
h1 a,
#breadcrumbs a,
#contents a,
footer a {
    transition: opacity 0.5s;
    -webkit−transition: opacity 0.5s;
}

#category a:hover,
h1 a:hover,
#breadcrumbs a:hover,
#contents a:hover,
footer a:hover {
	opacity: 0.6;
}

#breadcrumbs {
	width: 100%;
	box-sizing: border-box;
	padding-right: 10px;
	padding-left: 10px;
}

#category {
	overflow: hidden;
	background: rgba(255,255,255,0.9);
	margin-bottom: 15px;
}

#category {
	box-sizing: border-box;
	padding-right: 10px;
	padding-left: 10px;
}

#category ul li {
	width: 32%;
	float: left;
	margin-right: 2%;
	margin-bottom: 2%;
	text-align: center;
}

#category ul li a {
	display: block;
}

#category ul li:nth-child(3),
#category ul li:last-child {
	margin-right: 0;
}

.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 5px 10px 0;
    z-index: 998;
}

/*--contents------------------------------------------------------------*/

#contents {
	padding: 0 10px;
}

#contents h2 {
	text-align: center;
	margin: 40px 0 20px;
	font-size: 1.5rem;
}

#contents h3 {
    margin: 30px 0 8px;
    border-bottom: 1px solid #680000;
    padding-left: 10px;
    font-size: 1.2rem;
}

.toTop {
	text-align: right;
	margin-bottom: 5px;
	margin-top: 30px;
}

.toTop a {
	color: #000;
}

/*----------------------------------------------------------------------------------*/
@media all and (min-width: 768px) {

html {
	font-size: 16px;
}

header nav ul li.access a {
	background-size: inherit;
}

#contents h3 {
    margin: 40px 0 10px;
}

}


/*----------------------------------------------------------------------------------*/
@media all and (min-width: 1024px) {

#contents {
    width: 860px;
    margin-right: auto;
    margin-left: auto;
}

#category,#breadcrumbs {
    width: 870px;
    margin-right: auto;
    margin-left: auto;
}

#category ul li,#breadcrumbs {
	padding: 0 5px;
}

.toTop {
	margin-top: 50px;
}

}