@charset "UTF-8";

/* =========================================================
   CELLS Corporate Site Styles 2026.08.13
   ---------------------------------------------------------
   Base / Header / Hero / Message / Profile / Office
   Group / News / Recruit / Footer / Lower pages / Responsive
========================================================= */

/* =========================================================
   Base / Design tokens
========================================================= */

:root {
  /* Brand colors */
  --cells-blue: #0084b2;
  --cells-blue-dark: #006b8f;
  --cells-blue-light: #edf8fc;
  --cells-red: #da4440;
  --forrou: #0d9abc;
  --forrou-light: #e8f9fd;

  /* Text colors */
  --navy: #102a43;
  --navy-soft: #20384f;
  --text: #1f2d3d;
  --text-sub: #66788a;

  /* Borders */
  --line: rgba(16, 42, 67, .12);
  --line-strong: rgba(16, 42, 67, .18);

  /* Surfaces */
  --white: #fff;
  --bg: #fff;
  --bg-soft: #f6fbff;
  --bg-alt: #f8fafc;

  /* Layout */
  --header-height: 88px;
  --max-width: 1240px;

  /* Radius */
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;

  /* Shadows */
  --shadow-lg: 0 30px 80px rgba(16, 42, 67, .12);
  --shadow-md: 0 18px 48px rgba(16, 42, 67, .1);
  --shadow-sm: 0 10px 30px rgba(16, 42, 67, .06);
}


/* =========================================================
   Reset / Base
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  color: var(--text);
  background: var(--bg);
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

p,
ul,
ol,
dl {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =========================================================
   Common layout
========================================================= */

.container {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-head {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-head-inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--cells-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
}

.section-kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      var(--cells-blue),
      var(--cells-red)
    );
}

.section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.28;
  letter-spacing: -.03em;
}

.section-head p {
  margin-top: 14px;
  color: var(--text-sub);
  font-size: 15px;
}


/* =========================================================
   Common links / buttons
========================================================= */

.outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: var(--cells-blue);
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(0, 132, 178, .18);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background .2s ease,
    transform .2s ease,
    border-color .2s ease;
}

.outline-link:hover {
  background: var(--cells-blue-light);
  border-color: rgba(0, 132, 178, .3);
  transform: translateY(-1px);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-width: 220px;
  min-height: 58px;
  padding: 0 24px 0 28px;
  color: #fff;
  background:
    linear-gradient(
      135deg,
      var(--cells-blue),
      var(--cells-blue-dark)
    );
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(0, 132, 178, .22);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.primary-button span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--cells-blue);
  background: #fff;
  border-radius: 50%;
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 132, 178, .28);
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  color: #40566b;
  border-bottom: 1px solid rgba(64, 86, 107, .35);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.secondary-link span {
  color: var(--cells-red);
}


/* =========================================================
   Header
========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(0, 132, 178, .1);
  backdrop-filter: blur(18px) saturate(145%);
  transition:
    box-shadow .3s ease,
    background .3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 36px rgba(17, 43, 70, .08);
}

.header-inner {
  width: min(calc(100% - 64px), var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 118px;
  height: auto;
}

.brand-name {
  display: grid;
  gap: 3px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  line-height: 1.35;
  white-space: nowrap;
}

.brand-name strong {
  color: var(--navy);
  font-size: 14px;
  letter-spacing: .06em;
}

.brand-name small {
  color: #7c8c9d;
  font-size: 8px;
  letter-spacing: .18em;
}


/* Global navigation */

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a {
  position: relative;
  display: grid;
  gap: 2px;
  color: #26384a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .2s ease;
}

.global-nav a:not(.nav-button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 0;
  height: 2px;
  background: var(--cells-blue);
  transition: width .25s ease;
}

.global-nav a:not(.nav-button):hover {
  color: var(--cells-blue);
}

.global-nav a:not(.nav-button):hover::after {
  width: 100%;
}

.global-nav small {
  color: #91a2b3;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
}

.nav-button {
  display: flex !important;
  grid-auto-flow: column;
  align-items: center;
  gap: 20px !important;
  min-height: 46px;
  padding: 0 20px;
  color: #fff !important;
  background: var(--navy);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(16, 42, 67, .15);
  transition:
    transform .2s ease,
    background .2s ease,
    box-shadow .2s ease !important;
}

.nav-button:hover {
  transform: translateY(-2px);
  background: var(--cells-blue);
  box-shadow: 0 14px 28px rgba(0, 132, 178, .22);
}

.menu-button {
  display: none;
}


/* =========================================================
   Hero
========================================================= */

.hero {
  position: relative;
  min-height: 760px;
  padding: 158px 0 0;
  overflow: hidden;
  background:
    linear-gradient(
      130deg,
      rgba(246, 251, 253, .99) 0%,
      rgba(234, 245, 248, .99) 52%,
      rgba(219, 237, 242, .98) 100%
    );
  border-bottom: 1px solid #eee;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(
      rgba(0, 132, 178, .045) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(0, 132, 178, .045) 1px,
      transparent 1px
    );
  background-size: 64px 64px;
  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      #000 34%,
      #000 100%
    );
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-blue {
  width: 440px;
  height: 440px;
  top: 90px;
  right: -180px;
  background:
    radial-gradient(
      circle,
      rgba(0, 132, 178, .15),
      rgba(0, 132, 178, 0) 70%
    );
}

