@media (max-width: 800px) {
  .nav-inner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 0;
  }

  .nav-links {
    width: 100%;
    max-width: none;
    overflow: visible;
    flex-wrap: wrap;
    gap: 2px 10px;
    padding-bottom: 0;
  }

  .nav-links a {
    padding: 4px 0;
    font-size: 11px;
  }
}

.nav-links .nav-consultation {
  display: inline-block !important;
  margin-left: 6px;
  padding: 9px 14px;
  border-radius: 8px;
  background: #fff;
  color: #082631;
  font-weight: 800;
  text-decoration: none;
}

.nav-links .nav-consultation:hover,
.nav-links .nav-consultation[aria-current="page"] {
  background: #d8f0f2;
  color: #082631;
  transform: translateY(-1px);
}

.form-card .consent-list {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}

.form-card .consent-list label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.55;
}

.form-card .consent-list input {
  width: auto;
  flex: 0 0 auto;
  margin: 4px 0 0;
}

.form-card .required-mark {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #b72d3d;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  vertical-align: 1px;
}

.form-card .form-error {
  margin: 8px 0 18px;
  color: #b72d3d;
  font-size: 13px;
  font-weight: 700;
}

.form-card .honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-card .form-status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
}

.form-card .form-status.is-success {
  color: #155d46;
  background: #e6f5ee;
  border: 1px solid #a9d8c6;
}

.form-card .form-status.is-error {
  color: #8d2330;
  background: #fbecef;
  border: 1px solid #e7b7bf;
}

.form-card > .button:disabled {
  cursor: wait;
  opacity: .65;
}

.button:hover {
  background: #a9e3e8;
  color: #082631;
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid rgba(137, 212, 220, .55);
  outline-offset: 3px;
}

.button.button-light:hover {
  background: #effaff;
  color: #103343;
}

.button.ghost:hover {
  border-color: #fff;
  background: #174b5e;
  color: #fff;
}

.form-card #consultation-topic-other-detail[hidden] {
  display: none !important;
}

.form-card > .button {
  display: block;
  width: 100%;
  margin-top: 4px;
}

.faq-page {
  padding: 60px 0 80px;
}

.faq-layout {
  display: grid;
  gap: 24px;
}

.faq-intro {
  max-width: 720px;
}

.faq-intro h1 {
  margin: 4px 0 12px;
  font-size: 36px;
  line-height: 1.35;
}

.faq-intro p:last-child {
  color: var(--muted);
}

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

.faq-group-title {
  margin: 26px 0 2px;
  color: var(--navy);
  font-size: 21px;
}

.faq-group-title:first-child {
  margin-top: 0;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  content: '+';
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 24px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 14px;
}

.faq-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  padding: 28px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
}

.faq-contact h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.faq-contact p {
  margin: 0;
  color: #d2e8e9;
  font-size: 14px;
}

.operator-profile {
  margin: 28px 0 38px;
}

.text-link {
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
}

.engagement-principles {
  max-width: 980px;
}

.engagement-principles h2 {
  margin: 4px 0 14px;
}

.engagement-lead {
  max-width: 760px;
  color: var(--muted);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 18px;
}

.principle-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f5faf9;
}

.principle-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.principle-grid p,
.engagement-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.engagement-note {
  max-width: 800px;
}

.profile-page {
  padding: 60px 0 80px;
}

.profile-layout {
  max-width: 900px;
}

.profile-intro {
  max-width: 780px;
  margin-bottom: 42px;
}

.profile-intro h1 {
  margin: 4px 0 14px;
  font-size: 38px;
}

.profile-intro p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.9;
}

.profile-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding: 28px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
}

.profile-cta h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.profile-cta p {
  margin: 0;
  color: #d2e8e9;
  font-size: 14px;
}

@media (max-width: 800px) {
  .nav-links .nav-consultation {
    margin: 3px 0 0;
    padding: 8px 11px;
  }

  .faq-page {
    padding: 42px 0 60px;
  }

  .faq-intro h1 {
    font-size: 30px;
  }

  .faq-contact {
    display: block;
  }

  .faq-contact .button {
    margin-top: 18px;
  }

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

  .profile-page {
    padding: 42px 0 60px;
  }

  .profile-intro h1 {
    font-size: 30px;
  }

  .profile-cta {
    display: block;
  }

  .profile-cta .button {
    margin-top: 18px;
  }
}

