* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-coral: #ff6b6b;
  --primary-orange: #ff9f43;
  --primary-blue: #4facfe;
  --primary-purple: #a855f7;
  --primary-pink: #f472b6;
  --primary-cyan: #22d3ee;
  --primary-green: #34d399;
  --text-dark: #2d3748;
  --text-gray: #718096;
  --bg-light: #f7f9fc;
}

body {
  font-family: "Poppins", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text-dark);
  background: #f7f9fc;
  overflow-x: hidden;
}

@keyframes heroCinematicIn {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.985);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroWaveIn {
  from {
    opacity: 0;
    transform: translateY(calc(-50% + 22px)) scale(0.985);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    filter: blur(0);
  }
}

@keyframes heroUnderlineIn {
  from {
    transform: scaleX(0);
    opacity: 0.45;
  }
  to {
    transform: scaleX(1);
    opacity: 0.8;
  }
}

@keyframes heroContentBreath {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes heroOrbDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.88;
  }
  50% {
    transform: translate3d(-14px, 10px, 0) scale(1.03);
    opacity: 1;
  }
}

@keyframes heroRibbonFloatA {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-10px, -7px, 0) rotate(-0.8deg);
  }
}

@keyframes heroRibbonFloatB {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(8px, 8px, 0) rotate(0.75deg);
  }
}

@keyframes heroRibbonFloatC {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-6px, 10px, 0) rotate(-0.65deg);
  }
}

@keyframes heroShinePulse {
  0%,
  100% {
    opacity: 0.5;
    filter: saturate(1);
  }
  50% {
    opacity: 0.95;
    filter: saturate(1.18);
  }
}

@keyframes heroShadowlineShift {
  0%,
  100% {
    opacity: 0.16;
  }
  50% {
    opacity: 0.3;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease, opacity 0.35s ease, transform 0.35s ease;
}

header.is-scrolled {
  background: rgba(247, 249, 252, 0.9);
  backdrop-filter: blur(8px);
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #111111;
}

nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary-coral);
}

.lang-switch {
  color: var(--text-gray);
  font-size: 0.85rem;
}

.hero {
  min-height: 86vh;
  padding: 100px 5% 40px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  z-index: 10;
}

.hero h1,
.hero-subtitle,
.hero-diagnosis-form,
.scroll-indicator {
  opacity: 0;
}

.hero h1 {
  animation:
    heroCinematicIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.02s forwards,
    heroContentBreath 6.5s ease-in-out 1.05s infinite;
}

.hero-subtitle {
  animation:
    heroCinematicIn 0.64s cubic-bezier(0.22, 1, 0.36, 1) 0.14s forwards,
    heroContentBreath 7.2s ease-in-out 1.12s infinite;
}

.hero-diagnosis-form {
  animation: heroCinematicIn 0.66s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
}

.scroll-indicator {
  animation: heroCinematicIn 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-llmo {
  background: linear-gradient(90deg, #ff0054 0%, #0066ff 52%, #00d084 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 8px 24px rgba(0, 102, 255, 0.18);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.hero-subtitle-emphasis {
  color: #0f172a;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, rgba(255, 0, 84, 0.14) 0%, rgba(0, 102, 255, 0.12) 55%, rgba(0, 208, 132, 0.14) 100%);
  padding: 0.02em 0.38em;
  border-radius: 4px;
}

.hero-diagnosis-form {
  width: min(430px, 82vw);
  margin-top: 2.4rem;
  margin-bottom: 1.7rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.hero-diagnosis-label {
  display: inline-block;
  position: relative;
  font-size: 0.83rem;
  color: #475569;
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-diagnosis-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12rem;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff0054 0%, #0066ff 52%, #00d084 100%);
  opacity: 0.85;
  transform: scaleX(0);
  transform-origin: left center;
  animation: heroUnderlineIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.hero-diagnosis-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.hero-diagnosis-row input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #ccd9ee;
  border-radius: 9px;
  background: #fff;
  padding: 0.6rem 0.72rem;
  font: inherit;
  color: #1f2937;
}

.hero-diagnosis-row input:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.18);
}

.hero-diagnosis-submit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  padding: 0.48rem 0.85rem;
  min-height: 38px;
  background: #ff0054;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(255, 0, 84, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  animation: diagnosisGlow 3.2s ease-in-out infinite;
}

.hero-diagnosis-submit::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -45%;
  width: 38%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.42) 52%, rgba(255, 255, 255, 0) 100%);
  z-index: -1;
  animation: diagnosisShine 2.9s ease-in-out infinite;
}

.hero-diagnosis-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 0, 84, 0.35);
  filter: saturate(1.06);
}

.hero-diagnosis-submit:focus-visible {
  outline: 2px solid rgba(255, 0, 84, 0.38);
  outline-offset: 2px;
}

@keyframes diagnosisGlow {
  0%,
  100% {
    box-shadow: 0 8px 18px rgba(255, 0, 84, 0.22);
  }
  50% {
    box-shadow: 0 10px 24px rgba(255, 0, 84, 0.38);
  }
}

@keyframes diagnosisShine {
  0% {
    transform: translateX(-145%) rotate(18deg);
    opacity: 0;
  }
  18% {
    opacity: 0.7;
  }
  32% {
    transform: translateX(290%) rotate(18deg);
    opacity: 0;
  }
  100% {
    transform: translateX(290%) rotate(18deg);
    opacity: 0;
  }
}

