@charset "utf-8";

.setumei{
    color: #06f;
}
.setumei.videoThumb {
    cursor: pointer;
}
.setumei.videoThumb:hover {
    opacity: 0.8;
}



@media (max-width: 599px) {
   /* 横幅が599px以下の場合に適用するスタイル */
.modalContent {
    background-color: #fefefe;
    margin: 50% auto 50% auto;
    padding: 0;
    border: 1px solid #888;
    animation: fadeIn 0.7s ease 0s 1 normal;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-width: 96%;
    

/*
    margin: 15% auto;
    max-width: 600px;
*/


}

}

@media (min-width: 600px) {
   /* 横幅が600px以上の場合に適用するスタイル */

.modalContent {
    background-color: #fefefe;
    margin: 15% auto 0 auto;
    padding: 0;
    border: 1px solid #888;
    animation: fadeIn 0.7s ease 0s 1 normal;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-width: 80%;
    

/*
position: relative;
    margin: 15% auto;
    max-width: 600px;
*/


}

}


.modalContent iframe {
    position: absolute;
    width: 100%;
    height: 100%;
}
button.closeBtn {
    display: inline-block;
    vertical-align: middle;
    color: #FFF;
    line-height: 1;
    width: 1.6rem;
    height: 0.2rem;
    background: currentColor;
    border-radius: 0.1rem;
    position: absolute;
    transform: rotate(45deg);
    border: none;
    right: 0px;
    top: -20px;


/*
    opacity: 0.6;
    transition: 0.2s ease-in-out;
*/


}

button.closeBtn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
}
button.closeBtn:hover {
    opacity: 1;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(60px);
  }
}




