/* ==========================================================================
   base
   ========================================================================== */

:root {
  --primary: #16324F;
  --accent: #A97C50;
  --bg: #F5F6F8;
  --white: #FFFFFF;
  --border: #D9DEE4;
  --text: #2B2F36;
  --muted: #6B7280;
  --link: #1F5C99;
  --radius: 6px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 0.5em;
}

h1 {
  font-size: 28px;
  font-weight: 700;
}

h2 {
  font-size: 22px;
  font-weight: 600;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

p {
  margin-bottom: 1em;
}

ul,
ol {
  list-style-position: inside;
  margin-bottom: 1em;
}

/* ==========================================================================
   layout
   ========================================================================== */

.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.brand-link:hover {
  text-decoration: none;
}

.brand-text {
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  border-radius: 1px;
}

.site-nav {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-nav .nav-section {
  display: inline-block;
  vertical-align: top;
  padding: 12px 20px;
}

.nav-heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin-bottom: 4px;
}

.nav-list a {
  display: inline-block;
  padding: 4px 0;
  font-size: 15px;
  color: var(--text);
}

.nav-list a:hover {
  color: var(--link);
}

.nav-list a.is-current {
  color: var(--link);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
}

.site-main {
  min-height: 60vh;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-footer {
  background-color: var(--white);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--link);
}

.back-to-top {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.back-to-top:hover {
  color: var(--link);
}

/* ==========================================================================
   components
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  min-height: 44px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background-color: #1d4168;
  box-shadow: var(--shadow-hover);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background-color: rgba(22, 50, 79, 0.06);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--link);
  border: 1px solid var(--link);
}

.btn-outline:hover {
  background-color: rgba(31, 92, 153, 0.06);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.link-button:hover {
  background-color: #1d4168;
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-hover);
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0 8px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--link);
}

.breadcrumb-sep {
  margin: 0 8px;
  color: var(--muted);
}

.breadcrumb-current {
  color: var(--text);
}

/* Page header */
.page-header {
  padding: 16px 0 8px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25em;
}

.page-description {
  font-size: 16px;
  color: var(--muted);
  max-width: 760px;
}

.page-title-area {
  padding: 0 0 24px;
}

.page-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 760px;
  line-height: 1.7;
}

.page-intro {
  font-size: 17px;
  color: var(--muted);
  max-width: 760px;
  line-height: 1.7;
}

/* Section headings */
.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-bottom: 8px;
}

.section-heading p {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 0;
}

.section-intro {
  color: var(--muted);
  max-width: 720px;
}

.section-note {
  color: var(--muted);
  max-width: 720px;
}

/* Related links */
.related-links {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.related-links-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  margin-right: 8px;
}

.related-links-item {
  font-size: 14px;
  color: var(--link);
  padding: 8px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.related-links-item:hover {
  text-decoration: underline;
}

/* FAQ */
.faq-list {
  max-width: 760px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--muted);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 16px;
}

.faq-answer p {
  margin-bottom: 0.5em;
  color: var(--text);
}

/* ==========================================================================
   pages
   ========================================================================== */

/* ---------- index.html ---------- */

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.hero-content h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
}

.problem-area {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.problem-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s ease;
}

.problem-card:hover {
  box-shadow: var(--shadow-hover);
}

.problem-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 0;
}

.section-link {
  margin-top: 8px;
}

.section-link a {
  font-weight: 600;
  font-size: 15px;
}

.services-grid-area {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
}

.service-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
  flex-grow: 1;
  margin-bottom: 16px;
}

.service-card a {
  font-size: 14px;
  font-weight: 600;
}

.process-preview {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.process-step {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.process-step .step-number {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.process-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

.insights-preview {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.insights-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.insight-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.insight-item:hover {
  box-shadow: var(--shadow-hover);
}

.insight-item figure {
  margin: 0;
}

.insight-item figure img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.insight-item h3 {
  font-size: 16px;
  padding: 16px 20px 8px;
}

.insight-item p {
  font-size: 14px;
  color: var(--muted);
  padding: 0 20px 20px;
  margin: 0;
}

.support-guide {
  padding: 48px 0;
}

.support-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- ahcg/about.html ---------- */

.about-layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 40px;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.intro-copy h2 {
  margin-bottom: 12px;
}

.intro-copy p {
  color: var(--text);
}

.intro-media {
  margin: 0;
}

.intro-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
}

.intro-media figcaption {
  font-size: 13px;
  color: var(--muted);
  padding-top: 8px;
}

.principles-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.principle-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.principle-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.principle-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

.scenarios-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.scenarios-list {
  margin-top: 16px;
}

.scenario-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.scenario-item:last-child {
  border-bottom: none;
}

.scenario-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.3;
}

.scenario-content h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.scenario-content p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.scenario-suggestion {
  font-size: 14px;
  color: var(--text);
}

.next-step-cta {
  padding: 32px 0;
  text-align: left;
}

.next-step-cta h2 {
  margin-bottom: 8px;
}

.next-step-cta p {
  color: var(--muted);
  margin-bottom: 16px;
}

.cta-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- ahcg/services.html ---------- */

.service-overview {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 32px;
  align-items: start;
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--border);
}

.overview-text h2 {
  margin-bottom: 12px;
}

.overview-text p {
  color: var(--muted);
}

.overview-figure {
  margin: 0;
}

.overview-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}

.overview-figure figcaption {
  font-size: 13px;
  color: var(--muted);
  padding-top: 8px;
}

.service-list {
  padding: 32px 0;
}

.section-title {
  margin-bottom: 24px;
}

.service-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}

.service-item-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.service-item-header h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.service-tag {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

.service-item-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-col h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--primary);
}

.service-col p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

