/*  すべてのページに適用される設定*/
* {
    box-sizing: border-box;
}
body {
  margin: 0;
}
p,
li,
td {
    line-height: 2;
}
/* すべてのページに適用　－ヘッダー　*/
.logo {
    text-align: center;
    padding: 10px 0;
}
.logo a {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: #d04a2a;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 10px;
    
    font-family: '', sans-serif;
}
.nav a:link {
    color: #582525;
}
.header {
    padding-top: 40px;
    background-image: url(../images/stripe.png);
    background-repeat: repeat-x;
}
.nav ul {
    margin: 2px 0 0 0;
    padding: 0;
    list-style-type: none;

    display: flex;
    justify-content: center;
    gap: 40px;
}
a:link {
    color: #582525;
    text-decoration: none;
}

a:visited {
    color: #582525;
}

.logo a:link,
.logo a:visited {
    color: #d04a2a;
}

a:hover {
    color: #8b4513;

}
img {
    max-width: 100%;
}
/* すべてのページに適用　+ヒーロー　*/
/*  ヘッダー*/
.rice-line {
    width: 100vw;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    font-size: 60%;
    text-align: center;
}
.rice-line::before {
    content: "🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚🍚";
    letter-spacing: 6px;
    line-height: 1;
    display: block;
}
.badge {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    font-size: 13px;
    letter-spacing: 0.2em;
    color: rgb(233, 117, 41);
}
/*  ヒーロー*/

/*  メイン*/

.hero {
    padding: 60px 20px;
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
        linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
        url("../images/teishoku.jpg");
}
.hero-title {
    line-height: 1.4;
    font-family: 'Zen Maru Gothic', sans-serif;
    text-align: center;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 0 2px 6px rgba(0, 0, 0, .3);
    margin: 0;
    padding-top: 40px;
    position: relative;
    z-index: 10;
}
.hero-title .chi {
    position: absolute;
    right: -1.3em;
    top: 30%;
    font-size: 2.2em;
    font-weight: bold;
    color: #d04a2a;
    transform: rotate(-16deg);
}
/* お知らせ全体 */
.news-list li {
    list-style: none;
    padding: 0;
    margin: 20px 0 22px;
    max-width: 720px;
    padding: 2px 16px;
}

/* 各行 */
.news-list li {
    display: flex;
    align-items: center;
    gap: 19px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8)
}

.news-list .date {
    padding-left: 10px;
}

/* ホバーで少し反応 */
.news-list li:hover {
    background-color: #f7f7f7;
}


/* お知らせ：リンクの見た目を元に戻す */
.news-list a,
.news-link {
    text-decoration: none;
    /* 下線を消す */
}

/* ついでに「ホバー時」だけ薄く変える */
.news-list a:hover,
.news-link:hover {
    text-decoration: underline;
}

.news-list .new {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background-color: #e74c3c;
    /* 赤 */
    border-radius: 4px;
}

/* ===== 編集部情報 全体 ===== */
main {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 60px;
    padding: 0 16px;
}

/* 編集部より 文章 */
main ul {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    line-height: 1.9;
}

/* LUNCH ZUKAN 編集部 見出し */
main h4 {
    font-size: 1.2rem;
    margin: 40px 0 16px;
    padding-bottom: 6px;
    border-bottom: 2px solid #eee;
}

/* ===== 編集部テーブル ===== */
main table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

main th,
main td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
}

main th {
    width: 120px;
    background: #f7f7f7;
    font-weight: 700;
}

main tr:last-child th,
main tr:last-child td {
    border-bottom: none;
}


.map-note {
    margin-bottom: 0px;
}

.map {
    margin-top: 0;
    display: block;
    min-height: 160px;
    background: #fff6ed;
    border: 1px solid #d8c0b0;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
    padding: 20px;
    text-align: center;
    color: #582525;
    font-weight: 700;
    line-height: 1.5;
    transition: background-color .2s ease, transform .2s ease;
}

.map:hover {
    background: #fff1e2;
    transform: translateY(-1px);
}

.map p {
    margin: 0;
}

/*  フッター*/
.gotop {
    text-align: center;
    margin: 30px 0;
}

.gotop-btn {
    width: 70px;
    height: 70px;
    background: rgb(233, 117, 41);
    border-radius: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    margin: 0 auto;
}

.gotop-btn .food {
    font-size: 28px;
    line-height: 1;
}

.gotop-btn .arrow {
    font-size: 16px;
    margin-top: -2px;
    color: rgb(8, 8, 8);
}

.copyright {
    margin-top: 20px;
    margin-bottom: 0;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: rgb(233, 117, 41);
    color: azure;
    text-align: center;
}

/*  個別のスタイル*/


/* 店舗のスタイル */
.shop-hero {
    text-align: center;
    margin: 10px 0 18px;
}
.shop-catch {
    margin: 8px 0 0;
    color: #666;
}
/* 店舗ページ変更 */
.shop-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.shop-comment {
    margin: 18px 0 26px;
    line-height: 1.9;
    color: #333;
    background: rgba(255, 255, 255, 0.65);
    padding: 14px 16px;
    border-radius: 10px;
    
}
.shop-gallery {
    display: flex;
    gap: 18px;
    margin: 18px 0 30px;
}
.shop-gallery .card {
    width: 50%;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.10);
    background: #fff;
}
.shop-gallery img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.menu-modal img {
    width: auto;
    height: auto;
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
}

