/* 新作帖 — a stationery-shop notebook: warm paper, ink lines, one strawberry-red accent, a yellow marker used sparingly.
   Flat surfaces, square-ish corners and plain rules instead of pastel cards, dots, tape and hearts. */
:root {
  --paper: #f6f0e6;
  --sheet: #fffdf9;
  --ink: #2f2622;
  --sub: #7b6d65;
  --line: #e0d5c6;
  --rule: #2f2622;
  --berry: #d7424f;
  --berry-deep: #b02f3d;
  --berry-soft: #f8dcd6;
  --marker: #f3d96a;
  --marker-soft: #fbf3cf;
  --lip: #d9566f;     --lip-soft: #f7dde2;
  --eye: #8a74c7;     --eye-soft: #e9e3f6;
  --face: #e58a62;    --face-soft: #f9e3d8;
  --base: #c9a03c;    --base-soft: #f5ebc8;
  --care: #4ea08a;    --care-soft: #dbeee7;
  --nail: #5b9bd0;    --nail-soft: #dde9f5;
  --food: #d98239;    --food-soft: #f8e5d2;
  --sweets: #c46aa3;  --sweets-soft: #f4dcea;
  --drink: #4aa4b8;   --drink-soft: #d8eef2;
  --goods: #8d9442;   --goods-soft: #e9ecd0;
  --k: var(--berry); --k-soft: var(--berry-soft);
  --body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --head: "Kiwi Maru", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --radius: 4px;
}
.k-lip { --k: var(--lip); --k-soft: var(--lip-soft); }
.k-eye { --k: var(--eye); --k-soft: var(--eye-soft); }
.k-face { --k: var(--face); --k-soft: var(--face-soft); }
.k-base { --k: var(--base); --k-soft: var(--base-soft); }
.k-care { --k: var(--care); --k-soft: var(--care-soft); }
.k-nail { --k: var(--nail); --k-soft: var(--nail-soft); }
.k-food { --k: var(--food); --k-soft: var(--food-soft); }
.k-sweets { --k: var(--sweets); --k-soft: var(--sweets-soft); }
.k-drink { --k: var(--drink); --k-soft: var(--drink-soft); }
.k-goods { --k: var(--goods); --k-soft: var(--goods-soft); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font: 400 15px/1.85 var(--body); letter-spacing: .01em; background: var(--paper); }
a { color: inherit; text-decoration-color: var(--berry); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--berry-deep); }
:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); border-radius: 2px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 18px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--sheet); padding: 6px 10px; z-index: 99; border: 1px solid var(--ink); }
.small, small { font-size: 12.5px; color: var(--sub); }
.na { color: var(--sub); }
strong, b, th { font-weight: 700; }

/* masthead: a notebook cover — red top edge, name on the left, one ink rule below */
.masthead { background: var(--sheet); border-top: 5px solid var(--berry); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.mast-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 4px; }
.wordmark { display: inline-flex; align-items: center; font: 500 27px/1.2 var(--head); letter-spacing: .06em; text-decoration: none; color: var(--ink); }
.wordmark .tape { flex: none; width: 32px; height: 32px; margin-right: 8px; background: url(strawberry.svg) center / contain no-repeat; }
.wordmark:hover { color: var(--berry-deep); }
.mast-note { margin: 0; text-align: right; font-size: 12px; line-height: 1.6; color: var(--sub); }
.mast-note span { display: inline-block; margin-top: 2px; font-variant-numeric: tabular-nums; }
.topnav .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-bottom: 0; }
.topnav a { flex: none; padding: 7px 12px 6px; font-size: 14px; text-decoration: none; color: var(--ink); border-bottom: 3px solid transparent; }
.topnav a:hover { color: var(--berry-deep); border-bottom-color: var(--line); }
.topnav a[aria-current="page"] { font-weight: 700; border-bottom-color: var(--berry); }
.subnav { border-top: 1px solid var(--line); }
.subnav .wrap { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 7px; padding-bottom: 8px; }
.subnav a { flex: none; padding: 2px 10px; font-size: 12.5px; text-decoration: none; color: var(--sub); border: 1px solid var(--line); border-radius: 2px; background: var(--sheet); }
.subnav a:hover { color: var(--ink); border-color: var(--ink); }
.subnav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.subnav .sub-label { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--berry-deep); padding: 0 2px 0 12px; }
.subnav .sub-label:first-child { padding-left: 0; }

