:root {
  --color-main: #3b241c;
  --color-dark: #1e1411;
  --color-accent: #7a1f2b;
  --color-accent-dark: #651823;
  --color-gold: #b48c4e;
  --color-paper: #f3ece2;
  --color-ink: #2b1e19;
  --color-sub: #6f6058;
  --color-line: #d8cbbb;
  --font-head: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-hand: "Klee One", "Hiragino Maru Gothic ProN", sans-serif;
  --paper-texture: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27240%27 height=%27240%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%270.9%27 numOctaves=%272%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 0.35 0 0 0 0 0.25 0 0 0 0 0.18 0 0 0 0.09 0%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/%3E%3C/svg%3E");
  --wrap: 1040px;
  --gutter: 20px;
  --space-section: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
ul,
dl,
dd {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-feature-settings: "palt";
  word-break: auto-phrase;
  text-wrap: balance;
}

dt,
th,
td,
summary,
label,
figcaption {
  word-break: auto-phrase;
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

.section-title {
  margin-bottom: 32px;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--color-main);
}

.header {
  background: var(--color-dark);
  color: #fff;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  max-width: var(--wrap);
  min-height: 52px;
  margin: 0 auto;
  padding: 6px var(--gutter);
}

.header__logo {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.header__open {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.header__open i {
  color: var(--color-gold);
}

.hero {
  position: relative;
  background: var(--color-dark);
  color: #fff;
}

.hero__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__body {
  padding: 36px var(--gutter) 56px;
}

.hero__since {
  display: inline-block;
  margin-bottom: 16px;
  padding: 2px 12px;
  border: 1px solid var(--color-gold);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.hero__title {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.hero__lead {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.82);
  word-break: auto-phrase;
}

.menu {
  position: relative;
  overflow-x: clip;
  padding: var(--space-section) var(--gutter);
  background-color: var(--color-paper);
  background-image: var(--paper-texture);
}

.menu__card {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 20px 72px;
  border: 4px double var(--color-main);
  background: #fffdf9;
}

.menu__title {
  margin-bottom: 36px;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-align: center;
  color: var(--color-main);
}

.menu__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.menu__category {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-accent);
}

.menu__category i {
  font-size: 0.9375rem;
}

.menu__time {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-sub);
}

.menu__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
}

.menu__name {
  flex-shrink: 1;
  min-width: 0;
  max-width: 78%;
}

.menu__memo {
  display: block;
  font-size: 0.75rem;
  color: var(--color-sub);
}

.menu__item::after {
  content: "";
  order: 1;
  flex: 1;
  border-bottom: 1px dotted var(--color-sub);
  transform: translateY(-5px);
}

.menu__price {
  order: 2;
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.0625rem;
}

.menu__note {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--color-sub);
}

.story {
  position: relative;
  overflow-x: clip;
  padding: var(--space-section) 0;
  background: var(--color-main);
  color: #fff;
}

.story__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.story__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.story__title {
  margin-bottom: 24px;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.story__text {
  color: rgba(255, 255, 255, 0.85);
}

.story__text + .story__text {
  margin-top: 16px;
}

.story__sign {
  margin-top: 24px;
  font-family: var(--font-hand);
  font-size: 1.125rem;
  font-weight: 600;
  text-align: right;
  color: var(--color-gold);
}

.info {
  padding: var(--space-section) 0;
}

.info__inner,
.notice__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.info__table {
  border-top: 2px solid var(--color-main);
}

.info__row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.9375rem;
}

.info__key {
  flex: 0 0 7.5em;
  font-weight: 500;
  color: var(--color-sub);
}

.info__value {
  flex: 1 1 12em;
  min-width: 0;
  overflow-wrap: anywhere;
}

.info__key i {
  width: 1.4em;
  margin-right: 6px;
  color: var(--color-accent);
  text-align: center;
}

.info__map {
  margin-top: 32px;
}

.info__map iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  filter: sepia(0.25) saturate(0.85);
}

.notice {
  padding: 0 0 var(--space-section);
}

.notice__list {
  max-width: 760px;
}

.notice__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-main);
}

.notice__title i {
  font-size: 1rem;
  color: var(--color-accent);
}

.notice__item {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-top: 1px solid var(--color-line);
}

.notice__item:last-child {
  border-bottom: 1px solid var(--color-line);
}

.notice__date {
  font-size: 0.8125rem;
  color: var(--color-sub);
}

.notice__text {
  font-size: 0.9375rem;
}

.footer {
  padding: 44px 0;
  background: var(--color-dark);
  color: #fff;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer__logo {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.footer__sns {
  display: flex;
  gap: 16px;
}

.footer__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 1.125rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.footer__link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.header__nav {
  display: none;
}

.hero__note {
  margin-top: 24px;
  font-family: var(--font-hand);
  font-size: 1.125rem;
  color: var(--color-gold);
  transform: rotate(-3deg);
  transform-origin: left center;
}

.menu::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 0;
  right: 0;
  height: 12px;
  background: radial-gradient(circle at 10px 12px, var(--color-paper) 10px, transparent 10.5px) 0 0 / 20px 12px repeat-x;
}

