.info-box {
    background: #f8f9fa;
    border-left: 4px solid var(--color-primary);
    border-radius: 8px;
    padding: 18px 20px;
}

.box-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: #2e7d32;
}

.box-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
}
/* 基本リセットとフォント設定 */
:root {
    --color-primary: #388e3c; /* フレッシュグリーン */
    --color-secondary: #ffb300; /* 暖かみのあるイエロー */
    --color-text: #333;
    --color-bg-light: #f9f9f9;
    --color-bg-green: #e8f5e9;
    --font-family-main: 'Noto Sans JP', sans-serif;
}

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

body {
    font-family: var(--font-family-main);
    color: var(--color-text);
    line-height: 1.6;
}

/* 共通レイアウト */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light-green {
    background: url('img/istockphoto-1444391777-1024x1024.jpg') no-repeat center center/cover;
    position: relative;
}

.bg-light-green::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 250, 248, 0.9) 100%);
    z-index: 1;
}

.bg-light-green .container {
    position: relative;
    z-index: 2;
}

.bg-stores {
    background: url('img/八田店冷ケース.jpg') no-repeat center center/cover;
    position: relative;
}

.bg-stores::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 250, 248, 0.9) 100%);
    z-index: 1;
}

.bg-stores .container {
    position: relative;
    z-index: 2;
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 10px auto 0;
}

p.subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* ヘッダー */
#header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 60px; /* ヘッダーロゴの高さ調整 */
    max-width: 300px; /* 横長ロゴの最大幅 */
    object-fit: contain; /* アスペクト比を保持 */
}

#nav ul {
    list-style: none;
    display: flex;
}

#nav ul li a {
    text-decoration: none;
    color: var(--color-text);
    padding: 10px 15px;
    font-weight: 700;
    transition: color 0.3s;
}

#nav ul li a:hover {
    color: var(--color-primary);
}

.menu-toggle {
    display: none; /* PCでは非表示 */
}

/* ヒーローセクション */
#hero {
    height: 600px; /* 高さ調整 */
    background: linear-gradient(135deg, rgba(56, 142, 60, 0.7) 0%, rgba(76, 175, 80, 0.6) 25%, rgba(102, 187, 106, 0.5) 50%, rgba(129, 199, 132, 0.4) 75%, rgba(165, 214, 167, 0.3) 100%), 
                url('img/istockphoto-2220086016-1024x1024.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {
    0%, 100% { 
        background-position: center center;
        background-size: 100% 100%;
    }
    25% { 
        background-position: 20% 20%;
        background-size: 110% 110%;
    }
    50% { 
        background-position: 80% 80%;
        background-size: 105% 105%;
    }
    75% { 
        background-position: 60% 40%;
        background-size: 115% 115%;
    }
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.06)"/><circle cx="90" cy="90" r="0.8" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
    animation: grainMove 20s linear infinite;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="floating" width="200" height="200" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="150" cy="100" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="100" cy="150" r="1" fill="rgba(255,255,255,0.06)"/><circle cx="25" cy="175" r="1.2" fill="rgba(255,255,255,0.05)"/><circle cx="175" cy="25" r="0.8" fill="rgba(255,255,255,0.07)"/></pattern></defs><rect width="200" height="200" fill="url(%23floating)"/></svg>') repeat;
    opacity: 0.4;
    animation: floatingParticles 15s ease-in-out infinite;
}

@keyframes grainMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-100px) translateY(-100px); }
}

@keyframes floatingParticles {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: translateY(-20px) scale(1.1);
        opacity: 0.6;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.2) 100%);
    animation: heroShimmer 3s ease-in-out infinite alternate;
}

@keyframes heroShimmer {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.hero-text {
    z-index: 10;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: titleFadeIn 2s ease-out;
    font-weight: 800;
    letter-spacing: 2px;
}

@keyframes titleFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* ボタン共通 */
.button {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s, opacity 0.3s;
}

.primary-button {
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.7) 0%, rgba(255, 152, 0, 0.6) 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    animation: none;
    transition: background-color 0.25s ease, opacity 0.25s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
}

@keyframes buttonPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 8px 25px rgba(255, 111, 0, 0.3);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 12px 35px rgba(255, 111, 0, 0.4);
    }
}

.primary-button:hover {
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.8) 0%, rgba(255, 152, 0, 0.7) 100%);
    transform: none;
    box-shadow: 0 6px 16px rgba(255, 111, 0, 0.22);
}

