/* ========================================
   CSS Variables & Base Styles
   ======================================== */

:root {
    /* Color Palette */
    --primary-green: #558B2F;
    --primary-blue: #3a2f8b;
    --primary-green-dark: #33691E;
    --primary-green-light: #7CB342;
    --accent-green-bg: #E8F5E9;
    --neutral-white: #FFFFFF;
    --neutral-light: #F5F5F5;
    --neutral-gray: #E0E0E0;
    --neutral-dark: #424242;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    
    /* Gradients */
    --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Typography */
    --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.8;
    
    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--neutral-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   Header Navigation
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s var(--transition-smooth);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 32px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s var(--transition-smooth);
}

.header-logo:hover {
    opacity: 0.8;
}

.header-logo-en {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.header-logo-jp {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.header-nav {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary-green);
}

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

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl) var(--spacing-md);
    color: var(--neutral-white);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    display: none; /* アニメーション要素を非表示 */
}

.hero-text {
    text-align: left;
    max-width: 600px;
    padding-left: var(--spacing-md);
}

.logo-wrapper {
    margin-bottom: var(--spacing-lg);
}

.company-logo {
    font-size: 7rem;
    font-weight: 900;
    color: var(--neutral-white);
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
    text-shadow: 
        4px 4px 20px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 0, 0, 0.3);
    font-family: var(--font-family);
    line-height: 1.1;
}

.company-name-jp {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    opacity: 0.98;
    text-shadow: 
        2px 2px 10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 0, 0, 0.2);
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-family);
}

.hero-tagline {
    font-size: 1.875rem;
    font-weight: 500;
    line-height: 48px;
    margin-top: var(--spacing-lg);
    text-shadow: 
        2px 2px 15px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.12em;
    font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', serif;
    font-style: normal;
}

.hero-tagline strong,
.hero-tagline-emphasis {
    font-size: 2.75rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 
        3px 3px 20px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(232, 245, 233, 0.5);
    display: block;
    margin-top: var(--spacing-xs);
    letter-spacing: 0.15em;
    font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', serif;
    font-style: normal;
    white-space: nowrap;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent);
}

/* ========================================
   Section Labels & Dividers
   ======================================== */

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.section-label-center {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--primary-green);
    margin: var(--spacing-md) 0;
}

.divider-center {
    width: 60px;
    height: 3px;
    background: var(--primary-green);
    margin: var(--spacing-md) auto;
}

/* ========================================
   Vision Section
   ======================================== */

.vision {
    padding: var(--spacing-xxl) 0;
    background: var(--neutral-white);
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-top: var(--spacing-lg);
}

.vision-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.vision-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s var(--transition-smooth);
}

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

.vision-text {
    padding: var(--spacing-md);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-family);
}

.vision-description {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 2;
    margin-top: var(--spacing-md);
    font-family: var(--font-family);
}

/* ========================================
   Company Info Section
   ======================================== */

.company-info {
    padding: var(--spacing-xxl) 0;
    background: var(--neutral-light);
}

.section-title-center {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-family);
}

.info-grid {
    max-width: 800px;
    margin: var(--spacing-lg) auto 0;
    background: var(--neutral-white);
    border-radius: 8px;
    padding: var(--spacing-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--neutral-gray);
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-row:first-child {
    padding-top: 0;
}

.info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
    font-family: var(--font-family);
}

.info-value {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.7;
    margin: 0;
    font-family: var(--font-family);
}

.info-value a {
    color: var(--text-secondary);
    text-decoration: underline;
    transition: color 0.3s var(--transition-smooth);
}

.info-value a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

/* ========================================
   Product Section
   ======================================== */

.product {
    padding: var(--spacing-xxl) 0;
    background: var(--accent-green-bg);
}

.product-subtitle-center {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-top: var(--spacing-xl);
}

.product-visual-section {
    position: relative;
}

.product-main-image {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(85, 139, 47, 0.2);
    aspect-ratio: 1 / 1;
    background: var(--neutral-white);
}

.product-drink {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: var(--spacing-md);
}

.product-name {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-family);
}

.product-description {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-family);
}

.product-release-box {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--neutral-white);
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    margin-bottom: var(--spacing-lg);
}

.product-release {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-green);
    margin: 0;
    text-align: center;
    font-family: var(--font-family);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: var(--spacing-xxl) 0 var(--spacing-md);
    background: linear-gradient(135deg, #231e69 0%, #305b87 100%);
    color: var(--neutral-white);
}

.footer-content {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-family);
}

.footer-company-name {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-family);
}

.footer-text p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 2;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-family);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    font-weight: 300;
    opacity: 0.6;
    font-family: var(--font-family);
}

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

@media (max-width: 1024px) {
    .vision {
        padding-top: var(--spacing-md);
        padding-bottom: var(--spacing-xxl);
    }
    
    .vision-content,
    .product-content {
        display: flex;
        flex-direction: column-reverse;
        gap: var(--spacing-lg);
    }
    
    .product-visual-section {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
        --spacing-xxl: 4rem;
    }
    
    .header-nav {
        display: none;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .hero {
        min-height: 400px;
    }
    
    .vision {
        padding-top: var(--spacing-md);
        padding-bottom: var(--spacing-xxl);
    }
    
    .vision-content {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .product-content {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .info-grid {
        padding: var(--spacing-md);
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
        padding: var(--spacing-sm) 0;
    }
    
    .company-info {
        padding: var(--spacing-xl) 0;
    }
    
    .company-logo {
        font-size: 4.5rem;
    }
    
    .company-name-jp {
        font-size: 1.3rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .hero-tagline strong {
        font-size: 1.8rem;
    }
    
    .section-title,
    .section-title-center {
        font-size: 2rem;
    }
    
    .product-name {
        font-size: 1.75rem;
    }
    
    
    .header-logo-en {
        font-size: 1.75rem;
    }
    
    .header-logo-jp {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }
    
    .header-nav {
        display: none;
    }
    
    .hero {
        min-height: 400px;
    }
    
    .header-logo-en {
        font-size: 1.5rem;
    }
    
    .header-logo-jp {
        font-size: 0.65rem;
    }
    
    .company-logo {
        font-size: 3.5rem;
    }
    
    .company-name-jp {
        font-size: 1.1rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-tagline strong {
        font-size: 1.5rem;
    }
    
    .section-title,
    .section-title-center {
        font-size: 1.75rem;
    }
    
    .product-name {
        font-size: 1.5rem;
    }
    
    .footer-logo h2 {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .scroll-indicator {
        display: none;
    }
    
    .hero {
        min-height: auto;
        page-break-after: always;
    }
    
    section {
        page-break-inside: avoid;
    }
}
