@font-face {
  font-family: "NSNN Dot";
  src: url(/assets/dot.956eb74518.woff2) format("woff2");
  font-display: optional;
}

:root {
  --night: #141c43;
  --night-2: #1d2758;
  --amber: #ffb21e;
  --paper: #f4f6fb;
  --white: #ffffff;
  --ink: #1b2140;
  --muted: #687089;
  --line: #dde2ee;
  --link: #2c3ea8;
  --on-night: #e8ebf7;
  --on-night-muted: #a7aecb;
  --body-font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.7 var(--body-font);
  font-variant-numeric: tabular-nums;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; overflow-wrap: anywhere; }
a { color: var(--link); text-underline-offset: .19em; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.shell { width: min(100% - 32px, 46rem); margin-inline: auto; }

.masthead, .band, footer { background: var(--night); color: var(--on-night); }
:is(.masthead, .band, footer) :focus-visible { outline-color: var(--amber); }
.masthead { border-bottom: 1px solid rgba(255,255,255,.14); }
.masthead .shell { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.375rem; text-decoration: none; }
.masthead time, .crumbs, .note, .subtitle, small { color: var(--muted); font-size: .8125rem; }
.masthead time, .band :is(.crumbs, .note, .subtitle) { color: var(--on-night-muted); }
.band { padding: 4px 0 16px; }
.band + .shell { padding-top: 1rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 8px; list-style: none; padding: 0; margin: 0 0 4px; line-height: 1.4; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--white); }

h1, h2, h3, p { margin: 0; }
h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 5.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.01em;
  text-wrap: balance;
  word-break: auto-phrase;
}
h2 { color: var(--ink); font-size: 1.125rem; font-weight: 800; line-height: 1.35; margin-bottom: .65rem; }
h3 { font-size: 1rem; }
p + p { margin-top: .55rem; }
section { margin-top: 1.55rem; }
.shell > section:first-child { margin-top: 0; }
.subtitle { margin-top: 4px; line-height: 1.4; }

.dot {
  font-family: "NSNN Dot", var(--body-font);
  font-weight: 400;
  color: var(--amber);
  text-shadow: 0 0 10px rgba(255,178,30,.35);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.board, .answer {
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background-color: var(--night-2);
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.3px);
  background-size: 6px 6px;
}
.board + .note { margin-top: 8px; }
.board-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 0;
}
.summary .board-stats > :nth-child(3) { grid-column: 1 / -1; }
.board-stats dt, .top-areas .sub { color: var(--on-night-muted); font-size: .8125rem; line-height: 1.4; }
.board-stats dd { margin: 0; line-height: 1.35; }
.board-stats .dot { display: block; font-size: clamp(1.75rem, 4vw, 2rem); line-height: 1.15; }
.board-stats .sub { display: block; color: var(--on-night); font-size: .8125rem; }
.board h2 {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: var(--on-night);
  font-size: .9375rem;
  font-weight: 700;
}
.top-areas { list-style: none; margin: 0; padding: 0; }
.top-areas li + li { border-top: 1px dashed rgba(255,255,255,.14); }
.top-areas a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(3.25em, auto);
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
}
.top-areas a:hover { background: rgba(255,255,255,.06); }
.top-areas .where { font-weight: 700; }
.top-areas :is(.dot, .sub) { text-align: right; }
.top-areas .dot { font-size: 1.25rem; }

.mention { padding-left: 10px; border-left: 3px solid var(--amber); font-size: .9375rem; font-weight: 700; line-height: 1.4; }
.answer .note { margin-top: 6px; line-height: 1.45; }
.answer .board-stats { margin-top: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.actions a, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .45rem 1rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: var(--on-night);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}
.actions a:hover { border-color: var(--white); }
.actions .official { background: var(--amber); border-color: var(--amber); color: var(--night); }

.chips, .links { display: flex; flex-wrap: wrap; gap: 8px; }
.links { list-style: none; margin: 0; padding: 0; }
:is(.chips, .links) a {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  min-height: 44px;
  padding: .35rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: .8125rem;
  text-decoration: none;
}
:is(.chips, .links) a:hover { border-color: var(--link); }
.chips a { padding-inline: .85rem; }
.regions { display: grid; gap: 1rem; }
.regions h3 { color: var(--muted); font-size: .8125rem; margin-bottom: 6px; }
.regions .links { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.25rem, 1fr)); }
.regions .links a { display: flex; justify-content: space-between; border-radius: 10px; padding: .65rem .75rem; font-weight: 700; }
.regions small { font-weight: 400; }
.regions small, .chips small { white-space: nowrap; }

