/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
    font-family: "游ゴシック", "ヒラギノ角ゴ ProN", sans-serif;
    background-color: #F2F2F6;
    color: #363636;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display: block;
}


blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
    color: #eee;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}
/*====================
スマホを基本設計に
 - 〜480px：スマートフォン
 - 481px〜959px：タブレット
 - 960px〜：PC
====================*/

/* スマホファースト */
body {
    font-family: "游ゴシック", "ヒラギノ角ゴ ProN", sans-serif;
    background-color: #F2F2F6;
    color: #363636;
}

main {
    margin-top: 20px;
}

section {
    width: 80%;
    margin: 0 auto 50px;
}

.section-heading {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.section-heading h1 {
    font-size: 1.3em;
    color: #592F72;
    margin-bottom: 10px;
}

.section-heading p {
    font-size: 0.9em;
    color: #333;
}

section {
    width: 80%;
    margin: 0 auto 50px;
}

.section-article {
    padding: 25px 30px;
    background-color: #fff;
    border-radius: 30px;
}

.article {
    width: 100%;
    margin-bottom: 25px;
}

.article-catch {
    position: relative;
}

.article-img {
    width: 100%;
    height: auto;
    border: solid #eee 2px;
}

.article-date {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 60%;
    height: 25px;
    font-size: 0.8em;
    line-height: 25px;
    color: #fff;
    text-align: center;
    background-color: #F342A1;
    border-radius: 30px;
}

.article-title {
    margin-top: 20px;
    color: #363636;
    line-height: 1.3em;
}

.article p {
    margin-top: 10px;
    font-size: 0.8em;
    color: #363636;
    line-height: 1.3em;
    letter-spacing: 0.01em;
}

.article-tags {
    display: flex;
    margin-top: 10px;
}

.article-tags .tag::before {
    content: '●';
    color: #F342A1;
}

.article-tags .tag {
    display: inline-block;
    font-size: 0.07em;
    color: #363636;
    border: #363636 1px solid;
    border-radius: 30px;
    padding: 4px 6px 4px 4px;
    margin-right: 5px;
}

.article-more {
    position: relative;
    height: 80px;
}

.article-more .button {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 70%;
    color: #fff;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 30px;
    background-color: #592F72;
}

footer {
    height: 100px;
    text-align: center;
}

footer p {
    font-size: 0.8em;
    line-height: 1.3em;
}

@media screen and (min-width: 481px) {
    /* タブレット用 */
    .section-heading {
        margin-bottom: 30px;
        text-align: center;
    }

    .section-heading h1 {
        letter-spacing: 0.02em;
        font-size: 2em;
        margin-bottom: 15px;
    }

    .section-heading p {
        font-size: 1.2em;
    }

    .article-box {
        width:100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .article {
        width: 40%;
        margin: 25px 10px 0 10px;
    }

    .article-catch {
        position: relative;
    }

    .article-img {
        width: 100%;
    }

    .article-date {
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        width: 60%;
        height: 25px;
        font-size: 0.8em;
        line-height: 25px;
        color: #fff;
        text-align: center;
        background-color: #F342A1;
        border-radius: 30px;
    }
    
    .article-tags {
        display: flex;
        margin-top: 25px;
    }
    
    .article-tags li::before {
        content: '●';
        color: #F342A1;
    }

    .article-more .button {
        height: 40px;
        line-height: 40px;
        width: 200px;
    }
}

@media screen and (min-width: 960px) {
    section {
        width: 60%;
        margin-bottom: 160px;
    }

    .section-heading h1 {
        font-size: 2.5em;
    }

    .article-box {
        justify-content: space-between;
    }

    .article {
        width: 30%;
    }

    footer br {
        display: none;
    }
}
