/* 404 SNACK
   配色と横幅は、この変数を変えるとページ全体に反映されます。 */

:root {
  --bg: #100e0c;
  --bg-raised: #171410;
  --ink: #f3ece3;
  --ink-soft: #e6dccf;
  --muted: #c4b8a8;
  --gold: #c4a36a;
  --line: rgba(196, 163, 106, 0.22);
  --line-strong: rgba(196, 163, 106, 0.48);
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "MS PMincho", serif;
  --sans: "Yu Gothic", "YuGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Meiryo", sans-serif;
  --measure: 40rem;
  --pad: 1.25rem;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

p,
ul,
ol,
figure,
table {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

h1,
h2 {
  margin: 0;
  font-weight: 500;
}

::selection {
  background: rgba(196, 163, 106, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* トップ：ヘッダーとメイン画像は同じ幅 */
.top {
  width: 100%;
  max-width: 100%;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4rem;
  padding: 0.45rem 0.7rem 0.45rem 0.85rem;
  background: #182f4f;
  border-radius: 0.9rem 0.9rem 0 0;
}

.site-logo {
  min-width: 0;
  margin: 0;
}

.site-logo img {
  display: block;
  height: 2.75rem;
  width: auto;
  max-width: 100%;
}

.menu-toggle {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.menu-bars {
  position: relative;
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-bars::before {
  top: -0.4rem;
}

.menu-bars::after {
  top: 0.4rem;
}

.menu-toggle[aria-expanded="true"] .menu-bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-bars::before,
.menu-toggle[aria-expanded="true"] .menu-bars::after {
  top: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bars::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bars::after {
  transform: rotate(-45deg);
}

.site-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #182f4f;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-menu[hidden] {
  display: none;
}

.site-menu ul {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.4rem;
}

.site-menu button {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  border: 0;
  background: transparent;
  color: #f3ece3;
  font: inherit;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-align: left;
  cursor: pointer;
}

.site-menu button:hover,
.site-menu button:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

/* メインビジュアル */
.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #0b0a09;
  line-height: 0;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.15rem 0.75rem 0.7rem;
  background: linear-gradient(to top, rgba(8, 6, 5, 0.78) 0%, rgba(8, 6, 5, 0.4) 58%, rgba(8, 6, 5, 0) 100%);
  color: #fff;
  text-align: center;
  line-height: 1.5;
}

.hero-catch {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.45;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.hero-note {
  margin: 0.45rem 0 0;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.hero img[hidden] {
  display: none;
}

/* 各セクション共通 */
.section,
.site-footer,
.site-refresh-bar {
  max-width: 100%;
}

.section-inner {
  width: min(100%, var(--measure));
  max-width: 100%;
  margin: 0 auto;
  padding: 3rem var(--pad);
}

.heading {
  margin-bottom: 1.4rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.45;
}

.section p + p {
  margin-top: 1.25em;
}

.lead-close {
  margin-top: 1.75em;
}

/* コンセプト本文のみ。見出しの書体・サイズは変えない */
#concept .concept-copy {
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-weight: 500;
  font-size: 0.9375rem;
  font-synthesis: none;
  line-height: 2;
  line-break: strict;
}

#concept .concept-line {
  display: block;
}

#concept .concept-phrase {
  display: inline-block;
  max-width: 100%;
}

/* イベント企画 */
.event-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 4.75rem;
  margin: 0;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(196, 163, 106, 0.72);
  border-radius: 0.3rem;
  background: rgba(24, 47, 79, 0.55);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.event-label {
  flex: 1 1 auto;
  min-width: 0;
}

.event-mark {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
}

.event-button:hover,
.event-button:focus-visible {
  background: rgba(42, 74, 118, 0.78);
  border-color: #e4cb90;
}

.event-button:active {
  background: rgba(52, 88, 136, 0.88);
  border-color: #f0d7a4;
  transform: translateY(1px);
}

.event-photo[hidden] {
  display: none;
}

.event-photo:not([hidden]) {
  display: block;
  margin-bottom: 0.85rem;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
}

.event-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.event figcaption {
  font-family: var(--serif);
  font-size: 1.0625rem;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

/* メニュー：品名と金額は index.html の .menu-name / .menu-price を書き換える */
.menu-board {
  padding: 1.35rem 0.95rem 1.05rem;
  background: rgba(24, 47, 79, 0.72);
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
}

.menu-board p {
  margin: 0;
}

.menu-brand {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-align: center;
}

.menu-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.45rem;
  color: #fff;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.42em;
  line-height: 1.4;
  padding-left: 0.42em;
}

.menu-title::before,
.menu-title::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--gold);
}

.menu-subtitle {
  margin-top: 0.35rem;
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-align: center;
}

.menu-items {
  list-style: none;
  margin-top: 1.1rem;
  padding: 0.15rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
}

.menu-items li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 0.75rem;
  align-items: baseline;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.menu-items li:last-child {
  border-bottom: 0;
}

.menu-name,
.menu-price {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.menu-name {
  white-space: nowrap;
}

/* ホームページのドリンクメニュー。menu.html の品目リストには当てない */
#menu .menu-drinks {
  list-style: none;
  margin-top: 1.1rem;
  padding: 0.15rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
}

#menu .menu-drinks p + p {
  margin-top: 0;
}

#menu .menu-charge {
  padding: 0.8rem 0 0.85rem;
  border-bottom: 1px solid var(--line);
}

