/* CSS Variables for Brand Colors */
:root {
    --primary-green-dark: #2E7D32;
    --primary-green-dark-rgb: 46, 125, 50; /* For rgba */
    --primary-green-light: #60ad5e;
    --primary-green-light-rgb: 96, 173, 94; /* For rgba */
    --primary-green-pale: #c3ffbd;
    --accent-orange: #FF6F00;
    --accent-orange-rgb: 255, 111, 0; /* Added for price card emphasis */
    --accent-red: #8d0000;
    --text-dark: #263238;
    --text-medium: #4f5b62;
    --bg-main: #F0F9F4;
    --bg-section-light: #FFFFFF; /* White background for some sections */
    --bg-section-greenish: #e6efea;
    --border-gray: #bdc6c1;
    --white: #FFFFFF;
    --black: #000000;
    --shadow-color-light: rgba(0,0,0,0.05);
    --shadow-color-medium: rgba(0,0,0,0.1);
    --shadow-color-dark: rgba(0,0,0,0.15);

    /* For smooth transitions */
    --transition-fast: 0.2s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

/* --- START: Ported from fonts.css --- */
.roofa-text {
    font-family: 'MuseoModerno',
                 cursive,
                 sans-serif;
    font-weight: 700 !important;
    color: var(--primary-green-dark); /* Default RooFa text color */
}
/* Hero section RooFa text */
.hero .roofa-text {
    color: var(--white);
}
/* Dark background section RooFa text */
.section-full-width.bg-primary-dark .roofa-text {
    color: var(--white);
}
/* Button RooFa text colors */
.btn .roofa-text {
    font-family: 'MuseoModerno', cursive, sans-serif;
    font-weight: 700 !important;
    color: var(--white); /* ボタンの背景色に合わせて調整 */
}
.btn.btn-light .roofa-text,
.btn.btn-outline .roofa-text {
    color: var(--primary-green-dark);
}
/* Highlighted RooFa text */
.highlight-accent .roofa-text {
    color: var(--accent-orange); /* Keep original if intended */
}
.highlight .roofa-text {
    color: var(--primary-green-light); /* Keep original if intended */
}
/* Final CTA specific RooFa text */
.final-cta-section h2 .roofa-text {
    color: var(--white);
}


/* Reset CSS */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, li, figure, figcaption, blockquote, dl, dd, button { margin: 0; padding: 0; }
ul { list-style: none; }
img, video { max-width: 100%; height: auto; display: block; }
button { background: none; border: none; cursor: pointer; font-family: inherit; font-size: inherit; }
html {
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: auto;
}
body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.85;
    color: var(--text-dark);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px; /* JSで動的に調整される初期値 */
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 16.5px;
}

/* Scroll Progress Bar */
.scroll-progress-container {
    width: 100%;
    height: 5px;
    background-color: var(--border-gray);
    position: fixed;
    left: 0;
    z-index: 995;
    transition: top var(--transition-normal);
}
.scroll-progress-bar {
    height: 100%;
    background-color: var(--primary-green-light);
    width: 0%;
    border-radius: 0 2px 2px 0;
}

/* Section Full Width Background Helper */
.section-full-width {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    /* scroll-margin-top will be set by JS */
}
.section-full-width.bg-white { background-color: var(--bg-section-light); }
.section-full-width.bg-greenish { background-color: var(--bg-section-greenish); }
.section-full-width.bg-pale-green { background-color: var(--primary-green-pale); }
.section-full-width.bg-primary-dark { background-color: var(--primary-green-dark); color: var(--white); }
.section-full-width.bg-primary-dark h2,
.section-full-width.bg-primary-dark h3,
.section-full-width.bg-primary-dark p { color: var(--white); }


/* Section Dividers */
.section-divider-bottom {
    position: absolute;
    bottom: -1px; /* Prevents 1px gap */
    left: 0;
    width: 100%;
    height: 50px; /* Adjust to your SVG's height, can vary per SVG type if needed */
    overflow: hidden;
    line-height: 0; /* SVG whitespace fix */
    transform: rotate(180deg); /* Default: SVG is designed as an upward curve, rotate to point down */
}
.section-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px); /* Slightly wider to prevent edge gaps, adjust if needed */
    height: 100%; /* Match parent height */
}
.section-divider-bottom svg .shape-fill {
    /* Default fill (overridden by specific section rules below) */
    fill: var(--bg-main); 
}

