#main_img {
    background: url(../img/raster.png), url(../img/main_format.jpg);
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
    background-position: center, center;
    display: table;
    height: 500px;
    padding: 0px;
    width: 100%;
}

h1 {
    color: white;
    display: table-cell;
    font-size: 2rem;
    font-weight: 600;
    height: 500px;
    line-height: 4rem;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    text-shadow: -3px -3px 16px #333, 3px -3px 16px #333, 3px 3px 16px #333, -3px 3px 16px #333;
    width: 100%;
    vertical-align: middle;
}

p {
    color: #6ba840;
    text-decoration: underline;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem auto;
    text-align: center;
}

h2 {
    text-align: center;
    margin: 0;
}

section {
    background-image: url(../img/tiri.jpg);
    background-repeat: repeat;
    padding: 2rem 0 4rem;
    width: 100%;
}

article {
    max-width: 1000px;
    width: 100%;
    margin: 0rem auto;
    padding: 5rem 0rem 5rem;
}

table {
    border-radius: 4px;
    margin: 0 auto;
    max-width: 900px;
    width: 90%;   
}

th {
    background-color: #caf8aa;
}

#th1 {
    width: 30%;
}

#th2 {
    width: 40%;
}

#th3 {
    width: 30%;
}
table th,
table td {
    border-bottom: 1px solid #ccc;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    margin: 0;
    text-align: center;
    vertical-align: middle;
    overflow: visible;
}
td .fa {
    margin: 0 1rem;
}

td .fa-file-excel-o {
    color: green;
}

td .fa-file-pdf-o {
    color: red;
}
table td {
    background-color: white;
    font-size: 0.9rem;
    text-align: left;
}

table .fa {
    text-shadow: none;
    position: right;
    margin: right;
}

/*-------------------------------------------スマホ用--------------------------------*/

@media only screen and (max-width: 500px) {
    #main_img {
        background: url(../img/raster.png), url(../img/main_format.jpg);
        background-repeat: repeat, no-repeat;
        background-size: auto, cover;
        background-position: center, center;
        display: table;
        height: 300px;
        padding: 0px;
        width: 100%;
    }

    h1 {
        color: white;
        display: table-cell;
        font-size: 1.4rem;
        font-weight: 400;
        height: 300px;
        line-height: 2rem;
        margin: 0;
        padding: 0 2rem;
        text-align: center;
        text-shadow: -3px -3px 6px #111, 3px -3px 6px #111, 3px 3px 6px #111, -3px 3px 6px #111;
        width: 100%;
        vertical-align: middle;
    }    
    p {
        color: #6ba840;
        text-decoration: underline;
        font-size: 1.2rem;
        font-weight: 600;
        margin: 2rem auto;
        text-align: center;
    }
    section {
        background-image: url(../img/tiri.jpg);
        background-repeat: repeat;
        padding: 0;
        width: 100%;
    }

    article {
        width: 100%;
        padding: 1rem 0 5rem;
    }
    
    table th {
        font-size: 0.8rem;
    }
    table td {
        padding: 0.5rem;
        text-align: center;
    }
    #th1 {
        width: 40%;
    }

    #th2 {
        width: 40%;
    }

    #th3 {
        width: 20%;
    }
    td .fa {
        display: block;
        margin: 0;
        text-align: right;
    }
    
}