.hero-diagnosis-status {
  min-height: 1rem;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: #334155;
}

.diagnosis-modal[hidden] {
  display: none;
}

.diagnosis-modal {
  position: fixed;
  inset: 0;
  z-index: 2300;
}

.diagnosis-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.diagnosis-modal-window {
  position: relative;
  width: min(820px, 92vw);
  margin: 5vh auto 0;
  border-radius: 16px;
  border: 1px solid #d6e3f9;
  background: linear-gradient(180deg, #fbfdff 0%, #f2f7ff 100%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.3);
  padding: 1.05rem;
}

.diagnosis-modal-close {
  position: absolute;
  top: 0.45rem;
  right: 0.58rem;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}

.diagnosis-modal-header {
  padding-right: 1.8rem;
}

.diagnosis-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #0f172a;
  background: linear-gradient(90deg, rgba(255, 0, 84, 0.16) 0%, rgba(0, 102, 255, 0.15) 50%, rgba(0, 208, 132, 0.16) 100%);
}

.diagnosis-modal-header h3 {
  margin: 0.45rem 0 0.2rem;
  font-size: 1.25rem;
  color: #0f172a;
}

.diagnosis-modal-url {
  margin: 0;
  font-size: 0.8rem;
  color: #475569;
  overflow-wrap: anywhere;
}

.diagnosis-loading-panel {
  margin-top: 0.85rem;
  border-radius: 12px;
  border: 1px solid #24365a;
  background: radial-gradient(circle at top right, rgba(51, 193, 255, 0.24) 0%, transparent 48%), #0f172a;
  color: #dbeafe;
  padding: 0.8rem;
}

.diagnosis-stage {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.diagnosis-progress {
  margin-top: 0.6rem;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  background: rgba(15, 23, 42, 0.6);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.5);
  overflow: hidden;
}

.diagnosis-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee 0%, #3b82f6 48%, #7c3aed 100%);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.7);
  transition: width 0.28s ease;
}

.diagnosis-log {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  max-height: 152px;
  overflow: auto;
  display: grid;
  gap: 0.42rem;
}

.diagnosis-log li {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 0.73rem;
  color: #bfdbfe;
  opacity: 0.96;
}

.diagnosis-log li::before {
  content: ">";
  margin-right: 0.42rem;
  color: #7dd3fc;
}

.diagnosis-result-panel {
  margin-top: 0.85rem;
  border-radius: 12px;
  border: 1px solid #dbe7fb;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.85rem;
}

.diagnosis-result-lead {
  margin: 0 0 0.25rem;
  font-size: 0.84rem;
  color: #475569;
}

.diagnosis-result-note {
  margin: 0 0 0.55rem;
  font-size: 0.65rem;
  color: #94a3b8;
  line-height: 1.4;
}

.diagnosis-citation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.diagnosis-citation-card {
  border-radius: 10px;
  border: 1px solid #dbe7fb;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 0.58rem;
}

.diagnosis-citation-card h4 {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  color: #334155;
}

.diagnosis-citation-card p {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.diagnosis-citation-card span {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
  color: #0f172a;
}

.diagnosis-citation-card small {
  font-size: 0.74rem;
  color: #64748b;
}

.diagnosis-sensitive-value {
  display: inline-block;
  filter: blur(9px);
  opacity: 0.95;
  user-select: none;
}

.diagnosis-meta-grid {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.diagnosis-meta-item {
  border: 1px solid #e4ecfa;
  border-radius: 9px;
  background: #fbfdff;
  padding: 0.5rem 0.55rem;
  display: grid;
  gap: 0.2rem;
}

.diagnosis-meta-item span {
  font-size: 0.74rem;
  color: #64748b;
}

.diagnosis-meta-item strong {
  font-size: 1rem;
  color: #0f172a;
}

.diagnosis-hidden-insight {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.diagnosis-hidden-insight li {
  border: 1px solid #e7edf8;
  border-radius: 8px;
  background: #fbfdff;
  padding: 0.42rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  overflow: hidden;
  font-size: 0.78rem;
  color: #334155;
}

.diagnosis-hidden-insight strong {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(62ch, 74%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  filter: blur(9px);
  opacity: 0.98;
  user-select: none;
}

.diagnosis-lead-form {
  margin-top: 0.72rem;
  display: grid;
  gap: 0.42rem;
}

.diagnosis-lead-form label {
  font-size: 0.76rem;
  color: #475569;
  font-weight: 600;
}

.diagnosis-lead-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}

.diagnosis-lead-row input {
  min-height: 38px;
  border: 1px solid #ccd9ee;
  border-radius: 9px;
  background: #fff;
  padding: 0.52rem 0.67rem;
  font: inherit;
  color: #1f2937;
}

.diagnosis-lead-row input:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.18);
}

.diagnosis-lead-row button {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 9px;
  min-height: 38px;
  padding: 0.52rem 0.88rem;
  background: linear-gradient(120deg, #0f7bff 0%, #5b4bff 54%, #8b31d8 100%);
  color: #fff;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 1px rgba(15, 23, 42, 0.22);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.diagnosis-lead-row button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.34);
}

.diagnosis-lead-row button:active {
  transform: translateY(0);
}

.diagnosis-lead-row button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.38), 0 12px 24px rgba(37, 99, 235, 0.3);
}