/* Service clarity and report preview */
.diagnosis-hero {
  min-height: 610px;
  padding: 82px 0 76px;
  background:
    radial-gradient(circle at 82% 20%, rgba(137, 212, 220, .24), transparent 28%),
    linear-gradient(135deg, var(--deep), var(--navy) 58%, #17545d);
  color: #fff;
}

.diagnosis-hero-inner {
  max-width: 920px;
}

.hero-eyebrow {
  margin: 0 0 14px;
  color: #9fdae0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
}

.diagnosis-hero h1 {
  max-width: 900px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -.025em;
  line-height: 1.3;
}

.diagnosis-hero h1 em {
  color: #aee7eb;
  font-style: normal;
}

.diagnosis-hero-lead {
  max-width: 760px !important;
  margin: 0 0 28px !important;
  color: #d4e9eb !important;
  font-size: 16px !important;
}

.hero-diagnosis-form {
  max-width: 820px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 18px 50px rgba(2, 19, 27, .28);
  backdrop-filter: blur(8px);
}

.hero-diagnosis-form > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-diagnosis-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.hero-diagnosis-control input {
  min-width: 0;
  margin: 0;
  padding: 17px 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

.hero-diagnosis-control input:focus {
  outline: 3px solid rgba(137, 212, 220, .48);
  border-color: #89d4dc;
}

.hero-diagnosis-control button {
  min-width: 190px;
  padding: 15px 20px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: #082631;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  transition: transform .16s ease, background .16s ease;
}

.hero-diagnosis-control button:hover {
  background: #a9e3e8;
  transform: translateY(-1px);
}

.diagnosis-hero .hero-points {
  margin: 18px 0 0;
  color: #e1f1f2;
}

.diagnosis-hero .hero-points li::before {
  background: #89d4dc;
}

.hero-diagnosis-note {
  max-width: 800px !important;
  margin: 12px 0 0 !important;
  color: #abc8cc !important;
  font-size: 11px !important;
}

.hero-sub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 22px;
}

.hero-sub-actions a {
  color: #dff2f3;
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.service-ladder,
.report-preview-grid,
.support-routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-stage.featured {
  border-color: var(--teal);
  box-shadow: 0 14px 34px rgba(8, 38, 49, .12);
}

.service-stage.featured::before {
  content: '詳しく確認';
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
}

.stage-number {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.stage-price {
  margin: 24px 0 4px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 800;
}

.service-stage h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.service-stage > p:not(.stage-price) {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.service-stage a {
  margin-top: auto;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.service-disclaimer {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.diagnosis-categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.diagnosis-categories article {
  padding: 20px 18px;
  border-top: 3px solid var(--teal);
  background: #f5faf9;
}

.diagnosis-categories b {
  color: var(--teal);
  font-size: 12px;
}

.diagnosis-categories h3 {
  margin: 10px 0 8px;
  font-size: 16px;
  line-height: 1.5;
}

.diagnosis-categories p,
.scope-panels p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.scope-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.scope-panels article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.scope-panels h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.report-preview-section {
  background: linear-gradient(140deg, #082631, #103d4c);
  color: #fff;
}

.report-preview-section .eyebrow {
  color: #89d4dc;
}

.report-preview-section .section-lead {
  color: #c7dde0;
}

.report-window {
  min-height: 320px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: #f8fbfb;
  color: var(--ink);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .18);
}

.preview-label {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.preview-score strong {
  color: var(--navy);
  font-size: 64px;
  line-height: 1;
}

.preview-score small {
  color: var(--muted);
  font-weight: 700;
}

.report-window h3 {
  margin: 20px 0 10px;
  font-size: 18px;
  line-height: 1.55;
}

.report-window p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.finding-window p {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.finding-window p:last-child {
  border: 0;
}

.fact-chip,
.analysis-chip,
.action-chip {
  display: block;
  width: fit-content;
  margin-bottom: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
}

.fact-chip { background: #dff1f3; color: #125764; }
.analysis-chip { background: #eee8f1; color: #624c69; }
.action-chip { background: #e8efe3; color: #48613d; }

.roadmap-window ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-window li {
  padding: 14px;
  border-left: 3px solid var(--teal);
  background: #edf5f5;
}

.roadmap-window li b,
.roadmap-window li span {
  display: block;
}

.roadmap-window li b {
  color: var(--teal);
  font-size: 11px;
}

.roadmap-window li span {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 800;
}

.report-preview-actions {
  margin-top: 26px;
  text-align: center;
}

.comparison-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}

.comparison-table th,
.comparison-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.comparison-table thead th {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
}

.comparison-table thead th:first-child {
  text-align: left;
}

.comparison-table thead span {
  color: #aee1e5;
}

.comparison-table tbody th {
  width: 42%;
  text-align: left;
  font-weight: 700;
}

.comparison-table tbody td:last-child {
  background: #f0f8f8;
  color: var(--navy);
  font-weight: 700;
}

.comparison-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
}

.support-routes {
  grid-template-columns: 1fr 1fr;
}

.support-routes article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f5faf9;
}

.support-routes .supported-route {
  background: var(--navy);
  color: #fff;
}

.support-routes article > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.support-routes .supported-route > span {
  color: #89d4dc;
}

.support-routes h3 {
  margin: 10px 0;
  font-size: 24px;
}

.support-routes p,
.support-routes li {
  color: var(--muted);
  font-size: 14px;
}

.support-routes .supported-route p,
.support-routes .supported-route li {
  color: #d2e8e9;
}

.support-routes ul {
  margin: 18px 0 24px;
  padding-left: 20px;
}

.support-routes .button {
  margin-top: 4px;
}

@media (max-width: 900px) {
  .service-ladder,
  .report-preview-grid {
    grid-template-columns: 1fr;
  }

  .service-stage,
  .report-window {
    min-height: auto;
  }

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

@media (max-width: 800px) {
  .diagnosis-hero {
    min-height: 0;
    padding: 54px 0 48px;
  }

  .diagnosis-hero h1 {
    font-size: 38px;
  }

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

  .hero-diagnosis-control button {
    width: 100%;
  }

  .diagnosis-categories,
  .scope-panels,
  .support-routes {
    grid-template-columns: 1fr;
  }

  .comparison-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .comparison-scroll::after {
    content: '横にスクロールして比較できます';
    display: block;
    padding: 8px 14px;
    color: var(--muted);
    font-size: 11px;
  }
}
