/* ============================================================
   Top page — scoped styles
   Palette per spec:
     navy:    #0B2F63
     blue:    #005BAC
     cta:     #0074B8
     tint:    #F3F9FD
     light:   #F6F8FA
     border:  #DDE8F0
============================================================ */

:root {
  --top-navy:   #0B2F63;
  --top-blue:   #005BAC;
  --top-cta:    #0074B8;
  --top-tint:   #F3F9FD;
  --top-light:  #F6F8FA;
  --top-border: #DDE8F0;
  --top-text:   #1F2A44;
  --top-muted:  #5A6885;
}

/* === Top page: force header nav visible at smaller preview widths too === */
@media (min-width: 880px) {
  .top-page .site-header__inner .nav { display: flex !important; }
  .top-page .site-header__inner .nav-cta.header-cta { display: inline-flex !important; }
  .top-page .site-header__inner .mobile-toggle { display: none !important; }
  .top-page .site-header__inner { gap: 20px; padding: 12px 20px; }
  .top-page .site-header__inner .nav { gap: 18px; }
  .top-page .site-header__inner .nav a { font-size: 13.5px; }
  .top-page .site-header__inner .brand__name { font-size: 15.5px; }
  .top-page .site-header__inner .brand__tagline { font-size: 10px; }
  .top-page .site-header__inner .nav-cta.header-cta {
    padding: 10px 18px; font-size: 13px; min-width: 0;
  }
}

/* ---------- Buttons (scoped) ---------- */
.top-hero .btn, .top-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  line-height: 1.2;
  transition: all .18s;
  min-width: 220px;
}
.btn--lg { padding: 17px 34px; font-size: 17px; min-width: 260px; }
.btn--primary {
  background: var(--top-blue);
  color: #fff;
  border: 1.5px solid var(--top-blue);
  box-shadow: 0 4px 10px rgba(0,91,172,0.18);
}
.btn--primary:hover { background: var(--top-cta); border-color: var(--top-cta); transform: translateY(-1px); }
.btn--ghost-blue {
  background: #fff;
  color: var(--top-blue);
  border: 1.5px solid var(--top-blue);
}
.btn--ghost-blue:hover { background: var(--top-tint); }

/* ---------- Hero ---------- */
.top-hero {
  background: linear-gradient(90deg, var(--top-tint) 0%, var(--top-tint) 40%, #EAF3FB 100%);
  border-bottom: 1px solid var(--top-border);
  overflow: hidden;
}
.top-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  min-height: 380px;
  position: relative;
}
.top-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--top-muted);
  margin-bottom: 18px;
  white-space: nowrap;
}
.top-crumb a, .top-crumb span { white-space: nowrap; }
.top-crumb a { color: var(--top-muted); text-decoration: none; }
.top-crumb a:hover { color: var(--top-blue); }
.top-crumb .sep { color: var(--top-border); }
.top-crumb .current { color: var(--top-navy); font-weight: 600; }

.top-hero__title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  color: var(--top-navy);
  letter-spacing: 0.01em;
  line-height: 1.35;
  margin: 0 0 20px;
}
.top-hero__sub {
  font-size: 16px;
  line-height: 1.9;
  color: var(--top-text);
  margin: 0 0 24px;
}
.top-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.top-hero__img {
  position: relative;
  height: 100%;
  min-height: 360px;
  margin-right: calc(-1 * max((100vw - 1200px) / 2, 0px));
}
.top-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.top-hero__img-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--top-tint) 0%,
    rgba(243,249,253,0.6) 12%,
    rgba(243,249,253,0) 30%);
  pointer-events: none;
}