/* Specific fill colors for section dividers (SVG points into the NEXT section) */
/* The fill color should be the background color of the *next* section */
.hero .section-divider-bottom svg .shape-fill                 { fill: var(--bg-section-light); } /* Next is problem (white) */
.problem-section .section-divider-bottom svg .shape-fill      { fill: var(--bg-main); }          /* Next is why-roofa (main) */
.why-roofa-section .section-divider-bottom svg .shape-fill    { fill: var(--bg-section-light); } /* Next is benefits (white) */
.benefits-section .section-divider-bottom svg .shape-fill     { fill: var(--bg-main); }          /* Next is testimonials (main) */
.testimonials-section .section-divider-bottom svg .shape-fill { fill: var(--bg-section-light); } /* Next is how-it-works (white) */
.how-it-works-section .section-divider-bottom svg .shape-fill { fill: var(--bg-main); }          /* Next is growth-proof (main) */
.growth-proof-section .section-divider-bottom svg .shape-fill { fill: var(--bg-section-greenish); }/* Next is plant-lineup (greenish) */
.plant-lineup-section .section-divider-bottom svg .shape-fill { fill: var(--bg-main); }          /* Next is quality (main) */
.quality-section .section-divider-bottom svg .shape-fill      { fill: var(--bg-section-light); } /* Next is comparison (white) */
.comparison-section .section-divider-bottom svg .shape-fill   { fill: var(--primary-green-pale); }/* Next is pricing/recommend (pale-green) */
.pricing-section .section-divider-bottom svg .shape-fill      { fill: var(--bg-main); }          /* Next is how-to-order (main) */
.how-to-order-section .section-divider-bottom svg .shape-fill { fill: var(--bg-section-light); } /* Next is faq (white) */
/* FAQ section is last before final CTA (bg-primary-dark), no divider specified by default */
/* If final-cta needs a shape from FAQ, add: */
/* .faq-section .section-divider-bottom svg .shape-fill { fill: var(--primary-green-dark); } */


.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .section-full-width { padding-top: 60px; padding-bottom: 60px; /* scroll-margin-top will be set by JS */ }
    .section-divider-bottom { height: 70px; } /* Adjust if new SVGs have different aspect ratios */
}


.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-green-dark);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    transition: background-color var(--transition-normal), transform var(--transition-fast), box-shadow var(--transition-normal);
    box-shadow: 0 2px 5px var(--shadow-color-medium), 0 4px 10px var(--shadow-color-light);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.btn:hover, .btn:focus {
    background-color: var(--primary-green-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px var(--shadow-color-medium), 0 6px 15px var(--shadow-color-light);
    outline: 2px solid var(--primary-green-light);
    outline-offset: 2px;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.btn-accent {
    background-color: var(--accent-orange);
    color: var(--white);
    animation: cta-pulse 2.5s infinite ease-in-out;
}
.btn-accent:hover, .btn-accent:focus {
    background-color: #e65100;
    outline-color: #e65100;
    animation-play-state: paused;
}

@keyframes cta-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.reason-card:hover, .plant-card:hover, .feature:hover, .testimonial:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 25px var(--shadow-color-medium);
}

.price-card.recommended {
    border-top-color: var(--accent-orange);
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(var(--accent-orange-rgb), 0.3);
}
.price-card.recommended:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 12px 35px rgba(var(--accent-orange-rgb), 0.4);
}
.btn-light {
    background-color: var(--white);
    color: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
}
.btn-light:hover, .btn-light:focus {
    background-color: var(--primary-green-pale);
    color: var(--primary-green-dark);
    outline-color: var(--primary-green-dark);
}
.btn-outline {
    background-color: transparent;
    color: var(--primary-green-dark);
    border: 2px solid var(--primary-green-dark);
}
.btn-outline:hover, .btn-outline:focus {
    background-color: var(--primary-green-pale);
    outline-color: var(--primary-green-dark);
}


.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.mt-20 { margin-top: 20px; } 
.mt-40 { margin-top: 40px; }

h1, h2, h3, h4 { font-weight: 700; }
h1 { font-size: 2.2em; margin-bottom: 20px; line-height: 1.4; color: var(--primary-green-dark);}
h2 { font-size: 2em; color: var(--primary-green-dark); margin-bottom: 30px; text-align: center; line-height: 1.4;}
h3 { font-size: 1.5em; color: var(--text-dark); margin-bottom: 15px; line-height: 1.5;}
h4 { font-size: 1.2em; color: var(--text-dark); margin-bottom: 10px; line-height: 1.4; }

@media (min-width: 768px) {
    h1 { font-size: 3em; }
    h2 { font-size: 2.8em; margin-bottom: 50px;}
    h3 { font-size: 1.8em; }
    h4 { font-size: 1.4em; }
}

.highlight { color: var(--primary-green-light); font-weight: bold; }
.highlight-accent { color: var(--accent-orange); font-weight: bold; }

/* Animation: Fade in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.stagger-fade-in {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}
.stagger-fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* Typewriter effect */
.typewriter-text .char {
    opacity: 0;
    display: inline-block;
    transform: translateY(10px) scale(0.8);
    animation: typeCharAnim 0.3s forwards;
}
@keyframes typeCharAnim {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* --- Header/FV --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.2)), url('images/hero-background-new.jpeg') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--white);
    padding-top: 100px; 
    padding-bottom: 67px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: margin-top var(--transition-normal);
}

.hero h1 {
    font-size: 2.5em;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.9), 0 0 15px rgba(0,0,0,0.7);
    color: var(--white);
    margin-bottom: 15px;
}
.hero .subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 650px;
    margin-left: auto; margin-right: auto;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.8);
    line-height: 1.7;
    font-weight: 400;
}

@media (max-width: 767px) {
    .hero {
        background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.2)), url('images/hero-background-2.jpeg') no-repeat center center/cover;
        background-attachment: scroll;
        min-height: 75vh;
    }
    .hero h1#heroHeadline {
      min-height: 7em; 
    }
}

