/* =========================================
   Base Styles & Variables
   ========================================= */
:root {
    /* Color Palette */
    --primary-color: #0d9488; /* Trustworthy Teal/Green */
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --secondary-color: #f97316; /* Energetic Orange */
    --secondary-hover: #ea580c;
    --line-color: #06C755; /* LINE Brand Color */
    --line-hover: #05a647;
    --text-color: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-main: 'Noto Sans JP', sans-serif;
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
    overflow-wrap: break-word;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    color: #0f172a;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-highlight { color: var(--secondary-color); }
.bg-light { background-color: var(--bg-light); }

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.btn-line {
    background-color: var(--line-color);
    color: white;
    box-shadow: 0 4px 14px rgba(6, 199, 85, 0.4);
}

.btn-line:hover {
    background-color: var(--line-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.5);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

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

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    height: 80px;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem; /* Reduced to fit longer text */
    font-weight: 900;
    color: var(--primary-color);
    white-space: nowrap;
}

.logo-placeholder i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.nav-menu ul {
    display: flex;
    gap: 15px;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-contact {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center top;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 40px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.social-links-hero a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #E1306C;
    font-weight: 700;
    transition: var(--transition);
}

.social-links-hero a:hover {
    opacity: 0.8;
}

/* =========================================
   Sections General
   ========================================= */
.section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* =========================================
   Reasons Section
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* =========================================
   Services Section
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

/* Generated realistic images for services */
.img-junk { background-image: url('images/service_junk.png'); }
.img-clean { background-image: url('images/service_clean.png'); }
.img-move { background-image: url('images/service_move.png'); }
.img-garden { background-image: url('images/service_garden.png'); }
.img-shopping { background-image: url('images/service_shopping.png'); }
.img-other { background-image: url('images/service_other.png'); }

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--primary-dark);
}

.service-content p {
    color: var(--text-light);
}

/* =========================================
   Flow Section
   ========================================= */
.flow-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.flow-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 2px;
    background-color: var(--border-color);
}

.flow-step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.flow-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 0 0 10px var(--bg-light);
    z-index: 1;
}

.step-content {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-left: 30px;
    flex-grow: 1;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.step-content p {
    color: var(--text-light);
}

/* =========================================
   FAQ Section
   ========================================= */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    font-family: inherit;
}

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--bg-light);
}

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    color: white;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 80px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.company-desc {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    transition: var(--transition);
    color: var(--text-color);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

/* =========================================
   Floating Mobile Buttons
   ========================================= */
.floating-contact {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    z-index: 999;
}

.float-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.float-btn.phone-btn {
    background-color: var(--secondary-color);
}

.float-btn.line-btn {
    background-color: var(--line-color);
}

/* =========================================
   Animations
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* =========================================
   Responsive Design
   ========================================= */

/* 1. Header Breakpoint (Triggers early to prevent squishing) */
@media (max-width: 1150px) {
    .header-contact {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        backdrop-filter: blur(10px);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        font-size: 1.2rem;
    }
    .floating-contact {
        display: flex;
    }
    /* Add padding to body so content isn't hidden behind floating buttons */
    body {
        padding-bottom: 60px;
    }
}

/* 2. Tablet Content Breakpoint */
@media (max-width: 992px) {
    /* Kept features-grid as 3 columns for tablet unless it's strictly mobile */
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
}

/* 3. Mobile Content Breakpoint */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        align-items: flex-start;
        padding-top: 120px;
    }
    .logo-image span {
        font-size: 0.95rem !important;
    }
    .logo-image img {
        height: 35px !important;
    }
    .hero-actions {
        justify-content: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .flow-container::before {
        left: 30px;
    }
    .step-number {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 1.2rem;
    }
    .step-content {
        margin-left: 20px;
        padding: 20px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 4. Small Mobile Breakpoint */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem; /* Reduced to fit long names */
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
    }
}
