﻿* {
    box-sizing: border-box;
    font-size: 10pt;
    line-height: 150%;
    margin: 0;
    padding: 0;
}

html {
}

body {
    min-width: 670px;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

    body > div {
        width: 670px;
        background-image: url(images/shohin_imgback.jpg);
        background-repeat: no-repeat;
        background-position: right bottom;
        background-color: rgba(255, 255, 255, 0.5);
        background-blend-mode: lighten;
        padding: 30px 0px;
    }

h1 {
    width: 100%;
    text-align: center;
    font-size: 14pt;
}

h2 {
    display: inline;
}

ul {
    list-style-type: none;
}

    ul > li {
        display: flex;
        flex-flow: row nowrap;
    }

    ul > li:before {
        content: "・";
        display: block;
        width: 1em;
    }

ol {
    counter-reset: section;
    list-style-type: none;
}

    ol > li {
        list-style: none;
        display: flex;
        flex-flow: row nowrap;
    }

        ol > li:before {
            counter-increment: section;
            content: counters(section, ".") ".";
        }

    ol.parentheses {
    }

        ol.parentheses > li {
            list-style-type: none;
            counter-increment: cnt;
            display: flex;
            flex-flow: row nowrap;
        }

            ol.parentheses > li:before {
                content: "(" counter(cnt) ") ";
                width: 30px;
                display: inline-block;
                flex-shrink: 0;
            }

        ol.parentheses li {
            margin: 0;
            width: 100%;
        }

    ol.normal {
    }

        ol.normal > li:before {
            content: counter(section) ".";
        }

    ol.others {
    }

        ol.others > li {
            list-style: none;
            display: flex;
            flex-flow: row nowrap;
            width: 100%;
        }

            ol.others > li:before {
                content: none;
            }

.preamble {
    margin: 30px 0px;
}

.history {
    width: 100%;
    text-align: right;
}

.mainText > ol > li {
    margin-top: 10pt;
    margin-bottom: 10pt;
}

.contactAddress {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
}

    .contactAddress > * {
        text-align: left;
    }

p.indent {
    text-indent: 1em;
}

p.indent-minus {
    text-indent: -1em;
}

@media (max-width: 1000px) {

    body {
        min-width: none;
        min-width: initial;
        text-size-adjust: 100%;
        -webkit-text-size-adjust: 100%; /*Chrome,Safari*/
        -ms-text-size-adjust: 100%; /*EgdeMobile*/
        -moz-text-size-adjust: 100%; /*firefox*/
    }

        body > div {
            width: 100%;
            padding: 10px 2px;
        }

        body * {
            font-size: 1.1rem;
        }

/*    ol {
        padding-left: 6rem;
    }
*/
    .preamble {
        margin: 10px 0px;
    }

    .mainText p, .mainText > ol > li {
        margin-top: 10px;
        margin-bottom: 10px;
    }

}
