:root {
  --ink: #202723;
  --muted: #65706a;
  --paper: #fbfcfa;
  --panel: #ffffff;
  --mist: #eef5f1;
  --line: #dfe6e0;
  --sage: #5f7654;
  --sage-dark: #3f583f;
  --rust: #a85f3d;
  --clay: #d7a071;
  --blue: #244a5a;
  --shadow: 0 18px 45px rgba(32, 39, 35, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 250, 0.88);
  border-bottom: 1px solid rgba(223, 230, 224, 0.86);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  padding: 10px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.cart-trigger,
.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--panel);
}

.cart-trigger {
  position: relative;
}

.cart-trigger span {
  position: absolute;
  right: -3px;
  top: -4px;
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  background: var(--rust);
  font-size: 0.72rem;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  min-height: calc(100svh - 72px);
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: relative;
  min-height: 580px;
  overflow: hidden;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 24, 21, 0.5), rgba(18, 24, 21, 0.05) 58%),
    linear-gradient(0deg, rgba(18, 24, 21, 0.35), transparent 42%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: absolute;
  left: clamp(22px, 5vw, 76px);
  bottom: clamp(28px, 7vw, 86px);
  z-index: 1;
  width: min(560px, calc(100% - 44px));
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy .eyebrow {
  color: #f3c28d;
}

.hero-copy h1,
.section-heading h2,
.about-copy h2,
.contact-band h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 7vw, 6.8rem);
}

.hero-copy p:not(.eyebrow) {
  max-width: 34rem;
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.9;
}

.hero-actions,
.contact-band {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.primary-link,
.checkout-button,
.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: var(--sage-dark);
  font-weight: 760;
}

.primary-link {
  margin-top: 28px;
  padding: 0 18px;
}

.text-link {
  margin-top: 28px;
  color: #fff;
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-store {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: clamp(28px, 4vw, 56px);
  background: var(--mist);
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.about-copy h2,
.contact-band h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

.section-heading.compact h2 {
  font-size: clamp(1.55rem, 3vw, 2.45rem);
}

.store-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-status span {
  padding: 7px 10px;
  border: 1px solid rgba(95, 118, 84, 0.28);
  border-radius: 999px;
  color: var(--sage-dark);
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
  font-weight: 700;
}

.featured-list {
  display: grid;
  gap: 12px;
}

.featured-item {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.featured-item img {
  width: 82px;
  height: 82px;
  border-radius: 6px;
  object-fit: cover;
}

.featured-item h3 {
  margin: 0 0 6px;
  font-size: 0.96rem;
  line-height: 1.35;
}

.featured-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.featured-item button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
}

.collections,
.store-section,
.about-section,
.contact-band {
  padding: clamp(54px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

.collections {
  background: var(--panel);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.collection-grid article {
  min-height: 230px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--panel);
}

.collection-grid span {
  color: var(--rust);
  font-size: 0.82rem;
  font-weight: 800;
}

.collection-grid h3 {
  margin: 48px 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: 0;
}

.collection-grid p,
.about-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.store-section {
  background: #f6f8f6;
}

.store-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, auto) minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 34px 0 26px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tabs button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--panel);
  font-weight: 700;
}

.category-tabs button.is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.search-box,
.sort-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.search-box {
  padding: 0 14px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.sort-box {
  padding: 0 12px;
}

.sort-box span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.sort-box select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9eee9;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(32, 39, 35, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 16px;
}

.product-category {
  margin: 0 0 8px;
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 800;
}

.product-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.4;
  letter-spacing: 0;
}

.product-description {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  white-space: nowrap;
  font-size: 1.04rem;
}

.add-button {
  min-width: 104px;
  padding: 0 12px;
  background: var(--ink);
}

.empty-state {
  margin: 42px 0 0;
  color: var(--muted);
  text-align: center;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 84px);
  background: var(--panel);
}

.about-copy p {
  margin-top: 22px;
  font-size: 1.02rem;
}

.company-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--muted);
  font-weight: 800;
}

.company-list dd {
  margin: 0;
  line-height: 1.7;
}

.contact-band {
  justify-content: space-between;
  background: var(--blue);
  color: #fff;
}

.contact-band .eyebrow {
  color: #f3c28d;
}

.contact-band .primary-link {
  margin-top: 0;
  background: #fff;
  color: var(--blue);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(15, 20, 18, 0.38);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(430px, 100vw);
  height: 100svh;
  border-left: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 0.24s ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px 22px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin: 0;
  font-size: 1.16rem;
  letter-spacing: 0;
}

.cart-items {
  overflow: auto;
  padding: 16px 18px;
}

.cart-empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 74px;
  height: 74px;
  border-radius: 6px;
  object-fit: cover;
}

.cart-item h3 {
  margin: 0 0 6px;
  font-size: 0.96rem;
  line-height: 1.35;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-line-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}

.quantity-control button {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
}

.remove-button {
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 800;
}

.cart-summary {
  padding: 18px;
  border-top: 1px solid var(--line);
  background: #f8faf8;
}

.cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.cart-summary span {
  color: var(--muted);
}

.cart-summary .total-row {
  margin: 16px 0 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 1.14rem;
}

.checkout-button {
  width: 100%;
  min-height: 50px;
  background: var(--rust);
}

.lucide {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

:focus-visible {
  outline: 3px solid rgba(168, 95, 61, 0.38);
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: min(76svh, 680px);
  }

  .hero-store {
    justify-content: flex-start;
  }

  .featured-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-item {
    grid-template-columns: 76px 1fr auto;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .cart-trigger {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 600px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 14vw, 4.8rem);
  }

  .store-toolbar,
  .about-section {
    grid-template-columns: 1fr;
  }

  .sort-box {
    justify-content: space-between;
  }

  .collection-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    font-size: 0.88rem;
  }

  .hero-media {
    min-height: 540px;
  }

  .hero-media img {
    object-position: 48% center;
  }

  .hero-copy {
    left: 18px;
    bottom: 26px;
    width: calc(100% - 36px);
  }

  .hero-copy p:not(.eyebrow) {
    line-height: 1.75;
  }

  .hero-store,
  .collections,
  .store-section,
  .about-section,
  .contact-band {
    padding: 42px 16px;
  }

  .featured-list,
  .collection-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .featured-item {
    grid-template-columns: 72px 1fr auto;
    min-height: 96px;
  }

  .featured-item img {
    width: 72px;
    height: 72px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-band {
    align-items: flex-start;
  }
}
