/* ==========================================================================
   農園あづさ - Premium CSS Style System (Concept 2: Alpine Fresh Breeze)
   ========================================================================== */

/* --- Custom Properties & Tokens --- */
:root {
    --font-heading: 'Noto Serif JP', serif;
    --font-body: 'Inter', 'Hiragino Kaku Gothic ProN', sans-serif;
    --font-number: 'Outfit', sans-serif;

    /* Color Palette */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f5f5f7;
    --color-text-primary: #1d1d1f;
    --color-text-secondary: #86868b;
    --color-text-tertiary: #a1a1a6;
    
    --color-accent-red: #e30013; /* Muted Apple Red */
    --color-accent-blue: #0066cc; /* Elegant Link Blue */
    --color-accent-green: #34c759; /* Crisp Leaf Green */
    
    /* Nav & Overlays */
    --color-nav-bg: rgba(255, 255, 255, 0.72);
    --color-nav-border: rgba(0, 0, 0, 0.08);
    
    /* Layout Spacing */
    --section-padding: 120px 0;
    --border-radius-premium: 24px;
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* --- Reusable Components --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-tag.white-tag {
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 16px;
    border-radius: 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.white-text {
    color: #ffffff;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    padding: 12px 28px;
    border-radius: 40px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-accent-blue);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #0077ed;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent-blue);
    font-weight: 500;
    padding: 12px 18px;
}

.btn-secondary:hover {
    color: #0077ed;
}

.btn-card-primary {
    display: inline-block;
    color: var(--color-accent-blue);
    font-weight: 500;
    font-size: 0.95rem;
    border: 1.5px solid var(--color-accent-blue);
    padding: 8px 24px;
    border-radius: 50px;
    background-color: transparent;
}

.btn-card-primary:hover {
    background-color: var(--color-accent-blue);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-large {
    font-size: 1.05rem;
    padding: 16px 36px;
    font-weight: 500;
}

/* --- Reveal Animation Classes (Scroll-driven Asymmetric Fade) --- */
.reveal {
    opacity: 0;
    transform: translateY(35px); /* 基本のフェードアップ */
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 写真カラム: 左から右へスライド */
.digest-image-col.reveal {
    transform: translateX(-45px);
}

/* テキストカラム: 右から左へスライド */
.digest-text-col.reveal {
    transform: translateX(45px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) !important; /* X方向、Y方向ともに0に戻す */
}

/* --- Global Header (Apple Frosted Glass Overlay) --- */
.global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.18); /* 初期状態でも薄い黒背景で文字の可読性を向上 */
    backdrop-filter: blur(8px); /* 軽いガラス効果でスライド画像から文字を分離 */
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.global-header.scrolled {
    background-color: var(--color-nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-nav-border);
}

.header-container {
    max-width: 1200px; /* メニュー要素増加に対応するため最大幅を拡張 */
    height: 100%;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px; /* ロゴとメニューの最小間隔を調整 */
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition-smooth);
}

.header-logo-image {
    height: 56px;
    width: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
}

.global-header.scrolled .header-logo-image {
    border-color: rgba(0, 0, 0, 0.08);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); /* 影をつけて明るい画像上での視認性を確保 */
    white-space: nowrap; /* 改行防止 */
    transition: var(--transition-smooth);
}

.global-header.scrolled .brand-name {
    color: var(--color-text-primary);
    text-shadow: none; /* スクロール後は影を不要化 */
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px; /* 要素数増加に伴い、間隔を少し狭くして重なりを防止 */
}

.nav-item {
    font-size: 0.98rem; /* ほんの少しサイズを大きく */
    font-weight: 500; /* フォントを少し太く */
    color: #ffffff;
    opacity: 0.95; /* 不透明度を高く */
    letter-spacing: 0.04em; /* 文字間を広げて視認性向上 */
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); /* 影をつけて可読性向上 */
    white-space: nowrap; /* 改行防止 */
    transition: var(--transition-smooth);
}

.global-header.scrolled .nav-item {
    color: var(--color-text-primary);
    text-shadow: none;
    opacity: 0.85;
}

.nav-item:hover {
    opacity: 1;
    color: var(--color-accent-blue);
}

.nav-btn {
    background-color: #ffffff;
    color: var(--color-text-primary);
    padding: 6px 16px;
    border-radius: 12px;
    opacity: 1;
    font-size: 0.85rem;
    white-space: nowrap; /* 改行防止 */
    transition: var(--transition-smooth);
}

