/* =============================================
   J-VPD ジビエ安心ナビ - メインページスタイル
   ============================================= */

/* リセット & 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'M PLUS Rounded 1c', 'Kosugi Maru', 'Hiragino Kaku Gothic ProN', sans-serif;
    background-color: #f5f0e8;
    color: #333;
    line-height: 1.8;
    font-size: 16px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* =============================================
   ヒーローセクション
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 30px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(90, 122, 90, 0.95) 0%, rgba(60, 90, 60, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="leaves" patternUnits="userSpaceOnUse" width="50" height="50"><text x="10" y="30" font-size="20" fill="rgba(255,255,255,0.03)">🌿</text></pattern></defs><rect fill="url(%23leaves)" width="100" height="100"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    margin-bottom: 30px;
}

.badge-seal {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f0d060 0%, #c9a227 50%, #f0d060 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.badge-text {
    font-size: 11px;
    font-weight: 700;
    color: #1a3a1a;
    margin-top: 2px;
}

.hero-title {
    color: white;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.title-line {
    display: block;
}

.hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 2;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #f0d060 0%, #c9a227 100%);
    color: #1a3a1a;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5);
}

.btn-secondary {
    background: white;
    color: #5a7a5a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: #5a7a5a;
    border: 2px solid #5a7a5a;
}

.btn-outline:hover {
    background: #5a7a5a;
    color: white;
}

/* スクロールインジケーター */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* =============================================
   セクション共通
   ============================================= */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: #5a7a5a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #666;
    font-size: 16px;
}

/* =============================================
   ジビエってなに？セクション
   ============================================= */
.section-about {
    background: #f5f0e8;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image .image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #e8e0d5 0%, #d5cdc2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.about-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 20px;
}

.about-lead {
    font-size: 20px;
    font-weight: 700;
    color: #5a7a5a;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* =============================================
   安心して食べるためにセクション
   ============================================= */
.section-safety {
    background: white;
}

.safety-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 16px;
    color: #555;
    line-height: 2;
}

.safety-intro strong {
    color: #5a7a5a;
}

/* 検査フロー */
.safety-flow {
    margin-bottom: 70px;
}

.flow-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
}

.flow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.flow-step {
    flex: 0 0 160px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: #5a7a5a;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e8f0e8 0%, #d5e5d5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 15px;
}

.flow-step h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.flow-step p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

.flow-arrow {
    color: #c9a227;
    font-size: 24px;
    font-weight: bold;
    align-self: center;
    margin-top: -30px;
}

/* QRコードデモ */
.safety-qr {
    margin-bottom: 70px;
}

.qr-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    background: linear-gradient(135deg, #f5f0e8 0%, #ebe5db 100%);
    padding: 50px;
    border-radius: 30px;
}

.qr-seal {
    flex-shrink: 0;
}

.seal-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.qr-info {
    max-width: 450px;
}

.qr-info h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.qr-info p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ラボ情報 */
.safety-lab {
    background: #5a7a5a;
    border-radius: 30px;
    padding: 50px;
    color: white;
}

.lab-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.lab-text h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.lab-type {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 20px;
}

.lab-text > p {
    line-height: 1.9;
    margin-bottom: 25px;
    opacity: 0.95;
}

.lab-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.lab-features li {
    font-size: 14px;
    opacity: 0.95;
}

.lab-image .image-placeholder {
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lab-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 20px;
}

.lab-placeholder span:first-child {
    font-size: 60px;
}

.placeholder-text {
    font-size: 14px;
    opacity: 0.7;
}

/* =============================================
   ジビエの魅力セクション
   ============================================= */
.section-charm {
    background: #f5f0e8;
}

.charm-block {
    margin-bottom: 60px;
}

.charm-block:last-child {
    margin-bottom: 0;
}

.charm-block-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.charm-block-icon {
    font-size: 28px;
}

/* レシピ */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.recipe-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    transition: transform 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.recipe-card:hover {
    transform: translateY(-3px);
}

.recipe-image {
    position: relative;
    flex: 0 0 180px;
}

.recipe-image .image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    background: linear-gradient(135deg, #e8e0d5 0%, #d5cdc2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.recipe-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #5a7a5a;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
}

.recipe-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.recipe-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.recipe-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    flex-grow: 1;
}

.recipe-time {
    font-size: 12px;
    color: #888;
    margin-top: 15px;
}

/* レストラン */
.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.restaurant-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.restaurant-card:hover {
    transform: translateY(-3px);
}

.restaurant-image {
    aspect-ratio: 16/10;
}

.restaurant-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e0d5 0%, #d5cdc2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

.restaurant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-content {
    padding: 25px;
}

.restaurant-area {
    display: inline-block;
    color: #5a7a5a;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
}

.restaurant-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.restaurant-content > p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.restaurant-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    color: #888;
}

/* =============================================
   連携加工所セクション
   ============================================= */
.section-facilities {
    background: white;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.facility-card {
    background: #f5f0e8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    display: block;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.facility-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.facility-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f0e8 0%, #d5e5d5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f0d060 0%, #c9a227 100%);
    color: #1a3a1a;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.facility-info {
    padding: 20px;
}

.facility-area {
    display: inline-block;
    color: #5a7a5a;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
}

.facility-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.facility-items {
    font-size: 13px;
    color: #666;
}

.facilities-note {
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* =============================================
   よくあるご質問セクション
   ============================================= */
.section-faq {
    background: #f5f0e8;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f9f7f4;
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    width: 30px;
    height: 30px;
    background: #5a7a5a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 30px 25px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: #555;
    line-height: 1.9;
    font-size: 15px;
}

/* =============================================
   お問い合わせセクション
   ============================================= */
.section-contact {
    background: linear-gradient(135deg, #5a7a5a 0%, #4a6a4a 100%);
    padding: 80px 0;
}

.contact-box {
    background: white;
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-box h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.contact-box > p {
    color: #666;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.contact-label {
    font-size: 12px;
    font-weight: 700;
    color: #5a7a5a;
}

.contact-value {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* =============================================
   レスポンシブ
   ============================================= */
.sp-only {
    display: none;
}

@media (max-width: 1024px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .restaurant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }

    /* ヒーロー */
    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .hero-scroll {
        display: none;
    }
    
    /* セクション */
    .section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    /* ジビエってなに？ */
    .about-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 安心して食べるために */
    .flow-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .flow-step {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
    
    .qr-demo {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }
    
    .lab-content {
        grid-template-columns: 1fr;
    }
    
    .lab-features {
        grid-template-columns: 1fr;
    }
    
    .safety-lab {
        padding: 30px 20px;
    }
    
    /* ジビエの魅力 */
    .charm-block-title {
        font-size: 20px;
    }
    
    /* 連携加工所 */
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    /* レシピ */
    .recipe-grid {
        grid-template-columns: 1fr;
    }
    
    .recipe-card {
        flex-direction: column;
    }
    
    .recipe-image {
        flex: none;
        aspect-ratio: 16/9;
    }
    
    .recipe-image img {
        min-height: auto;
    }
    
    /* レストラン */
    .restaurant-grid {
        grid-template-columns: 1fr;
    }
    
    /* FAQ */
    .faq-question {
        padding: 20px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 20px 20px;
    }
    
    /* お問い合わせ */
    .contact-box {
        padding: 40px 20px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 25px;
    }
}
