/* =========================================================
   MINSANJIN — shared layout & components
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.u-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------------- utility bar ---------------- */

.util {
  background: var(--c-primary);
  color: #fff;
  font-size: var(--fs-xs);
}

.util__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-5);
  height: 34px;
}

.util__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 3px 6px;
  letter-spacing: var(--ls-mid);
  opacity: 0.88;
  transition: opacity var(--dur) var(--ease);
  white-space: nowrap;
}

.util__link:hover {
  opacity: 1;
}

.util__lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r-xs);
  letter-spacing: var(--ls-mid);
}

/* ---------------- header ---------------- */

.header {
  border-bottom: 1px solid var(--c-line);
  background: #fff;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex-shrink: 0;
}

.brand__logo {
  height: 30px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.brand__sub {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  color: var(--c-muted);
  font-weight: 500;
  padding-left: 2px;
}

.header__search {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  max-width: 440px;
  margin-left: auto;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-xs);
  padding: 0 3px 0 10px;
  height: 38px;
  background: var(--c-bg-soft);
}

/* 検索ボタン（入力欄の右端に密着させる） */
.header__search-btn {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--r-xs);
  background: var(--c-primary);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--ls-mid);
  white-space: nowrap;
  transition: background var(--dur) var(--ease);
}

.header__search-btn:hover {
  background: var(--c-primary-hover);
}

.header__search input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: var(--fs-sm);
  color: var(--c-ink);
  outline: none;
  min-width: 0;
  height: 34px;
  line-height: 34px;
}

.header__search input::placeholder {
  color: var(--c-muted);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-shrink: 0;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: var(--fs-xs);
  color: var(--c-ink-2);
  letter-spacing: 0.04em;
  min-width: 44px;
  padding: 4px 0;
}

.icon-btn:hover {
  color: var(--c-primary);
}

.icon-btn__badge {
  position: absolute;
  top: 0;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--r-full);
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fs-xs);
  line-height: 18px;
  text-align: center;
  font-weight: 700;
}

/* ---------------- global nav ---------------- */

.nav {
  border-bottom: 1px solid var(--c-line);
  background: #fff;
}

.nav__list {
  display: flex;
  align-items: stretch;
}

.nav__item {
  flex: 1 1 0;
  min-width: 0;
}

.nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  font-size: var(--fs-md);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  border-bottom: 3px solid transparent;
  transition: color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
  background: var(--c-bg-soft);
}

.nav__link.is-active {
  color: var(--c-primary);
  border-bottom-color: var(--c-accent);
  font-weight: 700;
}

.nav__toggle {
  display: none;
}

/* ---------------- hero slider ---------------- */

.hero {
  position: relative;
  background: var(--c-bg);
  overflow: hidden;
}

/* 高さを固定し、横幅は画面いっぱいに広げる（左右に白を出さない）。
   高さが固定なので、ウィンドウ幅が変わっても縦のトリミング範囲は変わらない。 */
.hero__stage {
  position: relative;
  width: 100%;
  height: 640px;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms var(--ease);
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: var(--sp-5) var(--sp-6);
  background: linear-gradient(
    to top,
    rgba(10, 14, 18, 0.72),
    rgba(10, 14, 18, 0.34) 55%,
    transparent
  );
  color: #fff;
}

.hero__copy {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero__eyebrow {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  opacity: 0.9;
  margin-bottom: 8px;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: var(--fs-2xl);
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.hero__text {
  margin-top: 8px;
  font-size: var(--fs-base);
  opacity: 0.94;
  max-width: 44em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.38);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--sp-4);
  padding: 11px 22px;
  min-height: 44px;
  background: #fff;
  color: var(--c-ink);
  border-radius: var(--r-xs);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}

.hero__cta:hover {
  background: var(--c-accent);
  color: #fff;
  transform: translateY(-1px);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--c-ink);
  border-radius: var(--r-full);
  box-shadow: var(--sh-1);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 3;
}

.hero__arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.hero__arrow--prev {
  left: 20px;
}

.hero__arrow--next {
  right: 20px;
}

.hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
  padding-bottom: 2px;
}

.hero__dot {
  position: relative;
  width: 32px;
  height: 26px;
  background: transparent;
  border-radius: var(--r-xs);
  transition: width var(--dur) var(--ease);
}

.hero__dot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 4px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.55);
  transition: background var(--dur) var(--ease);
}

.hero__dot:hover::before {
  background: rgba(255, 255, 255, 0.85);
}

.hero__dot.is-active {
  width: 44px;
}

.hero__dot.is-active::before {
  background: #fff;
}

/* ---------------- notice bar ---------------- */

.notice {
  border-bottom: 1px solid var(--c-line);
  background: var(--c-bg-soft);
}

.notice__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 46px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.notice__label {
  flex-shrink: 0;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--ls-mid);
  color: #fff;
  background: var(--c-primary);
  padding: 4px 10px;
  border-radius: var(--r-xs);
}

