:root {
  --ink: #0d2340;
  --ink-soft: #314866;
  --muted: #667892;
  --blue: #0874d9;
  --blue-dark: #0459b5;
  --blue-weak: #eaf6ff;
  --sky: #f5fbff;
  --line: #d7e8f8;
  --green: #27b779;
  --orange: #ff920e;
  --orange-dark: #e67600;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(28, 103, 179, 0.13);
  --shadow-soft: 0 12px 30px rgba(28, 103, 179, 0.08);
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  background: var(--sky);
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.jp-text {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

@supports (word-break: auto-phrase) {
  .jp-text {
    word-break: auto-phrase;
  }
}

.nobr {
  display: inline-block;
  white-space: nowrap;
}

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 12px 34px;
  border-bottom: 1px solid rgba(215, 232, 248, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.brand strong {
  font-size: 14px;
}

.brand-logo {
  width: 42px;
  height: 40px;
  flex: 0 0 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #2b3c55;
  font-size: 13px;
  font-weight: 800;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 24px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-actions,
.contact-actions,
.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: grid;
  justify-items: center;
  min-width: 190px;
  color: var(--blue-dark);
  line-height: 1.15;
}

.header-phone-label {
  border: 1px solid currentColor;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 800;
}

.header-phone-number {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue-dark);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
}

.header-phone-number span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  color: var(--white);
  background: var(--blue-dark);
  font-size: 13px;
}

.header-phone-hours {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button::before {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.55);
  content: "";
}

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

.button-blue {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 14px 28px rgba(8, 116, 217, 0.24);
}

.button-orange {
  color: #fff;
  background: linear-gradient(135deg, #ffad27, var(--orange));
  box-shadow: 0 14px 28px rgba(255, 146, 14, 0.24);
}

.button-large {
  min-height: 58px;
  padding: 15px 24px;
  font-size: 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 42px;
  background:
    radial-gradient(circle at 84% 22%, rgba(61, 177, 255, 0.18), transparent 34%),
    radial-gradient(circle at 18% 0%, rgba(39, 183, 121, 0.07), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #eef8ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
  align-items: center;
  gap: 64px;
}

.pill,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.pill {
  padding: 7px 16px;
  border-radius: 999px;
  background: #dff1ff;
}

.kicker::before {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  color: #081b35;
  font-size: clamp(2.35rem, 3.55vw, 3.25rem);
  font-weight: 800;
  line-height: 1.18;
}

.mark-line {
  color: var(--blue);
}

.mark-text {
  color: var(--blue);
  font-weight: 900;
}

.lead {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.hero-note {
  max-width: 580px;
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.cta-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.microcopy {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: end;
  min-height: 460px;
}

.hero-asset {
  display: block;
  width: min(780px, 136%);
  max-width: none;
  height: auto;
  object-fit: contain;
  opacity: 1;
  filter: saturate(1.04) drop-shadow(0 26px 56px rgba(8, 116, 217, 0.14));
  transform: translateX(13%);
  transform-origin: center right;
}

.metric-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.98fr) minmax(0, 0.8fr);
  gap: 0;
  margin-top: 22px;
  padding: 34px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.metric-heading {
  grid-column: 1 / -1;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.metric-strip article {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 150px;
  padding: 8px 28px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.metric-strip article:last-child {
  border-right: 0;
}

.metric-icon,
.case-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f4ff;
}

.metric-icon {
  grid-row: span 2;
  width: 58px;
  height: 58px;
}

.metric-icon::before,
.case-icon::before {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--blue);
  content: "";
}

.metric-strip p {
  margin: 12px 0 0;
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.metric-strip strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  color: #2453dc;
  font-size: clamp(4.35rem, 6.1vw, 6.25rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
}

.case-grid strong span {
  margin-left: 4px;
  color: var(--ink-soft);
  font-size: 15px;
}

.metric-strip strong span {
  margin-left: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.55vw, 1.55rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.metric-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  width: fit-content;
  min-height: 48px;
  margin: 18px auto 0;
  padding: 12px 24px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(8, 116, 217, 0.1);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.metric-detail-link::after {
  margin-left: 9px;
  content: "→";
}

.metric-detail-link:hover {
  color: var(--blue-dark);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8, 116, 217, 0.16);
}

.section {
  padding: 76px 0;
  scroll-margin-top: 92px;
}

.section-white {
  background: #fff;
}

.section-soft {
  background:
    radial-gradient(circle at 16% 10%, rgba(39, 183, 121, 0.08), transparent 28%),
    linear-gradient(180deg, #f6fbff 0%, #eef8ff 100%);
}

.section-blue {
  background:
    radial-gradient(circle at 86% 18%, rgba(66, 177, 255, 0.22), transparent 30%),
    linear-gradient(180deg, #f2f9ff 0%, #e7f4ff 100%);
}

.solution-showcase {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 32%, rgba(63, 177, 255, 0.24), transparent 34%),
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(180deg, #f4fbff 0%, #e7f4ff 100%);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.solution-grid h2,
.proof-copy h2,
.urgency-grid h2,
.pricing-copy h2,
.faq-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 2.7vw, 2.65rem);
  font-weight: 800;
  line-height: 1.35;
}

.section-heading p:not(.kicker),
.solution-grid p,
.proof-copy p,
.urgency-grid p,
.pricing-copy p,
.faq-copy p,
.contact-copy p {
  margin: 14px 0 0;
  color: var(--muted);
}

.pain-heading {
  max-width: 1060px;
  margin-bottom: 44px;
}

.section-heading.pain-heading .pain-lead {
  max-width: 980px;
  margin: 0 auto;
  color: #000000;
  font-size: clamp(1.7rem, 2.8vw, 3rem);
  font-weight: 800;
  line-height: 1.45;
}

.pain-lead span {
  display: block;
}

.pain-heading h2 {
  margin-top: 18px;
  color: var(--blue);
  font-size: clamp(2.15rem, 3.8vw, 4rem);
  line-height: 1.25;
}

.pain-context {
  max-width: 820px;
  margin: 18px auto 0 !important;
  color: var(--ink-soft) !important;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 700;
  line-height: 1.85;
}

.pain-solution {
  margin: 20px auto 0 !important;
  color: var(--blue) !important;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1.4;
}

.before-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 70px;
  max-width: 1120px;
  margin-inline: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfe;
  box-shadow: var(--shadow-soft);
}

.before-after-head {
  padding: 6px 20px 14px;
  text-align: center;
}

.before-after-head span {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.before-after-head h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.35;
}

.before-head {
  color: #617189;
}

.after-head {
  color: var(--blue);
}

.comparison-pair {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
}

.comparison-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 18px 20px;
  border: 1px solid #e0e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.comparison-item h4 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

.comparison-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.comparison-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 5px;
  border-radius: 50%;
  background: #eef2f6;
  overflow: hidden;
}

.comparison-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.before-item .comparison-icon img {
  filter: grayscale(0.82) saturate(0.55) opacity(0.78);
}

.after-item {
  border-color: #b9dcfb;
  background: linear-gradient(90deg, #ffffff 0%, #f2f9ff 100%);
}

.after-item .comparison-icon {
  background: #e3f2ff;
}

.after-item .comparison-icon img {
  filter: saturate(1.08);
}

.after-item h4 {
  color: var(--blue-dark);
}

.comparison-arrow {
  display: grid;
  place-items: center;
  align-self: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #43adf5);
  box-shadow: 0 8px 18px rgba(8, 116, 217, 0.2);
  font-size: 22px;
  font-weight: 900;
}

.triad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.flow-cards article,
.case-grid article,
.urgency-cards article,
.pricing-cards article,
.faq-list details,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.flow-cards article {
  display: flex;
  flex-direction: column;
  min-height: 316px;
  padding: 28px;
  overflow: hidden;
}

.flow-cards h3,
.case-grid h3,
.urgency-cards h3,
.pricing-cards h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
}

.highlight-card {
  background: linear-gradient(180deg, #ffffff 0%, #eef8ff 100%) !important;
  border-color: #99cdfd !important;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  color: #314963;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
}

.check-list li {
  position: relative;
  padding-left: 25px;
}

.check-list li::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  content: "";
}

.check-list.green li::before {
  background: var(--green);
}

.card-visual {
  width: calc(100% + 24px);
  aspect-ratio: 16 / 10;
  margin: 22px -12px -12px;
  border: 1px solid #d7eafb;
  border-radius: 8px;
  overflow: hidden;
  background: #f6fbff;
  box-shadow: 0 14px 32px rgba(28, 103, 179, 0.12);
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.045);
}

.solution-grid {
  position: relative;
  display: block;
  min-height: 760px;
}

.solution-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-block: 38px;
}

.solution-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 30px;
  padding: 10px 22px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(220, 241, 255, 0.92);
  font-size: clamp(1rem, 1.1vw, 1.25rem);
  font-weight: 900;
  letter-spacing: 0;
}

.solution-copy h2 {
  max-width: 760px;
  font-size: clamp(2.55rem, 3.5vw, 3.35rem);
  line-height: 1.18;
}

.service-lead {
  max-width: 650px;
  color: var(--ink-soft) !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.85;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 26px 0 0;
}

.service-features div {
  padding: 16px;
  border: 1px solid rgba(183, 218, 248, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(28, 103, 179, 0.07);
}

.service-features dt {
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 900;
}

.service-features dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.solution-visual {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -30px;
  display: grid;
  place-items: center;
  width: min(920px, 68vw);
  min-height: 560px;
  margin: 0;
  transform: translateY(-50%);
}

.solution-visual img {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 56% 52%, #000 42%, rgba(0, 0, 0, 0.86) 56%, rgba(0, 0, 0, 0.34) 69%, transparent 82%);
  mask-image: radial-gradient(ellipse 72% 68% at 56% 52%, #000 42%, rgba(0, 0, 0, 0.86) 56%, rgba(0, 0, 0, 0.34) 69%, transparent 82%);
  filter: drop-shadow(0 28px 48px rgba(28, 103, 179, 0.16));
}

.service-comparison {
  position: relative;
  z-index: 3;
  margin-top: 12px;
}

.service-comparison > h3 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  text-align: center;
}

.comparison-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.comparison-mini article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.comparison-mini article:last-child {
  border-color: #8dc8ff;
  background: linear-gradient(180deg, #fff, #edf8ff);
}

.comparison-mini h3 {
  margin: 0 0 16px;
  font-size: 19px;
}

.comparison-mini ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.3em;
  color: var(--ink-soft);
  font-weight: 700;
}

.comparison-mini strong {
  display: block;
  margin-top: 18px;
  padding: 12px;
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--blue-weak);
  text-align: center;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.case-grid article {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 26px;
  overflow: hidden;
}

.case-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
}

.case-icon.people::before { background: var(--green); }
.case-icon.book::before { background: #6f98d4; }

.case-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0 0 24px;
  border: 1px solid #d7eafb;
  border-radius: 8px;
  overflow: hidden;
  background: #f6fbff;
  box-shadow: 0 14px 30px rgba(28, 103, 179, 0.1);
}

.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

.case-grid p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-weight: 800;
}

