/*
Theme Name: WrapSicks
Theme URI: https://wrapsicks.com
Author: WrapSicks
Description: Car Total Produce Website Theme
Version: 1.0
Text Domain: wrapsicks
*/

        :root {
            --primary-dark: #1a1a1a;
            --accent-color: #8b4513;
            --text-dark: #2d2d2d;
            --text-gray: #666666;
            --text-light: #999999;
            --bg-light: #ffffff;
            --bg-cream: #f9f7f4;
            --border-light: #e8e8e8;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            overflow-x: hidden;
            max-width: 100%;
        }

        body {
            font-family: 'Noto Sans JP', sans-serif;
            color: var(--text-dark);
            background: var(--bg-light);
            line-height: 1.8;
            overflow-x: hidden;
            max-width: 100vw;
            position: relative;
        }

        img {
            max-width: 100%;
            height: auto;
        }

        section {
            max-width: 100%;
            overflow-x: hidden;
        }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            padding: 15px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            z-index: 1000;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .logo-container {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .logo-main {
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            color: var(--text-dark);
        }

        .logo-sub {
            font-size: 0.65rem;
            font-weight: 400;
            letter-spacing: 0.15em;
            color: #0582ff;
            text-transform: uppercase;
        }

        /* Hamburger Menu */
        .hamburger {
            width: 30px;
            height: 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            cursor: pointer;
            z-index: 1001;
        }

        .hamburger span {
            display: block;
            width: 100%;
            height: 2px;
            background: var(--text-dark);
            transition: all 0.3s ease;
        }

        .hamburger.active span:nth-child(1) {
            transform: translateY(11px) rotate(45deg);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: translateY(-11px) rotate(-45deg);
        }

        /* Mobile Menu */
        .nav-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 300px;
            height: 100vh;
            background: white;
            box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
            transition: right 0.3s ease;
            padding: 60px 40px 40px;
            z-index: 999;
        }

        .nav-menu.active {
			padding-top: 100px;
            right: 0;
        }

        .nav {
            display: flex;
            flex-direction: column;
            gap: 25px;
            align-items: flex-start;
        }

        .nav a {
            font-size: 1.1rem;
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 400;
            letter-spacing: 0.05em;
            transition: color 0.3s ease;
            padding: 10px 0;
            border-bottom: 1px solid var(--border-light);
            width: 100%;
        }

        .nav a:hover {
            color: #0582ff;
        }

        /* Menu Overlay */
        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 998;
        }

        .menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Hero Section */
        .hero {
            position: relative;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: linear-gradient(135deg, #2c4a7c 0%, #1a2940 100%);
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 50%;
            height: 100%;
            background: url('https://wrapsicks.com/wp-content/uploads/2026/02/TOP1-scaled.jpg') center / cover no-repeat;
            opacity: 0.6;
            z-index: 1;
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 100%;
            background: url('https://wrapsicks.com/wp-content/uploads/2026/02/garage.jpg') center / cover no-repeat;
            opacity: 0.3;
            z-index: 1;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(44, 74, 124, 0.85) 0%, 
                rgba(26, 41, 64, 0.85) 100%);
            z-index: 1;
        }

        .hero-content {
            text-align: center;
            color: white;
            z-index: 2;
            padding: 0 20px;
            position: relative;
        }

        .hero-title {
            font-family: 'Noto Sans JP', sans-serif;
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            font-weight: 700;
            letter-spacing: 0.05em;
            line-height: 1.6;
            margin-bottom: 50px;
            opacity: 0;
            animation: fadeInUp 1.5s ease-out 0.3s forwards;
        }

        .hero-subtitle {
            font-size: clamp(1rem, 1.5vw, 1.2rem);
            font-weight: 400;
            letter-spacing: 0.1em;
            margin-bottom: 60px;
            opacity: 0;
            animation: fadeInUp 1.5s ease-out 0.6s forwards;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            opacity: 0;
            animation: fadeInUp 1.5s ease-out 0.9s forwards;
        }

        .hero-btn {
            padding: 18px 50px;
            font-size: 1rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            text-decoration: none;
            border-radius: 5px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .hero-btn.primary {
            background: #4a90e2;
            color: white;
            border: 2px solid #4a90e2;
        }

        .hero-btn.primary:hover {
            background: #3a7bc8;
            border-color: #3a7bc8;
            transform: translateY(-2px);
        }

        .hero-btn.secondary {
            background: transparent;
            color: white;
            border: 2px solid white;
        }

        .hero-btn.secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }

        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            Top: 86%;
            transform: translateX(-50%);
            text-align: center;
            opacity: 0;
            animation: fadeInUp 1.5s ease-out 1.2s forwards;
            z-index: 2;
        }

        .scroll-text {
            font-size: 0.75rem;
            letter-spacing: 0.2em;
            color: white;
            margin-bottom: 15px;
            text-transform: uppercase;
        }

        .scroll-arrow {
            width: 30px;
            height: 50px;
            margin: 0 auto;
            border: 2px solid rgba(255, 255, 255, 0.5);
            border-radius: 20px;
            position: relative;
            animation: bounce 2s infinite;
        }

        .scroll-arrow::before {
            content: '';
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 6px;
            background: white;
            border-radius: 50%;
            animation: scrollDot 2s infinite;
        }

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

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }

        @keyframes scrollDot {
            0% {
                top: 10px;
                opacity: 1;
            }
            100% {
                top: 30px;
                opacity: 0;
            }
        }

        /* Content Sections */
        .content-section {
            padding: 60px 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .content-section.cream {
            background: var(--bg-cream);
            max-width: 100%;
        }

        /* Intro Section */
        .intro {
            text-align: center;
            padding: 60px 40px;
        }

        .intro-label {
            font-size: 0.75rem;
            letter-spacing: 0.25em;
            color: var(--text-light);
            text-transform: uppercase;
            margin-bottom: 50px;
        }

        .intro-title {
            font-size: clamp(1.8rem, 3vw, 2.5rem);
            font-weight: 400;
            letter-spacing: 0.1em;
            margin-bottom: 30px;
            line-height: 1.8;
        }

        .intro-title br,
        .why-choose-title br {
            display: none;
        }

        /* Two Column Layout */
        .two-column {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
            margin-bottom: 120px;
        }

        .two-column.reverse {
            direction: rtl;
        }

        .two-column.reverse > * {
            direction: ltr;
        }

        .image-box {
            position: relative;
            aspect-ratio: 1;
            background: #e8e8e8;
            overflow: hidden;
        }

        .image-box.landscape {
            aspect-ratio: 1;
        }

        .text-content h3 {
            font-size: 1.1rem;
            font-weight: 500;
            margin-bottom: 25px;
            letter-spacing: 0.05em;
        }

        .text-content p {
            font-size: 0.95rem;
            line-height: 2;
            color: var(--text-gray);
            font-weight: 300;
            margin-bottom: 20px;
        }

        /* Full Width Image Section */
        .full-image {
            margin: 100px 0;
        }

        .full-image-box {
            width: 100%;
            aspect-ratio: 21/9;
            background: #2a2a2a;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.3);
            font-size: 0.9rem;
        }

        .image-caption {
            text-align: center;
            margin-top: 30px;
            font-size: 0.85rem;
            color: var(--text-light);
            line-height: 1.8;
        }

        /* Services Section */
        .services-section {
            padding: 60px 40px;
            background: var(--bg-cream);
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-label {
            font-size: 0.75rem;
            letter-spacing: 0.25em;
            color: var(--text-light);
            text-transform: uppercase;
            margin-bottom: 20px;
        }

        .section-title {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 400;
            letter-spacing: 0.05em;
            margin-bottom: 30px;
        }

        .section-description {
            font-size: 0.95rem;
            color: var(--text-gray);
            line-height: 2;
            max-width: 700px;
            margin: 0 auto;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 60px;
            max-width: 1100px;
            margin: 0 auto;
        }

        .service-item {
            display: flex;
            gap: 30px;
        }

        .service-image {
            overflow: hidden;
            position: relative;
            flex: 0 0 200px;
            aspect-ratio: 1;
            background: #e8e8e8;
        }


        .service-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }
        .service-content h4 {
            font-size: 1.05rem;
            font-weight: 500;
            margin-bottom: 15px;
            letter-spacing: 0.05em;
        }

        .service-content p {
            font-size: 0.9rem;
            line-height: 1.9;
            color: var(--text-gray);
            font-weight: 300;
        }

        /* Why Choose Us Section */
        .why-choose-section {
            background: linear-gradient(180deg, #0582ff 0%, #0d1f35 100%);
            padding: 60px 40px;
            color: white;
        }

        .why-choose-title {
            font-size: clamp(1.8rem, 3vw, 2.5rem);
            font-weight: 400;
            text-align: center;
            letter-spacing: 0.08em;
            margin-bottom: 20px;
        }

        .why-choose-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .why-choose-card {
            text-align: center;
            padding: 10px 20px;
        }

        .why-choose-number {
            font-size: 3rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.3);
            margin-bottom: 30px;
            letter-spacing: 0.05em;
        }

        .why-choose-heading {
            font-size: 1.2rem;
            font-weight: 500;
            margin-bottom: 20px;
            letter-spacing: 0.05em;
        }

        .why-choose-text {
            font-size: 0.9rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 300;
        }

        /* Gallery Section */
        .gallery-section {
            padding: 60px 40px;
        }

        .gallery-single-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto 60px;
        }

        .gallery-item {
            aspect-ratio: 1;
/*             background: #d8d8d8; */
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-size: 0.8rem;
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .gallery-item:hover {
            transform: scale(1.05);
            z-index: 10;
        }

        .gallery-more {
            text-align: center;
            margin-top: 60px;
        }

        .gallery-more-text {
            font-size: 0.9rem;
            color: var(--text-gray);
            margin-bottom: 20px;
            letter-spacing: 0.05em;
        }

        .gallery-more-btn {
            display: inline-block;
            padding: 15px 40px;
            background: var(--primary-dark);
            color: white;
            text-decoration: none;
            font-size: 0.9rem;
            letter-spacing: 0.08em;
            transition: all 0.3s ease;
            border: 1px solid var(--primary-dark);
        }

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

        /* About Section */
        .about-section {
            padding: 60px 40px;
        }

        .about-content {
            max-width: 1000px;
            margin: 0 auto;
        }

        .about-layout {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 80px;
            align-items: center;
        }

        .about-image {
            aspect-ratio: 1;
            background: #e8e8e8;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
        }

        .about-text h3 {
            font-size: 1.5rem;
            font-weight: 400;
            margin-bottom: 30px;
            letter-spacing: 0.05em;
        }

        .about-text p {
            font-size: 0.95rem;
            line-height: 2.2;
            color: var(--text-gray);
            margin-bottom: 25px;
        }

        /* .cta-button {
            display: inline-block;
            padding: 15px 50px;
            background: var(--primary-dark);
            color: white;
            text-decoration: none;
            font-size: 0.85rem;
            letter-spacing: 0.15em;
            margin-top: 30px;
            transition: all 0.3s ease;
        } */
         .cta-button {
    display: block;      /* inline-blockから変更 */
    margin-left: auto;   /* 左右をautoに */
    margin-right: auto;
    width: fit-content;  /* コンテンツ幅に合わせる */
    
    /* 以下既存コード */
    padding: 15px 50px;
    background: var(--primary-dark);
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    margin-top: 30px;
    transition: all 0.3s ease;}

        .cta-button:hover {
            background: var(--text-dark);
            transform: translateY(-2px);
        }

        /* Location Cards */
        .location-section {
            padding: 100px 40px;
            background: var(--bg-cream);
        }

        .location-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            max-width: 1200px;
            margin: 60px auto 0;
        }

        .location-card {
            text-align: center;
        }

        .location-image {
            width: 100%;
            aspect-ratio: 1;
            background: #d0d0d0;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-size: 0.75rem;
        }

        .location-name {
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 8px;
        }

        .location-address {
            font-size: 0.8rem;
            color: var(--text-light);
            line-height: 1.6;
        }

        /* Footer */
        .footer {
            padding: 40px;
            background: var(--text-dark);
            color: white;
            text-align: center;
            border-top: 1px solid var(--border-light);
        }

        .footer-logo {
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: 0.1em;
}

        .footer-tagline {
            font-size: 0.7rem;
            color: var(--text-light);
            letter-spacing: 0.15em;
            /* margin-bottom: 50px; */
        }
