:root {
  --blue: #003784;
  --deep: #00346f;
  --gold: #b69a00;
  --ink: #363636;
  --cream: #f7f5f0;
  --panel: #eef7ff;
  --news-bg: #f3f8fe;
  --line: #003f84;
  --shadow: 0 18px 36px rgba(0, 37, 80, .13);
  --frame-w: min(1400px, calc(100vw - 88px));
  --card-gap: clamp(20px, 1.65vw, 26px);
  --frame-pad-x: clamp(44px, 7.5vw, 120px);
  --card-w: clamp(210px, calc((var(--frame-w) - (var(--frame-pad-x) * 2) - (var(--card-gap) * 2)) / 3), 370px);
  --body-copy-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* Shared breadcrumbs sit in the existing hero/introduction background. */
.site-breadcrumb {
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
}
.site-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.site-breadcrumb li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
.site-breadcrumb [aria-current="page"] { min-width: 0; overflow-wrap: anywhere; }
.site-breadcrumb .breadcrumb-separator { flex: none; }
.site-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.site-breadcrumb a:hover { color: var(--blue); }
.site-breadcrumb a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Same horizontal frame as the former full-width trail, without moving hero content. */
.price-hero,
.staff-hero,
.news-hero { position: relative; }

.sd-hero > .site-breadcrumb,
.about-hero > .site-breadcrumb,
.price-hero > .site-breadcrumb,
.staff-hero > .site-breadcrumb,
.staff-detail-hero > .site-breadcrumb,
.case-list-hero > .site-breadcrumb,
.news-hero > .site-breadcrumb {
  position: absolute;
  top: 16px;
  left: max(24px, calc((100vw - 1360px) / 2));
  right: 24px;
  z-index: 3;
  max-width: 1360px;
}

/* Reuse the article's existing 72px introduction, allowing long trails to wrap safely. */
.news-page main:has(> .news-article) {
  display: grid;
  grid-template-rows: minmax(72px, max-content) auto;
}
.news-page main:has(> .news-article) > .site-breadcrumb {
  grid-row: 1;
  align-self: start;
  width: min(1360px, calc(100% - 48px));
  margin: 16px auto 12px;
}
.news-page main > .news-article { grid-row: 2; padding-top: 0; }

@media (max-width: 900px) {
  .sd-hero > .site-breadcrumb,
  .about-hero > .site-breadcrumb,
  .price-hero > .site-breadcrumb,
  .staff-hero > .site-breadcrumb,
  .staff-detail-hero > .site-breadcrumb,
  .case-list-hero > .site-breadcrumb,
  .news-hero > .site-breadcrumb { top: 12px; }

  /* Their original image top gaps are only 24px/28px; preserve those image positions. */
  .about-hero > .site-breadcrumb,
  .staff-detail-hero.has-list-photo > .site-breadcrumb { top: 4px; }
}
@media (max-width: 639px) {
  .news-page main:has(> .news-article) { grid-template-rows: minmax(44px, max-content) auto; }
  .news-page main:has(> .news-article) > .site-breadcrumb { margin-top: 12px; }
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  background: transparent;
}

.header-inner {
  position: relative;
  height: 98px;
  display: grid;
  grid-template-columns: 550px 1fr 164px;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  padding-left: 72px;
  background: transparent;
  overflow: hidden;
}

.brand img {
  position: relative;
  z-index: 1;
  width: 286px;
  filter: brightness(0) invert(1);
}

.global-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 17px;
  padding: 0 26px;
  color: #363636;
  background: rgba(255, 255, 255, .96);
  font-size: 14px;
  font-weight: 500;
}

.nav-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
}

.nav-row-sub { font-size: 13px; }

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

@media (min-width: 901px) {
  .has-mega::after {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 18px;
    content: "";
  }
}

.mega-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
}

