@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Noto+Sans+JP:wght@400;500&family=Noto+Serif+JP:wght@400;600;700&display=swap");

:root {
  --cm-canvas: #f7f5ef;
  --cm-paper: #ffffff;
  --cm-ink: #1a241c;
  --cm-muted: #5c6b5f;
  --cm-matcha: #3d6b4f;
  --cm-matcha-deep: #2a4a38;
  --cm-matcha-light: #a8c9a0;
  --cm-blush: #e8d4c4;
  --cm-line: #e2ddd2;
  --cm-serif: "Noto Serif JP", "Iowan Old Style", Georgia, serif;
  --cm-sans: "DM Sans", system-ui, sans-serif;
  --cm-jp: "Noto Sans JP", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cm-canvas);
  color: var(--cm-ink);
  font: 15px/1.65 var(--cm-sans);
  min-height: 100dvh;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1,
h2,
h3 {
  font-family: var(--cm-serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
}

.cm-site {
  min-height: 100dvh;
}

.cm-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--cm-canvas) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--cm-line) 70%, transparent);
}

.cm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 1.15rem var(--cm-serif);
  min-height: 44px;
}

.cm-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cm-matcha), var(--cm-matcha-deep));
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

.cm-nav-desktop {
  display: flex;
  gap: 28px;
  font-size: 0.82rem;
  font-weight: 500;
}

.cm-nav-desktop a:hover,
.cm-nav-desktop a[aria-current="page"] {
  color: var(--cm-matcha);
}

.cm-nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cm-matcha);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
}

.cm-mobile-nav {
  display: none;
  position: fixed;
  inset: auto 12px 12px;
  z-index: 45;
  background: var(--cm-ink);
  color: white;
  border-radius: 20px;
  padding: 8px;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.cm-mobile-nav a {
  display: grid;
  place-items: center;
  min-height: 48px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 14px;
}

.cm-mobile-nav a[aria-current="page"] {
  background: var(--cm-matcha);
}

.cm-eyebrow-dark {
  color: var(--cm-matcha);
}

.cm-btn-outline {
  border: 1px solid var(--cm-line);
  color: var(--cm-ink);
  background: transparent;
}

.cm-btn-outline.cm-btn-dark {
  color: var(--cm-ink);
}

.cm-marquee {
  padding-block: 20px;
  overflow: hidden;
  border-block: 1px solid var(--cm-line);
}

.cm-marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: cm-marquee 28s linear infinite;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cm-matcha);
}

.cm-marquee-track span {
  white-space: nowrap;
}

@keyframes cm-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cm-visit {
  padding-bottom: clamp(64px, 10vw, 96px);
}

.cm-visit-inner {
  max-width: 560px;
}

.cm-visit-inner h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 10px 0 16px;
}

.cm-visit-lede {
  color: var(--cm-muted);
  margin: 0 0 28px;
  line-height: 1.7;
}

.cm-hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.cm-hero-slides {
  position: absolute;
  inset: 0;
}

.cm-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.cm-hero-slide.is-active {
  opacity: 1;
}

.cm-hero-slide img {
  transition: transform 10s ease;
  object-position: center 40%;
  filter: saturate(0.95) contrast(1.08) brightness(0.94);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0) scale(1.03);
}

.cm-hero-slide.is-active img {
  transform: translateZ(0) scale(1);
}

.cm-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 36, 28, 0.28) 0%,
    rgba(26, 36, 28, 0.2) 35%,
    rgba(26, 36, 28, 0.55) 62%,
    rgba(26, 36, 28, 0.9) 100%
  );
}

.cm-hero-content {
  position: relative;
  z-index: 2;
  padding: 120px clamp(20px, 5vw, 48px) 80px;
  max-width: 720px;
  color: white;
}

.cm-eyebrow {
  font-family: var(--cm-jp);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cm-matcha-light);
}

.cm-hero h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  margin: 14px 0 18px;
}

.cm-hero-lede {
  font-size: 1.05rem;
  max-width: 34ch;
  color: #e8efe8;
  margin-bottom: 28px;
}

.cm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.cm-btn-primary {
  background: var(--cm-matcha-light);
  color: var(--cm-matcha-deep);
}

.cm-btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: white;
}

