/* =========================================================
   HHC 共通追従CTA : PC右下 / スマホ下部
   ========================================================= */
.hhc-floating-cta {
    position: fixed;
    z-index: 999;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 190px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.hhc-floating-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}
.hhc-floating-cta > a,
.hhc-floating-cta > button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    width: 100%;
    margin: 0;
    padding: 11px 12px;
    box-sizing: border-box;
    border-radius: 11px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(0,0,0,.15);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.hhc-floating-cta > a:hover,
.hhc-floating-cta > a:focus-visible,
.hhc-floating-cta > button:hover,
.hhc-floating-cta > button:focus-visible {
    opacity: .9;
    text-decoration: none;
}
.hhc-floating-cta__reserve,
.hhc-floating-cta__reserve:hover,
.hhc-floating-cta__reserve:focus-visible {
    background: #287454;
    border: 1px solid #287454;
    color: #fff;
}
.hhc-floating-cta__consult,
.hhc-floating-cta__consult:hover,
.hhc-floating-cta__consult:focus-visible {
    background: #fff;
    border: 1px solid #287454;
    color: #287454;
}
.hhc-floating-cta__icon { font-size: 19px; line-height: 1; }

/* フォーム／LINE 選択パネル */
.hhc-floating-cta__choices[hidden] { display: none !important; }
.hhc-floating-cta__choices {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: 310px;
    padding: 18px;
    box-sizing: border-box;
    border: 1px solid #dfe8e2;
    border-radius: 14px;
    background: #fff;
    color: #26362d;
    box-shadow: 0 8px 26px rgba(0,0,0,.16);
}
.hhc-floating-cta__choices-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.hhc-floating-cta__choices-title { font-size: 16px; font-weight: 700; }
.hhc-floating-cta .hhc-floating-cta__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-height: 0;
    margin: 0;
    padding: 4px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #586960;
    box-shadow: none;
    cursor: pointer;
}
.hhc-floating-cta__choices-note {
    margin: 5px 0 13px;
    color: #64736a;
    font-size: 12px;
    line-height: 1.5;
}
.hhc-floating-cta .hhc-floating-cta__choice {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 51px;
    margin: 8px 0 0;
    padding: 12px;
    border: 1px solid #dfe8e2;
    border-radius: 9px;
    background: #fff;
    color: #287454;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    box-shadow: none;
}
.hhc-floating-cta .hhc-floating-cta__choice:hover,
.hhc-floating-cta .hhc-floating-cta__choice:focus-visible {
    border-color: #287454;
    background: #f3f8f5;
    color: #287454;
}
.hhc-floating-cta__chevron { margin-left: auto; color: #809087; }
@media (max-width: 767px) {
    .hhc-floating-cta {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        flex-direction: row;
        gap: 8px;
        padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
        background: rgba(255,255,255,.97);
        border-top: 1px solid #e0e9e3;
        box-shadow: 0 -4px 16px rgba(0,0,0,.08);
    }
    .hhc-floating-cta > a,
    .hhc-floating-cta > button {
        min-height: 48px;
        padding: 10px 7px;
        font-size: 14px;
        box-shadow: none;
        border-radius: 8px;
    }
    .hhc-floating-cta__reserve { flex: 3; }
    .hhc-floating-cta__consult { flex: 2; }
    .hhc-floating-cta__icon { font-size: 17px; }
    .hhc-floating-cta__choices {
        bottom: calc(100% + 8px);
        right: 12px;
        width: min(330px, calc(100vw - 24px));
    }
}
@media (prefers-reduced-motion: reduce) {
    .hhc-floating-cta { transition: none; }
}
