/* Auxiliary Pages Styles - Extended from main styles */

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #2C2C2C;
    background-color: #FAFAFA;
}

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

/* Color Variables */
:root {
    --matcha-green: #2D5016;
    --matcha-light: #4A7A26;
    --matcha-accent: #6B9B3A;
    --beige: #D4B896;
    --beige-light: #E6D4B7;
    --sakura: #F4D1D1;
    --sumi: #2C2C2C;
    --white: #FAFAFA;
    --light-gray: #F5F5F5;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--white) 0%, var(--beige-light) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(45, 80, 22, 0.1);
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 184, 150, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 80, 22, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    filter: drop-shadow(2px 2px 4px rgba(45, 80, 22, 0.2));
}

.brand-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--matcha-green);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--sumi);
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--matcha-green);
    background-color: rgba(45, 80, 22, 0.05);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--matcha-accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--matcha-green) 0%, var(--matcha-light) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 184, 150, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.page-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
    min-height: 60vh;
}

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

/* About Page Specific Styles */
.content-section {
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--matcha-green);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--matcha-accent), var(--beige));
    border-radius: 2px;
}

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

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--sumi);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

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

.image-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--beige) 0%, var(--beige-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--matcha-green);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(45, 80, 22, 0.05) 70%);
}

.image-placeholder span {
    position: relative;
    z-index: 1;
    text-align: center;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(45, 80, 22, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(45, 80, 22, 0.15);
}

.value-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.value-card h4 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--matcha-green);
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 1rem;
    color: var(--sumi);
    opacity: 0.9;
    line-height: 1.6;
}

/* Legal Pages Styles */
.legal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.legal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(45, 80, 22, 0.01) 100%);
    border-radius: 20px;
    pointer-events: none;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--sumi);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.content-placeholder {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--sakura) 100%);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    border: 2px dashed var(--beige);
    position: relative;
}

.content-placeholder::before {
    content: '';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234A7A26"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z"/><path d="M14 2v6h6"/><path d="M16 13H8"/><path d="M16 17H8"/><path d="M10 9H8"/></svg>') no-repeat center;
    background-size: contain;
    opacity: 0.3;
}

.content-placeholder p {
    color: var(--matcha-green);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Policy Sections Styling */
.policy-sections {
    margin-top: 2rem;
}

.policy-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--matcha-green);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
}

.policy-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(to bottom, var(--matcha-accent), var(--beige));
    border-radius: 2px;
}

.policy-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--sumi);
    opacity: 0.9;
    margin-bottom: 1rem;
}

.contact-details {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--sakura) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    border-left: 4px solid var(--matcha-accent);
}

.contact-details p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.policy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--matcha-accent);
    text-align: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--beige-light) 100%);
    padding: 2rem;
    border-radius: 12px;
}

.policy-footer p {
    color: var(--matcha-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Enhanced About Page Styles */
.content-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.content-photo:hover {
    transform: scale(1.02);
}

.commitment-content {
    text-align: center;
}

.commitment-text {
    max-width: 800px;
    margin: 0 auto;
}

.commitment-text > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--sumi);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.quality-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(45, 80, 22, 0.15);
}

.step-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.process-step h4 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--matcha-green);
    margin-bottom: 0.8rem;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--sumi);
    opacity: 0.8;
    line-height: 1.6;
}

.team-content {
    text-align: center;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.team-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--sumi);
    opacity: 0.9;
}

.team-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.team-value {
    background: linear-gradient(135deg, var(--matcha-green) 0%, var(--matcha-light) 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.3);
    transition: transform 0.3s ease;
}

.team-value:hover {
    transform: translateY(-3px);
}

.value-number {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.value-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--sumi) 0%, var(--matcha-green) 100%);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 184, 150, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 122, 38, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo span {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section h4 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--beige);
}

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

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

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--beige);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-content {
        padding: 2rem;
    }
    
    .content-placeholder {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .nav-menu a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
}