.cm-btn-ghost.cm-btn-dark {
  color: var(--cm-ink);
  border-color: var(--cm-line);
}

.cm-hero-dots {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: 36px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.cm-hero-dots button {
  border: 0;
  background: transparent;
  padding: 0;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.cm-hero-dots button::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  color: rgba(255, 255, 255, 0.35);
}

.cm-hero-dots button.is-active::after {
  color: white;
  transform: scale(1.15);
}

.cm-hero-caption {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  bottom: 36px;
  z-index: 3;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.cm-strip {
  background: var(--cm-matcha-deep);
  color: white;
  padding: 14px clamp(20px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  font-size: 0.78rem;
}

.cm-strip strong {
  color: var(--cm-matcha-light);
}

.cm-strip a {
  color: var(--cm-matcha-light);
}

.cm-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 32px);
}

.cm-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
}

.cm-section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.cm-section-head p {
  color: var(--cm-muted);
  max-width: 36ch;
  margin: 8px 0 0;
}

.cm-link-arrow {
  font-weight: 600;
  color: var(--cm-matcha);
  white-space: nowrap;
}

.cm-order {
  padding-top: clamp(48px, 7vw, 80px);
}

.cm-order-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.cm-order-copy {
  flex: 1;
  min-width: 0;
}

.cm-order-copy h2 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  margin-top: 10px;
  line-height: 0.98;
  max-width: 14ch;
}

.cm-btn-menu {
  flex-shrink: 0;
  align-self: flex-end;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--cm-matcha-deep);
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cm-btn-menu:hover {
  background: var(--cm-matcha);
  transform: translateY(-1px);
}

.cm-order-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}

.cm-order-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.cm-order-media {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: var(--cm-paper);
  border: 1px solid var(--cm-line);
}

.cm-order-media img {
  object-fit: contain;
  object-position: center bottom;
  padding: 12px;
  filter: none;
  transform: none;
}

.cm-order-tag {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cm-matcha);
}

.cm-order-name {
  margin: 0;
  font-family: var(--cm-sans);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cm-feature-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}

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

.cm-card-media {
  aspect-ratio: 4 / 5;
  height: auto;
  position: relative;
  overflow: hidden;
}

.cm-card-media img {
  filter: saturate(0.9) contrast(1.04);
  transition: transform 0.7s ease;
}

.cm-card:hover .cm-card-media img {
  transform: scale(1.04);
}

.cm-card-body {
  padding: 20px;
}

.cm-card-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cm-matcha);
}

.cm-card-body h3 {
  font-size: 1.35rem;
  margin: 8px 0;
}

.cm-card-body p {
  color: var(--cm-muted);
  font-size: 0.88rem;
  margin: 0;
}

.cm-card-body .jp {
  font-family: var(--cm-jp);
  font-size: 0.72rem;
  color: var(--cm-muted);
  display: block;
  margin-bottom: 4px;
}

.cm-card-price {
  margin-top: 12px;
  font-weight: 700;
  color: var(--cm-matcha);
}

.cm-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.cm-bento > * {
  grid-column: span 4;
  min-height: 200px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.cm-bento > :first-child {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 420px;
}

.cm-bento figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cm-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cm-menu-item {
  background: var(--cm-paper);
  border: 1px solid var(--cm-line);
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.cm-menu-item-photo {
  aspect-ratio: 4 / 3;
  background: var(--cm-canvas);
  border-bottom: 1px solid var(--cm-line);
}

.cm-menu-item-photo img {
  object-fit: contain;
  object-position: center bottom;
  padding: 12px;
  filter: none;
}

.cm-menu-item header,
.cm-menu-item .cm-card-tag,
.cm-menu-item p {
  padding-inline: 22px;
}

.cm-menu-item header {
  padding-top: 18px;
}

.cm-menu-item p {
  padding-bottom: 22px;
}

.cm-menu-item header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.cm-menu-item h3 {
  font-size: 1.2rem;
}

.cm-menu-item .jp {
  font-family: var(--cm-jp);
  font-size: 0.72rem;
  color: var(--cm-muted);
}

.cm-menu-item .price {
  font-weight: 700;
  color: var(--cm-matcha);
  white-space: nowrap;
}

.cm-menu-item p {
  color: var(--cm-muted);
  font-size: 0.88rem;
  margin: 0;
}

.cm-menu-item[hidden] {
  display: none;
}

.cm-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cm-about-split img {
  border-radius: 20px;
  height: 480px;
}

.cm-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.cm-values article {
  background: var(--cm-paper);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--cm-line);
}

.cm-values p {
  color: var(--cm-muted);
  margin: 0;
}

.cm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cm-contact-card {
  background: var(--cm-paper);
  border: 1px solid var(--cm-line);
  border-radius: 18px;
  padding: 28px;
}

.cm-contact-card h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.cm-contact-card dl {
  margin: 0;
  display: grid;
  gap: 16px;
}

.cm-contact-card dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cm-muted);
}

