:root {
  --corp-ink: #273038;
  --corp-deep: #1d272e;
  --corp-slate: #304857;
  --corp-cyan: #2ab7d9;
  --corp-cyan-light: #32cbe6;
  --corp-blue: #0069aa;
  --corp-ice: #eaf9fd;
  --corp-mist: #f4f8f9;
  --corp-line: #d9e5e9;
  --corp-white: #ffffff;
  --corp-page: min(1280px, calc(100vw - 80px));
  --corp-sans: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --corp-display: "Oswald", "Arial Narrow", sans-serif;
  --corp-shadow: 0 24px 70px rgba(15, 59, 88, 0.14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  color: var(--corp-ink);
  background: var(--corp-white);
  font-family: var(--corp-sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

.corporate-page p { text-align: left; text-wrap: pretty; word-break: auto-phrase; }
.corporate-page h1,
.corporate-page h2,
.corporate-page h3,
.corporate-page blockquote { text-wrap: balance; word-break: auto-phrase; }

img,
svg { display: block; max-width: 100%; }
/* width/height 属性はレイアウトシフト防止のために付けている。
   属性値が height として効いて画像が伸びるのを防ぐ（CSS の明示指定が勝つ）。 */

img { height: auto; }

a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--corp-ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.corp-header {
  position: fixed;
  top: 30px;
  left: 0;
  z-index: 100;
  width: 100%;
  transition: top 0.35s ease;
}

.corp-header.is-scrolled { top: 12px; }

.corp-header-inner {
  display: flex;
  align-items: center;
  width: calc(100% - 80px);
  margin: 0 auto;
}

.corp-brand {
  z-index: 2;
  display: block;
  width: clamp(178px, 15vw, 245px);
  padding: 12px 0;
  transition: opacity 0.25s ease;
}

.corp-brand:hover { opacity: 0.72; }
.corp-brand img { width: 100%; height: auto; }

.corp-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.35vw, 26px);
  margin-left: auto;
  margin-right: 15px;
  padding: 13px clamp(20px, 2vw, 38px);
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 0 16px rgba(15,59,88,0.14);
  backdrop-filter: blur(14px);
}

.corp-nav a {
  position: relative;
  color: var(--corp-ink);
  font-size: clamp(12px, 0.83vw, 14px);
  font-weight: 700;
  letter-spacing: 0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.corp-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  background: var(--corp-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.corp-nav a:hover::after,
.corp-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* 現在表示中のページは下線を出したままにする */

.corp-nav a[aria-current] { color: var(--corp-blue); }
.corp-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.corp-mobile-menu a[aria-current] { color: var(--corp-cyan-light); }

.corp-nav > span {
  color: #7c8d95;
  font-family: var(--corp-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.corp-nav > span b { color: var(--corp-cyan); font-weight: 500; }

.corp-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 102px;
  min-height: 64px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(150deg, var(--corp-cyan-light), var(--corp-cyan));
  box-shadow: 0 8px 20px rgba(42,183,217,0.28);
  line-height: 1.1;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.corp-contact:hover { transform: translateY(-3px); box-shadow: 0 13px 30px rgba(42,183,217,0.38); }
.corp-contact span { font-size: 13px; font-weight: 800; }
.corp-contact small { margin-top: 7px; font-family: var(--corp-display); font-size: 12px; letter-spacing: 0.07em; }

.corp-menu-button,
.corp-mobile-menu { display: none; }

.corp-hero {
  position: relative;
  min-height: 780px;
  height: 100svh;
  overflow: hidden;
  background: linear-gradient(180deg, #ecf9fc 0%, #e1f6fb 57%, #fff 57%);
}

.corp-hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 43%;
  height: 43%;
  background: #fff;
  clip-path: polygon(0 48%, 100% 0, 100% 100%, 0 100%);
}

.corp-hero::after {
  content: "";
  position: absolute;
  right: -7vw;
  bottom: 3vh;
  z-index: 1;
  width: 34vw;
  height: 34vw;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(255,255,255,0.08), 0 0 0 144px rgba(255,255,255,0.05);
  pointer-events: none;
}

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

@keyframes corp-hero-zoom { from { transform: scale(1.06); } to { transform: scale(1.14); } }

.corp-eyebrow,
.corp-kicker {
  margin: 0 0 22px;
  color: var(--corp-blue);
  font-family: var(--corp-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.corp-eyebrow::before,
.corp-kicker::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  margin-right: 12px;
  background: currentColor;
  vertical-align: 0.35em;
}

.corp-kicker.light { color: rgba(255,255,255,0.7); }

.corp-hero h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  font-feature-settings: "palt";
  line-height: 1;
}

/* メインキャッチ。1行目＝墨、2行目＝シアンの箱で結論を置く。
   狭い画面で折り返すときは文節境界で切る。 */

.corp-hero h1 strong,
.corp-hero h1 > span,
.corp-creed-title,
.corp-creed-sub,
.corp-creed-lead,
.corp-dx-title,
.legacy-section-sub,
.legacy-section-head h2,
.solution-copy p,
.corp-recruit-lead { word-break: auto-phrase; }

.corp-hero h1 strong {
  color: var(--corp-ink);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.16;
  text-shadow: 0 2px 16px rgba(255,255,255,0.85);
}

.corp-hero h1 > span {
  display: inline-block;
  /* 箱の内側余白ぶん左へ寄せ、1行目と文字の左端を揃える */
  margin: 0 0 0 -20px;
  padding: 6px 20px 11px;
  line-height: 1.16;
  color: #fff;
  background: linear-gradient(135deg, var(--corp-cyan-light), var(--corp-cyan));
  box-shadow: 0 10px 28px rgba(42,183,217,0.15);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.055em;
}

.corp-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 62px;
  padding: 0 10px 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.corp-button b {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 19px;
  font-weight: 400;
}

.corp-button:hover { transform: translateY(-3px); box-shadow: 0 17px 35px rgba(39,48,56,0.25); }

.corp-button-dark { color: #fff; background: var(--corp-ink); box-shadow: 0 12px 28px rgba(39,48,56,0.2); }
.corp-button-dark b { color: var(--corp-ink); background: #fff; }

@keyframes mission-pulse { 50% { box-shadow: 0 0 0 9px rgba(92,226,195,0); } }
@keyframes corp-scroll-line { from { background-position: 0 -100%; } to { background-position: 0 100%; } }

/* ============================================================
   OUR BELIEF — 「社内に眠る強みを、競争力に変える。」
   白（proof）と淡色（business）の間に置く、濃色のステートメント帯。
   ============================================================ */

.corp-creed {
  position: relative;
  overflow: hidden;
  padding: var(--pad-l) 0;
  color: #fff;
  background: var(--corp-deep);
}

.corp-creed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 14% -10%, rgba(42,183,217,0.24), transparent 60%);
  pointer-events: none;
}

.corp-creed-word {
  position: absolute;
  top: 50%;
  right: -2.5vw;
  color: rgba(42,183,217,0.075);
  font-family: var(--corp-display);
  font-size: clamp(120px, 17vw, 300px);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.corp-creed-inner {
  position: relative;
  z-index: 1;
  padding-inline: var(--gutter);
}

.corp-creed-title {
  margin: 0;
  font-size: var(--fs-section);
  font-weight: 900;
  font-feature-settings: "palt";
  letter-spacing: -0.055em;
  line-height: 1.3;
}

.corp-creed-title > span:last-child { color: var(--corp-cyan-light); }

.corp-creed-sub {
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--corp-cyan);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.6;
}

.corp-creed-lead {
  max-width: 62ch;
  margin: 22px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 500;
  line-height: 2.05;
  word-break: auto-phrase;
}

@media (max-width: 620px) {
  .corp-creed-inner { width: calc(100% - 40px); }
  .corp-creed-sub { margin-top: 22px; padding-left: 14px; }
}

.corp-proof {
  position: relative;
  z-index: 4;
  padding: var(--pad-s) var(--gutter);
  background: #fff;
}

.corp-proof > p { margin: 0 0 24px; color: var(--corp-blue); font-family: var(--corp-display); font-size: 13px; letter-spacing: 0.12em; }

/* 主要取引先ロゴ ── オリジナルサイト service__logo_list 相当の2段マーキー。
   上段は左へ、下段は右へ 40s で流す。li の margin で間隔を取ることで
   translateX(-100%) の折り返しが継ぎ目なくつながる。 */

.corp-clients {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 50px;
  margin-right: calc(max(40px, (100vw - 1280px) / 2) * -1);
  margin-bottom: -76px;
  margin-left: calc(max(40px, (100vw - 1280px) / 2) * -1);
  padding: 30px 0;
  border-top: 1px solid var(--corp-line);
  background: var(--corp-mist);
}
.corp-clients-row { display: flex; overflow: hidden; }
.corp-clients-row ul {
  display: flex;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: corp-clients-scroll 40s linear infinite;
}
.corp-clients-row.is-reverse ul { animation-name: corp-clients-scroll-reverse; }
.corp-clients-row li { flex-shrink: 0; width: 257px; margin-right: 20px; }
.corp-clients-row img { display: block; width: 100%; height: auto; border: 1px solid var(--corp-line); background: #fff; }
@keyframes corp-clients-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes corp-clients-scroll-reverse { from { transform: translateX(-100%); } to { transform: translateX(0); } }

/* 帯を全幅で出すため、.corp-proof の padding と同じ量だけ外へ引く。
   padding はブレークポイントごとに 76px/40px → 65px/24px → 50px/16px と変わる。 */

@media (max-width: 860px) {
  .corp-clients {
    gap: 12px;
    margin-top: 40px;
    margin-right: -24px;
    margin-bottom: -65px;
    margin-left: -24px;
    padding: 24px 0;
  }
}
@media (max-width: 620px) {
  .corp-clients {
    margin-top: 32px;
    margin-right: -16px;
    margin-bottom: -50px;
    margin-left: -16px;
    padding: 20px 0;
  }
  .corp-clients-row li { width: 200px; margin-right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .corp-clients-row ul { animation: none; }
}

.corp-section {
  position: relative;
  padding: var(--pad-l) var(--gutter);
  overflow: hidden;
}

.belief {
  background:
    linear-gradient(90deg, rgba(42,183,217,0.035) 1px, transparent 1px) 0 0 / 100px 100px,
    linear-gradient(rgba(42,183,217,0.035) 1px, transparent 1px) 0 0 / 100px 100px,
    #f8fbfc;
}

.belief::after {
  content: "REAL DX";
  position: absolute;
  top: 47px;
  right: -14px;
  color: rgba(42,183,217,0.06);
  font-family: var(--corp-display);
  font-size: clamp(130px,18vw,280px);
  font-weight: 500;
  line-height: 1;
}
.detail-hero h1,
.detail-heading h2 {
  margin: 0;
  font-size: clamp(42px,5.15vw,76px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.25;
}
@keyframes corp-final-scroll { to { transform: translateX(-50%); } }
.corp-button-white { min-width: min(370px,100%); margin-top: 38px; color: var(--corp-ink); background: #fff; box-shadow: 0 15px 35px rgba(0,0,0,0.17); }
.corp-button-white b { color: #fff; background: var(--corp-cyan); }

.legacy-section { position: relative; padding: var(--pad-l) var(--gutter); overflow: hidden; background: #fff; }
.legacy-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; }
.legacy-section-head h2 { margin: 0; font-size: var(--fs-section); letter-spacing: -0.055em; line-height: 1.2; }
.legacy-section-sub { margin: 14px 0 0; color: var(--corp-cyan-light); font-size: clamp(15px,1.3vw,19px); font-weight: 800; letter-spacing: -0.02em; }
.legacy-section-sub.is-ink { color: var(--corp-slate); font-size: clamp(14px,1.15vw,17px); font-weight: 600; }
.legacy-section-head > a { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.legacy-section-head > a span { color: var(--corp-cyan); }

.solution-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 14px; margin-top: 65px; }
.solution-card { position: relative; grid-column: span 4; display: flex; flex-direction: column; min-height: 320px; padding: 31px; overflow: hidden; border: 1px solid var(--corp-line); color: var(--corp-ink); background: #f6fbfc; text-decoration: none; transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease; }
.solution-card:nth-child(n+4) { grid-column: span 6; min-height: 285px; }
.solution-card::before { content: ""; position: absolute; top: -70px; right: -70px; width: 190px; height: 190px; border: 1px solid rgba(42,183,217,0.22); border-radius: 50%; box-shadow: 0 0 0 38px rgba(42,183,217,0.04),0 0 0 76px rgba(42,183,217,0.025); }
.solution-card:hover { color: #fff; background: var(--corp-ink); transform: translateY(-5px); }
.solution-card > span { position: relative; z-index: 1; color: var(--corp-blue); font-family: var(--corp-display); font-size: 12px; letter-spacing: 0.1em; }
.solution-card:hover > span { color: var(--corp-cyan-light); }
.solution-card h3 { position: relative; z-index: 1; max-width: 390px; margin: auto 0 15px; font-size: 25px; line-height: 1.5; }
.solution-card p { position: relative; z-index: 1; max-width: 470px; margin: 0; color: #607680; font-size: 15px; line-height: 1.8; }
.solution-card:hover p { color: rgba(255,255,255,0.76); }
.solution-card b { position: absolute; right: 26px; bottom: 23px; z-index: 1; color: var(--corp-cyan); font-size: 20px; font-weight: 400; }
.solution-cals { background: linear-gradient(145deg,#edfaff,#fff); }
.solution-game { background: linear-gradient(145deg,#f5f7ff,#fff); }
.solution-genba { background: linear-gradient(145deg,#eefbf7,#fff); }

.legacy-voices { color: #fff; background: var(--corp-deep); }
.legacy-voices .corp-kicker { color: var(--corp-cyan-light); }
.legacy-voices .legacy-section-head h2 { color: #fff; }

.legacy-news { background: #f6f9fa; }
.news-list { margin-top: 62px; border-top: 1px solid var(--corp-line); }
.news-list a { display: grid; grid-template-columns: 130px 150px 1fr 30px; align-items: center; gap: 25px; min-height: 105px; border-bottom: 1px solid var(--corp-line); color: var(--corp-ink); text-decoration: none; }
.news-list time { color: var(--corp-blue); font-family: var(--corp-display); font-size: 14px; letter-spacing: 0.07em; }
.news-list span { justify-self: start; padding: 4px 11px; border: 1px solid #b9d9e2; border-radius: 999px; color: #50717e; font-size: 12px; }
.news-list p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.7; }
.news-list b { color: var(--corp-cyan); font-size: 18px; font-weight: 400; }

/* 採用情報 ── オリジナルサイト .recruit 相当。
   青グラデーション＋写真2段マーキー（上段は左へ、下段は右へ 40s）。 */

.corp-recruit { position: relative; padding: 80px 0 0; overflow: hidden; background: linear-gradient(to right top, #346aaa, #4e9fd2); }
.corp-recruit-inner { padding-inline: var(--gutter); }
.corp-recruit-title { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; margin: 0; }
.corp-recruit-title .main { color: #fff; font-family: var(--corp-display); font-size: 70px; font-weight: 400; line-height: 1; }
.corp-recruit-title .sub { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.4; }
.corp-recruit-title .sub::before { content: ""; display: block; width: 21px; aspect-ratio: 1.68 / 1; background: url("./assets/footer/under_only_title_infinity_w.svg") no-repeat 0 0 / 21px; }
.corp-recruit-lead { display: flex; align-items: center; gap: 40px; margin-top: 26px; }
.corp-recruit-lead p { max-width: 840px; margin: 0; color: #fff; font-size: 16px; line-height: 2; }
.corp-recruit-link { display: inline-flex; align-items: center; flex-shrink: 0; gap: 20px; margin-left: auto; color: #fff; font-size: 16px; text-decoration: none; }
.corp-recruit-link .text { padding-block: 2px; background-image: linear-gradient(to right,#fff,#fff); background-position: bottom left; background-repeat: no-repeat; background-size: 0 1px; transition: background-size 0.5s; }
.corp-recruit-link:hover .text { background-size: 100% 1px; }
.corp-recruit-link .arrow { position: relative; display: block; width: 60px; height: 60px; border: 1px solid #fff; border-radius: 999px; }
.corp-recruit-link .arrow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; margin: -4px 0 0 -5px; border-top: 1px solid #fff; border-right: 1px solid #fff; transform: rotate(45deg); }

.corp-recruit-slider { position: relative; margin-top: 40px; }
.corp-recruit-slider::after { content: ""; position: absolute; inset: 0; z-index: 1; background: #273038; opacity: 0.5; }
.corp-recruit-track { display: flex; width: 360%; overflow: hidden; animation: corp-recruit-scroll 40s linear infinite; }
.corp-recruit-track.is-reverse { animation-name: corp-recruit-scroll-reverse; }
.corp-recruit-column { display: flex; flex-shrink: 0; width: 50%; }
.corp-recruit-column > div { flex-shrink: 0; width: 12.5%; }
@keyframes corp-recruit-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes corp-recruit-scroll-reverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* フッター ── オリジナルサイト .footer 相当。白背景＋SNS＋取得認証マーク。 */

@font-face { font-family: "datt-icomoon"; src: url("./assets/footer/icomoon.woff") format("woff"); font-weight: normal; font-style: normal; font-display: block; }
.corp-footer { padding: 80px var(--gutter) 60px; color: var(--corp-ink); background: #fff; border-top: 1px solid var(--corp-line); }
.corp-footer-inner { max-width: 1200px; margin: 0 auto; }
.corp-footer-box { display: flex; align-items: flex-start; gap: 40px; }
.corp-footer-logo { width: 350px; max-width: 100%; flex-shrink: 0; }
.corp-footer-logo > a { display: block; }
.corp-footer-logo > a:hover { opacity: 0.7; }
.corp-footer-logo img { width: 283px; }
.corp-footer-logo .text { margin: 18px 0 0; font-size: 14px; line-height: 1.8; }
.corp-sns { display: flex; align-items: center; gap: 9px; margin: 25px 0 0; padding: 0; list-style: none; }
.corp-sns a { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; border: 1px solid var(--corp-line); border-radius: 6px; color: var(--corp-ink); background: #fff; text-decoration: none; }
.corp-sns a:hover { opacity: 0.7; }
.corp-sns img { width: 22px; height: auto; }
.corp-sns i { font-family: "datt-icomoon"; font-style: normal; line-height: 1; }
.corp-sns .is-facebook i::before { content: "\e900"; font-size: 24px; color: #1877f2; }
.corp-sns .is-youtube i::before { content: "\ea9d"; font-size: 24px; color: #ff0000; }
.corp-footer-marks { margin-left: auto; }
.corp-footer-marks ul { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 0; padding: 14px 20px; border: 1px solid var(--corp-line); border-radius: 6px; list-style: none; background: #fff; }
.corp-footer-marks a { display: block; text-decoration: none; }
.corp-footer-marks a:hover img { opacity: 0.7; }
.corp-footer-marks img { width: auto; height: 65px; transition: opacity 0.3s ease; }
.corp-footer-bottom { display: flex; flex-wrap: wrap; align-items: baseline; margin-top: 90px; }
.corp-footer-bottom .link { display: flex; flex-wrap: wrap; gap: 10px 25px; width: 70%; font-size: 13px; }
.corp-footer-bottom .link a { color: #939393; text-decoration: none; }
.corp-footer-bottom .link a:hover { color: var(--corp-ink); text-decoration: underline; }
.corp-footer-bottom .copy { width: 30%; margin: 0; color: #939393; font-family: var(--corp-display); font-size: 13px; letter-spacing: 0.06em; text-align: right; }

.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Business detail pages */

.detail-page { background: #fff; }
.detail-page .corp-header { top: 18px; }

.detail-hero {
  position: relative;
  min-height: 760px;
  padding: 210px var(--gutter) 110px;
  overflow: hidden;
  color: #fff;
  background: var(--corp-deep);
}
.detail-hero::before { content: ""; position: absolute; inset: 0; opacity: 0.12; background-image: linear-gradient(rgba(255,255,255,0.6) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.6) 1px,transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg,black,transparent 85%); }
.detail-hero::after { content: attr(data-word); position: absolute; right: -20px; bottom: -60px; color: rgba(255,255,255,0.07); font-family: var(--corp-display); font-size: clamp(150px,23vw,360px); line-height: 1; }

.detail-breadcrumb { position: relative; z-index: 2; display: flex; gap: 10px; margin-bottom: 55px; color: rgba(255,255,255,0.55); font-size: 12px; }
.detail-breadcrumb a { text-decoration: none; }
.detail-breadcrumb a:hover { color: #fff; }
.detail-hero-copy { position: relative; z-index: 2; max-width: 1030px; }
.detail-hero .corp-kicker { color: var(--corp-cyan-light); }
.detail-hero h1 { color: #fff; font-size: clamp(48px,6.25vw,92px); line-height: 1.2; }
.detail-hero h1 em { color: var(--corp-cyan-light); font-style: normal; }
.detail-hero-lead { max-width: 780px; margin: 34px 0 0; color: rgba(255,255,255,0.75); font-size: 17px; line-height: 2; }

.detail-section { position: relative; padding: var(--pad-l) var(--gutter); overflow: hidden; }
.detail-section.alt { background: var(--corp-mist); }
.detail-section.dark { color: #fff; background: var(--corp-deep); }
.detail-heading { display: grid; grid-template-columns: 1fr; align-items: end; gap: 22px; }
.detail-heading h2 { font-size: var(--fs-section); }
.detail-heading > p { max-width: none; margin: 0; color: #5e717b; font-size: 15px; line-height: 2; }
.detail-section.dark .detail-heading h2 { color: #fff; }
.detail-section.dark .detail-heading > p { color: rgba(255,255,255,0.68); }

.scope-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 70px; }
.scope-grid article { min-height: 320px; padding: 33px 30px; border: 1px solid var(--corp-line); background: #fff; }
.scope-grid article > span { color: var(--corp-cyan); font-family: var(--corp-display); font-size: 11px; letter-spacing: 0.1em; }
.scope-grid h3 { margin: 50px 0 18px; font-size: 22px; }
.scope-grid ul { margin: 0; padding: 18px 0 0; border-top: 1px solid var(--corp-line); list-style: none; }
.scope-grid li { position: relative; padding-left: 15px; color: #657983; font-size: 13px; line-height: 2; }
.scope-grid li::before { content: ""; position: absolute; top: 1em; left: 0; width: 6px; height: 1px; background: var(--corp-cyan); }

.detail-cta { position: relative; padding: var(--pad-l) var(--gutter); overflow: hidden; color: #fff; background: linear-gradient(145deg,#32cbe6,#137ead); text-align: center; }
.detail-cta::before { content: ""; position: absolute; inset: 0; opacity: 0.15; background-image: linear-gradient(rgba(255,255,255,0.8) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.8) 1px,transparent 1px); background-size: 72px 72px; }
.detail-cta > div { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.detail-cta h2 { margin: 0; font-size: var(--fs-section); line-height: 1.35; letter-spacing: -0.05em; }
.detail-cta p { margin: 24px 0 0; color: rgba(255,255,255,0.84); }

@media (max-width: 1320px) {
  .corp-nav { gap: 13px; padding-inline: 24px; }
  .corp-nav a { font-size: 12px; }
  .corp-nav > span { display: none; }
  .corp-hero h1 > span { font-size: clamp(43px,4.35vw,62px); }
  .corp-hero h1 strong { font-size: clamp(42px,4.15vw,59px); }
}

@media (max-width: 1100px) {
  .corp-header { top: 0; }
  .corp-header.is-scrolled { top: 0; }
  .corp-header-inner { width: 100%; height: 72px; padding-left: 24px; background: rgba(255,255,255,0.94); box-shadow: 0 3px 20px rgba(15,59,88,0.1); backdrop-filter: blur(12px); }
  .corp-brand { width: 182px; }
  .corp-nav { display: none; }
  .corp-contact { width: 94px; min-height: 48px; margin-left: auto; }
  .corp-contact small { display: none; }
  .corp-menu-button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 72px; height: 72px; margin-left: 10px; padding: 0; border: 0; color: #fff; background: var(--corp-ink); cursor: pointer; }
  .corp-menu-button i { display: block; width: 24px; height: 1px; margin: 3px 0; background: #fff; transition: transform 0.25s ease, opacity 0.2s ease; }
  .corp-menu-button small { margin-top: 6px; font-family: var(--corp-display); font-size: 9px; letter-spacing: 0.1em; }
  .corp-menu-button[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .corp-menu-button[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .corp-menu-button[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .corp-mobile-menu { position: fixed; inset: 72px 0 0; display: flex; flex-direction: column; padding: 48px 32px; color: #fff; background: rgba(39,48,56,0.985); overflow: auto; }
  .corp-mobile-menu[hidden] { display: none; }
  .corp-mobile-menu > a { display: grid; grid-template-columns: 45px 1fr; align-items: center; min-height: 68px; border-bottom: 1px solid rgba(255,255,255,0.14); font-size: 18px; font-weight: 700; text-decoration: none; }
  .corp-mobile-menu > a span { color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: 12px; }
  .corp-mobile-menu .corp-mobile-cta { display: flex; justify-content: center; min-height: 60px; margin-top: 35px; border: 0; border-radius: 999px; background: linear-gradient(135deg,var(--corp-cyan-light),var(--corp-cyan)); font-size: 15px; }

  .corp-hero { min-height: 830px; }
  .corp-recruit-track { width: 480%; }
}

@media (max-width: 860px) {
  .corp-hero { min-height: 760px; height: auto; padding-bottom: 110px; background: linear-gradient(180deg,#e7f8fc 0%,#e7f8fc 72%,#fff 72%); }
  .corp-hero::before { width: 55%; }
  .corp-hero h1 > span { font-size: clamp(39px,7.5vw,56px); }
  .corp-hero h1 strong { font-size: clamp(37px,7.2vw,53px); }
  .corp-proof { padding-block: var(--pad-s); }
  .corp-section,
  .detail-section,
  .legacy-section { padding-block: var(--pad-l); }

  .detail-heading { grid-template-columns: 1fr; gap: 28px; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .solution-card,
  .solution-card:nth-child(n+4) { grid-column: auto; min-height: 310px; }
  .news-list a { grid-template-columns: 110px 130px 1fr 24px; gap: 16px; }
  .corp-footer-box { flex-direction: column; gap: 40px; }
  .corp-footer-marks { margin-left: 0; }

  .detail-hero { min-height: 700px; padding-block: 175px 90px; }
  .detail-hero h1 { font-size: clamp(43px,9vw,70px); }
  .scope-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 64px; }
  .corp-header-inner { height: 64px; padding-left: 16px; }
  .corp-brand { width: 142px; }
  .corp-contact { width: 82px; min-height: 42px; }
  .corp-contact span { font-size: 11px; }
  .corp-menu-button { width: 64px; height: 64px; margin-left: 8px; }
  .corp-mobile-menu { inset: 64px 0 0; padding: 32px 22px; }

  .corp-hero { min-height: 700px; padding-bottom: 90px; }
  .corp-eyebrow,
  .corp-kicker { margin-bottom: 16px; font-size: 10px; }
  .corp-eyebrow::before,
  .corp-kicker::before { width: 20px; margin-right: 8px; }
  .corp-hero h1 { gap: 5px; }
  .corp-hero h1 > span { padding: 10px 12px 12px; font-size: clamp(31px,9.2vw,44px); }
  .corp-hero h1 strong { margin-top: 7px; font-size: clamp(29px,8.8vw,42px); }
  .corp-button { min-height: 56px; font-size: 13px; }
  .corp-proof { padding-block: var(--pad-s); }

  .corp-section,
  .detail-section,
  .legacy-section { padding-block: var(--pad-l); }
  .detail-heading > p { font-size: 13px; line-height: 1.95; }
  .legacy-section-head { align-items: flex-start; flex-direction: column; gap: 22px; }
  /* 文節で折り返すため語中で割れない。狭い画面では字面を詰める */
  
  .legacy-section-head .corp-kicker { font-size: 12px; }
  .solution-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .solution-card,
  .solution-card:nth-child(n+4) { min-height: 270px; padding: 26px 22px; }
  .news-list { margin-top: 45px; }
  .news-list a { grid-template-columns: 1fr auto; gap: 8px 15px; padding: 22px 0; }
  .news-list time { grid-column: 1; }
  .news-list span { grid-column: 2; grid-row: 1; }
  .news-list p { grid-column: 1 / -1; font-size: 14px; }
  .news-list b { display: none; }
  .corp-recruit { padding-top: 60px; }
  .corp-recruit-title .main { font-size: 46px; }
  .corp-recruit-lead { flex-direction: column; align-items: flex-start; gap: 24px; }
  .corp-recruit-lead p { font-size: 14px; }
  .corp-recruit-link { margin-left: 0; }
  .corp-recruit-track { width: 720%; }
  .corp-button-white { width: 100%; min-width: 0; padding-left: 18px; }
  .corp-footer { padding-block: 60px 40px; }
  .corp-footer-logo img { width: 225px; }
  .corp-footer-marks ul { gap: 16px; padding: 12px 14px; }
  .corp-footer-marks img { height: 48px; }
  .corp-footer-bottom { margin-top: 48px; gap: 14px; }
  .corp-footer-bottom .link,
  .corp-footer-bottom .copy { width: 100%; text-align: left; }

  .detail-hero { min-height: 660px; padding-block: 145px 80px; }
  .detail-breadcrumb { margin-bottom: 40px; font-size: 10px; }
  .detail-hero h1 { font-size: clamp(38px,11vw,54px); }
  .detail-hero-lead { margin-top: 25px; font-size: 13px; }
  .scope-grid { margin-top: 48px; }
  .detail-cta { padding-block: var(--pad-l); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Corporate TOP refinement — stronger hierarchy, deliberate line breaks and visual cues */

:root { --corp-recruit: #ff6b43; }

:root {
  /* セクションの縦リズム（3段階） */
  --pad-l: clamp(88px, 8.4vw, 120px);
  --pad-m: clamp(64px, 6.4vw, 92px);
  --pad-s: clamp(44px, 4.8vw, 68px);

  /* 左右のガター。全セクションがこの1つだけを使う */
  --gutter: max(20px, calc((100vw - 1280px) / 2));

  /* 見出しスケール：同じ階層は同じ大きさに */
  --fs-section: clamp(32px, 4.2vw, 62px);   /* セクション見出し */
  --fs-sub: clamp(24px, 2.5vw, 36px);       /* サブ見出し */
  --fs-card: clamp(17px, 1.6vw, 23px);      /* カード見出し */
}

/* ガターは3段階。定義は必ず基準→上書きの順に置く */

@media (min-width: 621px) {
  :root { --gutter: max(24px, calc((100vw - 1280px) / 2)); }
}
@media (min-width: 861px) {
  :root { --gutter: max(40px, calc((100vw - 1280px) / 2)); }
}

.sol-icon { display: inline-block; flex: none; vertical-align: -0.28em; }

/* ── 下層ページの日本語も文節境界で折り返す ── */

.detail-page h1,
.detail-page h2,
.detail-page h3,
.detail-page h4,
.detail-page .detail-hero-lead,
.detail-page .detail-heading > p,
.detail-page .detail-section p,
.detail-page figcaption,
.detail-page dd,
.detail-page li { word-break: auto-phrase; }
.corporate-page .corp-section { padding-block: var(--pad-l); }

.corporate-page .corp-header-inner { gap: 10px; }
.corporate-page .corp-nav { gap: clamp(11px,1.05vw,20px); margin-right: 0; padding: 12px clamp(18px,1.5vw,28px); }
.corporate-page .corp-contact,
.corporate-page .corp-recruit-nav {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 94px;
  min-height: 60px;
  border-radius: 999px;
  line-height: 1.05;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.corporate-page .corp-contact {
  color: var(--corp-ink);
  border: 1px solid rgba(39,48,56,0.13);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 7px 18px rgba(15,59,88,0.11);
}
.corporate-page .corp-recruit-nav {
  width: 98px;
  color: #fff;
  background: linear-gradient(135deg,#ff7b4f,var(--corp-recruit));
  box-shadow: 0 10px 24px rgba(255,107,67,0.3);
}
.corporate-page .corp-contact:hover,
.corporate-page .corp-recruit-nav:hover { transform: translateY(-3px); }
.corporate-page .corp-contact:hover { box-shadow: 0 13px 28px rgba(15,59,88,0.16); }
.corporate-page .corp-recruit-nav:hover { box-shadow: 0 15px 30px rgba(255,107,67,0.4); }
.corporate-page .corp-contact span,
.corporate-page .corp-recruit-nav span { font-size: 13px; font-weight: 800; }
.corporate-page .corp-contact small,
.corporate-page .corp-recruit-nav small { margin-top: 7px; font-family: var(--corp-display); font-size: 10px; letter-spacing: 0.1em; }

.corporate-page .corp-hero {
  height: min(760px,100svh);
  min-height: 680px;
  background: linear-gradient(180deg,#e7f8fc 0%,#dcf4fa 78%,#fff 78%);
}
.corporate-page .corp-hero::before { width: 38%; height: 25%; clip-path: polygon(0 48%,100% 0,100% 100%,0 100%); }

.corporate-page .solution-grid { gap: 18px; }
.corporate-page .solution-card {
  display: flex;
  min-height: 450px;
  padding: 0;
  border-color: #d8e4e8;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15,59,88,0.075);
}
.corporate-page .solution-card:nth-child(n+4) { display: grid; grid-template-columns: 43% 1fr; min-height: 320px; }
.corporate-page .solution-card::before { display: none; }
.corporate-page .solution-card figure { position: relative; width: 100%; height: 205px; margin: 0; overflow: hidden; background: #eef8fb; }
.corporate-page .solution-card:nth-child(n+4) figure { height: 100%; min-height: 320px; }
.corporate-page .solution-card figure::after { content: ""; position: absolute; inset: 0; border-bottom: 1px solid rgba(39,48,56,0.07); background: linear-gradient(180deg,transparent 62%,rgba(13,45,62,0.1)); pointer-events: none; }
.corporate-page .solution-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.corporate-page .solution-card:hover figure img { transform: scale(1.045); }
.corporate-page .solution-cals figure img { padding: 24px; object-fit: contain; background: #eff9fc; }
.corporate-page .solution-game figure { background: linear-gradient(145deg,#e9f7ff,#f7f4ff); }
.corporate-page .solution-game figure img { padding: 10px 16px 0; object-fit: contain; }
.corporate-page .solution-copy { display: flex; flex: 1; flex-direction: column; padding: 25px 27px 28px; }
.corporate-page .solution-card:nth-child(n+4) .solution-copy { justify-content: center; padding: 30px 32px; }
.corporate-page .solution-copy > span { display: flex; align-items: center; gap: 8px; color: var(--corp-blue); font-family: var(--corp-display); font-size: 11px; letter-spacing: 0.1em; }
.corporate-page .solution-copy > span .sol-icon { width: 19px; height: 19px; color: var(--corp-cyan); }
.corporate-page .solution-card h3 { margin: 22px 0 10px; font-size: 23px; }
.corporate-page .solution-card p { margin: 0; font-size: 14px; }
.corporate-page .solution-card:hover .solution-copy > span { color: var(--corp-cyan-light); }
.corporate-page .solution-card > b { right: 23px; bottom: 19px; }

@media (max-width: 1320px) {
  .corporate-page .corp-brand { width: 205px; }
  .corporate-page .corp-nav { gap: 10px; padding-inline: 17px; }
  .corporate-page .corp-nav a { font-size: 11px; }
  .corporate-page .corp-recruit-nav { width: 88px; }
}

@media (max-width: 1100px) {
  .corporate-page .corp-nav { display: none; }
  .corporate-page .corp-recruit-nav { width: 96px; min-height: 48px; margin-left: auto; }
  .corporate-page .corp-recruit-nav small { display: none; }
  .corporate-page .corp-hero { height: auto; min-height: 760px; }
}

@media (max-width: 860px) {

  .corporate-page .corp-hero { min-height: 720px; padding-bottom: 0; }
  .corporate-page .corp-hero::before { width: 48%; height: 22%; }
  .corporate-page .solution-card,
  .corporate-page .solution-card:nth-child(n+4) { display: flex; grid-column: auto; min-height: 430px; }
  .corporate-page .solution-card:nth-child(n+4) figure { height: 205px; min-height: 0; }
}

@media (max-width: 620px) {
  .corporate-page .corp-header-inner { gap: 7px; }
  .corporate-page .corp-recruit-nav { width: 78px; min-height: 42px; }
  .corporate-page .corp-recruit-nav span { font-size: 11px; }
  .corporate-page .corp-hero { min-height: 690px; }
  .corporate-page .corp-hero::before { width: 55%; height: 20%; }
  .corporate-page .solution-card,
  .corporate-page .solution-card:nth-child(n+4) { min-height: 410px; }
  .corporate-page .solution-card figure,
  .corporate-page .solution-card:nth-child(n+4) figure { height: 190px; }
  .corporate-page .solution-copy,
  .corporate-page .solution-card:nth-child(n+4) .solution-copy { padding: 22px 21px 27px; }
}

/* Business detail pages — competitive positioning v2 */

.detail-v2 { --detail-accent: #2ad0e8; }
.detail-v2 .detail-hero-v2 { min-height: 880px; padding-bottom: 0; }
.detail-v2 .detail-hero-v2::before { opacity: 0.14; background-size: 64px 64px; mask-image: linear-gradient(100deg,#000 0%,rgba(0,0,0,.75) 52%,transparent 94%); }
.detail-v2 .detail-hero-v2::after { right: -28px; bottom: 52px; font-size: clamp(150px,20vw,310px); }
.detail-v2 .detail-breadcrumb { margin-bottom: 42px; }
.detail-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(360px,.62fr); align-items: end; gap: clamp(50px,7vw,110px); }
.detail-v2 .detail-hero-copy { max-width: 830px; }
.detail-v2 .detail-hero h1 { margin-top: 20px; font-size: clamp(54px,5.65vw,84px); line-height: 1.24; letter-spacing: -.055em; }
.detail-v2 .detail-hero h1 em { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.22); text-decoration-thickness: 1px; text-underline-offset: 18px; }
.detail-v2 .detail-hero-lead { max-width: 720px; margin-top: 36px; color: rgba(255,255,255,.88); font-size: 17px; line-height: 2.05; }

.detail-v2 .detail-section { padding-block: 125px; }
.detail-v2 .detail-heading { align-items: center; }
.detail-v2 .detail-heading h2 { font-size: var(--fs-section); line-height: 1.36; }
.detail-v2 .detail-heading > p { font-size: 16px; line-height: 2.05; }
.opening-problem { background: #fff; }
.friction-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 68px; }
.friction-grid article { position: relative; min-height: 280px; padding: 31px 30px; overflow: hidden; border: 1px solid var(--corp-line); background: linear-gradient(145deg,#fff,#f4fafc); }
.friction-grid article::after { content: ""; position: absolute; right: -38px; bottom: -38px; width: 116px; height: 116px; border: 1px solid rgba(42,183,217,.2); border-radius: 50%; }
.friction-grid span { color: var(--corp-cyan); font-family: var(--corp-display); font-size: 12px; letter-spacing: .09em; }
.friction-grid h3 { margin: 47px 0 15px; font-size: 24px; }
.friction-grid p { position: relative; z-index: 1; margin: 0; color: #5d727c; font-size: 15px; line-height: 1.9; }

.industry-grid-v2 { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; margin-top: 70px; }
.industry-grid-v2 article { grid-column: span 2; min-height: 360px; padding: 31px 28px; border: 1px solid #d6e5e9; background: #fff; box-shadow: 0 14px 38px rgba(15,59,88,.055); }
.industry-grid-v2 article:nth-child(4),
.industry-grid-v2 article:nth-child(5) { grid-column: span 3; }
.industry-grid-v2 > article > span { color: var(--corp-cyan); font-family: var(--corp-display); font-size: 11px; letter-spacing: .09em; }
.industry-grid-v2 h3 { margin: 35px 0 18px; font-size: 28px; }
.industry-grid-v2 > article > p { min-height: 96px; margin: 0; color: #60747f; font-size: 14px; line-height: 1.9; }
.industry-grid-v2 dl { margin: 27px 0 0; padding-top: 19px; border-top: 1px solid var(--corp-line); }
.industry-grid-v2 dt { color: #82939a; font-size: 11px; font-weight: 700; }
.industry-grid-v2 dd { margin: 8px 0 0; color: var(--corp-blue); font-size: 13px; font-weight: 700; }
.industry-grid-v2 small { display: block; margin-top: 18px; color: #84939a; font-size: 11px; line-height: 1.7; }

@media (max-width: 1100px) {
  .detail-v2 .detail-hero-v2 { min-height: 920px; padding-top: 165px; }
  .detail-hero-grid { grid-template-columns: 1fr minmax(300px,.7fr); gap: 40px; }
  .detail-v2 .detail-hero h1 { font-size: clamp(49px,6.6vw,68px); }
}

@media (max-width: 860px) {
  .detail-v2 .detail-hero-v2 { min-height: 0; padding: 145px var(--gutter) 0; }
  .detail-hero-grid { grid-template-columns: 1fr; gap: 45px; }
  .detail-v2 .detail-hero-copy { max-width: 720px; }
  .detail-v2 .detail-hero h1 { font-size: clamp(46px,9vw,68px); }
  .detail-v2 .detail-heading { grid-template-columns: 1fr; gap: 28px; }
  .friction-grid { grid-template-columns: repeat(2,1fr); }
  .friction-grid article:last-child { grid-column: 1 / -1; }
  .industry-grid-v2 { grid-template-columns: repeat(2,1fr); }
  .industry-grid-v2 article,
  .industry-grid-v2 article:nth-child(4),
  .industry-grid-v2 article:nth-child(5) { grid-column: auto; }
  .industry-grid-v2 article:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .detail-v2 .detail-hero-v2 { padding: 130px var(--gutter) 0; }
  .detail-v2 .detail-breadcrumb { margin-bottom: 35px; }
  .detail-v2 .detail-hero h1 { font-size: clamp(38px,10.8vw,52px); line-height: 1.32; }
  .detail-v2 .detail-hero h1 em { text-underline-offset: 10px; }
  .detail-v2 .detail-hero-lead { margin-top: 30px; font-size: 15px; line-height: 1.95; }
  .detail-v2 .detail-section { padding-block: 90px; }
  .detail-v2 .detail-heading h2 { font-size: var(--fs-section); }
  .detail-v2 .detail-heading > p { font-size: 15px; }
  .friction-grid,
  .industry-grid-v2 { grid-template-columns: 1fr; margin-top: 48px; }
  .friction-grid article:last-child,
  .industry-grid-v2 article:last-child { grid-column: auto; }
  .friction-grid article,
  .industry-grid-v2 article { min-height: 0; }
}

/* ============================================================
   現場起点・FDE「要件定義は「現場」で。」
   承認カンプ（datt-fde-section-handoff）準拠。
   色は既存変数に寄せ、カンプ固有の濃紺・区切り線のみ
   セクション内スコープで定義する。
   ============================================================ */
.fde-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.fde-steps::before { content: ""; position: absolute; top: 17px; left: 12.5%; right: 12.5%; height: 1px; background: var(--fde-line); }

.fde-proofs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 36px 0 0; padding: 0; list-style: none; }
.fde-proofs li { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.4vw, 20px); }
.fde-proofs li + li { border-left: 1px solid var(--fde-line); }
.fde-proofs strong { color: var(--fde-navy); font-size: clamp(16px, 1.45vw, 21px); font-weight: 800; }
.fde-proofs strong em { margin-right: 2px; font-family: var(--corp-display); font-size: clamp(34px, 3.1vw, 46px); font-style: normal; font-weight: 500; letter-spacing: 0.01em; }
.fde-proofs li > span { padding-left: clamp(12px, 1.4vw, 20px); border-left: 1px solid var(--fde-line); color: var(--fde-text-sub); font-size: clamp(12px, 1.05vw, 15px); font-weight: 600; }

.fde-cta { display: flex; align-items: center; justify-content: center; gap: 30px; width: min(100%, 440px); min-height: 68px; margin: 40px auto 0; padding-inline: 28px; border-radius: 6px; color: #fff; background: var(--fde-navy); font-size: clamp(16px, 1.35vw, 19px); font-weight: 700; text-decoration: none; transition: background 240ms ease; }
.fde-cta:hover { background: #0e2f66; }
.fde-cta:focus-visible { outline: 2px solid var(--corp-cyan); outline-offset: 3px; }
.fde-cta i { position: relative; display: block; width: 26px; height: 1px; background: #fff; transition: transform 240ms ease; }
.fde-cta i::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid #fff; border-right: 1px solid #fff; transform: rotate(45deg); }
.fde-cta:hover i { transform: translateX(4px); }

/* タブレット: 4列 -> 2列x2段（サイト既存の 1100px で切り替え） */

@media (max-width: 1100px) {
  .fde-steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .fde-steps::before { left: 25%; right: 25%; }
}

/* モバイル: 1列。番号を左の縦ライン上に置き、イラストと文章を右へ。 */

@media (max-width: 767px) {
  .fde-steps { grid-template-columns: 1fr; row-gap: 0; }
  .fde-steps::before { display: none; }
  .fde-proofs { grid-template-columns: 1fr; margin-top: 28px; }
  .fde-proofs li { justify-content: flex-start; padding: 14px 0; }
  .fde-proofs li + li { border-left: 0; border-top: 1px solid var(--fde-line); }
  .fde-cta { width: min(100%, 360px); min-height: 62px; margin-top: 30px; }
}

/* Corporate TOP — concise two-section story */
/* 見出しを全幅に置き、リード文はその下の行へ回す。 */
/* 見出しの折返し制御。
   .one-line = 1行で見せ、収まらない幅でだけ語句の切れ目で折り返す。
   .brk      = 1行に入らないので、語句の切れ目で必ず折り返す。 */

.one-line > span { display: inline; }
.brk > span { display: block; }
@media (max-width: 860px) {
  .one-line > span { display: block; }
}

/* 見出しは1行で見せる。1行に収まらない幅でだけ、語句の切れ目で折り返す。 */

/* ============================================================
   ヒーロー下部の空白調整
   コピーが上寄せ固定＋ヒーロー高さ固定のため、余白が全て下に
   溜まって 250-322px の空白帯になっていた。
   1) コピーをヘッダー分を確保したうえで縦中央に寄せる
   2) 背景の 78% での白への急な切り替えをやめ、白い斜め面
      (::before) だけで次セクションへつなぐ
      → 白地に白の面が重なって形が消えていたのを解消
   ============================================================ */

.corporate-page .corp-hero {
  display: flex;
  align-items: center;
  padding-top: clamp(84px, 10.5vh, 116px);
  background: linear-gradient(180deg, #e7f8fc 0%, #dcf4fa 58%, #d4f0f8 100%);
}
.corporate-page .corp-hero::before { width: 100%; height: 21%; clip-path: polygon(0 0, 100% 58%, 100% 100%, 0 100%); }

@media (max-width: 1100px) {
  .corporate-page .corp-hero { padding-top: 100px; }
  .corporate-page .corp-hero::before { width: 100%; height: 19%; }
}
@media (max-width: 860px) {
  .corporate-page .corp-hero { padding-top: 94px; }
  .corporate-page .corp-hero::before { width: 100%; height: 17%; }
}
@media (max-width: 620px) {
  .corporate-page .corp-hero { padding-top: 84px; }
  .corporate-page .corp-hero::before { width: 100%; height: 15%; }
}

/* ============================================================
   業界固有の課題セクション（AI×BPO）
   4・5番目だけ span 3 で横長になりサイズが不統一だったため、
   3カラム均等＋grid-auto-rows:1fr で全カードを同一サイズにし、
   各業界に同じ構成（状況／AIが担う／人が担う／指標）を持たせる。
   ============================================================ */

.industry-grid-v2 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; }
.industry-grid-v2 article,
.industry-grid-v2 article:nth-child(4),
.industry-grid-v2 article:nth-child(5) { grid-column: auto; }
.industry-grid-v2 article { display: flex; flex-direction: column; min-height: 0; padding: 30px 26px 26px; }
.industry-grid-v2 h3 { margin: 20px 0 13px; font-size: 25px; }
.industry-grid-v2 > article > p { min-height: 0; margin: 0; font-size: 13px; line-height: 1.85; }

.industry-grid-v2 .industry-detail { margin: 17px 0 0; padding-top: 15px; border-top: 1px solid var(--corp-line); }
.industry-grid-v2 .industry-detail dt { margin-top: 12px; color: var(--corp-blue); font-size: 11px; font-weight: 700; }
.industry-grid-v2 .industry-detail dt:first-of-type { margin-top: 0; }
.industry-grid-v2 .industry-detail dd { margin: 4px 0 0; color: #60747f; font-size: 12px; line-height: 1.8; }

.industry-grid-v2 .industry-kpi { margin: auto 0 0; padding-top: 15px; border-top: 1px solid var(--corp-line); }
.industry-grid-v2 .industry-kpi dt { color: #82939a; font-size: 11px; font-weight: 700; }
.industry-grid-v2 .industry-kpi dd { margin: 6px 0 0; color: var(--corp-blue); font-size: 12px; font-weight: 700; line-height: 1.7; }
.industry-grid-v2 small { margin-top: 14px; font-size: 10px; }

/* 文例であることを明示する注記。本番公開前に削除する。 */

@media (max-width: 1100px) {
  .industry-grid-v2 h3 { font-size: 23px; }
}
@media (max-width: 860px) {
  .industry-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .industry-grid-v2 article:last-child { grid-column: auto; }
}
@media (max-width: 620px) {
  .industry-grid-v2 { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .industry-grid-v2 article { min-height: 0; }
}

/* ============================================================
   事業詳細ページ ヒーロー見出しの折返し修正
   「現場の判断を／AIが働ける仕組み／に。」のように、2行目が
   さらに折り返して「に。」だけが最終行へ取り残されていた。
   1440px: 必要764px / 確保756px（8px不足）
   1024px: 必要634px / 確保523px
   ============================================================ */
/* 1101px以上: 字送りを 84px -> 78px に詰めて2行目を1行に収める。
   コンテナが1280pxで打ち止めになるため、超広幅でも確保幅は750px前後で
   増えない。最大値側に余裕を持たせる必要がある。 */

.detail-v2 .detail-hero h1 { font-size: clamp(54px, 5.3vw, 78px); }

/* 861-1100px: 2カラムではコピー幅が足りないため、
   860px以下と同じく縦積み（コピー -> 指標パネル）に切り替える */

@media (max-width: 1100px) {
  .detail-hero-grid { grid-template-columns: 1fr; gap: 45px; }
  .detail-v2 .detail-hero-v2 { min-height: 0; padding-top: 155px; }
  .detail-v2 .detail-hero h1 { font-size: clamp(49px, 6.2vw, 74px); }
}
/* 620px以下: 2行目が収まらず「に。」が取り残されるため字送りを詰める */

@media (max-width: 620px) {
  .detail-v2 .detail-hero h1 { font-size: clamp(29px, 9.3vw, 52px); }
}

/* ============================================================
   DATTが目指すDX（TOP・旧「二つの実装力を一つのサイクルに。」の置換）
   DATT_DX_Claude_Handoff の承認カンプ準拠。
   色は既存変数へ寄せ、カンプ固有の濃紺のみスコープ内で定義する。
   （--datt-dx-ice #eaf8fd は既存 --corp-ice #eaf9fd とほぼ同値、
     --datt-dx-cyan #18b8e8 は --corp-cyan #2ab7d9 で代替）
   ============================================================ */

.corp-dx {
  --dx-navy: #061d49;
  --dx-line: rgba(24,184,232,.34);
  --dx-text: #17365f;
  --dx-muted: #58708d;
  --dx-panel: #eaf8fd;
  padding-block: clamp(72px, 8vw, 118px);
  background: #f7fbfd;
}
.corp-dx-head { position: relative; z-index: 1; max-width: 1040px; }
.corp-dx-title { margin: 0; color: var(--dx-navy); font-size: var(--fs-section); font-weight: 900; letter-spacing: -.05em; line-height: 1.1; }
.corp-dx-title em { color: var(--corp-cyan); font-style: normal; }
.corp-dx-en { margin: 11px 0 0; color: var(--corp-cyan); font-family: var(--corp-display); font-size: clamp(13px, 1.15vw, 17px); font-weight: 500; letter-spacing: .08em; }

/* ── 01 WHAT WE DIG ── 掘り出す対象を名指しするブロック ── */

.dx-kicker { position: relative; z-index: 1; margin: 0; color: var(--corp-cyan); font-family: var(--corp-display); font-size: clamp(12px, 1vw, 14px); font-weight: 500; letter-spacing: .12em; }
.dx-dig-title { margin: 11px 0 0; color: var(--dx-navy); font-size: clamp(22px, 2.3vw, 34px); font-weight: 800; letter-spacing: -.035em; line-height: 1.4; }

/* ── FIRST STEP — 相談への導線 ── */

.corp-cta { padding: var(--pad-m) 0; background: #fff; }
.corp-cta-inner { width: var(--corp-page); margin: 0 auto; padding: clamp(34px, 3.6vw, 56px) clamp(26px, 3.2vw, 54px); border: 1px solid var(--corp-line); border-radius: 16px; background: var(--corp-ice); }
.corp-cta-title { margin: 14px 0 0; color: var(--corp-ink); font-size: var(--fs-section); font-weight: 900; font-feature-settings: "palt"; letter-spacing: -.05em; line-height: 1.28; word-break: auto-phrase; }
.corp-cta-lead { max-width: 64ch; margin: 20px 0 0; color: var(--corp-slate); font-size: clamp(14px, 1.05vw, 16px); font-weight: 500; line-height: 2.05; word-break: auto-phrase; }
.corp-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 30px; }

@media (max-width: 620px) {
  .corp-cta-inner { width: calc(100% - var(--gutter) * 2); }
  .corp-cta-actions { gap: 16px 20px; }
  .corp-cta-actions .corp-button { width: 100%; }
}

.corp-dx-panel { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; margin-top: 34px; border-radius: 16px; background: var(--dx-panel); }
.corp-dx-panel::before { content: ""; position: absolute; top: 34px; bottom: 34px; left: 50%; width: 1px; background: var(--dx-line); }
/* 図版は細部があるため、横に並べず本文の下に全幅で置く */
.corp-dx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.corp-dx-tags li { padding: 6px 14px; border: 1px solid var(--dx-line); border-radius: 999px; color: var(--dx-text); background: rgba(255,255,255,.72); font-size: clamp(11px, .95vw, 13px); font-weight: 700; white-space: nowrap; }
.corp-dx-cta { display: inline-flex; align-items: center; justify-content: center; gap: 22px; align-self: flex-start; width: min(100%, 360px); min-height: 60px; margin-top: auto; padding-inline: 26px; border-radius: 999px; color: #fff; background: var(--dx-navy); font-size: clamp(14px, 1.15vw, 17px); font-weight: 800; text-decoration: none; white-space: nowrap; transition: background 240ms ease; }
.corp-dx-cta:hover { background: #0d2e69; }
.corp-dx-cta:focus-visible { outline: 3px solid rgba(24,184,232,.55); outline-offset: 3px; }
.corp-dx-cta i { position: relative; display: block; width: 22px; height: 1px; background: currentColor; transition: transform 240ms ease; }
.corp-dx-cta i::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.corp-dx-cta:hover i { transform: translateX(4px); }

/* 開発と運用の循環。左右カードの外側から中央メッセージへ細いラインで戻す。 */

/* 基幹システム刷新への既存導線。背景が濃紺から淡色へ変わったため配色を反転。 */

/* タブレット以下: 2事業を縦積みに（サイト既存BPの1100pxで切替） */

@media (max-width: 1100px) {
  .corp-dx-panel { grid-template-columns: 1fr; }
  /* 縦積みではカードの高さが揃わないため、中央線ではなくカード間の境界線にする */
  
  .corp-dx-panel::before { display: none; }
}
@media (max-width: 767px) {
  .corp-dx { padding-block: clamp(56px, 12vw, 72px); }
  .corp-dx-panel { margin-top: 26px; border-radius: 16px; }
  .corp-dx-cta { width: 100%; min-height: 56px; align-self: stretch; }
}

/* ============================================================
   導入事例（TOPのお客様の声 / 下層ページ /cases/）
   清水建設を大きく扱い、他2社を並べる。写真は各社の施工現場。
   ============================================================ */
/* 途中で切ると読みにくい語句を改行させない */

.nw { white-space: nowrap; }

/* 事例まわりの日本語は文節境界で折り返す（未対応ブラウザは通常の折り返しにフォールバック） */

.case-feature-copy h3,
.case-feature-copy > p,
.case-card-copy h3,
.case-card-copy > p,
.cases-hero .detail-hero-lead,
.case-block-head h2,
.case-lead,
.case-body p { word-break: auto-phrase; }

.case-tag { margin: 0; color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: 11px; font-weight: 500; letter-spacing: .1em; }
.case-more { color: var(--corp-cyan-light); font-size: 12px; font-weight: 700; }
.case-more::after { content: " \2192"; font-weight: 400; }

/* ── TOP: 清水建設（横長フィーチャー） ── */

.case-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: stretch;
  gap: clamp(24px, 2.4vw, 42px);
  margin-top: 56px;
  padding: clamp(24px, 2.4vw, 40px);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: #fff;
  text-decoration: none;
  transition: background .3s ease, transform .3s ease;
}
.case-feature:hover { background: rgba(42,183,217,.13); transform: translateY(-4px); }
.case-feature:focus-visible { outline: 2px solid var(--corp-cyan-light); outline-offset: 3px; }
.case-feature-copy { display: flex; flex-direction: column; }
.case-logo-tile { display: block; width: 146px; padding: 9px 13px; border-radius: 6px; background: #fff; }
.case-logo-tile img { display: block; width: 100%; }
.case-feature-copy .case-tag { margin-top: 20px; }
.case-feature-copy h3 { margin: 13px 0 0; font-size: clamp(22px, 2.3vw, 33px); font-weight: 800; letter-spacing: -.035em; line-height: 1.45; }
.case-feature-copy > p { margin: 15px 0 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.95; line-break: strict; text-wrap: pretty; }
.case-feature-facts { display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.16); list-style: none; }
.case-feature-facts li { display: flex; align-items: baseline; gap: 7px; }
.case-feature-facts b { color: #fff; font-family: var(--corp-display); font-size: clamp(24px, 2.1vw, 31px); font-weight: 500; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.case-feature-facts b i { font-size: .5em; font-style: normal; letter-spacing: 0; }
.case-feature-facts small { color: rgba(255,255,255,.55); font-size: 11px; }
.case-feature .case-more { margin-top: auto; padding-top: 24px; }

/* ── 現場写真。原寸350px幅を超えて伸ばさないため、トラック幅に上限を置く ── */

.case-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* 2列＋余白の合計を原寸350px×2に収め、狭い画面では素直に縮む */
  max-width: calc(350px * 2 + 14px);
  align-content: start;
  gap: 16px 14px;
}
.case-shots figure { margin: 0; }
.case-shots img {
  display: block;
  width: 100%;
  aspect-ratio: 350 / 262;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.14);
}
.case-shots figcaption { margin-top: 7px; color: rgba(255,255,255,.52); font-size: 11px; line-height: 1.55; }

/* ── TOP: 他2社 ── */

.case-row { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 14px; margin-top: 14px; }
.case-card {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.045);
  color: #fff;
  text-decoration: none;
  transition: background .3s ease, transform .3s ease;
}
.case-card:hover { background: rgba(42,183,217,.13); transform: translateY(-4px); }
.case-card:focus-visible { outline: 2px solid var(--corp-cyan-light); outline-offset: 3px; }
.case-card .case-shots { margin-bottom: 24px; }
.case-card-copy { display: flex; flex: 1; flex-direction: column; }
.case-card-copy strong { margin-top: 12px; font-size: 17px; }
.case-card-copy h3 { margin: 10px 0 0; color: var(--corp-cyan-light); font-size: clamp(16px, 1.35vw, 19px); font-weight: 800; letter-spacing: -.02em; line-height: 1.6; }
.case-card-copy > p { margin: 13px 0 0; color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.9; line-break: strict; text-wrap: pretty; }
.case-card .case-more { margin-top: auto; padding-top: 20px; }

@media (max-width: 1100px) {
  /* 1カラムでは他2社と同じく写真を上に置き、リンクを最後に回す */
  
  .case-feature { grid-template-columns: 1fr; }
  .case-feature .case-shots { order: -1; }
}
@media (max-width: 860px) {
  .case-row { grid-template-columns: 1fr; grid-auto-rows: auto; }
}
@media (max-width: 620px) {
  .case-feature { margin-top: 40px; }
  .case-feature-facts { gap: 12px 22px; }
  .case-shots { gap: 12px 10px; }
  .case-shots figcaption { margin-top: 6px; font-size: 10px; }
}

/* ── 下層ページ /cases/ ── */

.cases-section { background: #fff; }
.case-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); align-items: start; align-content: start; column-gap: clamp(30px, 4vw, 66px); row-gap: 26px; padding-block: clamp(46px, 5vw, 72px); border-top: 1px solid var(--corp-line); scroll-margin-top: 110px; }
.case-block:first-of-type { border-top: 0; padding-top: 0; }
.case-block-head { grid-column: 1; }
.case-block-head h2 { margin: 13px 0 0; color: var(--corp-ink); font-size: clamp(27px, 3vw, 44px); font-weight: 800; letter-spacing: -.045em; line-height: 1.35; }
.case-lead { margin: 14px 0 0; color: var(--corp-blue); font-size: clamp(16px, 1.45vw, 21px); font-weight: 800; letter-spacing: -.02em; line-height: 1.6; line-break: strict; text-wrap: pretty; }
/* 現場写真。原寸（350px幅・リード写真は706px幅）を超えて伸ばさない */

.case-shots-page {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* リード写真の原寸706pxを全体の上限にする */
  max-width: 706px;
  align-content: start;
  gap: 18px 14px;
}
.case-shots-page figure { margin: 0; }
.case-shots-page img { display: block; width: 100%; aspect-ratio: 350 / 262; object-fit: cover; border: 1px solid var(--corp-line); }
.case-shots-page figcaption { margin-top: 8px; color: #6b7e87; font-size: 11px; line-height: 1.6; word-break: auto-phrase; }
.case-shots-page .is-lead { grid-column: 1 / -1; }
.case-shots-page .is-lead img { aspect-ratio: 706 / 284; }
.case-facts { grid-column: 1; align-self: start; display: flex; flex-wrap: wrap; gap: 12px 34px; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--corp-line); list-style: none; }
.case-facts li { display: flex; align-items: baseline; gap: 8px; }
.case-facts b { color: var(--corp-ink); font-family: var(--corp-display); font-size: clamp(21px, 1.9vw, 28px); font-weight: 500; font-variant-numeric: tabular-nums; }
.case-facts b span { font-size: .55em; letter-spacing: 0; }
.case-facts small { color: #6b7e87; font-size: 11px; font-weight: 600; }
.case-body { grid-column: 1; max-width: 68ch; }
.case-body p { margin: 0 0 15px; color: #56686f; font-size: 14px; line-height: 2.05; line-break: strict; text-wrap: pretty; }
.case-body p:last-child { margin-bottom: 0; }
.case-prod { grid-column: 1 / -1; display: grid; grid-template-columns: 170px 1fr; gap: 18px; margin: 4px 0 0; padding: 22px 24px; background: var(--corp-mist); }
.case-prod dt { color: var(--corp-blue); font-size: 12px; font-weight: 700; }
.case-prod dd { margin: 0; }
.case-prod ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.case-prod li { padding: 6px 13px; border: 1px solid var(--corp-line); border-radius: 999px; background: #fff; color: var(--corp-ink); font-size: 12px; font-weight: 700; }

@media (max-width: 1023px) {
  /* minmax(0,…) にしないと本文の min-content が列幅を押し広げる */
  
  .case-block { grid-template-columns: minmax(0, 1fr); }
  .case-block-head, .case-shots-page, .case-facts { grid-column: 1; }
  .case-shots-page { grid-row: auto; }
  .case-prod { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 620px) {
  .case-facts { gap: 12px 24px; }
}
@media (max-width: 400px) {
  /* 「京急蒲田西口駅前地区第一種市街地再開発事業」のような長い固有名詞が
     1文節として折り返せなくなるため、極小幅では通常の折り返しに戻す */
  
  .case-body p { word-break: normal; }
}

/* 列幅に対して見出しが大きすぎ、意図した2行に収まらないため詰める */
.detail-cta h2 { font-size: clamp(30px, 4.2vw, 60px); }

/* ── 下層ページの導入事例バンド ── */

.case-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* 写真の原寸350px幅を超えて伸ばさない */
  max-width: calc(350px * 3 + 36px);
  gap: 18px;
  margin-top: clamp(28px, 3vw, 42px);
}
.case-strip > a { display: block; color: var(--corp-ink); text-decoration: none; }
.case-strip figure { margin: 0 0 14px; overflow: hidden; border: 1px solid var(--corp-line); border-radius: 12px; }
.case-strip img { display: block; width: 100%; aspect-ratio: 350 / 262; object-fit: cover; transition: transform .45s ease; }
.case-strip > a:hover img { transform: scale(1.045); }
.case-strip > a:focus-visible { outline: 2px solid var(--corp-cyan); outline-offset: 4px; }
.case-strip strong { display: block; font-size: clamp(15px, 1.3vw, 18px); font-weight: 800; letter-spacing: -.02em; }
.case-strip span { display: block; margin-top: 7px; color: var(--corp-blue); font-size: clamp(13px, 1.05vw, 15px); font-weight: 800; letter-spacing: -.02em; }
.case-strip small { display: block; margin-top: 9px; color: #5e717b; font-size: 13px; line-height: 1.9; }
.case-strip-more {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: clamp(24px, 2.6vw, 34px); padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  color: var(--corp-blue); font-size: 14px; font-weight: 800; text-decoration: none;
}
.case-strip-more:hover { color: var(--corp-cyan); }

@media (max-width: 860px) {
  .case-strip { grid-template-columns: 1fr; max-width: 350px; }
}

/* ── 業界カードを詰める：見出しと本文を横並びにして行数を削る ── */

.industry-grid-v2 .industry-detail {
  display: grid;
  grid-template-columns: 6.2em minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 10px;
  margin-top: 15px;
  padding-top: 14px;
}
.industry-grid-v2 .industry-detail dt { margin-top: 0; line-height: 1.75; }
.industry-grid-v2 .industry-detail dd { margin: 0; line-height: 1.75; }
.industry-grid-v2 .industry-kpi {
  display: grid;
  grid-template-columns: 6.2em minmax(0, 1fr);
  column-gap: 12px;
  padding-top: 13px;
}
.industry-grid-v2 .industry-kpi dt { line-height: 1.7; }
.industry-grid-v2 .industry-kpi dd { margin: 0; }
.industry-grid-v2 > article > p { line-height: 1.8; }

@media (max-width: 620px) {
  .industry-grid-v2 .industry-detail,
  .industry-grid-v2 .industry-kpi { grid-template-columns: 1fr; row-gap: 4px; }
  .industry-grid-v2 .industry-detail dd { margin-bottom: 8px; }
}

/* ── 02 HOW WE DIG ── 開発→BPO→発見→組み替え の4段階 ── */

/* 段階のあいだに送りの記号を置く */

/* ── 掘り出した例 ── */
.dx-found-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.dx-found-list li { padding: 22px 22px 22px; border: 1px solid var(--dx-line); border-radius: 12px; background: rgba(255,255,255,.72); }
.dx-found-list b { display: flex; align-items: center; gap: 9px; color: var(--dx-navy); font-size: 13px; font-weight: 800; letter-spacing: -.01em; }
.dx-found-list b span {
  padding: 3px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--corp-blue);
  font-family: var(--corp-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
}
.dx-found-list p { margin: 12px 0 0; color: var(--dx-text); font-size: clamp(12.5px, 1vw, 14px); font-weight: 500; line-height: 1.95; word-break: auto-phrase; }
.dx-found-list em { color: var(--dx-navy); font-style: normal; font-weight: 800; background: linear-gradient(transparent 62%, rgba(42,183,217,.26) 62%); }

@media (max-width: 1100px) {
  .dx-found-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .dx-found-list { grid-template-columns: 1fr; grid-auto-rows: auto; }
}

/* ── 01 掘り出す対象：カードではなく行組みにして、図解と役割を分ける ── */

.dx-dig-rows { margin: 22px 0 0; padding: 0; border-top: 1px solid var(--dx-line); }
.dx-dig-rows > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 13em) minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--dx-line);
}
/* 番号だけを対象にする（本文中の .nw に効かせない） */

.dx-dig-rows > div > span { color: var(--corp-cyan); font-family: var(--corp-display); font-size: 13px; font-weight: 500; letter-spacing: .1em; }
.dx-dig-rows dt { color: var(--dx-navy); font-size: clamp(16px, 1.45vw, 21px); font-weight: 800; letter-spacing: -.025em; word-break: auto-phrase; }
.dx-dig-rows dd { margin: 0; color: var(--dx-text); font-size: clamp(13px, 1.02vw, 15px); font-weight: 500; line-height: 1.9; word-break: auto-phrase; }

@media (max-width: 860px) {
  .dx-dig-rows > div { grid-template-columns: 38px minmax(0, 1fr); }
  .dx-dig-rows dd { grid-column: 2; }
}

/* ── 02 機構の図解 ── */

.dx-diagram { margin: 26px 0 0; }
.dx-diagram img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--dx-line);
  border-radius: 16px;
  background: #fff;
  padding: clamp(10px, 1.4vw, 20px);
}
.dx-diagram figcaption {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  color: var(--corp-cyan);
  font-size: clamp(12.5px, 1vw, 14px);
  font-weight: 800;
  letter-spacing: -.01em;
}
.dx-diagram figcaption span { font-size: 1.35em; line-height: 1; }

/* 図は横長のため、狭い画面では横スクロールで原寸を保つ */

@media (max-width: 760px) {
  .dx-diagram { overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .dx-diagram img { width: 720px; max-width: none; }
  .dx-diagram figcaption { position: sticky; left: 0; }
}

/* ============================================================
   OUR STRENGTH — 何をしている会社かを、ヒーロー直後で確定させる
   ============================================================ */

.corp-strength { position: relative; z-index: 4; padding: var(--pad-l) var(--gutter); background: #fff; }
.corp-strength-head { max-width: 1040px; }
.corp-strength-title { margin: 0; color: var(--corp-ink); font-size: var(--fs-section); font-weight: 900; font-feature-settings: "palt"; letter-spacing: -.05em; line-height: 1.28; }
.corp-strength-title > span:last-child { color: var(--corp-blue); }
.corp-strength-lead { max-width: 68ch; margin: 20px 0 0; color: var(--corp-slate); font-size: clamp(14px, 1.08vw, 17px); font-weight: 500; line-height: 2; word-break: auto-phrase; }

.strength-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; margin: clamp(34px, 3.6vw, 52px) 0 0; padding: 0; list-style: none; }
.strength-grid li { display: flex; flex-direction: column; padding: 30px 28px 30px; border: 1px solid var(--corp-line); border-radius: 16px; background: var(--corp-mist); }
.strength-grid h3 { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 0; color: var(--corp-ink); font-size: clamp(23px, 2.1vw, 32px); font-weight: 900; letter-spacing: -.04em; line-height: 1.2; }
.strength-grid h3 b { color: var(--corp-blue); font-family: var(--corp-display); font-size: 1.5em; font-weight: 500; letter-spacing: .01em; }
.strength-grid h3 em { font-size: .62em; font-style: normal; font-weight: 800; }
.strength-biz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.strength-biz-row > a {
  position: relative;
  display: block;
  padding: 28px 30px 30px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #123a63, var(--corp-ink));
  text-decoration: none;
  transition: transform .28s ease, box-shadow .28s ease;
}
.strength-biz-row > a:nth-child(2) { background: linear-gradient(135deg, var(--corp-cyan-light), var(--corp-blue)); }
.strength-biz-row > a:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15,59,88,.22); }
.strength-biz-row > a:focus-visible { outline: 3px solid var(--corp-cyan); outline-offset: 3px; }
.strength-biz-row span { color: rgba(255,255,255,.7); font-family: var(--corp-display); font-size: 11px; font-weight: 500; letter-spacing: .12em; }
.strength-biz-row strong { display: block; margin-top: 10px; font-size: clamp(24px, 2.4vw, 36px); font-weight: 900; letter-spacing: -.04em; }
.strength-biz-row small { display: block; margin-top: 12px; color: rgba(255,255,255,.78); font-size: clamp(12px, 1vw, 14px); font-weight: 600; line-height: 1.8; }
.strength-biz-row b { position: absolute; right: 26px; bottom: 26px; font-size: 18px; font-weight: 400; }

@media (max-width: 1100px) { .strength-grid { grid-template-columns: 1fr; grid-auto-rows: auto; } }
@media (max-width: 860px) { .strength-biz-row { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .corp-strength { padding-inline: 20px; }
  .strength-grid li { padding: 24px 22px; }
  .strength-biz-row > a { padding: 24px 22px 26px; }
}

/* ============================================================
   MOTION & INTERACTION LAYER
   原則: transform / opacity / clip-path だけを動かす。色・素材は変えない。
   前状態（opacity:0 など）は html.js がある時だけ適用し、JS 無効でも全部見える。
   ============================================================ */

/* --- 細部: 選択色・スクロールバー・フォーカス -------------------- */

::selection { background: var(--corp-cyan); color: #fff; text-shadow: none; }
html { scrollbar-width: thin; scrollbar-color: var(--corp-cyan) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--corp-cyan); }
:where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--corp-cyan); outline-offset: 4px; border-radius: 4px; }

/* --- ヘッダー: 下へ読み進めるときは退き、戻るときに現れる -------------- */

.corp-header { transition: top .35s ease, transform .5s cubic-bezier(.22,1,.36,1), opacity .35s ease; }
.corp-header.is-hidden { transform: translateY(-130%); opacity: 0; pointer-events: none; }

/* --- 見出しの行マスク ------------------------------------------- */

.rise .rl { overflow: clip; padding-block: .08em; margin-block: -.08em; }
.rise .ri { display: block; transform: translateY(112%); transition: transform 1.05s cubic-bezier(.22,1,.36,1); }
.rise.is-visible .ri { transform: none; }
.rise .rl:nth-child(2) .ri { transition-delay: .09s; }
.rise .rl:nth-child(3) .ri { transition-delay: .18s; }
.one-line > .rl { display: inline-block; vertical-align: top; }
@media (max-width: 860px) { .one-line > .rl { display: block; } }
.rise + p, .rise ~ .corp-strength-lead, .rise ~ .corp-creed-sub, .rise ~ .corp-dx-en, .rise ~ .legacy-section-sub, .rise ~ .corp-cta-lead {
  opacity: 0; transform: translateY(14px); transition: opacity .8s ease .35s, transform .9s cubic-bezier(.22,1,.36,1) .35s;
}
.rise.is-visible + p, .rise.is-visible ~ .corp-strength-lead, .rise.is-visible ~ .corp-creed-sub, .rise.is-visible ~ .corp-dx-en, .rise.is-visible ~ .legacy-section-sub, .rise.is-visible ~ .corp-cta-lead {
  opacity: 1; transform: none;
}

/* --- 子要素の時差出現（.stagger は JS が付与。transform と衝突しないよう translate を使う） ---- */

.js .stagger > * { opacity: 0; }
.js .stagger.is-visible > * { animation: stg-in 1s cubic-bezier(.22,1,.36,1) both; }
.js .stagger.is-visible > :nth-child(2) { animation-delay: .09s; }
.js .stagger.is-visible > :nth-child(3) { animation-delay: .18s; }
.js .stagger.is-visible > :nth-child(4) { animation-delay: .27s; }
.js .stagger.is-visible > :nth-child(5) { animation-delay: .36s; }
@keyframes stg-in { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

/* --- ヒーロー導入（hero3） ---------------------------------------- */

.js .corporate-page .corp-eyebrow { opacity: 0; transition: opacity .6s ease .1s; }
.js .corporate-page .corp-eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.22,1,.36,1) .25s; }
.js .corporate-page .hero3-title .rl { overflow: clip; padding-block: .06em; margin-block: -.06em; }
.js .corporate-page .hero3-title .ri { display: block; transform: translateY(108%); transition: transform 1.15s cubic-bezier(.22,1,.36,1) .3s; }
.js .corporate-page .hero3-title > span:nth-child(2) .ri { transition-delay: .42s; }
.js .corporate-page .hero3-lead, .js .corporate-page .hero3-tags { opacity: 0; transform: translateY(14px); transition: opacity .8s ease 1.05s, transform .9s cubic-bezier(.22,1,.36,1) 1.05s; }
.js .corporate-page .hero3-tags { transition-delay: 1.2s; }
.js .corporate-page .hero3-bg { clip-path: inset(0 0 0 100%); transition: clip-path 1.4s cubic-bezier(.65,0,.2,1) .2s; }
.js .corporate-page.is-loaded .corp-eyebrow { opacity: 1; }
.js .corporate-page.is-loaded .corp-eyebrow::before { transform: none; }
.js .corporate-page.is-loaded .hero3-title .ri { transform: none; }
.js .corporate-page.is-loaded .hero3-lead, .js .corporate-page.is-loaded .hero3-tags { opacity: 1; transform: none; }
.js .corporate-page.is-loaded .hero3-bg { clip-path: inset(0 0 0 0); }

/* --- パララックス（JS が --py / --px を書く） ---------------------- */

.corp-creed-word { transform: translateY(-50%) translateX(var(--px, 0px)); }

/* --- 言葉の点灯（OUR BELIEF） ------------------------------------ */

.corp-creed-lead.is-lit-ready .w { opacity: clamp(0.2, calc((var(--p, 0) - var(--i, 0)) * 6 + 0.2), 1); transition: opacity .12s linear; }

/* --- 機構図: 上段 → 下段 → 戻り線 の順に現れる ---------------------- */

.dx-diagram svg { display: block; width: 100%; height: auto; padding: clamp(10px, 1.4vw, 20px); border: 1px solid var(--dx-line); border-radius: 16px; background: #fff; overflow: visible; }
.dx-diagram svg text { font-family: var(--corp-sans); }
.dx-diagram svg text[font-family^="Oswald"] { font-family: var(--corp-display); }
@media (max-width: 760px) { .dx-diagram svg { width: 720px; max-width: none; } }
.js .dx-diagram .d-box, .js .dx-diagram .d-pill, .js .dx-diagram .d-arrow { opacity: 0; transition: opacity .55s ease, transform .9s cubic-bezier(.22,1,.36,1); }
.js .dx-diagram .d-box, .js .dx-diagram .d-pill { transform: translateY(12px); }
.js .dx-diagram .d-arrow { transform: translateX(-14px); }
.js .dx-diagram .d-s3 { transform: translateY(12px) scale(.94); transform-box: fill-box; transform-origin: center; }
.js .dx-diagram .d-loopmask { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.7s cubic-bezier(.65,0,.35,1); }
.dx-diagram.is-visible .d-box, .dx-diagram.is-visible .d-pill, .dx-diagram.is-visible .d-arrow { opacity: 1; transform: none; }
.dx-diagram.is-visible .d-s3 { transform: none; }
.dx-diagram.is-visible .d-loopmask { stroke-dashoffset: 0; }
.dx-diagram.is-visible .d-t3 { transition-delay: .65s; }
.dx-diagram.is-visible .d-s1 { transition-delay: 1.15s; }
.dx-diagram.is-visible .d-a1 { transition-delay: 1.35s; }
.dx-diagram.is-visible .d-s2 { transition-delay: 1.45s; }
.dx-diagram.is-visible .d-s3 { transition-delay: 1.8s; }
.dx-diagram.is-visible .d-s4 { transition-delay: 2.2s; }
.dx-diagram.is-visible .d-loopmask { transition-delay: 2.55s; }
.dx-diagram.is-visible .d-pill { transition-delay: 3.3s; }

/* --- 進捗レール（TOP・デスクトップ）。旧セクション番号はレールに統合 ------ */
.rail {
  position: fixed; top: 50%; left: calc(var(--gutter) / 2); z-index: 60;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--corp-ink); font-family: var(--corp-display);
  opacity: 0; transform: translate(-50%, -50%) translateX(-14px);
  transition: opacity .5s ease, transform .7s cubic-bezier(.22,1,.36,1), color .4s ease;
  pointer-events: none;
}
.rail.is-on { opacity: 1; transform: translate(-50%, -50%); }
.rail.is-dark { color: #fff; }
.rail-no { font-size: 14px; font-weight: 500; letter-spacing: .06em; line-height: 1; }
.rail-total { font-size: 10px; letter-spacing: .08em; line-height: 1; opacity: .45; }
.rail-total::before { content: "/ "; }
.rail-bar { position: relative; display: block; width: 1px; height: 140px; }
.rail-bar::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: .18; }
.rail-bar i { position: absolute; top: 0; left: -1px; width: 3px; height: 26px; border-radius: 2px; background: var(--corp-cyan); transform: translateY(calc(114px * var(--p, 0))); }
.rail-label { writing-mode: vertical-rl; font-size: 10px; letter-spacing: .2em; line-height: 1; color: var(--corp-blue); transition: color .4s ease; }
.rail.is-dark .rail-label { color: var(--corp-cyan-light); }
@media (max-width: 1100px) { .rail { display: none; } }

/* --- カーソル（マウス環境） -------------------------------------- */

html.has-cursor, html.has-cursor * { cursor: none !important; }
.cur { position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
html.has-cursor .cur { opacity: 1; }
.cur-dot, .cur-ring { position: fixed; top: 0; left: 0; display: grid; place-items: center; border-radius: 50%; will-change: transform; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; transition: scale .25s ease, opacity .2s ease; }
.cur-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid var(--corp-cyan); transition: width .35s cubic-bezier(.22,1,.36,1), height .35s cubic-bezier(.22,1,.36,1), margin .35s cubic-bezier(.22,1,.36,1), background-color .3s ease, border-color .3s ease, scale .25s ease; }
.cur-ring span { color: #fff; font: 500 10px/1 var(--corp-display); letter-spacing: .16em; opacity: 0; transition: opacity .2s ease; }
.cur.is-link .cur-ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(42,183,217,.14); }
.cur.is-view .cur-ring { width: 78px; height: 78px; margin: -39px 0 0 -39px; border-color: var(--corp-cyan); background: var(--corp-cyan); }
.cur.is-view .cur-ring span { opacity: 1; }
.cur.is-view .cur-dot { opacity: 0; }
.cur.is-down .cur-dot { scale: 2.2; }
.cur.is-down .cur-ring { scale: .88; }

/* --- 磁力ボタン --------------------------------------------------- */

.magnet { transform: translate(var(--mx, 0px), var(--my, 0px)); transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, background .25s ease; }
.magnet:hover, .corporate-page .magnet:hover { transform: translate(var(--mx, 0px), calc(var(--my, 0px) - 2px)); }

/* --- ホバーの精度 -------------------------------------------------- */

.corp-clients-row:hover ul { animation-play-state: paused; }
.corp-clients-row img { transition: transform .4s ease, box-shadow .4s ease; }
.corp-clients-row li:hover img { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,59,88,.12); }
.corp-button b { transition: transform .35s cubic-bezier(.22,1,.36,1); }
.corp-button:hover b { transform: translateX(4px); }
.strength-biz-row b { transition: transform .35s cubic-bezier(.22,1,.36,1); }
.strength-biz-row > a:hover b { transform: translateX(8px); }
.strength-grid li { position: relative; transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .3s ease, box-shadow .3s ease; }
.strength-grid li::before { content: ""; position: absolute; top: -1px; left: 28px; right: 28px; height: 2px; background: var(--corp-cyan); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.strength-grid li:hover { transform: translateY(-4px); border-color: rgba(42,183,217,.5); box-shadow: 0 18px 40px rgba(15,59,88,.1); }
.strength-grid li:hover::before { transform: scaleX(1); }
.dx-dig-rows > div { transition: background .3s ease; }
.dx-dig-rows > div:hover { background: rgba(42,183,217,.06); }
.news-list a p { transition: color .25s ease; }
.news-list a:hover p { color: var(--corp-blue); }
.case-more { position: relative; }
.case-more::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(.35); transform-origin: left; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.case-feature:hover .case-more::after, .case-card:hover .case-more::after { transform: scaleX(1); }

/* --- 見出し階層: H3 をトークンに寄せる -------------------------------- */

.dx-dig-title { font-size: var(--fs-sub); }
.strength-grid h3 { font-size: var(--fs-sub); }

/* --- 動きを抑える設定 ---------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .rise .ri, .js .corporate-page .hero3-title .ri { transform: none; }
  .js .corporate-page .hero3-bg { clip-path: none; }
  .js .corporate-page .corp-eyebrow, .js .corporate-page .hero3-lead, .js .corporate-page .hero3-tags { opacity: 1; transform: none; }
  .js .corporate-page .corp-eyebrow::before { transform: none; }
  .js .stagger > * { opacity: 1; animation: none; }
  .js .dx-diagram .d-box, .js .dx-diagram .d-pill, .js .dx-diagram .d-arrow, .js .dx-diagram .d-s3 { opacity: 1; transform: none; }
  .js .dx-diagram .d-loopmask { stroke-dashoffset: 0; }
  .rise + p, .rise ~ p { opacity: 1; transform: none; }
  .corp-creed-lead .w { opacity: 1; }
  .rail, .cur { display: none; }
}

/* ============================================================
   HERO v3 — 文字が主役。写真は下段右の「窓」に退く
   ============================================================ */

.corporate-page .corp-hero.hero3 { display: block; height: auto; min-height: 100svh; padding: clamp(112px, 13vh, 150px) var(--gutter) clamp(36px, 5vh, 60px); background: linear-gradient(180deg, #e7f8fc 0%, #edf9fc 50%, #fff 100%); overflow: hidden; }
.corporate-page .corp-hero.hero3::before, .corporate-page .corp-hero.hero3::after { display: none; }
.hero3-inner { position: relative; z-index: 2; display: flex; flex-direction: column; min-height: calc(100svh - clamp(148px, 18vh, 210px)); }
.hero3 .corp-eyebrow { margin-bottom: clamp(18px, 2.4vh, 30px); }
.hero3-title { margin: 0; color: var(--corp-ink); font-size: clamp(42px, 8.9vw, 138px); font-weight: 900; font-feature-settings: "palt"; letter-spacing: -.07em; line-height: 1.02; }
.corporate-page .hero3-title > span { display: block; margin: 0; padding: 0; color: inherit; background: none; box-shadow: none; font-size: inherit; letter-spacing: inherit; line-height: inherit; }
.hero3-title em { color: var(--corp-blue); font-style: normal; }
.hero3-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: clamp(28px, 4vw, 80px); margin-top: auto; padding-top: clamp(30px, 4.5vh, 56px); }
.hero3-lead { max-width: 36em; margin: 0; color: var(--corp-slate); font-size: clamp(14px, 1.05vw, 17px); font-weight: 600; line-height: 2; word-break: auto-phrase; }
.hero3-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero3-tags a { display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px 11px 16px; border: 1px solid rgba(39,48,56,.35); border-radius: 999px; color: var(--corp-ink); font-size: 13px; font-weight: 800; letter-spacing: -.01em; text-decoration: none; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.hero3-tags small { color: var(--corp-cyan); font-family: var(--corp-display); font-size: 11px; font-weight: 500; letter-spacing: .1em; }
.hero3-tags a::after { content: "→"; font-weight: 400; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.hero3-tags a:hover { border-color: var(--corp-ink); background: var(--corp-ink); color: #fff; }
.hero3-tags a:hover small { color: var(--corp-cyan-light); }
.hero3-tags a:hover::after { transform: translateX(4px); }
.hero3-ticker { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; display: block; overflow: hidden; padding: 12px 0 14px; color: rgba(255,255,255,.9); font-family: var(--corp-display); font-size: 11px; font-weight: 500; letter-spacing: .24em; line-height: 1; white-space: nowrap; }
.hero3-ticker i { display: flex; width: max-content; font-style: normal; animation: corp-marquee 30s linear infinite; }
.hero3-ticker span { padding-right: 3em; }
@media (max-width: 1100px) {
  .hero3-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .corporate-page .corp-hero.hero3 { min-height: 0; padding-top: 112px; padding-bottom: 40px; }
  .hero3-inner { min-height: 0; }
  .hero3-title { font-size: clamp(40px, 11.6vw, 80px); letter-spacing: -.06em; line-height: 1.08; }
  .hero3-body { gap: 24px; padding-top: 26px; }
}
@media (max-width: 620px) {
  .corporate-page .corp-hero.hero3 { padding-top: 100px; }
  .hero3-tags a { padding: 9px 16px 9px 13px; font-size: 12px; }
}

/* ============================================================
   現場の記録 — 横スクロールの写真帯
   ============================================================ */
.rec { margin-top: clamp(34px, 3.6vw, 52px); }
.rec-track { position: relative; display: flex; align-items: stretch; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.rec-track::-webkit-scrollbar { display: none; }
.rec-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rec-track.is-dragging * { pointer-events: none; }
.rec-track:focus-visible { outline: 2px solid var(--corp-cyan); outline-offset: -2px; border-radius: 4px; }
.rec-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.16); list-style: none; }
.rec-facts li { display: flex; align-items: baseline; gap: 6px; }
.rec-facts b { font-family: var(--corp-display); font-size: 24px; font-weight: 500; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.rec-facts b i { font-size: .5em; font-style: normal; }
.rec-facts small { color: rgba(255,255,255,.55); font-size: 11px; }
.rec-count { margin: 0; color: rgba(255,255,255,.6); font-family: var(--corp-display); font-size: 12px; letter-spacing: .1em; white-space: nowrap; }
.rec-count b { color: #fff; font-size: 15px; font-weight: 500; }

/* ============================================================
   密度の調整 — 縦の長さを詰める（内容は減らさない）
   ============================================================ */

:root { --pad-l: clamp(64px, 6.2vw, 88px); --pad-m: clamp(48px, 5vw, 68px); --pad-s: clamp(32px, 3.6vw, 48px); }
.corp-cta { padding-block: var(--pad-m); }
.strength-grid { margin-top: clamp(28px, 3vw, 40px); }
.strength-grid li { padding: 26px; }
@media (min-width: 861px) {
  .dx-dig-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; border-top: 0; }
  .dx-dig-rows > div { display: block; padding: 20px 0 22px; border-top: 1px solid var(--dx-line); border-bottom: 0; }
  .dx-dig-rows > div > span { display: block; margin-bottom: 10px; }
  .dx-dig-rows dt { margin-bottom: 8px; }
  .news-list a { grid-template-columns: 110px 140px 1fr 30px; gap: 20px; min-height: 74px; }
}
.news-list { margin-top: clamp(28px, 3vw, 40px); }
.corp-cta-inner { padding: clamp(30px, 3.2vw, 46px) clamp(26px, 3.2vw, 48px); }
.corporate-page .solution-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: clamp(30px, 3.2vw, 44px); }
.corporate-page .solution-card, .corporate-page .solution-card:nth-child(n+4) { grid-column: auto; display: flex; flex-direction: column; min-height: 0; }
.corporate-page .solution-card figure, .corporate-page .solution-card:nth-child(n+4) figure { height: 140px; min-height: 0; }
.corporate-page .solution-cals figure img { padding: 16px; }
.corporate-page .solution-copy, .corporate-page .solution-card:nth-child(n+4) .solution-copy { justify-content: flex-start; padding: 18px 18px 22px; }
.corporate-page .solution-card h3 { margin: 14px 0 8px; font-size: 17px; line-height: 1.45; }
.corporate-page .solution-card p { font-size: 12.5px; line-height: 1.75; }
.corporate-page .solution-card > b { right: 16px; bottom: 12px; font-size: 16px; }
@media (max-width: 1100px) { .corporate-page .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .corporate-page .solution-grid { grid-template-columns: minmax(0, 1fr); } .corporate-page .solution-card figure, .corporate-page .solution-card:nth-child(n+4) figure { height: 160px; } }

/* ============================================================
   BUSINESS v2 — 文字を減らし、図を主役にする
   ============================================================ */

.dx2-block { position: relative; z-index: 1; margin-top: clamp(44px, 4.6vw, 68px); }
.dx2-block-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 16px clamp(28px, 4vw, 72px); }
.dx2-block-head .dx-dig-title { margin-top: 10px; }
.dx2-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.dx2-tiles li { position: relative; display: flex; flex-direction: column; min-height: 196px; padding: 24px 24px 22px; border: 1px solid var(--dx-line); border-radius: 16px; background: #fff; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease; }
.dx2-tiles li:hover { border-color: rgba(42,183,217,.5); box-shadow: 0 18px 40px rgba(15,59,88,.1); transform: translateY(-4px); }
.dx2-icon { width: 34px; height: 34px; color: var(--corp-cyan); }
.dx2-no { position: absolute; top: 24px; right: 24px; color: var(--corp-cyan); font-family: var(--corp-display); font-size: 12px; font-weight: 500; letter-spacing: .1em; }
.dx2-tiles b { display: block; margin-top: auto; padding-top: 22px; color: var(--dx-navy); font-size: clamp(17px, 1.4vw, 20px); font-weight: 800; letter-spacing: -.025em; line-height: 1.4; }
.dx2-tiles p { margin: 8px 0 0; color: var(--dx-text); font-size: clamp(12.5px, 1vw, 14px); font-weight: 500; line-height: 1.8; word-break: auto-phrase; }
.dx2-found { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.dx2-found li { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "tag b" "arrow em"; align-items: baseline; column-gap: 10px; row-gap: 6px; padding: 16px 18px 15px; border: 1px solid var(--dx-line); border-radius: 12px; background: rgba(255,255,255,.72); }
.dx2-found span { grid-area: tag; padding: 3px 9px; border-radius: 999px; background: var(--dx-navy); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .02em; line-height: 1.5; }
.dx2-found b { grid-area: b; color: var(--dx-navy); font-size: clamp(12.5px, 1vw, 14px); font-weight: 800; line-height: 1.6; word-break: auto-phrase; }
.dx2-found i { grid-area: arrow; justify-self: center; color: var(--corp-cyan); font-style: normal; font-size: 14px; }
.dx2-found em { grid-area: em; color: var(--corp-blue); font-size: clamp(12.5px, 1vw, 14px); font-style: normal; font-weight: 800; line-height: 1.6; }
.dx-diagram { margin-top: 22px; }
.dx-diagram svg { padding: clamp(12px, 1.8vw, 26px) clamp(10px, 1.4vw, 20px) clamp(6px, 1vw, 14px); }
@media (max-width: 1100px) {
  .dx2-tiles li { min-height: 170px; padding: 20px; }
}
@media (max-width: 860px) {
  .dx2-block-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .dx2-tiles, .dx2-found { grid-template-columns: minmax(0, 1fr); }
  .dx2-tiles li { flex-direction: row; align-items: center; gap: 16px; min-height: 0; padding: 18px 18px 18px 20px; }
  .dx2-tiles li > div, .dx2-tiles b { margin-top: 0; padding-top: 0; }
  .dx2-tiles .dx2-icon { flex: 0 0 auto; width: 30px; height: 30px; }
  .dx2-tiles b { padding-top: 0; }
  .dx2-tiles p { margin-top: 4px; }
  .dx2-no { top: 14px; right: 16px; }
}

/* 図の出現順序（v2）: 見出し → 01 → 線 → 02 → 注記 → 線 → 03 → 線 → 04 → 戻りの弧 → ラベル */
.dx-diagram.is-visible .d-s1 { transition-delay: .15s; }
.dx-diagram.is-visible .d-a1 { transition-delay: .4s; }
.dx-diagram.is-visible .d-s2 { transition-delay: .55s; }
.dx-diagram.is-visible .d-t3 { transition-delay: .85s; }
.dx-diagram.is-visible .d-s3 { transition-delay: 1.2s; }
.dx-diagram.is-visible .d-s4 { transition-delay: 1.75s; }
.dx-diagram.is-visible .d-loopmask { transition-delay: 2.1s; transition-duration: 1.5s; }
.dx-diagram.is-visible .d-pill { transition-delay: 2.9s; }
.js .dx-diagram .d-ghost { opacity: 0; transition: opacity .55s ease; }
.dx-diagram.is-visible .d-ghost { opacity: 1; }
.dx-diagram.is-visible .d-halo { transform-box: fill-box; transform-origin: center; animation: d-halo 2.6s ease-out 1.9s 2 both; }
@keyframes d-halo { 0% { transform: scale(.55); opacity: .28; } 100% { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dx-diagram.is-visible .d-halo { animation: none; } .js .dx-diagram .d-ghost { opacity: 1; } }

/* 図: 横版はデスクトップ、縦版はモバイル。横スクロールはやめる */

.dx-diagram svg.is-v { display: none; }
@media (max-width: 760px) {
  .dx-diagram { overflow: visible; padding-bottom: 0; }
  .dx-diagram svg.is-h { display: none; }
  .dx-diagram svg.is-v { display: block; width: 100%; max-width: none; padding: 14px 10px 10px; }
}

/* ============================================================
   HERO v4 — 会社の写真を全面の背景に戻し、大きな見出しを左の淡色スクリムの上に置く
   ============================================================ */

.corporate-page .corp-hero.hero4 { background: #e7f8fc; }
.hero3-bg { position: absolute; inset: 0; z-index: 0; margin: 0; overflow: hidden; }
.hero3-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; translate: 0 var(--py, 0px); animation: corp-hero-zoom 18s ease-out both; will-change: transform, translate; }
.hero3-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(231,248,252,.97) 0%, rgba(231,248,252,.9) 30%, rgba(231,248,252,.42) 46%, rgba(231,248,252,.06) 66%, rgba(231,248,252,0) 100%),
  linear-gradient(180deg, rgba(231,248,252,.25) 0%, rgba(231,248,252,0) 30%, rgba(255,255,255,0) 72%, #fff 100%); }
.hero4 .hero3-inner { justify-content: center; min-height: calc(100svh - clamp(148px, 18vh, 210px)); }
.hero4 .hero3-title { font-size: clamp(42px, 6.5vw, 92px); text-shadow: 0 2px 24px rgba(231,248,252,.9); }
.hero4 .hero3-body { display: block; margin-top: clamp(26px, 3.6vh, 44px); padding-top: 0; }
.hero4 .hero3-lead { max-width: 34em; text-shadow: 0 1px 14px rgba(231,248,252,.95); }
.hero4 .hero3-tags a { background: rgba(255,255,255,.72); backdrop-filter: blur(6px); }
.hero4 .hero3-tags a:hover { background: var(--corp-ink); }
.hero4 .hero3-ticker { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; padding: 14px 0 16px; border-top: 1px solid rgba(39,48,56,.1); color: var(--corp-blue); background: rgba(255,255,255,.55); backdrop-filter: blur(8px); }
.hero4 .hero3-ticker i { animation-duration: 40s; }
@media (max-width: 1100px) {
  .hero3-bg img { object-position: 66% 45%; }
}
@media (max-width: 860px) {
  .corporate-page .corp-hero.hero4 { min-height: 100svh; padding-bottom: 72px; }
  .hero4 .hero3-inner { min-height: 0; }
  .hero3-bg::after { background:
    linear-gradient(180deg, rgba(231,248,252,.96) 0%, rgba(231,248,252,.9) 48%, rgba(231,248,252,.55) 70%, rgba(231,248,252,.15) 88%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,0) 86%, #fff 100%); }
  .hero3-bg img { object-position: 58% 60%; }
  .hero4 .hero3-ticker { padding: 11px 0 12px; }
}

/* ============================================================
   指摘対応: 宣言文は1文1行 / カーソルは VIEW 時のみ / ヒーローの写真をもう少し見せる
   ============================================================ */

.corp-creed-lead { max-width: none; }
@media (min-width: 1100px) { .corp-creed-lead > span { white-space: nowrap; } }
html.has-cursor, html.has-cursor * { cursor: auto !important; }
html.has-cursor a, html.has-cursor button, html.has-cursor [role="button"], html.has-cursor summary, html.has-cursor label { cursor: pointer !important; }
.cur-dot { display: none; }
html.has-cursor .cur { opacity: 0; }
html.has-cursor .cur.is-view { opacity: 1; }
.cur.is-link .cur-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; background: transparent; }
.hero3-bg::after { background:
  linear-gradient(90deg, rgba(231,248,252,.96) 0%, rgba(231,248,252,.86) 28%, rgba(231,248,252,.36) 46%, rgba(231,248,252,.04) 64%, rgba(231,248,252,0) 100%),
  linear-gradient(180deg, rgba(231,248,252,.2) 0%, rgba(231,248,252,0) 28%, rgba(255,255,255,0) 74%, #fff 100%); }
@media (max-width: 860px) {
  .hero3-bg::after { background:
    linear-gradient(180deg, rgba(231,248,252,.95) 0%, rgba(231,248,252,.88) 46%, rgba(231,248,252,.5) 68%, rgba(231,248,252,.12) 88%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,0) 86%, #fff 100%); }
}

/* 図 v3: 帯の描画と出現順序 */

.js .dx-diagram .d-band { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s cubic-bezier(.65,0,.35,1); }
.dx-diagram.is-visible .d-band { stroke-dashoffset: 0; }
.js .dx-diagram .d-base { opacity: 0; transition: opacity .8s ease; }
.dx-diagram.is-visible .d-base { opacity: 1; }
.js .dx-diagram .d-arrow { transform: none; }
.dx-diagram.is-visible .d-a1 { transition-delay: .2s; }
.dx-diagram.is-visible .d-s1 { transition-delay: .25s; }
.dx-diagram.is-visible .d-s2 { transition-delay: .65s; }
.dx-diagram.is-visible .d-t3 { transition-delay: .9s; }
.dx-diagram.is-visible .d-s3 { transition-delay: 1.05s; }
.dx-diagram.is-visible .d-s4 { transition-delay: 1.5s; }
.dx-diagram.is-visible .d-loopmask { transition-delay: 1.8s; transition-duration: 1.6s; }
.dx-diagram.is-visible .d-pill { transition-delay: 2.7s; }
.dx-diagram.is-visible .d-halo { animation-delay: 1.7s; }

/* ============================================================
   指摘対応: ソリューションカードのホバーは反転しない（白地に白文字の事故を止める）
   ============================================================ */

.corporate-page .solution-card:hover { color: var(--corp-ink); background: #fff; border-color: rgba(42,183,217,.55); box-shadow: 0 18px 40px rgba(15,59,88,.1); transform: translateY(-4px); }
.corporate-page .solution-card:hover p { color: #607680; }
.corporate-page .solution-card:hover h3 { color: var(--corp-ink); }
.corporate-page .solution-card:hover .solution-copy > span { color: var(--corp-blue); }

/* ============================================================
   OUR STRENGTH v2 — 2つの事業（システム開発 / BPO）と、その両方に通す現場伴走
   ============================================================ */

.strength-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 3vw, 40px); }
.strength-col { display: flex; flex-direction: column; padding: 28px 28px 24px; border: 1px solid var(--corp-line); border-radius: 16px; background: var(--corp-mist); }
.strength-col-kicker { margin: 0; color: var(--corp-cyan); font-family: var(--corp-display); font-size: 12px; font-weight: 500; letter-spacing: .12em; }
.strength-col h3 { margin: 12px 0 0; color: var(--corp-ink); font-size: clamp(26px, 2.5vw, 36px); font-weight: 900; letter-spacing: -.045em; line-height: 1.15; }
.strength-col-stat { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; column-gap: 6px; margin: 14px 0 0; }
.strength-col-stat b { color: var(--corp-blue); font-family: var(--corp-display); font-size: clamp(30px, 2.8vw, 40px); font-weight: 500; letter-spacing: .01em; line-height: 1; font-variant-numeric: tabular-nums; }
.strength-col-stat em { color: var(--corp-ink); font-size: 14px; font-style: normal; font-weight: 800; }
.strength-col-stat small { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--corp-line); color: var(--corp-slate); font-size: clamp(12px, .95vw, 13.5px); font-weight: 500; line-height: 1.75; word-break: auto-phrase; }
.strength-svc { position: relative; display: flex; flex-direction: column; margin-top: 22px; padding: 22px 22px 20px; border: 1px solid var(--corp-line); border-radius: 12px; background: #fff; color: var(--corp-ink); text-decoration: none; transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .3s ease, box-shadow .3s ease; }
.strength-svc:hover { border-color: rgba(42,183,217,.6); box-shadow: 0 18px 40px rgba(15,59,88,.1); transform: translateY(-3px); }
.strength-svc strong { margin-top: 14px; font-size: clamp(17px, 1.45vw, 21px); font-weight: 800; letter-spacing: -.025em; line-height: 1.4; }
.strength-svc p { margin: 8px 0 0; color: var(--corp-slate); font-size: clamp(12.5px, 1vw, 14px); font-weight: 500; line-height: 1.85; word-break: auto-phrase; }
.strength-svc .corp-dx-tags { margin-top: 14px; }
.strength-svc-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--corp-blue); font-size: 13px; font-weight: 800; }
.strength-svc-more i { font-style: normal; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.strength-svc:hover .strength-svc-more i { transform: translateX(5px); }
/* 現場伴走: 2枚のカードの下に渡し、両方から線を落とす */

.strength-bridge { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: center; gap: 20px clamp(28px, 4vw, 60px); margin-top: 26px; padding: 28px clamp(24px, 2.6vw, 36px); border-radius: 16px; color: #fff; background: linear-gradient(135deg, #123a63, var(--corp-ink)); }
.strength-bridge::before, .strength-bridge::after { content: ""; position: absolute; top: -42px; width: 2px; height: 42px; background: linear-gradient(var(--corp-cyan), var(--corp-cyan)); }
.strength-bridge::before { left: calc(25% - 4px); }
.strength-bridge::after { left: calc(75% + 4px); }
.strength-bridge-head { position: relative; }
.strength-bridge-kicker { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: 12px; font-weight: 500; letter-spacing: .14em; }
.strength-bridge-kicker span { padding: 2px 8px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-family: var(--corp-sans); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
.strength-bridge h3 { margin: 10px 0 0; font-size: clamp(22px, 2vw, 30px); font-weight: 900; letter-spacing: -.04em; line-height: 1.25; }
.strength-bridge-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.strength-bridge-list li { padding: 14px 16px 14px 0; border-left: 1px solid rgba(255,255,255,.22); padding-left: 16px; }
.strength-bridge-list b { display: block; font-size: clamp(13.5px, 1.05vw, 15px); font-weight: 800; letter-spacing: -.02em; line-height: 1.45; }
.strength-bridge-list span { display: block; margin-top: 6px; color: rgba(255,255,255,.72); font-size: 12.5px; font-weight: 500; line-height: 1.7; }
.js .strength-two.is-visible > * { animation: none; opacity: 1; }
.js .strength-two > * { opacity: 1; }
@media (max-width: 1100px) {
  .strength-bridge { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .strength-two { grid-template-columns: minmax(0, 1fr); }
  .strength-bridge::before, .strength-bridge::after { display: none; }
  .strength-bridge { margin-top: 0; padding: 24px 22px; }
  .strength-bridge-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .strength-bridge-list li { padding: 12px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .strength-col { padding: 24px 22px 20px; }
  .strength-col-stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
  .strength-col-stat small { flex-basis: 100%; margin: 8px 0 0; padding-left: 0; border-left: 0; }
}

/* ============================================================
   OUR STRENGTH v3 — 2本の柱（システム開発 / BPO）が 1つの土台（現場伴走）に載る
   ============================================================ */

@media (min-width: 1100px) { .corp-strength-lead { max-width: none; white-space: nowrap; } }
.strength-two { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; padding: 0 clamp(20px, 2.6vw, 40px); margin-top: clamp(30px, 3.4vw, 46px); }
.strength-col { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid var(--corp-line); border-radius: 16px; background: #fff; box-shadow: 0 30px 70px rgba(6,29,73,.14); transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease; }
.strength-col:hover { transform: translateY(-4px); box-shadow: 0 40px 80px rgba(6,29,73,.18); }
.strength-col-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kicker stat" "title stat" "desc desc"; column-gap: 20px; padding: 26px 28px 24px; }
.strength-col-kicker { grid-area: kicker; display: flex; align-items: center; gap: 10px; margin: 0; color: var(--corp-blue); font-family: var(--corp-display); font-size: 12px; font-weight: 500; letter-spacing: .12em; }
.strength-col-kicker span { color: rgba(39,48,56,.45); }
.strength-col-kicker span::before { content: "/"; margin-right: 10px; }
.strength-col h3 { grid-area: title; margin: 10px 0 0; color: var(--corp-ink); font-size: clamp(26px, 2.5vw, 36px); font-weight: 900; letter-spacing: -.045em; line-height: 1.12; }
.strength-col-stat { grid-area: stat; display: flex; align-items: baseline; gap: 4px; margin: 0; justify-self: end; }
.strength-col-stat b { color: var(--corp-blue); font-family: var(--corp-display); font-size: clamp(54px, 5vw, 72px); font-weight: 500; letter-spacing: -.01em; line-height: .9; font-variant-numeric: tabular-nums; }
.strength-col-stat em { color: var(--corp-ink); font-size: 13px; font-style: normal; font-weight: 800; }
.strength-col-desc { grid-area: desc; margin: 14px 0 0; color: var(--corp-slate); font-size: clamp(12.5px, 1vw, 14px); font-weight: 500; line-height: 1.85; word-break: auto-phrase; }
.strength-svc { position: relative; display: flex; flex: 1; flex-direction: column; margin: 0; padding: 22px 28px 24px; border: 0; border-top: 1px solid var(--corp-line); border-radius: 0; background: var(--corp-ice); color: var(--corp-ink); text-decoration: none; transition: background .3s ease; }
.strength-svc:hover { transform: none; box-shadow: none; background: #ddf3f9; }
.strength-svc-label { margin: 0; color: var(--corp-cyan); font-family: var(--corp-display); font-size: 11px; font-weight: 500; letter-spacing: .16em; }
.strength-svc-name { display: block; margin-top: 6px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 900; letter-spacing: -.04em; line-height: 1.2; }
.strength-svc-catch { margin: 10px 0 0; color: var(--corp-blue); font-size: clamp(14px, 1.15vw, 16px); font-weight: 800; letter-spacing: -.02em; }
.strength-svc-text { margin: 6px 0 0; color: var(--corp-slate); font-size: clamp(12.5px, 1vw, 14px); font-weight: 500; line-height: 1.85; word-break: auto-phrase; }
.strength-svc .corp-dx-tags { margin-top: 14px; }
.strength-svc-more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; color: var(--corp-ink); font-size: 13px; font-weight: 800; }
.strength-svc-more i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--corp-ink); color: #fff; font-size: 13px; font-style: normal; transition: transform .3s cubic-bezier(.22,1,.36,1), background .25s ease; }
.strength-svc:hover .strength-svc-more i { transform: translateX(4px); background: var(--corp-blue); }
/* 土台: 2枚のカードが 28px 食い込む */

.strength-bridge { position: relative; z-index: 0; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr); align-items: start; gap: 24px clamp(32px, 4.5vw, 72px); margin: -28px calc(-1 * clamp(20px, 2.6vw, 40px)) 0; padding: calc(28px + 36px) clamp(28px, 3.2vw, 48px) 40px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #0b2f55 0%, #123a63 45%, var(--corp-ink) 100%); overflow: hidden; }
.strength-bridge::before { content: "FIELD"; position: absolute; right: -8px; bottom: -36px; color: rgba(42,183,217,.07); font-family: var(--corp-display); font-size: clamp(120px, 15vw, 220px); font-weight: 500; letter-spacing: -.04em; line-height: 1; pointer-events: none; }
.strength-bridge::after { content: none; }
.strength-bridge-head { position: relative; }
.strength-bridge-kicker { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: 12px; font-weight: 500; letter-spacing: .14em; }
.strength-bridge-kicker span { padding: 2px 8px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; font-family: var(--corp-sans); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
.strength-bridge h3 { margin: 12px 0 0; font-size: clamp(24px, 2.3vw, 34px); font-weight: 900; letter-spacing: -.045em; line-height: 1.22; }
.strength-bridge-lead { margin: 12px 0 0; color: rgba(255,255,255,.74); font-size: clamp(12.5px, 1vw, 14px); font-weight: 500; line-height: 1.9; word-break: auto-phrase; }
.strength-bridge-list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 6px 0 0; padding: 0; list-style: none; counter-reset: none; }
.strength-bridge-list li { position: relative; padding: 4px 18px 6px 0; border-left: 1px solid rgba(255,255,255,.18); padding-left: 18px; }
.strength-bridge-list li:first-child { border-left: 0; padding-left: 0; }
.strength-bridge-list > li > span[lang] { display: block; color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: 12px; font-weight: 500; letter-spacing: .1em; }
.strength-bridge-list .nw { color: inherit; font: inherit; }
.strength-bridge-list b { display: block; margin-top: 10px; font-size: clamp(13px, 1vw, 14.5px); font-weight: 800; letter-spacing: -.03em; line-height: 1.5; }
.strength-bridge-list small { display: block; margin-top: 6px; color: rgba(255,255,255,.7); font-size: 12.5px; font-weight: 500; line-height: 1.7; }
.strength-bridge-list li .nw { white-space: nowrap; }
@media (max-width: 1100px) {
  .strength-bridge { grid-template-columns: minmax(0, 1fr); }
  .strength-col-stat b { font-size: 52px; }
}
@media (max-width: 860px) {
  .strength-two { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0 12px; }
  .strength-col-top { grid-template-areas: "kicker kicker" "title stat" "desc desc"; padding: 22px 22px 20px; }
  .strength-col-stat { align-self: end; }
  .strength-svc { padding: 20px 22px 22px; }
  .strength-bridge { margin: -24px -12px 0; padding: calc(24px + 28px) 22px 28px; }
  .strength-bridge::before { font-size: 120px; }
  .strength-bridge-list { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .strength-bridge-list li, .strength-bridge-list li:first-child { padding: 14px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .strength-bridge-list > li > span[lang] { display: inline; margin-right: 10px; }
  .strength-bridge-list b { display: inline; margin-top: 0; }
}

/* 宣言文の点灯: 未点灯でも読める明るさにし、早めに点灯を終える */

.corp-creed-lead.is-lit-ready .w { opacity: clamp(0.55, calc((var(--p, 0) - var(--i, 0)) * 6 + 0.55), 1); }

/* 下層ページの工程図（暗い背景） */

.loop-diagram { margin: clamp(30px, 3.4vw, 46px) 0 0; }
.dx-diagram.is-dark svg { padding: 0; border: 0; border-radius: 0; background: transparent; }
.dx-diagram.is-visible .d-s5 { transition-delay: 2.0s; }
.dx-diagram.is-visible .d-s6 { transition-delay: 2.3s; }
.loop-diagram.is-visible .d-s2 { transition-delay: .5s; }
.loop-diagram.is-visible .d-s3 { transition-delay: .8s; }
.loop-diagram.is-visible .d-s4 { transition-delay: 1.1s; }
.loop-diagram.is-visible .d-s5 { transition-delay: 1.4s; }
.loop-diagram.is-visible .d-s6 { transition-delay: 1.7s; }
.loop-diagram.is-visible .d-loopmask { transition-delay: 2.1s; }
.loop-diagram.is-visible .d-pill { transition-delay: 3.0s; }
.loop-diagram.is-visible .d-halo { animation-delay: 1.6s; }
@media (max-width: 760px) { .dx-diagram.is-dark svg.is-v { padding: 0; } }

/* ============================================================
   OUR STRENGTH v4 — レビュー反映: 土台を両カードの背後へ、食い込み72px、グリッド統一、階層の整理
   ============================================================ */

.strength-lead-em { color: var(--corp-blue); font-style: normal; font-weight: 800; }
.corp-strength-lead { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.8; }
.strength-two { gap: 0 24px; padding: 0 16px; }
.strength-col { box-shadow: 0 28px 48px -20px rgba(6,29,73,.45); }
.strength-col-top { padding: 30px 40px 26px; grid-template-areas: "kicker kicker" "title stat" "desc desc"; align-items: baseline; }
.strength-col h3 { margin-top: 12px; font-size: clamp(26px, 2.4vw, 34px); }
.strength-col-stat { align-self: baseline; }
.strength-col-stat b { font-size: clamp(38px, 3.4vw, 48px); line-height: 1; }
.strength-col-stat em { font-size: 14px; }
.strength-col-desc { max-width: 30em; margin-top: 12px; text-wrap: pretty; }
.strength-svc { padding: 24px 40px 28px 37px; border-left: 3px solid var(--corp-cyan); }
.strength-svc-label { font-size: 11px; letter-spacing: .12em; }
.strength-svc-name { margin-top: 8px; font-size: clamp(19px, 1.6vw, 23px); }
.strength-svc-catch { margin-top: 10px; color: var(--corp-ink); font-size: 15px; font-weight: 700; }
.strength-svc-text { margin-top: 6px; color: rgba(39,48,56,.8); font-size: 14px; font-weight: 400; line-height: 1.8; }
.strength-svc .corp-dx-tags { margin-top: 12px; }
.strength-svc-more { padding-top: 16px; }
.strength-bridge { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin: -72px -16px 0; padding: calc(72px + 48px) 56px 44px; background: linear-gradient(120deg, #061d49 50%, #0b2f55 100%); }
.strength-bridge::before { content: none; }
.strength-bridge-head { padding-right: 24px; }
.strength-bridge h3 { font-size: clamp(24px, 2.2vw, 32px); }
.strength-bridge-lead { color: rgba(255,255,255,.8); font-size: 14px; }
.strength-bridge-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; margin-top: 4px; }
.strength-bridge-list li, .strength-bridge-list li:first-child { position: relative; padding: 2px 0 0 0; border-left: 0; }
.strength-bridge-list li + li { padding-left: 26px; }
.strength-bridge-list li + li::before { content: "→"; position: absolute; left: 0; top: 2px; color: var(--corp-cyan-light); font-size: 15px; font-weight: 400; opacity: .75; }
.strength-bridge-list b { min-height: calc(1.5em * 2); margin-top: 0; font-size: clamp(14px, 1.1vw, 16px); }
.strength-bridge-list small { margin-top: 6px; color: rgba(255,255,255,.8); font-size: 13px; }
@media (max-width: 1100px) {
  .strength-bridge { grid-template-columns: minmax(0, 1fr); padding-left: 40px; padding-right: 40px; }
  .strength-col-top { padding: 26px 28px 22px; }
  .strength-svc { padding: 22px 28px 24px 25px; }
}
@media (max-width: 860px) {
  /* 土台を2枚のカードの背後まで伸ばし、「両事業に共通」を形で示す */
  
  .strength-two { position: relative; gap: 16px; padding: 0 12px; }
  .strength-two::before { content: ""; position: absolute; inset: 120px 0 0; z-index: 0; border-radius: 16px; background: linear-gradient(170deg, #061d49, #0b2f55); }
  .strength-two::after { content: ""; position: absolute; top: 120px; bottom: 0; left: 12px; width: 3px; border-radius: 2px; background: var(--corp-cyan); opacity: .5; z-index: 1; }
  .strength-col { margin-inline: 12px; }
  .strength-col-top { grid-template-areas: "stat stat" "kicker kicker" "title title" "desc desc"; padding: 22px 22px 20px; }
  .strength-col-stat { justify-self: end; margin-bottom: 2px; }
  .strength-col-stat b { font-size: 44px; }
  .strength-col h3 { margin-top: 8px; font-size: 24px; }
  .strength-svc { padding: 20px 22px 22px 19px; }
  .strength-bridge { margin: -28px 0 0; padding: calc(28px + 32px) 24px 28px; background: transparent; }
  .strength-bridge-head { padding-right: 0; }
  .strength-bridge-kicker span { padding: 3px 10px; border-width: 1.5px; font-size: 12px; }
  .strength-bridge-list { grid-template-columns: minmax(0, 1fr); }
  .strength-bridge-list li, .strength-bridge-list li:first-child, .strength-bridge-list li + li { padding: 14px 0 14px 0; border-top: 1px solid rgba(255,255,255,.18); border-left: 0; }
  .strength-bridge-list li + li::before { content: none; }
  .strength-bridge-list b { display: block; min-height: 0; }
}

.strength-bridge { grid-template-columns: minmax(0, .85fr) minmax(0, 1.55fr); }
.strength-bridge-list b { font-size: clamp(13.5px, 1.05vw, 15px); letter-spacing: -.03em; }
.strength-bridge-list li + li { padding-left: 24px; }

/* OUR STRENGTH v4.1 — 2巡目 */

.strength-lead-em { text-decoration: underline; text-decoration-color: rgba(42,183,217,.6); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.corp-strength-lead { font-size: clamp(15px, 1.3vw, 20px); line-height: 1.7; }
.strength-bridge-list b, .strength-bridge-list small { text-wrap: balance; word-break: auto-phrase; }
.strength-svc-catch { font-size: 17px; }
.strength-svc-text { margin-top: 6px; }
.strength-svc { padding-bottom: 20px; }
@media (max-width: 860px) {
  .strength-two { padding: 0 8px; }
  .strength-col { margin-inline: 8px; }
  .strength-col-top { grid-template-areas: "kicker kicker" "title stat" "desc desc"; }
  .strength-col-stat { align-self: baseline; margin-bottom: 0; }
  .strength-col-stat b { font-size: 36px; }
  .strength-col h3 { font-size: 24px; }
  .strength-bridge { padding-left: 27px; padding-right: 24px; }
  .strength-two::after { left: 8px; }
}

/* OUR STRENGTH v4.2 — 土台の3要点は右カードに揃えた縦リスト、カードは土台から24px、モバイルの二重線を解消 */

.strength-two { gap: 0 24px; padding: 0 24px; }
.strength-bridge { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-left: -24px; margin-right: -24px; padding-left: 64px; padding-right: 64px; gap: 24px; }
.strength-bridge-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 0; }
.strength-bridge-list li, .strength-bridge-list li:first-child, .strength-bridge-list li + li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: baseline; column-gap: 18px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
.strength-bridge-list li:first-child { border-top: 0; padding-top: 2px; }
.strength-bridge-list li + li::before { content: none; }
.strength-bridge-list b { min-height: 0; font-size: 15px; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.strength-bridge-list small { margin-top: 0; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 400; }
@media (max-width: 1100px) {
  .strength-bridge { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 860px) {
  .strength-two { padding: 0 12px; }
  .strength-two::after { content: none; }
  .strength-col { margin-inline: 12px; }
  .strength-col-top { padding-inline: 22px; }
  .strength-svc { padding-inline: 22px 22px; padding-left: 19px; }
  .strength-col-stat { justify-self: start; }
  .strength-bridge { margin: -28px 0 0; padding: calc(28px + 32px) 34px 28px; }
  .strength-bridge-list li, .strength-bridge-list li:first-child, .strength-bridge-list li + li { grid-template-columns: minmax(0, 1fr); row-gap: 4px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.18); }
  .strength-bridge-list li:first-child { border-top: 1px solid rgba(255,255,255,.18); padding-top: 14px; }
}

/* OUR STRENGTH v4.3 — 土台の要点は1行で、モバイルは1列 */

.strength-bridge-list li, .strength-bridge-list li:first-child, .strength-bridge-list li + li { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
@media (min-width: 1101px) { .strength-bridge-list b { white-space: nowrap; text-wrap: nowrap; } }
@media (max-width: 1100px) { .strength-bridge { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .strength-bridge { grid-template-columns: minmax(0, 1fr); }
  .strength-bridge-list li, .strength-bridge-list li:first-child, .strength-bridge-list li + li { grid-template-columns: minmax(0, 1fr); }
}

/* 土台の要点内の .nw が旧ルール（span を block 表示）に拾われていたのを戻す */

.strength-bridge-list .nw { display: inline; margin: 0; color: inherit; font: inherit; line-height: inherit; }

/* ============================================================
   下層ページ v2 — レビュー反映
   ============================================================ */
/* ヒーロー: 写真を全面に。右パネルは控えめに、数値帯は削除済み */

.detail-hero { position: relative; overflow: hidden; }
.detail-hero-photo { position: absolute; inset: 0; z-index: 0; margin: 0; overflow: hidden; }
.detail-hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: corp-hero-zoom 18s ease-out both; }
.detail-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,29,73,.96) 0%, rgba(6,29,73,.94) 42%, rgba(6,29,73,.62) 100%); }
.detail-hero::before { z-index: 1; opacity: .06; }
.detail-v2 .detail-hero-v2::before { opacity: .06; }
.detail-hero::after, .detail-v2 .detail-hero-v2::after { z-index: 1; right: -2vw; bottom: -.15em; font-size: clamp(140px, 20vw, 300px); color: rgba(255,255,255,.05); }
.detail-breadcrumb, .detail-hero-grid { position: relative; z-index: 2; }
.detail-hero h1, .detail-v2 .detail-hero h1 { font-size: clamp(38px, 6.4vw, 92px); font-weight: 900; line-height: 1.08; letter-spacing: -.05em; font-feature-settings: "palt"; }
.detail-v2 .detail-hero-v2 { min-height: 100svh; padding-bottom: clamp(72px, 9vh, 120px); }
.detail-hero-grid { align-items: center; }
.js .detail-hero-photo { clip-path: inset(0 0 0 100%); transition: clip-path 1.4s cubic-bezier(.65,0,.2,1) .2s; }
.js .is-loaded .detail-hero-photo, .js body.is-loaded .detail-hero-photo { clip-path: inset(0); }
@media (max-width: 620px) { .detail-hero-photo img { object-position: 55% 50% !important; } }

/* 工程図セクション: 見出しと図の距離を詰め、矢印は弧の後に出す */

.loop-diagram { margin-top: clamp(20px, 2.6vw, 36px); }
.js .dx-diagram .d-chev { opacity: 0; transition: opacity .5s ease; }
.dx-diagram.is-visible .d-chev { opacity: 1; transition-delay: 3.8s; }
.dx-diagram.is-visible .d-loop { transition: none; }

/* 役割モード: 4枚の箱を1本のスペクトラムに */

/* 業種: 6列グリッドで空きをなくし、詳細は折りたたむ */

.industry-grid-v2 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.industry-grid-v2 > article { grid-column: span 2; }
.industry-grid-v2 > article:nth-child(n+4) { grid-column: span 3; }
.industry-more { margin-top: 16px; border-top: 1px solid var(--corp-line); }
.industry-more summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--corp-blue); font-size: 13px; font-weight: 800; cursor: pointer; list-style: none; }
.industry-more summary::-webkit-details-marker { display: none; }
.industry-more summary i { position: relative; width: 22px; height: 22px; border: 1px solid rgba(0,105,170,.4); border-radius: 50%; flex: 0 0 auto; }
.industry-more summary i::before, .industry-more summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; background: var(--corp-blue); transform: translate(-50%, -50%); transition: transform .3s ease; }
.industry-more summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.industry-more[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.industry-more > dl { margin-top: 4px; }
@media (max-width: 1100px) { .industry-grid-v2 > article, .industry-grid-v2 > article:nth-child(n+4) { grid-column: span 3; } .industry-grid-v2 > article:last-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .industry-grid-v2 > article, .industry-grid-v2 > article:nth-child(n+4), .industry-grid-v2 > article:last-child { grid-column: 1 / -1; } }

/* 暗い地のカードは濁らせない。QUALITY SIGNALS はチップ */

/* 事例の帯: 幅を使い切る */

.case-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 24px; }

/* 追跡チェーン: 4枚の背後に帯を通す */
.scope-grid article h3 { margin-top: 18px; }

/* CTA: ヒーローと同じ見え方にしない */

.detail-cta { background: radial-gradient(70% 90% at 50% 0%, rgba(42,183,217,.35), transparent 70%), #061d49; }

/* フッターSNS: 大きさと枠を揃える */

.corp-sns li a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--corp-line); border-radius: 8px; background: #fff; }
.corp-sns li a img { width: 20px; height: 20px; object-fit: contain; }

/* 下層ヒーローの見出し: 2行に収まる上限 */

.detail-hero h1, .detail-v2 .detail-hero h1 { font-size: clamp(38px, 5.5vw, 80px); }

/* ============================================================
   基幹システム刷新ページ（企業サイトの体系で再構成）
   ============================================================ */

.renewal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }
.renewal-actions .corp-button { margin-top: 0; min-width: 0; }
.renewal-textlink { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; }
.renewal-textlink i { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font-style: normal; font-size: 13px; transition: transform .3s cubic-bezier(.22,1,.36,1), background .25s ease, border-color .25s ease; }
.renewal-textlink:hover i { transform: translateX(4px); background: var(--corp-cyan); border-color: var(--corp-cyan); }
.renewal-textlink.is-ink { margin-top: 28px; color: var(--corp-ink); }
.renewal-textlink.is-ink i { border-color: rgba(39,48,56,.35); }
.renewal-textlink.is-ink:hover i { color: #fff; }
.renewal-bridge-line { max-width: 44em; margin: clamp(30px, 3.4vw, 44px) 0 0; padding-left: 18px; border-left: 3px solid var(--corp-cyan); color: var(--corp-ink); font-size: clamp(15px, 1.2vw, 18px); font-weight: 800; letter-spacing: -.02em; line-height: 1.8; word-break: auto-phrase; }

/* リバースエンジニアリングの流れ */

.rev-flow { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.25fr) 40px minmax(0, 1fr); align-items: stretch; margin-top: clamp(30px, 3.4vw, 46px); }
.rev-flow article { padding: 26px 26px 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.04); }
.rev-flow article.is-core { border-color: rgba(50,203,230,.55); background: linear-gradient(135deg, rgba(50,203,230,.16), rgba(0,105,170,.22)); }
.rev-flow article > span { display: block; color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: 12px; letter-spacing: .14em; }
.rev-flow article > strong { display: block; margin-top: 10px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 800; letter-spacing: -.02em; }
.rev-flow article > p { margin: 10px 0 0; color: rgba(255,255,255,.8); font-size: 13.5px; line-height: 1.85; }
.rev-flow article > ul { margin: 12px 0 0; padding: 0; list-style: none; }
.rev-flow article > ul li { position: relative; padding: 6px 0 6px 16px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.85); font-size: 13.5px; }
.rev-flow article > ul li::before { content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 1.5px; background: var(--corp-cyan); }
.rev-flow > i { position: relative; }
.rev-flow > i::before { content: ""; position: absolute; top: 50%; left: 6px; right: 6px; height: 2px; background: linear-gradient(90deg, var(--corp-cyan-light), var(--corp-cyan)); }
.rev-flow > i::after { content: ""; position: absolute; top: 50%; right: 6px; width: 8px; height: 8px; border-top: 2px solid var(--corp-cyan); border-right: 2px solid var(--corp-cyan); transform: translateY(-50%) rotate(45deg); }
.rev-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: rev; }
.rev-points li { counter-increment: rev; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.rev-points li::before { content: "0" counter(rev); display: block; color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: 12px; letter-spacing: .12em; }
.rev-points b { display: block; margin-top: 8px; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.rev-points span { display: block; margin-top: 6px; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.8; }

/* 無料健康診断 */

.hc-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: clamp(30px, 3.4vw, 46px); }
.hc-kicker { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--corp-display); font-size: 12px; font-weight: 500; letter-spacing: .14em; }
.hc-kicker span { padding: 2px 8px; border: 1px solid currentColor; border-radius: 999px; font-size: 10px; opacity: .8; }
.hc-report { padding: 28px 30px 30px; border-radius: 16px; color: #fff; background: linear-gradient(150deg, #0b2f55, var(--corp-deep)); box-shadow: 0 30px 70px rgba(6,29,73,.18); }
.hc-report .hc-kicker { color: var(--corp-cyan-light); }
.hc-score { display: flex; align-items: center; gap: 22px; margin-top: 22px; }
.hc-ring { position: relative; display: grid; place-items: center; width: 118px; height: 118px; border-radius: 50%; background: conic-gradient(var(--corp-cyan) calc(var(--score, 82) * 1%), rgba(255,255,255,.12) 0); transition: background .5s ease; }
.hc-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #0f3356; }
.hc-ring b { position: relative; font-family: var(--corp-display); font-size: 40px; font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.hc-ring b small { margin-left: 2px; font-size: 13px; opacity: .6; }
.hc-score-label { margin: 0; font-family: var(--corp-display); font-size: 12px; letter-spacing: .14em; opacity: .7; }
.hc-level { margin: 6px 0 0; font-family: var(--corp-display); font-size: 15px; letter-spacing: .08em; }
.hc-axes { margin: 24px 0 0; padding: 0; list-style: none; }
.hc-axes li { display: grid; grid-template-columns: 11em minmax(0, 1fr) 2.2em; align-items: center; gap: 14px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; font-weight: 600; }
.hc-axes li i { position: relative; display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); }
.hc-axes li i b { position: absolute; left: 0; top: 0; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--corp-cyan-light), var(--corp-cyan)); transition: width .5s cubic-bezier(.22,1,.36,1); }
.hc-axes li em { font-family: var(--corp-display); font-size: 13px; font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.hc-verdict { margin-top: 22px; padding: 18px 20px; border-left: 3px solid var(--corp-cyan); background: rgba(255,255,255,.06); }
.hc-verdict p { margin: 0; font-family: var(--corp-display); font-size: 11px; letter-spacing: .14em; color: var(--corp-cyan-light); }
.hc-verdict strong { display: block; margin-top: 6px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.hc-verdict span { display: block; margin-top: 6px; color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.8; }
.hc-check { display: flex; flex-direction: column; padding: 28px 30px 30px; border: 1px solid var(--corp-line); border-radius: 16px; background: #fff; }
.hc-check .hc-kicker { color: var(--corp-blue); }
.hc-check h3 { margin: 10px 0 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 900; letter-spacing: -.03em; }
.hc-check-note { margin: 8px 0 0; color: var(--corp-slate); font-size: 13px; line-height: 1.8; }
.hc-list { display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--corp-line); }
.hc-list label { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--corp-line); cursor: pointer; font-size: 14px; font-weight: 600; transition: background .2s ease; }
.hc-list label:hover { background: rgba(42,183,217,.05); }
.hc-list input { width: 20px; height: 20px; margin: 0; accent-color: var(--corp-cyan); cursor: pointer; }
.hc-list label i { color: rgba(39,48,56,.4); font-family: var(--corp-display); font-size: 11px; font-style: normal; letter-spacing: .1em; }
.hc-check .corp-button { margin-top: 22px; width: 100%; }
.hc-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.hc-plans div { padding: 18px 22px; border: 1px solid var(--corp-line); border-radius: 12px; background: #fff; }
.hc-plans span { display: block; color: var(--corp-blue); font-family: var(--corp-display); font-size: 12px; letter-spacing: .12em; }
.hc-plans p { margin: 6px 0 0; color: var(--corp-slate); font-size: 13px; line-height: 1.8; }

/* 比較表 */

.cmp-wrap { margin-top: clamp(30px, 3.4vw, 46px); overflow-x: auto; }
.cmp-table { width: 100%; min-width: 720px; border-collapse: collapse; background: #fff; border: 1px solid var(--corp-line); border-radius: 12px; overflow: hidden; }
.cmp-table th, .cmp-table td { padding: 16px 14px; border-bottom: 1px solid var(--corp-line); text-align: center; font-size: 13.5px; }
.cmp-table thead th { color: var(--corp-slate); font-weight: 700; background: var(--corp-mist); }
.cmp-table thead th:first-child, .cmp-table tbody th { text-align: left; }
.cmp-table tbody th { font-weight: 800; }
.cmp-table tbody tr.is-datt { background: rgba(42,183,217,.08); }
.cmp-table tbody tr.is-datt th { color: var(--corp-blue); }
.cmp-table td[data-v="●"] { color: var(--corp-blue); font-weight: 800; }
.cmp-table tr.is-datt td[data-v="●"] { color: var(--corp-cyan); font-size: 16px; }
.cmp-table td[data-v="—"] { color: rgba(39,48,56,.3); }
.cmp-table td[data-v="△"] { color: rgba(39,48,56,.6); }
.cmp-note { margin: 10px 0 0; color: rgba(39,48,56,.6); font-size: 12px; }
.detail-cta-note { margin-top: 18px; color: rgba(255,255,255,.7); font-size: 12.5px; letter-spacing: .02em; }

@media (max-width: 1100px) {
  .rev-flow { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .rev-flow > i { height: 28px; }
  .rev-flow > i::before { top: 4px; bottom: 4px; left: 50%; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--corp-cyan-light), var(--corp-cyan)); }
  .rev-flow > i::after { top: auto; bottom: 4px; left: 50%; right: auto; transform: translateX(-50%) rotate(135deg); }
  .hc-board { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .rev-points, .hc-plans { grid-template-columns: minmax(0, 1fr); }
  .hc-report, .hc-check { padding: 22px 20px 24px; }
  .hc-axes li { grid-template-columns: 9em minmax(0, 1fr) 2.2em; gap: 10px; font-size: 12px; }
  .renewal-actions { gap: 14px 20px; }
}

/* ============================================================
   導入事例ページ v2 — レビュー反映
   ============================================================ */

.cases-hero.detail-hero-v2 { min-height: 0; padding-bottom: 0; }
.cases-hero .detail-hero-grid { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(40px, 5vw, 64px); }
.cases-index { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 350px)); gap: 24px; margin: 0 0 -96px; padding: 0; transform: translateY(96px); }
.cases-index a { display: flex; flex-direction: column; color: var(--corp-ink); background: #fff; border: 1px solid var(--corp-line); border-radius: 16px; overflow: hidden; text-decoration: none; box-shadow: 0 24px 48px -16px rgba(6,29,73,.35); transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .3s ease; }
.cases-index a:hover { transform: translateY(-4px); box-shadow: 0 32px 56px -16px rgba(6,29,73,.4); }
.cases-index figure { margin: 0; overflow: hidden; }
.cases-index img { display: block; width: 100%; aspect-ratio: 350 / 200; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.cases-index a:hover img { transform: scale(1.04); }
.cases-index span { margin: 16px 18px 0; color: var(--corp-cyan); font-family: var(--corp-display); font-size: 11px; letter-spacing: .14em; }
.cases-index strong { margin: 6px 18px 0; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.cases-index small { margin: 4px 18px 16px; color: var(--corp-slate); font-size: 12px; }
.cases-section { padding-top: calc(96px + var(--pad-m)); }
.case-block { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); }
.case-block::before { content: attr(data-no); position: absolute; top: clamp(20px, 2.4vw, 36px); right: 0; z-index: 0; color: var(--corp-ice); font-family: var(--corp-display); font-size: clamp(80px, 9vw, 140px); font-weight: 500; line-height: 1; pointer-events: none; }
.case-block > * { position: relative; z-index: 1; }
.case-block:first-of-type { padding-top: 0; }
.case-block-head h2 { font-size: clamp(28px, 3vw, 44px); font-weight: 900; }
.case-summary { grid-column: 1; display: grid; gap: 0; margin: 20px 0 0; border-top: 1px solid var(--corp-line); }
.case-summary > div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--corp-line); }
.case-summary dt { color: var(--corp-blue); font-size: 12.5px; font-weight: 800; letter-spacing: .02em; padding-top: 2px; }
.case-summary dd { margin: 0; color: var(--corp-ink); font-size: 14px; font-weight: 600; line-height: 1.75; word-break: auto-phrase; }
.case-shots-page { position: sticky; top: 112px; align-self: start; grid-row: 1 / span 6; }
.case-shots-page img { border: 0; border-radius: 12px; }
.case-shots-page figcaption { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: #4f6068; font-size: 12px; }
.cap-tag { padding: 1px 7px; border: 1px solid rgba(0,105,170,.35); border-radius: 999px; color: var(--corp-blue); font-family: var(--corp-sans); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; }
.case-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 22px; padding-top: 0; border-top: 0; }
.case-facts li { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 14px 0; border-top: 1px solid var(--corp-line); border-bottom: 1px solid var(--corp-line); }
.case-facts li + li { padding-left: 18px; border-left: 1px solid var(--corp-line); }
.case-facts b { font-size: clamp(32px, 3.2vw, 46px); line-height: 1; letter-spacing: -.01em; color: var(--corp-blue); }
.case-facts b span { font-size: .4em; font-weight: 500; margin-left: 2px; }
.case-facts small { color: var(--corp-ink); font-size: 12px; font-weight: 600; }
.case-body { max-width: 36em; }
.case-body p { color: #3d4a52; font-size: 15px; line-height: 1.95; word-break: normal; overflow-wrap: anywhere; }
.case-body > p:first-child { color: var(--corp-ink); font-size: 17px; font-weight: 600; line-height: 1.85; }
.case-quote { margin: 18px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--corp-cyan); }
.case-quote p { margin: 0; color: var(--corp-ink); font-size: clamp(16px, 1.3vw, 19px); font-weight: 700; line-height: 1.7; }
.case-quote footer { margin-top: 8px; color: var(--corp-slate); font-size: 12px; }
.case-prod { grid-column: 1; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 0; background: none; }
.case-prod li { border-color: rgba(42,183,217,.6); background: var(--corp-ice); font-size: 13px; }
.case-prod li a { color: var(--corp-blue); text-decoration: none; }
.case-actions { grid-column: 1; display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 6px; }
.case-actions a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--corp-ink); color: #fff; font-size: 13.5px; font-weight: 800; text-decoration: none; transition: background .25s ease, transform .3s cubic-bezier(.22,1,.36,1); }
.case-actions a:hover { background: var(--corp-blue); transform: translateY(-2px); }
.case-actions a.is-sub { padding: 12px 0; background: transparent; color: var(--corp-ink); border-bottom: 1px solid currentColor; border-radius: 0; }
.case-actions a.is-sub:hover { background: transparent; color: var(--corp-blue); }
.case-actions i { font-style: normal; }
.case-block:nth-of-type(even) { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); }
.case-block:nth-of-type(even) .case-shots-page { grid-column: 1; }
.case-block:nth-of-type(even) .case-block-head, .case-block:nth-of-type(even) .case-summary, .case-block:nth-of-type(even) .case-facts, .case-block:nth-of-type(even) .case-body, .case-block:nth-of-type(even) .case-prod, .case-block:nth-of-type(even) .case-actions { grid-column: 2; }
.case-block:nth-of-type(even)::before { right: auto; left: 0; }
.cases-cta-band { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 28px 48px; margin-top: 64px; padding: clamp(36px, 4.4vw, 56px) clamp(28px, 4.4vw, 64px); border-radius: 16px; color: #fff; background: radial-gradient(70% 90% at 50% 0%, rgba(42,183,217,.35), transparent 70%), #061d49; }
.cases-cta-band strong { display: block; margin-top: 10px; font-size: clamp(22px, 2.4vw, 34px); font-weight: 900; letter-spacing: -.035em; line-height: 1.3; }
.cases-cta-band p:not(.corp-kicker) { margin: 12px 0 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.85; }
.cases-cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cases-cta-actions .corp-button { margin: 0; min-width: 0; }
.cases-cta-sub { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.cases-cta-sub i { font-style: normal; color: var(--corp-cyan-light); }
@media (max-width: 1100px) {
  .cases-index { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .case-shots-page { position: static; }
}
@media (max-width: 1023px) {
  .case-block, .case-block:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); }
  .case-block:nth-of-type(even) .case-block-head, .case-block:nth-of-type(even) .case-summary, .case-block:nth-of-type(even) .case-facts, .case-block:nth-of-type(even) .case-body, .case-block:nth-of-type(even) .case-prod, .case-block:nth-of-type(even) .case-actions, .case-block:nth-of-type(even) .case-shots-page { grid-column: 1; }
  .case-shots-page { grid-row: auto; }
  .cases-cta-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .cases-index { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: -64px; transform: translateY(64px); }
  .cases-index a { flex-direction: row; align-items: center; }
  .cases-index figure { flex: 0 0 120px; height: 100%; }
  .cases-index img { height: 100%; aspect-ratio: auto; min-height: 88px; }
  .cases-index span { margin: 10px 14px 0; } .cases-index strong { margin: 4px 14px 0; font-size: 15px; } .cases-index small { margin: 2px 14px 10px; }
  .cases-section { padding-top: calc(64px + var(--pad-m)); }
  .case-block::before { font-size: 72px; }
  .case-facts li { padding: 12px 10px 10px 0; } .case-facts li + li { padding-left: 10px; }
  .case-facts b { font-size: 28px; }
  .case-summary > div { grid-template-columns: 4.5em minmax(0, 1fr); gap: 10px; }
}

/* 導入事例 v2.1 */

.case-body p { text-wrap: wrap; line-break: strict; }
.case-block::before { top: clamp(60px, 7vw, 100px); right: clamp(20px, 4vw, 66px); }
.case-block:nth-of-type(even)::before { right: auto; left: clamp(20px, 4vw, 66px); }
.case-shots-page { grid-row: 1 / span 7; }
.cases-cta-band strong { font-size: clamp(22px, 2.2vw, 30px); word-break: auto-phrase; text-wrap: balance; }
.case-summary dd { text-wrap: pretty; }

/* 導入事例: 本文は文節折返しをやめ、行末を揃える（.detail-page .detail-section p より強い指定） */

.detail-page .cases-section .case-body p { word-break: normal; overflow-wrap: anywhere; line-break: strict; text-wrap: wrap; }
.detail-page .cases-section .case-summary dd { word-break: normal; overflow-wrap: anywhere; text-wrap: pretty; }

/* ============================================================
   導入事例 v2.2 — 2巡目
   ============================================================ */

.case-block { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); grid-template-rows: auto; row-gap: 0; }
.case-main { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 0; min-width: 0; }
.case-main > .case-summary { margin-top: 20px; }
.case-main > .case-facts { margin-top: 22px; }
.case-main > .case-body { margin-top: 28px; }
.case-main > .case-prod { margin-top: 26px; }
.case-main > .case-actions { margin-top: 18px; }
.case-shots-page { grid-column: 2; grid-row: 1; position: sticky; top: 112px; align-self: start; }
.case-block:nth-of-type(even) .case-main { grid-column: 2; }
.case-block:nth-of-type(even) .case-shots-page { grid-column: 1; }
.cases-section { overflow: visible; }
.case-body > p:first-child { font-weight: 500; line-height: 1.9; color: var(--corp-ink); }
.case-actions a { background: transparent; border: 1px solid var(--corp-blue); color: var(--corp-blue); }
.case-actions a:hover { background: var(--corp-blue); color: #fff; }
.case-block::before { top: -40px; right: 0; color: transparent; -webkit-text-stroke: 1px rgba(50,203,230,.45); font-size: clamp(90px, 10vw, 160px); }
.case-block:nth-of-type(even)::before { right: auto; left: 0; }
.case-block:first-of-type::before { top: -24px; }
.cases-index { grid-template-columns: repeat(3, minmax(0, 350px)); justify-content: space-between; max-width: 1280px; }
.cases-cta-actions { justify-self: end; align-items: flex-end; }
@media (max-width: 1100px) { .cases-index { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cases-cta-actions { justify-self: start; align-items: flex-start; } }
@media (max-width: 1023px) {
  .case-block, .case-block:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; row-gap: 26px; }
  .case-main, .case-block:nth-of-type(even) .case-main { grid-column: 1; grid-row: 2; }
  .case-shots-page, .case-block:nth-of-type(even) .case-shots-page { grid-column: 1; grid-row: 1; position: static; }
}

/* ============================================================
   基幹システム刷新 v2 — 1巡目
   ============================================================ */

.renewal-v3 { --radius: 12px; }
.renewal-v3 .friction-grid article, .renewal-v3 .scope-grid article, .renewal-v3 .rev-flow article, .renewal-v3 .hc-report, .renewal-v3 .hc-check, .renewal-v3 .hc-plans div, .renewal-v3 .cmp-table { border-radius: var(--radius); }
.renewal-v3 .friction-grid article::before, .renewal-v3 .friction-grid article::after { opacity: .5; }
.renewal-v3 .friction-grid article > span { color: var(--corp-cyan); font-family: var(--corp-display); font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.renewal-v3 .detail-hero::after { right: -2vw; bottom: -.12em; font-size: 18vw; opacity: 1; color: rgba(255,255,255,.05); }
.renewal-v3 .scope-grid article > span a { color: var(--corp-cyan); text-decoration: none; border-bottom: 1px solid currentColor; }
.hc-axes li i b { transition: width .6s cubic-bezier(.2,.7,.2,1); }
.hc-btn { align-self: stretch; margin-top: 22px; min-width: 0; }
.hc-sticky { display: none; }
.hc-plans div { padding: 20px 24px; }
.cmp-legend { display: flex; gap: 14px; justify-content: flex-end; margin: 0 0 10px; color: var(--corp-slate); font-size: 12px; }
.cmp-legend span { margin-right: 4px; color: var(--corp-blue); font-weight: 800; }
.cmp-table tbody tr.is-datt { box-shadow: inset 4px 0 0 var(--corp-cyan); }
.cmp-table tbody tr.is-datt th { color: var(--corp-ink); font-weight: 800; }
.cmp-table td[data-v="●"]::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--corp-blue); }
.cmp-table td[data-v="●"] { font-size: 0; }
.cmp-table tr.is-datt td[data-v="●"]::before { width: 14px; height: 14px; background: var(--corp-cyan); }
.cmp-wrap { position: relative; }
@media (max-width: 860px) {
  .cmp-wrap::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 32px; background: linear-gradient(90deg, transparent, var(--corp-mist)); pointer-events: none; }
  .cmp-table th:first-child, .cmp-table td:first-child { position: sticky; left: 0; background: #fff; min-width: 128px; z-index: 1; }
  .cmp-table thead th:first-child { background: var(--corp-mist); }
  .hc-board { display: flex; flex-direction: column; }
  .hc-check { order: 1; position: relative; }
  .hc-report { order: 2; }
  .hc-sticky { position: sticky; top: 72px; z-index: 5; display: flex; align-items: center; gap: 12px; margin: -22px -20px 14px; padding: 12px 16px; background: var(--corp-deep); color: #fff; border-radius: var(--radius) var(--radius) 0 0; }
  .hc-sticky b { font-family: var(--corp-display); font-size: 22px; font-weight: 500; }
  .hc-sticky span { font-size: 12.5px; font-weight: 700; }
}

/* ============================================================
   下層ページ共通（会社概要 / 方針 / SDGs / サービス）
   ============================================================ */

.page-hero.detail-hero-v2 { min-height: 0; padding-bottom: clamp(64px, 8vh, 110px); }
.page-hero .detail-hero-grid { grid-template-columns: minmax(0, 1fr); }
.page-hero .detail-hero-copy { max-width: 980px; }
.doc-hero.detail-hero-v2 { min-height: 0; padding-top: 180px; padding-bottom: 72px; background: var(--corp-deep); }
.doc-hero h1 { font-size: clamp(32px, 4.6vw, 64px) !important; }
.doc-hero .detail-hero-lead { max-width: 60ch; }
.detail-breadcrumb a { color: inherit; text-decoration: none; }

/* 数字 */

/* 理念 */
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.value-grid li { padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.2); }
.value-grid b { display: block; font-family: var(--corp-display); font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: .01em; line-height: 1; }
.value-grid span { display: block; margin-top: 6px; color: var(--corp-cyan-light); font-size: 13px; font-weight: 800; }
.value-grid p { margin: 12px 0 0; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.85; }

/* 会社データ */
.profile-table { margin: 0; border-top: 1px solid var(--corp-line); }
.profile-table > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--corp-line); }
.profile-table dt { color: var(--corp-blue); font-size: 13px; font-weight: 800; padding-top: 2px; }
.profile-table dd { margin: 0; color: var(--corp-ink); font-size: 15px; font-weight: 500; line-height: 1.8; word-break: auto-phrase; }
.profile-table dd small { display: block; color: var(--corp-slate); font-family: var(--corp-display); font-size: 12px; letter-spacing: .08em; }

/* 拠点 */

.office-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: clamp(30px, 3.4vw, 46px) 0 0; padding: 0; list-style: none; }
.office { display: flex; flex-direction: column; padding: 24px 24px 22px; border: 1px solid var(--corp-line); border-radius: 12px; background: #fff; }
.office-tag { margin: 0; color: var(--corp-cyan); font-family: var(--corp-display); font-size: 11px; letter-spacing: .14em; }
.office h3 { margin: 8px 0 0; font-size: 18px; font-weight: 900; letter-spacing: -.02em; }
.office-addr { margin: 8px 0 0; color: var(--corp-ink); font-size: 13.5px; line-height: 1.7; }
.office-access { margin: 10px 0 0; padding: 0; list-style: none; color: var(--corp-slate); font-size: 12.5px; line-height: 1.7; }
.office-access li::before { content: "—"; margin-right: 6px; color: var(--corp-cyan); }
.office > a { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; color: var(--corp-blue); font-size: 12.5px; font-weight: 800; text-decoration: none; }
.office > a i { font-style: normal; }
.office:first-child { grid-column: span 1; border-color: rgba(42,183,217,.6); background: var(--corp-ice); }

/* 認証 */

.mark-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: clamp(30px, 3.4vw, 46px) 0 0; padding: 0; list-style: none; }
.mark-grid li { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "fig b" "fig s" "fig a"; column-gap: 18px; align-content: start; padding: 20px; border: 1px solid var(--corp-line); border-radius: 12px; background: #fff; }
.mark-grid figure { grid-area: fig; display: grid; place-items: center; width: 96px; height: 72px; margin: 0; }
.mark-grid img { max-width: 96px; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.mark-grid b { grid-area: b; font-size: 14px; font-weight: 800; letter-spacing: -.02em; line-height: 1.5; }
.mark-grid span { grid-area: s; margin-top: 6px; color: var(--corp-slate); font-size: 12.5px; line-height: 1.75; }
.mark-grid a { grid-area: a; margin-top: 8px; color: var(--corp-blue); font-size: 12.5px; font-weight: 800; text-decoration: none; }

/* 沿革 */

.era-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.era-nav a { padding: 8px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; font-family: var(--corp-display); font-size: 13px; letter-spacing: .08em; text-decoration: none; transition: background .25s ease, border-color .25s ease; }
.era-nav a:hover { background: var(--corp-cyan); border-color: var(--corp-cyan); }

/* 文書ページ */

.doc-section { padding-top: var(--pad-m); }
.doc-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.doc-toc { position: sticky; top: 110px; }
.doc-toc > p { margin: 0 0 12px; color: var(--corp-blue); font-family: var(--corp-display); font-size: 12px; letter-spacing: .16em; }
.doc-toc ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--corp-line); }
.doc-toc li a { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--corp-line); color: var(--corp-slate); font-size: 13px; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.doc-toc li a span { color: var(--corp-cyan); font-family: var(--corp-display); font-size: 12px; letter-spacing: .08em; padding-top: 2px; }
.doc-toc li a:hover, .doc-toc li a.is-active { color: var(--corp-ink); }
.doc-toc li a.is-active { box-shadow: inset 3px 0 0 var(--corp-cyan); padding-left: 10px; }
.doc-meta { margin: 20px 0 0; padding: 16px 18px; border-radius: 12px; background: var(--corp-mist); }
.doc-meta > div { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 8px; padding: 4px 0; font-size: 12.5px; }
.doc-meta dt { color: var(--corp-slate); font-weight: 600; }
.doc-meta dd { margin: 0; font-weight: 800; }
.doc-body { max-width: 760px; }
.doc-article { position: relative; padding: 0 0 clamp(40px, 4.4vw, 64px); scroll-margin-top: 110px; }
.doc-article + .doc-article { padding-top: clamp(40px, 4.4vw, 64px); border-top: 1px solid var(--corp-line); }
.doc-no { margin: 0; color: var(--corp-cyan); font-family: var(--corp-display); font-size: 13px; letter-spacing: .14em; }
.doc-article h2 { margin: 8px 0 0; color: var(--corp-ink); font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; letter-spacing: -.035em; line-height: 1.35; }
.doc-article h3 { margin: 30px 0 0; padding-left: 14px; border-left: 3px solid var(--corp-cyan); color: var(--corp-ink); font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.doc-article p { margin: 16px 0 0; color: #3d4a52; font-size: 15px; line-height: 1.95; word-break: normal; overflow-wrap: anywhere; }
.doc-article p small { color: var(--corp-slate); font-size: 12.5px; }
.doc-list { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: doc; }
.doc-list > li { position: relative; counter-increment: doc; padding: 14px 0 14px 44px; border-top: 1px solid var(--corp-line); color: #3d4a52; font-size: 15px; line-height: 1.9; }
.doc-list > li:last-child { border-bottom: 1px solid var(--corp-line); }
.doc-list > li::before { content: counter(doc, decimal-leading-zero); position: absolute; left: 0; top: 16px; color: var(--corp-blue); font-family: var(--corp-display); font-size: 14px; letter-spacing: .08em; }
.doc-list.is-titled > li b { display: block; color: var(--corp-ink); font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.doc-list.is-titled > li span { display: block; margin-top: 4px; }
.doc-bullets { margin: 14px 0 0; padding: 0; list-style: none; }
.doc-bullets li { position: relative; padding: 6px 0 6px 18px; color: #3d4a52; font-size: 15px; line-height: 1.85; }
.doc-bullets li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 1.5px; background: var(--corp-cyan); }
.doc-bullets.is-ng li::before { content: "×"; top: 6px; width: auto; height: auto; background: none; color: var(--corp-blue); font-weight: 800; }
.doc-links { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.doc-links a { color: var(--corp-blue); font-size: 14px; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; }
.doc-dl { margin: 18px 0 0; border-top: 1px solid var(--corp-line); }
.doc-dl > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--corp-line); }
.doc-dl dt { color: var(--corp-ink); font-size: 14px; font-weight: 800; padding-top: 2px; }
.doc-dl dd { margin: 0; color: #3d4a52; font-size: 14.5px; line-height: 1.85; word-break: normal; overflow-wrap: anywhere; }
.doc-sign { margin-top: 22px !important; text-align: right; color: var(--corp-ink) !important; font-size: 13.5px !important; font-weight: 700; line-height: 1.9 !important; }
.doc-contact { margin-top: 22px; padding: 20px 24px; border: 1px solid var(--corp-line); border-radius: 12px; background: var(--corp-mist); }
.doc-contact-title { margin: 0 !important; color: var(--corp-blue) !important; font-size: 13px !important; font-weight: 800; }
.doc-contact dl { margin: 8px 0 0; }
.doc-contact dl > div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 10px; padding: 6px 0; font-size: 14px; }
.doc-contact dt { color: var(--corp-slate); font-weight: 600; }
.doc-contact dd { margin: 0; font-weight: 700; }
.doc-contact a { color: var(--corp-blue); text-decoration: none; }
.doc-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 22px; }
.doc-marks img { height: 64px; width: auto; }

/* SDGs */

.sdg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(30px, 3.4vw, 46px); }
.sdg-item { position: relative; padding: 30px 30px 30px; border: 1px solid var(--corp-line); border-radius: 12px; background: #fff; overflow: hidden; }
.sdg-no { position: absolute; top: 16px; right: 22px; margin: 0; color: var(--corp-ice); font-family: var(--corp-display); font-size: 72px; font-weight: 500; line-height: 1; }
.sdg-tag { position: relative; margin: 0; color: var(--corp-cyan); font-family: var(--corp-display); font-size: 11px; letter-spacing: .16em; }
.sdg-item h3 { position: relative; margin: 10px 0 0; font-size: clamp(19px, 1.7vw, 24px); font-weight: 900; letter-spacing: -.03em; line-height: 1.35; }
.sdg-item > p:last-child { position: relative; margin: 12px 0 0; color: #3d4a52; font-size: 14px; line-height: 1.9; }

/* サービス */

.svc-tabs { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--corp-line); }
.svc-tabs > div { display: flex; gap: 4px; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.svc-tabs > div::-webkit-scrollbar { display: none; }
.svc-tabs a { flex: 0 0 auto; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 12px; border-bottom: 2px solid transparent; color: var(--corp-slate); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: color .2s ease, border-color .2s ease; }
.svc-tabs a span { font-family: var(--corp-display); font-size: 10px; font-weight: 500; letter-spacing: .12em; opacity: .7; }
.svc-tabs a:hover, .svc-tabs a[aria-current="page"] { color: var(--corp-ink); border-bottom-color: var(--corp-cyan); }
.svc-intro { padding-block: var(--pad-m); }
.svc-intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.svc-intro-text { margin: 0; color: var(--corp-ink); font-size: clamp(15px, 1.25vw, 18px); font-weight: 600; line-height: 2; word-break: auto-phrase; }
.svc-products { display: grid; gap: 16px; margin-top: clamp(30px, 3.4vw, 46px); }
.svc-product { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 3vw, 44px); padding: 24px; border: 1px solid var(--corp-line); border-radius: 12px; background: #fff; }
.svc-figure { position: relative; margin: 0; overflow: hidden; border-radius: 8px; background: var(--corp-ice); aspect-ratio: 16 / 10; }
.svc-figure img { width: 100%; height: 100%; object-fit: cover; }
.svc-copy { display: flex; flex-direction: column; min-width: 0; }
.svc-no { margin: 0; color: var(--corp-cyan); font-family: var(--corp-display); font-size: 11px; letter-spacing: .16em; }
.svc-copy h3 { margin: 8px 0 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 900; letter-spacing: -.035em; line-height: 1.3; }
.svc-catch { margin: 8px 0 0; color: var(--corp-blue); font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.svc-copy ul { margin: 14px 0 0; padding: 0; list-style: none; }
.svc-copy ul li { position: relative; padding: 7px 0 7px 16px; border-top: 1px solid var(--corp-line); color: #3d4a52; font-size: 13.5px; line-height: 1.8; word-break: auto-phrase; }
.svc-copy ul li::before { content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 1.5px; background: var(--corp-cyan); }
.svc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; color: var(--corp-ink); font-size: 13px; font-weight: 800; text-decoration: none; }
.svc-link i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--corp-ink); color: #fff; font-size: 12px; font-style: normal; transition: transform .3s cubic-bezier(.22,1,.36,1), background .25s ease; }
.svc-link:hover i { transform: translateX(4px); background: var(--corp-blue); }
.svc-note { margin: 16px 0 0; color: var(--corp-slate); font-size: 12.5px; }
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-card { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 28px 28px 26px; border: 1px solid var(--corp-line); border-radius: 12px; background: #fff; color: var(--corp-ink); text-decoration: none; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease; }
.svc-card:hover { transform: translateY(-4px); border-color: rgba(42,183,217,.6); box-shadow: 0 18px 40px rgba(15,59,88,.1); }
.svc-card > p:first-child { margin: 0; color: var(--corp-cyan); font-family: var(--corp-display); font-size: 11px; letter-spacing: .16em; }
.svc-card h2 { margin: 10px 0 0; font-size: clamp(22px, 2vw, 28px); font-weight: 900; letter-spacing: -.04em; }
.svc-card ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--corp-slate); font-size: 13px; line-height: 1.8; }
.svc-card ul li::before { content: "—"; margin-right: 6px; color: var(--corp-cyan); }
.svc-card b { position: absolute; right: 22px; bottom: 20px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--corp-ink); color: #fff; font-size: 14px; font-weight: 400; transition: transform .3s cubic-bezier(.22,1,.36,1), background .25s ease; }
.svc-card b i { font-style: normal; }
.svc-card:hover b { transform: translateX(4px); background: var(--corp-blue); }

@media (max-width: 1100px) {
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .svc-intro-grid { grid-template-columns: minmax(0, 1fr); }
  .office-grid, .mark-grid, .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-layout { grid-template-columns: minmax(0, 1fr); }
  .doc-toc { position: static; }
  .doc-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .doc-meta { display: flex; flex-wrap: wrap; gap: 6px 24px; }
}
@media (max-width: 860px) {
  .doc-hero.detail-hero-v2 { padding-top: 130px; padding-bottom: 48px; }
  .sdg-grid, .office-grid, .mark-grid, .svc-cards, .value-grid { grid-template-columns: minmax(0, 1fr); }
  .doc-toc ol { grid-template-columns: minmax(0, 1fr); }
  .doc-dl > div, .profile-table > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .doc-contact dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .svc-product { grid-template-columns: minmax(0, 1fr); padding: 18px; }
}

/* 文書ページ本文は文節折返しをやめ、行末を揃える（.detail-page の共通ルールより強く） */

.detail-page .doc-section .doc-article p, .detail-page .doc-section .doc-list > li, .detail-page .doc-section .doc-bullets li, .detail-page .doc-section .doc-dl dd, .detail-page .doc-section .doc-contact dd { word-break: normal; overflow-wrap: anywhere; line-break: strict; text-wrap: wrap; }
.detail-page .doc-hero .detail-hero-lead { word-break: normal; overflow-wrap: anywhere; }
.detail-page .page-hero .detail-hero-lead { word-break: normal; overflow-wrap: anywhere; max-width: 62ch; }
.detail-page .svc-copy ul li, .detail-page .svc-intro-text, .detail-page .office-addr, .detail-page .profile-table dd, .detail-page .sdg-item > p:last-child, .detail-page .mark-grid span { word-break: normal; overflow-wrap: anywhere; }

/* 新ページ 1巡目レビュー反映 */

.detail-page .doc-section .doc-article p, .detail-page .doc-section .doc-list > li, .detail-page .doc-section .doc-bullets li, .detail-page .doc-section .doc-dl dd { color: var(--corp-ink); font-size: 16px; line-height: 1.9; }
.doc-body { max-width: 40em; }
.doc-list > li { padding-left: 44px; }
.doc-list > li::before { top: 16px; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--corp-cyan); border-radius: 50%; color: var(--corp-blue); font-size: 11px; letter-spacing: .04em; }
.doc-toc li.is-contact a { color: var(--corp-blue); }
.doc-toc li.is-contact a span { color: var(--corp-blue); }
.doc-bullets li::before { background: var(--corp-cyan); }
.svc-kind { align-self: flex-start; margin-top: 10px; padding: 4px 10px; border: 1px solid rgba(42,183,217,.6); border-radius: 999px; background: var(--corp-ice); color: var(--corp-blue); font-size: 11.5px; font-weight: 800; }
.svc-card-issue { margin: 10px 0 0; color: var(--corp-ink); font-size: 13.5px; font-weight: 600; line-height: 1.7; }
.svc-card-issue span { display: block; color: var(--corp-cyan); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.svc-card ul { margin-top: 12px; }
.svc-link.is-sub { margin-top: 0; padding-top: 10px; color: var(--corp-blue); }
.svc-link.is-sub i { background: transparent; border: 1px solid rgba(0,105,170,.4); color: var(--corp-blue); }
.svc-copy .svc-link + .svc-link { margin-top: 0; }
.svc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; margin: clamp(30px, 3.4vw, 46px) 0 0; padding: 0; list-style: none; }
.svc-steps li { position: relative; padding: 18px 0 0; border-top: 2px solid var(--corp-line); }
.svc-steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 2px; background: var(--corp-cyan); }
.svc-steps span { color: var(--corp-cyan); font-family: var(--corp-display); font-size: 12px; letter-spacing: .14em; }
.svc-steps b { display: block; margin-top: 8px; font-size: 17px; font-weight: 900; letter-spacing: -.02em; }
.svc-steps p { margin: 8px 0 0; color: var(--corp-slate); font-size: 13.5px; line-height: 1.8; }
.service-page .detail-section > .detail-heading, .service-page .detail-section > .svc-intro-grid { scroll-margin-top: 96px; }
.detail-page .corp-kicker { font-size: 12.5px; }
@media (max-width: 1100px) { .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 860px) {
  .svc-steps { grid-template-columns: minmax(0, 1fr); }
}

/* 新ページ 1巡目レビュー反映（ビジュアル） */
.page-hero .detail-hero-photo::after { background: linear-gradient(100deg, rgba(6,29,73,.96) 0%, rgba(6,29,73,.92) 45%, rgba(6,29,73,.6) 100%); }
.page-hero.detail-hero::after, .detail-v2 .page-hero.detail-hero-v2::after { color: rgba(255,255,255,.05); mix-blend-mode: soft-light; }
.page-hero::before { opacity: .04; }
.detail-page .page-hero .detail-hero-lead, .detail-page .doc-hero .detail-hero-lead, .sdg-item > p:last-child, .mark-grid span, .svc-card-issue, .svc-intro-text, .svc-steps p, .value-grid p { word-break: auto-phrase; text-wrap: pretty; }
.doc-toc { top: 104px; }
.doc-toc li a { border-left: 2px solid transparent; padding-left: 10px; }
.doc-toc li a.is-active { box-shadow: none; border-left-color: var(--corp-cyan); background: var(--corp-ice); }
.doc-no { display: flex; align-items: center; gap: 10px; color: var(--corp-cyan); font-size: 14px; }
.doc-no::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.office-tag, .svc-no, .sdg-tag, .svc-card > p:first-child, .svc-tabs a span, .doc-toc li a span, .strength-col-kicker, .cases-index span, .case-tag { color: var(--corp-blue); }
.svc-tabs a span { opacity: .85; }
.doc-bullets li::before, .svc-copy ul li::before, .rev-flow article > ul li::before { height: 2px; top: calc(.5lh - 1px); }
.svc-intro-grid.is-single { grid-template-columns: minmax(0, 1fr); max-width: 880px; }
.sdg-no { color: rgba(42,183,217,.22); }
.sdg-item { transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .3s ease, box-shadow .3s ease; }
.sdg-item:hover { transform: translateY(-4px); border-color: rgba(42,183,217,.6); box-shadow: 0 18px 40px rgba(15,59,88,.1); }
@media (max-width: 860px) {
  .svc-tabs > div { mask-image: linear-gradient(90deg, #000 85%, transparent); scroll-padding-inline: 20px; }
  .sdg-no { font-size: 56px; } .sdg-item h3 { padding-right: 64px; }
}

/* ============================================================
   ヒーローの型をページの役割ごとに分ける
   A 写真全面（TOP・会社概要） / B 分割（スマートBPO） / C タイポ＋モチーフ（AI駆動開発・刷新）
   D 索引カード（事例） / E 明色タイポ（サービス一覧・SDGs・問い合わせ） / F コンパクト明色（サービス詳細） / G 文書（方針）
   ============================================================ */

/* --- B 分割: スマートBPO --- */

/* --- C タイポ＋モチーフ: AI駆動開発 --- */

/* --- C ゲージ: 基幹システム刷新 --- */

.hero-gauge.detail-hero-v2 { background: linear-gradient(160deg, #061d49 0%, #0b2f55 60%, var(--corp-deep) 100%); }
.hero-gauge::before { opacity: .07; }
.detail-v2 .hero-gauge.detail-hero-v2::after { display: none; }
.hero-gauge-card { position: relative; z-index: 2; justify-self: end; width: min(100%, 400px); padding: 24px 26px 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.05); backdrop-filter: blur(10px); color: #fff; }
.hero-gauge-card .hc-kicker { color: var(--corp-cyan-light); }
.hero-gauge-ring { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 18px; margin-top: 18px; }
.hero-gauge-ring::before { content: ""; width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(var(--corp-cyan) calc(var(--score, 50) * 1%), rgba(255,255,255,.12) 0); mask: radial-gradient(circle, transparent 36px, #000 37px); -webkit-mask: radial-gradient(circle, transparent 36px, #000 37px); }
.hero-gauge-ring b { position: absolute; left: 0; width: 96px; text-align: center; font-family: var(--corp-display); font-size: 30px; font-weight: 500; line-height: 1; }
.hero-gauge-ring b small { font-size: 11px; opacity: .6; }
.hero-gauge-ring > span { font-family: var(--corp-display); font-size: 12px; letter-spacing: .14em; opacity: .7; }
.hero-gauge-bars { margin: 18px 0 0; padding: 0; list-style: none; }
.hero-gauge-bars li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 2em; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 11.5px; font-weight: 600; }
.hero-gauge-bars i { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,.12); }
.hero-gauge-bars i b { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--corp-cyan-light), var(--corp-cyan)); transform-origin: left; }
.js .hero-gauge-bars i b { transform: scaleX(0); transition: transform 1s cubic-bezier(.22,1,.36,1) .9s; }
.js .is-loaded .hero-gauge-bars i b { transform: none; }
.hero-gauge-bars em { font-family: var(--corp-display); font-style: normal; font-size: 12px; text-align: right; }
.hero-gauge-verdict { margin: 16px 0 0; padding: 12px 14px; border-left: 3px solid var(--corp-cyan); background: rgba(255,255,255,.06); }
.hero-gauge-verdict span { display: block; color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: 10.5px; letter-spacing: .14em; }
.hero-gauge-verdict b { display: block; margin-top: 4px; font-size: 15px; font-weight: 800; }
.hero-gauge-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #fff; font-size: 12.5px; font-weight: 800; text-decoration: none; }
.hero-gauge-link i { font-style: normal; color: var(--corp-cyan-light); }
.hero-gauge .detail-hero-grid { align-items: center; }

/* --- E 明色タイポ: サービス一覧・SDGs・問い合わせ --- */

.hero-light.detail-hero-v2 { color: var(--corp-ink); background: linear-gradient(180deg, #e7f8fc 0%, #f2fbfd 70%, #fff 100%); }
.hero-light::before { opacity: .5; background-image: linear-gradient(rgba(0,105,170,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,105,170,.08) 1px, transparent 1px); mask-image: linear-gradient(90deg, #000, transparent 80%); }
.detail-v2 .hero-light.detail-hero-v2::after { color: transparent; -webkit-text-stroke: 1.5px rgba(42,183,217,.3); mix-blend-mode: normal; opacity: 1; right: -2vw; bottom: -.12em; font-size: clamp(150px, 20vw, 320px); }
.hero-light .detail-breadcrumb { color: var(--corp-slate); }
.hero-light .detail-breadcrumb a:hover { color: var(--corp-ink); }
.hero-light .corp-kicker { color: var(--corp-blue); }
.hero-light h1 { color: var(--corp-ink) !important; }
.hero-light h1 em { color: var(--corp-blue) !important; }
.hero-light .detail-hero-lead { color: var(--corp-slate); }
.hero-light .detail-hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 3vw, 40px); }
.hero-chips a { padding: 10px 18px; border: 1px solid rgba(0,105,170,.35); border-radius: 999px; color: var(--corp-ink); font-size: 13.5px; font-weight: 800; text-decoration: none; background: rgba(255,255,255,.7); transition: background .25s ease, color .25s ease, border-color .25s ease; }
.hero-chips a:hover { background: var(--corp-ink); border-color: var(--corp-ink); color: #fff; }
.sdgs-page .sdg-section { padding-top: var(--pad-m); }

/* --- F コンパクト明色: サービス詳細 --- */
.service-page .svc-tabs { border-top: 1px solid var(--corp-line); }

/* --- 問い合わせ --- */

.hero-contact.detail-hero-v2 { padding-bottom: clamp(40px, 5vh, 64px); }
.contact-section { padding-top: var(--pad-s); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .8fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact-form { padding: clamp(26px, 3vw, 40px); border: 1px solid var(--corp-line); border-radius: 16px; background: #fff; box-shadow: 0 30px 70px rgba(6,29,73,.08); }
.contact-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.contact-form legend, .cf-field > span { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--corp-ink); font-size: 13.5px; font-weight: 800; }
.contact-form legend span, .cf-field > span i { padding: 1px 7px; border-radius: 4px; background: var(--corp-blue); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 800; letter-spacing: .04em; }
.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chips label { position: relative; }
.cf-chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cf-chips span { display: inline-block; padding: 10px 16px; border: 1px solid var(--corp-line); border-radius: 999px; color: var(--corp-ink); font-size: 13.5px; font-weight: 700; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.cf-chips input:checked + span { background: var(--corp-ink); border-color: var(--corp-ink); color: #fff; }
.cf-chips input:focus-visible + span { outline: 2px solid var(--corp-cyan); outline-offset: 2px; }
.cf-kind.is-invalid legend, .cf-field.is-invalid > span, .cf-agree.is-invalid span { color: #c2410c; }
.cf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; margin-top: 26px; }
.cf-field { display: flex; flex-direction: column; min-width: 0; }
.cf-field.is-wide { grid-column: 1 / -1; }
.cf-field input, .cf-field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--corp-line); border-radius: 8px; background: var(--corp-mist); color: var(--corp-ink); font: inherit; font-size: 15px; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.cf-field textarea { resize: vertical; min-height: 150px; line-height: 1.8; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--corp-cyan); background: #fff; box-shadow: 0 0 0 3px rgba(42,183,217,.2); }
.cf-field.is-invalid input, .cf-field.is-invalid textarea { border-color: #c2410c; background: #fff7f3; }
.cf-agree { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13.5px; font-weight: 600; }
.cf-agree input { width: 18px; height: 18px; margin: 0; accent-color: var(--corp-cyan); }
.cf-agree a { color: var(--corp-blue); }
.cf-error { margin: 14px 0 0; padding: 10px 14px; border-radius: 8px; background: #fff1eb; color: #c2410c; font-size: 13px; font-weight: 700; }
.cf-submit { margin-top: 22px; min-width: 240px; }
.cf-note { margin: 14px 0 0; color: var(--corp-slate); font-size: 12.5px; line-height: 1.8; }
.contact-done { padding: clamp(26px, 3vw, 40px); border: 1px solid rgba(42,183,217,.5); border-radius: 16px; background: var(--corp-ice); }
.contact-done h2 { margin: 10px 0 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 900; letter-spacing: -.03em; }
.contact-done p:not(.corp-kicker) { margin: 12px 0 0; color: var(--corp-slate); font-size: 15px; line-height: 1.9; }
.contact-done .renewal-textlink { margin-top: 20px; }
.contact-side { display: flex; flex-direction: column; gap: 14px; }
.contact-card { padding: 24px 26px; border: 1px solid var(--corp-line); border-radius: 12px; background: var(--corp-mist); }
.contact-card.is-sub { background: #fff; }
.contact-card p:not(.corp-kicker) { margin: 10px 0 0; color: var(--corp-slate); font-size: 13px; line-height: 1.8; }
.contact-tel { display: inline-block; margin-top: 8px; color: var(--corp-ink); font-family: var(--corp-display); font-size: clamp(28px, 2.6vw, 36px); font-weight: 500; letter-spacing: .02em; text-decoration: none; }
.contact-steps { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: cs; }
.contact-steps li { position: relative; counter-increment: cs; padding: 10px 0 10px 34px; border-top: 1px solid var(--corp-line); }
.contact-steps li::before { content: counter(cs, decimal-leading-zero); position: absolute; left: 0; top: 12px; color: var(--corp-blue); font-family: var(--corp-display); font-size: 12px; letter-spacing: .08em; }
.contact-steps b { display: block; font-size: 14px; font-weight: 800; }
.contact-steps span { display: block; margin-top: 2px; color: var(--corp-slate); font-size: 12.5px; line-height: 1.7; }
.contact-links { margin: 10px 0 0; padding: 0; list-style: none; }
.contact-links li { padding: 8px 0; border-top: 1px solid var(--corp-line); font-size: 13.5px; font-weight: 700; }
.contact-links a { color: var(--corp-blue); text-decoration: none; }
@media (max-width: 1100px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .cf-grid { grid-template-columns: minmax(0, 1fr); } .hero-gauge-card { justify-self: stretch; max-width: none; } }

/* 改行監査の反映: 見出し・キャッチは2行で均等に割る。数字帯の崩れを直す */

.detail-page h3, .detail-page .svc-catch, .detail-page .strength-svc-catch, .detail-page .dx2-tiles b, .detail-page .rev-points b, .detail-page .svc-steps b, .detail-page .contact-steps b { text-wrap: balance; }

/* ============================================================
   TOP 文言・構成の修正（OUR STRENGTH 1行見出し / 土台にFDEを統合 / 事例カード / 点灯の明るさ）
   ============================================================ */

@media (min-width: 861px) { .corp-strength-title { white-space: nowrap; } }
.strength-col-desc.brk > span { display: block; }
.strength-col-desc { max-width: none; }
.strength-svc-text.brk > span { display: block; }
.strength-bridge-lead.brk > span { display: block; }
.strength-bridge { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head list" "steps steps"; row-gap: 32px; }
.strength-bridge-head { grid-area: head; }
.strength-bridge-list { grid-area: list; }
.strength-bridge-list li, .strength-bridge-list li:first-child, .strength-bridge-list li + li { grid-template-columns: 2.2em minmax(0, 1fr); grid-template-areas: "no b" "no small"; column-gap: 12px; row-gap: 2px; }
.strength-bridge-list > li > span[lang] { grid-area: no; display: block; padding-top: 4px; }
.strength-bridge-list b { grid-area: b; white-space: normal; text-wrap: balance; }
.strength-bridge-list small { grid-area: small; }
.bridge-steps { grid-area: steps; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 26px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.14); position: relative; }
.bridge-steps::before { content: "HOW WE WORK"; position: absolute; top: -8px; left: 0; padding-right: 12px; background: #0b2f55; color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: 11px; letter-spacing: .16em; }
.bridge-steps li { position: relative; display: flex; flex-direction: column; padding: 18px 18px 18px; border-radius: 12px; background: #fff; color: var(--corp-ink); }
.bridge-steps li + li::before { content: ""; position: absolute; left: -11px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid var(--corp-cyan-light); border-right: 1.5px solid var(--corp-cyan-light); transform: translateY(-50%) rotate(45deg); }
.bridge-steps img { width: min(100%, 180px); height: auto; margin: 0 auto; }
.bridge-steps li > span { margin-top: 10px; color: var(--corp-blue); font-family: var(--corp-display); font-size: 11px; letter-spacing: .12em; }
.bridge-steps b { margin-top: 4px; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.bridge-steps small { margin-top: 4px; color: var(--corp-slate); font-size: 12px; line-height: 1.7; }
.corp-proof { padding-top: var(--pad-s); }
.corp-creed-lead.is-lit-ready .w { opacity: clamp(0.7, calc((var(--p, 0) - var(--i, 0)) * 6 + 0.7), 1); }

/* 未活用の経営資源: タイルを大きく、番号を輪郭文字に */

.dx2-tiles li { min-height: 232px; padding: 28px 28px 26px; border-top: 3px solid var(--corp-cyan); border-radius: 0 0 16px 16px; }
.dx2-icon { width: 44px; height: 44px; padding: 10px; box-sizing: content-box; border-radius: 50%; background: var(--corp-ice); }
.dx2-no { top: 22px; right: 24px; color: transparent; -webkit-text-stroke: 1px rgba(0,105,170,.4); font-size: 40px; letter-spacing: 0; }
.dx2-tiles b { font-size: clamp(18px, 1.5vw, 22px); }
.dx2-tiles p { font-size: clamp(13px, 1.05vw, 14.5px); }
/* 事例カード */
@media (max-width: 1100px) {
  .strength-bridge { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "list" "steps"; }
  .bridge-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bridge-steps li:nth-child(3)::before { display: none; }
}
@media (max-width: 860px) {
  .strength-bridge { background: transparent; }
  .bridge-steps::before { background: #061d49; }
  .strength-bridge-list li, .strength-bridge-list li:first-child, .strength-bridge-list li + li { grid-template-columns: 2.2em minmax(0, 1fr); }
  .strength-bridge-list > li > span[lang] { display: block; }
  .strength-bridge-list b { display: block; }
}
@media (max-width: 620px) { .bridge-steps { grid-template-columns: minmax(0, 1fr); } .bridge-steps li + li::before { display: none; } .dx2-tiles li { min-height: 0; } }

.bridge-steps small, .strength-bridge-list small, .dx2-tiles p { word-break: auto-phrase; text-wrap: pretty; }
.strength-bridge-list .nw, .bridge-steps .nw { display: inline; }

/* 経営資源タイル: モバイルはアイコン＋文章の2列グリッド（見出しが縦に割れていた） */

@media (max-width: 860px) {
  .dx2-tiles li { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "icon b" "icon p"; column-gap: 16px; row-gap: 4px; align-items: start; min-height: 0; padding: 20px 20px 20px; }
  .dx2-tiles .dx2-icon { grid-area: icon; width: 30px; height: 30px; padding: 11px; }
  .dx2-tiles b { grid-area: b; margin: 0; padding: 4px 56px 0 0; }
  .dx2-tiles p { grid-area: p; margin: 0; }
  .dx2-no { top: 16px; right: 18px; font-size: 28px; }
}

.dx2-tiles b .nw { display: inline; }

/* 事例カード v2: 経緯 → 運用で見えたこと → 打ち手 → 結果 */

/* ============================================================
   会社概要 v2 / サービス v2 / ヒーロー整理
   ============================================================ */

.hero-nolead .detail-hero-copy { max-width: none; }
.hero-nolead h1 { font-size: clamp(34px, 4.6vw, 66px) !important; white-space: nowrap; }
@media (max-width: 1100px) { .hero-nolead h1 { white-space: normal; } }
.hero-oneline h1 { white-space: nowrap; font-size: clamp(34px, 4.8vw, 68px) !important; }
@media (max-width: 1100px) { .hero-oneline h1 { white-space: normal; } }
.hero-oneline .detail-hero-lead br { display: inline; }
@media (max-width: 1100px) { .hero-oneline .detail-hero-lead br { display: none; } }
.hero-oneline .detail-hero-lead { max-width: none; }

/* AI駆動開発: パネルの代わりに光の球 */
@keyframes orb { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: .6; } }

/* 代表挨拶 */

.message-section .detail-heading h2 { font-size: var(--fs-section); }
.message-layout { display: grid; grid-template-columns: minmax(280px, .62fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; margin-top: clamp(30px, 3.4vw, 46px); }
.message-photo { position: sticky; top: 112px; margin: 0; overflow: hidden; border-radius: 16px; }
.message-photo img { width: 100%; height: auto; }
.message-catch { margin: 0; color: var(--corp-blue); font-size: clamp(20px, 1.9vw, 27px); font-weight: 900; letter-spacing: -.035em; line-height: 1.45; }
.message-body > p:not(.message-catch):not(.message-em):not(.message-note) { margin: 18px 0 0; color: #3d4a52; font-size: 15px; line-height: 2; word-break: normal; overflow-wrap: anywhere; }
.message-em { margin: 24px 0 0; padding: 16px 20px; border-left: 3px solid var(--corp-cyan); background: var(--corp-ice); color: var(--corp-ink); font-size: 16px; font-weight: 800; line-height: 1.9; }
.message-sign { display: flex; align-items: flex-end; justify-content: flex-end; gap: 16px; margin-top: 26px; }
.message-sign span { padding-bottom: 10px; color: var(--corp-slate); font-size: 13px; font-weight: 700; }
.message-sign img { width: 180px; height: auto; }
.message-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--corp-line); color: var(--corp-slate); font-size: 12.5px; line-height: 1.9; word-break: normal; overflow-wrap: anywhere; }

/* 会社概要表 */

.profile-list { margin: 0; padding: 0; list-style: none; }
.profile-list li { position: relative; padding: 2px 0 2px 16px; }
.profile-list li::before { content: "・"; position: absolute; left: 0; }
.profile-list.is-officers li { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 10px; padding-left: 0; }
.profile-list.is-officers li::before { content: none; }
.profile-list.is-officers li > span:first-child { color: var(--corp-slate); font-weight: 600; }
.group-block { margin-top: clamp(30px, 3.4vw, 46px); }
.group-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.group-banners a { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 20px; padding: 14px 20px 14px 14px; border: 1px solid var(--corp-line); border-radius: 12px; background: #fff; color: var(--corp-ink); text-decoration: none; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease; }
.group-banners a:hover { transform: translateY(-3px); border-color: rgba(42,183,217,.6); box-shadow: 0 18px 40px rgba(15,59,88,.1); }
.group-banners img { width: 100%; height: auto; border-radius: 6px; }
.group-banners span { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.group-banners small { display: block; margin-top: 4px; color: var(--corp-slate); font-size: 12.5px; font-weight: 500; }

/* 拠点 */

.office { padding: 0; overflow: hidden; }
.office figure { margin: 0; aspect-ratio: 560 / 300; overflow: hidden; background: var(--corp-ice); }
.office figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.office:hover figure img { transform: scale(1.04); }
.office figure.is-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #e7f8fc, #d4f0f8); background-image: linear-gradient(rgba(0,105,170,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,105,170,.08) 1px, transparent 1px), linear-gradient(135deg, #e7f8fc, #d4f0f8); background-size: 28px 28px, 28px 28px, 100% 100%; }
.office figure.is-placeholder span { color: rgba(0,105,170,.35); font-family: var(--corp-display); font-size: 28px; letter-spacing: .14em; }
.office-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 20px; }
.office:first-child { background: #fff; border-color: var(--corp-line); }
.office:first-child .office-tag { color: var(--corp-cyan); }
.gmap { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 8px 14px 8px 10px; align-self: flex-start; border: 1px solid var(--corp-line); border-radius: 999px; background: #fff; color: var(--corp-ink); font-size: 12.5px; font-weight: 700; text-decoration: none; transition: border-color .25s ease, box-shadow .25s ease; margin-top: 14px; }
.gmap svg { width: 18px; height: 18px; }
.gmap:hover { border-color: rgba(26,115,232,.5); box-shadow: 0 6px 16px rgba(26,115,232,.15); }
.office > a { display: none; }

/* Vision / Mission / Value */

.vm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(30px, 3.4vw, 46px); }
.vm-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 22px; padding: 26px; border-radius: 16px; background: #fff; color: var(--corp-ink); }
.vm-card figure { display: grid; place-items: center; margin: 0; }
.vm-card figure img { width: 100%; max-width: 160px; height: auto; }
.vm-card > div > p[lang] { margin: 0; color: var(--corp-blue); font-family: var(--corp-display); font-size: 13px; letter-spacing: .14em; }
.vm-card > div > p[lang] span { margin-left: 10px; color: var(--corp-slate); font-family: var(--corp-sans); font-size: 12px; font-weight: 700; letter-spacing: 0; }
.vm-card h3 { margin: 10px 0 0; font-size: clamp(18px, 1.6vw, 23px); font-weight: 900; letter-spacing: -.035em; line-height: 1.45; }
.vm-card .vm-sub { margin: 8px 0 0; color: var(--corp-blue); font-size: 14.5px; font-weight: 800; }
.vm-card > div > p:not([lang]):not(.vm-sub) { margin: 10px 0 0; color: #3d4a52; font-size: 14px; line-height: 1.9; }
.vm-card small { display: block; margin-top: 8px; color: var(--corp-slate); font-size: 11.5px; line-height: 1.7; }
.value-head { margin-top: 40px; }
.value-head p { margin: 0; color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: 13px; letter-spacing: .14em; }
.value-head p span { margin-left: 10px; color: rgba(255,255,255,.7); font-family: var(--corp-sans); font-size: 12px; font-weight: 700; letter-spacing: 0; }
.value-head h3 { margin: 10px 0 0; font-size: clamp(20px, 1.9vw, 28px); font-weight: 900; letter-spacing: -.035em; line-height: 1.4; }
.value-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.value-grid li { display: flex; flex-direction: column; padding: 22px 22px 24px; border: 0; border-radius: 16px; background: #fff; color: var(--corp-ink); }
.value-grid li img { width: 120px; height: auto; margin: 0 auto 8px; }
.value-grid b { color: var(--corp-ink); }
.value-grid span { color: var(--corp-blue); }
.value-grid p { color: #3d4a52; }

/* 認証 */

.cert-isms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 3vw, 48px); align-items: center; margin-top: clamp(30px, 3.4vw, 46px); padding: 26px; border: 1px solid var(--corp-line); border-radius: 16px; background: #fff; }
.cert-isms figure { margin: 0; }
.cert-isms figure img { width: 100%; height: auto; }
.cert-isms h3 { margin: 10px 0 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 900; letter-spacing: -.035em; }
.cert-isms p:not(.corp-kicker) { margin: 10px 0 0; color: #3d4a52; font-size: 14px; line-height: 1.9; }
.cert-isms .renewal-textlink { margin-top: 16px; }
#certs .mark-grid { margin-top: 16px; }

/* 沿革: 縦のタイムライン（古い順） */

.timeline { position: relative; margin-top: 36px; }
.tl-era { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0 32px; scroll-margin-top: 110px; }
.tl-era h3 { position: sticky; top: 110px; align-self: start; margin: 0; padding: 22px 0 32px; color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: clamp(40px, 4.4vw, 64px); font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.tl-era h3 small { font-size: .45em; letter-spacing: .06em; }
.tl-era ol { position: relative; margin: 0; padding: 12px 0 28px 36px; list-style: none; }
.tl-era ol::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 1px; background: linear-gradient(rgba(50,203,230,.6), rgba(50,203,230,.15)); }
.tl-era li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 12px 0 14px; }
.tl-era li::before { content: ""; position: absolute; left: -33px; top: 20px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--corp-cyan-light); background: var(--corp-deep); }
.tl-era li:first-child::before { background: var(--corp-cyan); box-shadow: 0 0 0 5px rgba(42,183,217,.2); }
.tl-era time { font-family: var(--corp-display); font-size: 17px; letter-spacing: .04em; color: #fff; }
.tl-era p { margin: 0; color: rgba(255,255,255,.84); font-size: 13.5px; line-height: 1.85; word-break: normal; overflow-wrap: anywhere; }
.tl-era + .tl-era { border-top: 1px solid rgba(255,255,255,.12); }

/* サービス一覧カード（画像つき） */

.svc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-card { padding: 0; min-height: 0; overflow: hidden; }
.svc-card figure { margin: 0; aspect-ratio: 16 / 8; overflow: hidden; background: var(--corp-ice); }
.svc-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.svc-card:hover figure img { transform: scale(1.04); }
.svc-card figure.is-gauge { display: grid; grid-template-rows: 1fr auto; place-items: center; background: linear-gradient(160deg, #061d49, #0b2f55); color: #fff; padding: 18px 0 14px; }
.svc-card figure.is-gauge .ring { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(var(--corp-cyan) calc(var(--score) * 1%), rgba(255,255,255,.14) 0); }
.svc-card figure.is-gauge .ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #0b2f55; }
.svc-card figure.is-gauge .ring b { position: relative; font-family: var(--corp-display); font-size: 26px; font-weight: 500; }
.svc-card figure.is-gauge i { font-family: var(--corp-display); font-size: 10px; letter-spacing: .16em; font-style: normal; opacity: .7; }
.svc-card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.svc-card-body > p:first-child { margin: 0; color: var(--corp-blue); font-family: var(--corp-display); font-size: 11px; letter-spacing: .16em; }
.svc-card-body h2 { margin: 8px 0 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 900; letter-spacing: -.04em; }
.svc-card-body .svc-kind { margin-top: 8px; }
.svc-card-body ul { margin: 12px 0 0; padding: 0 44px 0 0; }
.svc-card-body b { right: 18px; bottom: 18px; }

/* サービス詳細ヒーロー: キービジュアルを右に */

.hero-service .detail-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero-kv { position: relative; margin: 0; overflow: hidden; border-radius: 16px; box-shadow: 0 30px 70px rgba(6,29,73,.16); }
.hero-kv img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-kv figcaption { position: absolute; left: 14px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(6,29,73,.7); color: #fff; font-family: var(--corp-display); font-size: 10px; letter-spacing: .14em; }
.js .hero-kv { clip-path: inset(0 0 0 100% round 16px); transition: clip-path 1.1s cubic-bezier(.65,0,.2,1) .35s; }
.js .is-loaded .hero-kv { clip-path: inset(0 round 16px); }
.detail-v2 .hero-service.detail-hero-v2::after { display: none; }

@media (max-width: 1100px) {
  .message-layout { grid-template-columns: minmax(0, 1fr); }
  .message-photo { position: static; max-width: 420px; }
  .vm-grid, .group-banners { grid-template-columns: minmax(0, 1fr); }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-isms { grid-template-columns: minmax(0, 1fr); }
  .tl-era { grid-template-columns: minmax(0, 1fr); }
  .tl-era h3 { position: static; padding: 22px 0 6px; }
  .hero-service .detail-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .vm-card { grid-template-columns: minmax(0, 1fr); }
  .vm-card figure img { max-width: 120px; }
  .value-grid, .svc-cards { grid-template-columns: minmax(0, 1fr); }
  .group-banners a { grid-template-columns: 140px minmax(0, 1fr); gap: 14px; }
  .profile-list.is-officers li { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .message-sign img { width: 150px; }
  .tl-era li { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
}

/* サービス一覧: 7枚目（自社IP）は横長で全幅 */

@media (min-width: 1101px) {
  .svc-cards > a:nth-child(7) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .svc-cards > a:nth-child(7) figure { aspect-ratio: auto; height: 100%; min-height: 300px; }
}

/* ============================================================
   ブラッシュアップ: TOP / 会社概要 / AI駆動開発 / スマートBPO
   ============================================================ */

.is-oneline { white-space: nowrap; }
@media (max-width: 1100px) { .is-oneline { white-space: normal; } }
.dx-dig-title.is-oneline { font-size: clamp(22px, 2.1vw, 30px); }
.strength-svc-more { align-self: flex-end; }

/* 会社概要 */

.hero-nolead.detail-hero-v2 { padding-top: clamp(140px, 17vh, 176px); padding-bottom: clamp(56px, 8vh, 88px); }
.hero-nolead .detail-breadcrumb { margin-bottom: 34px; }
.group-banners a { grid-template-columns: 240px minmax(0, 1fr); min-height: 128px; padding: 18px 24px 18px 18px; }
.group-banners img { aspect-ratio: 429 / 129; object-fit: contain; background: #fff; }
.office figure.is-placeholder { background: #fff; border-bottom: 1px solid var(--corp-line); }
.office figure.is-placeholder img { width: 150px; height: auto; object-fit: contain; opacity: .9; }
.office figure.is-placeholder span { display: none; }
.cert-facts { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--corp-line); }
.cert-facts li { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--corp-line); font-size: 13px; line-height: 1.7; color: var(--corp-ink); }
.cert-facts li span { color: var(--corp-blue); font-weight: 800; }
#certs .mark-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#certs .mark-grid li { grid-template-columns: 128px minmax(0, 1fr); column-gap: 24px; padding: 24px 26px; }
#certs .mark-grid figure { width: 128px; height: 96px; }
#certs .mark-grid img { max-width: 128px; max-height: 88px; }
#certs .mark-grid b { font-size: 16px; }
#certs .mark-grid span { font-size: 13.5px; margin-top: 8px; }
.tl-era li ul { margin: 0; padding: 0; list-style: none; }
.tl-era li ul li { position: relative; display: block; padding: 2px 0 2px 14px; color: rgba(255,255,255,.84); font-size: 13.5px; line-height: 1.8; }
.tl-era li ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 1.5px; background: var(--corp-cyan-light); border: 0; border-radius: 0; box-shadow: none; }
.tl-era li ul li:first-child::before { background: var(--corp-cyan-light); }
.tl-era li > p { margin: 0; }

/* 共通アイコン */

.mt-ico, .stack-ico { display: block; width: 26px; height: 26px; padding: 11px; box-sizing: content-box; border-radius: 50%; color: var(--corp-blue); background: var(--corp-ice); }
.friction-grid article { display: flex; flex-direction: column; min-height: 0; padding: 28px 28px 26px; background: #fff; }
.friction-grid article::after { display: none; }
.friction-grid span { order: -1; margin-bottom: 14px; }
.friction-grid h3 { margin: 0 0 10px; font-size: 21px; }
.friction-grid p { font-size: 14px; }

/* AI駆動開発: ヒーローの軌道 */
@keyframes spin { to { transform: rotate(360deg); } }

/* レイヤーの積層 */

.stack { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; margin-top: clamp(30px, 3.4vw, 46px); }
.stack-axis { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; margin: 0; color: var(--corp-blue); font-family: var(--corp-display); font-size: 11px; letter-spacing: .14em; }
.stack-axis span { writing-mode: vertical-rl; color: var(--corp-slate); font-family: var(--corp-sans); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.stack-axis i { flex: 1; width: 2px; margin: 10px 0; background: linear-gradient(var(--corp-cyan), rgba(0,105,170,.2)); position: relative; }
.stack-axis i::before { content: ""; position: absolute; top: -2px; left: 50%; width: 10px; height: 10px; border-left: 2px solid var(--corp-cyan); border-top: 2px solid var(--corp-cyan); transform: translateX(-50%) rotate(45deg); }
.stack-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.stack-layer { position: relative; display: grid; grid-template-columns: 48px 110px 150px minmax(0, 1fr); align-items: center; column-gap: 24px; width: calc(100% - var(--n) * 7%); margin: 0 auto; padding: 22px 30px; border: 1px solid var(--corp-line); border-radius: 12px; background: #fff; box-shadow: 0 18px 40px -18px rgba(6,29,73,.25); z-index: calc(4 - var(--n)); }
.stack-layer + .stack-layer { margin-top: -8px; }
.stack-layer::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 2px; background: var(--corp-cyan); opacity: calc(.35 + var(--n) * .2); }
.stack-layer:last-child { background: linear-gradient(135deg, #0b2f55, var(--corp-ink)); color: #fff; border-color: transparent; }
.stack-layer:last-child .stack-ico { background: rgba(255,255,255,.1); color: var(--corp-cyan-light); }
.stack-layer:last-child h3 { color: #fff; } .stack-layer:last-child p { color: rgba(255,255,255,.78); } .stack-layer:last-child .stack-no { color: rgba(255,255,255,.6); }
.stack-ico { width: 22px; height: 22px; padding: 12px; }
.stack-no { color: var(--corp-slate); font-family: var(--corp-display); font-size: 11px; letter-spacing: .14em; }
.stack-layer b { color: var(--corp-blue); font-family: var(--corp-display); font-size: 22px; font-weight: 500; letter-spacing: .02em; }
.stack-layer:last-child b { color: var(--corp-cyan-light); }
.stack-layer h3 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.stack-layer p { margin: 0; color: var(--corp-slate); font-size: 13px; line-height: 1.75; }
@media (max-width: 1100px) { .stack { grid-template-columns: minmax(0, 1fr); } .stack-axis { display: none; } .stack-layer { width: calc(100% - var(--n) * 4%); grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "ico no" "ico b" "ico h3" "ico p"; row-gap: 2px; } .stack-layer .stack-no { grid-area: no; } .stack-layer b { grid-area: b; } .stack-layer h3 { grid-area: h3; } .stack-layer p { grid-area: p; } .stack-ico { grid-area: ico; align-self: start; } }
@media (max-width: 620px) { .stack-layer { width: 100%; } .stack-layer + .stack-layer { margin-top: 10px; } }

/* 証跡の鎖 */

.ev { margin-top: clamp(30px, 3.4vw, 46px); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--corp-line); border-radius: 16px; background: #fff; }
.ev-chain { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ev-chain::before { content: ""; position: absolute; left: 12%; right: 12%; top: 62px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--corp-cyan-light), var(--corp-blue)); }
.ev-chain li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ev-node { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-top: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--corp-cyan); color: var(--corp-blue); }
.ev-chain li:last-child .ev-node { background: var(--dx-navy, #061d49); border-color: var(--dx-navy, #061d49); color: #fff; box-shadow: 0 0 0 8px rgba(6,29,73,.08); }
.ev-ico { width: 26px; height: 26px; }
.ev-chain b { margin-top: 14px; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.ev-chain small { margin-top: 4px; color: var(--corp-slate); font-size: 12.5px; }
.ev-caption { display: flex; align-items: center; gap: 14px; margin: 26px 0 0; padding: 14px 18px; border-radius: 10px; background: var(--corp-ice); color: var(--corp-ink); font-size: 13.5px; font-weight: 700; }
.ev-caption span { color: var(--corp-blue); font-family: var(--corp-display); font-size: 11px; letter-spacing: .14em; white-space: nowrap; }
.ev-ctrl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.ev-ctrl li { padding: 14px 16px; border-top: 2px solid var(--corp-line); color: var(--corp-slate); font-size: 13px; line-height: 1.75; }
.ev-ctrl li span { display: block; margin-bottom: 4px; color: var(--corp-blue); font-family: var(--corp-display); font-size: 11px; letter-spacing: .14em; }
@media (max-width: 860px) { .ev-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ev-chain::before { display: none; } .ev-ctrl { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ev-caption { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* 受託 / ラボ: 両極 */

/* 開発範囲 */

.scope-grid { margin-top: clamp(30px, 3.4vw, 46px); }
.scope-grid article { min-height: 0; padding: 26px 28px 24px; border-radius: 12px; background: #fff; }
.scope-grid article > span { display: block; }
.scope-grid h3 { margin: 8px 0 14px; font-size: 20px; }

/* 指標 */

.mt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(30px, 3.4vw, 46px); }
.mt-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 72px; grid-template-areas: "ico spark" "en spark" "h3 spark" "p small"; column-gap: 16px; padding: 22px 24px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.04); color: #fff; }
.mt-ico { grid-area: ico; width: 20px; height: 20px; padding: 10px; background: rgba(255,255,255,.08); color: var(--corp-cyan-light); margin-bottom: 14px; }
.mt-card > span { grid-area: en; color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: 11px; letter-spacing: .14em; }
.mt-card h3 { grid-area: h3; margin: 6px 0 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.mt-card p { grid-area: p; margin: 6px 0 0; color: rgba(255,255,255,.72); font-size: 12.5px; line-height: 1.7; }
.mt-card small { grid-area: small; align-self: end; justify-self: end; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 10.5px; font-weight: 800; }
@media (max-width: 1100px) { .mt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .mt-grid { grid-template-columns: minmax(0, 1fr); } }

/* スマートBPO */

/* ---- brush-up fixes (round 2) ---- */

.is-oneline { white-space: nowrap !important; text-wrap: nowrap !important; }
@media (max-width: 1100px) { .is-oneline { white-space: normal !important; text-wrap: balance !important; } }
.dx2-block-head:has(.is-oneline) { grid-template-columns: minmax(0, 1fr); align-items: start; }
.stack-layer { grid-template-columns: 48px 88px 170px 190px minmax(0, 1fr); }
.stack-layer p { text-wrap: pretty; }
@media (max-width: 1100px) { .stack-layer { grid-template-columns: 48px minmax(0, 1fr); } }
.hero-nolead.detail-hero-v2 { padding-top: clamp(150px, 18vh, 190px); padding-bottom: clamp(104px, 13vh, 136px); }
.tl-era li ul li:first-child::before { width: 6px; height: 1.5px; border: 0; border-radius: 0; box-shadow: none; background: var(--corp-cyan-light); }

/* ---- BPO artifact / control cards: tighten rhythm, number as a tag ---- */

/* ---- company profile: breathing room between heading and table ---- */

#profile .profile-table { margin-top: clamp(36px, 4vw, 52px); }

/* ---- AI OPERATIONS CONTROL: larger icons, card separation, legible metrics strip ---- */

/* ============================================================
   事業下層（AI駆動開発 / スマートBPO）: TOPの文法で再構成
   ============================================================ */

.biz-page { --dx-navy: #061d49; --dx-line: rgba(24,184,232,.34); --dx-text: #17365f; --dx-muted: #58708d; --dx-panel: #eaf8fd; background: #fff; }
.biz-page .corp-header { top: 18px; }

/* ---- hero: 明るい分割型（TOPの写真ヒーローと同じトーン） ---- */

.biz-hero { position: relative; display: grid; align-content: center; min-height: 100svh; padding: clamp(150px, 18vh, 200px) var(--gutter) clamp(56px, 7vh, 88px); overflow: hidden; background: linear-gradient(180deg, #e7f8fc 0%, #f3fbfd 55%, #fff 100%); }
.biz-hero::before { content: ""; position: absolute; inset: auto -10% -30% 40%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(42,183,217,.16), rgba(42,183,217,0)); pointer-events: none; }
.biz-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); align-items: center; gap: clamp(32px, 5vw, 96px); width: var(--corp-page); max-width: 100%; margin: 0 auto; }
.biz-crumb { display: flex; gap: 10px; margin: 0 0 30px; color: rgba(39,48,56,.55); font-size: 12px; font-weight: 600; }
.biz-crumb a { color: inherit; text-decoration: none; }
.biz-crumb a:hover { color: var(--corp-ink); }
.biz-hero .corp-eyebrow { margin-bottom: 18px; }
.biz-hero-title { margin: 0; color: var(--corp-ink); font-size: clamp(40px, 5.6vw, 80px); font-weight: 900; font-feature-settings: "palt"; letter-spacing: -.06em; line-height: 1.06; }
.biz-hero-title > span { display: block; }
.biz-hero-title em { color: var(--corp-blue); font-style: normal; }
.biz-hero-lead { max-width: 34em; margin: clamp(22px, 3vh, 32px) 0 0; color: var(--corp-slate); font-size: clamp(14px, 1.05vw, 17px); font-weight: 600; line-height: 2; word-break: auto-phrase; }
.biz-hero .hero3-tags { margin-top: 26px; }
.biz-hero .hero3-tags a { background: rgba(255,255,255,.72); backdrop-filter: blur(6px); }
.biz-hero .hero3-tags a:hover { background: var(--corp-ink); }
.biz-hero-visual { position: relative; justify-self: end; width: min(100%, 460px); margin: 0; }
.biz-hero-visual.is-wide { width: min(100%, 560px); }
.biz-hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: 0 44px 90px -34px rgba(6,29,73,.45); }
.biz-hero-visual.is-wide img { aspect-ratio: 7 / 5; }
.biz-hero-visual::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border: 1px solid rgba(42,183,217,.35); border-radius: 20px; }
.biz-hero-visual figcaption { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(6,29,73,.86); color: #fff; font-size: 12.5px; font-weight: 800; backdrop-filter: blur(6px); }
.biz-hero-visual figcaption span { color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: 11px; font-weight: 500; letter-spacing: .14em; }
.js .biz-page .biz-hero-visual { opacity: 0; transform: translateY(18px); transition: opacity 1s ease .5s, transform 1s cubic-bezier(.22,1,.36,1) .5s; }
.js .biz-page.is-loaded .biz-hero-visual { opacity: 1; transform: none; }

/* ---- section / heading ---- */

.biz-section { position: relative; padding: var(--pad-l) var(--gutter); overflow: hidden; background: #fff; }
.biz-section.is-mist { background: #f7fbfd; }
.biz-section.is-dark { color: #fff; background: var(--corp-deep); }
.biz-head { position: relative; z-index: 1; max-width: 1040px; }
.biz-title { margin: 12px 0 0; color: var(--corp-ink); font-size: clamp(28px, 3vw, 44px); font-weight: 900; font-feature-settings: "palt"; letter-spacing: -.045em; line-height: 1.3; }
.biz-title em { color: var(--corp-blue); font-style: normal; }
.biz-lead { max-width: 46em; margin: 16px 0 0; color: var(--corp-slate); font-size: clamp(14px, 1.05vw, 16px); font-weight: 500; line-height: 2; word-break: auto-phrase; }
.biz-section.is-dark .biz-title { color: #fff; }
.biz-section.is-dark .biz-title em { color: var(--corp-cyan-light); }
.biz-section.is-dark .biz-lead { color: rgba(255,255,255,.72); }
.biz-section.is-dark .dx-kicker { color: var(--corp-cyan-light); }
.biz-body { position: relative; z-index: 1; margin-top: clamp(30px, 3.4vw, 46px); }
.biz-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.biz-head-row > a { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid currentColor; color: inherit; font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.biz-head-row > a span { color: var(--corp-cyan); }

/* ---- tiles (TOPの dx2-tiles を拡張) ---- */

.biz-page .dx2-tiles { margin-top: 0; }
.dx2-tiles.has-list li { min-height: 0; }
.dx2-tiles.has-list b { margin-top: 22px; padding-top: 0; }
.dx2-list { display: grid; gap: 2px; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(24,184,232,.3); }
.dx2-list span { position: relative; padding-left: 14px; color: var(--dx-text); font-size: 13.5px; font-weight: 500; line-height: 1.85; }
.dx2-list span::before { content: ""; position: absolute; left: 0; top: 1em; width: 6px; height: 1px; background: var(--corp-cyan); }
.dx2-tiles.is-compact li { min-height: 0; }
.dx2-tiles.is-compact b { margin-top: 20px; padding-top: 0; }

/* ---- loop diagram（明るい版） ---- */

.biz-page .loop-diagram { margin-top: 0; }
.biz-page .dx-diagram svg { padding: clamp(14px, 2vw, 30px) clamp(10px, 1.4vw, 20px) clamp(6px, 1vw, 14px); border: 1px solid var(--dx-line); border-radius: 16px; background: #fff; box-shadow: 0 24px 60px -30px rgba(6,29,73,.18); }

/* ---- metrics（明るい版） ---- */

.biz-page .mt-grid { margin-top: 0; }
.biz-page .mt-card { border: 1px solid var(--corp-line); border-top: 3px solid var(--corp-cyan); border-radius: 0 0 16px 16px; background: #fff; }
.biz-page .mt-ico { background: var(--corp-ice); color: var(--corp-blue); }
.biz-page .mt-card > span { color: var(--corp-blue); }
.biz-page .mt-card h3 { color: var(--corp-ink); }
.biz-page .mt-card p { color: var(--corp-slate); }
.biz-page .mt-card small { background: var(--corp-ice); color: var(--corp-blue); }

/* ---- 受託 / ラボ: 2枚のカード + 紺のブリッジ（TOPのOUR STRENGTHと同じ構造） ---- */

.poles2 { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; padding: 0 clamp(20px, 2.6vw, 40px); }
.pole { position: relative; z-index: 1; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--corp-line); border-radius: 16px; background: #fff; box-shadow: 0 30px 70px rgba(6,29,73,.14); }
.pole-top { padding: 30px 40px 26px; }
.pole-kicker { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--corp-blue); font-family: var(--corp-display); font-size: 12px; font-weight: 500; letter-spacing: .12em; }
.pole-kicker span { color: rgba(39,48,56,.45); }
.pole-kicker span::before { content: "/"; margin-right: 10px; }
.pole-top h3 { margin: 10px 0 0; color: var(--corp-ink); font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; letter-spacing: -.045em; line-height: 1.15; }
.pole-top p { margin: 12px 0 0; color: var(--corp-slate); font-size: 14px; font-weight: 500; line-height: 1.85; }
.pole-body { flex: 1; padding: 20px 40px 26px 37px; border-top: 1px solid var(--corp-line); border-left: 3px solid var(--corp-cyan); background: var(--corp-ice); }
.pole.is-lab .pole-body { border-left-color: var(--corp-blue); }
.pole-body dl { margin: 0; }
.pole-body dl > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(39,48,56,.1); }
.pole-body dl > div:last-child { border-bottom: 0; }
.pole-body dt { color: var(--corp-blue); font-size: 12.5px; font-weight: 800; padding-top: 2px; }
.pole-body dd { margin: 0; color: var(--corp-ink); font-size: 14px; font-weight: 600; line-height: 1.75; }
.biz-bridge { position: relative; z-index: 0; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.45fr); align-items: start; gap: 24px clamp(32px, 4.5vw, 72px); margin: -28px calc(-1 * clamp(20px, 2.6vw, 40px)) 0; padding: calc(28px + 44px) clamp(28px, 3.4vw, 56px) 46px; border-radius: 16px; color: #fff; background: linear-gradient(120deg, #061d49 50%, #0b2f55 100%); }
.biz-bridge-kicker { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: 12px; font-weight: 500; letter-spacing: .14em; }
.biz-bridge-kicker span { padding: 4px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #fff; font-family: var(--corp-sans); font-size: 11px; font-weight: 700; letter-spacing: 0; }
.biz-bridge h3 { margin: 12px 0 0; font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; letter-spacing: -.045em; line-height: 1.22; }
.biz-bridge > div > p { margin: 14px 0 0; color: rgba(255,255,255,.78); font-size: 14px; font-weight: 500; line-height: 1.9; }
.biz-bridge-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; margin: 6px 0 0; padding: 0; list-style: none; }
.biz-bridge-list li { position: relative; padding: 2px 0 0; }
.biz-bridge-list li + li { padding-left: 26px; }
.biz-bridge-list li + li::before { content: "→"; position: absolute; left: 0; top: 2px; color: var(--corp-cyan-light); font-size: 15px; opacity: .75; }
.biz-bridge-list span[lang] { display: block; color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: 12px; letter-spacing: .1em; }
.biz-bridge-list b { display: block; margin-top: 8px; font-size: clamp(14px, 1.1vw, 16px); font-weight: 800; letter-spacing: -.03em; line-height: 1.5; text-wrap: balance; }
.biz-bridge-list small { display: block; margin-top: 6px; color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.7; }

/* ---- 4つの運用モード（AI主体 → 人主体 の帯） ---- */

.modes-axis { display: flex; justify-content: space-between; gap: 20px; margin: 0 0 10px; color: var(--corp-slate); font-size: 12.5px; font-weight: 800; }
.modes-axis span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--corp-cyan-light); vertical-align: 1px; }
.modes-axis span:last-child::before { background: var(--corp-navy, #061d49); }
.modes { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 20px 0 0; list-style: none; }
.modes::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #32cbe6, #2ab7d9 34%, #0069aa 68%, #061d49); }
.modes li { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border: 1px solid var(--corp-line); border-radius: 16px; background: #fff; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .3s ease; }
.modes li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,59,88,.1); }
.modes .dx2-icon { width: 34px; height: 34px; padding: 10px; }
.modes span[lang] { margin-top: 18px; color: var(--corp-blue); font-family: var(--corp-display); font-size: 11px; letter-spacing: .14em; }
.modes strong { display: block; margin-top: 2px; color: var(--corp-ink); font-family: var(--corp-display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: .01em; line-height: 1.1; }
.modes h3 { margin: 10px 0 0; color: var(--corp-ink); font-size: 16.5px; font-weight: 800; letter-spacing: -.02em; line-height: 1.5; }
.modes p { margin: 8px 0 0; color: var(--corp-slate); font-size: 13.5px; font-weight: 500; line-height: 1.8; }

/* ---- 業界別（既存グリッドをTOPの角丸カードに） ---- */

.biz-page .industry-grid-v2 { margin-top: 0; }
.biz-page .industry-grid-v2 article { min-height: 0; padding: 28px 28px 24px; border: 1px solid var(--corp-line); border-top: 3px solid var(--corp-cyan); border-radius: 0 0 16px 16px; box-shadow: none; }

/* ---- 品質シグナル帯（明るい版） ---- */

/* ---- 事例（暗い帯・TOPのCASESと同じトーン） ---- */

.biz-section.is-dark .case-strip { margin-top: 0; }
.biz-section.is-dark .case-strip figure { border-color: rgba(255,255,255,.14); }
.biz-section.is-dark .case-strip strong { color: #fff; }
.biz-section.is-dark .case-strip span { color: var(--corp-cyan-light); }
.biz-section.is-dark .case-strip small { color: rgba(255,255,255,.7); }
.biz-section.is-dark .case-strip > a { color: #fff; }

/* ---- stack / evidence の微調整 ---- */

.biz-page .stack, .biz-page .ev { margin-top: 0; }

/* ---- responsive ---- */

@media (max-width: 1100px) {
  .biz-hero { min-height: 0; padding-top: clamp(130px, 16vh, 160px); }
  .biz-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .biz-hero-visual, .biz-hero-visual.is-wide { justify-self: stretch; width: 100%; }
  .biz-hero-visual img, .biz-hero-visual.is-wide img { aspect-ratio: 16 / 10; }
  .biz-hero-visual::after { display: none; }
  .poles2 { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0; }
  .biz-bridge { grid-template-columns: minmax(0, 1fr); margin: 0; padding: 36px 28px 36px; }
  .biz-bridge-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .biz-bridge-list li + li { padding-left: 0; }
  .biz-bridge-list li + li::before { content: none; }
  .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz-head-row { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 700px) {
  .biz-hero-title { font-size: clamp(34px, 9.6vw, 44px); }
  .modes { grid-template-columns: minmax(0, 1fr); }
  .pole-top, .pole-body { padding-left: 24px; padding-right: 24px; }
  .pole-body dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 1100px) { .biz-page .case-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 700px) { .biz-page .case-strip { grid-template-columns: minmax(0, 1fr); gap: 22px; } .biz-page .case-strip strong { font-size: 16px; } }

/* ---- biz pages: review round 1 ---- */

.biz-title { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.22; }
.biz-section.is-chapter { padding-top: calc(var(--pad-l) + 20px); }
.biz-section.is-chapter .biz-title { font-size: var(--fs-section); line-height: 1.2; letter-spacing: -.05em; }
.biz-section.is-chapter .corp-kicker { margin-bottom: 0; }
.biz-section.is-chapter .biz-lead { margin-top: 20px; }
.biz-section.is-mist { background: #f2f9fc; }
/* hero: 写真の形を姉妹ページで統一（3:2 横位置） */

.biz-hero-visual, .biz-hero-visual.is-wide { width: min(100%, 540px); }
.biz-hero-visual img, .biz-hero-visual.is-wide img { aspect-ratio: 3 / 2; }
/* 01: 箱に入れない罫線リスト */

.dx2-tiles.is-list { gap: 0 40px; }
.dx2-tiles.is-list li { min-height: 0; padding: 26px 0 4px; border: 0; border-top: 1px solid rgba(39,48,56,.22); border-radius: 0; background: transparent; box-shadow: none; }
.dx2-tiles.is-list li:hover { transform: none; box-shadow: none; border-color: var(--corp-cyan); }
.dx2-tiles.is-list b { margin-top: 24px; padding-top: 0; }
/* 06: 横組みの密なリスト */

.dx2-tiles.is-dense li { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "icon b" "icon p"; column-gap: 16px; row-gap: 3px; align-items: start; min-height: 0; padding: 20px 22px 20px; }
.dx2-tiles.is-dense .dx2-icon { grid-area: icon; width: 26px; height: 26px; padding: 11px; }
.dx2-tiles.is-dense .dx2-no { display: none; }
.dx2-tiles.is-dense b { grid-area: b; margin: 0; padding: 4px 0 0; font-size: 17px; }
.dx2-tiles.is-dense p { grid-area: p; margin: 0; }
/* LAYER: 土台が最も広い（上に行くほど狭い） */

.biz-page .stack-layer { width: calc(79% + var(--n) * 7%); box-shadow: 0 14px 32px -18px rgba(6,29,73,.28); }
.biz-page .stack-layer + .stack-layer { margin-top: -6px; }
.biz-page .stack-layer:last-child { background: linear-gradient(135deg, #061d49, #0b2f55); }
@media (max-width: 1100px) { .biz-page .stack-layer { width: calc(88% + var(--n) * 4%); } }
@media (max-width: 620px) { .biz-page .stack-layer { width: 100%; } }
/* 受託 / ラボ: 上段の高さを揃え、ブリッジの重なりをTOPと同じ量に */

.poles2 { grid-template-rows: auto auto auto; }
.pole { display: grid; grid-template-rows: subgrid; grid-row: span 2; }
@supports not (grid-template-rows: subgrid) { .pole-top { min-height: 196px; } }
.biz-bridge { grid-row: 3; margin-top: -64px; padding-top: calc(64px + 44px); }
/* 工程図: ループが早く出る・上の余白を詰める */

.biz-page .loop-diagram.is-visible .d-s2 { transition-delay: .25s; }
.biz-page .loop-diagram.is-visible .d-s3 { transition-delay: .5s; }
.biz-page .loop-diagram.is-visible .d-s4 { transition-delay: .75s; }
.biz-page .loop-diagram.is-visible .d-s5 { transition-delay: 1s; }
.biz-page .loop-diagram.is-visible .d-s6 { transition-delay: 1.25s; }
.biz-page .loop-diagram.is-visible .d-loopmask { transition-delay: 1.2s; transition-duration: 1s; }
.biz-page .loop-diagram.is-visible .d-pill { transition-delay: 1.8s; }
.biz-page .loop-diagram.is-visible .d-chev { transition-delay: 2.2s; }
.biz-page .loop-diagram.is-visible .d-halo { animation-delay: 1.2s; }
.biz-page .dx-diagram svg { padding-top: clamp(8px, 1vw, 14px); }
@media (prefers-reduced-motion: reduce) { .js .dx-diagram .d-box, .js .dx-diagram .d-pill, .js .dx-diagram .d-arrow, .js .dx-diagram .d-chev { opacity: 1; transform: none; transition: none; } .js .dx-diagram .d-loopmask, .js .dx-diagram .d-band { stroke-dashoffset: 0; transition: none; } }
/* 指標: パレット内の色で方向を区別 */
/* 運用モード */

.modes strong { font-size: clamp(22px, 2vw, 28px); color: var(--corp-blue); }
.modes .dx2-icon { width: 44px; height: 44px; padding: 10px; }
/* 業界別: 1段5列 */

@media (min-width: 1101px) {
  .biz-page .industry-grid-v2 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .biz-page .industry-grid-v2 > article { grid-column: auto; padding: 22px 20px 16px; }
  .biz-page .industry-grid-v2 h3 { margin: 12px 0 10px; font-size: 20px; }
  .biz-page .industry-grid-v2 > article > p { font-size: 12.5px; line-height: 1.8; }
}
/* 事例写真 */

.biz-page .case-strip img { aspect-ratio: 16 / 10; }
.biz-head-row { align-items: flex-end; }
/* mobile */

@media (max-width: 700px) {
  .biz-hero .hero3-tags { gap: 8px; }
  .biz-hero .hero3-tags li { width: 100%; }
  .biz-hero .hero3-tags a { width: 100%; justify-content: space-between; box-sizing: border-box; }
  .biz-hero .hero3-tags a::after { margin-left: auto; }
  .dx2-tiles.is-list { gap: 0; }
  .dx2-tiles.is-list li { padding: 18px 0; }
  .dx2-tiles.is-dense li { padding: 16px 18px; }
  .modes { padding: 0 0 0 18px; }
  .modes::before { top: 0; bottom: 0; left: 0; right: auto; width: 4px; height: auto; border-radius: 2px; background: linear-gradient(180deg, #32cbe6, #0069aa 68%, #061d49); }
  .modes li { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "icon en" "icon strong" "icon h3" "icon p"; column-gap: 14px; row-gap: 2px; padding: 18px; }
  .modes .dx2-icon { grid-area: icon; width: 24px; height: 24px; padding: 10px; }
  .modes span[lang] { grid-area: en; margin-top: 0; }
  .modes strong { grid-area: strong; }
  .modes h3 { grid-area: h3; margin-top: 4px; }
  .modes p { grid-area: p; }
  .biz-section.is-chapter { padding-top: var(--pad-l); }
}

/* ---- biz pages: review round 2 ---- */

.biz-title { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.3; text-wrap: balance; word-break: auto-phrase; }
.biz-section.is-chapter .biz-title { font-size: var(--fs-section); line-height: 1.2; letter-spacing: -.05em; }
.biz-head .corp-kicker { margin-bottom: 0; }
.biz-section.is-dark .corp-kicker { color: var(--corp-cyan-light); }
.biz-hero { min-height: 0; padding-bottom: clamp(72px, 9vh, 112px); }
.biz-page .stack-layer { margin-left: 0; margin-right: auto; }
.dx2-tiles.is-dense { gap: 0 40px; }
.dx2-tiles.is-dense li { padding: 20px 0; border: 0; border-top: 1px solid rgba(39,48,56,.22); border-radius: 0; background: transparent; box-shadow: none; }
.dx2-tiles.is-dense li:hover { transform: none; box-shadow: none; border-color: var(--corp-cyan); }
.biz-page .mt-ico { width: 24px; height: 24px; padding: 12px; }
@media (min-width: 1101px) {
  .biz-page .industry-grid-v2 > article { display: flex; flex-direction: column; }
  .biz-page .industry-grid-v2 .industry-more { margin-top: auto; }
  .biz-page .industry-grid-v2 > article > p { font-size: 13px; }
}
@media (max-width: 700px) { .dx2-tiles.is-dense { gap: 0; } .dx2-tiles.is-dense li { padding: 16px 0; } }

/* ---- SDGs: photos + goal icons ---- */

.hero-sdgs .detail-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: center; gap: clamp(32px, 5vw, 96px); }
.hero-sdgs .detail-hero-copy { max-width: none; }
.sdg-poster { justify-self: end; width: min(100%, 420px); margin: 0; padding: 22px 26px; border: 1px solid var(--corp-line); border-radius: 18px; background: #fff; box-shadow: 0 34px 70px -34px rgba(6,29,73,.35); }
.sdg-poster img { display: block; width: 100%; height: auto; }
.sdgs-page .sdg-section { padding-top: var(--pad-l); }
.sdg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sdg-item { display: flex; flex-direction: column; padding: 0; border: 1px solid var(--corp-line); border-radius: 16px; background: #fff; overflow: hidden; }
.sdg-photo { position: relative; margin: 0; aspect-ratio: 538 / 300; overflow: hidden; }
.sdg-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.sdg-item:hover .sdg-photo img { transform: scale(1.03); }
.sdg-photo .sdg-no { position: absolute; top: 18px; left: 20px; right: auto; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(6,29,73,.86); color: var(--corp-cyan-light); font-size: 13px; letter-spacing: .14em; line-height: 1; backdrop-filter: blur(6px); }
.sdg-body { display: flex; flex: 1; flex-direction: column; padding: 30px clamp(24px, 2.6vw, 40px) 32px; }
.sdg-tag { position: static; margin: 0; }
.sdg-item h3 { margin: 10px 0 0; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; }
.sdg-desc { margin: 16px 0 0; color: #3d4a52; font-size: 14.5px; line-height: 2; text-wrap: pretty; }
.sdg-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label label" "goals more"; align-items: end; gap: 10px 16px; margin-top: auto; padding-top: 22px; }
.sdg-foot::before { content: ""; grid-column: 1 / -1; height: 1px; margin-bottom: 4px; background: var(--corp-line); }
.sdg-goals-label { grid-area: label; display: flex; align-items: baseline; gap: 10px; margin: 0; color: var(--corp-ink); font-size: 12.5px; font-weight: 800; }
.sdg-goals-label span { color: var(--corp-blue); font-family: var(--corp-display); font-size: 11px; font-weight: 500; letter-spacing: .16em; }
.sdg-goals { grid-area: goals; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sdg-goals li { width: 72px; height: 72px; border-radius: 6px; overflow: hidden; box-shadow: 0 6px 16px -8px rgba(6,29,73,.35); }
.sdg-goals img { display: block; width: 100%; height: 100%; }
.sdg-more { grid-area: more; display: inline-flex; align-items: center; gap: 8px; align-self: end; padding-bottom: 6px; border-bottom: 1px solid currentColor; color: var(--corp-ink); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.sdg-more i { color: var(--corp-cyan); font-style: normal; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.sdg-more:hover { color: var(--corp-blue); }
.sdg-more:hover i { transform: translate(2px, -2px); }
@media (max-width: 1100px) {
  .hero-sdgs .detail-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .sdg-poster { justify-self: start; width: min(100%, 360px); }
  .sdg-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 700px) {
  .sdg-body { padding: 24px 20px 26px; }
  .sdg-goals li { width: 60px; height: 60px; }
  .sdg-foot { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "goals" "more"; }
  .sdg-more { justify-self: start; }
}
/* SDGs: 1活動=1行（写真は原寸538pxまで、右に本文と目標） */

@media (min-width: 1101px) {
  .sdg-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sdg-item { display: grid; grid-template-columns: 538px minmax(0, 1fr); align-items: stretch; }
  .sdg-photo { display: grid; place-items: center; aspect-ratio: auto; background: var(--corp-ice); }
  .sdg-photo img { width: 100%; height: auto; max-width: 538px; }
  .sdg-body { padding: 34px 44px 34px 44px; }
  .sdg-desc { max-width: 44em; }
}
.sdg-item h3 { word-break: auto-phrase; text-wrap: balance; }
@media (min-width: 1101px) { .sdg-photo img { height: 100%; object-fit: cover; object-position: 50% 35%; } .sdg-item { max-height: 400px; } .sdg-body { padding-block: 30px; } .sdg-desc { line-height: 1.95; } }
/* 認証一覧: 最終行に1枚だけ残る場合は横幅いっぱいに */

@media (min-width: 1101px) {
  .sdgs-page .mark-grid li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  #certs .mark-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---- metrics: 装飾の折れ線をやめ、向きをバッジで示す ---- */

.biz-page .mt-card { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ico dir" "en en" "h3 h3" "p p"; align-items: start; padding: 24px 26px 24px; }
.biz-page .mt-card > span { margin-top: 18px; }
.biz-page .mt-card h3 { margin-top: 6px; }

/* ---- metrics: アイコンを主役に（左に大きく、右に指標名） ---- */

.biz-page .mt-card { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "ico en" "ico h3" "ico p"; column-gap: 20px; row-gap: 0; align-items: start; align-content: center; padding: 26px 28px; }
.biz-page .mt-card .mt-ico { grid-area: ico; align-self: center; width: 34px; height: 34px; padding: 19px; margin: 0; border-radius: 18px; background: var(--corp-ice); color: var(--corp-blue); stroke-width: 1.5; }
.biz-page .mt-card.is-down .mt-ico { background: #e3f6fb; color: #0b7f9c; }
.biz-page .mt-card > span { grid-area: en; margin-top: 0; }
.biz-page .mt-card h3 { grid-area: h3; margin: 4px 0 0; font-size: 19px; }
.biz-page .mt-card p { grid-area: p; margin: 6px 0 0; font-size: 13px; }
@media (max-width: 700px) { .biz-page .mt-card { grid-template-columns: 60px minmax(0, 1fr); column-gap: 16px; padding: 20px; } .biz-page .mt-card .mt-ico { width: 28px; height: 28px; padding: 16px; border-radius: 16px; } }

/* 本文の「。」改行: 文末の数文字は折り返さない */

span.sbt { all: unset !important; white-space: nowrap !important; }
/* 会社概要の認証カード: スマホ幅では1列 */

@media (max-width: 700px) {
  #certs .mark-grid { grid-template-columns: minmax(0, 1fr); }
  #certs .mark-grid li { grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  #certs .mark-grid figure { width: 88px; height: 72px; }
  #certs .mark-grid img { max-width: 88px; max-height: 64px; }
}
.mark-grid b, .mark-grid li > span { word-break: auto-phrase; }

/* TOP ヒーロー: 3行のリードを指定どおりの位置で改行（広い画面では1行ずつ収める） */

.hero4 .hero3-lead.brk { max-width: none; }
.hero4 .hero3-lead.brk > span { display: block; }
.hero4 .hero3-lead.brk > span > .nw { white-space: nowrap; }
/* 見出しの行マスク: 字間を詰めた最後の文字が右端で切れないよう、枠の右側に余白を持たせる */

.rise .rl, .js .corporate-page .hero3-title .rl { padding-inline-end: .18em; margin-inline-end: -.18em; }

/* ==== LINEBREAK v2 (2026-10-06) ====================================================
   元に戻す場合はこのブロックを削除し、scripts/phrase-breaks.py --remove と
   scripts/heading-breaks.py --remove を実行する（README「改行の仕組み」参照）
   ================================================================================== */
/* 1. 文節の境目（<wbr class="bx">）でだけ折り返す。Safari も対応する指定に統一する */

body :not(svg):not(svg *) { word-break: keep-all !important; overflow-wrap: break-word !important; line-break: strict; }
/* 2. 見出しは行の長さを揃える。スマホ用の改行位置（.spbr）は 767px 以下でだけ有効 */

:is(h1, h2, h3, h4) { text-wrap: balance; }
br.spbr { display: none; }
@media (max-width: 767px) {
  br.spbr { display: inline; }
  /* 3. スマホでは文ごとの強制改行を外し、自然な折り返しに任せる */
  
  br.sb { display: none; }
  p.brk:not(.hero3-lead) > span, p.brk:not(.hero3-lead) > span.nw { display: inline !important; }  /* ヒーローのリードは指定どおりの行構成を保つ */
}
/* 4. 狭いスマホ（375px 未満）での個別調整 */

.strength-col-kicker, .strength-bridge-kicker { flex-wrap: wrap; white-space: nowrap; }
@media (max-width: 374px) {
  .strength-col-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kicker" "title" "stat" "desc"; }
  .strength-col-stat { justify-self: start; margin-top: 6px; }
}
/* 5. 本文は短い最終行を避ける（Chrome と Safari 26 以降が対応） */

:is(p, li, dd, figcaption) { text-wrap: pretty; }
/* 6. 狭い列のレイアウト調整: 5列カード内の項目と、変更根拠の4列は縦積み・列数を減らす */

@media (min-width: 1101px) {
  .biz-page .industry-grid-v2 .industry-detail, .biz-page .industry-grid-v2 .industry-kpi { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
  .biz-page .industry-grid-v2 .industry-detail dd { margin-bottom: 8px; }
}
@media (max-width: 480px) { .ev-ctrl { grid-template-columns: minmax(0, 1fr); } }
/* 7. 改行しない指定の中では、文節の印（wbr）を無効にする（Chrome は nowrap の中でも wbr で折り返すため） */

:is(.nw, .sbt, .strength-col-kicker, .strength-bridge-kicker) wbr { display: none; }
:is(.nw, .sbt) > wbr.bx-lead { display: inline; }  /* 要素の先頭の境目だけ有効 */  /* 要素の先頭の印は「要素の手前で折り返してよい」意味なので残す */    
@media (min-width: 1101px) { :is(.is-oneline, .hero-nolead h1, .hero-oneline h1) wbr { display: none; } }
/* ==== /LINEBREAK v2 ================================================================ */

/* 会社概要: グループ会社バナー（スマホはバナーの下に社名と説明を2行で） */

@media (max-width: 767px) {
  .group-banners a { grid-template-columns: minmax(0, 1fr); gap: 12px; min-height: 0; padding: 14px 14px 16px; }
  .group-banners img { width: 100%; max-width: 429px; }
  .group-banners span { display: block; font-size: 15px; line-height: 1.5; }
  .group-banners small { margin-top: 2px; font-size: 12px; line-height: 1.6; }
}

/* TOP サービス名: 「AI駆動開発 -早く、確かにつくる。」を1行に。入らない幅ではキャッチごと次の行へ */

.strength-svc .strength-svc-name { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .55em; row-gap: 4px; margin: 8px 0 0; }
.strength-svc .strength-svc-name > strong { font: inherit; white-space: nowrap; }
.strength-svc .strength-svc-name > .strength-svc-catch { display: inline-flex; gap: .35em; margin: 0; color: var(--corp-blue); font-size: clamp(14px, 1.15vw, 17px); font-weight: 800; letter-spacing: -.02em; line-height: 1.4; white-space: nowrap; }
.strength-svc .strength-svc-catch > span { color: var(--corp-cyan); font-weight: 500; }
.strength-svc .strength-svc-name > strong { color: var(--corp-ink); font-size: clamp(19px, 1.6vw, 23px); font-weight: 900; letter-spacing: -.04em; line-height: 1.25; }
@media (max-width: 767px) {
  .strength-svc .strength-svc-name { flex-direction: column; align-items: flex-start; row-gap: 6px; }
  .strength-svc .strength-svc-name > .strength-svc-catch { font-size: 15px; }
}
/* TOP「未活用のまま残る経営資源」: 説明文は PC で1行に収める */

@media (min-width: 1200px) { .dx2-tiles p.dx2-oneline { white-space: nowrap; } .dx2-tiles p.dx2-oneline wbr { display: none; } }  /* Chrome は nowrap でも wbr で折るため印も消す */
/* TOP 導入ソリューション: 5列のときはタイトルを2行分の高さにそろえ、説明文の開始位置を合わせる */  

@media (min-width: 1101px) { .corporate-page .solution-card h3 { min-height: 2.9em; } }

/* ==== 方針・ガイドラインの本文（論文のような組版） ====
   長文の本文は印刷物と同じく、文字単位で折り返し（禁則あり）、両端揃え、段落の1字下げにする。
   文ごとの改行は入れず、段落として流す。見出し・リード・短い文は文節単位の折り返しのまま。 */

.doc-page .doc-body :is(p, li, dd) { word-break: normal !important; overflow-wrap: anywhere !important; line-break: strict; text-align: justify; text-justify: inter-character; text-wrap: pretty; hanging-punctuation: none; }
.doc-page .doc-body br.sb { display: none; }
.doc-page .doc-body span.sbt { white-space: normal !important; }
.doc-page .doc-body .doc-article > p:not([class]) { text-indent: 0; }
.doc-page .doc-body .doc-article > p:not([class]) + p:not([class]) { margin-top: .9em; }
.doc-page .doc-body :is(.doc-sign, .doc-contact-title) { text-align: left; text-indent: 0; }
/* TOP サービス名とキャッチ: 文字の中心線で揃える */

.strength-svc .strength-svc-name { align-items: center; }
.strength-svc .strength-svc-name > strong, .strength-svc .strength-svc-name > .strength-svc-catch { line-height: 1.3; }
.strength-svc .strength-svc-name > .strength-svc-catch { align-items: center; }
@media (max-width: 767px) { .strength-svc .strength-svc-name { align-items: flex-start; } }
.strength-svc .strength-svc-name > strong { margin: 0; }
.strength-svc .strength-svc-name > .strength-svc-catch { display: block; }
.strength-svc .strength-svc-catch > span { margin-right: .35em; }
/* 段落の1字下げは全体で使わない */

main :is(p, li, dd, blockquote) { text-indent: 0 !important; }

/* 方針ページ: 原文の「・事業者名称:…」形式の連絡先（囲み枠なしの控えめな表示） */
.doc-page .doc-body .doc-article > h3 + p, .doc-page .doc-body .doc-article > h3 + ul { margin-top: 10px; }
/* 方針ページの両端揃え本文では「短い最終行を避ける」組み方を使わない（行が早めに折れて字間が広がるため） */

.doc-page .doc-body :is(p, li, dd) { text-wrap: wrap !important; }
.doc-page .doc-body :is(p, li, dd) :is(span, a, em, strong, small) { word-break: normal !important; overflow-wrap: anywhere !important; }
.doc-page .doc-body :is(p, li, dd) span.nw { white-space: nowrap; }
.doc-page .doc-body span.sbt { white-space: nowrap !important; }

/* ==== AI駆動開発: 指定どおりの行数で組む ==== */
/* 見出しは「AIの生成速度を／検証可能な品質へ。」の2行。各行を折り返さず、入りきる文字サイズにする */

.biz-hero-title > span { white-space: nowrap; }
.biz-hero-title > span wbr { display: none; }
@media (max-width: 1100px) { .biz-hero-title { font-size: min(clamp(34px, 9.6vw, 44px), calc((100vw - 40px) / 9.4)); } }
/* PC（1200px 以上）: 説明文は1文1行。文と文の間は改行（br.sb） */

@media (min-width: 1200px) {
  .pc-nowrap { white-space: nowrap; max-width: none !important; }
  .pc-nowrap wbr { display: none; }
  .biz-head:has(> .pc-nowrap), .biz-head-row .biz-head:has(.pc-nowrap) { max-width: none; }
  .biz-hero-lead.pc-nowrap { font-size: clamp(14px, 1.05vw, 16px); }
}
@media (min-width: 1200px) {
  .pc-nowrap { white-space: nowrap !important; }
  .biz-bridge { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1.3fr); }
  .biz-bridge p.pc-nowrap { font-size: 13.5px; }
}
.biz-hero-title.brk > span { display: block; }
/* 文末のまとまり: 箱を作らずに折り返しだけを止める（横並びのレイアウトで余計な隙間を作らない） */

span.sbt { display: contents !important; }
/* 方針ページの問合せ枠: 項目名「個人情報保護問合せ窓口」を1行で */

.doc-contact dl > div { grid-template-columns: 11em minmax(0, 1fr); }
@media (max-width: 620px) { .doc-contact dl > div { grid-template-columns: minmax(0, 1fr); } }
/* 方針ページ本文: 両端揃えをやめて左揃え（文末のまとまりと組み合わさると字間が広がるため） */

.doc-page .doc-body :is(p, li, dd) { text-align: left !important; text-justify: auto !important; }
/* 方針ページ: 章の最後が表のときは、表の最後の線を消して章の区切り線だけにする */

.doc-article > .doc-dl:last-child > div:last-child { border-bottom: 0; }

/* 導入事例: 4件目の追加（一覧を4列に）と、確認ポイントの表 */

.cases-index { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1280px; }
@media (max-width: 1100px) { .cases-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case-subhead { margin: 28px 0 0; padding-left: 12px; border-left: 3px solid var(--corp-cyan); color: var(--corp-ink); font-size: 16px; font-weight: 800; }
.case-checks { margin: 14px 0 0; border-top: 1px solid var(--corp-line); }
.case-checks > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--corp-line); }
.case-checks dt { color: var(--corp-blue); font-size: 14px; font-weight: 800; }
.case-checks dd { margin: 0; }
.case-checks ul { margin: 0; padding: 0; list-style: none; }
.case-checks li { position: relative; padding: 2px 0 2px 16px; color: #3d4a52; font-size: 14px; line-height: 1.8; }
.case-checks li::before { content: ""; position: absolute; left: 0; top: calc(.9em - 1px); width: 8px; height: 2px; background: var(--corp-cyan); }
@media (max-width: 620px) { .case-checks > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
@media (max-width: 620px) { .cases-index { grid-template-columns: minmax(0, 1fr); } .cases-index a { flex-direction: row; } }
/* 導入事例の一覧カード（860px 以下）: 画像を左、文字を右で縦に並べる */

@media (max-width: 860px) {
  .cases-index a { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: auto auto 1fr; align-items: start; column-gap: 0; }
  .cases-index figure { grid-row: 1 / 4; height: 100%; }
  .cases-index img { height: 100%; min-height: 96px; aspect-ratio: auto; }
  .cases-index span { margin: 12px 14px 0; }
  .cases-index strong { margin: 2px 14px 0; font-size: 15px; line-height: 1.4; }
  .cases-index small { margin: 2px 14px 12px; font-size: 11.5px; line-height: 1.5; }
}
/* 事例写真の説明: ラベルを説明文の1行目に揃える（2行になっても上揃え） */

.case-shots-page figcaption { align-items: flex-start; line-height: 1.6; }
.case-shots-page figcaption .cap-tag { flex: 0 0 auto; line-height: 1.5; margin-top: .05em; }
/* 事例本文の転換点の一文を強調 */

.case-body p.case-turn { color: var(--corp-blue); font-size: 16px; font-weight: 800; }
/* 導入事例の「課題・打ち手・結果」欄はスマホでも文ごとに改行する */

@media (max-width: 767px) { .case-summary br.sb { display: inline; } }

/* ==== 導入事例: 総合ページと分野別ページ ==== */
/* 分野の切り替え（ヒーロー内） */

.cases-cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cases-cat-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: rgba(255,255,255,.86); font-size: 13px; font-weight: 700; text-decoration: none; transition: background .25s ease, border-color .25s ease; }
.cases-cat-nav a:hover { border-color: var(--corp-cyan-light); background: rgba(255,255,255,.06); }
.cases-cat-nav a[aria-current="page"] { border-color: var(--corp-cyan); background: var(--corp-cyan); color: #fff; }
.cases-cat-nav small { padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.16); font-family: var(--corp-display); font-size: 11px; letter-spacing: .04em; }
/* 2件だけの一覧 */

.cases-index.is-two { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: start; }
@media (max-width: 860px) { .cases-index.is-two { grid-template-columns: minmax(0, 1fr); } }
/* 鉄道: お客様との取り組み */

.rail-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 24px clamp(32px, 4vw, 64px); margin-bottom: clamp(56px, 6vw, 88px); padding: clamp(28px, 3vw, 40px); border: 1px solid var(--corp-line); border-radius: 16px; background: var(--corp-ice); }
.rail-intro-head h2 { margin: 10px 0 0; color: var(--corp-ink); font-size: clamp(22px, 2vw, 28px); font-weight: 900; letter-spacing: -.03em; line-height: 1.35; }
.rail-intro-head > p:last-child { margin: 12px 0 0; color: #3d4a52; font-size: 14.5px; line-height: 1.9; }
.rail-intro .case-facts.rail-facts { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #fff; border-radius: 12px; }
@media (max-width: 1100px) { .rail-intro { grid-template-columns: minmax(0, 1fr); } }
/* 総合ページ: 分野カード */

.cases-hub { padding-top: clamp(64px, 7vw, 104px); }
.cases-cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cases-cat { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--corp-line); border-radius: 16px; background: #fff; box-shadow: 0 24px 48px -28px rgba(6,29,73,.3); }
.cases-cat-figure { display: block; overflow: hidden; }
.cases-cat-figure img { display: block; width: 100%; aspect-ratio: 706 / 284; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.cases-cat:hover .cases-cat-figure img { transform: scale(1.03); }
.cases-cat-body { display: flex; flex: 1; flex-direction: column; padding: clamp(24px, 2.6vw, 36px); }
.cases-cat-body .corp-kicker { margin: 0; }
.cases-cat-body h2 { margin: 8px 0 0; font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; letter-spacing: -.04em; }
.cases-cat-body h2 a { color: var(--corp-ink); text-decoration: none; }
.cases-cat-body > p:not(.corp-kicker) { margin: 12px 0 0; color: #3d4a52; font-size: 14.5px; line-height: 1.9; }
.cases-cat-list { margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--corp-line); }
.cases-cat-list a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--corp-line); color: var(--corp-ink); text-decoration: none; transition: color .2s ease; }
.cases-cat-list a:hover { color: var(--corp-blue); }
.cases-cat-list strong { font-size: 15px; font-weight: 800; }
.cases-cat-list small { color: var(--corp-slate); font-size: 12.5px; }
.cases-cat-more { display: inline-flex; align-items: center; gap: 10px; align-self: flex-end; margin-top: auto; padding-top: 22px; color: var(--corp-ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.cases-cat-more i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--corp-ink); color: #fff; font-style: normal; transition: transform .3s cubic-bezier(.22,1,.36,1), background .25s ease; }
.cases-cat-more:hover i { transform: translateX(4px); background: var(--corp-blue); }
.cases-hub .cases-cta-band { margin-top: clamp(48px, 5vw, 72px); }
@media (max-width: 860px) { .cases-cat-grid { grid-template-columns: minmax(0, 1fr); } }
.rail-intro .case-facts.rail-facts { grid-column: 2; grid-row: 1; }
.rail-intro .case-facts.rail-facts li { padding: 18px 20px; border: 0; border-bottom: 1px solid var(--corp-line); }
.rail-intro .case-facts.rail-facts li:nth-child(even) { border-left: 1px solid var(--corp-line); }
.rail-intro .case-facts.rail-facts li:nth-child(n+3) { border-bottom: 0; }
@media (max-width: 1100px) { .rail-intro .case-facts.rail-facts { grid-column: 1; grid-row: auto; } }
/* 導入事例の総合ページ: 見出しを1行に（狭い画面では折り返す） */

@media (min-width: 1101px) { .cases-hub-title > span { white-space: nowrap; } .cases-hub-title wbr { display: none; } }
/* 総合ページの見出し: 行の箱を文字幅に合わせ、最後の「。」が切れないようにする */

@media (min-width: 1101px) { .cases-hub-title { max-width: none; } .cases-hub-title > span { width: max-content; max-width: none; } }

/* サービス一覧カード: 商品名が折り返したとき、2行目を「—」ではなく商品名の頭に揃える */

.svc-card ul li { position: relative; padding-left: 19px; }
.svc-card ul li::before { position: absolute; top: 0; left: 0; margin-right: 0; }

/* 導入事例の数値（10,000+枚など）は数字と単位を1行に保つ。狭い画面では文字を少し小さくして収める */

.case-facts b { white-space: nowrap; }
@media (max-width: 374px) { .case-facts b { font-size: 24px; } }
/* 方針ページの小見出しは文節の境目だけで折り返す（均等割りの計算で語の途中が折れるのを防ぐ） */

.doc-article h3 { overflow-wrap: normal; }
@media (max-width: 374px) {
  .case-facts li { padding-right: 6px; } .case-facts li + li { padding-left: 8px; }
  .case-facts small { font-size: 11px; letter-spacing: -.02em; }
}
/* キャプション本文は1つのまとまりで折り返す（横並びの中で改行候補が別々の部品にならないように） */

.case-shots-page figcaption .cap-text { min-width: 0; }

/* 事例を1件だけ大きく見せる（事業ページ・基幹システム刷新） */

.case-strip.is-single { grid-template-columns: minmax(0, 1fr); max-width: 1040px; }
.case-strip.is-single > a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 20px clamp(28px, 4vw, 56px); }
.case-strip.is-single figure { margin: 0; }
.case-strip.is-single img { aspect-ratio: 16 / 10; }
.case-strip.is-single strong { font-size: clamp(20px, 1.8vw, 26px); }
.case-strip.is-single span { margin-top: 10px; font-size: clamp(16px, 1.4vw, 20px); }
.case-strip.is-single small { margin-top: 12px; font-size: 14px; }
.case-strip-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 14px; font-weight: 800; }
.case-strip-go i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--corp-blue); font-style: normal; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.case-strip-go i::before { content: "→"; color: #fff; font-size: 14px; }
.case-strip-go i { font-size: 0; }
.case-strip.is-single > a:hover .case-strip-go i { transform: translateX(4px); }
@media (max-width: 700px) { .case-strip.is-single > a { grid-template-columns: minmax(0, 1fr); } }

/* サービスのタブ: ヘッダーが出ている間はヘッダーの下に追従する（--header-offset は corporate.js が設定） */

.svc-tabs { top: var(--header-offset, 0px); transition: top .5s cubic-bezier(.22,1,.36,1); }

/* ロゴ: 暗いヒーローのページでは、上部にいる間だけ白抜きのロゴを出す。PC でスクロール中はロゴにも白い背景を敷く（暗いセクションの上でも読めるように） */

.corp-brand { position: relative; }
.corp-brand-light { display: none; }
@media (min-width: 1101px) {
  .corp-brand-light { display: block; position: absolute; top: 12px; left: 0; opacity: 0; transition: opacity .3s ease; }
  .corp-brand > img:first-child { transition: opacity .3s ease; }
  body:has(.detail-hero-v2:not(.hero-light)) .corp-header:not(.is-scrolled) .corp-brand > img:first-child { opacity: 0; }
  body:has(.detail-hero-v2:not(.hero-light)) .corp-header:not(.is-scrolled) .corp-brand-light { opacity: 1; }
  .corp-header .corp-brand { box-sizing: content-box; margin-left: -18px; padding: 12px 18px; border-radius: 999px; transition: opacity .25s ease, background-color .3s ease, box-shadow .3s ease; }
  .corp-header .corp-brand-light { left: 18px; }
  .corp-header.is-scrolled .corp-brand { background: rgba(255,255,255,.96); box-shadow: 0 0 16px rgba(15,59,88,.14); backdrop-filter: blur(14px); }
}

/* スマホのメニューは背景を不透明にする（後ろの見出しが透けないように） */

@media (max-width: 1100px) { .corp-mobile-menu { background: rgb(39,48,56); } }

/* TOP のヘッダーの相談ボタンも、下層と同じシアンにそろえる */

.corporate-page .corp-contact { color: #fff; border: 0; background: linear-gradient(150deg, var(--corp-cyan-light), var(--corp-cyan)); box-shadow: 0 8px 20px rgba(42,183,217,0.28); }
.corporate-page .corp-contact:hover { box-shadow: 0 13px 30px rgba(42,183,217,0.38); }

/* ==== 文字のコントラスト（WCAG AA: 通常の文字 4.5:1、大きい文字 3:1） ====
   明るい背景の上のシアン文字は濃いシアン（--corp-cyan-ink）にする。シアンは面・線・暗い背景の上で使う。
   シアン地のボタンは文字をインク色にする（白文字だと 2:1 程度しかない） */

:root { --corp-cyan-ink: #0a7a96; }
.hero3-tags small, .strength-svc .strength-svc-catch > span, .corp-dx-en, .dx-kicker,
.legacy-section-head > a span, .solution-card b, .news-list b, .industry-grid-v2 > article > span,
.office-tag, .office:first-child .office-tag, .svc-steps span, .renewal-v3 .friction-grid article > span,
.scope-grid article > span, .renewal-v3 .scope-grid article > span a { color: var(--corp-cyan-ink); }
.corp-dx-title em { color: var(--corp-blue); }
.cmp-table tr.is-datt td[data-v="●"] { color: var(--corp-blue); }
.strength-col-kicker span, .pole-kicker span { color: rgba(39,48,56,.7); }
.hc-list label i { color: rgba(39,48,56,.7); }
.cmp-table td[data-v="—"] { color: rgba(39,48,56,.7); }
.cmp-table td[data-v="△"], .cmp-note { color: rgba(39,48,56,.75); }
.industry-grid-v2 .industry-kpi dt, .industry-grid-v2 small { color: #5e6e75; }
.corp-footer-bottom .link a, .corp-footer-bottom .copy, .corp-footer-bottom .copy small { color: #6b6b6b; }
.cases-cat-nav a[aria-current="page"] { border-color: var(--corp-blue); background: var(--corp-blue); }
.corp-button-white b { background: var(--corp-blue); }
.corp-contact, .corporate-page .corp-contact, .corp-mobile-menu .corp-mobile-cta { color: var(--corp-ink); }
.legacy-voices .legacy-section-head > a span { color: var(--corp-cyan-light); }
.corp-recruit { background: linear-gradient(to right top, #346aaa, #2a77ad); }
.biz-crumb, .biz-crumb a, .biz-crumb span { color: rgba(39,48,56,.75); }

/* ==== 下層ページのヒーローを TOP と同じ明るい様式にそろえる ==== */
/* 会社概要: TOP と同じく、写真の上に左から白を重ねる */
.hero-light .detail-hero-photo::after, .page-hero.hero-light .detail-hero-photo::after { background: linear-gradient(90deg, rgba(247,252,254,.97) 0%, rgba(247,252,254,.9) 38%, rgba(247,252,254,.45) 72%, rgba(247,252,254,.15) 100%); }
/* 事例: 分野の切り替えボタンを明るい背景用に */
.hero-light .cases-cat-nav a { border-color: rgba(39,48,56,.18); color: var(--corp-ink); background: rgba(255,255,255,.7); }
.hero-light .cases-cat-nav a:hover { border-color: var(--corp-cyan); background: #fff; }
.hero-light .cases-cat-nav a[aria-current="page"] { border-color: var(--corp-blue); background: var(--corp-blue); color: #fff; }
.hero-light .cases-cat-nav small { background: rgba(39,48,56,.08); }
/* 基幹システム刷新: 右のセルフチェックは紺のカードとして残す（TOP の紺パネルと同じ扱い） */
.hero-gauge.hero-light .detail-hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(360px,.62fr); }
@media (max-width: 1100px) { .hero-gauge.hero-light .detail-hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-light .hero-gauge-card { border-color: transparent; background: linear-gradient(160deg, #061d49, #0b2f55); box-shadow: 0 30px 60px -30px rgba(6,29,73,.55); }
.hero-light .renewal-textlink:not(.is-ink) { color: var(--corp-ink); }
.hero-light .renewal-textlink:not(.is-ink) i { border-color: rgba(39,48,56,.35); }

/* ==== 下層ページの締めの CTA を TOP（.corp-cta）と同じ様式にそろえる ==== */
.detail-cta { padding: var(--pad-m) 0; color: var(--corp-ink); background: #fff; text-align: left; }
.detail-cta::before { display: none; }
.detail-cta > div { width: var(--corp-page); max-width: none; margin: 0 auto; padding: clamp(34px, 3.6vw, 56px) clamp(26px, 3.2vw, 54px); border: 1px solid var(--corp-line); border-radius: 16px; background: var(--corp-ice); }
.detail-cta .corp-kicker, .detail-cta .corp-kicker.light { color: var(--corp-blue); }
.detail-cta h2 { margin: 14px 0 0; color: var(--corp-ink); font-size: var(--fs-section); font-weight: 900; font-feature-settings: "palt"; letter-spacing: -.05em; line-height: 1.28; text-align: left; }
.detail-cta p { max-width: 64ch; margin: 20px 0 0; color: var(--corp-slate); font-size: clamp(14px, 1.05vw, 16px); font-weight: 500; line-height: 2.05; text-align: left; }
.detail-cta .corp-button { margin-top: 30px; }
.detail-cta .corp-button-white { color: #fff; border: 0; background: var(--corp-ink); box-shadow: 0 12px 28px rgba(39,48,56,.2); }
.detail-cta .corp-button-white b { color: var(--corp-ink); background: #fff; }
.detail-cta .detail-cta-note { margin-top: 18px; color: var(--corp-slate); font-size: 12.5px; }
/* 事例ページの締めの CTA も TOP の様式に */
.cases-cta-band { color: var(--corp-ink); border: 1px solid var(--corp-line); background: var(--corp-ice); }
.cases-cta-band .corp-kicker, .cases-cta-band .corp-kicker.light { color: var(--corp-blue); }
.cases-cta-band strong { color: var(--corp-ink); }
.cases-cta-band p:not(.corp-kicker) { color: var(--corp-slate); }
.cases-cta-band .corp-button-white { color: #fff; border: 0; background: var(--corp-ink); box-shadow: 0 12px 28px rgba(39,48,56,.2); }
.cases-cta-band .corp-button-white b { color: var(--corp-ink); background: #fff; }
.cases-cta-sub { color: var(--corp-ink); border-bottom-color: rgba(39,48,56,.3); }
.cases-cta-sub i { color: var(--corp-cyan-ink); }

/* ==== 章見出しを TOP（.corp-strength-title など）と同じ組み方にそろえる: 900・詰め組み・-0.05em ==== */
.detail-heading h2, .detail-v2 .detail-heading h2, .legacy-section-head h2 { font-weight: 900; font-feature-settings: "palt"; letter-spacing: -.05em; line-height: 1.28; }

/* 会社概要の VISION / MISSION / VALUE: TOP と同じ線のアイコン（淡い丸の中にシアンの線） */
.vm-icon { display: block; width: 30px; height: 30px; padding: 13px; box-sizing: content-box; border-radius: 50%; background: var(--corp-ice); color: var(--corp-cyan-ink); }
.vm-card { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
.vm-card figure.vm-figure { place-items: start; }
.value-grid li .vm-icon { margin: 0 0 18px; }

/* 文節の改行は <wbr class="bx"> と keep-all で行う（auto-phrase が残っていると、Chrome で「、」だけが次の行に落ちることがある） */
.detail-page .page-hero .detail-hero-lead, .detail-page .doc-hero .detail-hero-lead, .sdg-item > p:last-child, .mark-grid span, .svc-card-issue, .svc-intro-text, .svc-steps p, .value-grid p { word-break: keep-all; }
@media (max-width: 860px) { .vm-card { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* TOP: 導入ソリューションは BtoB の 4 製品。ゲームは下の別枠（自社IP）にまとめる */
.corporate-page .legacy-solutions .solution-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .corporate-page .legacy-solutions .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .corporate-page .legacy-solutions .solution-grid { grid-template-columns: minmax(0, 1fr); } }
.legacy-ip { padding-top: 0; }
.legacy-ip .legacy-section-head h2 { font-size: clamp(26px, 2.6vw, 36px); }
.ip-lead { width: var(--corp-page); margin: 14px auto 0; color: var(--corp-slate); font-size: clamp(14px, 1.05vw, 16px); line-height: 1.9; }
.corporate-page .solution-grid.is-ip { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-top: 24px; }
.corporate-page .solution-grid.is-ip .solution-card figure img { object-fit: cover; padding: 0; }
@media (max-width: 620px) { .corporate-page .solution-grid.is-ip { grid-template-columns: minmax(0, 1fr); } }

/* TOP: ヒーロー直下の実績の帯 */
.corp-facts { padding: clamp(28px, 3.4vw, 44px) 0; background: #fff; border-bottom: 1px solid var(--corp-line); }
.corp-facts-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: var(--corp-page); margin: 0 auto; padding: 0; list-style: none; }
.corp-facts-list li { display: flex; flex-direction: column; gap: 8px; padding: 4px clamp(14px, 1.8vw, 28px); border-left: 1px solid var(--corp-line); }
.corp-facts-list li:first-child { padding-left: 0; border-left: 0; }
.corp-facts-list b { color: var(--corp-blue); font-family: var(--corp-display); font-size: clamp(30px, 2.8vw, 42px); font-weight: 500; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.corp-facts-list b small { margin-left: 4px; color: var(--corp-ink); font-family: var(--corp-sans); font-size: 13px; font-weight: 800; letter-spacing: 0; }
.corp-facts-list span { color: var(--corp-slate); font-size: 13px; font-weight: 600; line-height: 1.7; }
@media (max-width: 1100px) {
  .corp-facts-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .corp-facts-list li:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 620px) {
  .corp-facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .corp-facts-list li { padding: 0 0 0 14px; }
  .corp-facts-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .corp-facts-list li:nth-child(4) { padding-left: 14px; border-left: 1px solid var(--corp-line); }
  .corp-facts-list b { font-size: 30px; }
}

/* 事業ページ: よくあるご質問 */
.biz-faq { margin: 0; border-top: 1px solid var(--corp-line); }
.biz-faq > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px clamp(24px, 4vw, 64px); padding: 22px 0; border-bottom: 1px solid var(--corp-line); }
.biz-faq dt { position: relative; padding-left: 30px; color: var(--corp-ink); font-size: clamp(15px, 1.2vw, 17px); font-weight: 800; line-height: 1.7; }
.biz-faq dt::before { content: "Q"; position: absolute; left: 0; top: 0; color: var(--corp-cyan-ink); font-family: var(--corp-display); font-size: 18px; font-weight: 500; }
.biz-faq dd { margin: 0; color: var(--corp-slate); font-size: 14.5px; line-height: 1.95; }
.biz-faq dd a { color: var(--corp-blue); font-weight: 700; }
@media (max-width: 860px) { .biz-faq > div { grid-template-columns: minmax(0, 1fr); } .biz-faq dd { padding-left: 30px; } }
.legacy-ip .ip-lead { width: auto; max-width: 56ch; margin: 14px 0 0; }
.legacy-ip .ip-lead { max-width: 40em; }
@media (max-width: 374px) { .corp-facts-list b { font-size: 26px; } }

/* ==== STORM Platform オンプレミス版（/storm-onpremise/） ==== */
.storm-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }
.storm-hero-actions .corp-button { margin: 0; }
.storm-textlink { display: inline-flex; align-items: center; gap: 10px; color: var(--corp-ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.storm-textlink i { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(39,48,56,.35); border-radius: 50%; font-style: normal; font-size: 13px; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.storm-textlink:hover i { transform: translateY(3px); }
.storm-hero-card { justify-self: end; width: min(100%, 420px); padding: 26px 28px 24px; border-radius: 16px; background: linear-gradient(160deg, #061d49, #0b2f55); color: #fff; box-shadow: 0 30px 60px -30px rgba(6,29,73,.55); }
.storm-hero-badge { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; font-weight: 800; }
.storm-hero-badge span { padding: 2px 9px; border-radius: 999px; background: var(--corp-cyan); color: var(--corp-ink); font-family: var(--corp-display); font-size: 11px; letter-spacing: .1em; }
.storm-hero-card dl { margin: 18px 0 0; }
.storm-hero-card dl > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 13.5px; line-height: 1.7; }
.storm-hero-card dt { color: var(--corp-cyan-light); font-weight: 700; }
.storm-hero-card dd { margin: 0; font-weight: 700; }
@media (max-width: 1100px) { .storm-hero-card { justify-self: start; } }

.storm-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.storm-plans article { position: relative; padding: clamp(24px, 2.6vw, 34px); border: 1px solid var(--corp-line); border-radius: 16px; background: #fff; }
.storm-plans article.is-featured { border: 2px solid var(--corp-blue); box-shadow: 0 24px 48px -30px rgba(0,105,170,.45); }
.storm-plan-tag { margin: 0 0 14px; color: var(--corp-cyan-ink); font-family: var(--corp-display); font-size: 12px; letter-spacing: .14em; }
.storm-plans .dx2-icon { display: block; }
.storm-plans h3 { margin: 18px 0 0; font-size: clamp(20px, 1.8vw, 24px); font-weight: 900; font-feature-settings: "palt"; letter-spacing: -.03em; }
.storm-plans p:not(.storm-plan-tag) { margin: 10px 0 0; color: var(--corp-slate); font-size: 14.5px; line-height: 1.9; }
.storm-note { margin: 18px 0 0; color: var(--corp-slate); font-size: 13px; line-height: 1.9; }
.storm-uses { margin-top: clamp(36px, 4vw, 56px); }
@media (max-width: 860px) { .storm-plans { grid-template-columns: minmax(0, 1fr); } }

.storm-figure { margin: 0; overflow: hidden; border: 1px solid var(--corp-line); border-radius: 16px; background: #fff; }
.storm-figure img { display: block; width: 100%; height: auto; }
.storm-merits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.storm-merits li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: clamp(22px, 2.4vw, 30px); border-radius: 16px; background: var(--corp-ice); }
.storm-merits li > span { color: var(--corp-blue); font-family: var(--corp-display); font-size: 30px; line-height: 1; }
.storm-merits h3 { margin: 0; color: var(--corp-ink); font-size: clamp(17px, 1.4vw, 19px); font-weight: 900; font-feature-settings: "palt"; letter-spacing: -.02em; line-height: 1.55; }
.storm-merits p { margin: 10px 0 0; color: var(--corp-slate); font-size: 14px; line-height: 1.95; }
@media (max-width: 860px) { .storm-merits { grid-template-columns: minmax(0, 1fr); } }

.storm-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 760px; margin: 0; padding: 0; list-style: none; }
.storm-metrics li { padding: 26px 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.04); }
.storm-metrics b { display: block; color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: clamp(48px, 5vw, 72px); font-weight: 500; line-height: 1; }
.storm-metrics b span { margin-left: 4px; color: #fff; font-family: var(--corp-sans); font-size: 16px; font-weight: 800; }
.storm-metrics small { display: block; margin-top: 12px; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.8; }
@media (max-width: 620px) { .storm-metrics { grid-template-columns: minmax(0, 1fr); } }

.storm-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--corp-line); }
.storm-steps li { padding: 22px 22px 22px 0; }
.storm-steps li + li { padding-left: 22px; border-left: 1px solid var(--corp-line); }
.storm-steps span { color: var(--corp-cyan-ink); font-family: var(--corp-display); font-size: 13px; letter-spacing: .1em; }
.storm-steps b { display: block; margin-top: 8px; color: var(--corp-ink); font-size: 16px; font-weight: 800; }
.storm-steps p { margin: 8px 0 0; color: var(--corp-slate); font-size: 13.5px; line-height: 1.85; }
@media (max-width: 860px) { .storm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .storm-steps li:nth-child(3) { padding-left: 0; border-left: 0; } .storm-steps li:nth-child(n+3) { border-top: 1px solid var(--corp-line); } }
@media (max-width: 520px) { .storm-steps { grid-template-columns: minmax(0, 1fr); } .storm-steps li, .storm-steps li + li { padding: 18px 0; border-left: 0; } .storm-steps li + li { border-top: 1px solid var(--corp-line); } }
.storm-roles { width: 100%; margin-top: clamp(28px, 3vw, 40px); border-collapse: collapse; font-size: 14px; }
.storm-roles caption { margin-bottom: 12px; color: var(--corp-ink); font-size: 15px; font-weight: 800; text-align: left; }
.storm-roles th, .storm-roles td { padding: 14px 16px; border-bottom: 1px solid var(--corp-line); text-align: left; line-height: 1.8; vertical-align: top; }
.storm-roles thead th { color: var(--corp-slate); font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.6); }
.storm-roles tbody th { width: 12em; color: var(--corp-ink); font-weight: 800; white-space: nowrap; }
.storm-roles td { color: #3d4a52; }
@media (max-width: 620px) { .storm-roles tbody th { width: auto; white-space: normal; } }

.storm-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.storm-quotes blockquote { margin: 0; padding: clamp(24px, 2.6vw, 34px); border-left: 3px solid var(--corp-cyan); border-radius: 0 16px 16px 0; background: var(--corp-ice); }
.storm-quotes p { margin: 0; color: var(--corp-ink); font-size: 15px; line-height: 2; }
.storm-quotes footer { margin-top: 16px; color: var(--corp-slate); font-size: 13px; font-weight: 700; }
@media (max-width: 860px) { .storm-quotes { grid-template-columns: minmax(0, 1fr); } }

.storm-spec { margin: 0; border-top: 1px solid var(--corp-line); }
.storm-spec > div { display: grid; grid-template-columns: 14em minmax(0, 1fr); gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--corp-line); }
.storm-spec dt { color: var(--corp-ink); font-size: 14px; font-weight: 800; }
.storm-spec dd { margin: 0; color: #3d4a52; font-size: 14.5px; line-height: 1.8; }
@media (max-width: 620px) { .storm-spec > div { grid-template-columns: minmax(0, 1fr); } }
.storm-hero .biz-hero-title { font-size: clamp(36px, 4vw, 58px); }
.biz-crumb { flex-wrap: wrap; row-gap: 4px; }
.biz-crumb > * { white-space: nowrap; }
@media (max-width: 480px) {
  .storm-hero-card { padding: 22px 20px 18px; }
  .storm-hero-card dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* AI駆動開発ページ: オンプレミス版の特設ページへの案内 */
.storm-callout { padding: 0 var(--gutter); margin-top: calc(-1 * clamp(36px, 4vw, 56px)); position: relative; z-index: 2; }
.storm-callout a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; width: var(--corp-page); max-width: 100%; margin: 0 auto; padding: 18px clamp(20px, 2.4vw, 32px); border-radius: 14px; background: linear-gradient(160deg, #061d49, #0b2f55); color: #fff; text-decoration: none; box-shadow: 0 24px 48px -30px rgba(6,29,73,.6); }
.storm-callout-tag { padding: 2px 9px; border-radius: 999px; background: var(--corp-cyan); color: var(--corp-ink); font-family: var(--corp-display); font-size: 11px; letter-spacing: .1em; }
.storm-callout-date { color: var(--corp-cyan-light); font-family: var(--corp-display); font-size: 14px; letter-spacing: .04em; }
.storm-callout-text { flex: 1 1 320px; font-size: 14.5px; font-weight: 700; line-height: 1.7; }
.storm-callout i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--corp-ink); font-style: normal; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.storm-callout a:hover i { transform: translateX(4px); }

/* ==== TOP 調整（2026-10-15） ==== */
/* ヒーロー見出し: 2行の間を少し空ける */
.corporate-page .hero3-title { line-height: 1.16; }
@media (max-width: 1100px) { .corporate-page .hero3-title { line-height: 1.18; } }
/* 実績の帯: 4項目 */
.corp-facts-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.corp-facts-list span { font-size: 13.5px; }
@media (max-width: 1100px) {
  .corp-facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .corp-facts-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .corp-facts-list li:nth-child(even) { padding-left: clamp(14px, 1.8vw, 28px); border-left: 1px solid var(--corp-line); }
}
@media (max-width: 620px) { .corp-facts-list li:nth-child(even) { padding-left: 14px; } }
/* 伴走の3工程: 番号を大きく */
.strength-bridge-list li, .strength-bridge-list li:first-child, .strength-bridge-list li + li { grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; }
.strength-bridge-list > li > span[lang] { width: 1.6em; padding-top: 0; color: var(--corp-cyan-light); font-size: clamp(30px, 2.6vw, 40px); line-height: 1; letter-spacing: .02em; }
/* 強みの年数: 数字を大きく、根拠を添える */
.strength-col-stat { flex-wrap: wrap; justify-content: flex-end; align-items: baseline; }
.strength-col-stat .stat-label { flex-basis: 100%; margin-bottom: 4px; color: var(--corp-slate); font-size: 12.5px; font-weight: 700; text-align: right; }
.strength-col-stat b { font-size: clamp(56px, 5.4vw, 80px); }
.strength-col-stat em { font-size: 16px; }
@media (max-width: 1100px) { .strength-col-stat { justify-content: flex-start; } .strength-col-stat .stat-label { text-align: left; } .strength-col-stat b { font-size: 56px; } }
/* 導入ソリューション: 見出しと説明の間を詰める（4列で見出しが1行に収まるため） */
@media (min-width: 1101px) { .corporate-page .legacy-solutions .solution-card h3 { min-height: 0; } }
/* お客様の声: 2件を横に並べる */
.case-row.is-voices { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(30px, 3.2vw, 44px); }
@media (max-width: 860px) { .case-row.is-voices { grid-template-columns: minmax(0, 1fr); } }
/* 強みの年数（修正）: 説明文が見出しの欄を押しつぶさないように */
.strength-col-stat { max-width: 13em; }
.strength-col-stat .stat-label { line-height: 1.5; }
.strength-col-stat b { font-size: clamp(52px, 4.6vw, 68px); }
@media (max-width: 860px) {
  .strength-col-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kicker" "title" "stat" "desc"; }
  .strength-col-stat { justify-self: start; justify-content: flex-start; max-width: none; margin-top: 10px; }
  .strength-col-stat .stat-label { text-align: left; }
  .strength-col-stat b { font-size: 52px; }
}
/* ゲームの2枚: 画像の枠を少し縦長にして、全体が見えるように */
.corporate-page .solution-grid.is-ip .solution-card figure { height: auto; aspect-ratio: 16 / 9; }
.corporate-page .solution-grid.is-ip .solution-card figure img { height: 100%; }

/* 方針ページ上部の日付・責任者欄: 項目名の幅をそろえ、値は通常の太さで読みやすく */
.doc-meta { padding: 14px 22px; }
.doc-meta > div { grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--corp-line); font-size: 13.5px; line-height: 1.7; }
.doc-meta > div:first-child { border-top: 0; }
.doc-meta dt { color: var(--corp-slate); font-weight: 600; }
.doc-meta dd { color: var(--corp-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .doc-meta { display: block; } }

/* SDGs: カードの高さの上限を外し、目標アイコンが切れないように（写真は本文の高さに合わせる） */
@media (min-width: 1101px) { .sdg-item { max-height: none; } .sdg-photo { height: 100%; } }
/* 方針の末尾の署名: 右端にそろえ、日付と項目名を列でそろえる */
.doc-sign { display: grid; justify-items: end; gap: 4px; margin-top: 28px; color: var(--corp-ink); font-size: 14px; font-weight: 500; line-height: 1.8; text-align: right; }
.doc-sign-date { display: grid; grid-template-columns: auto 5em; column-gap: 1em; font-variant-numeric: tabular-nums; }
.doc-sign-date > span:first-child { text-align: right; }
.doc-sign-date > span:last-child { text-align: left; }
.doc-sign-line { display: block; }
.doc-sign-line + .doc-sign-line, .doc-sign-date + .doc-sign-line { margin-top: 0; }
.doc-sign-date + .doc-sign-line { margin-top: 10px; }
/* 実績の帯: 375px 未満は1列 */
@media (max-width: 374px) {
  .corp-facts-list { grid-template-columns: minmax(0, 1fr); }
  .corp-facts-list li, .corp-facts-list li:nth-child(even), .corp-facts-list li:nth-child(4) { padding-left: 0; border-left: 0; }
}
.doc-page .doc-body .doc-sign { justify-items: end; text-align: right; }
/* PC だけで効かせる改行 */
@media (max-width: 767px) { br.pcbr { display: none; } }

/* 強みの年数: 見出しの右隣に寄せ、下端を見出しにそろえる（空白を詰める） */
@media (min-width: 861px) {
  .strength-col-top { grid-template-columns: auto minmax(0, 1fr); align-items: end; }
  .strength-col-top h3 { align-self: end; }
  .strength-col-stat { justify-self: start; align-self: end; justify-content: flex-start; max-width: none; margin: 0 0 0 clamp(14px, 1.8vw, 28px); }
  .strength-col-stat b { font-size: clamp(52px, 4.4vw, 64px); line-height: .9; }
}
/* 01〜03: 番号を、右の見出しと説明のまとまりの中央にそろえる */
.strength-bridge-list li, .strength-bridge-list li:first-child, .strength-bridge-list li + li { align-items: center; }
.strength-bridge-list > li > span[lang] { align-self: center; }
/* OUR BELIEF: 本文を2段落に */
.corp-creed-lead + .corp-creed-lead { margin-top: 1.2em; }

/* TOP「未活用のまま残る経営資源」: 1行目に番号と見出し、2行目に説明（アイコンは使わない） */
.corporate-page .corp-dx .dx2-tiles li { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "no b" "p p"; align-items: baseline; column-gap: 14px; min-height: 0; padding: clamp(22px, 2.2vw, 28px); }
.corporate-page .corp-dx .dx2-tiles .dx2-icon { display: none; }
.corporate-page .corp-dx .dx2-tiles .dx2-no { grid-area: no; position: static; color: var(--corp-cyan-ink); -webkit-text-stroke: 0; font-size: clamp(26px, 2.2vw, 32px); line-height: 1; letter-spacing: .02em; opacity: 1; }
.corporate-page .corp-dx .dx2-tiles b { grid-area: b; margin: 0; padding: 0; }
.corporate-page .corp-dx .dx2-tiles p { grid-area: p; margin: 12px 0 0; }
.legacy-ip .ip-lead { max-width: 48em; }

/* サービス詳細: 共通タブをページ上部（ヘッダーの直下）に置く */
.service-page .svc-tabs.is-top { margin-top: 96px; border-top: 1px solid var(--corp-line); background: rgba(255,255,255,.96); }
.service-page .svc-tabs.is-top + .detail-hero-v2 { padding-top: clamp(48px, 6vh, 72px); min-height: 0; padding-bottom: clamp(48px, 6vw, 80px); }
@media (max-width: 1100px) { .service-page .svc-tabs.is-top { margin-top: 98px; } }
@media (max-width: 767px) { .service-page .svc-tabs.is-top { margin-top: 82px; } .service-page .svc-tabs.is-top + .detail-hero-v2 { padding-top: 36px; } }

/* 医療・ヘルスケア: 図は切らずに全体を見せる */
.svc-figure img[src*="/hc-"] { object-fit: contain; background: #fff; }
.svc-figure:has(img[src*="/hc-"]) { background: #fff; border: 1px solid var(--corp-line); }
/* サービス詳細（CIM・医療・エンタメ）: PC では説明文を1文1行で */
@media (min-width: 1200px) {
  .service-page .detail-hero-lead.is-lines, .service-page .svc-intro-text.is-lines { white-space: nowrap; }
  .service-page .detail-hero-lead.is-lines wbr, .service-page .svc-intro-text.is-lines wbr { display: none; }
  .service-page .detail-hero-lead.is-lines br.sb, .service-page .svc-intro-text.is-lines br.sb { display: inline; }
  .service-page .detail-hero-lead.is-lines { max-width: none; font-size: clamp(13px, 1.04vw, 15px); }
  .service-page .detail-hero-v2:has(.is-lines) .detail-hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
}
.svc-figure img[src*="/bpo-safety"] { object-fit: contain; background: #fff; }
.svc-figure:has(img[src*="/bpo-safety"]) { background: #fff; border: 1px solid var(--corp-line); }
/* お客様の声: 写真が1枚のカードは横いっぱいに */
.case-row.is-voices .case-shots-pair:has(> figure:only-child) { grid-template-columns: minmax(0, 1fr); }
.case-row.is-voices .case-shots-pair > figure:only-child img { aspect-ratio: 706 / 262; object-fit: cover; }
/* 実績の帯: スマホは1列 */
@media (max-width: 620px) {
  .corp-facts-list { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .corp-facts-list li, .corp-facts-list li:nth-child(odd), .corp-facts-list li:nth-child(even), .corp-facts-list li:nth-child(4) { padding-left: 0; border-left: 0; }
}
.case-strip img[src*="/bpo-safety"] { object-fit: contain; background: #fff; }
@media (min-width: 1200px) { .service-page .svc-intro-text.is-lines { max-width: none; } }
.doc-toc li a .nw { display: contents; }
@media (min-width: 1200px) { .service-page .svc-intro-text.is-lines { font-size: clamp(14px, 1.1vw, 16px); } }

/* TOP: 実績の帯のすぐ下に取引先のロゴを流す（間を詰める） */
.corp-facts { border-bottom: 0; padding-bottom: clamp(18px, 2vw, 28px); }
.corp-facts + .corp-proof { padding-top: 0 !important; margin-top: 0 !important; }
.corp-facts + .corp-proof .corp-clients { margin-top: 0 !important; padding-top: 0 !important; }

/* 左端のセクション番号・進捗表示は使わない */
.rail { display: none !important; }

/* グループ会社バナー: タブレット幅まで横に並べる（スマホだけ縦） */
@media (min-width: 621px) {
  .group-banners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .group-banners a { grid-template-columns: minmax(0, 1fr); gap: 12px; min-height: 0; padding: 16px 16px 18px; }
}
@media (min-width: 1101px) { .group-banners a { grid-template-columns: 240px minmax(0, 1fr); padding: 18px 24px 18px 18px; } }
/* お問い合わせフォーム: 入力欄は縦一列 */
.cf-grid { grid-template-columns: minmax(0, 1fr); }

/* ==== 会社概要: 企業理念（元サイト www.datt.co.jp/aboutus/ の構成に合わせる） ==== */
.philosophy.is-classic { background: #fff; color: var(--corp-ink); }
.vmv-row { margin-top: clamp(40px, 4.6vw, 64px); }
.vmv-head { position: relative; padding: 18px 0 16px; border-top: 2px solid #c9d3d9; border-bottom: 1px solid var(--corp-line); }
.vmv-head::before { content: ""; position: absolute; top: -2px; left: 0; width: 60px; height: 2px; background: var(--corp-cyan); }
.vmv-head h3 { display: flex; align-items: baseline; gap: 1em; margin: 0; color: var(--corp-ink); font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: .02em; }
.vmv-head h3 span { font-family: var(--corp-sans); font-weight: 700; letter-spacing: .02em; }
.vmv-body { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 3vw, 48px); margin-top: clamp(24px, 2.6vw, 36px); }
.vmv-body figure { margin: 0; }
.vmv-body figure img { display: block; width: 100%; height: auto; }
.vmv-en { margin: 0 0 12px; color: var(--corp-blue); font-family: var(--corp-sans); font-size: clamp(14px, 1.15vw, 17px); font-weight: 800; letter-spacing: .02em; }
.vmv-lead { margin: 0; color: var(--corp-ink); font-size: clamp(18px, 1.7vw, 24px); font-weight: 700; line-height: 1.6; letter-spacing: .02em; }
.vmv-sub { margin: 14px 0 0; color: var(--corp-cyan-ink); font-size: clamp(15px, 1.35vw, 19px); font-weight: 700; letter-spacing: .04em; }
.vmv-text { margin: 16px 0 0; color: #3d4a52; font-size: 14px; line-height: 1.9; }
.vmv-note { margin: 8px 0 0; color: var(--corp-slate); font-size: 12px; line-height: 1.7; }
.vmv-values { margin: 22px 0 0; padding: 0; list-style: none; }
.vmv-values li { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 16px; padding: 12px 0; }
.vmv-values li img { width: 56px; height: auto; }
.vmv-values b { display: flex; align-items: baseline; gap: .6em; color: var(--corp-ink); font-size: 15px; font-weight: 700; }
.vmv-values b span { font-family: var(--corp-sans); font-weight: 600; }
.vmv-values p { margin: 6px 0 0; color: #3d4a52; font-size: 13px; line-height: 1.8; }
@media (max-width: 860px) {
  .vmv-body { grid-template-columns: minmax(0, 1fr); }
  .vmv-body figure { max-width: 420px; }
}
.vmv-row:last-child .vmv-body { align-items: start; }
/* 鉄道事例: 関連する取り組みの画面 */
.case-related-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.case-related-shots figure { margin: 0; }
.case-related-shots img { display: block; width: 100%; height: auto; border: 1px solid var(--corp-line); border-radius: 10px; }
.case-related-shots figcaption { margin-top: 6px; color: #4f6068; font-size: 12px; }
@media (max-width: 620px) { .case-related-shots { grid-template-columns: minmax(0, 1fr); } }
.storm-quotes blockquote.has-photo { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-areas: "img p" "img f"; column-gap: 20px; align-content: start; }
.storm-quotes blockquote.has-photo img { grid-area: img; width: 120px; height: 150px; object-fit: cover; border-radius: 10px; }
.storm-quotes blockquote.has-photo p { grid-area: p; }
.storm-quotes blockquote.has-photo footer { grid-area: f; }
@media (max-width: 520px) { .storm-quotes blockquote.has-photo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "img" "p" "f"; } .storm-quotes blockquote.has-photo img { margin-bottom: 14px; } }

/* ==== 横幅（2026-10-16）: 元サイトと同じく左右の余白を詰め、画面の横幅を広く使う ==== */
:root { --page-max: 1480px; --corp-page: min(var(--page-max), calc(100vw - 2 * var(--gutter-min, 20px))); --gutter: max(20px, calc((100vw - var(--page-max)) / 2)); }
@media (min-width: 621px) { :root { --gutter-min: 24px; --gutter: max(24px, calc((100vw - var(--page-max)) / 2)); } }
@media (min-width: 861px) { :root { --gutter-min: clamp(32px, 3.6vw, 56px); --gutter: max(clamp(32px, 3.6vw, 56px), calc((100vw - var(--page-max)) / 2)); } }
.corp-footer-inner { max-width: var(--page-max); }
.corp-dx-head, .corp-strength-head, .biz-head { max-width: none; }
.cases-index { max-width: none; }
.case-strip.is-single { max-width: 1180px; }
/* 横幅を広げたぶん、PC では小さすぎる本文を一段大きくする */
@media (min-width: 1200px) {
  .case-card-copy p, .solution-copy p, .solution-card p, .stack-layer p, .mt-card p, .ev-ctrl li, .industry-detail dd, .industry-kpi dd,
  .svc-card ul, .svc-copy li, .case-checks li, .case-prod li, .cert-facts li, .office-access li, .vmv-values p, .value-grid p,
  .dx2-tiles p, .strength-bridge-list small, .bridge-steps small, .corp-facts-list span, .cases-cat-list small, .biz-faq dd,
  .message-body p.message-note, .group-banners small, .storm-steps p, .storm-merits p, .news-list p { font-size: 14.5px; }
  .case-shots-page figcaption, .case-shots figcaption, .case-related-shots figcaption, .span.cap-text, .biz-hero-visual figcaption { font-size: 13px; }
  .industry-detail dt, .industry-kpi dt, .case-prod dt, .svc-card-body .svc-kind { font-size: 12.5px; }
  .industry-kpi small, .vmv-note, .case-quote footer { font-size: 12.5px; }
  .solution-card h3 { font-size: 19px; }
  .case-card-copy h3 { font-size: 21px; }
  .dx2-tiles b, .strength-bridge-list b { font-size: 17px; }
}
/* 取引先ロゴ帯: 余白の変数化に合わせ、.corp-proof の左右 padding（--gutter）ぶんだけ外へ引く */
.corp-clients, .corp-clients { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
/* TOP ヒーロー: 新ロゴのサイン写真が見出しと重ならないよう、PC では写真を右側 68% に置く */
@media (min-width: 861px) {
  .hero4 .hero3-bg img { position: absolute; top: 0; right: 0; width: 68%; object-position: 50% 45%; }
  .hero4 .hero3-bg::after { background:
    linear-gradient(90deg, rgba(231,248,252,1) 0%, rgba(231,248,252,1) 32%, rgba(231,248,252,.55) 40%, rgba(231,248,252,.12) 50%, rgba(231,248,252,0) 58%),
    linear-gradient(180deg, rgba(231,248,252,.25) 0%, rgba(231,248,252,0) 30%, rgba(255,255,255,0) 72%, #fff 100%); }
}
/* 経営資源カードの1行説明: 1200〜1399px では本文の拡大分を戻して1行に収める */
@media (min-width: 1200px) and (max-width: 1399px) { .dx2-tiles p.dx2-oneline { font-size: 13.5px; letter-spacing: 0; } }
@media (min-width: 1200px) and (max-width: 1279px) { .dx2-tiles p.dx2-oneline { font-size: 13px; } }
/* 取引先ロゴ帯: 上下の地色に余白を取る（下の負マージンで次のセクションに隠れていたのを解消） */
.corp-facts + .corp-proof { padding-bottom: 0 !important; }
.corp-facts + .corp-proof .corp-clients { padding: clamp(20px, 2.2vw, 32px) 0 !important; margin-bottom: 0 !important; }
/* ヘッダーの「DX相談」ボタン: 濃いシアンの地に白文字（白文字とのコントラスト 5:1 以上） */
.corp-contact, .corporate-page .corp-contact { color: #fff; background: linear-gradient(150deg, #0a7a96, #08657e); box-shadow: 0 8px 20px rgba(8,101,126,.28); }
.corp-contact:hover, .corporate-page .corp-contact:hover { color: #fff; box-shadow: 0 13px 30px rgba(8,101,126,.38); }
.corp-contact span, .corp-contact small, .corporate-page .corp-contact span, .corporate-page .corp-contact small { color: #fff; }
/* 伴走支援の 01〜03: Oswald の数字は行ボックスの中で下に寄るため、見出し＋説明の中心へ光学的に合わせる */
.strength-bridge-list > li > span[lang] { transform: translateY(-.14em); }
/* 「社内に埋もれた強みを、次の競争力へ。」は PC で1行 */
@media (min-width: 1024px) { .corp-creed-title.brk > span, .corp-creed-title .rl, .corp-creed-title .ri { display: inline-block; vertical-align: top; } .corp-creed-title { white-space: nowrap; } }
/* お問い合わせ: その他の窓口を3枚のカードに分ける */
.contact-side { gap: 12px; }
.contact-side > .corp-kicker { margin: 0 0 4px; }
.contact-route { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 40px; grid-template-areas: "en arrow" "title arrow" "desc arrow"; align-items: center; column-gap: 16px; padding: 22px 24px 22px 26px; border: 1px solid var(--corp-line); border-radius: 14px; color: var(--corp-ink); background: #fff; text-decoration: none; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.contact-route:hover { border-color: rgba(10,122,150,.45); box-shadow: 0 14px 30px rgba(15,59,88,.1); transform: translateY(-2px); }
.contact-route-en { grid-area: en; color: var(--corp-cyan-ink); font-family: var(--corp-display); font-size: 12px; letter-spacing: .14em; }
.contact-route b { grid-area: title; margin-top: 6px; font-size: 17px; font-weight: 800; line-height: 1.5; letter-spacing: -.01em; }
.contact-route small { grid-area: desc; margin-top: 4px; color: var(--corp-slate); font-size: 13px; line-height: 1.7; }
.contact-route i { grid-area: arrow; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: var(--corp-cyan-ink); font-style: normal; font-size: 15px; transition: transform .25s ease; }
.contact-route:hover i { transform: translateX(3px); }
@media (max-width: 620px) { .contact-route { padding: 18px 18px 18px 20px; column-gap: 12px; } .contact-route b { font-size: 16px; } .contact-route i { width: 36px; height: 36px; } }
/* お問い合わせ: 相談の種類はチェックボックス（複数選択可） */
.cf-kind legend small { margin-left: 10px; color: var(--corp-slate); font-size: 12px; font-weight: 500; }
.cf-chips.is-check span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; }
.cf-chips.is-check span::before { content: ""; flex-shrink: 0; width: 16px; height: 16px; border: 1.5px solid #9fb3bb; border-radius: 4px; background: #fff center / 11px no-repeat; transition: background-color .2s ease, border-color .2s ease; }
.cf-chips.is-check input:checked + span { border-color: var(--corp-cyan-ink); color: var(--corp-ink); background: #e8f6fa; }
.cf-chips.is-check input:checked + span::before { border-color: var(--corp-cyan-ink); background-color: var(--corp-cyan-ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* サービス一覧カード: 種別を見出しの右に置き、カード内の余白を広げる */
.svc-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; }
.svc-card-head h2 { margin: 0; }
.svc-card-body .svc-card-head .svc-kind { align-self: center; margin-top: 2px; }
.svc-card-body { padding: 26px 28px 30px; }
.svc-card-body .svc-card-issue { margin-top: 16px; line-height: 1.75; }
.svc-card-body ul { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--corp-line); line-height: 1.95; }
.svc-card-body b { right: 24px; bottom: 26px; }
@media (max-width: 620px) { .svc-card-body { padding: 22px 20px 26px; } .svc-card-body b { right: 18px; bottom: 22px; } }
.svc-card-body .svc-card-issue { min-height: calc(1.75em * 2); }
.svc-card-body ul { padding-right: 0; }
.svc-card-body { padding-bottom: 76px; }
@media (max-width: 620px) { .svc-card-body { padding-bottom: 70px; } .svc-card-body .svc-card-issue { min-height: 0; } }
/* サービス一覧のリード: 2行目（41字）を PC で1行に収める */
@media (min-width: 1024px) { body .detail-hero.hero-oneline .detail-hero-copy .detail-hero-lead { max-width: none; } }
/* ==== イラスト（元サイト素材, 2026-10-17） ==== */
/* TOP 強み: 元サイトの「AI事例・研究」と同じ水色のグラデーション＋大きなロゴマーク */
.corp-strength { overflow: hidden; background: linear-gradient(-135deg, #aaeeff, rgba(162,219,255,0) 80%), #fff; }
.corp-strength::after { content: ""; position: absolute; top: clamp(40px, 6vw, 100px); right: clamp(-40px, -2vw, -15px); z-index: 0; width: min(52vw, 760px); aspect-ratio: 712.78 / 506.69; background: url("/assets/illust/logo-watermark.svg") no-repeat 0 0 / 100%; pointer-events: none; }
.corp-strength > * { position: relative; z-index: 1; }
/* 事業カードのイラスト */
.strength-col-top { position: relative; }
.strength-col-ill { position: absolute; top: 22px; right: 28px; width: clamp(150px, 15vw, 220px); margin: 0; pointer-events: none; }
.strength-col-ill img { display: block; width: 100%; height: auto; }
@media (min-width: 1101px) { .strength-col-top > :not(.strength-col-ill) { position: relative; z-index: 1; } .strength-col-desc { max-width: calc(100% - clamp(150px, 15vw, 220px) - 12px); } }
@media (max-width: 1100px) { .strength-col-ill { position: static; grid-area: auto; width: 140px; margin: 0 0 6px auto; order: -1; } .strength-col-top { display: flex; flex-direction: column; } }
.strength-col-ill { top: 20px; right: 26px; width: auto; height: clamp(96px, 9vw, 128px); }
.strength-col-ill img { width: auto; height: 100%; }
@media (min-width: 1101px) { .strength-col-desc { max-width: none; } }
@media (max-width: 1100px) { .strength-col-ill { position: absolute; top: 18px; right: 20px; height: 84px; margin: 0; } .strength-col-top { display: grid; } }
@media (min-width: 621px) and (max-width: 1100px) { .strength-col-ill { top: 14px; right: 18px; height: 64px; } }
@media (max-width: 620px) { .strength-col-ill { top: 96px; right: 18px; height: 78px; } }
@media (max-width: 620px) { .strength-col-ill { top: 90px; height: 70px; } }
/* 下層ヒーローのイラスト（サービス一覧・導入事例・お問い合わせ） */
.detail-hero-v2 .detail-hero-grid { position: relative; }
.hero-ill { margin: 0; pointer-events: none; }
.hero-ill img { display: block; width: 100%; height: auto; }
@media (min-width: 1024px) {
  .hero-ill { position: absolute; right: 0; bottom: -10px; z-index: 1; width: clamp(300px, 28vw, 420px); }
  .detail-hero-v2:has(.hero-ill)::before, .detail-hero-v2:has(.hero-ill)::after { opacity: .55; }
}
@media (max-width: 1023px) { .hero-ill { width: min(300px, 70%); margin: 28px auto 0; } }
/* AI駆動開発 03: レイヤー図の階段の右上にイラスト */
.biz-section:has(> .biz-side-ill) { position: relative; }
.biz-side-ill { display: none; margin: 0; pointer-events: none; }
.biz-side-ill img { display: block; width: 100%; height: auto; }
@media (min-width: 1200px) { .biz-side-ill { display: block; position: absolute; right: var(--gutter); top: clamp(60px, 6vw, 96px); width: clamp(220px, 17vw, 270px); } }
@media (min-width: 1024px) {
  .hero-ill { bottom: 0; width: clamp(260px, 23vw, 340px); }
  .hero-contact .hero-ill { width: clamp(220px, 18vw, 280px); }
}
@media (min-width: 1024px) and (max-width: 1279px) { .hero-contact .hero-ill, .cases-hero .hero-ill { position: static; width: 260px; margin: 24px 0 0 auto; } }
@media (min-width: 1024px) and (max-width: 1439px) { .hero-oneline .hero-ill, .hero-contact .hero-ill { position: static; width: 260px; margin: 24px 0 0 auto; } }
@media (min-width: 1440px) { .hero-oneline .hero-ill { width: clamp(280px, 19vw, 330px); } }
/* AI駆動開発 03: ツール名チップ（各社ロゴは使わず、文字＋汎用ピクトグラム） */
.biz-side-ill .tool-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.biz-side-ill .tool-chips li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 8px; border: 1px solid var(--corp-line); border-radius: 999px; background: #fff; color: var(--corp-ink); font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap; box-shadow: 0 4px 12px rgba(15,59,88,.06); }
.biz-side-ill .tool-chips svg { width: 15px; height: 15px; fill: none; stroke: var(--corp-cyan-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.biz-side-ill img { width: 82%; margin-inline: auto; }
@media (min-width: 1200px) { .biz-side-ill { width: clamp(250px, 19vw, 290px); top: clamp(48px, 5vw, 80px); } }
.biz-side-ill img { width: 52%; }
/* ==== 不具合修正（2026-10-17 第三者レビュー） ==== */
/* 1. スマホ・タブレットで下層ページのヘッダーが上から18px浮いていた */
@media (max-width: 1100px) { .detail-page .corp-header, .biz-page .corp-header { top: 0; } }
/* 2. iPhone で入力時に画面が拡大されないよう、フォームの文字を16pxに */
@media (max-width: 1100px) { .contact-form input:not([type="checkbox"]):not([type="radio"]), .contact-form textarea, .contact-form select { font-size: 16px; } }
/* 3. 事例ページ冒頭の事例カードが、縦積み時にヒーロー下端で切れていた */
@media (max-width: 860px) { .cases-hero .cases-index { margin-bottom: 0; transform: none; } .cases-hero.detail-hero-v2 { padding-bottom: 40px; } }
/* 掲載確認用ページ（/cases/takasago/）の注記 */
.review-note { display: inline-block; margin: 18px 0 0; padding: 10px 14px; border: 1px solid rgba(194,65,12,.35); border-radius: 8px; color: #9a3412; background: #fff7ed; font-size: 13px; line-height: 1.7; }
/* ==== ピクトグラム（2026-10-17） ==== */
.picto { display: block; fill: none; stroke: var(--corp-cyan-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* P1 TOP 未活用のまま残る経営資源: カード右上にアイコン */
.corporate-page .corp-dx .dx2-tiles li { position: relative; }
.corporate-page .corp-dx .dx2-tiles .dx2-icon { display: block; position: absolute; top: clamp(18px, 2vw, 24px); right: clamp(18px, 2vw, 24px); width: 22px; height: 22px; padding: 10px; border-radius: 12px; color: var(--corp-cyan-ink); background: #e8f6fa; stroke-width: 1.6; }
.corporate-page .corp-dx .dx2-tiles b { padding-right: 52px; }
/* P2 スマートBPO 業界カード */
.industry-grid-v2 .ind-picto { width: 30px; height: 30px; margin: 0 0 10px; padding: 9px; border-radius: 12px; background: #e8f6fa; }
/* P7 お問い合わせ OTHER */
.contact-route { grid-template-columns: 44px minmax(0, 1fr) 40px; grid-template-areas: "picto en arrow" "picto title arrow" "picto desc arrow"; }
.contact-route .route-picto { grid-area: picto; align-self: center; width: 24px; height: 24px; padding: 10px; border-radius: 12px; background: #e8f6fa; }
@media (max-width: 620px) { .contact-route { grid-template-columns: 38px minmax(0, 1fr) 36px; } .contact-route .route-picto { width: 20px; height: 20px; padding: 9px; } }
/* P6 STORM 2つのメリット（HTML の比較図） */
.storm-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin: 0 0 clamp(28px, 3vw, 40px); padding: clamp(18px, 2.4vw, 32px); border: 1px solid var(--corp-line); border-radius: 18px; background: #fff; }
.sc-col { display: flex; flex-direction: column; gap: 14px; padding: clamp(16px, 2vw, 24px); border: 1px solid var(--corp-line); border-radius: 14px; background: var(--corp-mist); }
.sc-col.is-on { border: 2px solid var(--corp-cyan-ink); background: #f0fafd; }
.sc-head { margin: 0; padding: 10px 12px; border-radius: 8px; color: var(--corp-ink); background: #e3eef3; font-size: clamp(14px, 1.2vw, 16px); font-weight: 800; text-align: center; }
.sc-col.is-on .sc-head { color: #fff; background: var(--corp-cyan-ink); }
.sc-env { position: relative; padding: 26px 12px 12px; border: 1.5px dashed rgba(10,122,150,.55); border-radius: 12px; }
.sc-env-label { position: absolute; top: -12px; left: 50%; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; color: var(--corp-cyan-ink); background: #f0fafd; font-size: 12px; font-weight: 800; transform: translateX(-50%); white-space: nowrap; }
.sc-env-label .picto { width: 14px; height: 14px; stroke-width: 2; }
.sc-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.sc-node { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 1px solid var(--corp-line); border-radius: 12px; background: #fff; text-align: center; }
.sc-node .picto { width: 30px; height: 30px; }
.sc-node b { font-size: 13.5px; font-weight: 800; line-height: 1.4; }
.sc-node small { color: var(--corp-slate); font-size: 12px; line-height: 1.4; }
.sc-node.is-own { border-color: var(--corp-cyan-ink); }
.sc-arrow { position: relative; display: grid; justify-items: center; min-width: 76px; color: var(--corp-cyan-ink); font-size: 12px; font-weight: 700; }
.sc-arrow::after { content: ""; display: block; width: 100%; height: 2px; margin-top: 6px; background: currentColor; -webkit-mask: linear-gradient(90deg, #000 calc(100% - 8px), transparent 0); }
.sc-arrow::before { content: ""; position: absolute; right: -1px; bottom: -4px; border: 5px solid transparent; border-left: 8px solid currentColor; border-right: 0; }
.sc-where { margin: 0; color: var(--corp-ink); font-size: 13.5px; font-weight: 700; text-align: center; }
.sc-cost { display: flex; align-items: center; justify-content: center; gap: 10px; margin: auto 0 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 800; line-height: 1.5; }
.sc-cost .picto { flex: 0 0 auto; width: 28px; height: 28px; }
.sc-cost.is-bad { color: #475a63; background: #e9eef1; }
.sc-cost.is-bad .picto { stroke: #6b7c84; }
.sc-cost.is-good { color: var(--corp-cyan-ink); background: #dff3f9; }
@media (max-width: 760px) {
  .storm-compare { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .sc-flow { grid-template-columns: minmax(0, 1fr); }
  .sc-arrow { min-width: 0; padding: 2px 0 10px; }
  .sc-arrow::after { width: 2px; height: 18px; margin: 4px auto 0; -webkit-mask: linear-gradient(180deg, #000 calc(100% - 6px), transparent 0); }
  .sc-arrow::before { right: auto; left: 50%; bottom: 0; border: 5px solid transparent; border-top: 8px solid currentColor; border-bottom: 0; transform: translateX(-50%); }
}
.ind-picto, .route-picto, .corporate-page .corp-dx .dx2-tiles .dx2-icon { box-sizing: content-box; }
/* TOP 強み: 縦積み時のシステム開発／BPOカードの間を少しあける */
.strength-two { row-gap: 14px; }

/* ==== 第三者レビュー対応（2026-10-19） ==== */
/* 事例ページ冒頭の事例カード: どの幅でも切らずに全体を見せる */
.cases-hero .cases-index { margin-bottom: 0; transform: none; }
.cases-hero.detail-hero-v2 { padding-bottom: clamp(40px, 5vw, 72px); }
/* STORM 02: 注記と下の機能グリッドの間をあける */
.storm-note + * { margin-top: clamp(28px, 3vw, 40px); }
.storm-note { margin-bottom: 0; }
/* お問い合わせ（スマホ・タブレット）: フォームを早く見せる。イラストと飾り文字は出さない */
@media (max-width: 1023px) {
  .hero-contact .hero-ill { display: none; }
  .hero-contact.detail-hero::after { display: none; }
  .hero-contact.page-hero.detail-hero-v2 { padding-bottom: 28px; }
  .contact-page .contact-section { padding-top: 24px; }
}
/* お問い合わせのイラスト: 腰の位置の切れ目を下へ溶かす */
.hero-contact .hero-ill img { -webkit-mask: linear-gradient(#000 78%, transparent); mask: linear-gradient(#000 78%, transparent); }
/* 導入事例トップのイラスト: 他のイラストと色調を合わせる */
.cases-hero .hero-ill img { filter: saturate(.55) hue-rotate(-12deg) brightness(1.04); }
/* ヘッダーの相談ボタン: スマホ・タブレットではどのページも同じ大きさ */
@media (max-width: 1100px) {
  .corp-contact, .corporate-page .corp-contact { width: auto; min-width: 0; height: 42px; min-height: 42px; padding: 0 16px; margin-left: auto; }
  .corp-contact span, .corporate-page .corp-contact span { font-size: 12px; white-space: nowrap; }
  .corp-header-inner { gap: 12px; }
}
/* フッター: サイト内リンク */
.corp-footer-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0 0 18px; padding: 22px 0 18px; border-top: 1px solid var(--corp-line); }
.corp-footer-nav a { padding: 8px 0; color: var(--corp-ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.corp-footer-nav a:hover { color: var(--corp-cyan-ink); }
.corp-footer-nav i { margin-left: 3px; font-style: normal; font-size: 12px; }
.corp-footer-bottom .link a { display: inline-block; padding: 10px 0; }
@media (max-width: 620px) { .corp-footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; } .corp-footer-nav a { padding: 11px 0; } }
.corp-mobile-recruit i { margin-left: 4px; font-style: normal; font-size: .8em; }
/* パンくず: 押しやすく */
.detail-breadcrumb a, .biz-crumb a { display: inline-block; padding: 8px 2px; margin: -8px -2px; }
/* 健康経営・規程の本文: 文末まとめ（.sbt）が単語の途中で折れる原因になるため解除 */
.doc-page .doc-article .sbt, .doc-page .doc-bullets .sbt { white-space: normal; }
/* 小さすぎる文字の底上げ */
.cap-tag { font-size: 12px; }
figcaption, .case-shots-page figcaption { font-size: max(12px, 1em); }
.svc-tabs a span { font-size: 11px; }
.cf-field > span i, .cf-kind legend span, .cf-agree i { font-size: 12px; }
.cf-agree i { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 4px; color: #fff; background: var(--corp-blue); font-style: normal; font-weight: 800; vertical-align: 1px; }
/* お問い合わせ: 項目ごとのエラー文、同意欄を押しやすく */
.cf-msg { margin: 6px 0 0; color: #c2410c; font-size: 13px; font-weight: 700; }
.cf-agree { display: flex; align-items: center; flex-wrap: wrap; min-height: 44px; }
.cf-agree .cf-msg { flex-basis: 100%; }
/* スマホで読めない図: タップで原寸表示できることを示す */
.svc-figure.is-zoom a { position: relative; display: block; }
@media (max-width: 860px) { .svc-figure.is-zoom a::after { content: "タップで拡大"; position: absolute; right: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; color: #fff; background: rgba(15,40,56,.75); font-size: 12px; font-weight: 700; } }
/* TOP ヒーロー（スマホ）: 看板の文字が見える位置に */
@media (max-width: 860px) { .hero3-bg img { object-position: 72% 50%; } }
/* TOP 強み（2列のとき）: 左右カードの SERVICE 帯の高さをそろえる */
@media (min-width: 861px) { .strength-col { display: grid; grid-template-rows: subgrid; grid-row: span 2; } .strength-two { grid-template-rows: auto auto; } }
/* TOP 伴走支援 01〜03（狭いスマホ）: 番号を上に置いて本文を広く */
@media (max-width: 400px) { .strength-bridge-list li, .strength-bridge-list li:first-child, .strength-bridge-list li + li { grid-template-columns: minmax(0, 1fr); row-gap: 4px; } .strength-bridge-list > li > span[lang] { font-size: 26px; } }
/* TOP 伴走の4工程（スマホ）: イラストを左に小さく置き、縦の長さを抑える */
@media (max-width: 620px) {
  .bridge-steps li { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "img no" "img b" "img s"; column-gap: 14px; align-items: start; }
  .bridge-steps li img { grid-area: img; width: 96px; height: auto; margin: 0; align-self: center; }
  .bridge-steps li > span { grid-area: no; } .bridge-steps li > b { grid-area: b; } .bridge-steps li > small { grid-area: s; }
}
/* 下層ヒーローの飾り文字（スマホ）: 本文に重ならないよう薄く */
@media (max-width: 860px) { .detail-hero-v2::after { opacity: .45; } }
/* TOP「INSIDE」: 右端で切れないよう小さく */
.corp-creed-word { font-size: min(18vw, 260px); }
/* サービスのタブ: 左側にも続きがあることを示す */
@media (max-width: 1100px) { .svc-tabs { -webkit-mask: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 28px), transparent); mask: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 28px), transparent); } }
/* 取引先ロゴ（大きな画面）: 同じロゴが一画面に2回並ばないよう大きめに */
@media (min-width: 1600px) { .corp-clients-row li { width: 320px; margin-right: 24px; } }
/* 1024〜1100px（ノートPC・iPad 横）: メニューボタンではなく、ナビを出す */
@media (min-width: 1024px) and (max-width: 1100px) {
  .corp-nav, .corporate-page .corp-nav { display: flex; gap: 14px; margin-left: auto; padding: 10px 16px; background: transparent; box-shadow: none; }
  .corp-nav a, .corporate-page .corp-nav a { font-size: 12px; }
  .corp-nav > span { display: none; }
  .corp-menu-button { display: none; }
  .corp-mobile-menu { display: none !important; }
  .corp-contact, .corporate-page .corp-contact, .corporate-page .corp-recruit-nav { margin-left: 8px; }
  .corp-header-inner { padding-right: 24px; }
}
/* サービス下層: 冒頭の導入文の上下の空きを詰める */
.service-page .svc-intro { padding-top: clamp(40px, 4vw, 64px); padding-bottom: clamp(32px, 3vw, 48px); }
.biz-body .storm-note + .storm-uses { margin-top: clamp(32px, 3vw, 44px) !important; }
@media (max-width: 400px) {
  .case-shots-page figcaption { flex-wrap: wrap; row-gap: 4px; }
  .bridge-steps li { grid-template-columns: 72px minmax(0, 1fr); column-gap: 12px; }
  .bridge-steps li img { width: 72px; }
}
@media (max-width: 359px) { .bridge-steps li { display: block; } .bridge-steps li img { width: 120px; margin: 0 0 8px; } }
/* 導入ソリューション: 4枚とも写真にそろえたので、CALSMASTER の余白付き表示を解除 */
.corporate-page .solution-cals figure img { padding: 0; object-fit: cover; background: none; }

/* ==== ラミィの大冒険 製品ページ（/services/entertainment/rammy/） ==== */
.rammy-page { --rammy-brown: #5b3a14; --rammy-gold: #e9b23a; --rammy-cream: #fff8ea; }
.rammy-hero { position: relative; overflow: hidden; padding: clamp(118px, 12vw, 150px) var(--gutter) clamp(40px, 5vw, 72px); background: radial-gradient(120% 90% at 85% 10%, #bfefff 0%, #e9f9ff 45%, #fff 100%); }
.rammy-hero-inner { max-width: var(--page-max); margin: 0 auto; }
.rammy-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(20px, 3vw, 48px); margin-top: 18px; }
.rammy-gp-logo { display: block; width: clamp(150px, 14vw, 210px); height: auto; margin: 0 0 4px; }
.rammy-title { margin: 0; }
.rammy-title img { display: block; width: min(100%, 520px); height: auto; filter: drop-shadow(0 10px 22px rgba(91,58,20,.18)); }
.rammy-hero-art { margin: 0; }
.rammy-hero-art img { display: block; width: 100%; height: auto; }
.rammy-stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 2vw, 28px); }
.rammy-stores a { display: block; border-radius: 999px; transition: transform .25s ease, filter .25s ease; }
.rammy-stores a:hover { transform: translateY(-3px); filter: drop-shadow(0 10px 16px rgba(0,0,0,.18)); }
.rammy-stores img { display: block; width: clamp(200px, 17vw, 250px); height: auto; }

.rammy-section { padding: clamp(56px, 7vw, 104px) var(--gutter); }
.rammy-section > * { max-width: var(--page-max); margin-inline: auto; }
.rammy-section h2 { margin: 6px 0 0; font-size: clamp(26px, 3vw, 40px); font-weight: 900; letter-spacing: -.03em; line-height: 1.35; }
.rammy-section h2 em { color: var(--corp-cyan-ink); font-style: normal; }
.rammy-section p { color: var(--corp-slate); font-size: 15px; line-height: 2; }
.rammy-head { margin-bottom: clamp(24px, 3vw, 40px); }

.rammy-intro { background: var(--rammy-cream); }
.rammy-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 0; padding: 0; list-style: none; }
.rammy-points li { padding: 24px 24px 22px; border: 2px solid var(--rammy-gold); border-radius: 18px; background: #fff; }
.rammy-points b { display: block; color: var(--rammy-brown); font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.rammy-points span { display: block; margin-top: 8px; color: var(--corp-slate); font-size: 14px; line-height: 1.85; }

.rammy-overview-grid { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.rammy-hero-chara { margin: 0; }
.rammy-hero-chara img { display: block; width: min(100%, 380px); height: auto; margin-inline: auto; }
.rammy-egg { display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-items: center; gap: 20px; margin-top: 28px; padding: 22px 24px; border-radius: 18px; background: #f2fbfe; }
.rammy-egg h3 { margin: 0; color: var(--rammy-brown); font-size: 19px; font-weight: 900; }
.rammy-egg p { margin: 6px 0 0; font-size: 14px; line-height: 1.85; }
.rammy-egg > img { width: 100%; height: auto; }
.rammy-eggs { display: flex; gap: 14px; margin: 12px 0 0; padding: 0; list-style: none; }
.rammy-eggs li { display: grid; justify-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--rammy-brown); }
.rammy-eggs img { width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(91,58,20,.12); }

.rammy-screens { background: #0e2236; }
.rammy-screens .corp-kicker, .rammy-screens h2 { color: #fff; }
.rammy-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 0; padding: 0; list-style: none; }
.rammy-gallery a { display: block; overflow: hidden; border-radius: 10px; }
.rammy-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.rammy-gallery a:hover img { transform: scale(1.04); }

.rammy-news { background: var(--rammy-cream); }
.rammy-new-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rammy-new, .rammy-story { overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 16px 34px -18px rgba(91,58,20,.35); }
.rammy-new img, .rammy-story img { display: block; width: 100%; height: auto; }
.rammy-new > div, .rammy-story > div { padding: 18px 22px 22px; }
.rammy-new h3, .rammy-story h3 { margin: 0; color: var(--rammy-brown); font-size: 19px; font-weight: 900; }
.rammy-new p, .rammy-story p { margin: 6px 0 0; font-size: 14px; line-height: 1.85; }
.rammy-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; margin-top: 18px; }

.rammy-about-grid, .rammy-spec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.rammy-about-grid figure, .rammy-package { margin: 0; }
.rammy-about-grid figure img { display: block; width: 100%; height: auto; border-radius: 14px; }
.rammy-about a, .rammy-faq a, .rammy-credit a { color: var(--corp-blue); font-weight: 700; }
.rammy-about a i, .rammy-faq a i { margin-left: 2px; font-style: normal; font-size: .85em; }
.rammy-spec { background: #f4f9fb; }
.rammy-spec-grid { grid-template-columns: minmax(0, .45fr) minmax(0, 1fr); }
.rammy-package img { display: block; width: min(100%, 260px); height: auto; margin-inline: auto; border-radius: 6px; box-shadow: 0 24px 40px -18px rgba(14,34,54,.45); }
.rammy-spec-list { margin: 20px 0 0; border-top: 1px solid var(--corp-line); }
.rammy-spec-list > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--corp-line); }
.rammy-spec-list dt { color: var(--corp-blue); font-size: 13.5px; font-weight: 800; }
.rammy-spec-list dd { margin: 0; color: var(--corp-ink); font-size: 14.5px; line-height: 1.8; }

.rammy-faq dd b { color: var(--corp-ink); }
.rammy-links .rammy-bnr-wide { display: block; overflow: hidden; border-radius: 14px; }
.rammy-links .rammy-bnr-wide img { display: block; width: 100%; height: auto; }
.rammy-bnrs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; padding: 0; list-style: none; }
.rammy-bnrs a { display: block; overflow: hidden; border-radius: 10px; }
.rammy-bnrs img { display: block; width: 300px; height: auto; }
.rammy-credit { margin-top: 26px; font-size: 14px; }
.rammy-tm { margin-top: 10px; color: #6b7c84 !important; font-size: 12px !important; line-height: 1.8 !important; }

@media (max-width: 860px) {
  .rammy-hero-grid, .rammy-overview-grid, .rammy-about-grid, .rammy-spec-grid { grid-template-columns: minmax(0, 1fr); }
  .rammy-hero-art { order: -1; }
  .rammy-points, .rammy-new-grid { grid-template-columns: minmax(0, 1fr); }
  .rammy-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rammy-story { grid-template-columns: minmax(0, 1fr); }
  .rammy-egg { grid-template-columns: minmax(0, 1fr); }
  .rammy-egg > img { width: 160px; margin-inline: auto; }
  .rammy-hero-chara img { width: 220px; }
  .rammy-bnrs img { width: 100%; max-width: 350px; }
}
@media (max-width: 480px) { .rammy-stores img { width: 100%; max-width: 260px; } .rammy-stores { flex-direction: column; align-items: flex-start; } }
.rammy-links .rammy-bnr-wide { max-width: 760px; margin-left: 0; } .rammy-links .rammy-bnrs { margin-left: 0; }
.rammy-links > .rammy-head, .rammy-links > p { margin-left: auto; }
.rammy-links-inner > * { max-width: none; } .rammy-links-inner .rammy-bnr-wide { max-width: 760px; }
/* ラミィ: ストアボタン（日付なし。プラットフォームのロゴ＋ストアページ） */
.rammy-store { display: inline-flex; align-items: center; gap: 14px; min-width: 260px; padding: 12px 22px 12px 20px; border-radius: 999px; color: #fff; text-decoration: none; box-shadow: 0 10px 22px -10px rgba(0,0,0,.45), inset 0 0 0 3px rgba(255,255,255,.18); }
.rammy-store.is-steam { background: linear-gradient(135deg, #1951b3, #0f3a87); }
.rammy-store.is-switch { background: linear-gradient(135deg, #e60012, #b5000e); }
.rammy-store img { display: block; width: auto; height: 34px; }
.rammy-store.is-switch img { height: 44px; }
.rammy-store span { display: grid; line-height: 1.25; }
.rammy-store small { font-size: 12px; font-weight: 700; opacity: .9; }
.rammy-store b { font-size: 18px; font-weight: 900; letter-spacing: .02em; }
.rammy-store i { margin-left: auto; font-style: normal; font-size: 16px; opacity: .85; }
.rammy-stores a.rammy-store:hover { transform: translateY(-3px); filter: brightness(1.08); }
@media (max-width: 480px) { .rammy-store { width: 100%; max-width: 320px; min-width: 0; } }
.rammy-stores a.rammy-store { display: inline-flex; flex-direction: row; }
.rammy-stores a.rammy-store img { width: auto; height: 34px; flex: 0 0 auto; }
.rammy-stores a.rammy-store.is-switch img { height: 44px; }
.rammy-stores a.rammy-store span { flex: 1 1 auto; }
.rammy-hero .detail-breadcrumb, .rammy-hero .detail-breadcrumb a, .rammy-hero .detail-breadcrumb span { color: var(--corp-ink); opacity: 1; }

/* >>> rammy-legacy >>> */
/* ==== ラミィ: 旧サイトの見た目をそのまま移した範囲（scripts/patches/build_rammy_legacy.py で生成） ==== */
.rammy-legacy { color: rgb(39,48,56); font-size: 14px; line-height: 1.8; letter-spacing: .05em; }
@media screen and (max-width: 920px) { .rammy-legacy { font-size: 13px; } }
.rammy-legacy ul { margin: 0; padding: 0; list-style: none; }
.rammy-legacy img { display: inline; max-width: 100%; height: auto; vertical-align: middle; }
.rammy-legacy h1, .rammy-legacy h2, .rammy-legacy h3 { margin: 0; }
/* 新サイト側の自動改行（文末の改行・まとめ）を、この範囲では使わない */
.rammy-legacy br.sb, .rammy-legacy br.pcbr, .rammy-legacy br.spbr { display: none; }
.rammy-legacy .sbt, .rammy-legacy .nw { white-space: normal; display: inline; }
.rammy-legacy .rl, .rammy-legacy .ri { display: block; margin: 0; transform: none; }
/* 改行は旧サイトと同じ挙動に（新サイトの文節改行・禁則を切る） */
.rammy-legacy, .rammy-legacy * { word-break: normal !important; line-break: auto !important; overflow-wrap: normal !important; text-wrap: wrap !important; }
.rammy-legacy wbr.bx { display: none; }
/* 新サイトの登場アニメーションを旧ページ部分では使わない */
.rammy-legacy .rise, .rammy-legacy .rise + p, .rammy-legacy .reveal { opacity: 1 !important; transform: none !important; }
/* 旧サイトの外部リンク表示 */
.rammy-legacy a.game-link[target=_blank]::after { content: ""; display: inline-block; width: 12px; height: 12px; margin: 0 2px 0 4px; vertical-align: -1px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M5 1H1v10h10V7M7 1h4v4M11 1 5.5 6.5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M5 1H1v10h10V7M7 1h4v4M11 1 5.5 6.5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.rammy-legacy .sec_new.about { background-color: #efefef; }
.rammy-legacy .sec_mv { isolation: isolate; }
.rammy-legacy .pv-items { margin-inline: auto; }
.rammy-legacy .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rammy-legacy .game_prev-arrow:focus-visible, .rammy-legacy .game_next-arrow:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.rammy-legacy p { margin: 0; }
.rammy-legacy .pc { display: block; }
.rammy-legacy .sp { display: none; }
@media screen and (max-width: 920px) { .rammy-legacy .pc { display: none; } .rammy-legacy .sp { display: block; } }
.rammy-legacy .rammy-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.rammy-legacy .rammy-wrapper {
    max-width: 1082px;
    margin: 0 auto;
}
.rammy-legacy h2 {
    font-weight: bold;
    color: #6B5430;
    font-size: 48px;
    line-height: 1.5;
}
.rammy-legacy h2.white {
    color: #fff;
}
.rammy-legacy a.game-link {
    text-decoration: none;
    color: #0079D6;
}
.rammy-legacy a.game-link:hover {
    text-decoration: underline;
}
.rammy-legacy .mv_top-list {
    position: absolute;
    display: flex;
    justify-content: space-between;
    height: 83px;
    width: 100%;
    top: 0;
    z-index: 200;
}
.rammy-legacy .store-list {
    display: flex;
    align-items: flex-start;
}
.rammy-legacy .store-list img {
    height: 83px;
}
.rammy-legacy .sec_mv {
    height: 98vh;
    background: url(/assets/rammy/legacy/mv_bc.jpg) no-repeat center top / cover;
    position: relative;
}
.rammy-legacy .mv_top-contents {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}
.rammy-legacy .mv_top {
    display: flex;
    justify-content: center;
    align-items: center;
}
.rammy-legacy .mv_item-title {
    position: absolute;
    left: 0;
    width: 35%;
    z-index: 100;
}
.rammy-legacy .mv_item-img {
    position: absolute;
    right: 0;
    width: 79%;
}
.rammy-legacy .download-area {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-bottom: 2%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.rammy-legacy .sec_remake {
    background-image: url(/assets/rammy/legacy/bc-item-06.png),url(/assets/rammy/legacy/bc01.jpg);
    background-size:contain, cover;
    background-position: center,center;
    background-repeat: no-repeat, repeat;
    padding: 72px 0 180px;
    position: relative;
}
.rammy-legacy .sec_remake.spec-area {
    padding-bottom: 72px;
}
.rammy-legacy .sec_system {
    padding: 100px 0px 80px;
    background-color: #6B5430;
    background-image: url(/assets/rammy/legacy/bc-item01.png),url(/assets/rammy/legacy/bc-item-07.png),url(/assets/rammy/legacy/bc03.png);
    background-size:contain,contain, auto;
    background-position: center,center top,center bottom;
    background-repeat: no-repeat,no-repeat, repeat-x;
}
.rammy-legacy .area01::before {
content: "";
width: 100%;
height: 120px;
background-color: #6B5430;
position: absolute;
bottom: 0px;
clip-path: polygon(0% 0%, 0% 100%, 50% 100%);
margin-bottom: -1px;
}
.rammy-legacy .area01::after {
content: "";
width: 100%;
height: 120px;
background-color: #6B5430;
position: absolute;
bottom: 0px;
clip-path: polygon(50% 100%, 100% 0%, 100% 100%);
margin-bottom: -1px;
}
.rammy-legacy .sec_new {
    background-repeat: repeat-y;
    background-size: cover;
    position: relative;
    padding: 80px 0;
}
.rammy-legacy .sec_new.elements_1 {
    background-image:url(/assets/rammy/legacy/bc-item-02.png), url(/assets/rammy/legacy/bc-wave.jpg),url(/assets/rammy/legacy/Separator01.png),url(/assets/rammy/legacy/bc-beach.jpg);
    background-size: contain,auto,auto;
    background-position: center,center top,center bottom,center top;
    background-repeat: no-repeat,repeat-x, no-repeat,repeat-y;
    padding-top: 13%;
}
.rammy-legacy .sec_new.elements_2 {
    background-image: url(/assets/rammy/legacy/bc-item-03.png),url(/assets/rammy/legacy/bc-ground.jpg);
    background-size: contain, auto;
    background-position: center bottom,center;
    background-repeat: no-repeat,repeat-y;
}
.rammy-legacy .sec_new.elements_3 {
    background-image: url(/assets/rammy/legacy/bc-item-04.png),url(/assets/rammy/legacy/Separator02.png),url(/assets/rammy/legacy/bc-ruins.jpg);
    background-size: contain, auto;
    background-position: center,center top,center top;
    background-repeat: no-repeat,no-repeat, repeat-y;
}
.rammy-legacy .sec_new.elements_4 {
    background-image: url(/assets/rammy/legacy/bc-item-05.png),url(/assets/rammy/legacy/bc-lastcave.jpg);
    background-size: contain, cover;
    background-position: center,center top;
    background-repeat: no-repeat, repeat-y;
}
.rammy-legacy .sec_new.new-story {
    background-image: url(/assets/rammy/legacy/bc02.jpg);
    text-align: center;
}
.rammy-legacy .sec_new.about {
    background-image: url(/assets/rammy/legacy/rammy-walk.png);
    background-position: center bottom;
    background-repeat: repeat-x;
    background-size: auto;
    padding-bottom: 100px;
}
.rammy-legacy .sec_new.relation {
    background-image: url(/assets/rammy/legacy/bc-item-other.png);
    background-position: center bottom;
    background-repeat: repeat-x;
    background-size: auto 88px;
}
.rammy-legacy .brown {
    background-color: #6B5430;
}
.rammy-legacy .over-link {
    display:block;
    height:auto;
    transform: translateY(0);
}
.rammy-legacy .download-area img {
    display:block;
    vertical-align: middle;
}
.rammy-legacy .over-link:hover {
    transform: translateY(-5px);
    opacity: 0.5;
}
.rammy-legacy .title_top {
    text-align: center;
    max-width: 1008px;
    margin: 0 auto 56px;
    width: 100%;
}
.rammy-legacy .pv-contents {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 56px;
}
.rammy-legacy .pv-items {
    aspect-ratio: 16 / 9;
    max-width: 480px;
    width: 100%;
    height: auto;
}
.rammy-legacy .pv-items iframe {
    width: 100%;
    height:100%;
}
.rammy-legacy .point-list {
    max-width: 1082px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin: 0 auto;
    gap:28px;
}
.rammy-legacy .overview-contents {
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
    align-items: center;
}
.rammy-legacy .overview-title {
    margin-bottom: 24px;
}
.rammy-legacy .system-side.right {
    padding-right: 38px;
}
.rammy-legacy .system-side.left {
    padding-left: 38px;
}
.rammy-legacy .overview-text {
    display: block;
    margin-bottom: 33px;
    line-height: 1.5;
    font-size: 25px;
}
.rammy-legacy .overview-contents .overview-text:last-of-type {
    margin-bottom: 0;
}
.rammy-legacy .overview-contents h2 {
    margin-bottom: 58px;
    text-indent: -0.5em;
}
.rammy-legacy .egg-contents {
    display: flex;
    background-color: #EEDFCB;
    border-radius: 29px;
    box-sizing: border-box;
    padding: 48px 64px;
    color: #6B5430;
}
.rammy-legacy .egg-contents_item {
    width: 50%;
}
.rammy-legacy .egg-contents h2 {
    margin-bottom: 18px;
}
.rammy-legacy .egg-list {
    display: flex;
}
.rammy-legacy .egg-list li {
    padding-right: 18px;
}
.rammy-legacy .slide-arrow.prev-arrow:before {
    border: none;
}
.rammy-legacy .slide-arrow.next-arrow:before {
    border: none;
}
.rammy-legacy .screen-slider {
    padding: 100px 0;
    margin-bottom: 80px;
}
.rammy-legacy .slick-slide img {
    margin: 0 auto;
}
.rammy-legacy .game_prev-arrow, .rammy-legacy .game_next-arrow {
    display: block;
    width: 50px;
    height: 50px;
    background: #F0AB02;
    border-radius: 50%;
    cursor: pointer;
    position:absolute;
}
.rammy-legacy .game_prev-arrow {
    transform: rotate(180deg);
    left: 0;
    z-index: 100;
}
.rammy-legacy .game_next-arrow {
    right: 0;
}
.rammy-legacy .game_prev-arrow::before, .rammy-legacy .game_next-arrow::before {
    position:absolute;
    content: "";
    width:10px;
    height:10px;
    border-right: 2px solid #FFF;
    border-top: 2px solid #FFF;
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
    transform:rotate(45deg);
}
.rammy-legacy .game-slick {
    display: flex;
    align-items: center;
}
.rammy-legacy .game-slick img {
    border: solid 20px #F0AB02;
}
.rammy-legacy .game-slick li img {
    max-width: 920px;
}
.rammy-legacy .title_top.new-add {
    margin: 0 auto 88px;
    width: 100%;
}
.rammy-legacy .new-elements_contents {
    text-align: center;
    width: 100%;
}
.rammy-legacy .new-elements_contents omg:first-of-child {
    margin-bottom: 16px;
}
.rammy-legacy .ramy-about_contents {
    display: flex;
}
.rammy-legacy .ramy-about_img {
    max-width: 430px;
    width: 100%;
    margin-right: 50px;
}
.rammy-legacy .ramy-about_title {
    margin-bottom: 16px;
}
.rammy-legacy .ramy-about_title span {
    font-weight: bold;
    font-size: 36px;
    color: #F0AB02;
    margin-right: 8px;
    line-height: 1.5;
}
.rammy-legacy .ramy-about_text {
    width: 55%;
}
.rammy-legacy .title_top.spec {
    max-width: 70%;
    width: 100%;
    margin-bottom: 48px;
}
.rammy-legacy .rammy-spec_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 120px;
    gap:32px;
}
.rammy-legacy .rammy-spec_contents {
    border-radius: 12px;
    background-color :#fff;
    padding: 48px;
    font-weight: bold;
}
.rammy-legacy .rammy-spec_contents table {
    font-size: 22px;
    margin: 0 auto;
}
.rammy-legacy .rammy-spec_contents tr {
    text-align: left;
}
.rammy-legacy .rammy-spec_contents th {
    color: #7FCDF3;
    padding-right: 64px;
}
.rammy-legacy .over-link.guide {
    max-width: 968px;
    margin: 0 auto 120px;
}
.rammy-legacy .other-title {
    text-align: center;
    font-size: 56px;
    font-weight: bold;
    color: #F0AB02;
    margin-bottom: 56px;
}
.rammy-legacy .other-title.brown-title {
    color: #6B5430;
}
.rammy-legacy .other_bunner {
    width: 100%;
    display: block;
    margin-bottom: 48px;
}
.rammy-legacy .other_bunner:hover {
    opacity: 0.5;
}
.rammy-legacy .relation-point {
    display: block;
    height: auto;
    margin: 0 auto;
}
.rammy-legacy .rammy-footer {
    background-color: #F6F6F6;
    padding: 56px 0;
}
.rammy-legacy .game-bunner_list {
    display: flex;
    gap:16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 64px;
}
.rammy-legacy .game-bunner_list a:hover {
    opacity: 0.5;
}
.rammy-legacy .game-copyright p:first-of-type {
    margin-bottom: 16px;
}
.rammy-legacy .qa_contents {
    border-radius: 12px;
    background-color: #fff;
    padding: 48px;
    font-weight: bold;
    margin-bottom: 100px;
    font-size: 22px;

}
.rammy-legacy .qa-list {
    font-weight: bold;
    position: relative;
    padding-left: 52px;
}
.rammy-legacy li.question {
    margin-bottom: 18px;
}
.rammy-legacy li.question:before {
    content: "Q：";
      position: absolute;
      left : 10px;
      color: #2CC4DD;
  }
.rammy-legacy li.answer:before {
content: "A：";
  position: absolute;
  left : 10px;
  color: #FF8E12;
}
@media screen and (max-width: 920px) {
.rammy-legacy .rammy-wrapper, .rammy-legacy .rammy-inner {
    width: calc(100% - 40px);
}
.rammy-legacy .sec_remake {
    background-image: url(/assets/rammy/legacy/bc-item-06_sp.png),url(/assets/rammy/legacy/bc01.jpg);
}
.rammy-legacy .sec_system {
    background-image: url(/assets/rammy/legacy/bc-item-01_sp.png),url(/assets/rammy/legacy/bc-item-07.png),url(/assets/rammy/legacy/bc03.png);
    background-size:auto,contain, auto;
    background-position: center bottom,center top,center bottom;
}
.rammy-legacy .sec_new.elements_1 {
    background-image:url(/assets/rammy/legacy/bc-item-02_sp.png), url(/assets/rammy/legacy/bc-wave.jpg),url(/assets/rammy/legacy/Separator01.png),url(/assets/rammy/legacy/bc-beach.jpg);
}
.rammy-legacy .sec_new.elements_2 {
    background-image: url(/assets/rammy/legacy/bc-item-03_sp.png),url(/assets/rammy/legacy/bc-ground.jpg);
}
.rammy-legacy .sec_new.elements_3 {
    background-image: url(/assets/rammy/legacy/bc-item-04_sp.png),url(/assets/rammy/legacy/Separator02.png),url(/assets/rammy/legacy/bc-ruins.jpg);
}
.rammy-legacy .sec_new.elements_4 {
    background-image: url(/assets/rammy/legacy/bc-item-05_sp.png),url(/assets/rammy/legacy/bc-lastcave.jpg);
}
.rammy-legacy .mv_top-list {
    height: 8%;
}
.rammy-legacy h2 {
    font-size: 28px;
}
.rammy-legacy .title_top {
    margin-bottom: 24px;
}
.rammy-legacy .sec_mv {
    height: 90vh;
}
.rammy-legacy .mv_top-contents {
    width: 120%;
    overflow: hidden;
    height: 50vh;
    top: 37%;
}
.rammy-legacy .mv_top {
    display: block;
}
.rammy-legacy .mv_item-title {
    width: 65%;
    display: block;
    left: 50%;
    transform: translate(-50%, 0%);
}
.rammy-legacy .mv_item-img {
    width: 100%;
    display: block;
    bottom: 0;
}
.rammy-legacy .download-area {
    display: block;
    padding: 24px 0;
    width: calc(100% - 40px);
}
.rammy-legacy .download-area a {
    display: block;
    margin-bottom: 16px;
}
.rammy-legacy .sec_remake {
    padding: 56px 0px 130px;
}
.rammy-legacy .sec_system {
    padding-top: 0px;
}
.rammy-legacy .pv-contents {
    display: block;
    margin-bottom: 32px;
}
.rammy-legacy .point-list {
    display: block;
}
.rammy-legacy .point-list li {
    margin-bottom: 16px;
}
.rammy-legacy .point-list li:last-of-type {
    margin-bottom: 0;
}
.rammy-legacy .overview-contents {
    display: block;
    margin-bottom: 72px;
}
.rammy-legacy .system-side.right {
    padding: 0 0 32px 0;
}
.rammy-legacy .overview-text {
    font-size: 16px;
}
.rammy-legacy .egg-contents {
    display: block;
    padding: 40px 16px;
    margin-bottom: 72px;
}
.rammy-legacy .egg-contents h2 {
    text-align: center;
}
.rammy-legacy .egg-contents_item {
    width: 100%;
}
.rammy-legacy .egg-list {
    justify-content: center;
}
.rammy-legacy .egg-list li:last-of-type {
    padding-right: 0;
}
.rammy-legacy .system-side.left {
    padding: 24px 0 0 0;
}
.rammy-legacy .game-slick img {
    border: solid 3px #F0AB02;
}
.rammy-legacy .game-slick li img {
    max-width: 100%;
}
.rammy-legacy .screen-slider {
    padding: 0;
    margin: 0;
}
.rammy-legacy .title_top.new-add {
    max-width: 100%;
    width: 100%;
    margin-bottom: 48px;
}
.rammy-legacy .sec_new.about {
    background-size: 44%;
}
.rammy-legacy .ramy-about_contents {
    display: block;
}
.rammy-legacy .ramy-about_img {
    max-width: 100%;
    width: 100%;
    margin-right: 0;
}
.rammy-legacy .ramy-about_text {
    width: 100%;
}
.rammy-legacy .ramy-about_title span {
    font-size: 32px;
}
.rammy-legacy .rammy-spec_contents {
    max-width: 100%;
    padding: 24px 14px;
    margin: 40px 0px 0px;
}
.rammy-legacy .rammy-spec_contents table {
    font-size: 16px;
}
.rammy-legacy .rammy-spec_contents th {
    width: 108px;
    padding-right: 24px;
}
.rammy-legacy .rammy-spec_wrap table {
    border-collapse: separate;
    border-spacing: 0px 10px;
}
.rammy-legacy .title_top.spec {
    max-width: 100%;
}
.rammy-legacy .rammy-spec_wrap {
    display: block;
    text-align: center;
    margin-bottom: 40px;
}
.rammy-legacy .over-link.guide {
    margin-bottom: 72px;
}
.rammy-legacy .game-bunner_list {
    display: block;
}
.rammy-legacy .game-bunner_list li {
    margin-bottom: 16px;
}
.rammy-legacy .game-bunner_list li:last-of-type {
    margin-bottom: 0px;
}
.rammy-legacy .other_bunner img, .rammy-legacy .game-bunner_list img {
    width: 100%;
}
.rammy-legacy .other-title {
    margin-bottom: 32px;
}
.rammy-legacy .qa_contents {
    padding: 24px 14px;
    font-size: 16px;
    margin-bottom: 0;
}
}
@media screen and (max-width: 400px) {
.rammy-legacy .mv_item-title {
        width: 55%;}
}
/* 新サイトのヘッダーに合わせた最小限の調整（旧サイトの寸法はそのまま） */
.rammy-legacy .sec_mv { overflow: hidden; }
/* 対応機種とストアボタン: ヒーロー下部に、ロゴ→ボタンの順でまとめる */
.rammy-legacy .download-area { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-bottom: 3%; }
.rammy-legacy .download-btns { display: flex; justify-content: center; gap: 24px; }
.rammy-legacy .download-btns a img { width: 320px; height: auto; }
.rammy-legacy .mv_platform { display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 8px; border-radius: 999px; background: rgba(14,34,54,.72); box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); backdrop-filter: blur(6px); }
.rammy-legacy .mv_platform > span { padding: 5px 12px; border-radius: 999px; color: #fff; background: rgba(255,255,255,.14); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.rammy-legacy .mv_platform .store-list { display: flex; align-items: center; gap: 12px; }
.rammy-legacy .mv_platform .store-list li:first-child img { width: 42px; height: 42px; border-radius: 7px; }
.rammy-legacy .mv_platform .store-list li:last-child img { width: auto; height: 42px; }
/* 横スライダー: slick の代わりにスクロールスナップ（1枚ずつ、旧サイトと同じ 920px で中央表示） */
.rammy-legacy .screen-slider { position: relative; }
.rammy-legacy .game-slick { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rammy-legacy .game-slick::-webkit-scrollbar { display: none; }
.rammy-legacy .game-slick li { flex: 0 0 100%; scroll-snap-align: center; }
.rammy-legacy .game-slick li img { display: block; margin: 0 auto; }
.rammy-legacy .game_prev-arrow, .rammy-legacy .game_next-arrow { top: 50%; margin-top: -25px; border: 0; z-index: 5; }
@media screen and (max-width: 920px) {
  /* 新サイトのヘッダー（64px）の下から、旧サイトと同じ並びで始める */
  .rammy-legacy .sec_mv { height: calc(90vh + 64px); }
  .rammy-legacy .mv_top-contents { top: calc(37% + 40px); }
  .rammy-legacy .download-area { gap: 10px; }
  .rammy-legacy .download-btns { flex-direction: column; align-items: center; gap: 10px; }
  .rammy-legacy .download-area .download-btns a { margin: 0; }
  .rammy-legacy .download-btns a img { width: 260px; }
  .rammy-legacy .mv_platform { padding: 5px 12px 5px 6px; gap: 8px; }
  .rammy-legacy .mv_platform .store-list img { height: 34px !important; }
  .rammy-legacy .mv_platform .store-list li:first-child img { width: 34px; }
}
/* タブレット幅: ボタンがタイトルに重ならないよう、旧サイトのスマホ幅（350px）で止める */
@media screen and (min-width: 600px) and (max-width: 920px) {
  .rammy-legacy .mv_item-title { width: 50%; }
  .rammy-legacy .game-slick li img { width: 100%; }
  .rammy-legacy .game_prev-arrow, .rammy-legacy .game_next-arrow { width: 36px; height: 36px; margin-top: -18px; }
}

/* <<< rammy-legacy <<< */

/* ==== フッター（2026-10-19 作り直し） ==== */
.corp-footer { padding: clamp(56px, 6vw, 88px) var(--gutter) 0; background: #f4f8fa; border-top: 1px solid var(--corp-line); }
.corp-footer-inner { max-width: var(--page-max); margin: 0 auto; }
.corp-footer-main { display: grid; grid-template-columns: minmax(240px, .9fr) minmax(0, 2.6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.corp-footer-brand img { display: block; width: 240px; height: auto; }
.corp-footer-brand .text { margin: 18px 0 0; color: var(--corp-slate); font-size: 13.5px; line-height: 1.8; }
.corp-footer-brand .corp-sns { margin-top: 20px; }
.corp-footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.corp-footer-cols div { display: flex; flex-direction: column; align-items: flex-start; }
.corp-footer-cols p { margin: 0 0 12px; padding-bottom: 10px; width: 100%; border-bottom: 1px solid var(--corp-line); color: var(--corp-cyan-ink); font-family: var(--corp-display); font-size: 12px; letter-spacing: .14em; }
.corp-footer-cols a { padding: 7px 0; color: var(--corp-ink); font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; transition: color .2s ease; }
.corp-footer-cols a:hover { color: var(--corp-cyan-ink); }
.corp-footer-cols a i, .corp-footer-bottom a i { margin-left: 4px; font-style: normal; font-size: .8em; }
.corp-footer-certs { display: flex; align-items: center; gap: 24px; margin-top: clamp(40px, 4vw, 56px); padding: 20px 24px; border: 1px solid var(--corp-line); border-radius: 14px; background: #fff; }
.corp-footer-certs > p { flex-shrink: 0; margin: 0; color: var(--corp-slate); font-family: var(--corp-display); font-size: 11.5px; letter-spacing: .14em; writing-mode: horizontal-tb; }
.corp-footer-certs ul { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 0; padding: 0; list-style: none; }
.corp-footer-certs a { display: block; }
.corp-footer-certs a:hover img { opacity: .7; }
.corp-footer-certs img { display: block; width: auto; height: 52px; transition: opacity .3s ease; }
.corp-footer .corp-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: clamp(32px, 3vw, 44px); padding: 20px 0 28px; border-top: 1px solid var(--corp-line); }
.corp-footer .corp-footer-bottom a { color: var(--corp-slate); font-size: 13px; text-decoration: none; }
.corp-footer .corp-footer-bottom a:hover { color: var(--corp-ink); text-decoration: underline; }
.corp-footer .corp-footer-bottom .copy { width: auto; margin: 0; color: var(--corp-slate); font-family: var(--corp-display); font-size: 12.5px; letter-spacing: .08em; text-align: right; }
@media (max-width: 1100px) {
  .corp-footer-main { grid-template-columns: minmax(0, 1fr); }
  .corp-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
}
@media (max-width: 620px) {
  .corp-footer-brand img { width: 200px; }
  .corp-footer-cols { gap: 24px 16px; }
  .corp-footer-cols a { padding: 9px 0; font-size: 13.5px; }
  .corp-footer-certs { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px; }
  .corp-footer-certs img { height: 42px; }
  .corp-footer .corp-footer-bottom { flex-direction: column; align-items: flex-start; }
  .corp-footer .corp-footer-bottom .copy { text-align: left; }
}
/* 導入事例トップ: 事例の行にマウスを乗せたら、行全体の色と形が変わる */
.cases-cat-list li { position: relative; }
.cases-cat-list a { position: relative; margin: 0 -14px; padding: 13px 44px 13px 14px; border-radius: 10px; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.cases-cat-list a::after { content: "→"; position: absolute; top: 50%; right: 14px; color: var(--corp-cyan-ink); font-weight: 800; opacity: 0; transform: translate(-6px, -50%); transition: opacity .25s ease, transform .25s ease; }
.cases-cat-list a:hover, .cases-cat-list a:focus-visible { border-bottom-color: transparent; color: var(--corp-blue); background: #e8f6fa; box-shadow: inset 4px 0 0 var(--corp-cyan-ink); }
.cases-cat-list a:hover small, .cases-cat-list a:focus-visible small { color: var(--corp-cyan-ink); }
.cases-cat-list a:hover::after, .cases-cat-list a:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.cases-cat-list a { border-bottom: 0; } .cases-cat-list li { border-bottom: 1px solid var(--corp-line); } .cases-cat-list li:has(a:hover) { border-bottom-color: transparent; }
/* ラミィ: ストアボタン（旧サイトの画像から日付を消したもの） */
.rammy-page .rammy-stores a.over-link { display: block; transition: transform .25s ease, opacity .25s ease; }
.rammy-page .rammy-stores a.over-link:hover { transform: translateY(-5px); opacity: .5; }
.rammy-page .rammy-spec .rammy-stores img { width: min(100%, 300px); height: auto; }
.rammy-page .rammy-package img { width: 288px; max-width: 100%; }
/* ラミィ: 不具合のご報告 */
.rammy-support { background: #f6efe3; }
.rammy-support .corp-kicker { color: #6B5430; }
.rammy-support h2 { color: #6B5430; }
.rammy-support-lead { margin: 10px 0 0; }
.rammy-support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rammy-support-card { display: flex; flex-direction: column; gap: 14px; padding: 28px 30px; border-radius: 18px; background: #fff; box-shadow: 0 16px 34px -20px rgba(107,84,48,.45); }
.rammy-support-card.is-steam { border-top: 6px solid #1951b3; }
.rammy-support-card.is-switch { border-top: 6px solid #e60012; }
.rammy-support-head { display: flex; align-items: center; gap: 14px; }
.rammy-support-head img { width: auto; height: 44px; border-radius: 8px; }
.rammy-support-card.is-steam .rammy-support-head img { padding: 6px 10px; background: #1b2838; box-sizing: content-box; height: 32px; }
.rammy-support-head h3 { margin: 0; color: var(--corp-ink); font-size: 21px; font-weight: 900; }
.rammy-support-card p { margin: 0; font-size: 14.5px; line-height: 1.9; }
.rammy-support-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 14px 20px; border-radius: 999px; color: #fff; background: #6B5430; font-size: 15px; font-weight: 800; text-decoration: none; word-break: break-all; transition: background-color .2s ease, transform .2s ease; }
.rammy-support-btn:hover { background: #F0AB02; color: #3b2a10; transform: translateY(-2px); }
.rammy-support-btn i { font-style: normal; }
@media (max-width: 760px) { .rammy-support-grid { grid-template-columns: minmax(0, 1fr); } .rammy-support-card { padding: 22px 20px; } .rammy-support-btn { font-size: 14px; } }
/* ==== ラミィ 下側（2026-10-19 調整）: 旧ページ部分の色（茶・ベージュ）にそろえる ==== */
.rammy-page .rammy-section .corp-kicker { color: #6B5430; }
.rammy-page .rammy-section .corp-kicker::before { background: #6B5430; }
.rammy-page .rammy-section h2 { color: #6B5430; }
.rammy-spec { background: #f6efe3; }
.rammy-spec-list { border-top-color: rgba(107,84,48,.25); }
.rammy-spec-list > div { border-bottom-color: rgba(107,84,48,.25); }
.rammy-spec-list dt { color: #6B5430; }
/* 製品情報のストアボタン: 横並び */
.rammy-page .rammy-spec .rammy-stores { display: flex; flex-direction: row; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.rammy-page .rammy-spec .rammy-stores img { width: 240px; height: auto; }
/* 不具合のご報告 */
.rammy-support { background: #efe4d1; }
.rammy-support-lead { max-width: none; }
.rammy-support-logo { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; overflow: hidden; border-radius: 12px; }
.rammy-support-logo.is-steam { background: #1b2838; }
.rammy-support-logo.is-steam img { width: 44px; height: auto; border-radius: 0; padding: 0; background: none; }
.rammy-support-logo.is-switch img { width: 52px; height: 52px; border-radius: 0; }
.rammy-support-card.is-steam .rammy-support-head img { padding: 0; background: none; height: auto; }
.rammy-support-btn { color: #fff !important; background: #6B5430; }
.rammy-support-btn span { overflow-wrap: anywhere; }
.rammy-support-btn:hover { color: #3b2a10 !important; background: #F0AB02; }
.rammy-copy { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 8px 8px 8px 20px; border: 2px solid #6B5430; border-radius: 999px; background: #fffaf2; }
.rammy-copy-text { flex: 1 1 auto; min-width: 0; color: var(--corp-ink); font-family: var(--corp-sans); font-size: 16px; font-weight: 800; letter-spacing: .02em; overflow-wrap: anywhere; user-select: all; }
.rammy-copy-btn { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 10px 16px; border: 0; border-radius: 999px; color: #fff; background: #6B5430; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: background-color .2s ease; }
.rammy-copy-btn:hover { background: #8a6d3d; }
.rammy-copy-btn.is-done { background: #2e8b57; }
.rammy-copy-btn i { font-style: normal; }
.rammy-copy-done { min-height: 1.5em; margin: -4px 0 0 !important; color: #2e6b45 !important; font-size: 13px !important; font-weight: 700; }
@media (max-width: 900px) { .rammy-support-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .rammy-copy { padding-left: 14px; } .rammy-copy-text { font-size: 14px; } .rammy-copy-btn { padding: 9px 12px; } }
/* 関連情報: 中央にまとめる */
.rammy-links-inner { display: grid; justify-items: center; text-align: center; }
.rammy-links-inner .rammy-head { justify-self: stretch; text-align: left; }
.rammy-links-inner .rammy-bnr-wide { width: min(100%, 760px); }
.rammy-links-inner .rammy-bnrs { justify-content: center; }
.rammy-tm { color: #55646b !important; }
.rammy-copy-text { white-space: nowrap; overflow-wrap: normal; } @media (max-width: 420px) { .rammy-copy-text { font-size: 13.5px; letter-spacing: 0; } .rammy-copy-btn span { display: none; } .rammy-copy-btn { padding: 10px 12px; } .rammy-copy-btn.is-done span { display: inline; } }
/* ==== ラミィ 関連情報（旧サイトの並び。onちゃん以外のバナーを作り直し, 2026-10-19） ==== */
.rammy-relation .sec_new.relation { background-color: #efefef; padding-bottom: 140px; }
.rammy-relation .other-title { margin-top: 8px; }
.rammy-relation .other_bunner { margin-bottom: 24px; }
.rammy-relation .other_bunner img { display: block; width: 100%; height: auto; }
.rammy-relation .rbn-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 32px; }
.rammy-relation .rbn-list li { margin: 0; }
.rbn { position: relative; display: flex; align-items: stretch; height: 100px; overflow: hidden; border-radius: 10px; background: #fff; color: var(--corp-ink); text-decoration: none; box-shadow: 0 8px 18px -12px rgba(60,45,20,.45); transition: transform .25s ease, box-shadow .25s ease; }
.rbn:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -12px rgba(60,45,20,.5); }
.rbn > i { position: absolute; right: 10px; bottom: 8px; z-index: 2; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: rgba(0,0,0,.55); font-style: normal; font-size: 11px; }
.rbn-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 1px; min-width: 0; padding: 0 0 0 18px; flex: 1 1 auto; }
.rbn-body small { font-family: var(--corp-display); font-size: 10.5px; letter-spacing: .14em; opacity: .75; }
.rbn-body b { font-size: 18px; font-weight: 900; letter-spacing: -.01em; line-height: 1.3; white-space: nowrap; }
.rbn-body em { font-style: normal; font-size: 12px; font-weight: 700; white-space: nowrap; opacity: .85; }
.rbn-img { display: block; flex: 0 0 auto; width: auto; height: 100px; object-fit: cover; }
/* 公式X: 黒地。ラミィの絵を右に */
.rbn.is-x { color: #fff; background: #0f0f0f; }
.rbn.is-x .rbn-img { -webkit-mask: linear-gradient(90deg, transparent 0, #000 40px); mask: linear-gradient(90deg, transparent 0, #000 40px); }
/* LINE: 白地に LINE の緑 */
.rbn.is-line { border-left: 6px solid #06C755; }
.rbn.is-line .rbn-body b { color: #06a748; }
.rbn.is-line .rbn-img { width: 140px; object-position: left center; }
/* onちゃんワールド: バナー画像そのまま */
.rbn.is-image img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
/* 発売元・制作: ロゴを中央、左上に役割のタグ */
.rbn.is-logo { align-items: center; justify-content: center; padding: 18px 28px 12px; }
.rbn.is-logo img { display: block; width: auto; max-width: 78%; max-height: 40px; }
.rbn.is-datt img { max-height: 34px; }
.rbn-tag { position: absolute; top: 8px; left: 10px; padding: 2px 9px; border-radius: 999px; color: #6B5430; background: #f3ead9; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.rbn.is-logo > i { background: #6B5430; }
.rammy-relation .rammy-tm { margin: 0; color: #55646b; font-size: 12px; line-height: 1.8; text-align: center; }
@media (max-width: 920px) {
  .rammy-relation .rbn-list { grid-template-columns: minmax(0, 1fr); max-width: 350px; margin-inline: auto; }
  .rammy-relation .sec_new.relation { padding-bottom: 110px; }
}
.rammy-relation .rbn-list .rbn .rbn-img { width: auto; max-width: 48%; }
.rammy-relation .rbn-list .rbn.is-line .rbn-img { max-width: 42%; }
.rammy-relation .rbn-list .rbn.is-logo img { width: auto; }
.rammy-relation .rbn-list .rbn.is-image img { width: 100%; }
.rammy-relation .rbn-body { min-width: 150px; }
/* ラミィ 関連情報: onちゃんコラボ（横長）、onちゃんワールド、採用 */
.rbn-collab { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; min-height: 210px; margin-bottom: 24px; overflow: hidden; border-radius: 14px; color: #3b2a10; text-decoration: none; background: linear-gradient(100deg, #ffe066 0%, #ffd23a 55%, #ff9a1f 100%); box-shadow: 0 10px 22px -12px rgba(60,45,20,.5); transition: transform .25s ease, box-shadow .25s ease; }
.rbn-collab:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(60,45,20,.55); }
.rbn-collab-art { position: relative; display: flex; align-items: flex-end; height: 100%; min-height: 210px; }
.rbn-collab-art .is-elephant { position: absolute; left: 0; bottom: 0; width: auto; height: 100%; -webkit-mask: linear-gradient(90deg, #000 70%, transparent); mask: linear-gradient(90deg, #000 70%, transparent); }
.rbn-collab-art .is-onchan { position: absolute; left: 40%; bottom: 14px; width: auto; height: 82%; }
.rbn-collab-body { display: flex; flex-direction: column; gap: 4px; padding: 22px 32px 38px 8px; }
.rbn-collab-body small { font-family: var(--corp-display); font-size: 12px; letter-spacing: .16em; color: #8a5a00; }
.rbn-collab-body b { font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; line-height: 1.25; }
.rbn-collab-body b i { font-style: normal; color: #e0581b; }
.rbn-collab-body strong { color: #fff; font-size: clamp(26px, 3vw, 40px); font-weight: 900; line-height: 1.15; text-shadow: 0 2px 0 #e0581b, 0 4px 10px rgba(160,60,0,.35); }
.rbn-collab-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 16px; border-radius: 999px; color: #fff; background: #3b2a10; font-size: 13.5px; font-weight: 800; }
.rbn-collab-cta i { font-style: normal; }
.rbn-copy { position: absolute; right: 16px; bottom: 10px; color: rgba(59,42,16,.85); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.rbn.is-onchan { background: linear-gradient(110deg, #fff 0%, #fff 45%, #ffe680 100%); }
.rbn.is-onchan .rbn-body b { color: #0a8fd6; }
.rbn.is-onchan .rbn-body em { font-size: 11px; opacity: .8; }
.rammy-relation .rbn-list .rbn.is-onchan .rbn-img { max-width: 44%; height: 92px; margin: 4px 6px 0 0; object-fit: contain; }
.rbn.is-recruit { color: #fff; background: linear-gradient(120deg, #13a8c8, #20c3a0); }
.rammy-relation .rbn-list .rbn.is-recruit .rbn-img { max-width: 46%; height: 100px; object-fit: cover; -webkit-mask: linear-gradient(90deg, transparent 0, #000 36px); mask: linear-gradient(90deg, transparent 0, #000 36px); }
@media (max-width: 760px) {
  .rbn-collab { grid-template-columns: minmax(0, 1fr); }
  .rbn-collab-art { min-height: 150px; }
  .rbn-collab-art .is-elephant { height: 150px; }
  .rbn-collab-art .is-onchan { left: auto; right: 10px; height: 130px; }
  .rbn-collab-body { padding: 4px 20px 40px; }
  .rbn-copy { left: 16px; right: 16px; font-size: 10.5px; }
}
@media (max-width: 760px) { .rbn-collab-body { padding-bottom: 58px; } }
/* onちゃんコラボ: 旧サイトのバナー画像をそのまま使う（角丸と影だけ他のカードにそろえる） */
.rbn-collab-img { display: block; overflow: hidden; border-radius: 10px; box-shadow: 0 8px 18px -12px rgba(60,45,20,.45); transition: transform .25s ease, box-shadow .25s ease; }
.rbn-collab-img:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -12px rgba(60,45,20,.5); }
.rbn-collab-img img { display: block; width: 100%; height: auto; }

/* ==== 全体レビュー第4回（2026-10-19） ==== */
/* TOP 伴走支援 01〜03（狭いスマホ）: 番号を上、本文を下に（列と配置名を一緒に1列へ） */
@media (max-width: 400px) {
  .strength-bridge-list li, .strength-bridge-list li:first-child, .strength-bridge-list li + li { grid-template-columns: minmax(0, 1fr); grid-template-areas: "no" "b" "small"; }
}
/* お問い合わせ: 同意欄はチェックと文言を1行に */
.cf-agree { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; column-gap: 10px; }
.cf-agree > span { min-width: 0; }
.cf-agree .cf-msg { grid-column: 1 / -1; }
/* お問い合わせページではヘッダーの「お問い合わせ」ボタンを出さない */
.contact-page .corp-contact { visibility: hidden; }
/* スマホメニュー: 採用情報の ↗ を同じ行に */
@media (max-width: 1100px) { .corp-mobile-menu > a { grid-template-columns: 45px auto 1fr; } .corp-mobile-recruit i { justify-self: start; } }
/* ヘッダーのロゴ: スマホ・タブレットはどのページも同じ大きさ */
@media (max-width: 1100px) { .corp-brand, .corporate-page .corp-brand { width: 160px; } }
@media (max-width: 620px) { .corp-brand, .corporate-page .corp-brand { width: 142px; } }
/* AI駆動開発 05: 1100px 以下では MODEL 01 → MODEL 02 → 共通の帯 の順に */
@media (max-width: 1100px) { .pole { grid-row: auto; } .biz-bridge { grid-row: auto; margin-top: 0; padding-top: 36px; } .poles2 { grid-template-rows: none; } }
/* 小さすぎる日本語を 12px 以上に */
.case-shots figcaption, .industry-detail dt, .industry-kpi dt, .industry-kpi small, .stack-axis span, .corp-dx-tags li, .bridge-steps li > span { font-size: max(12px, 1em); }
.detail-breadcrumb, .detail-breadcrumb a, .detail-breadcrumb span, .biz-crumb, .biz-crumb a, .biz-crumb span { font-size: 12px; }
.corp-footer .corp-footer-bottom .copy { font-size: 12px; }
/* ラミィ 関連情報: ↗ を文字側に置き、絵に重ねない。狭い画面で「公式X」を折らない */
.rammy-relation .rbn > i { right: auto; left: 18px; bottom: 8px; width: 18px; height: 18px; font-size: 10px; background: rgba(0,0,0,.35); }
.rammy-relation .rbn.is-logo > i, .rammy-relation .rbn.is-image > i { left: auto; right: 10px; }
.rammy-relation .rbn-body { padding-bottom: 14px; }
@media (max-width: 380px) { .rammy-relation .rbn-body b { font-size: 16px; } .rammy-relation .rbn-body em { font-size: 11px; } .rammy-relation .rbn-list .rbn .rbn-img { max-width: 40%; } }
/* ラミィ メールのコピー: ボタンは 44px の固定幅のアイコン、完了は下の文で知らせる */
.rammy-copy-btn { min-width: 44px; min-height: 44px; justify-content: center; }
.rammy-copy-btn.is-done span { display: none; }
@media (max-width: 420px) { .rammy-copy-btn { width: 44px; padding: 0; } .rammy-copy-btn span { display: none; } }
.case-shots figcaption { white-space: nowrap; letter-spacing: 0; }

/* お知らせ（/news/）— 一覧と記事 */
.news-index { padding-top: var(--pad-m); }
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.news-filter button { min-height: 44px; padding: 0 18px; border: 1px solid var(--corp-line); border-radius: 999px; background: #fff; color: var(--corp-slate); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.news-filter button:hover { border-color: var(--corp-blue); color: var(--corp-blue); }
.news-filter button[aria-pressed="true"] { border-color: var(--corp-deep); background: var(--corp-deep); color: #fff; }
.news-count { margin: 20px 0 0; color: var(--corp-slate); font-size: 13px; }
.news-count b { margin-right: 2px; color: var(--corp-ink); font-family: var(--corp-display); font-size: 18px; font-weight: 500; }
.news-year { margin-top: clamp(36px, 4vw, 56px); }
.news-year h2 { margin: 0; color: var(--corp-blue); font-family: var(--corp-display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: .06em; }
.news-year .news-list { margin-top: 14px; }
.news-list a[hidden], .news-year[hidden] { display: none; }
.news-hero.doc-hero h1 { max-width: 34em; font-size: clamp(22px, 2.6vw, 34px) !important; line-height: 1.5; letter-spacing: -.01em; word-break: normal; overflow-wrap: anywhere; }
.news-hero .detail-breadcrumb > span:last-child { overflow: hidden; max-width: 24em; text-overflow: ellipsis; white-space: nowrap; }
.news-meta { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.news-meta time { font-family: var(--corp-display); font-size: 15px; letter-spacing: .07em; }
.news-meta span { padding: 3px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; opacity: .85; }
.news-body > :first-child { margin-top: 0; }
.news-body h2 { margin: 48px 0 0 !important; font-size: clamp(19px, 1.8vw, 22px) !important; line-height: 1.5 !important; }
.news-body h3 { margin: 36px 0 0 !important; }
.news-body .is-center { text-align: center !important; }
.news-body figure { margin: 28px 0 0; }
.news-body figure img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; border-radius: 4px; }
.news-body figcaption { margin-top: 8px; color: var(--corp-slate); font-size: 13px; text-align: center; }
.news-body > img, .news-body p img { max-width: 100%; height: auto; }
.news-body ul, .news-body ol { margin: 16px 0 0; padding-left: 1.4em; color: var(--corp-ink); font-size: 16px; line-height: 1.9; }
.news-body ul { list-style: disc; }
.news-body ol { list-style: decimal; }
.news-body a { color: var(--corp-blue); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.news-body hr { margin: 36px 0 0; border: 0; border-top: 1px solid var(--corp-line); }
.news-table { margin-top: 20px; overflow-x: auto; }
.news-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.news-table td, .news-table th { padding: 10px 12px; border: 1px solid var(--corp-line); vertical-align: top; }
.news-video { position: relative; margin-top: 28px; aspect-ratio: 16 / 9; }
.news-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 4px; }
.news-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(48px, 5vw, 72px); padding-top: 28px; border-top: 1px solid var(--corp-line); }
.news-pager a { display: block; padding: 18px 20px; border: 1px solid var(--corp-line); border-radius: 8px; color: var(--corp-ink); text-decoration: none; transition: border-color .2s ease; }
.news-pager a:hover { border-color: var(--corp-blue); }
.news-pager small { display: block; color: var(--corp-blue); font-size: 12px; font-weight: 700; }
.news-pager span { display: -webkit-box; margin-top: 6px; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-pager .news-next { text-align: right; }
.news-back { margin: 40px 0 0; text-align: center; }
@media (max-width: 760px) {
  .news-pager { grid-template-columns: 1fr; }
  .news-pager .news-next { text-align: left; }
  .news-pager .is-empty { display: none; }
  .news-hero .detail-breadcrumb > span:last-child { max-width: 12em; }
}

/* サービス一覧: オンプレミスAIの大きなカード */
.svc-feature { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: 16px; padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3.4vw, 48px); overflow: hidden; border-radius: 12px; background: var(--corp-deep); color: #fff; text-decoration: none; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .3s ease; }
.svc-feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgba(42,183,217,.28), transparent 60%), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 64px); pointer-events: none; }
.svc-feature > * { position: relative; }
.svc-feature:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(29,39,46,.25); }
.svc-feature-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.svc-feature-head p { margin: 0; color: var(--corp-cyan); font-family: var(--corp-display); font-size: 14px; letter-spacing: .14em; }
.svc-feature-new { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: 13px; font-weight: 700; }
.svc-feature-new b { padding: 2px 8px; border-radius: 3px; background: var(--corp-cyan); color: var(--corp-deep); font-family: var(--corp-display); font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.svc-feature-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px clamp(24px, 4vw, 64px); align-items: start; }
.svc-feature .svc-card-head h2 { margin: 0; color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 900; letter-spacing: -.03em; }
.svc-feature .svc-kind { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.85); }
.svc-feature .svc-card-issue { margin: 14px 0 0; color: rgba(255,255,255,.9); font-size: 15px; font-weight: 700; line-height: 1.7; }
.svc-feature ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.svc-feature li { position: relative; padding-left: 18px; color: rgba(255,255,255,.88); font-size: 14px; line-height: 1.7; }
.svc-feature li::before { content: ""; position: absolute; top: .72em; left: 0; width: 8px; height: 2px; background: var(--corp-cyan); }
.svc-feature-arrow { position: absolute !important; right: clamp(20px, 3vw, 40px); top: clamp(24px, 3vw, 40px); display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; font-weight: 400; transition: background .25s ease, border-color .25s ease; }
.svc-feature:hover .svc-feature-arrow { border-color: var(--corp-cyan); background: var(--corp-cyan); color: var(--corp-deep); }
@media (max-width: 760px) {
  .svc-feature { padding-right: 24px; }
  .svc-feature-head { padding-right: 52px; }
  .svc-feature-body { grid-template-columns: minmax(0, 1fr); }
}

/* AI駆動開発: オンプレミスAIへの入口 */
.onprem-callout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 6px 24px; align-items: center; margin-top: clamp(28px, 3vw, 40px); padding: clamp(22px, 2.6vw, 30px) clamp(22px, 3vw, 36px); border-radius: 10px; background: var(--corp-deep); color: #fff; text-decoration: none; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .3s ease; }
.onprem-callout:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(29,39,46,.22); }
.onprem-callout-kicker { grid-column: 1; color: var(--corp-cyan); font-family: var(--corp-display); font-size: 13px; letter-spacing: .14em; }
.onprem-callout-title { grid-column: 1; font-size: clamp(18px, 1.8vw, 22px); font-weight: 900; letter-spacing: -.02em; line-height: 1.5; }
.onprem-callout-text { grid-column: 1; color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.8; }
.onprem-callout > b { grid-column: 2; grid-row: 1 / span 3; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-weight: 400; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.onprem-callout:hover > b { border-color: var(--corp-cyan); background: var(--corp-cyan); color: var(--corp-deep); }
@media (max-width: 560px) {
  .onprem-callout { grid-template-columns: minmax(0, 1fr); }
  .onprem-callout > b { grid-column: 1; grid-row: auto; justify-self: end; }
}
.news-related { margin: 40px 0 0 !important; text-align: center; }
.svc-feature .svc-kind { background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; }
.news-hero .detail-breadcrumb > span:last-child { display: inline-block; vertical-align: bottom; }

/* 全体レビュー6: 日本語の小さい文字を 12px 以上に */
@media (max-width: 1199px) { .svc-kind, .svc-card-body .svc-kind { font-size: 12px; } }
.strength-bridge-kicker span { font-size: 12px; }
.cases-index small, .vm-card small, .hero-gauge-bars li { font-size: 12px; }
@media (max-width: 900px) { .cases-index small { font-size: 12px; } }

/* 全体レビュー6: キーボード操作・印刷 */
/* 隠れたヘッダーの中にフォーカスが入ったら、ヘッダーを表示する */
.corp-header:focus-within { transform: none; opacity: 1; pointer-events: auto; }
/* フォーカス枠: 白地で見えるよう濃い青に。暗い背景の上では明るい水色 */
:where(a, button, summary, [tabindex], input, select, textarea):focus-visible { outline: 3px solid var(--corp-blue); outline-offset: 3px; }
:where(.is-dark, .svc-feature, .onprem-callout, .storm-hero-card, .corp-mobile-menu, .corp-button-dark, .corp-recruit) :focus-visible,
:where(.svc-feature, .onprem-callout, .corp-button-dark):focus-visible { outline-color: var(--corp-cyan); }
/* 独自カーソルの環境でも、入力欄では文字入力のカーソルを出す */
html.has-cursor :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea, [contenteditable]) { cursor: text !important; }
html.has-cursor select { cursor: pointer !important; }
@media print {
  .js .reveal, .js .rise, .js .stagger > *, .reveal, .rise, .stagger > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .corp-header, .cur, .rail, .internal-review-badge, .corp-menu-button, .svc-tabs { display: none !important; }
  html.has-cursor, html.has-cursor * { cursor: auto !important; }
}

/* お問い合わせ: ボット対策の見えない欄（人には見えず、読み上げもしない） */
.cf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cf-submit[aria-busy="true"] { opacity: .7; cursor: progress; }

/* 404 */
.notfound-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.notfound-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border: 1px solid var(--corp-line); border-radius: 8px; color: var(--corp-ink); font-weight: 700; text-decoration: none; }
.notfound-links a::after { content: "→"; color: var(--corp-cyan); }
.notfound-links a:hover { border-color: var(--corp-blue); color: var(--corp-blue); }

/* 鉄道事例 CASE 02: camera viewer の画面イメージは切り取らずに見せる（2:1） */
#jrh-camera .case-shots-page .is-lead img { aspect-ratio: auto; height: auto; object-fit: contain; }

/* 鉄道事例の見出し: PC では「運行情報と自動でつながる／駅案内と監視システム」の2行に収める */
@media (min-width: 900px) {
  .cases-hero[data-word="RAILWAY"] #cases-hero-title { font-size: min(4.6vw, 66px) !important; }
  .cases-hero[data-word="RAILWAY"] #cases-hero-title > span { white-space: nowrap; }
}

/* ヘッダーの「お問い合わせ」「採用情報」: 2段の丸ボタンは文字が詰まって見えるため、
   メニューと同じ高さの横長ボタン（文字＋矢印）にする（PC のみ。1100px 以下は従来どおり） */
@media (min-width: 1101px) {
  .corp-contact, .corporate-page .corp-contact, .corporate-page .corp-recruit-nav {
    flex-direction: row; gap: 14px; width: auto; min-height: 0; height: 50px; padding: 0 7px 0 24px; line-height: 1;
  }
  .corp-contact span, .corporate-page .corp-contact span, .corporate-page .corp-recruit-nav span { font-size: 14px; letter-spacing: .04em; white-space: nowrap; }
  .corp-contact small, .corporate-page .corp-contact small, .corporate-page .corp-recruit-nav small { display: none; }
  .corp-contact::after, .corporate-page .corp-recruit-nav::after {
    content: "→" / ""; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.18); color: #fff; font-size: 15px; font-weight: 400; transition: transform .25s ease, background .25s ease;
  }
  .corporate-page .corp-recruit-nav::after { content: "↗" / ""; }
  .corp-contact:hover::after, .corporate-page .corp-recruit-nav:hover::after { background: rgba(255,255,255,.3); transform: translateX(2px); }
  .corporate-page .corp-recruit-nav:hover::after { transform: translate(2px, -2px); }
}

/* 採用サイトにつながらない間の「準備中」表示（scripts/patches/recruit_off.py）。
   リンクを外したうえで、灰色にして「準備中」の札を付ける。押しても何も起きないことが見て分かるように */
a[aria-disabled="true"] { cursor: not-allowed; }
a[aria-disabled="true"]:hover { transform: none !important; }
.soon-badge { display: inline-flex; align-items: center; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #e3e8eb; color: #5d6b74; font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1.5; white-space: nowrap; vertical-align: middle; }
/* フッター・スマホメニュー・各ページのリンク */
.corp-footer-cols a[aria-disabled="true"], .corp-mobile-menu a[aria-disabled="true"], .sdg-more[aria-disabled="true"] { color: #8a979f !important; }
.corp-footer-cols a[aria-disabled="true"] i, .corp-mobile-menu a[aria-disabled="true"] i, .sdg-more[aria-disabled="true"] i { display: none; }
.corp-footer-cols a[aria-disabled="true"]:hover, .corp-mobile-menu a[aria-disabled="true"]:hover { color: #8a979f !important; text-decoration: none; }
.corp-footer-cols a[aria-disabled="true"]::after, .corp-mobile-menu a[aria-disabled="true"]::after { display: none !important; }
.corp-mobile-menu .soon-badge { background: rgba(255,255,255,.14); color: rgba(255,255,255,.75); }
/* TOP ヘッダーの「採用情報」ボタン */
.corporate-page .corp-recruit-nav[aria-disabled="true"] { background: #d5dce0 !important; color: #5d6b74 !important; box-shadow: none !important; }
.corporate-page .corp-recruit-nav[aria-disabled="true"] span:not(.soon-badge), .corporate-page .corp-recruit-nav[aria-disabled="true"] small { color: #5d6b74 !important; }
.corporate-page .corp-recruit-nav[aria-disabled="true"]::after { display: none !important; }
.corporate-page .corp-recruit-nav[aria-disabled="true"] .soon-badge { margin: 0; background: #fff; color: #5d6b74; font-size: 10.5px; }
@media (min-width: 1101px) { .corporate-page .corp-recruit-nav[aria-disabled="true"] { padding-right: 14px; gap: 10px; } }
@media (max-width: 1100px) { .corporate-page .corp-recruit-nav[aria-disabled="true"] .soon-badge { display: none; } }
/* TOP 採用セクションのリンク、お問い合わせの採用窓口、ラミィの採用バナー */
.corp-recruit-link[aria-disabled="true"], .corp-recruit-link[aria-disabled="true"] .text { color: rgba(255,255,255,.72) !important; }
.corp-recruit-link[aria-disabled="true"]::before, .corp-recruit-link[aria-disabled="true"]::after { opacity: .4; }
.corp-recruit-link[aria-disabled="true"] .soon-badge { background: rgba(255,255,255,.2); color: #fff; }
.corp-recruit-link[aria-disabled="true"] .arrow { display: none; }
.contact-route[aria-disabled="true"] { opacity: .6; background: #f4f6f7; box-shadow: none !important; }
.contact-route[aria-disabled="true"] > i { display: none; }
.contact-route[aria-disabled="true"] .soon-badge { position: absolute; top: 18px; right: 18px; margin: 0; }
.rbn[aria-disabled="true"] { position: relative; filter: grayscale(1); opacity: .6; }
.rbn[aria-disabled="true"] .soon-badge { position: absolute; top: 10px; right: 10px; z-index: 2; margin: 0; background: #fff; }
@media (max-width: 1100px) {
  .corp-mobile-menu > a .soon-badge { justify-self: start; margin-left: 10px; padding: 2px 9px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.7); font-family: var(--corp-sans); font-size: 11px; font-weight: 700; }
}

/* オンプレミスAI（2026-10-22 調整） */
/* ヒーロー: 概要カードの代わりに当社のイラストを大きく */
.onp-hero-visual { position: relative; justify-self: end; width: min(100%, 600px); margin: 0; }
.onp-hero-visual img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(15,59,88,.14)); }
.onp-hero-badge { position: absolute; left: 4%; bottom: 6%; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; box-shadow: 0 10px 26px rgba(15,59,88,.14); color: var(--corp-ink); font-size: 13px; font-weight: 800; }
.onp-hero-badge span { padding: 3px 10px; border-radius: 999px; background: var(--corp-cyan); color: #fff; font-family: var(--corp-display); font-size: 12px; font-weight: 500; letter-spacing: .1em; }
@media (max-width: 1100px) { .onp-hero-visual { justify-self: center; width: min(100%, 460px); } }
/* 説明文: PC では文の途中で折り返さないよう幅を広げる。ヒーローの説明文は「。」の後でも改行しない */
@media (min-width: 1200px) { .biz-lead.lead-wide { max-width: none; } }
.biz-hero-lead.lead-nobrk { max-width: 36em; }
/* メリット: 見出し・要約・要点の3段 */
.onp-merits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 3vw, 40px); }
.onp-merit { position: relative; display: flex; flex-direction: column; padding: clamp(26px, 2.6vw, 36px); overflow: hidden; border: 1px solid var(--corp-line); border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(15,59,88,.06); }
.onp-merit::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--corp-blue), var(--corp-cyan)); }
.onp-merit-head { display: flex; align-items: center; gap: 14px; }
.onp-merit-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--corp-ice, #eaf7fb); color: var(--corp-blue); }
.onp-merit-icon svg { width: 28px; height: 28px; }
.onp-merit-no { margin: 0; color: var(--corp-blue); font-family: var(--corp-display); font-size: 13px; letter-spacing: .12em; }
.onp-merit h3 { margin: 22px 0 0; color: var(--corp-ink); font-size: clamp(20px, 1.9vw, 26px); font-weight: 900; letter-spacing: -.02em; line-height: 1.45; }
.onp-merit-sum { margin: 14px 0 0; color: var(--corp-slate); font-size: 15px; line-height: 1.9; }
.onp-merit-points { display: grid; gap: 10px; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--corp-line); list-style: none; }
.onp-merit-points li { position: relative; padding-left: 28px; color: var(--corp-ink); font-size: 14.5px; font-weight: 600; line-height: 1.7; }
.onp-merit-points li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--corp-cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 899px) {
  .onp-merits { grid-template-columns: minmax(0, 1fr); }
  .onp-merit h3 br.pcbr { display: none; }
}

/* お問い合わせ: メール送信の設定がない間の案内 */
.cf-unavailable { margin: 0 0 20px; padding: 20px 24px; border: 1px solid #f0c48a; border-radius: 12px; background: #fff8ec; color: var(--corp-ink); font-size: 15px; line-height: 1.8; }
.cf-unavailable p { margin: 0; }
.cf-unavailable a { color: var(--corp-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-form.is-unavailable { opacity: .45; pointer-events: none; }

/* オンプレミスAI ファーストビュー（2026-10-22 改善モックアップに合わせて作り直し） */
.onp-launch { display: inline-flex; align-items: center; gap: 6px; margin: 22px 0 18px; padding: 6px 16px; border: 1.5px solid var(--corp-blue); border-radius: 999px; background: rgba(255,255,255,.7); color: var(--corp-blue); font-size: 14px; font-weight: 800; line-height: 1.3; }
.onp-launch time { font-family: var(--corp-display); font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.onp-hero-copy .corp-eyebrow { margin-top: 0; }
.onp-hero-copy .biz-hero-title { font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -.05em; line-height: 1.18; }
.onp-hero-copy .biz-hero-lead { max-width: none; margin-top: 26px; color: var(--corp-ink); font-size: clamp(15px, 1.25vw, 18px); font-weight: 600; line-height: 1.9; }
.onp-points { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 22px 0 0; padding: 0; list-style: none; }
.onp-points li { display: inline-flex; align-items: center; gap: 10px; color: var(--corp-ink); font-size: 15px; font-weight: 800; }
.onp-points svg { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: #dff3fa; fill: none; stroke: var(--corp-blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.onp-hero-copy .storm-hero-actions { margin-top: 30px; }
.onp-adopt { display: flex; align-items: center; gap: 12px; margin: 26px 0 0; color: var(--corp-slate); font-size: 13px; font-weight: 600; }
.onp-adopt::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .5; }
/* 右: 社内ネットワークのイラスト。ラベルは HTML の文字を重ねる（位置は viewBox 640×470 に対する割合） */
.onp-net { position: relative; justify-self: end; width: min(100%, 640px); margin: 0; }
.onp-net-art { display: block; width: 100%; height: auto; overflow: visible; }
.onp-net-title { position: absolute; left: 50%; top: 14.9%; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 16px; border: 1.5px solid #8fdcf0; border-radius: 999px; background: #fff; color: var(--corp-blue); font-size: clamp(12px, 1.05vw, 15px); font-weight: 800; white-space: nowrap; transform: translate(-50%, -50%); }
.onp-net-title svg { width: 18px; height: 18px; fill: #49c6e5; }
.onp-net-label { position: absolute; padding: 5px 14px; border-radius: 999px; background: #fff; box-shadow: 0 6px 16px rgba(15,59,88,.1); color: var(--corp-ink); font-size: clamp(12px, 1vw, 14px); font-weight: 800; line-height: 1.4; white-space: nowrap; transform: translate(-50%, -50%); }
.onp-net-label.is-docs { left: 23.4%; top: 72%; }
.onp-net-label.is-server { left: 51.6%; top: 86%; }
.onp-net-label.is-pc { left: 81%; top: 80.5%; }
@media (max-width: 1100px) {
  .onp-net { justify-self: center; width: min(100%, 560px); }
}
@media (max-width: 599px) {
  .onp-hero-copy .biz-hero-title { font-size: clamp(30px, 8.6vw, 40px); }
  .onp-points { gap: 10px 18px; }
  .onp-points li { font-size: 14px; }
  .onp-net-label { padding: 4px 10px; }
  .onp-net-title { padding: 5px 12px; }
}
/* ラベルの中の折り返し候補（wbr）で行が割れないように */
.onp-net-title wbr, .onp-net-label wbr, .onp-launch wbr, .onp-points wbr { display: none; }
.onp-net-title, .onp-net-label { flex-wrap: nowrap; }
/* PC ではイラストを大きめに（左右ほぼ同じ幅） */
@media (min-width: 1101px) {
  .storm-hero .biz-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); }
  .onp-net { width: min(100%, 660px); }
}
.onp-net-title svg { flex: none; }

/* 画面には出さず、読み上げだけに使う見出し */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* 会社概要: 冒頭の大きな見出しを外し、トップメッセージから始める（固定ヘッダーの分だけ上に余白） */
.message-section.is-first { padding-top: clamp(130px, 13vw, 180px); }
.message-section.is-first .detail-breadcrumb { margin-bottom: clamp(28px, 3vw, 40px); color: var(--corp-slate); }
.message-section.is-first .detail-breadcrumb a:hover { color: var(--corp-ink); }

/* BPO の業務フロー図: 枠を図の縦横比に合わせ、下が切れないようにする（拡大用リンクで包んでいる図も枠いっぱいに） */
.svc-figure.is-zoom a { height: 100%; }
.svc-figure:has(img[src*="/bpo-safety"]) { aspect-ratio: 1650 / 1140; }
/* BPO の業務フロー図（新しいイラスト 1536×1024）: 切り取らずに全体を見せる */
.svc-figure img[src*="/bpo-flow"] { object-fit: contain; background: #fff; }
.svc-figure:has(img[src*="/bpo-flow"]) { aspect-ratio: 1536 / 1024; background: #fff; border: 1px solid var(--corp-line); }

/* 各製品の「製品サイトを見る」「製品ページを見る」は、製品の枠の右下に置く（相談リンクは削除済み） */
.svc-product { align-items: stretch; }
.svc-product .svc-copy { height: 100%; }
.svc-product .svc-copy > .svc-link { align-self: flex-end; margin-top: auto; padding-top: 20px; }

/* 止まっている外部サイト（scripts/patches/external_off.py） */
/* フッター: genba21.com のリンクを外したあとも、著作表記は右端に */
.corp-footer .corp-footer-bottom { justify-content: flex-end; }
@media (max-width: 1100px) { .corp-footer .corp-footer-bottom { align-items: flex-end; } .corp-footer .corp-footer-bottom .copy { text-align: right; } }
/* calsmaster.com: 「調整中」で押せない状態（採用サイトの「準備中」と同じ考え方） */
.solution-card[aria-disabled="true"] { cursor: not-allowed; }
.solution-card[aria-disabled="true"]:hover { color: var(--corp-ink); background: #fff; transform: none; }
.solution-card[aria-disabled="true"]:hover > span { color: var(--corp-blue); }
.solution-card[aria-disabled="true"] figure { filter: grayscale(1); opacity: .55; }
.solution-card[aria-disabled="true"] > b { display: none; }
.solution-card[aria-disabled="true"] .soon-badge { position: absolute; top: 14px; right: 14px; z-index: 3; margin: 0; background: #fff; box-shadow: 0 2px 8px rgba(15,59,88,.12); }
.svc-link[aria-disabled="true"], .cases-cta-sub[aria-disabled="true"] { color: #8a979f !important; border-bottom-color: transparent; }
.svc-link[aria-disabled="true"] i, .cases-cta-sub[aria-disabled="true"] i { display: none; }
.svc-link[aria-disabled="true"]:hover i { transform: none; }
.corporate-page .solution-card[aria-disabled="true"]:hover { border-color: var(--corp-line); box-shadow: none; transform: none; }
.corporate-page .solution-card[aria-disabled="true"]:hover figure img { transform: none; }
