/* 既存CSS */
section.contest-col .contest-col-inr {
    max-width: 1200px;
    margin: 0 auto;
}
section#contest {
    padding: 30px 0 45px 0;
    background: #fff;
}
section.contest-col.contest-is-gray {
    background-color: #f4f3f4!important;
}
section#contest.contest-col .contest-col-inr {
    width: 100%;
}
section.contest-col .contest-title-wrap.contest-is-mb0 {
    margin-bottom: 0;
}
section.contest-col .contest-title-wrap {
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 36px;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
section.contest-col h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 30px;
    font-weight: bold;
    font-style: normal;
    line-height: 1;
    padding-left: 12px;
    color: #000;
    border-left: 3px solid #e66c00;
}
.contest-text-link {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    line-height: 1;
    display: -ms-flexbox;
    display: flex;
    transition: all 0.3s;
    text-decoration: none;
    -ms-flex-align: center;
    align-items: center;
}
@media screen and (min-width: 768px) and (max-width: 1260px){
    section.contest-col .col-inr,
    section#other-bnr .other-bnr_list
    {
        padding-right: 30px;
        padding-left: 30px;
    }
}
/* 既存CSSここまで */


/* PCSP非表示 */
.contest-pc-show{
    display: block;
}
.contest-sp-show{
    display: none;
}
/* 共有要素 */
.contest-title{
    margin: 34px 0 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #191919;
    font-size: min(calc(24vw / 12), 24px);
    font-weight: bold;
}
.contest-subtitle{
    color: #4D4D4D;
    font-size: min(calc(18vw / 12), 18px);
    margin-left: 14px;
}
.contest-title img{
    width: calc(48vw / 12);
    max-width: 48px;
    margin-right: 13px;
}

