/* ─── Design Tokens ─── */
:root {
  --navy:      #00358F;
  --navy-dark: #002268;
  --navy-mid:  #1a4da3;
  --accent:    #68A0FF;
  --yellow:    #F9DB00;
  --text:      #2D3A3A;
  --text-sub:  #6B7280;
  --bg:        #F8FAFC;
  --white:     #FFFFFF;
  --border:    #E2E8F0;
  --max-w:        1200px;
  --px:           80px;
  --container-w:  min(1100px, 92vw);
  --radius:    8px;

  /* Legacy aliases for service-page compatibility */
  --primary:      #00358F;
  --primary-deep: #002268;
  --ink:          #2D3A3A;
  --ink-dim:      rgba(45,58,58,.75);
  --card-bg:      #F8FAFC;

  /* Subpage hero */
  --subpage-hero-bg-img:     url('../images/subpage-hero-bg.png');
  --sp-subpage-hero-bg-img:  url('../images/subpage-hero-bg-sp.png');
  --subpage-hero-height:     115px;
  --sp-subpage-hero-height:  115px;
  --subpage-hero-bg-size:    cover;
  --subpage-hero-bg-pos:     center;
  --sp-subpage-hero-bg-size: cover;
  --sp-subpage-hero-bg-pos:  center;
  --subpage-hero-opacity:    1;
  --breadcrumb-size:         18px;
  --sp-breadcrumb-size:      16px;

  /* Global background mask */
  --mask-bg-width:              113vw;
  --mask-bg-height:             76vw;
  --mask-bg-top:                -64vw;
  --mask-bg-left:               -34.8vw;
  --mask-bg-rotate:             -13deg;
  --mask-bg-opacity:            0.85;
  --mask-bg-container-height:   1000px;
  --sp-mask-bg-width:           163vw;
  --sp-mask-bg-height:          66vw;
  --sp-mask-bg-top:             -46vw;
  --sp-mask-bg-left:            -44.8vw;
  --sp-mask-bg-rotate:          -43deg;
  --sp-mask-bg-opacity:         0.85;
  --sp-mask-bg-container-height: 800px;

  /* Header vars (used by responsive overrides) */
  --header-logo-height:    42px;
  --sp-header-logo-height: 36px;
  --header-padding-y:      0px;
  --sp-header-padding-y:   0px;
  --sp-header-logo-px:     0px;
  --sp-hamburger-width:    24px;
  --sp-hamburger-height:   2px;
  --sp-hamburger-gap:      5px;
  --sp-hamburger-pr:       0px;
  --logo-split-point:      83%;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { width: 100%; overflow-x: hidden; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Skip Link ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ─── Focus Visible ─── */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
a:focus-visible,
button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ─── Site Shell ─── */
.site-shell {
  width: 100%;
  padding-top: 72px;
  background: var(--white);
  overflow-x: clip;
}

/* ─── WP Admin Bar 補正 ─── */
/* html { margin-top: 32px } でコンテンツは自動的に下がるため
   固定ヘッダーの top 値だけ補正すれば十分 */
.admin-bar .main-header { top: 32px; }

@media screen and (max-width: 782px) {
  .admin-bar .main-header { top: 46px; }
}

/* ─── Utilities ─── */
.sp-br { display: none; }
.pc-br { display: inline; }
@media (max-width: 900px) {
  .sp-br { display: block; }
  .pc-br { display: none; }
  .site-shell { padding-top: 72px; }
}

/* ══════════════════════════════════════
   SUBPAGE HERO
══════════════════════════════════════ */
.subpage-hero {
  position: relative;
  z-index: 10;
  min-height: var(--subpage-hero-height);
  background-image: var(--subpage-hero-bg-img);
  background-size: var(--subpage-hero-bg-size);
  background-position: var(--subpage-hero-bg-pos);
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255,255,255,.4);
  margin-top: -1px;
}

.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(169,176,194,.4) 0%, rgba(157,168,191,.4) 100%);
  z-index: -1;
  opacity: var(--subpage-hero-opacity);
}

.subpage-hero-inner {
  width: var(--container-w);
  margin: 0 auto;
  box-sizing: border-box;
  min-height: var(--subpage-hero-height);
  display: flex;
  align-items: center;
}

.subpage-breadcrumb {
  font-size: var(--breadcrumb-size);
  color: #273447;
  font-weight: 700;
}