/* ---------- Hero extras (top page) ---------- */
.top-hero__eyebrow {
  display: inline-block;
  font-size: 12.5px;
  color: var(--top-blue);
  background: rgba(0, 91, 172, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.top-hero__note {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--top-muted);
  margin: -10px 0 24px;
}
.top-hero__tags {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.top-hero__tags li {
  font-size: 12px;
  color: var(--top-navy);
  background: #fff;
  border: 1px solid var(--top-border);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.top-hero__tags li::before {
  content: "✓";
  color: var(--top-blue);
  font-weight: 800;
  margin-right: 6px;
}

/* ---------- About: 渡邊商会について ---------- */
.top-about {
  padding: 64px 0 72px;
  background: #fff;
}
.top-about__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.top-about__text .top-sec-head {
  text-align: left;
  margin-bottom: 22px;
}
.top-about__text .top-sec-head h2 {
  font-size: 28px;
  line-height: 1.45;
}
.top-about__text .top-sec-head__line {
  display: block;
  margin-top: 8px;
}
.top-about__text p {
  font-size: 14.5px;
  line-height: 2;
  color: var(--top-text);
  margin: 0 0 16px;
}
.top-about__cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.top-about__card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--top-tint);
  border: 1px solid var(--top-border);
  border-radius: 12px;
}
.top-about__card svg {
  color: var(--top-blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.top-about__card-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--top-navy);
  margin-bottom: 4px;
}
.top-about__card-body {
  font-size: 13px;
  color: var(--top-muted);
  line-height: 1.75;
}

/* ---------- Services lead ---------- */
.top-services__lead {
  text-align: center;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--top-muted);
  margin: -12px auto 32px;
  max-width: 720px;
}

/* ---------- Our capabilities ---------- */
.top-ours {
  padding: 64px 0 72px;
  background: var(--top-tint);
}
.top-ours__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.top-ours__card {
  background: #fff;
  border: 1px solid var(--top-border);
  border-radius: 12px;
  padding: 24px 18px 22px;
  text-align: left;
  transition: transform .18s, box-shadow .18s;
}
.top-ours__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -20px rgba(11,47,99,0.28);
}
.top-ours__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--top-tint);
  color: var(--top-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.top-ours__title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--top-navy);
  margin-bottom: 8px;
}
.top-ours__body {
  font-size: 12.5px;
  color: var(--top-muted);
  line-height: 1.8;
  margin: 0;
}

/* ---------- Cases ---------- */
.top-cases {
  padding: 64px 0 72px;
  background: #fff;
}
.top-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.top-case {
  background: #fff;
  border: 1px solid var(--top-border);
  border-radius: 12px;
  padding: 22px 22px 20px;
  transition: transform .18s, box-shadow .18s;
}
.top-case:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -20px rgba(11,47,99,0.28);
}
.top-case__tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--top-blue);
  background: rgba(0, 91, 172, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.top-case__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--top-navy);
  line-height: 1.55;
  margin-bottom: 10px;
}
.top-case__body {
  font-size: 13px;
  color: var(--top-muted);
  line-height: 1.85;
  margin: 0;
}

