/* リセットとベーススタイル */

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

/* メインセクション */
.main {
    min-height: calc(100vh - 200px);
}

.hero-section {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
}

.section-title {
    font-size: 20px;
    font-weight: 400;
    color: #8B7355;
    margin-bottom: 10px;
    letter-spacing: 1px;
	text-align: center;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    font-weight: 300;
	text-align: center;
	line-height: 2.0;
}

.section-subtitle-sub{
	font-size: 14px;
    color: #666;
    font-weight: 300;
	margin-top: 10px;
}

/* 商品グリッド */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.product-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.product-content {
    padding: 20px;
}

.product-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: #E8D5C4;
    color: #8B7355;
    font-size: 13px;
    font-weight: 500;
    border-radius: 15px;
    margin-bottom: 10px;
}

.product-badge.soldout {
    background-color: #FFB6C1;
    color: #8B0000;
}

.product-badge.restock {
    background-color: #B0E0E6;
    color: #2F4F4F;
}

.product-badge.popular {
    background-color: #DDA0DD;
    color: #4B0082;
}

.product-name {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-price {
    font-size: 17px;
    font-weight: 600;
    color: #8B7355;
    margin-bottom: 12px;
}

.influencer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.influencer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.influencer-name {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

/* チェックボタン */
.check-button {
    width: 100%;
    padding: 12px 16px;
    margin-top: 15px;
    background-color: #8B7355;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.check-button:hover {
    background-color: #6d5a44;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

.check-button:active {
    transform: translateY(0);
}

.check-button i {
    font-size: 16px;
}

/* 複数商品コンテナ */
.products-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
}

.product-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #eee;
}

.product-item .product-badge {
    margin-bottom: 8px;
}

.product-item .product-name {
    font-size: 16px;
    margin-bottom: 6px;
}

.product-item .product-price {
    font-size: 16px;
    margin-bottom: 12px;
}

.product-item .check-button {
    margin-top: 10px;
    font-size: 14px;
    padding: 10px 12px;
	color: #fff;
}

/* ジャンルバッジ */
.product-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.genre-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid;
    transition: all 0.3s ease;
}

.genre-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.genre-badge.meat {
	background-color: #F5F2EF;
	color: #A0826D;
	border-color: #A0826D;
}
.genre-badge.cookie {
	background-color: #F9F6F0;
	color: #B8956A;
	border-color: #B8956A;
}
.genre-badge.ykzn {
	background-color: #F6F7F5;
	color: #8FA68E;
	border-color: #8FA68E;
}
.genre-badge.fr {
	background-color: #FAF5F5;
	color: #C08081;
	border-color: #C08081;
}
.genre-badge.fish {
	background-color: #F0F4F8;
	color: #6C7B8B;
	border-color: #6C7B8B;
}
.genre-badge.food {
	background-color: #F9F5F0;
	color: #8B7355;
	border-color: #8B7355;
}




/* Instagramセクション */
.instagram-section {
    padding: 60px 0;
    background-color: #fff;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.instagram-post {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.instagram-post:hover {
    transform: translateY(-3px);
}

.instagram-embed {
    width: 100%;
    min-height: 600px;
    border: none;
}

/* Instagramリール用スタイル */
.instagram-reel {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.instagram-reel:hover {
    transform: translateY(-3px);
}

.reel-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.reel-thumbnail-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5; /* リールの縦長比率 */
    overflow: hidden;
}

.reel-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.reel-link:hover .reel-thumbnail {
    transform: scale(1.05);
}

.reel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.reel-link:hover .reel-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 100%);
}

.play-button {
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.play-button i {
    font-size: 24px;
    color: #8B7355;
    margin-left: 3px;
}

.reel-link:hover .play-button {
    transform: scale(1.1);
    background-color: #fff;
}

.reel-info {
    padding: 20px;
    background-color: #fff;
}

.reel-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.reel-description {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.reel-external-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #8B7355;
    font-weight: 500;
    padding: 6px 12px;
    background-color: #f9f9f9;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.reel-link:hover .reel-external-indicator {
    background-color: #8B7355;
    color: #fff;
}

.reel-external-indicator i {
    font-size: 14px;
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    color: #666;
    z-index: 1;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 40px;
}

/* モーダル商品詳細 */
.modal-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.modal-product-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.modal-product-name {
    font-size: 1.8rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 10px;
}

.modal-product-copy {
    font-size: 1.1rem;
    color: #8B7355;
    font-weight: 500;
    margin-bottom: 15px;
}

.modal-product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8B7355;
    margin-bottom: 20px;
}

.modal-product-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.influencer-section h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.influencer-info-modal {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 30px;
}

.influencer-avatar-modal {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.influencer-name-modal {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.instagram-embed-section h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.instagram-embed-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.instagram-embed-modal {
    width: 100%;
    min-height: 500px;
    border: none;
}

/* アニメーション */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .site-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }

.section-subtitle {
	text-align: left;
}
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-product {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-product-name {
        font-size: 1.4rem;
    }
    
    .modal-product-copy {
        font-size: 1rem;
    }
    
    .instagram-embed-modal {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0;
    }
    
    .hero-section {
        padding: 20px;
    }
    
    .products-grid {
        gap: 40px;
    }
    
    .product-image {
        aspect-ratio: 4/5;
    }
    
    .check-button {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .product-item .check-button {
        font-size: 14px;
        padding: 12px 14px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 20px;
    }
    
    .reel-title {
        font-size: 16px;
    }
    
    .reel-description {
        font-size: 14px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 20px;
    }
    
    .reel-title {
        font-size: 16px;
    }
    
    .reel-description {
        font-size: 14px;
    }
}