.cm-contact-card dd {
  margin: 4px 0 0;
  font-size: 1rem;
}

.cm-contact-card .note {
  color: var(--cm-muted);
  font-size: 0.88rem;
}

.cm-form {
  display: grid;
  gap: 14px;
}

.cm-form label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}

.cm-form input,
.cm-form textarea,
.cm-form select {
  min-height: 48px;
  border: 1px solid var(--cm-line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--cm-canvas);
  font: inherit;
}

.cm-form textarea {
  min-height: 120px;
  resize: vertical;
}

.cm-form-success {
  padding: 16px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--cm-matcha-light) 40%, white);
  color: var(--cm-matcha-deep);
  font-weight: 600;
}

.cm-bento > * img {
  filter: saturate(0.9) contrast(1.04);
}

.cm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cm-gallery-grid figure {
  break-inside: avoid;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--cm-line);
}

.cm-gallery-grid figure img {
  height: 100%;
  min-height: 0;
  filter: saturate(0.9) contrast(1.04);
  transition: transform 0.65s ease;
}

.cm-gallery-grid figure:hover img {
  transform: scale(1.04);
}

.cm-gallery-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(26, 36, 28, 0.78));
  color: rgba(255, 255, 255, 0.92);
  padding: 28px 14px 12px;
  border-radius: 0;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cm-footer {
  margin-top: 40px;
  padding: 48px clamp(16px, 4vw, 32px) 100px;
  background: var(--cm-ink);
  color: #dce5dc;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.cm-footer a {
  color: var(--cm-matcha-light);
}

.cm-footer-links {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
}

.cm-footer-links a,
.cm-contact-card dd a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 4px;
}

.cm-page-intro {
  padding-top: 100px;
  padding-bottom: 32px;
}

.cm-page-intro h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: 10px 0 14px;
}

.cm-page-intro p {
  color: var(--cm-muted);
  max-width: 52ch;
}

.cm-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.cm-filter-row button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--cm-line);
  background: var(--cm-paper);
  font: inherit;
  cursor: pointer;
}

.cm-filter-row button.is-active {
  background: var(--cm-matcha);
  color: white;
  border-color: var(--cm-matcha);
}

.cm-text-center {
  text-align: center;
}

.cm-muted-note {
  margin-top: 32px;
  color: var(--cm-muted);
  font-size: 0.88rem;
}

@media (max-width: 1100px) {
  .cm-order-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .cm-nav-desktop,
  .cm-nav-cta {
    display: none;
  }

  .cm-mobile-nav {
    display: grid;
  }

  .cm-site {
    padding-bottom: 88px;
  }

  .cm-order-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cm-order-copy h2 {
    max-width: none;
  }

  .cm-order-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin-inline: calc(-1 * clamp(16px, 4vw, 32px));
    padding-inline: clamp(16px, 4vw, 32px);
  }

  .cm-order-card {
    flex: 0 0 min(72vw, 280px);
    scroll-snap-align: start;
  }

  .cm-feature-grid,
  .cm-menu-grid,
  .cm-about-split,
  .cm-contact-grid,
  .cm-values {
    grid-template-columns: 1fr;
  }

  .cm-bento > * {
    grid-column: span 12;
    min-height: 220px;
  }

  .cm-bento > :first-child {
    grid-row: auto;
    min-height: 280px;
  }

  .cm-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cm-hero-slide,
  .cm-hero-slide img {
    transition: none !important;
  }

  .cm-marquee-track {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