.global-header.scrolled .nav-btn {
    background-color: var(--color-text-primary);
    color: #ffffff;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.global-header.scrolled .nav-btn:hover {
    background-color: #333336;
}

/* Header Hamburger (Mobile) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); /* ボタンの視認性向上の影 */
    transition: var(--transition-smooth);
}

.global-header.scrolled .mobile-menu-toggle .bar {
    background-color: var(--color-text-primary);
    box-shadow: none;
}

/* --- Mobile Menu Overlay --- */
.mobile-nav-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #ffffff;
    z-index: 999;
    overflow-y: auto;
    transition: height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-nav-overlay.open {
    height: calc(100vh - 80px);
}

.mobile-menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px 30px 24px; /* 下部余白を拡大してメニューとの距離を確保 */
}

.mobile-menu-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 12px;
    border: 1.5px solid #eaeaea;
}

.mobile-menu-brand {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 10px 40px 40px 40px; /* 上部余白を調整しヘッダー側と調和 */
    gap: 28px;
}

.mobile-nav-item {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    font-weight: 500;
    border-bottom: 1.5px solid #eaeaea;
    padding-bottom: 12px;
}

.mobile-nav-btn {
    background-color: var(--color-text-primary);
    color: #ffffff;
    padding: 12px;
    border-radius: 16px;
    text-align: center;
    border-bottom: none;
}

/* --- Hero Section (Alpine Breeze) --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000000;
    color: #ffffff;
    overflow: hidden;
}



.hero-water-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* --- Hero Slideshow Background --- */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 75%;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    animation: kenBurns 6s ease-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}



.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 200;
    letter-spacing: 0.2em;
    color: #eef8ff;
    margin-bottom: 30px;
}

.hero-subtitle-line {
    display: block;
    margin-bottom: 12px;
}

.hero-subtitle-line:last-child {
    margin-bottom: 0;
}

.hero-subtitle span {
    display: inline-block;
    opacity: 0;
    text-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.12),
        0 0 20px rgba(180, 230, 255, 0.45);
    animation: fadeInUpLetter 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-subtitle span:nth-child(1) { animation-delay: 0.1s; }
.hero-subtitle span:nth-child(2) { animation-delay: 0.18s; }
.hero-subtitle span:nth-child(3) { animation-delay: 0.26s; }
.hero-subtitle span:nth-child(4) { animation-delay: 0.34s; }
.hero-subtitle span:nth-child(5) { animation-delay: 0.42s; }
.hero-subtitle span:nth-child(6) { animation-delay: 0.50s; }
.hero-subtitle span:nth-child(7) { animation-delay: 0.58s; }
.hero-subtitle span:nth-child(8) { animation-delay: 0.66s; }
.hero-subtitle span:nth-child(9) { animation-delay: 0.74s; }
.hero-subtitle span:nth-child(10) { animation-delay: 0.82s; }
.hero-subtitle span:nth-child(11) { animation-delay: 0.90s; }
.hero-subtitle span:nth-child(12) { animation-delay: 0.98s; }
.hero-subtitle span:nth-child(13) { animation-delay: 1.06s; }
.hero-subtitle span:nth-child(14) { animation-delay: 1.14s; }
.hero-subtitle span:nth-child(15) { animation-delay: 1.22s; }
.hero-subtitle span:nth-child(16) { animation-delay: 1.30s; }
.hero-subtitle span:nth-child(17) { animation-delay: 1.38s; }
.hero-subtitle span:nth-child(18) { animation-delay: 1.46s; }
.hero-subtitle span:nth-child(19) { animation-delay: 1.54s; }
.hero-subtitle span:nth-child(20) { animation-delay: 1.62s; }
.hero-subtitle span:nth-child(21) { animation-delay: 1.70s; }
.hero-subtitle span:nth-child(22) { animation-delay: 1.78s; }
.hero-subtitle span:nth-child(23) { animation-delay: 1.86s; }
.hero-subtitle span:nth-child(24) { animation-delay: 1.94s; }
.hero-subtitle span:nth-child(25) { animation-delay: 2.02s; }



