* {
  box-sizing: border-box;
  font-family: "Yu Gothic","YuGothic","メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","Helvetica,sans-serif" ;
}
a:link    { color: inherit; text-decoration:none; }
a:visited { color: inherit; text-decoration:none; }
a:hover   { color: inherit; text-decoration:none; }
a:active  { color: inherit; text-decoration:none; }
html{
  height:100%;
  font-size: 100%;
}
body {
  height: 100%;
  line-height: 1;
  margin: 0;
  padding: 0;
  position: relative;
}
header {
  display: block;
  height: 80px;
  background-color: #de82a7;
}
input[type="radio"] {
  margin: 3px 3px 0 5px;
}
input[type="datetime-local"], input[type="date"] {
  line-height: normal;
}
main {
  width: 100%;
  height: calc(100vh - 80px);
  display: flex;
}
h1,h2 {
  margin: 0;
  padding: 0;
  font-size: 1.25rem;
  font-weight: normal;
  display: inline-block;
  line-height: 1;
}
h3 {
  margin: 0;
  padding: 0;
  font-size: 1.125rem;
  font-weight: normal;
  display: inline-block;
  line-height: 1;
}

/* button */
button  {
  font-size: 1rem;
  line-height: normal;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  background-color: #D8D8D8;
}
button:hover {
  opacity: 0.6;
}
.large-button {
  position: relative;
  display: inline-block;
  padding: 0.625rem 0.9375rem;
  border: none;
  border-radius: 0.3125rem;
  min-width: 7.8125rem;
  line-height: normal;
  cursor: pointer;
  text-align: center;
}
.medium-button {
  padding: 0.625rem 0.9375rem;
  border: none;
  border-radius: 0.3125rem;
  min-width: 6.25rem;
  line-height: normal;
}
.thin-button {
  display: inline-block;
  padding: 0.625rem 0.9375rem;
  max-width: 6.25rem;
  border-radius: 0.3125rem;
  line-height: 1;
  position: relative;
}
.submit-button-color {
  color: #fff !important;
  background-color: #eb6100;
  border: none;
}
.cancel-button-color {
  color: #fff !important;
  background-color: #c6c6c6;
  border: none;
}
.cancel-button-color:hover {
  opacity: 0.6;
}

.graph-field-background-color {
  background-color: #F0F8FF;
}
/* text-color */
.sub-label-color {
  color: rgb(0, 157, 255);
}
.link-color {
  color: #0d6efd !important;
}
.font-white {
  color: #fff !important;
}
.table-header-bg {
  background-color: rgb(248, 248, 248);
}
.table-header-text {
  color: rgb(102, 102, 102);
}
.header-text {
  color: rgb(80, 80, 80);
}
.text-underline {
  text-decoration: underline 2px rgb(102, 102, 102);
}

/* font-size */
.font-xs {
  font-size: 0.75rem;
}
.font-sm {
  font-size: 0.875rem;
}
.font-base {
  font-size: 1rem;
}
.font-lg {
  font-size: 1.125rem;
}
.font-xl {
  font-size: 1.25rem
}
.font-2xl {
  font-size: 1.375rem;
}
.font-3xl {
  font-size: 1.5rem;
}
.font-4xl {
  font-size: 1.625rem;
}
.font-5xl {
  font-size: 1.75rem;
}
.font-6xl {
  font-size: 1.875rem;
}

/* font-weight */
.font-normal {
  font-weight: 400;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}
.font-extrabold {
  font-weight: 900;
}

/* box-shadow */
.shadow-button {
  box-shadow: 3px 3px 4px 0 #ccc
}

.form-container {
  padding: 40px 50px;
}
.message-container {
  padding: 40px 50px;
  position: relative;
  min-height: 350px;
}

/* header */
.logo-container {
  width: 100%;
  height: 100%;
  min-height: 80px;
  max-height: 100px;
  display: flex;
  justify-content: space-between;
}
.mypage_link {
  margin: 0 10px;
  display: flex;
  gap: 10px;
}
.mypage_link a {
  color: #fff;
  padding: 0 10px;
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.mypage_link__sp {
  display: none;
}
.plan-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: auto;
  margin-left: 30px;
  color: #fff;
  font-size: 1.25rem;
}
.plan-container div {
  margin-right: 15px;
}
.menu-sp {
  display: none;
}
.header-logo-link {
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem;
}
.header-logo-pc {
  height: 75%;
}
.header-logo-sp {
  display: none;
}

/* menu */
.menu {
  background-color: #273b69;
  width: 15%;
  min-width: 180px;
  max-width: 250px;
  overflow-y: auto;
}
.menu__hr {
  width: 90%;
  margin: 0.5em auto;
  border-width: 1px;
  opacity: 1;
  color: #fff;
  border-style: inset;
}
.menu-list {
  padding: 0 0 0 20px;
  margin: 1em 0;
}
.menu-list__item {
  list-style-type: none;
  line-height: 3;
}
.menu-list__item:not(:first-child) {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-left: 16px;
  color: #fff;
}
.menu-list__item.active {
  color: #000;
}
.menu-list__title {
  line-height: 3;
  color: #fff;
}
.menu-list__text {
  color: red;
}
.menu-list__link {
  color: #fff;
}
.menu-list__link:hover {
  text-decoration:underline;
}
.menu-list__link.active {
  color: #000;
  border: 2px solid white;
  background-color: white;
  padding: 5px;
  border-radius: 5px;
}

