html {
    border:none; padding:0; margin:0;
    background: #FFFFFF;
    color:#202020;
    position: relative;
    min-height: 100%;
}
body {
    text-align:center;
    font-family:"Roboto",sans-serif;
    margin-bottom: 40px;
}
footer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 24px;
    width: 100%;
    background: rgba(0, 44, 69, 0.7);
    color: #b2bfc7;
    text-align: center;
}
h1{
    color:#404040;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
h1 a, h1 a:hover {
    color: #202020;
    text-decoration: none;
}
.red {
    color: red;
}
.logo {
    text-align: left;
}
.logo img {
    margin: 12px 0px;
}
.title {
    width: 100%;
    text-align: center;
}
.title h1 {
    width: 100%;
    margin: 0.6em 0;
}
.title h3 {
    margin-top: 1rem;
}
#description {
    text-align: left;
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
}
#description h2 {
    border-top: 1px solid #a7dadc;
    padding: 0.6em 0;
    margin: 0.6em 0;
}
#message, #message2 {
    margin: 20px;
    color: #d3b58d;
}
#message2 {
    display: none;
}
#message2.show {
    display: block;
}
#testWrapper {
    margin-top: 30px;
}
#startStopBtn{
    display: none;
    margin:0 auto;
    color:#ffffff;
    background: rgba(0, 44, 69, 0.7);
    border:0.15em solid #002c45;
    border-radius:1.5em;
    transition:all 0.3s;
    box-sizing:border-box;
    width:8em;
    height:3em;
    line-height:2.7em;
    cursor:pointer;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}
#startStopBtn.prepared {
    display:inline-block;
}
#startStopBtn:hover{
    background: rgba(0, 44, 69, 0.6);
}
#startStopBtn.running{
    display:inline-block;
    background-color:#FF3030;
    border-color:#FF6060;
    color:#FFFFFF;
}
#startStopBtn:before{
    content:"計測開始";
}
#startStopBtn.running:before{
    content:"中断";
}
#test{
    margin-top:2em;
    margin-bottom:2em;
}
#test.noscript {
    display: none;
}
.meterText i {
    display: none;
}
#test .loading i {
    display: inline-block;
}
#test .loading i:before {
    display: inline-block;
    animation: r1 1s linear infinite;
}
@keyframes r1 {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
div.testArea{
    display:inline-block;
    width:16em;
    height:12.5em;
    position:relative;
    box-sizing:border-box;
}
div.testArea div.testName{
    position:absolute;
    top:0.1em; left:0;
    width:100%;
    font-size:1.4em;
    z-index:9;
}
div.testArea div.meterText{
    font-family: 'Zen Kaku Gothic New', sans-serif;
    position:absolute;
    bottom:1.55em; left:0;
    width:100%;
    font-size:2.5em;
    z-index:9;
}
div.testArea div.unit{
    position:absolute;
    bottom:2em; left:0;
    width:100%;
    z-index:9;
}
div.testArea canvas{
    position:absolute;
    top:0; left:0; width:100%; height:100%;
    z-index:1;
}
div.testGroup{
    display:block;
    margin: 0 auto;
}
#shareArea{
    width:95%;
    max-width:40em;
    margin:0 auto;
    margin-top:2em;
}
#shareArea > *{
    display:block;
    width:100%;
    height:auto;
    margin: 0.25em 0;
}
#privacyPolicy{
    position:fixed;
    top:2em;
    bottom:2em;
    left:2em;
    right:2em;
    overflow-y:auto;
    width:auto;
    height:auto;
    box-shadow:0 0 3em 1em #000000;
    z-index:999999;
    text-align:left;
    background-color:#FFFFFF;
    padding:1em;
}
a.privacy{
    text-align:center;
    font-size:0.8em;
    color:#808080;
    padding: 0 3em;
}
div.closePrivacyPolicy {
    width: 100%;
    text-align: center;
}
div.closePrivacyPolicy a.privacy {
    padding: 1em 3em;
}
@media all and (max-width:40em){
    body{
        font-size:0.8em;
    }
}
.noscript {
    color: red;
    font-size: 2em;
}
#summary {
    max-width: 48em;
    margin: 1rem auto;
    font-size: 2rem;
    font-weight: bold;
}
#summary .result::after {
    font-family: bootstrap-icons;
}
#summary .ok .result::after {
    content: '\f28a';
    color: green;
}
#summary .warn .result::after {
    content: '\f5e5';
    color: orange;
}
#summary .ng .result::after {
    content: '\f659';
    color: red;
}
#summary #result_view, #summary #result_camera {
    display: none;
}
#summary .ok, #summary .warn, #summary .ng {
    display: block !important;
}
table.table {
    max-width: 48em;
    margin: 1rem auto;
    border: solid gray;
    border-width: 1px 2px 2px 1px;
}
table .result {
    display: none;
}
table .result.visible {
    display: table-cell;
}
table tbody .recomend, table tbody .result {
    text-align: left;
}
table .result.ok {
    color: green;
}
table .result.warn {
    color: orange;
}
table .result.ng {
    color: red;
}
table .value {
    margin: 0px 10px;
}
thead {
    background-color: #eeeeee;
}
.table li.appendRemark, li.appendRemark {
    color: black;
    display: none;
}
#remarks {
    width: 32em;
    text-align: left;
    margin: 0px auto;
    margin-bottom: 1rem;
}
#remarks ul {
    margin: 0;
}
.table li {
    display: inline;
}
#result li {
    list-style-type: none;
}
#result li:before {
    content: '※';
}
#dlStatus .value:after, #ulStatus .value:after {
    content: 'Mbps';
}
#pingStatus .value:after {
    content: 'ms';
}
#dlStatus .value:empty:after, #ulStatus .value:empty:after, #pingStatus .value:empty:after {
    content: '';
}
.black {
    color: black;
}
.popover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
#userInfo {
    display: block;
    margin-top: 0px;
}
#userInfo tbody {
    text-align: left;
}

@media print {
    header {
        display: none;
    }
    .title h1 {
        font-size: 1.5rem;
    }
    #testWrapper, .description {
        display: none;
    }
    #remarks {
        font-size: 0.5rem;
        width: 100%;
        padding: 0px 50px;
    }
    table.table {
        border: 1px solid gray;
    }
    table .black {
        display: none;
    }
    .table li.appendRemark {
        display: inline;
    }
    li.appendRemark {
        display: list-item;
    }
}
