/* ===== Tokens ===== */
:root {
  --navy: #0d1645;
  --navy-2: #131e57;
  --navy-deep: #0a1130;
  --red: #a02828;
  --red-2: #8c1f1f;
  --red-deep: #761919;
  --paper: #ffffff;
  --warm: #f6f3ee;
  --ink: #0d1645;
  --muted: #6b7280;
  --line: #e6e3dc;

  --max: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 0;
  border-bottom: 1px solid rgba(13, 22, 69, 0.06);
}
.header__logo {
  background: #fff;
  height: 72px;
  padding: 10px 28px 10px 28px;
  display: flex;
  align-items: center;
  position: relative;
}
.header__logo img {
  height: 44px;
  width: auto;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 0;
  height: 100%;
}
.header__nav a {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .25s var(--ease), left .25s var(--ease);
}
.header__nav a:hover::after { width: 100%; left: 0; }

/* ===== Nav dropdown (吹き出し) ===== */
.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-drop {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  background: #fff;
  border: 1px solid rgba(13, 22, 69, .08);
  border-radius: 12px;
  box-shadow: 0 18px 40px -16px rgba(13, 22, 69, .3);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 60;
}
/* speech-bubble pointer */
.nav-drop::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 13px;
  height: 13px;
  background: #fff;
  border-left: 1px solid rgba(13, 22, 69, .08);
  border-top: 1px solid rgba(13, 22, 69, .08);
}
/* invisible hover bridge so the bubble doesn't close in the gap */
.nav-drop::after {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-drop a {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  padding: 9px 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav-drop a::after { display: none !important; }
.nav-drop a:hover {
  background: rgba(160, 40, 40, .08);
  color: var(--red);
}
.header__contact {
  background: var(--red);
  color: #fff;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 36px;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 14px;
  transition: background .2s var(--ease);
}
.header__contact:hover { background: var(--red-2); }
.header__contact svg { width: 18px; height: 18px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: 16px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform .25s var(--ease), opacity .2s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #1a2a6b 0%, #0f1a4a 60%, #0a1336 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 19, 54, .15) 0%, rgba(10, 19, 54, .35) 100%),
    url('assets/hero-city.jpg') center right / cover no-repeat;
}
/* keep .hero__city slot empty (placeholder for variants that move it) */
.hero__city {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__city::after { content: none; }

/* Red angular panel */
.hero__panel {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 60%;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, calc(100% - 110px) 100%, 0 100%);
  z-index: 2;
}
/* small white triangle notch top-right of panel */
.hero__notch {
  position: absolute;
  top: 0;
  left: 60%;
  width: 120px;
  height: 56px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 60% 100%);
  z-index: 3;
}

.hero__inner {
  position: relative;
  z-index: 4;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 0;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero__content {
  color: #fff;
  max-width: 540px;
}
.hero__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin: 0 0 22px;
  text-shadow: 0 2px 0 rgba(0,0,0,.05);
}
.hero__title em {
  font-style: normal;
  display: inline-block;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 1.05em;
  margin-right: 0.05em;
}
.hero__lead {
  font-size: 14px;
  line-height: 2;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, .95);
  letter-spacing: 0.04em;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  --bg: #fff;
  --fg: var(--navy);
  --br: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg);
  color: var(--fg);
  border: 2px solid var(--br);
  padding: 14px 22px;
  min-width: 220px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .25s var(--ease);
  user-select: none;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fg);
  transform: translateX(-101%);
  transition: transform .35s var(--ease);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateX(0); }
.btn:active { transform: scale(.97); }
.btn .btn__arrow {
  width: 22px;
  height: 10px;
  position: relative;
}
.btn .btn__arrow::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform .3s var(--ease);
}
.btn .btn__arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 8px; height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .btn__arrow::before { transform: translateY(-50%) translateX(4px); }

.btn--ghost {
  --bg: transparent;
  --fg: #fff;
  --br: #fff;
}
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--red); }

/* ===== Section base ===== */
.section {
  padding: 96px 24px;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
}
.section__head {
  text-align: center;
  margin-bottom: 56px;
}
.section__eyebrow {
  font-family: "Anton", sans-serif;
  color: var(--red);
  letter-spacing: 0.22em;
  font-size: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.section__eyebrow::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  margin: 8px auto 0;
}
.section__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0;
  color: var(--navy);
}

