li {
  outline: none
}

.works .title,
.movie_w .title,
.credit .title {
  position: relative;
  height: 60px
}

@media screen and (max-width: 768px) {

  .works .title,
  .movie_w .title,
  .credit .title {
    height: 60px;
  }
  .credit_closebtn {
    transform: translateX(35px);
  }
}

.works .title h2,
.movie_w .title h2,
.credit .title h2 {
  line-height: 60px;
  font-size: 13px
}

@media screen and (max-width: 768px) {

  .works .title h2,
  .movie_w .title h2,
  .credit .title h2 {
    line-height: 60px;
    font-size: 10px;
    text-align: center
  }
}

.works .title .close,
.movie_w .title .close,
.credit .title .close {
  width: 16px;
  height: 16px;
  position: fixed;
  top: 100px;
  right: 50px;
  z-index: 205;
  cursor: pointer;
}

@media screen and (min-width: 769px) {

  /* .works .title .close,
  .movie_w .title .close,
  .credit .title .close {
    width: 16px;
    height: 16px;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%)
  } */
}

@media screen and (max-width: 768px) {

  .works .title .close,
  .movie_w .title .close,
  .credit .title .close {
    width: 12px;
    height: 12px;
    top: 66px;
    right: 16px;
  }

  .movie_w .title .close {
  }
}

.works .title .close img,
.movie_w .title .close img,
.credit .title .close img {
  height: 100%;
  width: 100%
}

.mains_w {
  overflow: hidden;
  padding: 0 25px;
}
@media screen and (max-width: 768px) {
  .mains_w {
    margin-top: 43px;
  }
}

.mains_w .mains {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transition: .6s linear opacity;
}

.mains_w .mains.loaded {
  opacity: 1;
}

.mains .item_container {
  display: flex;
  flex-wrap: wrap;
}

.mains .item_column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
}

.mains .item_image {
  flex: 1 auto;
  padding: 10px;
  max-width: 100%;
  height: 100%;
}

@media screen and (min-width: 769px) {
  .mains .item_image img {
    max-height: 70vh;
  }
}

.mains_w .mains img {
  font-family: 'object-fit: contain;';
  object-fit: contain;
  width: 100%;
  height: 100%;
  vertical-align: middle;
}

.info_attention {
  display: none;
  z-index: 201;
  position: absolute;
  height: 31px;
  bottom: 60px;
  left: 35px;
  font-size: 13px;
  font-weight: bold;
  color: #000000;
  line-height: 31px;
  text-align: center
}

.info_attention.has_comment {
  display: inline-block;
}

.info_attention span {
  display: inline-block;
  margin-right: 1px;
  font-weight: bold;
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif
}

@media screen and (max-width: 768px) {
  .info_attention {
    height: 28px;
    line-height: 28px;
    font-size: 11px;
    bottom: 52px;
    left: 20px;
  }
}

.info_btn {
  cursor: pointer;
  z-index: 202;
  position: absolute;
  width: 107px;
  height: 31px;
  bottom: 25px;
  left: 35px;
  font-size: 12px;
  font-family: "LinotypeUniversW01-Medi 723679", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
  color: #999999;
  line-height: 31px;
  text-align: center;
  background-color: #fff;
  border: 1px solid #b2b2b2;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  -o-transition: color 0.3s, background-color 0.3s, border 0.3s;
  transition: color 0.3s, background-color 0.3s, border 0.3s;
  -webkit-transition: color 0.3s, background-color 0.3s, border 0.3s
}

@media screen and (max-width: 768px) {
  .info_btn {
    font-size: 10px;
    line-height: 28px;
    width: 90px;
    height: 28px;
    bottom: 20px;
    left: 20px;
  }
}

.info_btn:hover {
  color: #fff;
  background-color: #000;
  border: 1px solid #000
}

.counter {
  font-family: "LinotypeUniversW01-Medi 723679", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
  position: absolute;
  text-align: center;
  bottom: 50px;
  left: 0;
  height: 27px;
  line-height: 27px;
  width: 100%;
  font-size: 10px;
  color: #000
}

