/* =========================================
           Base Styles (Mobile First)
           ========================================= */
:root {
    --text-color: #333;
    --accent-color: #013e80;
    /* 企業ロゴに合わせた濃い青、または木工の暖色に変更可 */
    --bg-light: #f9f9f9;
    --border-color: #ddd;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* Introduction Text */
.intro-text p {
    margin-bottom: 1.5rem;
}

/* Available Sites List (Buttons) */
.furusato-sites {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-btn {
    display: block;
    background: var(--accent-color);
    color: #fff;
    padding: 15px;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-btn:hover {
    opacity: 0.8;
    color: #fff;
}

/* Products Section */
.products-section {
    background-color: var(--bg-light);
    padding: 20px;
    margin-top: 40px;
    border-radius: 8px;
}

.products-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #eee;
    /* 画像がない場合のプレースホルダー色 */
}

.product-info {
    padding: 15px;
}

.product-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
}

.product-desc {
    font-size: 0.9rem;
    color: #666;
}


/* =========================================
           Desktop Styles (min-width: 601px)
           ========================================= */
@media (min-width: 601px) {
    .container {
        max-width: 960px;
        /* PCでの最大幅 */
    }

    h1.post-title {
        font-size: 2rem;
    }

    /* サイトリンクボタンを横並びに */
    .furusato-sites {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-btn {
        width: 190px;
    }

    /* 製品リストをグリッド表示に */
    .product-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .product-item {
        flex: 1 1 calc(33.333% - 20px);
        /* 3列表示 */
        max-width: calc(33.333% - 20px);
    }
}