/* 基本設定 */
:root {
    --font-base: 'Noto Sans JP', sans-serif;
    --font-display: 'Playfair Display', serif;
    --color-bg: #F9F7F3;
    --color-text: #4a4a4a;
    --color-primary: #8D9B87;
    --color-primary-dark: #6S7A65;
    --color-white: #FFFFFF;
    --color-border: #EAEAEA;
}

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

body {
    font-family: var(--font-base);
    line-height: 1.7;
    background-color: var(--color-bg);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--color-primary-dark);
}

/* ヘッダー */
.header {
    background-color: rgba(249, 247, 243, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-text);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-text);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.cart-icon {
    font-size: 1.5rem;
    color: var(--color-text);
}

/* ヒーローセクション */
.hero {
    background: url('https://via.placeholder.com/1920x800.png?text=Natural+Background') no-repeat center center/cover;
    color: var(--color-white);
    text-align: center;
    padding: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 3rem;
    border-radius: 5px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.hero p {
    font-size: 1.2rem;
    font-family: var(--font-base);
    font-weight: 300;
    margin-bottom: 2rem;
}

.btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-base);
    font-weight: 400;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

/* 商品セクション */
.featured-products {
    padding: 6rem 0;
    text-align: center;
}

.featured-products h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--color-text);
}

.price {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.btn-add-to-cart {
    background: none;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Aboutセクション */
.about-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 8px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 2rem;
}

/* フッター */
.footer {
    background-color: #EAE7E2;
    padding: 4rem 0 2rem;
    color: #777;
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text);
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.3rem;
    margin-left: 1rem;
}

.copyright {
    text-align: center;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    margin-top: 2rem;
}

/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .featured-products, .about-section {
        padding: 4rem 0;
    }

    .about-content {
        flex-direction: column;
    }
}
