/* ── Layout balance ── */
.section-inner {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 42rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .section-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}
.section-inner-wide {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 48rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .section-inner-wide { padding-left: 1.5rem; padding-right: 1.5rem; }
}
.section-inner-narrow {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 36rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .section-inner-narrow { padding-left: 1.5rem; padding-right: 1.5rem; }
}
.section-head {
  text-align: center;
}
.section-head p {
  margin-left: auto;
  margin-right: auto;
  max-width: 28rem;
}
.headline-balance {
  text-wrap: balance;
  line-height: 1.35;
}
.lead-balance {
  margin-left: auto;
  margin-right: auto;
  max-width: 22rem;
  text-wrap: pretty;
  line-height: 1.65;
}
@media (min-width: 640px) {
  .lead-balance { max-width: 26rem; }
}
.content-stack {
  margin-left: auto;
  margin-right: auto;
  max-width: 22rem;
}
@media (min-width: 640px) {
  .content-stack { max-width: 36rem; }
}
.card-fit {
  text-align: center;
}
.card-fit .card-fit-body {
  margin-left: auto;
  margin-right: auto;
  max-width: 18rem;
  line-height: 1.55;
}
.reassurance-list {
  margin-left: auto;
  margin-right: auto;
  max-width: 20rem;
}
@media (min-width: 640px) {
  .reassurance-list { max-width: 42rem; }
}
.card-balanced {
  text-align: center;
}
.card-balanced .card-body {
  margin-left: auto;
  margin-right: auto;
  max-width: 20rem;
  text-align: center;
}
.card-split {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  text-align: left;
}
@media (min-width: 640px) {
  .card-split { grid-template-columns: 1fr 1fr; }
}
.card-split-item {
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 0.75rem;
  text-align: center;
}
.quote-balanced {
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
  border-radius: 0.75rem;
  border: 1px solid #f1f5f9;
  background: #fff;
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #334155;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
@media (min-width: 640px) {
  .quote-balanced { font-size: 1rem; padding: 1.125rem 1.5rem; }
}

/* ── Focus & inputs ── */
:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.input-field {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input-field:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}
.input-field.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-color: #2563eb;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.15s, box-shadow 0.2s, transform 0.2s;
}
.btn-primary:hover:not(:disabled) {
  background-color: #1d4ed8;
}
.btn-primary:disabled {
  cursor: not-allowed;
  background-color: #cbd5e1;
  box-shadow: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  transition: border-color 0.15s, background-color 0.15s;
}
.btn-secondary:hover {
  border-color: rgba(37, 99, 235, 0.4);
  background-color: #f8fafc;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-color: #1a2b4a;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.15s, box-shadow 0.2s, transform 0.2s;
}
.btn-navy:hover {
  background-color: #152238;
}

.btn-lg {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  min-height: 3.25rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.btn-primary.btn-lg:hover:not(:disabled) {
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}
.btn-navy.btn-lg {
  box-shadow: 0 4px 14px rgba(26, 43, 74, 0.2);
}

.btn-cta-inverse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: #fff;
  padding: 1rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1a2b4a;
  min-height: 3.25rem;
  transition: background-color 0.15s, box-shadow 0.2s, transform 0.2s;
}
.btn-cta-inverse:hover {
  background: #f1f5f9;
}

.badge-trust {
  display: inline-block;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #334155;
}

.section-compact {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 640px) {
  .section-compact {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}
.section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a2b4a;
}
@media (min-width: 640px) {
  .section-title { font-size: 1.375rem; }
}
.section-sub {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: #64748b;
}
.card-compact {
  border-radius: 0.75rem;
}

.hero-section {
  padding-bottom: 0;
}

