:root {
  --paper: #fff;
  --ink: #24231f;
  --muted: #767168;
  --line: #dfddd6;
  --sage: #6f7868;
  --sage-soft: #eef1eb;
  --coffee: #554238;
  --gold: #9a7a43;
  --vermilion: #9a5f51;
  --white: #fff;
  --shadow: 0 24px 70px rgba(42, 38, 32, 0.12);
  --gutter: clamp(20px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", system-ui, sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

img {
  display: block;
  width: 100%;
}

[hidden] {
  display: none !important;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px var(--gutter);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 221, 214, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 600;
}

.brand-logo {
  display: block;
  width: clamp(128px, 14vw, 176px);
  height: auto;
  filter: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1px;
  background: var(--ink);
}

.brand-mark::before {
  bottom: 9px;
  transform: rotate(18deg);
}

.brand-mark::after {
  bottom: 6px;
  transform: rotate(-18deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.site-nav a,
.text-link,
.footer-links a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.footer-links a:hover {
  color: var(--coffee);
}

.site-nav .nav-icon {
  position: relative;
  display: inline-block;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav .nav-icon:hover,
.site-nav .nav-icon:focus-visible,
.site-nav .nav-icon[aria-current="page"] {
  color: var(--coffee);
}

.site-nav .nav-icon::before {
  content: none;
}

.site-nav .nav-icon span {
  position: static;
  width: auto;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  font-size: 13px;
  line-height: 1;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: none;
}

.header-action,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px 11px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.header-action {
  justify-self: end;
  background: var(--ink);
  color: var(--paper);
}

.login-action {
  position: relative;
  width: auto;
  min-width: 0;
  padding: 10px 16px 11px;
  border-radius: 6px;
}

.login-action::before {
  content: none;
}

.login-action span {
  position: static;
  width: auto;
  padding: 0;
  background: transparent;
  color: currentColor;
  font-size: 14px;
  line-height: 1.2;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: none;
}

.member-menu {
  position: relative;
  justify-self: end;
}

.member-menu-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}

.member-menu-button:hover,
.member-menu-button:focus-visible {
  background: var(--coffee);
  transform: translateY(-1px);
}

.member-menu-lines,
.member-menu-lines::before,
.member-menu-lines::after {
  content: "";
  display: block;
  width: 15px;
  height: 1px;
  background: currentColor;
}

.member-menu-lines {
  position: relative;
}

.member-menu-lines::before,
.member-menu-lines::after {
  position: absolute;
  left: 0;
}

.member-menu-lines::before {
  top: -5px;
}

.member-menu-lines::after {
  top: 5px;
}

.member-menu-initial {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: var(--sage);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.member-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 40;
  width: min(310px, calc(100vw - 28px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.member-mini-card {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.member-mini-card span,
.member-mini-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.member-mini-card strong {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 600;
}

.member-menu-panel nav {
  display: grid;
  margin: 10px 0;
}

.member-menu-panel nav a,
.member-logout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.member-menu-panel nav a::after {
  content: "→";
  color: var(--muted);
}

.member-logout {
  width: 100%;
  border-bottom: 0;
  color: var(--vermilion);
}

.primary-button {
  background: var(--ink);
  color: var(--paper);
}

.header-action:hover,
.login-action[aria-current="page"],
.primary-button:hover {
  background: var(--coffee);
  transform: translateY(-1px);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(460px, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  padding: clamp(38px, 5vw, 84px) var(--gutter) clamp(42px, 6vw, 84px);
}

.hero-copy {
  position: relative;
  max-width: 690px;
  padding-left: clamp(0px, 4vw, 52px);
}

.vertical-word {
  position: absolute;
  left: 0;
  top: 8px;
  writing-mode: vertical-rl;
  color: var(--sage);
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  line-height: 1.24;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(42px, 7vw, 84px);
}

.hero-copy > p:not(.vertical-word) {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
}

.text-link {
  color: var(--coffee);
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 460px;
  aspect-ratio: 720 / 506;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sage-soft);
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(310px, calc(100% - 44px));
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(216, 216, 214, 0.9);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.hero-note span {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.hero-note strong {
  display: block;
  margin-top: 3px;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
}

.intro-band {
  padding: 40px var(--gutter);
  background: var(--sage);
  color: var(--white);
}

.intro-band p {
  max-width: 980px;
  margin: 0 auto;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.9;
}

.section {
  padding: clamp(76px, 9vw, 132px) var(--gutter);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 38px;
}

.section-heading p {
  margin: 0 0 10px;
  color: var(--vermilion);
  font-size: 13px;
  font-weight: 700;
}

.section-heading h2 {
  font-size: clamp(29px, 4vw, 52px);
}

.shop-map-section {
  padding-bottom: 28px;
}

.shop-map-section .section-heading {
  margin-bottom: 22px;
}

.shop-map-frame {
  position: relative;
  height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sage-soft);
}

.shop-map-frame .leaflet-pane,
.shop-map-frame .leaflet-tile,
.shop-map-frame .leaflet-marker-icon,
.shop-map-frame .leaflet-marker-shadow,
.shop-map-frame .leaflet-tile-container,
.shop-map-frame .leaflet-pane > svg,
.shop-map-frame .leaflet-pane > canvas,
.shop-map-frame .leaflet-layer,
.shop-map-frame .leaflet-image-layer,
.shop-map-frame .leaflet-zoom-box {
  position: absolute;
  left: 0;
  top: 0;
}

.shop-map-frame .leaflet-container {
  overflow: hidden;
}

.shop-map-frame .leaflet-tile {
  user-select: none;
}

.shop-map-frame .leaflet-map-pane {
  z-index: 400;
}

.shop-map-frame .leaflet-tile-pane {
  z-index: 200;
}

.shop-map-frame .leaflet-marker-pane {
  z-index: 600;
}

.shop-map-frame .leaflet-popup-pane {
  z-index: 700;
}

.shop-map-frame .leaflet-control-container {
  position: relative;
  z-index: 800;
}

.shop-map-frame .leaflet-control-container,
.shop-map-frame .leaflet-pane {
  font-family: "Zen Kaku Gothic New", system-ui, sans-serif;
}

.shop-map-frame .leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.shop-map-frame .leaflet-popup-content {
  margin: 12px 14px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
}

.shop-map-pin {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: var(--vermilion);
  box-shadow: 0 6px 18px rgba(36, 35, 31, 0.28);
}

.shop-map-pin span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--white);
}

.shop-list {
  border-top: 1px solid var(--line);
}

.shop-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.shop-place span {
  display: block;
  margin-bottom: 6px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 700;
}

.shop-place h3 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.45;
}

.shop-detail {
  display: grid;
  gap: 8px;
  margin: 0;
}

.shop-detail div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
}

.shop-detail dt {
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
}

.shop-detail dd {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.shop-row a {
  min-width: 94px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.section-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.menu {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(320px, 0.92fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  background: var(--white);
}

.menu-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.menu-image img {
  aspect-ratio: 4 / 5.35;
  object-fit: cover;
}

.menu-copy > p {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.menu-list {
  margin: 0 0 32px;
}

.menu-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.menu-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.menu-list dt {
  font-weight: 700;
  color: var(--coffee);
}

.menu-list dd {
  margin: 0;
  color: var(--muted);
}

.menu-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.56fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  padding: clamp(54px, 8vw, 120px) var(--gutter);
}

.menu-page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 600;
  line-height: 1.22;
}

.menu-page-hero p:not(.admin-label) {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.menu-page-hero img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.menu-page-section {
  padding-top: clamp(64px, 8vw, 110px);
}

.all-menu-section {
  background: var(--white);
}

.menu-filter-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -72px;
  margin-bottom: 30px;
}

.menu-filter-row label {
  display: grid;
  gap: 8px;
  min-width: min(280px, 100%);
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
}

.menu-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.menu-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.menu-card img {
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  background: var(--sage-soft);
}

.menu-card div {
  padding: 22px;
}

.menu-card span {
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}

.menu-card h3 {
  margin: 8px 0 8px;
  font-family: "Noto Serif JP", serif;
  font-size: 23px;
  line-height: 1.45;
}

.menu-card p {
  margin: 0;
  color: var(--muted);
}

.menu-card .menu-price {
  margin-bottom: 8px;
  color: var(--coffee);
  font-weight: 700;
}

.page-heading {
  padding-bottom: clamp(28px, 4vw, 56px);
}

.page-heading h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 600;
  line-height: 1.2;
}

.page-heading > p:not(.admin-label) {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.compact-section {
  padding-top: 32px;
}

.section-lead {
  max-width: 720px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 17px;
}

.account-grid,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.48fr);
  gap: 24px;
  align-items: start;
}

.account-panel,
.checkout-panel,
.product-card,
.coupon-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.account-panel {
  display: grid;
  gap: 16px;
}

.account-actions,
.oauth-buttons {
  display: grid;
  gap: 10px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.oauth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.oauth-button:hover {
  border-color: var(--ink);
}

.oauth-button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.member-card-panel {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 184px;
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(125, 151, 126, 0.16), transparent 48%),
    var(--white);
  overflow: hidden;
}

.member-card-panel span {
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}

.member-card-panel h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
}

.member-card-panel p {
  color: var(--muted);
}

.member-card-panel > strong {
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: rgba(36, 35, 31, 0.1);
  font-family: "Noto Serif JP", serif;
  font-size: 86px;
  line-height: 0.8;
}

.payment-management {
  display: grid;
  gap: 12px;
}

.payment-management h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 600;
}

.member-order-row {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.member-order-row div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.member-order-row p,
.member-order-row small {
  margin: 0;
  color: var(--muted);
}

.member-actions {
  justify-content: flex-start;
}

.account-panel h2,
.checkout-panel h2,
.coupon-card h3,
.product-card h3 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  line-height: 1.35;
}

.account-panel p,
.coupon-card p,
.product-card p {
  margin: 0;
  color: var(--muted);
}

.coupon-grid,
.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.coupon-card,
.product-card,
.checkout-panel {
  display: grid;
  gap: 14px;
}

.coupon-card span {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}

.coupon-card.is-used {
  opacity: 0.58;
}

.coupon-present {
  display: grid;
  gap: 4px;
  margin: 4px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}

.coupon-present small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.coupon-present b {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 8vw, 42px);
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.coupon-use-check {
  margin-top: 4px;
}

.product-card strong,
.checkout-total {
  color: var(--coffee);
  font-size: 20px;
  font-weight: 700;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row button {
  border: 0;
  background: transparent;
  color: var(--vermilion);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.embedded-checkout {
  min-height: 0;
}

.pass-panel {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.pass-state-card,
.coffee-pass-card,
.pass-action-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.pass-state-card {
  display: grid;
  gap: 14px;
}

.pass-state-card span,
.coffee-pass-card span {
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}

.pass-state-card h2,
.coffee-pass-card h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.25;
}

.pass-state-card p,
.coffee-pass-card p,
.pass-action-panel p {
  margin: 0;
  color: var(--muted);
}

.coffee-pass-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  min-height: 240px;
  border-color: var(--ink);
  background:
    linear-gradient(135deg, rgba(111, 120, 104, 0.16), transparent 52%),
    var(--white);
}

.coffee-pass-card > strong {
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
}

.coffee-pass-card.is-authenticated > strong {
  background: var(--sage);
}

.coffee-pass-card.is-used {
  opacity: 0.72;
}

.pass-action-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.calendar-section {
  background:
    linear-gradient(180deg, rgba(231, 237, 225, 0.44), transparent 42%),
    var(--paper);
}

.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.calendar-toolbar label,
.admin-panel label {
  display: grid;
  gap: 8px;
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

select,
input {
  min-height: 44px;
  padding: 9px 12px;
}

textarea {
  resize: vertical;
  padding: 11px 12px;
  line-height: 1.65;
}

.calendar-toolbar select {
  min-width: min(320px, 100%);
}

.calendar-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.location-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
  align-items: center;
}

.location-tools p {
  max-width: 420px;
  text-align: right;
}

.public-calendar {
  margin: 18px 0 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.public-month-controls {
  margin-bottom: 12px;
}

.public-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.public-month-day {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.public-month-day.has-detail {
  cursor: pointer;
}

.public-month-day.has-detail:hover,
.public-month-day.has-detail:focus-visible {
  z-index: 5;
  border-color: rgba(85, 66, 56, 0.24);
  background: var(--white);
  transform: translateY(-1px);
}

.public-month-day.is-muted {
  background: rgba(255, 255, 255, 0.58);
  color: rgba(118, 113, 104, 0.5);
}

.public-month-day.is-closed {
  background: #f3eeeb;
  border-color: #ddd2cb;
}

.public-day-number {
  display: block;
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.public-month-day em {
  position: absolute;
  right: 4px;
  top: 4px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.public-day-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 20;
  display: grid;
  gap: 4px;
  width: max-content;
  max-width: min(260px, 70vw);
  padding: 10px 12px;
  border: 1px solid rgba(42, 38, 32, 0.14);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(42, 38, 32, 0.16);
  font-size: 12px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.public-day-tooltip strong,
.public-day-tooltip span {
  display: block;
}

.public-day-tooltip strong {
  color: var(--white);
  font-size: 13px;
}

.public-month-day.has-detail:hover .public-day-tooltip,
.public-month-day.has-detail:focus-visible .public-day-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.calendar-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.calendar-card,
.calendar-empty {
  min-height: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.calendar-empty {
  grid-column: 1 / -1;
  min-height: 150px;
  color: var(--muted);
}

.calendar-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.calendar-date time {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.calendar-type {
  padding: 5px 10px 6px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.calendar-type.closed {
  background: #eef1eb;
  color: var(--vermilion);
}

.calendar-type.short {
  background: #f0eadf;
  color: var(--gold);
}

.calendar-type.event {
  background: #eef1eb;
  color: #6f7868;
}

.calendar-card h3 {
  margin: 0 0 8px;
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  line-height: 1.45;
}

.calendar-meta,
.calendar-card p {
  margin: 0;
  color: var(--muted);
}

.calendar-meta {
  display: grid;
  gap: 2px;
  margin-bottom: 8px;
  font-size: 13px;
}

.news {
  background:
    linear-gradient(90deg, rgba(231, 237, 225, 0.68), transparent 34%),
    var(--paper);
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.news-list article {
  min-height: 260px;
  padding: 28px;
  background: var(--paper);
}

.news-list time {
  color: var(--sage);
  font-size: 13px;
  font-weight: 700;
}

.news-list h3 {
  margin: 18px 0 12px;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 600;
}

.news-list p {
  margin: 0;
  color: var(--muted);
}

.recruit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.64fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}

.recruit > div:first-child > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.recruit-panel {
  padding: 34px;
  background: var(--sage-soft);
  border: 1px solid #d7ddd0;
  border-radius: 8px;
}

.recruit-panel h3 {
  margin: 0 0 18px;
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
}

.recruit-panel ul {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding-left: 1.2em;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px var(--gutter);
  background: var(--ink);
  color: var(--paper);
}

.site-footer strong {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.admin-entry {
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
}

.admin-entry:hover,
.admin-entry:focus-visible {
  color: var(--paper);
}

.admin-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(36, 35, 31, 0.56);
}

.admin-backdrop[hidden] {
  display: none;
}

.admin-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(860px, calc(100vh - 40px));
  overflow: auto;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.3);
}

.admin-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.admin-label {
  margin: 0 0 8px;
  color: var(--vermilion);
  font-size: 13px;
  font-weight: 700;
}

.admin-panel h2,
.admin-panel h3 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  line-height: 1.3;
}

.admin-panel h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.admin-login > p:not(.admin-label),
.admin-error {
  color: var(--muted);
}

.admin-password-form {
  display: grid;
  grid-template-columns: minmax(180px, 320px) auto;
  gap: 14px;
  align-items: end;
  margin-top: 26px;
}

.admin-error {
  grid-column: 1 / -1;
  min-height: 1.6em;
  margin: 0;
  color: var(--vermilion);
  font-size: 13px;
}

.admin-heading,
.admin-saved-heading,
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--coffee);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.secondary-button.danger {
  color: var(--vermilion);
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}

.admin-tab {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.admin-tab.is-active {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.is-active {
  display: block;
}

.calendar-admin-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(360px, 0.72fr);
  gap: 22px;
  margin-top: 24px;
}

.calendar-editor,
.calendar-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.calendar-editor {
  padding: 20px;
}

.month-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.month-controls h3 {
  font-size: 24px;
  text-align: center;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.month-weekday {
  padding: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.month-day {
  position: relative;
  min-height: 68px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.month-day:hover,
.month-day:focus-visible {
  border-color: var(--sage);
}

.month-day.is-muted {
  color: rgba(118, 113, 104, 0.46);
  background: rgba(255, 255, 255, 0.58);
}

.month-day.is-selected {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.month-day em {
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.selected-date {
  padding: 13px 16px;
  border-radius: 6px;
  background: var(--sage-soft);
  color: var(--coffee);
  font-weight: 700;
}

.calendar-form {
  display: grid;
  gap: 18px;
  margin: 24px 0 34px;
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.form-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-label {
  align-content: end;
  grid-template-columns: auto 1fr;
  gap: 10px;
  min-height: 72px;
}

.check-label input {
  width: 18px;
  min-height: 18px;
}

.menu-admin-form input[type="file"] {
  padding: 9px 12px;
}

.checkbox-group {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.checkbox-group legend {
  padding: 0 6px;
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
}

.store-checkboxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.store-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.store-check input {
  width: 16px;
  min-height: 16px;
}

.image-library {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.image-library .admin-saved-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.image-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.image-thumb {
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-sale-list {
  font-size: 13px;
  line-height: 1.55;
}

.admin-saved {
  display: grid;
  gap: 16px;
}

.admin-items {
  display: grid;
  gap: 10px;
}

.admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.admin-item h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.admin-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
  align-items: start;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    padding-top: 2px;
  }

  .header-action {
    min-height: 40px;
    padding: 9px 14px;
  }

  .login-action {
    width: auto;
    min-width: 0;
    padding: 9px 14px;
  }

  .member-menu {
    justify-self: end;
  }

  .hero,
  .menu,
  .recruit {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-left: 0;
  }

  .vertical-word {
    position: static;
    writing-mode: horizontal-tb;
    margin: 0 0 10px;
  }

  .hero-media {
    min-height: 460px;
  }

  .shop-row {
    grid-template-columns: minmax(170px, 0.4fr) minmax(0, 1fr);
  }

  .shop-row > a {
    grid-column: 2;
    width: fit-content;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .calendar-list,
  .menu-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid,
  .calendar-admin-layout,
  .account-grid,
  .checkout-layout,
  .menu-page-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: sticky;
    gap: 14px;
  }

  .brand {
    font-size: 16px;
  }

  .site-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .site-nav .nav-icon {
    width: auto;
    height: auto;
    flex: 0 0 auto;
  }

  .member-menu-panel {
    position: fixed;
    top: 70px;
    right: 14px;
    left: 14px;
    width: auto;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-media {
    min-height: 390px;
  }

  .hero-note {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }

  .shop-row,
  .menu-list div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .shop-map-frame {
    height: 320px;
  }

  .shop-detail div {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
  }

  .shop-row a {
    grid-column: auto;
    width: fit-content;
  }

  .news-list article,
  .recruit-panel {
    padding: 24px 20px;
  }

  .menu-page-hero {
    grid-template-columns: 1fr;
  }

  .menu-page-hero h1 {
    font-size: 40px;
  }

  .menu-filter-row {
    justify-content: stretch;
    margin-top: 0;
  }

  .calendar-toolbar,
  .admin-heading,
  .admin-saved-heading,
  .form-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-list,
  .menu-card-grid,
  .coupon-grid,
  .product-list,
  .form-grid,
  .form-grid.compact,
  .account-grid,
  .checkout-layout,
  .admin-password-form,
  .admin-item {
    grid-template-columns: 1fr;
  }

  .cart-row {
    grid-template-columns: 1fr;
  }

  .member-order-row div,
  .member-actions,
  .pass-action-panel,
  .coffee-pass-card {
    align-items: stretch;
    flex-direction: column;
  }

  .coffee-pass-card {
    display: flex;
  }

  .store-checkboxes {
    grid-template-columns: 1fr;
  }

  .public-calendar {
    padding: 14px;
    overflow-x: auto;
  }

  .public-month-grid {
    min-width: 560px;
  }

  .public-month-day {
    min-height: 44px;
  }

  .admin-tabs {
    overflow-x: auto;
  }

  .admin-panel {
    padding: 24px 18px;
  }

  .month-day {
    min-height: 54px;
    padding: 6px;
  }

  .admin-item-actions {
    flex-wrap: wrap;
  }

  .site-footer {
    flex-direction: column;
  }
}
