@charset "utf-8";

body{
  position: relative;
  background-color:#292929;
  color:#fff;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Meiryo", "Yu Gothic", sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

body >#main {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
:root {
  --header-outer-height: 3.5rem;
  --header-inner-height: 2rem;
  --header-height-difference: calc(
    var(--header-outer-height) - var(--header-inner-height)
  );
}
#header {
  position: fixed;
  position: sticky;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  background-color: #000011cc;
  color: #ffffffcc;
  height: var(--header-outer-height);
  top: calc(
    var(--header-height-difference) * -1
  );
  z-index: 10;
  transition: all .5s ease-out;
}
#header.scl {
  color: #ffffff99;
  background-color: #00001166;
}
#header >div {
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  height: var(--header-inner-height);
}
#header p {
  display: inline-block;
  width: fit-content;
  margin: 0 0 0 .5rem;
}
#header p.logout {
  margin: 0 .25rem 0 auto;
}
#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 3rem;
  height: fit-content;
  display: flex;
  flex-direction: column;
  z-index: 2;
}
#footer >div span {
  display: inline-block;
  white-space: nowrap;
}
.footerlinks {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  min-width: 80%;
  width: fit-content;
  padding: 0;
  margin: 0 auto;
}
.footerlinks li {
  margin: 0 2px;
  padding: 1px;
  list-style: none;
}
.footerlinks li >p {
  margin: 1px;
  padding: 1px;
  white-space: nowrap;
}
p.link {
  color: #ffffff99;
}
p.link:hover {
  cursor: pointer;
  color: #ffffff;
}
.copyright {
  position: fixed;
  bottom: 5px;
  right: 5px;
  width: fit-content;
  height: fit-content;
  font-size: 11px;
  color: #999;
}
.copyright >span:first-of-type {
  margin-right: 1rem;
}