.comparison-legend { margin: .65rem 0 .35rem; }
.comparison, .week { padding: 0; margin: 0; list-style: none; }
.comparison > li { background: var(--white); border-bottom: 1px solid var(--line); }
.comparison li:target { outline: 2px solid var(--link); outline-offset: -2px; }
.row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-height: 44px;
  padding: 12px 32px 12px 14px;
  text-decoration: none;
}
.row::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  border: solid var(--muted);
  border-width: 1px 1px 0 0;
  transform: translateY(-50%) rotate(45deg);
}
.row:hover { background: var(--paper); }
.row .name { font-weight: 700; }
.row .genre { color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 .5em; font-size: .75rem; }
.row .cells { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(0, .7fr); gap: .5rem; flex: 1 0 100%; text-align: left; }
.cells b { color: var(--ink); font-size: .9375rem; white-space: nowrap; }
.cells b::before { display: block; color: var(--muted); font-size: .6875rem; font-weight: 400; }
.cells b:nth-child(1)::before { content: "今日"; }
.cells b:nth-child(2)::before { content: "最安"; }
.cells b:nth-child(3)::before { content: "支払額"; }
.cells b:nth-child(4)::before { content: "口コミ"; }
.cells .none { color: var(--muted); }
.area-rows .row .cells { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.area-rows .cells b:nth-child(1)::before { content: "店の数"; }
.area-rows .cells b:nth-child(2)::before { content: "今日"; }
.area-rows .cells b:nth-child(3)::before { content: "最安"; }

@media (min-width: 720px) {
  .row { display: grid; grid-template-columns: auto fit-content(6rem) 26rem; }
  .row .cells { grid-template-columns: repeat(4, 6.5rem); gap: 0; text-align: right; }
  .area-rows .row { grid-template-columns: minmax(0, 1fr) 19.5rem; }
  .top-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .top-areas li:nth-child(2) { border-top: none; }
}

@media (width < 720px) {
  .top-areas a { padding-block: 9px; line-height: 1.4; }
  .top-areas .dot { font-size: 1.375rem; line-height: 1.15; }
}

.week li { display: grid; grid-template-columns: minmax(6.5em, max-content) minmax(0, 1fr) 3.7em; gap: .4rem; align-items: center; padding: .25rem 0; }
.week time { white-space: nowrap; }
.week li:first-child time { font-weight: 800; }
.week li > :last-child { text-align: right; }
.week .no-shift { grid-column: 2 / -1; color: var(--muted); }
.track { height: 10px; border-radius: 999px; background: #e6e9f3; }
.track span { display: block; height: 100%; border-radius: inherit; background: var(--amber); }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .875rem; }
th, td { padding: .45rem .6rem; border-bottom: 1px solid var(--line); text-align: left; }
thead th { background: #eef1f8; color: var(--muted); font-size: .8125rem; }
thead th:first-child { width: 62%; }
th:last-child, td { text-align: right; }
.facts:not(.board-stats) { margin: .65rem 0 0; }
.facts:not(.board-stats) > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: .45rem; padding: .35rem 0; border-top: 1px solid var(--line); }
.facts:not(.board-stats) dt { color: var(--muted); font-size: .875rem; }
.facts:not(.board-stats) dd { margin: 0; font-size: .9375rem; }

.affiliate { border: 1px solid var(--line); border-radius: 12px; margin: 1.6rem 0; background: var(--white); }
.affiliate a { display: block; padding: 14px 16px; text-decoration: none; }
.affiliate strong { color: var(--link); font-weight: 700; }
.affiliate a:hover strong { text-decoration: underline; }
.affiliate small { display: block; }
footer { padding: .45rem 0 1.2rem; margin-top: 1.5rem; font-size: .8125rem; }
footer nav { display: flex; flex-wrap: wrap; gap: .25rem .85rem; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-night); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer p { color: var(--on-night-muted); }

form { display: grid; gap: .7rem; max-width: 35rem; margin-top: .75rem; }
form label { display: grid; gap: .15rem; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .6rem .7rem;
  border: 1px solid #c5cbdc;
  border-radius: 10px;
  background: var(--white);
  color: inherit;
  font: inherit;
}
:is(input, select, textarea):focus { border-color: var(--link); outline: 2px solid var(--link); outline-offset: 0; }
button { justify-self: start; cursor: pointer; background: var(--night); color: var(--white); }
.form-error { padding: .4rem; border-left: 4px solid var(--amber); }

[hidden] { display: none !important; }
.js-only { display: none; }
.js .site-search.js-only { display: block; }
.js .sort-controls.js-only { display: flex; }
.site-search { position: relative; margin-top: 8px; }
.search-field { position: relative; }
.search-field svg {
  position: absolute;
  left: 12px;
  top: 50%;
  translate: 0 -50%;
  color: var(--on-night-muted);
  pointer-events: none;
}
.search-field input {
  display: block;
  min-height: 48px;
  padding: 0 8px 0 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: var(--on-night);
  font-size: .875rem;
}
.search-field input::placeholder { color: var(--on-night-muted); opacity: 1; }
.search-panel {
  position: absolute;
  z-index: 1;
  inset: calc(100% + 4px) 0 auto;
  max-height: min(25rem, 55vh);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
}
.search-panel p { padding: .55rem .75rem; font-size: .875rem; }
.search-panel p:empty { display: none; }
.search-panel ul { margin: 0; padding: 0; list-style: none; }
.search-panel li + li { border-top: 1px solid var(--line); }
.search-panel a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem .65rem;
  min-height: 44px;
  padding: .4rem .75rem;
  outline-offset: -2px;
  text-decoration: none;
}
.search-panel a:is(:hover, :focus-visible) { background: var(--paper); outline-color: var(--link); }
.search-place strong {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding-inline: .55em;
}
.sort-controls { margin: 1rem 0 .4rem; gap: .4rem; }
.sort-controls [role="group"] { display: flex; flex-wrap: wrap; gap: inherit; }
.sort-controls button {
  padding: .45rem .85rem;
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 700;
}
.sort-controls button:hover { border-color: var(--link); }
.sort-controls button[aria-pressed="true"] { background: var(--night); color: var(--white); }
.sort-controls .note { flex-basis: 100%; }
.genre-tiles .links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.genre-tiles a {
  display: flex;
  min-height: 72px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: .65rem .75rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
}
.genre-tiles small { font-weight: 400; }
.faq { margin: 0; }
.faq dt { font-weight: 700; }
.faq dd { margin: .25rem 0 .65rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.comparison + .links { margin-top: .75rem; }
