html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-family: 'BIZ UDPGothic', sans-serif;
    line-height: 1.8;
    color: #090909;
    box-sizing: border-box !important;
    min-height: 100vh;
    position: relative;
    background-color: #7b7b7b;
}

hr {
    border: solid 2px #ccc;
}

.hr {
    border-bottom: solid 2px #ccc;
}

.lh24 {
    line-height: 24px !important;
}

.lh24 * {
    line-height: 24px !important;
}

content {
    width: 100%;
    margin: auto;
    display: block;
    padding: 60px 0 0 0;
    box-sizing: border-box;
    min-height: 93vh;
}

section {
    width: calc(100vw - 330px);
    min-height: calc(100vh - 80px);
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

section {
    margin: 10px;
    overflow: hidden;
    border-radius: 10px;
}

section .contents {
    padding: 30px;
    padding-top: 20px;
}

.display_block {
    display: block;
}

.error {
    color: #ff6c6c;
}

.display_block.error {
    background-color: #ffdada;
    color: #ff2b2b;
    border-radius: 5px;
    padding: 5px 10px;
    margin: 10px 0 20px;
    position: relative;
}

.display_block.error:before {
    content: "";
    background-color: #ffdada;
    display: block;
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    position: absolute;
    top: -6px;
    left: 30px;
}

.comment,
.readme {
    background-color: #edffff;
    border-radius: 10px;
    padding: 10px 15px;
    margin-bottom: 30px;
    color: #45a3a3;
    font-weight: bold;
    position: relative;
}

.comment * {
    color: #45a3a3;
}

.readme:before {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #edffff;
    transform: rotate(45deg);
    top: -10px;
    z-index: 0;
    left: 30px;
}

.ttl {
    background-color: #edffff;
    border-radius: 10px 10px 0 0;
    padding: 10px 15px;
    margin-bottom: 0px;
    color: #45a3a3;
    font-weight: bold;
    position: relative;
    box-shadow: 2px 0px 0px 0px rgba(0, 0, 0, .1);
    border-bottom: solid 1px #c9bad5;
}

.ttl+form {
    border-radius: 0 0 10px 10px;
}

.toolbox {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 20px;
    background-color: #efefef;
    border-radius: 5px;
    overflow-x: auto;
    width: 100%;
}

.toolbox_in {
    width: max-content;
    min-width: 100%;
}

.toolbox .f_left,
.toolbox .f_right {
    float: unset !important;
}

.toolbox [name="page_per"] {
    float: inline-end;
}

.toolbox p {
    display: inline-block;
    line-height: 48px;
}

.toolbox select {
    display: inline-block;
    height: 34px;
    font-size: 14px;
    padding: 0 4px;
    max-width: 150px;
    height: 50px;
    font-size: 16px;
}

.toolbox .btn {
    height: 50px;
    padding: 8px 16px;
    margin-right: 10px;
    border-radius: 9px;
    font-size: 16px;
}

.toolbox .select_btns {
    margin-right: 10px;
    display: inline-block;
}

.toolbox .select_btns .btn {
    margin-right: -6px;
    border-radius: 0;
}

.toolbox .select_btns .btn:first-child {
    border-radius: 9px 0 0 9px;
}

.toolbox .select_btns .btn:last-child {
    border-radius: 0 9px 9px 0;
}

.sumple_code_area {
    float: right;
    width: 30%;
}

.sumple_code_area+.ttl {
    float: left;
    width: calc(70% - 20px);
}

.sumple_code_area+.ttl+form {
    float: left;
    width: calc(70% - 20px);
}

.sumple_code_area+.ttl+form:after {
    content: "";
}

.circle_btn {
    width: 50px;
    height: 50px;
    font-weight: bold;
    border: 2px solid #999999;
    color: #fff;
    text-align: center;
    border-radius: 100%;
    cursor: pointer;
    line-height: 48px;
    background-color: #999999;
    margin: auto;
    position: absolute;
    right: -25px;
    top: -25px;
}

.circle_btn i {
    line-height: 2em;
}

.circle_btn_mini {
    width: 30px;
    height: 30px;
    font-weight: bold;
    border: 2px solid #999999;
    color: #fff;
    text-align: center;
    border-radius: 100%;
    cursor: pointer;
    line-height: 28px;
    background-color: #999999;
    margin: auto;
}

.circle_btn_mini:hover,
.circle_btn:hover {
    color: #999999;
    background-color: #fff;
}

.mt_line {
    margin-top: calc(1em + 18px);
}

.mt_line2 {
    margin-top: calc(1em + 28px);
}

/*---------------------
    single
----------------------*/
#single {
    background-color: #669494;
}

