:root {
  --bg: #f4f8fc;
  --bg-soft: #e9f1fa;
  --surface: rgba(255, 255, 255, 0.86);
  --line: rgba(34, 76, 124, 0.2);
  --text: #10253e;
  --muted: #5d7696;
  --accent: #1d7fc7;
  --accent-2: #48bfa2;
  --page-gutter: clamp(0.85rem, 1.8vw, 1.8rem);
  --content-wide: min(1720px, 94vw);
  --content-standard: min(1580px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background: radial-gradient(circle at 8% 8%, #ddebf8, transparent 35%),
    radial-gradient(circle at 88% 10%, #e6f4ef, transparent 32%),
    linear-gradient(180deg, #f6faff 0%, #f2f7fc 45%, #eef4fa 100%);
  color: var(--text);
  line-height: 1.9;
  letter-spacing: 0.04em;
  min-height: 100vh;
}

#loading {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: #0f2a4a;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#loading.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-mark {
  display: grid;
  gap: 0.3rem;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.6em;
  font-size: clamp(1.05rem, 2.5vw, 2rem);
  color: #ffffff;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.1rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(248, 252, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(96, 139, 186, 0.32);
}

.logo {
  color: #fff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: clamp(0.78rem, 1.2vw, 0.95rem);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  cursor: pointer;
  position: relative;
  z-index: 101;
}

.menu-toggle__line {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  margin-left: auto;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease, width 0.25s ease;
}

.menu-toggle__line + .menu-toggle__line {
  margin-top: 6px;
}

.menu-toggle__line--top {
  width: 24px;
}

.menu-toggle__line--mid {
  width: 18px;
}

.menu-toggle__line--bot {
  width: 12px;
}

.site-header.is-scrolled .menu-toggle__line {
  background: #273239;
}

.menu-toggle.is-open .menu-toggle__line--top {
  width: 20px;
  transform: translateY(8px) rotate(38deg);
}

.menu-toggle.is-open .menu-toggle__line--mid {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle__line--bot {
  width: 20px;
  transform: translateY(-8px) rotate(-38deg);
}

.menu-toggle.is-open .menu-toggle__line {
  background: #ffffff;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(6, 22, 40, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 98;
}

.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav {
  display: flex;
  gap: clamp(0.7rem, 1.6vw, 1.6rem);
}

.site-nav a {
  color: rgba(239, 247, 255, 0.87);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  font-family: "Montserrat", sans-serif;
}

.site-header.is-scrolled .logo,
.site-header.is-scrolled .site-nav a {
  color: #1a3d63;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: -10%;
  background-image: linear-gradient(rgba(7, 16, 31, 0.24), rgba(7, 16, 31, 0.46)),
    url("../images/hero_bg_01.webp");
  background-size: cover;
  background-position: center;
  filter: saturate(90%) contrast(95%);
  transform: scale(1.06);
  animation: drift 24s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: scale(1.05) translateY(0px);
  }
  to {
    transform: scale(1.09) translateY(-20px);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 22, 0.1), rgba(6, 12, 22, 0.56));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1520px, 92vw);
}

.hero-news-section {
  width: 100%;
  margin: calc(-1 * clamp(15rem, 29vh, 19rem)) auto 0;
  padding: 0 clamp(0.8rem, 2.2vw, 2.2rem) 0 0;
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
}

.hero-news-section--compact {
  margin-top: calc(-1 * clamp(6.4rem, 12vh, 8.8rem));
}

.hero-news {
  width: min(640px, 40vw);
  border: 1px solid rgba(174, 208, 247, 0.45);
  background: rgba(8, 31, 56, 0.72);
  backdrop-filter: blur(5px);
  padding: clamp(0.75rem, 1.8vw, 1.25rem);
  display: flex;
  flex-direction: column;
}

.hero-news--compact {
  width: clamp(420px, 31vw, 560px);
  padding: clamp(0.58rem, 1.2vw, 0.9rem);
}

.hero-news--compact .hero-news__list {
  margin-top: 0.36rem;
}

.hero-news--compact .hero-news__list a {
  grid-template-columns: 102px 1fr;
  gap: 0.55rem;
  padding: 0.44rem 0;
}

.hero-news--compact .hero-news__list span {
  line-height: 1.45;
}

@media (min-width: 1200px) {
  .hero-news--compact .hero-news__list span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    display: block;
  }
}

.hero-news__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: #d4e8ff;
}