/* ===== News ===== */
.news {
  padding: 80px 24px;
}
.news__wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: start;
}
.news__heading {
  font-family: "Anton", sans-serif;
  color: var(--red);
  font-size: 32px;
  letter-spacing: 0.2em;
  line-height: 1.1;
}
.news__heading small {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-top: 6px;
}
.news__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.news__item {
  display: grid;
  grid-template-columns: 110px 90px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .2s var(--ease);
}
.news__item:hover { background: rgba(160, 40, 40, .03); }
.news__date {
  font-family: "Anton", sans-serif;
  color: var(--navy);
  font-size: 16px;
  letter-spacing: 0.06em;
}
.news__tag {
  font-size: 12px;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 4px 8px;
  text-align: center;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.news__title {
  font-size: 14px;
  color: var(--ink);
}
.news__arrow {
  color: var(--navy);
  font-family: "Anton", sans-serif;
  font-size: 20px;
  transition: transform .25s var(--ease);
}
.news__item:hover .news__arrow { transform: translateX(6px); }
.news__more {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  font-size: 13px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.08em;
  gap: 12px;
  align-items: center;
}
.news__more:hover { color: var(--red); }

/* ===== Service ===== */
.service {
  background: #fff;
  padding-bottom: 110px;
}
.service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -20px rgba(13, 22, 69, .25);
}
.service-card__media {
  height: 160px;
  position: relative;
}
.service-card__media[data-kind="web"]   {
  background: linear-gradient(135deg, #6b1d1d 0%, #2a1010 100%) center/cover no-repeat,
              url('assets/service-web.jpg') center/cover no-repeat;
  background-image: url('assets/service-web.jpg');
  background-size: cover;
  background-position: center;
}
.service-card__media[data-kind="system"]{
  background-image: url('assets/service-system.jpg');
  background-size: cover;
  background-position: center;
}
.service-card__media[data-kind="ses"]   {
  background-image: url('assets/service-ses.jpg');
  background-size: cover;
  background-position: center;
}
.service-card__media[data-kind="app"]   {
  background-image: url('assets/service-app.jpg');
  background-size: cover;
  background-position: center;
}
.service-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(13, 22, 69, .35) 100%);
}
.service-card__media::after {
  content: "";
  display: none;
}
.service-card__icon {
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translateX(-50%);
  width: 76px;
  height: 76px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 22px -6px rgba(13, 22, 69, .35), 0 0 0 1px rgba(13, 22, 69, .04);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  z-index: 3;
}
.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.service-card__body {
  padding: 50px 22px 28px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card__title {
  font-size: 17px;
  font-weight: 900;
  margin: 0 0 14px;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.service-card__text {
  font-size: 13px;
  line-height: 1.85;
  color: #555;
  margin: 0 0 22px;
  text-align: left;
  flex: 1;
}
.service-card__link {
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  position: relative;
  transition: gap .25s var(--ease);
}
.service-card__link::after {
  content: "→";
  font-family: "Anton", sans-serif;
  font-size: 16px;
  transition: transform .25s var(--ease);
}
.service-card__link:hover { gap: 22px; }

/* ===== Strength ===== */
.strength {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(80, 110, 200, .14), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(120, 60, 60, .1), transparent 50%),
    linear-gradient(180deg, #0d1645 0%, #0a1130 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.strength::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(120, 160, 240, .12) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(120, 160, 240, .08) 1px, transparent 1.5px);
  background-size: 60px 60px, 90px 90px;
  background-position: 0 0, 30px 30px;
  opacity: .8;
  pointer-events: none;
}
.strength::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(120, 160, 240, .08) 0 1px, transparent 1px 80px),
    linear-gradient(-45deg, rgba(120, 160, 240, .06) 0 1px, transparent 1px 100px);
  pointer-events: none;
}
.strength .container { position: relative; z-index: 2; }
.strength .section__eyebrow { color: #ff6a6a; }
.strength .section__eyebrow::after { background: #ff6a6a; }
.strength .section__title { color: #fff; }
.strength__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 24px;
}
.strength-item {
  text-align: center;
  padding: 12px;
}
.strength-item__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.strength-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.strength-item__title {
  font-size: 17px;
  font-weight: 900;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}
.strength-item__text {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .85);
  margin: 0;
}

/* ===== Partnership ===== */
.partner {
  padding: 100px 24px;
  background: #fff;
}
.partner__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
}
.partner__logo {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-align: center;
  font-size: 14px;
  transition: transform .2s var(--ease);
}
.partner__logo:hover { transform: scale(1.04); }
.partner__logo .small { font-size: 10px; color: #666; display: block; font-weight: 500; margin-top: 2px; letter-spacing: 0.04em; }
.partner__logo--rings {
  flex-direction: column;
  gap: 4px;
}
.partner__logo--rings::before {
  content: "";
  width: 38px; height: 22px;
  background:
    radial-gradient(circle at 30% 50%, transparent 7px, #d4a017 7.5px, #d4a017 9px, transparent 9.5px),
    radial-gradient(circle at 70% 50%, transparent 7px, #d4a017 7.5px, #d4a017 9px, transparent 9.5px);
  background-size: 100% 100%;
}
.partner__more {
  text-align: center;
  font-size: 13px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.partner__more:hover { color: var(--red); }

/* ===== CTA banner ===== */
.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 50%, rgba(80, 160, 220, .25), transparent 55%),
    linear-gradient(180deg, #0d1645 0%, #0a1130 100%);
  color: #fff;
  padding: 70px 24px;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(120, 160, 240, .1) 1px, transparent 1.5px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta__container {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta__title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}
.cta__lead {
  font-size: 14px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .85);
}
.cta .btn { background: var(--red); color: #fff; border-color: var(--red); }
.cta .btn::before { background: #fff; }
.cta .btn:hover { color: var(--red); }

.cta__visual {
  height: 200px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 40%, rgba(120, 200, 255, .35), transparent 50%),
    radial-gradient(circle at 50% 50%, #88e0ff 0 6px, transparent 7px),
    linear-gradient(135deg, #1a2a6b 0%, #0a1130 100%);
  position: relative;
  overflow: hidden;
}
.cta__visual::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 200, 255, .8) 0%, rgba(120, 200, 255, .15) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(2px);
  animation: pulse 3s ease-in-out infinite;
}
.cta__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(120, 160, 240, .08) 0 1px, transparent 1px 16px);
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .9; }
  50%      { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* ===== Footer ===== */
.footer {
  background: var(--red);
  color: #fff;
  padding: 70px 24px 36px;
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer__brand {
  align-self: start;
}
.footer__brand-name {
  font-family: "Anton", "Noto Sans JP", sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
  margin: 0 0 16px;
  display: inline-block;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}
.footer__brand img {
  height: 42px;
  filter: brightness(0) invert(1);
}
.footer__brand p {
  font-size: 12px;
  color: rgba(255, 255, 255, .95);
  line-height: 1.85;
  margin: 16px 0 0;
}
.footer__col h4 {
  font-family: "Anton", sans-serif;
  font-size: 15px;
  letter-spacing: 0.16em;
  margin: 0 0 8px;
  color: #fff;
}
.footer__col h4 + small {
  font-size: 11px;
  color: rgba(255, 255, 255, .75);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 14px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { font-size: 12px; margin-bottom: 8px; color: rgba(255, 255, 255, .9); }
.footer__col a { transition: color .2s var(--ease), opacity .2s var(--ease); }
.footer__col a:hover { color: #fff; opacity: .7; }
.footer__bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, .8);
}
.footer__legal { display: flex; gap: 22px; }
.footer__legal a:hover { color: #fff; opacity: .7; }

/* ===== Mobile nav overlay ===== */
.mobile-nav {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--navy);
  z-index: 49;
  padding: 40px 24px;
  transform: translateY(-110%);
  transition: transform .35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding: 14px 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav a::after {
  content: "→";
  font-family: "Anton", sans-serif;
  color: var(--red);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .service__grid { grid-template-columns: repeat(2, 1fr); }
  .strength__grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .partner__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .header__nav, .header__contact { display: none; }
  .menu-toggle { display: flex; }
  .header__logo { padding: 10px 40px 10px 20px; }
  .header__logo img { height: 36px; }

  .hero { height: auto; min-height: 520px; padding: 40px 0 50px; }
  .hero__panel { width: 88%; clip-path: polygon(0 0, 100% 0, calc(100% - 60px) 100%, 0 100%); }
  .hero__notch { left: 88%; width: 60px; height: 32px; }
  .hero__city { left: 50%; right: -10%; bottom: 0; height: 50%; opacity: .35; }
  .hero__title { font-size: 30px; }
  .hero__lead { font-size: 13px; }
  .btn { min-width: 0; width: 100%; }

  .section { padding: 70px 20px; }
  .news { padding: 60px 20px; }
  .news__wrap { grid-template-columns: 1fr; gap: 16px; }
  .news__heading { font-size: 26px; }
  .news__item { grid-template-columns: 1fr 1fr; row-gap: 6px; column-gap: 12px; padding: 14px 4px; }
  .news__title { grid-column: 1 / -1; }
  .news__arrow { display: none; }

  .service__grid { grid-template-columns: 1fr; }
  .strength__grid { grid-template-columns: 1fr 1fr; }
  .partner__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }

  .cta { padding: 50px 20px; }
  .cta__container { grid-template-columns: 1fr; }
  .cta__visual { height: 140px; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 14px; text-align: center; }
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}


/* =====================================================================
   TWEAKS — variants applied via [data-cut] / [data-energy] / [data-rhythm]
   ===================================================================== */

/* ---------- Hero Cut: SHARP (default) is current ---------- */

/* ---------- Hero Cut: BLOCK ---------- */
html[data-cut="block"] .hero__panel {
  width: 52%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
html[data-cut="block"] .hero__notch { display: none; }
html[data-cut="block"] .hero__city { left: 50%; }

/* ---------- Hero Cut: WAVE ---------- */
html[data-cut="wave"] .hero__panel {
  width: 64%;
  clip-path: ellipse(85% 130% at 18% 50%);
}
html[data-cut="wave"] .hero__notch { display: none; }
html[data-cut="wave"] .hero__city { left: 55%; }

/* =====================================================================
   Brand Energy — palette swaps + accent tone
   ===================================================================== */

/* ---------- BOLD (default) is current red+navy ---------- */

/* ---------- CALM: navy-dominant, brick muted, softer header ---------- */
html[data-energy="calm"] {
  --red: #6e2a2a;
  --red-2: #5a2222;
  --red-deep: #4a1c1c;
  --navy: #14224d;
  --navy-deep: #0c1638;
}
html[data-energy="calm"] .hero {
  background: linear-gradient(180deg, #1a2454 0%, #0f1736 60%, #0a1228 100%);
}
html[data-energy="calm"] .hero__panel { width: 48%; }
html[data-energy="calm"] .hero__notch { left: 48%; }
html[data-energy="calm"] .header__contact { background: var(--navy); }
html[data-energy="calm"] .header__contact:hover { background: var(--navy-deep); }
html[data-energy="calm"] .section__eyebrow { color: var(--navy); letter-spacing: 0.3em; }
html[data-energy="calm"] .section__eyebrow::after { background: var(--navy); }
html[data-energy="calm"] .service-card__link { color: var(--navy); }
html[data-energy="calm"] .news__heading { color: var(--navy); letter-spacing: 0.3em; }
html[data-energy="calm"] .news__more:hover { color: var(--navy); }
html[data-energy="calm"] .cta .btn { background: var(--navy); border-color: var(--navy); }
html[data-energy="calm"] .cta .btn:hover { color: var(--navy); }
html[data-energy="calm"] .strength { background: linear-gradient(180deg, #14224d 0%, #0c1638 100%); }
html[data-energy="calm"] .strength .section__eyebrow { color: #b9c5f0; }
html[data-energy="calm"] .strength .section__eyebrow::after { background: #b9c5f0; }
html[data-energy="calm"] .footer__col h4 { color: var(--navy); }

/* ---------- TECH: electric cyan accent, deeper navy ---------- */
html[data-energy="tech"] {
  --red: #0094c9;
  --red-2: #0078a6;
  --red-deep: #005f85;
  --navy: #051236;
  --navy-deep: #020a22;
  --line: #dde5ee;
}
html[data-energy="tech"] body { background: #f4f7fb; }
html[data-energy="tech"] .hero {
  background: linear-gradient(180deg, #0a1e5e 0%, #051236 60%, #020a22 100%);
}
html[data-energy="tech"] .hero__panel {
  background: linear-gradient(135deg, #0094c9 0%, #00688f 100%);
}
html[data-energy="tech"] .header__contact {
  background: linear-gradient(135deg, #0094c9 0%, #00688f 100%);
}
html[data-energy="tech"] .header__contact:hover { filter: brightness(1.1); }
html[data-energy="tech"] .news { background: #f4f7fb; }
html[data-energy="tech"] .service { background: #f4f7fb; }
html[data-energy="tech"] .partner { background: #fff; }
html[data-energy="tech"] .service-card { border: 1px solid #d5e0ee; box-shadow: 0 1px 0 #eef3f9; }
html[data-energy="tech"] .strength {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0, 200, 255, .18), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0, 130, 200, .15), transparent 50%),
    linear-gradient(180deg, #051236 0%, #020a22 100%);
}
html[data-energy="tech"] .strength .section__eyebrow { color: #4ad3ff; }
html[data-energy="tech"] .strength .section__eyebrow::after { background: #4ad3ff; }
html[data-energy="tech"] .cta {
  background:
    radial-gradient(circle at 80% 50%, rgba(0, 180, 240, .35), transparent 55%),
    linear-gradient(180deg, #051236 0%, #020a22 100%);
}

/* =====================================================================
   Rhythm — type scale + section padding
   ===================================================================== */

/* ---------- EDITORIAL: airy, large display ---------- */
html[data-rhythm="editorial"] .section { padding: 140px 24px; }
html[data-rhythm="editorial"] .news { padding: 110px 24px; }
html[data-rhythm="editorial"] .hero { height: 680px; }
html[data-rhythm="editorial"] .hero__title { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.12; }
html[data-rhythm="editorial"] .hero__lead { font-size: 15px; line-height: 2.2; }
html[data-rhythm="editorial"] .section__title { font-size: clamp(32px, 3.8vw, 48px); letter-spacing: 0.12em; }
html[data-rhythm="editorial"] .section__head { margin-bottom: 84px; }
html[data-rhythm="editorial"] .section__eyebrow { font-size: 17px; letter-spacing: 0.32em; margin-bottom: 22px; }
html[data-rhythm="editorial"] .section__eyebrow::after { width: 48px; }
html[data-rhythm="editorial"] .service-card__title { font-size: 19px; }
html[data-rhythm="editorial"] .service-card__text { font-size: 14px; line-height: 2; }
html[data-rhythm="editorial"] .service-card__body { padding: 56px 26px 36px; }
html[data-rhythm="editorial"] .strength-item__title { font-size: 19px; }
html[data-rhythm="editorial"] .strength-item__text { font-size: 14px; }
html[data-rhythm="editorial"] .cta { padding: 110px 24px; }
html[data-rhythm="editorial"] .cta__title { font-size: clamp(28px, 3vw, 42px); line-height: 1.4; }

/* ---------- COMPACT: dense corporate ---------- */
html[data-rhythm="compact"] .section { padding: 60px 24px; }
html[data-rhythm="compact"] .news { padding: 48px 24px; }
html[data-rhythm="compact"] .hero { height: 460px; }
html[data-rhythm="compact"] .hero__title { font-size: clamp(28px, 3.4vw, 46px); }
html[data-rhythm="compact"] .hero__lead { font-size: 13px; line-height: 1.85; margin-bottom: 24px; }
html[data-rhythm="compact"] .section__title { font-size: clamp(22px, 2.4vw, 28px); }
html[data-rhythm="compact"] .section__head { margin-bottom: 36px; }
html[data-rhythm="compact"] .section__eyebrow { font-size: 13px; margin-bottom: 8px; }
html[data-rhythm="compact"] .service-card__body { padding: 42px 18px 22px; }
html[data-rhythm="compact"] .service-card__title { font-size: 15px; margin-bottom: 10px; }
html[data-rhythm="compact"] .service-card__text { font-size: 12px; line-height: 1.7; margin-bottom: 16px; }
html[data-rhythm="compact"] .strength-item__title { font-size: 15px; margin-bottom: 10px; }
html[data-rhythm="compact"] .strength-item__text { font-size: 12px; line-height: 1.75; }
html[data-rhythm="compact"] .strength-item__icon { width: 60px; height: 60px; margin-bottom: 12px; }
html[data-rhythm="compact"] .cta { padding: 50px 24px; }
html[data-rhythm="compact"] .cta__title { font-size: clamp(20px, 2vw, 26px); margin-bottom: 10px; }
html[data-rhythm="compact"] .cta__lead { margin-bottom: 18px; }
html[data-rhythm="compact"] .news__heading { font-size: 26px; }
html[data-rhythm="compact"] .partner__grid { gap: 20px; margin-bottom: 28px; }

/* All variant tweaks animate smoothly */
.hero__panel, .hero__notch, .hero__city,
.header__logo, .header__contact,
.section, .news, .hero,
.section__title, .section__eyebrow, .hero__title, .hero__lead,
.service-card__body, .service-card__title, .service-card__text,
.strength-item__icon, .strength-item__title, .strength-item__text,
.cta, .cta__title, .news__heading {
  transition:
    width .5s var(--ease),
    height .5s var(--ease),
    padding .4s var(--ease),
    margin .4s var(--ease),
    font-size .35s var(--ease),
    background-color .4s var(--ease),
    background .4s var(--ease),
    color .3s var(--ease),
    clip-path .5s var(--ease),
    line-height .35s var(--ease),
    letter-spacing .35s var(--ease);
}


/* =====================================================================
   CONTACT FORM
   ===================================================================== */
.contactform {
  background: var(--warm);
  padding: 110px 24px;
}
.contactform__container {
  max-width: 820px;
  margin: 0 auto;
}
.cform {
  background: #fff;
  padding: 56px 56px 48px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cform__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}
.cform__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.04em;
}
.cform__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  line-height: 1;
}
.cform__badge--req { background: var(--red); color: #fff; }
.cform__badge--opt { background: #e6e3dc; color: #6b6b6b; }

.cform__input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d2cec5;
  background: #fcfbf8;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.cform__input:hover { border-color: #a8a39a; }
.cform__input:focus {
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13, 22, 69, 0.08);
}
.cform__input::placeholder { color: #b3afa6; }
.cform__textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.7;
}

.cform__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 10px;
}
.cform__check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.cform__check input { position: absolute; opacity: 0; pointer-events: none; }
.cform__check-box {
  width: 20px;
  height: 20px;
  border: 1.5px solid #b3afa6;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
  position: relative;
}
.cform__check:hover .cform__check-box { border-color: var(--navy); }
.cform__check input:focus-visible + .cform__check-box {
  box-shadow: 0 0 0 3px rgba(13, 22, 69, 0.18);
}
.cform__check-box::after {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform .18s var(--ease);
}
.cform__check input:checked + .cform__check-box {
  background: var(--red);
  border-color: var(--red);
}
.cform__check input:checked + .cform__check-box::after {
  transform: rotate(-45deg) translate(1px, -1px) scale(1);
}
.cform__check:active .cform__check-box { transform: scale(.9); }

.cform__agreement {
  margin-top: 10px;
  padding: 24px;
  background: #faf8f3;
  border: 1px dashed #d2cec5;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cform__agreement-lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: #444;
}
.cform__agreement-lead a {
  color: var(--red);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}
.cform__agreement-lead a:hover { color: var(--red-2); }
.cform__check--agree {
  font-weight: 700;
  color: var(--navy);
}

.cform__submit {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.cform__btn {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  min-width: 320px;
  padding: 18px 28px;
  justify-content: center;
  gap: 36px;
}
.cform__btn::before { background: var(--red); }
.cform__btn:hover { color: #fff; border-color: var(--red); }
.cform__btn:disabled {
  background: #cfcdc6;
  border-color: #cfcdc6;
  cursor: not-allowed;
  opacity: .8;
}
.cform__btn:disabled::before { background: #cfcdc6; }
.cform__btn:disabled:hover { color: #fff; }

/* invalid state */
.cform__input.is-invalid {
  border-color: var(--red);
  background: #fff5f3;
}

/* rhythm variants apply gently */
html[data-rhythm="compact"] .contactform { padding: 70px 24px; }
html[data-rhythm="compact"] .cform { padding: 36px 32px; gap: 18px; }
html[data-rhythm="editorial"] .contactform { padding: 140px 24px; }
html[data-rhythm="editorial"] .cform { padding: 72px 72px 60px; gap: 30px; }

@media (max-width: 768px) {
  .contactform { padding: 60px 16px; }
  .cform { padding: 28px 20px; gap: 18px; }
  .cform__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .cform__label { padding-top: 0; }
  .cform__btn { min-width: 0; width: 100%; gap: 24px; }
  .cform__agreement { padding: 18px; }
}


/* =====================================================================
   SUB-PAGE: shared header sticky + page hero + content slabs
   ===================================================================== */
.page-hero {
  position: relative;
  padding: 96px 24px 110px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(246, 243, 238, .9) 100%),
    url('../assets/hero-city.jpg') center / cover no-repeat;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(160, 40, 40, .12), transparent 60%),
    radial-gradient(ellipse at 20% 90%, rgba(13, 22, 69, .15), transparent 60%);
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0.25em;
  color: var(--navy);
  margin: 0;
  line-height: 1.1;
}
.page-hero__en {
  font-family: "Anton", sans-serif;
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--navy);
  margin: 14px 0 0;
  padding-bottom: 12px;
  position: relative;
  display: inline-block;
}
.page-hero__en::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--red);
}
.page-hero__lead {
  margin: 32px 0 0;
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink);
  max-width: 460px;
}

/* Sub-section block heading */
.page-block {
  padding: 90px 24px;
  background: #fff;
}
.page-block--warm { background: var(--warm); }
.page-block__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.block-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.04em;
  padding-bottom: 14px;
  margin: 0 0 30px;
  position: relative;
  display: inline-block;
}
.block-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--red);
}
.block-title--center {
  display: block;
  text-align: center;
  font-size: 24px;
  margin-bottom: 48px;
  padding-bottom: 16px;
}
.block-title--center::after {
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
}

/* Company info table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.info-table th,
.info-table td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table th {
  width: 200px;
  background: rgba(13, 22, 69, .04);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.info-table tr:first-child th,
.info-table tr:first-child td { border-top: 1px solid var(--line); }
.info-table a { color: var(--red); border-bottom: 1px solid currentColor; }

/* News detail article */
.news-detail__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--navy);
}
.news-detail__meta .news__tag {
  display: inline-block;
}
.news-detail__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 28px;
}
.news-detail__body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto;
}
.news-detail__body p {
  margin: 0 0 1.4em;
  white-space: pre-line;
}
.news-detail__body p:last-child { margin-bottom: 0; }
.news-detail__notfound {
  text-align: center;
  font-size: 14px;
  color: var(--navy);
  padding: 40px 0;
}

/* Three-up belief cards (Mission/Vision/Value) */
.belief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}
.belief-card__icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(13, 22, 69, .06);
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.belief-card__icon svg {
  width: 56px;
  height: 56px;
  color: var(--navy);
}
.belief-card__title {
  font-family: "Anton", sans-serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--navy);
  padding-bottom: 10px;
  margin: 0 0 16px;
  position: relative;
}
.belief-card__title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--red);
}
.belief-card__text {
  font-size: 13px;
  line-height: 1.95;
  color: #444;
  margin: 0;
}

/* Five-up action principle */
.action-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  text-align: center;
}
.action-item__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(13, 22, 69, .06);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.action-item__icon svg {
  width: 30px;
  height: 30px;
  color: var(--navy);
}
.action-item__title {
  font-size: 14px;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 10px;
}
.action-item__text {
  font-size: 12px;
  line-height: 1.85;
  color: #555;
  margin: 0;
}

/* Message portrait split */
.message-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding: 64px 24px 80px;
  max-width: var(--max);
  margin: 0 auto;
}
.message-split__text h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 26px;
  line-height: 1.5;
}
.message-split__text p {
  font-size: 14px;
  line-height: 2;
  color: #333;
  margin: 0 0 18px;
}
.message-split__sig {
  margin-top: 30px;
  font-size: 14px;
  color: var(--ink);
}
.message-split__sig strong {
  font-size: 18px;
  margin-left: 12px;
  font-weight: 900;
  color: var(--navy);
}
.message-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(180deg, rgba(13, 22, 69, .05), rgba(13, 22, 69, .15)),
    url('../assets/hero-city.jpg') center / cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-family: "Anton", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
  padding: 14px;
  letter-spacing: .1em;
}

