@charset "utf-8";
/*
 1.Basic Elements
 2.Generic Classes
 3.Basic Layout
 4.Content
*/
/***********************************************************
 1.Basic Elements
***********************************************************/
::placeholder {
  color: rgba(0, 0, 0, 0.5) !important;
}
:root {
  --main-text-color: #333;
  --link-opacity: 0.95;
  --link-hover-opacity: 1;
}
html, body {
  scroll-behavior: auto !important;
}
body {
  background: rgba(0, 0, 0, 0.01);
  font-family: "メイリオ", Meiryo, sans-serif;
  line-height: 1.6;
}
a {
  color: var(--main-text-color);
  opacity: var(--link-opacity);
  text-decoration: none;
}
a:not(.btn):hover {
  opacity: var(--link-hover-opacity);
}
label.btn {
  padding: 0 8px;
}
ul {
  margin: 0;
  padding: 0 0 0 16px;
}
ul li {
  line-height: 1.6;
  padding: 0 0 4px;
}
/***********************************************************
 2.Generic Classes
***********************************************************/
.pc {
  display: none;
}
.container {
  background: #fff;
  max-width: 740px;
}
.table {
  margin: 0;
}
.unselected {
  color: #808080;
}
/* Badge */
.badge-genre {
  background: rgb(128, 128, 128);
  border-radius: 2px;
  color: #fff;
  padding: 2px 4px;
  font-size: 11px;
  margin-left: 8px;
  vertical-align: 1px;
}
.badge-role {
  background: #dcdcdc;
  border-radius: 2px;
  color: #333;
  font-weight: normal;
  padding: 0 4px;
  font-size: 11px;
  line-height: 16px;
  margin-left: 3px;
  vertical-align: 2px;
}
.badge-test {
  background: rgb(220, 53, 69);
  border-radius: 2px;
  color: #fff;
  font-weight: normal;
  padding: 0 4px;
  font-size: 12px;
  line-height: 16px;
  margin-left: 4px;
  vertical-align: 2px;
}
/* Button */
.btn.disabled {
  opacity: .4;
}
#btn-check {
  width: 100%;
  max-width: 264px;
}
#btn-vote,
#btn-back {
  text-align: center;
  width: 100%;
}
.btn-clear {
  cursor: pointer;
}
.btn-select {
  background: #fff;
  border: 1px solid #000;
  border-radius: 4px;
  cursor: pointer;
  float: right;
  font-size: 14px;
  line-height: 1;
  margin: 0 0 2px 4px;
  padding: 4px 8px;
  text-align: center;
  white-space: nowrap;
  width: 48px;
}
.btn-select:hover,
.btn-select.active {
  background-color: #000;
  color: #fff;
}
.cast {
  display: flex;
  align-items: center;
  line-height: 1;
  padding: 4px 0;
  width: 100%;
}
.cast .btn-select {
  margin-left: auto; /* 選択ボタンを右端に配置 */
}
.modal .btn {
  min-width: 120px;
}
a.link {
  color: #333;
  display: block;
  margin-top: 16px;
  text-align: center;
  text-decoration: underline;
}
a.link-text {
  color: #333;
  margin-top: 16px;
  text-decoration: underline;
}
.form-check label {
  cursor: pointer;
}
.highlight {
  background: #fffacd;
  padding: 2px;
  border-radius: 2px;
}
.memo {
  color: #808080;
  font-size: .9em;
}
#loader {
  height: 100vh;
  padding-top: 180px;
  text-align: center;
}
#loader img {
  width: 32px;
  height: 32px;
}
/* よくある質問 */
.qestion {
  font-weight: bold;
  margin: 0 0 .5rem;
}
.answer {
  margin: 0 0 1.5rem;
}
.answer h5 {
  font-size: .9rem;
  font-weight: bold;
  line-height: 32px;
  margin: 0;
}
.answer ul {
  padding-left: 24px;
}
/* 作品一覧 */
.movie-list {
  overflow: hidden;
  padding-bottom: 64px;
}
.movie-list ul {
  min-height: calc(100vh - 360px);
  list-style: none;
  padding: 0;
}
.movie-list ul li{
  padding: 0;
}
.movie-list table {
  margin: 0;
  overflow: hidden;
}
.movie-list .item-label {
  cursor: pointer;
}
.movie-list .item-label:hover {
  background: #f8f9fa;
}
.movie-list th {
  background: transparent;
  color: #808080;
  font-size: .875rem;
  white-space: nowrap;
  width: 80px;
}
.movie-list table td {
  padding: 0;
  vertical-align: middle;
}
.movie-list .item-label {
  border-bottom: .5px solid #c0c0c0;
  padding: 8px;
}
.movie-list .open-icon {
  float: right;
  line-height: 48px;
  text-align: center;
  width: 32px;
  font-size: 20px;
}
.movie-list .open-icon i {
  cursor: pointer;
  display: block;
}
.movie-list .release-date {
  color: #808080;
  font-size: .825em;
}
.movie-list .detail {
  display: none;
  padding: 8px;
  box-shadow: inset 0 16px 8px -8px rgba(0,0,0,0.025);
  border-bottom: .5px solid #c0c0c0;
}
.movie-list .detail table th,
.movie-list .detail table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.025);
}
.movie-list .item-label .title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 選択一覧 */
.selected-list .title {
  text-indent: -1em;
  padding-left: 1em;
  line-height: 1.5;
}
.selected-row.type-person .title,
.movie-list.type-person .title {
  color: #808080;
  font-size: 13px;
  margin: 4px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.movie-list .detail table{
  margin: 0;;
}
.movie-list .detail table td {
  background: transparent !important;
}
.movie-list .detail table td.small {
  padding: 8px 0;
}
.movie-list .nodata {
  color: #808080;
  padding: 64px 0;
  text-align: center;
}
@media (min-width: 740px) {
  .pc {
    display: inline;
  }
  .badge-role {
    font-size: 12px;
    margin-left: 4px;
  }  
  .btn.btn-dark {
    min-width: 240px;
  }
  .modal .btn {
    min-width: auto;
    width: 120px;
  }  
}
/***********************************************************
 3.Basic Layout
***********************************************************/
/* ヘッダー */
#header .container {
  background: #000;
  box-shadow: -10px 0 15px rgba(0, 0, 0, 0.05), 10px 0 15px rgba(0, 0, 0, 0.05);
  padding: 0;
}
#header .navbar{
  padding: 0 12px;
}
#header h1 {
  color: #fff;
  font-size: 1rem;
  line-height: 32px;
  margin: 0;
  padding: 8px 0;
}
#header a {
  color: #fff;
}
#header a.dropdown-item:active {
  background: #efefef;
}
#header a.dropdown-item {
  color: #333;
}
#header .dropdown-menu[data-bs-popper] {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  left: auto;
  right: 0;
}
#header .dropdown-toggle i {
  font-size: 20px;
}
.dropdown-header {
  padding: 4px 0 0 16px;
}
.navbar-toggler {
  color: #fff;
  font-size: 24px;
  padding: 0;
}
/* ステータスバー */
#header .stepper {
  align-items: center;
  background: #efefef;
  display: flex;
  gap: 20px;
  justify-content: center;
}
#header .step {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
}
#header .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 20px;
  height: 2px;
  background-color: #c0c0c0;
  transform: translateY(-50%);
}
#header .step-circle {
  display: flex;
  font-size: .9rem;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: white;
}
#header .step i {
  position: absolute;
  top: 8px;
  right: 4px;
  background: #fff;
  padding: 1px;
  border-radius: 50%;
  line-height: 1;
  font-size: 18px;
}
#header .completed .step-circle {
  background-color: rgba(0, 0, 0, 0.5);
}
#header .active .step-circle {
  background-color: #000;
}
#header .inactive .step-circle {
  background-color: lightgray;
}
#header .inactive {
  opacity: 0.6;
}
#header .step a {
  color: #2378c3;
  text-decoration: none;
}
#header .step a:hover {
  color: #0b4778;
}
#version {
  background: rgb(220, 53, 69);
  border-top-left-radius: 4px;
  bottom: 0;
  color: #fff;
  display: none;
  font-size: .825rem;
  line-height: 1;
  padding: 2px 8px;
  position: fixed;
  right: 0;
  z-index: 100;
}
#progress {
  font-weight: bold;
  line-height: 36px;
  font-size: 18px;
  padding: 0 0 0 16px;
}
#progress span {
  color: #808080;
  font-size: 14px;
  font-weight: normal;
}
/* main */
main .container {
  box-shadow: -10px 0 15px rgba(0, 0, 0, 0.05), 10px 0 15px rgba(0, 0, 0, 0.05);
  padding: 16px;
}
@media (min-width: 740px) {
  #version {
    display: block;
  }
}
/***********************************************************
 4.Content - login, auth, forgot
***********************************************************/
#login main .container,
#auth main .container,
#forgot .container {
  height: 100vh;
}
#login #panel,
#auth #panel,
#forgot #panel {
  background: #efefef;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 64px 16px;
  text-align: center;
}
#login #panel h1,
#auth #panel h1,
#forgot #panel h1 {
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 2;
}
#login form,
#auth form,
#forgot form {
  margin: 24px auto;
  max-width: 360px;
}
#login #block-password {
  position: relative;
}
#login  #block-password .bi {
  font-size: 18px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: .6;
}
#login #block-password .bi:hover {
  opacity: 1;
  text-decoration: underline;
}
#login .invalid-feedback {
  display: block;
}
#auth #input-block {
  margin: 8px auto;
  width: 240px;
}
#auth #input-block .form-control {
  font-size: 28px;
  text-align: center;
}
#auth .form-control.is-invalid {
  padding-right: 12px !important;
  background-image: none !important;
}
#auth .invalid-feedback.is-invalid {
  display: block;
  text-align: center;
}
/* メディアクエリ */
@media (min-width: 740px) {
  #login main .container,
  #auth main .container,
  #forgot .container {
    padding: 64px;
  }
}
/***********************************************************
 4.Content - vote-confirm
***********************************************************/
#btn-select-group.row {
  margin: 32px auto 48px;
}
#vote-confirm main .container.auto-height {
  height: calc(100vh - 48px);  
}
#vote-confirm h2 {
  color: #333;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 12px;
}
#vote-confirm main .selected-row,
#vote-confirm main .unselected {
  line-height: 1.4;
  margin: 12px 0;
  position: relative;
  padding-right: 1.5em;
}
#vote-confirm main .selected-row i.bi-trash,
#vote-confirm main .unselected i {
  position: absolute;
  right: 0px;
  top: 0;
}
#vote-confirm main .selected-row .person-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
#vote-confirm main .bi-trash {
  color: #000;
  cursor: pointer;
  opacity: 0.75;
  padding: 8px 10px;
  margin: -8px -10px;
}
#vote-confirm main .bi-trash:hover {
  opacity: 1;
}
#vote-confirm .list-group {
  padding-bottom: 64px;
}
#vote-confirm .list-group h5 {
  color: #696969;  
  font-size: 1rem;
  font-weight: bold;
  line-height: 32px;
  margin: 0;
}
#vote-confirm .list-group-item {
  padding: 8px 12px;
}
#vote-confirm #selected {
  scroll-margin-top: 16px;
}
/***********************************************************
 4.Content - vote-submit, vote-thanks
***********************************************************/
#vote-submit .list-group {
  padding-bottom: 64px;
}
#vote-submit main .container.auto-height,
#vote-thanks main .container.auto-height {
  height: calc(100vh - 48px);  
}
#vote-submit main .selected-row,
#vote-submit main .unselected,
#vote-thanks main .selected-row,
#vote-thanks main .unselected {
  line-height: 1.4;
  margin: 12px 0;
  position: relative;
}
#vote-submit main .selected-row i.bi-check-circle-fill,
#vote-submit main .unselected i,
#vote-thanks main .selected-row i.bi-check-circle-fill,
#vote-thanks main .unselected i {
  position: absolute;
  right: 0px;
  top: 0;
}
#vote-submit main .selected-row .person-info,
#vote-thanks main .selected-row .person-info {
  color: #333;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
