/*
Theme Name: Housework to you
Version: 1.0.0
Requires PHP: 8.0
*/
:root{--ink:#202720;--green:#254b39;--paper:#f5f3eb;--rule:#cfd4cb;color-scheme:light}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);background:#fff;font-family:system-ui,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif;line-height:1.7}
img{max-width:100%;height:auto}
a{color:var(--green);text-underline-offset:.22em}
a:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.frame{width:min(100% - 36px,1180px);margin-inline:auto}
.masthead{border-top:5px solid var(--green);border-bottom:1px solid var(--rule)}
.masthead .frame,.foot .frame{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-block:16px}
.masthead nav,.foot nav{display:flex;gap:12px 24px;flex-wrap:wrap}
.masthead a,.foot a{text-decoration:none}
.masthead a:hover,.foot a:hover{text-decoration:underline}
.brand{font-weight:800;letter-spacing:-.04em;font-size:1.35rem}
main.frame{padding-block:40px 70px}
h1,h2,h3{line-height:1.35}
h1{font-size:clamp(1.65rem,4vw,3.2rem);letter-spacing:-.045em;margin:0 0 24px}
h2{font-size:1.32rem}
.action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--rule)}
.action-grid a{background:var(--paper);padding:clamp(8px,2.5vw,32px);min-width:0;text-decoration:none;display:flex;flex-direction:column;gap:7px}
.action-grid a+a{border-left:1px solid var(--rule)}
.action-grid a:hover{background:#e7ebe2}
.action-grid strong{font-size:clamp(1rem,3vw,2rem)}
.action-grid small{font-size:.73rem}
.action-grid img{width:100%;aspect-ratio:1;object-fit:contain;background:#fff}
.index{font:650 .72rem/1.4 ui-monospace,monospace;letter-spacing:.06em}
.intro{margin:24px 0 48px;max-width:44em}
.section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-top:1px solid var(--rule);padding-top:16px;margin:32px 0 18px}
.section-heading h2{margin:0}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 28px;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products[class*="columns-"] li.product{width:auto;float:none;clear:none;margin:0;padding:12px;border:1px solid var(--rule);min-width:0}
.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:contain;background:var(--paper);margin:0 0 12px}
.woocommerce ul.products li.product .price{color:var(--green);margin-top:.5em}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:.18em 0;font-size:1rem}
.spec-line{font-size:.8rem;color:#46554a;margin:0}
.specs{width:100%;border-collapse:collapse;text-align:left;margin:20px 0}
.specs th,.specs td{border-top:1px solid var(--rule);padding:8px}
.specs th{width:30%;background:var(--paper)}
.woocommerce a.button,.woocommerce button.button,.woocommerce button.button.alt,.woocommerce #respond input#submit,.woocommerce input.button{border-radius:0;background:var(--green);color:#fff}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce button.button.alt:hover{background:#173829;color:#fff}
.woocommerce-page div.product div.summary,.woocommerce-page div.product div.images{min-width:0}
input,select,textarea{max-width:100%;font:inherit}
.entry{max-width:48rem}
.woocommerce-cart .entry,.woocommerce-checkout .entry,.woocommerce-account .entry{max-width:none}
.entry table{max-width:100%;overflow-wrap:anywhere}
.foot{background:var(--paper);border-top:1px solid var(--rule);font-size:.88rem}
@media(max-width:650px){
  main.frame{padding-top:26px}
  .masthead nav,.foot nav{font-size:.82rem;gap:6px 14px}
  .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .woocommerce ul.products[class*="columns-"] li.product{padding:8px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.88rem}
  .woocommerce table.cart td.actions .coupon{display:flex;gap:4px}
}
.entry table{width:100%;border-collapse:collapse}
.entry th,.entry td{padding:8px;border:1px solid var(--rule);text-align:left}
.entry th{background:var(--paper)}
