/* ----------------------------------------------------------------
    title
----------------------------------------------------------------- */

#title p {
    text-align: center;
    padding: 30px 0;
}


/* ----------------------------------------------------------------
    section
----------------------------------------------------------------- */

.section {
    background: #fff;
    border: solid 1px #a0a0a0;
    border-radius: 5px;
    padding: 60px;
}

.section .ph {
    text-align: center;
    padding-bottom: 30px;
}

.section .ph img {
    width: 100%;
}

.section .ph.sp {
    display: none;
}

.section .comment {
    padding-bottom: 30px;
}

.pdf {
    height: 32px;
    background: url(/csr/photocontest/img/ceremony/icon-pdf.png) no-repeat left top;
    padding-left: 35px;
    padding-top: 7px;
    margin-bottom: 5px;
}

.section .otherPh {
    overflow: hidden;
}

.section .otherPh a {
    width: 24.25%;
    float: left;
    display: inline-block;
    margin: 0 1% 5px 0;
}

.section .otherPh a:nth-child(4n+4) {
    margin-right: 0;
}

.section .otherPh a img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    /*IE対策*/
}

.section .otherPh a.photo_top img {
    object-position: 50% 20%;
    font-family: 'object-fit: cover; object-position: 50% 20%;';
}


/* ----------------------------------------------------------------
    modal
----------------------------------------------------------------- */

.ph a,
.otherPh a {
    position: relative;
}

.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url(/csr/photocontest/img/common/overlay.png) no-repeat 50% 50%;
    top: 0;
    left: 0;
    opacity: 0;
    webkit-transition: opacity .3s linear;
    -moz-transition: opacity .3s linear;
    o-transition: opacity .3s linear;
    transition: opacity .3s linear;
    filter: alpha(opacity=0);
}

.ph a:hover,
.otherPh a:hover {
    opacity: 0.8;
}

.overlay:hover {
    opacity: 1;
    filter: alpha(opacity=100);
}

#mdl-wrap {
    text-align: center;
}

#mdl-wrap .mdl-item p {
    margin-top: -5px;
    padding: 0 15px 15px;
    font-size: 14px;
}