/* Two-column image block (vision section) */
.future-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.future-split__image {
  background:
    linear-gradient(180deg, rgba(13, 22, 69, .15), rgba(13, 22, 69, .35)),
    url('../assets/hero-city.jpg') center / cover;
  min-height: 380px;
}
.future-split__text {
  padding: 70px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.future-split__text h4 {
  font-size: 18px;
  color: var(--red);
  font-weight: 900;
  margin: 0 0 18px;
  letter-spacing: 0.06em;
}
.future-split__text h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--navy);
  font-weight: 900;
  margin: 0 0 24px;
  line-height: 1.5;
}
.future-split__text p {
  font-size: 13px;
  line-height: 2;
  color: #444;
  margin: 0 0 12px;
}

/* Access info block */
.access-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 80px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.access-info__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 10px;
  margin: 0 0 22px;
  position: relative;
}
.access-info__label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--red);
}
.access-info__name {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 22px;
}
.access-info__addr {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink);
  margin: 0 0 26px;
}
.access-info__contact {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.9;
  letter-spacing: 0.04em;
}
.access-image {
  aspect-ratio: 4/3;
  background:
    url('../assets/hero-city.jpg') center / cover no-repeat;
  border-radius: 0;
}

.map-frame {
  width: 100%;
  height: 380px;
  background: #e8eef5;
  position: relative;
  overflow: hidden;
}
.map-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(13,22,69,.04) 0 1px, transparent 1px 30px),
    linear-gradient(90deg, rgba(13,22,69,.04) 0 1px, transparent 1px 30px),
    linear-gradient(45deg, rgba(13,22,69,.08) 0 2px, transparent 2px 80px);
}
.map-pin {
  position: absolute;
  left: 42%;
  top: 38%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  color: var(--navy);
}
.map-pin::before {
  content: "📍";
  font-size: 28px;
}
.map-pin span {
  background: #fff;
  padding: 4px 10px;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  margin-top: 2px;
}
.map-cta {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: #fff;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  transition: transform .2s var(--ease);
}
.map-cta:hover { transform: translateY(-2px); }