.case-grid .case-summary {
  min-height: 84px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
}

.use-case-details {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.use-case-details div {
  padding-bottom: 10px;
  border-bottom: 1px solid #e3edf6;
}

.use-case-details dt {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.use-case-details dd {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.case-impact {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.case-impact-label {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.case-grid strong {
  display: block;
  color: var(--blue);
  font-size: clamp(42px, 4vw, 56px);
  line-height: 1;
  white-space: nowrap;
}

.case-grid strong span {
  margin-left: 8px;
  color: var(--ink);
  font-size: 0.34em;
  font-weight: 900;
}

.case-grid small {
  display: block;
  width: fit-content;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--blue-weak);
  color: var(--muted);
  font-weight: 900;
}

.case-more {
  margin-top: 24px;
}

.case-more > summary {
  display: grid;
  place-items: center;
  width: min(360px, 100%);
  min-height: 52px;
  margin-inline: auto;
  border: 1px solid #8cc8fb;
  border-radius: 8px;
  color: var(--blue);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.case-more > summary::-webkit-details-marker {
  display: none;
}

.case-more > summary::after {
  margin-left: 8px;
  content: "＋";
}

.case-more[open] > summary::after {
  content: "−";
}

.case-grid-more {
  margin-top: 24px;
}

.case-note,
.pricing-note {
  max-width: 980px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.process-row article {
  position: relative;
  display: flex;
  min-height: 212px;
  padding: 24px 16px 22px;
  align-items: center;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.process-row article:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -20px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 800;
  content: ">";
  transform: translateY(-50%);
}

.process-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 0 14px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f4fbff 0%, #e8f6ff 100%);
  box-shadow: inset 0 0 0 1px rgba(123, 190, 255, 0.34);
}

.process-icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.process-row span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-weak);
  font-size: 15px;
  font-weight: 800;
}

.process-row h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.45;
}

.process-row p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 800;
}

.support-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(234, 246, 255, 0.94));
  box-shadow: var(--shadow-soft);
}