/* αcafeマンスリーフォトコンテスト */
.contest-photo{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.contest-photo-img-icon-wrap{
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
}
.contest-photo-img-icon{
    height: 36px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    text-shadow: none;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
}
.contest-photo-img-icon:last-of-type{
    margin-right: 0;
}
.icon-black{
    background-color: #191919;
    color: #FFFFFF;
}
.icon-red{
    background-color: #DB1C1C;
    color: #FFFFFF;
}
.icon-white{
    background-color: #FFFFFF;
    color: #191919;
}
.contest-photo-content{
    color: #0C253E;
    width: 48.75%;
    max-width: 585px;
}
.contest-photo-content-text{
    margin-bottom: 15px;
    text-align: center;
}
.contest-photo-content-text-period{
    font-size: min(calc(15vw / 12), 15px);
    margin-right: 10px;
}
.contest-photo-content-text-period_num{
    font-size: min(calc(20vw / 12), 20px);
    font-weight: bold;
}
.contest-photo-content-img-wrap{
    position: relative;
    color: #fff;
    text-shadow: 0px 0px 4px #0000004D;
    margin-bottom: 12px;
}
.contest-photo-content-img{
    width: 100%;
    height: 210px;
    border-radius: 12px;
    object-fit: cover;
}
.contest-photo-content-img-year{
    position: absolute;
    top: 6%;
    left: 4.5%;
    font-size: min(calc(17vw / 12), 17px);
    font-weight: bold;
}
.contest-photo-content-img-month{
    position: absolute;
    top: 22%;
    left: 4.5%;
    font-size: min(calc(42vw / 12), 42px);
    font-weight: bold;
}
.contest-photo-content-img-month-text{
    font-size: min(calc(21vw / 12), 21px);
}
.contest-photo-content-img-theme{
    position: absolute;
    top: 63%;
    left: 4.5%;
    font-size: min(calc(14vw / 12), 14px);
    font-weight: bold;
}
.contest-photo-content-img-title{
    position: absolute;
    top:73%;
    left: 4.5%;
    font-size: min(calc(25vw / 12), 25px);
    font-weight: bold;
}

/* オープンフォトコンテスト */
.contest-open{
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.contest-link{
    width: 48.75%;
    max-width: 585px;
    margin-bottom: 24px;
}
.contest-link:last-of-type{
margin-bottom: 0;
}
.contest-link img{
    width: 100%;
    height: auto;
}

/* スペシャルコンテスト */
.content-special{
    margin-bottom: 104px;
}
.content-special-img-wrap{
    width: 100%;
    position: relative;
    color: #FFFFFF;
    text-shadow: 0px 0px 4px #0000004D;
    margin-bottom: 13px;
}
.content-special-img-wrap-black{
    width: 100%;
    position: relative;
    color: black;
    text-shadow: 0px 0px 4px #0000004D;
    margin-bottom: 13px;
}
.contest-special-img-icon{
    position: absolute;
    width: 90px;
    height: 36px;
    line-height: 36px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    top: 12px;
    right: 12px;
    text-shadow: none;
    color: #000;
    background-color: #fff;
}
.content-special-img{
    width: 100%;
    height: 210px;
    border-radius: 12px;
    object-fit: cover;
}
.content-special-img-count{
    font-size: min(calc(21vw / 12), 21px);
    font-weight: bold;
    position: absolute;
    top: 5%;
    left: 2%;
}
.content-special-img-count-text{
    font-size: min(calc(42vw / 12), 42px);
}
.content-special-img-genre{
    font-size: min(calc(14vw / 12), 14px);
    position: absolute;
    top: 60%;
    left: 2%;
}
.content-special-img-genre-title{
    font-size: min(calc(25vw / 12), 25px);
    font-weight: bold;
    position: absolute;
    top: 73%;
    left: 2%;
}
.content-special-apply-text{
    font-size: min(calc(15vw / 12), 15px);
    text-align: center;
}
.content-special-apply-text span{
    font-size: min(calc(22vw / 12), 22px);
    font-weight: bold;
    margin-left: 10px;
}

/*SP表示*/
@media screen and (max-width: 767.9px) {
    /* 既存CSS */
    section#contest .contest-grid .contest-grid-col{
        padding: 2.5641vw;
        background-color: #f4f3f4;
    }
    section#contest.contest-col .col-inr {
        padding: 0;
    }
    section.contest-col h2 {
        font-size: 4.61538vw;
    }
    .contest-text-link {
        font-size: 3.58974vw;
    }
    .contest-text-link img{
        width: 20px;
    }
    .contest-text-link svg{
        width: 20px;
        height: 20px;
    }
    /* 既存CSSここまで */

    /* PCSP非表示 */
    .contest-pc-show{
        display: none;
    }
    .contest-sp-show{
        display: block;
    }

    /* 共有要素 */
    .contest-title{
        flex-wrap: wrap;
        margin: 22px 0 10px;
        font-size: 16px;
    }
    .contest-title img {
        width: calc(17.64vw / 3.9);
        max-width: 17.64px;
        margin-right: 11px;
    }
    .contest-subtitle {
        font-size: 12px;
        margin-top: 5px;
        margin-left: 0;
    }
    /* αcafeマンスリーフォトコンテスト */
    .contest-photo{
        
        margin-bottom: 43px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .contest-photo-content:nth-of-type(1){
        margin-right: 0;
    }
    .contest-photo-content{
        width: 100%;
    }
    .contest-photo-content-img-wrap{
        margin-bottom: 10px;
    }
    .contest-photo-content-img{
        height: 170px;
    }
    .contest-photo-img-icon{
        height: 30px;
        font-size: 12px;
    }
    .contest-photo-content-img-year{
        font-size: 15px;
        top: 8%;
        left: 8%;
    }
    .contest-photo-content-img-month{
        font-size: 34px;
        top: 17.5%;
        left: 6%;
    }
    .contest-photo-content-img-month-text{
        font-size: 15px;
    }
    .contest-photo-content-img-theme{
        font-size: 15px;
        top: 60%;
        left: 7%;
    }
    .contest-photo-content-img-title{
        font-size: 22px;
        top: 71%;
        left: 7%;
    }
    .contest-photo-content-text-period{
        font-size: 11px;
    }
    .contest-photo-content-text-period_num{
        font-size: 18px;
    }
    .contest-photo-content-text{
        margin-bottom: 20px;
    }
    /* オープンフォトコンテスト */
    .contest-link{
        width: 100%;
        max-width: unset;
        margin-right: 0!important;
        margin-bottom: 10px;
    }
    .contest-open{
        margin-bottom: 38px;
    }
    /* スペシャルコンテスト */
    .content-special{
        margin-bottom: 54px;
    }
    .content-special-img-wrap{
        width: 100%;
        margin-bottom: 10px;
    }
    .content-special-img-wrap-black{
        width: 100%;
        margin-bottom: 10px;
    }
    .contest-special-img-icon{
        width: 84px;
        height: 30px;
        line-height: 30px;
        font-size: 12px;
    }
    .content-special-img{
        height: 170px;
    }
    .content-special-img-count{
        font-size: 15px;
        left: 7%;
    }
    .content-special-img-count-text{
        font-size: 34px;
    }
    .content-special-img-genre{
        font-size: 12px;
        left: 7%;
    }
    .content-special-img-genre-title{
        font-size: 22px;
        left: 7%;
    }
    .content-special-apply-text{
        font-size: 11px;
    }
    .content-special-apply-text span{
        font-size: 18px;
        margin-left: 7px;
    }
}
