:root {
  --navy: #143a5a;
  --blue: #1c4e77;
  --blue-light: #eef4f8;
  --blue-pale: #f4f8fb;
  --line-green: #06c755;
  --ink: #1f2d3a;
  --muted: #5b6b78;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(20, 58, 90, 0.12);
  --header-h: 60px;
  --header-h-shrunk: 54px;
  --bottombar-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.8;
  padding-bottom: var(--bottombar-h);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 1px solid transparent;
}
#site-header.is-shrunk {
  height: var(--header-h-shrunk);
  box-shadow: 0 2px 14px rgba(20, 58, 90, 0.15);
}
.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
}
.brand-icon {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: width 0.25s ease, height 0.25s ease;
}
#site-header.is-shrunk .brand-icon { width: 26px; height: 26px; font-size: 15px; }

.menu-toggle {
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex: none;
}
.menu-toggle .icon-bars,
.menu-toggle .icon-close { font-size: 28px; line-height: 1; }
.menu-toggle .icon-close { display: none; }
body.menu-open .menu-toggle .icon-bars { display: none; }
body.menu-open .menu-toggle .icon-close { display: block; }

/* ---------- Full-screen overlay menu ---------- */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
body.menu-open #mobile-menu { transform: translateY(0); }
.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.menu-head .brand { color: var(--white); }
.menu-close {
  width: 48px; height: 48px; border: none; background: transparent;
  color: var(--white); font-size: 26px;
}
.menu-list { list-style: none; margin: 0; padding: 8px 0; }
.menu-list li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.menu-list a .en-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
}
.menu-contact {
  padding: 20px;
  border-top: 8px solid rgba(255,255,255,0.08);
}
.menu-phone {
  display: block;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.menu-hours {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}
.menu-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}
.menu-cta-btn.line { background: var(--line-green); color: var(--white); }
.menu-cta-btn.mail { background: var(--white); color: var(--navy); }

