/* アップサイクルファッションサイト CSS */

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

:root {
    --primary-color: #2C3E50;
    --secondary-color: #E74C3C;
    --accent-color: #F39C12;
    --text-dark: #1A1A1A;
    --text-light: #6B6B6B;
    --bg-light: #F9F9F9;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', 'Meiryo', 'MS Gothic', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.9;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0;
}

.logo a {
    color: var(--primary-color);
}

.nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    max-width: 900px;
    justify-content: center;
}

.nav a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav a:hover,
.nav a.active {
    color: var(--secondary-color);
    background: rgba(231, 76, 60, 0.1);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero, .page-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1A1A1A;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(231, 76, 60, 0.75));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
    text-align: center;
    font-weight: bold;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
}

.hero-title, .page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6),
                 -1px -1px 2px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: #F39C12;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle, .page-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #F39C12;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-size: 0.95rem;
    color: white;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: #E67E22;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Page Hero for Content Pages */
.page-hero {
    min-height: 60vh;
}

.page-hero .hero-content {
    max-width: 800px;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Intro Content */
.intro-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.intro-content strong {
    color: var(--secondary-color);
    font-weight: 700;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-left-color: var(--secondary-color);
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.news-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-link:hover {
    color: var(--accent-color);
}

/* 2-Column Layout for Content Pages */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.main-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.main-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-left: 4px solid var(--secondary-color);
    padding-left: 1rem;
}

.main-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.main-content ul, .main-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.main-content li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.main-content strong {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 0.8rem;
}

.sidebar-section ul {
    list-style: none;
}

.sidebar-section li {
    margin-bottom: 0.8rem;
}

.sidebar-section a {
    color: var(--text-dark);
    display: block;
    padding: 0.5rem 0;
    transition: var(--transition);
    font-size: 0.95rem;
}

.sidebar-section a:hover {
    color: var(--secondary-color);
    padding-left: 0.5rem;
}

/* Table of Contents */
.toc a {
    display: block;
    padding: 0.6rem 0;
    border-left: 3px solid transparent;
    padding-left: 0.8rem;
}

.toc a:hover {
    border-left-color: var(--accent-color);
    background: var(--bg-light);
}

.toc a.active {
    border-left-color: var(--secondary-color);
    background: var(--bg-light);
    color: var(--secondary-color);
}

/* Ad Space */
.ad-space {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #DDD;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Amazon Banner */
.amazon-banner {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFE4B5 100%);
    border-radius: 8px;
    border: 2px solid #FFD700;
    text-align: center;
    transition: var(--transition);
}

.amazon-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.amazon-banner a {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
}

.amazon-banner div {
    font-size: 1.1rem;
}

/* Insights Grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.insight-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-top-color: var(--secondary-color);
}

.insight-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.insight-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5rem 0;
    text-align: center;
}

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

.cta-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
}

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

.cta-button.primary {
    background: var(--accent-color);
    color: var(--text-dark);
}

.cta-button.secondary {
    background: white;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        max-width: none;
    }

    .nav.active {
        left: 0;
    }

    .nav a {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid var(--bg-light);
    }

    .hamburger {
        display: flex;
    }

    .hero-title, .page-title {
        font-size: 2rem;
    }

    .hero-subtitle, .page-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        width: 100%;
    }

    .content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .sidebar {
        position: static;
        order: -1;
    }

    .main-content {
        order: 1;
    }

    .main-content {
        padding: 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title, .page-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* ===== Partner Page Styles ===== */
.partner-page-hero{padding-top:5rem;padding-bottom:4rem;background:linear-gradient(135deg,rgba(30,64,175,0.94) 0%,rgba(14,165,233,0.9) 100%);color:#fff;position:relative;overflow:hidden}
.partner-page-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(255,255,255,0.18),transparent 35%),radial-gradient(circle at bottom left,rgba(255,255,255,0.12),transparent 40%)}
.partner-page-hero .container,.partner-page-content .container{position:relative;z-index:1}
.partner-page-eyebrow{display:inline-block;margin-bottom:1rem;padding:.35rem .8rem;border-radius:999px;background:rgba(255,255,255,0.16);font-size:.875rem;font-weight:700;color:#fff}
.partner-page-title{font-size:clamp(1.75rem,5vw,3rem);line-height:1.15;margin-bottom:1.25rem;color:#fff}
.partner-page-lead{max-width:820px;font-size:1.125rem;color:rgba(255,255,255,0.92);line-height:1.7}
.partner-page-content{padding:4rem 0 5rem}
.partner-page-grid{display:grid;gap:2rem}
.partner-content-block{background:#fff;border:1px solid rgba(148,163,184,0.25);border-radius:1rem;padding:2rem;box-shadow:0 4px 6px -1px rgba(0,0,0,0.07)}
.partner-content-block h2{font-size:1.4rem;margin-bottom:1rem;color:#111827}
.partner-content-block h3{font-size:1.15rem;margin:1.5rem 0 .75rem;color:#1f2937}
.partner-content-block p{line-height:1.7;color:#374151}
.partner-content-block ul,.partner-content-block ol{padding-left:1.4rem;margin-top:.75rem;color:#374151}
.partner-content-block li{margin-bottom:.4rem;line-height:1.6}
.partner-highlight-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-top:1.5rem}
.partner-highlight-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.25rem}
.partner-highlight-card h3{margin-top:0;font-size:1.1rem;color:#1e3a8a}
.partner-cta-box{background:linear-gradient(135deg,#1e40af 0%,#0ea5e9 100%) !important;color:#fff !important}
.partner-cta-box h2{color:#fff !important}
.partner-cta-box p,.partner-cta-box li,.partner-note{color:rgba(255,255,255,0.9)}
.partner-cta-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem}
.partner-cta-actions .btn{display:inline-flex;align-items:center;padding:.7rem 1.4rem;border-radius:.5rem;font-weight:600;text-decoration:none;transition:all .2s;font-size:.95rem}
.partner-cta-actions .btn-primary{background:#fff;color:#1e40af;border:2px solid transparent}
.partner-cta-actions .btn-primary:hover{background:#eff6ff}
.partner-cta-actions .btn-secondary{background:rgba(255,255,255,0.15);color:#fff;border:1.5px solid rgba(255,255,255,0.35)}
.partner-cta-actions .btn-secondary:hover{background:rgba(255,255,255,0.25)}
.partner-note{margin-top:1rem;font-size:.875rem}
nav.breadcrumb{padding:.6rem 0;background:#f8fafc;border-bottom:1px solid #e2e8f0}
nav.breadcrumb .container{max-width:1200px;margin:0 auto;padding:0 1rem}
.breadcrumb-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.25rem;align-items:center}
.breadcrumb-item{display:flex;align-items:center;font-size:.85rem;color:#64748b}
.breadcrumb-item:not(:last-child)::after{content:'›';margin:0 .5rem;color:#94a3b8}
.breadcrumb-item a{color:#3b82f6;text-decoration:none}
.breadcrumb-item a:hover{text-decoration:underline}
.breadcrumb-item.active{color:#1e293b;font-weight:500}
.glossary-link{color:#3b82f6;text-decoration:underline}
@media(max-width:640px){.partner-content-block{padding:1.25rem}.partner-page-hero{padding-top:3.5rem;padding-bottom:2.5rem}}