/* Access method list */
.access-methods {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.method-list {
  display: flex;
  flex-direction: column;
}
.method-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.method-row:last-child { border-bottom: none; }
.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(13, 22, 69, .06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.method-icon svg { width: 26px; height: 26px; color: var(--navy); }
.method-body h5 {
  font-size: 14px;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 6px;
}
.method-body p {
  font-size: 13px;
  color: #444;
  line-height: 1.85;
  margin: 0 0 4px;
}
.visit-card {
  background: var(--warm);
  padding: 32px 28px;
}
.visit-card h5 {
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 14px;
}
.visit-card p {
  font-size: 13px;
  line-height: 1.9;
  color: #444;
  margin: 0 0 22px;
}
.visit-card .btn { background: var(--red); color: #fff; border-color: var(--red); width: 100%; }
.visit-card .btn::before { background: #fff; }
.visit-card .btn:hover { color: var(--red); }

/* News list table */
.news-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}
.news-page-list .news__item {
  grid-template-columns: 110px 110px 1fr auto;
}

/* Page block lead text */
.lead-text {
  font-size: 16px;
  line-height: 2;
  color: var(--ink);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

/* Back-to-top link in subpage */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 50px auto 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
}
.back-link::before {
  content: "←";
  font-family: "Anton", sans-serif;
  font-size: 18px;
  transition: transform .25s var(--ease);
}
.back-link:hover::before { transform: translateX(-4px); }

/* nav active state */
.header__nav a.is-active {
  color: var(--red);
}
.header__nav a.is-active::after {
  width: 100%;
  left: 0;
  background: var(--red);
}

@media (max-width: 1024px) {
  .belief-grid { grid-template-columns: 1fr; gap: 36px; }
  .action-grid { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .message-split { grid-template-columns: 1fr; gap: 32px; }
  .future-split { grid-template-columns: 1fr; }
  .future-split__image { min-height: 240px; }
  .future-split__text { padding: 50px 32px; }
  .access-split { grid-template-columns: 1fr; gap: 30px; }
  .access-methods { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 768px) {
  .page-hero { padding: 60px 20px 70px; }
  .page-hero__title { font-size: 36px; letter-spacing: 0.2em; }
  .page-hero__lead { font-size: 13px; }
  .page-block { padding: 60px 20px; }
  .info-table { font-size: 12.5px; }
  .info-table th { width: 110px; padding: 14px 10px; }
  .info-table td { padding: 14px 10px; }
  .action-grid { grid-template-columns: 1fr 1fr; }
  .message-split { padding: 40px 20px 50px; }
  .future-split__text { padding: 36px 22px; }
  .access-split { padding: 50px 20px; }
}


/* ===== Form success card ===== */
.cform__success {
  background: #fff;
  padding: 60px 48px;
  border: 1px solid var(--line);
  text-align: center;
  animation: cform-fade .5s var(--ease);
}
.cform__success h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 18px;
  letter-spacing: 0.04em;
}
.cform__success p {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
  margin: 0;
}
@keyframes cform-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@media (max-width: 768px) {
  .cform__success { padding: 36px 22px; }
  .cform__success h3 { font-size: 18px; }
}


/* ===== Centered single-column variant of message-split ===== */
.message-split--center {
  grid-template-columns: 1fr;
  max-width: 820px;
  text-align: center;
}
.message-split--center .message-split__text h3 {
  text-align: center;
  font-size: clamp(26px, 3vw, 38px);
}
.message-split--center .message-split__text p {
  text-align: center;
}
.message-split--center .message-split__sig {
  text-align: center;
}
@media (max-width: 768px) {
  .message-split--center .message-split__text p {
    text-align: left;
  }
}


/* ===== Image-based map frame ===== */
.map-frame--image {
  height: auto;
  background: #fff;
  display: flex;
  justify-content: center;
  max-width: var(--max);
  margin: 0 auto;
}
.map-frame--image::before { display: none; }
.map-frame--image img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* =====================================================================
   V2: Dynamic typography + scroll-reveal + horizontal showcase
   ===================================================================== */

/* ---------- HERO V2: backdrop type + masked line reveals ---------- */
.hero-v2 {
  min-height: 100vh;
  height: auto;
  padding: 80px 0 70px;
}
.hero-v2 .hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 19, 54, .15) 0%, rgba(10, 19, 54, .55) 60%, rgba(10, 19, 54, .75) 100%);
  z-index: 1;
}

/* Giant outlined backdrop typography */
.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 6vh, 80px);
  overflow: hidden;
  pointer-events: none;
}
.hero__backdrop-row {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-family: "Anton", Impact, sans-serif;
  letter-spacing: 0.02em;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .15);
  text-stroke: 1.5px rgba(255, 255, 255, .15);
  will-change: transform;
}
.hero__backdrop-row--1 {
  font-size: clamp(120px, 22vw, 320px);
  animation: hb-scroll-left 38s linear infinite;
}
.hero__backdrop-row--2 {
  font-size: clamp(60px, 11vw, 160px);
  -webkit-text-stroke-color: rgba(255, 220, 220, .22);
  text-stroke-color: rgba(255, 220, 220, .22);
  animation: hb-scroll-right 28s linear infinite;
}
.hero__backdrop-row span { padding-right: 0.15em; }
@keyframes hb-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.3333%); }
}
@keyframes hb-scroll-right {
  from { transform: translateX(-33.3333%); }
  to   { transform: translateX(0); }
}

/* Hero inner content z-stacked above backdrop */
.hero-v2 .hero__inner {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 150px);
}

/* Eyebrow with animated dot */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Anton", sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(8px);
  animation: hero-fadein .8s var(--ease) .2s forwards;
}
.hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .55);
  animation: dot-pulse 2.2s ease-out infinite;
}
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); }
  60%  { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
@keyframes hero-fadein {
  to { opacity: 1; transform: none; }
}

/* Masked line-by-line reveal — used on hero title and other section titles */
.hero-mask .line,
.hero-mask > span:not(.line) {
  display: block;
  overflow: hidden;
  line-height: 1.16;
}
.hero-mask .line > span {
  display: inline-block;
  opacity: 1;
  transform: none;
  transition:
    transform .9s cubic-bezier(.2,.7,.2,1),
    opacity .9s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 1) * 80ms + 100ms);
}
/* Hidden "from" state — applies only until the element is marked .is-in.
   Resting state above is VISIBLE, so a missed repaint can never leave
   content invisible (failsafe). */
.hero-mask:not(.is-in) .line > span {
  opacity: 0;
  transform: translateY(110%);
}
/* Hero (.hero-v2) auto-reveals on load — always visible regardless of is-in */
.hero-v2 .hero-mask .line > span {
  transform: none;
  opacity: 1;
}

/* Hero title styling override for v2 */
.hero-v2 .hero__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 4.2vw, 60px);
  line-height: 1.18;
  letter-spacing: 0.04em;
  margin: 0 0 28px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.hero-v2 .hero__lead {
  opacity: 0;
  transform: translateY(10px);
  animation: hero-fadein .8s var(--ease) 1.0s forwards;
}
.hero-v2 .hero__ctas {
  opacity: 0;
  transform: translateY(10px);
  animation: hero-fadein .8s var(--ease) 1.2s forwards;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  right: 32px;
  bottom: 28px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: #fff;
  opacity: 0;
  animation: hero-fadein .8s var(--ease) 1.4s forwards;
}
.hero__scroll-label {
  font-family: "Anton", sans-serif;
  letter-spacing: 0.32em;
  font-size: 12px;
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  position: relative;
  width: 1.5px;
  height: 80px;
  background: rgba(255,255,255,.25);
  overflow: hidden;
}
.hero__scroll-line span {
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: top;
  animation: scroll-loop 1.8s var(--ease) infinite;
}
@keyframes scroll-loop {
  0%   { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* Make red panel less dominant in v2 */
.hero-v2 .hero__panel {
  width: 55%;
  opacity: .92;
  clip-path: polygon(0 0, 100% 0, calc(100% - 140px) 100%, 0 100%);
  z-index: 2;
}
.hero-v2 .hero__notch { display: none; }
.hero-v2 .hero__content { max-width: 580px; }

/* =====================================================================
   Universal mask reveal for any heading on scroll
   ===================================================================== */

/* Scroll-in dramatic reveal for section titles */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-up.is-in {
  opacity: 1;
  transform: none;
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .7s var(--ease),
    transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal-stagger.is-in > * {
  opacity: 1;
  transform: none;
}

/* =====================================================================
   WORKS — horizontal scroll showcase
   ===================================================================== */
.works {
  position: relative;
  padding: 130px 0 110px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(160, 40, 40, .04), transparent 60%),
    #fff;
  overflow: hidden;
}
.works__head {
  max-width: var(--max);
  margin: 0 auto 56px;
  padding: 0 24px;
  text-align: left;
}
.works__eyebrow {
  font-family: "Anton", sans-serif;
  color: var(--red);
  letter-spacing: 0.32em;
  font-size: 15px;
  margin-bottom: 18px;
  display: inline-block;
  padding-bottom: 10px;
  position: relative;
}
.works__eyebrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--red);
}
.works__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(40px, 6vw, 92px);
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0;
  color: var(--navy);
  line-height: 1.1;
}
.works__sub {
  margin: 22px 0 0;
  font-size: 15px;
  color: #555;
  letter-spacing: 0.02em;
}

