/* AIマッチング LP 固有スタイル */

.matching-lp {
  --matching-blue: #0b7a8f;
  --matching-blue-deep: #063f5f;
  --matching-blue-soft: #edf9fb;
  --matching-cyan: #62d7e8;
  --matching-line: rgba(164, 205, 216, 0.72);
  --matching-cta-width: 340px;
  --matching-cta-material-image-width: 88px;
  --matching-cta-material-image-offset: -28px;
  min-height: calc(100svh - 78px);
  padding-top: 0;
  color: var(--ink);
  background: var(--white);
}

.matching-hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #063f5f 0%, #0b7a8f 100%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 30%);
}

.matching-hero::before,
.matching-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.matching-hero::before {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -120px;
  background: rgba(255, 255, 255, 0.09);
}

.matching-hero::after {
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -180px;
  background: rgba(98, 215, 232, 0.2);
}

.matching-hero-container {
  width: min(calc(100% - 28px), 1320px);
  margin: 0 auto;
}

.matching-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(460px, 1fr);
  gap: 34px;
  align-items: center;
}

.matching-hero-copy {
  display: grid;
}

.matching-hero-mobile {
  display: none;
}

.matching-hero-visual-mobile {
  position: relative;
  display: block;
  width: 100%;
}

.matching-kicker,
.matching-section-head p,
.matching-final-inner > p {
  margin: 0;
  color: var(--matching-blue);
  font-size: 13px;
  font-weight: 840;
  line-height: 1.5;
}

.matching-hero h1,
.matching-hero .matching-hero-heading {
  margin: 0;
  color: #ffffff;
  font-size: clamp(calc(1.62rem + 2.667px), calc(3.24vw + 2.667px), calc(2.754rem + 2.667px));
  font-weight: 840;
  line-height: 1.34;
  letter-spacing: -0.03em;
}

.matching-section h2,
.matching-final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.62rem, 3.24vw, 2.754rem);
  font-weight: 840;
  line-height: 1.34;
  letter-spacing: -0.03em;
}

.matching-hero-lead,
.matching-problem-copy p,
.matching-feature-list p,
.matching-issue-grid p,
.matching-final-inner > span {
  margin: 0;
  color: #596273;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
}

.matching-hero-lead {
  display: inline-flex;
  margin-top: 28px;
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.matching-hero-cta {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  margin-top: 28px;
  justify-content: flex-start;
}

.matching-hero-cta > .matching-job-cta-card {
  flex: 1 1 0;
  min-width: 0;
}

.matching-job-cta-card {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: auto;
  min-height: 72px;
  padding: 12px 22px;
  border-radius: 999px;
  text-align: center;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.matching-job-cta-card-kicker {
  font-size: 0.74rem;
  font-weight: 700;
}

.matching-job-cta-card strong {
  font-size: 1.2rem;
  line-height: 1.2;
}

.matching-job-cta-card-download {
  position: relative;
  justify-content: center;
  align-items: center;
  padding-left: 46px;
  padding-right: 22px;
  overflow: visible;
}

.matching-job-cta-card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 2px;
}

.matching-job-cta-card-image {
  position: absolute;
  left: var(--matching-cta-material-image-offset);
  top: 50%;
  width: var(--matching-cta-material-image-width);
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
  filter: drop-shadow(0 12px 24px rgba(6, 63, 95, 0.18));
}

.matching-job-cta-card-primary {
  color: #15203a;
  background: linear-gradient(135deg, #e9ff63 0%, #e0fb58 100%);
}

.matching-job-cta-card-secondary {
  color: #23324d;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 40, 0.08);
}

.matching-job-cta-card:hover {
  transform: translateY(-1px);
}

.matching-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  place-items: center;
  min-height: 560px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 35%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(5, 18, 43, 0.35);
  overflow: visible;
}

.matching-hero-product-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  filter: drop-shadow(0 26px 44px rgba(0, 14, 40, 0.2));
}

.matching-client-strip {
  display: grid;
  gap: 16px;
  padding: 24px 0 28px;
  background: #ffffff;
  border-bottom: 1px solid var(--matching-line);
  overflow: hidden;
}

.matching-client-strip > p {
  margin: 0;
  color: var(--matching-blue-deep);
  font-size: 14px;
  font-weight: 840;
  line-height: 1.5;
  text-align: center;
}

