.tcf-popup[hidden]{display:none!important;}
.tasukeai-contact-wrap{max-width:760px;margin:0 auto}.tasukeai-contact-heading{margin-bottom:14px}.tasukeai-contact-notice{margin:0 0 24px}.tasukeai-contact-form{display:grid;gap:22px}.tcf-field label{display:block;font-weight:700;margin-bottom:8px}.tcf-field input,.tcf-field select,.tcf-field textarea{box-sizing:border-box;width:100%;border:1px solid #cfcfcf;border-radius:4px;background:#fff;padding:12px 14px;font:inherit;line-height:1.5}.tcf-field textarea{resize:vertical}.tcf-field input:focus,.tcf-field select:focus,.tcf-field textarea:focus{outline:2px solid rgba(249,124,161,.28);border-color:#f97ca1}.required{color:#d63638}.tcf-help{font-size:.9em;margin:6px 0 0;color:#666}.tcf-consent{padding:14px 0}.tcf-consent input{margin-right:8px}.tcf-submit{appearance:none;border:0;border-radius:4px;background:#f97ca1;color:#fff;font-weight:700;font-size:1rem;padding:14px 28px;cursor:pointer;min-width:180px;justify-self:start}.tcf-submit:hover{filter:brightness(.95)}.tasukeai-contact-message{padding:14px 16px;margin:0 0 22px;border-radius:4px}.tasukeai-contact-message.success{background:#edf8ef;border:1px solid #b9dfbf}.tasukeai-contact-message.error{background:#fff0f0;border:1px solid #e5b8b8}.tcf-hp{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.tasukeai-contact-editor{border:1px solid #ddd;padding:20px;background:#fff}.tcf-editor-head{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:2px solid #f97ca1;padding-bottom:12px;margin-bottom:16px}.tcf-editor-head span{font-size:12px;color:#666}.tcf-editor-grid{display:grid;gap:8px}.tcf-editor-field{padding:10px 12px;background:#f7f7f7;border:1px solid #e5e5e5}.tcf-editor-button{margin-top:12px;padding:10px 20px}.tcf-editor-recent{margin-top:24px;border-top:1px solid #ddd;padding-top:16px}.tcf-editor-recent table{width:100%;border-collapse:collapse;font-size:12px}.tcf-editor-recent th,.tcf-editor-recent td{border:1px solid #ddd;padding:7px;text-align:left}.tcf-editor-recent p{font-size:12px;color:#666}
@media(max-width:600px){.tcf-submit{width:100%}.tcf-editor-head{display:block}.tcf-editor-head span{display:block;margin-top:4px}.tcf-editor-recent{overflow-x:auto}}

.tcf-popup[hidden]{display:none!important}
.tcf-popup{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px}
.tcf-popup-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58)}
.tcf-popup-dialog{position:relative;z-index:1;width:min(680px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:10px;padding:28px;box-shadow:0 18px 60px rgba(0,0,0,.28)}
.tcf-popup-title{margin:0 0 18px;font-size:1.35rem;line-height:1.5}
.tcf-popup-text{line-height:1.85}
.tcf-popup-ja{font-weight:600}
.tcf-popup-en{font-size:.93em;color:#555}
.tcf-popup-divider{height:1px;background:#e5e5e5;margin:20px 0}
.tcf-popup-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}
.tcf-popup-actions button{appearance:none;border-radius:6px;padding:11px 18px;font:inherit;cursor:pointer}
.tcf-popup-cancel{background:#fff;border:1px solid #aaa}
.tcf-popup-accept{background:#333;color:#fff;border:1px solid #333;font-weight:700}
html.tcf-popup-open,html.tcf-popup-open body{overflow:hidden}
@media(max-width:600px){.tcf-popup{padding:12px}.tcf-popup-dialog{padding:22px 18px;max-height:calc(100vh - 24px)}.tcf-popup-actions{flex-direction:column-reverse}.tcf-popup-actions button{width:100%}}

/* お問い合わせ注意ポップアップ：コンパクト版 */
.tcf-popup[hidden]{
    display:none !important;
}

body > .tcf-popup{
    position:fixed !important;
    inset:0 !important;
    width:100vw !important;
    height:100dvh !important;
    min-height:100vh !important;
    z-index:2147483647 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
    padding:16px !important;
    margin:0 !important;
    isolation:isolate !important;
    transform:none !important;
    filter:none !important;
    opacity:1 !important;
    pointer-events:auto !important;
}

body > .tcf-popup .tcf-popup-backdrop{
    position:absolute !important;
    inset:0 !important;
    z-index:0 !important;
    background:rgba(0,0,0,.48) !important;
}

body > .tcf-popup .tcf-popup-dialog{
    position:relative !important;
    z-index:1 !important;
    width:min(560px, calc(100vw - 32px)) !important;
    max-width:560px !important;
    max-height:calc(100dvh - 32px) !important;
    box-sizing:border-box !important;
    overflow:auto !important;
    margin:0 !important;
    padding:20px 22px 18px !important;
    background:#fff !important;
    border:0 !important;
    border-radius:10px !important;
    box-shadow:0 14px 42px rgba(0,0,0,.28) !important;
    color:#222 !important;
    text-align:left !important;
}

body > .tcf-popup .tcf-popup-title{
    margin:0 0 14px !important;
    padding:9px 12px !important;
    font-size:1.08rem !important;
    font-weight:700 !important;
    line-height:1.45 !important;
    background:#fff5f5 !important;
    color:#733421 !important;
}

body > .tcf-popup .tcf-popup-text{
    margin:0 !important;
    padding:0 !important;
    line-height:1.65 !important;
    overflow-wrap:anywhere !important;
}

body > .tcf-popup .tcf-popup-ja{
    font-size:.95rem !important;
    font-weight:600 !important;
    color:#111 !important;
}

body > .tcf-popup .tcf-popup-en{
    font-size:.78rem !important;
    line-height:1.55 !important;
    font-weight:400 !important;
    color:#666 !important;
}

body > .tcf-popup .tcf-popup-divider{
    height:1px !important;
    margin:14px 0 !important;
    background:#e7e7e7 !important;
}

body > .tcf-popup .tcf-popup-actions{
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center !important;
    gap:8px !important;
    margin:16px 0 0 !important;
    padding:0 !important;
}

body > .tcf-popup .tcf-popup-actions button{
    width:auto !important;
    min-height:40px !important;
    box-sizing:border-box !important;
    margin:0 !important;
    padding:8px 14px !important;
    border-radius:6px !important;
    font-size:.9rem !important;
    line-height:1.3 !important;
    cursor:pointer !important;
    box-shadow:none !important;
}

body > .tcf-popup .tcf-popup-cancel{
    background:#fff !important;
    color:#444 !important;
    border:1px solid #aaa !important;
}

body > .tcf-popup .tcf-popup-accept{
    background:#333 !important;
    color:#fff !important;
    border:1px solid #333 !important;
    font-weight:700 !important;
}

html.tcf-popup-open,
html.tcf-popup-open body,
body.tcf-popup-open{
    overflow:hidden !important;
}

@media (max-width:600px){
    body > .tcf-popup{
        padding:10px !important;
    }

    body > .tcf-popup .tcf-popup-dialog{
        width:calc(100vw - 20px) !important;
        max-height:calc(100dvh - 20px) !important;
        padding:16px 15px 14px !important;
        border-radius:8px !important;
    }

    body > .tcf-popup .tcf-popup-title{
        margin-bottom:11px !important;
        padding:8px 10px !important;
        font-size:1rem !important;
    }

    body > .tcf-popup .tcf-popup-ja{
        font-size:.9rem !important;
        line-height:1.55 !important;
    }

    body > .tcf-popup .tcf-popup-en{
        font-size:.72rem !important;
        line-height:1.45 !important;
    }

    body > .tcf-popup .tcf-popup-divider{
        margin:11px 0 !important;
    }

    body > .tcf-popup .tcf-popup-actions{
        margin-top:13px !important;
        gap:7px !important;
    }

    body > .tcf-popup .tcf-popup-actions button{
        min-height:38px !important;
        padding:7px 11px !important;
        font-size:.86rem !important;
    }
}


/* ===== 右端追従お問い合わせタブ ===== */
.tcf-floating-tab{
    position:fixed !important;
    top:50% !important;
    right:0 !important;
    z-index:999990 !important;
    transform:translate(110%,-50%) !important;
    opacity:0 !important;
    writing-mode:vertical-rl !important;
    text-orientation:upright !important;
    letter-spacing:.12em !important;
    min-height:150px !important;
    min-width:46px !important;
    padding:16px 11px !important;
    margin:0 !important;
    border:0 !important;
    border-radius:8px 0 0 8px !important;
    background:#f97ca1 !important;
    color:#111 !important;
    font:inherit !important;
    font-weight:700 !important;
    cursor:pointer !important;
    box-shadow:0 4px 18px rgba(0,0,0,.18) !important;
    transition:transform .35s ease, opacity .28s ease !important;
}

.tcf-floating-tab.tcf-floating-visible{
    transform:translate(0,-50%) !important;
    opacity:1 !important;
}

.tcf-floating-modal[hidden]{
    display:none !important;
}

.tcf-floating-modal{
    position:fixed !important;
    inset:0 !important;
    z-index:2147483600 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:22px !important;
    box-sizing:border-box !important;
    opacity:0 !important;
    transition:opacity .22s ease !important;
}

.tcf-floating-modal.tcf-floating-modal-visible{
    opacity:1 !important;
}

.tcf-floating-backdrop{
    position:absolute !important;
    inset:0 !important;
    background:rgba(0,0,0,.56) !important;
}

.tcf-floating-dialog{
    position:relative !important;
    z-index:1 !important;
    width:min(760px,calc(100vw - 44px)) !important;
    max-height:calc(100dvh - 44px) !important;
    background:#fff !important;
    border-radius:10px !important;
    box-shadow:0 20px 70px rgba(0,0,0,.32) !important;
    overflow:hidden !important;
    transform:translateY(14px) scale(.99) !important;
    transition:transform .22s ease !important;
}

.tcf-floating-modal.tcf-floating-modal-visible .tcf-floating-dialog{
    transform:translateY(0) scale(1) !important;
}

.tcf-floating-scroll{
    max-height:calc(100dvh - 44px) !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
    padding:28px 30px 30px !important;
    box-sizing:border-box !important;
}

.tcf-floating-close{
    position:absolute !important;
    top:10px !important;
    right:12px !important;
    z-index:5 !important;
    width:38px !important;
    height:38px !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:50% !important;
    background:#f2f2f2 !important;
    color:#333 !important;
    font-size:25px !important;
    line-height:38px !important;
    cursor:pointer !important;
}

html.tcf-floating-open,
html.tcf-floating-open body,
body.tcf-floating-open{
    overflow:hidden !important;
}

/* Floating modal never shows the sales-warning popup. */
.tcf-floating-modal .tcf-popup{
    display:none !important;
}

@media(max-width:700px){
    .tcf-floating-tab{
        top:58% !important;
        min-height:126px !important;
        min-width:42px !important;
        padding:13px 9px !important;
        font-size:.88rem !important;
    }

    .tcf-floating-modal{
        padding:10px !important;
    }

    .tcf-floating-dialog{
        width:calc(100vw - 20px) !important;
        max-height:calc(100dvh - 20px) !important;
        border-radius:8px !important;
    }

    .tcf-floating-scroll{
        max-height:calc(100dvh - 20px) !important;
        padding:24px 16px 22px !important;
    }
}