/* ---------- FAQ ---------- */
.top-faqs {
  padding: 64px 0 72px;
  background: var(--top-tint);
}
.top-faqs__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.top-faq {
  background: #fff;
  border: 1px solid var(--top-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.top-faq.is-open {
  border-color: rgba(0,91,172,0.4);
  box-shadow: 0 8px 20px -16px rgba(11,47,99,0.32);
}
.top-faq__q {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: none;
  border: 0;
  padding: 18px 20px;
  text-align: left;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--top-navy);
  cursor: pointer;
  line-height: 1.55;
}
.top-faq__qmark,
.top-faq__amark {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}
.top-faq__qmark {
  background: var(--top-blue);
  color: #fff;
}
.top-faq__amark {
  background: var(--top-tint);
  color: var(--top-blue);
}
.top-faq__qtext { flex: 1; }
.top-faq__chev {
  color: var(--top-muted);
  transition: transform .2s;
  flex-shrink: 0;
}
.top-faq.is-open .top-faq__chev { transform: rotate(180deg); color: var(--top-blue); }
.top-faq__a {
  display: flex;
  gap: 14px;
  padding: 0 20px 20px 20px;
  font-size: 13.5px;
  color: var(--top-text);
  line-height: 1.95;
}

/* ---------- Section head ---------- */
.top-sec-head {
  text-align: center;
  margin-bottom: 36px;
}
.top-sec-head h2 {
  font-size: 28px;
  color: var(--top-navy);
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.top-sec-head__line {
  display: inline-block;
  width: 38px;
  height: 2.5px;
  background: var(--top-blue);
  border-radius: 2px;
}

/* ---------- Services ---------- */
.top-services {
  padding: 56px 0 64px;
  background: #fff;
}
.top-svc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.top-svc {
  background: #fff;
  border: 1px solid var(--top-border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.top-svc:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px -22px rgba(11,47,99,0.28);
  border-color: #C4D8EA;
}
.top-svc__img {
  aspect-ratio: 5/3;
  overflow: hidden;
  background: var(--top-light);
}
.top-svc__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.top-svc__body {
  padding: 18px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.top-svc__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--top-navy);
  margin-bottom: 10px;
}
.top-svc__title svg { color: var(--top-blue); }
.top-svc__desc {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--top-muted);
  margin: 0 0 14px;
}
.top-svc__block { margin-bottom: 12px; }
.top-svc__label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--top-navy);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--top-border);
  margin-bottom: 8px;
}
.top-svc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.top-svc li {
  font-size: 13px;
  color: var(--top-text);
  line-height: 1.8;
  padding-left: 12px;
  position: relative;
}
.top-svc li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--top-blue);
}
.top-svc__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--top-border);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--top-navy);
  font-weight: 700;
  transition: background .18s, color .18s, border-color .18s;
}
.top-svc:hover .top-svc__more {
  background: var(--top-blue);
  border-color: var(--top-blue);
  color: #fff;
}
.top-services__foot {
  text-align: center;
  margin-top: 28px;
}
.top-services__foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--top-blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.top-services__foot a:hover { text-decoration: underline; }

/* ---------- Items ---------- */
.top-items {
  padding: 56px 0 64px;
  background: var(--top-tint);
}
.top-items__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.top-item {
  background: #fff;
  border: 1px solid var(--top-border);
  border-radius: 10px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform .18s, box-shadow .18s;
}
.top-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -18px rgba(11,47,99,0.28);
}
.top-item__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--top-tint);
  color: var(--top-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.top-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  display: block;
}
.top-item__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  color: var(--top-navy);
  font-weight: 600;
  line-height: 1.55;
}
.top-items__note {
  text-align: center;
  font-size: 13px;
  color: var(--top-muted);
  margin-top: 22px;
}

/* ---------- Pains ---------- */
.top-pains {
  padding: 56px 0 56px;
  background: #fff;
}
.top-pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.top-pain {
  background: #fff;
  border: 1px solid var(--top-border);
  border-radius: 12px;
  padding: 18px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--top-navy);
  font-weight: 600;
  line-height: 1.7;
}
.top-pain__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--top-tint);
  color: var(--top-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ---------- Compare + Flow ---------- */
.top-compare {
  padding: 56px 0 72px;
  background: #fff;
}
.top-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.top-compare__card {
  background: #fff;
  border: 1px solid var(--top-border);
  border-radius: 12px;
  overflow: hidden;
}
.top-compare__head {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
}
.top-compare__head--ours {
  background: var(--top-blue);
  color: #fff;
}
.top-compare__head--theirs {
  background: var(--top-light);
  color: var(--top-muted);
}
.top-compare__card ul {
  list-style: none;
  padding: 16px 18px;
  margin: 0;
}
.top-compare__card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--top-text);
  line-height: 1.8;
  padding: 9px 0;
  border-bottom: 1px dashed var(--top-border);
}
.top-compare__card li:last-child { border-bottom: none; }
.top-compare__card--theirs li { color: var(--top-muted); }
.top-ok {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,91,172,0.1);
  color: var(--top-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.top-ng {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #EEF1F4;
  color: #9AA6BC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* Flow card */
.top-flow {
  padding: 0;
}
.top-flow__head {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  color: var(--top-navy);
  border-bottom: 1px solid var(--top-border);
  background: #fff;
}
.top-flow ol {
  list-style: none;
  padding: 16px 18px 10px;
  margin: 0;
}
.top-flow li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  position: relative;
}
.top-flow li + li { border-top: 1px dashed var(--top-border); }
.top-flow__n {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--top-blue);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.top-flow__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--top-navy);
  margin-bottom: 2px;
  line-height: 1.4;
}
.top-flow__body {
  font-size: 12.5px;
  color: var(--top-muted);
  line-height: 1.6;
}
.top-flow__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  font-size: 12.5px;
  color: var(--top-blue);
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid var(--top-border);
  background: #FBFDFF;
}
.top-flow__more:hover { background: var(--top-tint); }