.main {
  overflow: auto;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.main__inner {
  padding: 20px 30px;
}
.main__title {
  margin-bottom: 20px;
  display: block;
}
.main__video {
  position: relative;
  padding: 10px;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.movie {
  margin: 20px;
}
.movies {
  margin: 10px auto;
}

/* search condition */
.search-form {
  position: relative;
  top: 0;
  width: 100%;
  box-shadow: 0px 2px 2px 1px #ccc;
  padding: 20px 50px 15px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.search-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.search-item__list {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-item__radio-list {
  display: flex;
  align-items: center;
  min-height: 30px;
  gap: 10px;
}
.search-item__input-box.hidden {
  display: none;
}

.search-item__date-input-box {
  display: flex;
}
.search-form__date-input {
  border-bottom: 1px solid;
  border-top: 0;
  border-right: 0;
  border-left: 0;
}
.search-form__button {
  margin: 0;
  padding: 10px 15px;
  max-width: 100px;
  border-radius: 5px;
  line-height: 1;
  position: relative;
}

/* message */
.message__title {
  margin: 20px 0 10px;
}
.link-list {
  width: fit-content;
  margin: 0 auto;
  text-align: left;
  padding: 10px 0 20px;
  line-height: 2.0;
  list-style: none;
  position: absolute;
  bottom: 0;
}
.message-list {
  min-height: 150px;
}
.message-list__item {
  padding: 5px 0;
}
.underline {
  text-decoration: underline !important;
}

/* upload */
.upload-form {
  display: block;
  margin: 20px auto;
}
.upload-form-input-group {
  max-width: 300px;
}
.input-container {
  margin-bottom: 25px;
}
.select-container {
  position: relative;
}
.select-container::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 12px;
  height: 12px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  pointer-events: none;
}
.upload-from__label {
  margin-bottom: 2px;
}
.upload-form__input {
  display: block;
  width: 100%;
  padding: 15px 10px;
  border: 0.1em solid #dfdfdf;
  border-radius: 5px;
}
.upload-form__selector {
  -webkit-appearance: none;
  appearance: none;
  line-height: normal;
}
.upload-form__date-picker {
  display: block;
  width: 100%;
  padding: 15px 10px;
}
.upload-button-container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 2.5rem 0;
}
.upload-button {
  margin: 40px 20px 40px 0;
  padding: 10px 15px;
  display: block;
  border-radius: 5px;
}
.circle-icon {
  display: none;
}
.dropbox {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  margin: 40px 0 0;
  width: 500px;
  height: 250px;
  background-color: #FFF;
  border: 3px dashed #828282;
  color: #333;
}
.dropbox__title {
  margin: 0;
  line-height: 2;
  text-align: center;
}
.dropbox .input-file-wrapper {
  position: relative;
}
.dropbox .input-file-wrapper .file-input-button {
  position: relative;
  width: 300px;
  height: 80px;
  border: 1px solid #828282;
  border-radius: 10px;
  background-color: #828282;
  cursor: pointer;
}
.dropbox .input-file-wrapper .file-input-button span {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  white-space: nowrap;
}
.dropbox .input-file-wrapper .file-input-button:hover {
  opacity: 0.6;
}
.dropbox .selected-file-message {
  display: none;
}
.dropbox .file-load-icon {
  display: none;
}
.dropbox .file-upload-circle-icon {
  color: #32c35e;
}
.dropbox .selected-file-message span:nth-child(1) {
  opacity: 1;
}
.dropbox .selected-file-message span:nth-child(2) {
  opacity: 0;
}
.dropbox .input-file-wrapper input {
  display: none;
}
.dropbox .upload-file-name {
  position: absolute;
  top: 105%;
  left: 0;
  display: none;
  align-items: baseline;
}
.dropbox .upload-file-name .file-name {
  margin-left: 5px;
}
.input-file {
  display: none;
}
.file-upload-icon {
  color: #828282;
}
.check-circle-icon {
  color: #32c35e;
  position: relative;
}
.check-circle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  background: #FFF;
  border-radius: 50%;
  width: 0.8em;
  height: 0.8em;
  line-height: 1;
}
.input-form-item {
  display: flex;
  align-items: end;
  margin-top: 20px
}
.error-message {
  margin: 0;
  color: red;
}
.upload_time {
  display: block;
  padding: 1px 2px;
}
.upload_time_p {
  margin-top: 30px;
}
.frame {
  width: 400px;
  height: 500px;
  margin: 20px auto;
}
#video {
  width: 100%;
  height: auto;
}
.graph-field {
  padding: 30px 50px;
  flex: 1;
}
.graph-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.graph-top-left {
  display: flex;
}
.graph {
  margin: 50px 0 20px;
  background-color: #fff;
  padding: 20px 0;
  position: relative;
}


/* analysis result info */
.term-box {
  display: flex;
  gap: 10px;
  line-height: 1.5;
}