.mega-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.mega-menu {
  position: fixed;
  top: 98px;
  left: 0;
  right: 0;
  z-index: 18;
  color: var(--ink);
  background: rgba(255, 255, 255, .98);
  border-top: 1px solid rgba(0, 55, 132, .12);
  box-shadow: 0 26px 48px rgba(0, 37, 80, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  pointer-events: none;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 28px 38px;
}

.mega-label {
  margin: 0 0 22px;
  color: var(--blue);
  font-family: "Barlow", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.mega-column {
  min-width: 0;
  padding: 0 22px 0 0;
  border-right: 1px solid #dbe4ee;
  white-space: normal;
}

.mega-column:last-child { border-right: 0; }

.mega-column h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.mega-column p {
  margin: 0 0 16px;
  color: #5d6672;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
}

.mega-column ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-column a {
  position: relative;
  display: block;
  padding: 8px 22px 8px 0;
  color: #363636;
  border-bottom: 1px solid #edf1f5;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.mega-column a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: translateY(-50%) rotate(-45deg);
}

.mega-column a:hover { color: var(--blue); }

.tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #363636;
  font-family: "Barlow", sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
}

.tel img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.header-cta {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 16px 14px;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 700;
  overflow: visible;
}

.header-cta img {
  width: 42px;
  filter: brightness(0) invert(1);
}

.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 855px;
  padding-top: 98px;
  overflow: hidden;
  overflow: clip;
  background: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 0;
  width: 550px;
  min-height: 820px;
  background: linear-gradient(135deg, #004b9a 0%, #003784 42%, #002559 100%);
  border-bottom-right-radius: 50px;
}

.hero-blue {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: auto;
  width: 550px;
  min-height: 820px;
  padding: 238px 0 60px 132px;
  color: #fff;
  pointer-events: none;
}

.hero-blue > * {
  position: relative;
  z-index: 3;
}

.hero-lead {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 400;
}

.hero h1 {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(44px, 3.9vw, 57px);
  font-weight: 400;
  line-height: 1.36;
  white-space: nowrap;
  text-indent: -.1em;
}

.quote-tight {
  display: inline-block;
  margin-left: -.18em;
}

.hero h1::after {
  content: "";
  display: block;
  width: 500px;
  max-width: none;
  height: 1px;
  margin: 22px 0 19px;
  background: rgba(255, 255, 255, .8);
}

.hero-copy {
  width: 600px;
  margin: 0;
  font-size: var(--body-copy-size);
  font-weight: 400;
  line-height: 1.65;
}

.award {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 25px;
  padding-left: 55px;
}

.award img { width: 162px; }

.award .mf-badge {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.award-mobile {
  display: none;
}

.scroll-mark {
  position: absolute;
  left: -84px;
  bottom: 8px;
  overflow: visible;
  font-family: "Shippori Mincho", serif;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.scroll-mark::before,
.scroll-mark::after {
  content: "";
  position: absolute;
  top: calc(100% + 16px);
  left: 42%;
  display: block;
  width: 1px;
  height: 35px;
  transform: translateX(-50%);
}

.scroll-mark::before { background: rgba(255, 255, 255, .35); }

.scroll-mark::after {
  background: #fff;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateX(-50%) scaleY(0); opacity: 0; }
  18% { opacity: 1; }
  55% { transform: translateX(-50%) scaleY(1); opacity: 1; }
  100% { transform: translateX(-50%) scaleY(1); opacity: 0; }
}

.hero-photo {
  position: absolute;
  top: 98px;
  left: 290px;
  right: 0;
  z-index: 1;
  margin: 0;
  height: 660px;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

.hero-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-carousel img.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-carousel img.is-ready {
  opacity: 1;
  z-index: 1;
  transition: none;
}

.hero-carousel img.is-fading {
  opacity: 0;
  z-index: 2;
}

.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 4;
  width: 52%;
  background: linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .64) 40%, rgba(0, 0, 0, .30) 72%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.overview {
  position: relative;
  overflow: visible;
  background:
    url("assets/bg_stripe.png") no-repeat calc(100% + 480px) -250px / 1500px auto,
    var(--cream);
}

.overview::before {
  content: "";
  position: absolute;
  top: -250px;
  left: 0;
  right: 0;
  height: 250px;
  background: url("assets/bg_stripe.png") no-repeat calc(100% + 480px) 0 / 1500px auto;
  pointer-events: none;
}

.numbers {
  position: relative;
  overflow: visible;
  padding: 112px 24px 104px;
  background: transparent;
}

.stripe {
  position: absolute;
  pointer-events: none;
  opacity: .74;
}

.stripe-flow {
  display: none;
}

.section-heading {
  position: relative;
  z-index: 1;
  text-align: center;
}

.section-heading p {
  margin: 0 0 19px;
  color: var(--blue);
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
}

.section-heading h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 25px auto 0;
  background: var(--gold);
}

.section-heading span {
  display: block;
  margin-top: 27px;
  font-size: 16px;
  font-weight: 400;
}

.sp-break {
  display: none;
}

.number-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px;
  max-width: 1160px;
  margin: 84px auto 60px;
}

.number-card {
  min-height: 276px;
  padding: 28px 24px 24px;
  text-align: center;
  background: #fff;
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.number-card h3 {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
}

.metric {
  margin: 0;
  color: var(--blue);
  font-weight: 700;
  line-height: 1.1;
}

.metric {
  color: var(--gold);
}

.metric span {
  color: var(--blue);
  font-family: "Barlow", sans-serif;
  font-size: 60px;
}

.number-card img {
  width: auto;
  height: 54px;
  margin: 10px auto;
  object-fit: contain;
}

.number-card small {
  display: block;
  color: var(--blue);
  font-size: var(--body-copy-size);
  font-weight: 400;
  line-height: 1.6;
}

.strength {
  position: relative;
  overflow: hidden;
  padding: 96px 24px 120px;
  background: transparent;
}

.lead-text {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 58px auto 54px;
  color: #3b4654;
  text-align: center;
  font-size: var(--body-copy-size);
  font-weight: 400;
  line-height: 2.05;
}

.lead-text p { margin: 0 0 8px; }

.strength-image {
  position: relative;
  z-index: 1;
  width: min(980px, 94vw);
  margin: 0 auto;
}

.strength-map-shell {
  position: relative;
  z-index: 1;
  width: min(920px, 94vh, 94vw);
  margin: -10px auto 0;
}

.map-zoom-button {
  display: none;
}

.strength-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  color: var(--blue);
}

.strength-map__dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .42;
  pointer-events: none;
}

.strength-map__ring {
  display: none;
}