.diagnosis-lead-note {
  margin: 0;
  font-size: 0.72rem;
  color: #64748b;
}

.diagnosis-lead-status {
  margin: 0;
  min-height: 0.9rem;
  font-size: 0.74rem;
  color: #334155;
}

.scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-gray);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.3s;
}

.scroll-indicator:hover {
  color: var(--primary-coral);
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(10px); }
  60% { transform: translateY(5px); }
}

.wave-container {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 70%;
  height: 90%;
  pointer-events: none;
  opacity: 0;
  animation: heroWaveIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.wave-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-orb {
  transform-origin: 76% 50%;
}

.hero-ribbon,
.hero-ribbon-shine,
.hero-ribbon-shadowline {
  transform-origin: 60% 50%;
  transform-box: fill-box;
  will-change: auto;
}

.about,
.services,
.roadmap,
.works,
.contact {
  padding: 80px 5%;
}

.about {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: start;
}

.about-content {
  max-width: 100%;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.section-text {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 0.7rem;
}

.about-key-points {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.about-key-points li {
  position: relative;
  padding-left: 1.2rem;
  padding-bottom: 0.48rem;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.6;
}

.about-key-points li::after {
  content: "";
  position: absolute;
  left: 1.2rem;
  right: 0;
  bottom: 0;
  height: 1px;
  opacity: 0.7;
  background: linear-gradient(90deg, #ff0054 0%, #0066ff 52%, #00d084 100%);
}

.about-key-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.02rem;
  font-weight: 700;
}

.about-key-points li:nth-child(1)::before {
  color: #ff0054;
}

.about-key-points li:nth-child(2)::before {
  color: #0066ff;
}

.about-key-points li:nth-child(3)::before {
  color: #00d084;
}

.btn-outline {
  display: inline-block;
  padding: 0.8rem 2rem;
  border: 2px solid var(--primary-coral);
  color: var(--primary-coral);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 30px;
  transition: all 0.3s;
}

.btn-outline.contact-modal-trigger {
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-outline:hover {
  background: var(--primary-coral);
  color: #fff;
}

.about-side-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-content: start;
  position: sticky;
  top: 108px;
}

.about-nav-card {
  --about-visual-height: 108px;
  --about-visual-gap: 0.62rem;
  position: relative;
  display: grid;
  gap: 0.26rem;
  width: 100%;
  border: 0;
  border-left: 0;
  border-radius: 0;
  padding: 0.22rem 0.2rem 0.56rem 1.05rem;
  background: transparent;
  text-decoration: none;
  text-align: left;
  color: #0f172a;
  box-shadow: none;
  transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  min-height: 100%;
}

.about-nav-visual {
  display: block;
  width: var(--about-visual-height);
  height: var(--about-visual-height);
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  margin-bottom: var(--about-visual-gap);
}

.about-nav-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-nav-card strong {
  font-size: 1.02rem;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.about-nav-card small {
  font-size: 0.77rem;
  color: #5b677a;
  line-height: 1.55;
}

.about-nav-eyebrow {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: #6b7280;
  font-weight: 700;
}

.about-nav-card:hover {
  transform: translateX(2px) translateY(-1px);
  background: linear-gradient(90deg, rgba(255, 0, 84, 0.06) 0%, rgba(0, 102, 255, 0.05) 54%, rgba(0, 208, 132, 0.06) 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  color: #0b1220;
}

.about-nav-card:focus-visible {
  outline: 2px solid rgba(0, 102, 255, 0.32);
  outline-offset: 3px;
}

.about-nav-card-button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  appearance: none;
}

.llmo-window {
  position: relative;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 0.55rem;
  background: transparent;
  clip-path: none;
  box-shadow: none;
}

.llmo-window::before {
  content: none;
}

.llmo-window > * {
  position: static;
  z-index: auto;
}

.llmo-window-eyebrow {
  margin: 0 0 0.62rem;
  display: block;
  padding: 0;
  border-radius: 0;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #334155;
  background: transparent;
}

.llmo-window-summary {
  list-style: none;
  cursor: pointer;
  margin: 0;
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #0f172a;
}

.llmo-window-summary::-webkit-details-marker {
  display: none;
}

.llmo-window-summary::after {
  content: "+";
  margin-left: 0.5rem;
  color: #64748b;
}

.llmo-accordion[open] .llmo-window-summary::after {
  content: "−";
}

.llmo-window-content {
  margin-top: 0.72rem;
}

.llmo-accordion-list {
  display: grid;
  gap: 0.48rem;
}

.llmo-window h4 {
  margin: 0 0 0.74rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: #0f172a;
}

.llmo-window p {
  margin: 0 0 0.78rem;
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.64;
}

.llmo-window ul {
  list-style: none;
  margin: 0 0 0.78rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.llmo-window li {
  padding: 0.22rem 0 0.22rem 0.94rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.78rem;
  color: #334155;
  line-height: 1.62;
  position: relative;
}

.llmo-window li::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.95rem;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 999px;
  background: #0066ff;
}

.llmo-window li:nth-child(2)::before {
  background: #00d084;
}

.llmo-window li:nth-child(3)::before {
  background: #ff0054;
}

.llmo-window-note {
  margin: 0;
  padding-top: 0.1rem;
  border-top: 0;
  font-size: 0.8rem;
  color: #475569;
}

.member-modal[hidden] {
  display: none;
}

.member-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
}

.member-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.member-modal-window {
  position: relative;
  max-width: 740px;
  margin: 8vh auto 0;
  border: 1px solid #dbe5f6;
  border-radius: 16px;
  background: #ffffff;
  padding: 1.2rem;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.2);
}

.member-modal-close {
  position: absolute;
  top: 0.4rem;
  right: 0.55rem;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}

.member-modal-kicker {
  margin: 0 0 0.34rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #64748b;
}

.member-modal-window h3 {
  margin: 0 0 0.8rem;
  font-size: 1.25rem;
  color: #0f172a;
}

.member-modal-profile {
  border-radius: 12px;
  background: transparent;
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 0.95rem;
  align-items: start;
}

.member-modal-profile + .member-modal-profile {
  margin-top: 0.6rem;
}

.member-modal-profile.is-photo-right .member-modal-media {
  order: 2;
}

.member-modal-profile.is-photo-right .member-modal-body {
  order: 1;
}

.member-modal-profile.is-photo-right {
  grid-template-columns: 1fr minmax(180px, 240px);
}

.member-modal-media {
  width: 100%;
}

.member-modal-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
}

.member-modal-avatar {
  width: 88px;
  height: 88px;
  display: none;
  border-radius: 999px;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  background: #0066ff;
  box-shadow: 0 8px 18px rgba(0, 102, 255, 0.25);
}

.member-modal-role {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #64748b;
}

.member-modal-body h4 {
  margin: 0 0 0.58rem;
  font-size: 1.14rem;
  color: #0f172a;
}

.member-modal-body p {
  margin: 0 0 0.72rem;
  font-size: 0.88rem;
  line-height: 1.72;
  color: #334155;
}

.member-modal-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.member-modal-body li {
  border: 1px solid #e3eaf6;
  border-radius: 8px;
  padding: 0.45rem 0.58rem;
  background: transparent;
  font-size: 0.8rem;
  color: #334155;
}

.service-modal[hidden] {
  display: none;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 2125;
}

.service-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
}