/* summary */
.summary {
  display: flex;
  flex-wrap: wrap;
  gap: 15px
}
.summary-container {
  display: flex;
  flex-direction: column;
  padding: 10px;
  box-shadow: 2px 1px 7px 1px #ccc;
  background-color: #FFF;
  gap: 10px;
}
.summary-title {
  border-bottom: 2px solid #ccc;
  padding-bottom: 3px;
}
.summary-title__label {
  margin: 0;
}
.summary-list {
  display: flex;
  gap: 15px;
  flex: 1;
}
.summary-item {
  margin-left: 5px;
  padding-right: 10px;
}
.summary-item:not(:last-child) {
  border-right: 2px solid #ccc;
}
.summary-item__title {
  margin: 5px 0 10px;
  color: #4d5156;
}
.summary-grid {
  display: grid;
  gap: 20px 10px;
}
.summary-all-grid, .summary-user-grid {
  grid-template-columns: repeat(1, 1fr);
}
.summary-gender-grid {
  grid-template-columns: repeat(2, 1fr);
}
.summary-age-grid {
  grid-template-columns: repeat(6, 1fr);
}
.summary-grid__main-text {
  color: #4d5156
}
.summary-grid__sub-text {
  margin: 0;
  color: gray;
  padding-left: 1px;
}
.graph-button-form {
  position: absolute;
  top: 10px;
  right: 45px;
  z-index: 1;
}

.graph-warning-label {
  margin: 0;
  display: inline;
}
.csv-download-button-container {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
}
.csv-download-button {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  max-width: 110px;
  border: 1px solid gray;
  border-radius: 5px;
  padding: 5px 10px;
  font-weight: 500;
}
.search-condition-spinner::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  display: block;
  top: 50%;
  left: 50%;
  border: 4px solid gray;
  border-radius: 50%;
  border-top-color: transparent;
  animation: dl-spinner 1s infinite linear;
}
.download-spinner::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  display: block;
  top: 50%;
  left: 50%;
  border: 4px solid rgba(26, 190, 20, 1);
  border-radius: 50%;
  border-top-color: transparent;
  animation: dl-spinner 1s infinite linear;
}
@keyframes dl-spinner {
  from {
      transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
      transform: translate(-50%, -50%) rotate(360deg);
  }
}
.csv-download-button i {
  padding-right: 5px;
  color: green;
}
.page-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 5px 0;
}
.pagination-button-wrapper {
  display: flex;
  margin: 0 15px;
}
.previous,.next {
  border: 1px solid #fff;
  background: none;
  padding: 5px 10px;
  border-radius: 5px;
}
.previous {
  display: none;
}
.next {
  display: inline-block;
}
.previous::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #333;
  border-left: 2px solid #333;
  transform: rotate(315deg);
  pointer-events: none;
  display: inline-block;
  margin-right: 4px;
  border-color: #0d6efd;
}
.next::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
  pointer-events: none;
  display: inline-block;
  margin-left: 4px;
  border-color: #0d6efd;
}
.previous:hover, .next:hover {
  opacity: 0.6;
  border-color: #ccc;
}
.previous-movie,.next-movie {
  display: block;
}
.page-jump-input {
  width: 50px;
  margin-right: 6px;
  text-align: right;
}
.page-jump-button {
  border: solid 1px #ccc;
  padding: 3px 10px;
}
.return {
  padding: 10px;
  text-align: center;
}
.graph-video {
  width: 70%;
  margin: 20px auto;
}
.graph-video video {
  width: 100%;
}
.mypage {
  margin: 40px 50px;
}
.mypage h2 {
  margin-bottom: 20px;
}
.user-info-container {
  margin: 30px 0;
}
.input__label {
  display: inline-block;
  padding-bottom: 3px;
}
.user-info-input-container {
  position: relative;
  width: 60%;
  max-width: 800px;
}
.user-info-show__input {
  width: 100%;
  display: block;
  padding: 10px 15px;
  border: 0.1em solid #dfdfdf;
  border-top: none;
  border-right: none;
  border-left: none;
}
.user-info-show__input:focus {
  outline: none;
}
.user-info-change__link {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
}
.video_area {
  height: 100%;
  width: auto;
  background-color: rgba(125, 125, 125, 0.5);
  text-align: center;
  z-index: -1;
}
#videoElement {
  width: 100%;
  max-height: 100%;
}
.rec_start {
  display: flex;
  position: absolute;
  left: 50%;
  bottom: calc(20px + 10px);
  width: 100px;
  height: 100px;
  background-color: transparent;
  border-radius: 50%;
  border: 4px solid #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translate(-50%, -100%);
  padding: 0;
  margin: 0;
}
.rec_start::after {
  content: "";
  width: 70px;
  height: 70px;
  background-color: #fff;
  border-radius: 50%;
  position: inherit;
}
.rec_start:hover {
  opacity: 0.6;
}
.rec_stop {
  display: none;
  position: absolute;
  left: 50%;
  bottom: calc(20px + 10px);
  width: 100px;
  height: 100px;
  background-color: red;
  border-radius: 50%;
  border: 4px solid #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translate(-50%, -100%);
}
.rec_stop::after {
  content: "";
  width: 25px;
  height: 25px;
  background-color: #fff;
  border-radius: 5px;
  position: inherit;
}
.rec_stop:hover {
  opacity: 0.6;
}
.spinner-container {
  display: none;
  position: absolute;
}
.spinner {
  width: 100px;
  height: 100px;
  border: 10px solid rgba(255, 255, 255, 0.2);
  border-top-color: #FFF;
  border-radius: 100%;
  animation: rec-spin 1s infinite linear;
}
@keyframes rec-spin {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}
.rec-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 20px;
  left: 50%;
  height: 45px;
  background-color: red;
  border-radius: 15px;
  border: 2px solid #fff;
  transform: translateX(-50%);
  padding: 0 15px;
}