.works__rail {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 40px;
}
.works__rail::-webkit-scrollbar { display: none; }
.works__rail.is-grabbing { cursor: grabbing; }
.works__track {
  display: inline-flex;
  gap: 28px;
  padding: 0 24px 0 max(24px, calc((100vw - var(--max)) / 2));
}

.work-card {
  flex: 0 0 auto;
  width: min(420px, 84vw);
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -30px rgba(13, 22, 69, .4);
  border-color: transparent;
}

/* Illustration panel — clean white per business */
.work-card__media {
  position: relative;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
}
.work-card[data-kind="ses"] .work-card__media {
  background: #ffffff;
}
.work-card[data-kind="app"] .work-card__media {
  background: #ffffff;
}
/* soft floating blob */
.work-card__media::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -50px;
  bottom: -60px;
  border-radius: 50%;
  background: rgba(13, 22, 69, .03);
  filter: blur(2px);
  pointer-events: none;
}

.work-card__num {
  position: absolute;
  top: 16px;
  left: 22px;
  font-family: "Anton", sans-serif;
  font-size: 56px;
  line-height: 1;
  color: rgba(13, 22, 69, .12);
  letter-spacing: -0.02em;
  user-select: none;
  z-index: 2;
}
.work-card[data-kind="app"] .work-card__num { color: rgba(160, 40, 40, .16); }

.work-card__media-label {
  position: absolute;
  top: 22px;
  right: 22px;
  color: rgba(13, 22, 69, .4);
  font-family: "Anton", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}

.work-card__illust {
  position: relative;
  z-index: 1;
  width: 78%;
  max-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .5s var(--ease);
}
.work-card:hover .work-card__illust { transform: scale(1.06) translateY(-4px); }
.work-card__illust img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.work-card__body {
  position: relative;
  z-index: 2;
  padding: 32px 30px 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.work-card__title {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 16px;
  letter-spacing: 0.03em;
  line-height: 1.4;
  padding-bottom: 16px;
  position: relative;
}
.work-card__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  transition: width .4s var(--ease);
}
.work-card:hover .work-card__title::after { width: 60px; }
.work-card__text {
  font-size: 14px;
  line-height: 1.95;
  color: #555;
  margin: 0 0 24px;
  flex: 1;
}
.work-card__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.work-card__tags li {
  font-size: 11px;
  padding: 6px 14px;
  background: rgba(13, 22, 69, .04);
  border-radius: 999px;
  color: var(--navy);
  letter-spacing: 0.04em;
  font-weight: 700;
  white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.work-card:hover .work-card__tags li {
  background: rgba(160, 40, 40, .08);
  color: var(--red);
}

/* Nav indicator under rail */
.works__nav {
  max-width: var(--max);
  margin: 14px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.works__counter {
  font-family: "Anton", sans-serif;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.works__current {
  font-size: 36px;
  color: var(--red);
  display: inline-block;
  min-width: 56px;
  transition: opacity .3s var(--ease);
}
.works__sep {
  margin: 0 8px;
  color: #aaa;
  font-size: 22px;
}
.works__total {
  font-size: 22px;
  color: #888;
}
.works__progress {
  position: relative;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.works__progress-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 33.33%;
  background: var(--red);
  transition: width .35s var(--ease);
}
.works__buttons { display: flex; gap: 10px; }
.works__btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .15s var(--ease);
}
.works__btn:hover { background: var(--navy); }
.works__btn:hover span::before { background: #fff; }
.works__btn:hover span::after { border-color: #fff; }
.works__btn:active { transform: scale(.92); }
.works__btn:disabled { opacity: .3; cursor: not-allowed; }
.works__btn span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.works__btn span::before {
  content: "";
  width: 14px;
  height: 1.5px;
  background: var(--navy);
  transition: background .25s var(--ease);
}
.works__btn span::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--navy);
  border-right: 1.5px solid var(--navy);
  position: absolute;
  transition: border-color .25s var(--ease);
}
.works__btn--next span::after {
  right: 16px;
  transform: rotate(45deg);
}
.works__btn--prev span::after {
  left: 16px;
  transform: rotate(-135deg);
}

/* Responsive — works */
@media (max-width: 768px) {
  .works { padding: 80px 0 70px; }
  .works__head { margin-bottom: 36px; }
  .works__title { font-size: 42px; }
  .work-card {
    width: min(86vw, 360px);
  }
  .work-card__media { height: 200px; }
  .work-card__body { padding: 28px 24px 30px; }
  .works__nav { grid-template-columns: auto 1fr; }
  .works__buttons { grid-column: 1 / -1; justify-content: center; margin-top: 8px; }
  .hero__scroll { right: 16px; bottom: 16px; }
  .hero__scroll-line { height: 60px; }
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__backdrop-row { animation: none; }
  .hero-mask .line > span { transform: none !important; opacity: 1 !important; }
  .hero__scroll-line span { animation: none; }
  .hero__eyebrow .dot { animation: none; }
}


/* =====================================================================
   V3: Marquee ticker + Statement section + enhanced motion
   ===================================================================== */

/* ---------- MARQUEE TICKER ---------- */
.marquee {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee-scroll 36s linear infinite;
  font-family: "Anton", sans-serif;
  font-size: clamp(24px, 4.6vw, 56px);
  letter-spacing: 0.12em;
  font-weight: 400;
}
.marquee__seg {
  flex-shrink: 0;
  padding-right: 0;
}
.marquee__seg em {
  font-style: normal;
  color: var(--red);
  display: inline-block;
  transform: translateY(-0.04em);
  margin: 0 12px;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- STATEMENT SECTION ---------- */
.statement {
  position: relative;
  background: linear-gradient(180deg, var(--warm) 0%, #fff 100%);
  padding: 140px 24px 130px;
  overflow: hidden;
}
.statement__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  overflow: hidden;
}
.statement__bg-row {
  font-family: "Anton", sans-serif;
  font-size: clamp(180px, 28vw, 420px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(13, 22, 69, .07);
  text-stroke: 1.5px rgba(13, 22, 69, .07);
  white-space: nowrap;
  letter-spacing: 0.04em;
  font-weight: 400;
  user-select: none;
  animation: hb-scroll-left 60s linear infinite;
}
.statement__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.statement__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Anton", sans-serif;
  letter-spacing: 0.28em;
  font-size: 14px;
  color: var(--red);
  margin-bottom: 32px;
}
.statement__eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(160, 40, 40, .55);
  animation: dot-pulse 2.2s ease-out infinite;
}
.statement__heading {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5.2vw, 64px);
  letter-spacing: 0.06em;
  color: var(--navy);
  margin: 0;
  line-height: 1.4;
}
.statement__sub {
  margin: 36px auto 0;
  font-size: 15px;
  line-height: 2;
  color: #444;
  max-width: 640px;
}

/* ---------- WORK CARD: number drift on hover ---------- */
.work-card__num {
  transition: transform .45s var(--ease), color .45s var(--ease);
}
.work-card:hover .work-card__num {
  transform: translateY(-4px);
}
.work-card__title { transition: color .3s var(--ease); }
.work-card:hover .work-card__title { color: var(--red); }

/* ---------- STRENGTH SECTION — alternating accent, big numbers ---------- */
.strength__grid { gap: 44px 32px; }
.strength-item {
  position: relative;
  padding: 32px 18px 18px;
  transition: transform .35s var(--ease);
}
.strength-item::before {
  content: counter(strength-counter, decimal-leading-zero);
  counter-increment: strength-counter;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -8px);
  font-family: "Anton", sans-serif;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, .35);
}
.strength { counter-reset: strength-counter; }
.strength-item:hover { transform: translateY(-6px); }
.strength-item__icon {
  position: relative;
  transition: transform .45s var(--ease);
}
.strength-item:hover .strength-item__icon { transform: scale(1.08) rotate(-4deg); }
.strength-item__icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(255, 255, 255, .25);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .35s var(--ease), transform .55s var(--ease);
}
.strength-item:hover .strength-item__icon::after {
  opacity: 1;
  transform: scale(1);
  animation: strength-spin 14s linear infinite;
}
@keyframes strength-spin {
  to { transform: rotate(360deg); }
}

/* ---------- News list hover — text shifts right with arrow ---------- */
.news__item {
  position: relative;
}
.news__item::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.news__item:hover::after { transform: scaleX(1); }
.news__item:hover .news__title { transform: translateX(6px); }
.news__title { transition: transform .3s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .statement { padding: 80px 20px 70px; }
  .statement__bg-row { font-size: 140px; }
  .marquee { padding: 14px 0; }
  .strength-item::before { font-size: 12px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .statement__bg-row { animation: none; }
  .strength-item:hover .strength-item__icon::after { animation: none; }
}


/* =====================================================================
   V3 SUBPAGE: dynamic page-hero with backdrop type + reveal animations
   ===================================================================== */

.page-hero--v2 {
  position: relative;
  padding: 140px 24px 110px;
  background:
    linear-gradient(180deg, var(--warm) 0%, #fff 100%);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.page-hero--v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 30%, rgba(160, 40, 40, .08), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(13, 22, 69, .08), transparent 55%);
  pointer-events: none;
}
.page-hero__backdrop {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.page-hero__backdrop-row {
  display: flex;
  white-space: nowrap;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(180px, 28vw, 380px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(13, 22, 69, .1);
  text-stroke: 1.5px rgba(13, 22, 69, .1);
  animation: hb-scroll-left 50s linear infinite;
  will-change: transform;
}
.page-hero__backdrop-row > span { padding-right: 0.15em; }

.page-hero--v2 .page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.page-hero--v2 .page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Anton", sans-serif;
  letter-spacing: 0.28em;
  font-size: 13px;
  color: var(--red);
  margin-bottom: 28px;
}
.page-hero--v2 .page-hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(160, 40, 40, .55);
  animation: dot-pulse 2.2s ease-out infinite;
}

.page-hero--v2 .page-hero__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(56px, 9vw, 132px);
  letter-spacing: 0.18em;
  color: var(--navy);
  margin: 0;
  line-height: 1.05;
}
.page-hero--v2 .page-hero__title .line {
  display: block;
  overflow: hidden;
}

.page-hero--v2 .page-hero__en {
  font-family: "Anton", sans-serif;
  font-size: 16px;
  letter-spacing: 0.36em;
  color: var(--navy);
  margin: 30px 0 0;
  padding-bottom: 14px;
  position: relative;
  display: inline-block;
}
.page-hero--v2 .page-hero__en::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: var(--red);
  transform-origin: left;
  animation: line-grow 1.2s var(--ease) .6s both;
}
@keyframes line-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.page-hero--v2 .page-hero__lead {
  margin: 36px 0 0;
  font-size: 16px;
  line-height: 2.1;
  color: var(--ink);
  max-width: 540px;
}