.service-modal-window {
  position: relative;
  width: min(940px, 94vw);
  max-height: 86vh;
  overflow: auto;
  margin: 6vh auto 0;
  border: 1px solid #dbe5f6;
  border-radius: 16px;
  background:
    radial-gradient(140% 90% at 100% 0%, rgba(79, 172, 254, 0.08) 0%, rgba(79, 172, 254, 0) 55%),
    radial-gradient(120% 90% at 0% 100%, rgba(0, 208, 132, 0.08) 0%, rgba(0, 208, 132, 0) 55%),
    #ffffff;
  padding: 1.2rem 1.15rem 1.1rem;
  box-shadow: 0 32px 72px rgba(15, 23, 42, 0.28);
}

.service-modal-close {
  position: absolute;
  top: 0.64rem;
  right: 0.8rem;
  border: 0;
  background: transparent;
  font-size: 1.45rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}

.service-modal-kicker {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #64748b;
  font-weight: 700;
}

.service-modal-window h3 {
  margin: 0.24rem 0 0.56rem;
  font-size: 1.26rem;
  color: #0f172a;
}

.service-modal-summary {
  margin-top: 0.25rem;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.9rem 0 1rem;
}

.service-modal-summary h4 {
  margin: 0 0 0.32rem;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: #334155;
}

.service-modal-summary p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.75;
  color: #334155;
}

.service-inline-underline {
  font-size: 1em;
  font-weight: inherit;
  background-image: linear-gradient(90deg, #ff0054 0%, #0066ff 52%, #00d084 100%);
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 100%;
  padding-bottom: 0.12em;
}

.service-inline-focus {
  display: inline-block;
  font-size: 1.22em;
  font-weight: 800;
  line-height: 1.45;
  color: #223a63;
}

.service-inline-accent {
  font-size: 1em;
  line-height: inherit;
  font-weight: 600;
  color: #0b2e67;
  background: linear-gradient(90deg, rgba(255, 0, 84, 0.1) 0%, rgba(0, 102, 255, 0.1) 52%, rgba(0, 208, 132, 0.1) 100%);
  border-radius: 0.4em;
  padding: 0.02em 0.26em 0.05em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.service-modal-reasons {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.service-modal-reasons-title {
  grid-column: 1 / -1;
  margin: 0.2rem 0 0.1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0f172a;
}

.service-modal-reason {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.service-modal-reason-visual {
  border-radius: 10px;
  background: transparent;
  border: 0;
  padding: 0;
}

.service-modal-reason-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.service-modal-reason h4 {
  margin: 0.12rem 0 0.16rem;
  font-size: 0.95rem;
  color: #0f172a;
  letter-spacing: 0.03em;
  display: inline-block;
  position: relative;
  padding-left: 1.1rem;
  background-image: linear-gradient(90deg, #ff0054 0%, #0066ff 52%, #00d084 100%);
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 100%;
  padding-bottom: 0.16em;
}

.service-modal-reason h4::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.02rem;
  font-size: 0.78em;
  font-weight: 800;
  color: #0f7bff;
}

.service-modal-reason p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #334155;
}

.service-modal-reason-list {
  margin: 0.45rem 0 0.55rem 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
  font-size: 0.9rem;
  line-height: 1.62;
  color: #334155;
  list-style: none;
}

.service-modal-reason-list li {
  position: relative;
  border-left: 0;
  background: transparent;
  border-radius: 0.45rem;
  padding: 0.32rem 0.55rem 0.34rem 1.2rem;
}

.service-modal-reason-list li::before {
  content: "✓";
  position: absolute;
  left: 0.28rem;
  top: 0.35rem;
  font-weight: 800;
  color: #0f7bff;
}

.services {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f9fc 0%, #f2f6fb 100%);
}

.services-header {
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  position: relative;
  z-index: 2;
}

.services-ribbon-art {
  position: absolute;
  left: -280px;
  top: 246px;
  width: 900px;
  height: 520px;
  pointer-events: none;
  transform: rotate(-6deg);
  z-index: 1;
}

.services-ribbon-art svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.15));
}