.camera-change-field {
  position: absolute;
  padding: 10px;
  top: 20px;
  right: 20px;
  z-index: 0;
}
.camera-change {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  padding: 0;
  color: #fff;
  width: 60px;
  height: 60px;
  border: 4px solid #fff;
  border-radius: 50px;
  border-top-color: transparent;
  border-bottom-color: transparent;
  background-color: transparent;
  cursor: pointer;
}
.camera-change::after,
.camera-change::before {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  transform: rotate(-45deg);
}
.camera-change::before {
  border-left: 16px solid #fff;
  top: -11px;
  left: 3px
}
.camera-change::after {
  border-right: 16px solid #fff;
  bottom: -11px;
  right: 3px
}
.camera-change-circle {
  display: flex;
  position: relative;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #fff;
  justify-content: center;
  align-items: center;
}
.camera-change-circle::before {
  content: "";
  width: 80px;
  height: 80px;
  background-color: rgba(125, 125, 125, 0.5);
  position: absolute;
  z-index: -1;
  border-radius: 15px;
}
.camera-change:hover .camera-change-circle::before {
  background-color: rgba(125, 125, 125, 1);
}
.change-camera-combo {
  position: absolute;
  top: 20px;
  left: 30px;
  padding: 10px;
  width: 40%;
  max-width: 300px;
  min-width: 100px;
  cursor: pointer;
  background-color: rgba(125, 125, 125, 0.5);
  border-radius: 15px;
}
.change-camera-combo:hover {
  background-color: rgba(125, 125, 125, 1);
}
.change-camera-combo__label {
  display: inline-block;
  padding-bottom: 3px;
  cursor: pointer;
}
.change-camera-combo__select {
  width: 100%;
  border: 0.1em solid #dfdfdf;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}
.camera-name-cell-container {
  display: flex;
  gap: 10px;
}
.camera-name-change-modal-body {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.video-form {
  padding: 0 20px;
  display: none;
}
.size {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #fff;
}
.radio-select-title {
  display: flex;
  align-items: flex-end;
  margin: 20px 0;
}
.radio-select-title .error-message {
  margin-left: 10px;
}
.input-form {
  padding: 20px 0;
}
.input-form__label {
  display: block;
  padding-bottom: 3px;
}
.input-form__input {
  width: 100%;
  border: 0.1em solid #dfdfdf;
  padding: 10px 15px;
  border-radius: 5px;
}
.camera-form-button {
  margin: 20px 0;
  padding: 0.625rem 0.9375rem;
  color: #fff;
  background-color: #eb6100;
  border: none;
  border-radius: 5px;
  width: 7.8125rem;
  line-height: normal;
}

.change-camera-button {
  margin: 20px;
  padding: 10px 15px;
  color: #fff;
  background-color: #eb6100;
  border: none;
  border-radius: 5px;
}
.camera-form-button__this {
  background-color: #76f500;
}
.camera-form-button__this:hover {
  background-color: #76f500;
}
.red-trash {
  color: red;
}
.download-icon {
  color: #eb6100;
}
.disabled-icon {
  color: #333;
}
.disabled-anchor {
  opacity: 0.3;
  color: #333;
  text-decoration: none;
}
.not-allowed-cursor {
  cursor: not-allowed;
}
.overflow-x-scroll {
  overflow-x: auto;
}
.cameras-table .camera-info-row .camera-name-cell {
  word-wrap: break-word;
  position: relative;
}
.movies-list-container {
  padding: 0 20px;
}
.movies-list-container h2 {
  margin: 20px 0;
}
.camera-selector {
  flex: 1;
  width: 60%;
  max-width: 600px;
  min-width: 100px;
}
.camera-selector__label {
  display: inline-block;
  padding-bottom: 3px;
  cursor: pointer;
}
.camera-selector__select {
  width: 100%;
  border: 0.1em solid #dfdfdf;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}
.movies-table-container {
  margin: 50px 0 0;
}
.table-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px
}
.movies-table, .cameras-table, .user-table {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
  margin: 10px 0;
  width: 100%;
  min-width: 560px;
}
.movies-table__header-cell, .cameras-table__header-cell, .user-table__header-cell {
  border-top: 1px solid #ccc;
  border-bottom: 2px solid #ccc;
  text-align: left;
  padding: 10px 0;
}
.movies-table__header-cell:first-child, .cameras-table__header-cell:first-child, .user-table__header-cell:first-child {
  border-left: 1px solid #ccc;
  border-radius: 6px 0 0 0;
}
.movies-table__header-cell:last-child, .cameras-table__header-cell:last-child, .user-table__header-cell:last-child {
  border-right: 1px solid #ccc;
  border-radius: 0 6px 0 0;
}
.movies-table__row:nth-child(even), .cameras-table__row:nth-child(even), .user-table__row:nth-child(even) {
  background-color: rgb(248, 248, 248);
}
.cameras-table__row {
  cursor: pointer;
}
.cameras-table__row:hover {
  opacity: 0.6;
}
.cameras-table__row:hover .camera-table__link::after {
  visibility: visible;
}
.movies-table__data-cell, .cameras-table__data-cell, .user-table__data-cell {
  border-bottom: 1px solid #ccc;
  text-align: left;
  padding: 8px 0 8px 8px;
}
.movies-table__data-cell:first-child, .cameras-table__data-cell:first-child, .user-table__data-cell:first-child {
  border-left: 1px solid #ccc;
}
.movies-table__data-cell:last-child, .cameras-table__data-cell:last-child, .user-table__data-cell:last-child {
  border-right: 1px solid #ccc;
}
.camera-table__link {
  display: inline-block;
}
.movies-table__download-link, .camera-table__link {
  word-break: break-all;
  position: relative;
}
.movies-table__download-link::after, .camera-table__link::after {
  position: absolute;
  left: 50%;
  content: '';
  width: 115%;
  height: 1px;
  background: #000000;
  bottom: -5px;
  visibility: hidden;
  transform: translate(-50%, -50%);
}
.movies-table__download-link:hover::after {
  visibility: visible;
}

.movies-table__icon, .cameras-table__icon {
  margin-left: 5px;
}
.cameras-table__icon {
  color: rgb(102, 102, 102);
}
.camera-table__grid {
  padding-top: 2px;
  padding-bottom: 2px;
}
.movies-table__execution-link {
  text-decoration: none;
  color: rgb(102, 102, 102);
  cursor: pointer;
}
.movies-table-name {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-end;
}
.movies-table__title {
  margin: 0;
}
.reload-button {
  padding: 0.625rem 1rem;
  color: #fff;
  background-color: #eb6100;
  border: none;
  border-radius: 5px;
  width: 6.25rem;
  line-height: normal;
}
.login-box {
  text-align: center;
  padding: 30px;
}
.top-logo {
  width: 200px;
}
.login-box-body {
  background-color: #eee;
  padding: 5px 30px 30px;
  width: 600px;
  margin: 1rem auto 0;
  min-height: 400px;
}
.login-box-msg {
  margin: 30px;
}
.login-input-container {
  width: 50%;
  margin: 20px auto 10px auto;
  min-width: 230px;
}
.login-input {
  padding: 5px 10px 15px;
  text-align: left;
}
.login-input > input {
  width: 100%;
  font-size: 105%;
  border: 0.1em solid #dfdfdf;
  padding: 10px 15px;
  border-radius: 5px;
}
.login-input > label {
  display: inline-block;
  margin-bottom: 3px;
}

.login-help-text-list {
  width: fit-content;
  font-size: 90%;
  list-style: none;
  opacity: 0.7;
  margin: 0;
  padding: 0 5px;
}
.login-help-text-list li {
  padding: 4px 0;
}
.with-help-text > input {
  margin-bottom: 0;
}

.remember-user, .name_update-container {
  text-align: left;
  margin-top: 3px;
}
.remember-user > label,
.remember-user > input{
  margin: 0;
  cursor: pointer;
}

.name_update-container > label,
.name_update-container > input{
  margin: 0;
  cursor: pointer;
}
.user-info-change_link {
  padding: 10px 10px;
  text-align: left;
}
.user-info-change_link > a {
  margin: 30px 0;
  cursor: pointer;
}
.login-button-field {
  margin: 40px auto 40px;
}
.login-button {
  width: 250px;
  padding: 15px;
  background-color: rgb(235, 97, 0);
  line-height: 1;
  color: rgb(255, 255, 255) !important;
  border-width: initial;
  border-style: none;
  border-color: initial;
  border-image: initial;
  border-radius: 5px;
}
.login-error-message-container {
  margin: 30px 40px;
  color: red;
}
.signup-href-container > p {
  padding-bottom: 5px;
  margin: 0;
}
.signup-href-container > a {
  text-decoration: underline;
}
.upload-error-message-container {
  margin-top: 55px;
  color: red;
}
.upload-sp {
  display: none;
}
.error-message-container {
  margin: 20px 0 5px;
}
.error-message-container > div {
  color: red;
}
.error-message-container > p {
  color: red;
}
.modal-message-container {
  text-align: center;
}
.update-message-container {
  margin: 20px 0 0;
}
.update-message-container > div {
  color: rgb(0, 157, 255);
}
.update-message-container > p {
  color: rgb(0, 157, 255);
}

.modal-container {
  display: none;
  position:absolute;
  background-color: #dfdfdf;
  width: 100%;
  height: 100vh;
  z-index: 10;
  top: 0;
  opacity: 0.6;
}
.delete-cell {
  padding: 0;
}
.delete-button {
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  position: relative;
}
.delete-button::after {
  position: absolute;
  left: 50%;
  top: 50%;
  content: '';
  width: 250%;
  padding-top: 250%;
  background: #000000;
  visibility: hidden;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: inline-block;
  opacity: 0.2;
}
.delete-button:hover::after {
  visibility: visible;
}
.delete-button:hover {
  background-color: #dddddd;
  outline: none;
}
.delete-button i {
  pointer-events: none;
}
.delete-camera-message p:first-child {
  word-break: break-all;
}
.user-summary-table-container {
  margin: 0 20px;
}
.user-table-container {
  word-wrap: break-word;
  overflow-x: auto;
  margin-left: 10px;
  margin-bottom: 10px;
}
.user-table {
  min-width: 850px;
  width: 100%;
  margin: 0;
}
.user-table .first-row {
  height: 40px;
}
.user-table .first-row th:first-child,
.user-table .first-row th:nth-child(2) {
  width: 6%;
}
.user-table .first-row th:nth-child(n+4) {
  width: 7%;
}

.movie-graph-table {
  min-width: 850px;
  width: 100%;
  margin: 0;
}
.movie-graph-table .first-row {
  height: 40px;
}
.movie-graph-table .first-row th:first-child {
  width: 6%;
}
.movie-graph-table .first-row th:nth-child(2) {
  width: auto;
}
.movie-graph-table .first-row th:nth-child(n+3) {
  width: 7%;
}
.error-page-container {
  margin: 50px auto;
  text-align: center;
}
.error-page-container p:first-of-type {
  margin: 36px;
}
.error-message-container p:last-of-type {
  margin: 0;
}
.error-page-container a {
  text-decoration: underline;
}

/*変更ボタン*/
.user-change-form-container {
  width: 60%;
  max-width: 800px;
}

.user-form-button {
  margin: 20px 0;
  padding: 0.625rem 0.9375rem;
  color: #fff;
  background-color: #eb6100;
  border: none;
  border-radius: 5px;
  min-width: 7.8125rem;
  font-size: 105%;
  line-height: normal;
}

/*キャンセルボタン*/
.cancel-form-button {
  margin: 20px 0;
  padding: 0.625rem 0.9375rem;
  color: #fff;
  background-color: #c6c6c6;
  border: none;
  border-radius: 5px;
  min-width: 7.8125rem;
  font-size: 105%;
  line-height: normal;
}
.cancel-form-button__this {
  background-color: #76f500;
}
.cancel-form-button__this:hover {
  background-color: #76f500;
}

/*パスコード*/
.passcode {
  padding: 5px 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  width: 100%;
  max-width: 330px;
}
.passcode_center {
  padding: 5px 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
}
.message-center {
  margin: 0 auto;
}
.passcode > input,
.passcode_center > input {
  width: 100%;
  height: 80px;
  padding: 1px;
  font-size: 2em;
  text-align: center;
  border-top-left-radius:10px;
  border-top-right-radius:10px;
  border-bottom-left-radius:10px;
  border-bottom-right-radius:10px;
}

.input-form-container {
  width: 100%;
  margin-bottom: 20px;
}
.label-container {
  display: flex;
  justify-content: space-between;
}
.with-icon-input-container {
  position: relative;
}
.with-icon-input__icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.reset-passcode-link {
  text-decoration: underline !important;
  color: #0d6efd !important;
}
.reset-passcode-container {
  width: 50%;
  margin: 20px auto 10px auto;
  min-width: 230px;
}
.user-info-pc__label {
  display: inline-block;
}
.user-info-sp__label {
  display: none;
}
.color-gray {
  background-color: #c6c6c6;
}
.open-modal__button {
  padding: 10px 15px;
  border-radius: 10px;
  line-height: normal;
  font-weight: 700;
  width: 10em;
  box-shadow: 0 3px 3px 0 #ccc;
}
.purchase-info-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 5px;
}
.purchase-info__message {
  display: grid;
  grid-template-columns: repeat(1, 1fr 2fr);
  padding: 5px 10px;
}
.purchase-info-checkbox-container {
  display: flex;
  align-items: baseline;
  margin-top: 10px;
}
.purchase-info__input {
  margin: 0.4em;
}
.plan-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}
.plan-card {
  border: 1px solid #ccc;
  border-radius: 15px;
  padding: 10px 15px;
}
.plan-info__message {
  display: grid;
  grid-template-columns: repeat(1, 1fr 2fr);
  padding: 10px 10px 5px;
}
.plan-info-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 5px;
}
.logout-link {
  display: inline-block;
  padding-bottom: 20px;
}

