:root {
  color-scheme: light;
  --ink: #1d1728;
  --ink-soft: #554766;
  --paper: #fffaff;
  --mist: #f5efff;
  --line: #e4d8f0;
  --mint: #8b5cf6;
  --coral: #d946ef;
  --blue: #5f6ee8;
  --yellow: #f2bd5c;
  --forest: #3b1768;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(43, 25, 73, 0.16);
  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 6px;
  padding: 10px 14px;
  background: var(--forest);
  color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--ink-soft);
  line-height: 1.85;
}

.container {
  width: min(100%, 1200px);
  margin-inline: auto;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(228, 216, 240, 0.86);
  background: rgba(255, 250, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  height: 46px;
  padding: 0 24px 2px;
  border-radius: 4px;
  background:
    linear-gradient(135deg, #2b1159 0%, #3b1768 56%, #28104d 100%);
  box-shadow: 0 14px 34px rgba(43, 17, 89, 0.18);
  color: #ffffff;
  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    system-ui,
    sans-serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  align-items: center;
  padding: clamp(78px, 10vw, 132px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 78% 26%, rgba(139, 92, 246, 0.24), transparent 26%),
    linear-gradient(118deg, #fffaff 0%, #fbf7ff 52%, #f4edff 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(255, 250, 255, 0.98) 0%,
    rgba(255, 250, 255, 0.9) 42%,
    rgba(255, 250, 255, 0.42) 68%,
    rgba(255, 250, 255, 0) 100%
  );
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 16vh;
  min-height: 92px;
  background: linear-gradient(180deg, rgba(255, 250, 255, 0), var(--paper));
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(2.25rem, 4.4vw, 4.1rem);
  line-height: 1.16;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 32px;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions,
.site-footer nav,
.product-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 850;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--forest);
  box-shadow: 0 14px 34px rgba(59, 23, 104, 0.26);
  color: var(--white);
}

.button.primary.dark {
  background: var(--ink);
}

.button.secondary {
  border-color: rgba(43, 25, 73, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.button.compact {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.data-window,
.signal-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  opacity: 0.58;
}

.window-main {
  top: 20%;
  right: clamp(18px, 5vw, 86px);
  width: min(42vw, 560px);
  min-width: 360px;
  padding: 18px;
  transform: rotate(-2deg);
}

.window-side {
  right: 18vw;
  bottom: 15vh;
  width: 260px;
  padding: 18px;
  transform: rotate(4deg);
}

.window-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.window-bar span:nth-child(2) {
  background: var(--yellow);
}

.window-bar span:nth-child(3) {
  background: var(--mint);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metrics-grid div {
  min-height: 92px;
  border-radius: 8px;
  padding: 14px;
  background: #f6faf7;
}

.metrics-grid small {
  display: block;
  color: var(--ink-soft);
  font-weight: 800;
}

.metrics-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 1.6rem;
}

.chart-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.chart-lines i,
.mini-list span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--blue));
}

.chart-lines i:nth-child(2) {
  width: 74%;
  background: linear-gradient(90deg, var(--coral), var(--yellow));
}

.chart-lines i:nth-child(3) {
  width: 86%;
}

.mini-list {
  display: grid;
  gap: 12px;
}

.mini-list span {
  height: 18px;
}

.mini-list span:nth-child(2) {
  width: 78%;
  background: var(--coral);
}

.mini-list span:nth-child(3) {
  width: 90%;
  background: var(--yellow);
}

.signal-card {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: var(--forest);
  font-size: 1.1rem;
  font-weight: 900;
}

.signal-one {
  top: 16%;
  right: 42%;
}

.signal-two {
  right: 9%;
  bottom: 30%;
  color: var(--coral);
}

.signal-three {
  right: 36%;
  bottom: 18%;
  color: var(--blue);
}

@media (min-width: 1400px) and (prefers-reduced-motion: no-preference) {
  .window-main {
    animation: floatMain 18s ease-in-out infinite;
  }

  .window-side {
    animation: floatSide 22s ease-in-out infinite;
  }

  .signal-card {
    animation: floatSignal 16s ease-in-out infinite;
  }

  .signal-two {
    animation-delay: -5s;
  }

  .signal-three {
    animation-delay: -9s;
  }

  .chart-lines i,
  .mini-list span {
    background-size: 180% 100%;
    animation: lineDrift 12s ease-in-out infinite;
  }
}