.menu__hand {
  margin: -24px 0 32px;
  font-family: var(--font-hand);
  font-size: 0.9375rem;
  text-align: center;
  color: var(--color-accent);
}

.story::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 0;
  right: 0;
  height: 12px;
  background: radial-gradient(circle at 10px 12px, var(--color-main) 10px, transparent 10.5px) 0 0 / 20px 12px repeat-x;
}

.hero__cup {
  position: absolute;
  right: 16px;
  bottom: -82px;
  z-index: 5;
  width: 112px;
  height: auto;
  transform: rotate(-8deg);
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.35));
}

.menu__beans {
  position: absolute;
  left: -14px;
  bottom: 12px;
  width: 84px;
  height: auto;
  transform: rotate(18deg);
}

.menu__deco {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 8px 10px color-mix(in srgb, var(--color-ink) 28%, transparent));
}

.menu__deco--toast {
  top: -48px;
  left: -18px;
  width: 112px;
  transform: rotate(-12deg);
}

.menu__deco--napolitan {
  right: -16px;
  bottom: -56px;
  width: 116px;
  transform: rotate(7deg);
}

.story__chalk {
  position: absolute;
  height: auto;
  opacity: 0.16;
  pointer-events: none;
}

.story__chalk--mill {
  top: -36px;
  right: 8px;
  width: 110px;
  transform: rotate(6deg);
}

.story__chalk--pot {
  right: 12px;
  bottom: -48px;
  width: 150px;
  transform: rotate(-4deg);
}

.story__media,
.story__body {
  position: relative;
  z-index: 1;
}

.footer__chalk {
  width: 40px;
  height: auto;
  opacity: 0.6;
}

.pagetop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.pagetop:hover {
  background: var(--color-accent-dark);
}

@media (min-width: 768px) {
  :root {
    --gutter: 40px;
    --space-section: 112px;
  }

  .header__inner {
    min-height: 60px;
  }

  .pagetop {
    display: grid;
  }

  .header__open {
    font-size: 0.875rem;
  }

  .header__nav {
    display: block;
    margin-left: auto;
    margin-right: 28px;
  }

  .header__list {
    display: flex;
    gap: 28px;
  }

  .header__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.3;
    text-decoration: none;
  }

  .header__sub {
    font-family: var(--font-hand);
    font-size: 0.6875rem;
    color: var(--color-gold);
  }

  .header__link:hover {
    color: var(--color-gold);
  }

  .hero__note {
    font-size: 1.375rem;
  }

  .hero {
    min-height: 640px;
  }

  .hero__image {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, color-mix(in srgb, var(--color-dark) 85%, transparent) 0%, color-mix(in srgb, var(--color-dark) 55%, transparent) 45%, transparent 75%);
  }

  .hero__body {
    position: relative;
    z-index: 1;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 180px var(--gutter) 120px;
  }

  .hero__title {
    font-size: 3.25rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .menu__card {
    padding: 64px 56px;
  }

  .hero__cup {
    right: max(40px, calc(50% - 520px));
    bottom: -90px;
    width: 230px;
  }

  .menu__beans {
    left: max(8px, calc(50% - 640px));
    bottom: 40px;
    width: 130px;
  }

  .menu__deco--toast {
    top: -76px;
    left: -60px;
    width: 190px;
  }

  .menu__deco--napolitan {
    right: -40px;
    bottom: -64px;
    width: 170px;
  }

  .story__chalk--mill {
    top: -60px;
    right: 0;
    width: 180px;
  }

  .story__chalk--pot {
    right: auto;
    left: 38%;
    bottom: -110px;
    width: 210px;
  }

  .menu__title {
    font-size: 2.5rem;
  }

  .menu__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
  }

  .menu__item {
    font-size: 0.9375rem;
  }

  .story__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: 72px;
  }

  .story__title {
    font-size: 2.25rem;
  }

  .info__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 56px;
  }

  .info__inner .section-title {
    grid-column: 1 / -1;
  }

  .info__map {
    margin-top: 0;
  }

  .info__map iframe {
    height: 100%;
    min-height: 360px;
    aspect-ratio: auto;
  }

  .notice__item {
    grid-template-columns: 7em 1fr;
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .menu__columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu__deco--napolitan {
    right: -70px;
    bottom: -70px;
    width: 240px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__image {
    animation: fade-in 1.6s ease-out both;
  }

  .hero__body > * {
    animation: fade-in 1.2s ease-out both;
  }

  .hero__body > :nth-child(2) {
    animation-delay: 0.2s;
  }

  .hero__body > :nth-child(3) {
    animation-delay: 0.6s;
  }

  .hero__body > :nth-child(4) {
    animation-delay: 0.8s;
  }

  .hero__cup {
    animation: cup-in 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.9s both;
  }

  @keyframes fade-in {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  @keyframes cup-in {
    from {
      opacity: 0;
      transform: translateY(28px) rotate(-14deg);
    }

    to {
      opacity: 1;
      transform: rotate(-8deg);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