.label-height-adjustment {
  display: flex;
  align-items: center;
}


/* toggle */
.input-wrapper {
  width: 60%;
  max-width: 600px;
  margin-bottom: 30px;
}
.analysis-radio-group {
  display: flex;
  gap: 10px;
  margin: 5px 0;
}
.analysis-radio-group__item {
  display: flex;
  gap: 5px;
  align-items: center;
  cursor: pointer;
}
.toggle-form {
  overflow: hidden;
  transition: all .4s;
}
.toggle-form.active {
  height: auto;
}
.toggle-form.disabled {
  height: 0;
  margin: 0;
}
.switch-label {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 10px 10px 0;
  cursor: pointer;
}
.switch-base {
  width: 3.125rem;
  height: 1.875rem;
  overflow: hidden;
  padding: 0.75rem;
  position: relative;
  display: inline-flex;
  z-index: 0;
  border: 0.1875rem solid #dddddd;
  border-radius: 3.125rem;
  transition: border-color .4s;
}
.switch-input {
  width: 300%;
  position: absolute;
  opacity: 0;
  top: 0;
  margin: 0;
  padding: 0;
  z-index: 1;
}
.switch-base::after {
  position: absolute;
  top: 50%;
  left: 0.125rem;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: #dddddd;
  content: "";
  transition: left .4s;
}
.switch-base:has(:checked) {
  border-color: #4bd865;
}
.switch-base:has(:checked)::after {
  left: 1.375rem;
  background-color: #4bd865;
}
.toggle-check {
  display: flex;
  gap: 5px;
  align-items: baseline;
  overflow: hidden;
}
.toggle-check.disabled {
  height: 0;
}
.toggle-check.active {
  height: auto;
}