.hero-news__list {
  margin-top: 0.45rem;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.hero-news__list li {
  border-top: 1px solid rgba(176, 212, 248, 0.22);
}

.hero-news__list a {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.56rem 0;
  color: #eaf4ff;
  text-decoration: none;
}

.hero-news__list a:hover span {
  text-decoration: underline;
}

.hero-news__list time {
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  color: #b9d4f6;
}

.hero-news__list span {
  font-size: 0.82rem;
  line-height: 1.6;
}

.hero-news__more {
  display: inline-block;
  margin-top: auto;
  margin-bottom: 0.2rem;
  padding: 0.34rem 0.75rem;
  align-self: flex-end;
  color: #d2e7ff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  border: 1px solid rgba(174, 208, 247, 0.45);
}

.hero-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.22em;
  color: rgba(200, 230, 255, 0.9);
}

.hero h1 {
  margin: 1rem 0 2.3rem;
  font-size: clamp(1.8rem, 4.6vw, 4.6rem);
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: #e9edf2;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.btn-ghost,
.btn-solid {
  display: inline-block;
  text-decoration: none;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-family: "Montserrat", sans-serif;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.btn-ghost {
  color: #f3f9ff;
  border: 1px solid rgba(200, 232, 255, 0.55);
  padding: 0.9rem 1.7rem;
  position: relative;
  overflow: hidden;
}

.btn-solid {
  color: #04101f;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  font-weight: 600;
  padding: 0.95rem 1.8rem;
}

.btn-ghost:hover,
.btn-solid:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.hero .btn-ghost::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -45%;
  width: 34%;
  height: 320%;
  transform: rotate(22deg) translateX(-180%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.78) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.hero .btn-ghost:hover::before {
  animation: heroBtnShine 0.9s ease;
}

@keyframes heroBtnShine {
  from {
    transform: rotate(22deg) translateX(-180%);
  }
  to {
    transform: rotate(22deg) translateX(430%);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #dceeff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.25em;
  animation: scrollBlink 1.9s ease-in-out infinite;
}

.scroll-indicator::after {
  content: "";
  display: block;
  width: 1px;
  height: 60px;
  margin: 0.6rem auto 0;
  background: linear-gradient(to bottom, rgba(241, 249, 255, 0.75), transparent);
  animation: lineDrop 1.8s ease-in-out infinite;
}

@keyframes lineDrop {
  0% {
    transform: scaleY(0.3);
    transform-origin: top;
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 0;
  }
}

@keyframes scrollBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.36;
  }
}

.section {
  padding: clamp(4rem, 8vw, 8rem) var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
}

.section-concept,
.section-cta {
  text-align: center;
  max-width: var(--content-standard);
  margin: 0 auto;
}

.section-concept {
  background: transparent;
  border-bottom: 0;
}

.section-service {
  background: rgba(248, 252, 255, 0.68);
  padding-top: clamp(5.2rem, 9.2vw, 8.8rem);
}

.section-partner {
  background: #f3f8fe;
  max-width: none;
  margin: 0;
  padding-top: clamp(2.8rem, 5vw, 4.2rem);
  padding-bottom: clamp(2.8rem, 5vw, 4.2rem);
}

.section-clients {
  background: rgba(248, 252, 255, 0.68);
}

.section-ceo {
  background: rgba(247, 252, 255, 0.72);
}

.section-company {
  background: rgba(246, 251, 255, 0.72);
}

.section-contact {
  background-image: linear-gradient(rgba(8, 26, 47, 0.82), rgba(8, 26, 47, 0.82)),
    url("../images/contact_bg_01.jpg");
  background-size: cover;
  background-position: center;
}

.eyebrow {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.23em;
  color: var(--muted);
}

.section-concept .eyebrow {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  letter-spacing: 0.16em;
}

.section-concept h2,
.section-cta h2 {
  margin: 1rem 0;
  line-height: 1.8;
  font-size: clamp(1.45rem, 2.7vw, 2.6rem);
  font-weight: 400;
}

.section-concept h2 {
  font-size: clamp(1.5rem, 3.1vw, 3rem);
  font-weight: 500;
  line-height: 1.24;
}

.section-title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.1rem, 5.2vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0.08em;
}

@media (max-width: 1560px) {
  .section-title {
    font-size: clamp(1.9rem, 4.4vw, 4.2rem);
    letter-spacing: 0.07em;
  }

  .section-split,
  #service,
  .section-partner,
  #news,
  #company,
  #contact {
    grid-template-columns: clamp(240px, 20vw, 320px) minmax(0, 1fr);
  }
}