.credit,
.movie_credit {
  z-index: 203;
  background: #fff;
  position: fixed;
  top: 73px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 35px 0;
  color: #000;
  font-size: 13px;
  font-weight: bold;
  line-height: 21px;
  overflow-y: auto;
  display: none;
}
@media screen and (max-width: 768px) {
  .credit,
  .movie_credit {
    top: 44px;
    bottom: 0;
    font-weight: normal;
    height: calc(100vh - 44px);
  }
}

.credit:after,
.movie_credit:after {
  content: "";
  display: block;
  clear: both
}

.credit img:not(.credit_closebtn),
.movie_credit img {
  -webkit-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
  opacity: 0
}

@media screen and (min-width: 769px) {

  .credit>pre,
  .movie_credit>pre {
    width: 530px;
    overflow: hidden
  }
}

@media screen and (max-width: 768px) {

  .credit>pre,
  .movie_credit>pre {
    font-size: 10px;
    line-height: 2em;
    margin: 35px auto 15px auto;
    width: 240px;
    background-color: #fff;
    padding-bottom: 10px
  }
}

.credit .link_sp,
.movie_credit .link_sp {
  display: none
}

@media screen and (min-width: 769px) {

  .credit .link_sp,
  .movie_credit .link_sp {
    display: none !important
  }
}

@media screen and (max-width: 768px) {

  .credit .link_sp,
  .movie_credit .link_sp {
    font-size: 10px;
    line-height: 2em;
    margin: 0 auto;
    width: 240px
  }
}

.credit .link_sp a,
.movie_credit .link_sp a {
  color: #000
}

.credit .comment,
.movie_credit .comment {
  overflow: hidden;
  padding-bottom: 100px;
}

@media screen and (min-width: 769px) {

  .credit .comment,
  .movie_credit .comment {
    margin-top: 35px;
    width: 750px
  }
}

@media screen and (max-width: 768px) {

  .credit .comment,
  .movie_credit .comment {
    padding-bottom: 50px
  }
}

.credit .comment pre,
.movie_credit .comment pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  width: 100%;
  height: 100%
}

.credit .comment pre a,
.movie_credit .comment pre a {
  color: #000;
  text-decoration: underline
}

@media screen and (min-width: 769px) {

  .credit .comment pre,
  .movie_credit .comment pre {
    width: 75%;
    padding-right: 70px;
    line-height: 25px
  }
}

@media screen and (max-width: 768px) {

  .credit .comment pre,
  .movie_credit .comment pre {
    font-size: 10px;
    line-height: 23px;
    margin: 35px auto 15px auto;
    background-color: #fff
  }
}

.movie_credit {
  top: 133px;
  z-index: 211
}

@media screen and (max-width: 768px) {
  /* .movie_credit {
    top: 44px
  } */
}

.thumbs_w {
  position: absolute;
  bottom: 58px;
  left: 50%;
  margin-left: -300px;
  width: 600px;
  height: 0;
  overflow: hidden
}

@media screen and (max-width: 768px) {
  .thumbs_w {
    display: none
  }
}

.thumbs_w .thumbs li {
  cursor: pointer;
  margin: 0 2px
}

.thumbs_w .selected {
  opacity: 1
}

.movie_thumb_w {
  position: absolute;
  bottom: 42px;
  right: 42px;
  width: 147px;
  height: 111px;
}

.movie_thumb_w img {
  width: 100%;
  height: 100%
}

@media screen and (max-width: 768px) {
  .movie_thumb_w {
    width: 80px;
    height: 60px;
    bottom: 10px;
    right: 10px
  }
}

.movie_w {
  z-index: 210;
  background: #fff;
  position: fixed;
  top: 73px;
  bottom: 0;
  left: 0;
  right: 0;
  color: #000;
  font-size: 13px;
  font-weight: bold;
  line-height: 21px;
  display: none;
  background-color: #fff
}

@media screen and (max-width: 768px) {
  .movie_w {
    top: 44px;
    bottom: 30px;
    font-weight: normal
  }
}

.movie_w .info_btn {
  bottom: 25px;
  z-index: 115 !important;
  font-weight: normal
}