.notice__text {
  flex: 1;
  font-size: var(--fs-sm);
  color: var(--c-ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice__text a {
  display: inline-block;
  padding: 4px 0;
}

.notice__text a:hover {
  text-decoration: underline;
}

.notice__more {
  flex-shrink: 0;
  font-size: var(--fs-xs);
  color: var(--c-primary);
  letter-spacing: var(--ls-mid);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  padding: 3px 4px;
}

.notice__more:hover {
  text-decoration: underline;
}

/* ---------------- section shell ---------------- */

.section {
  padding: var(--sp-8) 0;
}

.section--soft {
  background: var(--c-bg-soft);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--c-line);
  padding-bottom: var(--sp-3);
}

.section__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-xl);
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.section__title span {
  display: block;
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  color: var(--c-muted);
  margin-top: 6px;
  text-transform: uppercase;
}

.section__more {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  color: var(--c-primary);
  letter-spacing: var(--ls-mid);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 0;
  padding-bottom: 2px;
  white-space: nowrap;
}

.section__more:hover {
  text-decoration: underline;
}

/* ---------------- category tiles ---------------- */

.cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-3);
}

.cat {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--c-bg-deep);
}

.cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 420ms var(--ease);
}

.cat:hover img {
  transform: scale(1.04);
}

.cat__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 10px 12px;
  background: linear-gradient(to top, rgba(10, 14, 18, 0.72), transparent);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.cat__label small {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  opacity: 0.82;
  margin-top: 2px;
}

/* ---------------- product grid ---------------- */

.grid-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5) var(--sp-4);
}

.card {
  display: flex;
  flex-direction: column;
  background: transparent;
}

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--c-bg-soft);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 420ms var(--ease);
}

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

.card__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--c-accent);
  padding: 3px 7px;
  border-radius: var(--r-xs);
}

.card__tag--new {
  background: var(--c-primary);
}

.card__body {
  padding-top: var(--sp-2);
}

.card__meta {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  letter-spacing: var(--ls-mid);
  margin-bottom: 4px;
}

.card__name {
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1.55;
  color: var(--c-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}

.card:hover .card__name {
  text-decoration: underline;
}

.card__price {
  margin-top: 6px;
  font-family: var(--f-display);
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.card__price small {
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-muted);
  margin-left: 4px;
  letter-spacing: 0;
}

.card__colors {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.card__color {
  width: 12px;
  height: 12px;
  border-radius: var(--r-full);
  border: 1px solid var(--c-line-strong);
}

/* ---------------- concept band ---------------- */

.concept {
  position: relative;
  background: var(--c-primary);
  color: #fff;
  overflow: hidden;
}

.concept__media {
  position: absolute;
  inset: 0;
}

.concept__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.55;
}

.concept__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-7);
  align-items: center;
  padding-top: var(--sp-9);
  padding-bottom: var(--sp-9);
}

.concept__eyebrow {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  opacity: 0.82;
  margin-bottom: var(--sp-3);
}

.concept__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: var(--fs-2xl);
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.concept__text {
  margin-top: var(--sp-4);
  font-size: var(--fs-base);
  line-height: 1.9;
  opacity: 0.92;
  max-width: 34em;
}

.concept__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--sp-5);
  padding: 11px 22px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r-xs);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.concept__link:hover {
  background: #fff;
  color: var(--c-primary);
  border-color: #fff;
}

.concept__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

.stat {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: var(--sp-3);
}

.stat__num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: var(--fs-2xl);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.stat__num small {
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-left: 3px;
  letter-spacing: 0.06em;
}

.stat__label {
  font-size: var(--fs-sm);
  opacity: 0.85;
  margin-top: 6px;
  letter-spacing: 0.06em;
}

/* ---------------- features ---------------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.feature {
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-line);
}

.feature__icon {
  width: 32px;
  height: 32px;
  color: var(--c-primary);
  margin-bottom: var(--sp-3);
}

.feature__title {
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.feature__text {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--c-ink-2);
}

/* ---------------- footer ---------------- */

.footer {
  background: var(--c-primary);
  color: #fff;
  margin-top: 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--sp-6);
  padding: var(--sp-8) 0 var(--sp-6);
}

.footer__brand {
  margin-bottom: var(--sp-4);
}

.footer__brand img {
  height: 30px;
  width: auto;
  display: block;
}

.footer__desc {
  font-size: var(--fs-sm);
  line-height: 1.9;
  opacity: 0.78;
  max-width: 30em;
}

.footer__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-3);
  opacity: 0.95;
}

.footer__list li + li {
  margin-top: 9px;
}

.footer__list a {
  display: inline-block;
  padding: 4px 0;
  min-height: 26px;
  font-size: var(--fs-sm);
  opacity: 0.78;
  transition: opacity var(--dur) var(--ease);
}

.footer__list a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: var(--sp-4) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: var(--fs-xs);
  opacity: 0.7;
  letter-spacing: 0.06em;
}

