﻿/* CSS Document
 *
 * 入賞作品一覧
 * Update: 2008/09/19
 *
 */ 

.wrapContestList ul a .contestImage {
	position: relative;	
	display: block;
	padding-top: 100%;
}


.wrapContestList ul li img {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	
	width: auto;
	height: auto;
	max-width: 95%;
	max-height: 95%;
	margin: 0 auto;
	padding: 0;
	border: 1px solid #000;
	
	transition: opacity 0.25s ease;
}

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

.wrapContestList {
}


#wrapContents .wrapContestList h3 {
	line-height: 1.4;
	margin: 0;
	padding: 2px;
	border-bottom: 1px solid #f0f0f0;
	font-size: 140%;
	font-weight: normal;
	background: none;
}

.wrapContestList{
	margin: 15px 0 5.0em 0;
	padding: 0;
}

.wrapContestList ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

.wrapContestList ul li {
	display: inline;
	float: left;
	margin: 0;
	padding: 0;
}

.wrapContestList h3{
	line-height: 29px;
	margin: 0;
	padding: 0 5px 0 10px;
	background: url(/contest/images/bg_title_h3.gif) no-repeat left top;
}
.wrapContestList h3 a{
	line-height: 29px;
	padding-left: 14px;
	background: url(/common/images/arrow_green_10x10.gif) no-repeat center left;
}

.wrapContestList ul{
	list-style: none;
	margin: 10px 3px;
	padding: 0;
}

.wrapContestList ul li {
	box-sizing: border-box;
	width: 25%;
	margin: 0 0 20px 0;
	padding: 0;
	text-align: center;
	font-size: 12px;
}

.wrapContestList ul li:nth-of-type(4n+1) {
	clear: both;	
}

.wrapContestList ul li a {
	display: block;
}

.wrapContestList ul li a:link,
.wrapContestList ul li a:hover,
.wrapContestList ul li a:visited,
.wrapContestList ul li a:active {
	/*text-decoration: underline;*/
	text-decoration: none;
}


.wrapContestList ul a {
}


.wrapContestList ul a span {
	clear: both;
}

.wrapContestList ul a .contestTitle {
	display: block;
	margin: 3px 0 7px 0;
	padding: 0 0 5px 0;
	color: #be1f33;
	/*border-bottom: 1px dotted #ccc;*/
}

.wrapContestList ul a .contestSentense {
	display: block;
	margin: 2px 0;
	padding: 0;
	font-size: 10px;
	color: #666;
}

.wrapContestList ul a:hover > img {
	opacity: 0.75;
}

.wrapContestList ul a:hover .contestTitle {
	text-decoration: underline
}

#wrapContents .wrapContestList ul a .contestSentense{
	text-decoration: none;
}

.goContest{
	clear: both;
	margin-top: 15px;
	padding: 5px;
	border: 5px solid #f0f0f0;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	-ms-border-radius: 12px;
	border-radius: 12px;
	background: #fff;

}
.goContest p{
	margin: 0;
	padding: 6px;
	background-color: #fff;
}
.goContest p a{
	display: block;
	width: 90%;
	height: auto;
	padding-left: 15px;
	background: url(/common/images/arrow_Red2.gif) no-repeat left center;
}


.ctrlPage{

}

.ctrlPage ul{
	list-style: none;
	height: 40px;
	margin: 0;
	padding: 0;
}
.ctrlPage ul li{
	width: 150px;
}
.ctrlPage ul li, .ctrlPage ul li.btnPrev{
	display: inline;
	float: left;
}
.ctrlPage ul li.btnNext{
	display: inline;
	float: right;
}
.ctrlPage ul li a{
	display: block;
	line-height: 40px;
	text-align: center;
	width: 150px;
	height: 40px;
}
.ctrlPage ul li.btnPrev a{
	background: url(/contest/images/bg_pageprev.gif) no-repeat left top;
}

.ctrlPage ul li.btnNext a{
	background: url(/contest/images/bg_pagenext.gif) no-repeat left top;
}

.ctrlPage ul li.btnPrev a:hover, .ctrlPage ul li.btnNext a:hover{
	background-position: bottom;
}

/* clearfix */
.wrapContestAllList, .wrapContestList ul, .ctrlPage ul, .goContest{
	zoom: 1;/*for IE 5.5-7*/
}
.wrapContestAllList:after, .wrapContestList ul:after, .ctrlPage ul:after, .goContest:after{
	content: ".";
	display: block;
	height: 0px;
	clear: both;
	visibility: hidden;
}

.menuText .accordion .aFeed1 > li {
	display: block;
}

.menuText .accordion .aFeed1 > li:first-child {
	display: none;
}

}

@media screen and (max-width:767px) {

.titleSub p span {
	display: none;
}

.titleArticle h1 {
	margin-bottom: 14px;
}

.titleArticle h2 {
	margin-bottom: 5px;
}


.accordion {
	margin-bottom: 20px;
}

.wrapContestList {
}

#wrapContents .wrapContestList h3 {
	margin: 0;
	padding: 2px;
	border-bottom: 1px solid #f0f0f0;
	font-weight: normal;
	background: none;
}

.wrapContestList{
}

.wrapContestList ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
.wrapContestList h3{
	line-height: 29px;
	margin: 0;
	padding: 0 5px 0 10px;
	background: url(/contest/images/bg_title_h3.gif) no-repeat left top;
}
.wrapContestList h3 a{
	line-height: 29px;
	padding-left: 14px;
	background: url(/common/images/arrow_green_10x10.gif) no-repeat center left;
}

.wrapContestList ul{
	list-style: none;
	padding: 0;
	font-size: 0;
}

.wrapContestList ul li {
	display: inline-block;
	width: 50%;
	padding: 0 5px 15px;
	text-align: center;
	font-size: 14px;
	font-size: 1.4rem;
	vertical-align: top;
}


.wrapContestList ul li a:link {
	text-decoration: none;
}

.wrapContestList ul li a:hover {
}

.wrapContestList ul li a:visited {
}

.wrapContestList ul li a:active {
}



.wrapContestList ul a span{
	display: block;
}

.wrapContestList ul a .contestTitle{
	margin: 3px 0 7px 0;
	padding: 0 0 5px 0;
	/*border-bottom: 1px dotted #ccc;*/
}

.wrapContestList ul a .contestSentense{
	margin: 2px 0;
	color: #3d3333;
}

#wrapContents .wrapContestList ul a .contestSentense{
	text-decoration: none;
}

.goContest{
	margin: 5px 5px 24px;
	padding: 5px;
	border: 5px solid #f0f0f0;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-ms-border-radius: 6px;
	border-radius: 6px;
	background: #fff;

}
.goContest p{
	margin: 0;
	padding: 6px;
	background-color: #fff;
}
.goContest p a{
	width: 90%;
	height: auto;
	padding-left: 15px;
	background: url(/common/images/arrow_Red2.gif) no-repeat left center;
}

/*トップページリンク*/
#linkToppage {
	display: none;
}
/*ここまで*/

/* SP clearfix
----------------------------------------------------------------------------------------------------*/
.wrapContestList ul {
	zoom: 1;/*for IE 5.5-7*/
}

.wrapContestList ul:after {
	content: "";
	display: block;
	clear: both;
	visibility: hidden;
}


}

@media screen and (orientation: landscape) and (max-width:767px) {
	.wrapContestList ul li {
		width: 25%;
	}
}