#menu .menu-charge .menu-name,
#menu .menu-drink .menu-name {
  white-space: normal;
}

#menu .menu-charge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.6rem;
  margin-top: 0.4rem;
}

#menu .menu-time {
  display: inline-block;
  padding: 0.05rem 0.55rem 0.08rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

#menu .menu-charge .menu-detail {
  margin-top: 0.45rem;
  padding-left: 0.5rem;
  border-left: 2px solid var(--gold);
}

#menu .menu-drink {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  column-gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

#menu .menu-drink:last-child {
  border-bottom: 0;
}

#menu .menu-photo {
  display: block;
  width: 5rem;
  height: 4.25rem;
  object-fit: cover;
  object-position: center 42%;
  border: 1px solid var(--line);
  border-radius: 0.3rem;
}

#menu .menu-drink .menu-price {
  margin-top: 0.12rem;
  white-space: normal;
}

#menu .menu-keep {
  display: inline-block;
}

#menu .menu-kind {
  margin-top: 0.35rem;
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  line-height: 1.65;
}

#menu .menu-drink .menu-detail {
  margin-top: 0.15rem;
}

#menu .menu-sample {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: center;
}

.menu-price {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.menu-tax {
  margin-left: 0.15em;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.menu-detail {
  grid-column: 1 / -1;
  margin-top: 0.15rem;
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.menu-notes {
  margin-top: 0.95rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.menu-notes p {
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  line-height: 1.65;
}

.menu-notes p + p {
  margin-top: 0.2rem;
}

@media (max-width: 360px) {
  #menu .section-inner,
  #menu-detail .section-inner {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .menu-board {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .menu-items {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .menu-items li {
    column-gap: 0.45rem;
  }

  .menu-name {
    letter-spacing: 0.01em;
  }

  #menu .menu-drinks {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  #menu .menu-drink {
    grid-template-columns: 4.35rem minmax(0, 1fr);
    column-gap: 0.55rem;
  }

  #menu .menu-photo {
    width: 4.35rem;
    height: 3.7rem;
  }
}

/* アクセス：地図の枠。地点は index.html の place を書き換える */
.map-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
}

.map-slot iframe {
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  height: 250px;
  border: 0;
}

