/* =========================================
   1. 基本設定 & 変数
   ========================================= */
:root {
    --main-color: #ffffff;
    --accent-color: #da0000;    /* 赤：食欲と辛さ */
    --bg-orange: #ff8f14;      /* 背景：元気なオレンジ */
    --text-dark: #333333;
    --text-gray: #666666;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth; /* スムーススクロール */
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-orange);
}

/* 共通クラス */
.bg-white { background-color: var(--main-color) !important; }
.section { padding: 80px 5%; text-align: center; }

.section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
}

.section-title span {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-top: 5px;
    font-weight: bold;
}

/* =========================================
   2. ヘッダー（ナビゲーション）
   ========================================= */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-color);
    letter-spacing: 0.1em;
}

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

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: bold;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* =========================================
   3. ヒーローセクション（スライダー）
   ========================================= */
#hero {
    height: 85vh;
    position: relative;
    overflow: hidden;
    color: var(--main-color);
}

.hero-slider .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active { opacity: 1; }

/* 文字を読みやすくするためのオーバーレイ */
.hero-slider::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 写真を少し暗くする */
}

.hero-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    z-index: 10;
}

.hero-overlay h1 {
    font-size:clamp(2.5rem, 8vw, 5.5rem); /* レスポンシブな文字サイズ */
    font-weight: 900;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6);
    margin-bottom: 10px;
}

.hero-overlay p {
    font-size: clamp(1rem, 3vw, 1.8rem);
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero-btns .btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin: 10px;
    transition: var(--transition);
}

.btn-main { background: var(--accent-color); color: #fff; }
.btn-sub { border: 2px solid #fff; color: #fff; }
.btn:hover { transform: scale(1.05); filter: brightness(1.1); }

/* =========================================
   4. 注文の流れ
   ========================================= */
.flow-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-item {
    background: white;
    padding: 35px 20px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.flow-item .num {
    background: var(--accent-color);
    color: white;
    width: 45px; height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 1.2rem;
    font-weight: 900;
}

.flow-item.highlight {
    border: 4px solid var(--accent-color);
    transform: scale(1.02);
}

.flow-item small { color: var(--text-gray); font-size: 0.8rem; }

/* =========================================
   5. トッピング紹介（200px固定・中央揃え版）
   ========================================= */
.topping-cat {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.topping-grid {
    display: grid;
    /* 1つあたりの幅を200pxに固定し、画面幅に合わせて自動で並べる */
    grid-template-columns: repeat(auto-fit, 200px);
    /* 要素が5つ未満（横幅に余裕がある時）に中央に寄せる */
    justify-content: center; 
    gap: 25px; /* アイテム同士の余白 */
}

.topping-grid .item {
    width: 200px; /* ボックス自体の幅を固定 */
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-align: center;
}

.topping-grid .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* 具材写真のコンテナ */
.item-img {
    width: 100%;
    height: 150px; /* 写真の高さはお好みで調整（150-200pxがおすすめ） */
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    background-color: #f9f9f9;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 200pxの枠に合わせて綺麗に切り抜き */
    transition: transform 0.5s ease;
}

/* 具材名 */
.topping-grid p {
    font-size: 1rem;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0;
}

/* --- レスポンシブ調整 --- */
@media (max-width: 480px) {
    .topping-grid {
        /* スマホで200pxだと横に2つ並ばない場合があるため、
           画面が極端に狭い時だけ少しサイズを調整するか、
           170px程度に落とすと2列表示が維持しやすくなります */
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
    }
    
    .topping-grid .item {
        width: auto; /* スマホでは画面幅に合わせる */
        padding: 10px;
    }
    
    .item-img {
        height: 100px;
    }
}

/* =========================================
   6. おすすめカスタマイズ（写真付き）
   ========================================= */
.rec-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.rec-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: left;
}

.rec-card:hover { transform: translateY(-10px); }

.rec-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #eee;
}

.rec-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.rec-content { padding: 25px; }

.tag {
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
    font-weight: bold;
}

.rec-content h4 { font-size: 1.3rem; margin-bottom: 10px; }

.rec-content .desc { font-weight: bold; color: var(--text-dark); margin-bottom: 8px; }

.rec-content .ingredients {
    font-size: 0.85rem;
    color: var(--text-gray);
    border-top: 1px dashed #ddd;
    padding-top: 12px;
}

/* =========================================
   7. 店舗情報 & マップ
   ========================================= */
.info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.info-text h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    font-weight: 900;
}

.info-text p { margin-bottom: 18px; line-height: 1.8; }

.insta-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    transition: var(--transition);
}

.insta-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4); }

.info-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 350px;
}

/* =========================================
   8. フッター & レスポンシブ調整
   ========================================= */
footer {
    background: #222;
    color: #fff;
    padding: 30px;
    text-align: center;
    font-size: 0.8rem;
}

/* PC（タブレット以上）用の調整 */
@media (min-width: 1024px) {
    .topping-grid {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    }
    
    .section { padding: 100px 10%; }

    header { padding: 1.2rem 10%; }
}

/* スマホ用の微調整 */
@media (max-width: 480px) {
    header { justify-content: center; flex-direction: column; gap: 10px; }
    nav ul li { margin: 0 10px; }
    .hero-overlay h1 { font-size: 2.8rem; }
    .info-container { grid-template-columns: 1fr; }
}