@charset "utf-8";
/*-----------------------------------------
  トップ MV（ZOOM商談導線）2026-11-25
  section#dm_top の直下（2カラムの上・全幅）に表示
  PC：背景 img/home/top_webmtg_mv_pc.jpg（1700×430 / デザイン原寸 1980×500）
  SP（991px以下）：背景 img/home/top_webmtg_mv_sp.jpg（1240×540）＋ボタンは画像の下に縦並び
------------------------------------------*/

.topZoomMv {
    container-type: inline-size;
    margin-top: 30px;   /* section#dm_top 直下に配置。下の .ly-column（mT30）と余白をそろえる */
}

.topZoomMv__inner {
    position: relative;
}

.topZoomMv__image {
    display: block;
    width: 100%;
    height: auto;
}

.topZoomMv__btns {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.topZoomMv__btn {
    position: absolute;
    top: 77.4%;
    width: 19.3%;
    height: 14%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff !important;
    font-size: 1.4vw;    /* 古いブラウザ用 */
    font-size: 1.35cqw;  /* MVの幅に連動 */
    font-weight: bold;
    line-height: 1;
    letter-spacing: .05em;
    text-decoration: none !important;
    pointer-events: auto;
    transition: opacity .2s;
}

.topZoomMv__btn:hover,
.topZoomMv__btn:focus {
    opacity: .85;
}

.topZoomMv__btn--tel {
    left: 31.4%;
    background: #F05A23;
}

.topZoomMv__btn--zoom {
    left: 52.5%;
    background: #2D30A8;
}

@media (max-width: 991px) {
    /* SPデザイン（幅1026）の比率に合わせる。タブレット幅で大きくなりすぎないよう上限あり */
    .topZoomMv__btns {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: min(3.1cqw, 16px);
        padding: min(8.4cqw, 40px) 0 min(4cqw, 20px);
        pointer-events: auto;
    }
    .topZoomMv__btn {
        position: static;
        width: 55.6%;
        max-width: 400px;
        height: min(10.3cqw, 60px);
        font-size: min(3.6cqw, 20px);
    }
}

/* ---- 電話案内モーダル（PCのみ） ---- */
.topZoomTel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.topZoomTel.is-open {
    display: flex;
}

.topZoomTel__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    cursor: pointer;
}

.topZoomTel__box {
    position: relative;
    width: 100%;
    max-width: 560px;
    padding: 40px 20px 30px;
    border: 1px solid #333;
    border-radius: 14px;
    background: #fff;
    text-align: center;
    color: #222;
    animation: topZoomTelIn .2s ease-out;
}

@keyframes topZoomTelIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.topZoomTel__close {
    position: absolute;
    top: 8px;
    right: 12px;
    padding: 0 6px;
    border: 0;
    background: none;
    font-size: 32px;
    line-height: 1;
    color: #666;
    cursor: pointer;
}

.topZoomTel__close:hover {
    color: #222;
}

.topZoomTel p {
    margin: 0;
}

.topZoomTel__lead {
    font-size: 20px;
    font-weight: bold;
}

.topZoomTel__num {
    display: inline-block;
    font-size: 54px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: .02em;
}

.topZoomTel__mobile {
    font-size: 20px;
}

.topZoomTel__time {
    margin-top: 15px !important;
    font-size: 16px;
}

.topZoomTel__guide {
    margin-top: 5px !important;
    font-size: 16px;
}

html.is-topZoomTel-open {
    overflow: hidden;
}