.hero-glow-red {
  width: 240px;
  height: 240px;
  right: 26%;
  bottom: -100px;
  background:
    radial-gradient(
      circle,
      rgba(218, 68, 64, .1),
      rgba(218, 68, 64, 0) 72%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(460px, .92fr);
  align-items: center;
  gap: clamp(54px, 6vw, 90px);
}

.hero-copy {
  padding: 22px 0 44px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 29px;
  color: var(--cells-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  animation:
    hero-kicker-in
    .72s
    cubic-bezier(.22, 1, .36, 1)
    .08s
    both;
}

.hero-kicker span {
  width: 44px;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      var(--cells-blue),
      var(--cells-red)
    );
  transform-origin: left center;
  animation:
    hero-kicker-line-in
    .82s
    cubic-bezier(.22, 1, .36, 1)
    .08s
    both;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 3.9vw, 56px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.045em;
}

.hero-line-first {
  white-space: nowrap;
}

.hero h1 em {
  position: relative;
  z-index: 1;
  color: var(--cells-blue);
  font-style: normal;
  animation:
    hero-copy-line-in
    1.02s
    cubic-bezier(.22, 1, .36, 1)
    .46s
    both;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -4px;
  right: -4px;
  bottom: 2px;
  height: 13px;
  background: rgba(218, 68, 64, .15);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  animation:
    hero-copy-marker-in
    .7s
    cubic-bezier(.22, 1, .36, 1)
    1.02s
    both;
}

.hero-lead {
  margin: 24px 0 12px;
  color: #32495f;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .03em;
  animation:
    hero-copy-fade-up
    .84s
    cubic-bezier(.22, 1, .36, 1)
    .84s
    both;
}

.hero-description {
  max-width: 620px;
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 36px;
  animation:
    hero-copy-fade-up
    .84s
    cubic-bezier(.22, 1, .36, 1)
    1s
    both;
}


/* Hero entrance animation */

.hero-kicker,
.hero h1 .hero-line-first,
.hero h1 em,
.hero-lead,
.hero-actions {
  opacity: 0;
}

.hero h1 .hero-line-first,
.hero h1 em {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  transform: translateY(24px);
  filter: blur(8px);
}

.hero h1 .hero-line-first {
  animation:
    hero-copy-line-in
    1.02s
    cubic-bezier(.22, 1, .36, 1)
    .24s
    both;
}


/* Hero visual */

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.visual-stage {
  position: relative;
  width: min(100%, 530px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 49% 45%,
      rgba(255, 255, 255, .98) 0 17%,
      rgba(234, 246, 255, .86) 17.5% 35%,
      rgba(255, 255, 255, .58) 35.5% 100%
    );
  box-shadow:
    0 50px 90px rgba(20, 72, 113, .12),
    inset 0 0 0 1px rgba(0, 132, 178, .09);
}

.visual-stage::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 40% 60% 60% 40% / 52% 38% 62% 48%;
  background:
    linear-gradient(
      145deg,
      rgba(0, 132, 178, .08),
      rgba(255, 255, 255, .25) 55%,
      rgba(218, 68, 64, .07)
    );
  transform: rotate(-12deg);
  animation:
    float-shape
    10s
    ease-in-out
    infinite
    alternate;
}

.orbit {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(0, 132, 178, .18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-outer {
  width: 88%;
  height: 88%;
  border-style: dashed;
  animation: rotate 36s linear infinite;
}

.orbit-middle {
  width: 66%;
  height: 66%;
  border-color: rgba(13, 154, 188, .2);
  animation: rotate-reverse 28s linear infinite;
}

.orbit-inner {
  width: 43%;
  height: 43%;
  border-color: rgba(0, 132, 178, .2);
}

.visual-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 184px;
  height: 184px;
  transform: translate(-50%, -50%);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 13px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(0, 132, 178, .12);
  border-radius: 50%;
  box-shadow: 0 24px 60px rgba(16, 42, 67, .14);
}

.visual-center img {
  width: 112px;
}

.visual-center p {
  color: #718398;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .22em;
  text-align: center;
}

.visual-card {
  position: absolute;
  min-width: 205px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(0, 132, 178, .12);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(16, 42, 67, .12);
  backdrop-filter: blur(14px);
}

.card-cells {
  top: 15%;
  right: -2%;
  animation: float-card 5s ease-in-out infinite;
}

.card-forrou {
  left: -4%;
  bottom: 16%;
  animation: float-card 5s .8s ease-in-out infinite;
}

.card-number {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  color: #fff;
  background: var(--cells-blue);
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
}

.card-forrou .card-number {
  background: var(--forrou);
}

.visual-card div {
  display: grid;
  gap: 3px;
}

.visual-card strong {
  color: var(--navy);
  font-size: 15px;
  letter-spacing: .08em;
}

.visual-card small {
  color: #8292a3;
  font-size: 7px;
  letter-spacing: .13em;
}

.visual-dot {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(16, 42, 67, .12);
}

.dot-a {
  width: 18px;
  height: 18px;
  top: 18%;
  left: 17%;
  background: var(--cells-red);
}

.dot-b {
  width: 11px;
  height: 11px;
  right: 13%;
  bottom: 21%;
  background: var(--cells-blue);
}

.dot-c {
  width: 7px;
  height: 7px;
  left: 20%;
  bottom: 19%;
  background: var(--forrou);
}

.hero-footer {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 64px), var(--max-width));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #91a0b0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
}

.scroll {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scroll span {
  position: relative;
  width: 54px;
  height: 1px;
  overflow: hidden;
  background: rgba(0, 132, 178, .16);
}

.scroll span::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -100%;
  width: 100%;
  background: var(--cells-blue);
  animation: scroll-line 2.1s ease-in-out infinite;
}


/* =========================================================
   Message
========================================================= */

.section-message {
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fbfdff 100%
    );
}

.section-message::before {
  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(0, 132, 178, .04),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 20%,
      rgba(218, 68, 64, .05),
      transparent 22%
    );
}

.message-layout {
  display: grid;
  grid-template-columns:
    minmax(260px, 320px)
    minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.message-aside {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  display: grid;
  gap: 22px;
}

.message-quote-card,
.message-summary-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(0, 132, 178, .1);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.message-quote-card::before,
.message-summary-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -36% auto;
  width: 180px;
  height: 180px;
  background:
    radial-gradient(
      circle,
      rgba(0, 132, 178, .08),
      rgba(0, 132, 178, 0) 72%
    );
}

.quote-mark {
  color: rgba(0, 132, 178, .2);
  font-size: 84px;
  line-height: .7;
  font-weight: 700;
}

.quote-text {
  margin-top: 12px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: -.02em;
}

.quote-caption {
  margin-top: 12px;
  color: var(--cells-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}


/* Representative */

.message-president {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 20px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(16, 42, 67, .09);
  text-align: center;
}

.message-president-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  background: #eef5f8;
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 20px rgba(16, 42, 67, .08);
  outline: 1px solid rgba(0, 132, 178, .1);
}

.message-president-copy {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 0;
  line-height: 1.6;
}

.message-president-role {
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}

.message-president-name {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .14em;
  white-space: nowrap;
}

.message-summary-card h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 17px;
}

.message-summary-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.message-summary-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text-sub);
  font-size: 14px;
}

.message-summary-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      var(--cells-blue),
      var(--forrou)
    );
}

.message-content {
  padding: 42px clamp(24px, 4vw, 56px) 50px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(0, 132, 178, .08);
  border-radius: 34px;
  box-shadow: 0 30px 90px rgba(16, 42, 67, .08);
}