.services-wave {
  opacity: 0.88;
}

.services-wave-a {
  fill: #ff0054;
}

.services-wave-b {
  fill: #0066ff;
}

.services-wave-c {
  fill: #00d084;
}

.services-wave-shine {
  fill: none;
  stroke: rgba(255, 255, 255, 0.34);
  stroke-width: 8;
  stroke-linecap: round;
}

.services-plan-note {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.service-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.2rem 1.1rem;
  text-align: left;
  background: #fff;
}

.service-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.service-visual {
  margin-bottom: 0.75rem;
  border-radius: 10px;
  padding: 0.25rem 0.15rem;
  background: linear-gradient(135deg, #f8fbff 0%, #f3f7fc 100%);
}

.service-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.service-desc {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.65;
}

.plan-grid {
  align-items: start;
}

.plan-card {
  --plan-accent: #0066ff;
  --plan-accent-2: #33c1ff;
  --plan-accent-soft: rgba(0, 102, 255, 0.18);
  --plan-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  position: relative;
  display: grid;
  gap: 0.7rem;
  min-height: 0;
  border: 1px solid rgba(193, 209, 236, 0.78);
  border-radius: 16px;
  padding: 1.3rem 1.1rem 1.1rem;
  background:
    linear-gradient(162deg, rgba(255, 255, 255, 0.985) 0%, rgba(252, 254, 255, 0.96) 56%, rgba(248, 252, 255, 0.94) 100%);
  box-shadow: var(--plan-shadow);
  overflow: hidden;
  backdrop-filter: blur(10px) saturate(132%);
  transition: transform 0.22s ease, box-shadow 0.26s ease, border-color 0.22s ease, background 0.22s ease;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--plan-accent);
}

.plan-card::after {
  content: none;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(159, 185, 226, 0.95);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.plan-starter {
  --plan-accent: #ff0054;
  --plan-accent-2: #ff5f97;
  --plan-accent-soft: rgba(255, 0, 84, 0.17);
}

.plan-growth {
  --plan-accent: #0066ff;
  --plan-accent-2: #33c1ff;
  --plan-accent-soft: rgba(0, 102, 255, 0.21);
  --plan-shadow: 0 22px 42px rgba(37, 99, 235, 0.2);
}

.plan-scale {
  --plan-accent: #00d084;
  --plan-accent-2: #7affc1;
  --plan-accent-soft: rgba(0, 208, 132, 0.18);
}

.plan-card.is-featured {
  transform: translateY(-8px);
  border-color: rgba(136, 176, 246, 0.95);
  background: #ffffff;
}

.plan-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.7rem;
  padding: 0.16rem 0.52rem;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 700;
  color: #1e40af;
  border: 1px solid rgba(147, 197, 253, 0.72);
  background: rgba(224, 238, 255, 0.74);
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.plan-tier {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #64748b;
}

.plan-card .service-name {
  margin-bottom: 0.05rem;
  font-size: 1.06rem;
}

.plan-price {
  margin: 0.05rem 0 0;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.plan-price-value {
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #0f172a;
  text-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.plan-price-unit {
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 600;
}

.plan-card .service-desc {
  margin: 0.05rem 0 0;
}

.plan-pillars {
  display: grid;
  gap: 0.42rem;
  margin-top: 0.2rem;
  border: 0;
  background: transparent;
}

.plan-pillar {
  display: block;
  padding: 0.2rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.plan-pillar-title {
  margin: 0 0 0.34rem;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #334155;
}

.plan-pillar-title::before {
  content: none;
}

.plan-pillar.is-external {
  background: transparent;
}

.plan-pillar.is-tech {
  background: transparent;
}

.plan-pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.22rem;
}

.plan-pillar-list li {
  position: relative;
  padding-left: 0.72rem;
  font-size: 0.75rem;
  color: #334155;
  line-height: 1.45;
}

.plan-pillar-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.18rem;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  color: #475569;
}

.recruit-modal[hidden] {
  display: none;
}

.recruit-modal {
  position: fixed;
  inset: 0;
  z-index: 2150;
}

.recruit-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}

.recruit-modal-window {
  position: relative;
  width: min(980px, 94vw);
  max-height: 86vh;
  overflow: auto;
  margin: 6vh auto 0;
  border: 1px solid #dbe5f6;
  border-radius: 16px;
  background: #ffffff;
  padding: 1.05rem 1rem 1rem;
  box-shadow: 0 32px 72px rgba(15, 23, 42, 0.3);
}

.recruit-modal-close {
  position: absolute;
  top: 0.72rem;
  right: 0.82rem;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  color: #64748b;
  cursor: pointer;
}

.recruit-modal-kicker {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #64748b;
  font-weight: 700;
}

.recruit-modal-window h3 {
  margin: 0.24rem 0 0.46rem;
  font-size: 1.26rem;
  color: #0f172a;
}

.recruit-modal-lead {
  margin: 0 0 0.82rem;
  font-size: 0.85rem;
  line-height: 1.64;
  color: #334155;
}

.recruit-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.52rem 0.9rem;
  margin-bottom: 0.88rem;
}