.hero-actions {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 2;
    animation: fadeInUpAbsolute 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-actions .btn-primary {
    background-color: #ffffff;
    color: var(--color-text-primary);
    font-weight: 500;
}

.hero-actions .btn-primary:hover {
    background-color: #f5f5f7;
    transform: translateY(-2px);
}

.hero-actions .btn-secondary {
    color: #ffffff;
}

/* Weather / Environment Widget */
.weather-widget-container {
    position: absolute;
    bottom: 60px;
    right: 60px;
    z-index: 3;
}

.weather-widget {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-premium);
    padding: 24px;
    width: 240px;
    text-align: left;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.weather-widget:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.widget-header .location {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.widget-header .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-accent-green);
    box-shadow: 0 0 10px var(--color-accent-green);
    animation: pulse 2s infinite;
}

.widget-body {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.widget-body .temp {
    font-family: var(--font-number);
    font-size: 2.8rem;
    font-weight: 300;
}

.widget-body .weather-text {
    font-size: 1rem;
    font-weight: 400;
}

.widget-footer {
    font-size: 0.75rem;
    opacity: 0.75;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 12px;
}

/* Scroll Mouse Icon */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 1.5px solid #ffffff;
    border-radius: 12px;
    position: relative;
}

.mouse-icon .wheel {
    width: 2px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 1px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

/* --- Story Section --- */
.story-section {
    padding: var(--section-padding);
    background-color: var(--color-bg-primary);
}

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

.story-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 300;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 80px;
}

.story-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    padding: 10px 0;
    border-top: 1.5px solid #eaeaea;
    transition: var(--transition-smooth);
}

.feature-item:hover {
    border-top-color: var(--color-accent-blue);
    transform: translateY(-2px);
}

.feature-num {
    display: block;
    font-family: var(--font-number);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--color-accent-blue);
    margin-bottom: 12px;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* --- Signature Apples Section (Concept 2 Apple Products) --- */
.apples-section {
    padding: var(--section-padding);
    background-color: var(--color-bg-secondary);
}

.apples-section .section-title {
    margin-bottom: 60px;
}

.apple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.apple-card {
    background-color: var(--color-bg-primary);
    border-radius: var(--border-radius-premium);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.apple-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.apple-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: var(--transition-smooth);
}

.apple-card:hover .apple-card-image {
    transform: scale(1.03);
}

.apple-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.15) 100%);
}