.page-hero__scroll {
  position: absolute;
  right: 32px;
  bottom: 28px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--navy);
}
.page-hero__scroll-label {
  font-family: "Anton", sans-serif;
  letter-spacing: 0.32em;
  font-size: 12px;
  writing-mode: vertical-rl;
}
.page-hero__scroll-line {
  position: relative;
  width: 1.5px;
  height: 70px;
  background: rgba(13, 22, 69, .2);
  overflow: hidden;
}
.page-hero__scroll-line span {
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform-origin: top;
  animation: scroll-loop 1.8s var(--ease) infinite;
}

/* ---------- NEWS PAGE: bigger news rows with reveal stagger ---------- */
.news-page-list .news__item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 100ms);
}
.news-page-list.is-in .news__item,
.reveal-stagger.is-in .news__item {
  opacity: 1;
  transform: none;
}
/* news row hover */
.news-page-list .news__item {
  padding: 24px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition:
    opacity .8s var(--ease),
    transform .8s var(--ease),
    background .3s var(--ease),
    padding-left .3s var(--ease);
}
.news-page-list .news__item:hover {
  background: rgba(160, 40, 40, .04);
  padding-left: 28px;
}
.news-page-list .news__item .news__arrow {
  transition: transform .3s var(--ease);
}
.news-page-list .news__item:hover .news__arrow {
  transform: translateX(8px);
  color: var(--red);
}

/* ---------- COMPANY PAGE: info table rows reveal stagger ---------- */
.info-table.reveal-stagger tr {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.info-table.reveal-stagger.is-in tr {
  opacity: 1;
  transform: none;
}
.info-table tr {
  transition: background .25s var(--ease), transform .65s var(--ease), opacity .65s var(--ease);
}
.info-table tr:hover td,
.info-table tr:hover th {
  background: rgba(160, 40, 40, .04);
}
.info-table tr:hover th {
  background: rgba(160, 40, 40, .08);
  color: var(--red);
}

/* Profile section: hero-mask on heading */
.page-block .block-title.hero-mask {
  padding-bottom: 0;
}
.page-block .block-title.hero-mask::after { display: none; }
.page-block .block-title.hero-mask .line {
  position: relative;
  padding-bottom: 14px;
}
.page-block .block-title.hero-mask .line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--red);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .5s var(--ease) .8s;
}
.page-block .block-title.hero-mask.is-in .line::after {
  transform: scaleX(1);
}

/* Block lead reveals */
.page-block .reveal-up { /* uses universal reveal-up class */ }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .page-hero--v2 {
    padding: 90px 20px 80px;
    min-height: 380px;
  }
  .page-hero--v2 .page-hero__title { font-size: 56px; letter-spacing: 0.14em; }
  .page-hero__backdrop-row { font-size: 140px; }
  .page-hero__scroll { right: 16px; bottom: 16px; }
  .page-hero__scroll-line { height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__backdrop-row { animation: none; }
  .page-hero--v2 .page-hero__eyebrow .dot { animation: none; }
  .page-hero__scroll-line span { animation: none; }
  .page-hero--v2 .page-hero__en::after { animation: none; transform: none; }
}


/* =====================================================================
   V3 SUBPAGE additional reveal styles
   ===================================================================== */

