@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Web Font "Embed code" */
.m-plus-1p {
    font-family: "M PLUS 1p", sans-serif;
    /* 100,300,400,500,700,800,900 */
    font-weight: 800;
    font-style: normal;
}

body {
    background-color: #eeeae7;
}

a {
    color: inherit;
    text-decoration: none;
}

div#h1 {
    margin: 100px 0;

    img {
        display: block;
        width: 180px;
        margin: 0 auto;
    }

    h1 {
        margin-top: 20px;
        text-align: center;
        color: #D3AB0A;
        font-size: 30px;
    }
}

h2 {
    text-align: center;
    font-size: 23px;

    &:nth-of-type(1) {
        margin-bottom: 50px;
    }

    &:nth-of-type(n+2) {
        margin-top: 50px;
    }

    span {
        border-bottom: solid #d3ab0a 4px;
        padding: 0 0 1px 0;
        letter-spacing: 2px;

    }
}


p.h2_p {
    text-align: center;
    font-size: 14px;
    margin: 15px 0 50px;
}

hr {
    width: 70%;
    margin: 0 auto;
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Google　Fonts 矢印アイコン */
.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
    border: none;
    vertical-align: middle;
}

article {
    width: 80%;
    margin: 0 auto;
    display: flex;

    &:nth-last-of-type(even) {
        justify-content: space-between;
    }

    &:nth-last-of-type(odd) {
        justify-content: space-around;
    }

    section {
        width: 30%;
        /* display: flex;
            align-items: center; */
        background-color: #ddd8d5;
        padding: 15px;

        a {
            height: 80%;
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            background-color: white;
            padding: 15px;
        }

        img {
            width: 100%;
            box-shadow: 2px 2px 6px #8d866c;
            display: block;
        }
    }

    p {
        text-align: center;

        &:nth-last-of-type(even) {
            font-weight: bold;
            font-size: 14px;
        }

        &:nth-last-of-type(odd) {
            font-size: 12px;
        }

        span {
            font-size: 11px;
            font-weight: 100;
        }
    }
}


footer {
    margin-top: 50px;

    p {
        font-size: 12px;
    }
}

/* ************** */
@media screen and (max-width:500px) {
    div#h1 {
        h1 {
            font-size: 18px;
            margin-top: 20px;
        }

        img {
            width: 30%;
        }
    }

    h2 {
        font-size: 20px;
    }
}