/**
 * SUZUSHIAI — Mobile Accessories (TaskMaster SaaS inspired)
 * Prefix: kfx-
 * Palette: purple #7C3AED · lavender · light bg
 */

:root {
  --kfx-purple: #7C3AED;
  --kfx-purple-deep: #6D28D9;
  --kfx-purple-soft: #EDE9FE;
  --kfx-lavender: #A78BFA;
  --kfx-lavender-muted: #DDD6FE;
  --kfx-ink: #1E1B2E;
  --kfx-ink-soft: rgba(30, 27, 46, 0.72);
  --kfx-ink-mute: rgba(30, 27, 46, 0.48);
  --kfx-bg: #FAFAFC;
  --kfx-white: #FFFFFF;
  --kfx-line: rgba(30, 27, 46, 0.08);
  --kfx-font-display: "Inter", "Noto Sans JP", sans-serif;
  --kfx-font-body: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --kfx-max: 72rem;
  --kfx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --kfx-header-h: 4.25rem;
  --kfx-blob: 58% 42% 48% 52% / 48% 55% 45% 52%;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--kfx-font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--kfx-ink);
  background: var(--kfx-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { flex: 1; }

img { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--kfx-ease), background 0.25s var(--kfx-ease), border-color 0.25s var(--kfx-ease), transform 0.25s var(--kfx-ease);
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol, p, h1, h2, h3, figure, blockquote, address { margin: 0; }
ul, ol { list-style: none; padding: 0; }
address { font-style: normal; }

::selection {
  background: rgba(124, 58, 237, 0.25);
  color: var(--kfx-ink);
}

.kfx-sr,
.kfx-skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kfx-skip:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  padding: 0.6rem 1rem;
  background: var(--kfx-ink);
  color: var(--kfx-white);
  border-radius: 999px;
  white-space: normal;
}

.kfx-wrap {
  width: min(100% - 2.25rem, var(--kfx-max));
  margin-inline: auto;
}

.kfx-mt { margin-top: 0.75rem; }

/* Typography */
.kfx-eyebrow {
  font-family: var(--kfx-font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kfx-purple);
}

.kfx-eyebrow--light { color: rgba(255, 255, 255, 0.75); }

.kfx-display {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--kfx-ink);
}

.kfx-display em {
  font-style: normal;
  color: var(--kfx-purple);
}

.kfx-display--sm { font-size: clamp(1.5rem, 3vw, 2rem); }
.kfx-display--light { color: var(--kfx-white); }

.kfx-lede {
  margin-top: 1rem;
  max-width: 34rem;
  color: var(--kfx-ink-soft);
  font-weight: 400;
}

.kfx-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--kfx-purple);
}

.kfx-link:hover { color: var(--kfx-purple-deep); }

/* Buttons */
.kfx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.5rem;
  font-family: var(--kfx-font-display);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  border-radius: 999px;
  transition: background 0.3s var(--kfx-ease), color 0.3s var(--kfx-ease), border-color 0.3s var(--kfx-ease), transform 0.3s var(--kfx-ease);
}

.kfx-btn--solid {
  background: var(--kfx-purple);
  color: #fff;
  border-color: var(--kfx-purple);
}

.kfx-btn--solid:hover {
  background: var(--kfx-purple-deep);
  border-color: var(--kfx-purple-deep);
  transform: translateY(-1px);
}

.kfx-btn--ghost {
  background: transparent;
  color: var(--kfx-ink);
  border-color: rgba(30, 27, 46, 0.2);
}

.kfx-btn--ghost:hover {
  border-color: var(--kfx-purple);
  color: var(--kfx-purple);
}

.kfx-btn--light {
  background: var(--kfx-white);
  color: var(--kfx-purple);
  border-color: var(--kfx-white);
}

.kfx-btn--light:hover { transform: translateY(-1px); }

.kfx-btn--ghost-light {
  background: transparent;
  color: var(--kfx-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.kfx-btn--ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Header */
.kfx-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--kfx-ease), box-shadow 0.3s var(--kfx-ease);
}