.recruit-modal-grid section {
  border-top: 1px solid #e2e8f0;
  padding-top: 0.44rem;
}

.recruit-modal-grid h4 {
  margin: 0 0 0.22rem;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: #64748b;
}

.recruit-modal-grid p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #1e293b;
}

.recruit-modal-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.64rem 1rem;
}

.recruit-modal-columns section {
  border-top: 1px solid #e2e8f0;
  padding-top: 0.5rem;
}

.recruit-modal-columns h4 {
  margin: 0 0 0.28rem;
  font-size: 0.82rem;
  color: #0f172a;
}

.recruit-modal-columns ul {
  margin: 0;
  padding: 0 0 0 1.02rem;
  display: grid;
  gap: 0.24rem;
}

.recruit-modal-columns li {
  font-size: 0.78rem;
  color: #334155;
  line-height: 1.5;
}

.recruit-modal-cta {
  margin-top: 0.9rem;
  border: 0;
  border-radius: 10px;
  min-height: 40px;
  padding: 0.55rem 1rem;
  background: #0066ff;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.plan-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.38rem;
}

.plan-feature-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.55;
}

.plan-feature-list li strong {
  color: #0f172a;
}

.plan-feature-list li::before {
  content: "";
  position: absolute;
  left: 0.02rem;
  top: 0.41rem;
  width: 0.54rem;
  height: 0.54rem;
  border-radius: 999px;
  background: var(--plan-accent);
  box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.15);
}

.plan-cta {
  margin-top: auto;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  min-height: 40px;
  padding: 0.54rem 0.82rem;
  background: linear-gradient(135deg, var(--plan-accent) 0%, var(--plan-accent-2) 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-shadow: 0 1px 1px rgba(15, 23, 42, 0.2);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.plan-goal {
  margin: 0.35rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(217, 227, 242, 0.88);
  font-size: 0.78rem;
  color: #334155;
  line-height: 1.55;
}

.plan-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22);
}

.plan-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.36), 0 12px 24px rgba(37, 99, 235, 0.22);
}

.roadmap {
  position: relative;
  z-index: 3;
  padding-top: 26px;
}

.roadmap-header {
  margin-bottom: 1.2rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.roadmap-header .section-subtitle {
  margin-bottom: 0;
}

.roadmap-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.72rem;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.roadmap-list::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0) 0%, rgba(148, 163, 184, 0.65) 12%, rgba(148, 163, 184, 0.65) 88%, rgba(148, 163, 184, 0) 100%);
  transform: translateX(-0.5px);
}

.roadmap-item {
  position: relative;
  width: calc(50% - 0.95rem);
  border: 1px solid #d9e6f8;
  border-radius: 14px;
  background: #ffffff;
  padding: 0.92rem 1rem;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.roadmap-item:nth-child(odd) {
  justify-self: start;
}

.roadmap-item:nth-child(even) {
  justify-self: end;
}

.roadmap-item::before {
  content: "";
  position: absolute;
  top: 1rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #60a5fa;
  box-shadow: 0 0 0 3px rgba(191, 219, 254, 0.55);
}

.roadmap-item:nth-child(odd)::before {
  right: -1.24rem;
}

.roadmap-item:nth-child(even)::before {
  left: -1.24rem;
}

.roadmap-step {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
}

.roadmap-item h3 {
  margin: 0;
  font-size: 1rem;
  color: #0f172a;
}

.roadmap-item ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.26rem;
}

.roadmap-item li {
  font-size: 0.81rem;
  color: #334155;
  line-height: 1.5;
}

.works-header {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 2rem;
}

.works-anon-note {
  margin: 0.3rem 0 0;
  font-size: 0.68rem;
  color: #94a3b8;
  line-height: 1.4;
}

.works {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.works::before {
  content: none;
}

.works-ribbon-art {
  position: absolute;
  right: -380px;
  top: -34px;
  width: 980px;
  height: 620px;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  transform: rotate(-2deg);
}

.works-ribbon-art svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.16));
}

.works-ribbon-shape {
  opacity: 1;
  stroke-linejoin: round;
}

.works-ribbon-shine {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(8px);
}

.works-slider {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.works-viewport {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
}

.works-track {
  display: flex;
  width: 100%;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.works-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.05rem;
  padding: 1.2rem;
}

.works-left {
  display: grid;
  gap: 0;
  align-content: start;
  align-self: stretch;
}

.works-photo {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 14px;
  border: 0;
  background: #eef5ff;
}

.works-voice-label {
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #64748b;
}

.works-voice {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.68;
  color: #334155;
}

.works-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.62rem;
}

.works-case-tag {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.2rem 0.52rem;
  border-radius: 0;
  border: 0;
  background: transparent;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #4b5d80;
}

.works-right h4 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.5;
  color: #0f172a;
}