.support-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 66px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.support-item figure {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  margin: 0;
  border: 1px solid #cfe9ff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 22px rgba(28, 103, 179, 0.08);
}

.support-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.support-item strong,
.support-item small {
  display: block;
}

.support-item strong {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.45;
}

.support-item small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 800;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 48px;
  align-items: center;
}

.proof-copy {
  align-self: center;
}

.proof-copy h2 span {
  display: block;
}

.proof-copy h3 {
  margin: 28px 0 0;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.65;
  font-weight: 900;
}

.proof-copy small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  font-weight: 700;
}

.proof-result-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f4fbff);
  box-shadow: var(--shadow-soft);
}

.proof-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.proof-table th,
.proof-table td {
  padding: 18px 0;
  border-bottom: 1px solid #dcebf8;
  vertical-align: middle;
}

.proof-table thead th {
  padding-top: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-align: left;
}

.proof-table thead th:last-child {
  text-align: right;
}

.proof-table tbody th {
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 900;
  text-align: left;
}

.proof-table tbody td {
  color: var(--blue);
  font-size: clamp(2.2rem, 4.8vw, 4.05rem);
  font-weight: 900;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.proof-table tbody td span {
  margin-left: 4px;
  color: var(--ink);
  font-size: 0.34em;
  font-weight: 900;
}

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

.proof-usage {
  margin-top: 34px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
}

.proof-usage h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

.proof-usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.proof-usage-grid li {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 15px;
  border: 1px solid #d8eafa;
  border-radius: 8px;
  color: var(--ink-soft);
  background: #fff;
  box-shadow: 0 10px 24px rgba(28, 103, 179, 0.06);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.65;
}

.proof-usage-grid figure {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #f5fbff, #e8f5ff);
}

.proof-usage-grid img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.urgency-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 28px;
  align-items: center;
}