.footer-links {
    display: flex;
    justify-content: center;
    /* 1. 幅が狭くなったら折り返す */
    flex-wrap: wrap; 
    /* 2. 項目同士がくっつかないよう間隔をあける（上下 15px / 左右 25px） */
    gap: 15px 25px; 
    margin-top: 30px;
    padding: 0 20px; /* 画面端に文字がくっつくのを防ぐ予白 */
}

        .footer-links a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }

        /* .footer-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 50px;
        }

        .footer-links a {
            font-size: 0.75rem;
            color: var(--text-gray);
            text-decoration: none;
            letter-spacing: 0.05em;
        } */

        .footer-copyright {
            font-size: 0.7rem;
            color: var(--text-light);
            letter-spacing: 0.1em;
            /* margin-top: 30px; */
        }

        /* Scroll Fade In Animation */
        .fade-in-section {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        .fade-in-section.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Fade in from left */
        .fade-in-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        .fade-in-left.is-visible {
            opacity: 1;
            transform: translateX(0);
        }

        /* Fade in from right */
        .fade-in-right {
            opacity: 0;
            transform: translateX(50px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        .fade-in-right.is-visible {
            opacity: 1;
            transform: translateX(0);
        }

        /* Stagger animation for grid items */
        .stagger-item {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }

        .stagger-item.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive */
        @media (max-width: 968px) {
            .two-column,
            .about-layout {
                grid-template-columns: 1fr;
                gap: 50px;
            }

            .two-column {
                margin-bottom: 60px;
            }

            .two-column.reverse {
                direction: ltr;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            .why-choose-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .gallery-single-row {
                grid-template-columns: repeat(2, 1fr);
            }

            .location-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 640px) {
            .header {
                padding: 15px 20px;
            }

            .nav-menu {
                width: 100%;
                padding: 30px 20px 20px;
            }

            .content-section,
            .intro,
            .services-section,
            .why-choose-section,
            .gallery-section,
            .about-section,
            .location-section {
                padding: 30px 10px;
            }

            .footer {
                padding: 30px 10px;
            }

            /* レスポンシブ時のpタグを大きく */
            p,
            .text-content p,
            .service-content p,
            .about-text p,
            .intro-text,
            .section-description,
            .why-choose-text,
            .gallery-more-text,
            .location-info p{
                font-size: 1rem !important;
            }
                        .footer-links {
                gap: 15px;
            }
            .footer-tagline,
            .footer-copyright {
                font-size: 0.75rem !important;
            }

            /* レスポンシブ時に改行を表示し中央揃え */
            .intro-title br,
            .why-choose-title br {
                display: block;
            }

            .intro-title,
            .why-choose-title {
                text-align: center;
            }

            .service-item {
                flex-direction: column;
            }

            .service-content {
                order: 1;
            }

            .service-image {
            position: relative;
                flex: 0 0 auto;
                width: 100%;
                order: 2;
            }
            .why-choose-grid,
            .gallery-single-row,
            .location-grid {
                grid-template-columns: 1fr;
            }
        }

        .image-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
}

.gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    z-index: 3001;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
}

.gallery-modal-info {
    padding: 30px;
    margin-top: 20px;
    border-radius: 4px;
    max-width: 800px;
    text-align: center;
}

.gallery-modal-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
    color:white;
}

.gallery-modal-category {
    font-size: 0.9rem;
    color: #0582ff;
    margin-bottom: 15px;
    font-weight: 500;
}

.gallery-modal-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.gallery-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.gallery-modal-close:hover {
    opacity: 0.7;
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 3rem;
    padding: 20px 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    line-height: 1;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gallery-modal-prev {
    left: 20px;
}

.gallery-modal-next {
    right: 20px;
}

.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-modal-content {
        max-width: 95%;
    }

    .gallery-modal-image {
        max-height: 60vh;
    }

    .gallery-modal-info {
        padding: 20px;
        margin-top: 15px;
    }

    .gallery-modal-title {
        font-size: 1.2rem;
		color:white;
    }

    .gallery-modal-close {
        top: -40px;
        font-size: 2rem;
    }

    .gallery-modal-prev,
    .gallery-modal-next {
        font-size: 2rem;
        padding: 15px 10px;
    }

    .gallery-modal-prev {
        left: 10px;
    }

    .gallery-modal-next {
        right: 10px;
    }
}
