#side h2, #side .btn01 {
  font-family: garamond-premier-pro, serif;
  font-weight: bold;
}

#side h2:before, #side h2:after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 12px;
  margin-top: -1px;
  background-image: url("../img/common/ico01.png");
  background-repeat: no-repeat;
  background-size: 200% auto;
  vertical-align: top;
}

/* index
##################################### */
#index .bnr2 a {
  display: block;
  background: #fff;
}

#opening {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 130px;
  background: url("../img/common/bg01.jpg");
  z-index: 500;
}

#opening img {
  vertical-align: top;
  opacity: 0;
  -webkit-transform: translate(0, 20px);
  -ms-transform: translate(0, 20px);
  transform: translate(0, 20px);
  -webkit-transition: all .3s ease-out;
  -o-transition: all .3s ease-out;
  transition: all .3s ease-out;
}

#opening img:not(:last-child) {
  margin-right: 16px;
}

#opening.on img {
  opacity: 1;
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}

#opening.on img:nth-of-type(1) {
  -webkit-transition-delay: 1.2s;
  -o-transition-delay: 1.2s;
  transition-delay: 1.2s;
}

#opening.on img:nth-of-type(2) {
  -webkit-transition-delay: 0.6s;
  -o-transition-delay: 0.6s;
  transition-delay: 0.6s;
}

#opening.on img:nth-of-type(3) {
  -webkit-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}

#mainvisual {
  position: relative;
  padding-top: 137.4%;
  /*background: url("../img/index/mainvisual03_bg.jpg") no-repeat 0 0/100% auto;*/
  background: url("../img/index/mainvisual03_bg.jpg") no-repeat;
  background-position: center bottom;
  background-size: cover;
}

#mainvisual > *:not(.visual) {
  opacity: 0;
}

#mainvisual .logo, #mainvisual .copy, #mainvisual .releaseday, #mainvisual .bnr, #mainvisual .badge {
  position: absolute;
}

#mainvisual .visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#mainvisual .visual img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  object-fit: cover;
  height: 100%;
}

#mainvisual .copy {
  top: 3.6%;
  -webkit-transform: translate(0, 50px);
  -ms-transform: translate(0, 50px);
  transform: translate(0, 50px);
}

#mainvisual .releaseday {
  left: 0;
  width: 100%;
}

#mainvisual .releaseday img {
  position: relative;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  width: 75%;
}

#mainvisual .bnr {
  position: absolute;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#mainvisual .bnr a {
  position: relative;
  display: block;
  -webkit-animation: arrowDown 1.2s ease-in-out infinite;
  animation: arrowDown 1.2s ease-in-out infinite;
}

#mainvisual .bnr a:not(:last-child) {
  margin-bottom: 20px;
}

@-webkit-keyframes arrowDown {
  0% {
    bottom: 0;
  }
  50% {
    bottom: -10px;
  }
  100% {
    bottom: 0;
  }
}

@keyframes arrowDown {
  0% {
    bottom: 0;
  }
  50% {
    bottom: -10px;
  }
  100% {
    bottom: 0;
  }
}

#side:before, #side:after {
  content: '';
  position: relative;
  display: block;
	box-shadow: 0 0 4px rgba(0,0,0,0.4);
}

#side h2 {
  line-height: 1;
  color: #482101;
}

#side h2:before {
  margin-right: 10px;
}

#side h2:after {
  margin-left: 10px;
  background-position: 100% 0;
}

#side .inner {
  position: relative;
  display: block;
  background-color: #fff;
  -webkit-box-shadow: 0 0 0 1px #fff inset, 0 0 0 2px #826122 inset;
  box-shadow: 0 0 0 1px #fff inset, 0 0 0 2px #826122 inset;
  border: 1px solid #826122;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 25px 20px;
}

#side .inner:before, #side .inner:after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 37px;
  background-size: 36px 37px !important;
}

#side .inner:before {
  top: 0;
  background: url("../img/common/frame03_tl.png") no-repeat 0 0, url("../img/common/frame03_tr.png") no-repeat 100%;
}

#side .inner:after {
  bottom: 0;
  background: url("../img/common/frame03_bl.png") no-repeat 0 0, url("../img/common/frame03_br.png") no-repeat 100%;
}

#side p {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.4);
  line-height: 1;
}

#side .widget {
  z-index: 1;
}

#side .widget iframe {
  /* width: 740px !important; */
  width: 100% !important;
  vertical-align: top;
}

#side_layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#side_layer:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/common/bg_header.jpg");
}

#index_news ol {
  overflow-y: scroll;
}

#index_news li {
  padding-bottom: 5px;
  border-bottom: 1px dotted #5bb653;
  line-height: 1.5;
}

#index_news li:not(:last-child) {
  margin-bottom: 7px;
}

#index_news li a {
  display: block;
  color: #333;
  -webkit-transition: color .3s ease-out;
  -o-transition: color .3s ease-out;
  transition: color .3s ease-out;
}