.checkbox-group {
  display: flex;
  gap: 8px;
  margin: 5px 0;
}
.time-form {
  display: flex;
  gap: 10px;
  flex-direction: column;
  margin: 5px;
}
.time-form__select {
  display: flex;
  gap: 5px;
  align-items: flex-end;
}
.time-form__select-item {
  position: relative;
}
.time-form__select-item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
.time-form__select__input {
  padding: 0.5rem;
  border-radius: 5px;
  line-height: 1;
  border: 1px solid #dfdfdf;
  appearance: none;
  min-width: 70px;
  font-size: 1rem;
  cursor: pointer;
}
.checkbox-group__item {
  display: flex;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
}
.readonly-input {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #dfdfdf;
}
.input-form__readonly-input {
  flex: 1;
  padding: 0.5rem 0.625rem;
  border: none;
}
.input-form__readonly-input:focus {
  outline: none;
}
.input-form__icon {
  display: flex;
  align-items: center;
  gap: 10px;
}
.info__button {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #4bd865;
  color: #4bd865;
  background-color: #FFF;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  margin: 10px 0 20px;
}
.help-text {
  margin: 1px 5px;
}
.info-modal__title {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid;
}
.info-modal__text {
  margin: 0;
  padding: 0;
}
.info-modal__context {
  margin-bottom: 2rem;
}
.create-link-button {
  padding: 0.3125rem 0.625rem;
  border-radius: 5px;
  border: 1px solid #D8D8D8;
  min-width: 4.875rem;
}
.create-link-button.active {
  border: 1px solid #4bd865;
  color: #4bd865;
  background-color: white;
}
.copy-icon {
  color: #4bd865;
  cursor: pointer;
  position: relative;
  word-break: keep-all;
}
.copy-icon.disabled {
  cursor: not-allowed;
  color: #D8D8D8;
}
.popper {
  position: absolute;
  top: -30px;
  bottom: 0;
  left: -25px;
  right: 0;
  visibility: hidden;
}
.copy-icon:hover .popper {
  visibility: visible;
}
.text {
  padding: 0 5px;
}
.text__line {
  margin-bottom: 0.5rem;
}
.triangle {
  background: rgb(102, 102, 102);
  height: calc(tan(60deg) * 12px / 2);
  width: 12px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.text__icon {
  margin-bottom: 5px;
  margin-left: 130px;
}
.text__header {
  padding: 10px 0;
}

.pager {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}
.pager__info {
  padding: 0 3px;
}
.pager-list {
  display: flex;
  gap: 10px;
  align-items: center;
  line-height: normal;
}
.pager-list__item {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #fff;
}
.pager-list__item:hover {
  border-color: #ccc;
}
.pager-list__previous::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #333;
  border-left: 2px solid #333;
  transform: rotate(315deg);
  pointer-events: none;
  display: inline-block;
  margin-right: 4px;
  border-color: #0d6efd;
}
.pager-list__next::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
  pointer-events: none;
  display: inline-block;
  margin-left: 4px;
  border-color: #0d6efd;
}

