/* 1. Foundation */
:root {
  --red: #cf001c;
  --deep-red: #ac0019;
  --ink: #292522;
  --muted: #766c66;
  --paper: #fff;
  --warm: #f6f3ef;
  --line: #e3dcd6;
  --width: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.9;
}
h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.5;
  letter-spacing: 0.03em;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
.table-scroll:focus-visible {
  outline: 3px solid #165bc6;
  outline-offset: 4px;
}
.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip-link:focus {
  clip-path: none;
  width: auto;
  height: auto;
  z-index: 9999;
  background: white;
  padding: 15px;
  top: 10px;
  left: 10px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 16px;
}
.note {
  font-size: 12px;
  color: var(--muted);
}
.section {
  max-width: var(--width);
  margin-inline: auto;
  padding: 90px 48px;
}
.section-heading h2 {
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 20px;
}
.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 580px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-height: 60px;
  padding: 15px 25px;
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}
.button:hover {
  background: var(--deep-red);
}
.button-light {
  background: white;
  border-color: white;
  color: var(--red);
}
.button-light:hover {
  background: #f5e5e5;
}
.button-outline {
  background: transparent;
  color: var(--red);
}
.button-outline:hover {
  color: #fff;
}
.text-link {
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 45px;
}
.page-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 35px;
  margin-bottom: 45px;
}
.page-heading h1 {
  font-size: clamp(28px, 4vw, 46px);
  overflow-wrap: anywhere;
  margin-bottom: 0;
}
/* 2. Header and navigation */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 102px;
  padding: 22px 4vw;
  border-bottom: 1px solid var(--line);
  background: white;
  position: relative;
  z-index: 10;
}
.brand {
  flex: 0 1 260px;
}
.brand img {
  width: 260px;
}
.menu-button {
  display: flex;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  padding: 12px 9px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  position: relative;
  z-index: 12;
  color: var(--red);
}
.menu-button span {
  width: 28px;
  height: 2px;
  background: currentColor;
  transition:
    transform 0.35s ease,
    opacity 0.2s ease;
  transform-origin: center;
}
.menu-button span:nth-child(2) {
  width: 21px;
  align-self: flex-end;
}
.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(8px) rotate(45deg);
}
.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateX(8px);
}
.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}
body.navigation-open {
  overflow: hidden;
}
.site-navigation {
  position: fixed;
  inset: 102px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  padding: 40px max(30px, calc((100vw - 900px) / 2));
  overflow-y: auto;
  background: var(--red);
  color: white;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-18px);
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.4s;
  box-shadow: 0 20px 50px #4a001a20;
}
.site-navigation.is-expanded {
  visibility: visible;
  opacity: 1;
  transform: none;
}
.site-navigation a {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 0;
  border-bottom: 0;
  font-size: clamp(23px, 3.4vw, 44px);
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.site-navigation a::after {
  content: "";
  font-size: 20px;
  font-weight: 400;
}
.site-navigation.is-expanded a {
  opacity: 1;
  transform: none;
}
.site-navigation.is-expanded a:nth-child(2) {
  transition-delay: 0.035s;
}
.site-navigation.is-expanded a:nth-child(3) {
  transition-delay: 0.07s;
}
.site-navigation.is-expanded a:nth-child(4) {
  transition-delay: 0.105s;
}
.site-navigation.is-expanded a:nth-child(5) {
  transition-delay: 0.14s;
}
.site-navigation.is-expanded a:nth-child(6) {
  transition-delay: 0.175s;
}
.site-navigation a:hover {
  color: white;
  padding-left: 8px;
}
.site-navigation .nav-booking {
  margin-top: 8px;
  padding: 17px 0;
  background: transparent;
  color: white;
  border: 0;
}
.site-navigation .nav-booking::after {
  content: "";
}
.site-header:has(.is-expanded) {
  position: sticky;
  top: 0;
}
.site-footer {
  background: var(--warm);
  padding: 60px max(24px, calc((100vw - 1144px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  font-size: 13px;
}
.footer-brand img {
  width: 260px;
}
.site-footer p {
  text-align: right;
  margin: 0;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.site-footer small {
  text-align: right;
  color: var(--muted);
}
/* 3. Hero: one photograph, no animation library or repeated image containers. */
.hero {
  background: var(--red);
  color: white;
  display: grid;
  grid-template-columns: 54% 46%;
  min-height: 660px;
  position: relative;
  overflow: hidden;
}
.hero-copy {
  padding: 70px 5vw 60px 7vw;
  position: relative;
  z-index: 2;
}
.hero .eyebrow {
  color: #fff;
  font-size: 11px;
  margin-bottom: 40px;
}
.hero h1 {
  font-size: clamp(36px, 4.6vw, 72px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: -0.03em;
  margin-bottom: 25px;
}
.hero h1 span {
  display: block;
  white-space: nowrap;
}
.hero-description {
  font-size: 15px;
  line-height: 2.1;
  margin-bottom: 35px;
}
.hero-school-link {
  display: block;
  font-size: 12px;
  margin-top: 17px;
}
.hero-store {
  font-size: 11px;
  margin: 35px 0 0;
  letter-spacing: 0.04em;
}
.hero-photo {
  margin: 0;
  position: relative;
  min-height: 660px;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: center 48%;
}
.hero-photo figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-size: 10px;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
  color: white;
  text-shadow: 0 1px 6px #000;
}
.hero-number {
  position: absolute;
  left: 49%;
  bottom: 20px;
  font-size: clamp(50px, 7vw, 110px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
  z-index: 1;
  margin: 0;
  color: #fff;
  pointer-events: none;
  text-shadow: 0 1px 8px #0002;
}
.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  padding: 0 5vw;
}
.quick-links a {
  padding: 25px 30px;
  text-decoration: none;
  border-right: 1px solid var(--line);
  position: relative;
  font-weight: 700;
}
.quick-links a:first-child {
  border-left: 1px solid var(--line);
}
.quick-links small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--red);
  margin-bottom: 4px;
}
.quick-links span {
  position: absolute;
  right: 30px;
  top: 36px;
  color: var(--red);
}
/* 4. Homepage sections */
.updates {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 70px;
}
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.news-list li {
  border-bottom: 1px solid var(--line);
}
.news-list a {
  display: grid;
  grid-template-columns: 100px 1fr 16px;
  align-items: center;
  gap: 25px;
  padding: 26px 0;
  text-decoration: none;
  font-size: 14px;
}
.news-list a:hover {
  color: var(--red);
}
.news-list time {
  font-size: 11px;
  color: var(--muted);
}
.news-list a > span:last-child {
  color: var(--red);
}
.promise {
  max-width: none;
  background: var(--warm);
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 8vw;
  padding: 90px max(48px, calc((100vw - 1144px) / 2));
  align-items: center;
}
.promise > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1056 / 1490;
  max-height: 660px;
  object-fit: cover;
  object-position: center top;
}
.promise h2 {
  font-size: clamp(28px, 3vw, 46px);
}
.promise > div > p {
  max-width: 570px;
}
.promise-points {
  list-style: none;
  margin: 30px 0;
  padding: 0;
}
.promise-points li {
  border-bottom: 1px solid #d7cfc7;
  padding: 13px 0;
  font-weight: 600;
  font-size: 14px;
}
.promise-points strong {
  margin-right: 25px;
  color: var(--red);
  font-size: 12px;
}
.shop-manager {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 70px;
  border-top: 1px solid var(--line);
}
.shop-manager > img {
  width: 100%;
  height: auto;
}
.shop-manager h2 {
  font-size: clamp(26px, 3vw, 38px);
}
.shop-manager > div > p:not(.eyebrow) {
  max-width: 540px;
}
.manager-name {
  margin: 28px 0 20px;
}
.manager-name small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.manager-name strong {
  font-size: 19px;
}
@media (max-width: 700px) {
  .shop-manager {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .shop-manager > img {
    width: 200px;
  }
  .shop-manager > div > p {
    font-size: 13px;
  }
}
.table-guide {
  font-size: 12px;
  color: var(--muted);
}
.school-group {
  margin: 40px 0;
}
.school-group h3 {
  font-size: 21px;
  border-left: 4px solid var(--red);
  padding-left: 15px;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 13px;
}
th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
thead {
  background: var(--warm);
}
thead th {
  white-space: nowrap;
  font-weight: 600;
}
tbody th {
  text-align: left;
  font-weight: 600;
  min-width: 200px;
}
tbody td {
  color: var(--red);
}
/* Opaque first-column backgrounds keep scrolled product cells behind school names. */
.table-scroll tbody tr {
  --row-background: #fff;
}
.table-scroll tbody tr:nth-child(even) {
  --row-background: #fcfbfa;
}
.table-scroll tbody tr:hover {
  --row-background: #fff0f2;
}
.table-scroll tbody th,
.table-scroll tbody td {
  background: var(--row-background);
  transition: background-color 0.18s ease;
}
.table-scroll th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 1px 0 0 var(--line);
}
.table-scroll thead th:first-child {
  background: var(--warm);
  z-index: 3;
}

.schools > .button {
  margin-top: 20px;
}
.orders {
  max-width: none;
  background: var(--red);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding-inline: max(48px, calc((100vw - 1144px) / 2));
}
.orders .eyebrow,
.orders .section-heading > p:not(.eyebrow) {
  color: #fff;
}
.order-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: center;
}
.order-links a {
  border: 1px solid #fff6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.order-links a:hover {
  background: #ffffff16;
}
.purchase-flow {
  list-style: none;
  counter-reset: flow;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  gap: 35px;
  margin: 35px 0;
}
.purchase-flow li {
  counter-increment: flow;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.purchase-flow li::before {
  content: "0" counter(flow);
  color: var(--red);
  font-size: 35px;
  font-weight: 700;
}
.purchase-flow h3 {
  font-size: 19px;
  margin: 18px 0 12px;
}
.purchase-flow p {
  font-size: 13px;
  color: var(--muted);
}
.checklist {
  background: var(--warm);
  padding: 20px;
}
.checklist summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.checklist p {
  margin: 15px 0 0;
  font-size: 13px;
}
.columns {
  border-top: 1px solid var(--line);
}
.columns .section-heading {
  position: relative;
  margin-bottom: 32px;
}
.columns .text-link {
  position: absolute;
  right: 0;
  bottom: 15px;
}
.access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  border-top: 1px solid var(--line);
}
.access .section-heading {
  grid-column: 1;
  grid-row: 1;
}
.shop-information {
  grid-column: 1;
  grid-row: 2;
}
.shop-information address {
  font-style: normal;
  font-size: 14px;
}
.shop-information dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 15px;
  margin: 25px 0;
  font-size: 13px;
}
.shop-information dd {
  margin: 0;
}
.shop-map {
  grid-column: 2;
  grid-row: 1/3;
  width: 100%;
  min-height: 460px;
  height: 100%;
  border: 0;
}
.calendar-section {
  padding-top: 20px;
}
.calendar-section .section-heading {
  margin-bottom: 35px;
}
.contact {
  max-width: none;
  background: var(--warm);
  padding-inline: max(48px, calc((100vw - 1144px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.contact-phone {
  font-size: 32px;
  font-weight: 700;
  text-decoration: none;
  color: var(--red);
  white-space: nowrap;
}
.contact-fields {
  display: grid;
  gap: 12px;
}
.contact-fields > label {
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}
.contact-fields > label:not(.wpcf7-acceptance) span {
  color: var(--red);
  font-size: 10px;
  margin-left: 12px;
}
.contact-fields input:not([type="checkbox"]):not([type="submit"]),
.contact-fields textarea {
  width: 100%;
  background: white;
  border: 1px solid #d6ccc3;
  padding: 12px 15px;
  border-radius: 0;
}
.contact-fields textarea {
  resize: vertical;
}
.contact-fields > .wpcf7-acceptance {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}
.contact-fields .button {
  justify-content: center;
  margin-top: 15px;
}
.contact .gf-wrap { min-width: 0; }
.contact-fields .wpcf7-list-item { margin: 0; }
.contact .contact-fields input[type="checkbox"] { position: static !important; width: 18px !important; height: 18px !important; clip-path: none; overflow: visible; flex: 0 0 auto; accent-color: var(--red); }
/* Nearby shops: compact editorial cards with a red accent. */
.related-shops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.related-shops > header {
  grid-column: 1/-1;
  margin-bottom: 10px;
}
.related-shops h2 {
  font-size: clamp(23px, 3vw, 34px);
  margin-bottom: 0;
}
.related-shops > a {
  position: relative;
  padding: 32px 36px;
  background: transparent;
  border: 0;
  border-top: 3px solid var(--red);
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.related-shops > a:hover {
  background: transparent;
  transform: translateY(-3px);
  color: var(--ink);
}
.shop-city {
  display: block;
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
}
.related-shops h3 {
  font-size: clamp(18px, 2vw, 23px);
  margin: 13px 0 18px;
}
.related-shops p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.related-shops span {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}
.related-shops nav {
  grid-column: 1/-1;
  display: flex;
  gap: 28px;
  font-size: 12px;
  margin-top: 10px;
}
.related-shops nav a {
  text-decoration: none;
}
/* 5. Fixed pages and core block content */
.page-content,
.article-content {
  max-width: 950px;
  min-height: 60vh;
}
.prose {
  font-size: 15px;
  line-height: 2;
}
.prose h2 {
  font-size: 25px;
  border-left: 4px solid var(--red);
  padding-left: 18px;
  margin: 48px 0 24px;
}
.prose h3 {
  font-size: 20px;
  margin: 35px 0 20px;
}
.prose h4 {
  font-size: 17px;
}
.prose p {
  margin-bottom: 25px;
}
.prose a {
  color: var(--red);
}
.prose img {
  height: auto;
  max-width: 100%;
}
.prose figure {
  margin: 30px 0;
}
.prose .wp-block-embed__wrapper {
  position: relative;
  aspect-ratio: 16/9;
}
.prose iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.prose .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
}
.prose li {
  margin: 10px 0;
}
.prose .notice-box {
  background: var(--warm);
  padding: 25px;
  border-left: 3px solid var(--red);
  margin: 30px 0;
}
.notice-box h3 {
  margin-top: 0;
}
.notice-box p {
  margin: 0;
}
.reservation-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 20px;
  background: var(--warm);
}
.reservation-times dd {
  margin: 0;
}
.reservation-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.prose .button {
  color: white;
}
.prose .button-outline {
  color: var(--red);
}
.prose .button-outline:hover {
  color: white;
}
.article-footer {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding-top: 25px;
  font-size: 13px;
}
.nav-links {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 25px 0;
}
.pagination .nav-links {
  justify-content: center;
}
.page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--line);
  text-decoration: none;
}
.page-numbers.current {
  background: var(--red);
  color: white;
}
.archive-content {
  min-height: 60vh;
}
/* 6. Responsive layout */
@media (min-width: 1600px) {
  .hero {
    min-height: 760px;
  }
  .hero-photo {
    min-height: 760px;
  }
  .hero-copy {
    padding-top: 85px;
  }
}
@media (max-width: 1099px) {
  .site-header {
    min-height: 88px;
    padding: 20px 24px;
  }
  .brand {
    flex-basis: 220px;
  }
  .brand img {
    width: 220px;
  }
  .site-navigation {
    inset-block-start: 88px;
  }
  .hero {
    min-height: 590px;
  }
  .hero-copy {
    padding: 55px 4vw;
  }
  .hero-photo {
    min-height: 590px;
  }
  .hero h1 {
    font-size: 4.6vw;
  }
  .hero-number {
    font-size: 8vw;
    bottom: 12px;
  }
  .updates {
    grid-template-columns: 200px 1fr;
    gap: 30px;
  }
  .section {
    padding: 65px 30px;
  }
  .promise,
  .orders,
  .contact {
    padding: 65px 30px;
    gap: 40px;
  }
  .quick-links {
    padding: 0;
  }
  .quick-links a {
    padding: 20px;
  }
  .quick-links span {
    right: 20px;
    top: 30px;
  }
  .order-links {
    grid-template-columns: 1fr;
  }
  .access {
    column-gap: 35px;
  }
  .contact-phone {
    font-size: 25px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 20px;
  }
  .site-header {
    padding: 17px 20px;
  }
  .brand {
    flex-basis: 190px;
  }
  .brand img {
    width: 190px;
  }
  .menu-button {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    padding: 10px 8px;
  }
  .site-header {
    min-height: 76px;
    gap: 14px;
    padding-block: 16px;
  }
  .site-navigation {
    inset-block-start: 76px;
    padding: 24px;
    justify-content: flex-start;
  }
  .site-navigation a {
    padding-block: 16px;
    font-size: 23px;
  }
  .section {
    padding: 55px 24px;
  }
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-photo {
    grid-row: 2;
    height: clamp(310px, 94vw, 460px);
    min-height: 0;
  }
  .hero-photo img {
    object-position: center 45%;
  }
  .hero-photo figcaption {
    right: 16px;
    bottom: 20px;
    font-size: 8px;
  }
  .hero-copy {
    grid-row: 1;
    padding: 26px 24px 30px;
  }
  .hero .eyebrow {
    font-size: 8px;
    margin-bottom: 12px;
  }
  .hero h1 {
    font-size: clamp(29px, 7.5vw, 46px);
    line-height: 1.4;
    margin-bottom: 18px;
  }
  .hero h1 small {
    font-size: 10px;
    margin-top: 12px;
  }
  .hero-description,
  .hero-store {
    display: none;
  }
  .hero .button {
    width: 100%;
    min-height: 52px;
  }
  .hero-school-link {
    font-size: 11px;
    margin-top: 13px;
  }
  .hero-number {
    top: 24px;
    left: 18px;
    right: auto;
    bottom: auto;
    font-size: clamp(30px, 8vw, 44px);
    opacity: 0.94;
  }
  .quick-links {
    grid-template-columns: 1fr;
  }
  .quick-links a {
    padding: 15px 24px;
    border: 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }
  .quick-links a:first-child {
    border-left: 0;
  }
  .quick-links small {
    font-size: 8px;
    margin-bottom: 0;
  }
  .quick-links span {
    top: 24px;
    right: 24px;
  }
  .updates {
    display: block;
  }
  .updates .section-heading {
    margin-bottom: 30px;
  }
  .news-list a {
    grid-template-columns: 1fr 16px;
    gap: 5px;
    padding: 20px 0;
    font-size: 13px;
  }
  .news-list time {
    grid-column: 1;
  }
  .news-list a > span:last-child {
    grid-column: 2;
    grid-row: 1/3;
  }
  .promise {
    display: flex;
    flex-direction: column;
    padding: 55px 24px;
    gap: 35px;
  }
  .promise > img {
    height: auto;
    max-height: none;
    width: 100%;
  }
  .promise h2 {
    font-size: 32px;
  }
  .promise > div > p {
    font-size: 13px;
  }
  .school-group {
    margin: 30px 0;
  }
  .school-group h3 {
    font-size: 18px;
  }
  th,
  td {
    padding: 12px;
    font-size: 12px;
  }
  .table-scroll tbody th {
    min-width: 145px;
    width: 145px;
    max-width: 145px;
    overflow-wrap: anywhere;
  }
  .table-scroll table {
    min-width: 480px;
  }
  .schools .school-group:nth-of-type(3) table {
    min-width: 790px;
  }
  .orders {
    display: block;
    padding: 55px 24px;
  }
  .order-links {
    grid-template-columns: 1fr 1fr;
    margin-top: 30px;
    gap: 10px;
  }
  .order-links a {
    padding: 17px 12px;
    font-size: 12px;
    gap: 8px;
  }
  .purchase-flow {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .purchase-flow li {
    padding: 15px 0 0;
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 10px;
  }
  .purchase-flow li::before {
    grid-row: 1/3;
    font-size: 26px;
  }
  .purchase-flow h3 {
    margin: 5px 0;
    font-size: 17px;
  }
  .purchase-flow p {
    margin: 0;
  }
  .columns .text-link {
    position: static;
  }
  .access {
    display: block;
  }
  .shop-map {
    min-height: 300px;
    height: 300px;
    margin-top: 30px;
  }
  .contact {
    display: block;
    padding: 55px 24px;
  }
  .contact-fields {
    margin-top: 35px;
  }
  .contact-phone {
    font-size: 30px;
  }
  .related-shops {
    grid-template-columns: 1fr;
  }
  .related-shops > a {
    padding: 24px;
  }
  .related-shops nav {
    flex-wrap: wrap;
  }
  .site-footer {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 25px;
  }
  .site-footer p,
  .site-footer small {
    text-align: left;
  }
  .site-footer nav {
    gap: 15px;
    font-size: 11px;
  }
  .footer-brand img {
    width: 220px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .breadcrumb {
    margin-bottom: 30px;
  }
  .prose h2 {
    font-size: 22px;
  }
  .prose h3 {
    font-size: 18px;
  }
  .prose {
    font-size: 14px;
  }
  .reservation-actions {
    display: grid;
    gap: 12px;
  }
  .nav-links {
    flex-wrap: wrap;
  }
  .button {
    font-size: 13px;
    gap: 20px;
  }
  .reservation-times {
    font-size: 13px;
  }
  .gc-calendar {
    margin-top: 25px;
  }
}
/* Touch interactions stay clean; an attached keyboard still receives focus cues. */
@media (hover: none) and (pointer: coarse) {
  body:not(.keyboard-navigation) :focus {
    outline: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .menu-button span,
  .site-navigation,
  .site-navigation a,
  .table-scroll td,
  .table-scroll th {
    transition: none;
  }
}
/* Access is followed by the manager and calendar in one row. */
.shop-schedule {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
  padding-top: 20px;
}
.shop-schedule .shop-manager {
  display: block;
  border: 0;
}
.shop-schedule .shop-manager > img {
  width: 240px;
  margin-bottom: 28px;
}
.shop-schedule .shop-manager h2 {
  font-size: clamp(24px, 2.5vw, 32px);
}
.shop-schedule .calendar-section {
  padding: 0;
  min-width: 0;
}
.shop-schedule .calendar-section h2 {
  font-size: clamp(24px, 2.5vw, 32px);
}
@media (min-width: 901px) {
  .menu-button {
    display: none;
  }
  .site-navigation {
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    padding: 0;
    overflow: visible;
    background: transparent;
    color: var(--ink);
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
  }
  .site-navigation a {
    padding: 8px 0;
    font-size: 13px;
    letter-spacing: 0;
    opacity: 1;
    transform: none;
    text-decoration: none;
    border: 0;
    white-space: nowrap;
  }
  .site-navigation a::after {
    content: none;
  }
  .site-navigation a:hover {
    color: var(--red);
    padding-left: 0;
  }
  .site-navigation .nav-booking {
    margin: 0;
    padding: 12px 18px;
    background: var(--red);
    color: white;
  }
  .site-header {
    gap: 24px;
  }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .site-navigation {
    gap: 14px;
  }
  .site-navigation a {
    font-size: 12px;
  }
  .brand {
    flex-basis: 200px;
  }
  .brand img {
    width: 200px;
  }
}
@media (max-width: 900px) {
  .shop-schedule {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .shop-schedule .shop-manager {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 28px;
  }
  .shop-schedule .shop-manager > img {
    width: 180px;
    margin: 0;
  }
}
@media (max-width: 600px) {
  .shop-schedule .shop-manager {
    grid-template-columns: 1fr;
  }
  .shop-schedule .shop-manager > img {
    width: 200px;
  }
}
@media print {
  .site-navigation,
  .menu-button,
  .quick-links,
  .contact-fields,
  .site-footer {
    display: none;
  }
  .hero,
  .orders {
    background: white;
    color: black;
  }
  .section {
    padding: 25px;
    break-inside: avoid;
  }
  .hero-copy {
    padding: 25px;
  }
  .hero-photo {
    display: none;
  }
  .hero {
    display: block;
  }
  .hero-number {
    display: none;
  }
}

.hero h1 small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 20px;
  line-height: 1.8;
}
@media (max-width: 700px) {
  .hero h1 small {
    font-size: 10px;
  }
}

/* Partner logos: centered and balanced for their different aspect ratios. */
.related-shops nav {
  justify-content: center;
  align-items: center;
  gap: 56px;
  margin-top: 32px;
}
.related-shops nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 90px;
}
.related-shops nav img {
  display: block;
  width: 180px;
  height: auto;
  object-fit: contain;
}
.related-shops nav a:last-child img {
  width: 112px;
}
@media (max-width: 700px) {
  .related-shops nav {
    gap: 32px;
  }
  .related-shops nav a {
    width: 140px;
    height: 80px;
  }
  .related-shops nav img {
    width: 140px;
  }
  .related-shops nav a:last-child img {
    width: 90px;
  }
}

@media (min-width: 901px) {
  .site-navigation .nav-booking::after {
    content: none;
  }
}

@media (max-width: 700px) {
  .hero-copy {
    padding: 24px;
  }
  .hero .eyebrow,
  .hero-school-link {
    display: none;
  }
  .hero h1 small {
    margin-top: 12px;
  }
  .hero-number {
    top: auto;
    bottom: 24px;
    left: 18px;
    right: auto;
  }
}

/* News: readable article with a compact sidebar. */
.article-content {
  max-width: 1200px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 64px;
  align-items: start;
}
.article-body {
  min-width: 0;
}
.news-sidebar h2 {
  font-size: 18px;
  line-height: 1.6;
  margin: 8px 0 20px;
}
.news-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-sidebar li {
  border-bottom: 1px solid var(--line);
}
.news-sidebar li a {
  display: block;
  padding: 17px 0;
  text-decoration: none;
}
.news-sidebar time {
  display: block;
  font-size: 11px;
  color: var(--red);
  margin-bottom: 6px;
}
.news-sidebar li span {
  font-size: 13px;
  line-height: 1.8;
}
.news-reservation {
  background: var(--red);
  color: white;
  padding: 28px 24px;
  margin: 32px 0;
}
.news-reservation .eyebrow {
  color: white;
}
.news-reservation h2 {
  font-size: 24px;
}
.news-reservation p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.9;
}
.news-reservation a {
  display: flex;
  justify-content: space-between;
  padding: 15px 0 0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.news-shop {
  border-top: 2px solid var(--red);
  padding-top: 20px;
}
.news-shop h2 {
  font-size: 16px;
}
.news-shop a {
  font-size: 13px;
  text-decoration: none;
}
.news-back {
  text-align: center;
  margin: 56px 0 0;
}
.news-back a {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  padding: 18px 30px;
  font-size: 14px;
  text-decoration: none;
}
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .news-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .news-reservation {
    margin: 0;
  }
  .news-shop {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .news-sidebar {
    grid-template-columns: 1fr;
  }
  .news-back {
    margin-top: 36px;
  }
}

/* Mobile HERO: centered copy, photo follows. */
@media (max-width: 700px) {
  .hero-copy {
    text-align: center;
    padding: 28px 24px;
  }
  .hero .eyebrow {
    display: block;
    font-size: 10px;
    letter-spacing: 0.12em;
    margin: 0 0 20px;
  }
  .hero-description {
    display: none;
  }
  .hero-school-link {
    display: block;
    margin: 18px auto 0;
    font-size: 12px;
    text-decoration: none;
  }
  .hero-store {
    display: block;
    margin: 20px 0 0;
    font-size: 11px;
  }
  .hero .button {
    justify-content: center;
    gap: 24px;
  }
  .hero h1 {
    margin-top: 0;
    margin-bottom: 24px;
  }
}

/* Mobile footer */
@media(max-width:700px) {
 .site-footer { text-align:center; justify-items:center; }
 .site-footer nav { justify-content:center; }
 .footer-brand { display:block; margin-inline:auto; }
 .site-footer p,.site-footer small { text-align:center; }
}

@media(max-width:700px) {
 .schools > .button { display:flex; width:100%; min-height:52px; justify-content:center; gap:24px; margin:20px auto 0; }
}

/* HERO: keep the first photo visible when scripting is unavailable. */
.hero-photo .hero-slide { opacity: 0; transition: opacity 1.4s ease; }
.hero-photo .hero-slide.is-active { opacity: 1; }
/* Keep the heads visible in the full-body slides at every screen size. */
.hero-photo .hero-slide:nth-of-type(n + 2) { object-position: center top; }
@media (prefers-reduced-motion: reduce) {
  .hero-photo .hero-slide { transition: none; }
}

@media (max-width: 900px) {
 .home .site-navigation a[href*="/#"]::after { content: ""; transform: rotate(90deg); }
}

/* The archive list supplies the single divider beneath its title. */
.archive-content .page-heading { border-bottom: 0; padding-bottom: 0; margin-bottom: 35px; }
.news-calendar { margin: 28px 0; }
.news-calendar .gc-navigation { gap: 8px; margin-bottom: 12px; }
.news-calendar .gc-navigation h3 { font-size: 15px; }
.news-calendar .gc-navigation button { width: 28px; height: 28px; }
.news-calendar .gc-weekday { padding: 5px 0; font-size: 10px; }
.news-calendar .gc-day, .news-calendar .gc-day-content { min-height: 30px; }
.news-calendar .gc-day-content { padding: 5px 0; }
.news-calendar .gc-number { font-size: 12px; }
.news-calendar .gc-day-content .gc-badge { display: none; }
.news-calendar .gc-legend { gap: 6px; margin-top: 10px; font-size: 10px; }
.news-calendar .gc-legend .gc-badge { font-size: 10px; }
.news-calendar .gc-legend li { border: 0; grid-template-columns: auto minmax(0, 1fr); gap: 6px; }

/* Font-independent thin arrows, matching the Kakogawa design. */
[class^="link-arrow--"], .site-navigation a::after {
  --arrow-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h18m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='1'/%3E%3C/svg%3E");
  display: inline-block; flex-shrink: 0; width: 1.5em; height: 1.5em;
  background: currentColor; mask: var(--arrow-shape) center / contain no-repeat;
  vertical-align: -.3em; font-style: normal; margin-left: .35em;
}
.link-arrow--down { transform: rotate(90deg); }
.link-arrow--external { transform: rotate(-45deg); }
.link-arrow--left { transform: rotate(180deg); margin-left: 0; margin-right: .35em; }
.quick-links [class^="link-arrow--"], .news-list [class^="link-arrow--"] { margin: 0; }
@media (min-width: 901px) { .site-navigation a::after { display: none; } }

/* Reservation link: stable contrast and balanced spacing. */
.site-navigation a.nav-booking { gap: 16px; }
.site-navigation a.nav-booking:hover,
.site-navigation a.nav-booking:focus-visible { color: #fff; }
@media (min-width: 901px) {
  .site-navigation a.nav-booking {
    min-height: 48px; padding: 12px 18px;
    font-size: 13px; line-height: 1.4; font-weight: 700;
    transition: background-color .2s ease;
  }
  .site-navigation a.nav-booking::after {
    content: ""; display: inline-block; font-size: inherit; margin-left: 0;
  }
  .site-navigation a.nav-booking:hover,
  .site-navigation a.nav-booking:focus-visible { background: var(--deep-red); }
}

/* Mobile navigation uses one consistent direction. */
@media (max-width: 900px) {
  .site-navigation a::after,
  .home .site-navigation a[href*="/#"]::after { transform: none; }
}
