:root {
  --color-1: #FFFFFF;
  --color-2: #0F4C81;
  --color-3: #A8DADC;
  --color-4: #F1FAEE;
  --color-5: #457B9D;
  --font-display: 'Gugi', system-ui, -apple-system, "Malgun Gothic", sans-serif;
  --font-body: 'Gothic A1', system-ui, -apple-system, "Malgun Gothic", sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--color-1);
  color: #16324a;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--color-2); }
h1 { font-size: 1.9rem; line-height: 1.4; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.05rem; color: var(--color-5); }

.logo { font-family: var(--font-display); color: var(--color-2); text-decoration: none; }
header.site-header { background: var(--color-4); }
header.site-header nav a { text-decoration: none; color: var(--color-2); font-weight: 700; }
.nav-toggle {
  border: none;
  background: var(--color-2);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

/* sticky anchor / progress nav (signature layout) */
.section-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--color-2);
  overflow-x: auto;
}
.section-nav ol {
  display: flex;
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  width: max-content;
  min-width: 100%;
}
.section-nav li {
  counter-increment: step;
  flex: 1 0 auto;
}
.section-nav a {
  display: block;
  padding: 0.7rem 1.1rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.section-nav a::before {
  content: counter(step) ". ";
  font-weight: 700;
  color: var(--color-3);
}
.section-nav a:hover { border-bottom-color: var(--color-3); }

main section[id]:target {
  animation: highlight-in 1.2s ease-out;
}
@keyframes highlight-in {
  from { background: var(--color-3); }
  to { background: transparent; }
}

section.hero { background: var(--color-4); }
.hero p { max-width: 600px; }

.tel-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 2rem;
  background: var(--color-2);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15, 76, 129, 0.25);
}

/* process flow diagram */
.process-diagram .flow {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.process-diagram .flow li {
  background: var(--color-4);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  position: relative;
}
.process-diagram .flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -1.1rem;
  top: 1.5rem;
  color: var(--color-5);
  font-size: 1.3rem;
}
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--color-2);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.process-diagram .flow li h3 { margin: 0.3rem 0; font-size: 1rem; color: var(--color-2); }
.process-diagram .flow li p { margin: 0; font-size: 0.85rem; }

@media (max-width: 900px) {
  .process-diagram .flow { grid-template-columns: 1fr; }
  .process-diagram .flow li:not(:last-child)::after { content: "↓"; right: auto; left: 1.5rem; top: auto; bottom: -1.3rem; }
}

blockquote.review {
  background: var(--color-4);
  border-radius: 12px;
}
blockquote.review cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--color-2);
}

section.related ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
section.related a {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  background: var(--color-4);
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-2);
}

section.cta { background: var(--color-2); color: #fff; }
section.cta .cta-heading { color: #fff; }
section.cta .tel-button { background: #fff; color: var(--color-2); }

footer.site-footer { background: var(--color-4); }

@media (max-width: 360px) {
  .section-nav a { padding: 0.6rem 0.8rem; font-size: 0.78rem; }
}
