/* Base styles for the existing information pages. Load before public-v3.css. */
html, body, div, span, iframe,
h1, h2, h3, h4, p, pre, a, address, img, small, strong, i,
dl, dt, dd, ul, li, table, caption, tbody, thead, tr, th, td,
article, figure, figcaption, footer, header, main, nav, section {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    font-size: .9375rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

html[lang="ja"] body,
html[lang="ja"] button {
    font-family: "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
}

html[lang="ja"] * { letter-spacing: 0 !important; }

h1, h2, h3, h4 {
    clear: both;
    margin: 0 0 .75em;
    line-height: 1.4;
}
h1:first-child, h2:first-child, h3:first-child, h4:first-child { padding-top: 0; }
h1 { font-size: 1.5rem; }
h2 { color: #666; font-size: 1.25rem; }
h3 { color: #333; font-size: 1.125rem; }
h4 { color: #333; font-size: 1rem; font-weight: 800; }
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3 { font-weight: 700; }
strong { font-weight: 700; }
small { font-size: 80%; }
i { font-style: italic; }
address { margin-bottom: 1.5em; }

pre {
    max-width: 100%;
    overflow: auto;
    margin-bottom: 1.6em;
    padding: 1.6em;
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: .9375rem;
    line-height: 1.6;
}

ul { margin: 0 0 1.5em; padding: 0; list-style: none; }
li > ul { margin-bottom: 0; margin-left: 1.5em; }
dt { font-weight: 700; }
table { width: 100%; margin-bottom: 1.5em; border-collapse: collapse; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; vertical-align: middle; }
thead th { border-bottom: 2px solid #bbb; padding-bottom: .5em; }
tr { border-bottom: 1px solid #eee; }
th, td { padding: .4em; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }

a {
    background-color: transparent;
    color: #222;
    text-decoration: none;
    transition: all .3s ease;
}
a:focus { outline: thin dotted; }
a:hover, a:active { color: #000; outline: 0; }
::selection { background: #4f4b44; color: #f8f8f8; }
img { border-style: none; }
figure { margin: 1em 0; }
iframe { max-width: 100%; margin-bottom: 1.5em; }
svg:not(:root) { overflow: hidden; }

button {
    display: inline-block;
    overflow: visible;
    margin: 0;
    border: 0;
    border-radius: 2px;
    padding: 1em 2em;
    background: #222;
    color: #fff;
    box-shadow: none;
    font-size: .875rem;
    font-weight: 800;
    line-height: 1;
    text-transform: none;
    text-shadow: none;
    cursor: pointer;
    transition: background .2s;
}
button:hover, button:focus { background: #767676; }

#container { overflow: hidden; }
#static-primary { float: left; }
.wrap { margin-left: auto; margin-right: auto; }
.wrap::after { display: block; clear: both; content: ""; }
.clearfix { clear: both; }
.clearfix::after { display: block; clear: both; height: 0; visibility: hidden; content: ""; }

.static-heading { padding: 0 0 1em; }
.static-heading, .static-content { margin-left: auto; margin-right: auto; }
.static-heading .static-title { margin-bottom: .25em; }
.static-title-hidden .static-title { display: none; }
.static-content::before,
.static-content::after { display: table; table-layout: fixed; content: ""; }
.static-content::after { clear: both; }
.static-content a {
    box-shadow: inset 0 -1px 0 #0f0f0f;
    transition: color 80ms ease-in, box-shadow 130ms ease-in-out;
}
.static-content a:hover,
.static-content a:focus {
    color: #000;
    box-shadow: inset 0 0 0 transparent, 0 3px 0 #000;
}
.static-content a img { box-shadow: 0 0 0 8px #fff; }

/* Information headings, pricing tables, and payment instructions. */
h2#system-price_h {
    display: block;
    width: 98.6%;
    margin: 0 auto 26px;
    border-width: 2px;
    border-color: #3f3625 #3f3625 #f3f3f3;
    border-bottom-style: dotted;
    padding: 4px 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 160%;
    letter-spacing: .1em;
}

#system-price {
    width: 100%;
    max-width: 1080px;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    color: #3f3625;
    line-height: 190%;
}
#system-price h3.noborder { border-style: none; }
#system-price .exhibition {
    width: 98%;
    height: 300px;
    margin: 4px auto 30px;
    border: 2px solid #3f3625;
    padding-top: 14px;
}
#system-price .txt {
    display: block;
    width: 98%;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 18px;
    font-size: 14px;
    letter-spacing: .1em;
}
#system-price .bank {
    display: block;
    width: 587px;
    height: 161px;
    margin-top: 14px;
    background: url('/masao-assets/theme/images/furikomi.png') no-repeat;
    background-size: contain;
    font-size: 12px;
    letter-spacing: .1em;
}
#system-price .bank .image { display: block; padding: 20px 0 6px; text-align: center; }
#system-price .bank .image img { width: 100%; height: auto; }
#system-price .txt .bank .intxt { float: right; width: 228px; margin-right: 30px; margin-top: 62px; }
#system-price .txt .bank-sp { display: none; }
#system-price .left,
#system-price .right { width: 50%; height: auto; margin-bottom: 12px; }
#system-price .left { float: left; }
#system-price .right { float: right; }
#system-price .right img { width: 100%; height: auto; }
#system-price table { width: 90%; height: auto; margin-right: auto; margin-left: auto; }
#system-price table tr td.part { width: 22%; }
#system-price table tr td.state { width: 82%; }
#system-price .part .shift,
#system-price .state .time { display: block; float: left; padding-top: 3px; padding-bottom: 3px; }

@media screen and (min-width: 30em) {
    body { font-size: 1.125rem; }
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.625rem; }
    h3 { font-size: 1.375rem; }
    h4 { font-size: 1.125rem; }
}

@media screen and (min-width: 48em) {
    body { font-size: 1rem; }
    .static-page .static-title { font-size: 1.625rem; }
}

@media only screen and (min-width: 980px) {
    #container .wrap { position: relative; overflow: hidden; }
}

@media only screen and (max-width: 979px) {
    #system-price { width: 98%; max-width: 979px; margin-top: 0; }
}

@media only screen and (max-width: 479px) {
    #system-price { width: 100%; max-width: 479px; }
    #system-price h2#system-price_h { margin-bottom: 14px; font-size: 18px; }
    #system-price h3 {
        display: block;
        clear: both;
        width: 98%;
        margin: 0 auto 3px;
        background-repeat: no-repeat;
        background-position: 0 3px;
        font-size: 16px;
        font-weight: 400;
        line-height: 180%;
        letter-spacing: .1em;
    }
    #system-price .exhibition { height: 160px; border: none; }
    #system-price .txt { font-size: 12px; }
    #system-price .bank { display: none; }
    #system-price .txt .bank-sp { display: block; margin: 8px 0; }
    #system-price .txt .bank-sp .image,
    #system-price .txt .bank-sp .image img { width: 100%; }
    #system-price .right img { margin-top: 0 !important; padding: 0 0 20px 20px !important; }
}

@media print {
    button { display: none !important; }
    body { background: none !important; font-size: 12pt; }
    h1 { font-size: 24pt; }
    h2 { color: #777 !important; font-size: 22pt; }
    h3 { font-size: 17pt; }
    h4 { font-size: 12pt; }
    body, a { color: #222 !important; }
    .wrap { max-width: none; padding-left: 5% !important; padding-right: 5% !important; }
}