.kfx-header.is-scrolled {
  border-bottom-color: var(--kfx-line);
  box-shadow: 0 8px 28px rgba(30, 27, 46, 0.05);
}

.kfx-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--kfx-header-h);
}

.kfx-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.kfx-brand__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--kfx-purple), var(--kfx-lavender));
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.kfx-brand__en {
  display: block;
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.kfx-brand__jp {
  display: block;
  font-size: 0.65rem;
  color: var(--kfx-ink-mute);
}

.kfx-nav {
  display: none;
  margin-left: auto;
  gap: 1.35rem;
}

.kfx-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--kfx-ink-soft);
}

.kfx-nav a:hover,
.kfx-nav a[aria-current="page"] { color: var(--kfx-purple); }

.kfx-header__cta {
  display: none;
  margin-left: 0.5rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: var(--kfx-purple);
  border-radius: 999px;
}

.kfx-header__cta:hover {
  background: var(--kfx-purple-deep);
  color: #fff;
}

.kfx-menu-btn {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
}

.kfx-menu-btn__bars span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--kfx-ink);
  border-radius: 2px;
}

@media (min-width: 900px) {
  .kfx-nav { display: flex; }
  .kfx-header__cta { display: inline-flex; }
  .kfx-menu-btn { display: none !important; }
}

/* Drawer */
.kfx-drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.kfx-drawer:not([hidden]) { pointer-events: auto; }

.kfx-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 27, 46, 0.4);
  opacity: 0;
  transition: opacity 0.35s var(--kfx-ease);
}

.kfx-drawer.is-open .kfx-drawer__backdrop { opacity: 1; }

.kfx-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(20rem, 88vw);
  height: 100%;
  background: var(--kfx-white);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--kfx-ease);
  box-shadow: -8px 0 32px rgba(30, 27, 46, 0.1);
}

.kfx-drawer.is-open .kfx-drawer__panel { transform: translateX(0); }

.kfx-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.kfx-drawer__label {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.kfx-drawer__close {
  font-size: 0.85rem;
  color: var(--kfx-purple);
}

.kfx-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kfx-drawer__nav a { font-size: 1.05rem; font-weight: 500; }

.kfx-drawer__phone {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--kfx-ink-mute);
}

/* Hero — centered with soft photo backdrop */
.kfx-hero {
  position: relative;
  padding: 3.5rem 0 1.5rem;
  text-align: center;
  overflow: hidden;
  background-color: #F8F7FC;
  background-image: url("../images/hero/composition.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.kfx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(248,247,252,0.72) 0%, rgba(248,247,252,0.78) 55%, rgba(248,247,252,0.88) 100%);
}

.kfx-hero__blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90vw, 42rem);
  height: min(70vw, 32rem);
  transform: translate(-50%, -55%);
  background: radial-gradient(ellipse at 30% 30%, rgba(167, 139, 250, 0.55), transparent 55%),
              radial-gradient(ellipse at 70% 60%, rgba(124, 58, 237, 0.45), transparent 50%),
              linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 50%, #C4B5FD 100%);
  border-radius: var(--kfx-blob);
  filter: blur(0);
  z-index: 0;
  opacity: 0.72;
  animation: kfx-blob-morph 14s ease-in-out infinite;
}

@keyframes kfx-blob-morph {
  0%, 100% { border-radius: 58% 42% 48% 52% / 48% 55% 45% 52%; transform: translate(-50%, -55%) rotate(0deg); }
  50% { border-radius: 42% 58% 55% 45% / 52% 42% 58% 48%; transform: translate(-50%, -55%) rotate(3deg) scale(1.04); }
}

.reduce-motion .kfx-hero__blob { animation: none; }

.kfx-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin-inline: auto;
}

.kfx-hero__title {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-top: 0.75rem;
}

.kfx-hero__title em {
  font-style: normal;
  color: var(--kfx-purple);
}

.kfx-hero__lede {
  margin-top: 1.15rem;
  color: var(--kfx-ink-soft);
  max-width: 32rem;
  margin-inline: auto;
}

.kfx-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

