html, body {
    margin: 0;
    padding: 0;
    background-color: #dcdcdc;
    font-family: "lucida grande", tahoma, verdana, arial, "Hiragino Kaku Gothic Pro","Osaka",Meiryo,"メイリオ","ＭＳ ゴシック",sans-serif;
}

@media (orientation:landscape) {
    html.ipad.ios7 > body {
        position: fixed;
        bottom: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        background-color: #dcdcdc;
        font-family: "lucida grande", tahoma, verdana, arial, "Hiragino Kaku Gothic Pro","Osaka",Meiryo,"メイリオ","ＭＳ ゴシック",sans-serif;
    }
}

a {
    color: #0645ad;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:link {
    color: #0645ad;
}

header {
    height: 40px;
    position: relative;
    background-color: #cacaca;
    padding: 5px 0 0 100px;
}


footer {
    position: fixed;
    clear: both;
    width: 100%;
    height: 40px;
    bottom: 0;
    left: 0;
    background-color: #cacaca;
}

.hfdright {
    position: absolute;
    line-height: 40px;
    right: 10px;
    white-space: nowrap;
    overflow: hidden;
}


#container {
    width: 100%;
    position: relative;
    height: auto !important;
    height: 100%;
    min-height: 100%;
}

div.cont {
    padding-bottom: 40px;
}

span.m1 {
    font-weight: bold;
    font-size: 135%;
    position: absolute;
    line-height: 40px;
    left: 10px;
    margin: 0px 0px 0px 10px;
    padding: 0px;
    display: inline;
}

img.t {
    margin: 10px;
    border: 2px #ffffff solid;
}

ul.zen {
    list-style: none;
    font-size: 105%;
}

ol {
    counter-reset: my-counter;
    list-style: none;
    padding: 0 0 0 50px;
}

li.sub {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

li.sub:before {
    content: counter(my-counter);
    counter-increment: my-counter;
    border: 1px #ff0000 solid;
    display: block;
    float: left;
    line-height: 22px;
    margin-left: -30px;
    text-align: center;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    color: #ff0000;
    font-weight: bold;
}

#pagetop {
    display: block;
    width: 42px;
    height: 42px;
    position: fixed;
    right: 40px;
    bottom: 20px;
    z-index: 5500;
    background: rgba(0,0,0,.5);
}

#pagetop span {
    top: 14px;
    left: 11px;
    position: fixed;
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(315deg);
    transform: rotate(315deg);
    position: absolute;
}