#single section {
    width: 800px;
    margin: 30px auto;
    height: fit-content;
    overflow: hidden;
    min-height: unset;
    padding: 20px;
    max-width: calc(100% - 40px);
}

#single form {
    background: unset;
    box-shadow: unset;
}

#single h1 {
    background-color: #edffff;
    border-radius: 10px;
    padding: 10px 15px;
    margin-bottom: 30px;
    color: #45a3a3;
    font-weight: bold;
    position: relative;
}

/*---------------------
    ページネーション
----------------------*/
.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    margin-bottom: 10px;
    list-style: none;
}

.page-item {
    display: list-item;
    text-align: -webkit-match-parent;
    box-sizing: border-box;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    transition: opacity .2s;
    display: inline-block;
    margin: 0 10px 0 0;
    font-size: 1em;
}

.page-item .fa-solid::before {
    margin: auto 0;
}

.page-item:last-child .page-link {
    /*    color: #5cd1d1;*/
}

span.page-link {
    color: #5cd1d1;
    background-color: #faffff;
}

.page-link {
    background-color: #fff;
    border: 2px solid #5cd1d1;
    width: 46px;
    height: 46px;
    display: block;
    color: #5cd1d1;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    line-height: 42px;
}

.page-link i {
    color: #5cd1d1;
}

a.page-link:hover {
    z-index: 2;
    text-decoration: none !important;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #5cd1d1;
}

a.page-link:hover {
    opacity: 0.5;
}

.justify-content-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

.justify-content-end {
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
}

/*---------------------
    タイトル
----------------------*/
h1.title {
    height: 70px;
    line-height: 70px;
    width: 100%;
    padding-left: 20px;
    font-weight: bold;
    border-bottom: 1px solid #999999;
}

