/* modal */
.ed-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #ffffff;
  display: flex;
  z-index: 999999;
  animation: fadeIn 0.2s ease 0s 1 normal;
  transition: 0.2s;
}
div#modalOverlay {
    width: 100%;
    height: 100%;
    display: flex;
    cursor: pointer;
}

.ed-closeModal {
    position: fixed;
    top: 20px;
    left: 20px;
    cursor: pointer;
    width: 1.5rem;
    height: 1.5rem;
    opacity: 0.9;
}
.ed-closeModal::before, .ed-closeModal::after {
  content: "";
  width: 35px;
  height: 1px;
  background: #000000;
  position: absolute;
  top: 0;
  transform: rotate(45deg);
  transform-origin: top left;
}
.ed-closeModal::before {
  left: 0;
}
.ed-closeModal::after {
  right: 0;
  transform: rotate(-45deg);
  transform-origin: top right;
}

.modalContent {
  width: 100%;
  max-width: 800px;
  margin: auto;
  position: relative;
}

.video {
  width: 100%;
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.video iframe {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

@keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
    }
  }


@media screen and (max-width: 767px) {
/* （ここにモバイル用スタイルを記述） */
ul.youtubeList li {
    width: 100%;
}
}
/* ------------------------------
	#movie_modal
	------------------------------ */
	#movie_modal{
		width: 100%;
		height: 100%;
		display: none;
		visibility: hidden;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 65535;
	}

	#movie_modal .movie_overlay{
		width: 100%;
		height: 100%;
		background-color: #fff;
		opacity: 1;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1;
	}

	#movie_modal .movie_btn_close{
		width: 30px;
		height: 30px;
		margin: 0 0 0 0;
		background-image:url(../common/img/parts_modal_close.png);
		background-repeat: no-repeat;
		background-size: 30px;
		position: fixed;
		top: 20px;
		left: 20px;
		z-index: 2;
		cursor: pointer;
		transition: opacity .1s ease;
	}
@media screen and (max-width: 768px) {
    #movie_modal .movie_btn_close {
        width: 20px;
        height: 20px;
        margin: 0 0 0 0;
        background-image: url(../common/img/parts_modal_close.png);
        background-repeat: no-repeat;
        background-size: 20px;
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 2;
        cursor: pointer;
        transition: opacity .1s ease;
    }
}

	#movie_modal .movie_btn_close:hover{
		opacity: .7;
	}

	#movie_modal_inner{
		margin: 0 auto;
		opacity: 0;
		text-align: center;
		position: fixed;
		top: 0;
		z-index: 2;
	}

	#movie_modal {
		position: fixed;
		text-align: center;
		white-space: nowrap;
	}
	#movie_modal::after,
	#movie_modal_inner {
		display: inline-block;
		vertical-align: middle;
	}
	#movie_modal::after {
		content: '';
		width: 0;
		height: 100%;
	}
	#movie_modal_inner {
		position: relative;
		width: 90%;
		max-width: 800px;
	}
	#movie_modal_data {
		position: relative;
		padding-top: 56.25%;
	}
	#movie_modal_data iframe {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
	}

	.modal_mov_open a::after{
		background: none;
	}