.shop-gallery .sinpachi img {
    object-position: center 15%;
}

#menuModalImg {
    width: auto !important;
    height: auto !important;
}

.shop-gallery figcaption {
    padding: 10px 12px;
    font-size: 14px;
    color: #444;
}

.section-title {
    margin: 0 0 10px;
    font-size: 18px;
    border-left: 6px solid #d04a2a;
    padding-left: 10px;
}

/* 店舗情報メニューの修正 */
.shop-menu img {
  width: 100%;
  max-width: 320px;   /* ← ここを小さく */
  height: auto;       /* ← 高さ固定をやめる */
  object-fit: contain;/* ← 切り取りしない */
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.10);
  cursor: pointer;
}
 
/* クリックで大きく */
.shop-menu img.is-menu-open {
  max-width: 960px;  /* 大きく表示 */
  width: 90vw;
  height: auto;
  object-fit: contain;
}

.map-wrap {
    max-width: 960px;
    width: 90%;
    margin: 10px auto 0;
    border-radius: 14px;
    overflow: hidden;
}

/* アクセスページ：mainの幅いっぱいにして上のhero/案内文と揃える */
main > .map-wrap {
    width: 100%;
}

.map-wrap iframe {
    width: 100%;
    max-width: 960px;
    height: 380px;
    border-radius: 12px;
    display: block;
    border: 0;
}

.shop-photo img {
    width: 100%;
    height: auto;
    /* ← 縦横比を保つ（上下が切れない） */
    display: block;
    border-radius: 12px;
}

.shop-map {
    width: 100%;
    max-width: 900px;
    margin: 20px auto 0;
}

.shop-map .map-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px 0;

    justify-content: flex-start !important;
}

.shop-map .map-title .bar {
    width: 6px;
    height: 22px;
    background: #c96b1f;
    border-radius: 2px;
}

.shop-map .map-wrap {
    border-radius: 14px;
    overflow: hidden;
}

.shop-map .map-wrap iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

/* メニュー画像（通常） */
.menu-image {
    cursor: pointer;
    transition: opacity .2s;
}

.menu-image:hover {
    opacity: 0.8;
}

/* モーダル全体 */
.menu-modal {
    position: fixed;
    inset: 0;
    display: none;
    /* 初期は非表示 */
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 9999;
}

/* 開くとき用 */
.menu-modal.is-open {
    display: flex;
}

/* 背景（暗くする板） */
.menu-modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
    /* ← 背景は必ず下 */
}

/* 拡大画像（必ず背景より上） */
.menu-modal img {
    position: relative;
    z-index: 1;
    /* ← 画像を上に */
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    background: transparent;
    /* ← 白い板が気になる場合 */
}

/* ===== モーダル拡大は最優先で効かせる ===== */
#menuModal #menuModalImg {
    width: min(95vw, 1200px) !important;
    height: auto !important;
    max-height: 95vh !important;
    object-fit: contain !important;
    display: block;
}

.shop-gallery .sankitei img {
    object-position: 78% center;
}

/* ===== 店舗リンク ===== */
.shop-links {
    margin: 40px 0;
}

.shop-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* カード */
.shop-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
}

/* 画像 */
.shop-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

/* テキスト */
.shop-info {
    padding: 14px 16px;
}

.shop-info h3 {
    font-size: 16px;
    margin: 0 0 6px;
}

.shop-info p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* ===== どのお店がお好みですか？　フード5列 ===== */


.food-card {
    text-decoration: none;
    color: #333;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.food-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
}

/* フード画像 */
.food-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

/* 店名 */
.food-card span {
    display: block;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    background: #fafafa;
}

.shop-name {
    margin: 0;
    letter-spacing: 0.03em;
    border-bottom: 3px solid #d04a2a;
    display: block;
    padding: 8px 10px 2px;
    font-size: 30px;
    text-align: center;
}
h1.shop-name {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
}

.shop-hp {
    display: block;
    text-align: center;
    padding-bottom: 10px;
    font-size: 12px;
    color: #d04a2a;
    text-decoration: none;
}

.shop-hp:hover {
    text-decoration: underline;
}

.food-links {
  display: block;
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

.food-links a {
  display: inline-block;   /* ← これ重要（クリック範囲安定） */
  font-size: 14px;
  color: #8b4513;
  text-decoration: none;
}

.food-links a:hover {
  text-decoration: underline;
}
.food-links .section-title{
  width: 100%;
  margin: 0 0 14px;
}

/* グリッドは必ず次の行から */
.food-grid{
  clear: both;
}
.food-card {
    text-align: center;
}

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  margin-top: auto;
}


.food-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;    /* 好みで 1000〜1200 */
  margin: 0 auto 0;     /* これで中央配置 */

}


/* お問い合わせ */
form {
    margin: 0 auto;
    max-width: 640px;
}
input[type="text"],textarea {
    padding: 6px;
    width: 100%;
    font-size: 1rem;
}
textarea {
    height: 140px;
}

.hero-img{
    width: 100%;
   
    object-fit: cover;
    display: block;
}
.hero .container{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* お店のご案内と下のコピーの間をあける */
.hero + section {
    margin-top: 40px;
}
/* ダンダダン　サブ写真縦長 */
.photo-vertical {
    object-fit:cover;
    object-position: top center;
    
}