.menu-btn {
  position: fixed;
  bottom: 2px;
  left: 2px;
  display: flex;
  height: 50px;
  width: 50px;
  background-color: #00001155;
  border-radius: 3px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  transition: all 0.5s;
}
.menu-btn:hover {
  background-color: #000011cc;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #ffffff99;
  position: absolute;
  transition: all 0.5s;
}
.menu-btn span:before {
  bottom: 8px;
}
.menu-btn span:after {
  top: 8px;
}
#menu-btn-check:checked ~ .menu-btn,
#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(255, 255, 255, 0);
}
#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}
.menu-content {
  width: 100%;
  min-height: 52px;
  height: fit-content;
  position: fixed;
  bottom: -120px;
  left: 0;
  z-index: 80;
  background-color: #000011cc;
  transition: all 0.5s;
}
#menu-btn-check:checked ~ .menu-content {
  bottom: 0;/*メニューを画面内へ*/
}
.menu-content ul {
  padding: 10px;
}
.menu-content ul li {
  border-bottom: solid 1px #ffffff00;
  list-style: none;
}
.menu-content ul li:not(.formli):hover {
  cursor: pointer;
  border-bottom: solid 1px #ffffff99;
  transition: all 0.5s;
}
.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color:#ffffff99;
  text-decoration: none;
  padding: 9px 15px 10px 0;
  position: relative;
}
.menu-content ul li a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: solid 2px #ffffff99;
  border-right: solid 2px #ffffff99;
  transform: rotate(45deg);
  position: absolute;
  right: 11px;
  top: 16px;
}
#menu-btn-check {
  display: none;
}
#mainview {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 0 3rem 0;
  height: calc( 100vh - 3rem );
  overflow-y: auto;
}
#scrolltop {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  color: #999;
  background-color: #eeeeeedd;
  border: 1px solid #999;
  border-radius: .25rem;
  position: fixed;
  bottom: -2.5rem;
  right: 1rem;
  transition: all 0.5s;
  z-index: 100;
}
#scrolltop.active {
  bottom: 3rem;
}
/* スライダー */
.sliderArea {
  position: relative;
  max-width: 100%;
  max-height: 100vh;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 1;
}
.sliderArea * {
  box-sizing: border-box;
}
.show_slider {
  position: absolute;
  overflow: hidden;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0 auto;
  padding: 20px 0 50px 0;
}
.show_slider .slide_img {
  position: absolute;
  display: inline-block;
  margin: 0;
  padding: 0;
  top: 0;
  opacity: 0.5;
}
.show_slider .slide_img.active {
  opacity: 1;
}
.show_slider .slide_img img {
  max-width: 100vw;
  max-height: 100vh;
  object-fit: cover;
}
/* .data_filter */
.data_filter {
  position: sticky;
  top: calc(
    var(--header-inner-height) * 1
  );
  padding: .25rem .5rem .25rem .5rem;
}
.dataview_area {
  position: relative;
  z-index: -1;
  padding: .125rem .5rem 5rem .5rem;
}
/* .table.datalist */
.table {
  border-collapse: collapse;
}
.table th,
.table td {
  border: 1px solid #eee;
  color: #f3f3f3;
}
.table thead th {
  background-color: #135;
  white-space: nowrap;
}
.table thead td {
  background-color: #135;
}
.table tbody tr:nth-child(even) td {
  background-color: #333;
}
.table tbody tr:nth-child(odd) td {
  background-color: #000;
}
.table.mtlist tbody tr.visited td {
  background-color: #164;
}
.table.mtlist tbody tr.mtrow td:nth-child(2) {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  padding: 0;
  background-clip: padding-box;
}
.table.mtlist tbody tr.mtrow td>label.chk_label {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
label.chk_label:hover {
  cursor: pointer;
}
tr.mtrow label.chk_label [type="checkbox"] {
  height: 20px;
  width: 20px;
  margin: .125rem;
}

/* history */
body.history {
  background-color: #fff;
}
#visited_history_form {
  color: #122;
  background-color: #f3f3f399;
  position: sticky;
  top: calc(
    var(--header-inner-height) * 1
  );
  width: auto;
  padding: .25rem .5rem;
}
.boxs {
  display: flex;
  flex-direction: column;
  padding-top: .25rem;
}
.boxs fieldset {
  border: 2px solid #999;
  border-radius: .5rem;
  margin: 0 .5rem .75rem .5rem;
  background-color: #f3f3f3;
  box-shadow: 0px 1px 5px 2px #ddd;
  color: #122;
}
.boxs .form-group .form-group-text,
.boxs .form-group .formInput,
.boxs .form-group .formTextarea {
  border: 0;
  background-color: #f3f3f3;
}
.boxs .form-group .form-group-text {
  line-height: 1.8rem;
}
.boxs .form-group .formTextarea {
  resize: none;
  scrollbar-width: thin;
}
.boxs .form-group .formTextarea.user_memo {
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Meiryo", "Yu Gothic", sans-serif;
}
.boxs .form-group .formInput.dp {
  width: 85px;
  text-align: center;
}
.boxs .mt_name {
  display: inline-flex;
  align-items: center;
  width: 100px;
  font-weight: 700;
}
.boxs .fsm {
  font-size:12px;
}
.thmbbox {
  display: grid;
  grid-template-columns: repeat(3, 50px);
  grid-template-rows: 50px;
  justify-content: end;
  gap: 2px;
  max-width: 50%;
  margin-left: auto;
}
@media screen and (min-width:480px) {
  .thmbbox {
    grid-template-columns: repeat(4, 50px);
  }
}
@media screen and (min-width:540px) {
  .thmbbox {
    grid-template-columns: repeat(5, 50px);
  }
}
.imgbox {
  width: 50px;
  height: 50px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #eee;
  overflow: hidden;
}
.imgbox img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}
.imgbox.setimg {
  border: 3px dashed #ccc;
  font-size: 24px;
  font-weight: 700;
  color: #ccc;
  background-color: #eee;
  line-height: 1rem;
}