.works-actions {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.works-actions li {
  position: relative;
  padding-left: 0.86rem;
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.5;
}

.works-actions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 999px;
  background: #60a5fa;
}

.works-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.58rem;
}

.works-metrics p {
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0.58rem 0.62rem;
  background: transparent;
  display: grid;
  gap: 0.18rem;
}

.works-metrics span {
  font-size: 0.73rem;
  color: #64748b;
}

.works-metrics strong {
  font-size: 1.04rem;
  color: #0f172a;
}

.works-note {
  margin: 0;
  padding-top: 0.58rem;
  border-top: 1px dashed #dbe6f6;
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.6;
}

.works-voice-wrap {
  margin-top: auto;
  padding-top: 0.6rem;
}

.works-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #d0def4;
  background: #ffffff;
  color: #1e3a8a;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.works-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.works-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.works-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.works-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #cdd9ee;
  cursor: pointer;
}

.works-dot.is-active {
  width: 22px;
  background: #0066ff;
}

.faq {
  padding: 84px 5%;
  background: #f7f9fc;
}

.faq-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.5fr);
  gap: 2.2rem;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 108px;
}

.faq-lead {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.2rem;
}

.faq-item {
  border: 1px solid #d7e0ef;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 0.15rem 1rem 0.85rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 600;
  color: #1f2937;
  padding: 0.85rem 0 0.7rem;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: #475569;
  font-size: 1.05rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  border: 1px solid #cdd8ea;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #475569;
  border-top: 1px solid #e7edf8;
  padding-top: 0.7rem;
}

.contact {
  background: var(--bg-light);
  padding: 72px 5% 40px;
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.site-footer {
  position: relative;
  margin-top: 0;
  padding: 56px 5% 24px;
  background: #f7f9fc;
  color: #475569;
  overflow: hidden;
}

.footer-top,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(180px, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111111;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.82rem;
  margin-bottom: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col span {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-top .footer-col:nth-child(2) {
  justify-self: end;
  width: max-content;
  align-items: flex-start;
  text-align: left;
}

.footer-col:last-child {
  justify-self: end;
  width: max-content;
  align-items: flex-start;
  text-align: left;
}

.footer-top .footer-col:nth-child(2) a,
.footer-top .footer-col:nth-child(2) .footer-link-button,
.footer-col:last-child a,
.footer-col:last-child .footer-link-button {
  text-align: left;
}

.footer-col a {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: inherit;
  cursor: pointer;
  font-family: inherit;
}

.footer-col a:hover {
  color: #334155;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-link-button:hover {
  color: #334155;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 14px;
  border-top: 1px solid #e5edf8;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  color: #64748b;
}

.site-footer .footer-bottom.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.82rem;
  width: 100%;
}

.footer-meta a {
  color: inherit;
  text-decoration: none;
}

.footer-meta a:hover {
  color: #111827;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.contact-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
}

.contact-modal-window {
  position: relative;
  max-width: 520px;
  margin: 8vh auto 0;
  background: #ffffff;
  border-radius: 14px;
  padding: 1.2rem 1.2rem 1.1rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.contact-modal-close {
  position: absolute;
  top: 0.4rem;
  right: 0.55rem;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}

.contact-modal h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.contact-modal p {
  color: #64748b;
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
}

.contact-mini-form {
  display: grid;
  gap: 0.7rem;
}

.contact-mini-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: #334155;
}

.contact-mini-form input,
.contact-mini-form textarea {
  width: 100%;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font: inherit;
}

.contact-mini-form input:focus,
.contact-mini-form textarea:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.18);
}

.contact-honey {
  display: none;
}

.contact-mini-submit {
  margin-top: 0.25rem;
  border: 0;
  border-radius: 9px;
  padding: 0.7rem 1rem;
  background: linear-gradient(90deg, #4facfe, #a855f7);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.contact-form-status {
  min-height: 1.1rem;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: #475569;
}

.contact-form-subnote {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
}

.contact-form-subnote a {
  color: #2563eb;
}

.reveal {
  opacity: 0;
  --reveal-x: 0px;
  --reveal-y: 24px;
  --reveal-r: 0deg;
  --reveal-s: 0.985;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) rotate(var(--reveal-r)) scale(var(--reveal-s));
  filter: blur(10px) saturate(0.8);
  transition: opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity, filter;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  filter: blur(0) saturate(1);
}

.reveal-from-up {
  --reveal-y: 24px;
  --reveal-s: 0.985;
}

.reveal-from-left {
  --reveal-x: -28px;
  --reveal-y: 18px;
  --reveal-r: -1.2deg;
  --reveal-s: 0.98;
}

.reveal-from-right {
  --reveal-x: 28px;
  --reveal-y: 18px;
  --reveal-r: 1.2deg;
  --reveal-s: 0.98;
}