@media (max-width: 900px) {
  .subpage-hero {
    min-height: var(--sp-subpage-hero-height);
    background-image: var(--sp-subpage-hero-bg-img);
    background-size: var(--sp-subpage-hero-bg-size);
    background-position: var(--sp-subpage-hero-bg-pos);
  }
  .subpage-hero-inner {
    min-height: var(--sp-subpage-hero-height);
  }
  .subpage-breadcrumb { font-size: var(--sp-breadcrumb-size); }
}

/* ══════════════════════════════════════
   GLOBAL BACKGROUND MASK (service pages)
══════════════════════════════════════ */
.global-header-mask,
.bpo-header-mask,
.cocreate-header-mask,
.venous-header-mask {
  position: absolute;
  width: 100%;
  height: var(--mask-bg-container-height);
  top: 0; left: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.global-header-mask::before,
.bpo-header-mask::before,
.cocreate-header-mask::before,
.venous-header-mask::before {
  content: "";
  position: absolute;
  width: var(--mask-bg-width);
  height: var(--mask-bg-height);
  top: var(--mask-bg-top);
  left: var(--mask-bg-left);
  transform-origin: center center;
  transform: rotate(var(--mask-bg-rotate));
  background: url('../images/bpo-mask-bg.png') no-repeat center/cover;
  opacity: var(--mask-bg-opacity);
}

@media (max-width: 900px) {
  .global-header-mask,
  .bpo-header-mask,
  .cocreate-header-mask,
  .venous-header-mask { height: var(--sp-mask-bg-container-height); }

  .global-header-mask::before,
  .bpo-header-mask::before,
  .cocreate-header-mask::before,
  .venous-header-mask::before {
    width: var(--sp-mask-bg-width);
    height: var(--sp-mask-bg-height);
    top: var(--sp-mask-bg-top);
    left: var(--sp-mask-bg-left);
    transform: rotate(var(--sp-mask-bg-rotate));
    opacity: var(--sp-mask-bg-opacity);
  }
}

/* ══════════════════════════════════════
   COMMON SERVICE PAGE LAYOUT
══════════════════════════════════════ */
.service-page,
.vbx-page,
.ccs-page,
.bpo-page {
  position: relative;
  background: #F8FAFC;
  color: #1f2a3c;
  overflow: hidden;
}

.service-intro,
.vbx-intro,
.ccs-intro {
  position: relative;
  text-align: left;
  padding: 92px 0 104px;
  width: var(--container-w);
  margin: 0 auto;
  box-sizing: border-box;
}

.service-intro::before,
.vbx-intro::before,
.ccs-intro::before { display: none !important; }

.service-title,
.vbx-title,
.ccs-title {
  position: relative;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: .01em;
  text-align: left;
}

.service-lead,
.vbx-lead,
.ccs-lead {
  position: relative;
  margin: 26px 0 0;
  width: auto;
  font-size: clamp(20px, 1.25vw, 24px);
  line-height: 1.55;
  text-align: left;
}

/* ─── Services Grid ─── */
.service-services,
.vbx-services,
.ccs-services { padding: 0 0 26px; }

.service-services-inner,
.vbx-services-inner,
.ccs-services-inner {
  width: min(1320px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.service-card,
.vbx-service-card,
.ccs-service-card {
  background: #d4dfef;
  padding: 0 14px 14px;
}

.service-card-title,
.vbx-service-title,
.ccs-service-title {
  height: 48px;
  margin: 0 auto;
  width: min(1060px, 96%);
  border-radius: 6px;
  background: #0a46a6;
  color: #fff;
  font-size: clamp(28px, 2.05vw, 34px);
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-12px);
}

.service-card-body,
.vbx-service-body,
.ccs-service-body {
  padding: 12px 26px 8px;
  display: grid;
  grid-template-columns: 330px 1fr;
  align-items: center;
  gap: 20px;
}

.service-image,
.vbx-service-image,
.ccs-service-image {
  width: 330px;
  aspect-ratio: 1.75;
  border: 1px solid rgba(39,58,90,.14);
  background-size: cover;
  background-position: center;
}

.service-copy,
.vbx-service-copy,
.ccs-service-copy {
  font-size: clamp(16px, 1.18vw, 22px);
  line-height: 1.45;
  color: #2f3b4f;
}

.service-btn-group,
.vbx-button-group,
.ccs-pill-list {
  list-style: none;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 6px 8px 0;
}

.service-btn,
.vbx-btn,
.ccs-pill-list li {
  min-width: 220px;
  height: 46px;
  padding: 0 18px;
  border-radius: 3px;
  background: #0a46a6;
  color: #fff;
  font-size: clamp(16px, 1.08vw, 20px);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

/* ─── Voices Section ─── */
.service-voices,
.vbx-voices,
.ccs-voices {
  position: relative;
  padding: 56px 0 104px;
}

.service-voices::after,
.vbx-voices::after,
.ccs-voices::after {
  content: "";
  position: absolute;
  right: -210px; bottom: -300px;
  width: 760px; height: 760px;
  border-radius: 50%;
  background: rgba(194,204,219,.8);
}

.service-voices-inner,
.vbx-voices-inner,
.ccs-voices-inner {
  position: relative;
  z-index: 1;
  width: var(--container-w);
  margin: 0 auto;
}

.service-voices-title,
.vbx-voices-title,
.ccs-voices-title {
  text-align: left;
  font-size: clamp(36px, 3.2vw, 56px);
  font-weight: 800;
  letter-spacing: .01em;
}

.service-voice-grid,
.vbx-voice-grid,
.ccs-voice-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 38px;
  align-items: center;
}

.service-person,
.vbx-person-illust,
.ccs-person-illust {
  width: 190px;
  height: 318px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(180deg,#f9fbff 0%,#d5dce8 100%);
  border-radius: 30px;
  border: 2px solid #6d7990;
  box-shadow: 0 16px 30px rgba(31,47,75,.16);
}

.service-voice-list,
.vbx-voice-list,
.ccs-voice-list {
  list-style: none;
  display: grid;
  gap: 18px;
}

.service-voice-item,
.vbx-voice-item,
.ccs-voice-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  align-items: start;
}

.service-voice-number,
.vbx-voice-number,
.ccs-voice-number {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #6597eb;
  color: #1f3557;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.service-voice-copy h3,
.vbx-voice-copy h3,
.ccs-voice-copy h3 {
  font-size: clamp(18px, 1.95vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: #2f3a3f;
}

.service-voice-copy p,
.vbx-voice-copy p,
.ccs-voice-copy p {
  margin-top: 4px;
  font-size: clamp(14px, 1.15vw, 20px);
  line-height: 1.4;
  color: #374449;
}

/* ─── Strengths Section ─── */
.service-strengths,
.vbx-strengths,
.ccs-strengths {
  position: relative;
  padding: 82px 0 64px;
}

.service-strengths::before,
.vbx-strengths::before,
.ccs-strengths::before {
  content: "";
  position: absolute;
  left: -150px; top: 116px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(190,204,224,.45);
}

.service-strengths::after,
.vbx-strengths::after,
.ccs-strengths::after {
  content: "";
  position: absolute;
  right: -140px; top: 10px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: rgba(190,204,224,.28);
}

.service-strengths-inner,
.vbx-strengths-inner,
.ccs-strengths-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.service-strengths-title,
.vbx-strengths-title,
.ccs-section-title {
  text-align: center;
  font-size: clamp(44px, 3.4vw, 62px);
  color: #1f2a3c;
  font-weight: 800;
}

.service-strengths-lead,
.vbx-strengths-lead,
.ccs-section-lead {
  text-align: left;
  margin: 24px auto 48px;
  width: min(1080px, 92vw);
  font-size: clamp(18px, 1.4vw, 34px);
  line-height: 1.55;
  color: #212d3d;
}

.service-features-grid,
.vbx-features-grid,
.ccs-strength-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

.service-feature-card,
.vbx-feature-card,
.ccs-strength-card {
  border: 1px solid #7f8b99;
  border-radius: 6px;
  background: rgba(236,238,242,.88);
  padding: 20px 16px 18px;
}

.service-feature-number,
.vbx-feature-number,
.ccs-strength-card h3 {
  text-align: center;
  font-size: clamp(18px, 1.4vw, 24px);
  font-weight: 700;
  color: #394348;
  line-height: 1.2;
  margin-bottom: 8px;
}

.service-feature-icon,
.vbx-feature-icon,
.ccs-strength-icon {
  height: 190px;
  margin: 14px auto 12px;
  border-radius: 4px;
  border: 1px solid rgba(30,63,113,.2);
  background-color: #eef3fb;
}

.service-feature-text,
.vbx-feature-text,
.ccs-strength-card p {
  font-size: clamp(14px, .98vw, 19px);
  line-height: 1.48;
  color: #3a4654;
}

/* ─── Service-page responsive ─── */
@media (max-width: 900px) {
  .service-intro,
  .vbx-intro,
  .ccs-intro { padding: 42px 0 48px; }

  .service-title,
  .vbx-title,
  .ccs-title { font-size: clamp(28px, 6vw, 36px); }

  .service-lead,
  .vbx-lead,
  .ccs-lead {
    margin-top: 14px;
    width: min(90vw, 720px);
    font-size: clamp(14px, 3.5vw, 18px);
    line-height: 1.45;
  }

  .service-services,
  .vbx-services,
  .ccs-services { padding-bottom: 14px; }

  .service-services-inner,
  .vbx-services-inner,
  .ccs-services-inner {
    width: min(86vw, 620px);
    gap: 38px;
  }

  .service-card,
  .vbx-service-card,
  .ccs-service-card {
    padding: 0 14px 18px;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    grid-template-areas: "title title" "image image" "pills copy";
    column-gap: 18px;
  }

  .service-card-title,
  .vbx-service-title,
  .ccs-service-title {
    grid-area: title;
    height: 42px;
    width: 98%;
    transform: translateY(-14px);
    font-size: 18px;
  }

  .service-card-body,
  .vbx-service-body,
  .ccs-service-body {
    padding: 2px 0 4px;
    display: contents;
  }

  .service-image,
  .vbx-service-image,
  .ccs-service-image {
    grid-area: image;
    width: min(64%, 440px);
    margin: 0 auto 10px;
  }

  .service-copy,
  .vbx-service-copy,
  .ccs-service-copy {
    grid-area: copy;
    font-size: 14px;
    line-height: 1.2;
    align-self: center;
  }

  .service-btn-group,
  .vbx-button-group,
  .ccs-pill-list {
    grid-area: pills;
    gap: 8px;
    justify-content: flex-start;
    padding: 0;
    display: grid;
  }

  .service-btn,
  .vbx-btn,
  .ccs-pill-list li {
    width: 100%;
    min-width: 0;
    height: 44px;
    font-size: 14px;
    padding: 0 10px;
    justify-content: flex-start;
  }

  .service-voices,
  .vbx-voices,
  .ccs-voices { padding: 46px 0 68px; }

  .service-voices::after,
  .vbx-voices::after,
  .ccs-voices::after {
    width: 360px; height: 360px;
    right: -186px; bottom: -120px;
  }

  .service-voices-inner,
  .vbx-voices-inner,
  .ccs-voices-inner { width: min(86vw, 620px); }

  .service-voices-title,
  .vbx-voices-title,
  .ccs-voices-title { font-size: 38px; }

  .service-voice-grid,
  .vbx-voice-grid,
  .ccs-voice-grid {
    margin-top: 28px;
    grid-template-columns: 150px 1fr;
    gap: 16px;
  }

  .service-strengths,
  .vbx-strengths,
  .ccs-strengths { padding: 42px 0 36px; }

  .service-strengths::before,
  .vbx-strengths::before,
  .ccs-strengths::before,
  .service-strengths::after,
  .vbx-strengths::after,
  .ccs-strengths::after { display: none; }

  .service-strengths-inner,
  .vbx-strengths-inner,
  .ccs-strengths-inner { width: min(92vw, 360px); }

  .service-strengths-title,
  .vbx-strengths-title,
  .ccs-section-title { font-size: 30px; }

  .service-strengths-lead,
  .vbx-strengths-lead,
  .ccs-section-lead {
    margin: 12px auto 18px;
    font-size: 14px;
    line-height: 1.45;
  }

  .service-features-grid,
  .vbx-features-grid,
  .ccs-strength-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-feature-card,
  .vbx-feature-card,
  .ccs-strength-card { padding: 12px 10px; }

  .service-feature-number,
  .vbx-feature-number,
  .ccs-strength-card h3 { font-size: 18px; }

  .service-feature-icon,
  .vbx-feature-icon,
  .ccs-strength-icon { height: 112px; margin: 10px auto 8px; }

  .service-feature-text,
  .vbx-feature-text,
  .ccs-strength-card p { font-size: 12px; line-height: 1.35; }
}

@media (max-width: 560px) {
  .service-intro,
  .vbx-intro,
  .ccs-intro { padding: 44px 0 54px; }

  .service-title,
  .vbx-title { font-size: 22px; }

  .ccs-title { font-size: 22px; }

  .service-lead,
  .vbx-lead,
  .ccs-lead {
    margin-top: 14px;
    width: min(92vw, 360px);
    font-size: 16px;
    line-height: 1.6;
  }

  .service-services-inner,
  .vbx-services-inner,
  .ccs-services-inner {
    width: min(92vw, 360px);
    gap: 16px;
  }

  .service-card,
  .vbx-service-card,
  .ccs-service-card {
    padding: 0 8px 10px;
    grid-template-columns: 1fr;
    grid-template-areas: "title" "image" "pills" "copy";
    gap: 8px;
  }

  .service-card-title,
  .vbx-service-title,
  .ccs-service-title {
    height: 32px;
    width: 96%;
    transform: translateY(-8px);
    font-size: 16px;
  }

  .service-image,
  .vbx-service-image,
  .ccs-service-image { width: 100%; margin-bottom: 0; }

  .service-btn-group,
  .vbx-button-group,
  .ccs-pill-list { gap: 6px; grid-template-columns: 1fr; }

  .service-btn,
  .vbx-btn,
  .ccs-pill-list li {
    height: 30px;
    font-size: 12px;
    justify-content: center;
  }

  .service-copy,
  .vbx-service-copy,
  .ccs-service-copy { font-size: 12px; line-height: 1.45; }
}

/* ══════════════════════════════════════
   SECTION HEADING (subpages)
══════════════════════════════════════ */
.section-head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 40px;
  width: min(1200px, 92vw);
  margin-left: auto;
  margin-right: auto;
  padding-top: 80px;
  margin-top: -30px;
}

.section-watermark {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(60px, 9vw, 96px);
  font-weight: 900;
  color: rgba(31,41,55,.07);
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 0;
  letter-spacing: -.02em;
  line-height: 1;
  pointer-events: none;
}

.section-head h2 {
  position: relative;
  z-index: 2;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: .05em;
}

@media (max-width: 900px) {
  .section-head { padding-top: 60px; margin-bottom: 34px; }
  .section-watermark { font-size: 60px; }
  .section-head h2 { font-size: 26px; }
}

/* ══════════════════════════════════════
   CONTACT CTA (subpages)
══════════════════════════════════════ */
.contact-cta {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.contact-cta__bg {
  position: absolute;
  inset: 0;
  background: url('../images/feature-2.jpg') center / cover no-repeat;
}

.contact-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,34,104,.88);
}

.contact-cta__inner {
  position: relative;
  z-index: 1;
  width: var(--container-w);
  margin: 0 auto;
}

.contact-cta__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}

.contact-cta__heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: .04em;
}