.message-content .lead {
  margin-bottom: 30px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.95;
  font-weight: 500;
}

.message-block + .message-block {
  margin-top: 32px;
}

.message-block h3 {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.5;
}

.message-block h3::before {
  content: "";
  width: 5px;
  height: 24px;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      var(--cells-blue),
      var(--cells-red)
    );
}

.message-block p {
  color: #414141;
  font-size: 16px;
}

.message-block p + p {
  margin-top: 12px;
}

.message-closing-signature {
  display: grid;
  justify-items: end;
  gap: 4px;
  margin-top: 38px;
  color: var(--navy);
  text-align: right;
}

.message-closing-company {
  color: var(--text-sub);
  font-size: 15px;
  font-weight: 700;
}

.message-closing-person {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
}

.message-closing-role {
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 700;
}

.message-closing-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .14em;
  white-space: nowrap;
}


/* =========================================================
   Profile
========================================================= */

.section-profile {
  background:
    linear-gradient(
      180deg,
      #f8fbff 0%,
      #fff 100%
    );
}

.section-profile::before {
  background:
    linear-gradient(
      180deg,
      rgba(0, 132, 178, .02),
      transparent 30%
    ),
    radial-gradient(
      circle at 100% 0%,
      rgba(13, 154, 188, .06),
      transparent 25%
    );
}

.profile-shell {
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(300px, .75fr);
  gap: 30px;
  align-items: start;
}

.profile-main,
.profile-side {
  min-width: 0;
}

.profile-list {
  padding: 14px 30px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(0, 132, 178, .08);
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
}

.profile-list > div {
  display: flex;
  gap: 36px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(16, 42, 67, .08);
}

.profile-list > div:last-child {
  border-bottom: 0;
}

.profile-list dt {
  flex: 0 0 150px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.profile-list dd {
  flex: 1;
  color: #414141;
  font-size: 15px;
}

.profile-side {
  display: grid;
  gap: 22px;
}

.profile-highlight {
  padding: 32px;
  color: #fff;
  background:
    linear-gradient(
      145deg,
      var(--navy) 0%,
      var(--cells-blue) 55%,
      var(--forrou) 100%
    );
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}

.profile-highlight .eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, .74);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
}

.profile-highlight h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.45;
  letter-spacing: -.03em;
}

.profile-highlight p {
  margin-top: 16px;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
}

.profile-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.profile-mini-grid div {
  padding: 22px 20px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(0, 132, 178, .08);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.profile-mini-grid strong {
  display: block;
  color: var(--cells-blue);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}

.profile-mini-grid span {
  display: block;
  margin-top: 12px;
  color: var(--text-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}


/* =========================================================
   Office
========================================================= */

.office-heading-layout {
  display: grid;
  grid-template-columns:
    minmax(0, .78fr)
    minmax(420px, 1.22fr);
  align-items: end;
  gap: clamp(40px, 6vw, 88px);
  margin-bottom: 34px;
}

.office-head {
  margin-bottom: 0;
}

.office-intro {
  position: relative;
  padding: 26px 30px 26px 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(0, 132, 178, .1);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.office-intro::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background:
    linear-gradient(
      180deg,
      var(--cells-blue),
      var(--forrou)
    );
}

.office-intro-label {
  display: block;
  margin-bottom: 9px;
  color: var(--cells-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
}

.office-intro h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
  letter-spacing: -.02em;
}

.office-intro p {
  margin-top: 12px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.9;
}


/* Office gallery */

.office-gallery {
  position: relative;
}

.office-showcase {
  position: relative;
  padding: 18px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(0, 132, 178, .09);
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}

.office-main-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: #dfeef4;
  border: 0;
  border-radius: 22px;
  cursor: zoom-in;
  text-align: left;
}

.office-main-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 54%,
      rgba(8, 31, 48, .54) 100%
    );
  pointer-events: none;
}

.office-main-button:focus-visible,
.office-thumb:focus-visible,
.office-control:focus-visible,
.office-modal-close:focus-visible,
.office-modal-control:focus-visible {
  outline: 3px solid rgba(0, 132, 178, .4);
  outline-offset: 4px;
}

.office-main-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition:
    transform .55s ease,
    opacity .22s ease;
}

.office-main-button:hover .office-main-image {
  transform: scale(1.018);
}

.office-gallery.is-changing .office-main-image {
  opacity: .45;
}

.office-caption {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 22px;
  left: 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
}

.office-zoom-hint {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
  font-weight: 700;
}

.office-zoom-hint > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--navy);
  background: #fff;
  border-radius: 50%;
}

.office-control {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--navy);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(16, 42, 67, .18);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.office-control:hover {
  color: #fff;
  background: var(--cells-blue);
  transform: translateY(-50%) scale(1.04);
}

.office-control-prev {
  left: 34px;
}

.office-control-next {
  right: 34px;
}

.office-counter {
  position: absolute;
  z-index: 4;
  top: 36px;
  right: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  color: #fff;
  background: rgba(8, 31, 48, .58);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.office-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.office-thumb {
  position: relative;
  display: block;
  padding: 5px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16, 42, 67, .1);
  border-radius: 16px;
  cursor: zoom-in;
  box-shadow: 0 8px 24px rgba(16, 42, 67, .06);
  transition:
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.office-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 42, 67, .1);
}

.office-thumb.is-active {
  border-color: var(--cells-blue);
  box-shadow:
    0 0 0 2px rgba(0, 132, 178, .12),
    0 12px 28px rgba(16, 42, 67, .1);
}

.office-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 11px;
}

.office-thumb span {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: rgba(8, 31, 48, .62);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
}

.office-gallery.is-single .office-control,
.office-gallery.is-single .office-counter,
.office-gallery.is-single .office-thumbnails {
  display: none;
}


/* Office modal */

.office-modal {
  width: min(calc(100% - 40px), 1400px);
  max-width: none;
  padding: 0;
  overflow: visible;
  color: #fff;
  background: transparent;
  border: 0;
}

.office-modal::backdrop {
  background: rgba(5, 18, 28, .88);
  backdrop-filter: blur(8px);
}

.office-modal-inner {
  position: relative;
}

.office-modal-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(78vh, 860px);
}