.belief-grid.reveal-stagger .belief-card,
.action-grid.reveal-stagger .action-item,
.method-list.reveal-stagger .method-row {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.belief-grid.reveal-stagger.is-in .belief-card,
.action-grid.reveal-stagger.is-in .action-item,
.method-list.reveal-stagger.is-in .method-row {
  opacity: 1;
  transform: none;
}

/* belief-card hover */
.belief-card {
  padding: 28px 18px;
  transition: transform .35s var(--ease);
}
.belief-card:hover { transform: translateY(-6px); }
.belief-card__icon {
  transition: transform .4s var(--ease), background .3s var(--ease);
}
.belief-card:hover .belief-card__icon {
  background: rgba(160, 40, 40, .1);
  transform: scale(1.08) rotate(-4deg);
}

/* action-item hover */
.action-item {
  transition: transform .35s var(--ease);
}
.action-item:hover { transform: translateY(-4px); }
.action-item__icon {
  transition: background .3s var(--ease), transform .4s var(--ease);
}
.action-item:hover .action-item__icon {
  background: var(--red);
  transform: scale(1.08);
}
.action-item:hover .action-item__icon svg { color: #fff; }
.action-item__icon svg { transition: color .3s var(--ease); }

/* method-row hover */
.method-row {
  transition: background .3s var(--ease), padding-left .3s var(--ease);
  padding-left: 0;
}
.method-row:hover {
  background: rgba(160, 40, 40, .03);
  padding-left: 18px;
}
.method-icon {
  transition: background .3s var(--ease), transform .4s var(--ease);
}
.method-row:hover .method-icon {
  background: var(--red);
  transform: rotate(-6deg);
}
.method-row:hover .method-icon svg { color: #fff; }
.method-icon svg { transition: color .3s var(--ease); }

/* access-info reveals */
.access-info__label,
.access-info__name,
.access-info__addr,
.access-info__contact {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.access-split.is-in .access-info__label { opacity: 1; transform: none; transition-delay: 0ms; }
.access-split.is-in .access-info__name { opacity: 1; transform: none; transition-delay: 100ms; }
.access-split.is-in .access-info__addr { opacity: 1; transform: none; transition-delay: 200ms; }
.access-split.is-in .access-info__contact { opacity: 1; transform: none; transition-delay: 300ms; }


/* =====================================================================
   Image-based belief / action icons (replace SVG line icons)
   These PNGs have their own illustration + background, so strip the
   circular bg and let the image breathe.
   ===================================================================== */
.belief-card__icon--img {
  background: transparent !important;
  width: 150px;
  height: 150px;
  padding: 0;
}
.belief-card__icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.action-item__icon--img {
  background: transparent !important;
  width: 84px;
  height: 84px;
}
.action-item__icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* hover: keep a subtle lift but no red-fill background swap for image icons */
.belief-card:hover .belief-card__icon--img,
.action-item:hover .action-item__icon--img {
  background: transparent !important;
  transform: scale(1.06);
}
.action-item:hover .action-item__icon--img img { filter: none; }


/* =====================================================================
   Strength icons — colorful illustrations on white circle (dark section)
   ===================================================================== */
.strength-item__icon--img {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.strength-item__icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none !important;   /* override the white-invert used by line icons */
  display: block;
}
.strength-item:hover .strength-item__icon--img {
  transform: scale(1.06) rotate(-4deg);
}
/* the decorative dashed ring works nicely around the white circle too */
.strength-item__icon--img::after { inset: -10px; }


/* =====================================================================
   INTRO LOADER — sun-asterisk style curtain reveal on access
   ===================================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}
.intro__panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: #0d1645;
  transform: translateY(0);
  will-change: transform;
}
.intro__panel--top {
  top: 0;
  animation: intro-up 1.05s cubic-bezier(.76,0,.24,1) 1.55s forwards;
}
.intro__panel--bottom {
  bottom: 0;
  animation: intro-down 1.05s cubic-bezier(.76,0,.24,1) 1.55s forwards;
}
@keyframes intro-up   { to { transform: translateY(-100%); } }
@keyframes intro-down { to { transform: translateY(100%); } }

.intro__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 2;
  animation: intro-center-out .5s ease 1.5s forwards;
}
@keyframes intro-center-out { to { opacity: 0; } }

.intro__logo {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.intro__logo-main {
  font-family: "Anton", "Noto Sans JP", sans-serif;
  font-size: clamp(40px, 8vw, 84px);
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
  transform: translateY(110%);
  animation: intro-logo-in .9s cubic-bezier(.2,.7,.2,1) .25s forwards;
}
@keyframes intro-logo-in { to { transform: translateY(0); } }

.intro__logo-bar {
  display: block;
  height: 4px;
  width: 0;
  background: var(--red);
  margin-top: 14px;
  align-self: center;
  animation: intro-bar .8s cubic-bezier(.76,0,.24,1) .9s forwards;
}
@keyframes intro-bar { to { width: 100%; } }

.intro__tag {
  font-family: "Anton", sans-serif;
  font-size: clamp(11px, 1.6vw, 15px);
  letter-spacing: 0.42em;
  color: rgba(255, 255, 255, .55);
  opacity: 0;
  transform: translateY(8px);
  animation: intro-tag .7s ease 1.0s forwards;
}
@keyframes intro-tag { to { opacity: 1; transform: none; } }

/* once finished, drop the whole layer so it can't catch clicks */
.intro.intro--done { display: none; }

/* =====================================================================
   HERO — full-bleed image with cinematic entrance
   ===================================================================== */
.hero-img {
  position: relative;
  min-height: auto;
  height: auto;
  padding: 0;
  background: #f4f6fb;
  overflow: hidden;
  display: block;
}
.hero-img__frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.hero-img__pic {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.08);
  opacity: 0;
  will-change: transform, opacity;
  animation: hero-pic-in 2.4s cubic-bezier(.16,.84,.28,1) 2.35s forwards;
}
@keyframes hero-pic-in {
  0%   { transform: scale(1.08); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* soft moving light sweep over the illustration on entrance */
.hero-img__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%);
  transform: translateX(-120%);
  pointer-events: none;
  animation: hero-sweep 1.5s ease 2.9s forwards;
}
@keyframes hero-sweep { to { transform: translateX(120%); } }

/* CTA buttons float in after the image settles, bottom-left */
.hero-img__ctas {
  position: absolute;
  left: clamp(20px, 5vw, 84px);
  bottom: clamp(60px, 12vh, 130px);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  z-index: 5;
  opacity: 0;
  transform: translateY(16px);
  animation: hero-fadein .9s var(--ease) 3.5s forwards;
}
.btn--solid {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
}
.btn--solid::before { background: var(--navy); }
.btn--solid:hover { color: #fff; border-color: var(--navy); }
.btn--line {
  background: rgba(255,255,255,.75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--line::before { background: var(--navy); }
.btn--line:hover { color: #fff; }

.hero__scroll--dark .hero__scroll-label { color: var(--navy); }
.hero__scroll--dark .hero__scroll-line { background: rgba(13,22,69,.2); }
.hero__scroll--dark .hero__scroll-line span { background: var(--red); }

/* reduce motion: show everything immediately */
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .hero-img__pic { animation: none; opacity: 1; transform: none; }
  .hero-img__glow { display: none; }
  .hero-img__ctas { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 768px) {
  .hero-img__ctas {
    left: 0;
    right: 0;
    bottom: 18px;
    justify-content: center;
    padding: 0 16px;
  }
  .hero-img__ctas .btn { flex: 1; min-width: 0; }
  .intro__logo-bar { height: 3px; }
}


/* =====================================================================
   PAGE SPLASH — full-screen illustration that fades in on access,
   fades out on first interaction (click / mousemove / scroll / touch)
   ===================================================================== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: splash-in 1.1s ease forwards;
  cursor: pointer;
  overflow: hidden;
}
@keyframes splash-in { to { opacity: 1; } }

.splash__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.02);
  animation: splash-img-drift 6s ease-in-out infinite alternate;
}
@keyframes splash-img-drift {
  from { transform: scale(1.0); }
  to   { transform: scale(1.04); }
}

.splash__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(24px, 6vh, 56px);
  text-align: center;
  font-family: "Anton", sans-serif;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: rgba(13, 22, 69, .45);
  opacity: 0;
  animation: splash-hint 1s ease 1.2s forwards;
  pointer-events: none;
}
.splash__hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 26px;
  margin: 12px auto 0;
  background: linear-gradient(180deg, rgba(13,22,69,.4), transparent);
  animation: splash-hint-line 1.6s ease-in-out infinite;
}
@keyframes splash-hint { to { opacity: 1; } }
@keyframes splash-hint-line {
  0%, 100% { transform: scaleY(.4); opacity: .4; transform-origin: top; }
  50%      { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

.splash.is-leaving {
  animation: splash-out .9s cubic-bezier(.6,0,.2,1) forwards;
  pointer-events: none;
}
@keyframes splash-out {
  to { opacity: 0; visibility: hidden; }
}
.splash.is-leaving .splash__img {
  animation: splash-img-out .9s cubic-bezier(.6,0,.2,1) forwards;
}
@keyframes splash-img-out {
  to { transform: scale(1.06); }
}
.splash--gone { display: none; }

@media (prefers-reduced-motion: reduce) {
  .splash { animation: none; opacity: 1; }
  .splash__img { animation: none; transform: none; }
}


/* =====================================================================
   PAGE HERO — balanced full illustration (subpages)
   ===================================================================== */
.page-hero-img {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(120, 150, 230, .08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(28px, 5vw, 64px) clamp(16px, 5vw, 48px) clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.page-hero-img__pic {
  width: 100%;
  max-width: 768px;
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(22px) scale(1.015);
  animation: pagehero-img-in 1.15s cubic-bezier(.16,.84,.28,1) .15s forwards;
}
@keyframes pagehero-img-in {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-img__pic { animation: none; opacity: 1; transform: none; }
}


/* =====================================================================
   PAGE VISUAL — illustration band placed below the text hero (subpages)
   ===================================================================== */
.page-visual {
  background: #ffffff;
  padding: clamp(32px, 5vw, 72px) clamp(16px, 5vw, 48px);
  display: flex;
  justify-content: center;
}
.page-visual__inner {
  width: 100%;
  max-width: 760px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.page-visual__pic {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0;
}
@media (max-width: 768px) {
  .page-visual { padding: 32px 16px; }
}


/* =====================================================================
   PAGE HERO v2 — illustration in the right-side space
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .page-hero__figure { animation: none; opacity: 1; transform: none; }
}


/* =====================================================================
   BLOG page
   ===================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(13,22,69,.4); }
.blog-card__thumb {
  position: relative;
  aspect-ratio: 16/10;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.blog-card__thumb--a { background: linear-gradient(135deg, #1a2a6b 0%, #0a1130 100%); }
.blog-card__thumb--b { background: linear-gradient(135deg, #8c1f1f 0%, #4a1010 100%); }
.blog-card__thumb--c { background: linear-gradient(135deg, #1d4f8b 0%, #0a1d3b 100%); }
.blog-card__thumb--d { background: linear-gradient(135deg, #0e1a48 0%, #050b22 100%); }
.blog-card__thumb--e { background: linear-gradient(135deg, #b04a2a 0%, #5a1f10 100%); }
.blog-card__thumb--f { background: linear-gradient(135deg, #163a7a 0%, #0a1336 100%); }
.blog-card__thumb::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.blog-card__cat {
  position: relative; z-index: 1;
  font-family: "Anton", sans-serif;
  font-size: 11px; letter-spacing: .16em;
  color: #fff;
  background: rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 5px 12px;
}
.blog-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.blog-card__date { font-family: "Anton", sans-serif; font-size: 13px; color: var(--red); letter-spacing: .06em; }
.blog-card__title { font-size: 16px; font-weight: 900; color: var(--navy); margin: 0; line-height: 1.5; }
.blog-card__excerpt { font-size: 13px; color: #555; line-height: 1.85; margin: 0; }

/* =====================================================================
   SECURITY page — policy cards
   ===================================================================== */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.policy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 32px 26px 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.policy-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -26px rgba(13,22,69,.35); }
.policy-card__no { font-family: "Anton", sans-serif; font-size: 30px; color: rgba(13,22,69,.18); line-height: 1; }
.policy-card__title { font-size: 17px; font-weight: 900; color: var(--navy); margin: 12px 0 12px; }
.policy-card__text { font-size: 13px; line-height: 1.9; color: #555; margin: 0; }

/* =====================================================================
   SERVICE page — alternating rows
   ===================================================================== */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.service-row:last-child { margin-bottom: 0; }
.service-row--rev .service-row__media { order: 2; }
.service-row__media {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-row__media--system { background: #ffffff; }
.service-row__media--ses    { background: #ffffff; }
.service-row__media--app    { background: #ffffff; }
.service-row__media { background: #ffffff; border: 1px solid var(--line); }
.service-row__num {
  position: absolute; top: 16px; left: 18px;
  font-family: "Anton", sans-serif; font-size: 40px;
  color: rgba(13,22,69,.14); line-height: 1; z-index: 1;
}
.service-row__illust { position: relative; z-index: 1; width: 82%; }
.service-row__illust img { width: 100%; height: auto; display: block; }
.service-row__en { font-family: "Anton", sans-serif; font-size: 13px; letter-spacing: .18em; color: var(--red); }
.service-row__title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; color: var(--navy); margin: 10px 0 16px; }
.service-row__text { font-size: 14px; line-height: 2; color: #444; margin: 0 0 20px; }
.service-row__tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.service-row__tags li {
  font-size: 12px; font-weight: 700; color: var(--navy);
  border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px;
}

/* SERVICE — row CTA button */
.service-row__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 13px 26px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 999px;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service-row__btn span { transition: transform .25s var(--ease); }
.service-row__btn:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(160, 40, 40, .5);
}
.service-row__btn:hover span { transform: translate(3px, -3px); }

/* SERVICE — flow */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flow-step {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px 20px 22px; text-align: center;
  position: relative;
  border-radius: 16px;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
/* top accent line that grows on hover */
.flow-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--navy), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
  z-index: 3;
}
/* giant ghost number watermark */
.flow-step__bg {
  position: absolute;
  right: 10px;
  bottom: 2px;
  font-family: "Anton", sans-serif;
  font-size: 76px;
  line-height: 1;
  color: rgba(13, 22, 69, .045);
  z-index: 0;
  pointer-events: none;
  transition: color .35s var(--ease), transform .35s var(--ease);
}
.flow-step > * { position: relative; z-index: 1; }
.flow-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px -26px rgba(13, 22, 69, .5);
  border-color: transparent;
}
.flow-step:hover::before { transform: scaleX(1); }
.flow-step:hover .flow-step__bg { color: rgba(160, 40, 40, .08); transform: scale(1.06); }
/* connecting arrow between steps */
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  background: var(--red);
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  z-index: 4;
  animation: flowArrow 1.8s var(--ease) infinite;
}
@keyframes flowArrow {
  0%, 100% { transform: translateY(-50%) translateX(0); opacity: .85; }
  50% { transform: translateY(-50%) translateX(4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-step:not(:last-child)::after { animation: none; }
}
.flow-step__no {
  font-family: "Anton", sans-serif;
  font-size: 13px;
  letter-spacing: .14em;
  color: #fff;
  background: var(--navy);
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  transition: background .35s var(--ease);
}
.flow-step:hover .flow-step__no { background: var(--red); }
.flow-step__title { font-size: 15px; font-weight: 900; color: var(--navy); margin: 14px 0 9px; }
.flow-step__text { font-size: 12.5px; line-height: 1.8; color: #555; margin: 0; }

@media (max-width: 880px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; gap: 24px; }
  .service-row--rev .service-row__media { order: 0; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(2n)::after { display: none; }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-step:nth-child(2n)::after { display: block; }
  .flow-step:not(:last-child)::after {
    top: auto;
    left: 50%;
    right: auto;
    bottom: -23px;
    transform: translateX(-50%);
    animation: flowArrowDown 1.8s var(--ease) infinite;
  }
}
@keyframes flowArrowDown {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(90deg); opacity: .85; }
  50% { transform: translateX(-50%) translateY(4px) rotate(90deg); opacity: 1; }
}


/* =====================================================================
   Service icons — white framed background (index work-cards + service rows)
   ===================================================================== */
.work-card__illust {
  background: #fff;
  border: 1px solid rgba(13, 22, 69, .1);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 14px 30px -18px rgba(13, 22, 69, .35);
}
.work-card__illust img {
  filter: none !important;
}

.service-row__illust {
  background: transparent;
  border-radius: 16px;
  padding: 0;
}
.service-row__illust img {
  filter: none !important;
}

/* make work-card link behave like the old article */
a.work-card { text-decoration: none; color: inherit; cursor: pointer; }


/* =====================================================================
   RECRUIT CTA banner (home)
   ===================================================================== */
.recruit-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 30%, rgba(80, 110, 200, .22), transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(160, 40, 40, .18), transparent 55%),
    linear-gradient(180deg, #0d1645 0%, #0a1130 100%);
  padding: clamp(64px, 10vw, 120px) 24px;
}
.recruit-cta::before {
  content: "RECRUIT";
  position: absolute;
  right: -2%;
  bottom: -18%;
  font-family: "Anton", sans-serif;
  font-size: clamp(120px, 26vw, 360px);
  line-height: .8;
  color: rgba(255, 255, 255, .04);
  letter-spacing: .02em;
  pointer-events: none;
  white-space: nowrap;
}
.recruit-cta__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}
.recruit-cta__text { max-width: 620px; }
.recruit-cta__en {
  font-family: "Anton", sans-serif;
  font-size: 14px;
  letter-spacing: .32em;
  color: #ff6a6a;
  display: inline-block;
  margin-bottom: 18px;
}
.recruit-cta__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  letter-spacing: .04em;
  margin: 0 0 14px;
}
.recruit-cta__sub {
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  margin: 0 0 20px;
}
.recruit-cta__lead {
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, .85);
  margin: 0 0 36px;
}
.recruit-cta__btn { min-width: 260px; }

@media (max-width: 768px) {
  .recruit-cta__btn { width: 100%; min-width: 0; }
  .recruit-cta__lead br { display: none; }
}


/* =====================================================================
   Document links (security page)
   ===================================================================== */
.docs-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}
.doc-link {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.doc-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -26px rgba(13, 22, 69, .35);
  border-color: rgba(160, 40, 40, .3);
}
.doc-link__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-family: "Anton", sans-serif;
  font-size: 13px;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-link__body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.doc-link__title { font-size: 15px; font-weight: 900; color: var(--navy); }
.doc-link__note { font-size: 12px; color: #666; }
.doc-link__arrow {
  font-family: "Anton", sans-serif;
  font-size: 20px;
  color: var(--red);
  transition: transform .25s var(--ease);
}
.doc-link:hover .doc-link__arrow { transform: translateX(6px); }

@media (max-width: 640px) {
  .docs-links { grid-template-columns: 1fr; }
}

/* =====================================================================
   Privacy Mark (security page)
   ===================================================================== */
.pmark {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 44px 48px;
}
.pmark__badge {
  flex-shrink: 0;
  width: 168px;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.pmark__badge img { max-width: 100%; max-height: 100%; display: block; }
.pmark__badge-note {
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.04em;
  color: rgba(13,22,69,.6);
}
.pmark__badge--empty {
  background-image: repeating-linear-gradient(45deg, rgba(13,22,69,.06) 0 8px, rgba(13,22,69,.02) 8px 16px);
  border: 1px dashed rgba(13,22,69,.25);
  border-radius: 10px;
}
.pmark__badge--empty .pmark__badge-note { display: block; }
.pmark__body { flex: 1; }
.pmark__lead {
  font-size: 14px;
  line-height: 2;
  color: #444;
  margin: 0 0 22px;
}
.pmark__meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.pmark__meta dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.pmark__meta dd {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--red);
}
@media (max-width: 640px) {
  .pmark { flex-direction: column; gap: 28px; padding: 32px 24px; text-align: center; }
  .pmark__badge { width: 140px; height: 140px; }
  .pmark__meta { flex-direction: column; gap: 6px; align-items: center; }
}


/* =====================================================================
   Instagram section (blog page)
   ===================================================================== */
.insta { background: #fff; }
.insta-card {
  max-width: 920px;
  margin: 48px auto 0;
  background: linear-gradient(180deg, #f7f9fd 0%, #eef2fa 100%);
  border: 1px solid rgba(13, 22, 69, .08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -34px rgba(13, 22, 69, .3);
}
.insta-card__banner { line-height: 0; }
.insta-card__banner img { width: 100%; height: auto; display: block; }
.insta-card__qr {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
  padding: 36px clamp(24px, 4vw, 48px) 44px;
}
.insta-card__qr-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 14px 30px -16px rgba(13, 22, 69, .3);
}
.insta-card__info { display: flex; flex-direction: column; gap: 10px; }
.insta-card__label {
  font-family: "Anton", sans-serif;
  font-size: 13px;
  letter-spacing: .26em;
  color: var(--red);
}
.insta-card__handle {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: .02em;
}
.insta-card__note { font-size: 13px; line-height: 1.9; color: #555; margin: 4px 0 8px; }
.insta-card__btn { align-self: flex-start; min-width: 240px; }

@media (max-width: 680px) {
  .insta-card__qr {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 22px;
  }
  .insta-card__info { align-items: center; }
  .insta-card__btn { align-self: center; width: 100%; min-width: 0; }
  .insta-card__note br { display: none; }
}


/* Coming soon image in the QR slot (wide banner, no white card framing) */
.insta-card__qr-img--soon {
  max-width: 100%;
  width: 100%;
  background: transparent;
  border-radius: 10px;
  padding: 0;
  box-shadow: none;
}


/* Coming-soon only: single column, centered, no QR card */
.insta-card__qr--soon-only {
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 24px clamp(24px, 4vw, 48px) 36px;
}

/* =====================================================================
   経営理念 statement (philosophy page)
   ===================================================================== */
.philosophy-statement {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.philosophy-statement__en {
  display: block;
  font-family: "Anton", sans-serif;
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--red);
  margin-bottom: 26px;
}
.philosophy-statement__body {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-wrap: balance;
}
@media (max-width: 640px) {
  .philosophy-statement__body { font-size: 20px; line-height: 1.9; letter-spacing: 0.03em; }
}

/* =====================================================================
   方針 — 10 principles (philosophy page)
   ===================================================================== */
.policy10 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 12px;
}
.policy10__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 26px 22px 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.policy10__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(13, 22, 69, .35);
  border-color: rgba(160, 40, 40, .25);
}
.policy10__icon {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.policy10__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .3s var(--ease);
}
.policy10__card:hover .policy10__icon img { transform: scale(1.07); }
.policy10__no {
  flex-shrink: 0;
  font-family: "Anton", sans-serif;
  font-size: 34px;
  line-height: 1;
  color: var(--red);
  letter-spacing: 0.02em;
  width: 46px;
  text-align: center;
  padding-right: 8px;
  border-right: 2px solid var(--line);
}
.policy10__text {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--navy);
  letter-spacing: 0.01em;
  text-wrap: pretty;
}
/* reveal stagger for policy cards */
.policy10.reveal-stagger .policy10__card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.policy10.reveal-stagger.is-in .policy10__card {
  opacity: 1;
  transform: none;
}
@media (max-width: 760px) {
  .policy10 { grid-template-columns: 1fr; }
  .policy10__card { gap: 16px; padding: 18px 18px 18px 16px; }
  .policy10__icon { width: 60px; height: 60px; }
  .policy10__no { font-size: 28px; width: 38px; }
  .policy10__text { font-size: 14px; }
}

/* =====================================================================
   Article detail (blog / news single post)
   ===================================================================== */
.article { padding: clamp(120px, 14vw, 168px) 24px 96px; }
.article__inner {
  max-width: 760px;
  margin: 0 auto;
}
.article__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 40px;
}
.article__crumb a { color: var(--muted); text-decoration: none; transition: color .2s var(--ease); }
.article__crumb a:hover { color: var(--red); }
.article__crumb span[aria-hidden] { color: var(--line); }
.article__crumb-current { color: var(--navy); }

.article__head {
  padding-bottom: 30px;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 44px;
}
.article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.article__date {
  font-family: "Anton", sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.article__cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--red);
  padding: 5px 14px;
  border-radius: 2px;
}
.article__title {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-wrap: balance;
}
.article__body {
  font-size: 16px;
  line-height: 2.2;
  color: #333;
}
.article__body p {
  margin: 0 0 1.6em;
  text-wrap: pretty;
}
.article__body p:last-child { margin-bottom: 0; }
.article__foot {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  text-align: center;
}
@media (max-width: 640px) {
  .article__body { font-size: 15px; line-height: 2; }
}

/* =====================================================================
   WORKS — 実績 list
   ===================================================================== */
.works-list {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 72px);
}
.works-item {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.works-item--rev .works-item__media { order: 2; }
.works-item__media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.works-item__media img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
}
.works-item__cat {
  font-family: "Anton", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--red);
}
.works-item__title {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 900;
  color: var(--navy);
  margin: 12px 0 18px;
  line-height: 1.5;
}
.works-item__text {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin: 0 0 22px;
  text-wrap: pretty;
}
.works-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.works-item__tags li {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .works-item { grid-template-columns: 1fr; gap: 24px; }
  .works-item--rev .works-item__media { order: 0; }
  .works-item__media { padding: 18px; }
  .works-item__media img { max-width: 260px; margin: 0 auto; }
}


/* =====================================================================
   STRENGTH section — light background so it separates from the
   navy RECRUIT CTA that follows it
   ===================================================================== */
.strength {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(80, 110, 200, .08), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(160, 40, 40, .05), transparent 50%),
    linear-gradient(180deg, #f7f4ef 0%, #efeae1 100%);
  color: var(--navy);
}
.strength::before {
  background-image:
    radial-gradient(circle, rgba(13, 22, 69, .07) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(13, 22, 69, .045) 1px, transparent 1.5px);
}
.strength::after {
  background-image:
    linear-gradient(45deg, rgba(13, 22, 69, .05) 0 1px, transparent 1px 80px),
    linear-gradient(-45deg, rgba(13, 22, 69, .04) 0 1px, transparent 1px 100px);
}
.strength .section__eyebrow { color: var(--red); }
.strength .section__eyebrow::after { background: var(--red); }
.strength .section__title { color: var(--navy); }
.strength-item__title { color: var(--navy); }
.strength-item__text { color: #555; }
.strength-item::before { color: rgba(13, 22, 69, .28); }



