/* Hero Section Override for TOP */
.hero {
    margin-top: 80px; /* ヘッダー被り防止 */
    background-image: url("../images/hero_top.png"), linear-gradient(to bottom, #000 0%, #010507 50%, #080d0f 80%, #0a0f11 90%, #12171d 100%);
}

/* Story Section (Apple Style Development Background) */
.story-section {
    background-color: #000;
    padding: 180px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.story-label {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.story-section h2 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 100px;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(180deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.story-text {
    font-size: 1.6rem;
    line-height: 1.5;
    color: #86868b;
    margin-bottom: 40px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.story-text:hover {
    color: #f5f5f7;
}

.story-highlight {
    font-size: 2rem;
    font-weight: 600;
    color: #f5f5f7;
    margin: 80px -40px;
    line-height: 1.3;
    text-align: center;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .story-section {
        padding: 100px 5%;
    }
    
    .story-section h2 {
        font-size: 2.8rem;
        margin-bottom: 60px;
    }
    
    .story-text {
        font-size: 1.2rem;
    }
    
    .story-highlight {
        font-size: 1.5rem;
        margin: 50px 0;
        text-align: left;
    }
}

/* Products Section */
.products-section {
    padding: 100px 5%;
    background-color: #050505;
}

.product-card-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--card-background);
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: #333;
}

.product-image-area {
    height: 300px;
    background-color: #000;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s ease;
}

/* Overlay for readability */
.product-image-area::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
    z-index: 1;
}

.product-card:hover .product-image-area::before {
    background: rgba(0, 0, 0, 0.2); /* ホバー時に少し明るく */
}

.product-card:hover .product-image-area {
    background-size: 105%; /* ズーム効果の代わり */
}

.mini-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    transform: translateY(-50%); /* カメラと画面の間に配置するために上にずらす */
}

.mini-hero-content h3 {
    color: #fff;
    font-size: 1.6rem; /* 1.8rem -> 1.6rem (約1割縮小) */
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    margin: 0;
}

.product-info {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-tag {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.product-desc {
    color: var(--secondary-text-color);
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.product-link-text {
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-link-text::after {
    content: '→';
    transition: transform 0.3s ease;
}

.product-card:hover .product-link-text::after {
    transform: translateX(5px);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .product-card-container {
        flex-direction: column;
        align-items: center;
    }
    
    .product-image-area {
        height: 200px;
    }

    .mini-hero-content h3 {
        font-size: 1.4rem;
    }
}