@charset "utf-8";

.popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: .6s;
	
    margin-bottom: 0px;
    /*display: flex;*/
    overscroll-behavior: contain;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nonScroll {
    height:calc(100vh + 1px) ;
    width: 1px;
    background-color: transparent;
}

.popup.is-show {
  opacity: 1;
  visibility: visible;
}
.popup-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
/*  width: 80%;
  max-width: 600px;*/
  z-index: 4;
  border-radius: 3px;
}

@media only screen and (max-width: 900px) {
.popup-inner {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%,-50%);
/*  width: 80%;
  max-width: 600px;*/
  z-index: 4;
  border-radius: 3px;
}
}

.popup-inner img {
  width: 100%;
  border-radius: 3px 3px 0 0;
}
div#modalCloseCloss:hover {
    opacity: 0.7;
}
/*.modalCloseButton {
    position: absolute;
    left: 92%;
    top: -48px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
}*/

.modalCloseButton {
    position: absolute;
    left: 95%;
    top: 35px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
}

@media only screen and (max-width: 900px) {
    .modalCloseButton {
        position: relative;
        left: 87%;
        top: -18px;
        width: 30px;
        height: 40px;
        line-height: 50px;
        text-align: center;
        cursor: pointer;
    }
}

.lineClose {
    display: inline-block;
    vertical-align: middle;
    color: #FFF;
    line-height: 1;
    width: 2rem;
    height: 0.2rem;
    background: currentColor;
    border-radius: 0.1rem;
    position: relative;
    transform: rotate(45deg);
}
@media only screen and (max-width: 900px) {
.lineClose {
    display: inline-block;
    vertical-align: middle;
    color: #FFF;
    line-height: 1;
    width: 1.5rem;
    height: 0.15rem;
    background: currentColor;
    border-radius: 0.1rem;
    position: relative;
    transform: rotate(45deg);
}	
}

.lineClose::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  transform: rotate(90deg);
}
.black-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100.2%;
  background-color: rgba(0,0,0,.6);
  z-index: 1;
  cursor: pointer;
}
.modalBottom {
    padding: 22px 30px;
}
.modalBottom p {
    margin: 0;
}

.iframe-wrapper {
  position: fixed;
  padding-bottom: 56.25%;
  height: 0;
  margin: 10% auto;
  overflow: hidden;
}

.iframe-wrapper iframe {
  top: 0;
  left: 0;
  width: 792px;
  height: 446px;
  margin-top: 80px;
}

@media only screen and (max-width: 900px) {
.iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  padding: 0% 5% 0 5%;
  margin-top: 20px;
 }
}
	 
button {
  background: transparent;
  border: 1px solid #333;
  outline: none;
  box-shadow: none;
}

.ytimg{
  width: 640px;
  height: 362px;
	 }

@media only screen and (max-width: 700px) {
.ytimg{
  width: 90%;
  height: auto;
	 }
}


.yt-box {
    position: relative;
	cursor: pointer;
}
.yt-icon {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
	width: 15%;
}