/* ---------- Bottom fixed CTA bar ---------- */
#bottom-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  height: var(--bottombar-h);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
#bottom-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 600;
}
#bottom-bar .bb-tel { background: var(--white); color: var(--navy); }
#bottom-bar .bb-line { background: var(--line-green); color: var(--white); }
#bottom-bar .bb-form { background: var(--white); color: var(--navy); border-left: 1px solid #eee; }
#bottom-bar .material-symbols-outlined { font-size: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero img { width: 100%; height: 440px; object-fit: cover; filter: brightness(0.62); }
.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 28px 20px; }
.hero-eyebrow { font-size: 12px; letter-spacing: 0.2em; opacity: 0.85; margin-bottom: 10px; }
.hero-title { font-size: 30px; font-weight: 700; line-height: 1.5; margin: 0 0 14px; }
.hero-desc { font-size: 15px; line-height: 1.9; opacity: 0.95; margin-bottom: 20px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; font-size: 13px; }
.hero-badges span { background: rgba(255,255,255,0.15); padding: 6px 12px; border-radius: 999px; }
.hero-ctas { display: flex; flex-direction: column; gap: 10px; }
.btn { display: block; text-align: center; padding: 16px; border-radius: 999px; font-weight: 700; font-size: 16px; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-outline { background: rgba(255,255,255,0.1); color: var(--white); border: 1.5px solid rgba(255,255,255,0.7); }
.page-hero { position: relative; color: var(--white); }
.page-hero img { width: 100%; height: 220px; object-fit: cover; filter: brightness(0.55); }
.page-hero-title { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; font-size: 24px; font-weight: 700; }

/* ---------- Sections ---------- */
section { padding: 48px 0; }
.section-title { font-size: 22px; font-weight: 700; color: var(--navy); text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 28px; letter-spacing: 0.08em; }
.bg-pale { background: var(--blue-pale); }

/* plan cards */
.plan-card {
  background: var(--white);
  border: 1px solid #e3eaf0;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.plan-card h3 { margin: 0 0 4px; color: var(--navy); font-size: 17px; }
.plan-card .subtitle { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.plan-card .price { font-size: 22px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.plan-card p { margin: 0; font-size: 14.5px; color: var(--ink); }

/* testimonials */
.testi-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 14px; }
.testi-card .area { font-weight: 700; color: var(--navy); font-size: 13.5px; margin-bottom: 8px; }
.testi-card p { margin: 0; font-size: 14.5px; }

/* why-us */
.why-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #e9eef2; }
.why-item .num { font-size: 20px; font-weight: 800; color: var(--blue-light); -webkit-text-stroke: 1px var(--blue); color: transparent; flex: none; width: 40px; }
.why-item .txt h4 { margin: 0 0 6px; color: var(--navy); font-size: 15.5px; }
.why-item .txt p { margin: 0; font-size: 14px; color: var(--muted); }

/* inline CTA block (between sections) */
.inline-cta {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  margin: 0 20px 36px;
}
.inline-cta p { margin: 0 0 14px; font-size: 14.5px; color: var(--navy); font-weight: 600; }
.inline-cta .row { display: flex; gap: 10px; }
.inline-cta .row a { flex: 1; padding: 13px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.inline-cta .line { background: var(--line-green); color: var(--white); }
.inline-cta .form { background: var(--navy); color: var(--white); }

/* generic content blocks */
.step-card { display: flex; gap: 14px; margin-bottom: 20px; }
.step-card .n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.step-card h4 { margin: 0 0 6px; color: var(--navy); font-size: 15.5px; }
.step-card p { margin: 0; font-size: 14px; color: var(--muted); }

.faq-item { border-bottom: 1px solid #e9eef2; padding: 16px 0; }
.faq-item .q { font-weight: 700; color: var(--navy); font-size: 15px; margin-bottom: 8px; display: flex; gap: 8px; }
.faq-item .q::before { content: "Q"; color: var(--blue); }
.faq-item .a { font-size: 14px; color: var(--ink); display: flex; gap: 8px; }
.faq-item .a::before { content: "A"; color: var(--muted); flex: none; }

.area-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 10px; }
.area-table th, .area-table td { border: 1px solid #e3eaf0; padding: 10px 8px; text-align: left; vertical-align: top; }
.area-table th { background: var(--blue-light); color: var(--navy); }

.news-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #e9eef2; }
.news-item .date { flex: none; color: var(--muted); font-size: 13px; width: 90px; }
.news-item .title { font-size: 14.5px; }

.urgent-card {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 22px;
  margin: 24px 20px;
  text-align: center;
}
.urgent-card h4 { color: var(--navy); margin: 0 0 8px; font-size: 15px; }
.urgent-card p { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }
.urgent-card .phone { font-size: 24px; font-weight: 800; color: var(--navy); display: block; margin-bottom: 10px; }

/* ---------- Footer ---------- */
#site-footer { background: var(--blue-light); padding: 40px 0 24px; }
.footer-company { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.footer-company .name { font-weight: 700; color: var(--navy); font-size: 15px; margin-bottom: 6px; }
.footer-requests { font-size: 12.5px; color: var(--muted); margin-bottom: 24px; }
.footer-requests li { margin-bottom: 6px; }
.footer-links { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; }
.footer-links li a { display: block; text-align: center; padding: 10px 0; font-size: 14.5px; color: var(--navy); font-weight: 600; }
.footer-links li.group-gap { margin-top: 18px; }
.footer-bottom { text-align: center; font-size: 12px; color: var(--muted); }
.footer-bottom a { text-decoration: underline; }

/* contact form */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 8px; }
.form-field input[type=text], .form-field input[type=email], .form-field input[type=tel], .form-field textarea {
  width: 100%; padding: 14px; border: 1px solid #d6dfe6; border-radius: 10px; font-size: 15px; font-family: inherit;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.radio-group label, .checkbox-group label { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-weight: 400; font-size: 14.5px; }
.form-submit { width: 100%; padding: 16px; border: none; border-radius: 999px; background: var(--navy); color: var(--white); font-weight: 700; font-size: 16px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 8px; }
.form-success { background: #e8f6ec; color: #1f7a3d; padding: 16px; border-radius: 10px; text-align: center; font-weight: 700; }
.form-error { background: #fdeaea; color: #b42318; padding: 16px; border-radius: 10px; text-align: center; font-weight: 700; }

@media (min-width: 760px) {
  .hero-title { font-size: 40px; }
  .hero img { height: 540px; }
  .inline-cta .row { max-width: 420px; margin: 0 auto; }
}
