@charset "UTF-8";
/* ============================================================
   store-ramen.css — ラーメン・そば・中華・定食テーマ
   方向: 大衆の活気。墨の黒・朱赤・生成りの強いコントラストと、太いゴシックの屋号
   シグネチャー: 食券機のボタンのような品書き+写真に貼った「看板の一杯」の食券
   ============================================================ */
:root {
  --st-bg: #f2e9d8;          /* 生成り */
  --st-surface: #fbf6ec;
  --st-ink: #17130f;         /* 墨 */
  --st-muted: #5c5146;
  --st-line: #d6c7ad;
  --st-accent: #c4231a;      /* 朱赤 */
  --st-accent-ink: #fff;
  --sumi: #14110e;
  --sumi-2: #221d19;
  --on-sumi: #f2e9d8;
  --on-sumi-muted: #bfb3a1;
  --mustard: #f0b429;
  --led: #ffb347;
  --st-font-display: "Dela Gothic One", "Hiragino Kaku Gothic StdN", "Hiragino Sans", sans-serif;
  --st-font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --st-radius: 6px;
  --wrap: min(1120px, 100% - 40px);
}
@media (max-width: 767px) { :root { --wrap: calc(100% - 32px); } }

.p-ramen h1, .p-ramen h2, .p-ramen h3 { font-weight: 400; line-height: 1.35; letter-spacing: 0.02em; }
.rm-wrap { width: var(--wrap); margin-inline: auto; }
.rm-section { padding-block: clamp(72px, 10vw, 128px); }

/* 見出し: 朱の札+太いゴシック */
.rm-head__label {
  display: inline-block; padding: 4px 12px 3px; background: var(--st-accent); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.5;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%);
  padding-right: 20px;
}
.rm-head__title { margin-top: 14px; font-family: var(--st-font-display); font-size: clamp(30px, 4.6vw, 52px); }
.rm-head__lead { margin-top: 16px; color: var(--st-muted); max-width: 34em; }
.rm-head--light .rm-head__title { color: var(--on-sumi); }
/* 横に並ぶ欄の見出しは、列の幅に合わせて少し小さく */
.rm-menu__grid .rm-head__title, .rm-rush__grid .rm-head__title, .rm-faq-sec__grid .rm-head__title { font-size: clamp(28px, 2.9vw, 40px); }
.rm-head--light .rm-head__lead { color: var(--on-sumi-muted); }

/* ボタン */
.rm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 26px; border-radius: var(--st-radius);
  background: var(--st-accent); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none;
  box-shadow: 0 4px 0 #7d140e; transition: transform 0.15s, box-shadow 0.15s;
}
.rm-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 #7d140e; }
.rm-btn svg { width: 18px; height: 18px; }
.rm-btn--line { background: transparent; color: var(--on-sumi); box-shadow: inset 0 0 0 2px var(--on-sumi); }
.rm-btn--line:hover { box-shadow: inset 0 0 0 2px var(--mustard); color: var(--mustard); transform: none; }