@media (min-width: 768px) {
    .hero {
        padding-top: 150px; /* PCではさらに多く確保 */
        padding-bottom: 100px; /* padding: 100px 0; の代わりに上下個別に指定 */
        min-height: 90vh;
    }
    .hero h1 { font-size: 3.8em; margin-bottom: 25px; }
    .hero h1#heroHeadline { min-height: auto; }
    .hero .subtitle { font-size: 1.6em; margin-bottom: 40px; font-weight: 400; }
    .hero .cta-button { font-size: 1.6em; padding: 20px 45px; }
    .hero .hero-extra-info { font-size: 1.05em; margin-top: 30px; font-weight: 500; }
}




/* --- Problem/Empathy Section --- */
.problem-section h2 { color: var(--accent-red); }
.problem-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.problem-item {
    display: flex;
    align-items: center;
    background-color: var(--bg-main);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 8px var(--shadow-color-light), 0 1px 3px var(--shadow-color-light);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.problem-item.is-emphasized {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 8px 20px var(--shadow-color-medium);
}
.problem-item.is-emphasized img {
    transform: rotate(-10deg) scale(1.25);
}
.problem-item img {
    width: 60px;
    margin-right: 15px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.problem-item p { font-size: 1.05em; }
@media (min-width: 768px) {
    .problem-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .problem-item img { width: 50px; }
}
.solution-text { font-size: 1.3em; margin-top: 30px; color: var(--primary-green-dark); font-weight: bold;}
@media (min-width: 768px) {
     .solution-text { font-size: 1.6em; margin-top: 50px;}
}

/* --- Why RooFa Section --- */
.reasons-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.reason-card {
    background-color: var(--bg-section-greenish);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color-light), 0 2px 5px var(--shadow-color-light);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    border: 2px solid transparent;
}
.reason-card.is-emphasized {
    transform: translateY(-12px) scale(1.03); 
    box-shadow: 0 12px 30px rgba(46,125,50,0.25), 0 6px 12px rgba(46,125,50,0.15);
    border-color: var(--primary-green-light);
}
.reason-card.is-emphasized img {
    animation: bounceIcon 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(1.25); 
}
.reason-card img {
    width: 100px;
    margin: 0 auto 15px auto;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
    transition: transform var(--transition-normal); 
}
.reason-card h3 { color: var(--primary-green-dark); font-size: 1.4em;}
@media (min-width: 768px) {
    .reasons-grid { grid-template-columns: repeat(3, 1fr); }
    .reason-card { padding: 30px; }
    .reason-card img { width: 80px; }
}

/* --- Benefits Section (RooFaのある暮らし) --- */
.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.benefit-item.is-emphasized img {
    transform: scale(1.08);
    box-shadow: 0 15px 35px var(--shadow-color-dark);
}
.benefit-item img {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 8px 20px var(--shadow-color-medium);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.benefit-item .text-content { text-align: center; max-width: 550px;}
@media (min-width: 992px) {
    .benefit-item { flex-direction: row; text-align: left; gap: 40px; max-width: none; }
    .benefit-item:nth-child(even) { flex-direction: row-reverse; }
    .benefit-item img { width: 48%; max-width: none; }
    .benefit-item .text-content { width: 48%; text-align: left; max-width: none;}
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 20px;
}

/* --- Media Section --- */
.media-section {
    padding-top: 50px;
    padding-bottom: 50px;
}
.media-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.media-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.media-logo-text {
    font-size: 1.2em;
    font-weight: 600;
    color: #888888;
    border: 2px solid #cccccc;
    padding: 10px 20px;
    border-radius: 8px;
    transition: color var(--transition-normal), border-color var(--transition-normal);
}
.media-logo-text:hover {
    color: var(--text-dark);
    border-color: var(--text-medium);
}
@media (min-width: 768px) {
    .media-logos {
        gap: 50px;
    }
    .media-logos img {
        height: 50px;
        max-width: 180px;
    }
}
.testimonial {
    background-color: var(--primary-green-pale);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--shadow-color-light);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.testimonial.is-emphasized {
    transform: translateY(-8px) scale(1.06);
    box-shadow: 0 8px 20px var(--shadow-color-medium);
}
.testimonial-header { display: flex; align-items: center; margin-bottom: 15px; }
.testimonial img { width: 60px; height: 60px; border-radius: 50%; margin-right: 15px; object-fit: cover; border: 2px solid var(--primary-green-light); }
.testimonial .author { font-weight: bold; color: var(--primary-green-dark); }
.testimonial .quote { font-style: italic; color: var(--text-medium); flex-grow: 1; }

@media (min-width: 992px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) and (max-width: 991px) {
     .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .testimonial { padding: 25px; }
    .testimonial img { width: 70px; height: 70px; }
}


/* --- How It Works Section --- */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.feature {
    text-align: center;
    padding: 25px;
    background-color: var(--bg-main);
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow-color-light);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.feature.is-emphasized {
    transform: translateY(-10px) scale(1.03); 
    box-shadow: 0 8px 20px var(--shadow-color-medium);
}
.feature.is-emphasized img {
     /* animation: bounceIcon 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); Removed bounce */
     transform: scale(1.15); /* Changed to simple scale like quality-section */
     transition: transform var(--transition-normal); /* Add smooth transition for scale */
}
.feature img {
    width: 200px;
    margin: 0 auto 20px auto;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Keep general transition */
}
.feature h3 .point-number { color: var(--accent-orange); font-weight: bold; }
@media (min-width: 768px) {
    .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .feature img { width: 150px; }
    .feature {
        padding: 30px;
    }
}
@media (min-width: 992px) {
     .features-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
     .feature img { width: 180px; }
}


/* --- Growth Proof Section --- */
.video-container {
    position: relative;
    width: 100%;
    max-width: 750px;
    margin: 0 auto 20px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color-medium);
}
.growth-proof-section video {
    width: 100%;
    display: block;
    border: none;
    border-radius: 0; /* Ensure video itself has no radius if container handles it */
}
.custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 80px;
    height: 80px;
    background-color: rgba(var(--primary-green-dark-rgb), 0.8);
    border-radius: 50%;
    border: 3px solid var(--white);
    cursor: pointer;
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-fast), transform var(--transition-normal), background-color var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-container.poster-visible .custom-play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.custom-play-button:hover, .custom-play-button:focus {
    background-color: rgba(var(--primary-green-light-rgb), 0.9);
    transform: translate(-50%, -50%) scale(1.1);
    outline: none;
}
.custom-play-button::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 30px solid var(--white);
    margin-left: 5px; /* Adjust for centering the triangle */
}
.video-container.playing .custom-play-button::before {
    content: '';
    border-left: 10px solid var(--white);
    border-right: 10px solid var(--white);
    border-top: none;
    border-bottom: none;
    width: 25px; /* Total width of pause bars container */
    height: 30px; /* Height of pause bars */
    margin-left: 0; /* Reset margin for pause icon */
    box-sizing: border-box;
}

