/* ==========================================
*
*  YouTube iFrame
*
========================================== */
.play_button {
    position: absolute;
    width: 250px;
    height:141px;
    cursor: pointer;
    transition: 0.5s;
    outline: 3px solid transparent;
    background: #000;
    right: 30px;
    bottom: 240px;
}
/*
.play_button.tablet {
    pointer-events:none;
}
.play_button.tablet iframe{
    pointer-events:auto;
}
*/
.play_button:hover {
  outline: 3px solid #eaea3d;
  filter: brightness(0.8);
}

.play_button::after {
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  position: absolute;
  background: url(../../images/main/common/movie_play_bt.png) center/cover;
}

.play_button img, .play_button iframe {
  width: 100%;
  height: 100%;
  pointer-events: none;
  vertical-align: bottom;
  opacity: 0.6;
}

/* ===== 767px　↓ ===== */
@media screen and (max-width:767px) {
.play_button {
    position: static;
    width: 100%;
    width: auto;
    height: auto;
    background: transparent;
    pointer-events:none;
}
.play_button iframe{
    pointer-events:auto;
}

  .play_button:hover {
    filter: none;
    outline: none;
  }
  .play_button img, .play_button iframe {
    width: 100vw;
    height: calc(9/16*100vw);
    pointer-events: auto;
    opacity: 1;
  }
  
  .play_button::after {
    display: none;
  }
}

/* ==========================================
*
*  modal
*
========================================== */

.mfp-content {
  margin-top: 60px !important;
}

.mfp-close {
  font-size: 40px !important;
  position: absolute !important;
  width: 1.4em !important;
  height: 1.4em !important;
  display: inline-block !important;
  right: 0 !important;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden !important;
  padding-right: 0px !important;
  top: -40px !important;
}

.mfp-close::before {
  position: absolute;
  top: 49%;
  left: -19%;
  width: 138%;
  height: 1.5%;
  content: "";
  background-color: #fff;
  transform: rotate(45deg);
}

.mfp-close::after {
  position: absolute;
  top: 49%;
  right: -19%;
  width: 138%;
  height: 1.5%;
  content: "";
  background-color: #fff;
  transform: rotate(135deg);
}

.mfp-iframe-scaler iframe {
  right: 0;
  width: 90% !important;
  height: 90% !important;
  margin: 40px auto 0;
  max-width: 900px;
  max-height: calc(900px * (9/16));
}

.mfp-figure:after {
  background: transparent !important;
}

img.mfp-img {
  padding-bottom: 80px !important;
}

/* ==========================================
*
*  upLeft
*
========================================== */

#upLeft {
  width: 568px;
  height: 427px;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 998;
  background: url(../../images/main/common/head_bg.png) no-repeat;
  background-size: 100% auto;
}

#upLeft h1.logo {
    position: absolute;
    top: 30px;
    left: 35px;
    width: 330px;
    height: auto;
}

#upLeft .siteName {
  position: absolute;
  top: 54%;
  left: 2vw;
  width: 20%;
  height: auto;
}

/*Nav*/

#upLeft nav {
  position: absolute;
  top: 343px;
  left: 150px;
}

#upLeft nav p {}

#upLeft nav p a {
  background: url(../../images/main/tz/gnavBg.png) no-repeat;
  background-size: 100% auto;
  max-width: 240px;
  width: 16vw;
  width: 240px;
  height: calc(67/480*16vw);
  max-height: calc(67/480*240px);
  padding: 0.9rem 0 0 4.5rem;
  display: block;
  text-decoration: none;
  color: #fff;
  position: relative;
  font-size: 1.8rem;
}

#upLeft nav p a:hover {
  opacity: 0.8;
}

#upLeft nav p a::before {
  display: block;
  content: "";
  position: absolute;
  top: 45%;
  left: 1.8em;
  width: 0;
  height: 0;
  margin-top: -3px;
  border: 3px solid transparent;
  border-left: 5px solid #f2e851;
}

#upLeft nav p:nth-child(1) {
  padding: 0 0 0 0%;
  margin-left: 41%;
}

#upLeft nav p:nth-child(2) {
  padding: 0 0 0 0;
  margin-left: 27%;
}

#upLeft nav p:nth-child(3) {
  padding: 0 0 0 0;
  margin-left: 13.5%;
}

@media screen and (max-width:767px) {
  #upLeft {
    display:none;
  }
  #upLeft h1.logo {
    position: static;
    width: 100%;
    height: auto;
    text-align: left;
    padding: 0 0 0 5vw;
  }
  #upLeft h1.logo img {
    width: 60%;
  }
  #upLeft .siteName {
    display: none;
  }
  #upLeft nav {
    top: 27vw;
    left: 51vw;
  }
  #upLeft nav p {
    font-size: 3vw;
  }
  #upLeft nav p a {
    width: 37vw;
    max-width: initial;
    height: calc(67/480*37vw);
    max-height: initial;
    padding: 0.9vw 0 0 7vw;
    font-size: 2.8vw;
  }
  #upLeft nav p:nth-child(1) {
    padding: 0 0 0 0vw
  }
  #upLeft nav p:nth-child(2) {
    padding: 0 0 0 0vw;
  }
  #upLeft nav p:nth-child(3) {
    padding: 0 0 0 0vw;
  }
}