/* Dashboard preview card */
.kfx-hero__preview-wrap {
  position: relative;
  z-index: 2;
  margin-top: 2.5rem;
  padding-bottom: 2rem;
}

.kfx-preview {
  max-width: 28rem;
  margin-inline: auto;
  background: var(--kfx-white);
  border-radius: 1.25rem;
  border: 1px solid var(--kfx-line);
  box-shadow: 0 24px 64px rgba(124, 58, 237, 0.12), 0 8px 24px rgba(30, 27, 46, 0.06);
  overflow: hidden;
  text-align: left;
}

.kfx-preview__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--kfx-line);
  background: linear-gradient(180deg, #FAFAFC, #fff);
}

.kfx-preview__dots {
  display: flex;
  gap: 5px;
}

.kfx-preview__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--kfx-lavender-muted);
}

.kfx-preview__dots span:first-child { background: #FCA5A5; }
.kfx-preview__dots span:nth-child(2) { background: #FDE68A; }
.kfx-preview__dots span:last-child { background: #86EFAC; }

.kfx-preview__label {
  flex: 1;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--kfx-ink-mute);
  letter-spacing: 0.04em;
}

.kfx-preview__badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--kfx-purple);
}

.kfx-preview__body {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1.15rem;
}

.kfx-preview__thumb {
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--kfx-purple-soft);
}

.kfx-preview__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.kfx-preview__name {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.kfx-preview__sub {
  font-size: 0.75rem;
  color: var(--kfx-ink-mute);
  margin-top: 0.2rem;
}

.kfx-preview__bars {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.kfx-preview__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  color: var(--kfx-ink-mute);
}

.kfx-preview__bar span {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--kfx-purple), var(--kfx-lavender));
  max-width: 100%;
}

.kfx-preview__bar em {
  font-style: normal;
  min-width: 2.2rem;
  text-align: right;
}

.kfx-preview__price {
  margin-top: 0.65rem;
  font-family: var(--kfx-font-display);
  font-weight: 700;
  color: var(--kfx-purple);
}

.kfx-preview__foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.15rem;
  border-top: 1px solid var(--kfx-line);
  font-size: 0.78rem;
  color: var(--kfx-ink-mute);
}

.kfx-preview__foot a {
  margin-left: auto;
  font-weight: 600;
  color: var(--kfx-purple);
}

/* Stats */
.kfx-stats { padding: 0 0 2.5rem; }

.kfx-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.75rem 1.25rem;
  background: var(--kfx-white);
  border-radius: 1.25rem;
  border: 1px solid var(--kfx-line);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.06);
}

@media (min-width: 768px) {
  .kfx-stats__grid { grid-template-columns: repeat(4, 1fr); padding: 2rem 1.5rem; }
}

.kfx-stat { text-align: center; }

.kfx-stat__num {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--kfx-purple);
  line-height: 1.1;
}

.kfx-stat__label {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--kfx-ink-mute);
}

/* Marquee */
.kfx-marquee {
  overflow: hidden;
  border-block: 1px solid var(--kfx-line);
  padding: 0.85rem 0;
  background: var(--kfx-white);
}

.kfx-marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: kfx-marquee 28s linear infinite;
}

@keyframes kfx-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reduce-motion .kfx-marquee__track { animation: none; }

.kfx-marquee__item {
  font-family: var(--kfx-font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kfx-ink-mute);
  white-space: nowrap;
}

/* Split-band services */
.kfx-split-band {
  position: relative;
  padding-bottom: 4rem;
}

.kfx-split-band__top {
  background: var(--kfx-white);
  padding: 4rem 0 6rem;
}

.kfx-split-band__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  min-height: 14rem;
  background: linear-gradient(180deg, var(--kfx-purple-soft) 0%, #DDD6FE 100%);
  z-index: 0;
}

.kfx-split-band__head {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.kfx-split-band__cards {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  margin-top: -4rem;
}

@media (min-width: 640px) {
  .kfx-split-band__cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .kfx-split-band__cards { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
}

.kfx-svc-card {
  display: flex;
  flex-direction: column;
  background: var(--kfx-white);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--kfx-line);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.1);
  transition: transform 0.35s var(--kfx-ease), box-shadow 0.35s var(--kfx-ease);
}

