:root {
  --color-primary: #003366;
  --color-secondary: #0055cc;
  --color-accent: #00a896;
  --color-accent-2: #00b894;
  --color-bg: #f8f9ff;
  --color-surface: #ffffff;
  --color-border: #d9d9e3;
  --color-text: #1a1a1a;
  --color-muted: #666666;
  --color-footer: #002d66;

  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hero: 0 16px 40px rgba(0, 51, 102, 0.08);

  --header-height: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  margin: 0;
}

.uk-container {
  max-width: var(--container-max);
}

/* =========================
   Header
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 217, 227, 0.8);
}

.site-header .uk-container {
  max-width: 1200px;
  padding-left: 40px;
  padding-right: 40px;
}

.site-header .uk-navbar-container {
  background: transparent;
  border: 0;
  min-height: var(--header-height);
}

.site-header .uk-navbar {
  position: relative;
  min-height: var(--header-height);
  align-items: center;
}

.site-header .uk-navbar-left,
.site-header .uk-navbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-height);
}

.site-header .uk-navbar-center {
  display: flex;
  align-items: center;
  height: var(--header-height);
}

.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-height);
}

.site-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--header-height);
  padding: 0;
  line-height: 1;
  text-decoration: none;
}

.site-logo {
  display: block;
  height: 38px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

/* ナビ本体 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .uk-navbar-nav.site-nav > li {
  position: relative;
}

.site-header .uk-navbar-nav.site-nav > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: var(--header-height);
  height: var(--header-height);
  padding: 0;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}

.site-header .uk-navbar-nav.site-nav > li > a:hover,
.site-header .uk-navbar-nav.site-nav > li.uk-active > a,
.site-header .uk-navbar-nav.site-nav > li > a.is-active {
  color: var(--color-secondary);
}

/* UIkit標準ドロップダウン位置調整 */
.site-header .uk-navbar-dropdown {
  margin-top: 0;
  top: calc(100% - 4px);
  padding: 12px 0;
  min-width: 260px;
  border: 1px solid rgba(217, 217, 227, 0.85);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.site-header .uk-navbar-dropdown-nav > li > a {
  padding: 10px 18px;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.5;
}

.site-header .uk-navbar-dropdown-nav > li > a:hover {
  background: #f5f8ff;
  color: var(--color-secondary);
}

/* 電話 */
.header-tel {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-size: 12px;
  line-height: 1.15;
  white-space: nowrap;
}

.header-tel > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.header-tel-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.15;
}

.header-tel-hours {
  color: var(--color-muted);
  font-size: 11px;
  line-height: 1.15;
  margin-top: 2px;
}

/* ボタン */
.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  min-height: var(--header-height);
}

.header-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 14px;
  line-height: 40px;
}

/* =========================
   Buttons
========================= */
.btn-primary,
.btn-accent,
.btn-secondary,
.btn-light,
.btn-outline-light {
  border-radius: 999px;
  font-weight: 700;
  padding: 0 24px;
  height: 48px;
  line-height: 46px;
  font-size: 14px;
  text-decoration: none;
  box-shadow: none;
  box-sizing: border-box;
}

.btn-primary {
  background: var(--color-secondary);
  color: #fff;
  border: 1px solid var(--color-secondary);
}

.btn-primary:hover {
  background: #0048ab;
  color: #fff;
}

.btn-accent {
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  color: #fff;
  border: none;
}

.btn-accent:hover {
  color: #fff;
  opacity: 0.95;
}