.office-modal-stage img {
  display: block;
  max-width: 100%;
  max-height: min(78vh, 860px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}

.office-modal-close {
  position: absolute;
  z-index: 3;
  top: -52px;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.office-modal-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
}

.office-modal-control:hover,
.office-modal-close:hover {
  background: rgba(255, 255, 255, .24);
}

.office-modal-control-prev {
  left: 18px;
}

.office-modal-control-next {
  right: 18px;
}

.office-modal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  color: rgba(255, 255, 255, .9);
}

.office-modal-meta > p:first-child {
  font-size: 14px;
  font-weight: 700;
}

.office-modal-counter {
  display: inline-flex;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
}

.office-modal.is-single .office-modal-control,
.office-modal.is-single .office-modal-counter {
  display: none;
}

html.is-modal-open,
body.is-modal-open {
  overflow: hidden;
}


/* Office gallery side copy */

.office-gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
}

.office-sidecopy {
  position: relative;
  padding: 24px 22px 24px 24px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(0, 132, 178, .08);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.office-sidecopy::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 24px 0 0 24px;
  background:
    linear-gradient(
      180deg,
      var(--cells-blue),
      var(--cells-red)
    );
}

.office-sidecopy-label {
  display: block;
  margin-bottom: 10px;
  color: var(--cells-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.office-sidecopy h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -.02em;
}

.office-sidecopy > p {
  margin-top: 12px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.9;
}

.office-sidecopy-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.office-sidecopy-list > div {
  display: grid;
  gap: 5px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 42, 67, .08);
}

.office-sidecopy-list dt {
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.office-sidecopy-list dd {
  margin: 0;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.8;
}


/* Office feature */

.section-office {
  padding-top: 86px;
  padding-bottom: 86px;
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #f7fafc 100%
    );
}

.section-office::before {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(0, 132, 178, .04),
      transparent 24%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(218, 68, 64, .03),
      transparent 20%
    );
}

.office-feature {
  display: grid;
  grid-template-columns:
    minmax(280px, 420px)
    minmax(0, 1fr);
  gap: clamp(32px, 4vw, 54px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  background: #f6f8fa;
  border: 1px solid rgba(0, 132, 178, .07);
  border-radius: 36px;
  box-shadow: 0 14px 40px rgba(16, 42, 67, .05);
}

.office-feature-copy {
  padding-inline: clamp(4px, 1vw, 12px);
}

.office-feature-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  color: #0f67c8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .26em;
}

.office-feature-kicker span {
  width: 60px;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      var(--cells-red),
      #0f67c8 75%
    );
}

.office-feature-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 36px);
  line-height: 1.35;
  letter-spacing: -.05em;
}

.office-feature-lead,
.office-feature-text {
  color: #6c7f93;
  font-size: 15px;
  line-height: 2;
}

.office-feature-lead {
  margin-top: 28px;
}

.office-feature-text {
  margin-top: 12px;
}

.office-feature-gallery {
  min-width: 0;
}

.office-feature-gallery .office-showcase {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.office-feature-gallery .office-main-button {
  border-radius: 28px;
  background: #e6eef3;
  box-shadow: 0 18px 40px rgba(16, 42, 67, .08);
}

.office-feature-gallery .office-main-button::after {
  background:
    linear-gradient(
      180deg,
      transparent 55%,
      rgba(10, 24, 43, .14) 100%
    );
}

.office-feature-gallery .office-main-image {
  aspect-ratio: 16 / 9;
}

.office-image-chip {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  color: #fff;
  background: rgba(88, 98, 112, .92);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.office-feature-gallery .office-counter {
  top: 20px;
  right: 20px;
}

.office-feature-gallery .office-control-prev {
  left: 20px;
}

.office-feature-gallery .office-control-next {
  right: 20px;
}

.office-thumbnails-feature {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 14px;
}

.office-thumbnails-feature .office-thumb {
  padding: 4px;
  border-radius: 14px;
  background: #fff;
}

.office-thumbnails-feature .office-thumb img {
  border-radius: 10px;
}

.office-thumbnails-feature .office-thumb span {
  width: 24px;
  height: 24px;
  right: 8px;
  bottom: 8px;
  font-size: 8px;
}


/* =========================================================
   Group
========================================================= */

.section-group {
  background: #fff;
}

.section-group::before {
  background:
    radial-gradient(
      circle at 0% 30%,
      rgba(0, 132, 178, .05),
      transparent 24%
    ),
    radial-gradient(
      circle at 100% 90%,
      rgba(13, 154, 188, .05),
      transparent 22%
    );
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.group-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(0, 132, 178, .08);
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
}

.group-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background:
    linear-gradient(
      90deg,
      var(--cells-blue),
      var(--cells-red)
    );
}

.card-brand-forrou::before {
  background:
    linear-gradient(
      90deg,
      var(--forrou),
      var(--cells-blue)
    );
}

.group-card-head {
  margin-bottom: 20px;
}

.group-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  color: var(--cells-blue);
  background: var(--cells-blue-light);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.card-brand-forrou .group-badge {
  color: var(--forrou);
  background: var(--forrou-light);
}

.group-card h3 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -.03em;
}

.group-card-head p {
  color: var(--text-sub);
  font-size: 14px;
}

.group-info {
  border-top: 1px solid rgba(16, 42, 67, .08);
}

.group-info > div {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(16, 42, 67, .08);
}

.group-info dt {
  flex: 0 0 110px;
  color: var(--text-sub);
  font-size: 13px;
}

.group-info dd {
  flex: 1;
  color: #414141;
  font-size: 14px;
}

.card-link {
  margin-top: 24px;
}

.card-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: var(--cells-blue);
  background: #fff;
  border: 1px solid rgba(0, 132, 178, .16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.card-brand-forrou .card-link a {
  color: var(--forrou);
  border-color: rgba(13, 154, 188, .18);
}

.card-link a:hover {
  background: var(--cells-blue-light);
  transform: translateY(-1px);
}

.card-brand-forrou .card-link a:hover {
  background: var(--forrou-light);
}


/* =========================================================
   News
========================================================= */

.section-news {
  background:
    linear-gradient(
      180deg,
      #f7fbff 0%,
      #fff 100%
    );
}

.news-board {
  padding: 12px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(0, 132, 178, .08);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

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

.news-list li + li {
  margin-top: 12px;
}

.news-list a {
  display: grid;
  grid-template-columns:
    110px
    auto
    minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 20px;
  text-decoration: none;
  transition:
    background .2s ease,
    transform .2s ease;
}

.news-list a:hover {
  background: #f8fbff;
  transform: translateY(-1px);
}

.news-list time {
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 700;
}

.news-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  color: var(--cells-blue);
  background: var(--cells-blue-light);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.news-title {
  min-width: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.news-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--cells-blue);
  background: rgba(0, 132, 178, .06);
  border-radius: 50%;
  font-size: 16px;
}


/* =========================================================
   Recruit
========================================================= */

.section-recruit {
  padding-top: 26px;
  background: #fff;
}

.recruit-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 44px 42px;
  background:
    linear-gradient(
      135deg,
      var(--navy) 0%,
      var(--cells-blue) 55%,
      var(--forrou) 100%
    );
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(0, 132, 178, .2);
}

