﻿/* type */
body
{
    background-color: whitesmoke;
    color: #383838;
}

/* id */
#main
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#years
{
    width: 80%;
    display: flex;
    flex-direction: column;
}

#about
{
    font-family: "Shippori Antique", serif;
    width: 80%;
}

#about > h2
{
    margin-top: 1.5em;
    margin-bottom: 0;
}

#about > h2:nth-of-type(1)
{
    margin-top: 0;
}

#about > a
{
    display: block;
}

/* class */
.subtitle
{
    margin: 70px 0 40px;
    font-family: "Shippori Antique", serif;
    font-size: 3em;
    font-weight: bold;
    width: 80%;
    display: flex;
    justify-content: flex-start;
}

.year
{
    width: 100%;
    display: flex;
    align-items: stretch;
}

.year-image
{
    position: relative;
    width: 20%;
    margin-right: 10%;
}

.year-box
{
    width: 100%;
    height: auto;
    position: absolute;
}

.year-image-img
{
    width: 100%;
    height: auto;
    position: relative;
    left: 0;
    top: 0;
}

.year-image-mask
{
    mask-image: url("../Images/Years/BackGround.png");/*マスクレイヤーとして使用する画像*/
    mask-repeat: no-repeat;
    mask-position: 0% 0%;
    mask-size: 100% 100%;
    -webkit-mask-image: url("../Images/Years/BackGround.png");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: 0% 0%;
    -webkit-mask-size: 100% 0%;

    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;

    transition: mask-size 500ms 30ms ease;
    transition: -webkit-mask-size 500ms 30ms ease;
}

.year-image-mask > img
{
    width: 100%;
    height: auto;
    position: absolute;
    left: 0;
    top: 0;
}

.year-line
{
    width: 0.2%;
    height: auto;
    position: relative;
}

.year-line > div
{
    position: absolute;
    top: 0%;
    height: 0%;
    width: 100%;
    background-color: #383838;
    transition: height 300ms 0s ease;
}

.gameCards
{
    width: 79.8%;
    display: flex;
    flex-direction: column;
}

.gameCards > a
{
    text-decoration: none;
}

.gameCards > a:visited
{
    color: #383838;
}

.gameCard
{
    margin-bottom: 100px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.gameCard-explain
{
    margin-left: 5%;
    width: 60%;
    display: flex;
    flex-direction: column;
}

.gameCard-title
{
    font-size: 2em;
    font-family: "Shippori Antique", serif;
    font-weight: bold;
    line-height: 100%;
}

@media screen and (max-width: 800px)
{
    .gameCard-title
    {
        font-size: 1.5em;
    }
}

.gameCard-genre
{
    font-family: "Sawarabi Mincho", serif;
}

.gameCard-thumbnail
{
    width: 40%;
}

.gameCard-thumbnail-image
{
    width: 100%;
}

#years > :last-child > .gameCards > :last-child
{
    margin-bottom: 0;
}
