:root {
  color-scheme: light;
  --paper: #fffdf8;
  --milk: #fffefa;
  --ink: #303a2d;
  --green: #284b3b;
  --muted: #595e50;
  --rust: #914528;
  --rule: #dcd8c6;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "BIZ UDPMincho", Georgia, serif;
  --sans: "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
  --page: 76rem;
  --gutter: clamp(1rem, 3.5vw, 2.5rem);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 4rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.7 var(--sans); }
img { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:is(a, input, summary):focus-visible { outline: 3px solid #a54916; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); color: var(--green); }
.hero { border-top: 4px solid var(--green); }
.hero, main, .nav { padding-inline: max(var(--gutter), calc((100% - var(--page)) / 2 + var(--gutter))); }
.hero h1 { padding-block: 1.05rem; font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: .045em; line-height: 1.4; }
.hero h1 span { display: inline-block; margin-left: .55em; padding-left: .9em; border-left: 1px solid #b7baa5; color: var(--muted); font: 500 .58em/1.5 var(--sans); letter-spacing: .07em; vertical-align: .13em; }
.nav { position: sticky; z-index: 5; top: 0; display: flex; gap: clamp(.6rem, 2vw, 1.75rem); overflow: auto; border-block: 1px solid var(--rule); background: var(--paper); }
.nav a { display: inline-flex; align-items: center; flex: none; min-height: 2.9rem; padding: .25rem .12rem; color: var(--green); font-size: .88rem; font-weight: 650; text-decoration: none; }
.nav a:hover { box-shadow: inset 0 -2px var(--rust); }
main { padding-block: clamp(1.05rem, 2vw, 1.65rem) 4rem; }
section, aside { min-width: 0; }
section + section { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
section h2 { font-size: clamp(1.55rem, 3.2vw, 2.4rem); letter-spacing: .022em; line-height: 1.4; }
.onigiri-greetings { display: grid; grid-template-columns: 5.2rem minmax(0,1fr) auto; align-items: center; gap: .3rem 1rem; padding: .65rem clamp(1rem, 2vw, 1.6rem); margin-bottom: 1.1rem; border: 1px solid #ddcfaf; border-radius: .9rem; background: #fffaed; }
.onigiri-greetings img { width: 100%; height: auto; }
.onigiri-greetings h2 { font-size: clamp(1.05rem, 2vw, 1.4rem); line-height: 1.4; }
.onigiri-greetings p, .cost { font-size: .86rem; }
.onigiri-greetings p { margin-top: .2rem; }
.purchase { display: flex; gap: .18rem; flex-direction: column; align-items: flex-end; }
.purchase a, .feature-jump, .shop-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: .45rem; padding: .55rem 1.05rem; color: white; background: var(--green); font-weight: 650; text-decoration: none; }
.purchase a, .shop-link { font-size: .9rem; }
.purchase a:hover, .feature-jump:hover, .shop-link:hover { background: #183b2a; text-decoration: underline; }
.feature-lead { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); align-items: center; border-radius: 1.45rem; border: 1px solid #e2cfae; overflow: hidden; background: #fff3dc; }
.feature-copy { padding: clamp(1.5rem, 3.7vw, 3.8rem); }
.feature-copy h2 { font-size: clamp(2.05rem, 3.1vw, 3.15rem); line-height: 1.3; letter-spacing: .035em; word-break: keep-all; }
.feature-copy h2 span { display: block; margin-bottom: .5rem; color: var(--rust); font-size: .48em; letter-spacing: .075em; }
.feature-copy p { margin: .95rem 0 1.15rem; font-size: clamp(.94rem, 1.28vw, 1.03rem); line-height: 1.85; }
.feature-art { width: 100%; height: auto; }
.feature-jump { font-size: .94rem; }
.ad-note, .art-note { color: var(--muted); font-size: .82rem; line-height: 1.6; }
.ad-note { margin: .8rem 0 1.15rem; }
.products-for-recipe { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.15rem; }
.recipe-choice { position: relative; display: flex; flex-direction: column; align-items: start; min-width: 0; border: 1px solid var(--rule); border-radius: .85rem; padding: 1.4rem 1.5rem 1.1rem; background: var(--milk); }
.recipe-art { position: absolute; right: 1rem; top: .8rem; width: clamp(4rem, 7vw, 6rem); height: auto; mix-blend-mode: multiply; }
.pick-brand { padding-right: 5rem; font-size: .78rem; letter-spacing: .05em; font-weight: 650; color: var(--rust); }
.recipe-choice h3 { padding-right: clamp(4.2rem, 7vw, 6rem); margin: .18rem 0 1rem; min-height: 2.55em; font: 700 clamp(1.12rem, 2vw, 1.5rem)/1.4 var(--serif); color: var(--green); }
.recipe-choice p { color: var(--muted); font-size: .94rem; }
.recipe-choice .fit-note { margin: .75rem 0 1rem; padding: .6rem .85rem; background: #f2f3e9; border-radius: .4rem; font-size: .87rem; }
.shop-link { margin-top: auto; }
.maker-link { display: inline-flex; align-items: center; min-height: 42px; font-size: .82rem; }
.catalog-search { padding: 1.2rem clamp(1rem, 3vw, 2.35rem); border-radius: 1rem; background: #edf0e6; border: 1px solid #d7dece; }
.catalog-search label { display: block; margin-bottom: .5rem; font: 700 1.18rem/1.5 var(--serif); color: var(--green); }
.catalog-search input { width: 100%; min-height: 3rem; padding: .55rem .85rem; background: var(--milk); color: var(--ink); font: inherit; border: 1px solid #879782; border-radius: .5rem; }
.catalog-search input::placeholder { color: var(--muted); }
.catalog-search [role=status] { margin-top: .55rem; color: var(--muted); font-size: .9rem; }
.catalog-search [role=status]:empty { margin: 0; }
.catalog-search ul { list-style: none; padding: 0; margin: 0; }
.catalog-search li { border-top: 1px solid #c6cfc0; }
.catalog-search li:first-child { margin-top: .7rem; }
.catalog-search li a { display: grid; grid-template-columns: 3.25rem 1fr auto; align-items: center; column-gap: .85rem; padding: .4rem; text-decoration: none; }
.catalog-search li a:hover span { text-decoration: underline; }
.catalog-search li img { width: 100%; height: auto; mix-blend-mode: multiply; }
.catalog-search small { color: var(--muted); }
.topsub, .category-guide { color: var(--muted); margin-top: .6rem; font-size: .99rem; line-height: 1.75; }
.art-note { margin-top: .15rem; }
.picks { margin-top: 1.1rem; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.65rem,1.65vw,1.2rem); }
.pick { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rule); border-radius: .85rem; text-decoration: none; color: var(--ink); background: var(--milk); }
.pick-plate { display: grid; place-items: center; padding: .5rem; background: #faf2e1; border-bottom: 1px solid #ece7d8; }
.pick:nth-child(4n+2) .pick-plate { background: #f5efdf; }
.pick:nth-child(4n+3) .pick-plate { background: #eff1e7; }
.pick:nth-child(4n) .pick-plate { background: #fbefe3; }
.pick-plate img { width: auto; height: clamp(6.75rem, 12vw, 9rem); mix-blend-mode: multiply; }
.pbody { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: .95rem 1rem .65rem; }
.pname, .card h3 { font-weight: 700; font-size: clamp(.95rem,1.25vw,1.07rem); line-height: 1.55; overflow-wrap: anywhere; }
.pnote { margin: .4rem 0; font-size: .88rem; color: var(--muted); }
.pfoot { margin-top: auto; }
.pbtn, .btn { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; color: var(--green); font-weight: 650; text-decoration: underline; text-underline-offset: .22em; }
.pick:hover { border-color: #899b80; box-shadow: 0 3px 10px #3243280e; }
.pick:hover .pbtn { text-decoration-thickness: 2px; }
.catalog-section { padding-top: clamp(1.45rem, 3vw, 2.5rem); border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(12rem, .62fr) minmax(0,1.65fr); gap: clamp(1rem,4vw,3.3rem); }
.section-intro h2 { display: flex; align-items: baseline; gap: .7rem; }
.count { color: var(--muted); font: 500 .88rem var(--sans); white-space: nowrap; }
.shelves { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; align-items: start; }
.shelf { min-width: 0; background: var(--milk); border: 1px solid var(--rule); border-radius: .65rem; }
.shelf[open] { grid-column: 1/-1; border-color: #a3af98; }
.shelf summary { min-height: 4.55rem; display: grid; align-items: center; grid-template-columns: 3.8rem minmax(0,1fr) auto .6rem; gap: .55rem; padding: .35rem .9rem .35rem .55rem; cursor: pointer; list-style: none; }
.shelf summary::-webkit-details-marker { display: none; }
.shelf summary:hover .shelf-name { text-decoration: underline; text-underline-offset: .2em; }
.shelf summary::after { content: ""; width: .42rem; height: .42rem; border: solid var(--green); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.shelf[open] summary::after { transform: rotate(225deg); }
.shelf-name { font-weight: 700; line-height: 1.5; color: var(--green); }
.shelf-count { color: var(--muted); font-size: .76rem; }
.shelf-art, .card .item-art { width: 100%; height: auto; mix-blend-mode: multiply; }
.grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--rule); }
.card { display: grid; grid-template-columns: 3.5rem minmax(0,1fr); gap: .65rem; align-items: start; padding: .8rem; border-bottom: 1px solid var(--rule); }
.card:nth-child(odd) { border-right: 1px solid var(--rule); }
.card:last-child { border-bottom: 0; }
.card h3 { font-size: .92rem; }
.card p { font-size: .84rem; color: var(--muted); margin-top: .3rem; }
footer { padding: 1.8rem var(--gutter); text-align: center; background: #edf0e6; color: var(--muted); font-size: .82rem; }
footer .total { font-weight: 700; }
@media(max-width: 57rem) {
  .catalog-section { grid-template-columns: 1fr; gap: .85rem; }
  .feature-copy { padding: 1.35rem 1.65rem; }
  .feature-copy h2 { font-size: 2.05rem; }
  .picks { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 42rem) {
  html { scroll-padding-top: 3.4rem; }
  .hero h1 { padding-block: .78rem; }
  .nav { gap: 1.05rem; }
  .onigiri-greetings { grid-template-columns: 4.4rem minmax(0,1fr); column-gap: .75rem; }
  .purchase { grid-column: 1/-1; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .65rem; }
  .feature-lead { display: flex; flex-direction: column; align-items: stretch; border-radius: 1rem; }
  .feature-art { order: -1; }
  .feature-copy { padding: 1.1rem 1.2rem 1.35rem; }
  .feature-copy h2 { font-size: clamp(1.7rem, 5.8vw, 2.2rem); }
  .feature-copy h2 span { font-size: .65em; margin-bottom: .25rem; }
  .products-for-recipe { grid-template-columns: 1fr; gap: .75rem; }
  .recipe-choice { padding: 1.1rem 1.15rem .65rem; }
  .recipe-choice h3 { min-height: 2.3em; }
  .recipe-art { width: 4.5rem; }
  .catalog-search li a { grid-template-columns: 2.75rem 1fr; gap: .1rem .65rem; }
  .catalog-search li img { grid-row: span 2; }
  .catalog-search small { grid-column: 2; }
  .picks { gap: .6rem; }
  .pbody { padding: .65rem .72rem .35rem; }
  .pnote { font-size: .82rem; }
  .pick-plate img { height: clamp(5.5rem, 22vw, 7.25rem); }
  .shelves, .grid { grid-template-columns: 1fr; }
  .shelf summary { min-height: 3.85rem; grid-template-columns: 3.2rem 1fr auto .55rem; }
  .card:nth-child(odd) { border-right: 0; }
}
@media(max-width: 23rem) {
  .picks { grid-template-columns: 1fr; }
  .pick { display: grid; grid-template-columns: 5.1rem 1fr; }
  .pick-plate { border-bottom: 0; }
  .pick-plate img { width: 100%; height: auto; }
}
.brand { margin: 0; padding-block: .85rem; font: 700 clamp(1.15rem, 2vw, 1.5rem)/1.45 var(--serif); color: var(--green); letter-spacing: .055em; }
.shelf-home { margin: 0 0 clamp(1.2rem, 3vw, 2.1rem); }
.shelf-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .76fr); gap: clamp(1.2rem, 3vw, 3rem); align-items: start; padding: .4rem 0 1.45rem; }
.shelf-intro h1 { font-size: clamp(2.35rem, 4.9vw, 4rem); line-height: 1.28; letter-spacing: .04em; }
.shelf-intro > div > p { margin-top: .4rem; font-size: 1rem; color: var(--muted); }
.shelf-intro .catalog-search { margin: 0; padding: .2rem 0; border: 0; border-radius: 0; background: transparent; }
.shelf-intro .catalog-search label { font: 650 .9rem/1.5 var(--sans); }
.shelf-intro .catalog-search ul:not(:empty) { max-height: min(52vh, 25rem); overflow: auto; overscroll-behavior: contain; }
.aisles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(.55rem, 1.4vw, 1rem); }
.aisle { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; padding: .8rem clamp(.85rem, 1.7vw, 1.4rem) 1.05rem; text-decoration: none; border: 1px solid var(--rule); border-bottom: 3px solid #c9b598; border-radius: .9rem; background: #fbefdf; color: var(--green); }
.aisle:nth-child(2) { background: #eff0e8; border-bottom-color: #a3ae99; }
.aisle:nth-child(3) { background: #f6eade; border-bottom-color: #cca590; }
.aisle:nth-child(4) { background: #f6f1de; border-bottom-color: #c7bc8e; }
.aisle img { grid-column: 1/-1; justify-self: center; width: clamp(5.25rem, 9vw, 8rem); height: auto; mix-blend-mode: multiply; }
.aisle-name { grid-column: 1; align-self: end; font: 700 clamp(1.15rem, 2.2vw, 1.6rem)/1.5 var(--serif); }
.aisle-examples { grid-column: 1; font-size: .83rem; color: var(--muted); }
.aisle::after { content: ""; grid-column: 2; grid-row: 2 / 4; align-self: center; width: .45em; height: .45em; margin-left: .2rem; border: solid var(--green); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.aisle:hover { border-color: var(--green); }
.aisle:hover .aisle-name { text-decoration: underline; text-underline-offset: .18em; }
.onigiri-greetings + .toprail { margin-top: clamp(1.8rem, 4vw, 3.5rem); }
.greeting-sampler {
  padding: clamp(1rem, 2.6vw, 2rem);
  border: 1px solid #d9c8a8;
  border-radius: 1rem;
  background: #fcf6e9;
}
.greeting-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1.5rem; }
.greeting-head h2 { font-size: clamp(1.2rem, 2.8vw, 1.85rem); line-height: 1.45; }
.greeting-head p { margin-top: .2rem; color: var(--muted); font-size: .9rem; }
.greeting-buy { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .65rem 1rem; min-height: 44px; border-radius: .55rem; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; }
.greeting-buy span { padding-left: .65rem; border-left: 1px solid #a9b9ac; font-size: .84rem; }
.greeting-buy:hover { background: #183b2a; text-decoration: underline; }
.greeting-replies { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; margin-top: 1rem; }
.greeting-replies figure { display: flex; flex-direction: column; align-items: center; justify-content: space-between; margin: 0; padding: .7rem .5rem .55rem; border-radius: .7rem; background: #fffdf8; }
.greeting-replies figcaption { align-self: flex-start; padding: .28rem .7rem; border-radius: .75rem .75rem .75rem .15rem; background: #e5ecdf; font-size: .86rem; line-height: 1.55; }
.greeting-replies img { width: min(76%, 8rem); height: auto; margin-top: .35rem; }
.greeting-more { padding-top: .4rem; }
.greeting-more summary { width: fit-content; min-height: 44px; padding: .6rem .45rem .4rem 0; cursor: pointer; color: var(--green); text-decoration: underline; text-underline-offset: .2em; font-weight: 650; }
.greeting-more:not([open]) .greeting-hide, .greeting-more[open] .greeting-show { display: none; }
.greeting-rest { display: grid; grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr)); align-items: center; justify-items: center; gap: .6rem; padding-top: .65rem; border-top: 1px solid #d9c8a8; }
.greeting-rest img { width: min(100%, 8rem); height: auto; }
.greeting-after-preview { margin-top: .9rem; }
.greeting-sampler + .toprail, .recipe-greeting + .catalog-section { margin-top: clamp(1.8rem, 4vw, 3.5rem); }
.recipe-greeting { display: flex; align-items: center; gap: .9rem; margin-top: .85rem; padding: .65rem 1rem; border-left: .22rem solid #c6a370; background: #fcf6e9; }
.recipe-greeting img { width: clamp(3.4rem, 6vw, 4.6rem); height: auto; flex: none; }
.recipe-greeting p { color: var(--muted); font-size: .9rem; }
.recipe-greeting a { display: inline-block; padding-block: .4rem; min-height: 44px; font-weight: 650; }
@media (max-width: 36rem) {
  .greeting-replies { grid-template-columns: 1fr; gap: .4rem; }
  .greeting-replies figure { flex-direction: row; gap: .6rem; padding: .4rem .75rem; }
  .greeting-replies figcaption { align-self: center; }
  .greeting-replies img { width: clamp(4.9rem, 20vw, 6.3rem); flex: none; margin: 0; }
  .greeting-rest { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
.toprail .ad-note { margin: .5rem 0 0; }
.recipe-heading { display: flex; align-items: center; gap: clamp(.75rem, 2.4vw, 1.7rem); }
.recipe-heading img { flex: none; width: clamp(5rem, 12vw, 9rem); height: auto; border-radius: .7rem; }
.recipe-heading p { margin-top: .3rem; color: var(--muted); }
.recipe-heading h2 { word-break: keep-all; text-wrap: balance; }
.recipe-shelf .recipe-choice h3 { margin: .2rem 0 .55rem; min-height: 1.8em; }
.recipe-shelf .shop-link { margin: .15rem 0 .35rem; }
.item-details { width: 100%; font-size: .88rem; }
.item-details summary { padding: .55rem 0; color: var(--green); cursor: pointer; }
.recipe-choice .item-details .fit-note { margin: .45rem 0 0; }
.item-details .maker-link { min-height: 44px; }
@media(max-width: 42rem) {
  .shelf-intro { grid-template-columns: 1fr; gap: .65rem; padding: .1rem 0 .85rem; }
  .shelf-intro h1 { font-size: clamp(2rem, 8.5vw, 2.65rem); }
  .shelf-intro > div > p { margin-top: .2rem; font-size: .91rem; }
  .aisles { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .aisle { padding: .4rem .72rem .6rem; }
  .aisle-examples { font-size: .74rem; }
  .recipe-heading { align-items: start; }
  .recipe-heading img { width: 4.2rem; }
  .recipe-heading h2 { font-size: clamp(1.22rem, 4.7vw, 1.65rem); }
  .recipe-heading p { font-size: .83rem; }
  .recipe-shelf .recipe-choice { padding: .85rem 1rem .45rem; }
}

