:root {
  color-scheme: light;
  --paper: #f8f4ee;
  --card: #fffdf8;
  --ink: #29201e;
  --muted: #5c4c48;
  --line: #ded1c3;
  --wine: #722f42;
  --serif: "Noto Serif CJK JP", "Yu Mincho", "Hiragino Mincho ProN", "Baskervville", Georgia, serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Inter", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.85; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid var(--wine); outline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; width: 100%; height: auto; }
p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 5.2vw, 4.05rem); line-height: 1.22; font-feature-settings: "palt"; }
h2 { font-size: clamp(1.45rem, 2.65vw, 2.1rem); line-height: 1.42; }
h3 { font-size: clamp(1.25rem, 2.25vw, 1.68rem); line-height: 1.45; }
.shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: .5rem; left: .5rem; transform: translateY(-180%); padding: .5rem 1rem; background: var(--card); }
.skip:focus { transform: none; }
.site-header, .site-footer { border-bottom: 1px solid var(--line); }
.top, .footer-inner, .top nav, .footer-inner nav, .actions { display: flex; align-items: center; }
.top, .footer-inner { justify-content: space-between; gap: 1rem; }
.top { min-height: 76px; }
.top nav, .footer-inner nav { gap: clamp(.8rem, 3vw, 1.8rem); }
.wordmark { font: 600 clamp(1.42rem, 3.2vw, 2.1rem)/1 var(--serif); text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--wine); }
.nav-blog, .text-link { color: var(--wine); font-weight: 700; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; width: fit-content; padding: .62rem 1.2rem; border-radius: 3px; background: var(--wine); color: white; font-size: .95rem; font-weight: 700; text-decoration: none; }
.button:hover { background: #5c2234; }
.button-small { padding: .45rem .85rem; font-size: .82rem; }
.masthead { display: grid; grid-template-columns: .93fr 1.07fr; margin-top: 2rem; background: #eee4d7; }
.masthead-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1rem; padding: clamp(1.5rem, 4.3vw, 3.9rem); }
.masthead-copy h1 { font-size: clamp(2rem, 4.3vw, 3.25rem); }
.masthead-copy > p:not(.category), .lead { color: var(--muted); }
.category { color: var(--wine); font-size: .79rem; font-weight: 700; letter-spacing: .08em; }
.masthead-photo { height: 100%; min-height: 350px; object-fit: cover; }
.articles { padding-block: clamp(2.4rem, 6vw, 4.5rem); }
.articles > h2 { margin-bottom: 1.25rem; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.card { border: 1px solid var(--line); background: var(--card); }
.card a { display: block; height: 100%; text-decoration: none; }
.card a:hover h3 { text-decoration: underline; text-underline-offset: .24em; }
.card img { aspect-ratio: 2 / 1; object-fit: cover; }
.card-copy { position: relative; padding: 1.15rem 3.2rem 1.35rem 1.25rem; }
.card-copy h3 { margin-block: .35rem; }
.card-copy p:last-of-type { color: var(--muted); font-size: .9rem; }
.card-arrow { position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--wine); font-size: 1.4rem; }
.article-page { max-width: 980px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .65rem; padding-top: 1.15rem; color: var(--muted); font-size: .83rem; }
.breadcrumb a { color: var(--wine); }
.article-header { display: grid; gap: .65rem; padding-block: clamp(1.5rem, 4vw, 3.1rem) 1.45rem; }
.article-header h1 { font-size: clamp(1.9rem, 5vw, 3.6rem); }
.lead { font-size: clamp(1.02rem, 2vw, 1.24rem); }
.article-photo { aspect-ratio: 2.15; object-fit: cover; }
.reading { max-width: 740px; margin: auto; }
.reading > section { padding-top: clamp(1.65rem, 4vw, 2.65rem); }
.reading section h2 { margin-bottom: .75rem; }
.reading p + p { margin-top: .8rem; }
.app-shot {
  width: min(100%, 390px);
  margin: 1.25rem auto;
}
.app-shot img {
  aspect-ratio: 390 / var(--shot-height);
  object-fit: cover;
  object-position: center var(--shot-position);
  border-radius: 8px;
  outline: 1px solid var(--line);
}
.diary-scene { margin: 1.25rem 0; }
.card .diary-guide-thumb { object-position: center 56%; }
.diary-example-origin { margin-top: .75rem; }
.diary-example-origin summary { width: fit-content; cursor: pointer; color: var(--wine); }
.diary-example-photos .diary-scene { margin-bottom: .5rem; }
@media (min-width: 701px) {
  .diary-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 280px); align-items: start; gap: 2rem; }
  .diary-step .app-shot { margin: 0; }
}
.diary-scene figcaption { margin-top: .55rem; color: var(--muted); font-size: .9rem; }
.shot-diary-region { --shot-height: 485; --shot-position: 48%; }
.shot-diary-review { --shot-height: 642; --shot-position: 48%; }
.shot-diary-gallery { --shot-height: 526; --shot-position: 80%; }
.shot-diary-share { --shot-height: 220; --shot-position: 15%; }
.app-shot-wine { --shot-height: 635; --shot-position: 44%; }
.app-shot-ingredients { --shot-height: 538; --shot-position: 34%; }
.app-shot-method { --shot-height: 674; --shot-position: 63%; }
.app-shot-origin { --shot-height: 417; --shot-position: 72%; }
.app-shot-scanned-origins { --shot-height: 531; --shot-position: 54.6%; }
.app-shot figcaption { margin-top: .55rem; color: var(--muted); font-size: .9rem; }
.app-shot-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 600px) {
  .app-shot-pair { grid-template-columns: 1fr; gap: 0; }
}
.steps { margin: .9rem 0; padding-inline-start: 1.6rem; }
.steps li { padding-inline-start: .2rem; }
.steps li + li { margin-top: .5rem; }
.steps li::marker { color: var(--wine); font-weight: 700; }
.facts { margin-block: .85rem; padding: 0 1rem; background: var(--card); border: 1px solid var(--line); }
.facts div { padding-block: .75rem; }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--wine); }
.facts dd { color: var(--muted); }
.try { margin-top: 2rem; padding: clamp(1.15rem, 4vw, 2.15rem); background: #eee4d7; }
.try h2 { margin-bottom: .45rem; }
.actions { gap: .8rem 1.35rem; margin-top: .95rem; flex-wrap: wrap; }
.next-guide { max-width: 740px; margin: 1.5rem auto 3rem; padding-block: .9rem; border-block: 1px solid var(--line); }
.next-guide a { color: var(--wine); font-weight: 700; }
.site-footer { border-top: 1px solid var(--line); border-bottom: 0; }
.footer-inner { min-height: 90px; padding-block: 1rem; }
.footer-inner nav { flex-wrap: wrap; color: var(--muted); font-size: .86rem; }
@media (min-width: 1024px) {
  .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .top { min-height: 63px; }
  .masthead { grid-template-columns: 1fr; margin-top: 1rem; }
  .masthead-photo { min-height: 0; aspect-ratio: 1.6; }
  .article-grid { grid-template-columns: 1fr; gap: 1rem; }
  .article-photo { aspect-ratio: 1.6; }
}
@media (max-width: 420px) {
  .top nav { gap: .7rem; }
  .nav-blog { font-size: .82rem; }
  .button-small { gap: .3rem; padding-inline: .52rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: .65rem; }
}

.traffic-note { padding-bottom: 1rem; color: var(--muted); font-size: .75rem; }