.contact-cta__desc {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  margin-bottom: 40px;
  line-height: 1.85;
}

.contact-cta__box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 36px 56px;
}

.contact-cta__info {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-cta__info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.85);
  font-size: 15px;
}

.contact-cta__info-label {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .1em;
  font-family: 'Inter', sans-serif;
}

.contact-cta__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Legacy contact-panel alias (some subpages use it) */
.contact-panel {
  display: none; /* replaced by contact-cta__box */
}

.contact-meta { display: none; }
.contact-btn { display: none; }

/* ══════════════════════════════════════
   BUTTONS (shared)
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 6px;
  padding: 13px 32px;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); }
.btn--lg { font-size: 17px; padding: 16px 44px; }
.btn-arrow::after { content: '→'; font-weight: 400; opacity: .7; margin-left: 4px; transition: transform .2s; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.header-inner {
  width: var(--container-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.brand { display: flex; align-items: center; margin-right: auto; }
.header-logo-dt { height: var(--header-logo-height); width: auto; display: block; }
.header-logo-sp { display: none; }
.logo-split-wrap { display: inline-flex; position: relative; pointer-events: none; }
.logo-split-wrap img { height: 100%; width: auto; display: block; }
.logo-layer-orb { clip-path: inset(0 0 calc(100% - var(--logo-split-point)) 0); }
.logo-layer-text {
  position: absolute; inset: 0;
  clip-path: inset(var(--logo-split-point) 0 0 0);
  filter: brightness(0);
}
.brand-orb { display: none; }
.brand-name { display: none; }

/* Desktop nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  justify-content: flex-end;
  flex: 1;
  margin-left: 40px;
}

.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.desktop-nav-links a {
  color: var(--text);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  letter-spacing: .01em;
  padding: 8px 0;
  position: relative;
  transition: color .15s;
}

.desktop-nav-links a:hover { color: var(--navy); }

.desktop-nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--navy);
  transition: width .3s ease;
}

.desktop-nav-links a:hover::after,
.desktop-nav-links a.active::after { width: 100%; }

/* Dropdown */
.nav-item.has-dropdown { position: relative; padding: 0; }
.nav-item.has-dropdown > a { display: inline-block; }