@media screen and (max-width: 899px) and (min-width: 0) {
  html {
    font-size: 80%;
  }
  .menu {
    display: none;
  }
  .mypage_link {
    display: none;
  }
  .plan-container {
    justify-content: initial;
    margin: 0 auto;
    white-space: nowrap;
    overflow-x: auto;
    font-size: 1rem;
  }
  .plan-container div {
    margin-right: 5px;
  }
  .logo-container {
    min-height: auto;
    max-height: 50px;
  }
  .top-logo {
    width: 150px;
  }
  .header-logo-sp {
    display: block;
    height: 95%;
    max-width: 48px;
  }
  .header-logo-link {
    height: auto;
    padding: 0.25rem 0.5rem;
  }
  .header-logo-pc {
    display: none;
  }
  header {
    display: block;
    height: auto;
    min-height: initial;
    max-height: none;
  }
  main {
    height: calc(100vh - 50px);
  }
  .mypage_link__sp {
    display: block;
    margin: auto 20px;
  }
  .mypage_link__sp i {
    color: #fff;
    font-size: 22px;
  }
  .mypage {
    margin: 20px 16px;
  }
  .user-info-input-container {
    position: relative;
    width: 100%;
  }
  .menu-sp {
    background-color: #273b69;
    padding: 20px;
  }
  .menu-sp-list {
    padding: 10px;
    margin: 0;
    background-color: #fff;
  }
  .dashboard-list {
    padding: 2px 10px 10px;
    margin: 0;
    background-color: #fff;
  }
  .menu-sp-list__item {
    list-style: none;
    line-height: 1.5;
    margin-bottom: 2px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .menu-sp-list__item.active {
    color: #fff;
    padding: 5px 0;
  }
  .menu-sp__link.active {
    color: #fff;
    border: 2px solid #273b69;
    background-color: #273b69;
    padding: 5px;
    border-radius: 5px;
  }

  #dash-board-out {
    display: none;
    margin-bottom: 0;
  }
  #dash-board-list {
    display: none;
  }
  .main {
    width: 100%;
  }
  .main__inner {
    padding: 20px 10px;
  }
  .message-container {
    padding: 40px 30px;
    position: relative;
    min-height: 350px;
  }
  .search-form {
    padding: 15px 5px;
  }
  .search-item__list {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: repeat(2, 2rem);
    gap: 10px
  }
  .search-item__input-box:last-child {
    grid-row: 2;
    grid-column: 1 / 2;
    justify-self: right;
  }
  .form-container {
    padding: 20px 16px;
  }
  .main__video {
    padding: 3px;
  }
  .dropbox {
    display: none;
  }
  .upload-sp {
    display: block;
    margin-top: 30px;
  }
  .upload-sp .file-input-button {
    position: relative;
    border: 2px solid gray;
    border-radius: 10px;
    font-size: 100%;
    background-color: #828282;
    color: #fff;
    white-space: nowrap;
    padding: 5px 15px;
  }
  .upload-sp .upload-file-name {
    display: none;
    align-items: baseline;
    margin: 5px 0 0 3px;
  }
  .upload-sp .upload-file-name .file-name {
    margin-left: 5px;
  }
  .mypage table {
    width: 90%;
  }
  .graph-field {
    padding: 20px 5px;
  }
  .graph-top {
    flex-wrap: wrap;
    padding: 0 5px;
  }
  .graph-top-right {
    justify-content: center;
    flex-wrap: wrap;
  }
  #videoElement {
    max-height: 100%;
    max-width: 100%;
    width: auto;
  }
  .rec_start {
    width: 70px;
    height: 70px;
  }
  .rec_start::after {
    width: 45px;
    height: 45px;
  }
  .rec_stop {
    width: 70px;
    height: 70px;
  }
  .rec_stop::after {
    width: 17.5px;
    height: 17.5px;
  }
  .spinner {
    width: 70px;
    height: 70px;
    border: 7px solid rgba(255, 255, 255, 0.2);
    border-top-color: #FFF;
  }
  .rec-timer {
    top: 10px;
    height: 32px;
    border-radius: 10px;
    padding: 0 15px;
  }
  .rec-timer span {
    font-size: 100%;
    color: #fff;
  }
  #video_form {
    display: none;
  }
  .change-camera-combo {
    width: 30%;
    padding: 7px;
    top: 15px;
  }
  .change-camera-combo > label {
    font-size: 80%;
  }
  .change-camera-combo > select {
    font-size: 95%;
    padding: 5px 7px;
  }
  .camera-change-field {
    top: 15px;
  }
  .camera-change {
    width: 42px;
    height: 42px;
  }
  .camera-change::after,
  .camera-change::before {
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
  }
  .camera-change::before {
    border-left: 12px solid #fff;
    top: -7px;
    left: 1px
  }
  .camera-change::after {
    border-right: 12px solid #fff;
    bottom: -7px;
    right: 1px
  }
  .camera-change-circle {
    width: 17px;
    height: 17px;
  }
  .camera-change-circle::before {
    width: 60px;
    height: 60px;
  }
  .login-box-body {
    width: 95%;
    padding: 10px;
    max-width: 560px;
    min-height: 300px;
  }
  .login-table {
    margin: 0;
  }
  .login-button-field {
    display: flex;
    justify-content: center;
  }
  .login-button {
    width: 210px;
    padding: 15px;
    background-color: rgb(235, 97, 0);
    line-height: 1;
    color: rgb(255, 255, 255) !important;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    border-radius: 5px;
  }
    .login-btn {
    font-size: 14px;
  }
  .pie-list {
    flex-direction: column;
  }
  .movies {
    overflow-x: scroll;
  }
  .movies table {
    width: 1000px;
  }
  .page-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 5px 0;
  }
  .summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-wrap: wrap;
  }
  .summary-container {
    max-width: 500px;
  }
  .summary-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .summary-item {
    margin: 0;
    padding: 0px 10px 5px;
  }
  .summary-grid {
    gap: 10px;
  }
  .summary-item:not(:last-child) {
    border-right: none;
    border-bottom: 2px solid #ccc;
  }
  .summary-all-grid, .summary-user-grid {
    grid-template-columns: repeat(2, minmax(auto, 200px));
  }
  .summary-gender-grid {
    grid-template-columns: repeat(2, minmax(auto, 200px));
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
  }
  .summary-age-grid {
    grid-template-columns: repeat(2, minmax(auto, 200px));
    grid-template-rows: repeat(6, 1fr);
    grid-auto-flow: column;
  }
  .all-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gender-summary-grid {
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
  }
  .age-summary-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
    grid-template-rows: repeat(3, 1fr);
    grid-auto-flow: column;
  }
  .repeater-summary {
    display: grid;
    grid-template-columns: repeat(1, minmax(auto, 500px));
  }
  .summary-component {
    font-size: 1.7em;
  }
  .user-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .user-gender-summary-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
  }
  .user-age-summary-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-auto-flow: column;
    gap: 10px
  }
  .user-summary-frame {
    margin: 5px 0;
  }
  .user-table-container {
    margin-left: 0;
  }
  .user-summary-table-container {
    margin: 0 10px;
  }
  .user-change-form-container {
    width: 100%;
  }
  .user-info-sp__label {
    display: block;
    padding-top: 3%;
  }
  .user-info-pc__label {
    display: none;
  }
  .sub-text__label {
    display: none;
  }
  .passcode > input,
  .passcode_center > input{
    font-size: 1.5em;
  }
  .plan-list-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 5px;
  }
  .input-wrapper {
    width: 100%;
  }
  .graph-warning-label {
    margin: 0;
    display: block;
  }
}