/* ---------- CTA Band ---------- */
.top-cta-wrap {
  padding: 48px 0 72px;
  background: #fff;
}
.top-cta {
  background: var(--top-tint);
  border: 1px solid var(--top-border);
  border-radius: 16px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
}
.top-cta__img {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 6px 14px -8px rgba(11,47,99,0.3);
}
.top-cta__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.top-cta__body h3 {
  font-size: 20px;
  color: var(--top-navy);
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.45;
}
.top-cta__body p {
  font-size: 15px;
  color: var(--top-muted);
  margin: 0;
  line-height: 1.85;
}
.top-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.top-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--top-blue);
  text-decoration: none;
  font-weight: 600;
}
.top-cta__link:hover { text-decoration: underline; }

/* Tighten cards so they fit 5 across on slightly smaller viewports */
.top-svc-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
.top-svc__body { padding: 14px 14px 14px; }
.top-svc__title { font-size: 16px; line-height: 1.4; }
.top-svc__desc { font-size: 13px; margin-bottom: 12px; line-height: 1.75; }
.top-svc__label { font-size: 12px; padding-bottom: 6px; margin-bottom: 8px; }
.top-svc li { font-size: 13px; line-height: 1.75; padding-left: 10px; }
.top-svc__more { font-size: 13px; padding: 10px 8px; }
.top-svc__block { margin-bottom: 10px; }
.top-svc__img { aspect-ratio: 5/3.2; }