/* ── IT診断トップ：コピー＋経験整理図 ── */
.lp-hero__intro {
  display: grid;
  gap: 0.8rem;
  align-items: center;
}
.lp-hero__visual {
  display: none;
}
.lp-value-map {
  border: 1px solid #cfddeb;
  border-radius: 1rem;
  background: linear-gradient(145deg, #ffffff 0%, #f4f8fc 100%);
  padding: 1.25rem;
  text-align: left;
  box-shadow: 0 12px 32px rgba(26, 43, 74, 0.08);
}
.lp-value-map__eyebrow {
  color: #2563eb;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lp-value-map__title {
  margin-top: 0.25rem;
  color: #1a2b4a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}
.lp-value-map__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.lp-value-map__facts span {
  border: 1px solid #d7e3ef;
  border-radius: 9999px;
  background: #fff;
  padding: 0.45rem 0.35rem;
  color: #334155;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}
.lp-value-map__connector {
  display: flex;
  justify-content: center;
  height: 1.7rem;
}
.lp-value-map__connector span {
  position: relative;
  width: 1px;
  height: 1.25rem;
  background: #93b4d5;
}
.lp-value-map__connector span::after {
  position: absolute;
  left: 50%;
  bottom: -0.08rem;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid #2563eb;
  border-bottom: 1.5px solid #2563eb;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}
.lp-value-map__outputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}
.lp-value-map__outputs div {
  min-width: 0;
  border: 1px solid #c9d9ea;
  border-radius: 0.65rem;
  background: #edf5ff;
  padding: 0.65rem 0.45rem;
  text-align: center;
}
.lp-value-map__outputs small,
.lp-value-map__outputs strong {
  display: block;
}
.lp-value-map__outputs small {
  color: #64748b;
  font-size: 0.5625rem;
  line-height: 1.3;
}
.lp-value-map__outputs strong {
  margin-top: 0.12rem;
  color: #1a2b4a;
  font-size: 0.6875rem;
  line-height: 1.35;
}
.lp-value-map figcaption {
  margin-top: 0.7rem;
  color: #64748b;
  font-size: 0.625rem;
  line-height: 1.45;
  text-align: center;
}
.lp-hero__q1 .card {
  border-color: #cbd9e8;
  box-shadow: 0 12px 34px rgba(26, 43, 74, 0.09);
}
@media (min-width: 900px) {
  .lp-home .section-inner-wide {
    max-width: 64rem;
  }
  .lp-hero__intro {
    grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
    gap: 2rem;
    min-height: 15.5rem;
  }
  .lp-hero__copy,
  .lp-hero__copy h1,
  .lp-hero__copy p {
    text-align: left;
  }
  .lp-hero__copy h1,
  .lp-hero__copy .lead-balance,
  .lp-hero__copy ul,
  .lp-hero__copy #hero-cta {
    margin-left: 0;
    margin-right: 0;
  }
  .lp-hero__visual {
    display: block;
    max-width: none;
    margin: 0;
  }
  .lp-value-map {
    min-height: 13.25rem;
  }
}

.lp-home .lp-section-soft {
  border-top: 1px solid #e5edf5;
  background: #f7fafc;
}
.lp-home .lp-section-white {
  border-top: 1px solid #e8eef5;
  background: #fff;
}
.lp-home .lp-section-slate {
  border-top: 1px solid #dfe8f1;
  background: #eef4f7;
}
.lp-home .section-head::before {
  display: block;
  width: 2.25rem;
  height: 0.2rem;
  margin: 0 auto 0.65rem;
  border-radius: 9999px;
  background: #2563eb;
  content: "";
}
.lp-home .section-title {
  letter-spacing: 0.01em;
}
.lp-home .section-sub,
.lp-home .card-fit-body,
.lp-home .guide-axes__p {
  color: #475569;
}
.lp-home .card {
  border-color: #d7e1ec;
  box-shadow: 0 3px 12px rgba(26, 43, 74, 0.055);
}

@media (max-width: 374px) {
  .section-inner,
  .section-inner-wide {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }
  .btn-lg {
    font-size: 0.9375rem;
    padding: 0.9375rem 1rem;
  }
}

/* ── Cards ── */
.card {
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 43, 74, 0.08);
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: #1a2b4a;
  color: white;
  font-size: 0.875rem;
  border-radius: 0 0 0.5rem 0;
}
.skip-link:focus {
  left: 0;
}

.site-header {
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 12px rgba(26, 43, 74, 0.08);
}

.header-consult-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 0.5rem;
  background-color: #1a2b4a;
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.2;
}
.header-consult-btn:hover {
  background-color: #152238;
}
.site-header--consult .header-center {
  padding-left: 5.75rem;
  padding-right: 5.75rem;
}
@media (min-width: 640px) {
  .header-consult-btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
  }
  .site-header--consult .header-center {
    padding-left: 12.5rem;
    padding-right: 12.5rem;
  }
}

