:root {
  --bg: #f7f3ec;
  --surface: #fffdf9;
  --ink: #2b2723;
  --muted: #6f675e;
  --line: #e4ddd1;
  --accent: #1f7f86;
  --accent-soft: #e3f1f1;
  --radius: 14px;
  --wrap: 1080px;
  --serif: "Shippori Mincho", "Noto Serif JP", Georgia, serif;
  --sans: "Inter", "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1c1a18;
    --surface: #25221f;
    --ink: #eee8df;
    --muted: #a9a097;
    --line: #3a3530;
    --accent: #5cc1c7;
    --accent-soft: #203536;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 20px; letter-spacing: .02em; }
.logo img { width: 34px; height: 34px; border-radius: 50%; }
.nav { display: flex; gap: 18px; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--accent); }

/* hero */
.hero { padding-top: 48px; padding-bottom: 32px; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 6vw, 44px); line-height: 1.3; margin: 0 0 12px; }
.hero p { color: var(--muted); max-width: 560px; margin: 0; }

/* section */
.section { padding-top: 24px; padding-bottom: 48px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.section-head h2 { font-family: var(--serif); font-size: 24px; margin: 0; }
.section-head a { font-size: 15px; }

/* category pills */
.pills { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; scrollbar-width: none; }
.pills a { flex: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; background: var(--surface); }
.pills a:hover { border-color: var(--accent); color: var(--accent); }

/* photo grid */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card:hover { border-color: var(--accent); }
.card .thumb { aspect-ratio: 4 / 5; background: var(--accent-soft); display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 12px 14px 16px; }
.card .tag { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.card h3 { font-size: 16px; line-height: 1.45; margin: 4px 0 0; font-weight: 600; }

/* article */
.article-head { padding-top: 36px; padding-bottom: 12px; }
.article-head h1 { font-family: var(--serif); font-size: clamp(26px, 5.5vw, 38px); line-height: 1.35; margin: 6px 0 12px; }
.meta { color: var(--muted); font-size: 14px; }
.disclosure { font-size: 14px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 16px 0 24px; }
.article h2 { font-family: var(--serif); font-size: 24px; margin: 40px 0 8px; }
.article p { margin: 0 0 16px; }
.hero-photo { border-radius: var(--radius); overflow: hidden; margin: 8px 0 24px; aspect-ratio: 3 / 2; background: var(--accent-soft); display: grid; place-items: center; color: var(--muted); }

/* quick picks */
.picks { display: grid; gap: 12px; margin: 16px 0 32px; }
.pick { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.pick .ph { aspect-ratio: 1; border-radius: 10px; background: var(--accent-soft); overflow: hidden; }
.pick .label { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.pick .name { font-weight: 600; line-height: 1.4; }

/* product block */
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 20px 0 32px; }
.product .ph { aspect-ratio: 4 / 3; background: var(--accent-soft); display: grid; place-items: center; color: var(--muted); }
.product .in { padding: 16px 18px 20px; }
.product h3 { margin: 0 0 6px; font-size: 20px; }
.product ul { padding-left: 20px; margin: 8px 0 16px; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.btn:hover { filter: brightness(1.08); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
.site-footer a { color: var(--muted); }

@media (max-width: 520px) {
  .nav { gap: 14px; font-size: 14px; }
  .hero { padding-top: 32px; padding-bottom: 20px; }
}

/* photos */
.photo { margin: 0 0 24px; }
.photo img { width: 100%; border-radius: var(--radius); background: var(--accent-soft); }
.photo figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.photo-hero img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.photo-wide img { aspect-ratio: 16 / 10; object-fit: cover; }
.photo-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 24px; }
.photo-row .photo { margin: 0; }
.photo-row img { aspect-ratio: 3 / 4; object-fit: cover; }
.about-list { padding-left: 20px; }
.about-list li { margin-bottom: 8px; }