@media (max-width: 1320px) {
  .section-title {
    font-size: clamp(1.65rem, 3.7vw, 3.3rem);
    letter-spacing: 0.06em;
  }
}

.section-sub {
  margin: 1rem 0 2.2rem;
  color: var(--muted);
}

.section-split,
#service,
.section-partner,
#news,
#company,
#contact {
  display: grid;
  grid-template-columns: clamp(220px, 18vw, 300px) minmax(0, 1fr);
  gap: clamp(1.4rem, 2.4vw, 2.6rem);
  align-items: start;
}

.section-split > .section-title,
#service > .section-title,
.section-partner > .section-title,
#news > .section-title,
#company > .section-title,
#contact > .section-title {
  grid-column: 1;
  position: sticky;
  top: clamp(5.2rem, 9vh, 7.4rem);
  align-self: start;
  text-align: left;
  margin-top: 0;
}

.section-pin {
  grid-column: 1;
  position: sticky;
  top: clamp(5.2rem, 9vh, 7.4rem);
  align-self: start;
  background: transparent;
  border: 0;
  padding: 0;
  z-index: 3;
}

.section-pin .section-title {
  margin: 0;
  text-align: left;
}

.section-pin .section-sub {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  max-width: min(30ch, 100%);
  text-wrap: pretty;
}

.section-split > .section-body,
#service > .section-body,
.section-partner > .section-body,
#news > .section-body,
#company > .section-body,
#contact > .section-body {
  grid-column: 2;
  min-width: 0;
  padding-top: clamp(2.5rem, 4.3vw, 4rem);
}

@media (min-width: 1561px) and (max-width: 1750px) {
  .section-split,
  #service,
  .section-partner,
  #news,
  #company,
  #contact {
    grid-template-columns: clamp(300px, 23vw, 380px) minmax(0, 1fr);
    gap: clamp(1.7rem, 2.2vw, 2.8rem);
  }

  .section-pin .section-title {
    font-size: clamp(2.45rem, 3.8vw, 4rem);
    letter-spacing: 0.06em;
  }

  .section-split > .section-body,
  #service > .section-body,
  .section-partner > .section-body,
  #news > .section-body,
  #company > .section-body,
  #contact > .section-body {
    padding-left: clamp(1.1rem, 1.6vw, 1.9rem);
  }
}

.section-split .section-sub {
  margin: 0 0 2rem;
}

.section-flow {
  overflow: hidden;
  padding: 0;
  background: transparent;
  border-bottom: 0;
}

.media-track {
  width: max-content;
  display: flex;
  gap: 0.9rem;
  padding: 0;
  animation: marquee 34s linear infinite;
}

.media-card {
  margin: 0;
  width: clamp(300px, 33vw, 560px);
  aspect-ratio: 16/7;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section-service,
.section-clients,
.section-company {
  max-width: none;
  margin: 0;
}

.service-card {
  border: 1px solid rgba(133, 179, 226, 0.36);
  padding: clamp(1.3rem, 3.5vw, 2.6rem);
  margin-top: 1.3rem;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(31, 74, 120, 0.08);
}

.service-list {
  --service-bg-offset: 0px;
  display: grid;
  gap: 0.9rem;
  position: relative;
  overflow: visible;
  isolation: isolate;
  padding: clamp(0.5rem, 0.9vw, 1rem);
}

.service-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(-1 * var(--service-bg-offset));
  width: 100vw;
  transform: none;
  background-image: var(--service-bg);
  background-size: cover;
  background-position: center;
  transition: background-image 0.45s ease;
  z-index: -2;
}

.service-list::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(-1 * var(--service-bg-offset));
  width: 100vw;
  transform: none;
  background: linear-gradient(
    135deg,
    rgba(248, 252, 255, 0.74) 0%,
    rgba(244, 249, 255, 0.62) 42%,
    rgba(238, 246, 255, 0.54) 100%
  );
  z-index: -1;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(260px, 34%) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  border-top: 1px solid rgba(201, 225, 249, 0.24);
}

.service-visual {
  margin: 0;
  min-height: clamp(240px, 24vw, 330px);
  border: 1px solid rgba(133, 179, 226, 0.36);
  border-right: 0;
  overflow: hidden;
  background: #d8dde4;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  margin-top: 0;
  border-left: 1px solid rgba(133, 179, 226, 0.36);
}

.service-row .service-card {
  margin-top: 0;
  border: 1px solid rgba(199, 225, 249, 0.28);
  background: rgba(246, 251, 255, 0.78);
  backdrop-filter: blur(2px);
}

.service-row--primary {
  grid-template-columns: 1fr;
}

