/* --- 変数・基本設定 --- */
:root {
    --main-color: #e7debe;
    --accent-color: #4545ee;
    --bg-brown: #ca8d53;
    --text-dark: #333;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Hiragino Sans", "Meiryo", sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--main-color);
    overflow-x: hidden;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- 1. Hero (CSSスライダー) --- */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlider 15s infinite;
}
.slide1 { background-image: url('img/top1.png'); animation-delay: 0s; }
.slide2 { background-image: url('img/top2.png'); animation-delay: 5s; }
.slide3 { background-image: url('https://images.unsplash.com/photo-1509440159596-0249088772ff?q=80&w=1500&auto=format&fit=crop'); animation-delay: 10s; }

@keyframes fadeSlider {
    0% { opacity: 0; }
    5% { opacity: 1; }
    33% { opacity: 1; }
    38% { opacity: 0; }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.4);
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
}
.hero-content { text-align: center; }
.logo-mark {
    width: 80px; height: 80px; background: var(--accent-color); color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-weight: bold; font-size: 1.5rem;
}
.hero h1 { font-size: 4rem; color: var(--accent-color); letter-spacing: 0.1em; }
.hero p { font-size: 1.2rem; font-weight: bold; }

/* --- セクションタイトル --- */
.section-title {
    font-size: 2.5rem; text-align: center; margin-bottom: 60px;
    color: var(--accent-color);
}

/* --- 2. Menu Section --- */
.menu-section { background-color: var(--bg-brown); padding: 100px 0; color: var(--white); }
.menu-section .section-title { color: var(--white); }

.menu-category { margin-bottom: 80px; }
.category-title {
    font-size: 2rem; margin-bottom: 30px; text-align: center;
    border-bottom: 2px solid var(--accent-color); display: table; margin: 0 auto 30px;
}

/* Grid設定: PC 3枚 / スマホ 1枚 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.product-card {
    background: var(--white); color: var(--text-dark);
    padding: 20px; border-radius: 15px; text-align: center;
}
.product-card img {
    width: 100%; aspect-ratio: 1/1; object-fit: cover;
    border-radius: 10px; margin-bottom: 15px;
}
.product-card h4 { margin-bottom: 5px; font-size: 1.2rem; }
.product-card p { font-weight: bold; color: var(--bg-brown); }

.text-list { text-align: center; margin-top: 30px; font-size: 1rem; opacity: 0.9; }

/* --- 3. Commitment Section --- */
.commitment-section { padding: 100px 0; background: var(--main-color); }
.flex-box { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.commitment-text { flex: 1; min-width: 300px; }
.commitment-img { flex: 1; min-width: 300px; }
.commitment-img img { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* --- 4. Info Section --- */
.info-section { padding: 100px 0; background: var(--white); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.info-details { font-size: 1.2rem; }
.info-map { border: 5px solid var(--main-color); border-radius: 10px; overflow: hidden; }

footer { background: var(--bg-brown); color: var(--white); text-align: center; padding: 40px; }

/* --- スライドアニメーション演出 --- */
.js-scroll-left { opacity: 0; transform: translateX(-80px); transition: all 1s ease-out; }
.js-scroll-right { opacity: 0; transform: translateX(80px); transition: all 1s ease-out; }
.js-scroll-up { opacity: 0; transform: translateY(50px); transition: all 1s ease-out; }

.is-show { opacity: 1; transform: translate(0, 0); }

/* --- レスポンシブ (スマホ) --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .product-grid {
        grid-template-columns: 1fr; /* スマホで1枚 */
    }
    .flex-box { flex-direction: column; }
    .section-title { font-size: 2rem; }
}