:root {
  --ink: #0b0b0b;
  --muted: #6a6764;
  --line: #dedbd8;
  --paper: #fff;
  --warm: #f6f3f0;
  --brand-bg: #050505;
  --brand-border: #292929;
  --surface-hero: #ece7e2;
  --surface-code: #f1efed;
  --surface-disabled: #f5f5f5;
  --text-inverse: #fff;
  --text-disabled: #bbb;
  --action-bg: #0a0a0a;
  --action-hover: #333;
  --product-new-bg: #cfb17f;
  --max: 1180px;
  --serif: "Noto Serif TC", serif;
  --sans: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

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

body {
  margin: 0;
}

main {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -4rem;
  left: 1rem;
  padding: 0.6rem 1rem;
  background: var(--paper);
  color: #000;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.2666666667);
}
.skip-link:focus {
  top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
  height: 76px;
  padding: 0 max(24px, (100vw - var(--max)) / 2);
  background: var(--brand-bg);
  color: var(--text-inverse);
  border-bottom: 1px solid var(--brand-border);
}

.brand {
  display: block;
  width: 174px;
  line-height: 0;
  transition: opacity 0.3s ease;
}
.brand:hover {
  opacity: 0.72;
}

.brand img,
.header-actions img,
.site-footer img {
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.2rem, 2.3vw, 2.8rem);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.site-nav a {
  padding: 1.55rem 0;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 0.72;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.shopping-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
}
.shopping-link img {
  width: 22px;
  height: 22px;
}
.shopping-link:hover {
  opacity: 0.72;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 0;
  color: var(--text-inverse);
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: var(--text-inverse);
}

@media (max-width: 800px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    height: 64px;
    padding: 0 14px;
  }
  .brand {
    width: 142px;
  }
  .header-actions {
    grid-column: 3;
  }
  .shopping-link {
    width: 38px;
    height: 38px;
  }
  .shopping-link img {
    width: 20px;
    height: 20px;
  }
  .menu-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 18px 20px;
    background: var(--brand-bg);
    border-top: 1px solid var(--brand-border);
    box-shadow: 0 16px 25px rgba(0, 0, 0, 0.3333333333);
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--action-hover);
  }
}
.home-section,
.listing-section,
.lp-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 90px 28px;
}

.home-section.ranking {
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 48px;
  text-align: center;
}
.section-heading p {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.75rem;
  letter-spacing: 0.12em;
}
.section-heading h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.24em;
}

