

html { overflow-y: scroll; }

body {
    width: 100%;
}

#main .contents{
    vertical-align: bottom;
}

#main .contents:after {
  content: '';
  display: block;
  clear: both;
}

#main .content {
    position: absolute;
    width: 33.3333333333%;
    vertical-align: bottom;
    opacity: 0;
    transition: opacity 2s ease-out;
    line-height: 0;
    box-sizing: border-box;
    float: left;
}

#main .content.active {
    opacity: 1;
}

#main .content a {
    background: #000;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    line-height: 1;
    overflow: hidden;
    display: block;
}

/*#main .content a:after {
    content: '';
    color: #fff;
    position: absolute;
    background-image: url('./../images/link.png');
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    letter-spacing: 1px;
    margin: auto;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

#main .content a:hover:after {
    opacity: 1;
}
*/
#main .description {
    position: absolute;
    bottom: 15px;
    left: 15px;
    text-shadow: 1px 1px 3px #000;
}

#main .goodDesing {
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: Avenir, "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, 游ゴシック, "Yu Gothic", 游ゴシック体, YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

#main .goodDesing h3 {
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;
    text-align: right;
    line-height: 1.4;
    letter-spacing: .5px;
}
#main .goodDesing.Black h3 {
    color: #000;
}
#main .description h2 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 1.3px;
}

#main .description p {
    font-size: 10px;
    color: #fff;
    line-height: 1.5;
}

#main .content img {
    width: 100%;
    opacity: 1;
    transform: scale(1.05);
    transition: all 0.5s ease-out;
    display: block;
}

#main .title span.goodDesign {
    color: 333px !important;
}
#main .content a:hover img {
    transform: scale(1.1);
    opacity: 0.3;
}
#main .content a:hover .goodDesing.Black h3 {
    color: #ffffff;
}

@media screen and (max-width: 999px){
    #main .content {
        width: 50%;
    }
}

@media screen and (max-width: 640px){
    #main .content {
        width: 100%;
    }
}