.sticky-cta-bar {
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-cta-bar.is-visible {
  transform: translateY(0);
}

.result-sticky-cta {
  box-shadow: 0 -4px 16px rgba(26, 43, 74, 0.06);
}

.result-top-cta .btn-navy {
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  box-shadow: 0 2px 10px rgba(26, 43, 74, 0.12);
}

@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: 0.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes fade-in-up {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes scale-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }
  @keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
  }
  @keyframes progress-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
  }
  @keyframes btn-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35); }
    50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
  }
  @keyframes check-pop {
    0% { transform: scale(0); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
  }

  .animate-fade-in-up { animation: fade-in-up 0.45s ease both; }
  .animate-fade-in { animation: fade-in 0.4s ease both; }
  .animate-scale-in { animation: scale-in 0.5s ease both; }
  .animate-delay-1 { animation-delay: 0.08s; }
  .animate-delay-2 { animation-delay: 0.16s; }
  .animate-delay-3 { animation-delay: 0.24s; }

  .hero-float { animation: hero-float 8s ease-in-out infinite; }
  .hero-float-delayed { animation: hero-float 8s ease-in-out 2s infinite; }

  .progress-bar-fill {
    position: relative;
    overflow: hidden;
  }
  .progress-bar-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: progress-shimmer 2s ease-in-out infinite;
  }

  .option-selected .option-check {
    animation: check-pop 0.3s ease both;
  }

  .question-enter {
    animation: fade-in-up 0.35s ease both;
  }

  .result-reveal {
    animation: scale-in 0.55s ease both;
  }

  /* 注意誘導は最初の数回だけ。無限ループは広告感・疲労の原因になる */
  .btn-primary.btn-pulse:not(:disabled) {
    animation: btn-pulse 1.5s ease-in-out 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-float, .hero-float-delayed,
  .animate-fade-in-up, .animate-fade-in, .animate-scale-in,
  .question-enter, .result-reveal,
  .btn-primary.btn-pulse,
  .skeleton, .progress-bar-fill::after,
  .hero-reveal {
    animation: none !important;
  }
  .card-hover:hover,
  .btn-lift:hover:not(:disabled) { transform: none; box-shadow: inherit; }
  .lp-motion .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .lp-q1-option,
  .option-card {
    transition: none !important;
  }
  .lp-q1-option:active,
  .btn-primary:active:not(:disabled) {
    transform: none !important;
  }
}

/* ── LP motion (no CLS: transform/opacity only, space reserved) ── */
@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-reveal-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-reveal {
    opacity: 0;
    animation: hero-reveal-up 0.55s ease both;
  }
  .hero-reveal-1 { animation-delay: 0.04s; }
  .hero-reveal-2 { animation-delay: 0.12s; }
  .hero-reveal-3 { animation-delay: 0.2s; }
  .hero-reveal-4 { animation-delay: 0.28s; }
  .hero-reveal-5 { animation-delay: 0.36s; }

  .lp-motion .reveal-on-scroll {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: var(--reveal-delay, 0ms);
  }
  .lp-motion .reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: none;
  }

  .btn-lift:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28);
  }
  .btn-cta-inverse.btn-lift:hover:not(:disabled) {
    box-shadow: 0 8px 22px rgba(255, 255, 255, 0.18);
  }
  .btn-navy.btn-lift:hover:not(:disabled) {
    box-shadow: 0 8px 22px rgba(26, 43, 74, 0.28);
  }
}

.sticky-cta-bar.is-near-footer {
  transform: translateY(100%);
  pointer-events: none;
}

/* ── Tap feedback（ホバーの無いモバイル向け） ── */
.btn-primary:active:not(:disabled),
.btn-navy:active,
.btn-cta-inverse:active,
.lp-q1-option:active {
  transform: scale(0.98);
}

/* ── LP embedded Q1 ── */
.lp-q1-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.625rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0.625rem 0.875rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #334155;
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s, transform 0.15s;
}
.lp-q1-option:hover {
  border-color: rgba(37, 99, 235, 0.4);
  background-color: rgba(239, 246, 255, 0.4);
}
.lp-q1-option.is-picked {
  border-color: #2563eb;
  background-color: #eff6ff;
  font-weight: 600;
  color: #1a2b4a;
}
.lp-q1-radio {
  display: flex;
  height: 1rem;
  width: 1rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 2px solid #cbd5e1;
  transition: border-color 0.15s, background-color 0.15s;
}
.lp-q1-option.is-picked .lp-q1-radio,
.lp-q1-option:active .lp-q1-radio {
  border-color: #2563eb;
  background-color: #2563eb;
}

