.reflect_body {
    height: 80px;
    position: relative;
    text-align: center; /* 追加：中央揃え */
}
  
.reflect_title {
    color: #f4c5fe;
    font-family: 'A1 Mincho', serif;
    font-size: 42px;
    letter-spacing: -0.05em;
    line-height: 1;
    position: absolute;
    width: 100%;
    top: 0;
    text-align: center; /* 追加：中央揃え */
    -webkit-box-reflect: below 0 -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(0.4, transparent), to(rgba(0,0,0,0.5)));
    z-index: 1;
}
  
.reflect_title:before {
    color: #d472df;
    content: attr(title);
    display: block;
    position: absolute;
    width: 100%;
    top: 0;
    text-align: center; /* 中央揃え */
    -webkit-mask-image: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
}

.video_container {
    position: relative;
    margin-top: 100px;
    text-align: center;
    z-index: 0;
}

video {
    max-width: fit-content;
    height: auto;
    width: auto;
    display: inline-block;
}

/* メディアクエリでモバイル対応 */
@media (max-width: 768px) {
    .reflect_title {
        font-size: 24px; /* フォントサイズを小さく調整 */
    }

    .video_container {
        margin-top: 100px; /* マージンを調整 */
    }

    video {
        width: 100%; /* 幅を調整して画面に合わせる */
    }
}

/* メディアクエリでパソコン対応 */
@media (max-width: 1920px) {
    .reflect_title {
        font-size: 36px; /* フォントサイズを大きく調整 */
    }

    .video_container {
        margin-top: 100px; /* マージンを調整 */
    }

    video {
        width: 100%; /* 幅を調整して画面に合わせる */
    }
}