﻿.Explain {
    width: 100%;
    color: maroon;
    font-size: medium;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.UseMenu {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

    .UseMenu > div {
        width: 45%;
        margin-bottom: 30px;
        display: flex;
        flex-flow: column nowrap;
        justify-content: flex-start;
        align-items: center;
    }

        .UseMenu > div > a {
            width: 100%;
            height: auto;
            text-align: center;
        }

        .UseMenu > div > div {
            width: 100%;
        }

.UseArticle {
    box-sizing: border-box;
    width: 100%;
    padding: 0px 10px;
    line-height: 130%;
}

    .UseArticle * {
        box-sizing: border-box;
    }

    .UseArticle > div {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
        align-items: stretch;
        border-bottom: 1px solid gray;
        padding: 20px 0px;
    }

        .UseArticle > div:last-child {
            border: none;
        }

        .UseArticle > div > p {
            display: flex;
            flex-flow: column nowrap;
            justify-content: center;
            align-items: flex-start;
            max-width: 50%;
        }

            .UseArticle > div > p.comment {
                width: 100%;
                max-width: 100%;
                line-height: 150%;
            }

    .UseArticle .subCategoryTitle {
        width: 100%;
        color: white;
        font-size: 20px;
        margin-top: 10px;
        padding: 5px 0px 5px 10px;
        background-color: #6BBB5A;
        line-height: 1;
    }

    .UseArticle figure {
        text-align: center;
        margin: 0;
        padding: 10px 10px;
        max-width: 50%;
    }

        .UseArticle figure.noSideSpace {
            padding-left: 0;
            padding-right: 0;
        }

        .UseArticle figure > img {
            max-width: 100%;
        }

        .UseArticle figure > figcaption {
            margin-top: 5px;
        }

    .UseArticle .LinkButtons {
        width: 100%;
        margin-top: 10px;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-evenly;
        align-items: stretch;
    }

        .UseArticle .LinkButtons > a {
            text-decoration: none;
            color: white;
            font-weight: normal;
            font-size: 110%;
            width: 48%;
            padding-top: 10px;
            padding-bottom: 10px;
            text-align: center;
        }

            .UseArticle .LinkButtons > a.grayButton {
                color: black;
            }

.ClickpostItem {
    width: 50%;
    height: auto;
    border: 1px solid gray;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: stretch;
}

    .ClickpostItem:nth-child(2n+1) {
        border-right: none;
    }

    .ClickpostItem:nth-child(-n+2) {
        border-bottom: none;
    }

.ClickpostItemTitle {
    height: auto;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    color: white;
    flex-grow: 0;
}

.ClickpostItemDtl {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.ClickpostItemImage {
    width: 50%;
    height: auto;
}

.ClickpostItemSpec {
    width: 50%;
    display: flex;
    flex-flow: row wrap;
    align-items: flex-end;
    justify-content: center;
}

    .ClickpostItemSpec > div {
        padding: 10px 0px;
        border-bottom: 1px solid gray;
        width: 100%;
        text-align: center;
    }

        .ClickpostItemSpec > div:last-child {
            border-bottom: none;
        }

    .ClickpostItemSpec dl {
        display: flex;
        flex-flow: row wrap;
        align-items: flex-start;
        justify-content: space-between;
        text-align: left;
    }

        .ClickpostItemSpec dl > dt {
            width: 30%;
        }

        .ClickpostItemSpec dl > dd {
            width: 70%;
        }

    .ClickpostItemSpec .LinkButtons > a {
        width: 80%;
    }

ul.Caution {
    color: red;
    margin: 20px 0px 20px 20px;
    list-style: disc;
}

    ul.Caution li {
        margin-bottom: 5px;
    }

        ul.Caution li:last-child {
            margin-bottom: 0px;
        }

@media (max-width: 1000px) {
    .Explain {
        font-size: 1.2rem;
        height: auto;
        line-height: 1;
        text-align: left;
        margin: 5px 0px;
    }

    .UseMenu > div {
        width: 100%;
        margin-bottom: 10px;
    }

        .UseMenu > div > a {
            display: flex;
            flex-flow: column nowrap;
            justify-content: center;
            align-items: center;
            height: 8rem;
            text-decoration: none;
            color: black;
        }

            .UseMenu > div > a > span {
                display: block;
                line-height: 1;
                font-size: 1.8rem;
            }

                .UseMenu > div > a > span:last-child {
                    width: 90%;
                    padding-top: 1rem;
                    font-size: 1.2rem;
                    font-weight: normal;
                    border-top: 1px solid gray;
                }

    .UseArticle {
        font-size: 1.2rem;
        padding: 0px 2px;
    }

        .UseArticle > div {
            padding: 5px 0px;
        }

        .UseArticle .subCategoryTitle {
            font-size: 1.5rem;
            padding: 5px;
            margin-top: 5px;
        }

        .UseArticle figure {
            max-width: 100%;
            width: 100%;
            padding: 5px;
            display: flex;
            flex-flow: row nowrap;
            justify-content: flex-start;
            align-items: center;
        }

            .UseArticle figure.noSideSpace {
                padding-left: 10px;
                padding-right: 10px;
            }

            .UseArticle figure > img {
                flex-grow: 1;
                min-width: 50%;
                height: auto;
            }

            .UseArticle figure > figcaption {
                flex-grow: 1;
                font-size: 1.5rem;
                margin: 0;
                padding-left: 5px;
                text-align: left;
                min-width: 45%;
            }

        .UseArticle .LinkButtons {
            width: 100%;
            margin-top: 5px;
            flex-flow: column nowrap;
            justify-content: flex-end;
            align-items: center;
        }

            .UseArticle .LinkButtons:nth-of-type(n+2) {
                margin-top: 0;
            }

            .UseArticle .LinkButtons > a {
                width: 95%;
                margin: 5px 0px;
                padding: 15px 0px;
            }

        .UseArticle > div > p {
            max-width: 100%;
            width: 100%;
        }

    .ClickpostItem {
        width: 100%;
        border: 1px solid gray;
        margin-bottom: 20px;
    }

        .ClickpostItem:nth-child(2n+1) {
            border-right: 1px solid gray;
        }

        .ClickpostItem:nth-child(-n+2) {
            border-bottom: 1px solid gray;
        }

        .ClickpostItem:last-child {
            margin-bottom: 0px;
        }

    .ClickpostItemTitle {
        font-size: 1.5rem;
    }

}