.strength-map__center {
  position: absolute;
  top: 49%;
  left: 50%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  color: var(--blue);
  font-family: "Barlow", "Noto Sans JP", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: 0;
}

.strength-map__center img {
  width: clamp(58px, 6.4vw, 78px);
  margin-bottom: 7px;
}

.strength-map__feature {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: clamp(10px, 1.05vw, 13px);
  font-weight: 500;
  white-space: nowrap;
}

.strength-map__feature img {
  width: clamp(18px, 2.2vw, 28px);
  height: clamp(18px, 2.2vw, 28px);
  object-fit: contain;
}

.feature-support img {
  width: clamp(24px, 3vw, 38px);
  height: clamp(24px, 3vw, 38px);
}

.feature-support span {
  transform: translateY(-5px);
}

.feature-finance { top: 34%; left: 36%; }
.feature-support { top: 34%; right: 37%; }
.feature-expert { top: 62%; left: 36%; }
.feature-dx { top: 62%; right: 37%; }

.strength-map__arrow {
  position: absolute;
  z-index: 1;
  width: clamp(34px, 4.3vw, 48px);
  aspect-ratio: 283 / 181;
  background: url("assets/group_icon_arrow.png") center / contain no-repeat;
  opacity: .72;
}

.arrow-1 {
  top: 38%;
  left: 36%;
  transform: rotate(45deg);
}

.arrow-2 {
  top: 38%;
  right: 36%;
  transform: rotate(135deg);
}

.arrow-3 {
  top: 57%;
  left: 36%;
  transform: rotate(-45deg);
}

.arrow-4 {
  top: 57%;
  right: 36%;
  transform: rotate(-135deg);
}

.strength-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 25.8%;
  height: 25.8%;
  min-width: 156px;
  min-height: 156px;
  padding: 0 24px 29px;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 16px 30px rgba(0, 37, 80, .08);
  overflow: hidden;
}

.strength-node p {
  position: absolute;
  top: 22%;
  left: 50%;
  width: 90%;
  margin: 0;
  color: #41b4ff;
  font-family: "Barlow", sans-serif;
  font-size: clamp(7px, .68vw, 10px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 1px;
  transform: translateX(-50%);
}

.strength-node h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  margin: 0;
  transform: translate(-50%, -50%);
  font-size: clamp(17px, 1.62vw, 23px);
  font-weight: 700;
  line-height: 1.22;
}

.node-accounting {
  width: 27%;
  height: 27%;
}

.node-consulting {
  width: 28.5%;
  height: 28.5%;
}

.node-advisory {
  width: 27%;
  height: 27%;
}

.node-accounting {
  width: 28%;
  height: 28%;
}

.strength-node > span {
  display: none;
  width: 88%;
  margin: 20px auto 0;
  font-size: clamp(8px, .82vw, 11px);
  font-weight: 400;
  line-height: 1.36;
}

@media (hover: hover) and (pointer: fine) {
  .strength-node {
    cursor: help;
    overflow: visible;
  }

  .strength-node:hover,
  .strength-node:focus-visible {
    z-index: 20;
  }

  .strength-node:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 5px;
  }

  .strength-node::after {
    content: "詳しく見る ＋";
    position: absolute;
    bottom: 13%;
    left: 50%;
    padding: 3px 9px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    opacity: .8;
    transform: translateX(-50%);
    transition: opacity .2s ease;
  }

  .strength-node:hover::after,
  .strength-node:focus-visible::after {
    opacity: 0;
  }

  .strength-map .strength-node > span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 280px;
    margin: 0;
    padding: 18px 20px;
    border: 1px solid rgba(0, 55, 132, .2);
    border-radius: 16px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 18px 36px rgba(0, 37, 80, .2);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -44%) scale(.96);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .strength-map .strength-node:hover > span,
  .strength-map .strength-node:focus-visible > span {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
  }
}

.node-consulting > span {
  margin-top: 8px;
  font-size: clamp(8px, .82vw, 11px);
  line-height: 1.22;
}

.node-advisory > span {
  font-size: clamp(8px, .82vw, 11px);
  line-height: 1.24;
}

.strength-node h3 .company-type {
  display: inline-block;
  font-size: .78em;
}

.strength-node h3 .nowrap {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  word-break: keep-all;
}

.node-accounting .nowrap {
  font-size: 1em;
}

.node-tax,
.node-admin,
.node-labor {
  background: var(--blue);
  color: #fff;
}

.node-advisory,
.node-accounting,
.node-consulting {
  background: var(--cream);
}

.node-tax {
  top: 4.5%;
  left: 50%;
  transform: translateX(-50%);
}

.node-advisory {
  top: 22%;
  left: 6.5%;
}

.node-accounting {
  top: 22%;
  right: 6.5%;
}

.node-admin {
  bottom: 22%;
  left: 8%;
}

.node-labor {
  right: 8%;
  bottom: 22%;
}

.node-consulting {
  bottom: 1.5%;
  left: 50%;
  transform: translateX(-50%);
}