.matching-client-strip-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.matching-client-strip-viewport::before,
.matching-client-strip-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(12vw, 140px);
  pointer-events: none;
}

.matching-client-strip-viewport::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0));
}

.matching-client-strip-viewport::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff, rgba(255, 255, 255, 0));
}

.matching-client-strip-track {
  display: flex;
  gap: 0;
  align-items: center;
  width: max-content;
  padding: 0 24px;
  animation: matching-logo-marquee 36s linear infinite;
  will-change: transform;
}

.matching-client-strip-track div {
  display: grid;
  place-items: center;
  flex: 0 0 220px;
  min-height: 72px;
  padding: 10px 18px;
}

.matching-client-strip-track img {
  display: block;
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
}

@keyframes matching-logo-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50%));
  }
}

.matching-section {
  padding: clamp(84px, 9vw, 136px) 24px;
  background: var(--white);
}

.matching-container {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.matching-section-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(34px, 4.6vw, 62px);
}

.matching-section-head.centered {
  justify-items: center;
  text-align: center;
}

.matching-section h2,
.matching-final-cta h2 {
  font-size: clamp(24px, 3.25vw, 42px);
}

.matching-narrative,
.matching-problem-copy {
  display: grid;
  justify-items: center;
  gap: 28px;
  width: min(100%, 900px);
  margin: 0 auto;
  text-align: center;
}

.matching-narrative strong,
.matching-problem-copy strong {
  display: block;
  width: min(100%, 760px);
  padding: 28px 32px;
  color: var(--matching-blue-deep);
  background: var(--matching-blue-soft);
  border: 1px solid var(--matching-line);
  border-radius: 14px;
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.65;
}

.matching-before-after,
.matching-usecase {
  background: var(--white);
}

.matching-issue,
.matching-value,
.matching-price,
.matching-faq {
  background: linear-gradient(180deg, #ffffff 0%, var(--matching-green-soft) 100%);
}

.matching-philosophy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(98, 215, 232, 0.18), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(125, 187, 255, 0.2), transparent 34%),
    linear-gradient(135deg, #063f5f 0%, #0b7a8f 45%, #1769f0 100%);
}

.matching-philosophy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 36%),
    linear-gradient(300deg, rgba(255, 255, 255, 0.08), transparent 42%);
  pointer-events: none;
}

.matching-statement {
  position: relative;
  z-index: 1;
  width: min(100%, 1320px);
}

.matching-philosophy-panel {
  display: grid;
  grid-template-columns: minmax(320px, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
  min-height: 540px;
}

.matching-philosophy-lead h2 {
  margin: 20px 0 0;
  width: min(100%, 16.8em);
  max-width: 16.8em;
  color: #ffffff;
  font-size: clamp(24px, 3.1vw, 40px);
  font-weight: 840;
  line-height: calc(1.18em + 2mm);
  text-wrap: balance;
}

.matching-philosophy-lead .philosophy-line {
  white-space: nowrap;
}

.matching-statement-body {
  display: grid;
  gap: 28px;
  max-width: 540px;
  justify-self: end;
  padding-left: clamp(18px, 2.6vw, 34px);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.matching-statement-body p,
.matching-function-note,
.matching-note,
.matching-definition p,
.matching-faq-list p,
.matching-price-lead {
  margin: 0;
  color: #596273;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
}

.matching-statement-body p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.95;
}

.matching-issue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  gap: 2cm;
  align-items: center;
}

.matching-issue-visual {
  display: block;
  justify-self: start;
  width: calc(100% + 6cm);
  max-width: none;
  transform: translateX(-6cm);
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.matching-issue-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 54px rgba(12, 64, 95, 0.12);
}

.matching-issue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.matching-issue-grid article {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 0;
  padding: 24px 24px 24px 30px;
  background: var(--white);
  border: 1px solid var(--matching-line);
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(12, 64, 95, 0.06);
}

.matching-issue-grid article::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 0;
  width: 5px;
  background: var(--matching-blue);
  border-radius: 0 999px 999px 0;
}

.matching-issue-grid span,
.matching-feature-list article > span {
  color: var(--matching-blue);
  font-size: 12px;
  font-weight: 840;
  line-height: 1.4;
}

