body {
    background-color: #def5e6;
    color: #333;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Noto Sans JP', sans-serif;
}

* {
    box-sizing: border-box;
    vertical-align: middle;
}

input[type=text],
input[type=password],
input[type=email] {
    padding: 20px 15px;
    width: 100%;
    font-size: 20px;
    background-color: #fff;
    border: 1px solid #b2b2b2;
}

input[type="checkbox"] {
    margin-right: 0.5em;
    zoom: 1.5;
}

.error {
    color: #ff0000;
}
.fa,
.far,
.fas,
.fab {
    line-height: 1.7 !important;
    margin-right: 0.5em;
    vertical-align: middle;
    color: #00a73c;
}

.map {
    width: calc(100% + 40px);
    background-color: #fff;
    height: 60vh;
    margin-left: -20px;
    position: relative;
    margin-bottom: 20px;
    background-image: url(../img/sample.jpg);
    background-size: cover;
    background-position: center;
}

.f_ll {
    font-size: 30px !important;
}

.f_lm {
    font-size: 24px !important;
}

.f_ls {
    font-size: 22px !important;
}

.f_l {
    font-size: 19px !important;
}

.f_m {
    font-size: 16px !important;
}

.f_sl {
    font-size: 15px !important;
}

.f_sm {
    font-size: 14px !important;
}

.f_s {
    font-size: 12px !important;
}

.f_ss {
    font-size: 10px !important;
}

/* -----------------------------------
    common
----------------------------------- */
.c_1 {
    color: #ff6000;
}

/* -----------------------------------
    header
----------------------------------- */
#header {
    height: 60px;
    width: 100%;
    background-color: #fff;
    position: relative;
    z-index: 30;
    border-bottom: solid 1px #ccc;
}

#header a {
    display: block;
    height: 60px;
    width: 100%;
}

#header .logo {
    position: absolute;
    display: block;
    width: 50px;
    height: 40px;
    background-image: url(../img/logo.png);
    left: 2vw;
    text-indent: -9999px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    margin-left: 0;
    top: 10px;
}

#header .s_tag {
    position: absolute;
    display: block;
    width: 250px;
    width: calc(100% - 120px);
    height: 40px;
    top: 10px;
    right: 10px;
    font-size: 12px;
    line-height: 1;
    text-align: right;
}

#header .s_meter {
    position: absolute;
    display: block;
    width: 250px;
    width: calc(100% - 120px);
    height: 40px;
    top: 30px;
    right: 10px;
    font-size: 12px;
    line-height: 1;
    text-align: right;
}

/* -----------------------------------
    footer
----------------------------------- */
#footer {
    padding: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #48af6d;
    z-index: 20;
}

#footer .btn {
    margin-bottom: 0;

}

#footer .two {
    width: 48%;
    display: inline-block;
    margin: 1%;
}

#footer .btn.upload_check,
#footer .btn.back_link {
    width: 30%;
    display: inline-block;
    float: left;
    margin-right: 10px;
    font-size: 24px;
    line-height: 25px;
}

#footer .btn.upload_check+.btn,
#footer .btn.back_link+.btn {
    float: left;
    width: calc(100% - 30% - 10px);
    display: inline-block;
}

/* -----------------------------------
    pagetop
----------------------------------- */

.pagetop {}

.pagetop a {}

/* -----------------------------------
    btn
----------------------------------- */
.btn,
.btn2 {
    width: 100%;
    display: block;
    text-align: center;
    line-height: 1.6;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    background-color: #00a73c;
    border-radius: 34px;
    text-decoration: none !important;
    padding: 7px;
    border: solid #00a73c 0px;
}

.btn:hover,
.btn2:hover {
    background-color: #006f28;
}

#footer .btn {
    /*
    */
    background-color: #fff;
    color: #00a73c;
    border: solid #00a73c 0px;
}

.btn {
    margin-bottom: 15px;
}

.btn2 {
    line-height: 1.4;
    padding: 10px;
    height: unset;
}

.btn.off {
    background-color: #ccc;
}

/* -----------------------------------
    main
----------------------------------- */

#main {
    min-height: calc(100vh - 60px);
    padding-bottom: 65px;
}

#main #ttl {
    display: block;
    width: 100%;
    height: 60px;
    background-size: cover;
    color: #fff;
    line-height: 60px;
    padding-left: 20px;
    overflow: hidden;
    background-color: #48af6d;
}

#main #ttl h1 {
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
}

