/* ============================================================
   ADwith Official Site — Style
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #fafafa;
  --color-dark: #0a0a0a;
  --color-text: #1a1a1a;
  --color-text-muted: #555555;
  --color-border: #e5e5e5;
  --color-accent: #1a3c6e;
  --color-accent-light: #2b6cb3;
  --color-cta: #d46b7a;
  --color-cta-hover: #c05a69;
  --color-surface: #ffffff;
  --color-surface-alt: #f5f5f5;
  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Inter", sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul { list-style: none; }

img { max-width: 100%; height: auto; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Paragraph spacing ---------- */
.section p + p,
.endorsement__body p + p,
.endorsement__preview p + p,
.endorsement__full p + p,
.endorse-card__preview p + p,
.endorse-card__full p + p,
.faq__answer p + p {
  margin-top: 1.8em;
}

/* ---------- Animation ---------- */
.animate-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Progress bar ---------- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-cta));
  z-index: 1001;
  transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border);
}

.header__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo-img {
  height: 56px;
  width: auto;
  transition: filter 0.3s;
}

.header__logo-text {
  display: none;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__nav-list {
  display: flex;
  gap: 32px;
}

.header__nav-list a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.3s;
  letter-spacing: 0.02em;
}

.header__nav-list a:hover {
  color: var(--color-text);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--color-dark);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid var(--color-dark);
  transition: all 0.3s;
}

.header__cta:hover {
  background: #333;
  transform: translateY(-1px);
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Header Dropdown ---------- */
.header__nav-item--dropdown {
  position: relative;
}

.header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  transform: translateX(-50%) translateY(8px);
  z-index: 100;
}

.header__nav-item--dropdown:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.header__dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background 0.2s;
  white-space: nowrap;
}

.header__dropdown a:hover {
  background: var(--color-surface-alt);
  color: var(--color-accent-light);
}

.header__nav-item--dropdown > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: 1px;
  transition: transform 0.25s;
}

.header__nav-item--dropdown:hover > a::after {
  transform: rotate(-135deg);
}

/* ---------- Hero (growin style) ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
}

.hero__wrapper {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

/* Background video */
.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero__bg-video--active {
  opacity: 1;
}

.hero__bg-video--sp {
  display: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

/* Text layer */
.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  min-height: 4.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__title-main {
  display: inline;
}

.hero__cursor {
  display: inline;
  font-weight: 200;
  animation: cursorBlink 0.8s step-end infinite;
  font-size: 0.9em;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Horizontal line */
.hero__line {
  width: 0;
  height: 1px;
  background: var(--color-dark);
  margin: 32px auto;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1), background 0.6s;
}

.hero__line.is-visible {
  width: min(90vw, 1200px);
}



/* Sub copy */
.hero__sub {
  font-size: clamp(0.875rem, 1.3vw, 1.0625rem);
  color: var(--color-text-muted);
  line-height: 2;
  max-width: 600px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease, color 0.6s;
}

.hero__sub.is-visible {
  opacity: 1;
  transform: translateY(0);
}



/* Bottom bar */
.hero__bottom {
  position: absolute;
  bottom: 48px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 48px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero__bottom.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__numbers {
  display: flex;
  gap: 40px;
}

.hero__number-value {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  line-height: 1.2;
  transition: color 0.6s;
}



.hero__number-value small {
  font-size: 0.45em;
  font-weight: 500;
}

.hero__number-label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  transition: color 0.6s;
}



.hero__cta-row {
  display: flex;
  gap: 12px;
}

.btn--outline {
  background: transparent;
  color: var(--color-dark);
  border: 1.5px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-dark);
  background: var(--color-dark);
  color: #fff;
  transform: translateY(-2px);
}


/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 4;
  z-index: 2;
}

.hero__scroll span {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-dark);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
}

