@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --c-bg: #111111;
  --c-text: #ffffff;
  --c-text-muted: #888888;
  --c-border: #333333;
  --c-theme: #c9a55e; /* Extracted Gold from Icon */
}

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

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: var(--app-height, 100dvh);
  overflow: hidden; /* Strict single screen */
}

a { text-decoration: none; color: inherit; }

/* The main app container: limits width on desktop, matches screen height */
.v5-app {
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  height: var(--app-height, 100dvh);
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--c-bg);
}

/* === HEADER (10%) === */
.v5-header {
  flex: 0 0 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--c-border);
}
.h-logo p {
  font-size: 9px;
  color: var(--c-text-muted);
  letter-spacing: 0.1em;
  font-weight: 500;
}
.h-logo h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

/* Header Tel Button */
.h-tel-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--c-theme);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  transition: opacity 0.2s;
}
.h-tel-btn svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.h-tel-btn:active {
  opacity: 0.7;
}

/* === HERO VISUAL === */
.v5-hero {
  flex: none;
  height: 38vh;
  min-height: 240px;
  position: relative;
  background: var(--c-bg);
  overflow: hidden;
}
.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.hero-track::-webkit-scrollbar {
  display: none;
}
.hero-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  scroll-snap-align: start;
  background: transparent;
}

/* === CONTENT AREA === */
.v5-content {
  flex: 0 0 32%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.c-badge {
  display: inline-block;
  border: 1px solid var(--c-theme);
  color: var(--c-theme);
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  align-self: flex-start;
}
.c-price {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.c-price span {
  font-size: 14px;
  font-weight: 500;
}
.c-desc {
  font-size: 12px;
  color: var(--c-text);
  line-height: 1.6;
  margin-bottom: 16px;
  font-weight: 500;
}
.c-menu-link {
  font-size: 11px;
  color: var(--c-theme);
  text-decoration: underline;
  padding-bottom: 3px;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* Info Grid */
.c-info {
  border-top: 1px solid var(--c-border);
  padding-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.info-row {
  display: flex;
  font-size: 11px;
}
.info-row dt {
  color: var(--c-text-muted);
  width: 60px;
  font-weight: 500;
}
.info-row dd {
  font-weight: 500;
}

/* Map text link */
.map-text-link {
  color: var(--c-text);
  text-decoration: underline;
  display: inline-block;
  line-height: 1.4;
  transition: opacity 0.2s;
}
.map-text-link:active {
  opacity: 0.7;
}

/* === ACTIONS === */
.v5-actions {
  flex: 1;
  padding: 0 20px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* SNS and Review Row */
.f-sns-review-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px; /* 等間隔 */
  margin-bottom: 6px;
}

.sns-icon {
  display: block;
  width: 22px;
  height: 22px;
}
.sns-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--c-text);
  transition: opacity 0.2s;
}
.sns-icon:hover svg {
  opacity: 0.7;
}

/* Review Button */
.btn-review {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--c-border);
  font-size: 11px;
  color: var(--c-text);
  border-radius: 4px;
  transition: background 0.2s;
}
.btn-review svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.btn-review:active {
  background: rgba(128,128,128,0.2);
}

/* Recruit link row */
.f-recruit-row {
  text-align: center;
  margin-top: 0;
}
.f-recruit-row a {
  font-size: 10px;
  color: var(--c-text-muted);
  text-decoration: underline;
}

/* Small screen height adjustments */
@media(max-height: 700px) {
  .v5-hero { height: 35vh; }
  .v5-content { padding: 15px 20px;}
  .v5-actions { padding: 0 20px 15px 20px; }
  .c-price { font-size: 24px; }
  .c-desc { margin-bottom: 10px; line-height: 1.4; }
  .h-logo h1 { font-size: 18px; }
}

/* === MENU PAGE STYLES === */
.m-category {
  margin-bottom: 40px;
}
.m-category-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-theme);
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.m-item {
  margin-bottom: 20px;
}
.m-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px dotted var(--c-border);
  padding-bottom: 4px;
  margin-bottom: 4px;
}
.m-item-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding-right: 10px;
  line-height: 1.2;
}
.m-item-price {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.m-tax-price {
  font-size: 10px;
  color: var(--c-text-muted);
  margin-left: 4px;
}
.m-item-desc {
  font-size: 10px;
  color: #999;
  line-height: 1.4;
  margin-top: 6px;
}