.urgency-cards {
  display: grid;
  gap: 14px;
}

.urgency-cards article {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 22px;
}

.urgency-visual {
  overflow: hidden;
  margin: 0;
  border: 1px solid #dcebf8;
  border-radius: 8px;
  background: linear-gradient(180deg, #f9fdff, #eef8ff);
}

.urgency-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.urgency-cards h3 {
  margin-top: 0;
}

.urgency-cards p {
  margin: 0;
  color: var(--muted);
}

.center-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid #bfe2ff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.center-cta p,
.closing-copy {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.center-cta h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.5;
}

.center-cta .section-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.compare-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 26px) right / 46px 100% no-repeat,
    #fff;
  box-shadow: var(--shadow-soft);
}

.compare-scroll:focus {
  outline: 3px solid rgba(8, 116, 217, 0.22);
  outline-offset: 3px;
}

.compare-table {
  width: 100%;
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0;
}

.compare-table th,
.compare-table td {
  width: 24%;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px dashed #c9dced;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
  text-align: center;
  vertical-align: middle;
}

.compare-table th:first-child,
.compare-table td:first-child {
  width: 18%;
}

.compare-table th:nth-child(2),
.compare-table td:nth-child(2) {
  width: 34%;
}

.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 2px solid var(--blue);
  color: var(--ink);
  background: #f1f8ff;
  font-size: 16px;
  font-weight: 900;
}

.compare-table thead th:first-child {
  color: #fff;
  background: var(--blue);
}

.compare-table thead th:nth-child(2) {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  font-size: 18px;
}

.compare-table tbody th {
  color: var(--ink);
  background: #fff;
  font-weight: 900;
}

.compare-table tbody td:nth-child(2) {
  color: var(--blue-dark);
  background: linear-gradient(180deg, #f0f9ff, #e7f4ff);
  font-weight: 900;
}

.compare-table tbody td strong {
  color: var(--blue);
  font-size: 1.08em;
}

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

.compare-table th:last-child,
.compare-table td:last-child {
  border-right: 0;
}

.closing-copy {
  margin-top: 22px;
  text-align: center;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 24px;
}

.pricing-copy {
  grid-column: 1 / -1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: start;
  align-items: stretch;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
}

.pricing-cards article {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 640px;
  padding: 26px;
  overflow: visible;
}

.pricing-cards .featured {
  border-color: #7fbfff;
  box-shadow: 0 20px 48px rgba(8, 116, 217, 0.16);
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  padding: 5px 13px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
  transform: translateX(-50%);
}

.pricing-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.plan-cost {
  margin: 20px 0;
  border: 1px solid #dcebf8;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fcff;
}

.plan-cost dl {
  display: grid;
  margin: 0;
}

.plan-cost div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.plan-cost div + div {
  border-top: 1px solid #dcebf8;
}

.plan-cost dt {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.plan-cost dd {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.45rem, 2.1vw, 2.15rem);
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
}

.plan-cost div:first-child dd {
  color: var(--blue);
  font-size: clamp(1.7rem, 2.45vw, 2.45rem);
}

.plan-cost dd span {
  margin-left: 3px;
  color: var(--ink-soft);
  font-size: 0.48em;
  font-weight: 900;
}

.pricing-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0 0 18px;
  border: 1px solid #dcecf9;
  border-radius: 8px;
  overflow: hidden;
  background: #f7fbff;
}

.pricing-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.045);
}

