/* ======== モバイル（428px以下） ======== */
@media (max-width: 428px) {
  html, body {
    margin: 0;
    padding: 0;
    font-family: 'Kosugi Maru', sans-serif;
    background-color: #FAF8F2;
    color: #333;
    overflow-x: hidden;
  }

  .intro-text {
    position: absolute;
    bottom: 13%;
    left: 5%;
    color: white;
    z-index: 5;
    font-size: 0.7em;
    max-width: 90%;
    line-height: 1.6;
  }

  .video_mobile { display: block; }
  .video_pc { display: none; }

  .video-title {
    display:none;
  }
  .video-title-mobile {
    display:block;
  }

  .logo {
    position: fixed;
    top: 5px; left: 5px;
    width: 50px;
    z-index: 999;
    cursor: pointer;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: opacity 0.3s ease;
  }

  #floating-logo-box {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #menu-toggle {
    width: 80px;
    cursor: pointer;
    margin-bottom: 10px;
  }

  /* レコメンドアイコン縦並び */
  .recommend-icons {
    position:relative;
    top:150px;
    left:0px;
  }

  .recommend-icons img {
    width: 70px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
  }

  .recommend-icons img:hover {
    transform: scale(1.1);
  }

  .modal-content {
    width: 90%;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15), 0 12px 40px rgba(0,0,0,0.25);
    animation: modalFadeIn 0.4s ease-out;
    position: relative;
    transition: opacity 0.4s, transform 0.4s;
    transform-origin: center center;
  }

  .calendar-modal { position: fixed; top: 3%; left: 0; width: 98%; height: 94%; background: rgba(0,0,0,0.7); z-index: 9999; }
  .calendar-modal-content { width: 96%; height: 100%; margin: 0 auto; background: #fff; overflow-y: auto; padding: 1em; box-sizing: border-box; }
  .bbq_iframe { width:100%; height:100%; border:none; }

  .image-row { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
  .image-row img { width: 100%; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
}

  /*──────────────────────────
    カテゴリリスト
  ──────────────────────────*/
  /* モバイル：横スクロール */
  .category-list {
    display: flex;
    overflow-x: auto;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 0.5rem;
  }
  .category-item {
    flex: 0 0 auto;
    width: 80px;           /* アイコンの幅 */
    text-align: center;
  }
  .category-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
  }
  .category-item span {
    display: block;
    font-size: 0.875rem;
    margin-top: 0.25rem;
  }

  /* === メニュー === */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(131, 105, 83, 0.95);
    padding: 1rem;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 998;

    /* ここから Grid レイアウトに */
    display: grid;
    grid-template-columns: repeat(3, auto); /* ← 1行あたり4列 */
    gap: 8px;
    /* align-content の代わりに、必要なら justify-items なども */
  }
  .modal-close {
    position: absolute;
    top: 12px;
    right: 4px;
    font-size: 1rem;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
  }