/* 会社概要 */
.about-content {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.company-info, .management-policy {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.company-info dt {
    font-weight: 700;
    color: var(--color-primary);
    width: 100px;
    float: left;
    clear: both;
}

.company-info dd {
    margin-left: 110px;
    margin-bottom: 10px;
}

.management-policy h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.philosophy-text {
    font-size: 1.7rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.management-policy ol {
    list-style: none;
    counter-reset: policy-counter;
}

.management-policy li {
    counter-increment: policy-counter;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.management-policy li::before {
    content: counter(policy-counter) ".";
    color: var(--color-primary);
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* こだわり */
.quality-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.quality-text {
    flex: 1;
}

.quality-image {
    flex: 1;
    text-align: right;
}

.quality-image img,
.quality-image video {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
}

.responsive-video {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.responsive-video:hover {
    transform: scale(1.02);
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.highlight-orange {
    color: #ff6f00;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(255, 111, 0, 0.2);
}

.highlight-large {
    font-size: 1.2em;
    font-weight: 800;
    color: #333;
}

.company-philosophy-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid var(--color-primary);
}

/* 事業内容 */
.business-section, .selling-floor-section {
    margin-bottom: 60px;
}

.product-cards {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.card {
    flex: 1;
    padding: 30px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card h4 {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 15px;
}

.check-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* 店舗情報 */
.store-list-container {
    max-width: 800px;
    margin: 0 auto;
}

.store-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.store-name {
    background-color: var(--color-primary);
    color: #fff;
    padding: 15px 20px;
    cursor: pointer;
    margin-bottom: 0;
    transition: background-color 0.3s;
    font-size: 1.3rem;
}

.store-details {
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
}

.store-details p {
    margin-bottom: 10px;
}

.google-map-embed {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.google-map-embed iframe {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 8px;
}

/* お問い合わせ */
.contact-section {
    text-align: center;
}

/* Contact section background */
.contact-section {
    background: url('img/istockphoto-1507564276-1024x1024.jpg') no-repeat center center/cover;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.88) 0%, rgba(250,252,250,0.92) 100%);
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.contact-buttons .contact-button {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #fff;
}

.contact-buttons .contact-button:hover {
    background: rgba(56, 142, 60, 0.08);
    color: var(--color-primary);
}

.contact-form label {
    display: block;
    text-align: left;
    font-weight: 700;
    margin-bottom: 6px;
    color: #2e7d32;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .button {
    margin-top: 12px;
}

.phone-contacts {
    background: #f8f9fa;
    border-left: 4px solid var(--color-primary);
    border-radius: 8px;
    padding: 18px 20px;
    text-align: left;
}

.phone-contacts ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.phone-contacts li {
    padding: 2px 0;
}

.contact-button {
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 20px 10px;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background-color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-align: center;
    position: relative;
}

.contact-button:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: translateY(-3px);
}

.contact-button .icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 5px;
}

/* フッター */
footer {
    background-color: #424242;
    color: #fff;
    padding: 40px 0 20px;
}


.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #bdbdbd;
}

/* レスポンシブデザイン (モバイル対応) */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    /* ヒーロー */
    .hero-text h1 {
        font-size: 2.5rem;
    }

    /* 会社概要 */
    .about-content {
        flex-direction: column;
    }

    /* こだわり */
    .quality-grid {
        flex-direction: column;
    }
    .quality-image {
        text-align: center;
        margin-top: 30px;
    }
    .quality-image img {
        width: 100%;
    }

    /* 事業内容 */
    .product-cards {
        flex-direction: column;
    }
    
    /* お問い合わせ */
    .contact-buttons {
        flex-direction: column;
    }

    /* フッター */
    .footer-info {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo {
        margin-bottom: 15px;
    }
    .footer-address p {
        text-align: center;
    }
}

/* モバイルナビゲーション用 CSS */
@media (max-width: 600px) {
    #nav {
        display: none; /* デフォルトで非表示 */
        position: absolute;
        top: 70px; /* ヘッダーの高さに応じて調整 */
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        text-align: center;
    }
    #nav.open {
        display: block; /* メニューオープン時 */
    }
    #nav ul {
        flex-direction: column;
    }
    #nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        position: relative;
        width: 40px;
        height: 40px;
    }
}