/* ---------- Responsive ---------- */
/* Force desktop layout above 720px even when preview is narrow */
@media (min-width: 720px) {
  .top-hero__inner { grid-template-columns: 1.05fr 1fr !important; gap: 0 !important; }
  .top-svc-grid { grid-template-columns: repeat(5, 1fr) !important; }
  .top-items__grid { grid-template-columns: repeat(6, 1fr) !important; }
  .top-pain-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .top-compare__grid { grid-template-columns: 1fr 1fr 1fr !important; }
  .top-cta { grid-template-columns: auto 1fr auto !important; }
  .top-about__inner { grid-template-columns: 1.2fr 1fr !important; gap: 56px !important; }
  .top-ours__grid { grid-template-columns: repeat(5, 1fr) !important; }
  .top-cases__grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 720px) {
  .top-svc-grid { grid-template-columns: repeat(2, 1fr); }
  .top-items__grid { grid-template-columns: repeat(3, 1fr); }
  .top-pain-grid { grid-template-columns: repeat(2, 1fr); }
  .top-compare__grid { grid-template-columns: 1fr; }
  .top-hero__inner { grid-template-columns: 1fr; gap: 20px; padding: 20px 24px 36px; }
  /* On mobile/tablet, place hero image ABOVE the text so it's visible in the first viewport */
  .top-hero__text { order: 2; }
  .top-hero__img  { order: 1; min-height: 200px; aspect-ratio: 16 / 10; margin-right: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,40,80,0.06); }
  .top-hero__img-fade { display: none; }
  .top-about__inner { grid-template-columns: 1fr; gap: 28px; }
  .top-ours__grid { grid-template-columns: repeat(2, 1fr); }
  .top-cases__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top-hero__inner { padding: 16px 18px 28px; gap: 16px; }
  .top-hero__img { min-height: 180px; aspect-ratio: 16 / 10; border-radius: 12px; }
  .top-hero__title { font-size: 28px; margin: 4px 0 14px; line-height: 1.4; }
  .top-hero__sub { font-size: 14.5px; line-height: 1.85; margin: 0 0 16px; }
  .top-hero__note { margin: -4px 0 16px; }
  .top-hero__eyebrow { margin: 0 0 12px; }
  .top-sec-head h2, .top-about__text .top-sec-head h2 { font-size: 22px; line-height: 1.45; }
  .top-cta__body h3 { font-size: 18px; }
  .top-svc__title { font-size: 15.5px; }
  .top-hero .btn, .top-cta .btn { font-size: 15.5px; min-width: 0; width: 100%; }
  .top-hero__ctas .btn { min-width: 0; width: 100%; }
  .top-svc-grid { grid-template-columns: 1fr; }
  .top-items__grid { grid-template-columns: repeat(2, 1fr); }
  .top-pain-grid { grid-template-columns: 1fr; }
  .top-cta { grid-template-columns: 1fr; text-align: center; }
  .top-cta__img { margin: 0 auto; }
  .top-cta__actions { align-items: stretch; }
  .top-cta__actions .btn { min-width: 0; width: 100%; }
  .top-ours__grid { grid-template-columns: 1fr; }
  .top-faq__q { font-size: 13.5px; padding: 16px 16px; }
  .top-faq__a { padding: 0 16px 16px; font-size: 13px; }
}

/* ============================================================
   Popeye + Rinavis editorial enhancements (added 2026-05-07)
============================================================ */

/* Editorial typography helpers */
.editorial-eyebrow {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--top-blue);
}
.editorial-num {
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--top-blue);
}
.editorial-quote {
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
  font-style: italic;
}
.font-display {
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.01em;
}

/* Marquee top-bar */
.top-marquee-bar {
  background: var(--top-navy);
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--top-navy);
}
.top-marquee {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  font-weight: 700;
  animation: top-marquee-scroll 60s linear infinite;
}
.top-marquee > span { flex-shrink: 0; }
@keyframes top-marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .top-marquee { animation: none; }
}

/* Hero: editorial header bar */
.top-hero__editorial-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.top-hero__editorial-bar .vol {
  background: var(--top-navy);
  color: #fff;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  padding: 5px 10px;
}
.top-hero__editorial-bar .line {
  flex: 1;
  height: 1px;
  background: var(--top-navy);
}
.top-hero__editorial-bar .year {
  font-family: 'Noto Serif JP', serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--top-muted);
}

/* Trust numbers (Rinavis-style) */
.top-trust-numbers {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--top-border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.top-trust-numbers__item {
  text-align: center;
  padding: 0 14px;
}
.top-trust-numbers__item + .top-trust-numbers__item {
  border-left: 1px solid var(--top-border);
}
.top-trust-numbers__eb {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--top-blue);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.top-trust-numbers__num {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: var(--top-navy);
}
.top-trust-numbers__num .suf {
  font-size: 14px;
  margin-left: 2px;
}
.top-trust-numbers__lbl {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--top-muted);
}
@media (max-width: 720px) {
  .top-trust-numbers { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .top-trust-numbers__item { padding: 8px 8px; }
  .top-trust-numbers__item + .top-trust-numbers__item:nth-child(2n+1) { border-left: 0; border-top: 1px solid var(--top-border); padding-top: 16px; }
  .top-trust-numbers__num { font-size: 26px; }
}

/* Photo caption (Popeye-like) */
.top-hero__photo-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 240px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(4px);
  padding: 12px 14px;
  border-left: 2px solid var(--top-blue);
  box-shadow: 0 4px 12px rgba(0,30,60,0.1);
  z-index: 2;
}
.top-hero__photo-caption .eb {
  font-size: 9.5px;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--top-blue);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.top-hero__photo-caption .qt {
  font-family: 'Noto Serif JP', serif;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--top-text);
  margin: 0;
}
.top-hero__photo-caption .src {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--top-border);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--top-muted);
}
@media (max-width: 720px) {
  .top-hero__photo-caption { max-width: 200px; right: 12px; bottom: 12px; padding: 10px 12px; }
}