.strength-map__group {
  position: absolute;
  top: 8.5%;
  left: 8.5%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  color: var(--blue);
  font-family: "Barlow", sans-serif;
  font-size: clamp(13px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.strength-map__group img {
  width: clamp(48px, 4.8vw, 64px);
}

.strength-map__group span {
  transform: translateY(-8px);
}

.strength-note {
  position: relative;
  z-index: 1;
  margin: 58px 0 0;
  color: var(--blue);
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.9;
}

.map-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  padding: 12px;
  background: rgba(0, 0, 0, .78);
}

.map-modal.is-open {
  display: grid;
  place-items: center;
}

.map-modal__viewport {
  width: calc(100vw - 24px);
  height: calc(100vh - 54px);
  box-sizing: border-box;
  overflow: scroll;
  padding: 18px 18px 24px;
  background: var(--cream);
  border-radius: 10px;
  cursor: grab;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.map-modal__viewport.is-dragging {
  cursor: grabbing;
}

.map-modal__image {
  display: block;
  width: 820px;
  max-width: none;
  height: auto;
  margin: 0 auto;
}

.map-modal__close {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  z-index: 1001;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 37, 89, .9);
  font-size: 26px;
  line-height: 1;
}

.core {
  position: relative;
  padding: 112px 24px 120px;
  background: var(--cream);
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1160px;
  margin: 84px auto 0;
}

.core-card {
  position: relative;
  overflow: visible;
  z-index: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin-top: 42px;
}

.core-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.core-card b {
  position: absolute;
  top: -42px;
  left: 0;
  z-index: 0;
  min-width: 116px;
  height: 64px;
  padding: 8px 21px 0;
  color: #fff;
  background: var(--gold);
  border-radius: 8px 8px 0 0;
  font-family: "Barlow", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.core-card b span {
  margin-left: 5px;
  font-size: 25px;
  font-weight: 500;
}

.core-card figure {
  position: relative;
  z-index: 2;
  height: 200px;
  margin: 0;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: #fff;
}

.core-card img {
  display: block;
  width: calc(100% + 32px);
  max-width: none;
  height: 100%;
  margin-left: -16px;
  object-fit: cover;
  object-position: center top;
  background: transparent;
  border-radius: 0;
  box-shadow: 0 12px 20px rgba(0, 37, 80, .08);
}

.core-card div {
  position: relative;
  z-index: 2;
  padding: 25px 32px 35px;
  background: #fff;
  border-radius: 0 0 28px 28px;
}

.core-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  text-align: center;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.45;
}

.subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 0 27px;
  color: var(--ink);
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  white-space: nowrap;
}

.subtitle::before,
.subtitle::after {
  content: "";
  display: block;
  flex: 0 0 7px;
  width: 7px;
  height: 1px;
  margin: 0;
  background: #777;
  color: #777;
}

.core-card p:last-child {
  padding-top: 24px;
  border-top: 1px solid #d8d8d8;
  margin: 0;
  font-size: var(--body-copy-size);
  font-weight: 400;
  line-height: 1.85;
}

.services {
  min-height: 100vh;
  padding: 78px 0 92px;
  overflow: hidden;
  color: #fff;
  background: var(--blue);
}

.services .section-heading p {
  margin: 0 0 19px;
  color: #fff;
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
}

.services .section-heading h1 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
}

.services .section-heading h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 25px auto 0;
  background: var(--gold);
}

.services .section-heading span {
  display: block;
  margin-top: 27px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 220px));
  justify-content: center;
  gap: 14px;
  width: min(1156px, calc(100% - 42px));
  margin: 94px auto -1px;
}

.tabs button {
  height: 41px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  font-size: var(--body-copy-size);
  font-weight: 600;
}

.tabs button.active {
  color: var(--blue);
  background: var(--panel);
  border-color: var(--panel);
}

.service-panel {
  position: relative;
  background: var(--panel);
}

.service-frame {
  width: 100%;
  height: 685px;
  margin: 0 auto;
  padding: 79px calc((100% - var(--frame-w)) / 2 + var(--frame-pad-x)) 78px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  touch-action: pan-x pan-y pinch-zoom;
  overscroll-behavior-x: contain;
  background: transparent;
  border-radius: 8px;
}

.service-frame::-webkit-scrollbar { display: none; }

.service-frame.is-carousel {
  padding-left: calc((100% - var(--frame-w)) / 2 + clamp(36px, 5vw, 80px));
  padding-right: calc((100% - var(--frame-w)) / 2 + clamp(36px, 5vw, 80px));
}

.service-frame.is-scrollable {
  cursor: grab;
  user-select: none;
}

.service-frame.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.service-track {
  flex: 0 0 auto;
  width: max-content;
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  gap: var(--card-gap);
}

.service-card {
  flex: 0 0 max(var(--card-w), 340px);
  height: 480px;
  display: flex;
  flex-direction: column;
  padding: 32px 33px 28px;
  color: var(--ink);
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 14px 34px rgba(0, 52, 111, .12);
  opacity: 1;
  transition: opacity .35s ease, transform .35s ease;
}

.service-card figure {
  height: 144px;
  display: grid;
  place-items: center;
  margin: 0 0 14px;
}

.service-card figure img {
  width: 144px;
  height: 144px;
  object-fit: contain;
}

