:root {
  --bg: #f6f1e8;
  --paper: #fffaf2;
  --paper-warm: #f0e5d3;
  --text: #2b2926;
  --muted: #6b6258;
  --line: #d8cbbb;
  --accent: #7a4f2b;
  --green: #4f6545;
  --ink-soft: #3f3932;
  --shadow: 0 22px 70px rgba(64, 49, 34, 0.13);
  --display: "Zen Kurenaido", "Hiragino Mincho ProN", serif;
  --body: "Zen Maru Gothic", "Klee One", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --hand: "Klee One", "Zen Kurenaido", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  line-height: 1.9;
  background:
    linear-gradient(90deg, rgba(122, 79, 43, 0.035) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, #fbf6ed 0%, var(--bg) 28%, #efe4d5 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(rgba(43, 41, 38, 0.045) 0.7px, transparent 0.7px),
    linear-gradient(125deg, rgba(79, 101, 69, 0.08), transparent 34%);
  background-size: 8px 8px, 100% 100%;
  opacity: 0.72;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(79, 101, 69, 0.45);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding: 16px 5vw;
  background: rgba(246, 241, 232, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216, 203, 187, 0.82);
}

.logo {
  text-decoration: none;
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
  text-underline-offset: 6px;
}

.nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.88fr);
  min-height: calc(100vh - 70px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(36px, 7vw, 88px) 5vw 72px;
}

.hero-photo {
  position: relative;
}

.hero-photo::before {
  position: absolute;
  inset: 22px 0 -18px 20px;
  content: "";
  border: 1px solid rgba(122, 79, 43, 0.28);
  border-radius: 6px;
}

.photo-board {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(160deg, rgba(255, 250, 242, 0.22), transparent 38%),
    linear-gradient(135deg, rgba(79, 101, 69, 0.2), transparent 34%),
    repeating-linear-gradient(90deg, rgba(75, 58, 43, 0.08) 0 1px, transparent 1px 42px),
    linear-gradient(145deg, #cbb79b 0%, #eadfcf 42%, #9e7553 100%);
  box-shadow: var(--shadow);
  color: #fffaf2;
}

.photo-board::before {
  position: absolute;
  top: 11%;
  left: 16%;
  width: 34%;
  height: 74%;
  content: "";
  border: 2px solid rgba(255, 250, 242, 0.55);
  border-bottom: 0;
  border-radius: 48% 48% 0 0;
  opacity: 0.88;
}

.photo-board::after {
  position: absolute;
  right: 14%;
  bottom: 17%;
  width: 36%;
  height: 14%;
  content: "";
  border-top: 2px solid rgba(255, 250, 242, 0.62);
  border-bottom: 2px solid rgba(255, 250, 242, 0.3);
  transform: rotate(-2deg);
}

.photo-board-large {
  min-height: min(68vh, 620px);
}

.photo-label,
.photo-title,
.photo-note {
  position: relative;
  z-index: 1;
  width: fit-content;
  text-shadow: 0 1px 18px rgba(43, 41, 38, 0.35);
}

.photo-label {
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 250, 242, 0.58);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.photo-title {
  font-family: var(--display);
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.18;
}

.photo-note {
  margin-top: 8px;
  color: rgba(255, 250, 242, 0.86);
  font-size: 14px;
}

.hero-text {
  max-width: 650px;
}

.place,
.section-kicker,
.item-id {
  color: var(--accent);
  font-family: var(--hand);
  letter-spacing: 0.05em;
}

.place {
  margin: 0 0 18px;
  font-size: 18px;
}

h1,
h2,
h3 {
  color: var(--ink-soft);
  font-family: var(--display);
  font-weight: 400;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(38px, 6.3vw, 78px);
  line-height: 1.18;
}

h2 {
  margin: 0;
  font-size: clamp(31px, 4.2vw, 52px);
  line-height: 1.28;
}

h3 {
  margin: 8px 0 8px;
  font-size: 25px;
  line-height: 1.35;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: center;
  margin-top: 34px;
}

.button,
button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fffaf2;
  border-radius: 999px;
  padding: 12px 22px;
  text-decoration: none;
  cursor: default;
}

