/*
=========================
サブメニュー
=========================
*/
#menu-sub.contest ul li:nth-child(1) a{background-image:url(../img/menu/sub/contest/off01.png);}
#menu-sub.contest ul li:nth-child(2) a{background-image:url(../img/menu/sub/contest/off02.png);}
#menu-sub.contest ul li:nth-child(3) a{background-image:url(../img/menu/sub/contest/off03.png);}
#menu-sub.contest ul li:nth-child(4) a{background-image:url(../img/menu/sub/contest/off04.png);}
#menu-sub.contest ul li:nth-child(5) a{background-image:url(../img/menu/sub/contest/off05.png);}

#menu-sub.contest ul li:nth-child(1) a:hover{background-image:url(../img/menu/sub/contest/on01.png);}
#menu-sub.contest ul li:nth-child(2) a:hover{background-image:url(../img/menu/sub/contest/on02.png);}
#menu-sub.contest ul li:nth-child(3) a:hover{background-image:url(../img/menu/sub/contest/on03.png);}
#menu-sub.contest ul li:nth-child(4) a:hover{background-image:url(../img/menu/sub/contest/on04.png);}
#menu-sub.contest ul li:nth-child(5) a:hover{background-image:url(../img/menu/sub/contest/on05.png);}

#menu-sub.contest ul li:nth-child(1).select a{background-image:url(../img/menu/sub/contest/on01.png);}
#menu-sub.contest ul li:nth-child(2).select a{background-image:url(../img/menu/sub/contest/on02.png);}
#menu-sub.contest ul li:nth-child(3).select a{background-image:url(../img/menu/sub/contest/on03.png);}
#menu-sub.contest ul li:nth-child(4).select a{background-image:url(../img/menu/sub/contest/on04.png);}
#menu-sub.contest ul li:nth-child(5).select a{background-image:url(../img/menu/sub/contest/on05.png);}

@media screen and (min-width:981px){#menu-sub.contest ul li:nth-child(5){border-top:5px dotted #ff6a7a; padding-top:10px;}}
@media screen and (max-width:980px){#menu-sub.contest{display:none !important;}}

/*
================================================================================================================
公募
================================================================================================================
*/
#contest-list > a{display:block; transition:all .2s ease;}
#contest-list > a:not(.btn-link):hover{filter:contrast(1.5) blur(.5px); opacity:.5;}/*ボタン以外リンク*/

.bnr img{display:block; width:100%; border:6px solid; border-radius:4px; box-shadow:4px 4px 0 #4798ff;}
p.text{line-height:160%; letter-spacing:1px;}

/*応募期間*/
#contest-list > * > p:nth-child(2){
background-image:url(../img/common/line01.png);
background-position:left 30px center;
background-repeat:no-repeat;
font-weight:700;
text-align:center;
border-radius:20px;
padding:5px 10px;
margin:15px auto 0;}
#contest-list > * > p:nth-child(2) br{display:none;}
@media screen and (max-width:570px){#contest-list > * > p:nth-child(2){background-position:left 20px center; background-size:20px auto;}}
@media screen and (max-width:530px){#contest-list > * > p:nth-child(2){background-image:none;}}
@media screen and (max-width:420px){#contest-list > * > p:nth-child(2) br{display:block;}}

/*応募期間-ステータス別 背景色*/
#contest-list > *.step01 > p:nth-child(2){background-color:#d0aad4;}
#contest-list > *.step02 > p:nth-child(2){background-color:#59de6c;}
#contest-list > *.step03 > p:nth-child(2){background-color:#4798ff;}
#contest-list > *.step04 > p:nth-child(2){background-color:#ff6a7a;}

/*見出し*/
#contest-list h4{display:block; position:relative; width:calc(100% + 40px); padding:0 20px; margin:20px auto 20px -20px;}
#contest-list h4::before{
display:block;
content:"";
position:absolute;
top:10%;
left:0;
width:100%;
height:80%;
background:#ff6a7a;
z-index:2;}
#contest-list h4 img{display:block; position:relative; z-index:3;}

/*小見出し*/
#contest-list h4 + h3{margin-top:0;}
@media screen and (max-width:640px){#contest-list h4 img{width:120px;}}