.kfx-svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(124, 58, 237, 0.15);
}

.kfx-svc-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.kfx-svc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kfx-svc-card__body { padding: 1.1rem; }

.kfx-svc-card__title {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.kfx-svc-card__text {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--kfx-ink-soft);
  line-height: 1.55;
}

.kfx-svc-card__link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--kfx-purple);
}

/* Sections */
.kfx-section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.kfx-section--soft { background: linear-gradient(180deg, rgba(237, 233, 254, 0.4), transparent); }
.kfx-section--lavender { background: var(--kfx-purple-soft); }

.kfx-section__head { margin-bottom: 2.5rem; }

.kfx-section__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.kfx-section__head--center {
  text-align: center;
  max-width: 34rem;
  margin-inline: auto;
}

/* Product carousel */
.kfx-prod-carousel .swiper { overflow: visible; }
.kfx-prod-carousel .swiper-slide { width: min(16rem, 78vw); }

.kfx-prod {
  background: var(--kfx-white);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--kfx-line);
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.08), 0 2px 8px rgba(30, 27, 46, 0.04);
  transition: box-shadow 0.3s var(--kfx-ease), transform 0.3s var(--kfx-ease);
}

.kfx-prod:hover {
  box-shadow: 0 18px 44px rgba(124, 58, 237, 0.14), 0 4px 12px rgba(30, 27, 46, 0.06);
  transform: translateY(-3px);
}

.kfx-prod__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--kfx-purple-soft);
}

.kfx-prod__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kfx-prod__body { padding: 1.1rem; }

.kfx-prod__cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--kfx-purple);
}

.kfx-prod__name {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.25rem;
}

.kfx-prod__sub {
  font-size: 0.78rem;
  color: var(--kfx-ink-mute);
  margin-top: 0.15rem;
}

.kfx-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  font-size: 0.78rem;
}

.kfx-rating__stars { color: #F59E0B; letter-spacing: -0.05em; }

.kfx-prod__price {
  margin-top: 0.5rem;
  font-family: var(--kfx-font-display);
  font-weight: 700;
  color: var(--kfx-purple);
}

.kfx-prod-carousel__nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.kfx-prod-carousel__nav--center { justify-content: center; }

.kfx-prod-carousel__btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--kfx-line);
  background: var(--kfx-white);
  font-size: 0.9rem;
  transition: border-color 0.25s var(--kfx-ease), color 0.25s var(--kfx-ease);
}

.kfx-prod-carousel__btn:hover {
  border-color: var(--kfx-purple);
  color: var(--kfx-purple);
}

/* Testimonials */
.kfx-voice-swiper .swiper-slide { width: min(22rem, 88vw); }

.kfx-voice-card {
  background: var(--kfx-white);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--kfx-line);
  height: 100%;
}

.kfx-stars { color: #F59E0B; font-size: 0.85rem; letter-spacing: 0.05em; }

.kfx-voice-card p:not(.kfx-stars) {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--kfx-ink-soft);
  line-height: 1.65;
}

.kfx-voice-card footer {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.kfx-voice-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--kfx-ink);
}

.kfx-voice-card span { color: var(--kfx-ink-mute); }

/* Tips journal */
.kfx-tips-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .kfx-tips-grid { grid-template-columns: repeat(3, 1fr); }
}

.kfx-tip {
  background: var(--kfx-white);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--kfx-line);
  transition: transform 0.3s var(--kfx-ease);
}

.kfx-tip:hover { transform: translateY(-4px); }

.kfx-tip__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.kfx-tip__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kfx-tip__body { padding: 1.15rem; }

.kfx-tip__date {
  font-size: 0.72rem;
  color: var(--kfx-ink-mute);
}

.kfx-tip__title {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.kfx-tip__excerpt {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: var(--kfx-ink-soft);
  line-height: 1.6;
}

/* FAQ */
.kfx-faq {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .kfx-faq { grid-template-columns: 1fr 1.2fr; align-items: start; }
}

.kfx-faq__item {
  border-bottom: 1px solid var(--kfx-line);
}

.kfx-faq__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  text-align: left;
  font-weight: 600;
  font-size: 0.92rem;
}