@media (max-width: 1024px) {
  .about {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-content {
    max-width: 100%;
  }

  .about-side-actions {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .services-ribbon-art {
    left: -380px;
    top: 258px;
    transform: rotate(-8deg) scale(0.74);
  }

  .services-plan-note {
    max-width: 100%;
  }

  .plan-card.is-featured {
    transform: none;
  }

  .member-modal-window {
    max-width: 680px;
    margin-top: 7vh;
  }

  .service-modal-window {
    width: min(900px, 94vw);
    margin-top: 6vh;
  }

  .service-modal-reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recruit-modal-window {
    width: min(900px, 94vw);
    margin-top: 6vh;
  }

  .member-modal-profile {
    grid-template-columns: minmax(150px, 200px) 1fr;
  }

  .member-modal-profile.is-photo-right {
    grid-template-columns: 1fr minmax(150px, 200px);
  }

  .member-modal-media {
    width: 100%;
  }

  .member-modal-photo,
  .member-modal-avatar {
    width: 100%;
    height: auto;
    max-height: 220px;
    font-size: 1.6rem;
  }

  .recruit-modal-grid,
  .recruit-modal-columns {
    grid-template-columns: 1fr;
  }

  .works-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-ribbon-art {
    right: -420px;
    top: 2px;
    width: 920px;
    height: 580px;
    opacity: 1;
  }

  .faq-inner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .faq-intro {
    position: static;
  }

  .roadmap-list {
    gap: 0.7rem;
  }

  .roadmap-list::before {
    left: 0.38rem;
    transform: none;
  }

  .roadmap-item:nth-child(odd),
  .roadmap-item:nth-child(even) {
    width: 100%;
    justify-self: stretch;
  }

  .roadmap-item:nth-child(odd)::before,
  .roadmap-item:nth-child(even)::before {
    left: 0.09rem;
    right: auto;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 1.8rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 560px;
  }

  .footer-bottom {
    margin-top: 42px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    margin-bottom: 0.8rem;
  }

  .hero-diagnosis-form {
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 0;
  }

  .hero-diagnosis-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .hero-diagnosis-submit {
    width: 100%;
  }

  .member-modal-window {
    width: min(94vw, 620px);
    margin-top: 6vh;
    padding: 1rem 0.9rem;
  }

  .service-modal-window {
    width: min(94vw, 680px);
    margin-top: 6vh;
    padding: 1rem 0.88rem;
  }

  .service-modal-reasons {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .service-modal-summary p,
  .service-modal-reason p {
    font-size: 0.88rem;
    line-height: 1.68;
  }

  .member-modal-profile {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .member-modal-profile.is-photo-right .member-modal-media,
  .member-modal-profile.is-photo-right .member-modal-body {
    order: initial;
  }

  .member-modal-media {
    width: min(220px, 65vw);
  }

  .member-modal-photo,
  .member-modal-avatar {
    width: 100%;
    height: auto;
    max-height: none;
    font-size: 1.4rem;
  }

  .works-slider {
    grid-template-columns: 1fr;
    gap: 0.62rem;
  }

  .works-ribbon-art {
    right: -350px;
    top: 18px;
    width: 760px;
    height: 480px;
    opacity: 1;
  }

  .works-viewport {
    border-radius: 14px;
  }

  .works-slide {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1rem 0.9rem;
  }

  .works-photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .works-right h4 {
    font-size: 1.02rem;
  }

  .works-metrics {
    grid-template-columns: 1fr;
    gap: 0.52rem;
  }

  .works-nav {
    width: 100%;
    height: 40px;
    border-radius: 10px;
  }

  .works-nav-prev {
    order: 2;
  }

  .works-nav-next {
    order: 3;
  }

  .works-dots {
    order: 4;
    margin-top: 0.2rem;
  }

  .plan-card {
    border-radius: 14px;
    padding: 1.15rem 0.95rem 0.95rem;
  }

  .plan-price-value {
    font-size: 1.65rem;
  }

  .plan-pillar {
    padding: 0.5rem 0.58rem 0.54rem;
  }

  .plan-pillar-list li {
    font-size: 0.76rem;
  }

  .plan-cta {
    width: 100%;
  }

  .diagnosis-modal-window {
    width: min(95vw, 620px);
    margin: 3.8vh auto 0;
    padding: 0.9rem;
  }

  .diagnosis-citation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagnosis-meta-grid {
    grid-template-columns: 1fr;
  }

  .diagnosis-lead-row {
    grid-template-columns: 1fr;
  }

  .diagnosis-lead-row button {
    width: 100%;
  }

  .diagnosis-log {
    max-height: 126px;
  }

  header {
    align-items: center;
  }

  .nav-toggle {
    display: inline-block;
  }

  nav {
    display: none;
    width: 100%;
    margin-top: 0.7rem;
    padding: 0.65rem;
    border: 1px solid #dbe4f2;
    border-radius: 10px;
    background: rgba(247, 249, 252, 0.95);
    backdrop-filter: blur(6px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

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

  nav a {
    font-size: 0.92rem;
    width: 100%;
  }

  .wave-container {
    width: 100%;
    right: -30%;
  }

  .about-side-actions {
    grid-template-columns: 1fr;
  }

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

  .services-ribbon-art {
    left: -440px;
    top: 302px;
    transform: rotate(-9deg) scale(0.58);
    opacity: 0.66;
  }

  .faq {
    padding: 72px 5%;
  }

  .site-footer {
    padding-top: 56px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-col:last-child {
    justify-self: auto;
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .footer-top .footer-col:nth-child(2) {
    justify-self: auto;
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .footer-top .footer-col:nth-child(2) a,
  .footer-top .footer-col:nth-child(2) .footer-link-button,
  .footer-col:last-child a,
  .footer-col:last-child .footer-link-button {
    text-align: left;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 0.55rem;
  }

  .footer-col a {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .footer-col span {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .footer-meta {
    gap: 0.7rem 1rem;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
