@charset "UTF-8";
/* ==========================================================================
   CTAメインブロック
   旧 pc-cta-main_notel.png / sp-cta-main_notel.png をテキスト＋画像に分解したもの
   画像パーツ: cta-rabbit-tel.png（マスコット） / freedial-mark.png（フリーダイヤル）
   ========================================================================== */

.ctamain {
    position: relative;
    /* max-width: 716px; */
    margin: 0 auto;
    /* padding-right: 17%; */
    /* text-align: left; */
}

/* --- 上段：家具1つから お部屋まるごと まで ／ 24時間365日 電話OK ---
   左は紺の文字＋青の下線、右は白地に青枠のカプセル。
   col-lg-8 の lg幅(992-1199px)では約511pxしかないので、入らなければカプセルが2行目に回る */
.ctamain__head {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: 20px 0 12px;
    color: #12355b;
    font-weight: 800;
    line-height: 1.3;
}

.ctamain__range {
    font-size: clamp(15px, 2.2vw, 19px);
    white-space: nowrap;
}

.ctamain__em {
    margin: 0 .15em;
    color: #1565c0;
    font-size: 1.15em;
    font-style: normal;
    border-bottom: 3px solid #1565c0;
}

.ctamain__open {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    padding: .22em .9em .22em .6em;
    border: 2px solid #1565c0;
    border-radius: 999px;
    background: #fff;
    color: #1565c0;
    font-size: clamp(15px, 2.2vw, 19px);
    white-space: nowrap;
}

.ctamain__clock {
    flex: none;
    width: 1.1em;
    height: 1.1em;
}


/* --- 下段：青いボックス --- */
.ctamain__box {
    display: block;
    background: #286aaf;
    border-radius: 14px;
    padding: 14px 22px 16px;
    text-decoration: none;
    color: #fff;
}

.ctamain__box:hover,
.ctamain__box:focus {
    color: #fff;
    text-decoration: none;
    opacity: .92;
}

.ctamain__boxhead {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 14px;
    font-weight: 800;
    line-height: 1.3;
}

.ctamain__free {
    color: #fff100;
    font-size: clamp(16px, 2.9vw, 24px);
    white-space: nowrap;
}

.ctamain__note {
    margin-left: .1em;
}

.ctamain__lead {
    color: #fff;
    font-size: clamp(15px, 2.7vw, 22px);
}

.ctamain__telrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    justify-content: center;
}

.ctamain__freedial {
    flex: none;
    width: clamp(38px, 6.4vw, 52px);
    height: auto;
}

.ctamain__tel {
    color: #fff;
    font-weight: 800;
    font-size: clamp(30px, 7.4vw, 60px);
    line-height: 1.05;
    letter-spacing: .01em;
    white-space: nowrap;
}

/* --- マスコット --- */
.ctamain__mascot {
    position: absolute;
    right: 0px;
    bottom: 0;
    width: auto;
    height: 112%;
    pointer-events: none;
}

/* lg幅(992-1199px)は右側のマスコットと重なるので、上段・青ボックスとも右を空ける。
   上段が2行になってもマスコットが伸びないよう、高さは固定にする */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .ctamain__head {
        padding-right: 110px;
    }

    .ctamain__box {
        padding-right: 120px;
    }

    .ctamain__mascot {
        height: 190px;
    }
}

/* --------------------------------------------------------------------------
   SP：上段を2行に折り返し、マスコットは右下に寄せる
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
    .ctamain {
        padding-right: 0%;
    }

    .ctamain__head {
        gap: 6px;
        margin-bottom: 10px;
    }

    .ctamain__range,
    .ctamain__open {
        font-size: clamp(15px, 4.6vw, 20px);
    }

    .ctamain__box {
        padding: 12px 14px 14px;
        border-radius: 12px;
    }

    .ctamain__boxhead {
        gap: 0 10px;
    }

    .ctamain__free {
        font-size: clamp(15px, 4.6vw, 24px);
    }

    .ctamain__lead {
        font-size: clamp(13px, 4vw, 22px);
    }

    .ctamain__telrow {
        gap: 8px;
        margin-top: 2px;
    }

    .ctamain__tel {
        font-size: clamp(26px, 8.6vw, 44px);
    }

    .ctamain__mascot {
        height: 46%;
    }
}
