/* ==========================================
   リユース市場データブック2025 LP - Stylesheet
   ========================================== */

/* ==========================================
   Reset & Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1rem, 1vw + 0.8rem, 1.2rem);
    font-weight: 400;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    word-break: keep-all;
    overflow-wrap: break-word;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utility Classes */
.nowrap-word {
    white-space: nowrap;
}

/* ==========================================
   Container
   ========================================== */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 1.25rem);
}

/* ==========================================
   Section Styles
   ========================================== */
section {
    padding: clamp(3rem, 8vw, 6.25rem) 0;
}

.section-title {
    font-size: clamp(1.75rem, 3vw + 1rem, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e3a5f;
    line-height: 1.4;
    word-break: keep-all;
}

.section-intro {
    text-align: center;
    font-size: clamp(1rem, 1.2vw + 0.7rem, 1.4rem);
    font-weight: 400;
    color: #555;
    margin-bottom: 3rem;
    line-height: 1.7;
    word-break: normal;
    overflow-wrap: anywhere;
    white-space: normal;
    letter-spacing: normal;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.subsection-title {
    font-size: clamp(1.5rem, 2vw + 0.8rem, 2.25rem);
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 1.25rem;
    line-height: 1.4;
    word-break: keep-all;
}

/* ==========================================
   Button Styles
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1.125rem 2.5rem;
    font-size: clamp(1rem, 1vw + 0.7rem, 1.25rem);
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    min-width: 15rem;
    word-break: keep-all;
}

.btn i {
    font-size: 1.2em;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff4500 0%, #ff6b35 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
    transform: translateY(-3px);
}

.btn-secondary {
    background: #fff;
    color: #1e3a5f;
    border: 2px solid #1e3a5f;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.2);
}

.btn-secondary:hover {
    background: #1e3a5f;
    color: #fff;
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.4);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.375rem 3.125rem;
    font-size: clamp(1.1rem, 1.2vw + 0.7rem, 1.4rem);
    min-width: 17.5rem;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: #fff;
    padding: clamp(3rem, 8vw, 6.25rem) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-logo {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.reuse-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content > * {
    min-width: 0;
}

.hero-text {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 1.25rem;
    font-size: clamp(0.9rem, 1vw + 0.6rem, 1.1rem);
    font-weight: 500;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(10px);
    word-break: keep-all;
    white-space: normal;
    overflow-wrap: break-word;
}

.hero-title {
    font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    word-break: keep-all;
    white-space: normal;
    overflow-wrap: break-word;
}

.hero-title .year {
    color: #ff6b35;
    display: block;
    font-size: 1.15em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.5vw + 0.7rem, 1.6rem);
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.95;
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: anywhere;
    white-space: normal;
}

.hero-description {
    font-size: clamp(1rem, 1.2vw + 0.6rem, 1.3rem);
    font-weight: 400;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    word-break: normal;
    overflow-wrap: anywhere;
    white-space: normal;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-cta > * {
    min-width: 0;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image > * {
    min-width: 0;
}

.hero-image img {
    max-width: clamp(20rem, 40vw, 34.375rem);
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* ==========================================
   Overview Section
   ========================================== */
.overview {
    background: #f8f9fa;
}

.overview-content {
    max-width: 900px;
    margin: 0 auto;
}

.overview-text {
    font-size: clamp(1rem, 1.2vw + 0.7rem, 1.4rem);
    font-weight: 400;
    text-align: center;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    word-break: normal;
    overflow-wrap: anywhere;
    white-space: normal;
    letter-spacing: normal;
}

.overview-highlight {
    display: flex;
    justify-content: center;
    gap: 3.75rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.overview-highlight > * {
    min-width: 0;
}

.highlight-item {
    text-align: center;
    padding: 1.875rem 3.125rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 100%;
}

.highlight-number {
    display: block;
    font-size: clamp(2.5rem, 4vw + 1.5rem, 4rem);
    font-weight: 900;
    color: #ff6b35;
    margin-bottom: 0.625rem;
    line-height: 1.2;
    max-width: 100%;
}

.highlight-label {
    display: block;
    font-size: clamp(1rem, 1vw + 0.7rem, 1.3rem);
    font-weight: 700;
    color: #1e3a5f;
    word-break: keep-all;
    line-height: 1.4;
}

/* ==========================================
   Features Section
   ========================================== */
.features {
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 100%;
    margin: 0 auto;
}

.features-grid > * {
    min-width: 0;
}

.feature-card {
    background: #f8f9fa;
    padding: 1.875rem 1.125rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #ff6b35;
    background: #fff;
}

.feature-icon {
    width: clamp(4.5rem, 8vw, 5.625rem);
    height: clamp(4.5rem, 8vw, 5.625rem);
    background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    max-width: 100%;
}

.feature-icon > * {
    min-width: 0;
}

.feature-icon i {
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    color: #fff;
}

.feature-title {
    font-size: clamp(1.2rem, 1.5vw + 0.7rem, 1.6rem);
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 1rem;
    line-height: 1.4;
    word-break: keep-all;
}

.feature-description {
    font-size: clamp(0.95rem, 1vw + 0.6rem, 1.1rem);
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    word-break: normal;
    overflow-wrap: anywhere;
    white-space: normal;
    text-align: center;
    letter-spacing: normal;
}

/* ==========================================
   Market Data Section
   ========================================== */
.market-data {
    background: #f8f9fa;
}

.market-data-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.75rem;
    align-items: center;
}

.market-data-content > * {
    min-width: 0;
}

.data-image {
    width: 100%;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.market-data-text p {
    font-size: clamp(1rem, 1.2vw + 0.7rem, 1.3rem);
    font-weight: 400;
    color: #555;
    line-height: 1.7;
    word-break: normal;
    overflow-wrap: anywhere;
    white-space: normal;
    letter-spacing: normal;
}

/* ==========================================
   Detailed Analysis Section
   ========================================== */
.detailed-analysis {
    background: #fff;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.analysis-grid > * {
    min-width: 0;
}

.analysis-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.analysis-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.analysis-image {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.analysis-title {
    font-size: clamp(1.1rem, 1.3vw + 0.7rem, 1.5rem);
    font-weight: 700;
    color: #1e3a5f;
    padding: 1.5rem 1.875rem;
    text-align: center;
    line-height: 1.4;
    word-break: keep-all;
}

/* ==========================================
   Forecast Section
   ========================================== */
.forecast {
    background: linear-gradient(135deg, #2c5282 0%, #1e3a5f 100%);
    color: #fff;
    text-align: center;
}

.forecast-content {
    max-width: 900px;
    margin: 0 auto;
}

.forecast-icon {
    width: clamp(6rem, 10vw, 7.5rem);
    height: clamp(6rem, 10vw, 7.5rem);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.875rem;
    backdrop-filter: blur(10px);
    max-width: 100%;
}

.forecast-icon > * {
    min-width: 0;
}

.forecast-icon i {
    font-size: clamp(2rem, 3vw, 3rem);
    color: #ff6b35;
}

.forecast .section-title {
    color: #fff;
    margin-bottom: 1.875rem;
}

.forecast-description {
    font-size: clamp(1rem, 1.3vw + 0.7rem, 1.4rem);
    font-weight: 400;
    line-height: 1.7;
    opacity: 0.95;
    word-break: normal;
    overflow-wrap: anywhere;
    white-space: normal;
    letter-spacing: normal;
    text-align: center;
}

/* ==========================================
   Target Audience Section
   ========================================== */
.target-audience {
    background: #f8f9fa;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.875rem;
    max-width: 1200px;
    margin: 0 auto;
}

.audience-grid > * {
    min-width: 0;
}

.audience-item {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    background: #fff;
    padding: 1.75rem 1.875rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.audience-item > * {
    min-width: 0;
}

.audience-item:hover {
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateX(10px);
}

.audience-item i {
    font-size: clamp(1.5rem, 2vw, 2rem);
    color: #ff6b35;
    flex-shrink: 0;
    width: 2.5rem;
    text-align: center;
}

.audience-item p {
    font-size: clamp(1rem, 1vw + 0.6rem, 1.15rem);
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: anywhere;
    white-space: normal;
    letter-spacing: normal;
}

/* ==========================================
   Trust Section
   ========================================== */
.trust {
    background: #fff;
    text-align: center;
}

.trust-content {
    max-width: 800px;
    margin: 0 auto;
}

.trust-icon {
    width: clamp(5rem, 8vw, 6.25rem);
    height: clamp(5rem, 8vw, 6.25rem);
    background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.875rem;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    max-width: 100%;
}

.trust-icon > * {
    min-width: 0;
}

.trust-icon i {
    font-size: clamp(2rem, 2.5vw, 2.5rem);
    color: #fff;
}

.trust-title {
    font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.5rem);
    font-weight: 900;
    color: #1e3a5f;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    word-break: keep-all;
}

.trust-description {
    font-size: clamp(1rem, 1.2vw + 0.7rem, 1.3rem);
    font-weight: 400;
    color: #555;
    line-height: 1.7;
    word-break: normal;
    overflow-wrap: anywhere;
    white-space: normal;
    letter-spacing: normal;
    text-align: center;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 50%, #ff4500 100%);
    color: #fff;
    text-align: center;
    padding: clamp(3rem, 8vw, 6.25rem) 0;
}

.cta-title {
    font-size: clamp(1.8rem, 3.5vw + 1rem, 3.2rem);
    font-weight: 900;
    margin-bottom: 1.25rem;
    line-height: 1.4;
    word-break: keep-all;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-description {
    font-size: clamp(1.1rem, 1.3vw + 0.7rem, 1.5rem);
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    word-break: normal;
    overflow-wrap: anywhere;
    white-space: normal;
    letter-spacing: normal;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.875rem;
    flex-wrap: wrap;
}

.cta-buttons > * {
    min-width: 0;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: #1e3a5f;
    color: #fff;
    padding: 1.875rem 0;
    text-align: center;
}

.footer-text {
    font-size: clamp(0.9rem, 1vw + 0.6rem, 1.1rem);
    font-weight: 400;
    opacity: 0.8;
    line-height: 1.5;
}

.footer-logo {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    max-width: 25rem;
    margin-left: auto;
    margin-right: auto;
}

.footer-reuse-logo {
    max-width: clamp(12rem, 25vw, 18.75rem);
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* ==========================================
   Responsive Design - Tablet
   ========================================== */
@media (max-width: 992px) and (min-width: 769px) {
    body {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-image img {
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .market-data-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .audience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================
   Responsive Design - Mobile (SMARTPHONE FIRST)
   ========================================== */
@media (max-width: 768px) {
    /* Layout adjustments only - font sizes handled by clamp() */
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Hero Section - Layout only */
    .hero-text {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .hero-image {
        text-align: center;
        margin-top: 1.25rem;
    }

    /* Button Mobile */
    .btn {
        width: 100%;
        min-width: auto;
        min-height: 3rem;
    }

    
    /* Grid Layouts - Convert to single column */
    .overview-highlight {
        flex-direction: column;
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .market-data-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
}

/* ==========================================
   Touch Device Optimization
   ========================================== */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 3rem;
    }

    .audience-item:hover {
        transform: none;
    }

    .feature-card:hover {
        transform: none;
    }

    .analysis-item:hover {
        transform: none;
    }
}