.guide-prose h2 {
  margin-top: 1.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a2b4a;
  overflow-wrap: anywhere;
  scroll-margin-top: 4.5rem;
}
.guide-prose p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #475569;
}
.guide-prose ul {
  margin-top: 0.75rem;
  padding-left: 1.1rem;
}
.guide-prose li {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #475569;
  list-style: disc;
}

.guide-article {
  overflow-x: hidden;
}
.guide-hub {
  overflow-x: hidden;
}
.guide-article__title {
  font-size: 1.375rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
@media (min-width: 640px) {
  .guide-article__title {
    font-size: 1.875rem;
  }
}
.guide-block-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a2b4a;
  overflow-wrap: anywhere;
  scroll-margin-top: 4.5rem;
}
.guide-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.guide-type {
  display: inline-block;
  border-radius: 0.3rem;
  padding: 0.12rem 0.45rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.guide-type-hub {
  background: #1a2b4a;
  color: #fff;
}
.guide-type-article {
  background: #e2e8f0;
  color: #334155;
}
.guide-cat {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.15rem 0.55rem;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}
.guide-cat-ses {
  background: #eff6ff;
  color: #1d4ed8;
}
.guide-cat-sier {
  background: #f1f5f9;
  color: #1a2b4a;
}
.guide-cat-inhouse {
  background: #f0fdfa;
  color: #0f766e;
}
.guide-cat-infra {
  background: #eef2ff;
  color: #3730a3;
}
.guide-cat-support {
  background: #fff7ed;
  color: #b45309;
}
.guide-cat-resume {
  background: #fff7ed;
  color: #9a3412;
}
.guide-cat-lead {
  background: #f5f3ff;
  color: #6d28d9;
}
.guide-cat-pmo {
  background: #ecfeff;
  color: #0e7490;
}
.guide-cat-legacy {
  background: #eff6ff;
  color: #1d4ed8;
}
.guide-cat-foundation {
  background: #f0fdf4;
  color: #15803d;
}
.guide-cat-decision {
  background: #ffe4e6;
  color: #9f1239;
}
.guide-cat-comparison {
  background: #ede9fe;
  color: #6d28d9;
}
.guide-cat-diagnosis-guide {
  background: #dbeafe;
  color: #1d4ed8;
}
.guide-cat-translate {
  background: #f8fafc;
  color: #334155;
}
.guide-index-card {
  display: block;
  position: relative;
  overflow: visible;
}
.guide-index-card__title {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: #1a2b4a;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.guide-index-card__accent {
  display: block;
  height: 4px;
  width: 100%;
  border-radius: 0.75rem 0.75rem 0 0;
}
.guide-cat-bar-ses { background: #2563eb; }
.guide-cat-bar-sier { background: #1a2b4a; }
.guide-cat-bar-inhouse { background: #0f766e; }
.guide-cat-bar-infra { background: #3730a3; }
.guide-cat-bar-support { background: #b45309; }
.guide-cat-bar-resume { background: #c2410c; }
.guide-cat-bar-lead { background: #6d28d9; }
.guide-cat-bar-pmo { background: #0e7490; }
.guide-cat-bar-legacy { background: #1d4ed8; }
.guide-cat-bar-foundation { background: #15803d; }
.guide-cat-bar-decision { background: #be123c; }
.guide-cat-bar-comparison { background: #7c3aed; }
.guide-cat-bar-diagnosis-guide { background: #2563eb; }
.guide-cat-bar-translate { background: #64748b; }

.guide-summary {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 1rem 1.1rem;
}
.guide-summary__h {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a2b4a;
}
.guide-summary__list {
  margin-top: 0.75rem;
}
.guide-summary__list li {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.55rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #334155;
  overflow-wrap: anywhere;
}
.guide-summary__n {
  flex-shrink: 0;
  display: flex;
  height: 1.25rem;
  width: 1.25rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  border-radius: 9999px;
  background: #2563eb;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.guide-toc {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
}
.guide-toc__h {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a2b4a;
}
.guide-toc ol {
  margin-top: 0.5rem;
}
.guide-toc li {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  line-height: 1.65;
}
.guide-toc a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.guide-cta-box {
  margin-top: 2rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 0.75rem;
  padding: 1.1rem 1rem;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}
.guide-cta-box__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2b4a;
  overflow-wrap: anywhere;
}
.guide-cta-box__support {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #475569;
  overflow-wrap: anywhere;
}
.guide-cta-box--consult {
  border-color: rgba(15, 118, 110, 0.28);
  background: #f0fdfa;
}
.guide-cta-box__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  margin-top: 0.65rem;
}
.guide-cta-box__meta li {
  font-size: 12px;
  color: #64748b;
}
.guide-cta-box__btn {
  margin-top: 0.9rem;
  display: inline-flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  white-space: normal;
  line-height: 1.35;
  min-height: 44px;
}
.guide-cta-box__secondary {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin: 0.55rem auto 0;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.75rem;
  color: #1d4ed8;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.guide-cta-box__secondary:hover {
  color: #1e3a8a;
}
.guide-cta-box__btn:focus-visible,
.guide-cta-box__secondary:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}
@media (min-width: 640px) {
  .guide-cta-box__btn {
    width: auto;
    min-width: 16rem;
  }
}

.guide-job-listings {
  margin-top: 2.25rem;
  border: 1px solid #bae6fd;
  border-radius: 1rem;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 42%);
  padding: 1.1rem 1rem;
}
.guide-job-listings__head h2 {
  margin-top: 0.25rem;
}
.guide-job-listings__head > p:last-child {
  margin-top: 0.6rem;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.75;
}
.guide-job-listings__eyebrow {
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.guide-job-listings__grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
.guide-job-card {
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 0.875rem;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.guide-job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.guide-job-card__meta span {
  border-radius: 9999px;
  background: #e0f2fe;
  padding: 0.25rem 0.55rem;
  color: #075985;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.35;
}
.guide-job-card__title {
  margin-top: 0.85rem !important;
  color: #0f172a !important;
  font-size: 1.05rem !important;
  line-height: 1.55;
}
.guide-job-card__company {
  margin-top: 0.3rem !important;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 600;
}
.guide-job-card__facts {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.8rem 0;
}
.guide-job-card__facts div {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.5rem;
}
.guide-job-card__facts dt {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
}
.guide-job-card__facts dd {
  min-width: 0;
  color: #1e293b;
  font-size: 0.8125rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.guide-job-card__facts small {
  display: block;
  margin-top: 0.15rem;
  color: #64748b;
  font-size: 0.6875rem;
}
.guide-job-card__summary {
  margin-top: 0.9rem !important;
  color: #334155;
  font-size: 0.875rem;
  line-height: 1.75;
}
.guide-job-card__columns {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}
.guide-job-card__columns > div {
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 0.8rem;
}
.job-opportunity-details {
  min-width: 0;
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 0.35rem 0.8rem 0.8rem;
}
.job-opportunity-details summary {
  display: flex;
  min-height: 44px;
  cursor: pointer;
  align-items: center;
  color: #1e293b;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
}
.job-opportunity-details summary:focus-visible {
  border-radius: 0.35rem;
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}
.guide-job-card__columns h4 {
  color: #1e293b;
  font-size: 0.8125rem;
  font-weight: 700;
}
.guide-job-card__columns ul {
  margin-top: 0.45rem;
}
.guide-job-card__columns li {
  position: relative;
  margin-top: 0.35rem;
  padding-left: 1rem;
  color: #475569;
  font-size: 0.75rem;
  line-height: 1.65;
}
.guide-job-card__columns li::before {
  position: absolute;
  left: 0;
  content: "・";
  color: #0284c7;
  font-weight: 700;
}
.guide-job-card__note {
  margin-top: 0.85rem !important;
  border-left: 3px solid #0ea5e9;
  background: #f0f9ff;
  padding: 0.7rem 0.8rem;
  color: #334155;
  font-size: 0.75rem;
  line-height: 1.7;
}
.guide-job-card__cta {
  display: flex;
  width: 100%;
  min-height: 44px;
  margin-top: 1rem;
  justify-content: center;
  white-space: normal;
  line-height: 1.4;
}
.guide-job-card__cta:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}
.guide-job-card__consent,
.guide-job-card__source,
.guide-job-listings__notice {
  color: #64748b;
  font-size: 0.6875rem;
  line-height: 1.65;
}
.guide-job-card__consent {
  margin-top: 0.5rem !important;
  text-align: center;
}
.guide-job-card__source {
  margin-top: 0.7rem !important;
  border-top: 1px dashed #cbd5e1;
  padding-top: 0.65rem;
}
.guide-job-listings__notice {
  margin-top: 0.8rem !important;
}
.job-opportunities-module {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (min-width: 640px) {
  .guide-job-listings {
    padding: 1.35rem;
  }
  .guide-job-card {
    padding: 1.25rem;
  }
  .guide-job-card__facts,
  .guide-job-card__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guide-job-card__cta {
    width: fit-content;
    min-width: 17rem;
    margin-right: auto;
    margin-left: auto;
  }
}

.guide-lead {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #475569;
}
.guide-lead p + p {
  margin-top: 0.75rem;
}
.guide-quotes {
  margin: 0.9rem 0;
  border-left: 3px solid #2563eb;
  background: #f8fafc;
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 0.85rem 1rem;
}
.guide-quotes li {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #1a2b4a;
}
.guide-quotes li:first-child {
  margin-top: 0;
}
.guide-quotes li::before {
  content: "「";
}
.guide-quotes li::after {
  content: "」";
}
.guide-prose h3 {
  margin-top: 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1a2b4a;
  overflow-wrap: anywhere;
}
.guide-split {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.1rem;
  align-items: stretch;
}
.guide-split__col {
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 0.85rem 0.9rem;
}
.guide-split__col--after {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.25);
}
.guide-split__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}
.guide-split__col--after .guide-split__label {
  color: #1d4ed8;
}
.guide-split__col ul {
  margin-top: 0.5rem;
  padding-left: 1.05rem;
}
.guide-split__col li {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #334155;
  list-style: disc;
}
.guide-split__arrow {
  display: none;
  margin: 0;
  text-align: center;
  font-size: 1.1rem;
  color: #2563eb;
}
@media (min-width: 640px) {
  .guide-split {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.65rem;
  }
  .guide-split__arrow {
    display: block;
  }
}
.guide-axes {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.1rem;
}
.guide-axes__item {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.85rem 0.9rem;
}
.guide-axes__n {
  margin: 0;
  display: inline-flex;
  height: 1.35rem;
  min-width: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #2563eb;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.guide-axes__h {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2b4a;
}
.guide-axes__p {
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #64748b;
}
@media (min-width: 640px) {
  .guide-axes {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.guide-table-wrap {
  margin-top: 1rem;
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.6;
}
.guide-table th,
.guide-table td {
  border: 1px solid #e2e8f0;
  padding: 0.65rem 0.7rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.guide-table th {
  background: #f8fafc;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a2b4a;
}
.guide-table td {
  color: #334155;
}
@media (max-width: 639px) {
  .guide-table thead {
    display: none;
  }
  .guide-table,
  .guide-table tbody,
  .guide-table tr,
  .guide-table td {
    display: block;
    width: 100%;
  }
  .guide-table tr {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    margin-top: 0.55rem;
    overflow: hidden;
    background: #fff;
  }
  .guide-table td {
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    padding: 0.55rem 0.8rem 0.55rem 0.9rem;
  }
  .guide-table td:last-child {
    border-bottom: 0;
  }
  .guide-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.15rem;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
  }
}
.guide-sources {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.guide-sources li {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: #f8fafc;
}
.guide-sources a {
  display: inline-block;
  color: #0969a8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.guide-sources a:focus-visible {
  border-radius: 0.2rem;
  outline: 3px solid rgba(9, 105, 168, 0.35);
  outline-offset: 3px;
}
.guide-sources span {
  display: block;
  margin-top: 0.25rem;
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.6;
}
.guide-ba {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.85rem 0.9rem;
}
.guide-ba__title {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a2b4a;
}
.guide-ba__grid {
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .guide-ba__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.guide-ba__col {
  min-width: 0;
  border-radius: 0.5rem;
  background: #f8fafc;
  padding: 0.75rem 0.8rem;
}
.guide-ba__col--after {
  background: #eff6ff;
}
.guide-ba__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #64748b;
}
.guide-ba__col--after .guide-ba__label {
  color: #1d4ed8;
}
.guide-ba__text {
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #334155;
  overflow-wrap: anywhere;
}
.guide-check {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
}
.guide-check li {
  position: relative;
  padding-left: 1.35rem;
  margin-top: 0.55rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #334155;
}
.guide-check li:first-child {
  margin-top: 0;
}
.guide-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid #2563eb;
  border-radius: 0.2rem;
}

.guide-related-link {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  overflow-wrap: anywhere;
}
.guide-related-link:hover {
  border-color: rgba(37, 99, 235, 0.3);
}
.guide-author {
  border-top: 1px solid #e2e8f0;
  padding-top: 1.25rem;
}
.guide-note {
  font-size: 0.8rem;
  line-height: 1.7;
  color: #64748b;
}
.guide-crumb {
  overflow-wrap: anywhere;
}

@media (max-width: 420px) {
  .guide-article,
  .guide-index {
    overflow-x: hidden;
  }
}

/* ── Option cards ── */
.option-card {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.option-card:not(.option-selected):hover {
  border-color: rgba(37, 99, 235, 0.4);
  background-color: rgba(239, 246, 255, 0.3);
}
.option-card.option-selected {
  border-color: #2563eb;
  background-color: #eff6ff;
  font-weight: 500;
  color: #1a2b4a;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.12);
}
.option-radio {
  margin-top: 0.125rem;
  display: flex;
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid #cbd5e1;
  transition: border-color 0.15s, background-color 0.15s;
}
.option-selected .option-radio {
  border-color: #2563eb;
  background-color: #2563eb;
}
.consult-bridge__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.consult-bridge__n {
  display: inline-flex;
  height: 1.35rem;
  min-width: 1.35rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #2563eb;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-top: 0.1rem;
}
.consult-bridge__h {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a2b4a;
}
.consult-bridge__p {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #475569;
}
.result-guide-link {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
}
.result-guide-link:hover {
  border-color: rgba(37, 99, 235, 0.35);
}
@media (min-width: 640px) {
  .lp-lens {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .lp-lens {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.landing-ads .js-ads-hide {
  display: none !important;
}

.guide-figure {
  margin: 1.25rem 0 0;
}
.guide-figure__cap {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #64748b;
}
.guide-process {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
}
.guide-process__head,
.guide-process__row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.4fr;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.guide-process__head {
  background: #f8fafc;
  font-weight: 700;
  color: #1a2b4a;
}
.guide-process__row + .guide-process__row {
  border-top: 1px solid #e2e8f0;
}
.guide-fork {
  display: grid;
  gap: 0.75rem;
}
.guide-fork__item {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
}
.guide-fork__from {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}
.guide-fork__arrow {
  margin: 0.15rem 0;
  color: #2563eb;
  font-weight: 700;
}
.guide-fork__to {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a2b4a;
}
.guide-fork__note {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #475569;
}
.guide-resume {
  display: grid;
  gap: 0.75rem;
}
.guide-resume__col {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
}
.guide-resume__col--after {
  border-color: rgba(37, 99, 235, 0.28);
  background: #eff6ff;
}
.guide-resume__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #64748b;
}
.guide-resume__col--after .guide-resume__label {
  color: #2563eb;
}
.guide-resume__text {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #334155;
}
.guide-jobcheck {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
}
.guide-jobcheck li {
  position: relative;
  padding: 0.7rem 0.9rem 0.7rem 2.1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #334155;
}
.guide-jobcheck li + li {
  border-top: 1px solid #e2e8f0;
}
.guide-jobcheck li::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid #2563eb;
  border-radius: 0.2rem;
}
@media (max-width: 639px) {
  .guide-process__head {
    display: none;
  }
  .guide-process__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .guide-process__row span::before {
    content: attr(data-label);
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 0.1rem;
  }
}
@media (min-width: 640px) {
  .guide-fork {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .guide-resume {
    grid-template-columns: 1fr 1fr;
  }
}
@media print {
  .guide-figure,
  .guide-process,
  .guide-fork,
  .guide-resume,
  .guide-jobcheck {
    break-inside: avoid;
  }
  .sticky-cta-bar,
  .result-sticky-cta {
    display: none !important;
  }
}
