/*
Theme Name: 中田商会
Theme URI: https://nakata-shokai.com
Author: Nakata Shokai
Author URI: https://nakata-shokai.com
Description: 北九州の廃車買取・リサイクルなら中田商会のWordPressテーマ
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nakata-shokai
*/

/* ========== Popup Styles ========== */
.nakata-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nakata-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nakata-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nakata-popup.active {
    transform: translateY(0);
}

.nakata-popup-inner {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    padding: 2rem 1.5rem 2.5rem;
    text-align: center;
    border-radius: 1.5rem 1.5rem 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.nakata-popup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    transition: background 0.2s;
}
.nakata-popup-close:hover {
    background: rgba(255, 255, 255, 0.4);
}

.nakata-popup-title {
    color: #fbbf24;
    font-size: 1.125rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.nakata-popup-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.nakata-popup-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f97316;
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: nakata-pulse 2s infinite;
}
.nakata-popup-phone:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(249, 115, 22, 0.6);
}

.nakata-popup-hours {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    margin-top: 0.75rem;
}

@keyframes nakata-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(249, 115, 22, 0.7); }
}