.comparison-slider-wrapper { margin-top: 40px; }
.comparison-slider-wrapper h3 { text-align: center; margin-bottom: 20px; font-size: 1.6em; }
.comparison-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    /* cursor: ew-resize; Removed default cursor here, will be on handle */
    user-select: none;
    aspect-ratio: 1 / 1;
}
.comparison-slider.is-dragging { cursor: ew-resize; }
.comparison-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.comparison-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.comparison-after img { object-position: left center; }
.comparison-before { z-index: 1; }
.comparison-after { z-index: 2; }

/* style.css */

/* style.css */

.comparison-handle {
    position: absolute;
    top: 0;
    transform: translateX(-50%); /* ハンドル全体の中心を合わせる */
    /* width: 4px;  子要素で視覚的な幅を定義するので、ここでは不要かも */
    height: 100%;
    background-color: transparent;
    z-index: 3;
    cursor: ew-resize;
    padding: 0 10px; /* 左右のタッチエリア拡大 */
    box-sizing: content-box;
    /* margin-left: -10px;  transform: translateX(-50%) で中央合わせするので、これは不要になることが多い */
}

/* 視覚的な中央線と矢印のためのコンテナ */
.comparison-handle-visuals {
    position: absolute;
    top: 0;
    left: 50%; /* ハンドルのパディングボックス内で中央に */
    transform: translateX(-50%);
    width: 4px; /* 視覚的な線の幅 */
    height: 100%;
    background-color: var(--white);
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    pointer-events: none; /* タッチイベントは親の.comparison-handleで受ける */
}

.comparison-handle-visuals::before,
.comparison-handle-visuals::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
}

/* 矢印のスタイル (handle-visualsに対して) */
.comparison-handle-visuals::before { /* 左矢印 */
    top: calc(50% - 8px); /* 矢印サイズに合わせて調整 */
    border-width: 8px 6px 8px 0;
    border-color: transparent var(--white) transparent transparent;
    margin-left: -9px; /* (線の半分4px/2 + 矢印の幅6px + 隙間1px) 程度 */
}
.comparison-handle-visuals::after { /* 右矢印 */
    top: calc(50% - 8px);
    border-width: 8px 0 8px 6px;
    border-color: transparent transparent transparent var(--white);
    margin-left: 3px; /* (線の半分4px/2 - 隙間1px) 程度 */
}

.comparison-item.comparison-after {
    /* width はJSで制御 */
    position: absolute;
    top: 0;
    left: 0; /* JSで制御されるwidthの基準点 */
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.comparison-caption {
    position: absolute;
    bottom: 10px;
    padding: 5px 10px;
    background-color: rgba(0,0,0,0.6);
    color: var(--white);
    font-size: 0.9em;
    border-radius: 4px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.comparison-before .comparison-caption { right: 10px; text-align: right; }
.comparison-after .comparison-caption {  left: 10px; text-align: left; background-color: rgba(200,200,200,0.6); color:#000000;}

.comparison-text-details { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.comparison-text-details .comp-item { width: 100%; }
@media (min-width: 768px) {
    .comparison-text-details { flex-direction: row; justify-content: space-around; align-items: flex-start; }
    .comparison-text-details .comp-item { width: 45%; }
}


/* --- Plant Lineup Section --- */
.plant-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.plant-card {
    text-align: center;
    background-color: var(--white);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-color-light);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
}
.plant-card:hover { 
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 5px 12px var(--shadow-color-medium);
}
.plant-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; margin-bottom: 8px; }
.plant-card p { font-size: 0.9em; color: var(--text-medium); }
#plant-lineup .btn { margin-top: 10px; } 


.plant-card .tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-dark);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9em;
    white-space: normal;
    width: max-content;
    max-width: calc(100vw - 40px);
    min-width: 150px;
    z-index: 10;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
    box-shadow: 0 2px 8px var(--shadow-color-medium);
    box-sizing: border-box;
    word-wrap: break-word;
}
.plant-card .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: var(--text-dark) transparent transparent transparent;
}