@media screen and (max-width: 768px) {
  .movie_w .info_btn {
    border: 0;
    color: #000;
    background-color: transparent;
    bottom: 10px;
    left: 10px
  }
}

/* .movie_w .video_w {
  position: absolute;
  top: 50%;
  left: 50%
} */

.video_w {
  max-width: calc(100% - 160px);
  max-height: 100%;
}

.movie_w .vjs-afterglow-skin.vjs-responsive,
.movie_w .vjs-afterglow-skin.vjs-responsive video {
  width: 100%;
  height: 100%
}

.link {
  font-family: "LinotypeUniversW01-Medi 723679", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
  font-size: 12px;
  position: absolute;
  right: 35px;
  bottom: 60px;
  display: none
}
.link.-shift {
  right: 42px;
  bottom: 17px;
}

.link a {
  color: #000
}

@media screen and (max-width: 768px) {
  .link {
    display: none !important
  }
}



/* 21.08.21 追加 */

.category-name {
  cursor: pointer;
  font-family: "LinotypeUniversW01-Medi 723679", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
  position: absolute;
  z-index: 30;
  font-size: 12px;
  width: 100%;
  height: 43px;
  line-height: 43px;
  text-align: center;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  background-color: #fff
}

@media screen and (max-width: 768px) {
  .category-name {
    font-size: 13px;
  }
}


.category-name .suffix {
  position: absolute;
  top: 0;
  right: 36px;
  height: 44px;
  line-height: 42px;
  color: #999999
}

.category-name .image {
  display: inline-block;
  vertical-align: -1px;
  width: 7px;
  height: 14px
}

@media screen and (max-width: 768px) {
  .category-name .image {
    width: 5px;
    height: 10px
  }
}

.category-name .image img {
  width: 100%;
  height: 100%
}

.category-name.new {
  color: #f88800
}

.category-closer {
  position: fixed;
  display: none;
  z-index: 31;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent
}

.category {
  font-family: "LinotypeUniversW01-Medi 723679", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif
}

@media screen and (min-width: 769px) {
  .category {
    display: block !important;
    opacity: 1 !important;
    padding-bottom: 15px;
  }

  .category li {
    display: inline-block;
    font-size: 14px;
    margin-right: 18px;
    height: 25px;
    line-height: 25px
  }
}

@media screen and (max-width: 768px) {
  .category {
    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.2);
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    z-index: 32;
    background-color: #fff;
    padding-top: 32px;
    padding-bottom: 32px;
    transition: opacity .3s;
    z-index: 100000;
    pointer-events: none;
  }

  .category.-active {
    opacity: 1;
    pointer-events: auto;
  }

  .category li {
    display: block;
    font-size: 20px;
    text-align: center;
    height: 45px;
    line-height: 45px;
  }
}

.category li a {
  -o-transition: color 0.3s;
  transition: color 0.3s;
  -webkit-transition: color 0.3s;
  color: #b3b3b3
}

@media screen and (min-width: 769px) {
  .category li a:hover {
    color: #000000
  }
}

.category .new a {
  color: #fbc9a3
}

.category .new a:hover {
  color: #f88800
}

.category .selected a {
  color: #000000
}

.category .selected .orange {
  color: #f88800
}

.works_footer {
  z-index: 200;
  position: fixed;
  width: 100%;
  height: 80px;
  bottom: 0;
  left: 0;
  /* background: rgba(255,255,255,.7); */
}

@media screen and (max-width: 768px) {
  .works_footer {
    bottom: 10px;
  }
}

#header {
  z-index: 1;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
}

.lang_menu {
  position: fixed;
}

@media screen and (min-width: 769px) {
  .works {
    padding-top: 73px;
  }
}

.movie_w .wrapper,
.credit .wrapper {
  z-index: 2;
  position: relative;
}
.movie_w .flex_container {
  z-index: 1;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.movie_w iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* 案件ごとの個別調整 */
body[data-id="412_baobao_look"] .mains .item_image {
  padding: 5px 10px;
}

@media screen and (min-width: 769px) {
  body[data-id="416_GM-SMA"] .mains .item_image img {
    max-height: none;
  }
}