.btn-secondary {
  background: #fff;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}

.btn-secondary:hover {
  color: var(--color-secondary);
  background: #f4f8ff;
}

.btn-light {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid #fff;
}

.btn-light:hover {
  color: var(--color-primary);
  background: #f8fbff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* =========================
   Hero
========================= */
.hero-section {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at left bottom, rgba(0, 168, 150, 0.12), transparent 30%),
    linear-gradient(180deg, #f7f9ff 0%, #f8f9ff 100%);
}

.hero-copy {
  max-width: 560px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
}

.hero-title {
  margin: 0 0 20px;
  font-size: 48px;
  line-height: 1.28;
  font-weight: 700;
  color: var(--color-text);
}

.hero-title .text-accent {
  color: var(--color-accent);
}

.hero-text {
  margin: 0 0 28px;
  color: var(--color-muted);
  font-size: 16px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #dbe4f8;
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 500;
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  background: #fff;
}

.hero-image {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

/* =========================
   Sections
========================= */
.uk-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-soft {
  background: #f4f7fd;
}

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

.section-heading-center h2,
.section-heading-row h2 {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
}

.section-heading-center p,
.section-heading-row p {
  margin: 0;
  color: var(--color-muted);
  font-size: 16px;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
}

/* =========================
   Problem cards
========================= */
.problem-card {
  height: 100%;
  padding: 24px 20px;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid rgba(217, 217, 227, 0.8);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.problem-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: var(--color-secondary);
}

.problem-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--color-text);
}

/* =========================
   Service cards
========================= */
.service-card {
  height: 100%;
  padding: 24px 18px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid rgba(217, 217, 227, 0.75);
  box-shadow: var(--shadow-soft);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: var(--color-secondary);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--color-primary);
}

.service-card p {
  margin: 0;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.75;
}

/* =========================
   Strength cards
========================= */
.strength-card {
  display: flex;
  gap: 14px;
  height: 100%;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid rgba(217, 217, 227, 0.8);
  box-shadow: var(--shadow-soft);
}

.strength-card > span {
  color: var(--color-accent);
  margin-top: 2px;
}

.strength-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}

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

/* =========================
   Flow
========================= */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.flow-step {
  position: relative;
  padding: 28px 20px 24px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid rgba(217, 217, 227, 0.8);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.flow-number {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 999px;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

.flow-step p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* =========================
   CTA
========================= */
.cta-section {
  padding: 0 0 80px;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.cta-copy h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
}

.cta-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* =========================
   Footer
========================= */
.site-footer {
  padding: 64px 0 28px;
  background: var(--color-footer);
  color: rgba(255, 255, 255, 0.9);
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 20px;
}

.footer-copy,
.footer-contact {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

.footer-title {
  margin: 0 0 16px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.footer-list {
  margin: 0;
}

.footer-list li {
  margin: 0 0 10px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.footer-list a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.82);
}

/* =========================
   Chatbot FAB
========================= */
.chatbot-fab-wrap {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.chatbot-label {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 51, 102, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.chatbot-fab {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 85, 204, 0.28);
  cursor: pointer;
}

/* =========================
   Offcanvas
========================= */
.offcanvas-logo {
  margin-bottom: 24px;
}

.offcanvas-nav a {
  color: #fff;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1199px) {
  .site-header .uk-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-nav {
    gap: 20px;
  }

  .site-header .uk-navbar-nav.site-nav > li > a {
    font-size: 14px;
  }

  .hero-title {
    font-size: 42px;
  }

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

@media (max-width: 959px) {
  :root {
    --header-height: 60px;
  }

  .site-header {
    position: static;
  }

  .site-header .uk-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-logo {
    height: 34px;
  }

  .header-tel {
    display: none !important;
  }

  .header-contact-btn {
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
    line-height: 38px;
  }

  .mobile-menu-btn {
    min-height: var(--header-height);
  }

  .hero-section {
    padding: 64px 0 56px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-image {
    height: 360px;
  }

  .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 767px) {
  .uk-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-title {
    font-size: 30px;
    line-height: 1.35;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-image {
    height: 280px;
  }

  .section-heading-center h2,
  .section-heading-row h2,
  .cta-copy h2 {
    font-size: 26px;
  }

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

  .chatbot-fab-wrap {
    right: 16px;
    bottom: 16px;
  }

  .chatbot-fab {
    width: 56px;
    height: 56px;
  }

  .chatbot-label {
    font-size: 11px;
  }

  .header-contact-btn {
    padding: 0 12px;
    font-size: 12px;
  }
}