.kfx-faq__btn span:last-child {
  font-size: 1.25rem;
  color: var(--kfx-purple);
  transition: transform 0.3s var(--kfx-ease);
}

.kfx-faq__item.is-open .kfx-faq__btn span:last-child { transform: rotate(45deg); }

.kfx-faq__panel {
  padding-bottom: 1.1rem;
  font-size: 0.88rem;
  color: var(--kfx-ink-soft);
  line-height: 1.65;
}

.kfx-faq__panel[hidden] { display: none; }

/* Process */
.kfx-process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.kfx-process__item {
  background: var(--kfx-white);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  border: 1px solid var(--kfx-line);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.1);
}

.kfx-process__n {
  display: block;
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--kfx-purple);
  margin-bottom: 0.75rem;
}

.kfx-process__item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.kfx-process__item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--kfx-ink-soft);
  line-height: 1.65;
}

/* Why us */
.kfx-why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.kfx-why__media {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.1);
}

.kfx-why__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.kfx-why__list {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.kfx-why__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9rem;
  color: var(--kfx-ink-soft);
  line-height: 1.65;
}

.kfx-why__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--kfx-purple);
}

@media (max-width: 900px) {
  .kfx-process { grid-template-columns: 1fr; }
  .kfx-why { grid-template-columns: 1fr; }
}

/* CTA */
.kfx-cta {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: linear-gradient(135deg, var(--kfx-purple) 0%, var(--kfx-purple-deep) 100%);
  text-align: center;
}

.kfx-cta--compact { padding: 3rem 0; }

.kfx-cta__inner { max-width: 32rem; margin-inline: auto; }

.kfx-cta__lede {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.kfx-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Banner (inner pages) */
.kfx-banner {
  position: relative;
  min-height: 16rem;
  display: flex;
  align-items: flex-end;
}

.kfx-banner__media {
  position: absolute;
  inset: 0;
}

.kfx-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kfx-banner__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 27, 46, 0.35) 0%, rgba(109, 40, 217, 0.75) 100%);
}

.kfx-banner__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3rem 0;
  color: var(--kfx-white);
}

.kfx-banner__title {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin-top: 0.5rem;
}

.kfx-banner__lead {
  margin-top: 0.75rem;
  max-width: 32rem;
  opacity: 0.9;
}

.kfx-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.kfx-crumb a:hover { opacity: 1; text-decoration: underline; }

/* Page hero */
.kfx-page-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, var(--kfx-purple-soft), transparent);
}

.kfx-page-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .kfx-page-hero__grid { grid-template-columns: 1fr 1fr; }
}

.kfx-page-hero figure {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.12);
}

/* Services page */
.kfx-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.kfx-jump__link {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--kfx-line);
  background: var(--kfx-white);
}

.kfx-jump__link:hover {
  border-color: var(--kfx-purple);
  color: var(--kfx-purple);
}

.kfx-svc__intro {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .kfx-svc__intro { grid-template-columns: 1fr 1fr; align-items: center; }
}

.kfx-svc__media {
  border-radius: 1rem;
  overflow: hidden;
}

.kfx-svc__items {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .kfx-svc__items { grid-template-columns: repeat(3, 1fr); }
}

.kfx-svc-card__sku {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--kfx-purple);
}

.kfx-svc-card__name {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.25rem;
}

.kfx-svc-card__spec {
  font-size: 0.78rem;
  color: var(--kfx-ink-mute);
  margin-top: 0.2rem;
}

.kfx-svc-card__note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--kfx-ink-soft);
  line-height: 1.6;
}

.kfx-svc-card__price {
  margin-top: 0.75rem;
  font-family: var(--kfx-font-display);
  font-weight: 700;
  color: var(--kfx-purple);
}

/* About */
.kfx-about-intro {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .kfx-about-intro { grid-template-columns: 1fr 1fr; }
}

.kfx-about-intro figure {
  border-radius: 1rem;
  overflow: hidden;
}