.button {
  cursor: pointer;
}

.text-link {
  color: var(--green);
  text-decoration-color: rgba(79, 101, 69, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.section {
  padding: clamp(68px, 9vw, 118px) 5vw;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 96px);
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  max-width: 980px;
  margin: 0 auto 34px;
}

.section-title p:last-child {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
}

.section-kicker {
  margin-bottom: 12px;
  font-size: 15px;
}

.prose {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 17px;
}

.about-section {
  border-top: 1px solid rgba(216, 203, 187, 0.6);
}

.items-section {
  background: rgba(255, 250, 242, 0.34);
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.item-card {
  display: grid;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(216, 203, 187, 0.92);
  border-radius: 6px;
  background: rgba(255, 250, 242, 0.82);
  box-shadow: 0 12px 40px rgba(64, 49, 34, 0.08);
}

.item-photo {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(255, 250, 242, 0.34), transparent 36%),
    linear-gradient(165deg, rgba(79, 101, 69, 0.2), transparent 44%),
    var(--photo-tone, #c4a987);
}

.item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-photo-placeholder {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 18px;
  color: rgba(255, 250, 242, 0.94);
  text-align: center;
  text-shadow: 0 1px 16px rgba(43, 41, 38, 0.28);
}

.item-photo-placeholder::before {
  width: 64px;
  height: 84px;
  content: "";
  border: 2px solid rgba(255, 250, 242, 0.66);
  border-bottom-color: rgba(255, 250, 242, 0.3);
  border-radius: 38px 38px 4px 4px;
}

.item-photo-placeholder span:first-child {
  font-family: var(--display);
  font-size: 20px;
}

.item-body {
  padding: 22px;
}

.item-id {
  font-size: 13px;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.item-meta span {
  padding: 3px 9px;
  border: 1px solid rgba(122, 79, 43, 0.22);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.items-note,
.form-note {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.guide-section {
  background: linear-gradient(180deg, transparent 0%, rgba(240, 229, 211, 0.7) 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  min-width: 0;
  padding: 22px 18px 20px;
  border: 1px solid rgba(216, 203, 187, 0.92);
  border-radius: 6px;
  background: rgba(255, 250, 242, 0.74);
}

.step-number {
  display: inline-grid;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(122, 79, 43, 0.32);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--hand);
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 18px;
}

.steps span:last-child {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.quiet-note {
  max-width: 860px;
  margin: 26px auto 0;
  padding: 18px 22px;
  border-left: 3px solid rgba(79, 101, 69, 0.45);
  color: var(--muted);
  background: rgba(255, 250, 242, 0.48);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid rgba(216, 203, 187, 0.92);
  border-radius: 6px;
  background: rgba(255, 250, 242, 0.78);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink-soft);
  font-weight: 700;
}

details p {
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact {
  background:
    linear-gradient(180deg, rgba(79, 101, 69, 0.08), rgba(122, 79, 43, 0.08)),
    var(--paper-warm);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 74px);
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(122, 79, 43, 0.22);
  border-radius: 6px;
  background: rgba(255, 250, 242, 0.72);
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(216, 203, 187, 0.98);
  border-radius: 6px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
}

textarea {
  resize: vertical;
}

.checkbox {
  display: flex;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.checkbox input {
  width: 18px;
  height: 18px;
}

.contact-form button {
  width: fit-content;
  margin-top: 4px;
  opacity: 0.76;
}

.contact-form .form-note {
  margin: -2px 0 0;
}

.site-footer {
  padding: 42px 5vw;
  border-top: 1px solid rgba(216, 203, 187, 0.84);
  color: var(--muted);
  text-align: center;
}

.footer-name {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 24px;
}

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

@media (max-width: 1020px) {
  .hero,
  .section-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .photo-board-large {
    min-height: 430px;
  }

  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .nav {
    gap: 4px 14px;
  }

  .hero,
  .section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-photo::before {
    inset: 12px 0 -8px 12px;
  }

  .photo-board-large {
    min-height: 340px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .item-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 24px 18px;
  }

  .contact-form button {
    width: 100%;
  }
}