.plan-label {
  color: var(--blue) !important;
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.plan-summary {
  min-height: 76px;
  margin-top: 10px !important;
  line-height: 1.7;
}

.plan-features {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #e3eef8;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-left: 24px;
}

.plan-features li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.58);
  content: "";
}

.featured .plan-features li::before {
  background: var(--orange);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(420px, 1.3fr);
  gap: 30px;
  align-items: start;
}

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

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  min-height: 58px;
  padding: 16px 20px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.faq-list summary::marker {
  color: var(--blue);
}

.faq-list details[open] summary {
  color: var(--blue-dark);
}

.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.final-cta {
  padding: 62px 0;
  scroll-margin-top: 96px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #064eb0, #0887df);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
  gap: 34px;
  align-items: center;
}

.final-cta .kicker,
.final-cta h2,
.final-cta p {
  color: #fff;
}

.final-cta .microcopy {
  color: rgba(255, 255, 255, 0.8);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: #28445f;
  font-size: 13px;
  font-weight: 800;
}

.contact-form .wide {
  grid-column: 1 / -1;
}

/* 必須バッジ：項目名の右隣に赤・小サイズで表示 */
.contact-form label {
  grid-template-columns: auto auto 1fr;
  align-items: center;
}

/* 1行目：項目名 ＋ 必須 */
.contact-form label > span:first-child {
  grid-row: 1;
  grid-column: 1;
}

.contact-form label > .hissu {
  grid-row: 1;
  grid-column: 2;
  justify-self: start;
  white-space: nowrap;
}

/* 2行目：入力欄（CF7ラッパー／素の input・textarea いずれも全幅） */
.contact-form label > .wpcf7-form-control-wrap,
.contact-form label > input,
.contact-form label > textarea {
  grid-row: 2;
  grid-column: 1 / -1;
}

/* 「必須」バッジの見た目 */
.contact-form label > .hissu,
.request-type legend > .hissu {
  color: #d93a4a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* legend 内の「必須」は項目名の直後に少し余白を空けて表示 */
.request-type legend > .hissu {
  margin-left: 6px;
}

.contact-assurance {
  display: grid;
  gap: 7px;
  margin: 22px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  list-style: none;
  font-size: 14px;
  font-weight: 800;
}

.contact-assurance li::before {
  margin-right: 8px;
  content: "✓";
}

.request-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  border: 0;
  padding: 0;
}

.request-type legend {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: #28445f;
  font-size: 13px;
  font-weight: 800;
}

.request-type label {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  border: 1px solid #cfe0ef;
  border-radius: 8px;
  padding: 12px 14px 12px 44px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.request-type input {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  accent-color: var(--blue);
}

.request-type label:has(input:checked) {
  border-color: #7fc2ff;
  background: #eef8ff;
  box-shadow: inset 0 0 0 1px rgba(8, 116, 217, 0.15);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfe0ef;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
}

.contact-form .request-type input {
  position: absolute;
  left: 14px;
  width: 18px;
  min-height: 0;
  height: 18px;
  padding: 0;
}

/* 個人情報の取り扱い：高さ固定＋スクロール */
.p-form__content.privacy {
  max-height: 240px;
  overflow-y: auto;
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid #cfe0ef;
  border-radius: 8px;
  background: #f7fbff;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
  -webkit-overflow-scrolling: touch;
}

.p-form__content.privacy h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  color: #28445f;
}

.p-form__content.privacy h5 {
  margin: 16px 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #28445f;
}

.p-form__content.privacy p {
  margin: 0 0 8px;
}

/* スクロールバーを控えめに */
.p-form__content.privacy::-webkit-scrollbar {
  width: 8px;
}

.p-form__content.privacy::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #cfe0ef;
}

.contact-form .privacy-consent {
  display: flex;
  align-items: center;
  grid-template-columns: none;
  gap: 10px;
  min-height: 44px;
  color: var(--ink-soft);
}