/* ---- ヘッダー ---- */
.rm-header { position: sticky; top: 0; z-index: var(--z-header); background: var(--st-bg); border-bottom: 3px solid var(--st-ink); }
.rm-header__inner { width: var(--wrap); margin-inline: auto; display: flex; align-items: center; gap: 24px; min-height: 64px; }
.rm-header__name { display: flex; align-items: baseline; gap: 8px; font-family: var(--st-font-display); font-size: 22px; line-height: 1.2; text-decoration: none; min-width: 0; }
.rm-header__name small { font-size: 12px; color: var(--st-accent); white-space: nowrap; }
.rm-header__nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 700; }
.rm-header__nav a { text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.rm-header__nav a:hover { border-color: var(--st-accent); }
.rm-header__tel {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--st-radius);
  background: var(--st-ink); color: var(--st-bg); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.rm-header__tel svg { width: 18px; height: 18px; }
@media (max-width: 1023px) { .rm-header__nav { display: none; } .rm-header__tel { margin-left: auto; } }

/* ---- お知らせ ---- */
.rm-today { background: var(--st-accent); color: #fff; }
.rm-today__inner { width: var(--wrap); margin-inline: auto; display: flex; align-items: center; gap: 14px; padding-block: 12px; font-weight: 700; line-height: 1.6; }
.rm-today__label { flex: none; padding: 2px 10px; background: var(--sumi); color: var(--mustard); font-size: 13px; }

/* ---- ヒーロー: 墨の地に大きな屋号と、湯気の立つ一杯 ---- */
.rm-hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); background: var(--sumi); color: var(--on-sumi); }
.rm-hero__photo { position: relative; order: 2; min-height: clamp(460px, 44vw, 640px); overflow: hidden; }
.rm-hero__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 湯気(ゆっくり上がる白い霞) */
.rm-hero__photo::after {
  content: ""; position: absolute; left: 30%; bottom: 30%; width: 40%; height: 60%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), transparent 70%);
  filter: blur(18px); animation: rm-steam 7s ease-in-out infinite;
}
@keyframes rm-steam {
  0% { transform: translateY(20%) scaleX(0.8); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(-40%) scaleX(1.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .rm-hero__photo::after { animation: none; opacity: 0; } }
.rm-hero__body { order: 1; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(40px, 6vw, 88px) clamp(20px, 4vw, 64px); min-width: 0; }
.rm-hero__name { font-family: var(--st-font-display); display: grid; gap: 10px; line-height: 1.05; }
.rm-hero__name small {
  justify-self: start; padding: 4px 12px; border: 2px solid var(--st-accent); color: #ff6a5c;
  font-family: var(--st-font-body); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.4;
}
.rm-hero__name span { font-size: clamp(76px, 10vw, 150px); letter-spacing: 0.02em; color: var(--on-sumi); text-shadow: 0.05em 0.05em 0 var(--st-accent); }
.rm-hero__name em { font-style: normal; font-family: var(--st-font-body); font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; color: var(--on-sumi-muted); letter-spacing: 0.08em; }
.rm-name--m span { font-size: clamp(52px, 6.4vw, 96px); }
.rm-name--l span { font-size: clamp(36px, 4.2vw, 64px); line-height: 1.2; }
.rm-hero__catch { font-size: clamp(19px, 2vw, 24px); font-weight: 700; line-height: 1.7; }
.rm-hero__status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.rm-hero__status .open-status { font-size: 15px; padding: 6px 12px; background: var(--sumi-2); border-radius: 4px; }
.rm-hero__soup { padding: 6px 12px; background: var(--st-accent); color: #fff; font-size: 14px; font-weight: 700; border-radius: 4px; }
.rm-hero__place { display: flex; align-items: flex-start; gap: 8px; color: var(--on-sumi-muted); font-size: 15px; line-height: 1.7; }
.rm-hero__place svg { flex: none; width: 18px; height: 18px; margin-top: 4px; }
.rm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 看板の一杯: 写真に貼った食券 */
.rm-hero__ticket {
  position: absolute; left: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 36px); z-index: 2;
  display: grid; gap: 2px; width: min(300px, 62%); padding: 16px 20px 14px;
  background: var(--st-bg); color: var(--st-ink); text-decoration: none; transform: rotate(-3deg);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  -webkit-mask: radial-gradient(circle 7px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 7px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 7px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 7px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  transition: transform 0.3s var(--st-ease);
}
.rm-hero__ticket:hover { transform: rotate(-1deg) translateY(-4px); }
.rm-hero__ticket-label { justify-self: start; font-size: 12px; font-weight: 700; color: var(--st-accent); letter-spacing: 0.14em; }
.rm-hero__ticket b { font-family: var(--st-font-display); font-weight: 400; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.25; }
.rm-hero__ticket small { font-size: 13px; line-height: 1.6; color: var(--st-muted); }
.rm-hero__ticket-price { margin-top: 6px; padding-top: 8px; border-top: 2px dashed var(--st-line); font-family: var(--st-font-display); font-size: 28px; color: var(--st-accent); line-height: 1.2; }

/* ---- 受け取り前: お出かけ前の札 ---- */
.rm-facts { list-style: none; padding: 0; margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.rm-facts li { display: grid; align-content: start; gap: 4px; padding: 16px 18px; background: var(--st-surface); border: 2px solid var(--st-ink); border-radius: var(--st-radius); box-shadow: 4px 4px 0 var(--st-ink); }
.rm-facts li:first-child { grid-column: span 2; }
.rm-facts span { font-size: 13px; font-weight: 700; color: var(--st-accent); letter-spacing: 0.1em; }
.rm-facts b { font-size: 17px; line-height: 1.6; }
.rm-facts small { font-size: 13px; color: var(--st-muted); }

/* ---- 品書き: 食券機 ---- */
.rm-menu__grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.35fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.rm-menu__note { margin-top: 20px; padding: 14px 16px; border-left: 4px solid var(--st-accent); background: var(--st-surface); font-size: 15px; }
.rm-machine {
  position: relative; padding: 20px clamp(14px, 2.4vw, 26px) 18px; border-radius: 14px;
  background: linear-gradient(180deg, #2b2521, var(--sumi) 40%);
  box-shadow: inset 0 0 0 2px #3a332d, inset 0 2px 0 #4a423b, 0 20px 40px rgba(20, 17, 14, 0.25);
  color: var(--on-sumi);
}
.rm-machine__lamps { display: flex; gap: 8px; margin-bottom: 14px; }
.rm-machine__lamps i { width: 10px; height: 10px; border-radius: 50%; background: #e0463b; box-shadow: 0 0 8px #e0463b; }
.rm-machine__lamps i:nth-child(2) { background: var(--mustard); box-shadow: 0 0 8px var(--mustard); }
.rm-machine__lamps i:nth-child(3) { background: #4fbf7a; box-shadow: 0 0 8px #4fbf7a; }
.rm-machine__group + .rm-machine__group { margin-top: 16px; }
.rm-machine__cat { margin-bottom: 8px; font-family: var(--st-font-body) !important; font-weight: 700 !important; font-size: 13px; letter-spacing: 0.16em; color: var(--on-sumi-muted); }
.rm-machine__grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.rm-ticket {
  display: grid; grid-template-rows: 1fr auto; align-content: start; gap: 2px; min-height: 84px; padding: 10px 10px 8px;
  border-radius: 6px; background: var(--tk-bg); color: var(--tk-ink);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 0 #000;
  transition: transform 0.12s, box-shadow 0.12s;
}
.rm-ticket:hover { transform: translateY(2px); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 #000; }
.rm-ticket__name { font-weight: 900; font-size: 15px; line-height: 1.4; }
.rm-ticket__note { font-size: 12px; line-height: 1.5; opacity: 0.85; }
.rm-ticket__price {
  justify-self: end; margin-top: 6px; padding: 1px 8px; border-radius: 3px; background: #0b0908; color: var(--led);
  font-family: var(--st-font-display); font-size: 15px; letter-spacing: 0.04em; line-height: 1.5; text-shadow: 0 0 6px rgba(255, 179, 71, 0.6);
}
.rm-ticket--main { grid-column: 1 / -1; min-height: 116px; padding: 14px 16px 12px; }
.rm-ticket--main .rm-ticket__name { font-family: var(--st-font-display); font-weight: 400; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.rm-ticket--main .rm-ticket__note { font-size: 14px; }
.rm-ticket--main .rm-ticket__price { font-size: 22px; padding: 2px 12px; }
.rm-tone-0 { --tk-bg: #d42b20; --tk-ink: #fff; }
.rm-tone-1 { --tk-bg: #f2b632; --tk-ink: #1d150a; }
.rm-tone-2 { --tk-bg: #f2e9d8; --tk-ink: #17130f; }
.rm-tone-3 { --tk-bg: #2f6f9f; --tk-ink: #fff; }
.rm-machine__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.rm-machine__coin { width: 44px; height: 8px; border-radius: 4px; background: #000; box-shadow: inset 0 1px 2px #000, 0 1px 0 #4a423b; }
.rm-machine__out { width: 120px; height: 14px; border-radius: 3px; background: #0b0908; box-shadow: inset 0 3px 6px #000, 0 1px 0 #4a423b; }

/* 料理の写真: 品名と値段を札で重ねる */
.rm-dishes { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.rm-dish { position: relative; overflow: hidden; border-radius: var(--st-radius); background: var(--sumi); }
.rm-dish img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s var(--st-ease); }
.rm-dish:hover img { transform: scale(1.04); }
.rm-dish figcaption {
  position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  justify-content: space-between; padding: 8px 12px; background: rgba(20, 17, 14, 0.86); color: var(--on-sumi); border-radius: 4px;
  font-weight: 700; font-size: 15px; line-height: 1.4;
}
.rm-dish figcaption b { font-family: var(--st-font-display); font-weight: 400; color: var(--mustard); }

/* ---- はじめての方へ(墨の地) ---- */
.rm-rules, .rm-about, .rm-form { background: var(--sumi); color: var(--on-sumi); }
.rm-rules__list { list-style: none; padding: 0; margin-top: clamp(32px, 5vw, 52px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rm-rule { display: grid; align-content: start; gap: 6px; padding: 20px 22px; border: 2px solid #3f3731; border-radius: var(--st-radius); background: var(--sumi-2); }
.rm-rule__k { justify-self: start; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--mustard); }
.rm-rule__v { font-family: var(--st-font-display); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.3; }
.rm-rule__t { font-size: 15px; color: var(--on-sumi-muted); line-height: 1.75; }
.rm-rule:first-child { background: var(--st-accent); border-color: var(--st-accent); }
.rm-rule:first-child .rm-rule__k { color: #fff; opacity: 0.85; }
.rm-rule:first-child .rm-rule__t { color: #fff; }
.rm-steps { margin-top: clamp(40px, 6vw, 64px); }
.rm-steps__title { font-family: var(--st-font-display); font-size: 22px; color: var(--on-sumi); }
.rm-steps ol { list-style: none; padding: 0; margin-top: 44px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; counter-reset: step; }
.rm-steps li { counter-increment: step; position: relative; padding: 18px 20px 20px; border-top: 3px dashed #4a423b; font-weight: 700; line-height: 1.6; }
.rm-steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin: -40px 0 12px; border-radius: 50%;
  background: var(--mustard); color: var(--sumi); font-family: var(--st-font-display); font-size: 18px;
}

/* ---- 混む時間 ---- */
.rm-rush__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.rm-rush__legend { list-style: none; padding: 0; margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 700; }
.rm-rush__legend li { display: inline-flex; align-items: center; gap: 8px; }
.rm-rush__legend li::before { content: ""; width: 14px; height: 14px; border-radius: 3px; background: var(--lv); }
.rm-lv-1 { --lv: #b9ab94; --lh: 22%; }
.rm-lv-2 { --lv: #e9a21b; --lh: 52%; }
.rm-lv-3 { --lv: var(--st-accent); --lh: 86%; }
.rm-rush__chart { list-style: none; padding: 0 0 0; display: grid; gap: 8px; height: 280px; border-bottom: 3px solid var(--st-ink); }
.rm-rush__chart li { display: grid; grid-template-rows: 1fr auto; align-items: end; justify-items: center; position: relative; min-width: 0; }
.rm-rush__bar { grid-row: 1; width: 100%; max-width: 64px; height: var(--lh); border-radius: 999px 999px 0 0; background: var(--lv); }
.rm-rush__wait { position: absolute; bottom: calc(var(--lh) + 6px); font-size: 13px; font-weight: 700; white-space: nowrap; }
.rm-rush__time { grid-row: 2; position: absolute; top: calc(100% + 8px); font-family: var(--st-font-display); font-size: 15px; white-space: nowrap; }
.rm-rush__note { margin-top: 48px; padding: 14px 16px; background: var(--st-surface); border-left: 4px solid var(--st-accent); font-size: 15px; }

/* ---- 店主 ---- */
.rm-person { background: var(--st-surface); }
.rm-person__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.rm-person__photo { position: relative; }
.rm-person__photo img { width: 100%; border-radius: var(--st-radius); box-shadow: 12px 12px 0 var(--st-accent); }
.rm-person__photo figcaption {
  position: absolute; left: -10px; top: 20px; display: grid; padding: 10px 16px; background: var(--sumi); color: var(--on-sumi);
  font-family: var(--st-font-display); font-size: 20px; line-height: 1.3;
}
.rm-person__photo figcaption small { font-family: var(--st-font-body); font-size: 12px; color: var(--on-sumi-muted); }
.rm-person__text { margin-top: 24px; display: grid; gap: 1em; font-size: 16px; line-height: 2; }
.rm-person__sign { font-family: var(--st-font-display); }

/* ---- 店のこと(数字) ---- */
.rm-place__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.rm-place__stats { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.rm-place__stats div { padding: 16px 0 18px; border-top: 3px solid var(--st-ink); }
.rm-place__stats dt { font-size: 14px; font-weight: 700; color: var(--st-muted); }
.rm-place__stats dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; font-family: var(--st-font-display); font-size: clamp(48px, 6vw, 76px); line-height: 1.1; color: var(--st-accent); }
.rm-place__stats small { font-size: 18px; color: var(--st-ink); white-space: nowrap; }
.rm-place__photo img { width: 100%; border-radius: var(--st-radius); }

/* ---- 声 ---- */
.rm-voices-sec { padding-top: 0; }
.rm-voices { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.rm-voice { position: relative; padding: 28px 24px 22px; background: var(--st-surface); border: 2px solid var(--st-ink); border-radius: var(--st-radius); font-size: 15px; }
.rm-voice::before { content: "“"; position: absolute; top: -18px; left: 18px; font-family: var(--st-font-display); font-size: 56px; line-height: 1; color: var(--st-accent); }
.rm-voice__head { font-weight: 900; font-size: 17px; margin-bottom: 8px; }
.rm-voice__who { margin-top: 12px; font-size: 13px; color: var(--st-muted); }
.rm-voices__note { margin-top: 16px; font-size: 13px; color: var(--st-muted); }

/* ---- よくある質問 ---- */
.rm-faq-sec { padding-top: 0; }
.rm-faq-sec__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.rm-faq details { border-top: 2px solid var(--st-ink); }
.rm-faq details:last-child { border-bottom: 2px solid var(--st-ink); }
.rm-faq summary { position: relative; display: flex; gap: 12px; padding: 18px 40px 18px 0; font-weight: 700; font-size: 16px; line-height: 1.6; }
.rm-faq summary::before { content: "Q"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; background: var(--st-accent); color: #fff; font-weight: 900; font-size: 15px; line-height: 1; border-radius: 4px; }
.rm-faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-weight: 700; font-size: 28px; line-height: 1.2; color: var(--st-accent); transition: transform 0.3s; }
.rm-faq details[open] summary::after { transform: rotate(45deg); }
.rm-faq details p { padding: 0 0 20px 40px; font-size: 15px; color: var(--st-muted); }
.rm-faq--draft { margin-top: clamp(40px, 6vw, 64px); }

/* ---- 問い合わせ(墨の地に生成りのフォーム) ---- */
.rm-form .rm-head { text-align: center; }
.rm-form .rm-head__lead { margin-inline: auto; }
.rm-form__body { margin-top: 36px; }
.rm-form .st-form { border: 0; }

/* ---- 営業時間・地図 ---- */
.rm-info__grid { margin-top: clamp(32px, 5vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.rm-hours { width: 100%; border-collapse: collapse; background: var(--st-surface); border: 3px solid var(--st-ink); font-size: 15px; }
.rm-hours th, .rm-hours td { padding: 10px 12px; border-bottom: 1px solid var(--st-line); text-align: left; line-height: 1.5; }
.rm-hours thead th { background: var(--st-ink); color: var(--st-bg); font-size: 13px; letter-spacing: 0.1em; }
.rm-hours tbody th { width: 3.2em; font-family: var(--st-font-display); font-weight: 400; font-size: 17px; text-align: center; }
.rm-hours td { font-variant-numeric: tabular-nums; font-weight: 700; }
.rm-hours tr.is-off td, .rm-hours tr.is-off th { color: var(--st-accent); background: color-mix(in srgb, var(--st-accent) 7%, transparent); }
.rm-info__hnote { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--st-accent); }
.rm-info__table { margin-top: 24px; display: grid; grid-template-columns: 7em minmax(0, 1fr); font-size: 15px; }
.rm-info__table dt, .rm-info__table dd { padding: 11px 0; border-bottom: 1px solid var(--st-line); line-height: 1.7; }
.rm-info__table dt { font-weight: 700; }
.rm-info__table dd small { font-size: 13px; color: var(--st-muted); }
.rm-info__table a { color: var(--st-accent); font-weight: 700; }
.p-ramen .st-map { border: 3px solid var(--st-ink); border-radius: var(--st-radius); }

/* ---- 受け取り前: 店のこと ---- */
.rm-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.rm-about__text { font-size: 17px; line-height: 2; color: var(--on-sumi); }

/* 受け取ると載ります: 灯っていない食券機 */
.p-ramen .ph { margin-top: 0; padding: 22px clamp(16px, 2.4vw, 26px); border: 0; border-radius: 14px; background: linear-gradient(180deg, #2b2521, var(--sumi) 40%); box-shadow: inset 0 0 0 2px #3a332d; }
.p-ramen .ph__lead { color: var(--on-sumi); font-weight: 700; }
.p-ramen .ph__slots { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.p-ramen .ph__slot { position: relative; min-height: 96px; padding: 12px 12px 30px; background: #3a342f; border: 0; border-radius: 6px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.3), 0 2px 0 #000; }
.p-ramen .ph__slot b { font-family: var(--st-font-display); font-weight: 400; font-size: 18px; color: var(--on-sumi); }
.p-ramen .ph__slot span { color: var(--on-sumi-muted); }
.p-ramen .ph__slot::after { content: "準備中"; position: absolute; right: 10px; bottom: 8px; padding: 0 6px; border-radius: 3px; background: #0b0908; color: #7a6f63; font-size: 11px; font-weight: 700; }
.p-ramen .ph__actions { margin-top: 20px; }
.p-ramen .ph__link { color: var(--mustard); }
.p-ramen .ph__link--claim { color: var(--on-sumi-muted); }
.p-ramen .om__source { font-size: 13px; }

/* 近くのお店・口コミ */
.p-ramen .nr__title { font-weight: 400; }
.p-ramen .nr__name { font-family: var(--st-font-body); font-weight: 700; }

/* ---- フッター ---- */
.rm-footer { padding-block: 44px; background: var(--sumi); color: var(--on-sumi-muted); font-size: 14px; border-top: 6px solid var(--st-accent); }
.rm-footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; }
.rm-footer__name { display: grid; font-family: var(--st-font-display); font-size: clamp(34px, 5vw, 56px); line-height: 1.15; color: var(--on-sumi); }
.rm-footer__name small { font-size: 14px; color: #ff6a5c; }

/* SP の電話バー */
.p-ramen .call-bar { background: var(--st-bg); box-shadow: 0 -3px 0 var(--st-ink); }
.p-ramen .call-bar a { background: var(--st-accent); color: #fff; border-radius: var(--st-radius); }
.p-ramen .call-bar a + a { background: var(--st-ink); color: var(--st-bg); border: 0; }

/* ---- タブレット ---- */
@media (max-width: 1023px) {
  .rm-hero { grid-template-columns: 1fr; }
  .rm-hero__photo { order: 0; min-height: 0; aspect-ratio: 4 / 3; }
  .rm-hero__body { order: 1; }
  .rm-menu__grid, .rm-rush__grid, .rm-person__grid, .rm-place__grid, .rm-faq-sec__grid, .rm-about__grid, .rm-info__grid { grid-template-columns: 1fr; }
  .rm-rules__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-person__photo { max-width: 440px; }
  .rm-place__photo { max-width: 420px; }
}

/* ---- スマホ ---- */
@media (max-width: 767px) {
  .rm-header__inner { min-height: 58px; gap: 12px; }
  .rm-header__name { font-size: 19px; }
  .rm-header__name small { display: none; }
  .rm-hero__photo { aspect-ratio: 5 / 4; }
  .rm-hero__body { padding: 30px 16px 40px; gap: 18px; }
  .rm-hero__name span { font-size: clamp(64px, 21vw, 96px); }
  .rm-name--m span { font-size: clamp(40px, 12vw, 60px); }
  .rm-name--l span { font-size: clamp(28px, 8vw, 40px); }
  .rm-hero__actions .rm-btn { flex: 1 1 100%; }
  .rm-hero__ticket { width: min(230px, 64%); padding: 12px 16px 10px; left: 12px; bottom: 14px; }
  .rm-hero__ticket b { font-size: 24px; }
  .rm-hero__ticket small { font-size: 12px; }
  .rm-hero__ticket-price { font-size: 22px; margin-top: 4px; padding-top: 6px; }
  .rm-hero .img-note { top: 10px; bottom: auto; }
  .rm-facts { grid-template-columns: 1fr 1fr; }
  .rm-facts li { padding: 14px; box-shadow: 3px 3px 0 var(--st-ink); }
  .rm-facts li:last-child:nth-child(even) { grid-column: 1 / -1; }
  .rm-facts b { font-size: 16px; }
  .rm-machine { margin-inline: -4px; }
  .rm-machine__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-dishes { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rm-dish:first-child { grid-column: 1 / -1; }
  .rm-dish figcaption { left: 6px; right: 6px; bottom: 6px; padding: 6px 8px; font-size: 13px; }
  .rm-rules__list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rm-rule { padding: 14px; }
  /* 札が奇数のときだけ、1枚目を横いっぱいに(最後の段に1枚だけ残らないように) */
  .rm-rule:first-child:nth-last-child(2n + 1) { grid-column: 1 / -1; }
  .rm-rule__v { font-size: 18px; }
  .rm-rule__t { font-size: 14px; }
  .rm-steps ol { grid-auto-flow: row; gap: 0; margin-top: 12px; }
  .rm-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 0; border-bottom: 2px dashed #4a423b; }
  .rm-steps li::before { flex: none; margin: 0; }
  .rm-rush__chart { height: 220px; gap: 4px; }
  .rm-rush__wait { font-size: 12px; }
  .rm-rush__time { font-size: 13px; }
  .rm-person__photo img { box-shadow: 8px 8px 0 var(--st-accent); }
  .rm-person__photo figcaption { left: -6px; }
  .rm-place__stats { gap: 0 16px; }
  .rm-place__stats dd { font-size: 40px; }
  .rm-place__stats small { font-size: 14px; }
  .rm-faq details p { padding-left: 0; }
  .rm-info__table { grid-template-columns: 5.5em minmax(0, 1fr); }
  .rm-hours th, .rm-hours td { padding: 9px 8px; font-size: 14px; }
}
