* {
  box-sizing: border-box;
}

:root {
  --pink: #ff3e9e;
  --pink-light: #fff0f7;
  --blue-light: #eaf7ff;
  --yellow-light: #fff7c9;
  --purple-light: #f2e9ff;
  --ink: #161616;
  --muted: #777;
  --line: #eeeeee;
  --footer: #1f232a;
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: #fff;
}

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

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

button {
  font: inherit;
}

.shipping-banner {
  background: #fff0f7;
  color: #d92d7c;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-bottom: 1px solid #ffd4e8;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  line-height: 1;
  padding-right: 10px;
  overflow: visible;
}

.brand-main {
  font-size: clamp(22px, 2.7vw, 34px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #ff49b1, #9a6cff);
  -webkit-background-clip: text;
  color: transparent;
  padding-right: 6px;
}

.brand-sub {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 800;
  padding-block: 29px 25px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 17px;
  height: 2px;
  background: var(--pink);
  transition: 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  left: 0;
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 21px;
}

.cart span {
  position: absolute;
  top: 1px;
  right: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pink);
  color: white;
  font-size: 10px;
  font-weight: 800;
}


.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f7f2ff;
  isolation: isolate;
}

.slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .55s ease, transform .8s ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  background: rgba(17, 17, 17, .62);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .2s ease, transform .2s ease;
}

.slider-arrow:hover {
  background: rgba(17, 17, 17, .84);
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 4;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  cursor: pointer;
  transition: width .2s ease, background .2s ease, border-radius .2s ease;
}

.slider-dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--pink);
}

@media (prefers-reduced-motion: reduce) {
  .slide,
  .slider-arrow,
  .slider-dot {
    transition: none;
  }
}

.section {
  padding-block: 54px;
}

.shop-intro {
  text-align: center;
  padding-bottom: 26px;
}

.shop-intro h1 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.shop-intro p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading.row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-heading h2 {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  min-height: 180px;
  position: relative;
  border-radius: 18px;
  padding: 22px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(25, 18, 38, .10);
}

.category-card.pink { background: var(--pink-light); }
.category-card.blue { background: var(--blue-light); }
.category-card.yellow { background: var(--yellow-light); }
.category-card.purple { background: var(--purple-light); }

.category-art {
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 2px dashed rgba(0,0,0,.08);
  font-weight: 900;
  letter-spacing: .08em;
  color: rgba(0,0,0,.28);
}

.category-copy {
  display: flex;
  flex-direction: column;
  margin-top: 15px;
}

.category-copy strong {
  font-size: 19px;
}

.category-copy span {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 800;
}

.circle-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  font-weight: 900;
}

.pickup {
  padding-top: 28px;
}

.outline-btn {
  padding: 9px 18px;
  border: 1px solid var(--pink);
  color: var(--pink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.product-card {
  min-width: 0;
}
.product-card h3 {
  line-height: 1.5;
  min-height: 3em;
}


.product-card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.product-image {
  width:100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f5f7;
  position: relative;
}

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

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

.placeholder {
  display: grid;
  place-items: center;
  color: #b6b6bc;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.product-image span {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(229, 79, 157, 0.75);(--pink);
  color: #fff;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 900;
}
/* COMING SOONの商品だけ */
.coming-soon .product-image  img {
  filter: grayscale(100%);
  opacity: 0.45;
}

/* 中央のCOMING SOON文字 */
.coming-soon .coming-label  {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: 5;
  background: rgba(70, 70, 70, 0.85);
  color: #fff;

  padding: 8px 14px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;

  white-space: nowrap;
}

/* おしらせ */
.product-image .badge-low-stock,
.product-image .badge-device-added {
  top: auto;
  left: auto;
  right: 10px;
  bottom: 10px;
  z-index: 1;
}

.product-image .badge-low-stock {
  background: rgba(191, 82, 59, 0.9);
}

.product-image .badge-device-added {
  background: rgba(44, 110, 150, 0.9);
  white-space: nowrap;
}




.product-card h3 {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.price {
  margin: 4px 0 0;
  color: var(--pink);
  font-size: 17px;
  font-weight: 900;
}

.news {
  border-top: 1px solid var(--line);
}

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

.news-list a {
  min-height: 52px;
  display: grid;
  grid-template-columns: 120px 90px 1fr;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.news-list time {
  color: var(--muted);
}

.tag {
  width: 70px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
}

.tag.shop { background: #ec55c8; }
.tag.news-tag { background: #9b69f4; }
.tag.info { background: #4387f4; }

.site-footer {
  margin-top: 30px;
  background: var(--footer);
  color: #fff;
}

.footer-inner {
  min-height: 200px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-size: 28px;
  font-style: italic;
}

.footer-brand span {
  margin-top: 5px;
  font-size: 11px;
  opacity: .75;
}

.footer-nav {
  display: flex;
  gap: 20px;
  font-size: 11px;
  font-weight: 800;
}

.copyright {
  grid-column: 1 / -1;
  margin: -40px 0 0;
  font-size: 10px;
  opacity: .6;
}

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

  .main-nav {
    display: none;
  }

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

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

@media (max-width: 560px) {

  .slider-track {
    aspect-ratio: 16 / 7;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 28px;
  }

  .slider-arrow.prev { left: 8px; }
  .slider-arrow.next { right: 8px; }

  .slider-dots {
    bottom: 8px;
  }

  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-main {
    font-size: 22px;
  }
.section {
    padding-block: 38px;
  }

  .shop-intro {
    padding-bottom: 8px;
  }

  .category-grid {
    gap: 10px;
  }

  .category-card {
    min-height: 155px;
    padding: 14px;
  }

  .category-art {
    height: 70px;
    font-size: 10px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .product-card {
    min-width: 0;
    width: auto;
  }
  .product-card h3 {
    line-height: 1.5;
    min-height: 4.5em;
  }

  .product-card-link {
    display: block;
    width: 100%;
  }

  .product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .news-list a {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 14px 0;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-block: 44px;
  }

  .footer-nav {
    flex-wrap: wrap;
  }

  .copyright {
    margin: 0;
  }
  .product-image .badge-device-added {
    right: 3px;
    bottom: 3px;
    padding: 3px 4px;
    font-size: 6px;
    letter-spacing: 0;
    white-space: nowrap;
}