.service-row--primary .service-visual {
  height: auto;
  min-height: 0;
  max-height: none;
  border-right: 1px solid rgba(133, 179, 226, 0.36);
  border-bottom: 0;
}

.service-row--primary .service-content {
  border-top: 0;
}

.service-row--primary .service-card {
  padding: clamp(1.6rem, 3.8vw, 3rem);
}

.service-row--primary .service-card h3 {
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
}

.service-row--secondary .service-visual {
  min-height: clamp(200px, 20vw, 270px);
  filter: saturate(88%) brightness(0.95);
}

.service-row--secondary .service-card {
  background: rgba(250, 253, 255, 0.74);
  box-shadow: 0 4px 12px rgba(31, 74, 120, 0.06);
  border-color: rgba(133, 179, 226, 0.26);
  padding: clamp(1.05rem, 2.6vw, 1.8rem);
}

.service-row--secondary .service-card h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  opacity: 0.92;
}

.service-row--secondary .service-card > p,
.service-row--secondary .service-card li {
  color: #3b5573;
}

/* Strong layout guard for WP/plugin style overrides */
main #service.section.section-service.section-split {
  display: grid !important;
  grid-template-columns: clamp(260px, 22vw, 360px) minmax(0, 1fr) !important;
  gap: clamp(2rem, 3vw, 3.8rem) !important;
  align-items: start !important;
}

main #service > .section-pin {
  grid-column: 1 !important;
  position: sticky !important;
  top: clamp(5.2rem, 9vh, 7.4rem) !important;
  align-self: start !important;
  padding-top: clamp(1.8rem, 2.8vw, 3.2rem) !important;
}

main #service > .section-body.service-list {
  grid-column: 2 !important;
  display: grid !important;
  gap: 0.9rem !important;
  min-width: 0 !important;
  width: min(100%, 1240px) !important;
  justify-self: end !important;
  padding-left: clamp(1.6rem, 2.8vw, 3.2rem) !important;
  padding-top: clamp(3.2rem, 5.2vw, 5.4rem) !important;
}

main #ceo-profile > .section-body {
  width: min(100%, 1240px) !important;
  justify-self: end !important;
  padding-left: clamp(1.6rem, 2.8vw, 3.2rem) !important;
}

@media (min-width: 1080px) and (max-width: 1440px) {
  main #service > .section-body.service-list {
    padding-left: clamp(2.2rem, 3.4vw, 4rem) !important;
  }

  main #ceo-profile > .section-body {
    padding-left: clamp(2.2rem, 3.4vw, 4rem) !important;
  }
}

#company > .section-body,
#contact > .section-body {
  width: min(100%, 1040px) !important;
  justify-self: end !important;
  padding-left: clamp(1.8rem, 2.6vw, 3.4rem) !important;
}

main #service .service-row {
  display: grid !important;
  grid-template-columns: minmax(280px, 43%) minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 0 !important;
}

main #service .service-row--primary {
  grid-template-columns: 1fr !important;
}

main #service .service-visual {
  margin: 0 !important;
}

main #service .service-content {
  margin-top: 0 !important;
}

main #service .service-content > p {
  max-width: 58ch;
  text-wrap: pretty;
}

main #service .service-row--primary .service-content > p {
  max-width: none;
}

main #service .service-content > ul {
  max-width: 46ch;
}

main #service .service-row.is-active .service-card {
  border-color: rgba(207, 229, 248, 0.44);
  box-shadow: 0 10px 22px rgba(7, 24, 43, 0.24);
}

.contact-cta {
  border: 0;
  background: transparent;
  padding: clamp(2rem, 4vw, 4rem);
  text-align: center;
}

.contact-cta h2 {
  margin: 1rem 0;
  line-height: 1.7;
  font-size: clamp(1.45rem, 2.7vw, 2.6rem);
  font-weight: 400;
  color: #f4f8fd;
}

.contact-cta > p:not(.eyebrow) {
  width: min(720px, 92%);
  margin: 0 auto 1.6rem;
  color: rgba(236, 244, 252, 0.94);
  line-height: 1.9;
}

#contact .section-pin .section-title,
#contact .section-pin .section-sub,
#contact .contact-cta .eyebrow {
  color: #f4f8fd;
}

#contact .section-pin .section-sub {
  color: rgba(214, 230, 247, 0.95);
}

#contact .btn-solid {
  color: #f6fbff;
  background: linear-gradient(100deg, rgba(42, 142, 219, 0.88), rgba(46, 175, 149, 0.88));
}