#vote-submit .list-group h5,
#vote-thanks .list-group h5 {
  color: #696969;  
  font-size: 1rem;
  font-weight: bold;
  line-height: 32px;
  margin: 0;
}
#vote-submit .list-group-item,
#vote-thanks .list-group-item{
  padding: 8px 12px;
}
#vote-submit .unselected,
#vote-thanks .unselected {
  color: #c0c0c0;
}
/***********************************************************
 4.Content - vote
***********************************************************/
#vote main .container {
  box-shadow: none;
  padding: 0;
}
#vote main form > .container {
  height: calc(100vh - 80px);
}
#vote #filter {
  background: #fff;
  margin: 0;
  padding: 12px 12px 0;
}
#keyword-block {
  margin-right: 8px;
  position: relative;
  width: 100%;
}
#keyword-block input[name=keyword] {
  padding-left: 34px;
}
#keyword-block i {
  position: absolute;
  left: 12px;
  top: 6px;
  color: rgba(0, 0, 0, 0.5);
}
#vote #filter #sort-date,
#vote #filter #sort-title {
  cursor: pointer;
  white-space: nowrap;
 }
 #vote .form-select {
  border: 1px solid #808080;
  border-radius: 18px;
}
#vote .form-select:disabled {
  border: 1px solid #d3d4d5;
  color: #808080;
}
#vote #list-header {
  margin: 4px 0;
}
#vote #list-header .col-3,
#vote #list-header .col-6  {
  padding: 0 4px;
}
table#vote-header {
  width: 100%;
}
#movie-header th {
  padding: 8px 0 4px 8px;
}
#filter {
  border-bottom: 1px solid #c0c0c0;
}
#genre-filter {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  max-width: 700px;
  scrollbar-width: none; /* Firefox */
}
#month-filter {
  display: flex;
  margin: 0 0 8px;
  overflow-x: auto;
  white-space: nowrap;
  max-width: 700px;
  scrollbar-width: none; /* Firefox */
}
#count {
  text-align: right;
}
#modalSelect #select-category {
  margin: 8px 0 16px;
}
#fixed-buttons {
  box-shadow: 0 -2px 8px 0 rgba(0, 0, 0, 0.1);  
  position: fixed;
  bottom: 0;
  margin: 0 auto;
  max-width: 740px;
  padding: 12px;
  width: 100%;
  left: 0;
  right: 0;
  z-index: 2;
  background: #fff;
  text-align: center;
}
/* メディアクエリ */
@media (min-width: 740px) {
  #vote main form > .container {
    height: auto;
    box-shadow: -10px 0 15px rgba(0, 0, 0, 0.05), 10px 0 15px rgba(0, 0, 0, 0.05);
  }
}
/***********************************************************
 4.Content - final/finalConfirm/finalVote-thanks
***********************************************************/
*[id^="finalVote"] main .container {
  padding: 0 0 64px 0;
}
#finalVote-thanks main .container {
  padding: 0;
}
*[id^="finalVote"] main .container p {
  margin: 0;
  padding: 8px
}
*[id^="finalVote"] main .category .category-title {
  background: rgb(248, 249, 250);
  border-top: 1px solid rgb(222, 226, 230);
  border-bottom: 1px solid rgb(222, 226, 230);
  padding: 8px;
}
*[id^="finalVote"] .movie-list {
  margin: 0 0 -1px;
  box-shadow: none;
  padding: 0;
}
*[id^="finalVote"] .movie-list ul {
  min-height: auto;
}
*[id^="finalVote"] .movie-list td {
  padding: 8px;
}
*[id^="finalVote"] .movie-list .content .title {
  max-height: calc(1.4em * 2);
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
*[id^="finalVote"] td.img-movie {
  padding-right: 0;
  width: 96px;
}
*[id^="finalVote"] td.img-movie img {
  border-radius: 3px;
}
#finalVote .btn-select {
  margin: 0;
}