.title-area {
    display: flex;
    justify-content: space-between;
    height: 50px;
    background: linear-gradient(90deg, #368f8f, #5cd1d1, #70d6d6);
    background-color: #5cd1d1;
}

.title-area h1 {
    font-weight: bold;
    display: block;
    margin: auto auto auto 20px;
    color: #fff;
    text-shadow: 1px 1px 5px #368f8f;
    font-size: 20px;
}

.title-area .circle_btn {
    width: 40px;
    height: 40px;
    line-height: 38px;
    margin: auto 0 auto 10px;
}

.title-area .circle_btn:last-child {
    margin: auto 20px;
}

/*---------------------
       side_manu 
----------------------*/
.side_menu {
    width: 330px;
    background: #fafafa;
    background: #7b7b7b;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .2);
    z-index: 100;
}

.side_menu .title-area {
    background: unset;
    height: 60px;
    border-bottom: 1px solid #bbb;
}

.side_menu .title-area h1 {
    color: #848484;
    color: #bbb;
    text-shadow: unset;
    font-size: 20px;
}

.side_menu ul {
    /*    padding: 30px;*/
    padding-top: 0;
}

.side_menu ul li {
    font-size: 18px;
    font-weight: bold;
    line-height: 55px;
    display: block;
}

ul li a.unactive {
    opacity: 0.5;
}

.side_menu ul li span,
.side_menu ul li a {
    display: block;
    width: 100%;
    height: 100%;
    color: #848484;
    color: #eee;
    padding-left: 30px;
    border-bottom: 1px solid #bbb;
    border-top: 1px solid #777;
    background: #888;
    transition-duration: 0.25s;
    line-height: 1.6;
    padding-top: 8px;
    padding-bottom: 8px;
}

.side_menu ul li a:before {}

.side_menu ul li a:hover {
    /*    opacity: 0.5;*/
    background: #7b7b7b;
    color: #ccc;
    transform: translate(10px, 2px);
}

/*--------------------
    表テーブル１
----------------------*/
.table_scroll {
    display: block;
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
}

.table_scroll .table01 {
    margin-bottom: 0px;
}

.table01 {
    border-collapse: collapse;
    width: max-content;
    min-width: 100%;
    margin-bottom: 40px;
    border: 1px solid #00bfff;
    overflow: auto;
    font-size: 16px;
}

.table01 td,
.table01 th {
    border: 1px solid #999999 !important;
    border: 1px solid #a3dede !important;
}

.table01 td a,
.table01 th a {
    text-decoration: underline;
    color: #5ecccc;
}

.table01 td a:hover,
.table01 th a:hover {
    text-decoration: none;
    color: #38a8a8;
}

.table01 th {
    border: 1px solid #e7e7e7;
    padding: 10px;
    background: #e7e7e7;
    background: #5cd1d1;
    font-weight: bold;
    text-align: center;
    border: initial;
    vertical-align: middle;
}

.table01 tr:nth-child(odd) th {
    background-color: #ddd;
    background-color: #5cd1d1;
    color: #fff;
}

.table01 td {
    padding: 10px;
    vertical-align: middle;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #705f7c;
}

.table01 tr:nth-child(odd) td {
    background-color: #F5F5F5;
    background-color: #faffff;
}

.table01 tr:nth-child(even) td {
    background-color: #fff;
}

.table01 input[type="checkbox"] {
    margin: auto;
    display: block;
    zoom: 1.5;
}


/*--------------------
    表テーブル2
----------------------*/
.table02 {
    border-collapse: collapse;
    background-color: #efefef;
    overflow: hidden;
    width: 100%;
}

.table02 th {
    width: 150px;
    font-weight: bold;
    padding-bottom: 20px;
}

/*--------------------
    表テーブル3(ログイン)
----------------------*/
.table03 {
    margin: auto;
}

.table03 tr th {
    max-width: 160px;
    text-align: right;
    padding-right: 1em;
    margin-bottom: 10px;
    vertical-align: middle;
    padding: 10px;
    white-space: nowrap;
}

.table03 tr td {
    padding: 10px;
    width: 74%;
}

/*---------------------
        入力ボックス
----------------------*/
.input_box {
    background-color: #efefef;
    border-radius: 10px;
    padding: 25px 40px;
}

/*---------------------
        マップ表示
----------------------*/
.mapimage {
    background-size: contain;
}

.mappin {
    font-size: 60px;
    color: #81ae42;
    -webkit-text-stroke: 2px #FFF;
}

/*---------------------------------------
                ログイン
---------------------------------------*/
.pw-area {
    position: relative;
    padding: auto 0 !important;
    margin-bottom: 30px;
}

.pw-area .fa {
    position: absolute;
    top: 25px;
    right: 10px;
    transform: translate(-50%, -50%);
    width: 23px;
    text-align: center;
}

#single .pw-area .fa {
    top: 35px;
}

/*---------------------------------------
                管理画面
---------------------------------------*/
/*top画面*/
.top_glid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.top_glid .glid_item {
    display: inline-block;
    margin: 20px;
    margin-bottom: 10px;
    border: 1px solid #c5aed6;
    padding-bottom: 100px;
    border-radius: 10px;
    position: relative;
}

.glid_item h2 {
    color: #fff;
    background-color: #45a3a3;
    padding: 5px 16px;
    border-radius: 10px 10px 0 0;
}

