@charset "utf-8";
/* CSS Document */
.y-wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.y-block{
    width: 48%;
    margin-bottom: 3%;
}

.y-movie{
    width: 100%;
    aspect-ratio: 16 / 9;
}

.y-movie iframe {
  width: 100%;
  height: 100%;
}

.youtube h2{
    margin: 1% 0 3%;
}

.youtube h3{
    position: relative;
    width: 100%;
    font-size: 1.4rem;
    margin-bottom: 1.4%;
    font-weight: normal;
}

.youtube h3::after{
    position: absolute;
    content: "";
    width: 100%;
    border: 1px solid #0073BB;
    left: 0;
    bottom: -5%;
}

.youtube h4{
    margin-top: 0.8%;
    font-weight: normal;
    font-size: 1.1rem;
    line-height: 1.6rem;
}

@media screen and (max-width: 767px) {
/* 767pxまでの幅の場合に適応される */
    .y-wrap{
        display: block;
    }
    
    .y-block{
        width: 100%;
        margin-bottom: 5%;
    }
    
    .youtube h2{
        margin: 5% 0;
    }
    
    .youtube h3{
      margin: 5% 0;
      padding-left: 3%;
      font-size: 3.8vw;
    }
    
    .youtube h4{
      font-size: 2.5vw;
      line-height: 3.5vw;
    }
}