.dropdown-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: max-content;
  min-width: 200px;
  background: var(--navy);
  border-radius: 8px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
  z-index: 1000;
  border: 1px solid rgba(255,255,255,.1);
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block !important;
  padding: 10px 24px !important;
  font-size: 14px !important;
  color: rgba(255,255,255,.9) !important;
  text-align: left;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,.1);
  color: #fff !important;
}

.dropdown-menu a::after { display: none !important; }

/* CTA button in header */
.desktop-nav-links a.cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  transition: background .15s;
}

.desktop-nav-links a.cta:hover { background: var(--navy-dark) !important; }
.desktop-nav-links a.cta::after { display: none !important; }
.cta-icon { font-size: 1.1em; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: var(--sp-hamburger-gap);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 10;
  margin-left: auto;
}

.menu-toggle span {
  width: var(--sp-hamburger-width);
  height: var(--sp-hamburger-height);
  background: var(--text);
  border-radius: 2px;
  transition: all .3s ease;
  display: block;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 80vw);
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 24px rgba(0,0,0,.18);
  overflow-y: auto;
}

.main-nav.open .mobile-nav-overlay { right: 0; }

.main-nav.open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9998;
}

.mobile-nav-brand-area {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-brand-area .brand { padding: 0; margin-right: 0; }

.mobile-nav-links-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.menu-close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .04em;
}