.section .map-provisional {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.section .map-external {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.map-external a {
  color: var(--ink-soft);
  text-underline-offset: 0.2em;
}

.map-external a:hover,
.map-external a:focus-visible {
  color: var(--gold);
}

/* アプリ・連絡先 */
.rule-list {
  list-style: none;
}

.rule-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.05em;
  overflow-wrap: anywhere;
}

.rule-list li:first-child {
  padding-top: 0.15rem;
}

/* インスタントシェアの紹介カードだけ。他のセクションには当てない */
.share-card {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  grid-template-areas:
    "icon name see"
    "desc desc desc"
    "manga manga manga";
  gap: 0.75rem 0.7rem;
  align-items: center;
  padding: 0.85rem 0.8rem 0.75rem;
  background: #fff;
  color: #1b2d4d;
  border: 1px solid #b9d4f0;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(24, 48, 84, 0.08);
}

.share-card p,
.share-card h3 {
  margin: 0;
}

.section .share-card p + p {
  margin-top: 0;
}

.share-icon {
  grid-area: icon;
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.85rem;
  overflow: hidden;
  background: linear-gradient(165deg, #1a9a80 0%, #0d5346 68%, #08382f);
}

.share-phone {
  position: absolute;
  left: 1.15rem;
  top: 0.28rem;
  z-index: 2;
  width: 1.15rem;
  height: 1.7rem;
  border-radius: 0.28rem;
  background: #071f1a;
  box-shadow: 0 0 0 1.5px #f4fff9;
}

.share-phone::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 3px;
  bottom: 5px;
  border-radius: 1px;
  background:
    radial-gradient(circle at 72% 26%, #fff6c8 0 2px, transparent 2.6px),
    linear-gradient(#7ecff5 0 46%, #8fce6a 46% 62%, #3e8f58 62% 100%);
}

.share-shot {
  position: absolute;
  width: 0.95rem;
  height: 0.72rem;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

.share-shot::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  border-radius: 1px;
  background: linear-gradient(#8fd4f5 0 48%, #67b85a 48% 100%);
}

.share-shot-l {
  left: 0.12rem;
  top: 0.9rem;
  z-index: 1;
  transform: rotate(-16deg);
}

.share-shot-r {
  right: 0.1rem;
  top: 0.42rem;
  z-index: 3;
  transform: rotate(14deg);
}

.share-mark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.16rem;
  z-index: 4;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  text-align: center;
}

.share-nameblock {
  grid-area: name;
  min-width: 0;
}

.share-cat {
  color: #7d8ba0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.share-name {
  margin-top: 0.1rem;
  color: #15284d;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.share-desc {
  grid-area: desc;
  padding-top: 0.7rem;
  border-top: 1px solid #d7e5f4;
  color: #3d4e68;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.65;
}

.share-see,
.share-manga {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  font-family: inherit;
  cursor: pointer;
}

.share-see {
  grid-area: see;
  justify-self: end;
  padding: 0.45rem 0.75rem 0.45rem 0.85rem;
  border: 1.5px solid #6aaff6;
  border-radius: 999px;
  background: #fff;
  color: #1d6fd4;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.share-see span {
  margin-left: 0.1em;
  font-weight: 500;
}

.share-see:hover,
.share-see:focus-visible {
  background: #f3f8ff;
  border-color: #3b8eef;
  color: #155fbe;
}

.share-see:active {
  background: #e7f2fc;
  transform: translateY(1px);
}

.share-see:focus-visible,
.share-manga:focus-visible {
  outline: 2px solid #8ec0ff;
  outline-offset: 2px;
}

.share-manga {
  grid-area: manga;
  justify-self: end;
  padding: 0.1rem 0;
  border: 0;
  background: transparent;
  color: #1d6fd4;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.share-manga:hover,
.share-manga:focus-visible {
  color: #155fbe;
}

.share-manga:active {
  color: #0f4f9e;
}

/* 運営会社 */
.company-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

/* 詳細ページの店名 */
.page-brand {
  margin: 0 0 1.5rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.8125rem;
  letter-spacing: 0.26em;
  line-height: 1.6;
}

/* フッター */
.site-footer .section-inner {
  padding-top: 1.75rem;
  padding-bottom: 2.25rem;
  border-top: 1px solid var(--line);
}

.copyright,
.updated {
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.updated {
  margin-top: 0.35rem;
}

/* フッター下の更新 */
.site-footer:has(+ .site-refresh-bar) .section-inner {
  padding-bottom: 0.85rem;
}

.site-refresh-bar .section-inner {
  padding-top: 0;
  padding-bottom: 1.75rem;
}

.site-refresh {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0.1rem 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.site-refresh:hover,
.site-refresh:focus-visible {
  color: var(--ink-soft);
}

.site-refresh:disabled {
  cursor: progress;
}
