

.video-pc {
    display: none;
}
.video-background {
    clear: both;
    margin-top: 5vh;
    position: relative;
    height: 90vh;
    width: 100%;
    position: relative;
	background:#183350;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none; /* ビデオ上のマウスイベントを無効化 */
}

/* 16:9のアスペクト比を維持するための追加設定 */
@media (min-aspect-ratio: 16/9) {
    .video-background iframe {
        height: 56.25vw; /* 100 * 9/16 = 56.25 */
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-background iframe {
        width: 177.78vh; /* 100 * 16/9 = 177.78 */
    }
}

#catchcopy {
    display: none;
    position: absolute;
    top: 50%;
}

#catchcopy h2 {
    font-size: 2em;
    color: #fff;
    line-height: 150%;
}

@media screen and (min-width : 1020px) { 
    .video-background {
        display: none;
    }

    .video-pc {
        display: block!important;
    }

.video-pc {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
  }
  .video-pc iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }

  #catchcopy {
    text-align: left;
    top: 30%;
}
#catchcopy h2 {
    margin: 0 0 0 2%;
}
}
@media screen and (min-width : 1450px) {

    #catchcopy {
        top: 50%;
    }
}