#set_newplace_formbox,
#thmb_img_box {
  position: fixed;
  top: 2rem;
  bottom: 0;
  left: 0;
  right: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.5rem;
  background-color: #000000cc;
}
#set_newplace_formbox.d-none,
#thmb_img_box.d-none {
  display: none;
  position: relative;
  margin: 0;
  padding: 0;
  width: 0;
  height: 0;
  overflow: hidden;
}
#set_newplace_formbox.active fieldset {
  border-radius: .5rem;
  background-color: #fff;
  border-color: #ccc;
}
#set_newplace_formbox.active fieldset .formInput {
  width: 80vw;
  font-family: 'Meiryo';
  font-size: 14px;
}
#set_newplace_formbox.active fieldset .formTextarea {
  width: 80vw;
  font-family: 'Meiryo';
  font-size: 14px;
  height: 5rem;
  resize: none;
}
#thmb_img_box.active {
  background-color: #00000099;
}
#thmb_img {
  max-width: 90vw;
  max-height: 70vh;
  object-fit: cover;
}
.upload_btns {
  display: flex;
  justify-content: space-around;
  width: 80vw;
  padding-top: .5rem;
}
.upload_btns button{
  line-height: 1.5rem;
}
#thmb_img_box.active .upload_btns {
  display: none;
}
#thmb_img_box .delete_btns {
  display: none;
}
#thmb_img_box.active .delete_btns {
  display: flex;
  justify-content: space-around;
  width: 80vw;
  padding-top: .5rem;
}

.chat-box {
  position: fixed;
  top:0;
  bottom:0;
  left:0;
  right:0;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #9cccff;
}
.chat-box .chat-area {
  position: fixed;
  top:0;
  bottom: 6rem;
  left:0;
  right:0;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 4rem .125rem .125rem .125rem;
  width: 100vw;
}
.chat-box .chat-area .box {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: .5rem;
}
.chat-box .chat-area .box.mybox {
  flex-direction: row-reverse;
}
.chat-box .chat-area .box p.chattxt {
  position: relative;
  display: inline-flex;
  min-width: 2rem;
  max-width: calc( 100vw - 180px );
  width: fit-content;
  margin: 1px;
  background-color: #eeffee;
  color: #111;
  margin-left: .75rem;
  margin-right: 0;
  padding: .25rem .5rem .25rem .5rem;
  border-radius: .5rem;
  filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.3));
}
.chat-box .chat-area .box.mybox p.chattxt {
  background-color: #5cf578;
  margin-left: 0;
  margin-right: .75rem;
  padding: .25rem .75rem .25rem .5rem;
  border-radius: .5rem;
}
.chat-box .chat-area .box p.chattxt::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 5px;
  background-color: #eeffee;
  clip-path: polygon(100% 0%, 0% 50%, 100% 100%);
  left: -10px;
}
.chat-box .chat-area .box.mybox p.chattxt::before {
  background-color: #5cf578;
  clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
  left: auto;
  right: -10px;
}
.chat-box .chat-area .box .user_icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  max-width: 50px;
  min-width: 50px;
  overflow: hidden;
}
.chat-box .chat-area .box .user_icon img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}
.chat-box .chat-area .box .user_icon >span {
  white-space: nowrap;
}

.chat-box .chat-area .dbar {
  display: flex;
  justify-content: center;
  align-items: center;
}
.chat-box .chat-area .dbar>span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  font-size: 13px;
  background-color: #ffffff99;
  color: #11111199;
  padding: .125rem 1rem;
  border-radius: 1rem;
}

.chat-box .send-box {
  position: fixed;
  bottom: 3.2rem;
  left:0;
  right:0;
  overflow: hidden;
  margin: 0;
  padding: .125rem;
  width: 100vw;
  min-height: 1.8rem;
  max-height: 5rem;
  height: fit-content;
}
.chat-box .send-box >.form-group{
  width: calc( 100% - .25rem );
}
.chat-box .send-box >.form-group #textarea{
  margin: 0;
  border-right: 0;
  width: 100%;
  min-height: 1.8rem;
  max-height: 5rem;
  resize: none;
  font-family: 'Meiryo';
}

.chat-box .send-box >.form-group #chatsubmit{
  width: 4rem;
}