.matching-issue-grid h3,
.matching-feature-list h3 {
  margin: 0;
  color: var(--matching-blue-deep);
  font-size: 18px;
  font-weight: 840;
  line-height: 1.55;
}

.matching-solution-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(34px, 5.4vw, 84px);
  align-items: center;
}

.matching-solution-shell {
  display: grid;
  gap: clamp(28px, 4vw, 42px);
}

.matching-solution-eyebrow {
  display: none;
  margin: 0;
  color: var(--matching-blue);
  font-size: 13px;
  font-weight: 840;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.matching-service-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
  margin-left: min(-5vw, -38px);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.matching-service-visual::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 8%;
  bottom: 4%;
  z-index: 0;
  height: 34px;
  background: radial-gradient(ellipse, rgba(6, 38, 59, 0.24) 0%, rgba(6, 38, 59, 0) 70%);
  filter: blur(8px);
  pointer-events: none;
}

.matching-service-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(118%, 780px);
  max-width: none;
  height: auto;
  background: transparent;
}

.matching-solution .matching-section-head h2 {
  font-size: clamp(21px, 2.75vw, 34px);
}

.matching-solution-heading {
  margin-bottom: 0;
}

.matching-solution-grid > .matching-solution-heading {
  grid-area: heading;
}

.matching-solution-grid > .matching-service-visual {
  grid-area: image;
}

.matching-solution-grid > .matching-feature-list {
  grid-area: features;
}

.matching-solution-grid > .matching-section-cta {
  grid-area: cta;
}

.matching-feature-list {
  display: grid;
  gap: 24px;
}

.matching-feature-list article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--matching-line);
}

.matching-feature-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.matching-feature-list article > span {
  display: grid;
  place-items: center;
  width: 84px;
  min-height: 44px;
  padding: 0 10px;
  background: var(--matching-blue-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 840;
  line-height: 1;
  white-space: nowrap;
}

.matching-value-grid,
.matching-tab-grid,
.matching-compare {
  display: grid;
  gap: 18px;
}

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

.matching-value-grid article,
.matching-tab-grid article,
.matching-compare article,
.matching-faq-list details {
  background: #ffffff;
  border: 1px solid var(--matching-line);
  border-radius: 14px;
  box-shadow: 0 20px 56px rgba(20, 60, 120, 0.06);
}

.matching-value-grid article,
.matching-tab-grid article,
.matching-compare article {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 30px 26px;
}

.matching-value-grid article {
  grid-template-rows: minmax(calc(1.55em * 2), auto) 1fr;
}

.matching-value-grid span,
.matching-tab-grid span,
.matching-compare span {
  color: var(--matching-blue);
  font-size: 12px;
  font-weight: 840;
  line-height: 1.4;
}

.matching-value-grid h3,
.matching-tab-grid h3,
.matching-compare h3 {
  margin: 0;
  color: var(--matching-blue-deep);
  font-size: 20px;
  font-weight: 840;
  line-height: 1.55;
}

.matching-value-grid p,
.matching-tab-grid p,
.matching-compare li {
  margin: 0;
  color: #596273;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.85;
}

.matching-news-list {
  margin-top: 0;
}

.matching-price-panel {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 32px;
  background: #ffffff;
  border: 1px solid var(--matching-line);
  border-radius: 28px;
  box-shadow: 0 24px 68px rgba(12, 64, 95, 0.09);
}

.matching-price-icon {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  color: var(--matching-blue);
  background: var(--matching-blue-soft);
  border-radius: 999px;
  font-size: 2.2rem;
  font-weight: 840;
}

.matching-price-divider {
  width: 1px;
  min-height: 92px;
  background: rgba(11, 122, 143, 0.18);
}

.matching-price-content {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px;
}

.matching-price-content-copy {
  display: block;
  width: 100%;
}

.matching-price-content-copy strong {
  display: block;
  color: var(--ink);
  font-size: clamp(0.5rem, 0.58vw, 0.65rem);
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 42em;
}

.matching-price-content span {
  color: var(--ink);
  font-size: 1.7rem;
  font-weight: 740;
  line-height: 1.3;
}

.matching-price-content strong {
  color: var(--matching-blue);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 840;
  line-height: 1;
  letter-spacing: -0.03em;
}

.matching-price-panel .matching-price-content-copy strong {
  font-size: clamp(1.1rem, 1.3vw, 1.34rem);
  line-height: 1.72;
  max-width: 40em;
}

.matching-inline-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.matching-price-actions {
  width: min(100%, 680px);
  margin: 38px auto 0;
}

.matching-inline-cta .matching-job-cta-card {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}

.matching-section-cta {
  width: min(100%, 680px);
  margin: 38px auto 0;
}

.matching-faq-list {
  display: grid;
  gap: 14px;
}

.matching-faq-list .faq-item {
  padding: 0 24px;
  border: 1px solid var(--matching-line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 68px rgba(12, 64, 95, 0.09);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.matching-faq-list .faq-item summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  padding: 22px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  list-style: none;
  outline: none;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease;
}

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

.matching-faq-list .faq-item summary::marker {
  display: none;
}

.matching-faq-list .faq-item summary:focus,
.matching-faq-list .faq-item summary:active {
  outline: none;
  background: transparent;
}

.matching-faq-list .faq-item summary::before {
  content: "Q.";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.matching-faq-list .faq-item summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--matching-blue);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1;
}

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

.matching-faq-list .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.2s ease, opacity 0.2s ease;
}