@keyframes floatMain {
  0%,
  100% {
    transform: rotate(-2deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(-2deg) translate3d(0, -10px, 0);
  }
}

@keyframes floatSide {
  0%,
  100% {
    transform: rotate(4deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(4deg) translate3d(8px, -8px, 0);
  }
}

@keyframes floatSignal {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes lineDrift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .window-main,
  .window-side,
  .signal-card,
  .chart-lines i,
  .mini-list span {
    animation: none;
  }
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.section-copy {
  max-width: 760px;
}

.section-copy h2,
.contact-section h2,
.catalog-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.12;
}

.hero h1,
.section-copy h2,
.contact-section h2,
.catalog-copy h1 {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
}

.intro-grid,
.preview-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

.intro-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.intro-grid article,
.preview-card,
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(43, 25, 73, 0.07);
}

.intro-grid article {
  padding: 28px;
}

.number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 950;
}

.intro-grid h3,
.service-list h3,
.preview-card h3,
.product-card h2 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.split-section {
  background: var(--mist);
}

.split-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.visual-strip {
  display: grid;
  gap: 14px;
  align-content: center;
}

.workflow-card {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(43, 25, 73, 0.1);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(43, 25, 73, 0.09);
}

.workflow-line {
  width: 2px;
  height: 30px;
  margin-left: 32px;
  background: var(--line);
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.dot.teal {
  background: var(--mint);
}

.dot.coral {
  background: var(--coral);
}

.dot.blue {
  background: var(--blue);
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-list article {
  border-bottom: 1px solid rgba(43, 25, 73, 0.12);
  padding-bottom: 18px;
}

.preview-inner {
  display: grid;
  gap: 26px;
}

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

.preview-card {
  min-height: 230px;
  padding: 24px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.preview-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
}

.badge-mint {
  background: rgba(139, 92, 246, 0.18);
}

.badge-coral {
  background: rgba(217, 70, 239, 0.16);
}

.badge-blue {
  background: rgba(95, 110, 232, 0.16);
}

.badge-yellow {
  background: rgba(242, 189, 92, 0.24);
}

.badge-ink {
  background: rgba(43, 25, 73, 0.1);
}

.text-link {
  width: fit-content;
  border-bottom: 2px solid var(--coral);
  color: var(--ink);
  font-weight: 900;
}

.contact-section {
  padding: clamp(54px, 7vw, 88px) clamp(20px, 5vw, 72px);
  background: var(--forest);
  color: var(--white);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-section h2 {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--white);
}

.site-footer {
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer p {
  margin: 0;
}

.catalog-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: clamp(78px, 10vw, 132px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(112deg, rgba(59, 23, 104, 0.96), rgba(29, 23, 40, 0.92)),
    #3b1768;
  color: var(--white);
}

.catalog-hero-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1fr);
  align-items: center;
  gap: 32px;
}

.catalog-copy {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.catalog-copy p,
.catalog-copy .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.catalog-copy h1 {
  color: var(--white);
}

.catalog-visual {
  position: relative;
  display: grid;
  min-height: 360px;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 12px;
}

.catalog-tile {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.tile-a {
  grid-area: 1 / 1 / 4 / 4;
  background-color: rgba(139, 92, 246, 0.3);
}

.tile-b {
  grid-area: 2 / 4 / 6 / 7;
  background-color: rgba(217, 70, 239, 0.24);
}

.tile-c {
  grid-area: 4 / 2 / 7 / 5;
  background-color: rgba(95, 110, 232, 0.24);
}

.tile-d {
  grid-area: 1 / 5 / 3 / 7;
  background-color: rgba(242, 189, 92, 0.28);
}

.catalog-section {
  padding-top: 54px;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.filter-button.active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

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

.product-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 24px;
  transition:
    opacity 160ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.product-card.is-hidden {
  display: none;
}

.product-topline {
  justify-content: space-between;
  margin-bottom: 28px;
}

.price {
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 950;
}

.product-card ul {
  display: grid;
  gap: 10px;
  margin: 8px 0 24px;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.product-card .button {
  margin-top: auto;
}

.compare-section {
  background: #f6faf7;
}

.compare-table {
  display: grid;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.compare-table [role="row"] {
  display: grid;
  grid-template-columns: 0.85fr 0.95fr 1.2fr;
}

.compare-table [role="row"] + [role="row"] {
  border-top: 1px solid var(--line);
}

.compare-table span {
  padding: 18px;
  border-right: 1px solid var(--line);
  line-height: 1.65;
}

.compare-table span:last-child {
  border-right: 0;
}

.table-head {
  background: var(--forest);
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 1399px) {
  .hero-stage {
    display: none;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding-top: 78px;
    padding-bottom: clamp(72px, 12vw, 112px);
  }
}

@media (max-width: 1080px) {
  .split-inner {
    grid-template-columns: 1fr;
  }

  .visual-strip {
    grid-row: 2;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .window-side,
  .signal-two,
  .signal-three {
    display: none;
  }

  .signal-one {
    top: auto;
    right: 8%;
    bottom: 430px;
  }

  .intro-grid,
  .preview-grid,
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-inner,
  .catalog-hero-inner {
    grid-template-columns: 1fr;
  }

  .visual-strip {
    grid-row: 2;
  }

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .brand-logo {
    min-width: 164px;
    height: 38px;
    padding: 0 18px 2px;
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 8.6vw, 2.8rem);
  }

  .hero-actions .button,
  .contact-section .button {
    width: 100%;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid div {
    min-height: 70px;
  }

  .intro-grid,
  .preview-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid article,
  .preview-card,
  .product-card {
    padding: 22px;
  }

  .catalog-hero {
    min-height: 640px;
  }

  .catalog-visual {
    min-height: 260px;
  }

  .compare-table {
    gap: 0;
    border: 0;
    background: transparent;
  }

  .compare-table [role="row"] {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
  }

  .compare-table [role="row"] + [role="row"] {
    border-top: 1px solid var(--line);
  }

  .compare-table span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .compare-table span:last-child {
    border-bottom: 0;
  }

  .table-head {
    display: none !important;
  }
}

/* Legal / policy pages */
.legal-page {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px) clamp(36px, 4vw, 56px);
  background:
    radial-gradient(circle at 82% 18%, rgba(139, 92, 246, 0.18), transparent 32%),
    linear-gradient(118deg, #fffaff 0%, #f4edff 100%);
  border-bottom: 1px solid var(--line);
}

.legal-page .container {
  max-width: 800px;
}

.legal-page .eyebrow {
  margin-bottom: 12px;
}

.legal-page h1 {
  max-width: 800px;
  margin-bottom: 16px;
  color: var(--ink);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  font-size: clamp(2.05rem, 4.4vw, 3.3rem);
  line-height: 1.18;
}

.legal-lead {
  max-width: 800px;
  margin: 0;
}

.legal-content {
  max-width: 800px;
}

.legal-meta {
  margin: 0 0 32px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.legal-notice {
  margin: 0 0 40px;
  border: 1px solid rgba(217, 70, 239, 0.45);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(217, 70, 239, 0.08);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.85;
}

.legal-block {
  margin-bottom: 34px;
}

.legal-block h2 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.legal-block > p {
  margin: 0;
}

.legal-list {
  margin: 8px 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.9;
}

.legal-list li + li {
  margin-top: 6px;
}

.legal-table {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table th {
  width: 32%;
  background: var(--mist);
  color: var(--ink);
  font-weight: 800;
}

.legal-table td {
  color: var(--ink-soft);
}

@media (max-width: 680px) {
  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

/* Works page */
.works-hero {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px) clamp(36px, 4vw, 56px);
  background:
    radial-gradient(circle at 82% 18%, rgba(139, 92, 246, 0.18), transparent 32%),
    linear-gradient(118deg, #fffaff 0%, #f4edff 100%);
  border-bottom: 1px solid var(--line);
}

.works-hero .eyebrow {
  margin-bottom: 12px;
}

.works-hero h1 {
  max-width: 800px;
  margin-bottom: 16px;
  color: var(--ink);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  font-size: clamp(2.05rem, 4.4vw, 3.3rem);
  line-height: 1.18;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 3vw, 28px);
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 32px);
  background: var(--white);
  box-shadow: 0 10px 34px rgba(43, 25, 73, 0.07);
}

.work-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.work-card-header h2 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.work-subtitle {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.work-card > p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.9;
}

.work-meta h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.work-tags li {
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(139, 92, 246, 0.14);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.works-preview .work-card {
  max-width: 860px;
  margin-top: 28px;
  margin-inline: auto;
}

/* GlideLink product page */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gl-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 10vw, 128px) clamp(20px, 5vw, 72px) clamp(56px, 7vw, 96px);
  background:
    radial-gradient(circle at 84% 22%, rgba(139, 92, 246, 0.22), transparent 32%),
    linear-gradient(118deg, #fffaff 0%, #fbf7ff 52%, #f4edff 100%);
  border-bottom: 1px solid var(--line);
}

.gl-hero-inner {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.gl-hero-copy {
  max-width: 640px;
}

.gl-hero h1 {
  margin-bottom: 16px;
  color: var(--ink);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.12;
}

.gl-lead {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.gl-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  padding: 0;
  list-style: none;
}

.gl-badges li {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 850;
}

.gl-badges li.is-pending {
  border-color: rgba(217, 70, 239, 0.42);
  background: rgba(217, 70, 239, 0.08);
  color: var(--coral);
}

.gl-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gl-price-line {
  margin: 22px 0 0;
  color: var(--forest);
  font-weight: 900;
}

.gl-terms-note {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.7;
}

.gl-terms-note a {
  border-bottom: 1px solid var(--coral);
  font-weight: 700;
}

/* Hero diagram: PC-A / PC-B */
.gl-diagram {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(8px, 2vw, 20px);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.gl-pc {
  display: grid;
  gap: 10px;
}

.gl-screen {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(43, 25, 73, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(95, 110, 232, 0.12)),
    var(--mist);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.7);
}

.gl-screen::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 16%;
  height: 6px;
  border-radius: 999px;
  background: rgba(43, 25, 73, 0.12);
  box-shadow:
    0 -14px 0 rgba(43, 25, 73, 0.12),
    0 -28px 0 rgba(43, 25, 73, 0.12);
}

.gl-pc-label {
  text-align: center;
  color: var(--ink);
  font-weight: 900;
}

.gl-cursor {
  position: absolute;
  top: 22%;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--forest);
  transform: rotate(8deg);
}

.gl-pc-a .gl-cursor {
  right: 24%;
}

.gl-pc-b .gl-cursor {
  left: 24%;
  opacity: 0.4;
}

.gl-link {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-width: 92px;
}

.gl-link-arrow {
  position: relative;
  width: 100%;
  min-width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--blue));
}

.gl-link-arrow::before,
.gl-link-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
}

.gl-link-arrow::before {
  left: 0;
  transform: translateY(-50%) rotate(-135deg);
  border-color: var(--mint);
}

.gl-link-arrow::after {
  right: 0;
  transform: translateY(-50%) rotate(45deg);
}

.gl-link-tag {
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--mist);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 850;
  white-space: nowrap;
}

/* Feature cards */
.gl-grid {
  display: grid;
  gap: 18px;
  margin-top: 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gl-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(43, 25, 73, 0.07);
}

.gl-card h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.gl-card p {
  margin: 0;
  font-size: 0.96rem;
}

.gl-value-list {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gl-value-list li {
  border-left: 3px solid var(--mint);
  padding: 4px 0 4px 16px;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.7;
}

/* Pricing */
.gl-pricing {
  display: grid;
  gap: 18px;
  margin-top: 42px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.gl-price-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 22px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(43, 25, 73, 0.07);
}

.gl-price-card.featured {
  border-color: var(--forest);
  box-shadow: var(--shadow);
}

.gl-price-card h3 {
  margin-bottom: 6px;
  font-size: 1.16rem;
}

.gl-amount {
  margin: 0 0 4px;
  color: var(--forest);
  font-size: 1.5rem;
  font-weight: 950;
  line-height: 1.2;
}

.gl-amount small {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.gl-price-card ul {
  display: grid;
  gap: 9px;
  margin: 16px 0 22px;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.94rem;
}

.gl-price-card .button {
  margin-top: auto;
}

.gl-pricing-note {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.8;
}

/* Security + FAQ */
.gl-section-mist {
  background: var(--mist);
}

.gl-check-list {
  display: grid;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gl-check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.7;
}

.gl-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 14px;
  border-right: 3px solid var(--mint);
  border-bottom: 3px solid var(--mint);
  transform: rotate(40deg);
}

.gl-faq {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.gl-faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 20px;
  background: var(--white);
}

.gl-faq summary {
  padding: 16px 0;
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.6;
}

.gl-faq summary::-webkit-details-marker {
  display: none;
}

.gl-faq details[open] summary {
  border-bottom: 1px solid var(--line);
}

.gl-faq p {
  margin: 0;
  padding: 14px 0 18px;
  font-size: 0.96rem;
}

.gl-breadcrumb {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.gl-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gl-breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.gl-breadcrumb li + li::before {
  content: "／";
  margin-right: 8px;
  color: var(--line);
}

.gl-breadcrumb a {
  border-bottom: 1px solid transparent;
}

.gl-breadcrumb a:hover {
  border-bottom-color: var(--coral);
}

.gl-breadcrumb [aria-current="page"] {
  color: var(--ink);
}

@media (max-width: 980px) {
  .gl-hero-inner {
    grid-template-columns: 1fr;
  }

  .gl-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gl-pricing {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .gl-grid,
  .gl-pricing,
  .gl-value-list,
  .gl-check-list {
    grid-template-columns: 1fr;
  }

  .gl-cta .button {
    width: 100%;
  }

  .gl-diagram {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gl-link {
    width: 100%;
  }

  .gl-link-arrow {
    transform: rotate(90deg);
    width: 48px;
    justify-self: center;
  }
}