/* Side rail (Popeye magazine vertical text) */
.top-hero__siderail {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--top-muted);
  z-index: 1;
}
.top-hero__siderail .vert {
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--top-blue);
  text-transform: uppercase;
}
.top-hero__siderail .rule {
  width: 1px;
  height: 80px;
  background: var(--top-border);
}
.top-hero__siderail .est {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--top-blue);
  text-align: center;
  line-height: 1.4;
}
@media (max-width: 1100px) {
  .top-hero__siderail { display: none; }
}

/* Scroll indicator */
.top-hero__scroll {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--top-muted);
  font-size: 9px;
  letter-spacing: 0.28em;
  font-weight: 700;
  z-index: 1;
  animation: top-hero-bounce 1.8s ease-in-out infinite;
}
@keyframes top-hero-bounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50%      { transform: translate(-50%, 5px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .top-hero__scroll { animation: none; }
}
@media (max-width: 720px) {
  .top-hero__scroll { display: none; }
}

/* Editorial section markers (used near section heads) */
.top-section-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.top-section-marker .num {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--top-blue);
}
.top-section-marker .rule {
  width: 36px;
  height: 1px;
  background: var(--top-navy);
}
.top-section-marker .eb {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--top-blue);
}

/* Slide-in entrance animations for hero */
@keyframes top-slide-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.top-slide-in-1 { animation: top-slide-in-up 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.1s backwards; }
.top-slide-in-2 { animation: top-slide-in-up 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.25s backwards; }
.top-slide-in-3 { animation: top-slide-in-up 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards; }
.top-slide-in-4 { animation: top-slide-in-up 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.55s backwards; }
@media (prefers-reduced-motion: reduce) {
  .top-slide-in-1, .top-slide-in-2, .top-slide-in-3, .top-slide-in-4 { animation: none; }
}

/* Subtle accent underline for hero title */
.top-hero__title .accent-underline {
  position: relative;
  display: inline-block;
}
.top-hero__title .accent-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 8px;
  background: rgba(0, 91, 172, 0.12);
  z-index: -1;
}