.matching-faq-list .faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.matching-faq-list .faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 48px 22px 0;
  color: #596273;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
}

.matching-faq-list .faq-answer p::before {
  content: "A.";
  display: inline-block;
  margin-right: 0.7em;
  color: var(--ink);
  font-weight: 800;
}

.matching-sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 12px 20px;
}

.matching-sticky-cta.is-hidden {
  display: none;
}

.matching-sticky-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(6, 63, 95, 0.78);
  box-shadow: rgba(0, 0, 0, 0.36) 0 12px 27px 2px;
}

.matching-sticky-cta-copy {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.matching-sticky-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.matching-sticky-cta-link {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 160px;
  padding: 9px 20px;
  border-radius: 16px;
  text-align: center;
}

.matching-sticky-cta-link span {
  font-size: 0.92rem;
  font-weight: 700;
}

.matching-sticky-cta-primary {
  color: var(--matching-blue-deep);
  background: rgba(255, 255, 255, 0.96);
}

.matching-sticky-cta-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.matching-sticky-cta-close {
  position: absolute;
  top: 8px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: rgba(255, 255, 255, 0.96);
  background: transparent;
  border: 0;
  font-size: 1.7rem;
  font-weight: 840;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.matching-sticky-cta-close:hover {
  opacity: 0.72;
  transform: scale(1.05);
}

/* ===== AIマッチング LP CTA ===== */

/* AIマッチング：CTA プライマリ */
.matching-lp-cta-primary {
  color: #ffffff;
  background: var(--matching-blue, #0b7a8f);
}

.matching-lp-cta-primary:hover {
  background: #0c8aa2;
  opacity: 1;
  box-shadow: 0 8px 18px rgba(11, 122, 143, 0.2);
}

/* AIマッチング：CTA アウトライン */
.matching-lp-cta-outline {
  color: var(--ink, #1a2035);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 40, 0.14);
}

.matching-lp-cta-outline:hover {
  background: #eaf2ff;
  border-color: rgba(23, 105, 240, 0.18);
  opacity: 1;
}

/* ===== AIマッチング LP タブレット・モバイル共通 (〜1279px) ===== */
@media (min-width: 768px) and (max-width: 1279px) {
  .matching-hero,
  .matching-solution-grid,
  .matching-issue-layout,
  .matching-issue-grid,
  .matching-value-grid,
  .matching-tab-grid,
  .matching-compare {
    grid-template-columns: 1fr;
  }

  .matching-hero-grid {
    display: block;
    grid-template-columns: 1fr;
  }

  .matching-hero-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
  }

  .matching-hero-copy,
  .matching-hero-grid > .matching-hero-visual {
    display: none;
  }

  .matching-philosophy-panel {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
  }

  .matching-statement {
    width: 95%;
    max-width: none;
  }

  .matching-philosophy-lead h2 {
    width: 100%;
    max-width: none;
  }

  .matching-philosophy-lead .philosophy-line {
    display: inline-block;
    white-space: nowrap;
  }

  .matching-statement-body {
    justify-self: start;
    max-width: 100%;
    padding-left: 0;
    padding-top: 26px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .matching-hero-visual,
  .matching-service-visual {
    min-height: 340px;
  }

  .matching-service-visual {
    margin-left: 0;
    padding: 0;
    overflow: hidden;
  }

  .matching-service-visual img {
    width: 100%;
    max-width: 100%;
  }

  .matching-solution-eyebrow {
    display: block;
    justify-self: start;
    text-align: left;
  }

  .matching-solution > .matching-container {
    width: 95%;
    max-width: none;
  }

  .matching-solution-grid {
    grid-template-areas:
      "heading"
      "image"
      "features"
      "cta";
  }

  .matching-feature-list {
    margin-top: 1cm;
  }

  .matching-issue-visual {
    width: 100%;
    max-width: none;
    transform: none;
  }

  .matching-inline-cta {
    display: grid;
  }

  .matching-inline-cta .matching-job-cta-card {
    min-width: 0;
  }

  .matching-sticky-cta {
    display: none;
  }

  .matching-solution-copy .matching-section-head h2 {
    padding-right: 30%;
  }

  .matching-client-strip {
    gap: 10px;
    padding: 18px 0 20px;
  }

  .matching-client-strip-track {
    padding-inline: 18px;
  }

  .matching-client-strip-track div {
    min-height: 70px;
    padding: 10px 12px;
  }

  .matching-client-strip-track img {
    max-height: 38px;
  }
}

@media (max-width: 767px) {
  .matching-hero,
  .matching-solution-grid,
  .matching-issue-layout,
  .matching-issue-grid,
  .matching-value-grid,
  .matching-tab-grid,
  .matching-compare {
    grid-template-columns: 1fr;
  }

  .matching-hero-grid {
    display: block;
    grid-template-columns: 1fr;
  }

  .matching-hero-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
  }

  .matching-hero-copy,
  .matching-hero-grid > .matching-hero-visual {
    display: none;
  }

  .matching-philosophy-panel {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
  }

  .matching-statement {
    width: 95%;
    max-width: none;
  }

  .matching-philosophy-lead h2 {
    width: 100%;
    max-width: none;
  }

  .matching-philosophy-lead .philosophy-line {
    display: inline-block;
    white-space: nowrap;
  }

  .matching-statement-body {
    justify-self: start;
    max-width: 100%;
    padding-left: 0;
    padding-top: 26px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .matching-hero-visual,
  .matching-service-visual {
    min-height: 340px;
  }

  .matching-service-visual {
    margin-left: 0;
    padding: 0;
    overflow: hidden;
  }

  .matching-service-visual img {
    width: 100%;
    max-width: 100%;
  }

  .matching-solution-eyebrow {
    display: block;
    justify-self: start;
    text-align: left;
  }

  .matching-solution > .matching-container {
    width: 95%;
    max-width: none;
  }

  .matching-solution-grid {
    grid-template-areas:
      "heading"
      "image"
      "features"
      "cta";
  }

  .matching-feature-list {
    margin-top: 1cm;
  }

  .matching-issue-visual {
    width: 100%;
    max-width: none;
    transform: none;
  }

  .matching-inline-cta {
    display: grid;
  }

  .matching-inline-cta .matching-job-cta-card {
    min-width: 0;
  }

  .matching-sticky-cta {
    display: none;
  }

  .matching-solution-copy .matching-section-head h2 {
    padding-right: 30%;
  }

  .matching-client-strip {
    gap: 10px;
    padding: 18px 0 20px;
  }

  .matching-client-strip-track {
    padding-inline: 18px;
  }

  .matching-client-strip-track div {
    min-height: 70px;
    padding: 10px 12px;
  }

  .matching-client-strip-track img {
    max-height: 38px;
  }
}

/* ===== AIマッチング LP モバイル (〜767px) ===== */
@media (max-width: 767px) {
  /* ヘッダー */
  .matching-job-header-container {
    width: min(calc(100% - 32px), 1440px);
  }

  .matching-job-header-inner {
    min-height: 50px;
  }

  .matching-job-brand {
    min-width: 0;
  }

  .matching-job-brand-logo {
    height: 24px;
    max-width: 52vw;
  }

  .matching-job-header-actions {
    display: none;
  }

  /* ヒーロー：モバイルレイアウト切り替え */
  .matching-hero {
    padding: 1.2cm 0 1.6cm;
  }

  .matching-hero-container {
    width: min(calc(100% - 36px), 1320px);
  }

  /* ヒーロー：画像エリア */
  .matching-hero-visual-mobile {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 0.8cm;
  }

  .matching-hero-visual-mobile .matching-hero-product-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 14, 40, 0.22);
  }

  .matching-hero-visual-mobile .matching-hero-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: clamp(60px, 16vw, 90px);
    transform: none;
  }

  /* ヒーロー：テキスト */
  .matching-hero-mobile > h1 {
    margin: 0;
    color: #ffffff;
    text-align: center;
    font-size: clamp(1.38rem, 6.3vw, 1.94rem);
    font-weight: 840;
    line-height: 1.26;
    letter-spacing: -0.03em;
  }

  .matching-hero-mobile .matching-hero-lead {
    display: block;
    width: calc(100% - 2cm);
    margin: 0.7cm auto 0.9cm;
    text-align: center;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
  }

  /* ヒーロー：CTAボタン */
  .matching-hero-mobile .matching-hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 auto 0.9cm;
  }

  .matching-hero-mobile .matching-job-cta-card {
    width: 100%;
    max-width: 320px;
  }

  .matching-hero-cta {
    display: grid;
  }

  .matching-job-cta-card {
    width: 100%;
  }

  .matching-job-cta-card-download {
    min-height: 64px;
  }

  .matching-job-cta-card-image {
    width: 56px;
    left: -16px;
  }

  /* セクション共通 */
  .matching-section,
  .matching-final-cta {
    padding-inline: 18px;
  }

  .matching-section h2,
  .matching-final-cta h2 {
    font-size: clamp(22px, 6.2vw, 30px);
  }

  /* ソリューション */
  .matching-solution-grid {
    gap: 24px;
  }

  /* フィロソフィー */
  .matching-philosophy {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .matching-statement {
    width: 95%;
    max-width: none;
  }

  .matching-philosophy-panel {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
  }

  .matching-philosophy-lead h2 {
    font-size: clamp(18px, 5.8vw, 24px);
    line-height: calc(1.18em + 2mm);
    width: 100%;
    max-width: none;
  }

  .matching-statement-body {
    justify-self: start;
    max-width: 100%;
    padding-left: 0;
    padding-top: 26px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .matching-statement-body p {
    font-size: 16px;
    line-height: 1.9;
  }

  .matching-narrative,
  .matching-statement-body {
    text-align: left;
  }

  .matching-narrative strong {
    padding: 22px 20px;
    text-align: center;
  }

  /* サービスビジュアル */
  .matching-service-visual {
    min-height: 0;
  }

  /* 課題ビジュアル */
  .matching-issue-visual {
    width: 100%;
    max-width: none;
    transform: none;
    grid-template-columns: 92px 28px minmax(210px, 1fr) 28px 92px;
    gap: 8px;
    min-height: 260px;
    padding: 18px;
    overflow-x: auto;
  }

  .matching-issue-source,
  .matching-issue-person {
    min-height: 106px;
    padding: 14px 10px;
  }

  .matching-issue-source strong,
  .matching-issue-person strong {
    font-size: 16px;
  }

  .matching-issue-bottlenecks span {
    min-height: 132px;
    padding-inline: 8px;
    font-size: 13px;
  }

  .matching-issue-grid h3 {
    font-size: 16px;
  }

  .matching-issue-grid article {
    min-height: 0;
    padding: 24px 20px;
  }

  /* フィーチャーリスト */
  .matching-feature-list article {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .matching-feature-list article > span {
    width: fit-content;
    min-width: 84px;
  }

  /* バリュー・タブ・比較グリッド */
  .matching-value-grid article,
  .matching-tab-grid article,
  .matching-compare article {
    padding: 24px 20px;
  }

  /* 価格パネル */
  .matching-price-panel {
    display: grid;
    grid-template-columns: minmax(56px, 20%) 1px minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
    gap: 14px;
    padding: 24px max(20px, 5mm) 24px 20px;
    text-align: left;
  }

  .matching-price-divider {
    width: 1px;
    min-height: 78px;
    height: auto;
  }

  .matching-price-content {
    justify-content: flex-start;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
    flex-wrap: wrap;
    white-space: normal;
  }

  .matching-price-icon {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    font-size: clamp(1.5rem, 5.2vw, 2rem);
  }

  /* スティッキーCTA */
  .matching-sticky-cta {
    padding: 10px 12px;
    gap: 10px;
  }

  .matching-sticky-cta-copy {
    display: none;
  }

  .matching-sticky-cta-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .matching-sticky-cta-link {
    min-width: 0;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .matching-sticky-cta-close {
    top: -12px;
    right: 8px;
    width: 24px;
    height: 24px;
    color: #ffffff;
    font-size: 1.2rem;
  }

  /* クライアントロゴ */
  .matching-client-strip-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* ===== AIマッチング LP タブレット (768px〜1279px) ===== */
@media (min-width: 768px) and (max-width: 1279px) {
  /* ヘッダー */
  .matching-job-header-inner {
    min-height: 54px;
  }

  .matching-job-brand {
    min-width: 0;
  }

  .matching-job-brand-logo {
    height: 28px;
  }

  .matching-job-header-actions {
    display: none;
  }

  /* ヒーロー：タブレットレイアウト切り替え */
  .matching-hero {
    padding: 64px 0 72px;
  }

  .matching-hero-container {
    width: min(calc(100% - 40px), 1320px);
  }

  /* ヒーロー：画像エリア */
  .matching-hero-visual-mobile {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 1cm;
  }

  .matching-hero-visual-mobile .matching-hero-product-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 26px 56px rgba(0, 14, 40, 0.22);
  }

  .matching-hero-visual-mobile .matching-hero-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: clamp(80px, 10vw, 120px);
    transform: none;
  }

  /* ヒーロー：テキスト */
  .matching-hero-mobile > h1 {
    margin: 0;
    color: #ffffff;
    text-align: center;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 840;
    line-height: 1.3;
    letter-spacing: -0.03em;
  }

  .matching-hero-mobile .matching-hero-lead {
    display: block;
    width: min(calc(100% - 80px), 780px);
    margin: 0.8cm auto 1cm;
    text-align: center;
    color: rgba(255, 255, 255, 0.82);
  }

  /* ヒーロー：CTAボタン */
  .matching-hero-mobile .matching-hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: min(100%, 480px);
    margin: 0 auto 1cm;
  }

  .matching-hero-mobile .matching-job-cta-card {
    width: 100%;
  }

  /* セクション共通 */
  .matching-solution-grid {
    gap: clamp(24px, 3.8vw, 34px);
  }

  .matching-philosophy-lead h2 {
    width: min(100%, 14.4em);
    max-width: 14.4em;
  }

  .matching-service-visual {
    justify-self: stretch;
    min-height: 0;
  }

  .matching-feature-list article > span {
    height: 44px;
    min-height: 44px;
    align-self: start;
  }

  .matching-solution-copy .matching-section-head h2 {
    padding-right: 0;
  }

  .matching-solution-heading {
    padding-right: 0;
  }

}

@media (min-width: 1280px) {
  .matching-issue > .matching-container {
    width: 95%;
    max-width: none;
  }

  .matching-issue-layout {
    grid-template-columns: minmax(0, 60%) minmax(0, 35%);
    gap: 5%;
    align-items: start;
  }

  .matching-issue-visual {
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .matching-issue-image {
    width: 100%;
  }

  .matching-issue-grid {
    min-width: 0;
  }

  .matching-solution > .matching-container {
    width: 95%;
    max-width: none;
  }

  .matching-solution-eyebrow {
    display: block;
    text-align: center;
    justify-self: center;
  }

  .matching-solution-grid {
    grid-template-columns: minmax(0, 50%) minmax(0, 47.5%);
    grid-template-areas:
      "image heading"
      "image features"
      "image cta";
    gap: 0 2.5%;
    align-items: start;
  }

  .matching-service-visual {
    justify-self: stretch;
    min-height: 0;
    margin-left: 0;
  }

  .matching-service-visual img {
    width: 100%;
    max-width: 100%;
  }

}
