:root {
  --primary: #ff585d;
  --bg: #f8f3ef;
  --card: #ffffff;
  --text: #393533;
  --muted: #a99f99;
  --dusty-pink: #d9aaa6;
  --warm-gray: #cfc5bd;
  --gray-blue: #b8c3c7;
  --line: rgba(57, 53, 51, 0.12);
  --shadow: 0 18px 42px rgba(57, 53, 51, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.notice {
  min-height: 10px;
  background: var(--primary);
}

.notice.has-text {
  padding: 9px 16px;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 86px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(248, 243, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 168px;
  max-width: 38vw;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav a {
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  border-color: var(--primary);
}

.hero-link,
.shop-link,
.filter {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.hero-link:hover,
.shop-link:hover,
.filter:hover {
  transform: translateY(-1px);
}

.hero {
  min-height: min(620px, 60vh);
  background: var(--hero-image, url("/images/insence113.webp")) center / cover no-repeat;
}

.hero-copy {
  max-width: 460px;
  color: var(--text);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 116px);
  line-height: 0.98;
  font-weight: 500;
}

.hero p:not(.eyebrow) {
  max-width: 410px;
  margin: 0 0 28px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.85;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.quick-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-categories a {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 20px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  font-size: 23px;
  font-weight: 800;
}

.quick-categories span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-intro {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 86px) 20px 28px;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(23px, 3.33vw, 39px);
  line-height: 1.16;
  font-weight: 500;
}

.gift-strip h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 500;
}

.section-intro p:last-child {
  max-width: 560px;
  margin: 16px 0 0;
  color: #6d6460;
  line-height: 1.85;
}

.product-toolbar {
  max-width: 1180px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  padding: 0 20px 22px;
}

.filter-group {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.filter {
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.64);
  border-color: var(--line);
  color: var(--text);
  font-weight: 800;
}

.filter.active {
  background: var(--text);
  color: #fff;
}

.shop-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.header-shop-link {
  justify-self: end;
}

.product-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0 auto;
  padding: 0 20px clamp(62px, 8vw, 96px);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(207, 197, 189, 0.55);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 88, 93, 0.38);
  box-shadow: var(--shadow);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  background: #f0e8e2;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}

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

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-info {
  min-height: 152px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  padding: 17px 16px 16px;
}

.product-info h3 {
  min-width: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 800;
}

.product-info p {
  margin: 0;
  color: #786f6b;
  font-size: 13px;
  line-height: 1.65;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 3px;
  color: var(--text);
  font-weight: 900;
}

.price-row span:last-child {
  color: var(--primary);
  font-size: 12px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 44px 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  color: var(--muted);
}

.gift-strip {
  display: grid;
  grid-template-columns: 0.8fr 0.9fr 1.05fr;
  gap: clamp(24px, 6vw, 96px);
  align-items: center;
  padding: clamp(52px, 8vw, 98px) clamp(20px, 6vw, 84px);
  background: var(--text);
  color: #fff;
}

.gift-strip p:last-child {
  max-width: 680px;
  margin: 0;
  color: #f2ddd9;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.9;
}

.gift-visual {
  margin: 0;
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.gift-visual img {
  width: 100%;
  display: block;
  aspect-ratio: 1.62;
  object-fit: cover;
}

.guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.guide div {
  min-height: 190px;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.62);
}

.guide span {
  color: var(--muted);
  font-weight: 900;
}

.guide h3 {
  margin: 18px 0 10px;
  font-size: 22px;
}

.guide p {
  margin: 0;
  color: #6e6561;
  line-height: 1.75;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 84px);
  background: #fff;
  color: var(--muted);
}

.site-footer strong {
  color: var(--text);
}

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

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

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

  .gift-strip,
  .guide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .notice {
    min-height: 8px;
  }

  .notice.has-text {
    font-size: 12px;
    line-height: 1.55;
  }

  .site-header {
    min-height: 74px;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand img {
    width: 132px;
  }

  .header-shop-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .main-nav {
    gap: 18px;
    font-size: 13px;
  }

  .hero {
    min-height: 520px;
    background: var(--hero-image, url("/images/insence113.webp")) center / cover no-repeat;
  }

  .hero h1 {
    font-size: 58px;
  }

  .quick-categories {
    grid-template-columns: 1fr;
  }

  .quick-categories a {
    min-height: 84px;
    font-size: 20px;
  }

  .section-intro {
    padding-top: 44px;
  }

  .product-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }

  .shop-link {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-info {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