.kfx-pillar-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .kfx-pillar-grid { grid-template-columns: repeat(3, 1fr); }
}

.kfx-pillar {
  background: var(--kfx-white);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--kfx-line);
}

.kfx-pillar__n {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--kfx-purple);
}

.kfx-pillar__t {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.kfx-pillar p:last-child {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--kfx-ink-soft);
}

.kfx-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--kfx-lavender-muted);
  margin-left: 0.5rem;
}

.kfx-timeline__item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0 1.25rem 1.5rem;
  position: relative;
}

.kfx-timeline__item::before {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 1.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--kfx-purple);
}

.kfx-timeline__year {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  color: var(--kfx-purple);
}

.kfx-timeline__title {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: 1rem;
}

.kfx-about-visit {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .kfx-about-visit { grid-template-columns: 1fr 1fr; }
}

.kfx-about-visit figure {
  border-radius: 1rem;
  overflow: hidden;
}

/* Articles */
.kfx-articles-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .kfx-articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .kfx-articles-grid { grid-template-columns: repeat(3, 1fr); }
}

.kfx-article {
  background: var(--kfx-white);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--kfx-line);
}

.kfx-article__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.kfx-article__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kfx-article__body { padding: 1.15rem; }

.kfx-article__meta {
  font-size: 0.72rem;
  color: var(--kfx-ink-mute);
}

.kfx-article__title {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.kfx-article__excerpt {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: var(--kfx-ink-soft);
  line-height: 1.6;
}

/* Contact */
.kfx-contact {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .kfx-contact { grid-template-columns: 1fr 1.2fr; }
}

.kfx-contact__notes {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--kfx-ink-soft);
}

.kfx-contact__notes li {
  padding-left: 1rem;
  position: relative;
  margin-top: 0.35rem;
}

.kfx-contact__notes li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--kfx-purple);
}

.kfx-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kfx-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.kfx-form input,
.kfx-form select,
.kfx-form textarea {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--kfx-line);
  border-radius: 0.65rem;
  background: var(--kfx-white);
  transition: border-color 0.25s var(--kfx-ease);
}

.kfx-form input:focus,
.kfx-form select:focus,
.kfx-form textarea:focus {
  outline: none;
  border-color: var(--kfx-purple);
}

.kfx-alert {
  padding: 1rem 1.15rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
}

.kfx-alert--ok {
  background: rgba(124, 58, 237, 0.1);
  color: var(--kfx-purple-deep);
}

.kfx-alert--err {
  background: rgba(239, 68, 68, 0.1);
  color: #B91C1C;
}

/* Footer */
.kfx-footer {
  background: var(--kfx-ink);
  color: rgba(255, 255, 255, 0.85);
  margin-top: auto;
}

.kfx-footer__top {
  display: grid;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

@media (min-width: 768px) {
  .kfx-footer__top { grid-template-columns: 1.2fr repeat(3, 1fr); }
}

.kfx-footer__brand {
  font-family: var(--kfx-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: #fff;
}

.kfx-footer__jp { font-size: 0.85rem; margin-top: 0.25rem; }

.kfx-footer__tagline {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  opacity: 0.7;
}

.kfx-footer__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kfx-lavender);
  margin-bottom: 0.75rem;
}

.kfx-footer__links li { margin-top: 0.4rem; }

.kfx-footer__links a {
  font-size: 0.85rem;
  opacity: 0.8;
}

.kfx-footer__links a:hover { opacity: 1; color: var(--kfx-lavender); }

.kfx-footer__address {
  font-size: 0.82rem;
  line-height: 1.7;
  opacity: 0.85;
}

.kfx-footer__address span { opacity: 0.65; }

.kfx-footer__address a:hover { color: var(--kfx-lavender); }

.kfx-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
}

.kfx-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* Reveal */
[data-kfx-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--kfx-ease), transform 0.65s var(--kfx-ease);
  transition-delay: var(--d, 0ms);
}

[data-kfx-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.reduce-motion [data-kfx-reveal] {
  opacity: 1;
  transform: none;
}
