@charset "UTF-8";

/* 全画面動画エリア */
.service-video-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.service-fullscreen-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ミュート切り替えボタン */
.video-mute-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
}

.video-mute-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.video-mute-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
    /* アイコンの色を指定 */
}

/* タイトル周りの調整 */
.service-title-area {
    margin-bottom: 30px;
    padding-top: 20px;
}

.service-title-area p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.service-title-area h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* スマホ対応: 画面幅768px以下では16:9で全体を表示 */
@media (max-width: 768px) {
    .service-video-wrapper {
        height: auto;
        /* 高さは自動（動画のアスペクト比に合わせる） */
        aspect-ratio: 16 / 9;
    }

    .service-fullscreen-video {
        object-fit: contain;
        /* 必要に応じてcontainにするが、wrapperが16/9ならcoverでもOK */
    }
}