﻿@media all and (-ms-high-contrast: none){
  #accordion-sections .section-container {
    -ms-overflow-style: none;
  }

  .section-thumb-wrapper {
    position: relative;
    width: 31%;
    height: auto;
    overflow: hidden;
    margin: 10px 1%;
    background: #444;
    display: inline-block;
  }

  .section-thumb-wrapper:hover {
    cursor: pointer;
    -webkit-box-shadow: 0px 0px 18px 5px rgba(0, 0, 0, .9);
    box-shadow: 0px 0px 18px 5px rgba(0, 0, 0, .9);
    outline: solid 2px #3e9bc4;
  }

  .section-thumb-wrapper.selected {
    -webkit-box-shadow: 0px 0px 18px 5px rgba(0, 0, 0, .9);
    box-shadow: 0px 0px 18px 5px rgba(0, 0, 0, .9);
    border: solid 1px #3e9bc4;
  }

  .preview-overlay {
    position: fixed;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 3;
  }

  .preview-overlay .preview-bg {
    background-color: rgba(0, 0, 0, 0);
    z-index: 3;
  }

  .preview-overlay .preview-transition {
    -webkit-transition-property: opacity, background-color;
    transition-property: opacity, background-color;
    -webkit-transition-duration: 0.25s;
    transition-duration: 0.25s;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
    -webkit-transition-delay: 0.5;
    transition-delay: 0.5;
  }

  .preview-flex-layout {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .preview-overlay .preview-image {
    opacity: 0;
    width: 80%;
    height: 500px;
    background: center / contain no-repeat;
  }

  .section-thumb-wrapper .img-wrapper {
    position: relative;
  }

  .newSection:before {
    content: "";
    top: 0;
    left: 0;
    border-bottom: 4.5em solid transparent;
    border-left: 4.5em solid #ee7821;
    position: absolute;
    z-index: 1;
  }

  .newSection:after {
    content: "New";
    display: block;
    top: 7px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    color: #fff;
    font-weight: bold;
    left: 3px;
    letter-spacing: 3.2px;
    letter-spacing: 0.2rem;
    position: absolute;
    z-index: 1;
  }

  .section-thumb-wrapper .preview-btn {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    width: 33px;
    height: 33px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 0 5px 5px 0;
  }

  .section-thumb-wrapper .section-name {
    width: 100%;
    font-size: 25.6px;
    font-size: 1.6rem;
    text-align: center;
    letter-spacing: 4.8px;
    letter-spacing: .3rem;
    color: #fff;
    padding: 5px 0;
  }

  .section-thumb-wrapper .favorite_border,
  .section-thumb-wrapper .material-icons.favorite {
    position: absolute;
    right: 2px;
    bottom: 5px;
    font-size: 48px;
    font-size: 3rem;
    color: #bbb;
    cursor: pointer;
  }

  .section-thumb-wrapper img {
    width: 100%;
  }

  .section-thumb-wrapper .favorite_border.favorite_border:before,
  .section-thumb-wrapper .material-icons.favorite.favorite_border:before {
    content: "favorite_border";
  }
}

#section-wrapper .image-frame[data-movie] .frame-image {
  position: absolute;
  top: 0;
  left: 0;
}

.content > .visibility_off:after {
  content: "このセクションは現在非表示になっています。\A公開サイトでは表示されません。";
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f1f1f1;
  font-size: 2rem;
  text-align: center;
  white-space: pre;
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}