@media (min-width: 576px) {
    .plant-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 992px) {
    .plant-grid { grid-template-columns: repeat(4, 1fr); gap: 25px; }
    .plant-card p { font-size: 1em; }
}

/* --- Quality Section --- */
.quality-point { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 30px; background-color: var(--white); padding: 20px; border-radius: 10px; box-shadow: 0 4px 12px var(--shadow-color-light); transition: transform var(--transition-normal), box-shadow var(--transition-normal); }
.quality-point.is-emphasized {
    transform: translateY(-8px) scale(1.06);
    box-shadow: 0 8px 20px var(--shadow-color-medium);
}
.quality-point.is-emphasized img {
    transform: scale(1.15);
}
.quality-point img { width: 150px; margin-bottom: 15px; transition: transform var(--transition-normal); } /* Changed from fast */

@media (min-width: 768px) {
    .quality-point { flex-direction: row; text-align: left; gap: 25px; padding: 30px; }
    .quality-point img { width: 60px; margin-bottom: 0; margin-right: 20px; }
}

/* --- Comparison Table Section --- */
.comparison-table-wrapper {
    overflow-x: auto;
    padding: 1px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.1);
    margin: 0 10px;
    position: relative;
}
.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 650px; table-layout: fixed; }
.comparison-table th:first-child { width: 17%; }
.comparison-table th.roofa-col { width: 33%; }
.comparison-table th:not(:first-child):not(.roofa-col) { width: 25%; }
.comparison-table th, .comparison-table td { padding: 12px 15px; text-align: center; font-size: 0.9em; border-bottom: 1px solid var(--border-gray); vertical-align: middle; background-color: var(--white); transition: background-color var(--transition-fast); word-break: break-word; white-space: normal; }
.comparison-table th:first-child, .comparison-table td:first-child { text-align: left; padding-left: 20px; font-weight: 500; color: var(--text-dark); position: sticky; left: 0; z-index: 2; border-right: 1px solid var(--border-gray); }
.comparison-table th:first-child { z-index: 3; background-color: var(--primary-green-dark); color: var(--white); }
.comparison-table th { background-color: var(--primary-green-dark); color: var(--white); font-size: 1em; font-weight: 600; border-bottom: 2px solid var(--primary-green-light); }
.comparison-table th:not(:first-child) { border-left: 1px solid var(--primary-green-light); }
.comparison-table th.roofa-col { background-color: var(--accent-orange); color: var(--white); position: relative; font-size: 1.2em; border: 4px solid var(--accent-orange); }
.comparison-table td { color: var(--text-medium); border-left: 1px solid var(--border-gray); }
.comparison-table td:first-child { border-left: none; }
.comparison-table .roofa-col {
    background: linear-gradient(175deg, #e8f5e9 0%, #ffffff 100%);
    font-weight: bold;
    color: var(--primary-green-dark);
    border-left: 4px solid var(--accent-orange);
    border-right: 4px solid var(--accent-orange);
    padding-left: 10px; /* Adjusted padding */
    padding-right: 10px; /* Adjusted padding */
}
.comparison-table td.roofa-col {
    text-align: center;
}
.comparison-table tbody tr:last-child td.roofa-col {
    border-bottom: 4px solid var(--accent-orange);
}
.comparison-table .roofa-col .icon-ok {
    font-size: 1.8em;
    transform: scale(1.2);
    display: inline-block;
    text-shadow: 0 0 10px rgba(var(--primary-green-light-rgb), 0.7);
}
.comparison-table .roofa-col + td { border-left: 1px solid var(--border-gray); }
.comparison-table .icon-ok { color: var(--primary-green-dark); font-size: 1.5em; font-weight: 700; }
.comparison-table .icon-ng { color: var(--accent-red); font-size: 1.5em; font-weight: 700; }
.comparison-table .icon-triangle { color: var(--text-medium); font-size: 1.4em; font-weight: 700; }
.comparison-table tbody tr:hover td { background-color: var(--bg-section-greenish); }
.comparison-table tbody tr:hover td:first-child { background-color: var(--bg-section-greenish); }
.comparison-table tbody tr:hover td.roofa-col { background-color: #b2efac; }

@media (max-width: 767px) {
    .comparison-table th, .comparison-table td { padding: 8px 5px; font-size: 0.8em; line-height: 1.2; word-break: break-word; }
    .comparison-table td span { display: block; }
.comparison-table td span:first-child { font-size: 1.5em; margin-bottom: -0.2em; }
    .comparison-table th:first-child, .comparison-table td:first-child { padding-left: 10px; }
    .comparison-table th.roofa-col { font-size: 1em; }
    .comparison-table th.roofa-col::before { font-size: 0.7em; }
    .comparison-table .icon-ok, .comparison-table .icon-ng, .comparison-table .icon-triangle { font-size: 1.2em; }
    .comparison-table { min-width: 320px; } /* 最小幅を調整 */
}

.comparison-table td[data-tooltip] {
    position: relative;
    cursor: help;
}

.comparison-table td[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 0.8em;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 10;
}

.comparison-table td[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 767px) {
    .comparison-table td[data-tooltip]::after {
        /* スマホではタップで表示するため、初期状態は非表示 */
        display: none;
    }
    .comparison-table td[data-tooltip].active::after {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

/* --- Pricing Section --- */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: stretch; }
.price-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-color-medium);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 6px solid var(--primary-green-dark);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-top-color var(--transition-normal);
}
.price-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px var(--shadow-color-dark);
}
.price-card.recommended {
    border-top-color: var(--accent-orange);
    transform: scale(1.03);
}
.price-card.recommended:hover {
    transform: scale(1.05) translateY(-10px);
}
.price-card.is-emphasized { 
    transform: translateY(-12px) scale(1.05); /* Reduced scale from 1.08 */
    box-shadow: 0 12px 30px var(--shadow-color-dark);
    border-top-color: var(--accent-red); 
}
.price-card.recommended.is-emphasized {
    transform: translateY(-15px) scale(1.07); /* Reduced scale from 1.1 */
    box-shadow: 0 15px 35px rgba(var(--accent-orange-rgb), 0.4);
    border-top-color: var(--accent-red);
}
.price-card .recommend-badge { background-color: var(--accent-orange); color: var(--white); padding: 5px 10px; border-radius: 5px; font-size: 0.9em; font-weight: bold; display: inline-block; margin-bottom: 15px; }
.price-card h3 { font-size: 1.6em; color: var(--primary-green-dark); margin-bottom: 10px; }
.price-card .price { font-size: 2em; font-weight: bold; margin-bottom: 5px; color: var(--text-dark); }
.price-card .original-price { text-decoration: line-through; color: var(--text-medium); font-size: 0.9em; }
.price-card ul { margin: 20px 0; text-align: left; padding-left: 10px; }
.price-card ul li { margin-bottom: 10px; padding-left: 25px; position: relative; font-size: 0.95em;}
.price-card ul li::before { content: '✔'; color: var(--primary-green-light); position: absolute; left: 0; font-weight: bold; }
.price-card .btn { margin-top: auto; width: 100%; }
@media (max-width: 767px) {
    .pricing-grid { gap: 20px; }
    .price-card {
        padding: 20px;
    }
    .price-card h3 { font-size: 1.4em; }
    .price-card .price { font-size: 1.8em; }
    .price-card ul { margin: 15px 0; }
    .price-card ul li { font-size: 0.85em; line-height: 1.4; margin-bottom: 8px; }
    .price-card .btn { padding: 10px 20px; font-size: 1em; }
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- How to Order Section --- */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 25px; position: relative; }
.step-item {
    text-align: center;
    padding: 20px;
    background-color: var(--bg-section-greenish);
    border-radius: 10px;
    transition: transform var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    z-index: 1;
}
.step-item.is-emphasized {
    background-color: var(--primary-green-pale);
    transform: scale(1.03); 
    box-shadow: 0 5px 15px var(--shadow-color-medium);
}
.step-item.is-emphasized .step-number {
    background-color: var(--accent-orange);
}
.step-item.is-emphasized img {
    animation: bounceIcon 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(1.15); /* Changed to simple scale */
    transition: transform var(--transition-normal);
}
.step-item .step-number {
    display: inline-block;
    background-color: var(--primary-green-dark);
    color: var(--white);
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    font-size: 1.1em;
    margin-bottom: 10px;
    font-weight: bold;
    transition: background-color var(--transition-normal);
}
.step-item img { width: 80px; margin: 10px auto; transition: transform 0.3s; }
@media (min-width: 576px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .steps-grid { grid-template-columns: repeat(4, 1fr); }
    .step-item img { width: 100px; }
}