@media (max-width: 800px) {
  .home-section,
  .listing-section,
  .lp-section {
    padding: 64px 18px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .section-heading p {
    font-size: 1.35rem;
  }
}
.site-footer {
  background: var(--brand-bg);
  color: var(--text-inverse);
  border-top: 1px solid var(--brand-border);
}

.footer-inner {
  max-width: var(--max);
  margin: auto;
  padding: 54px 28px 28px;
}

.footer-primary,
.footer-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-primary {
  padding-bottom: 34px;
}

.footer-secondary {
  padding-top: 22px;
  border-top: 1px solid var(--action-hover);
}
.footer-secondary small {
  color: var(--text-disabled);
  font-size: 0.7rem;
}

.footer-brand-group {
  display: flex;
  align-items: end;
  gap: 30px;
}

.kanebo-logo {
  display: block;
  width: 142px;
  line-height: 0;
}

.company,
.footer-phone {
  margin: 0;
  font-size: 0.75rem;
}

.company strong {
  margin-right: 0.45rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #555;
  border-radius: 50%;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.social-links a:hover {
  background: #222;
  border-color: var(--text-inverse);
}
.social-links img {
  width: 17px;
  height: 17px;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.footer-phone > img {
  width: 10px;
  height: 18px;
}
.footer-phone a {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media (max-width: 800px) {
  .footer-inner {
    padding: 42px 20px 24px;
  }
  .footer-primary,
  .footer-secondary,
  .footer-brand-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-primary {
    gap: 28px;
  }
  .footer-secondary {
    gap: 18px;
  }
  .footer-secondary small {
    line-height: 1.6;
  }
  .footer-brand-group {
    gap: 16px;
  }
  .kanebo-logo {
    width: 128px;
  }
  .social-links {
    gap: 14px;
  }
  .footer-phone {
    flex-wrap: wrap;
    line-height: 1.5;
  }
  .footer-phone a {
    display: block;
    width: 100%;
    padding-left: 1.55rem;
  }
}
.hero {
  position: relative;
  background: var(--surface-hero);
}

.slides {
  position: relative;
  aspect-ratio: 12/5;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.slides.is-dragging {
  cursor: grabbing;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide.is-leaving-next {
  animation: hero-slide-leave-next 600ms ease-in-out both;
}
.hero-slide.is-leaving-previous {
  animation: hero-slide-leave-previous 600ms ease-in-out both;
}
.hero-slide.is-entering-next {
  animation: hero-slide-enter-next 600ms ease-in-out both;
}
.hero-slide.is-entering-previous {
  animation: hero-slide-enter-previous 600ms ease-in-out both;
}
.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes hero-slide-leave-next {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
}
@keyframes hero-slide-leave-previous {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
}
@keyframes hero-slide-enter-next {
  from {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes hero-slide-enter-previous {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.carousel-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 46px;
  height: 46px;
  padding-bottom: 5px;
  translate: 0 -50%;
  background: rgba(0, 0, 0, 0.3333333333);
  border: 1px solid rgba(255, 255, 255, 0.5333333333);
  color: var(--text-inverse);
  cursor: pointer;
  font-size: 2rem;
  line-height: 0;
}
.carousel-arrow:hover {
  background: #000;
}
.carousel-arrow:disabled,
.carousel-arrow[aria-disabled="true"] {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
.carousel-arrow.prev {
  left: 2rem;
}
.carousel-arrow.next {
  right: 2rem;
}

.carousel-dots {
  position: absolute;
  z-index: 2;
  bottom: 1.25rem;
  left: 50%;
  display: flex;
  gap: 0.55rem;
  translate: -50% 0;
}
.carousel-dots button {
  width: 26px;
  height: 2px;
  padding: 0;
  background: rgba(255, 255, 255, 0.5333333333);
  border: 0;
  cursor: pointer;
}
.carousel-dots button.active {
  background: var(--text-inverse);
}

@media (max-width: 800px) {
  .slides {
    aspect-ratio: 4/5;
  }
  .carousel-arrow {
    width: 38px;
    height: 38px;
  }
  .carousel-arrow.prev {
    left: 0.7rem;
  }
  .carousel-arrow.next {
    right: 0.7rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none !important;
  }
}
.section-action {
  margin: 38px 0 0;
  text-align: right;
}

.text-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: var(--action-bg);
  color: var(--text-inverse);
  border: 1px solid var(--action-bg);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}
.button:hover {
  background: var(--action-hover);
}

@media (max-width: 800px) {
  .section-action {
    text-align: center;
  }
}
.breadcrumb {
  display: flex;
  gap: 0.6rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 28px 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 800px) {
  .breadcrumb {
    padding: 24px 18px 0;
  }
}
.items-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 18px;
}

.item-card {
  min-width: 0;
}
.item-card a {
  display: block;
}
.item-card a:hover .item-image img {
  transform: scale(1.025);
}
.item-card time {
  display: block;
  color: #8a8581;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.item-card h3 {
  margin: 0.25rem 0;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.5;
}
.item-card .eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-image {
  display: block;
  aspect-ratio: 1;
  margin-bottom: 18px;
  overflow: hidden;
  background: var(--warm);
}
.item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-new {
  display: inline-block;
  padding: 3px 8px;
  background-color: var(--product-new-bg);
  color: var(--text-inverse);
  font-size: 12px;
}

.shade,
.product-meta {
  margin: 0.12rem 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 800px) {
  .items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 12px;
  }
  .item-image {
    margin-bottom: 12px;
  }
  .item-card h3 {
    font-size: 0.88rem;
  }
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 70px;
}
.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
}
.pagination .current {
  background: var(--brand-bg);
  color: var(--text-inverse);
  border-color: var(--brand-bg);
}
.pagination .ellipsis {
  min-width: 24px;
  border-color: transparent;
}
.pagination .disabled {
  background: var(--surface-disabled);
  color: var(--text-disabled);
  cursor: not-allowed;
}

@media (max-width: 800px) {
  .pagination {
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 50px;
  }
  .pagination a,
  .pagination span {
    min-width: 34px;
    height: 34px;
  }
}
.listing-section {
  padding-top: 62px;
}

.listing-grid {
  row-gap: 54px;
}

.product-tabs {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 4vw, 68px);
  margin: -12px 0 58px;
  overflow-x: auto;
  scrollbar-width: none;
}
.product-tabs::-webkit-scrollbar {
  display: none;
}
.product-tabs a {
  flex: 0 0 auto;
  padding: 0 4px 10px;
  color: #999;
  border-bottom: 2px solid transparent;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.product-tabs a:hover,
.product-tabs a.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.category-placeholder a {
  display: grid;
  min-height: 100%;
  padding: 32px 18px;
  border: 1px solid var(--line);
  place-content: center;
  text-align: center;
}
.category-placeholder .category-placeholder-name {
  margin-bottom: 12px;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
}
.category-placeholder h3 {
  color: #999;
  font-weight: 400;
}

@media (max-width: 800px) {
  .listing-grid {
    row-gap: 40px;
  }
  .product-tabs {
    justify-content: flex-start;
    gap: 28px;
    margin: 0 -18px 42px;
    padding: 0 18px;
  }
}
.status-page {
  display: grid;
  min-height: 62vh;
  padding: 2rem;
  place-content: center;
  text-align: center;
}
.status-page h1 {
  margin: 0.5rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
}
.status-page code {
  padding: 0.2rem 0.4rem;
  background: var(--surface-code);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 80px 24px;
  color: var(--muted);
  border: 1px solid var(--line);
  text-align: center;
}

.lp-hero {
  background: #111;
}
.lp-hero picture {
  display: block;
  aspect-ratio: 12/5;
  overflow: hidden;
}
.lp-hero picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lp-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background: transparent;
}
.lp-media img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

@media (max-width: 800px) {
  .lp-hero picture {
    aspect-ratio: 4/5;
  }
  .lp-media {
    padding: 0;
  }
  .lp-media img {
    height: auto;
    max-height: none;
  }
}
.limited-item[id] {
  scroll-margin-top: 88px;
}

.limited-list {
  display: grid;
  gap: 60px;
}

.limited-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 1rem;
}
.limited-item > * {
  min-width: 0;
  max-width: 100%;
}
.limited-item:nth-child(even) .lp-media {
  order: 2;
}
.limited-item .lp-media img {
  max-width: 440px;
}
.limited-item h3,
.limited-item h4 {
  margin: 0.3rem 0 1rem;
  font-family: var(--serif);
  font-weight: 400;
}
.limited-item h3 {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  font-size: 2rem;
}
.limited-item h4 {
  font-size: 1.8rem;
}
.limited-item b {
  font-weight: 700;
}

.limited-item.limited-item-carousel-only {
  grid-template-columns: 1fr;
  gap: 26px;
}
.limited-item.limited-item-carousel-only:nth-child(even) > .lp-media {
  order: 0;
}
.limited-item.limited-item-carousel-only > .lp-media {
  width: min(100%, 760px);
  min-height: 390px;
  margin: 0 auto;
}
.limited-item.limited-item-carousel-only > .lp-media img {
  width: min(54%, 360px);
  max-width: 360px;
  max-height: 390px;
}
.limited-item.limited-item-carousel-only > .rich-copy {
  width: 100%;
}
.limited-item.limited-item-carousel-only .rich-product-carousel {
  max-width: 760px !important;
  margin: 0 auto;
}

.limited-cta {
  margin: 54px 0 0;
  text-align: center;
}

@media (max-width: 800px) {
  .limited-item[id] {
    scroll-margin-top: 82px;
  }
  .limited-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .limited-item:nth-child(even) .lp-media {
    order: 0;
  }
  .limited-item h3 {
    font-size: 1.65rem;
  }
  .limited-item.limited-item-carousel-only {
    gap: 18px;
  }
  .limited-item.limited-item-carousel-only > .lp-media {
    width: 100%;
    min-height: 280px;
  }
  .limited-item.limited-item-carousel-only > .lp-media img {
    width: min(68vw, 280px);
    max-width: min(68vw, 280px);
    max-height: 280px;
  }
  .limited-item .rich-product-carousel-items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .limited-item .lp-media img {
    max-width: min(86vw, 380px);
  }
}
.tutorial-section {
  max-width: none;
  background: var(--warm);
}
.tutorial-section > * {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.tutorial-list {
  display: grid;
  gap: 18px;
}

.tutorial-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 50px;
  padding: 34px;
  background: var(--paper);
  border: 1px solid #e2dfdc;
}
.tutorial-item > * {
  min-width: 0;
  max-width: 100%;
}
.tutorial-item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}
.tutorial-item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
}

@media (max-width: 800px) {
  .tutorial-item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .tutorial-item img {
    height: 140px;
  }
}
.kol-list {
  display: grid;
  gap: 90px;
}

.kol-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 8vw;
}
.kol-card > * {
  min-width: 0;
  max-width: 100%;
}
.kol-card:nth-child(even) .kol-media {
  order: 2;
}
.kol-card .lp-media img {
  max-width: 520px;
}
.kol-card h3 {
  margin: 0.3rem 0 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

@media (max-width: 800px) {
  .kol-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .kol-card:nth-child(even) .kol-media {
    order: 0;
  }
  .kol-card h3 {
    font-size: 1.65rem;
  }
  .kol-card .lp-media img {
    max-width: 100%;
  }
  .kol-card .button {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
}
