
:root {
    --color-primary: #f97316;
    --color-primary-dark: #ea580c;
    --color-primary-darker: #c2410c;
    --color-primary-light: #fb923c;
    --color-primary-lighter: #fdba74;
}

/* ====================================================
   🔧 GLOBAL SYSTEM VARIABLES (Don't modify these!)
   ==================================================== */
:root {
    /* Accent Colors (For success, info, warning states) */
    --color-accent-green: #22c55e;
    --color-accent-green-dark: #16a34a;
    --color-accent-blue: #3b82f6;
    --color-accent-blue-dark: #2563eb;
    --color-accent-red: #ef4444;
    --color-accent-red-dark: #dc2626;
    
    /* Neutral Colors (Gray scale) */
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    
    /* Gradients (Auto-generated from primary colors) */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, var(--color-primary-darker) 100%);
    --gradient-primary-light: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    --gradient-primary-bg: linear-gradient(to right, var(--color-primary-dark), var(--color-primary), var(--color-primary-dark));
    
    /* Shadows (Auto-generated from primary colors) */
    --shadow-primary: 0 4px 20px color-mix(in srgb, var(--color-primary) 30%, transparent);
    --shadow-primary-hover: 0 8px 30px color-mix(in srgb, var(--color-primary) 40%, transparent);
    
    /* Backgrounds */
    --bg-primary: var(--color-white);
    --bg-secondary: var(--color-gray-50);
    --bg-tertiary: var(--color-gray-100);
    --bg-dark: var(--color-gray-900);
    --bg-primary-tint: color-mix(in srgb, var(--color-primary) 8%, transparent);
    --bg-primary-tint-light: color-mix(in srgb, var(--color-primary) 20%, transparent);
    
    /* Text Colors */
    --text-primary: var(--color-gray-900);
    --text-secondary: var(--color-gray-600);
    --text-tertiary: var(--color-gray-500);
    --text-muted: var(--color-gray-400);
    --text-white: var(--color-white);
    --text-accent: var(--color-primary);
    
    /* Border Colors */
    --border-primary: var(--color-gray-200);
    --border-secondary: var(--color-gray-300);
    --border-accent: var(--color-primary);
}

/* ====================================================
   📜 Custom Scrollbar
   ==================================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--color-primary-dark), var(--color-primary-darker));
}

/* ====================================================
   🖱️ Smooth Scrolling
   ==================================================== */
html {
    scroll-behavior: smooth;
}

/* ====================================================
   📖 Body & Typography
   ==================================================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    line-height: 1.6;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* ====================================================
   📞 Floating Contact Bar
   ==================================================== */
.pro_table table {
    width: 100%;
    border-collapse: collapse;
}


.pro_table tr:first-child {
    background: #FFEDD5;
}

.pro_table tr:first-child th,
.pro_table tr:first-child td {
    font-weight: bold;
}
.pro_table tr:nth-child(odd):not(:first-child) {
    background: #fff;
}

.pro_table tr:nth-child(even):not(:first-child) {
    background: #f8f8f8;
}

.pro_table th,
.pro_table td {
    padding: 16px 30px;
}

.pro_table th:not(:last-child),
.pro_table td:not(:last-child) {
    border-right: 1px solid #f2f2f2;
}