/* Hero image: parallax-ready */
.top-hero__img { position: relative; }
.top-hero__img img { transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.top-hero:hover .top-hero__img img { transform: scale(1.02); }

/* ============================================================
   Unified site footer (matches personal LP brand footer)
============================================================ */
.site-footer-unified {
  position: relative;
  background: #162741; /* softnavy-900 */
  color: #FBF8F1;      /* ivory-50 */
  overflow: hidden;
}
.site-footer-unified__wave {
  position: absolute; top: 0; left: 0; right: 0;
  width: 100%; height: 24px;
  opacity: 0.3;
  pointer-events: none;
}
.site-footer-unified::before, .site-footer-unified::after {
  content: ""; position: absolute; pointer-events: none; opacity: 0.18;
  width: 360px; height: 360px; border-radius: 50%;
}
.site-footer-unified::before {
  top: -120px; right: -100px;
  background: radial-gradient(circle, #DDEBE3 0%, transparent 70%);
}
.site-footer-unified::after {
  bottom: -120px; left: -100px;
  background: radial-gradient(circle, #B5D5E5 0%, transparent 70%);
}
.site-footer-unified__inner {
  position: relative;
  padding: 56px 24px 24px;
}
.site-footer-unified__statement {
  max-width: 640px;
  margin-bottom: 56px;
}
.site-footer-unified__statement .site-footer-unified__eb {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.site-footer-unified__statement .site-footer-unified__eb span:first-child {
  font-size: 10.5px; letter-spacing: 0.28em; font-weight: 700;
  color: #B5D5E5; text-transform: uppercase;
}
.site-footer-unified__statement .site-footer-unified__eb .rule {
  flex: 1; height: 1px; background: rgba(255,255,255,0.2);
}
.site-footer-unified__statement h2 {
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.6;
  color: #FBF8F1;
  letter-spacing: 0.01em;
  margin: 0;
}
.site-footer-unified__statement h2 .hl { color: #B5D5E5; }

.site-footer-unified__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 880px) {
  .site-footer-unified__grid { grid-template-columns: 1fr; gap: 32px; }
}

.site-footer-unified__lede {
  font-size: 12.5px;
  line-height: 2.05;
  color: rgba(255,255,255,0.78);
  margin: 18px 0 24px;
}
.site-footer-unified__contact { display: flex; flex-direction: column; gap: 12px; }
.site-footer-unified__contact .row {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px; color: rgba(255,255,255,0.85);
}
.site-footer-unified__contact .row > svg {
  margin-top: 2px; color: #B5D5E5; flex-shrink: 0;
}
.site-footer-unified__contact .muted {
  font-size: 10.5px; color: rgba(255,255,255,0.55); letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.site-footer-unified__contact .phone {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: #FBF8F1;
  text-decoration: none;
}
.site-footer-unified__contact .phone:hover { color: #B5D5E5; }
.site-footer-unified__contact .email a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer-unified__contact .email a:hover { color: #B5D5E5; }

.site-footer-unified__cta {
  margin-top: 24px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.site-footer-unified__cta a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.site-footer-unified__cta .btn-line { background: #06C755; color: #fff; }
.site-footer-unified__cta .btn-line:hover { background: #04A046; }
.site-footer-unified__cta .btn-aqua { background: #5FA5C2; color: #fff; }
.site-footer-unified__cta .btn-aqua:hover { background: rgba(95,165,194,0.92); }

.site-footer-unified__hd {
  display: flex; align-items: center; gap: 8px; margin-bottom: 18px;
}
.site-footer-unified__hd .eb {
  font-size: 9.5px; letter-spacing: 0.28em; font-weight: 700;
  color: #B5D5E5; text-transform: uppercase;
}
.site-footer-unified__hd .eb.mint { color: #BCD7C7; }
.site-footer-unified__hd .rule {
  flex: 1; height: 1px; background: rgba(255,255,255,0.15);
}
.site-footer-unified__grid .title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 14px;
  color: #FBF8F1;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.site-footer-unified__grid .links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.site-footer-unified__grid .links a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.site-footer-unified__grid .links a::before {
  content: "›";
  color: rgba(255,255,255,0.4);
  font-weight: 700;
  transition: color 0.2s, transform 0.2s;
}
.site-footer-unified__grid .links a:hover { color: #B5D5E5; }
.site-footer-unified__grid .links a:hover::before { color: #B5D5E5; transform: translateX(2px); }

.btn-personal {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em;
  color: #FBF8F1; text-decoration: none;
  transition: all 0.2s;
}
.btn-personal:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }

.site-footer-unified__bottom {
  padding-top: 32px;
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .site-footer-unified__bottom { flex-direction: column; align-items: flex-start; }
}
.site-footer-unified__bottom .cname {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 14px;
  color: #FBF8F1;
}
.site-footer-unified__bottom .cname-en {
  font-size: 10.5px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}
.site-footer-unified__bottom .legal {
  display: flex; flex-wrap: wrap; gap: 18px;
  list-style: none; padding: 0; margin: 0;
  font-size: 11.5px;
}
.site-footer-unified__bottom .legal a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer-unified__bottom .legal a:hover { color: #FBF8F1; }

.site-footer-unified__copy {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 24px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
}

/* Hide old footer styles on this site */
.site-footer { display: none; }