/* Bounce animation for icons (only used in Why RooFa section now) */
@keyframes bounceIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); } 
    70% { transform: scale(1.1); } 
    100% { transform: scale(1.25); } 
}


/* --- FAQ Section --- */
.faq-item { margin-bottom: 15px; border: 1px solid var(--border-gray); border-radius: 8px; overflow: hidden; transition: box-shadow var(--transition-fast); }
.faq-item:hover { box-shadow: 0 2px 8px var(--shadow-color-light); }
.faq-item .faq-question-heading { margin: 0; }
.faq-item .question { font-weight: bold; background-color: var(--bg-section-greenish); padding: 15px 20px; cursor: pointer; position: relative; display: flex; justify-content: space-between; align-items: center; color: var(--primary-green-dark); transition: background-color var(--transition-normal); width: 100%; text-align: left; }
.faq-item .question:hover, .faq-item .question:focus { background-color: var(--primary-green-pale); outline: none; }
.faq-item .question::after { content: '+'; font-size: 1.8em; color: var(--primary-green-light); transition: transform var(--transition-slow) cubic-bezier(0.68, -0.55, 0.27, 1.55); min-width: 20px; text-align: center; }
.faq-item .answer { padding: 0 20px; background-color: var(--white); max-height: 0; overflow: hidden; transition: max-height var(--transition-slow), padding var(--transition-slow), opacity var(--transition-slow); font-size: 0.95em; color: var(--text-medium); opacity: 0;}
.faq-item.active .question::after { transform: rotate(135deg); }
.faq-item.active .answer { max-height: 300px; padding: 15px 20px; opacity: 1;}