.contact-form .privacy-consent input {
  width: 18px;
  height: 18px;
  min-height: 0;
  flex: 0 0 18px;
  padding: 0;
  accent-color: var(--blue);
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer .brand {
  font-size: 15px;
}

.site-footer .brand-logo {
  width: 40px;
  height: 40px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.contact-form textarea {
  resize: vertical;
}

.reveal-section {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1.08s cubic-bezier(.16, 1, .3, 1),
    transform 1.08s cubic-bezier(.16, 1, .3, 1);
}

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

.hero.reveal-section {
  opacity: 1;
  transform: none;
}

@keyframes menu-panel-in {
  from {
    background-color: rgba(234, 246, 255, 0);
  }
  to {
    background-color: rgba(234, 246, 255, 1);
  }
}

@keyframes menu-content-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes menu-item-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes menu-close-in {
  from {
    opacity: 0;
    transform: translate(-50%, -53%) rotate(-22deg) scale(0.84);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -53%) rotate(0deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .reveal-section {
    transition: none;
  }

  .site-header.is-menu-open,
  .site-header.is-menu-open .site-menu,
  .site-header.is-menu-open .nav-links a,
  .site-header.is-menu-open .header-actions .button,
  .site-header.is-menu-open .menu-toggle::before {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .site-header.is-menu-open .menu-toggle::before {
    transform: translate(-50%, -53%);
  }

  .reveal-section {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .site-header {
    padding-inline: 22px;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .solution-grid,
  .urgency-grid,
  .pricing-layout,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
    justify-items: center;
  }

  .hero-asset {
    width: min(620px, 100%);
    transform: none;
  }

  .solution-grid {
    display: grid;
    min-height: auto;
  }

  .solution-visual {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    min-height: 360px;
    margin: 10px 0 0;
    transform: none;
  }

  .solution-visual img {
    width: min(720px, 100%);
  }

  .proof-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 680px);
  }

  .site-header {
    position: sticky;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: auto;
    padding: 12px 16px;
  }

  .site-header.is-menu-open {
    position: fixed;
    inset: 0;
    z-index: 80;
    grid-template-rows: auto 1fr;
    align-items: center;
    align-content: start;
    min-height: 100dvh;
    padding: 12px 16px 24px;
    border-bottom: 0;
    background:
      radial-gradient(circle at 88% 8%, rgba(88, 184, 255, 0.18), transparent 34%),
      linear-gradient(180deg, #ffffff 0%, #f3fbff 52%, #eaf6ff 100%);
    overflow-y: auto;
    animation: menu-panel-in 240ms ease-out both;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-header.is-menu-open .menu-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    border-color: var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(28, 103, 179, 0.1);
  }

  .site-header.is-menu-open .menu-toggle span {
    display: none;
  }

  .site-header.is-menu-open .menu-toggle::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    color: var(--ink);
    background: transparent;
    content: "×";
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
    transform: translate(-50%, -53%);
    animation: menu-close-in 220ms ease-out both;
  }

  .site-menu {
    display: none;
    grid-column: 1 / -1;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }

  .site-header.is-menu-open .site-menu {
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 104px);
    border-top: 1px solid rgba(199, 223, 242, 0.78);
    padding-top: 24px;
    gap: 24px;
    animation: menu-content-in 260ms ease-out 40ms both;
  }

  .site-header.is-menu-open .nav-links {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    color: var(--ink);
    font-size: 18px;
  }

  .site-header.is-menu-open .nav-links a {
    width: 100%;
    border-radius: 8px;
    padding: 14px 16px;
    border: 1px solid rgba(215, 232, 248, 0.88);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 24px rgba(28, 103, 179, 0.06);
    opacity: 0;
    transform: translateY(10px);
    animation: menu-item-in 280ms cubic-bezier(.16, 1, .3, 1) both;
  }

  .site-header.is-menu-open .nav-links a:nth-child(1) {
    animation-delay: 70ms;
  }

  .site-header.is-menu-open .nav-links a:nth-child(2) {
    animation-delay: 105ms;
  }

  .site-header.is-menu-open .nav-links a:nth-child(3) {
    animation-delay: 140ms;
  }

  .site-header.is-menu-open .nav-links a:nth-child(4) {
    animation-delay: 175ms;
  }

  .site-header.is-menu-open .nav-links a:nth-child(5) {
    animation-delay: 210ms;
  }

  .site-header.is-menu-open .nav-links a:nth-child(6) {
    animation-delay: 245ms;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }

  .header-phone {
    display: none;
  }

  .site-header.is-menu-open .header-actions {
    grid-template-columns: 1fr;
    margin-top: auto;
    gap: 14px;
    padding-top: 30px;
  }

  .header-actions .button {
    width: 100%;
    padding-inline: 12px;
  }

  .site-header.is-menu-open .header-actions .button {
    min-height: 62px;
    border-radius: 8px;
    font-size: 16px;
    opacity: 0;
    transform: translateY(10px);
    animation: menu-item-in 280ms cubic-bezier(.16, 1, .3, 1) both;
  }

  .site-header.is-menu-open .header-actions .button:nth-child(1) {
    animation-delay: 260ms;
  }

  .site-header.is-menu-open .header-actions .button:nth-child(2) {
    animation-delay: 300ms;
  }

  .solution-grid {
    display: flex;
    flex-direction: column;
  }

  .solution-copy {
    display: block;
    order: 1;
    max-width: none;
    padding-block: 0;
  }

  .solution-copy h2 {
    width: 100%;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
  }

  .solution-copy h2 .nobr {
    display: inline;
    white-space: normal;
  }

  .solution-visual {
    order: 2;
    width: calc(100% + 44px);
    height: 360px;
    min-height: 0;
    margin: -24px -22px -20px;
    overflow: hidden;
    transform: none;
  }

  .solution-visual img {
    width: 100%;
    max-width: none;
    height: 410px;
    object-fit: cover;
    object-position: center bottom;
    transform: translateY(-30px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 82%, transparent 100%);
  }

  .service-features {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .service-comparison {
    margin-top: 34px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-grid {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy .pill {
    order: 1;
    width: fit-content;
  }

  .hero h1 {
    order: 2;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.3rem;
  }

  .hero .lead {
    order: 3;
    margin-top: 0;
  }

  .hero .hero-note {
    order: 4;
    margin-top: -8px;
  }

  .hero-visual {
    order: 5;
  }

  .hero .cta-cluster {
    order: 6;
    margin-top: 0;
  }

  .metric-strip,
  .triad,
  .process-row,
  .support-strip,
  .comparison-mini,
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .case-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 74%);
    grid-template-columns: none;
    gap: 16px;
    margin-inline: -18px;
    padding: 2px 18px 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 18px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .case-grid article {
    scroll-snap-align: start;
  }

  .process-row {
    gap: 52px;
  }

  .pain-heading .pain-lead {
    font-size: 1.75rem;
    line-height: 1.5;
  }

  .pain-heading h2 {
    font-size: 2.15rem;
  }

  .before-after {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-inline: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .before-after-head {
    display: none;
  }

  .comparison-pair {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbfe;
    box-shadow: var(--shadow-soft);
  }

  .comparison-item {
    position: relative;
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 0;
    padding: 46px 16px 18px;
  }

  .comparison-item::before {
    position: absolute;
    top: 12px;
    left: 16px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
  }

  .before-item::before {
    color: #607086;
    background: #edf1f5;
    content: "BEFORE";
  }

  .after-item::before {
    color: #fff;
    background: var(--blue);
    content: "AFTER";
  }

  .comparison-icon {
    width: 52px;
    height: 52px;
    padding: 5px;
  }

  .comparison-item h4 {
    font-size: 16px;
  }

  .comparison-item p {
    font-size: 13px;
  }

  .comparison-arrow {
    width: 34px;
    height: 34px;
    margin-inline: auto;
    font-size: 18px;
  }

  .comparison-arrow {
    font-size: 0;
    transform: none;
  }

  .comparison-arrow::before {
    content: "↓";
    font-size: 20px;
  }

  .pricing-cards article {
    min-height: auto;
  }

  .metric-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-strip article:last-child {
    border-bottom: 0;
  }

  .metric-strip article:nth-of-type(3) {
    border-bottom: 0;
  }

  .process-row article:not(:last-child)::after {
    display: grid;
    place-items: center;
    top: auto;
    right: auto;
    bottom: -42px;
    left: 50%;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    background: var(--blue);
    box-shadow: 0 8px 16px rgba(8, 116, 217, 0.18);
    content: "↓";
    font-size: 18px;
    line-height: 1;
    transform: translateX(-50%);
  }

  .center-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .center-cta .section-actions {
    width: 100%;
  }

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

  .site-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .compare-table {
    min-width: 640px;
  }

}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 460px);
  }

  .brand {
    white-space: normal;
  }

  .brand strong {
    display: none;
  }

  .site-header .brand strong {
    display: block;
    font-size: 12px;
    white-space: nowrap;
  }

  .button {
    width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .solution-copy h2 {
    font-size: clamp(2.35rem, 11.5vw, 3.15rem);
    margin-bottom: 0;
  }

  .solution-visual {
    width: calc(100% + 36px);
    height: 280px;
    min-height: 0;
    margin: -12px -18px -8px;
  }

  .solution-visual img {
    width: 100%;
    height: 330px;
    transform: translateY(-24px);
    filter: saturate(1.05) drop-shadow(0 22px 36px rgba(28, 103, 179, 0.12));
  }

  .service-lead {
    font-size: 15px;
  }

  .service-features {
    margin-top: 20px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 220px;
  }

  .hero-asset {
    width: min(330px, 100%);
    transform: translateX(-3.2%);
  }

  .metric-strip {
    padding: 12px;
  }

  .metric-heading {
    font-size: 1.55rem;
  }

  .metric-strip article {
    min-height: 112px;
    padding: 14px 10px;
  }

  .case-grid strong {
    font-size: clamp(40px, 11vw, 48px);
  }

  .case-grid {
    grid-auto-columns: clamp(288px, calc(100% - 52px), 360px);
    margin-inline: -12px;
    padding-inline: 12px;
    scroll-padding-inline: 12px;
  }

  .metric-strip strong {
    font-size: clamp(3.8rem, 18vw, 5.4rem);
  }

  .metric-strip strong span {
    font-size: 1.35rem;
  }

  .metric-strip p {
    font-size: 16px;
  }

  .section {
    padding: 58px 0;
    scroll-margin-top: 128px;
  }

  .final-cta {
    scroll-margin-top: 128px;
  }

  .flow-cards article,
  .case-grid article,
  .urgency-cards article,
  .pricing-cards article,
  .contact-form {
    padding: 20px;
  }

  .urgency-cards article {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .urgency-visual img {
    aspect-ratio: 16 / 9;
  }

  .proof-result-card {
    padding: 20px;
  }

  .proof-table thead {
    display: none;
  }

  .proof-table,
  .proof-table tbody,
  .proof-table tr,
  .proof-table th,
  .proof-table td {
    display: block;
    width: 100%;
  }

  .proof-table tbody tr {
    padding: 18px 0;
    border-bottom: 1px solid #dcebf8;
  }

  .proof-table tbody tr:first-child {
    padding-top: 0;
  }

  .proof-table tbody tr:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

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

  .proof-table th,
  .proof-table td {
    padding: 0;
  }

  .proof-table tbody th {
    font-size: 15px;
    line-height: 1.55;
  }

  .proof-table tbody td {
    margin-top: 8px;
    font-size: clamp(2.65rem, 15vw, 4rem);
    text-align: left;
  }

  .proof-usage {
    padding: 20px;
  }

  .proof-usage-grid {
    grid-template-columns: 1fr;
  }

  .proof-usage-grid li {
    min-height: 94px;
  }

  .pricing-cards .featured {
    order: -1;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .request-type {
    grid-template-columns: 1fr;
  }

  .contact-actions,
  .section-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}



/* ============================================
   CF7ラッパー透過（このフォーム内に限定）
   ============================================ */

/* CF7が本文を囲む <p> を無効化。
   form直下の label 群が grid/flex の直接アイテムに戻る */
.contact-form > form > p,
.contact-form.wpcf7-form > p {
  display: contents;
}

/* fieldset内の <p>（ラジオを囲む）も透過 */
.contact-form fieldset > p {
  display: contents;
}

/* input/textarea を囲む span.wrap を透過し、
   label の直接子のように振る舞わせる */
.contact-form .wpcf7-form-control-wrap {
  display: contents;
}

/* ラジオの入れ子 span 群を透過。
   各選択肢 (.wpcf7-list-item) は実体を残して整列対象にする */
.contact-form .wpcf7-radio,
.contact-form .wpcf7-radio > .wpcf7-list-item {
  display: contents;
}

/* CF7の <br> を消す（display:contents の <p> 内に残るため） */
.contact-form br {
  display: none;
}

/* 送信中スピナーを非表示（不要な場合） */
.contact-form .wpcf7-spinner {
  display: none;
}

/* エラー/完了メッセージ枠の余白だけ最低限整える（任意） */
.contact-form .wpcf7-response-output {
  margin: 1em 0 0;
}

/* ============================================
   CF7 バリデーションエラー時のレイアウト補正
   ============================================ */

/* --- A. カラムの高さズレ対策 --- */
/* グリッドの各アイテムを上揃えにし、エラー文が増えても
   相方セルの入力欄が下にずれないようにする */
.contact-form {
  align-items: start;
}

/* 各項目のエラー文（入力してください 等）の体裁 */
.contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.3em;
  font-size: 0.85em;
  line-height: 1.4;
}

/* --- B. 下部メッセージ枠を全幅に --- */
.contact-form .wpcf7-response-output {
  grid-column: 1 / -1;   /* 2カラムを横断して全幅に */
  width: auto;
  margin: 1em 0 0;
  padding: 0.7em 1em;
  line-height: 1.6;
  box-sizing: border-box;
}

.contact-form .wpcf7-response-output {
  grid-column: 1 / -1;    /* 全幅（既存） */
  width: auto;
  margin: 1em 0 0;
  padding: 0.7em 1em;
  line-height: 1.6;
  box-sizing: border-box;

  color: #b35900;         /* 白文字を読める濃いオレンジに（要調整） */
}

/* 検証エラー時のみ（オレンジ枠が出ているのはこれ） */
.contact-form .wpcf7-response-output.wpcf7-validation-errors {
  color: #b35900;
}
/* 送信成功メッセージ */
.contact-form .wpcf7-response-output.wpcf7-mail-sent-ok {
  color: #2e7d32; /* 緑系（例） */
}