/* --- 1. リセットと基本設定 --- */
:root {
    --primary-color: #8B4513; /* 土の茶色 */
    --secondary-color: #5C4033; /* 濃い茶色 */
    --accent-color: #a0522d;
    --background-light: #faf7f5; /* 暖かみのある背景 */
    --text-color: #333;
}

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

body {
    font-family: 'Shippori Mincho', serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: #fff;
}


.center-img {
    display: block;
    margin: 0 auto;
}


a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

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

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

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

.section-padding {
    padding: 80px 0;
}

h3 {
    padding-top: 30px;
}

.bg-light {
    background-color: var(--background-light);
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 5px;
    letter-spacing: 2px;
}

/* --- 2. ボタンと共通要素 --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-tertiary {
    background-color: #fff;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}
.btn-tertiary:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* --- 3. ヘッダー --- */
.header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.site-title a {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-size: 14px;
    font-weight: 400;
}

.cart-icon a {
    font-size: 18px;
}

.menu-toggle {
    display: none; /* デスクトップでは非表示 */
}

/* --- 4. ヒーローセクション --- */
.hero-section {
    position: relative;
    height: 400px;
    background-image: url('images/main_visual.jpg'); /* 適切な背景画像を準備 */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: flex-start; /* 左側にコンテンツを寄せる */
    align-items: center;
    padding-left: 10%;
}

.hero-content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 50px 60px;
    max-width: 500px;
    text-align: left;
}

.hero-content h2 {
    font-family: 'Shippori Mincho', serif;
    font-size: 44px;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--secondary-color);
}

.hero-content p {
    margin-bottom: 30px;
    font-size: 16px;
}

/* --- 5. 特徴セクション --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
    text-align: center;
}

.feature-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: #555;
}

/* --- 6. 商品セクション --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

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

.product-item img {
    margin-bottom: 15px;
    object-fit: cover;
    height: 350px;
    border: 1px solid #ddd;
}

.product-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0 5px;
}

.product-item .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- 7. ストーリーCTA --- */
.story-cta {
    background-image: url('images/story_bg.jpg'); /* ストーリー背景画像を準備 */
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.story-content {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 40px 60px;
}

.story-content h3 {
    font-size: 30px;
    margin-bottom: 10px;
}

.story-content p {
    font-size: 16px;
    margin-bottom: 25px;
}

/* --- 8. フッター --- */
.footer {
    background-color: var(--secondary-color);
    color: #eee;
    padding: 30px 0;
    font-size: 12px;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.social-links a {
    margin: 0 10px;
    font-size: 14px;
    color: #eee;
}

.copyright {
    margin-top: 10px;
}

/* --- 9. レスポンシブデザイン (タブレット/スマートフォン) --- */
@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-section {
        height: 500px;
        padding-left: 5%;
    }
    
    .hero-content {
        padding: 30px 40px;
        max-width: 80%;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }

    .nav {
        display: none; /* モバイルでは非表示 */
    }
    
    .menu-toggle {
        display: block; /* モバイルで表示 */
        background: none;
        border: none;
        font-size: 24px;
        color: var(--text-color);
        cursor: pointer;
    }
    
    .site-title {
        font-size: 22px;
    }
}

@media (max-width: 550px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .feature-grid {
        grid-template-columns: 1fr; /* スマホで縦一列に */
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-item img {
        height: 300px;
    }
    
    .hero-section {
        justify-content: center;
        padding-left: 0;
        text-align: center;
    }
    
    .hero-content {
        padding: 30px;
        max-width: 90%;
        text-align: center;
    }
    
    .hero-content p {
        display: none; /* スマホでは長文を非表示 */
    }
    
    .story-content {
        padding: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}