.apple-card-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.apple-tag {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.apple-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.apple-desc {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
    flex-grow: 1;
}

.apple-actions {
    margin-top: auto;
}

/* --- Currently Available BASE Items --- */
.base-items-section {
    margin-bottom: 72px;
    padding: 44px;
    background-color: var(--color-bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-premium);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.base-items-title {
    margin-bottom: 32px;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.base-items-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.base-item-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background-color: var(--color-bg-primary);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    transition: var(--transition-smooth);
}

.base-item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.base-item-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #ececef;
    transition: var(--transition-smooth);
}

.base-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.base-item-card:hover .base-item-image img {
    transform: scale(1.03);
}

.base-item-name {
    margin: 22px 22px 8px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.55;
}

.base-item-price {
    margin: 0 22px 20px;
    color: var(--color-text-secondary);
    font-family: var(--font-number);
    font-size: 1rem;
    font-weight: 500;
}

.base-item-buy-btn {
    align-self: flex-start;
    margin: auto 22px 24px;
}

.base-item-card.sold-out {
    opacity: 0.85;
}

.base-item-card.sold-out .base-item-image {
    filter: grayscale(40%) brightness(85%);
}

.base-item-card.sold-out .base-item-image::after {
    content: 'SOLD OUT';
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    padding: 6px 14px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    pointer-events: none;
}

.base-item-buy-btn:disabled {
    color: #ffffff;
    background-color: #a0a7b4;
    border-color: #a0a7b4;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

.base-items-loading,
.base-items-fallback {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    text-align: center;
}

.base-items-loading::after {
    content: '';
    width: 7px;
    height: 7px;
    margin-left: 12px;
    background-color: var(--color-accent-blue);
    border-radius: 50%;
    animation: baseItemsLoading 1.2s ease-in-out infinite;
}

.base-items-fallback {
    min-height: 180px;
    flex-direction: column;
    gap: 20px;
}

@keyframes baseItemsLoading {
    0%, 100% { opacity: 0.25; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1024px) {
    .base-items-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .base-items-section {
        padding: 32px 24px;
    }

    .base-items-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .base-items-section {
        margin-right: -8px;
        margin-bottom: 56px;
        margin-left: -8px;
        padding: 28px 16px;
    }

    .base-items-title {
        margin-bottom: 24px;
        font-size: 1.55rem;
    }

    .base-items-grid {
        gap: 12px;
    }

    .base-item-name {
        margin: 16px 14px 6px;
        font-size: 0.9rem;
    }

    .base-item-price {
        margin: 0 14px 16px;
        font-size: 0.9rem;
    }

    .base-item-buy-btn {
        width: calc(100% - 28px);
        margin: auto 14px 18px;
        padding: 8px 10px;
        font-size: 0.8rem;
        text-align: center;
    }
}

/* --- Philosophy & Quality Section (Hero-like Dark Section) --- */
.philosophy-section {
    position: relative;
    padding: 160px 0;
    background-image: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1600&q=65');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    text-align: center;
}

.philosophy-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.philosophy-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 60px;
}

.philosophy-cta {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-premium);
    padding: 48px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.cta-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.cta-sub {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 28px;
}

/* --- Global Footer --- */
.global-footer {
    background-color: var(--color-bg-secondary);
    color: var(--color-text-secondary);
    padding: 80px 0 40px 0;
    border-top: 1px solid #eaeaea;
    font-size: 0.8rem;
}

.footer-notice {
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 24px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.footer-notice p {
    margin-bottom: 8px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--color-text-primary);
    text-decoration: underline;
}

.footer-info {
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eaeaea;
    padding-top: 24px;
}

.copyright {
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    gap: 16px;
}

.footer-legal a {
    opacity: 0.8;
}

.footer-legal a:hover {
    color: var(--color-text-primary);
    text-decoration: underline;
}

/* --- Keyframes & Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpAbsolute {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes fadeInUpLetter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(52, 199, 89, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0);
    }
}

@keyframes scrollWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    60% {
        transform: translate(-50%, 8px);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* --- Responsive Adjustments (Media Queries) --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
    .story-text {
        font-size: 1.25rem;
    }
    .apple-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .weather-widget-container {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 40px;
    }
    .weather-widget {
        padding: 16px 20px;
        width: 200px;
    }
    .weather-widget:hover {
        transform: translateY(-3px);
    }
    .widget-header {
        margin-bottom: 8px;
    }
    .widget-header .location {
        font-size: 0.8rem;
    }
    .widget-header .status-dot {
        width: 6px;
        height: 6px;
        box-shadow: 0 0 8px var(--color-accent-green);
    }
    .widget-body {
        gap: 8px;
        margin-bottom: 4px;
    }
    .widget-body .temp {
        font-size: 2rem;
    }
    .widget-body .weather-text {
        font-size: 0.85rem;
    }
    .widget-footer {
        font-size: 0.7rem;
        padding-top: 8px;
    }
}

@media (max-width: 1100px) {
    /* Layout Adjustments for Header in Mobile/Tablet View */
    .global-header {
        height: 60px;
    }
    .header-logo-image {
        height: 40px;
        width: 40px;
    }
    .brand-name {
        font-size: 1.3rem;
    }
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
        width: 22px;
        height: 14px;
    }
    .mobile-menu-toggle .bar {
        height: 1.8px;
    }
    .mobile-nav-overlay {
        top: 60px;
    }
    .mobile-nav-overlay.open {
        height: calc(100vh - 60px);
    }
}

