:root {
  --ink: #1a1510;
  --ink-soft: #3a3228;
  --paper: #f6f0e4;
  --paper-2: #efe6d4;
  --white: #fffdf8;
  --vermillion: #c23a2b;
  --vermillion-dark: #9b2c21;
  --gold: #c4a35a;
  --gold-light: #e2c888;
  --navy: #1c2734;
  --line: rgba(26, 21, 16, 0.12);
  --shadow: 0 18px 40px rgba(26, 21, 16, 0.12);
  --header-h: 72px;
  --serif: "Shippori Mincho", "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.75;
  min-height: 100vh;
}

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

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

button,
input {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 200;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  background: rgba(246, 240, 228, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 110;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--vermillion);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.12em;
}

.logo-text span {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

.nav-desktop {
  display: flex;
  gap: 4px;
}

.nav-desktop a {
  padding: 8px 12px;
  font-size: 14px;
  letter-spacing: 0.06em;
  border-bottom: 2px solid transparent;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  border-bottom-color: var(--vermillion);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 110;
  padding: 10px;
}

.hamburger span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.97);
  color: var(--paper);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 32px 40px;
}

.nav-drawer.is-open {
  transform: none;
}

.nav-drawer a {
  font-family: var(--serif);
  font-size: clamp(28px, 8vw, 42px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(247, 241, 230, 0.12);
}

.nav-drawer a.is-active {
  color: var(--gold-light);
}

body.menu-open {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.15) 0%, rgba(20, 16, 12, 0.78) 100%);
}

.hero-inner,
.page-hero-inner,
.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 0 64px;
}

.eyebrow {
  letter-spacing: 0.28em;
  font-size: 12px;
  color: var(--gold-light);
}

.hero h1,
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.25;
  margin: 8px 0 16px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
}

.hero p {
  max-width: 38em;
  font-size: 16px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--vermillion);
  color: #fff;
}

.btn-primary:hover {
  background: var(--vermillion-dark);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-line {
  border-color: var(--ink);
  background: transparent;
}

.page-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

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

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.2), rgba(20, 16, 12, 0.78));
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 48px 0 36px;
}

.page-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
}

.section {
  padding: 72px 0;
}

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

.section-head h2,
.prose h2,
.card h3 {
  font-family: var(--serif);
  letter-spacing: 0.08em;
}

.section-head h2,
.prose h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 8px;
}

.muted {
  color: var(--ink-soft);
}

.card-grid,
.feature-grid,
.pref-grid,
.cat-grid,
.step-grid {
  display: grid;
  gap: 20px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body,
.pad {
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.steps {
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 28px;
  color: var(--vermillion);
}

.cat-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.cat-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px;
  text-align: center;
  font-size: 14px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.filter-btn,
.search {
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  cursor: pointer;
}

.filter-btn.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.search {
  width: min(320px, 100%);
  cursor: text;
}

.pref-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.pref-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pref-card h3 {
  font-family: var(--serif);
  margin: 0;
  font-size: 22px;
}

.pref-card small {
  color: var(--ink-soft);
}

.pref-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.pref-links a {
  font-size: 13px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.pref-links a:hover {
  border-color: var(--vermillion);
  color: var(--vermillion-dark);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.two-col > img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.site-footer h3 {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--gold-light);
}

.prose p,
.prose li {
  font-size: 15px;
}

.prose ul {
  padding-left: 1.2em;
}

.note {
  background: #fff8ea;
  border-left: 4px solid var(--gold);
  padding: 14px 16px;
  font-size: 14px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 10px;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery img:first-child {
  height: 100%;
  min-height: 220px;
  grid-row: span 2;
}

.site-footer {
  background: var(--navy);
  color: #e8e0d2;
  padding: 40px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.copyright {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: #b8b0a2;
}

@media (max-width: 860px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .feature-grid,
  .two-col,
  .footer-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img,
  .gallery img:first-child {
    height: 200px;
    grid-row: auto;
  }

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

@media (max-width: 640px) {
  .hero-inner,
  .page-hero-inner,
  .wrap {
    width: min(1120px, calc(100% - 28px));
  }

  .section {
    padding: 48px 0;
  }

  .step {
    grid-template-columns: 1fr;
  }
}
