/* =========================================================
   追従CTAフッター（p-cta-follow）
   ページ下部に追従するお問い合わせ導線。
   ========================================================= */
.p-cta-follow {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -4px 20px rgba(0, 34, 46, 0.18);
    padding: 12px 56px 12px 20px;
    transform: translateY(110%);
    transition: transform 0.35s ease;
    pointer-events: none;
}

.p-cta-follow.is-show {
    transform: translateY(0);
    pointer-events: auto;
}

.p-cta-follow.is-closed {
    display: none;
}

.p-cta-follow__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 1120px;
    margin: 0 auto;
}

.p-cta-follow__lead {
    flex: 0 0 auto;
    font-weight: 700;
    font-size: 15px;
    color: #00222e;
    white-space: nowrap;
}

.p-cta-follow__btns {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.p-cta-follow__item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.p-cta-follow__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 48px;
    padding: 8px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.p-cta-follow__btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

/* サービスページ導線（ブランドブルー） */
.p-cta-follow__btn.-service {
    background: #225594;
}

/* フォーム導線（アクセントオレンジ） */
.p-cta-follow__btn.-form {
    background: #ffa000;
    color: #00222e;
}

.p-cta-follow__btn__txt {
    position: relative;
    padding-right: 18px;
}

.p-cta-follow__btn__txt::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

.p-cta-follow__close {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #00222e;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.p-cta-follow__close:hover {
    opacity: 0.8;
}

/* タブレット以下 */
@media screen and (max-width: 768px) {
    .p-cta-follow {
        padding: 10px 12px;
    }
    .p-cta-follow__close {
        top: 6px;
        right: 6px;
        transform: none;
        width: 26px;
        height: 26px;
        font-size: 16px;
    }
    .p-cta-follow__inner {
        flex-direction: column;
        gap: 8px;
    }
    .p-cta-follow__lead {
        font-size: 13px;
    }
    .p-cta-follow__btns {
        width: 100%;
        gap: 8px;
    }
    .p-cta-follow__item {
        flex: 1 1 0;
        min-width: 0;
    }
    .p-cta-follow__btn {
        width: 100%;
        min-height: 44px;
        padding: 8px 10px;
        font-size: 12px;
    }
    .p-cta-follow__btn__txt {
        padding-right: 0;
    }
    .p-cta-follow__btn__txt::after {
        display: none;
    }
}

/* スマホ縦：ボタンが多いときは縦積み */
@media screen and (max-width: 480px) {
    .p-cta-follow__btns {
        flex-direction: column;
    }
    .p-cta-follow__item {
        width: 100%;
    }
}