/* 見出し・区切り */
  #modal-body h2 {
    font-size: 1.3em;
    margin-top: 0;
    color: #a52a2a;
    border-left: 6px solid #a52a2a;
    padding-left: 12px;
    margin-bottom: 1em;
  }

  #modal-body h3 {
    font-size: 1.1em;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #333;
    border-bottom: 2px solid #ccc;
    padding-bottom: 4px;
  }

  .concept {
    display: flex;
    justify-content: center;
    background: #fff;
    padding: 16px 0 16px 0;
  }

  .concept-inner {
    background: #FAF3E7;
    width: 100%;
    margin:-20px auto;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 0px;   /* タイトル画像は角丸なし */
    box-shadow: 0 8px 32px rgba(180,160,130,0.07);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0; /* ← ここを0にする */
    overflow: hidden; /* タイトル画像の角丸/はみ出し対策 */
  }

  .concept-title-area {
    margin-bottom: 8px;
  }

  .concept-lead {
    margin: 0 auto 2em auto;
    width: 100%;
    max-width: 100%;
    font-size: 1em;
    color: #5e4824;
    line-height: 1.7;
    background: none;
    padding: 0;
    text-align: left;
  }

  .concept-body-area {
    padding: 0em 4px 2.5em 4px;  /* 本文側はpaddingアリで調整 */
    text-align: center;
  }

  .concept-body-area h2 {
    text-align: center;
    font-size: 1.3em;
    color: #a52a2a;
    margin-bottom: 1em;
    font-weight: bold;
    line-height: 1.4;
  }

  .concept-grid {
    display: flex;
    gap: 4px;
    justify-content: center;
    width: 100%;
  }

  .concept-item {
    flex: 1 1 0;
    background: #ffe4aa;
    border-radius: 15px;
    padding: 4px 6px 8px 6px;
    box-shadow: 0 2px 12px rgba(200,170,100,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .concept-item img {
    width: 100%;           /* 幅いっぱい表示（親divに左右paddingがあるからOK） */
    border-radius: 10px;   /* 角丸10px！ */
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;   /* 1:1比率（正方形っぽく）ならおすすめ。画像によっては消してOK */
    box-shadow: 0 2px 10px rgba(180,140,90,0.06);
  }

  .concept-item h3 {
    font-size: 0.7em;
    color: #885f18;
    margin-bottom: 1em;
  }

  .concept-item p {
    font-size: 0.8em;
    color: #5e4824;
    margin: 0;
    text-align: left;
    line-height: 1.5em;
  }
  /* footer */
  .concept-footer {
    display: flex;
    justify-content: center;
    background: #fff;
  }

  .concept-inner-footer {
    background: #981113;
    width: 100%;
    margin: 0 auto;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 20px;   /* タイトル画像は角丸なし */
    box-shadow: 0 8px 32px rgba(80, 9, 19, 0.07);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 3%; /* ← ここを0にする */
    overflow: hidden; /* タイトル画像の角丸/はみ出し対策 */
    color:antiquewhite;
    text-align: left;
  }

  .section-title-img {
    width: 100%;
    margin-top: 0;
    margin-bottom: 1.7em;
    border-radius: 0; /* いったんリセット */
    border-top-left-radius: 0px;  /* ←これを追加！ */
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列固定 */
    gap: 4px 4px;
    margin-top: 2.5em;
  }

  .product-item {
    background: #ffdfac;
    border-radius: 15px;
    padding: 4px 6px 8px 6px;
    box-shadow: 0 2px 12px rgba(200,170,100,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.2s;
  }
  .product-item img {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
  }
  .product-item h3 {
    font-size: 0.8em;
    color: #885f18;
    margin-bottom: 1em;
  }
  .product-item p {
    font-size: 0.8em;
    color: #5e4824;
    margin: 0;
    text-align: left;
    line-height: 1.5em;
  }

  .category-grid{
    display: grid !important;
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 8px 8px;                        /* 行/列間の余白 */
  }

  .category-item{
    width:auto;
    margin: 0;                /* 既存余白があれば調整 */
    text-align: center;
  }

  .category-item img{
    width: 100%;
    height: auto;
    display: block;
  }
  /*──────────────────────────
    商品カテゴリ セクション共通
  ──────────────────────────*/
  .cat_name {
    margin-top:8px;
    font-size:1em;
    text-align: center;
  }

    /* タイトル */
  .section-title.handwritten {
    font-family: "Yuji Syuku", "Hina Mincho", serif;
    font-size: 1.3rem;
    color: #7a3e2c;
    margin-bottom: 1.3rem;
    text-align: center;
  }

    .brand-body-area {
    width:98%;
    margin:0px auto;
  }

  /* 段落とリスト */
  .brand-body-area p {
    font-family: "Yuji Syuku", "Hina Mincho", serif;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: left;
  }
  .brand-body-area h3 {
    font-family: "Yuji Syuku", "Hina Mincho", serif;
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #5c3a2a;
    border-left: 4px solid #b58a6a;
    padding-left: 0.75rem;
    text-align: left;
  }

  /* リスト */
  .brand-body-area ul {
    font-family: "Yuji Syuku", "Hina Mincho", serif;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    font-size: 1rem;
    line-height: 1.8;
  }
  .brand-body-area ul li {
    font-family: "Yuji Syuku", "Hina Mincho", serif;
    list-style-type:square;
    margin-bottom: 0.5rem;
    text-align: left;
    font-size: 1rem;
    line-height: 1.8;
  }
  /* ブランド画像 */
  .brand-body-area img {
    width:93%;
    margin-top:16px;
    margin-bottom:16px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-left:1em;
  }
  .p-body{
        margin-left:1em;
  }

  .map-header {
    background-color: #981113; /* ワインレッド */
    color: #fff;
    display: flex;
    justify-content: left;
    align-items: left;
    flex-direction: column;
    text-align: left;
    margin-bottom:32px;
  }

  .map-title .title-mincho {
    font-family: "Yu Mincho", "Hiragino Mincho Pro", "Noto Serif JP", serif;
    font-size: 1.2em;
    line-height: 1em;
  }

  .map-title .title-gothic {
    font-family: "Noto Sans", "Helvetica Neue", "Arial", sans-serif;
    font-weight: bold;
    font-size: 3em;
    letter-spacing: 0.07em;
    margin-top:-10px;
    line-height: 1em;
  }

  .log-link-text {
    cursor: pointer;
    display: inline;     /* インライン要素のまま（デフォルト） */
    padding: 0;          /* paddingで広がらないように */
    margin: 0;
    line-height: 1;      /* 必要に応じて */
    font-size:0.9px;
  }

  .iframe-footer{
    width:99%;
    height:300px;
    margin-top:16px;
    border:1px solid #fff;
    border-radius:10px;
  }

  .footer-info{
    line-height: 1.5em;
  }

  .footer-info a {
    color:antiquewhite;
    text-decoration:none;
    font-size:0.9em;
  }

  .footer-info span {
    color:antiquewhite;
    text-decoration:none;
    font-size:0.9em;
  }

  .calender {
    margin:16px auto;
    width:99%;
    height: auto;
  }

  .calender table {
     width:47%;
  }

}