.glid_item h2+div {
    padding: 4px 20px;
}

.glid_item .txtCenter {
    position: absolute;
    bottom: 30px;
    text-align: center;
    width: 100%;
    left: 0;
}

.glid_item .btn {
    max-width: 80%;
    width: 15em;
}

/*-----------------------------------------
    画像の登録時
------------------------------------------*/

.preview_box {
    position: relative;
    max-width: 100%;
    width: 500px;
    display: block;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
    margin-top: 10px;
}

.preview_box .close_btn {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 26px;
    height: 26px;
    background-color: #fff;
    text-align: center;
    line-height: 26px;
    border-radius: 13px;
    cursor: pointer;
}

.preview_box .close_btn i {
    margin: 0;
}

.preview_box img {
    width: 100%;
}

/*-----------------------------------------
    関係図
------------------------------------------*/

.scenario_layer {
    float: left;
    height: 100%;
}

.relationships_wrap {
    position: relative;
    height: calc(100vh - 130px);
    width: 100%;
    overflow: scroll;
    padding-top: 0px;
}

.relationships_wrap .btn {
    position: fixed;
    right: 20px;
    top: 80px;
    height: 30px;
    line-height: 30px;
    padding: 0 17px;
    font-size: 14px;
    border-radius: 7px;
}

.relationships {
    position: relative;
    height: 100%;
    width: max-content;
}

.relationships:after {
    content: "";
    display: block;
    clear: both;
}

.scenario {
    width: 300px;
    border: 1px solid #ccc;
    height: 70px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin: 20px 0 0 40px;
    background-color: #fff;
    z-index: 2;
    box-shadow: 3px 3px 3px 0px #0000001a;
}

.scenario:hover {
    background-color: #eaffff !important;
}

.scenario.ng {
    background-color: #eee;
}

.scenario.start {
    background-color: #fcffce;
}

.scenario.end {
    background-color: #ffeaea;
}

.scenario i {
    font-size: 20px;
    color: #009191;
}

.scenario .icon_btn.edit {
    display: inline-block;
    line-height: 70px;
    margin-left: 20px;
}

.scenario .icon_btn.del {
    display: inline-block;
    line-height: 70px;
}

.scenario .icon_btn.link_del {
    display: inline-block;
    line-height: 70px;
}

.scenario .inner {
    display: inline-block;
    line-height: 70px;
    margin-left: 0px;
    /*    width: 200px;*/
    width: 160px;
    height: 100%;
    overflow: hidden;
}

/*.scenario_wrap .scenario .inner {
    width: 160px;
}
*/
.scenario .name {
    display: block;
    padding-top: 10px;
    line-height: 25px;
    width: 100%;
    height: 50%;
    font-size: 16px;
    overflow: hidden;
}

.scenario .id {
    display: block;
    line-height: 25px;
    width: 100%;
    height: 50%;
    font-size: 12px;
    padding-bottom: 10px;
    overflow: hidden;
}

.free_scenario_wrap {
    /*position: absolute;
    bottom: 20px;
    left: 20px;*/
    position: relative;
    border: 1px solid #ccc;
    width: 400px;
    box-shadow: 3px 3px 3px 0px #0000001a;
    border-radius: 10px;
    z-index: 2;
    height: 463px;
    margin-top: -500px;
    margin-left: 20px;
}

.ar_left,
.ar_right {
    cursor: pointer;
    display: inline-block;
    font-size: 30px;
    float: right;
}
.ar_left:hover,
.ar_right:hover{
    opacity: 0.6;
}

.ar_left {}

.ar_right {}

.free_scenario_ttl {
    height: 42px;
    width: 100%;
    background-color: #ccc;
    color: #fff;
    line-height: 42px;
    padding: 0 15px;
    font-weight: bold;
}

.free_scenario {
    padding: 0 15px;
    line-height: 42px;
    height: 42px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    overflow: hidden;
}