.recruit-panel::before,
.recruit-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.recruit-panel::before {
  width: 260px;
  height: 260px;
  top: -110px;
  right: -80px;
  background:
    radial-gradient(
      circle,
      rgba(255, 255, 255, .18),
      rgba(255, 255, 255, 0) 70%
    );
}

.recruit-panel::after {
  width: 180px;
  height: 180px;
  left: -40px;
  bottom: -70px;
  background:
    radial-gradient(
      circle,
      rgba(255, 255, 255, .16),
      rgba(255, 255, 255, 0) 70%
    );
}

.recruit-copy {
  position: relative;
  z-index: 1;
}

.recruit-copy .section-kicker {
  color: rgba(255, 255, 255, .8);
}

.recruit-copy .section-kicker::before {
  background: rgba(255, 255, 255, .5);
}

.recruit-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 3vw, 42px);
}

.recruit-copy p {
  margin-top: 12px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}

.recruit-button {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  justify-content: center;
  padding-right: 30px;
  padding-left: 30px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 18px 36px rgba(16, 42, 67, .18);
}

.recruit-button span {
  color: var(--navy);
  background: rgba(16, 42, 67, .08);
}

.recruit-button:hover {
  box-shadow: 0 24px 42px rgba(16, 42, 67, .24);
}


/* =========================================================
   Footer
========================================================= */

.site-footer {
  margin-top: 40px;
  padding: 42px 0 28px;
  color: #9cb5cb;
  background: #0d2236;
}

