:root {
  --ground: #FBE1B4;
  --band: #D0BC9B;
  --sumi: #4E4E4E;
  --text: #333333;
  --hint: #5C5347;
  --white: #FFFFFF;
  --tag: #FDF8EE;
  --cord: #B5935F;
  --latin: 'Work Sans', 'Murecho', 'Hiragino Kaku Gothic ProN', sans-serif;
  --sans: 'Murecho', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --serif: 'Kaisei Opti', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --gutter: 20px;
  --section: 56px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 16px/1.9 var(--sans); overflow-wrap: anywhere; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
h1, h2, h3 { font-size: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
input, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.keep { display: inline-block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -80px; z-index: 40; padding: 8px 16px; background: var(--sumi); color: var(--white); }
.skip-link:focus { top: 8px; }
.button { display: inline-block; min-width: 168px; padding: 10px 24px; border: 0; background: var(--sumi); color: var(--white); font-weight: 500; line-height: 28px; text-align: center; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--text); }
.button:focus-visible { outline-offset: 3px; }
.site-header { position: relative; padding: 16px var(--gutter) 20px; text-align: center; }
.site-header__logo { display: block; width: 40px; margin: 0 auto; }
.site-header__name { display: inline-block; min-width: 176px; margin-top: 8px; padding-bottom: 4px; border-bottom: 2px solid var(--text); font: 700 24px/1.4 var(--latin); letter-spacing: .2em; text-indent: .2em; }
.site-header__tools { position: absolute; right: 8px; top: 12px; display: flex; }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; text-decoration: none; }
.cart-link__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cart-link__count { position: absolute; right: 0; top: 0; min-width: 20px; padding: 0 5px; background: var(--sumi); color: var(--white); font: 700 13px/20px var(--latin); text-align: center; }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.js .menu-button { display: grid; place-items: center; }
.menu-button span, .menu-button span::before, .menu-button span::after { display: block; width: 24px; height: 3px; background: var(--text); }
.menu-button span { position: relative; }
.menu-button span::before, .menu-button span::after { content: ''; position: absolute; left: 0; }
.menu-button span::before { top: -8px; }
.menu-button span::after { top: 8px; }
.menu li { border-top: 2px solid var(--text); }
.menu li:last-child { border-bottom: 2px solid var(--text); }
.menu a { display: block; padding: 0 16px; font-weight: 500; line-height: 44px; text-decoration: none; }
.menu a:hover { text-decoration: underline; }
.menu a[aria-current] { background: var(--sumi); color: var(--white); }
@media (max-width: 999px) {
  .menu { margin: 0 var(--gutter) 24px; }
  .js .menu { display: none; }
  .is-menu-open, .is-menu-open body { overflow: hidden; }
  .is-menu-open .menu { position: fixed; inset: 0; z-index: 20; display: block; margin: 0; padding: 64px var(--gutter) 24px; overflow-y: auto; overscroll-behavior: contain; background: var(--ground); }
  .is-menu-open .menu a { font-size: 17px; line-height: 46px; }
  .is-menu-open .menu-button { position: fixed; right: 8px; top: 12px; z-index: 30; }
  .is-menu-open .menu-button span { background: none; }
  .is-menu-open .menu-button span::before { top: 0; transform: rotate(45deg); }
  .is-menu-open .menu-button span::after { top: 0; transform: rotate(-45deg); }
}
.hero { position: relative; height: calc(100svh - 172px); min-height: 460px; max-height: 600px; overflow: hidden; }
.hero__photo { height: 100%; object-fit: cover; object-position: 67% 50%; }
.tag { position: absolute; left: var(--gutter); top: 0; width: 148px; transform-origin: 50% 0; }
.tag__cord { position: absolute; z-index: 1; left: 50%; top: 0; width: 24px; height: 72px; margin-left: -12px; color: var(--cord); }
.tag__paper {
  margin-top: 48px; padding: 48px 0 16px;
  background: var(--tag);
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%, 0 18px);
  -webkit-mask: radial-gradient(circle at 50% 24px, transparent 5.5px, var(--text) 6px);
  mask: radial-gradient(circle at 50% 24px, transparent 5.5px, var(--text) 6px);
}
.tag__logo { width: 100px; margin: 0 auto; }
.tag__text { margin-top: 12px; font: 400 13px/1.8 var(--serif); letter-spacing: .04em; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .tag { animation: sway 2.6s cubic-bezier(.36, 0, .4, 1) .3s both; }
  @keyframes sway {
    0% { transform: rotate(4deg); }
    26% { transform: rotate(-2.6deg); }
    50% { transform: rotate(1.5deg); }
    72% { transform: rotate(-.7deg); }
    88% { transform: rotate(.25deg); }
    100% { transform: rotate(0); }
  }
}
.brands { padding: 40px var(--gutter) 0; }
.brands ul { display: grid; grid-template-columns: repeat(2, minmax(0, 170px)); justify-content: center; gap: 16px; }
.brands li { display: grid; place-items: center; aspect-ratio: 1; background: var(--white); }
.brand-cotton-house-aya img { width: 82%; }
.brand-plus-one img { width: 88%; }
.brand-paititi img { width: 72%; }
.brand-butapana img { width: 56%; }
.shelf { padding: var(--section) var(--gutter) 0; }
.page-list .shelf, .page-cart .shelf, .page-thanks .shelf, .page-guide .shelf, .page-legal .shelf, .page-notfound .shelf, .page-contact .contact { padding-top: 16px; }
.line-title { padding-bottom: 4px; border-bottom: 1px solid var(--text); font: 400 28px/1.4 var(--latin); letter-spacing: .1em; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.product { position: relative; display: flex; flex-direction: column; border: 1px solid var(--white); background: var(--sumi); color: var(--white); }
.product__photo { position: relative; }
.product__photo img { aspect-ratio: 1; object-fit: cover; }
.product__new { position: absolute; left: 0; top: 0; padding: 0 12px; background: var(--band); color: var(--text); font: 500 14px/26px var(--latin); letter-spacing: .04em; }
.product__text { padding: 12px 12px 14px; font-size: 15px; line-height: 1.6; }
.product__name { font-weight: 500; word-break: auto-phrase; }
.product__name a { text-decoration: none; }
.product__name a::after { content: ''; position: absolute; inset: 0; }
.product:hover .product__name a { text-decoration: underline; }
.product__name a:focus-visible { outline: none; }
.product__name a:focus-visible::after { outline: 3px solid var(--text); outline-offset: 3px; }
.product__price { margin-top: 4px; font-family: var(--latin); }
.product__price small { font: 400 13px var(--sans); }
.product__sold { font-weight: 700; }
.more { margin-top: 24px; text-align: right; }
.more .button { display: block; }
.count { margin-top: 16px; }
.empty { padding: 40px 0 24px; word-break: auto-phrase; }
.empty p + p { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.crumbs { display: flex; gap: 20px; font-size: 14px; }
.crumbs a, .item__guide a, .terms__links a, .facts a, .prose a:not(.button), .site-footer__links a { display: inline-block; padding: 5px 0; }
.item { display: grid; gap: 20px; padding: 8px var(--gutter) 0; }
.item > * { min-width: 0; }
.gallery__main img { aspect-ratio: 1; object-fit: cover; border: 1px solid var(--white); }
.js .gallery__main img[data-off], html:not(.js) .gallery__thumbs { display: none; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.gallery__thumbs button { display: block; width: 100%; padding: 0; border: 3px solid transparent; background: none; cursor: pointer; }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--sumi); }
.gallery__thumbs img { aspect-ratio: 1; object-fit: cover; }
.item__name { font-size: 24px; font-weight: 700; line-height: 1.5; word-break: auto-phrase; }
.item__price { margin-top: 4px; font: 500 22px/1.6 var(--latin); }
.item__price small { font: 400 14px var(--sans); }
.item__text { margin-top: 12px; word-break: auto-phrase; }
.item__guide { margin-top: 12px; }
.facts { margin: 16px 0 0; border-bottom: 1px solid var(--text); }
.facts > div { display: grid; grid-template-columns: 8em 1fr; gap: 0 16px; padding: 8px 0; border-top: 1px solid var(--text); }
.facts dt { font-weight: 500; }
.facts dd { margin: 0; min-width: 0; word-break: auto-phrase; }
.facts dd a, .prose p a:not(.button), .buy__status a { margin: -5px 0; }
.buy { margin-top: 20px; }
.buy fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.buy legend { padding: 0; font-weight: 700; }
.measures { width: 100%; margin: 20px 0 0; border-collapse: collapse; table-layout: fixed; line-height: 1.6; }
.measures caption { padding-bottom: 4px; font-weight: 500; text-align: left; }
.measures th, .measures td { padding: 6px 2px; border: solid var(--text); border-width: 1px 0; text-align: center; overflow-wrap: anywhere; }
.measures thead th { font-size: 14px; font-weight: 500; }
.measures tbody th { font-weight: 700; }
.measures tr > :first-child { text-align: left; }
.size { position: relative; display: grid; grid-template-columns: auto minmax(3em, auto) 1fr auto; align-items: center; gap: 0 12px; margin-top: 8px; padding: 9px 14px; border: 1px solid var(--text); line-height: 28px; cursor: pointer; }
.size input { width: 18px; height: 18px; margin: 0; accent-color: var(--sumi); }
.size__name { font-weight: 700; }
.size__stock { grid-column: -2; }
.size:has(:checked) { background: var(--sumi); color: var(--white); }
.size:has(:checked) input { accent-color: var(--white); }
.size:has(:disabled) { border-style: dashed; cursor: default; }
.size:has(:focus-visible) { outline: 3px solid var(--text); outline-offset: 3px; }
.size input:focus-visible { outline: none; }
.buy__qty { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.buy__qty label { font-weight: 700; }
.select { position: relative; display: inline-block; }
.select select { min-width: 76px; height: 44px; padding: 0 32px 0 14px; border: 1px solid var(--text); border-radius: 0; background: none; appearance: none; }
.select select:disabled { opacity: 1; color: var(--text); }
.select::after { content: ''; position: absolute; right: 14px; top: 15px; width: 8px; height: 8px; border: solid var(--text); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
.buy .button { display: block; width: 100%; margin-top: 16px; }
.button:disabled { background: none; box-shadow: inset 0 0 0 1px var(--text); color: var(--text); cursor: default; }
.buy__status { font-weight: 700; }
.buy__status:not(:empty) { margin-top: 12px; }
.buy__status a { display: inline-block; padding: 5px 0; }
.cart__notice { font-weight: 700; word-break: auto-phrase; }
.cart__notice:focus { outline: none; }
.cart__notice:not(:empty) { margin-top: 20px; padding: 12px 16px; border: 2px solid var(--text); }
.cart__noscript { margin-top: 20px; }
.cart__rows { margin-top: 8px; }
.cart-row { display: grid; grid-template-columns: 88px 1fr auto; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--text); }
.cart-row__photo { grid-row: 1 / 3; }
.cart-row__photo img { aspect-ratio: 1; object-fit: cover; border: 1px solid var(--white); }
.cart-row__text { grid-column: 2 / 4; line-height: 1.6; }
.cart-row__text h2 { font-weight: 500; word-break: auto-phrase; }
.cart-row__text a { display: inline-block; margin: -8px 0; padding: 8px 0; text-decoration: none; }
.cart-row__text a:hover { text-decoration: underline; }
.cart-row__price, .cart-row__sum, .sums dd { font-family: var(--latin); }
.cart-row__edit { display: flex; align-items: center; gap: 8px; }
.cart-row__remove { height: 44px; padding: 0 8px; border: 0; background: none; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; cursor: pointer; }
.cart-row__sum { align-self: center; font-weight: 700; }
.cart-row__warn { grid-column: 1 / -1; font-weight: 700; }
.sums { margin: 20px 0 0; }
.sums > div { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
.sums dd { margin: 0; }
.sums__total { margin-top: 8px; border-top: 1px solid var(--text); font-size: 20px; font-weight: 700; }
.terms { margin-top: 28px; }
.terms h2 { font-size: 18px; font-weight: 700; }
.terms .facts { margin-top: 8px; }
.terms__links, .site-footer__links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.terms__links { margin-top: 8px; font-size: 14px; }
.cart__pay { display: block; width: 100%; margin-top: 20px; padding: 14px 24px; font-size: 18px; }
.cart__next { margin-top: 8px; font-size: 14px; word-break: auto-phrase; }
.prose { margin-top: 20px; word-break: auto-phrase; }
.prose p + p, .prose > * + * { margin-top: 16px; }
.facts--wide { margin-top: 8px; }
.facts--wide > div:first-child { border-top: 0; }
.page-legal .line-title, .page-guide .line-title, .page-thanks .line-title { font-size: 24px; letter-spacing: .04em; }
.facts--wide > div { grid-template-columns: 1fr; padding: 12px 0; }
.site-footer__links { justify-content: center; }
.center-title { font-size: 28px; font-weight: 700; line-height: 1.5; text-align: center; }
.intro { padding: calc(var(--section) + 8px) var(--gutter) 48px; text-align: center; }
.intro__sub { margin-top: 4px; font-size: 18px; }
.intro__body { max-width: 34em; margin: 20px auto 0; }
.intro__body p { word-break: auto-phrase; text-wrap: balance; }
.sign img { aspect-ratio: 3 / 2; object-fit: cover; }
.hours { padding: 48px var(--gutter); background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
.hours h2 { font-size: 22px; font-weight: 700; line-height: 1.5; }
.hours__welcome { margin-bottom: 12px; }
.contact { display: grid; gap: 40px; padding: var(--section) var(--gutter) 0; }
.contact__info { text-align: center; }
.contact__info p { margin-top: 12px; }
.contact__info a, .contact__map a, .site-footer a { display: inline-block; padding: 5px 0; }
.contact__tel { font: 500 24px/34px var(--latin); text-decoration: none; }
.contact__map { text-align: center; }
.contact__map iframe { display: block; width: 100%; height: 320px; border: 0; }
.contact__form { display: grid; gap: 12px 10px; }
.field label { display: block; line-height: 1.8; }
.field input, .field textarea { display: block; width: 100%; padding: 10px 12px; border: 1px solid var(--text); border-radius: 0; background: none; line-height: 28px; appearance: none; }
.field textarea { resize: vertical; }
.field ::placeholder { color: var(--hint); opacity: 1; }
.contact__send { display: grid; gap: 8px; margin-top: 4px; }
.contact__send p { order: 1; min-height: 30px; font-weight: 700; text-align: center; }
.contact__send .button { width: 100%; }
.site-footer { padding: 56px var(--gutter) 24px; font-size: 14px; text-align: center; }
.site-footer__shop { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 20px; }
.site-footer__hours li { line-height: 1.8; }
.site-footer__copy { margin-top: 12px; }
.site-footer__copy small { font-size: 13px; }
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .more .button { display: inline-block; }
  .brands ul { grid-template-columns: repeat(4, minmax(0, 200px)); }
  .site-footer__hours { display: flex; justify-content: center; gap: 0 20px; }
  .contact__form { grid-template-columns: 1fr 1fr; }
  .facts--wide > div { grid-template-columns: 12em 1fr; gap: 0 24px; }
  .field--wide, .contact__send { grid-column: 1 / -1; }
  .contact__send { grid-template-columns: 1fr 168px; align-items: center; }
  .contact__send p { order: 0; text-align: right; }
}
@media (min-width: 1000px) {
  :root { --gutter: 0px; --section: 72px; }
  .site-header, .frame { width: min(1320px, 100% - 80px); margin: 0 auto; }
  .site-header { display: grid; grid-template-columns: 150px 1fr 150px; align-items: center; padding: 20px 0; }
  .site-header__logo { width: 60px; }
  .site-header__name { justify-self: center; min-width: 270px; margin: 0; padding-bottom: 8px; font-size: 32px; }
  .site-header__tools { position: static; justify-content: flex-end; }
  .cart-link { display: flex; align-items: center; gap: 8px; width: auto; font-size: 15px; font-weight: 500; }
  .cart-link__label { position: static; width: auto; height: auto; clip-path: none; }
  .cart-link__count { position: static; }
  .cart-link:hover .cart-link__label { text-decoration: underline; text-underline-offset: 5px; }
  .js .menu-button { display: none; }
  .frame { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 30px; align-items: start; }
  .menu { position: sticky; top: 24px; z-index: 1; max-height: calc(100vh - 48px); overflow-y: auto; }
  .menu a { font-size: 15px; }
  .hero { width: 100%; height: auto; max-height: none; min-height: 500px; aspect-ratio: 2000 / 1090; }
  .hero__photo { position: absolute; inset: 0; object-position: 50% 50%; }
  .tag { left: 6%; width: 216px; }
  .tag__cord { width: 32px; height: 84px; margin-left: -16px; }
  .tag__paper {
    margin-top: 56px; padding: 60px 0 24px;
    clip-path: polygon(24px 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%, 0 24px);
    -webkit-mask: radial-gradient(circle at 50% 28px, transparent 6.5px, var(--text) 7px);
    mask: radial-gradient(circle at 50% 28px, transparent 6.5px, var(--text) 7px);
  }
  .tag__logo { width: 146px; }
  .tag__text { margin-top: 16px; font-size: 14px; }
  .brands { padding-top: 48px; }
  .brands ul { gap: 20px; }
  .page-list .shelf, .page-cart .shelf, .page-thanks .shelf, .page-guide .shelf, .page-legal .shelf, .page-notfound .shelf, .page-contact .contact { padding-top: 0; }
  .page-legal .line-title, .page-guide .line-title, .page-thanks .line-title { font-size: 36px; letter-spacing: .1em; }
  .item { grid-template-columns: 1fr 1fr; gap: 12px 40px; align-items: start; padding-top: 0; }
  .crumbs { grid-column: 1 / -1; margin-top: -5px; }
  .item__name { font-size: 28px; }
  .cart-row { grid-template-columns: 112px 1fr auto 8em; align-items: center; gap: 4px 24px; }
  .cart-row__photo { grid-row: auto; }
  .cart-row__text { grid-column: auto; }
  .cart-row__sum { text-align: right; }
  .cart__end { width: 520px; margin-left: auto; }
  .line-title { font-size: 36px; }
  .product-grid { gap: 20px; margin-top: 28px; }
  .product__text { padding: 14px 16px 16px; font-size: 16px; }
  .center-title { font-size: 36px; }
  .sign img { aspect-ratio: 980 / 565; object-position: 50% 30%; }
  .hours { padding: 72px 0; }
  .contact { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 24px 48px; }
  .contact__map { grid-area: 2 / 1; display: flex; flex-direction: column; }
  .contact__map iframe { flex: 1; min-height: 320px; }
  .contact__form { grid-area: 1 / 2 / 3 / 3; align-content: start; }
  .contact__info:nth-last-child(2) { align-self: center; }
  .contact__map:last-child { grid-area: 1 / 2; }
}