.service-card h2 {
  margin: 0;
  color: var(--blue);
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.service-card h2::after {
  content: "";
  display: block;
  height: 1px;
  margin: 17px 0 0;
  background: var(--line);
}

.service-card .subtitle {
  min-height: 3em;
  margin: 12px 0 14px;
  color: var(--blue);
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  line-break: strict;
}

.service-card .subtitle::before,
.service-card .subtitle::after { content: none; }

.service-card p:not(.subtitle) {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
}

.service-card a {
  position: relative;
  margin-top: auto;
  padding-right: 30px;
  color: var(--blue);
  text-align: right;
  font-size: 14px;
  font-weight: 600;
}

.service-card a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: translateY(-50%) rotate(-45deg);
}

.slider-dots {
  position: absolute;
  right: 0;
  bottom: 55px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  min-height: 36px;
  align-items: center;
  touch-action: pan-y;
  user-select: none;
  cursor: pointer;
}

.slider-dots[hidden] { display: none; }

.slider-dots button {
  width: 96px;
  height: 6px;
  padding: 0;
  background: #d7e3ef;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.slider-dots button::before {
  content: "";
  display: block;
  height: 36px;
  margin-top: -14px;
}

.slider-dots button.active {
  height: 8px;
  background: var(--blue);
}

.case-studies {
  position: relative;
  overflow: hidden;
  padding: 122px 0 170px;
  color: #fff;
  background: var(--blue);
}

.case-heading {
  text-align: center;
}

.case-heading p,
.cta-hero p {
  margin: 0 0 24px;
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.case-heading h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.45;
}

.case-heading h2::after,
.cta-hero p::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 24px auto 0;
  background: var(--gold);
}

.case-heading span {
  display: block;
  margin-top: 25px;
  font-size: 16px;
  font-weight: 400;
}

.case-slider {
  --case-card-w: 370px;
  --case-gap: 24px;
  width: 100%;
  margin: 92px auto 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.case-slider.is-dragging {
  cursor: grabbing;
}

.case-track {
  display: flex;
  align-items: flex-start;
  gap: var(--case-gap);
  width: max-content;
  margin-left: max(24px, calc((100vw - ((var(--case-card-w) * 3) + (var(--case-gap) * 2))) / 2));
  transform: translateX(var(--case-slide, 0));
  transition: transform .45s ease;
}

.case-slider.is-dragging .case-track {
  transition: none;
}

.case-card {
  position: relative;
  flex: 0 0 var(--case-card-w);
  min-height: 0;
  padding: 30px 30px 28px;
  color: var(--ink);
  background: #fff;
  clip-path: polygon(0 0, calc(100% - 55px) 0, 100% 55px, 100% 100%, 0 100%);
}

.case-card.is-muted {
  opacity: .55;
}

.case-profile {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: center;
}

.case-profile img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
}

.case-profile b {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.case-profile span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
}

.case-card h3 {
  margin: 24px 0 0;
  padding-bottom: 20px;
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.65;
}

.case-card p {
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
}

.case-card p a {
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

.case-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin-top: 40px;
}

.case-dots {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 0;
  min-height: 46px;
  align-items: center;
  touch-action: pan-y;
  user-select: none;
}

.case-dots button {
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  cursor: pointer;
}

.case-dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-65%, -50%) rotate(45deg);
}

.case-dots button[data-direction="prev"]::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.case-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0;
  color: #fff;
  border: 0;
  font-size: 15px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
}

.case-more::after {
  content: none;
}

.bottom-cta {
  position: relative;
  padding: 0 24px 150px;
  background: var(--news-bg);
}

.cta-hero {
  position: relative;
  min-height: 492px;
  margin: 0 -24px;
  padding-top: 58px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(0, 25, 48, .18), rgba(0, 25, 48, .18)),
    url("assets/cta_bg.jpg") center 42% / cover no-repeat;
}

.cta-hero p {
  margin-bottom: 48px;
  font-size: 15px;
}

.cta-hero p::after {
  width: 70px;
  margin-top: 34px;
  background: #fff;
}

.cta-hero h2 {
  margin: -18px 0 0;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(44px, 4.8vw, 68px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -.16em;
}

.cta-hero h2 span {
  letter-spacing: -.08em;
}

.consult-box {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100vw - 64px));
  margin: -94px auto 0;
  padding: 48px 64px 54px;
  text-align: center;
  background: #fff;
  box-shadow: 0 24px 42px rgba(0, 37, 80, .12);
}

.consult-box h2 {
  margin: 0;
  color: var(--blue);
  font-size: 30px;
  font-weight: 500;
}

.consult-box > p {
  margin: 18px 0 38px;
  font-size: var(--body-copy-size);
  font-weight: 400;
}

.consult-actions {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 42px;
  align-items: center;
}

.consult-actions::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  width: 1px;
  height: 120px;
  background: #cfcfcf;
}

.consult-tel,
.consult-contact {
  display: grid;
  justify-items: center;
}

.consult-tel a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-family: "Barlow", sans-serif;
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
}

.consult-tel img {
  width: 26px;
}

.consult-tel small {
  display: block;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.consult-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 448px;
  height: 96px;
  color: #fff;
  background: var(--gold);
  font-size: 18px;
  font-weight: 500;
}

.consult-contact a img {
  width: 38px;
}

.consult-contact ul {
  display: flex;
  gap: 48px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
}