.service-no {
  display: none;
}

.service-card h3 {
  margin: 0.4rem 0;
  font-size: clamp(1.2rem, 2.3vw, 1.9rem);
  font-weight: 500;
}

.service-note {
  margin-left: 0.4rem;
  font-size: 0.72em;
  font-weight: 300;
  color: rgba(26, 61, 99, 0.56);
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.service-card ul {
  margin: 1.2rem 0 0;
  padding-left: 1rem;
}

.service-card li {
  margin: 0.35rem 0;
  list-style: square;
  color: #234061;
}

.service-card li.service-nowrap {
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .service-card li.service-nowrap {
    white-space: normal;
  }
}

.partner-head {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.partner-slider {
  width: 100%;
  overflow: hidden;
  margin-top: 1.2rem;
  border-top: 1px solid rgba(120, 166, 214, 0.3);
  border-bottom: 1px solid rgba(120, 166, 214, 0.3);
  background: linear-gradient(90deg, rgba(17, 57, 95, 0.08), rgba(33, 99, 119, 0.1));
}

.partner-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1rem;
  animation: marquee 26s linear infinite;
}

.partner-logo {
  min-width: clamp(150px, 14vw, 220px);
  height: clamp(54px, 6.2vw, 74px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(154, 193, 233, 0.44);
  background: rgba(255, 255, 255, 0.86);
  color: #24476b;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(0.74rem, 1.3vw, 0.96rem);
  letter-spacing: 0.12em;
}

.news-list {
  margin: 0;
  padding: 0;
}

.news-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  border-top: 1px solid rgba(120, 166, 214, 0.3);
  padding: 1.25rem 0;
  align-items: center;
}

.news-list li:last-child {
  border-bottom: 1px solid rgba(120, 166, 214, 0.3);
}

.news-list time {
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  color: #5f81a9;
}

.news-list a {
  color: #153558;
  text-decoration: none;
}

.news-list a:hover {
  text-decoration: underline;
}

.blog-carousel {
  display: grid;
  gap: 0;
}

.section-clients .section-body {
  display: grid;
  gap: 0.9rem;
}

#news > .section-body {
  width: min(100%, 1240px);
  justify-self: end;
  padding-left: clamp(0.4rem, 0.9vw, 1rem);
}

#ceo-profile > .section-body {
  width: min(100%, 1240px);
  justify-self: end;
  padding-left: clamp(0.4rem, 0.9vw, 1rem);
}

.ceo-profile-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(1.1rem, 1.9vw, 1.8rem);
  align-items: stretch;
}

.ceo-profile-visual {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  justify-self: end;
}

.ceo-profile-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ceo-profile-content {
  grid-column: 1;
  grid-row: 1;
  border: 1px solid rgba(133, 179, 226, 0.36);
  background: rgba(255, 255, 255, 0.74);
  padding: clamp(1.2rem, 2.4vw, 2.1rem);
}

.ceo-role {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: #5e80a7;
}

.ceo-profile-content h3 {
  margin: 0.55rem 0 1rem;
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  line-height: 1.35;
}

.ceo-profile-content p {
  margin: 0;
  line-height: 1.9;
}

.ceo-profile-content p + p {
  margin-top: 0.95rem;
}

.blog-controls {
  margin-top: 1.1rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.7rem;
}

.blog-more {
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  background: transparent;
  border: 1px solid rgba(121, 166, 214, 0.55);
  color: #153558;
}

.blog-nav-group {
  display: flex;
  gap: 0.5rem;
}

.blog-nav {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(121, 166, 214, 0.46);
  background: rgba(255, 255, 255, 0.86);
  color: #143a61;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.blog-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.blog-viewport {
  overflow: hidden;
  position: relative;
}

.blog-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(56px, 7vw, 104px);
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(248, 252, 255, 0) 0%,
    rgba(248, 252, 255, 0.72) 60%,
    rgba(248, 252, 255, 0.98) 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
  z-index: 3;
}

.blog-viewport::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(56px, 7vw, 104px);
  height: 100%;
  background: linear-gradient(
    270deg,
    rgba(248, 252, 255, 0) 0%,
    rgba(248, 252, 255, 0.72) 60%,
    rgba(248, 252, 255, 0.98) 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
  z-index: 3;
}

.blog-carousel.has-more-right .blog-viewport::after {
  opacity: 1;
}

.blog-carousel.has-more-left .blog-viewport::before {
  opacity: 1;
}

.blog-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.36s ease;
  will-change: transform;
  position: relative;
  z-index: 1;
}

