.bookcafe-page {
  --bookcafe-brown: #563f35;
  --bookcafe-pink: #cd4776;
  --bookcafe-blue: #c8dff2;
  --bookcafe-cream: #fff9e9;
  --bookcafe-paper: #fffdf5;
  --bookcafe-line: #cfb69c;
  /* Match the artwork scale used by NEWS and the other page headings. */
  --bookcafe-character-base: clamp(62px, 6.1vw, 102px);
  color: var(--bookcafe-brown);
  background: var(--bookcafe-cream);
}

.bookcafe-page:not(.is-site-motion-ready) .fixed-entry-button {
  visibility: hidden;
  pointer-events: none;
}

.bookcafe-page .bookcafe-hero picture {
  display: block;
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
}

.bookcafe-page .bookcafe-hero {
  background: #c7def3;
}

.bookcafe-page .bookcafe-hero img {
  max-width: 1160px;
}

.bookcafe-container {
  width: min(100% - 48px, 1160px);
  margin-inline: auto;
}

.bookcafe-page :is(.bookcafe-overview-section, .bookcafe-cafe-section,
  .bookcafe-menu-section, .bookcafe-goods-section, .bookcafe-store-section) {
  padding: 64px 0;
  font-size: 16px;
  line-height: 1.85;
}

.bookcafe-page :is(#bookcafe-cafes, #bookcafe-menu, #bookcafe-goods,
  #bookcafe-stores, #bookcafe-area-nav, #bookcafe-page-nav, .bookcafe-store-group) {
  scroll-margin-top: 150px;
}

.bookcafe-page :is(.bookcafe-page-nav, .bookcafe-area-nav, .bookcafe-links,
  .bookcafe-sales-links) a, .bookcafe-area-return {
  transition: background-color 180ms ease, border-color 180ms ease;
}

.bookcafe-page :is(.bookcafe-page-nav, .bookcafe-area-nav, .bookcafe-links,
  .bookcafe-sales-links) a:focus-visible, .bookcafe-area-return:focus-visible {
  outline: 3px solid #855435;
  outline-offset: 4px;
}

.bookcafe-page :is(.bookcafe-nav-icon, .bookcafe-map-icon) {
  flex: 0 0 auto;
  display: block;
  width: 24px;
  height: 24px;
  overflow: visible;
  pointer-events: none;
}

.bookcafe-page .bookcafe-nav-icon {
  width: 32px;
  height: 32px;
}

.bookcafe-nav-art {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px;
  height: 40px;
}

.bookcafe-page .bookcafe-nav-icon--image {
  width: auto;
  max-width: 56px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

.bookcafe-page .bookcafe-nav-icon--cup {
  max-width: 50.4px;
  max-height: 36px;
}

.bookcafe-page .bookcafe-map-icon {
  width: 36px;
  height: auto;
  aspect-ratio: 40 / 36;
}

.bookcafe-nav-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  text-wrap: balance;
}

.bookcafe-nav-status {
  display: inline-block;
  max-width: 100%;
  margin-top: 2px;
  padding: 0 8px;
  color: var(--bookcafe-brown);
  background: #fbe5ed;
  border: 1px solid #cfb69c;
  border-radius: 4px;
  box-shadow: 0 1px 0 #ead4c2;
  font-size: 12px;
  line-height: 1.4;
}

