/*
Theme Name: cr_theme
*/
@media (max-width: 767px) {
    .wrap {
        flex-direction: column !important;
    }
    header .wrap {
        flex-direction: row !important;
    }
}
#float_btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    transition: opacity 0.4s, transform 0.4s;
}

/* 非表示の状態 */
#float_btn.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateX(200px);
}

/* 表示の状態 */
#float_btn.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* ボタン同士のレイアウト（横並びにする場合） */
#float_btn .inner {
    display: flex;
    gap: 10px;
}

#float_btn a {
    display: block;
    padding: 0;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

#close_btn {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 26px; 
    height: 26px;
    color: #000; 
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; 
}
.icon-close {
    width: 14px; 
    height: 14px;
    display: block;
}