.blog-card {
  flex: 0 0 calc((100% - 2rem) / 3);
  border: 1px solid rgba(133, 179, 226, 0.36);
  background: rgba(255, 255, 255, 0.86);
}

.blog-card a {
  color: #153558;
  text-decoration: none;
  display: block;
}

.blog-card__thumb {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__meta {
  padding: 0.8rem 0.85rem 0.95rem;
}

.blog-card__meta time {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: #5f81a9;
}

.blog-card__meta h3 {
  margin: 0.45rem 0 0;
  font-size: 0.96rem;
  line-height: 1.6;
  font-weight: 500;
}

.section-cta {
  margin: 4.5rem auto;
  border: 1px solid rgba(123, 169, 215, 0.38);
  background: linear-gradient(120deg, rgba(226, 241, 255, 0.95), rgba(221, 243, 237, 0.9));
}

.section-concept > p:not(.eyebrow),
.section-cta > p:not(.eyebrow) {
  width: min(1200px, 88vw);
  margin-left: auto;
  margin-right: auto;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  justify-items: stretch;
}

.section-partner > .section-body {
  width: min(100%, 1240px);
  justify-self: end;
  padding-left: clamp(0.4rem, 0.9vw, 1rem);
}

.value-item {
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: baseline;
  gap: clamp(0.9rem, 1.8vw, 2rem);
}

.value-item h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.16;
  letter-spacing: 0.08em;
  width: clamp(190px, 22vw, 320px);
  flex: 0 0 auto;
}

.value-item p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.72;
}

.company-table {
  margin: 1.6rem 0 0;
}

.company-table div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  border-top: 1px solid rgba(128, 172, 216, 0.3);
  padding: 1rem 0;
}

.company-table div:last-child {
  border-bottom: 1px solid rgba(128, 172, 216, 0.3);
}

.company-table dt {
  color: #4f729a;
}

.section-contact {
  max-width: none;
  margin: 0;
  border-bottom: 0;
  position: relative;
}

.section-contact::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(90px, 12vw, 160px);
  background: linear-gradient(180deg, rgba(7, 24, 42, 0) 0%, #061423 100%);
  pointer-events: none;
  z-index: 1;
}

.site-footer {
  border-top: 0;
  background: #061423;
  position: relative;
  z-index: 1;
}

.site-footer__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: clamp(2.2rem, 4vw, 3.4rem) var(--page-gutter);
  display: grid;
  gap: 1.1rem;
}