.bookcafe-map-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bookcafe-page .bookcafe-overview-section {
  padding-top: 42px;
  padding-bottom: 42px;
  background-color: #dcecf8;
  background-image:
    linear-gradient(90deg, #ffffff70 50%, transparent 50%),
    linear-gradient(#ffffff70 50%, transparent 50%);
  background-size: 36px 36px;
}

.bookcafe-overview-panel {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: center;
  padding: 38px 44px;
  background: var(--bookcafe-paper);
  border: 1px solid var(--bookcafe-line);
  border-radius: 28px;
  box-shadow: inset 0 0 0 6px var(--bookcafe-paper),
    inset 0 0 0 7px #eadbc8, 0 8px 22px #79553c12;
}

.bookcafe-overview-art {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.bookcafe-overview-logo {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-inline: auto;
}

.bookcafe-page .bookcafe-overview-decoration {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 200px;
  max-width: 100%;
}

.bookcafe-overview-decoration img {
  flex: var(--bookcafe-prop-width) 1 0px;
  display: block;
  width: 0;
  min-width: 0;
  max-width: none;
  height: auto;
  object-fit: contain;
}

.bookcafe-overview-body p {
  margin: 12px 0 0;
}

.bookcafe-overview-body p:first-child {
  margin-top: 0;
}

.bookcafe-overview-copy {
  text-align: left;
  word-break: keep-all;
  overflow-wrap: anywhere;
}


.bookcafe-section-title {
  margin: 0;
  color: var(--bookcafe-brown);
  font-size: clamp(25px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.bookcafe-section-heading {
  margin-bottom: 32px;
  text-align: center;
}

.bookcafe-title-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}

.bookcafe-title-row > .bookcafe-section-title {
  min-width: 0;
  padding: 14px 28px;
  background: var(--bookcafe-paper);
  border: 2px solid #b99b7e;
  border-radius: 18px;
  box-shadow: inset 0 0 0 4px var(--bookcafe-paper),
    inset 0 0 0 5px #ead8bd, 0 5px 0 #d9c0a4;
}

.bookcafe-page .bookcafe-heading-character {
  flex: 0 0 auto;
  display: block;
  width: calc(var(--bookcafe-character-base) * var(--bookcafe-character-width) / 157);
  max-width: none;
  height: auto;
  margin: 0;
  border-radius: 0;
  filter: none;
  object-fit: contain;
}

.bookcafe-heading-character--cafe {
  --bookcafe-character-width: 335;
}

.bookcafe-heading-character--goods {
  --bookcafe-character-width: 333;
}

.bookcafe-heading-character--stores {
  --bookcafe-character-width: 337;
}

.bookcafe-title-part {
  display: inline-block;
  white-space: nowrap;
}

.bookcafe-section-lead {
  display: inline-block;
  margin: 18px 0 0;
  padding: 4px 14px;
  background: var(--bookcafe-cream);
  border-radius: 14px;
}

.bookcafe-page-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-inline: auto;
  margin-top: 28px;
}

.bookcafe-page-nav a {
  --bookcafe-bookmark: #f9d4e1;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  min-height: 80px;
  padding: 4px 10px 8px;
  color: var(--bookcafe-brown);
  background: transparent;
  border: 0;
  border-radius: 10px 10px 0 0;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.5;
  text-align: center;
}

.bookcafe-page-nav a:nth-child(2) {
  --bookcafe-bookmark: #d7eaf8;
}

.bookcafe-page-nav a:nth-child(3) {
  --bookcafe-bookmark: #fff0c3;
}

.bookcafe-page-nav a:nth-child(4) {
  --bookcafe-bookmark: #f8e0e8;
}

.bookcafe-page-nav a::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: var(--bookcafe-bookmark);
  border: 1px solid #c9b3a2;
  border-radius: 10px 10px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 10px), 0 100%);
}

.bookcafe-page-nav a::after {
  content: none;
}

.bookcafe-page-nav a:hover {
  background: transparent;
}

.bookcafe-page-nav a:hover::before {
  background: #fff4f8;
  border-color: var(--bookcafe-pink);
}

.bookcafe-page .bookcafe-cafe-section {
  background: var(--bookcafe-cream);
}

.bookcafe-cafe-grid,
.bookcafe-goods-grid,
.bookcafe-store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.bookcafe-cafe-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 64px 30px 30px;
  background: var(--bookcafe-paper);
  border: 1px solid var(--bookcafe-line);
  border-radius: 24px;
  box-shadow: 0 8px 22px #79553c14;
}

.bookcafe-cafe-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 28px;
  content: "";
  background: repeating-linear-gradient(90deg, #dc6e95 0 28px, #fffdf5 28px 56px);
  border-radius: 23px 23px 0 0;
  pointer-events: none;
}

