* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --ink: #252b29;
  --muted: #48544f;
  --paper: #fff;
  --line: #c9d0cd;
  --gothic: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --mincho: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --display: var(--mincho);
  --numbers: "Segoe UI", Arial, sans-serif;
  --gutter: clamp(1.35rem, 4.5vw, 3.5rem);
  --measure: 80rem;
  font-family: var(--gothic);
  font-weight: 500;
  -webkit-text-size-adjust: 100%;
}
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.65; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.35; }
h2, h3 { font-size: 1.56rem; }
address { color: var(--muted); font-size: 1rem; font-style: normal; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
:where(main, section, figure, article, div, h2)[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
[id] { scroll-margin-block-start: 1rem; }
img { display: block; max-width: 100%; }
.skip { position: absolute; z-index: 5; left: 1rem; top: .5rem; padding: .55rem 1rem; background: #fff; color: #1d3025; transform: translateY(-160%); }
.skip:focus { transform: none; }
.frame { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: .18rem clamp(.8rem, 1.5vw, 1.3rem); }
.nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .9375rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a:focus-visible, .contacts a:hover, .contacts a:focus-visible { text-decoration: underline; }
.brand { display: grid; gap: .55rem; }
.trade, .locality { font: 700 1rem/1.6 var(--gothic); }
.name { display: block; font: 600 clamp(2.65rem, 5.4vw, 4rem)/1.2 var(--display); }
.intro { font-size: 1.125rem; line-height: 1.75; text-wrap: balance; }
.intro span { display: inline-block; }
.contacts { display: grid; gap: .32rem; font-style: normal; }
.contacts > div { display: grid; grid-template-columns: 5.6rem minmax(0,1fr); align-items: baseline; }
.contacts dt { color: var(--muted); font-size: .9375rem; font-weight: 700; }
.contacts dd { min-width: 0; font: 400 1.1875rem/1.5 var(--numbers); }
.contacts a { display: inline-block; max-width: 100%; padding-block: .12rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-band .contacts { grid-template-columns: 1fr 1fr 1.23fr; gap: 1rem; }
.contact-band .contacts > div { display: block; }
.contact-band dd { margin-top: .1rem; }
.store-photo { width: 100%; height: auto; object-fit: cover; object-position: 53% 20%; }
.product-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.5rem; }
.product { min-width: 0; }
.product-link { display: grid; grid-template-columns: 30% minmax(0,1fr); align-items: center; gap: 1.2rem; color: inherit; text-decoration: none; }
.product-link:hover :is(h2,h3), .product-link:focus-visible :is(h2,h3), .row-item:hover span, .row-item:focus-visible span { text-decoration: underline; text-decoration-thickness: .07em; }
.product-photo { width: 100%; height: 8.8rem; object-fit: contain; }
.product-info p { margin-top: .5rem; color: var(--muted); font-size: 1rem; line-height: 1.68; text-wrap: balance; }
.phrase { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.products > h2 { margin-bottom: 1.8rem; }
.home-footer .frame {
  width: min(var(--measure), calc(100% - 2 * var(--gutter)));
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  border-top: 1px solid var(--line);
  padding: .85rem 0 1.5rem;
}
.home-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .9375rem;
}
@media (max-width: 48rem) {
  :root { --gutter: clamp(1.1rem, 5.9vw, 1.65rem); }
  .nav { column-gap: clamp(.65rem, 3vw, 1rem); }
  .nav a { font-size: .9375rem; }
  .name { font-size: clamp(2.5rem, 12vw, 3.2rem); }
  .intro { font-size: 1.0625rem; line-height: 1.65; }
  .contacts { gap: .2rem; }
  .contacts > div, .contact-band .contacts > div { display: grid; grid-template-columns: clamp(4.35rem, 23vw, 5.6rem) minmax(0,1fr); }
  .contact-band .contacts { grid-template-columns: 1fr; gap: .2rem; }
  .contact-band dd { margin: 0; }
  .contacts dd { font-size: 1.125rem; }
  .product-pair { grid-template-columns: 1fr; gap: 0; }
  .product-link { grid-template-columns: clamp(5rem, 23vw, 8rem) minmax(0,1fr); gap: 1rem; }
  .product-photo { height: 6.6rem; }
  .product-info :is(h2,h3) { font-size: 1.4375rem; }
  .product-pair .product { padding-block: 1.45rem; }
  .product-pair .product + .product { border-top: 1px solid var(--line); }
  .products > h2 { margin-bottom: .8rem; }
}
@media (max-width: 22rem) {
  .nav { column-gap: .7rem; }
  .nav a { font-size: .875rem; }
  .contacts > div, .contact-band .contacts > div { grid-template-columns: 4.3rem minmax(0,1fr); }
  .contacts dd { font-size: 1.0625rem; }
}
@media (forced-colors: active) {
  .contacts a, .nav a, .product-link :is(h2,h3), .row-item span { text-decoration: underline; }
}