.footer__legal {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer__legal a {
  display: inline-block;
  padding: 3px 0;
  font-size: var(--fs-xs);
  opacity: 0.72;
}

.footer__legal a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ---------------- responsive ---------------- */

@media (max-width: 1100px) {
  .grid-products {
    grid-template-columns: repeat(3, 1fr);
  }
  .cats {
    grid-template-columns: repeat(3, 1fr);
  }
  .concept__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    padding-top: var(--sp-8);
    padding-bottom: var(--sp-8);
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-5);
  }
  /* ブランド紹介は全幅、リンク3列は2カラムに詰める */
  .footer__top > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .header__inner {
    height: auto;
    padding-top: 10px;
    padding-bottom: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-2) var(--sp-3);
  }
  .header__search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
    margin: 0 0 var(--sp-3);
  }
  .header__search-btn {
    height: 30px;
    padding: 0 11px;
  }
  /* ロゴと同じ行に収める。折り返すと縦に積まれてしまう */
  .header__actions {
    margin-left: auto;
    gap: var(--sp-1);
    flex-wrap: nowrap;
  }
  /* アイコン列は1行に収める。ラベル文字は消してアイコンだけにし、
     スクリーンリーダーには aria-label で伝える（HTML 側で付与済み） */
  .icon-btn {
    min-width: 38px;
    min-height: 44px;
    justify-content: center;
    padding: 0 2px;
  }
  .icon-btn > span:not(.icon-btn__badge) {
    display: none;
  }
  /* ラベルを消すとロゴの当たり判定が22pxまで痩せるので、縦だけ確保する */
  .brand {
    min-height: 44px;
    justify-content: center;
  }
  .header__actions {
    align-items: center;
  }
  .util__inner {
    justify-content: space-between;
    gap: var(--sp-3);
  }
  .util__link--hide {
    display: none;
  }

  /* ハンバーガーはヘッダー右側のアイコン列に置く（アプリの標準形） */
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 44px;
    min-height: 42px;
    padding: 0 8px;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--c-ink-2);
    border-left: 1px solid var(--c-line);
    white-space: nowrap;
  }
  .nav__toggle:hover {
    color: var(--c-primary);
  }
  .nav__list {
    display: none;
    flex-direction: column;
  }
  .nav__list.is-open {
    display: flex;
  }
  .nav__item {
    border-bottom: 1px solid var(--c-line);
  }
  .nav__link {
    height: 50px;
    justify-content: flex-start;
    padding: 0 var(--gutter);
    border-bottom: 0;
  }
  .nav__link.is-active {
    background: var(--c-bg-soft);
  }

  .hero__stage {
    height: 460px;
  }
  .hero__caption {
    padding: var(--sp-4) var(--sp-4) var(--sp-5);
  }
  .hero__arrow {
    display: none;
  }
  .hero__text {
    font-size: var(--fs-sm);
  }

  .notice__inner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--sp-2);
  }
  .notice__text {
    white-space: normal;
    flex-basis: 100%;
    order: 3;
  }

  .section {
    padding: var(--sp-6) 0;
  }
  .section__head {
    margin-bottom: var(--sp-4);
  }
  .section__more {
    font-size: var(--fs-xs);
  }

  .cats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-2);
  }
  .grid-products {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4) var(--sp-2);
  }
  .features {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }
  .footer__top {
    padding: var(--sp-6) 0 var(--sp-5);
  }
  .footer__desc {
    font-size: var(--fs-xs);
  }
  .footer__list li + li {
    margin-top: 2px;
  }
  .concept__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .brand__logo {
    height: 26px;
  }
  .brand__sub {
    display: none;
  }
  .icon-btn {
    min-width: 40px;
  }
  /* 消したラベルのぶんロゴを縮めて1行に収める */
  .brand__logo {
    height: 22px;
  }
  .card__name {
    font-size: var(--fs-sm);
    min-height: 3.1em;
  }
  .card__price {
    font-size: var(--fs-base);
  }
  /* アイコン列に収めるため文字ラベルは落とし、ハンバーガーのみ残す */
  .nav__toggle span {
    display: none;
  }
  .nav__toggle {
    padding: 0 10px;
    border-left: 0;
  }
  .footer__list a,
  .footer__title {
    font-size: var(--fs-xs);
  }
  /* 「特定商取引法に基づく表記」が折り返さないよう、会社情報の列だけ全幅にする */
  .footer__top > div:last-child {
    grid-column: 1 / -1;
  }
}

/* 極小画面（360px 以下）：2 カラムでは日本語の商品名が必ず折り返すため 1 カラムに落とす */
@media (max-width: 360px) {
  /* 極小画面ではロゴとアイコンが1行に収まらないので両方を詰める */
  .brand__logo {
    height: 18px;
  }
  .icon-btn {
    min-width: 32px;
  }
  .nav__toggle {
    min-width: 38px;
    padding: 0 4px;
  }
  .header__actions {
    gap: 4px;
  }
  .icon-btn__badge {
    top: -4px;
    right: -3px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    font-size: var(--fs-xs);
    line-height: 17px;
  }
  .grid-products {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .card__name {
    font-size: var(--fs-md);
    min-height: 0;
  }
  .card__price {
    font-size: var(--fs-md);
  }
  .cats {
    grid-template-columns: repeat(2, 1fr);
  }
  .set-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