.consult-contact li {
  position: relative;
  padding-left: 30px;
}

.consult-contact li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  transform: translateY(-50%);
}

.consult-contact li::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 6px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-65%) rotate(-45deg);
}

.news-column {
  padding: 116px 24px 138px;
  background: var(--news-bg);
}

.news-heading {
  text-align: center;
}

.news-heading p {
  margin: 0 0 26px;
  color: var(--blue);
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.news-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.45;
}

.news-heading h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 24px auto 0;
  background: var(--gold);
}

.news-heading span {
  display: block;
  margin-top: 26px;
  font-size: 16px;
  font-weight: 400;
}

.news-tabs {
  display: grid;
  grid-template-columns: repeat(2, 220px);
  justify-content: center;
  gap: 26px;
  width: min(830px, 100%);
  margin: 94px auto 0;
  border-bottom: 1px solid #cfd8df;
}

.news-tabs button,
.news-tabs a {
  display: grid;
  place-items: center;
  height: 54px;
  color: var(--blue);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.news-tabs button.active,
.news-tabs a.active {
  border-color: var(--blue);
}

.news-list {
  width: min(830px, 100%);
  margin: 0 auto;
}

.news-item {
  display: grid;
  grid-template-columns: 166px 1fr;
  gap: 30px;
  padding: 25px 0;
  border-bottom: 1px solid #cfd8df;
}

.news-item > div {
  min-height: 166px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.news-item figure {
  width: 166px;
  height: 166px;
  margin: 0;
  background: #d8d8d8;
}

.news-item b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 70px;
  height: 24px;
  padding: 0 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-family: "Barlow", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.news-item h3 {
  margin: 18px 0 12px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.news-item p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-item time {
  display: block;
  margin-top: auto;
  color: #52606a;
  font-size: 11px;
  font-weight: 500;
}

.view-more {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 260px;
  margin: 76px auto 0;
  padding-bottom: 10px;
  color: var(--blue);
  border-bottom: 0;
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.view-more::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--blue);
}

.view-more::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 1px;
  background: var(--blue);
  transform: rotate(45deg);
  transform-origin: right center;
}

.site-footer {
  position: relative;
  padding: 84px 24px 82px;
  color: #fff;
  background: #00346f;
}

.page-top {
  position: absolute;
  top: -28px;
  right: 0;
  width: 58px;
  height: 58px;
  background: #00346f;
  border-radius: 50% 50% 0 0;
}

.page-top::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 25px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 96px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.footer-logo {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.footer-brand img {
  width: 318px;
}

.footer-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-family: "Barlow", sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
}

.footer-tel img {
  width: 22px;
  filter: brightness(0) invert(1);
}

.footer-brand address {
  margin: 24px 0 0;
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
}

.footer-brand small {
  display: block;
  margin-top: 32px;
  font-size: 10px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px;
}

.footer-nav h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 400;
}

.footer-nav > div > a,
.footer-nav > div > p {
  display: block;
  margin: 5px 0 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  white-space: nowrap;
}

@media (max-width: 1360px) {
  :root {
    --frame-w: calc(100vw - 44px);
    --frame-pad-x: clamp(24px, 5vw, 54px);
    --card-gap: clamp(14px, 1.8vw, 22px);
    --card-w: calc((var(--frame-w) - (var(--frame-pad-x) * 2) - (var(--card-gap) * 2)) / 3);
  }

  .header-inner { grid-template-columns: 310px 1fr 120px; }
  .brand {
    min-width: 0;
    padding-left: 28px;
  }
  .brand img { width: 250px; }
  .global-nav {
    gap: 10px;
    padding-left: 30px;
  }
  .nav-row {
    gap: 18px;
    font-size: 12px;
  }
  .tel { font-size: 22px; }
  .hero-blue { padding-left: 60px; }
  .hero-photo { margin-left: -170px; }
  .number-grid,
  .core-grid { gap: 22px; }
  .tabs {
    width: calc(100% - 42px);
    gap: 10px;
  }
  .service-card {
    padding-left: clamp(18px, 2.7vw, 33px);
    padding-right: clamp(18px, 2.7vw, 33px);
  }
}