/* type */
main { padding-bottom: 56px; }
h1 { font: 500 28px/1.45 var(--head); margin: 28px 0 10px; letter-spacing: .03em; }
h1.k-lip, h1.k-eye, h1.k-face, h1.k-base, h1.k-care, h1.k-nail, h1.k-food, h1.k-sweets, h1.k-drink, h1.k-goods { display: block; border-left: 7px solid var(--k); padding-left: 12px; }
h2 { position: relative; font: 500 19px/1.5 var(--head); margin: 44px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); letter-spacing: .03em; }
h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 44px; height: 3px; background: var(--berry); }
h3 { font: 500 16px/1.5 var(--head); margin: 22px 0 8px; }
.lead { margin: 0 0 20px; max-width: 46em; }
p { max-width: 46em; }
.crumbs { margin-top: 16px; font-size: 12.5px; color: var(--sub); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin: 0 7px; color: var(--line); }
.kicker { margin: 18px 0 0; font-size: 13px; color: var(--sub); }
.kicker a { text-decoration: none; }

/* tables: ruled like a ledger */
.table-wrap { overflow-x: auto; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
caption { text-align: left; font-size: 12.5px; color: var(--sub); padding: 10px 14px 0; }
th, td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
tbody tr:last-child > * { border-bottom: 0; }
thead th { font-size: 11.5px; letter-spacing: .06em; color: var(--sub); white-space: nowrap; background: transparent; border-bottom: 2px solid var(--rule); }
tbody tr:hover { background: #fbf6ec; }
.c-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
th.c-price, th.c-unit, th.c-size, th.c-colors { text-align: right; }
.c-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
.c-date small { display: block; color: var(--berry-deep); }
.c-name { min-width: 15em; position: relative; padding-left: 12px; }
.kind-dot { display: none; }
.c-type, .c-shop { color: var(--sub); font-size: 13px; }
.c-tags { white-space: nowrap; }
.iname { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.iname:hover { text-decoration: underline; text-decoration-color: var(--berry); }
.iname-text { min-width: 0; }
.ibrand { display: block; font-weight: 500; font-size: 11.5px; letter-spacing: .04em; color: var(--sub); }
h1 .ibrand { font-size: 14px; margin-bottom: 2px; }
table.sortable th button { all: unset; cursor: pointer; padding: 1px 6px; border-bottom: 1px dotted var(--sub); }
table.sortable th button:hover { color: var(--berry-deep); }
table.sortable th[aria-sort="ascending"] button::after { content: " ↑"; color: var(--berry); }
table.sortable th[aria-sort="descending"] button::after { content: " ↓"; color: var(--berry); }
table.index { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.index th[scope="row"] { white-space: nowrap; }

/* labels: small stamps, not pills */
.tag { display: inline-block; font-size: 11px; line-height: 1; padding: 4px 7px 3px; margin: 0 4px 3px 0; border: 1px solid currentColor; border-radius: 2px; letter-spacing: .08em; font-weight: 700; }
.tag-new { color: #fff; background: var(--berry); border-color: var(--berry); }
.tag-color { color: #2f7a63; }
.tag-limited { color: var(--berry-deep); }
.tag-plain { color: var(--sub); font-weight: 500; }

/* item page */
.item-head h1 { margin-top: 4px; }
.item .kicker a:first-child { display: inline-block; padding: 0 8px; border-radius: 2px; background: var(--k-soft); color: var(--ink); }
.spec { margin: 18px 0 0; background: var(--sheet); border: 1px solid var(--line); border-top: 4px solid var(--k); border-radius: var(--radius); overflow: hidden; }
.spec > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.spec > div:last-child { border-bottom: 0; }
.spec dt { font-size: 12.5px; color: var(--sub); padding-top: 2px; }
.spec dd { margin: 0; }
.spec dd small { display: block; margin-top: 2px; }
.price { font: 500 28px/1.3 var(--head); font-variant-numeric: tabular-nums; box-shadow: inset 0 -.42em 0 var(--marker); padding: 0 4px; }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.swatches li { display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; }
.swatches b { font-variant-numeric: tabular-nums; min-width: 3.4em; padding: 0 7px; border-radius: 2px; background: var(--k-soft); text-align: center; font-size: 13px; }
.memo { background: var(--marker-soft); border-left: 4px solid var(--marker); border-radius: 2px; padding: 4px 20px 14px; margin-top: 34px; }
.memo h2 { margin-top: 16px; border-bottom-color: #ead88a; }
.memo h2::after { background: var(--ink); }
.memo ul { margin: 0; padding-left: 1.2em; }
.plain { padding-left: 1.2em; max-width: 46em; }
.plain li + li { margin-top: 4px; }
.plain li::marker { color: var(--k); }
.caution li::marker { content: "※ "; color: var(--berry); }
.sources ul { padding-left: 1.2em; font-size: 14px; }
.item-photo { box-sizing: border-box; width: 100%; max-width: 100%; overflow: hidden; margin: 16px 0 0; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-align: center; }
.item-photo img { display: block; width: 100%; max-width: 100%; height: auto; max-height: 420px; object-fit: contain; margin: 0 auto; }
.item-photo figcaption { margin-top: 8px; font-size: 12px; color: var(--sub); text-align: left; }
.thumb { flex: none; width: 48px; height: 48px; border-radius: 6px; object-fit: contain; padding: 3px; background: #fff; border: 1px solid var(--line); border-bottom: 4px solid var(--k); box-sizing: border-box; }
.thumb-none { display: inline-block; background: var(--k-soft); }

/* calendar: the date sits on the left like a diary page */
.pager { display: flex; justify-content: space-between; margin: 0 0 12px; font-size: 14px; }
.pager a { text-decoration: none; padding: 3px 12px; border: 1px solid var(--ink); border-radius: 2px; background: var(--sheet); }
.pager a:hover { background: var(--ink); color: #fff; }
.calendar { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--rule); }
.calendar > li { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cal-day { display: block; margin: 0; padding: 0; border: 0; font: 500 20px/1.3 var(--head); font-variant-numeric: tabular-nums; text-align: left; align-self: start; background: none; color: var(--ink); }
.cal-day::before, .cal-day::after { display: none; }
.cal-day small { display: block; margin-top: 2px; font: 700 11px/1.4 var(--body); letter-spacing: .1em; color: var(--berry-deep); }
.calendar ul { list-style: none; margin: 0; padding: 0; }
.calendar ul li { padding: 0 0 10px; }
.calendar ul li + li { border-top: 1px solid var(--line); padding-top: 10px; }
.calendar ul li > a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.calendar ul li > a:hover { text-decoration: underline; text-decoration-color: var(--berry); }
.calendar ul li > a .ibrand { display: none; }
.cal-meta { display: block; font-size: 13px; color: var(--sub); }
.cal-meta b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* lists */
.link-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--rule); }
.link-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.link-list a { text-decoration: none; font-weight: 700; }
.link-list a::after { content: "  →"; font-weight: 400; color: var(--berry); }
.link-list a:hover { text-decoration: underline; text-decoration-color: var(--berry); }
.link-list span { font-size: 13px; color: var(--sub); font-variant-numeric: tabular-nums; }
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.more { font-size: 14px; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.more a { text-decoration: none; padding: 4px 14px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: #fff; }
.more a:hover { background: var(--berry-deep); border-color: var(--berry-deep); color: #fff; }
.more a + a { background: var(--sheet); color: var(--ink); }
.more a + a:hover { background: var(--ink); color: #fff; }
.recent { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; border-top: 2px solid var(--rule); }
.recent li { break-inside: avoid; display: grid; grid-template-columns: 3.4em 1fr auto; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.recent time, .recent li > span { color: var(--sub); font-variant-numeric: tabular-nums; }
.types { font-size: 14px; color: var(--sub); }
.toc { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; margin-bottom: 8px; }
.toc a { text-decoration: none; padding: 2px 11px; border: 1px solid var(--line); border-radius: 2px; background: var(--sheet); }
.toc a:hover { border-color: var(--ink); }
.genre-block { margin-top: 8px; }
.genre-block h2 a { text-decoration: none; }

/* price filter on comparison tables */
.pricefilter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13px; }
.pricefilter label { font-weight: 700; }
.pricefilter select { font: inherit; padding: 4px 10px; border: 1px solid #b9ab9a; border-radius: 3px; background: #fff; color: var(--ink); }
.pricefilter output { color: var(--sub); }
table.items tbody tr[hidden] { display: none; }

/* legend */
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 12px; font-size: 12.5px; color: var(--sub); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; background: var(--k); }

/* contact */
.contact-form { display: grid; gap: 6px; max-width: 34em; margin-top: 12px; background: var(--sheet); padding: 16px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-form label { font-size: 13px; font-weight: 700; margin-top: 8px; }
.contact-form input, .contact-form textarea { font: inherit; padding: 9px 12px; border: 1px solid #b9ab9a; background: #fff; border-radius: 3px; }
.contact-form .contact-agreement { display: flex; gap: 8px; font-weight: 400; }
.contact-form button { justify-self: start; font: inherit; font-weight: 700; padding: 10px 26px; margin-top: 10px; border: 0; border-radius: 3px; background: var(--ink); color: #fff; cursor: pointer; }
.contact-form button:hover { background: var(--berry-deep); }
.contact-form button:disabled { opacity: .5; cursor: default; }
.contact-trap { position: absolute; left: -9999px; }

/* footer */
.foot { border-top: 1px solid var(--rule); background: var(--sheet); padding: 24px 0 32px; font-size: 13.5px; }
.foot-name { font: 500 18px/1.4 var(--head); margin: 0 0 4px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0; }

[id] { scroll-margin-top: 150px; }
html, body { max-width: 100%; overflow-x: clip; }
img, svg, video { max-width: 100%; }

@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .mast-inner { padding-top: 9px; padding-bottom: 2px; }
  .mast-note { display: none; }
  .wordmark { font-size: 22px; }
  .wordmark .tape { width: 26px; height: 26px; margin-right: 6px; }
  .topnav a { padding: 6px 10px 5px; font-size: 13px; }
  .subnav .wrap { padding-top: 6px; padding-bottom: 7px; }
  .subnav a { padding: 2px 9px; font-size: 12px; }
  [id] { scroll-margin-top: 130px; }
  h1 { font-size: 23px; }
  h2 { font-size: 17.5px; margin-top: 36px; }
  .home-grid { grid-template-columns: 1fr; }
  .recent { columns: 1; }
  .spec > div { grid-template-columns: 6.5em 1fr; }
  .calendar > li { grid-template-columns: 1fr; gap: 8px; }
  .c-name { min-width: 0; }
  .thumb { width: 44px; height: 44px; }
  .item-photo { padding: 10px; }
  .item-photo img { max-height: 280px; }
  /* product tables become one block per product */
  table.items, table.items tbody { display: block; }
  table.items:not(.sortable) thead { display: none; }
  table.items thead { display: block; }
  table.items thead tr { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-bottom: 2px solid var(--rule); }
  table.items thead th { padding: 0; border: 0; background: none; }
  table.sortable thead th:not(:has(button)) { display: none; }
  table.items tbody tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); position: relative; }
  table.items tbody tr:last-child { border-bottom: 0; }
  table.items td { display: block; padding: 0; border: 0; text-align: left; }
  table.items td.c-name { position: static; padding-left: 0; order: -1; flex-basis: 100%; }
  table.items td.c-date { order: -2; flex-basis: 100%; font-size: 12.5px; color: var(--sub); }
  table.items td.c-date small { display: inline; margin-left: 6px; }
  table.items td.c-num { font-weight: 700; }
  table.items td.c-type, table.items td.c-shop { font-size: 12.5px; }
  table.items td.is-empty { display: none; }
  table.items td[data-label]::before { content: attr(data-label); font-weight: 400; color: var(--sub); font-size: 12px; margin-right: 3px; }
  /* index tables (category / brand): one block per row so nothing runs off the screen */
  table.index, table.index tbody { display: block; width: 100%; }
  table.index thead { display: none; }
  table.index tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.index tr:last-child { border-bottom: 0; }
  table.index th[scope="row"], table.index td { display: block; padding: 0; border: 0; text-align: left; min-width: 0; overflow-wrap: anywhere; }
  table.index th[scope="row"] { flex-basis: 100%; white-space: normal; font-size: 15.5px; }
  table.index td[data-label]::before { content: attr(data-label) "："; font-weight: 400; color: var(--sub); font-size: 12px; }
  table.index td[data-label="いちばん安い新作"] { flex-basis: 100%; }
  table.index td[data-label="いちばん安い新作"]::before { display: block; margin-bottom: 2px; }
}
@media print { .topnav, .subnav, .foot nav, .skip { display: none; } body { background: #fff; } .masthead { position: static; } }