#main #ttl h2 {
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    padding-left: 10px;
    width: calc(100% - 78px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#main .content,
#main #content {
    padding: 20px;
    line-height: 1.6;
    font-size: 16px;
}

#main ul {
    border-top: solid 1px #ccc;
}

#main ul li {
    height: auto;
    line-height: 15px;
    background-color: #fff;
    border-bottom: solid 1px #ccc;
    padding: 15px 10px 15px 0px;
    word-break: break-all;
    padding-left: 40px !important;
    text-indent: -10px;
}

#main ul li a {
    padding-left: 15px;
    color: #333;
    width: 100%;
    height: 100%;
    display: block;
}

.icon_search {
    position: absolute;
    width: 40px;
    height: 40px;
    display: block;
    background-image: url(../img/search-solid.svg);
    top: 131px;
    right: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}

.icon_search:hover {
    opacity: 0.5;
}

.popup {
    position: absolute;
    background-color: #fff;
    width: 90%;
    height: auto;
    top: 100px;
    margin: 0 calc(-45%);
    left: 50%;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 4px 0px rgb(0 0 0 / 30%);
    border: solid 2px #999;
    display: none;
}

.popup .close_btn {
    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 20px;
    top: -15px;
    right: -12px;
}

.popup input {
    height: 30px;
    line-height: 30px;
}

.popup p {
    margin-bottom: 10px;
}

.popup .btn {
    margin-bottom: 0px;
}

#main ul li.on {
    background-color: #c5fad9;
}

#main ul li .icon_e,
#main ul li .icon_mo,
#main ul li .icon_me,
#main ul li .icon_t,
#main ul li .icon_f,
#main ul li .camera {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    width: 23px;
    height: 23px;
    float: right;
    margin-left: 5px;
    margin-bottom: 5px;
}

#main ul li .icon_box {
    width: 84px;
    display: block;
    float: right;
    height: 100%;
}

#main ul li .camera {
    background-image: url(../img/camera.png);
    height: 50px;
    background-position: center top;
}

#main ul li .icon_f {
    background-image: url(../img/icon_f.png);
}

#main ul li .icon_t {
    background-image: url(../img/icon_t.png);
}

#main ul li .icon_me {
    background-image: url(../img/icon_me.png);
}

#main ul li .icon_mo {
    background-image: url(../img/icon_mo.png);
}

#main ul li .icon_e {
    background-image: url(../img/icon_e.png);
}

#main ul li:hover {
    background-color: #eee;
}

#main ol {
    border-top: solid 1px #ccc;
}

#main ol li {
    height: 60px;
    line-height: 60px;
    background-color: #fff;
    border-bottom: solid 1px #ccc;
    border-right: solid 1px #ccc;
    padding-left: 15px;
    width: 50%;
    height: 50vw;
    float: left;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

#main ol li span {
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

#main ol li input[type=checkbox] {
    position: absolute;
    top: 10%;
    left: 10%;
    zoom: 2;
    z-index: 2;
}

#main .mini ol li {
    width: 20%;
    height: 20vw;
}

#main ol li:hover {
    background-color: #eee;
    opacity: 0.5;
}

#main .form {
    width: calc(100% + 40px);
    background-color: #fff;
    margin-left: -20px;
    padding: 15px;
    min-height: calc(100vh - 318px);
    padding-block: 50px;
}

#main .photo_list {
    padding-bottom: 65px;
}

#main .photo_big img {
    width: 100%;
}

/* -----------------------------------
    camera
----------------------------------- */
#player,
#snapshot {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    z-index: 2;
}

#snapshot {
    z-index: 1;
}

.camera_wrap {
    position: fixed;
    left: 0;
    top: 60px;
    width: 100%;
    height: calc(100% - 125px);
    display: block;
    z-index: 20;
}

.left_box {
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 50%;
    height: 130px;
    display: block;
    margin-left: 0;
    z-index: 3;
}

.right_box {
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 50%;
    height: 130px;
    display: block;
    margin-left: 0;
    padding-right: 10px;
    z-index: 4;
}

.table_wrap {
    display: block;
    width: 100%;
    border: 3px solid #fff;
}

.table_wrap.menu_1 {
    border-color: #fff;
}

.table_wrap.menu_2 {
    border-color: #007f00;
}

.table_wrap.menu_3 {
    border-color: #0000a6;
}

.table_wrap.menu_4 {
    border-color: #444;
}

