@import url("https://fonts.googleapis.com/css2?family=Inter:wght@600;700;800;900&family=Noto+Sans+JP:wght@400;500;600;700;800;900&display=swap");

:root {
  --navy: #111944;
  --navy-deep: #091132;
  --text: #20242c;
  --muted: #555b66;
  --line: #dfe2ea;
  --content: 1440px;
  --service-side-gutter: max(24px, calc((100vw - var(--content)) / 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.content-width { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 30;
  height: 74px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(16, 24, 64, .1);
}
.site-header__inner {
  width: min(calc(100% - 40px), 1450px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
}
.site-logo { width: 365px; flex: 0 1 365px; }
.site-logo img { width: 100%; height: auto; }
.global-nav { height: 100%; display: flex; align-items: stretch; margin-left: auto; }
.global-nav a {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}
.global-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.global-nav a:hover::after,
.global-nav a.is-current::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 10px; }
.header-button {
  min-width: 116px;
  padding: 13px 20px;
  border-radius: 999px;
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 3px 8px rgba(12, 17, 55, .18);
}
.header-button--navy { background: #171e4d; }
.header-button--orange { background: #FF8B08; }
.menu-button, .mobile-nav { display: none; }

body.page-template-page-service #content.l-content.l-container,
body.page-template-page-service-php #content.l-content.l-container,
body:has(> #body_wrap .service-page) #content.l-content.l-container {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.service-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow-x: clip;
}
.service-hero {
  position: relative;
  height: 620px;
  min-height: 0;
  display: grid;
  align-items: center;
  color: #fff;
}
.service-hero__image,
.service-hero__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.service-hero__image { object-fit: cover; object-position: center 52%; }
.service-hero__overlay { background: linear-gradient(90deg, rgba(0, 0, 0, .68), rgba(0, 0, 0, .48)); }
.service-hero__inner {
  position: relative;
  width: min(calc(100% - 48px), 1040px);
  margin-inline: auto;
}
.service-hero h1 { margin: 0; font-size: 60px; line-height: 1.28; font-weight: 800; letter-spacing: .005em; }
.service-hero__lead { margin: 24px 0 0; font-size: 19px; line-height: 1.7; font-weight: 400; }
.service-hero-band { color: var(--navy); background: #fff; }
.service-hero-band__inner {
  width: min(calc(100% - 48px), 900px);
  padding: 32px 72px 40px;
  border: 1px solid rgba(17, 25, 68, .09);
  border-top: 0;
  background: #fff;
  box-shadow: 0 6px 18px rgba(5, 11, 42, .12);
}
.service-hero__proof {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 18px 0 0;
  transform: none;
}
.service-result__intro { display: none; }
.service-achievements {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
.service-achievement {
  position: relative;
  width: 176px;
  min-height: 176px;
  display: grid;
  place-items: center;
  padding: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, .06) 64%, transparent 78%);
}
.service-achievement + .service-achievement::before { display: none; }
.service-achievement img {
  position: relative;
  z-index: 1;
  display: block;
  width: 165px;
  height: auto;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, .28)) drop-shadow(0 7px 14px rgba(0, 0, 0, .48));
}
.service-hero-band__bottom {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
  border-top: 0;
}
.service-hero-band__bottom > p {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}
.service-hero-band__bottom > p::before,
.service-hero-band__bottom > p::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: rgba(17, 25, 68, .45);
}
.service-hero__actions {
  width: 76%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 20px auto 0;
}
.service-hero__button {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 9999px;
  box-shadow: 0 6px 16px rgba(5, 11, 42, .2);
  font-size: 15px;
  font-weight: 800;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.service-hero__button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(5, 11, 42, .3); }
.service-hero__button .material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  font-size: 22px;
  line-height: 1;
}
.service-hero__button--primary { color: #fff; background: #FF8B08; }
.service-hero__button--secondary { color: #fff; border-color: var(--navy); background: var(--navy); }

.business-heading { padding: 98px 0 76px; }
.business-heading p { margin: 0; color: var(--navy); font-size: 27px; font-weight: 800; }
.business-heading h2 { margin: 14px 0 0; color: var(--navy); font-size: clamp(48px, 5vw, 72px); line-height: 1.1; }

.business { --accent-a: #111944; --accent-b: #8f96b8; }
.business--blue { --accent-a: #111944; --accent-b: #8f96b8; --chip: #eef0f8; --button-a: #111944; --button-b: #8f98c5; --word: #dfe5f1; --number: #dfe1e8; }
.business--green { --accent-a: #2f9fcf; --accent-b: #85c8d4; --chip: #daf4ff; --button-a: #2f9fcf; --button-b: #85c8d4; --word: #dceff5; --number: #d9f0f5; }
.business--purple { --accent-a: #6d45c6; --accent-b: #9c83d8; --chip: #f0ebfa; --button-a: #49308b; --button-b: #a28bd3; --word: #e6e0f0; --number: #e7dff6; }
.business-intro {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  align-items: center;
  min-height: 560px;
}
.business-intro--reverse { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
.business-intro--reverse .business-intro__copy { order: 2; padding-left: clamp(50px, 6vw, 100px); padding-right: 0; }
.business-intro--reverse .business-intro__visual { order: 1; }
.business-intro__copy { position: relative; padding: 70px clamp(50px, 6vw, 100px) 70px 0; }
.business-number {
  position: absolute;
  top: 49px;
  left: 0;
  z-index: -1;
  font-family: "Inter", sans-serif;
  font-size: clamp(120px, 12vw, 196px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.05em;
  color: transparent;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .22;
}
.business-intro--reverse .business-number { left: clamp(72px, 6vw, 100px); }
.business-intro__copy h2 {
  margin: 90px 0 0;
  color: var(--navy);
  font-size: clamp(34px, 3.3vw, 52px);
  line-height: 1.42;
  letter-spacing: -.03em;
}
.business-intro__copy > p { max-width: 720px; margin: 58px 0 0; font-size: 18px; font-weight: 500; line-height: 2.05; }
.business-intro__visual { align-self: center; height: auto; margin: 0; overflow: hidden; }
.business-intro:not(.business-intro--reverse) .business-intro__visual {
  width: calc(100% + var(--service-side-gutter));
  margin-right: calc(-1 * var(--service-side-gutter));
}
.business-intro--reverse .business-intro__visual {
  width: calc(100% + var(--service-side-gutter));
  margin-left: calc(-1 * var(--service-side-gutter));
  aspect-ratio: 720 / 452;
  border-radius: 0 80px 80px 0;
}
.business-intro__visual img { width: 100%; height: auto; min-height: 0; aspect-ratio: 720 / 452; object-fit: contain; border-radius: 80px 0 0 80px; }
.business-intro--reverse .business-intro__visual img {
  width: calc(100% + 88px);
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transform: translateX(-88px);
  border-radius: 0;
}
#contract-development .business-intro__visual,
#corporate-training .business-intro__visual,
#ai-advisory .business-intro__visual { aspect-ratio: 3 / 2; }
#contract-development .business-intro__visual img,
#corporate-training .business-intro__visual img,
#ai-advisory .business-intro__visual img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.business-detail {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  column-gap: clamp(60px, 8vw, 130px);
  row-gap: 32px;
  padding-top: 95px;
  padding-bottom: 140px;
}
.subheading { display: flex; align-items: center; gap: 14px; margin: 0 0 45px; color: var(--navy); font-size: 28px; }
.subheading > span { width: 72px; height: 3px; background: var(--navy); }
.value-item { position: relative; min-height: 170px; padding: 40px 0 20px; }
.value-item__en {
  position: absolute;
  top: -6px;
  left: 0;
  z-index: -1;
  color: transparent;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .18;
  font-size: clamp(64px, 6vw, 94px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.05em;
}
.value-item h4 { margin: 0; color: var(--navy); font-size: clamp(28px, 2.2vw, 38px); line-height: 1.3; }
.value-item p { margin: 16px 0 0; font-size: 17px; line-height: 1.8; }
.business-values .value-item:last-child { min-height: 0; padding-bottom: 0; }
.business-partners { padding-top: 0; }
.partner-chip {
  width: fit-content;
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 17px 28px;
  border-radius: 999px;
  background: var(--chip, #eceef7);
  font-size: 18px;
  font-weight: 600;
}
.partner-chip .material-symbols-outlined {
  width: 30px;
  flex: 0 0 30px;
  color: var(--accent-a);
  font-size: 28px;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 28;
  line-height: 1;
  text-align: center;
}
.business-links {
  grid-column: 1 / -1;
  width: min(100%, 800px);
  justify-self: center;
  margin-top: 8px;
}
.business-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  overflow: hidden;
  border-radius: 9999px;
  color: #fff;
  background: linear-gradient(90deg, var(--button-a, #111944), var(--button-b, #8f98c5));
  box-shadow: 0 8px 24px rgba(17, 25, 68, .16);
  transition: transform .25s ease, box-shadow .25s ease;
}
.business-links a:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(17, 25, 68, .22); }
.business-link__copy { display: grid; gap: 5px; padding: 18px 30px; }
.business-link__copy small {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  opacity: .72;
}
.business-link__copy strong { font-size: 19px; font-weight: 800; }
.business-links a .business-link__arrow.material-symbols-outlined {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  margin-right: 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  transition: transform .25s ease, background .25s ease;
}
.business-links a:hover .business-link__arrow { transform: translateX(4px); }

.site-footer { padding: 70px 24px; color: #fff; background: var(--navy-deep); }
.site-footer__inner { width: min(100%, var(--content)); margin-inline: auto; }
.site-footer img { width: min(380px, 80vw); filter: brightness(0) invert(1); }
.site-footer p { margin: 28px 0 50px; }
.site-footer small { color: rgba(255,255,255,.65); }
.page-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255,255,255,.92);
  font-size: 24px;
}

@media (max-width: 1280px) {
  .site-logo { width: 280px; flex-basis: 280px; }
  .global-nav a { padding-inline: 8px; font-size: 13px; }
  .header-button { min-width: 96px; padding-inline: 14px; }
}

@media (max-width: 980px) {
  .site-header { height: 66px; }
  .site-logo { width: 250px; flex-basis: 250px; }
  .global-nav, .header-actions { display: none; }
  .menu-button {
    width: 42px;
    height: 42px;
    display: grid;
    align-content: center;
    gap: 6px;
    margin-left: auto;
    padding: 8px;
    border: 0;
    background: transparent;
  }
  .menu-button span { width: 100%; height: 2px; background: var(--navy); }
  .mobile-nav {
    position: absolute;
    top: 66px;
    left: 0;
    width: 100%;
    padding: 16px 24px 24px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(10,15,50,.12);
  }
  .mobile-nav:not([hidden]) { display: grid; }
  .mobile-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 700; }
  .service-hero { height: auto; min-height: 0; padding: 64px 0; }
  .service-hero-band__inner { padding: 30px 48px 38px; }
  .service-hero__proof { gap: 0; }
  .service-hero-band__bottom { text-align: center; }
  .service-hero__actions { width: 78%; gap: 24px; margin: 20px auto 0; }
  .business-intro { grid-template-columns: 1fr; }
  .business-intro__copy, .business-intro--reverse .business-intro__copy { order: 1; padding: 90px 0 70px; }
  .business-intro__visual, .business-intro--reverse .business-intro__visual {
    order: 2;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    margin-left: 0;
    margin-right: 0;
    border-radius: 46px;
  }
  .business-intro__visual img, .business-intro--reverse .business-intro__visual img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 720/452;
    object-fit: contain;
    transform: none;
    border-radius: 46px;
  }
  #contract-development .business-intro__visual,
  #contract-development .business-intro__visual img {
    border-radius: 46px 0 0 46px;
  }
  .business-detail { grid-template-columns: 1fr; gap: 75px; }
  .business-partners { max-width: 620px; }
  .business-links { grid-column: auto; margin-top: -20px; }
}

@media (max-width: 640px) {
  .content-width { width: min(calc(100% - 40px), var(--content)); }
  .site-header__inner { width: calc(100% - 28px); }
  .site-logo { width: 220px; flex-basis: 220px; }
  .service-hero { height: auto; min-height: 0; padding: 40px 0; }
  .service-hero__inner { width: calc(100% - 40px); }
  .service-hero h1 { font-size: clamp(32px, 8.5vw, 42px); line-height: 1.4; }
  .service-hero__title-line { white-space: nowrap; }
  .service-hero__lead { font-size: 16px; }
  .service-hero__statement { font-size: 16px; }
  .service-hero__proof { margin-top: 14px; }
  .service-achievements { width: 100%; gap: 4px; }
  .service-achievement { width: calc((100% - 8px) / 3); min-height: 106px; }
  .service-achievement img { width: min(100%, 114px); }
  .service-hero-band__inner { width: 100%; max-width: none; padding: 24px 36px 28px; border-right: 0; border-left: 0; box-shadow: 0 12px 18px -15px rgba(5, 11, 42, .42); }
  .service-hero-band__bottom > p { gap: 10px; font-size: 18px; font-weight: 800; }
  .service-hero__actions { width: 100%; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .service-hero__button { width: 100%; min-height: 64px; padding: 13px 20px; font-size: 15px; }
  .service-hero__button .material-symbols-outlined { font-size: 22px; }
  .business-heading { padding: 68px 0 18px; }
  .business-heading p { font-size: 20px; }
  .business-heading h2 { font-size: 46px; }
  .business-intro__copy, .business-intro--reverse .business-intro__copy { padding: 70px 0 50px; }
  .business-number { font-size: 132px; }
  .business-intro__copy h2 { margin-top: 62px; font-size: 34px; }
  .business-intro__copy > p { margin-top: 38px; font-size: 16px; }
  .business-intro__visual img, .business-intro--reverse .business-intro__visual img { border-radius: 28px; }
  #contract-development .business-intro__visual,
  #ai-advisory .business-intro__visual { width: calc(100% + 20px); margin-right: -20px; margin-left: 0; border-radius: 44px 0 0 44px; }
  #contract-development .business-intro__visual img,
  #ai-advisory .business-intro__visual img { border-radius: 44px 0 0 44px; }
  .business-intro--reverse .business-intro__visual { width: calc(100% + 20px); margin-right: 0; margin-left: -20px; border-radius: 0 44px 44px 0; }
  .business-intro--reverse .business-intro__visual img { border-radius: 0 44px 44px 0; }
  .business-intro,
  .business-intro--reverse { display: grid; min-height: 0; padding: 22px 0 25px; grid-template-columns: 1fr; grid-template-rows: auto 204px auto; align-items: start; }
  .business-intro__copy,
  .business-intro--reverse .business-intro__copy { display: contents; }
  .business-number,
  .business-intro--reverse .business-number { position: static; z-index: 0; width: 100%; order: 2; grid-column: 1; grid-row: 2; align-self: end; justify-self: stretch; margin: 0 0 30px; line-height: 1; text-align: left; }
  .business-intro__visual,
  .business-intro--reverse .business-intro__visual { order: 1; grid-column: 1; grid-row: 1; }
  .business-intro__copy h2,
  .business-intro--reverse .business-intro__copy h2 { position: relative; z-index: 1; order: 2; grid-column: 1; grid-row: 2; align-self: end; margin: 0 0 42px; line-height: 1; }
  .business-intro__copy > p,
  .business-intro--reverse .business-intro__copy > p { order: 3; grid-column: 1; grid-row: 3; margin: 0; }
  .business-detail { padding-top: 35px; padding-bottom: 100px; }
  .subheading { margin-bottom: 34px; font-size: 24px; }
  .subheading > span { width: 42px; }
  .value-item { min-height: 150px; padding-top: 35px; }
  .value-item__en { font-size: 58px; }
  .value-item h4 { font-size: 27px; }
  .value-item p { font-size: 15px; }
  .partner-chip { width: 100%; min-width: 0; font-size: 16px; }
  .business-links { margin-top: -59px; }
  .business-links a { min-height: 76px; border-radius: 9999px; }
  .business-link__copy { padding: 14px 18px; }
  .business-link__copy strong { font-size: 16px; }
  .business-links a .business-link__arrow.material-symbols-outlined { width: 46px; height: 46px; flex-basis: 46px; margin-right: 12px; }
}