.site-footer__logo {
  text-decoration: none;
  color: #f5faff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  letter-spacing: 0.09em;
  font-weight: 700;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.site-footer__nav a {
  color: #d3e8ff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.site-footer__address {
  font-style: normal;
  color: #b6d1ee;
  font-size: 0.84rem;
  line-height: 1.85;
}

.site-footer__address a {
  color: #dff1ff;
  text-decoration: none;
}

.site-footer__copy {
  color: #83a8cd;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.archive-main,
.single-main {
  max-width: min(1180px, 94vw);
  margin: 0 auto;
  padding: clamp(6rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

.archive-hero {
  margin-bottom: clamp(1.4rem, 2.8vw, 2.3rem);
}

.archive-hero h1 {
  margin: 0.7rem 0;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.2;
}

.archive-hero p:not(.eyebrow) {
  margin: 0;
  color: #4e6f94;
}

.archive-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.archive-card {
  border: 1px solid rgba(133, 179, 226, 0.32);
  background: rgba(255, 255, 255, 0.85);
}

.archive-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.archive-card__thumb {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.archive-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.archive-card__meta {
  padding: 0.9rem 0.95rem 1rem;
}

.archive-card__meta time {
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #5f81a9;
}

.archive-card__meta h2 {
  margin: 0.45rem 0 0.55rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.archive-card__meta p {
  margin: 0;
  color: #34506f;
  line-height: 1.7;
}

.archive-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-news-list li {
  border-top: 1px solid rgba(120, 166, 214, 0.3);
}

.archive-news-list li:last-child {
  border-bottom: 1px solid rgba(120, 166, 214, 0.3);
}

.archive-news-list a {
  display: grid;
  grid-template-columns: clamp(150px, 18vw, 220px) 130px 1fr;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.95rem 0.25rem;
}

.archive-news-thumb {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(133, 179, 226, 0.32);
  background: rgba(255, 255, 255, 0.78);
}

.archive-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.archive-news-list time {
  font-family: "Montserrat", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: #5f81a9;
}

.archive-news-list h2 {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.45;
}

.archive-pagination {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.archive-pagination .page-numbers {
  padding: 0.38rem 0.7rem;
  text-decoration: none;
  border: 1px solid rgba(133, 179, 226, 0.46);
  color: #183f66;
  background: rgba(255, 255, 255, 0.82);
}

.archive-pagination .page-numbers.current {
  background: #163f66;
  color: #fff;
  border-color: #163f66;
}

.archive-empty {
  color: #4e6f94;
}

.single-article {
  border: 1px solid rgba(133, 179, 226, 0.3);
  background: rgba(255, 255, 255, 0.84);
  padding: clamp(1.2rem, 2.4vw, 2rem);
}

.single-article__header h1 {
  margin: 0.7rem 0 0.8rem;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  line-height: 1.3;
}

.single-article__header time {
  color: #5f81a9;
  font-family: "Montserrat", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.11em;
}

.single-article__thumb {
  margin: 1.1rem 0 1.2rem;
}

.single-article__thumb img {
  width: 100%;
  max-height: min(56vh, 680px);
  object-fit: cover;
  display: block;
}

.single-article__content {
  line-height: 1.9;
}

.single-article__content p {
  margin: 0 0 1.05rem;
}

.single-article__back {
  margin: 1.3rem 0 0;
}

.single-article__back a {
  color: #1a446d;
  text-decoration: none;
}

.contact-page-main {
  max-width: min(1020px, 92vw);
  margin: 0 auto;
  padding: clamp(6rem, 10vw, 8rem) 0 clamp(3.8rem, 8vw, 6rem);
}

.contact-page-hero {
  margin-bottom: clamp(1.1rem, 2.4vw, 1.8rem);
}

.contact-page-hero h1 {
  margin: 0.65rem 0 0.8rem;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.2;
}

.contact-page-hero p:not(.eyebrow) {
  margin: 0;
  color: #466487;
}

.contact-form-panel {
  border: 1px solid rgba(133, 179, 226, 0.3);
  background: rgba(255, 255, 255, 0.86);
  padding: clamp(1rem, 2.5vw, 2rem);
}

.contact-form-panel form {
  display: grid;
  gap: 0.9rem;
}

.contact-form-panel p {
  margin: 0;
  line-height: 1.8;
}

.contact-form-panel label {
  display: grid;
  gap: 0.35rem;
  color: #1b3655;
  font-weight: 500;
}

.contact-form-panel input[type="text"],
.contact-form-panel input[type="email"],
.contact-form-panel input[type="tel"],
.contact-form-panel input[type="url"],
.contact-form-panel select,
.contact-form-panel textarea {
  width: 100%;
  border: 1px solid rgba(133, 179, 226, 0.45);
  background: rgba(245, 250, 255, 0.9);
  color: #0f2740;
  padding: 0.72rem 0.78rem;
  font: inherit;
}

.contact-form-panel textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form-panel input[type="submit"],
.contact-form-panel button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.4rem;
  border: 1px solid rgba(133, 179, 226, 0.5);
  background: rgba(227, 239, 251, 0.9);
  color: #102a45;
  font-weight: 600;
  cursor: pointer;
}

.contact-plugin-note {
  border: 1px dashed rgba(133, 179, 226, 0.55);
  background: rgba(236, 245, 255, 0.7);
  padding: 0.95rem 1rem;
}

.contact-plugin-note h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
}

.contact-plugin-note code {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.3rem 0.4rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(133, 179, 226, 0.4);
  word-break: break-all;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    max-width: 520px;
    min-width: 280px;
    height: 100dvh;
    min-height: 100dvh;
    padding: 5.4rem 1.6rem 1.6rem;
    border: 0;
    background: rgba(6, 22, 40, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: grid;
    align-content: start;
    gap: 1.05rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(14px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
    z-index: 99;
    box-shadow: none;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .menu-toggle.is-open {
    position: fixed;
    top: 1.1rem;
    right: 1.4rem;
  }

  .site-nav a {
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.45;
  }

  .site-header.is-scrolled .site-nav a {
    color: #ffffff;
  }

  body.nav-open .site-header,
  body.nav-open .site-header.is-scrolled {
    border-bottom: 0 !important;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero h1 {
    line-height: 1.6;
  }

  .hero-news-section {
    margin-top: 0;
    padding: 1rem;
    display: block;
  }

  .hero-news-section--compact {
    margin-top: 0;
  }

  .hero-news {
    width: 100%;
  }

  .hero-news--compact {
    width: 100%;
  }

  .section-split,
  #service,
  .section-partner,
  #news,
  #company,
  #contact {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-split > .section-title,
  #service > .section-title,
  .section-partner > .section-title,
  #news > .section-title,
  #company > .section-title,
  #contact > .section-title,
  .section-pin,
  .section-split > .section-body,
  #service > .section-body,
  .section-partner > .section-body,
  #news > .section-body,
  #company > .section-body,
  #contact > .section-body {
    grid-column: 1;
  }

  .section-split > .section-body,
  #service > .section-body,
  .section-partner > .section-body,
  #news > .section-body,
  #company > .section-body,
  #contact > .section-body {
    padding-top: 0;
  }

  #service .section-pin,
  .section-partner .section-pin,
  #ceo-profile .section-pin,
  #news .section-pin,
  #company .section-pin,
  #contact .section-pin,
  #service .section-pin .section-title,
  .section-partner .section-pin .section-title,
  #ceo-profile .section-pin .section-title,
  #news .section-pin .section-title,
  #company .section-pin .section-title,
  #contact .section-pin .section-title {
    position: static;
    top: auto;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-item {
    gap: 0.75rem;
  }

  .value-item h3 {
    width: clamp(140px, 36vw, 220px);
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-visual {
    border-right: 1px solid rgba(133, 179, 226, 0.36);
    border-bottom: 0;
    min-height: 200px;
  }

  .service-list {
    padding: 0.6rem;
  }

  .service-list::before,
  .service-list::after {
    width: 100%;
    left: 0;
    transform: none;
  }

  .service-content {
    border-left: 1px solid rgba(133, 179, 226, 0.36);
    border-top: 0;
  }

  .blog-card {
    flex-basis: calc((100% - 1rem) / 2);
  }

  main #service.section.section-service.section-split {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  main #service > .section-pin,
  main #service > .section-body.service-list {
    grid-column: 1 !important;
  }

  main #service > .section-pin {
    position: static !important;
    top: auto !important;
    align-self: auto !important;
    padding-top: 0 !important;
  }

  main #service .service-row {
    grid-template-columns: 1fr !important;
  }

  main #service .service-row--primary .service-visual,
  main #service .service-row--secondary .service-visual {
    min-height: 220px;
  }

  main #service > .section-body.service-list {
    width: 100% !important;
    justify-self: stretch !important;
    padding-left: 0 !important;
    padding-top: clamp(1rem, 3.2vw, 1.8rem) !important;
  }

  #company > .section-body,
  #contact > .section-body {
    width: 100% !important;
    justify-self: stretch !important;
    padding-left: 0 !important;
  }

  .section-partner > .section-body {
    width: 100% !important;
    justify-self: stretch !important;
    padding-left: 0 !important;
  }

  #news > .section-body {
    width: 100% !important;
    justify-self: stretch !important;
    padding-left: 0 !important;
  }

  #ceo-profile > .section-body {
    width: 100% !important;
    justify-self: stretch !important;
    padding-left: 0 !important;
  }

  .ceo-profile-card {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .ceo-profile-visual,
  .ceo-profile-content {
    grid-column: auto;
  }

  .ceo-profile-visual {
    max-width: none;
    justify-self: stretch;
    min-height: clamp(250px, 52vw, 360px);
  }

  .news-list li,
  .company-table div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .archive-cards {
    grid-template-columns: 1fr;
  }

  .archive-news-list a {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 0.85rem 0.1rem;
  }

  .archive-news-thumb {
    max-width: 220px;
    margin-bottom: 0.35rem;
  }

}

@media (max-width: 560px) {
  .media-card {
    width: 78vw;
    aspect-ratio: 16/8;
  }

  .partner-logo {
    min-width: 140px;
    height: 52px;
  }

  .hero-content {
    width: 94vw;
  }

  .hero h1 {
    margin-top: 1.3rem;
    font-size: clamp(1.24rem, 6.8vw, 1.96rem);
    letter-spacing: 0.03em;
  }

  .hero-news__list a {
    grid-template-columns: 92px 1fr;
    gap: 0.5rem;
    align-items: center;
    padding: 0.46rem 0;
  }

  .hero-news__list time,
  .hero-news__list span {
    white-space: nowrap;
  }

  .hero-news__list span {
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  .hero-news-section {
    padding: 0.8rem 1rem 0;
  }

  .blog-carousel {
    gap: 0;
  }

  .blog-controls {
    margin-top: 0.8rem;
    gap: 0.55rem;
  }

  .blog-nav {
    width: 38px;
    height: 38px;
  }

  .blog-card {
    flex-basis: 100%;
  }
}