.footer-inner {
  display: grid;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.footer-name {
  margin-bottom: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.footer-brand address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.8;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: #b6cadb;
  font-size: 13px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
}

.copyright {
  padding-top: 20px;
  color: #7f9ab0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
}


/* =========================================================
   Animations
========================================================= */

@keyframes rotate {
  to {
    transform:
      translate(-50%, -50%)
      rotate(360deg);
  }
}

@keyframes rotate-reverse {
  to {
    transform:
      translate(-50%, -50%)
      rotate(-360deg);
  }
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@keyframes float-shape {
  to {
    transform:
      rotate(4deg)
      scale(1.04);
  }
}

@keyframes scroll-line {
  0% {
    left: -100%;
  }

  55%,
  100% {
    left: 100%;
  }
}

@keyframes hero-kicker-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-kicker-line-in {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes hero-copy-line-in {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateY(24px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes hero-copy-marker-in {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes hero-copy-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================================
   Responsive / Tablet
========================================================= */

@media (max-width: 1180px) {
  .office-gallery-layout {
    grid-template-columns: 1fr;
  }

  .office-sidecopy {
    max-width: 820px;
  }
}

@media (max-width: 1100px) {
  .brand-name {
    display: none;
  }

  .office-heading-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .office-intro {
    max-width: 820px;
  }

  .global-nav ul {
    gap: 22px;
  }

  .hero-inner {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(390px, .8fr);
    gap: 50px;
  }

  .visual-stage {
    width: 460px;
  }

  .card-cells {
    right: -5%;
  }

  .message-layout,
  .profile-shell,
  .group-grid {
    grid-template-columns: 1fr;
  }

  .message-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .profile-side {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1080px) {
  .office-feature {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .office-feature-copy {
    max-width: 760px;
  }
}


/* =========================================================
   Responsive / Mobile navigation
========================================================= */

@media (max-width: 860px) {
  :root {
    --header-height: 72px;
  }

  .container,
  .header-inner,
  .hero-inner,
  .hero-footer {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .brand img {
    width: 102px;
  }

  .menu-button {
    position: relative;
    z-index: 102;
    display: grid;
    place-content: center;
    gap: 5px;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    padding: 0;
    background: var(--navy);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    touch-action: manipulation;
  }

  .menu-button > span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition:
      transform .25s ease,
      opacity .25s ease;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(1) {
    transform:
      translateY(7px)
      rotate(45deg);
  }

  .menu-button[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(3) {
    transform:
      translateY(-7px)
      rotate(-45deg);
  }

  /*
   * header の backdrop-filter を基準に position: fixed が
   * 閉じ込められる端末があるため、メニューは固定ヘッダー
   * 直下の absolute 要素として表示。
   */
  .global-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 101;
    display: block;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    padding:
      clamp(28px, 6vh, 56px)
      max(24px, env(safe-area-inset-right))
      max(32px, env(safe-area-inset-bottom))
      max(24px, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    box-shadow: 0 18px 40px rgba(16, 42, 67, .08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity .25s ease,
      visibility .25s ease,
      transform .25s ease;
  }

  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .global-nav ul {
    width: min(100%, 460px);
    margin: 0 auto;
    display: grid;
    gap: 0;
  }

  .global-nav li {
    border-bottom: 1px solid var(--line);
  }

  .global-nav a {
    padding: 18px 4px;
    font-size: 18px;
  }

  .global-nav a:not(.nav-button)::after {
    display: none;
  }

  .global-nav small {
    font-size: 9px;
  }

  .nav-button {
    margin-top: 24px;
    justify-content: center;
    border-radius: 12px;
  }

  .section {
    padding: 86px 0;
  }

  .section-head-inline {
    align-items: start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 64px);
  }

  .hero::before {
    height: 40%;
  }

  .hero-grid {
    mask-image: none;
    opacity: .38;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-copy {
    max-width: 680px;
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(40px, 8vw, 62px);
  }

  .hero-line-first {
    white-space: normal;
  }

  .hero-visual {
    min-height: 470px;
  }

  .visual-stage {
    width: min(82vw, 480px);
  }

  .hero-footer {
    margin-top: 4px;
  }

  .message-aside {
    grid-template-columns: 1fr;
  }

  .message-content {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .message-content .lead {
    font-size: 18px;
  }

  .profile-list {
    padding: 8px 22px;
  }

  .profile-list > div {
    flex-direction: column;
    gap: 8px;
    padding: 18px 0;
  }

  .profile-list dt {
    flex-basis: auto;
  }

  .profile-side {
    grid-template-columns: 1fr;
  }

  .group-grid {
    gap: 22px;
  }

  .group-card {
    padding: 26px 22px;
  }

  .group-card h3 {
    font-size: 24px;
  }

  .group-info > div {
    flex-direction: column;
    gap: 6px;
  }

  .group-info dt {
    flex-basis: auto;
  }

  .news-list a {
    grid-template-columns:
      auto
      minmax(0, 1fr);
    gap: 8px 12px;
    padding: 18px 18px 20px;
  }

  .news-list time {
    grid-column: 1;
    white-space: nowrap;
  }

  .news-category {
    grid-column: 2;
    justify-self: start;
    white-space: nowrap;
  }

  .news-title {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .news-arrow {
    width: 36px;
    height: 36px;
  }

  .recruit-panel {
    align-items: start;
    flex-direction: column;
    padding: 34px 24px;
    border-radius: 28px;
  }

  .recruit-button {
    width: 100%;
  }

  .footer-brand {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
}


/* =========================================================
   Responsive / Smartphone
========================================================= */

@media (max-width: 640px) {
  .section-office {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .office-feature {
    padding: 22px;
    border-radius: 26px;
    gap: 22px;
  }

  .office-feature-kicker {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: .22em;
  }

  .office-feature-kicker span {
    width: 46px;
  }

  .office-feature-copy h2 {
    font-size: 30px;
    line-height: 1.42;
  }

  .office-feature-lead,
  .office-feature-text {
    font-size: 14px;
    line-height: 1.95;
  }

  .office-feature-lead {
    margin-top: 20px;
  }

  .office-feature-gallery .office-main-button {
    border-radius: 20px;
  }

  .office-image-chip {
    left: 16px;
    bottom: 16px;
    min-height: 40px;
    padding: 0 18px;
    font-size: 12px;
    letter-spacing: .12em;
  }

  .office-thumbnails-feature {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .section-office {
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .office-heading-layout {
    margin-bottom: 24px;
  }

  .office-intro {
    padding: 22px 22px 22px 25px;
    border-radius: 20px;
  }

  .office-intro h3 {
    font-size: 19px;
  }

  .office-intro p {
    font-size: 13px;
    line-height: 1.85;
  }

  .office-showcase {
    padding: 8px;
    border-radius: 22px;
  }

  .office-main-button {
    border-radius: 16px;
  }

  .office-main-image {
    aspect-ratio: 4 / 3;
  }

  .office-caption {
    right: 16px;
    bottom: 14px;
    left: 16px;
    font-size: 12px;
  }

  .office-zoom-hint {
    font-size: 0;
  }

  .office-zoom-hint > span {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .office-control {
    width: 40px;
    height: 40px;
  }

  .office-control-prev {
    left: 18px;
  }

  .office-control-next {
    right: 18px;
  }

  .office-counter {
    top: 20px;
    right: 20px;
    min-height: 30px;
    padding: 0 11px;
  }

  .office-thumbnails {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .office-thumb {
    padding: 4px;
    border-radius: 12px;
  }

  .office-thumb img {
    border-radius: 8px;
  }

  .office-thumb span {
    right: 7px;
    bottom: 7px;
    width: 24px;
    height: 24px;
  }

  .office-modal {
    width: calc(100% - 24px);
  }

  .office-modal-stage {
    min-height: 64vh;
  }

  .office-modal-stage img {
    max-height: 64vh;
    border-radius: 10px;
  }

  .office-modal-close {
    top: -48px;
    width: 40px;
    height: 40px;
  }

  .office-modal-control {
    top: auto;
    bottom: -58px;
    width: 44px;
    height: 44px;
    transform: none;
  }

  .office-modal-control-prev {
    left: 0;
  }

  .office-modal-control-next {
    right: 0;
  }

  .office-modal-meta {
    min-height: 64px;
    padding: 14px 58px 0;
    justify-content: center;
    text-align: center;
  }

  .office-modal-meta > p:first-child {
    font-size: 12px;
    line-height: 1.6;
  }

  .office-modal-counter {
    display: none;
  }

  .hero {
    padding-bottom: 28px;
  }

  .hero-copy {
    min-width: 0;
  }

  .hero h1 {
    font-size: clamp(26px, 8.2vw, 36px);
    line-height: 1.42;
    letter-spacing: -.055em;
  }

  .hero-line-first,
  .hero h1 em {
    white-space: nowrap;
    word-break: keep-all;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.8;
  }

  .hero-description {
    font-size: 13px;
    line-height: 1.9;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .primary-button {
    width: 100%;
  }

  .hero-visual {
    min-height: clamp(320px, 95vw, 390px);
  }

  .visual-stage {
    width: min(100%, 360px);
  }

  .visual-center {
    width: 142px;
    height: 142px;
  }

  .visual-center img {
    width: 88px;
  }

  .visual-card {
    min-width: 158px;
    padding: 13px 14px;
    gap: 10px;
    border-radius: 14px;
  }

  .visual-card strong {
    font-size: 12px;
  }

  .visual-card small {
    font-size: 5px;
  }

  .card-number {
    flex-basis: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .card-cells {
    top: 12%;
    right: -2%;
  }

  .card-forrou {
    left: -2%;
    bottom: 13%;
  }

  .hero-footer > p:last-child {
    display: none;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .section-head p {
    font-size: 14px;
  }

  .quote-text {
    font-size: 20px;
  }

  .message-block h3 {
    font-size: 17px;
  }

  .message-block p,
  .profile-list dd,
  .profile-highlight p,
  .group-info dd,
  .news-title,
  .recruit-copy p {
    font-size: 14px;
  }

  .profile-highlight h3,
  .recruit-copy h2 {
    font-size: 28px;
  }

  .profile-mini-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    margin-top: 26px;
  }

  .office-sidecopy {
    padding: 22px 20px 22px 22px;
    border-radius: 20px;
  }

  .office-sidecopy h3 {
    font-size: 18px;
  }

  .office-sidecopy > p,
  .office-sidecopy-list dd {
    font-size: 13px;
  }

  .message-president {
    gap: 12px;
    margin-top: 22px;
    padding-top: 22px;
  }

  .message-president-photo {
    width: 138px;
    height: 138px;
  }

  .message-president-name {
    font-size: 18px;
  }

  .message-closing-signature {
    gap: 3px;
    margin-top: 26px;
  }

  .message-closing-company,
  .message-closing-role {
    font-size: 12px;
  }

  .message-closing-name {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .container,
  .header-inner,
  .hero-inner,
  .hero-footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .brand img {
    width: 94px;
  }

  .hero-kicker {
    gap: 10px;
    font-size: 10px;
    letter-spacing: .18em;
  }

  .hero-kicker span {
    width: 34px;
  }

  .visual-card {
    min-width: 144px;
    padding: 12px;
  }

  .visual-card small {
    letter-spacing: .08em;
  }
}


/* =========================================================
   Mobile menu scroll lock
========================================================= */

html.is-menu-open,
body.is-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.is-menu-open {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
}


/* =========================================================
   Lower pages / News archive & detail
   Public routes: /news/ and /news/{slug}/
========================================================= */

.lower-page {
  background: #fff;
}

.lower-page .global-nav a[aria-current="page"] {
  color: var(--cells-blue);
}

.lower-page .global-nav a[aria-current="page"]::after {
  width: 100%;
}

.lower-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 58px) 0 72px;
  background:
    radial-gradient(
      circle at 86% 10%,
      rgba(0, 132, 178, .1),
      transparent 26%
    ),
    linear-gradient(
      135deg,
      #f6fbfe 0%,
      #eef7fb 100%
    );
}

.lower-hero::before {
  content: "";
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 6px;
  height: 56%;
  border-radius: 0 8px 8px 0;
  background:
    linear-gradient(
      var(--cells-blue),
      var(--cells-red)
    );
}

.lower-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(0, 132, 178, .1);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(0, 132, 178, .025),
    0 0 0 140px rgba(0, 132, 178, .018);
}

.lower-hero-inner {
  position: relative;
  z-index: 1;
}


/* Breadcrumb */

.breadcrumb {
  margin-bottom: 42px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 0;
  color: #7b8d9e;
  list-style: none;
  font-size: 11px;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.breadcrumb li + li::before {
  content: "/";
  color: #a8b4bf;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--cells-blue);
}

.lower-hero-kicker {
  margin: 0 0 12px;
  color: var(--cells-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
}

.lower-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.2;
  letter-spacing: -.045em;
}

.lower-hero-description {
  max-width: 620px;
  margin-top: 16px;
  color: var(--text-sub);
  font-size: 15px;
}

.lower-hero-detail {
  padding-bottom: 48px;
}

.lower-hero-detail .breadcrumb {
  margin-bottom: 30px;
}

.lower-hero-detail-label {
  color: var(--navy);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.04em;
}


/* News archive */

.news-archive-section {
  background: #fff;
}

.news-archive-container {
  max-width: 1040px;
}

.news-archive-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.news-archive-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.35;
  letter-spacing: -.03em;
}

.news-archive-heading > p {
  color: var(--text-sub);
  font-size: 13px;
}

.news-archive-list {
  display: grid;
  gap: 18px;
  padding: 0;
  list-style: none;
}

.news-archive-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16, 42, 67, .09);
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(16, 42, 67, .055);
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.news-archive-card:hover {
  border-color: rgba(0, 132, 178, .22);
  box-shadow: 0 18px 44px rgba(16, 42, 67, .09);
  transform: translateY(-2px);
}

.news-archive-card > a {
  display: grid;
  grid-template-columns:
    160px
    minmax(0, 1fr)
    54px;
  align-items: center;
  gap: 28px;
  min-height: 176px;
  padding: 28px 30px;
  text-decoration: none;
}

.news-archive-meta {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
}

.news-archive-meta time,
.news-detail-meta time {
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
}

.news-archive-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.65;
  letter-spacing: -.01em;
}

.news-archive-copy p {
  margin-top: 10px;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.85;
}

.news-archive-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--cells-blue);
  background: var(--cells-blue-light);
  border-radius: 50%;
  font-size: 18px;
  transition:
    color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.news-archive-card:hover .news-archive-arrow {
  color: #fff;
  background: var(--cells-blue);
  transform: translateX(3px);
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 46px;
}

.pagination-current {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--cells-blue);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}


/* News detail */

.news-detail {
  padding-top: 84px;
  background: #fff;
}

.news-detail-container {
  max-width: 900px;
}

.news-detail-header {
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(16, 42, 67, .1);
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.news-detail-header h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.48;
  letter-spacing: -.035em;
}

.news-detail-lead {
  margin-top: 24px;
  color: #4f6478;
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
}

.news-detail-body {
  padding: 52px 0 20px;
  color: #414141;
  font-size: 15px;
  line-height: 2.1;
}

.news-detail-body > * + * {
  margin-top: 18px;
}

.news-detail-body h2 {
  position: relative;
  margin-top: 52px;
  padding: 15px 20px 15px 26px;
  color: var(--navy);
  background: #f4f9fc;
  border-radius: 14px;
  font-size: 23px;
  line-height: 1.55;
  letter-spacing: -.02em;
}

.news-detail-body h2::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 14px 0 0 14px;
  background:
    linear-gradient(
      180deg,
      var(--cells-blue),
      var(--cells-red)
    );
}

.news-detail-data {
  margin-top: 30px;
  padding: 12px 28px;
  background: #fbfdff;
  border: 1px solid rgba(0, 132, 178, .09);
  border-radius: 20px;
}

.news-detail-data dl {
  margin: 0;
}

.news-detail-data dl > div {
  display: grid;
  grid-template-columns:
    150px
    minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(16, 42, 67, .08);
}

.news-detail-data dl > div:last-child {
  border-bottom: 0;
}

.news-detail-data dt {
  color: var(--navy);
  font-weight: 700;
}

.news-detail-data dd {
  margin: 0;
}

.news-detail-footer {
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid rgba(16, 42, 67, .1);
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cells-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.news-back-link:hover {
  text-decoration: underline;
}

.lower-page-footer {
  margin-top: 0;
}


/* Lower responsive */

@media (max-width: 860px) {
  .lower-page .global-nav a[aria-current="page"] {
    color: var(--cells-blue);
  }

  .lower-hero {
    padding-top: calc(var(--header-height) + 42px);
    padding-bottom: 58px;
  }

  .breadcrumb {
    margin-bottom: 30px;
  }

  .news-archive-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .news-archive-card > a {
    grid-template-columns: 1fr auto;
    gap: 18px;
    min-height: 0;
    padding: 24px 22px;
  }

  .news-archive-meta {
    grid-column: 1 / -1;
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
  }

  .news-archive-copy {
    min-width: 0;
  }

  .news-detail {
    padding-top: 68px;
  }
}

@media (max-width: 560px) {
  .lower-hero {
    padding-bottom: 46px;
  }

  .breadcrumb ol {
    gap: 6px 8px;
    font-size: 10px;
  }

  .breadcrumb li {
    gap: 8px;
  }

  .lower-hero-description {
    font-size: 14px;
    line-height: 1.9;
  }

  .news-archive-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .news-archive-card {
    border-radius: 20px;
  }

  .news-archive-card > a {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .news-archive-copy h3 {
    font-size: 17px;
  }

  .news-archive-arrow {
    width: 40px;
    height: 40px;
  }

  .news-detail {
    padding-top: 58px;
    padding-bottom: 74px;
  }

  .news-detail-header {
    padding-bottom: 34px;
  }

  .news-detail-header h1 {
    font-size: 27px;
    line-height: 1.55;
  }

  .news-detail-lead,
  .news-detail-body {
    font-size: 14px;
  }

  .news-detail-body {
    padding-top: 38px;
  }

  .news-detail-body h2 {
    margin-top: 42px;
    padding: 14px 16px 14px 21px;
    font-size: 20px;
  }

  .news-detail-data {
    padding: 8px 18px;
  }

  .news-detail-data dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 15px 0;
  }
}


/* =========================================================
   External link
========================================================= */

.external-link::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-left: 7px;
  background: currentColor;
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M14 5h5v5M10 14 19 5M19 14v5H5V5h5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M14 5h5v5M10 14 19 5M19 14v5H5V5h5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.global-nav .nav-button.external-link {
  gap: 9px !important;
}

.global-nav .nav-button.external-link::after {
  width: 11px;
  height: 11px;
  margin-left: 1px;
  opacity: .86;
}

.recruit-button.external-link {
  gap: 12px;
}

.recruit-button.external-link::after {
  width: 13px;
  height: 13px;
  margin-left: 0;
}

.footer-nav .external-link-text {
  display: inline-flex;
  align-items: center;
}

.footer-nav .external-link-text::after {
  width: 10px;
  height: 10px;
  margin-left: 5px;
  opacity: .82;
}


/* =========================================================
   Home / Smartphone adjustments
========================================================= */

@media (max-width: 640px) {
  body[data-page="home"] .hero {
    padding-top: calc(var(--header-height) + 44px);
    padding-bottom: 12px;
  }

  /*
   * スマホ時のみ hero-copy の子要素を
   * hero-inner のグリッドアイテムとして扱い、
   * 「コピー → ダイアグラム → ボタン」の順に並べる。
   */
  body[data-page="home"] .hero-inner {
    gap: 0;
  }

  body[data-page="home"] .hero-copy {
    display: contents;
  }

  body[data-page="home"] .hero-kicker,
  body[data-page="home"] .hero h1,
  body[data-page="home"] .hero-lead {
    order: 0;
  }

  body[data-page="home"] .hero-kicker {
    margin-bottom: 22px;
  }

  body[data-page="home"] .hero-lead {
    margin-top: 20px;
    margin-bottom: 0;
  }

  body[data-page="home"] .hero-visual {
    order: 1;
    margin-top: 10px;
    min-height: clamp(270px, 78vw, 315px);
  }

  body[data-page="home"] .hero-actions {
    order: 2;
    margin-top: 35px;
    margin-bottom: 38px;
  }

  /* スマホでは導線を1つに絞る */
  body[data-page="home"] .hero-actions .secondary-link {
    display: none;
  }

  /* KVダイアグラムをコンパクトに */
  body[data-page="home"] .visual-stage {
    width: min(82vw, 304px);
  }

  body[data-page="home"] .visual-center {
    width: 118px;
    height: 118px;
    gap: 8px;
  }

  body[data-page="home"] .visual-center img {
    width: 72px;
  }

  body[data-page="home"] .visual-center p {
    font-size: 7px;
  }

  body[data-page="home"] .visual-card {
    min-width: 138px;
    padding: 10px 11px;
    gap: 8px;
    border-radius: 12px;
  }

  body[data-page="home"] .visual-card strong {
    font-size: 11px;
  }

  body[data-page="home"] .visual-card small {
    font-size: 5px;
    letter-spacing: .06em;
  }

  body[data-page="home"] .card-number {
    flex-basis: 27px;
    height: 27px;
    border-radius: 8px;
    font-size: 8px;
  }

  body[data-page="home"] .card-cells {
    top: 11%;
    right: -2%;
  }

  body[data-page="home"] .card-forrou {
    left: -2%;
    bottom: 12%;
  }

  body[data-page="home"] .visual-dot.dot-a {
    width: 14px;
    height: 14px;
  }

  body[data-page="home"] .visual-dot.dot-b {
    width: 9px;
    height: 9px;
  }

  /* セクション間の余白 */
  body[data-page="home"] .section:not(.section-office) {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  body[data-page="home"] .section-head {
    margin-bottom: 34px;
  }

  /*
   * Office：
   * スマホは写真切替のみ。
   * 拡大モーダルは使用しない。
   */
  body[data-page="home"] .office-modal,
  body[data-page="home"] .office-modal-note {
    display: none !important;
  }

  body[data-page="home"] .office-feature {
    padding: 18px;
    border-radius: 22px;
    gap: 20px;
  }

  body[data-page="home"] .office-feature-copy h2 {
    font-size: 28px;
  }

  body[data-page="home"] .office-feature-gallery .office-main-button,
  body[data-page="home"] .office-feature-gallery .office-main-button:disabled {
    cursor: default;
    opacity: 1;
  }

  body[data-page="home"] .office-main-button:hover .office-main-image {
    transform: none;
  }

  body[data-page="home"] .office-thumb {
    cursor: pointer;
  }

  body[data-page="home"] .office-image-chip {
    left: 12px;
    bottom: 12px;
    min-height: 34px;
    padding: 0 14px;
    font-size: 10px;
  }

  body[data-page="home"] .office-control {
    width: 38px;
    height: 38px;
  }

  body[data-page="home"] .office-feature-gallery .office-control-prev {
    left: 12px;
  }

  body[data-page="home"] .office-feature-gallery .office-control-next {
    right: 12px;
  }

  body[data-page="home"] .office-feature-gallery .office-counter {
    top: 12px;
    right: 12px;
  }
}


/* =========================================================
   Reduced motion
========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}