.btn--primary:hover {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn--large {
  padding: 18px 48px;
  font-size: 1.0625rem;
}

/* ---------- Watermark ---------- */
.watermark {
  position: absolute;
  bottom: -5%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 20vw;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.025);
  line-height: 1;
  letter-spacing: 0.02em;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.watermark--light {
  color: rgba(255, 255, 255, 0.035);
}

/* Per-section watermark positioning */
.about .watermark {
  bottom: auto;
  top: 10%;
  left: auto;
  right: -5%;
  transform: none;
}

.services .watermark {
  bottom: -8%;
  left: -5%;
  transform: none;
}

.endorsement .watermark {
  top: 15%;
  bottom: auto;
  left: auto;
  right: -8%;
  transform: none;
}

.flow .watermark {
  bottom: 5%;
  left: auto;
  right: -5%;
  transform: none;
}

.faq .watermark {
  bottom: -10%;
  left: -3%;
  transform: none;
  font-size: 25vw;
}

.section {
  position: relative;
  overflow: hidden;
}

.section > .container {
  position: relative;
  z-index: 1;
}

/* ---------- Section Common ---------- */
.section {
  padding: 120px 0;
}

.section__label {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
}

/* ---------- Section decorations ---------- */
.about::before,
.services::before,
.flow::before,
.faq::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-accent-light);
  margin: 0 auto 0 0;
  position: relative;
  top: -60px;
  left: 40px;
}

.services::before {
  left: auto;
  right: 40px;
  margin: 0 0 0 auto;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__text p {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 24px;
}

.about__text p:last-child { margin-bottom: 0; }

.about__flow {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.about__flow-step {
  flex: 1;
  padding: 36px 28px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about__flow-step:hover {
  transform: translateY(-4px);
}

.about__flow-step--1 {
  background: linear-gradient(135deg, #f0f4ff, #e8edf7);
  border: 1px solid #d0daf0;
}

.about__flow-step--1:hover {
  box-shadow: 0 12px 32px rgba(43, 108, 179, 0.1);
}

.about__flow-step--2 {
  background: linear-gradient(135deg, #fff0f2, #fce8eb);
  border: 1px solid #f0d0d5;
}

.about__flow-step--2:hover {
  box-shadow: 0 12px 32px rgba(212, 107, 122, 0.1);
}

.about__flow-icon {
  color: var(--color-accent-light);
  margin-bottom: 16px;
}

.about__flow-step--2 .about__flow-icon {
  color: var(--color-cta);
}

.about__flow-title {
  font-size: 1.375rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.about__flow-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.about__flow-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.about__flow-points li {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
}

.about__flow-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-light);
}

.about__flow-step--2 .about__flow-points li::before {
  background: var(--color-cta);
}

.about__flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 4px;
}

.about__flow-connector-text {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-bg);
}

@media (max-width: 1024px) {
  .hero__bottom {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
  }

  .hero__numbers {
    gap: 24px;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero__bg-video--pc {
    display: none !important;
  }

  .hero__bg-video--sp {
    display: block;
    object-fit: cover;
    object-position: center 30%;
  }

  .hero__overlay {
    background: rgba(255, 255, 255, 0.65);
  }

  .hero {
    height: 75vh;
  }

  .hero__wrapper {
    height: 75vh;
  }

  .hero__content {
    padding-left: 24px;
    padding-right: 24px;
    margin-bottom: 100px;
  }

  .hero__title {
    min-height: auto;
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .hero__sub {
    font-size: 0.8125rem;
  }

  .hero__sub br {
    display: none;
  }

  .hero__bottom {
    bottom: auto;
    top: 60%;
    gap: 16px;
  }

  .hero__numbers {
    flex-direction: row;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  .hero__number-value {
    font-size: 1.5rem;
  }

  .hero__number-label {
    font-size: 0.625rem;
  }

  .hero__cta-row {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta-row .btn {
    width: 100%;
  }

  .about__flow {
    flex-direction: column;
    gap: 24px;
  }

  .about__flow-title {
    font-size: 1.5rem;
  }

  .about__flow-desc {
    font-size: 1rem;
  }

  .about__flow-points li {
    font-size: 1rem;
  }
}

/* ---------- Problem ---------- */
.problem {
  background: var(--color-dark);
  color: #fff;
}

.problem .section__label {
  color: rgba(255, 255, 255, 0.5);
}

.problem .section__title {
  color: #fff;
}

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

.problem__card {
  padding: 40px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s,
              border-color 0.3s,
              box-shadow 0.3s;
}

.problem__card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(212, 107, 122, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.problem__icon {
  color: var(--color-cta);
  margin-bottom: 20px;
}

.problem__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
}

.problem__text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
}

/* ---------- Services ---------- */
.services {
  background: var(--color-surface);
}

.service-block {
  margin-bottom: 80px;
  padding: 60px;
  background: var(--color-surface-alt);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.service-block:hover {
  border-color: var(--color-accent-light);
  box-shadow: 0 8px 32px rgba(26, 60, 110, 0.06);
}

.service-block:last-child { margin-bottom: 0; }

.service-block__badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 4px;
  margin-bottom: 32px;
}

.service-block__badge--dark {
  background: var(--color-dark);
}

.service-block__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.service-block--reverse .service-block__inner {
  grid-template-columns: 0.8fr 1.2fr;
  direction: rtl;
}

.service-block--reverse .service-block__inner > * {
  direction: ltr;
}

.service-block__title {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.service-block__lead {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-block__desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 2;
  margin-bottom: 24px;
}

.service-block__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-block__list li {
  font-size: 1rem;
  padding-left: 20px;
  position: relative;
  color: var(--color-text);
}

.service-block__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-light);
}

/* Service funnel diagram */
.service-funnel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 0;
}

.service-funnel__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-radius: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  min-width: 90px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-funnel__step:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.service-funnel__step--highlight {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.service-funnel__step--highlight2 {
  background: var(--color-cta);
  color: #fff;
  border-color: var(--color-cta);
}

.service-funnel__icon {
  color: var(--color-accent-light);
}

.service-funnel__icon--dark {
  color: var(--color-text-muted);
}

.service-funnel__step--highlight .service-funnel__icon,
.service-funnel__step--highlight2 .service-funnel__icon {
  color: #fff;
}

.service-funnel__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.service-funnel__arrow {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

/* Service illustration */
.service-illust {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.service-illust__svg {
  width: 100%;
  height: auto;
}

/* ---------- Results ---------- */
.results {
  background: var(--color-surface-alt);
  position: relative;
}

.results::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--color-border));
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.results__item {
  text-align: center;
}

.results__item-inner {
  padding: 40px 20px 32px;
  background: var(--color-surface);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.results__item-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.results__bar {
  width: 60%;
  height: 3px;
  background: var(--color-border);
  border-radius: 2px;
  margin: 16px auto 0;
  position: relative;
  overflow: hidden;
}

.results__bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-cta));
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.results__item.is-visible .results__bar::after {
  width: var(--bar-width, 50%);
}

.results__number {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.results__number span {
  font-family: var(--font-ja);
  font-size: 0.4em;
  font-weight: 500;
}

.results__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.results__cases-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-dark);
  display: inline-block;
}

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

.results__case {
  padding: 36px;
  background: var(--color-surface);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.results__case::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-cta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.results__case:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--color-accent-light);
}

.results__case:hover::before {
  transform: scaleX(1);
}

.results__case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.results__case-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 3px;
}

