@charset "UTF-8";

/*===============================

特集（TOP用）

================================*/


#feature-section {
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    background: #F3F4F7;
}

.feature {
    width: 100%;
    max-width: 1000px;
    margin: 0px auto;
}

.feature:after {
    content: "";
    clear: both;
    display: block;
}

.feature .box {
    float: left;
    overflow: hidden;
    position: relative;
    width: 21%;
    margin: 0px 2% 80px;
}

@media screen and (max-width:600px) {
    /*画面幅が600pxまでの時*/
    .feature .box {
        width: 46%;
        margin: 0px 2% 30px;
    }
}

.feature .box span {
    position: relative;
    padding: 5px 5px;
    display: block;
    height: 50px;
    font-size: 1.4rem;
}

@media screen and (max-width:600px) {
    /*画面幅が600pxまでの時*/
    .feature .box span {
        padding-bottom: 15px;
        height: auto;
    }
}

.feature .box .image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.feature .box .image img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    /* 画像の最大サイズは枠の2.5倍まで */
    max-width: 250%;
    max-height: 100%;
}

.feature .box:hover img {
    opacity: 0.7;
}
