* {
  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;
}
table {
  border-collapse: collapse;
  margin: 20px auto;
  text-align: center;
  table-layout: fixed;
  width: 90%;
}
table th {
  /*border: 1px solid #D8D8D8;*/
  border: 1px solid #000;
}
table td {
  padding: 10px;
  border: 1px solid #000;
}
table td .link {
  color: #639bb7;
  text-decoration: underline;
}
table td .link:hover {
  color: orange;
}
table td .link:visited {
  color: hotpink;
}


/* button */
button  {
  font-size: 1rem;
  line-height: normal;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  background-color: #D8D8D8;
}
button:hover {
  opacity: 0.6;
}
.submit-button-color {
  color: #fff;
  background-color: #eb6100;
  border: none;
}

.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;
}
.header-text {
  color: rgb(80, 80, 80);
}

/* 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: 17%;
  min-width: 180px;
  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 {
  width: 83%;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.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 {
  display: block;
  margin: 40px 0 10px;
  font-weight: 400;
}
.message__sub-title {
  margin-left: 3px;
}
.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;
}
.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;
}
.upload-form 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;
}
.csv-download-button-container {
  display: flex;
  justify-content: flex-end;
  margin: 5px 0;
}
.csv-download-button {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  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: solid 1px #ccc;
  padding: 3px 10px;
}
.previous {
  display: none;
}
.previous:hover, .next:hover {
  opacity: 0.6;
}
.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;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.camera-name-cell-container > p {
  padding: 0;
  margin: 0;
}
.camera-name-cell-container > p:nth-of-type(odd) {
  width: 95%;
  word-break: break-all;
}
.camera-name-cell-container > p:nth-of-type(even) {
  width: 5%;
  min-width: 35px;
}
.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: 10px 15px;
  color: #fff;
  background-color: #eb6100;
  border: none;
  border-radius: 5px;
  width: 125px;
  line-height: normal;
}
.camera-form-button:hover {
  opacity: 0.6;
  cursor: pointer;
}
.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;
}
.table-scroll {
  overflow-x: auto;
}
.cameras-table {
  width: 100%;
  margin: 10px 0;
  min-width: 460px;
}
.cameras-table .first-row {
  height: 40px;
}
.cameras-table .first-row th:first-child, th:last-child {
  width: 10%;
}
.cameras-table .first-row th:nth-child(2) {
  width: auto;
}
.cameras-table .first-row th:nth-child(3) {
  width: 25%;
}
.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 {
  width: 60%;
  max-width: 600px;
  min-width: 100px;
  padding-top: 20px;
}
.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;
}
.movies-table {
  margin: 10px 0;
  width: 100%;
  min-width: 560px;
}
.movies-table .first-row {
  height: 40px;
}
.movies-table .first-row th:last-child {
  width: 7%;
}
.movies-table .first-row th:nth-child(2) {
  width: 30%;
}
.movies-table .first-row th:nth-child(3) {
  width: 15%;
}
.movie-row .execution-link {
  text-decoration: none;
  color: #333;
  cursor: pointer;
}
.movie-row .disable-execution-link {
  text-decoration: none;
  color: #333;
  cursor: pointer;
}
.movie-row a {
  position: relative;
  display: flex;
  height: 100%;
  padding: 10px;
  justify-content: center;
  align-items: center;
}
.movie-row .name-cell{
  padding: 0;
}
.movie-row .name-cell div {
  display: inline-block;
  word-break: break-all;
  margin-right: 5px;
  text-align: left;
}
.movie-row .analysis-result-cell {
  padding: 0;
}
.movie-row .analysis-result-cell div {
  display: inline-block;
  margin-right: 5px;
}
.movie-row a::after {
  position: absolute;
  left: 50%;
  content: '';
  width: 90%;
  height: 1px;
  background: #000000;
  bottom: -1px;
  visibility: hidden;
  transform: translate(-50%, -50%);
}
.movie-row a:hover::after {
  visibility: visible;
}
.movie-row p {
  margin: 0;
}
.movies-table-name {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-end;
}
.movies-table__title {
  margin: 0;
}
.movies-table-name .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 0;
}
.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;
  height: 45px;
  width: 45px;
  line-height: 45px;
  text-align: center;
}
.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;
}
.user-table {
  min-width: 850px;
  width: 100%;
  margin: 0;
}
.user-table .first-row {
  height: 40px;
}
.user-table .first-row th:first-child, 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: 10px 15px;
  color: #fff;
  background-color: #eb6100;
  border: none;
  border-radius: 5px;
  width: 125px;
  font-size: 105%;
  line-height: normal;
}

/*キャンセルボタン*/
.cancel-form-button {
  margin: 20px 0;
  padding: 10px 15px;
  color: #fff;
  background-color: #c6c6c6;
  border: none;
  border-radius: 5px;
  width: 125px;
  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;
}

@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: 40px 30px;
  }
  .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: 40px 30px;
  }
  .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;
  }
}