.results__case-period {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.results__case h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.results__case-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.results__case-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.results__case:hover .results__case-image img {
  transform: scale(1.03);
}

.results__case p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ---------- Endorsement ---------- */
.endorsement {
  background: var(--color-surface);
}

.endorsement__card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 60px;
  position: relative;
}

.endorsement__card::before {
  content: '\201C';
  position: absolute;
  top: 24px;
  left: 40px;
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.12;
}

.endorsement__quote {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.endorsement__quote-photo {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.endorsement__headline {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.6;
  color: var(--color-dark);
  margin-bottom: 0;
}

.endorsement__body p {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.endorsement__body p:last-child {
  margin-bottom: 0;
}

.endorsement__preview {
  position: relative;
}

.endorsement__full {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.endorsement__body.is-expanded .endorsement__full {
  max-height: 600px;
}

.endorsement__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 8px 0;
  background: none;
  border: none;
  font-family: var(--font-ja);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-light);
  cursor: pointer;
  transition: color 0.3s;
}

.endorsement__toggle:hover {
  color: var(--color-accent);
}

.endorsement__toggle-icon {
  display: flex;
  transition: transform 0.3s;
}

.endorsement__body.is-expanded .endorsement__toggle-icon {
  transform: rotate(180deg);
}

.endorsement__body.is-expanded .endorsement__toggle-text::after {
  content: '';
}

.endorsement__author {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.endorsement__author-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
}

.endorsement__author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.endorsement__author-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
}

.endorsement__author-role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.endorsement__author-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  padding: 16px 20px;
  background: var(--color-surface);
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .endorsement__card {
    padding: 32px 24px;
  }

  .endorsement__headline {
    font-size: 1.25rem;
  }

  .endorsement__card::before {
    left: 16px;
    font-size: 4rem;
  }
}

