@charset "UTF-8";
.youtube {
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

@media screen and (max-width: 850px) {
    .youtube {
        background-color: #f9fafb;
    }
}

.youtube::after {
    content: "";
    display: block;
    width: 100%;
    height: 65%;
    background-color: #f9fafb;
    top: 250px;
    left: 90px;
    position: absolute;
    z-index: -1;
}

@media screen and (max-width: 850px) {
    .youtube::after {
        display: none;
    }
}

.youtube__inner {
}

.youtube__large-title {
    font-size: clamp(32px, calc(26.366197183098592px + 1.5023474178403755vw), 48px);
    font-weight: bold;
    font-family: var(--mont);
    padding: 10px 40px;
    background-color: #fff;
    margin-top: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

@media screen and (max-width: 850px) {
    .youtube__large-title {
        padding: 10px 20px;
    }
}

.youtube__large-title::before {
    content: "";
    display: inline-block;
    width: 64px;
    height: 45px;
    background-image: url(../img/youtube-icon-red.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 20px;
}

@media screen and (max-width: 768px) {
    .youtube__large-title::before {
        width: 42px;
        height: 30px;
    }
}

.img-with-text--youtube iframe {
    aspect-ratio: 526/296;
    object-fit: cover;
    height: auto;
}

.img-with-text__contents.img-with-text__contents--youtube {
    gap: 40px;
}

.img-with-text__img--youtube {
    flex: 0 0 45%;
}

.img-with-text__youtube-title {
}

.img-with-text__text-box--youtube {
}

.img-with-text__text--youtube {
    text-align: start;
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.img-with-text__link--youtube {
    text-align: end;
}

@media screen and (max-width: 768px) {
    .img-with-text__link--youtube {
        text-align: center;
    }
}