.bookcafe-cafe-card::after {
  position: absolute;
  top: 28px;
  right: 0;
  left: 0;
  height: 14px;
  content: "";
  background:
    radial-gradient(ellipse 14px 12px at 14px 0, #dc6e95 98%, transparent 100%) 0 0 / 56px 14px repeat-x,
    radial-gradient(ellipse 14px 12px at 14px 0, #fffdf5 98%, transparent 100%) 28px 0 / 56px 14px repeat-x;
  filter: drop-shadow(0 2px 0 #cfb69c);
  pointer-events: none;
}

.bookcafe-cafe-card--unomachi,
#bookcafe-menu-unomachi,
.bookcafe-bookmark-link--pink {
  --bookcafe-shop-color: #f8cfdd;
  --bookcafe-shop-paper: #fff0f5;
  --bookcafe-shop-line: #dca2b7;
}

.bookcafe-cafe-card--vickys,
#bookcafe-menu-vickys,
.bookcafe-bookmark-link--blue {
  --bookcafe-shop-color: #cfe6f4;
  --bookcafe-shop-paper: #eef7fc;
  --bookcafe-shop-line: #a2c6db;
}

.bookcafe-card-label {
  align-self: flex-start;
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 16px;
  color: var(--bookcafe-brown);
  background: var(--bookcafe-shop-color, #e6f2fb);
  border-radius: 30px;
  font-weight: 800;
  line-height: 1.5;
}

.bookcafe-card-title {
  margin: 0;
  color: var(--bookcafe-brown);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.6;
}

.bookcafe-bookstore {
  margin: 4px 0 0;
  color: #75665d;
}

.bookcafe-period {
  margin: 22px 0;
  padding: 16px 18px;
  color: var(--bookcafe-brown);
  background: #fff2d9;
  border: 1px solid #ecd5b0;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.75;
}

.bookcafe-period-label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.bookcafe-period p {
  margin: 0;
}

.bookcafe-period time {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
}

.bookcafe-address {
  margin: 0;
  font-style: normal;
  overflow-wrap: anywhere;
}

.bookcafe-contact {
  margin: 8px 0 0;
}

.bookcafe-contact a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bookcafe-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 22px;
  margin-top: auto;
}

.bookcafe-page .bookcafe-card-decoration {
  flex: 0 0 auto;
  display: block;
  width: 64px;
  height: auto;
  margin-left: auto;
}

.bookcafe-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 8px 16px;
  color: var(--bookcafe-brown);
  background: #fbe5ed;
  border: 1px solid #b99b7e;
  border-radius: 10px;
  box-shadow: 0 2px 0 #ead4c2;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.bookcafe-links a::after {
  content: none;
}

.bookcafe-links a:hover {
  background: #f7d5e2;
  border-color: #a38164;
}

.bookcafe-page .bookcafe-menu-section {
  background-color: #dfedf6;
  background-image:
    linear-gradient(90deg, #ffffff70 50%, transparent 50%),
    linear-gradient(#ffffff70 50%, transparent 50%);
  background-size: 36px 36px;
}

.bookcafe-menu-heading {
  margin: 0 auto 30px;
  text-align: center;
}

.bookcafe-page .bookcafe-menu-heading h2 {
  display: block;
  margin: 0;
  color: var(--bookcafe-brown);
  font-size: clamp(25px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.bookcafe-page .bookcafe-menu-heading h2::before,
.bookcafe-page .bookcafe-menu-heading h2::after {
  content: none;
}

.bookcafe-page .bookcafe-menu-logo {
  width: 240px;
  max-width: 80%;
  height: auto;
  margin: 0 auto 14px;
}

.bookcafe-menu-heading > p {
  margin: 12px 0 0;
  color: var(--bookcafe-brown);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-wrap: balance;
}

.bookcafe-menu-benefit-link {
  display: inline-block;
  max-width: 100%;
  margin-top: 16px;
  padding: 6px 16px;
  color: #83405a;
  background: #fff4f7;
  border: 1px solid #dab4ba;
  border-radius: 6px;
  box-shadow: 0 2px 0 #dacac0;
  font-weight: 700;
  line-height: 1.65;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.bookcafe-menu-benefit-link:hover {
  background: #fbe5ed;
  text-decoration: underline;
}

.bookcafe-menu-book {
  padding: 0 38px 34px;
  background: var(--bookcafe-paper);
  border: 1px solid #c5ae95;
  border-radius: 20px 20px 8px 8px;
  box-shadow: 0 5px 0 #eee0ca, 0 6px 0 #c5ae95, 0 12px 24px #71523d12;
}

.bookcafe-menu-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto 28px;
}

.bookcafe-menu-tabs a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  min-height: 96px;
  padding: 14px 16px 20px;
  color: var(--bookcafe-brown);
  background: #f6e7ed;
  border: 1px solid #d4b6bd;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.bookcafe-menu-tabs a:last-child {
  background: #e7f0f5;
  border-color: #bbccd5;
}

.bookcafe-menu-tabs a::after {
  position: absolute;
  right: 18px;
  bottom: 8px;
  left: 18px;
  height: 3px;
  content: "";
  background: transparent;
  border-radius: 3px;
}

.bookcafe-menu-tabs a[aria-selected="true"] {
  background: #f8cfdd;
  border-color: #b17c89;
}

.bookcafe-menu-tabs a:last-child[aria-selected="true"] {
  background: #cfe6f4;
  border-color: #809eae;
}

.bookcafe-menu-tabs a[aria-selected="true"]::after {
  background: #9b5068;
}

.bookcafe-menu-tabs a:last-child[aria-selected="true"]::after {
  background: #4c7387;
}

.bookcafe-menu-tabs a:hover {
  background: #f9dce6;
}

.bookcafe-menu-tabs a:last-child:hover {
  background: #dbeaf4;
}

.bookcafe-menu-tab-name-part {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}

.bookcafe-menu-tab-region {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.bookcafe-menu-shop,
.bookcafe-menu-gifts {
  scroll-margin-top: 150px;
}

.bookcafe-menu-shop[hidden] {
  display: none;
}

.bookcafe-menu-shop + .bookcafe-menu-shop:not([hidden]) {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid #d8c6b2;
}

.bookcafe-menu-shop[hidden] + .bookcafe-menu-shop {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.bookcafe-menu-shop-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--bookcafe-shop-line, #d8c6b2);
}

.bookcafe-menu-shop-heading > div {
  min-width: 0;
}

.bookcafe-menu-shop-region {
  display: table;
  margin: 0 0 8px;
  padding: 2px 12px;
  color: var(--bookcafe-brown);
  background: var(--bookcafe-shop-color, #f8cfdd);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.bookcafe-menu-shop-heading h3 {
  margin: 0;
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* Preserve scripted heading focus without a control-like focus rectangle. */
.bookcafe-menu-shop-heading h3[tabindex="-1"]:focus {
  outline: none;
}

.bookcafe-menu-period {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

.bookcafe-menu-period time {
  display: inline-block;
}

.bookcafe-menu-poster {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  color: var(--bookcafe-brown);
  background: var(--bookcafe-shop-paper, #fff3dd);
  border: 1px solid var(--bookcafe-line);
  border-radius: 8px;
  box-shadow: 0 2px 0 #e3cfb8;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
  text-decoration: none;
  text-underline-offset: 3px;
}

.bookcafe-menu-poster img {
  flex: 0 0 28px;
  display: block;
  width: 28px;
  height: auto;
}

.bookcafe-menu-poster span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bookcafe-menu-poster:hover {
  background: var(--bookcafe-shop-color, #ffe8bd);
  text-decoration: underline;
}

.bookcafe-links .bookcafe-menu-link {
  background: #e8f2f7;
}

.bookcafe-links .bookcafe-menu-link:hover {
  background: #d3e7f2;
}

.bookcafe-menu-category {
  margin-top: 28px;
}

.bookcafe-menu-category--name-safe {
  container: bookcafe-category / inline-size;
}

.bookcafe-menu-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #875d44;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.bookcafe-menu-category-title > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bookcafe-category-art {
  flex: 0 0 36px;
  display: block;
  width: 36px;
  height: auto;
}

.bookcafe-category-art--drink {
  height: 48px;
  object-fit: contain;
}

.bookcafe-menu-category-title::after {
  flex: 1 1 20px;
  min-width: 0;
  height: 2px;
  content: "";
  background: var(--bookcafe-shop-line, #e5d7c5);
}

.bookcafe-dish-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
}

.bookcafe-dish-grid--featured {
  container: bookcafe-featured / inline-size;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.bookcafe-dish-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 780px);
  margin-inline: auto;
}

.bookcafe-dish {
  min-width: 0;
  text-align: center;
}

.bookcafe-dish-grid--featured .bookcafe-dish {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  text-align: left;
}

.bookcafe-dish-photo {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  height: 220px;
  padding: 6px 6px 14px;
  border-radius: 16px;
}

.bookcafe-dish-photo::before {
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: 12px;
  left: 8%;
  height: 46%;
  content: "";
  background: #f7eddc;
  border-radius: 50%;
}

.bookcafe-dish:nth-child(even) .bookcafe-dish-photo::before {
  background: #f7e9e8;
}

.bookcafe-dish-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.bookcafe-dish-body {
  min-width: 0;
  padding-top: 12px;
}

.bookcafe-dish-name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.65;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.bookcafe-dish-character {
  display: block;
  font-size: 16px;
  font-weight: 700;
  text-wrap: balance;
}

.bookcafe-name-unit {
  display: inline-block;
  white-space: nowrap;
  overflow-wrap: normal;
}

.bookcafe-dish-price {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0 4px;
  margin: 6px 0 0;
  color: #a34562;
  font-weight: 800;
  line-height: 1.5;
}

.bookcafe-dish-price strong {
  min-width: 0;
  font-size: 25px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.bookcafe-dish-price span {
  font-size: 13px;
}

.bookcafe-dish-grid--featured .bookcafe-dish-price {
  justify-content: flex-start;
}

.bookcafe-dish-note {
  margin: 6px 0 0;
  color: #786657;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.bookcafe-popcorn {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  width: min(100%, 880px);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid #e5d7c5;
}

.bookcafe-popcorn-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bookcafe-popcorn-photos figure {
  min-width: 0;
  margin: 0;
}

.bookcafe-popcorn-photos figcaption {
  margin-top: 5px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}

.bookcafe-popcorn .bookcafe-dish-price {
  justify-content: flex-start;
}

.bookcafe-menu-disclaimer {
  margin: 28px 0 0;
  color: #786657;
  font-size: 13px;
  line-height: 1.7;
}

.bookcafe-menu-gifts {
  margin-top: 42px;
}

.bookcafe-menu-gifts > h3 {
  margin: 0 0 24px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

.bookcafe-gift-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.bookcafe-gift {
  min-width: 0;
  padding: 24px 26px;
  background: var(--bookcafe-paper);
  border: 1px solid #cbb299;
  border-radius: 16px;
  box-shadow: 0 4px 0 #d8ccbc;
}

.bookcafe-gift-label {
  display: table;
  max-width: 100%;
  margin: -24px auto 16px;
  padding: 7px 18px 11px;
  background: #f7d7e1;
  border-radius: 0 0 4px 4px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.bookcafe-gift--tag .bookcafe-gift-label {
  background: #dcecf5;
}

.bookcafe-gift h4 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

.bookcafe-gift-art {
  display: grid;
  place-items: center;
  height: 205px;
  margin: 18px auto;
}

.bookcafe-gift-art img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.bookcafe-gift--tag .bookcafe-gift-art img {
  max-width: 340px;
}

.bookcafe-gift-copy p {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.bookcafe-gift-copy ul {
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
  color: #786657;
  font-size: 13px;
  line-height: 1.75;
}

.bookcafe-page :is(.bookcafe-menu-benefit-link, .bookcafe-menu-tabs a,
  .bookcafe-menu-poster, .bookcafe-bookmark-link, #bookcafe-page-nav):focus-visible {
  outline: 3px solid #855435;
  outline-offset: 4px;
}

.bookcafe-bookmark-link {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  min-height: 64px;
  padding: 14px 24px;
  color: var(--bookcafe-brown);
  background: var(--bookcafe-shop-paper, #fff3dd);
  border: 1px solid var(--bookcafe-line);
  border-radius: 8px;
  box-shadow: 0 2px 0 #e3cfb8;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.65;
  text-decoration: none;
  text-underline-offset: 4px;
}

.bookcafe-bookmark-link::before {
  position: absolute;
  top: -1px;
  left: 14px;
  width: 12px;
  height: 15px;
  content: "";
  background: var(--bookcafe-shop-color, #e6bdd0);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
}

.bookcafe-bookmark-link img {
  flex: 0 0 42px;
  display: block;
  width: 42px;
  height: auto;
}

.bookcafe-bookmark-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bookcafe-bookmark-link:hover {
  background: var(--bookcafe-shop-color, #ffe8bd);
  text-decoration: underline;
}

.bookcafe-menu-next {
  display: flex;
  width: fit-content;
  margin: 22px auto 0;
}

.bookcafe-menu-next-copy {
  display: block;
  text-align: left;
}

.bookcafe-menu-next-shop {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.bookcafe-menu-next-branch {
  display: inline-block;
  white-space: nowrap;
}

.bookcafe-menu-next-label {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.bookcafe-toc-return {
  margin-top: 28px;
  text-align: center;
}

.bookcafe-page .bookcafe-goods-section {
  padding-top: 24px;
  background: var(--bookcafe-cream);
}

.bookcafe-goods-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bookcafe-line);
  border-bottom: 7px solid #bb9473;
  border-radius: 24px 24px 8px 8px;
  box-shadow: 0 6px 0 #e2caae, 0 12px 24px #79553c0d;
}

.bookcafe-goods-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-column: 1 / -1;
  align-items: stretch;
}

.bookcafe-goods-image {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 24px 26px;
  background: #fff;
}

.bookcafe-goods-image img {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: contain;
}

.bookcafe-goods-card--featured .bookcafe-goods-image {
  min-height: 0;
  padding: 28px;
}

.bookcafe-goods-body {
  flex: 1;
  padding: 24px 30px 30px;
  background: #fff0f4;
}

.bookcafe-goods-card:nth-child(odd) .bookcafe-goods-body {
  background: #eaf4fb;
}

.bookcafe-goods-card--featured .bookcafe-goods-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.bookcafe-goods-body h3 {
  margin: 0;
  color: var(--bookcafe-brown);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.6;
}

.bookcafe-goods-tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 22px 5px 12px;
  color: #704633;
  background: #f5c5d7;
  border-radius: 4px 0 0 4px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.bookcafe-price {
  display: inline-flex;
  align-items: baseline;
  align-self: flex-start;
  gap: 3px;
  max-width: 100%;
  margin: 12px 0 0;
  padding: 6px 16px;
  color: #a5365d;
  background: var(--bookcafe-paper);
  border: 1px solid #d8bea3;
  border-radius: 40px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.5;
}

.bookcafe-price :is(small, span) {
  font-size: 16px;
}

.bookcafe-goods-variants {
  margin: 16px 0 0;
  padding-left: 1.3em;
  font-size: 16px;
}

.bookcafe-goods-note {
  margin: 12px 0 0;
  color: #75665d;
  font-size: 16px;
}

.bookcafe-sales-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 620px);
  margin: 24px auto 0;
}

.bookcafe-sales-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  min-height: 48px;
  padding: 8px 16px;
  color: var(--bookcafe-brown);
  background: #eaf4fb;
  border: 1px solid #b99b7e;
  border-radius: 10px;
  box-shadow: 0 2px 0 #ead4c2;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.bookcafe-sales-links a:last-child {
  background: #fbe5ed;
}

.bookcafe-sales-links a:hover {
  background: #dcecf8;
  border-color: #a38164;
}

.bookcafe-sales-links a:last-child:hover,
.bookcafe-area-return:hover {
  background: #f7d5e2;
  border-color: #a38164;
}

.bookcafe-area-return {
  display: none;
  justify-content: center;
  align-items: center;
  align-self: flex-end;
  max-width: 100%;
  min-height: 48px;
  margin-top: 14px;
  padding: 6px 12px;
  color: var(--bookcafe-brown);
  background: #fbe5ed;
  border: 1px solid #b99b7e;
  border-radius: 8px;
  box-shadow: 0 2px 0 #ead4c2;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}

.bookcafe-page .bookcafe-store-section {
  background: #f9eee6;
}

.bookcafe-area-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.bookcafe-area-nav a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 7px 22px;
  color: var(--bookcafe-brown);
  background: #fbe5ed;
  border: 1px solid #b99b7e;
  border-radius: 8px;
  box-shadow: 0 2px 0 #ead4c2;
  font-weight: 800;
}

.bookcafe-area-nav a:hover {
  background: #f7d5e2;
  border-color: #a38164;
}

.bookcafe-store-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.bookcafe-store-group {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  background: var(--bookcafe-paper);
  border: 1px solid var(--bookcafe-line);
  border-radius: 18px;
  box-shadow: 0 5px 0 #e5d3be;
}

.bookcafe-store-group--wide {
  grid-column: 1 / -1;
}

.bookcafe-store-group > .bookcafe-store-grid {
  flex: 1;
  margin-top: 18px;
  grid-template-columns: 1fr;
}

.bookcafe-store-group--wide > .bookcafe-store-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bookcafe-area-title {
  align-self: flex-start;
  display: inline-flex;
  max-width: calc(100% - 80px);
  margin: 0;
  padding: 8px 18px 14px;
  color: #704633;
  background: #f5c5d7;
  border-radius: 6px 6px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 6px), 0 100%);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.bookcafe-page .bookcafe-region-decoration {
  position: absolute;
  top: 28px;
  right: 24px;
  display: block;
  width: 64px;
  max-width: none;
  height: auto;
  margin: 0;
  border-radius: 0;
  filter: none;
}

.bookcafe-store-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px dashed #dcc6ae;
  border-radius: 0;
  box-shadow: none;
}

.bookcafe-store-card h4 {
  margin: 0 0 12px;
  color: var(--bookcafe-brown);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.65;
}

.bookcafe-page :is(.bookcafe-overview-panel, .bookcafe-cafe-card,
  .bookcafe-menu-book, .bookcafe-goods-card, .bookcafe-store-card) > .site-frame-effect {
  display: none;
}

@media (min-width: 981px) {
  .bookcafe-page-nav {
    width: min(100%, 1000px, calc(100vw - 420px));
  }

  .bookcafe-goods-card:not(.bookcafe-goods-card--featured) .bookcafe-goods-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: start;
    align-items: center;
    gap: 8px 16px;
    padding: 16px 20px;
  }

  .bookcafe-goods-card:not(.bookcafe-goods-card--featured) .bookcafe-goods-tag {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin: 0;
  }

  .bookcafe-goods-card:not(.bookcafe-goods-card--featured) .bookcafe-goods-note {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin: 0;
    font-size: 14px;
  }

  .bookcafe-goods-card:not(.bookcafe-goods-card--featured) .bookcafe-goods-body h3 {
    grid-column: 1;
    grid-row: 2;
    font-size: 22px;
    line-height: 1.5;
    text-wrap: balance;
  }

  .bookcafe-goods-card:not(.bookcafe-goods-card--featured) .bookcafe-goods-body h3 br {
    display: none;
  }

  .bookcafe-goods-card:not(.bookcafe-goods-card--featured) .bookcafe-price {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    margin: 0;
    padding: 6px 12px;
    font-size: 24px;
    white-space: nowrap;
  }

  .bookcafe-goods-card:not(.bookcafe-goods-card--featured) .bookcafe-price span {
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  .bookcafe-price {
    flex-wrap: wrap;
  }

  .bookcafe-price span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .bookcafe-page {
    --bookcafe-character-base: 58px;
  }

  .bookcafe-page-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bookcafe-overview-panel {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    padding: 28px;
  }

  .bookcafe-page-nav a {
    padding-inline: 14px;
  }

  .bookcafe-cafe-card {
    padding: 60px 24px 24px;
  }

  .bookcafe-card-title {
    font-size: 22px;
  }

  .bookcafe-menu-book {
    padding-inline: 26px;
  }

  .bookcafe-dish-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bookcafe-dish-grid--featured .bookcafe-dish {
    display: block;
    text-align: center;
  }

  .bookcafe-dish-grid--featured .bookcafe-dish-price {
    justify-content: center;
  }

  .bookcafe-menu-tabs a {
    font-size: 18px;
  }

  .bookcafe-gift {
    padding-inline: 20px;
  }

  .bookcafe-goods-body {
    padding: 22px;
  }

  .bookcafe-goods-image {
    min-height: 230px;
  }

  .bookcafe-goods-body h3 {
    font-size: 21px;
  }
}

@media (max-width: 640px) {
  .bookcafe-page {
    --bookcafe-character-base: 42px;
  }

  .bookcafe-container {
    width: calc(100% - 32px);
  }

  .bookcafe-page :is(.bookcafe-overview-section, .bookcafe-cafe-section,
    .bookcafe-menu-section, .bookcafe-goods-section, .bookcafe-store-section) {
    padding-block: 40px;
  }

  .bookcafe-page :is(#bookcafe-cafes, #bookcafe-menu, #bookcafe-goods,
    #bookcafe-stores, #bookcafe-area-nav, #bookcafe-page-nav, .bookcafe-store-group) {
    scroll-margin-top: 100px;
  }

  .bookcafe-overview-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 22px;
    border-radius: 22px;
  }

  .bookcafe-overview-logo {
    max-width: 230px;
  }

  .bookcafe-overview-body {
    text-align: center;
  }

  .bookcafe-page-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
  }

  .bookcafe-page-nav a {
    flex-direction: column;
    justify-content: flex-start;
    min-height: 104px;
    padding: 4px 10px 8px;
    gap: 4px;
    text-align: center;
  }

  .bookcafe-nav-label {
    min-height: 3em;
  }

  .bookcafe-nav-label-part {
    display: block;
  }

  .bookcafe-title-part,
  .bookcafe-period time {
    white-space: normal;
  }

  .bookcafe-section-heading {
    margin-bottom: 24px;
  }

  .bookcafe-title-row {
    flex-direction: column;
    gap: 8px;
  }

  .bookcafe-title-row > .bookcafe-section-title {
    max-width: 100%;
    padding: 12px 18px;
    border-radius: 14px;
  }

  .bookcafe-cafe-grid,
  .bookcafe-goods-grid,
  .bookcafe-store-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bookcafe-cafe-card {
    padding: 60px 22px 24px;
  }

  .bookcafe-card-title {
    font-size: 23px;
  }

  .bookcafe-period {
    padding: 14px;
    margin-block: 18px;
  }

  .bookcafe-links a {
    min-height: 48px;
  }

  .bookcafe-page .bookcafe-menu-logo {
    width: 210px;
  }

  .bookcafe-menu-heading {
    margin-bottom: 24px;
  }

  .bookcafe-menu-heading > p {
    font-size: 15px;
    line-height: 1.75;
  }

  .bookcafe-menu-benefit-link {
    padding: 8px 12px;
    font-size: 14px;
  }

  .bookcafe-menu-book {
    padding: 0 14px 24px;
    border-radius: 14px 14px 6px 6px;
  }

  .bookcafe-menu-tabs {
    gap: 8px;
    margin-bottom: 24px;
  }

  .bookcafe-menu-tabs a {
    min-height: 100px;
    padding: 10px 8px 18px;
    font-size: 16px;
  }

  .bookcafe-menu-tab-region {
    font-size: 12px;
  }

  .bookcafe-menu-shop,
  .bookcafe-menu-gifts {
    scroll-margin-top: 100px;
  }

  .bookcafe-menu-shop-heading {
    gap: 14px;
    padding-bottom: 20px;
  }

  .bookcafe-menu-shop-heading h3 {
    font-size: 21px;
  }

  .bookcafe-menu-period {
    font-size: 14px;
  }

  .bookcafe-menu-poster {
    width: 100%;
  }

  .bookcafe-menu-category {
    margin-top: 24px;
  }

  .bookcafe-menu-category-title {
    gap: 10px;
    margin-bottom: 14px;
    font-size: 17px;
  }

  .bookcafe-dish-grid,
  .bookcafe-dish-grid--featured {
    gap: 24px 12px;
  }

  .bookcafe-dish-photo {
    height: clamp(145px, 36vw, 210px);
    padding-inline: 2px;
  }

  .bookcafe-menu-category--name-safe .bookcafe-dish-grid {
    column-gap: 10px;
  }

  .bookcafe-dish-grid--three {
    gap: 20px 8px;
  }

  .bookcafe-dish-grid--three .bookcafe-dish-photo {
    height: clamp(160px, 34vw, 210px);
  }

  .bookcafe-dish-body {
    padding-top: 8px;
  }

  .bookcafe-dish-name,
  .bookcafe-dish-character {
    font-size: 16px;
  }

  .bookcafe-dish-price {
    gap: 0 3px;
    margin-top: 5px;
  }

  .bookcafe-dish-price strong {
    font-size: 22px;
  }

  .bookcafe-dish-price span {
    font-size: 12px;
  }

  .bookcafe-dish-note {
    font-size: 13px;
  }

  .bookcafe-popcorn {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    text-align: center;
  }

  .bookcafe-popcorn-photos {
    gap: 12px;
  }

  .bookcafe-popcorn .bookcafe-dish-price {
    justify-content: center;
  }

  .bookcafe-menu-disclaimer {
    margin-top: 24px;
    font-size: 12px;
  }

  .bookcafe-menu-gifts {
    margin-top: 34px;
  }

  .bookcafe-menu-gifts > h3 {
    margin-bottom: 20px;
    font-size: 23px;
  }

  .bookcafe-gift-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bookcafe-gift {
    padding: 22px 20px;
  }

  .bookcafe-gift-label {
    margin-top: -22px;
  }

  .bookcafe-gift h4 {
    font-size: 21px;
  }

  .bookcafe-gift-art {
    height: 180px;
    margin-block: 16px;
  }

  .bookcafe-gift--stickers .bookcafe-gift-art,
  .bookcafe-gift--stickers .bookcafe-gift-art img {
    height: auto;
  }

  .bookcafe-bookmark-link {
    gap: 10px;
    padding-inline: 16px;
  }

  .bookcafe-page .bookcafe-goods-section {
    padding-top: 8px;
  }

  .bookcafe-goods-card--featured {
    grid-template-columns: 1fr;
  }

  .bookcafe-goods-image,
  .bookcafe-goods-card--featured .bookcafe-goods-image {
    min-height: 0;
    padding: 22px 18px;
  }

  .bookcafe-goods-body {
    padding: 22px;
  }

  .bookcafe-goods-body h3 {
    font-size: 22px;
  }

  .bookcafe-area-nav {
    gap: 8px;
    margin-bottom: 24px;
  }

  .bookcafe-area-nav a {
    padding-inline: 18px;
  }

  .bookcafe-area-return {
    display: inline-flex;
  }

  .bookcafe-store-card {
    padding: 18px 0 0;
  }

  .bookcafe-store-group {
    padding: 22px;
  }

  .bookcafe-page .bookcafe-region-decoration {
    right: 22px;
    top: 26px;
  }

  .bookcafe-store-groups,
  .bookcafe-store-group--wide > .bookcafe-store-grid {
    grid-template-columns: 1fr;
  }

  .bookcafe-page .bookcafe-store-section {
    padding-bottom: 106px;
  }
}

@media (max-width: 360px) {
  .bookcafe-menu-book {
    padding-inline: 6px;
  }

  .bookcafe-page-nav a {
    padding-inline: 8px;
  }
}

/* Keep character names intact as text grows, without changing the floats. */
@container bookcafe-category (width < 35em) {
  .bookcafe-dish-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container bookcafe-category (width < 17em) {
  .bookcafe-dish-grid--four,
  .bookcafe-dish-grid--featured {
    grid-template-columns: 1fr;
  }
}

@container bookcafe-featured (width < 35em) {
  .bookcafe-dish-grid--featured .bookcafe-dish {
    display: block;
    text-align: center;
  }

  .bookcafe-dish-grid--featured .bookcafe-dish-price {
    justify-content: center;
  }
}

@supports not (container-type: inline-size) {
  .bookcafe-menu-category--name-safe :is(.bookcafe-dish-grid--four,
    .bookcafe-dish-grid--featured) {
    grid-template-columns: 1fr;
  }

  .bookcafe-menu-category--name-safe .bookcafe-dish-grid--featured .bookcafe-dish {
    display: block;
    text-align: center;
  }

  .bookcafe-menu-category--name-safe .bookcafe-dish-grid--featured .bookcafe-dish-price {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bookcafe-page :is(.bookcafe-page-nav, .bookcafe-area-nav, .bookcafe-links,
    .bookcafe-sales-links, .bookcafe-menu-tabs) a,
  .bookcafe-area-return {
    transition: none;
  }
}