/* ---------- Endorse Card (shared) ---------- */
.endorse-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}

.endorse-card__header {
  position: relative;
  padding: 48px 0 48px 48px;
  overflow: hidden;
}

.endorse-card__header-text {
  position: relative;
  z-index: 1;
  max-width: 58%;
}

.endorse-card__headline {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 900;
  line-height: 1.7;
  margin-bottom: 32px;
}

.endorse-card__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.endorse-card__name {
  font-size: 1.125rem;
  font-weight: 900;
}

.endorse-card__company {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
}

.endorse-card__role {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
}

.endorse-card__header-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 38%;
  overflow: hidden;
}

.endorse-card__header-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 30%);
  pointer-events: none;
}

.endorse-card__header-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.endorse-card__body {
  padding: 40px 48px;
  position: relative;
}

.endorse-card__preview p,
.endorse-card__full p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 2.2;
  margin-bottom: 20px;
}

.endorse-card__full {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.endorse-card__body.is-expanded .endorse-card__full {
  max-height: 2000px;
}

.endorse-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-family: var(--font-ja);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent-light);
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 4px;
}

.endorse-card__toggle:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.endorse-card__body.is-expanded .endorse-card__toggle .endorse-card__toggle-icon {
  transform: rotate(180deg);
}

.endorse-card__toggle-icon {
  transition: transform 0.3s;
}

.endorse-card__profile {
  padding: 32px 48px;
  background: #3a3a3a;
  color: #fff;
}

.endorse-card__profile-label {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.endorse-card__profile-text {
  font-size: 0.8125rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
}

@media (max-width: 768px) {
  .endorse-card__header {
    padding: 0;
  }

  .endorse-card__header-text {
    max-width: 100%;
    padding: 32px 24px 28px;
  }

  .endorse-card__header-photo {
    position: relative;
    width: 100%;
    height: 240px;
  }

  .endorse-card__header-photo::after {
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 35%);
  }

  .endorse-card__body {
    padding: 28px 24px;
  }

  .endorse-card__profile {
    padding: 24px;
  }
}

/* ---------- Flow ---------- */
.flow__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}

.flow__steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--color-border);
}

.flow__step {
  text-align: center;
  position: relative;
}

.flow__step-icon {
  color: var(--color-accent);
  margin: 0 auto 16px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4ff;
  border-radius: 20px;
  transition: transform 0.3s, background 0.3s;
}

.flow__step:hover .flow__step-icon {
  transform: scale(1.05);
  background: #e0eaff;
}

.flow__step-number {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  width: 72px;
  height: 72px;
  line-height: 72px;
  border-radius: 50%;
  background: var(--color-accent);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(26, 60, 110, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.flow__step:hover .flow__step-number {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(26, 60, 110, 0.3);
}

.flow__step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow__step-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---------- Message ---------- */
.message {
  background: var(--color-dark);
  color: #fff;
}

.message .section__label {
  color: rgba(255, 255, 255, 0.5);
}

.message .section__title {
  color: #fff;
}

.message__content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  max-width: 900px;
}

.message__photo {
  flex-shrink: 0;
}

.message__photo img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .message__content {
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 32px;
  }

  .message__text br {
    display: none;
  }

  .message__photo img {
    width: 140px;
    height: 140px;
  }
}

.message__text p {
  font-size: 1.0625rem;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.message__signature {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.message__signature-role {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.message__signature-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  font-family: var(--font-ja);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color 0.3s;
}

.faq__question:hover {
  color: var(--color-accent-light);
}

.faq__icon {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.4s;
}

.faq__item.is-open .faq__answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq__answer p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 2;
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, #1a2a4a, #0a0a0a);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(212, 107, 122, 0.08) 0%, transparent 60%);
  animation: ctaPulse 6s ease-in-out infinite alternate;
}

@keyframes ctaPulse {
  0% { transform: translate(0, 0); }
  100% { transform: translate(5%, -5%); }
}

.cta__inner {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.cta__text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
  margin-bottom: 40px;
}

.cta__actions {
  margin-bottom: 16px;
}

.cta__note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer__logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
  margin-bottom: 16px;
}