.service-guide {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.service-guide h2 {
  margin-bottom: 8px;
}

.service-guide p {
  color: var(--muted);
  margin-bottom: 16px;
}

.guide-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- ahcg/process.html ---------- */

.process-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 40px;
}

.process-overview {
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--border);
}

.process-overview h2 {
  margin-bottom: 12px;
}

.process-overview p {
  color: var(--text);
}

.content-media {
  margin: 16px 0;
}

.content-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
}

.content-media figcaption {
  font-size: 13px;
  color: var(--muted);
  padding-top: 8px;
}

.process-steps {
  padding: 32px 0;
  display: block;
}

.process-steps > h2 {
  margin-bottom: 24px;
}

.process-steps .process-step {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.step-header .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
}

.step-header h3 {
  font-size: 18px;
  margin: 0;
}

.process-step > p {
  font-size: 15px;
  color: var(--muted);
}

.process-step h4 {
  font-size: 14px;
  margin-top: 12px;
  margin-bottom: 8px;
  color: var(--primary);
}

.checkpoint-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checkpoint-list li {
  font-size: 14px;
  color: var(--text);
  padding: 4px 0 4px 20px;
  position: relative;
}

.checkpoint-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}

.checkpoint-summary {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.checkpoint-summary h2 {
  margin-bottom: 8px;
}

.checkpoint-summary > p {
  color: var(--muted);
  margin-bottom: 16px;
}

.checkpoint-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.checkpoint-table th,
.checkpoint-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.checkpoint-table th {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
}

.checkpoint-table tr:last-child td {
  border-bottom: none;
}

.checkpoint-table tr:hover td {
  background-color: rgba(22, 50, 79, 0.03);
}

.start-signals {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.start-signals h2 {
  margin-bottom: 8px;
}

.start-signals > p {
  color: var(--muted);
  margin-bottom: 16px;
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.signal-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.signal-item h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.signal-item p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

.signal-note {
  font-size: 14px;
  color: var(--muted);
}

.cta-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 0;
}

/* ---------- ahcg/support.html ---------- */

.support-intro {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 32px;
  align-items: start;
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--border);
}

.support-intro-text h2 {
  margin-bottom: 12px;
}

.support-intro-text p {
  color: var(--muted);
}

.support-figure {
  margin: 0;
}

.support-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}

.support-figure figcaption {
  font-size: 13px;
  color: var(--muted);
  padding-top: 8px;
}

.faq-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.faq-section h2 {
  margin-bottom: 8px;
}

.faq-section .section-note {
  margin-bottom: 20px;
}

.commitment-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.commitment-section h2 {
  margin-bottom: 8px;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.commitment-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.commitment-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.commitment-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

.guarantee-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.guarantee-section h2 {
  margin-bottom: 8px;
}

.guarantee-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.guarantee-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.guarantee-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.guarantee-item p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

.further-support {
  padding: 32px 0;
}

.further-support h2 {
  margin-bottom: 8px;
}

.further-support > p {
  color: var(--muted);
  margin-bottom: 16px;
}

.support-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.support-link:hover {
  background-color: #1d4168;
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-hover);
}

/* ---------- ahcg/insights.html ---------- */

.insights-layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 40px;
}

.insight-article {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.insight-article:last-of-type {
  border-bottom: none;
}

.article-media {
  margin: 0 0 16px;
}

.article-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
}

.insight-article h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.article-summary {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 12px;
}

.article-body p {
  font-size: 15px;
  color: var(--text);
}

.related-links {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.related-links h2 {
  margin-bottom: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: block;
  transition: box-shadow 0.2s ease;
}

.related-card:hover {
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.related-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text);
}

.related-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

/* ---------- 404.html ---------- */

.error-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.error-content {
  padding: 80px 0;
  text-align: left;
}

.error-code {
  font-size: 64px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.error-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
}

.error-link:first-child {
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.error-link:first-child:hover {
  background-color: #1d4168;
  color: var(--white);
  text-decoration: none;
}

.error-link:last-child {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.error-link:last-child:hover {
  background-color: rgba(22, 50, 79, 0.06);
  text-decoration: none;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-item-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .commitment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guarantee-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    z-index: 99;
    padding: 20px;
    overflow-y: auto;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav .nav-section {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav .nav-section:last-child {
    border-bottom: none;
  }

  .nav-heading {
    font-size: 14px;
  }

  .nav-list a {
    font-size: 16px;
    padding: 6px 0;
  }

  .site-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-figure img {
    height: 220px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .insights-list {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .scenario-item {
    grid-template-columns: 36px 1fr;
  }

  .service-overview {
    grid-template-columns: 1fr;
  }

  .service-item-grid {
    grid-template-columns: 1fr;
  }

  .support-intro {
    grid-template-columns: 1fr;
  }

  .commitment-grid {
    grid-template-columns: 1fr;
  }

  .guarantee-list {
    grid-template-columns: 1fr;
  }

  .signal-list {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .checkpoint-table {
    display: block;
    overflow-x: auto;
  }

  .error-code {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  .inner-main {
    padding: 0 16px;
  }

  .home-main {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .support-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .support-actions .btn {
    width: 100%;
  }

  .cta-links {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-links .btn-primary,
  .cta-links .btn-secondary {
    width: 100%;
  }

  .guide-links {
    flex-direction: column;
    align-items: stretch;
  }

  .guide-links .link-button {
    width: 100%;
  }

  .support-links {
    flex-direction: column;
    align-items: stretch;
  }

  .support-links .support-link {
    width: 100%;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .error-link {
    width: 100%;
  }

  .process-step {
    padding: 20px;
  }

  .service-item {
    padding: 20px;
  }

  .step-header {
    flex-wrap: wrap;
  }

  .checkpoint-table th,
  .checkpoint-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}