.floating-contact-bar {
    position: fixed;
    right: 20px;
    top: 60%;
    transform: translateY(75px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-contact-bar a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    overflow: visible;
}

.space-y-4 textarea {
    height: 100px;
}
.content_sns a{background-color: #fff!important;}
.no_fun{ text-align: center;margin-bottom: 60px;}
.no_fun h5{ font-size: 36px; margin-bottom: 30px; }
.no_fun p{ color: #888; line-height:30px; }
.no_fun a{ display: inline-block; margin-top: 34px; font-size: 20px; border-radius: 40px; padding: 16px 64px; background: #c81f21; color: #fff; text-transform: uppercase; }
.no_fun a:hover{ transform: translateY(5px); }
.areatextClass::-webkit-input-placeholder { color: red!important;}
.aligncenter {
  display: block !important;
  margin: 0 auto!important;
}
.wpcf7 fieldset{display:none;}
.wpcf7-response-output,.wpcf7-validation-errors {display: none !important;}
span.wpcf7-not-valid-tip {display: none;}
.screen-reader-response {display: none !important;}
.floating-contact-bar a:hover {
    transform: scale(1.1);
}

.floating-contact-bar .contact-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    background: var(--bg-dark);
    padding: 8px 14px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.floating-contact-bar a:hover .contact-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.floating-contact-bar .tooltip-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.floating-contact-bar .tooltip-value {
    display: block;
    font-size: 13px;
    color: var(--text-white);
    font-weight: 500;
}

/* ====================================================
   🎠 Swiper Carousel Custom Styles
   ==================================================== */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--color-primary);
    width: 32px;
    border-radius: 6px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--text-white) !important;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    width: 56px !important;
    height: 56px !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}

/* ====================================================
   🎠 Hero Section - Base Styles
   ==================================================== */
.hero-section {
    margin-top: 64px;
    height: 100vh;
}

.hero-swiper {
    height: 100%;
}

.hero-swiper .swiper-slide {
    overflow: hidden;
    position: relative;
}

.hero-swiper picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-swiper picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====================================================
   🎠 Hero Section - Mobile (≤640px)
   ==================================================== */
@media (max-width: 640px) {
    .hero-section {
        margin-top: 64px;
        height: auto;
    }

    .hero-swiper {
        height: auto !important;
    }

    .hero-swiper .swiper-slide {
        height: auto !important;
    }

    .hero-swiper picture {
        height: auto !important;
    }

    .hero-swiper picture img {
        width: 100%;
        max-width: 100%;
        height: auto !important;
        object-fit: contain;
        object-position: center;
        display: block;
    }

    .hero-swiper .hero-content {
        display: none !important;
    }

    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        width: clamp(38px, 4.2vw, 52px) !important;
        height: clamp(38px, 4.2vw, 52px) !important;
    }

    .hero-swiper .swiper-button-next::after,
    .hero-swiper .swiper-button-prev::after {
        font-size: clamp(14px, 1.7vw, 18px) !important;
    }
}

/* ====================================================
   📄 Pagination Component
   ==================================================== */
.pagination a {
    transition: all 0.2s ease;
}

.pagination a:hover {
    color: var(--color-primary) !important;
}

/* ====================================================
   🖼️ Product Gallery
   ==================================================== */
.product-main-image {
    height: 450px;
    object-fit: cover;
    border-radius: 16px;
}

.product-thumbnail {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    border-radius: 12px;
}

.product-thumbnail:hover {
    transform: scale(1.05);
}

.product-thumbnail.active {
    border-color: var(--color-primary);
}

/* ====================================================
   🔍 Lightbox
   ==================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

.lightbox.hidden {
    display: none;
}

.lightbox:not(.hidden) {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* ====================================================
   🧭 Floating Section Navigation (Product Detail)
   ==================================================== */
.floating-section-nav {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-section-nav:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.floating-section-nav a {
    display: block;
    padding: 10px 16px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    border-right: 3px solid transparent;
    border-left: none;
    transition: all 0.2s ease;
}

.floating-section-nav a:hover,
.floating-section-nav a.active {
    color: var(--color-primary);
    background: var(--bg-primary-tint);
    border-right-color: var(--color-primary);
    border-left-color: transparent;
}

/* ====================================================
   ❓ FAQ Accordion
   ==================================================== */
.faq-question {
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ====================================================
   📅 Timeline
   ==================================================== */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 4px;
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 3px solid var(--color-white);
    box-shadow: 0 0 0 4px var(--bg-primary-tint-light);
}

.timeline-content {
    background: var(--color-white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ====================================================
   🏠 Header Scroll Effect
   ==================================================== */
#header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ====================================================
   🖍️ Text Selection
   ==================================================== */
::selection {
    background: var(--bg-primary-tint-light);
    color: var(--text-primary);
}

/* ====================================================
   ✨ Gradient Text
   ==================================================== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ====================================================
   🎬 Animations
   ==================================================== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px var(--shadow-primary);
    }
    50% {
        box-shadow: 0 0 40px var(--shadow-primary-hover);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ====================================================
   📁 View Toggle (Products Page)
   ==================================================== */
.view-toggle .view-btn {
    transition: all 0.2s ease;
}

.view-toggle .view-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
}

.view-toggle .view-btn:not(.active) {
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
}

.view-toggle .view-btn:hover:not(.active) {
    background: var(--bg-secondary);
}

/* ====================================================
   📦 Product Cards
   ==================================================== */
.products-grid {
    transition: all 0.3s ease;
}

.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

/* ====================================================
   🔘 Primary Button
   ==================================================== */
.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
}

/* ====================================================
   📱 Responsive Styles
   ==================================================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }
    h2 {
        font-size: 1.75rem !important;
    }
    
    .floating-contact-bar {
        right: 12px;
    }
    
    .floating-contact-bar a {
        width: 48px;
        height: 48px;
    }
    
    .floating-section-nav {
        display: none;
    }
}

/* ====================================================
   🖨️ Print Styles
   ==================================================== */
@media print {
    header, footer, .floating-contact-bar, .floating-section-nav, .fixed, .sticky {
        display: none !important;
    }
}