.footer__tagline {
  font-size: 0.8125rem;
  line-height: 1.8;
}

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

.footer__col h4 {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s;
}

.footer__col a:hover {
  color: #fff;
}

/* Footer service dropdown */
.footer__service-group > span {
  font-size: 0.875rem;
  cursor: default;
}

.footer__service-sub {
  list-style: none;
  padding: 0;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__service-sub a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  padding-left: 12px;
  position: relative;
}

.footer__service-sub a::before {
  content: '─';
  position: absolute;
  left: 0;
  font-size: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.3);
}

.footer__service-sub a:hover {
  color: #fff;
}

.footer__col li {
  font-size: 0.875rem;
}

.footer__bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, background 0.3s;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }

  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .problem__grid { grid-template-columns: repeat(2, 1fr); }
  .results__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .results__cases-grid { grid-template-columns: repeat(2, 1fr); }
  .flow__steps { grid-template-columns: 1fr; gap: 32px; }
  .flow__steps::before { display: none; }
  .flow__step { text-align: left; display: flex; align-items: center; gap: 20px; }
  .flow__step-number { margin: 0; flex-shrink: 0; }

  .service-block { padding: 40px; }
  .service-block__inner { grid-template-columns: 1fr; gap: 40px; }
  .service-block--reverse .service-block__inner { direction: ltr; }

  .footer__inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .header__nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--color-surface);
    flex-direction: column;
    padding: 40px;
    gap: 32px;
  }

  .header__nav.is-open { display: flex; }

  .header__nav-list {
    flex-direction: column;
    gap: 24px;
  }

  .header__nav-list a {
    font-size: 1.125rem;
    color: var(--color-text);
  }

  .header__hamburger { display: flex; }

  .header__dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    background: var(--color-surface-alt);
    border-radius: 6px;
    padding: 4px 0;
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
  }

  .header__dropdown a {
    padding: 10px 20px;
    font-size: 0.9375rem;
  }

  .header__hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .header__hamburger.is-active span:nth-child(2) { opacity: 0; }
  .header__hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__content { padding-left: 24px; padding-right: 24px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .problem__grid { grid-template-columns: 1fr; }
  .results__grid { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: 1fr; gap: 32px; }

  .section__title { margin-bottom: 40px; }
  .section__title br { display: none; }

  .service-block {
    padding: 20px;
    overflow: hidden;
  }

  .service-block__inner {
    grid-template-columns: 1fr !important;
    gap: 24px;
    direction: ltr !important;
  }

  .service-block__lead br,
  .service-block__desc br {
    display: none;
  }

  .service-block__visual {
    overflow: hidden;
    max-width: 100%;
  }

  .service-illust {
    padding: 8px;
    overflow: hidden;
  }

  .service-illust__svg {
    width: 100%;
    height: auto;
  }

  .service-funnel {
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .service-funnel__step {
    min-width: 56px;
  }

  .service-funnel__label {
    font-size: 0.6875rem;
  }

  .service-funnel__arrow {
    font-size: 0.875rem;
  }

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

  .endorse-card__headline br {
    display: none;
  }

  .endorse-card__header-text {
    max-width: 100%;
  }

  .flow__steps {
    gap: 24px;
  }

  .flow__step {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 16px;
    text-align: left;
    align-items: start;
  }

  .flow__step-icon {
    display: none;
  }

  .flow__step-number {
    grid-row: 1 / 3;
    grid-column: 1;
    width: 48px;
    height: 48px;
    line-height: 48px;
    font-size: 0.9375rem;
    margin: 0;
    align-self: center;
    text-align: center;
  }

  .flow__step-title {
    grid-row: 1;
    grid-column: 2;
    font-size: 1rem;
    margin-bottom: 0;
  }

  .flow__step-desc {
    grid-row: 2;
    grid-column: 2;
    font-size: 0.8125rem;
  }

  .results__case h4 {
    font-size: 1rem;
  }
}