@media (max-width: 1100px) {
  .service-frame {
    display: flex;
    height: auto;
    padding: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .service-track {
    justify-content: flex-start;
    width: max-content;
  }
  .service-card {
    flex-basis: min(340px, calc(100vw - 32px));
    min-width: min(340px, calc(100vw - 32px));
    scroll-snap-align: center;
  }
  .service-card .subtitle { font-size: clamp(14px, 4.45vw, 16px); }
  .slider-dots { display: none; }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    background: var(--blue);
  }
  .header-inner {
    height: 56px;
    grid-template-columns: 1fr 58px;
    background: var(--blue);
  }
  .brand {
    padding-left: 20px;
    background: var(--blue);
  }
  .header-cta { display: none; }
  .brand img { width: 204px; }
  .site-header.is-menu-open { z-index: 1100; }
  .nav-toggle {
    display: grid;
    place-content: center;
    gap: 5px;
    border: 0;
    background: var(--blue);
  }
  .nav-toggle span {
    display: block;
    width: 27px;
    height: 1px;
    background: #fff;
  }
  .global-nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: none;
    max-height: 100dvh;
    padding: 0 20px calc(24px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .site-header .global-nav.open {
    display: block;
    color: var(--ink);
    background: #fff;
  }
  .nav-close {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: calc(100% + 40px);
    min-height: 56px;
    margin: 0 -20px 12px;
    padding: calc(12px + env(safe-area-inset-top)) 20px 12px;
    border: 0;
    border-bottom: 1px solid #dbe4ee;
    color: var(--blue);
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }
  .nav-close-icon { font-size: 26px; font-weight: 400; line-height: 1; }
  .nav-row {
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 0;
    white-space: normal;
  }
  .nav-row-sub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #dbe4ee;
  }
  .nav-row-sub > a:not(.tel) {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .nav-row-sub .tel {
    grid-column: 1 / -1;
    min-height: 44px;
    margin-top: 4px;
    font-size: 24px;
    white-space: nowrap;
  }
  .nav-row-main {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 8px;
  }
  .nav-row-main > a,
  .mega-trigger {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 0;
    border-bottom: 1px solid #dbe4ee;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .nav-item { display: block; min-width: 0; }
  .mega-trigger { justify-content: space-between; width: 100%; }
  .has-mega.is-open .mega-trigger::after { transform: translateY(2px) rotate(225deg); }
  .mega-menu {
    position: static;
    z-index: auto;
    display: none;
    margin: 8px 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    pointer-events: auto;
  }
  .has-mega.is-open .mega-menu { display: block; }
  .mega-inner { max-width: none; padding: 8px 0 12px; }
  .mega-label { margin-bottom: 16px; font-size: 11px; }
  .mega-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mega-column { padding: 0; border-right: 0; }
  .mega-column h2 { margin-bottom: 6px; font-size: 15px; }
  .mega-column p { margin-bottom: 8px; line-height: 1.6; }
  .mega-column ul { gap: 0; }
  .mega-column a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 22px 10px 0;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .mobile-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    color: #fff;
    background: var(--blue);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
  }
  .hero {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto auto auto;
    min-height: 0;
    padding: clamp(24px, 6.35vw, 48px) 0 40px;
    background: var(--cream);
    border-radius: 0;
    overflow: hidden;
  }
  .hero::before {
    display: block;
    position: relative;
    inset: auto;
    grid-area: 1 / 1 / 3 / 2;
    align-self: stretch;
    width: 34%;
    min-height: 0;
    margin: calc(-1 * clamp(24px, 6.35vw, 48px)) 0;
  }
  .hero-blue { display: contents; }
  .scroll-mark { display: none; }
  .hero-lead {
    grid-area: 1 / 1;
    align-self: end;
    padding-top: 0;
    margin: 0 5% 8px;
    font-size: 14px;
    font-weight: 500;
  }
  .hero h1 {
    grid-area: 2 / 1;
    margin: 0 5% 18vw;
    white-space: normal;
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.42;
  }
  .hero h1::after {
    width: 100%;
    margin: 16px 0 0;
  }
  .hero-copy {
    grid-area: 3 / 1;
    width: auto;
    margin: clamp(48px, 12.7vw, 96px) 5% 0;
    color: var(--blue);
    font-size: var(--body-copy-size);
    font-weight: 400;
    line-height: 1.72;
  }
  .hero-copy br { display: none; }
  .award { display: none; }
  .hero-photo {
    position: relative;
    inset: auto;
    grid-area: 1 / 1 / 3 / 2;
    align-self: start;
    z-index: 1;
    width: 87.3%;
    margin: 0 0 0 12.7%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 3 / 4;
  }
  .award-mobile {
    grid-area: 4 / 1;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 18px 5% 0;
  }
  .award-mobile img {
    width: 94px;
  }
  .award-mobile .mf-badge {
    width: 72px;
    height: 72px;
    object-fit: contain;
  }
  .hero-carousel {
    border-radius: 50px 0 0 50px;
  }
  .hero-carousel::after {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    height: 65%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .88) 100%);
  }
  .hero-carousel img {
    border-radius: 50px 0 0 50px;
  }
  .overview {
    z-index: 0;
    overflow: hidden;
    background: var(--cream);
  }
  .overview::before {
    display: none;
  }
  .numbers,
  .strength { padding: 74px 18px; }
  .number-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
    gap: 14px;
    margin-top: 52px;
  }
  .core-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-top: 52px;
  }
  .sp-break {
    display: block;
  }
  .number-card {
    min-height: 260px;
    padding: 22px 12px 18px;
    border-radius: 28px;
  }
  .number-card h3 {
    font-size: 15px;
    line-height: 1.35;
  }
  .metric span {
    font-size: 46px;
  }
  .number-card img {
    height: 44px;
    margin: 8px auto;
  }
  .number-card small {
    font-size: var(--body-copy-size);
    line-height: 1.5;
  }
  .core { padding: 74px 18px; }
  .strength-map-shell {
    position: relative;
    width: calc(100vw - 36px);
    height: calc(100vw - 36px);
    margin: 74px auto 0;
    overflow: visible;
  }
  .strength-map {
    width: 920px;
    aspect-ratio: 1 / 1;
    cursor: zoom-in;
    transform: scale(var(--strength-map-scale, .38));
    transform-origin: top left;
  }
  .strength-map::after,
  .strength-map::before {
    display: none;
  }
  .strength-map-shell::before,
  .strength-map-shell::after {
    display: none;
  }
  .map-zoom-button {
    position: absolute;
    top: -52px;
    right: 10px;
    z-index: 9;
    display: block;
    width: 122px;
    height: 40px;
    border: 1px solid var(--blue);
    border-radius: 999px;
    color: var(--blue);
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 37, 80, .08);
    font-size: 14px;
    font-weight: 500;
    line-height: 40px;
    text-align: center;
  }
  .strength-map__dots,
  .strength-map__arrow {
    display: block;
  }
  .strength-map__center {
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 24px;
  }
  .strength-map__center img {
    width: 78px;
  }
  .strength-map__group {
    position: absolute;
    top: 8.5%;
    left: 8.5%;
    width: auto;
    align-items: flex-end;
    gap: 10px;
    margin: 0;
    font-size: 20px;
  }
  .strength-map__group img {
    width: 64px;
  }
  .strength-map__group span {
    transform: translateY(-8px);
  }
  .strength-map__feature {
    position: absolute;
    justify-content: flex-start;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
  }
  .strength-map__feature img {
    width: 28px;
    height: 28px;
  }
  .feature-support img {
    width: 38px;
    height: 38px;
  }
  .strength-node {
    position: absolute;
    width: 25.8%;
    height: 25.8%;
    aspect-ratio: auto;
    min-height: 0;
    min-width: 0;
    padding: 0 24px 29px;
    border-radius: 50%;
  }
  .node-accounting { width: 28%; height: 28%; }
  .node-consulting { width: 28.5%; height: 28.5%; }
  .node-advisory { width: 27%; height: 27%; }
  .strength-node p {
    font-size: 10px;
  }
  .strength-node h3 {
    font-size: 23px;
  }
  .strength-node > span {
    margin-top: 20px;
    font-size: 11px;
  }
  .node-consulting > span { margin-top: 8px; }
  .map-modal__image {
    width: min(820px, 210vw);
  }
  .strength-note {
    font-size: 17px;
  }
  .strength-note br { display: none; }
  .tabs {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 46px;
  }
  .tabs button { border-radius: 8px; }
  .case-studies {
    padding: 78px 0 92px;
  }
  .case-heading {
    padding: 0 20px;
  }
  .case-heading h2 {
    font-size: 26px;
  }
  .case-slider {
    width: 100%;
    margin-top: 54px;
    padding-left: 22px;
  }
  .case-card {
    flex-basis: min(330px, 82vw);
    padding: 26px 24px 24px;
  }
  .case-card h3 {
    font-size: 17px;
  }
  .case-controls {
    gap: 20px;
    margin-top: 28px;
  }
  .case-dots button {
    width: 42px;
    height: 42px;
  }
  .bottom-cta {
    padding: 0 18px 90px;
  }
  .cta-hero {
    min-height: 420px;
    margin: 0 -18px;
    padding-top: 64px;
  }
  .cta-hero h2 {
    font-size: 36px;
  }
  .consult-box {
    width: 100%;
    margin-top: -72px;
    padding: 36px 22px;
  }
  .consult-actions {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .consult-actions::before {
    display: none;
  }
  .consult-tel a {
    font-size: 34px;
  }
  .consult-contact a {
    min-width: 0;
    width: 100%;
    height: 78px;
    font-size: 16px;
  }
  .consult-contact ul {
    justify-content: center;
    gap: 24px;
  }
  .news-column {
    padding: 78px 18px 90px;
  }
  .news-heading h2 {
    font-size: 26px;
  }
  .news-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 56px;
  }
  .news-item {
    grid-template-columns: 112px 1fr;
    gap: 18px;
  }
  .news-item figure {
    width: 112px;
    height: 112px;
  }
  .news-item h3 {
    margin-top: 14px;
    font-size: 15px;
  }
  .site-footer {
    padding: 64px 24px;
  }
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .footer-brand { display: contents; }
  .footer-logo { grid-row: 1; }
  .footer-nav {
    grid-row: 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    margin-top: 28px;
  }
  .footer-nav > div { min-width: 0; }
  .footer-nav > div:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
  .footer-nav > div:first-child h3 { grid-column: 1 / -1; }
  .footer-nav > div > a,
  .footer-nav > div > p {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .footer-logo img {
    width: 260px;
    max-width: 100%;
    height: auto;
  }
  .footer-tel {
    grid-row: 2;
    justify-self: start;
    max-width: 100%;
    font-size: clamp(26px, 7.5vw, 30px);
    white-space: nowrap;
  }
  .footer-tel img,
  .footer-tel svg {
    flex: 0 0 22px;
    width: 22px;
    max-width: 22px;
    height: auto;
    display: block;
  }
  .footer-brand address { grid-row: 3; }
  .footer-brand small {
    grid-row: 5;
    margin-top: 28px;
  }
}

@media (max-width: 520px) {
  .brand img { width: 204px; }
  .section-heading h2 { font-size: 25px; }
  .metric span { font-size: 48px; }
  .core-card div { padding: 24px 20px 28px; }
}