/* --- Final CTA Section --- */
.final-cta-section { text-align: center; }
.final-cta-section h2 { color: var(--white); font-size: 2.2em; }
.final-cta-section p { font-size:1.1em; margin-bottom:30px; max-width: 700px; margin-left:auto; margin-right:auto; }
.final-cta-section .btn {
    background-color: var(--accent-orange);
    color: var(--white);
    font-size: 1.4em;
    padding: 18px 40px;
    animation: pulse-cta 2s infinite ease-in-out;
    display: block;
    margin: 0 auto 20px auto;
    max-width: 400px;
}
@keyframes pulse-cta {
    0% { transform: scale(1); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
    50% { transform: scale(1.03); box-shadow: 0 6px 15px rgba(255, 111, 0, 0.3); }
    100% { transform: scale(1); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
}
.final-cta-section .btn:hover, .final-cta-section .btn:focus {
    background-color: #e65100;
    transform: translateY(-3px) scale(1.02);
    animation-play-state: paused;
}
.discount-banner { font-size: 1.1em; margin-top: 20px; background-color: rgba(255,255,255,0.2); padding: 8px 15px; border-radius: 5px; display: inline-block; font-weight: bold; }
.final-cta-section .countdown-timer { display: block; font-size: 0.9em; margin-top: 8px; font-weight: normal; color: var(--primary-green-pale); }

@media (max-width: 767px) {
    .final-cta-section h2 { font-size: 1.8em; line-height: 1.3; }
    .final-cta-section p { font-size: 1em; }
    .final-cta-section .btn { font-size: 1.2em; padding: 15px 30px; }
    .discount-banner { font-size: 1em; padding: 6px 12px; }
}

/* --- Site Header --- */
.site-header {
    background-color: var(--bg-main);
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 990;
    box-shadow: 0 2px 10px var(--shadow-color-medium);
    transition: transform var(--transition-normal), background-color var(--transition-normal);
    will-change: transform;
}
.site-header.is-hidden {
    transform: translateY(-100%);
}
.site-header.nav-open-forced-show { 
    transform: translateY(0) !important;
}
.header-container { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0; }
.logo a { font-size: 1.8em; font-weight: 700; text-decoration: none; padding-left: 20px; }
.main-nav { position: relative; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; white-space: nowrap; }
.nav-menu li { margin-left: 20px; }
.nav-menu li:first-child { margin-left: 0; }
.nav-link { text-decoration: none; color: var(--text-medium); font-weight: 500; padding: 8px 12px; border-radius: 6px; transition: color var(--transition-fast), background-color var(--transition-fast); position: relative; }
.nav-link:hover, .nav-link:focus, .nav-link.active { color: var(--primary-green-dark); background-color: var(--primary-green-pale); outline: none; }
.nav-link.active::after { content: ''; position: absolute; bottom: -2px; left: 10%; width: 80%; height: 2px; background-color: var(--primary-green-dark); }
.btn-nav-cta { padding: 8px 18px; font-size: 0.95em; background-color: var(--accent-orange); color: var(--white) !important; border: none; }
.btn-nav-cta:hover, .btn-nav-cta:focus { background-color: #e65100; color: var(--white) !important; outline-color: #e65100; }
.btn-nav-cta .roofa-text { color: var(--white) !important; }

/* Hamburger Menu (Mobile) */
.nav-toggle { display: none ; background: none; border: none; padding: 10px; cursor: pointer; z-index: 1001; position: relative; width: 44px; height: 44px; align-items: center; justify-content: center; }
.hamburger-icon { display: block; position: relative; width: 24px; height: 2px; background-color: var(--text-dark); transition: background-color 0s 0.3s, transform 0.3s ease-in-out; }
.hamburger-icon::before, .hamburger-icon::after { content: ''; position: absolute; left: 0; width: 100%; height: 2px; background-color: var(--text-dark); transition: transform 0.3s ease-in-out, top 0.3s ease-in-out 0.3s; }
.hamburger-icon::before { top: -7px; }
.hamburger-icon::after { top: 7px; }

/* Mobile Navigation Styles */
@media (max-width: 991px) {
    .site-header { padding: 5px 0; }
    .nav-toggle { display: flex; margin-right: 15px;}
    .main-nav.is-open .nav-toggle .hamburger-icon { background-color: transparent; transform: rotate(180deg); }
    .main-nav.is-open .nav-toggle .hamburger-icon::before { top: 0; transform: translateY(0px) rotate(45deg); transition-delay: 0s; }
    .main-nav.is-open .nav-toggle .hamburger-icon::after { top: 0; transform: translateY(0px) rotate(-45deg); transition-delay: 0s; }
    .nav-menu {
        position: absolute;
        top: calc(100% + 5px);
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        width: auto;
        min-width: 250px;
        max-width: 90%;
        box-shadow: 0 5px 15px var(--shadow-color-dark);
        border-radius: 0 0 8px 8px;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
        will-change: max-height, opacity, transform;
        z-index: 1000;
    }
    .main-nav.is-open .nav-menu { max-height: 500px; padding: 10px 0; opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-menu li { margin-left: 0; width: 100%; }
    .nav-link { display: block; padding: 12px 20px; width: 100%; border-radius: 0; text-align: left; }
    .nav-link.active, .nav-link:hover, .nav-link:focus { background-color: var(--primary-green-pale); }
    .nav-link.active::after { display: none; }
    .btn-nav-cta { margin: 10px 20px; display: block; width: calc(100% - 40px); text-align: center; }
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background-color: var(--white);
    padding: 8px 10px;
    border-radius: 50px;
    box-shadow: 0 5px 15px var(--shadow-color-dark);
    z-index: 997;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform var(--transition-slow) cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity var(--transition-slow);
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}
.sticky-cta.visible { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }
.sticky-cta.hidden-by-footer { 
    transform: translateX(-50%) translateY(150%);
    opacity: 0;
    visibility: hidden;
}
.sticky-cta .btn { font-size: 0.9em; padding: 8px 12px; white-space: nowrap; }
.sticky-cta .sticky-cta-badge { font-size: 0.7em; padding: 2px 5px; display: none; }
.sticky-cta-close { background-color: var(--text-medium); color: var(--white); width: 24px; height: 24px; border-radius: 50%; font-size: 1.2em; line-height: 22px; text-align: center; cursor: pointer; transition: background-color var(--transition-fast); }
.sticky-cta-close:hover, .sticky-cta-close:focus { background-color: var(--text-dark); outline: none; }

@media (min-width: 768px) {
    .sticky-cta { padding: 10px 15px; bottom: 30px; }
    .sticky-cta .btn { font-size: 1em; padding: 10px 20px; }
    .sticky-cta .sticky-cta-badge { display: inline-block; font-size: 0.8em; padding: 3px 8px; }
}

/* --- Main Footer --- */
.site-footer-vision { background-color: var(--bg-main); padding: 50px 0 30px; text-align: center; }
.footer-vision-logo a.roofa-text { font-size: 2.8em; color: var(--primary-green-dark); text-decoration: none; display: inline-block; margin-bottom: 25px; }
.footer-vision-headline { font-size: 1.6em; color: var(--primary-green-dark); font-weight: 700; margin-bottom: 15px; line-height: 1.5; }
.footer-vision-message { font-size: 0.95em; line-height: 1.8; color: var(--text-medium); max-width: 700px; margin-left: auto; margin-right: auto; margin-bottom: 30px; }
.footer-vision-social { margin-bottom: 30px; }
.footer-vision-social a { display: inline-block; transition: transform 0.2s ease-out; }
.footer-vision-social a:hover, .footer-vision-social a:focus { transform: scale(1.1); }
.footer-vision-social img { width: 40px; height: 40px; }
.footer-vision-copyright { font-size: 0.85em; color: var(--text-medium); }
.footer-vision-copyright p { margin: 0; }

@media (min-width: 992px) {
    .site-footer-vision { padding: 70px 0 40px; }
    .footer-vision-logo a.roofa-text { font-size: 3.2em; margin-bottom: 30px; }
    .footer-vision-headline { font-size: 2em; margin-bottom: 20px; }
    .footer-vision-message { font-size: 1em; margin-bottom: 40px; }
    .footer-vision-social img { width: 48px; height: 48px; }
    .footer-vision-content-wrapper { display: flex; align-items: center; justify-content: space-between; } /* This class is not in HTML, consider adding or removing */
    .footer-vision-text-group { text-align: left; flex-basis: 60%; } /* This class is not in HTML */
    .footer-vision-social-group { flex-basis: 30%; text-align: right; } /* This class is not in HTML */
}

/* Section bottom padding adjustments */
.why-roofa-section,
.testimonials-section,
.growth-proof-section,
.plant-lineup-section,
.how-it-works-section, 
.comparison-section {
    /* Default padding-bottom (40px) + extra */
    padding-bottom: calc(40px + 40px); /* Base mobile padding + extra = 80px */
}


@media (min-width: 768px) {
    .section-full-width {
        /* padding-top: 60px; */ /* Maintained from original */
        padding-bottom: 80px; /* Default PC bottom padding, can be overridden */
        /* scroll-margin-top will be set by JS */
    }

    /* Specific sections needing more bottom padding on PC */
    .why-roofa-section,
    .testimonials-section,
    .growth-proof-section,
    .plant-lineup-section,
    .how-it-works-section,
    .comparison-section {
        /* Default PC padding-bottom (80px) + extra */
        padding-bottom: calc(80px + 20px); /* Base PC padding + extra = 100px */
    }
}