.table_wrap.menu_5 {
    border-color: #000;
}


table {
    width: 100%;
    border: solid #000 1px;
    border-width: 1px 0 0 1px;
    background-color: #fff;
}

table th,
table td {
    border: solid #000 1px;
    border-width: 0 1px 1px 0;
    padding: 5px;
    font-size: 7px;
}

table th {
    font-weight: bold;
    word-break: keep-all;
}

table td {
    word-break: break-all;
}

table.menu_1 th,
table.menu_1 td,
table.menu_1 {
    background-color: #fff;
    border-color: #000;
}

table.menu_2 th,
table.menu_2 td,
table.menu_2 {
    background-color: #007f00;
    border-color: #fff;
    color: #fff;
}

table.menu_3 th,
table.menu_3 td,
table.menu_3 {
    background-color: #0000a6;
    border-color: #fff;
    color: #fff;
}

table.menu_4 th,
table.menu_4 td,
table.menu_4 {
    background-color: #444;
    border-color: #fff;
    color: #fff;
}

table.menu_5 th,
table.menu_5 td,
table.menu_5 {
    background-color: #000;
    border-color: #fff;
    color: #fff;
}

.icon {
    display: inline-block;
    width: 45px;
    height: 45px;
    background-size: contain;
    background-repeat: no-repeat;
    float: left;
    margin-left: 13px;
    margin-bottom: 10px;

    width: 12vw;
    height: 12vw;
    margin-left: 3vw;
}

/*
.icon_camera {
    position: absolute;
    left: 50%;
    bottom: 150px;
    width: 70px;
    height: 70px;
    display: block;
    margin-left: -35px;
    background-image: url(../img/camera.png);
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 4;
}
*/
.icon_camera {
    position: absolute;
    left: 50%;
    bottom: 150px;
    width: 50px;
    height: 50px;
    display: block;
    margin-left: -25px;
    background-image: url(../img/camera.png);
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 4;
    bottom: 0px;
}

.icon_camera:hover {
    background-image: url(../img/camera_on.png);
}

.icon_f {
    background-image: url(../img/icon_f.png);
}

.icon_t {
    background-image: url(../img/icon_t.png);
}

.icon_me {
    background-image: url(../img/icon_me.png);
}

.icon_mo {
    background-image: url(../img/icon_mo.png);
}

.icon_e {
    background-image: url(../img/icon_e.png);
}

.icon_f.on {
    background-image: url(../img/icon_f_on.png);
}

.icon_t.on {
    background-image: url(../img/icon_t_on.png);
}

.icon_me.on {
    background-image: url(../img/icon_me_on.png);
}

.icon_mo.on {
    background-image: url(../img/icon_mo_on.png);
}

.icon_e.on {
    background-image: url(../img/icon_e_on.png);
}

.frames {
    position: fixed;
    width: 100%;
    height: calc(100vh - 125px);
    z-index: 3;
}

.frame {
    display: none;
}

.frame_f {
    position: absolute;
    width: 80%;
    height: 60px;
    line-height: 60px;
    border: red solid 3px;
    left: 10%;
    top: 30px;
    background-color: #ffffff91;
}

.frame_f:before {
    content: "作業風景";
    color: red;
    font-size: 16px;
    line-height: 50px;
    text-align: center;
    display: block;
    font-weight: bold;
}

.frame_t {
    position: absolute;
    width: 80%;
    height: 100px;
    border: red dotted 3px;
    left: 10%;
    top: 50%;
    margin-top: -50px;
}

.frame_me {
    position: absolute;
    width: 80%;
    height: 80px;
    border: red dotted 3px;
    left: 10%;
    top: 30px;
}

.frame_mo {
    position: absolute;
    width: 80%;
    height: 80px;
    border: red dotted 3px;
    left: 10%;
    top: 80px;
}

.frame_e {
    position: absolute;
    width: 80px;
    height: 80px;
    border: red dotted 3px;
    right: 10%;
    top: 80px;
    border-radius: 50%;
}

/* -----------------------------------
    modal
----------------------------------- */

.modal {
    background-color: #dbdbdb;
    position: fixed;
    left: 0;
    top: 120px;
    width: 100%;
    height: 1000px;
    z-index: 10;
    display: none;
}

.modal .modal_child {
    display: none;
    padding: 20px;
    line-height: 1.6;
    font-size: 16px;
}

#main #content p,
.modal .modal_child p {
    margin-bottom: 15px;
}