@media (max-width: 768px) {
    /* Hero Adjustments */
    .hero-section {
        height: 100vh; /* モバイルでも画面いっぱいに写真を表示 */
        min-height: 560px; /* コンテンツが潰れないように最小高さを設定 */
        padding: 0;
        background-attachment: scroll; /* iOS背景画像バグ対策 */
    }
    .philosophy-section {
        background-attachment: scroll; /* iOS背景画像バグ対策 */
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    .hero-subtitle-line {
        margin-bottom: 6px;
    }

    /* モバイルでのボタン横並び＆スリム化 */
    .hero-actions {
        position: absolute;
        bottom: 120px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        width: 100%;
        padding: 0 20px;
        margin: 0;
        z-index: 2;
    }
    .hero-actions .btn {
        flex: 1;
        max-width: 140px;
        padding: 10px 16px;
        font-size: 0.85rem;
        border-radius: 10px;
        white-space: nowrap;
        text-align: center;
    }

    /* モバイル用の極小お天気ウィジェット（最初は非表示、遅れてフェードイン） */
    .weather-widget-container {
        position: absolute;
        bottom: 24px;
        right: 20px;
        margin: 0;
        z-index: 3;
        opacity: 0; /* 最初は非表示 */
        animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 2.2s forwards; /* 2.2秒遅れでフェードイン */
    }
    .weather-widget {
        width: 140px;
        padding: 10px 12px;
        background: rgba(0, 0, 0, 0.35); /* より暗く透明にして写真になじませる */
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
    }
    .widget-header {
        margin-bottom: 6px;
    }
    .widget-header .location {
        font-size: 0.7rem;
    }
    .widget-header .status-dot {
        width: 5px;
        height: 5px;
        box-shadow: 0 0 6px var(--color-accent-green);
    }
    .widget-body {
        gap: 6px;
        margin-bottom: 2px;
    }
    .widget-body .temp {
        font-size: 1.3rem;
    }
    .widget-body .weather-text {
        font-size: 0.75rem;
    }
    .widget-footer {
        display: none; /* スマホではフッター説明を非表示にしてスリム化 */
    }

    /* モバイルでのスクロール指示器の調整（ウィジェットと被らないよう非表示に） */
    .scroll-indicator {
        display: none;
    }
    
    /* Section Title Adjustments */
    .section-title {
        font-size: 2rem;
    }
    
    /* Grid Adjustments */
    .story-features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .apple-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.6rem;
    }
    /* 480px以下でもボタン横並びをキープ */
    .hero-actions {
        bottom: 100px;
    }
    .hero-actions .btn {
        max-width: 130px;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .philosophy-cta {
        padding: 24px;
    }
}

/* ==========================================================================
   Sub Pages (about, products, cultivation, contact) Style Extension
   ========================================================================== */

.sub-hero-section {
    position: relative;
    width: 100%;
    height: 60vh;
    margin-top: 80px; /* 全体をヘッダーの下から開始させて被りを防止 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000000;
    color: #ffffff;
    overflow: hidden;
}

.sub-hero-section .hero-title {
    font-size: 3.5rem;
    white-space: nowrap; /* 1行（一列）で表示させ、自動折り返しを防止 */
}

.sub-hero-section.no-image {
    height: 35vh;
    min-height: 280px;
    background: linear-gradient(135deg, #1e3622 0%, #0f1c12 100%);
}

/* --- Contact Form --- */
.contact-section {
    padding: var(--section-padding);
    background-color: var(--color-bg-primary);
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.contact-form-container {
    background-color: var(--color-bg-secondary);
    padding: 48px;
    border-radius: var(--border-radius-premium);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

.form-control {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 14px 18px;
    border: 1.5px solid #eaeaea;
    border-radius: 12px;
    outline: none;
    transition: var(--transition-smooth);
    background-color: #ffffff;
}

.form-control:focus {
    border-color: var(--color-accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-submit-btn {
    align-self: flex-start;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 36px;
    background-color: var(--color-accent-blue);
    color: #ffffff;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.form-submit-btn:hover {
    background-color: #0077ed;
    transform: translateY(-2px);
}

/* Success Message Overlay */
.contact-success-message {
    text-align: center;
    padding: 48px 24px;
}

.success-icon {
    font-size: 3rem;
    color: var(--color-accent-green);
    margin-bottom: 20px;
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.success-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .sub-hero-section {
        height: 45vh;
        margin-top: 60px; /* モバイルヘッダーの高さ分 */
    }
    .sub-hero-section .hero-title {
        font-size: 2.5rem; /* スマホ・タブレットの標準的な画面幅で収まるサイズに縮小 */
    }
    .sub-hero-section.no-image {
        height: 25vh;
        min-height: 200px;
    }
    .contact-form-container {
        padding: 32px 24px;
    }
}

/* ==========================================================================
   Digest Sections Layout (Zigzag & Premium Responsive Concept)
   ========================================================================== */
.digest-section {
    padding: var(--section-padding);
    background-color: var(--color-bg-primary);
    overflow: hidden;
}

/* 偶数番目のセクションの背景を薄いグレーにしてスクロールのリズムを整える */
.digest-section:nth-of-type(even) {
    background-color: var(--color-bg-secondary);
}

.digest-container {
    max-width: 1140px; /* 全体幅を拡張して画像をさらに大きく */
    margin: 0 auto;
    padding: 0 24px;
}

.digest-row {
    display: flex;
    flex-direction: column; /* スマホ・タブレットでは縦積み */
    gap: 48px;
    align-items: center;
}

.digest-image-col {
    width: 100%;
}

.digest-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-premium);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
    background-color: var(--color-bg-secondary);
    max-width: 640px; /* 画像が巨大化するのを防ぎ、スマートに配置 */
    margin: 0 auto;
}

.digest-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3 / 2; /* 縦横比を調整し、画像の縦方向のボリュームをアップ */
    transition: var(--transition-smooth);
}

.digest-image-wrapper:hover .digest-image {
    transform: scale(1.03);
}

.digest-text-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.digest-section .section-tag {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-accent-blue);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.digest-section .section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text-primary);
    margin-bottom: 24px;
}

.digest-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.btn-digest {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-accent-blue);
    border: 1.5px solid var(--color-accent-blue);
    padding: 10px 24px;
    border-radius: 50px;
    background-color: transparent;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-digest::after {
    content: '→';
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-digest:hover {
    background-color: var(--color-accent-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.12);
}

.btn-digest:hover::after {
    transform: translateX(4px);
}

/* PC幅 (960px以上) での交互 (ジグザグ) レイアウトと横並び配置 */
@media (min-width: 960px) {
    .digest-row {
        flex-direction: row;
        gap: 80px; /* 余白を広げて上品でプレミアムな佇まいに */
    }
    
    /* 画像カラムの比率を抑え(46%)、上品でバランスの良いサイズ感に調整 */
    .digest-image-col {
        width: 46%;
    }
    
    .digest-text-col {
        width: 48%;
    }
    
    /* 偶数番目のセクションで左右反転 */
    .digest-section:nth-of-type(even) .digest-row {
        flex-direction: row-reverse;
    }
    
    .digest-section .section-title {
        font-size: 2.4rem;
    }
}

/* ヒーローセクションのアニメーション自動ロード対応 */
.weather-widget-container {
    animation: fadeInUp 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* サブヒーロー画像のプレミアムフェードイン効果 */
@keyframes heroImageFadeIn {
    from {
        opacity: 0;
        transform: scale(1.06);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-fade-in {
    opacity: 0; /* 初期状態は非表示 */
    animation: heroImageFadeIn 8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* プロフィールセクション画像拡大調整 */
.profile-row .digest-image {
    aspect-ratio: auto; /* トリミングせず本来のサイズで表示 */
}

@media (min-width: 960px) {
    .profile-row .digest-image-col {
        width: 50%; /* 画像カラムを縮小してサイズを抑える */
    }
    .profile-row .digest-text-col {
        width: 50%; /* テキストカラムを拡大してバランスを調整 */
    }
}

/* --- Opening Loader (Alpine Mist style) --- */
.opening-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #10202d 0%, #080d14 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.8s ease, visibility 1.8s ease; /* スライドではなく、霧が晴れるフェード */
    visibility: visible;
    overflow: hidden;
}

.no-loader .opening-loader {
    display: none;
}

.opening-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* 霧のグラデーションとドリフトアニメーション */
.mist-fog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(224, 247, 250, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(178, 223, 219, 0.12) 0%, transparent 50%);
    filter: blur(50px);
    animation: mist-drift 15s ease-in-out infinite alternate;
    z-index: 1;
    pointer-events: none;
}

@keyframes mist-drift {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(3%, 2%); }
}

.loader-content {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: loaderFadeIn 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.loader-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.loader-text {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 0.25em;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@keyframes loaderFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Cinematic Typography Effect --- */
.animate-char {
    display: inline-block;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(12px) scale(0.92);
    animation: charFadeIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes charFadeIn {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

/* --- 3D Hover Tilt Effect --- */
.achievement-card {
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.achievement-card > * {
    transform: translateZ(15px); /* 中身を少し浮き上がらせる */
}

/* --- Parallax Scroll Adjustments --- */
.parallax-scroll {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* ==========================================================================
   Header Text Mask Slide Up Effect (Cinematic Reveal)
   ========================================================================== */
.mask-wrapper {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    line-height: 1.2;
}

.mask-text-anim {
    display: inline-block;
    transform: translateY(100%);
    animation: maskSlideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes maskSlideUp {
    to {
        transform: translateY(0);
    }
}

/* ==========================================================================
   Products Season Filtering & Specs (Premium UI Extension)
   ========================================================================== */
.products-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1.5px solid #eaeaea;
    background-color: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
}

.filter-btn:hover {
    border-color: var(--color-accent-blue);
    color: var(--color-accent-blue);
    background-color: rgba(0, 102, 204, 0.02);
}

.filter-btn.active {
    background-color: var(--color-accent-blue);
    border-color: var(--color-accent-blue);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

/* Card Metadata */
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.apple-season {
    font-size: 0.72rem;
    font-weight: 600;
    background-color: rgba(0, 102, 204, 0.06);
    color: var(--color-accent-blue);
    padding: 4px 10px;
    border-radius: 4px;
}

.apple-tag {
    margin-bottom: 0 !important; /* Metaエリア内での余白調整 */
}

/* Apple Specifications */
.apple-specs {
    margin: 20px 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #eaeaea;
    padding-top: 18px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spec-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-primary);
    width: 65px;
    flex-shrink: 0;
}

.spec-bar {
    flex-grow: 1;
    height: 4px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent-blue) 0%, #0077ed 100%);
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-card.active .bar-fill {
    transform: scaleX(1);
}

/* Card Filtering Animations */
.apple-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease;
}

.apple-card.filtered-out {
    opacity: 0;
    transform: translateY(20px) scale(0.95) !important;
    pointer-events: none;
}

/* Sold Out Card Effects */
.apple-card.sold-out {
    opacity: 0.85;
}

.apple-card.sold-out .apple-card-image {
    filter: grayscale(40%) brightness(85%);
}

.apple-card.sold-out .apple-card-image::after {
    content: 'SOLD OUT';
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    z-index: 10;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


/* ==========================================================================
   Annual Cultivation Cycle Section (Premium Grid Layout)
   ========================================================================== */
.annual-cycle-section {
    padding: var(--section-padding);
    background-color: var(--color-bg-secondary);
}

.cycle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 60px;
}

.cycle-card {
    background-color: var(--color-bg-primary);
    border-radius: var(--border-radius-premium);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cycle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.cycle-card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10; /* アスペクト比を少しスリムにして画像の高さを抑える */
    overflow: hidden;
}

.cycle-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.cycle-card:hover .cycle-card-image {
    transform: scale(1.05);
}

.cycle-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cycle-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.cycle-season-badge {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 50px;
}

/* 季節ごとのテーマカラーバッジ */
.cycle-season-badge.winter {
    background-color: #0077ed; /* 冬：クールブルー */
}

.cycle-season-badge.spring {
    background-color: #ff2d55; /* 春：サクラピンク */
}

.cycle-season-badge.summer {
    background-color: #34c759; /* 夏：グリーン */
}

.cycle-season-badge.autumn {
    background-color: #ff9500; /* 秋：ゴールドオレンジ */
}

.cycle-period {
    font-family: var(--font-number);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.cycle-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.cycle-card-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* 絶滅危惧種や病気などの注記 */
.cycle-card-note {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eaeaea;
    font-size: 0.8rem;
    color: var(--color-accent-red);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.cycle-card-note::before {
    content: '※';
    flex-shrink: 0;
}

/* Responsive for Cycle Grid */
@media (max-width: 1024px) {
    .cycle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .cycle-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   Cultivation Page Specific Image Adjustments
   ========================================================================== */
.page-cultivation .digest-image-wrapper {
    max-width: 520px; /* 画像の最大幅を640pxから520pxに縮小 */
}

.page-cultivation .digest-image {
    aspect-ratio: 16 / 10; /* 画像の縦横比を調整し、高さを抑えてスッキリと見せる */
}

.page-cultivation .cycle-card-image-wrapper {
    aspect-ratio: 16 / 9; /* カード内の画像アスペクト比を16/9に変更し高さを抑える */
}

@media (min-width: 960px) {
    .page-cultivation .digest-image-col {
        width: 40%; /* 画像表示 of 横幅比率を46%から40%へ縮小 */
    }
    .page-cultivation .digest-text-col {
        width: 54%; /* テキスト表示 of 横幅比率を48%から54%へ拡張 */
    }
}

/* ==========================================================================
   Utility Styles
   ========================================================================== */
@media (max-width: 375px) {
    .sub-hero-section .hero-title {
        font-size: 2rem; /* 375px以下の極小モバイルサイズでもはみ出さず一列に収まるサイズに縮小 */
    }
}


/* ==========================================================================
   SNS Link & Contact Page SNS Guide Styles
   ========================================================================== */
.footer-sns {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.footer-sns .sns-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
}

.footer-sns .sns-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-sns .sns-link:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.footer-sns .sns-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-sns .sns-link.line:hover {
    background-color: #06C755;
}

/* Contact page SNS reinforced styling */
.contact-sns-wrapper {
    margin-bottom: 48px;
}

.contact-sns-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.sns-card {
    background-color: var(--color-bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-premium);
    padding: 32px;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.sns-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.08);
}

.sns-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #ffffff;
}

.sns-card.line .sns-card-icon {
    background-color: #06C755;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.2);
}

.sns-card.instagram .sns-card-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.2);
}

.sns-card-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.sns-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.sns-card-desc {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

.sns-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
    width: 100%;
    box-sizing: border-box;
}

.sns-card.line .sns-card-btn {
    background-color: #06C755;
    color: #ffffff;
}

.sns-card.line .sns-card-btn:hover {
    background-color: #05b04b;
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.25);
}

.sns-card.instagram .sns-card-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.sns-card.instagram .sns-card-btn:hover {
    opacity: 0.95;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.25);
}

/* Mail Form Accordion styling */
.mail-form-details {
    border-top: 1px solid #eaeaea;
    padding-top: 32px;
    margin-top: 32px;
}

.mail-form-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    user-select: none;
    list-style: none; /* デフォルトの三角矢印を隠す */
    transition: var(--transition-smooth);
}

.mail-form-summary::-webkit-details-marker {
    display: none; /* Safari用デフォルト矢印非表示 */
}

.mail-form-summary-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border: 1px solid #eaeaea;
    border-radius: 30px;
    background-color: var(--color-bg-primary);
    transition: var(--transition-smooth);
}

.mail-form-summary:hover .mail-form-summary-inner {
    border-color: var(--color-text-primary);
    color: var(--color-text-primary);
    background-color: var(--color-bg-secondary);
}

.mail-form-summary .arrow-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.mail-form-details[open] .mail-form-summary .arrow-icon {
    transform: rotate(180deg);
}

.mail-form-note {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

.mail-form-content {
    margin-top: 32px;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .contact-sns-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   Header and Mobile Menu SNS Buttons Styles
   ========================================================================== */
/* PC Header Navigation Icon Buttons */
.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0;
    transition: var(--transition-smooth);
    text-shadow: none; /* テキスト影無効化 */
}

.global-header.scrolled .nav-icon-btn {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-text-secondary);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.nav-icon-btn:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-icon-btn.line:hover {
    background-color: #06C755;
    border-color: #06C755;
}

.nav-icon-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

/* Mobile Menu SNS Buttons */
.mobile-nav-sns {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 36px;
    padding: 0 24px;
    box-sizing: border-box;
}

.mobile-sns-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    color: #ffffff;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.mobile-sns-btn.line {
    background-color: #06C755;
}

.mobile-sns-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.mobile-sns-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.mobile-sns-btn:active {
    transform: scale(0.97);
}

/* メニューの要素間の余白をモバイルでも綺麗に調整 */
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-nav-btn {
    margin-bottom: 0px !important;
}

/* ==========================================================================
   Miracles Section (Three Environmental Miracles)
   ========================================================================== */
.miracles-section {
    padding: var(--section-padding) 0;
    background-color: var(--color-bg-secondary);
}

.miracles-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.miracles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.miracle-card {
    background-color: var(--color-bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-premium);
    padding: 40px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.miracle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 119, 237, 0.06);
    border-color: rgba(0, 119, 237, 0.15);
}

.miracle-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(0, 119, 237, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.miracle-card:hover .miracle-icon-wrapper {
    background-color: var(--color-accent-blue);
    color: #ffffff;
}

.miracle-icon {
    width: 28px;
    height: 28px;
    color: var(--color-accent-blue);
    transition: var(--transition-smooth);
}

.miracle-card:hover .miracle-icon {
    color: #ffffff;
}

.miracle-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.miracle-card-text {
    font-size: 0.94rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin-bottom: 0;
}

/* ==========================================================================
   Water Parallax Banner Section
   ========================================================================== */
.water-parallax-section {
    position: relative;
    padding: 160px 0;
    background-image: url('https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=1600&q=65');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.water-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

.water-parallax-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.water-parallax-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.water-parallax-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* ==========================================================================
   Responsive Adjustments for New Sections
   ========================================================================== */
@media (max-width: 1024px) {
    .miracles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .water-parallax-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .miracles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .miracle-card {
        padding: 32px 24px;
    }
    .water-parallax-section {
        padding: 100px 0;
        background-attachment: scroll; /* iOS対策 */
    }
    .water-parallax-title {
        font-size: 1.8rem;
    }
    .water-parallax-text {
        font-size: 0.95rem;
        line-height: 1.75;
    }
}