#index_news li a:hover {
  color: #9a1e23;
}

#index_news .date {
  display: block;
}

#index_movie {
  z-index: 1;
}

#modal {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  min-height: 100%;
  text-align: center;
  opacity: 0;
  z-index: 500;
}

#modal #modal_layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/common/bg_modal.png");
  cursor: pointer;
}

#modal #modal_inner {
  position: relative;
  display: inline-block;
}

#modal .btn_close {
  position: absolute;
  right: 0;
  padding: 0;
  background-image: url("../img/common/btn_close.png");
  background-repeat: no-repeat;
  background-color: transparent;
  background-size: contain;
  border: none;
  outline: none;
  font-size: 0;
  text-indent: -9999px;
  cursor: pointer;
}

#modal .btn_close a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#modal.on {
  display: block;
}

/* index pc
===================================== */
@media screen and (min-width: 769px) {
  #index #header .badge {
    display: block;
  }
  #index #main {
    margin-right: 260px;
    padding: 0;
  }
  #index #btn_ptop {
    display: none !important;
  }
  #mainvisual .copy {
    left: 4.2%;
    width: 5.66%;
  }
  #mainvisual .copy_right {
    left: auto;
    right: 4.2%;
  }
	
  #mainvisual .releaseday {
    bottom: 5.4%;
  }
  #mainvisual .bnr {
    top: 68%;
    right: 3.61111%;
    width: 23.61111%;
  }
  #mainvisual .bnr2 {
    position: absolute;
    top: 25px;
    right: 15px;
    width: 27%;
  }
  #side {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 2;
    font-weight: normal;
    z-index: 100;
  }
  #side:before, #side:after {
    height: 50px;
    background: url("../img/common/race_nav.png") repeat-x 0 0/auto 100%;
  }
  #side:before {
    margin-bottom: 38px;
  }
  #side:after {
    margin-top: 45px;
  }
  #side h2 {
    margin-bottom: 10px;
    text-align: right;
  }
  #side h2:before {
    display: none;
  }
  #side h2:after {
    background-position: 0 0;
  }
  #side .inner {
    width: 240px;
    margin: 0 auto;
  }
  #side #index_news, #side .widget {
    margin-bottom: 45px;
  }
  #index_news ol {
    height: 108px;
  }
  #index_news li {
    line-height: 1.5;
  }
  #index_news .date {
    margin-bottom: 3px;
  }
  #index_movie a {
    width: 240px;
    margin: 0 auto;
  }
  #modal {
    min-width: 1240px;
  }
  #modal #modal_inner {
    margin: 10vh 0;
  }
  #modal .btn_close {
    top: -8vh;
    right: -8vh;
    width: 8vh;
    height: 8vh;
  }
}

/* index sp
===================================== */
@media screen and (max-width: 768px) {
  #index #main {
    padding-top: 0;
  }
  #opening img {
    width: 4.26667%;
  }
  #opening img:not(:last-child) {
    margin-right: 2.13333%;
  }
  #mainvisual .logo {
    bottom: 15.5%;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    width: 74.93333%;
  }
  #mainvisual .copy {
    left: 2.16%;
    width: 6.2%;
  }
	
  #mainvisual .copy_right{
    right: 2.4%;
    opacity: 1;
    transform: matrix(1, 0, 0, 1, 0, 0);
    left: auto;
    top: 12%;
  }

  #mainvisual .releaseday {
    top: 60%;
  }
  #mainvisual .bnr {
 top: 79%;
    left: 4%;
    width: 23.8%;
  }
  #mainvisual .badge {
    bottom: 1.5%;
    width: 28%;
    right: 2.4%;
  }
  #side {
    position: relative;
    top: 0 !important;
    right: 0 !important;
  }
  #side:before {
    margin-bottom: 10.66667%;
    padding-top: 10.66667%;
    background: url("../img/common/race_top.png") repeat-x 0 0/auto 100%;
  }
  #side:after {
    display: none;
  }
  #side .bnr2 {
    padding: 0 6.93333%;
    margin-bottom: 12%;
  }
  #side .bnr2 a:nth-child(n+2) {
    margin-top: 4%;
  }
  #side #index_news, #side .widget, #side #index_movie {
    padding: 0 6.93333%;
    margin-bottom: 12%;
  }
  #side #index_news h2, #side .widget h2, #side #index_movie h2 {
    margin-bottom: 20px;
    text-align: center;
  }
  #side_layer:after {
    background: url("../img/common/bg_gnav.png") no-repeat 50% 0/100% auto;
  }
  #index_news ol {
    height: 215px;
  }
  #index_news li {
    line-height: 1.7;
  }
  #index_news .date {
    margin-bottom: 5px;
  }
  #modal #modal_inner {
    margin: 17.8vw 0;
  }
  #modal .btn_close {
    top: -15.4vw;
    right: 2.4vw;
    width: 13vw;
    height: 13vw;
  }
}