.close-icon { font-size: 20px; line-height: 1; }

.mobile-nav-links-wrap {
  display: flex;
  flex-direction: column;
}

.mobile-nav-links-wrap a {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background .2s ease;
}

.mobile-nav-links-wrap a:hover { background: var(--bg); }

.mobile-nav-links-wrap a.sub-link {
  padding-left: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
}

/* Desktop: hide overlay; Mobile: hide desktop nav */
@media (min-width: 901px) {
  .mobile-nav-overlay { display: none; }
  .menu-toggle { display: none; }
}

@media (max-width: 1024px) {
  :root { --px: 40px; }
  .desktop-nav-links { display: none; }
  .main-nav { margin-left: 0; flex: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 900px) {
  :root { --px: 20px; }
}

@media (max-width: 560px) {
  .header-logo-dt { display: none; }
  .header-logo-sp {
    display: block;
    height: var(--sp-header-logo-height);
  }
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-inner {
  width: var(--container-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-brand {
  display: block;
  margin-bottom: 16px;
}

.footer-logo-dt {
  height: 40px;
  width: auto;
  display: block;
}

.footer-logo-sp { display: none; }

.footer-brand-block p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-sub);
}

.footer-brand-desc { margin-bottom: 14px; }

.footer-brand-addr {
  font-size: 12px;
  line-height: 1.8;
  color: #9CA3AF;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
}

.footer__nav-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .1em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.footer__nav-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-group a {
  font-size: 13px;
  color: var(--text-sub);
  transition: color .15s;
  line-height: 1.6;
  text-decoration: none;
}

.footer__nav-group a:hover { color: var(--navy); }

.footer-bottom {
  width: var(--container-w);
  margin: 32px auto 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: #9CA3AF;
  font-family: 'Inter', sans-serif;
}

.footer-policy {
  font-size: 12px;
  color: var(--text-sub);
  transition: color .15s;
}

.footer-policy:hover { color: var(--navy); }

/* Footer responsive */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer-logo-dt { display: none; }
  .footer-logo-sp { display: block; height: 60px; width: auto; }
}

@media (max-width: 480px) {
  .footer__nav { grid-template-columns: 1fr; }
}

/* Contact CTA responsive */
@media (max-width: 768px) {
  .contact-cta { padding: 72px 0; }
  .contact-cta__box { padding: 28px 24px; width: 100%; max-width: 100%; }
  .contact-cta__info { gap: 24px; }
  .contact-cta__btns { flex-direction: column; width: 100%; }
  .contact-cta__btns .btn { width: 100%; justify-content: center; }
}
