:root {
  --ink-wash: #25231f;
  --rice-paper: #fffaf0;
  --lacquer-red: #9f2f24;
  --indigo-bowl: #233f5f;
  --tea-green: #6a7b4f;
  --miso-amber: #c9823d;
  --line-soft: #ded2bd;
  --paper-shadow: 0 22px 55px rgba(58, 42, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-wash);
  background:
    linear-gradient(90deg, rgba(159, 47, 36, 0.06) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #fffdf7 0%, #f3ead8 100%);
  background-size: 34px 34px, auto;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", Georgia, serif;
  line-height: 1.75;
}

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

a {
  color: inherit;
}

.shokudo-noren {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 58px);
  background: rgba(255, 250, 240, 0.92);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
}

.shokudo-mark {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--lacquer-red);
  font-size: 1.15rem;
}

.shokudo-nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-family: "Hiragino Sans", "Noto Sans CJK JP", sans-serif;
  font-size: 0.92rem;
}

.shokudo-nav a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.shokudo-nav a:hover {
  border-color: var(--lacquer-red);
}

.ofukuro-hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ofukuro-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 17, 15, 0.72), rgba(18, 17, 15, 0.26) 48%, rgba(18, 17, 15, 0.02));
}

.hero-note {
  position: relative;
  z-index: 1;
  width: min(650px, calc(100% - 40px));
  margin: 0 0 clamp(44px, 8vw, 92px) clamp(20px, 7vw, 96px);
  color: #fffdf7;
}

.kitchen-label {
  margin: 0 0 12px;
  color: var(--miso-amber);
  font-family: "Hiragino Sans", "Noto Sans CJK JP", sans-serif;
  font-weight: 700;
}

.hero-note h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 5.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-note p:last-child {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.hinoki-intro {
  width: min(940px, calc(100% - 36px));
  margin: 54px auto;
  padding: 30px clamp(24px, 4vw, 42px);
  background: var(--rice-paper);
  border-left: 9px solid var(--indigo-bowl);
  box-shadow: var(--paper-shadow);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.teiban-shelf,
.yugata-board,
.nokori-grid,
.memo-page {
  width: min(1120px, calc(100% - 36px));
  margin: 72px auto;
}

.shelf-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  border-bottom: 3px double var(--line-soft);
}

.shelf-heading span {
  color: var(--lacquer-red);
  font-family: "Hiragino Sans", "Noto Sans CJK JP", sans-serif;
  font-weight: 700;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.recipe-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.recipe-slip {
  min-height: 330px;
  padding: 24px;
  background: #fffdf7;
  border: 1px solid var(--line-soft);
  border-top: 7px solid var(--miso-amber);
  box-shadow: 0 12px 28px rgba(58, 42, 25, 0.1);
}

.recipe-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: #fffdf7;
  background: var(--lacquer-red);
  border-radius: 50%;
}

.recipe-slip h3,
.nokori-panels h3,
.season-ticket h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.recipe-slip p,
.nokori-panels p,
.memo-copy p,
.season-ticket p {
  margin: 0;
}

.recipe-slip dl {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  font-family: "Hiragino Sans", "Noto Sans CJK JP", sans-serif;
  font-size: 0.94rem;
}

.recipe-slip dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-soft);
}

.recipe-slip dt {
  color: var(--tea-green);
  font-weight: 700;
}

.recipe-slip dd {
  margin: 0;
}

.yugata-board {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: clamp(30px, 5vw, 52px);
  color: #fffdf7;
  background: var(--indigo-bowl);
}

.meal-rhythm {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meal-rhythm li {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid var(--miso-amber);
}

.meal-rhythm strong,
.meal-rhythm span {
  display: block;
}

.meal-rhythm strong {
  margin-bottom: 5px;
  font-size: 1.12rem;
}

.nokori-grid h2 {
  margin-bottom: 24px;
  color: var(--lacquer-red);
}

.nokori-panels {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1fr;
  gap: 16px;
}

.nokori-panels article {
  padding: 26px;
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid var(--line-soft);
}

.memo-page {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 28px;
  align-items: stretch;
}

.privacy-sheet {
  width: min(920px, calc(100% - 36px));
  margin: 72px auto;
}

.memo-copy {
  padding: clamp(28px, 5vw, 48px);
  background: var(--rice-paper);
  border: 1px solid var(--line-soft);
}

.memo-copy p:last-child {
  margin-top: 18px;
  max-width: 680px;
}

.season-ticket {
  padding: 28px;
  color: #fffdf7;
  background: var(--tea-green);
  border: 10px solid #fffdf7;
  box-shadow: var(--paper-shadow);
}

.season-ticket p + p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.shokudo-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 4vw, 58px);
  color: #fffdf7;
  background: var(--ink-wash);
  font-family: "Hiragino Sans", "Noto Sans CJK JP", sans-serif;
}

.shokudo-footer p {
  margin: 0;
}

.shokudo-footer a {
  color: #fffdf7;
}

@media (max-width: 860px) {
  .shokudo-noren,
  .shokudo-footer,
  .shelf-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .ofukuro-hero {
    min-height: 560px;
  }

  .hero-note {
    margin: 0 auto 34px;
  }

  .recipe-ledger,
  .yugata-board,
  .nokori-panels,
  .memo-page {
    grid-template-columns: 1fr;
  }

  .recipe-slip {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .shokudo-nav {
    flex-wrap: wrap;
  }

  .hero-note h1 {
    font-size: 2.25rem;
  }

  .hinoki-intro,
  .teiban-shelf,
  .yugata-board,
  .nokori-grid,
  .memo-page {
    width: min(100% - 24px, 1120px);
    margin: 42px auto;
  }
}
