:root {
  --blue: #213CDB;
  --blue-light: #4465E0;
  --cyan: #4EA0EC;
  --blue-deep: #14248F;
  --blue-dark: #1A31B8;
  --navy: #040915;
  --ink: #111111;
  --body: #333946;
  --line: #d9dee8;
  --light: #f7faff;
  --font: "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --navy-heading: #07133f;
  --label-size: clamp(13.5px, 1.2vw, 18px);
  --h2-size: clamp(30px, 2.5vw, 40px);
  --section-pad: 96px;

  /* hp-build 標準トークン名のエイリアス（値は Internnect の既存ブランド色を維持） */
  --font-en: "Inter", "IBM Plex Sans JP", sans-serif;
  --brand: var(--blue);
  --brand-deep: var(--blue-deep);
  --brand-pale: var(--light);
  --muted: var(--body);
  --r-card: 12px;
  --r-sub: 8px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }
html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }

main { width: 100%; max-width: 100%; overflow-x: hidden; }
section { width: 100%; max-width: 100%; overflow-x: hidden; }

/* ヘッダー / ナビ / ハンバーガー / ドロワー / フッターは共通シェルとして
   css/common.css に集約（skills/design/hp-build 整流基準）。 */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  background: url("../img/hero-section_background.png") center / cover no-repeat;
  overflow: hidden;
  animation: hero-bg-in 0.7s ease both;
}
@keyframes hero-bg-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* ヒーロー内テキストは背景フェード(0.7s)の後に上から順番に表示する */
.hero-copy [data-anim] { transition-delay: 0.5s; }
.hero-copy [data-anim][data-delay="1"] { transition-delay: 0.65s; }
.hero-copy [data-anim][data-delay="2"] { transition-delay: 0.8s; }
.hero-copy [data-anim][data-delay="3"] { transition-delay: 0.95s; }
.hero-copy {
  z-index: 2;
  align-self: center;
  padding: 96px 0 72px 67px;
}
.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(38px, 3.1vw, 50px);
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero-lead {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.4;
  font-weight: 600;
}
.hero-lead-break { display: none; }
.hero-text {
  margin: 0;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 2.05;
  font-weight: 600;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 48px;
}
.btn,
.small-btn,
.contact a {
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 28px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
}
.btn-primary {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--blue);
  border-radius: 999px;
  padding: 0 40px;
  box-shadow: none;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: none;
  transform: none;
}
.btn-outline,
.small-btn {
  border: 1px solid #8794aa;
  background: rgba(255,255,255,0.7);
}
.btn,
.small-btn,
.contact a,
.strategy-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}
.btn:hover,
.btn:focus-visible,
.small-btn:hover,
.small-btn:focus-visible,
.contact a:hover,
.contact a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(33, 60, 219, 0.18);
}
.btn-outline:hover,
.small-btn:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.hero-visual {
  position: relative;
  min-height: 496px;
  overflow: hidden;
  background: transparent;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.02) 42%, rgba(255,255,255,0) 100%);
}
.hero-visual::after {
  content: none;
}
.hero-slash {
  display: none;
}
.slash-a { left: -40px; }
.slash-b { left: 218px; }
.slash-c { left: 477px; }
.scroll {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 38px;
  writing-mode: vertical-rl;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

/* ==========================================================================
   英語ラベル（WHY NOW / MISSION / STRATEGY / PRODUCE OS / WORKS 等）
   サイズは --label-size 一箇所で全セクション共通制御する。
   各セクションの個別ルールは「色」だけを上書きし、font-size には触れない。
   ========================================================================== */
.section-label {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: var(--label-size);
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.why {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  gap: 0;
  min-height: auto;
  padding: 104px 67px 70px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(1,11,31,0.78) 0%, rgba(2,14,38,0.7) 35%, rgba(2,15,42,0.82) 100%),
    linear-gradient(90deg, rgba(0,13,34,0.64), rgba(4,22,56,0.18) 46%, rgba(0,13,34,0.62)),
    url("../img/02section_backgroud.png") center 44% / cover no-repeat;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 41%, rgba(28,88,187,0.18), transparent 36%),
    linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,8,26,0.22));
  pointer-events: none;
}
.why > * {
  position: relative;
  z-index: 1;
}
.why-title {
  grid-column: 1 / -1;
  margin: 0;
  width: min(960px, 100%);
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}
.why-cards {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 52px;
  overflow: hidden;
  border: 1px solid rgba(54, 126, 255, 0.48);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(5, 24, 65, 0.72) 0%, rgba(4, 20, 56, 0.78) 72%, rgba(13, 52, 143, 0.76) 100%);
  box-shadow:
    inset 0 0 38px rgba(17, 91, 255, 0.18),
    0 22px 50px rgba(0, 9, 28, 0.28);
}
/* WHY NOW: テキスト(見出し→本文)の表示完了後に外枠→カードの順で左から表示 */
.why-cards[data-anim] { transition-delay: 0.9s; }
.why-cards .why-card[data-anim] { transition-delay: 0.9s; }
.why-cards .why-card[data-anim][data-delay="1"] { transition-delay: 1.05s; }
.why-cards .why-card[data-anim][data-delay="2"] { transition-delay: 1.2s; }
.why-cards .why-card[data-anim][data-delay="3"] { transition-delay: 1.35s; }
.why-cards__icons {
  position: absolute;
  left: 0;
  right: 0;
  top: 107px;
  transform: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  z-index: 2;
  pointer-events: none;
}
.why-cards__icons::before {
  content: "";
  position: absolute;
  left: 9.5%;
  right: 9.5%;
  top: -107px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(104, 166, 255, 0.8) 10%, rgba(104, 166, 255, 0.8) 90%, transparent);
  z-index: 2;
  box-shadow: 0 0 12px rgba(104, 166, 255, 0.55);
}
.why-cards__icons .icon {
  justify-self: center;
  margin: 0;
  width: 42px;
  height: 42px;
  color: #68a6ff;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: rgba(3, 14, 38, 0.92);
}
.why-cards__icons .icon::before,
.why-cards__icons .icon::after {
  content: none;
}
.why-cards__icons .spark {
  position: absolute;
  top: -107px;
  width: 6px;
  height: 6px;
  background: #9fd0ff;
  border-radius: 1px;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 8px 2px rgba(120, 180, 255, 0.7);
  z-index: 2;
}
.why-cards__icons .spark:nth-last-child(3) { left: 25%; }
.why-cards__icons .spark:nth-last-child(2) { left: 50%; }
.why-cards__icons .spark:nth-last-child(1) { left: 75%; }
.why-card {
  position: relative;
  min-height: 300px;
  padding: 118px 42px 36px;
  border-left: 1px solid rgba(75, 139, 255, 0.36);
  background: linear-gradient(180deg, rgba(2, 18, 48, 0.34), rgba(3, 19, 55, 0.1));
}
.why-card:first-child {
  border-left: 0;
}
.why-card:last-child {
  background: linear-gradient(135deg, rgba(9, 43, 125, 0.86), rgba(9, 31, 82, 0.72));
}
.why-card__num {
  position: absolute;
  top: 24px;
  right: 24px;
  display: block;
  margin: 0;
  color: rgba(85, 163, 255, 0.4);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.why-card p {
  font-size: 12px;
  line-height: 1.5;
}
.why-card__icon {
  display: none;
}
.why .section-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 52px;
  color: #55a3ff;
  font-size: var(--label-size);
  line-height: 1;
  font-weight: 600;
  text-shadow:
    0 0 16px rgba(40,118,255,0.56),
    0 2px 8px rgba(0,0,0,0.35);
}
.why .section-label b {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-weight: 600;
}
.why .section-label .why__bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  flex: none;
  width: auto;
  height: auto;
  margin: 0;
  transform: translateY(-50%);
  color: rgba(94, 158, 255, 0.16);
  font-size: clamp(100px, 14vw, 200px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -4px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  text-shadow: none;
}
.why .why-heading {
  margin: 72px 0 0;
  font-size: var(--h2-size);
  line-height: 1.36;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0,0,0,0.44);
}
.section-side h2,
.north h2,
.contact h2 {
  margin: 0;
  color: var(--navy-heading);
  font-size: var(--h2-size);
  line-height: 1.23;
  font-weight: 900;
}
.why p:not(.section-label),
.section-side p:not(.section-label),
.north p:not(.section-label),
.contact p:not(.section-label) {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.72;
  font-weight: 800;
}
.why .why-title .why-sub {
  margin: 34px 0 0;
  max-width: 870px;
  color: rgba(226,235,250,0.86);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}
.icon {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  color: #68a6ff;
  filter: drop-shadow(0 0 7px rgba(74,142,255,0.9)) drop-shadow(0 0 18px rgba(43,100,255,0.86));
}
.icon::before,
.icon::after {
  content: "";
  position: absolute;
  border-color: currentColor;
  border-style: solid;
}
.icon-clock {
  border: 3px solid currentColor;
  border-radius: 50%;
}
.icon-clock::before {
  left: 26px;
  top: 12px;
  width: 0;
  height: 19px;
  border-width: 0 0 0 3px;
}
.icon-clock::after {
  left: 28px;
  top: 30px;
  width: 15px;
  height: 0;
  border-width: 3px 0 0;
  transform: rotate(28deg);
  transform-origin: left center;
}
.icon-hourglass::before {
  inset: 5px 12px;
  border-width: 3px 3px 0;
  border-radius: 0 0 28px 28px;
}
.icon-hourglass::after {
  inset: 5px 12px;
  border-width: 0 3px 3px;
  border-radius: 28px 28px 0 0;
}
.icon-hourglass {
  background:
    linear-gradient(currentColor,currentColor) center 6px / 40px 3px no-repeat,
    linear-gradient(currentColor,currentColor) center 50px / 40px 3px no-repeat,
    linear-gradient(63deg, transparent 48%, currentColor 49% 51%, transparent 52%) center / 32px 43px no-repeat,
    linear-gradient(117deg, transparent 48%, currentColor 49% 51%, transparent 52%) center / 32px 43px no-repeat;
}
.icon-signpost::before {
  left: 27px;
  top: 3px;
  width: 0;
  height: 52px;
  border-width: 0 0 0 3px;
}
.icon-signpost::after {
  left: 7px;
  top: 16px;
  width: 43px;
  height: 23px;
  border-width: 3px 0;
  box-shadow: 0 -15px 0 -12px currentColor, 0 15px 0 -12px currentColor;
}
.icon-chart::before {
  left: 6px;
  bottom: 7px;
  width: 44px;
  height: 36px;
  border-width: 0 0 3px 3px;
}
.icon-chart::after {
  left: 14px;
  top: 27px;
  width: 35px;
  height: 21px;
  border-width: 3px 3px 0 0;
  transform: skew(-18deg) rotate(-8deg);
}
.why .why-card__icon {
  display: none;
}
.why h3 {
  margin: 0 0 22px;
  min-height: auto;
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1.52;
  font-weight: 700;
  letter-spacing: 0;
}
.why article p:not(.section-label) {
  margin: 0;
  font-size: clamp(13px, 0.98vw, 15px);
  line-height: 1.95;
  font-weight: 300;
  letter-spacing: 0;
  color: rgba(226,235,250,0.86) !important;
}

.mission {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--section-pad) + 56px) 67px var(--section-pad);
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
}
.mission .section-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 52px;
  color: var(--blue);
  font-size: var(--label-size);
  line-height: 1;
  font-weight: 600;
  z-index: 1;
}
.mission .section-label b {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-weight: 600;
}
.mission .section-label .mission__bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  flex: none;
  width: auto;
  height: auto;
  margin: 0;
  transform: translateY(-50%);
  color: rgba(180, 190, 220, 0.18);
  font-size: clamp(100px, 14vw, 200px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -4px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.mission .section-side {
  width: 100%;
  padding-top: 0;
}
.mission-heading {
  position: relative;
  top: 24px;
  margin: 115px 0 0;
  color: #083fca;
  font-size: var(--h2-size);
  line-height: 1.36;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.mission-heading span { color: inherit; }
.mission-heading-break { display: none; }
.mission .section-side .mission-sub {
  margin: 58px 0 0;
  max-width: 870px;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0;
}
/* 初期状態は「表示」。JS が is-visible を付けたときだけ左→右のワイプを再生する。
   （初期非表示にすると JS 未実行時にテキストが消えるため、フェイルセーフにしている） */
.mission-lead[data-anim] {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin: 56px 0 0;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: left;
  opacity: 1;
  transform: none;
  transition: none;
}
.mission-lead[data-anim] span {
  display: inline-block;
  padding: 6px 22px 2px;
  border-radius: 0;
  color: #fff;
  background: var(--blue);
}
.mission-lead[data-anim].is-visible {
  animation: mission-lead-wipe .35s cubic-bezier(.3,.7,.3,1) 2s both;
}
@keyframes mission-lead-wipe {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
.kpis {
  width: min(100%, 1300px);
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: center;
  gap: clamp(24px, 3vw, 44px);
}
/* MISSION: テキスト(見出し→本文)の表示完了後にKPIカードを左から順番に表示 */
.kpis .kpi[data-anim] { transition-delay: 0.9s; }
.kpis .kpi[data-anim][data-delay="1"] { transition-delay: 1.05s; }
.kpis .kpi[data-anim][data-delay="2"] { transition-delay: 1.2s; }
.kpis .kpi[data-anim][data-delay="3"] { transition-delay: 1.35s; }
.kpi {
  width: min(100%, 300px);
  min-width: 0;
  aspect-ratio: 1;
  display: grid;
  grid-template-rows: 34px 80px 44px;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 34px;
  border: 1.5px solid rgba(33, 60, 219, 0.35);
  border-radius: 50%;
  background: rgba(255,255,255,0.54);
  text-align: center;
}
.kpi span { display: flex; align-items: end; justify-content: center; color: var(--blue); font-size: 20px; line-height: 1.35; font-weight: 900; }
.kpi strong { display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: clamp(50px, 5vw, 74px); line-height: 1; }
.kpi small { font-size: 20px; }
.kpi em { display: flex; align-items: start; justify-content: center; width: 140px; color: var(--body); font-size: 15px; font-style: normal; font-weight: 700; line-height: 1.35; }

.strategy,
.produce {
  display: grid;
  grid-template-columns: 24.5% repeat(3, 1fr);
  gap: 28px;
  padding: 19px 67px;
}
.section-side { padding-top: 8px; }
.strategy {
  position: relative;
  grid-template-columns: 28% repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  padding: var(--section-pad) 67px;
  background: #fff;
  overflow: hidden;
}
.strategy .section-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 52px;
  color: var(--blue);
  font-size: var(--label-size);
  line-height: 1;
  font-weight: 600;
  z-index: 1;
}
.strategy .section-label b {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-weight: 600;
}
/* 背景の薄い大文字。.strategy > * が z-index:1 のため、
   DOM上で先に来る .section-side 内のこの文字は後続のカード群より下に描画される。 */
.strategy .section-side .section-label .strategy__bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  flex: none;
  width: auto;
  height: auto;
  margin: 0;
  transform: translateY(-50%);
  color: rgba(180, 190, 220, 0.18);
  font-size: clamp(100px, 14vw, 200px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -4px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.strategy::before,
.strategy::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.strategy::before {
  content: none;
}
.strategy::after {
  content: none;
}
.strategy > * {
  position: relative;
  z-index: 1;
}
.strategy .section-side {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
}
.strategy .section-side h2 {
  margin-top: 115px;
  font-size: var(--h2-size);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.strategy .section-side p:not(.section-label) {
  margin: 34px 0 0;
  max-width: 870px;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 400;
  color: #6b7280;
  letter-spacing: 0;
}
.small-btn {
  width: 154px;
  margin-top: 17px;
}
.strategy-card {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 0 30px;
  overflow: hidden;
  border: 1px solid rgba(13, 73, 242, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(9, 24, 64, 0.10);
}
.ribbon {
  display: none;
}
.card-photo {
  position: relative;
  inset: auto;
  width: 100%;
  height: 220px;
  flex: 0 0 220px;
  background: var(--strategy-image) center 58% / cover no-repeat;
}
.strategy-card:nth-of-type(1) { --strategy-image: url("../img/strategy-01.png"); }
.strategy-card:nth-of-type(2) { --strategy-image: url("../img/strategy-02.png"); }
.strategy-card:nth-of-type(3) { --strategy-image: url("../img/strategy-03.png"); }
.card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,0.62) 68%,
    #fff 100%
  );
}
.strategy-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin: 24px 28px 10px;
  color: #0d49f2;
  font-size: clamp(32px, 2.8vw, 44px);
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
}
.strategy-card h3,
.produce-card h3 {
  margin: 3px 0 4px;
  color: #123391;
  font-size: 16px;
  line-height: 1.18;
}
.strategy-card h4,
.produce-card h4 {
  margin: 0 0 9px;
  font-size: 12px;
}
.strategy-card h3 {
  position: relative;
  z-index: 1;
  max-width: none;
  min-height: calc(1.28em * 2);
  margin: 0 28px 24px;
  color: #0d49f2;
  font-size: clamp(19px, 1.3vw, 24px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
  text-shadow: none;
}
.strategy-card h4 {
  margin: 0 28px 20px;
  color: #111;
  font-size: clamp(17px, 1.15vw, 22px);
  font-weight: 900;
  line-height: 1.55;
}
.strategy-card ul {
  margin: 0 28px;
  padding: 0 0 0 18px;
  color: #6b7280;
  font-size: clamp(13px, 0.88vw, 16px);
  line-height: 1.85;
  font-weight: 500;
}

.produce {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
  padding: var(--section-pad) 76px;
  background: #fff;
}
.produce .section-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 52px;
  color: var(--blue);
  font-size: var(--label-size);
  line-height: 1;
  font-weight: 600;
  z-index: 1;
}
.produce .section-label b {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-weight: 600;
}
.produce .section-label .produce__bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  flex: none;
  width: auto;
  height: auto;
  margin: 0;
  transform: translateY(-50%);
  color: rgba(180, 190, 220, 0.18);
  font-size: clamp(100px, 14vw, 200px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -4px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.produce .section-side {
  grid-column: 1 / -1;
  width: min(920px, 100%);
  justify-self: start;
  padding-top: 0;
  text-align: left;
}
.produce .section-side .produce-heading {
  margin: 70px 0 0;
  color: #07133f;
  font-size: var(--h2-size);
  line-height: 1.36;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.produce .section-side .produce-sub {
  margin: 34px 0 28px;
  max-width: 870px;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0;
}
.produce-card {
  position: relative;
  min-height: 398px;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  column-gap: 20px;
  padding: 42px 36px 38px;
  border: 1px solid #cbdcf2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 18px rgba(20, 47, 88, 0.1);
}
.produce-card > img {
  grid-row: 1 / 3;
  width: 108px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
}
.produce-logos {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
  padding: 0 40px;
}
.produce-logos img {
  grid-row: auto;
  height: 72px;
  width: auto;
  min-width: 90px;
  background: transparent;
  padding: 0;
  object-fit: contain;
  object-position: center;
}
.produce-logos img[alt="NEXUS"],
.produce-logos img[alt="TSUDULY"],
.produce-logos img[alt="Third Vrs"] {
  height: 52px;
  min-width: 64px;
}
/* PC限定のロゴサイズ微調整（PRODUCE OS 3カード） */
@media (min-width: 901px) {
  .produce-logos img[alt="A-Career"] {
    height: 54px;
    min-width: 68px;
  }
  .produce-logos img[alt="JRCE"] {
    height: 80px;
    min-width: 100px;
  }
  .produce-logos img[alt="NISSHINBO"] {
    height: 48px;
    min-width: 60px;
  }
  .produce-logos img[alt="SympaFit"] {
    height: 88px;
    min-width: 110px;
  }
  .produce-logos img[alt="TSUDULY"] {
    height: 72px;
    min-width: 90px;
  }
}
.produce-card h3 {
  align-self: end;
  margin: 23px 0 8px;
  color: var(--blue);
  font-size: clamp(26px, 1.85vw, 31px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}
.produce-card h4 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(20px, 1.35vw, 24px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.produce-card p {
  grid-column: 1 / -1;
  margin: 34px 0 28px;
  color: var(--body);
  font-size: clamp(14px, 1vw, 18px);
  line-height: 1.9;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.produce-card b {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding-top: 30px;
  border-top: 1px solid #cbdcf2;
  color: var(--ink);
  font-size: clamp(16px, 1.18vw, 20px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
  word-spacing: 12px;
  white-space: nowrap;
}

/* ===== WORKS (ported from hp_codex: hp_update/hp_codex/hp/design) ===== */
.works-section {
  position: relative;
  padding: var(--section-pad) 0 var(--section-pad) 80px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  color: var(--ink);
  background: #fff;
  overflow: hidden;
}
.works__bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  margin: 0;
  transform: translateY(-50%);
  font-size: clamp(100px, 14vw, 200px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -4px;
  color: rgba(180, 190, 220, 0.18);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.works__header {
  position: relative;
  z-index: 1;
}
/* WORKS だけは <b>WORKS</b> をラベル本体に使う特殊構造。
   レイアウト（flex・余白）だけをここで指定し、文字サイズは
   基本 .section-label ルール（--label-size）から継承させる。 */
.works-section .section-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.works-section .section-label span { display: none; }
.works-section .section-label b {
  display: inline-block;
  font-weight: 600;
}
.works__heading {
  margin: 70px 0 0;
  color: var(--ink);
  font-size: var(--h2-size);
  line-height: 1.36;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.works__sub {
  margin: 34px 0 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.9;
}
.works__filters {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: #6b7280;
  background: #fff;
  font-size: 11px;
  letter-spacing: 0.06em;
  transition: all 0.2s;
}
.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.filter-btn.is-active {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}
.filter-btn__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.filter-btn__dot--re   { background: #2db37e; }
.filter-btn__dot--co   { background: #e07a30; }
.filter-btn__dot--self { background: #6e77df; }
.works__carousel-wrap {
  position: relative;
  z-index: 1;
}
.works__carousel-wrap::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 120px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.9));
  pointer-events: none;
  z-index: 2;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 22px;
  box-shadow: 0 2px 12px rgba(33,60,219,0.25);
  transform: translateY(-50%);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.carousel-btn--prev { left: -20px; }
.carousel-btn--next { right: 56px; }
.carousel-btn:hover { color: var(--blue); border-color: var(--line); background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.works__carousel-viewport {
  overflow: hidden;
  padding-left: 4px;
}
.works__carousel {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.work-card {
  min-width: 302px;
  max-width: 302px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.work-card:hover {
  box-shadow: 0 6px 24px rgba(33,60,219,0.1);
}
.work-card__img {
  position: relative;
  height: 185px;
  overflow: hidden;
}
.work-card__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.work-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 12px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.work-card[data-cat="re-produce"]   .work-card__badge { background: #2db37e; }
.work-card[data-cat="co-produce"]   .work-card__badge { background: #e07a30; }
.work-card[data-cat="self-produce"] .work-card__badge { background: #6e77df; }
.work-card__client {
  margin: 0;
  padding: 16px 14px 0;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
}
.work-card__title {
  margin: 0;
  padding: 8px 14px 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}
.work-card__desc {
  margin: 0;
  padding: 10px 14px 0;
  color: var(--body);
  font-size: 11px;
  line-height: 1.8;
}
.work-card__tag {
  display: block;
  margin: 0;
  padding: 10px 12px 20px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 500;
}

.group {
  position: relative;
  display: block;
  padding: 84px 67px 86px;
  background: #fff;
  overflow: hidden;
}
.group > * {
  position: relative;
  z-index: 1;
}
.group .section-side {
  width: min(1120px, 100%);
  padding-top: 0;
}
.group .section-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 52px;
  color: #0d49f2;
  font-size: var(--label-size);
  line-height: 1;
  font-weight: 600;
  z-index: 1;
}
.group .section-label span { display: none; }
.group .section-label b {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-weight: 600;
}
.group .section-label::after {
  content: none;
}
.group .section-label .group__bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  flex: none;
  width: auto;
  height: auto;
  margin: 0;
  transform: translateY(-50%);
  color: rgba(180, 190, 220, 0.18);
  font-size: clamp(100px, 14vw, 200px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -4px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.group .section-side .group-heading {
  margin: 70px 0 0;
  color: #061022;
  font-size: var(--h2-size);
  line-height: 1.36;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.group .section-side .group-sub {
  margin: 34px 0 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 400;
}
.group-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 58px;
}
.group-list div,
.group-list a {
  min-height: 200px;
  display: grid;
  grid-template-rows: 80px auto auto;
  place-content: center;
  place-items: center;
  gap: 9px;
  padding: 28px 24px;
  border: 1px solid #d9dee8;
  border-radius: 10px;
  background: rgba(255,255,255,0.86);
  color: #0032b5;
  font-size: clamp(18px, 1.5vw, 26px);
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  box-shadow: 0 10px 24px rgba(13, 34, 80, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.group-list div:hover,
.group-list a:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.group-list img {
  align-self: center;
  justify-self: center;
  width: min(260px, 100%);
  max-height: 110px;
  object-fit: contain;
  object-position: center;
  margin: 0;
}
.group-list small {
  display: block;
  color: #333;
  font-size: clamp(14px, 1.1vw, 20px);
  line-height: 1.35;
  font-weight: 400;
}

.north {
  position: relative;
  display: grid;
  grid-template-columns: minmax(520px, 46%) minmax(0, 1fr);
  gap: 34px 48px;
  min-height: auto;
  padding: 86px 67px 76px;
  color: #fff;
  background: url("../img/north-star-bg.png") center 44% / cover no-repeat;
  overflow: hidden;
}
.north::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 41%, rgba(28,88,187,0.18), transparent 36%),
    linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,8,26,0.22));
  pointer-events: none;
}
.north > * {
  position: relative;
  z-index: 1;
}
.north .section-side {
  grid-column: 1 / -1;
  padding-top: 40px;
}
.north .section-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 52px;
  color: #55a3ff;
  font-size: var(--label-size);
  line-height: 1;
  font-weight: 600;
  text-shadow:
    0 0 16px rgba(40,118,255,0.56),
    0 2px 8px rgba(0,0,0,0.35);
}
.north .section-label b {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-weight: 600;
}
.north .section-label .north__bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  flex: none;
  width: auto;
  height: auto;
  margin: 0;
  transform: translateY(-50%);
  color: rgba(94, 158, 255, 0.16);
  font-size: clamp(100px, 14vw, 200px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -4px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  text-shadow: none;
}
.north .section-side h2 {
  margin: 72px 0 0;
  color: #fff;
  font-size: var(--h2-size);
  line-height: 1.36;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 16px rgba(0,0,0,0.44);
}
.north .section-side > p:not(.section-label) {
  margin: 34px 0 0;
  max-width: 870px;
  color: rgba(226,235,250,0.86);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}
.north .section-side > .north__copy {
  max-width: none;
  text-wrap: auto;
}
.north__copy span {
  display: block;
}
.north__copy span:first-child {
  white-space: nowrap;
}
.os-band {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  align-items: center;
  gap: 42px;
  margin-top: 0;
}
/* NORTH STAR: カード(情報→物流→関係→体験→Decision)を左から順番に表示 */
.os-band .os-card[data-anim][data-delay="4"] { transition-delay: .6s; }
.os-band__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
}
.os-card {
  position: relative;
  display: block;
  width: min(100%, 280px);
}
.os-card img {
  display: block;
  width: 85%;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}
.os-card__text {
  position: absolute;
  left: 0;
  right: 0;
  top: 56%;
  padding: 0 14%;
  text-align: center;
}
.os-card__text h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.os-card__text p {
  margin: 0;
  color: rgba(226,235,250,0.72);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.os-band__cards .os-card {
  justify-self: center;
  width: min(100%, 310px);
}
.os-band__cards .os-card:first-child::after {
  --os-dot-ring-size: clamp(7px, 1.05vw, 12px);
  --os-dot-ring-color: rgba(85, 163, 255, 0.62);
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle var(--os-dot-ring-size) at 42.2% 28.2%, transparent calc(100% - 1px), var(--os-dot-ring-color) calc(100% - 1px), var(--os-dot-ring-color) 100%, transparent calc(100% + 1px)),
    radial-gradient(circle var(--os-dot-ring-size) at 50% 28.2%, transparent calc(100% - 1px), var(--os-dot-ring-color) calc(100% - 1px), var(--os-dot-ring-color) 100%, transparent calc(100% + 1px)),
    radial-gradient(circle var(--os-dot-ring-size) at 57.8% 28.2%, transparent calc(100% - 1px), var(--os-dot-ring-color) calc(100% - 1px), var(--os-dot-ring-color) 100%, transparent calc(100% + 1px)),
    radial-gradient(circle var(--os-dot-ring-size) at 42.2% 33.8%, transparent calc(100% - 1px), var(--os-dot-ring-color) calc(100% - 1px), var(--os-dot-ring-color) 100%, transparent calc(100% + 1px)),
    radial-gradient(circle var(--os-dot-ring-size) at 50% 33.8%, transparent calc(100% - 1px), var(--os-dot-ring-color) calc(100% - 1px), var(--os-dot-ring-color) 100%, transparent calc(100% + 1px)),
    radial-gradient(circle var(--os-dot-ring-size) at 57.8% 33.8%, transparent calc(100% - 1px), var(--os-dot-ring-color) calc(100% - 1px), var(--os-dot-ring-color) 100%, transparent calc(100% + 1px)),
    radial-gradient(circle var(--os-dot-ring-size) at 42.2% 39.4%, transparent calc(100% - 1px), var(--os-dot-ring-color) calc(100% - 1px), var(--os-dot-ring-color) 100%, transparent calc(100% + 1px)),
    radial-gradient(circle var(--os-dot-ring-size) at 50% 39.4%, transparent calc(100% - 1px), var(--os-dot-ring-color) calc(100% - 1px), var(--os-dot-ring-color) 100%, transparent calc(100% + 1px)),
    radial-gradient(circle var(--os-dot-ring-size) at 57.8% 39.4%, transparent calc(100% - 1px), var(--os-dot-ring-color) calc(100% - 1px), var(--os-dot-ring-color) 100%, transparent calc(100% + 1px));
  pointer-events: none;
}
.os-band__cards .os-card img {
  width: 94%;
}
.os-band__cards .os-card__text h3 {
  font-size: clamp(15px, 1.25vw, 20px);
  font-weight: 400;
}
.os-card--decision {
  width: min(100%, 350px);
  max-width: 350px;
  justify-self: center;
}

/* NEWS / お知らせ */
.news {
  padding: 120px 67px 96px;
  background: #fff;
}
.news .section-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 52px;
  color: var(--blue);
  font-size: var(--label-size);
  line-height: 1;
  font-weight: 600;
  z-index: 1;
}
.news .section-label b {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-weight: 600;
}
.news .section-label .news__bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  flex: none;
  width: auto;
  height: auto;
  margin: 0;
  transform: translateY(-50%);
  color: rgba(180, 190, 220, 0.18);
  font-size: clamp(100px, 14vw, 200px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -4px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.news h2 {
  margin: 72px 0 48px;
  color: var(--navy-heading);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.3;
  font-weight: 700;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}
.news-item:last-child {
  border-bottom: none;
}
.news-item:hover .news-title,
.news-item:focus-visible .news-title {
  color: var(--blue);
}
.news-item-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-date {
  display: block;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  transition: color 0.2s ease;
}
.news-title {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
  transition: color 0.2s ease;
}
.news-category {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.news-category--info {
  background: #e8f4ff;
  color: #0066cc;
}
.news-category--press {
  background: #fff0e8;
  color: #cc6600;
}

.contact-cta {
  padding: 80px 67px 60px;
  background: #fff;
}
.contact-cta-panel {
  position: relative;
  min-height: 345px;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  cursor: pointer;
  text-decoration: none;
}
.contact-cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/background_contactus.png") center / cover no-repeat;
  transform: scale(1);
  transition: transform .7s cubic-bezier(.2,.65,.3,1);
}
.contact-cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 35, 191, .82) 0%, rgba(5, 35, 191, .63) 48%, rgba(5, 35, 191, .36) 100%),
    linear-gradient(180deg, rgba(5, 35, 191, .08), rgba(5, 35, 191, .28));
  transition: background .5s ease;
}
.contact-cta-panel:hover::before,
.contact-cta-panel:focus-visible::before {
  background:
    linear-gradient(90deg, rgba(5, 35, 191, .56) 0%, rgba(5, 35, 191, .42) 48%, rgba(5, 35, 191, .18) 100%),
    linear-gradient(180deg, rgba(5, 35, 191, .04), rgba(5, 35, 191, .12));
}
.contact-cta-panel:hover .contact-cta-bg,
.contact-cta-panel:focus-visible .contact-cta-bg {
  transform: scale(1.045);
}
.contact-cta-content {
  width: min(680px, 64%);
  padding: 52px 64px;
  text-align: center;
  pointer-events: none;
}
.contact-cta .label {
  color: rgba(255,255,255,.96);
  margin-bottom: 28px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.contact-cta .label-jp {
  color: rgba(255,255,255,.78);
  font-size: 13px;
}
.contact-cta h2 {
  color: #fff;
  font-size: 48px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 24px;
}
.contact-cta .contact-description {
  font-size: 13px;
  line-height: 1.9;
  font-weight: 500;
  margin: 0 0 26px;
  color: rgba(255,255,255,.9);
}
.contact-cta .button {
  min-width: 220px;
  background: #fff;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 40px;
  height: 48px;
  border: none;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(5, 35, 191, .18);
  text-decoration: none;
}

/* フッターはヘッダーと同じ共通シェル（css/common.css）に集約。 */

/* ===== CONTACT PAGE (ported from hp_codex: hp_update/hp_codex/hp/design) ===== */
.contact-page {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: calc(100vh - 64px);
  padding-top: 100px;
  margin-top: -64px;
  background: #f5f7fb;
}
.contact-page__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 36px 56px 67px;
}
.contact-page__left .section-label { color: #1a2bc3; font-size: 10px; }
.contact-page__heading {
  margin: 8px 0 14px;
  color: #0d1030;
  font-size: clamp(18px, 2.1vw, 30px);
  line-height: 1.4;
  font-weight: 300;
}
.contact-page__desc {
  margin-bottom: 20px;
  color: #555;
  font-size: 12px;
  line-height: 1.9;
}
.contact-info__item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0 12px;
  padding: 10px 0;
  border-top: 1px solid #e0eaf0;
}
.contact-info__icon {
  width: 26px;
  height: 26px;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #c5d5e8;
  border-radius: 50%;
  color: #1a2bc3;
}
.contact-info__label {
  margin-bottom: 4px;
  color: #1a2bc3;
  font-size: 9px;
  letter-spacing: 2px;
}
.contact-info__text {
  color: #444;
  font-size: 11px;
  line-height: 1.8;
}
.contact-info__text a { color: #444; text-decoration: underline; text-underline-offset: 2px; }
.contact-info__sub-label { color: #1a2bc3; font-size: 9px; letter-spacing: 1px; }

.contact-page__right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
}
.contact-form-card {
  width: 100%;
  padding: 40px 44px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 40px rgba(26, 43, 195, 0.09);
}
.contact-form { width: 100%; }
.form-row {
  display: grid;
  grid-template-columns: 148px 1fr;
  align-items: start;
  gap: 0 16px;
  padding: 10px 0;
  border-top: 1px solid #eef1f6;
}
.form-row__label-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
}
.form-row__label { color: #0d1030; font-size: 12px; line-height: 1.4; }
.form-row__required { flex-shrink: 0; color: #1a2bc3; font-size: 9px; letter-spacing: 0.5px; }
.form-row__input {
  width: 100%;
  padding: 7px 12px;
  border: 1px solid #e0e8f0;
  border-radius: 5px;
  background: #f8fafc;
  color: #0d1030;
  font-family: var(--font);
  font-size: 12px;
  outline: none;
  appearance: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-row__input:focus { border-color: #1a2bc3; background: #fff; }
.form-row__input::placeholder { color: #bcc5d0; }
select.form-row__input {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a2bc3' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
textarea.form-row__input { height: 68px; min-height: 68px; line-height: 1.7; resize: vertical; }
.form-privacy {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid #f0f4f8;
  color: #999;
  font-size: 10px;
  line-height: 1.85;
}
.form-privacy a { color: #1a2bc3; text-decoration: underline; text-underline-offset: 2px; }
.form-submit { display: flex; justify-content: center; margin-top: 20px; }
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 15px 44px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(90deg, #1a2bc3 0%, #4a58e8 100%);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: opacity 0.2s, gap 0.2s;
}
.btn-submit:hover { opacity: 0.85; gap: 18px; }

/* ===== PRIVACY PAGE (ported from hp_codex: hp_update/hp_codex/hp/design) ===== */
.privacy-page {
  padding: 100px 32px 96px;
  background: #f5f7fb;
}
.privacy-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 64px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 40px rgba(26, 43, 195, 0.07);
}
.privacy-header { margin-bottom: 36px; }
.privacy-header .section-label { color: #1a2bc3; font-size: 10px; letter-spacing: 2px; }
.privacy-heading {
  margin: 10px 0 8px;
  color: #0d1030;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.3;
  font-weight: 300;
}
.privacy-date { margin-top: 6px; color: #999; font-size: 11px; }
.privacy-lead {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #eef1f6;
  color: #555;
  font-size: 13px;
  line-height: 2;
}
.privacy-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #eef1f6;
}
.privacy-section:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.privacy-section__title {
  margin-bottom: 12px;
  color: #0d1030;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.privacy-section__body { color: #555; font-size: 12px; line-height: 2; }
.privacy-list { margin-top: 12px; padding: 0; list-style: none; }
.privacy-list li {
  position: relative;
  padding-left: 16px;
  color: #555;
  font-size: 12px;
  line-height: 1.9;
}
.privacy-list li::before { content: "–"; position: absolute; left: 0; color: #1a2bc3; }
.privacy-contact {
  margin-top: 14px;
  padding: 16px 20px;
  border-radius: 8px;
  background: #f5f7fb;
  color: #444;
  font-size: 12px;
  line-height: 2;
}
.privacy-contact a { color: #1a2bc3; text-decoration: underline; text-underline-offset: 2px; }
.privacy-back {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #eef1f6;
}
.privacy-back__link {
  color: #1a2bc3;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.privacy-back__link:hover { opacity: 0.6; }

@media (max-width: 900px) {
  :root {
    --section-pad: 64px;
  }
  .hero,
  .why,
  .mission,
  .strategy,
  .produce,
  .group,
  .north,
  .contact {
    grid-template-columns: 1fr;
  }
  .hero-copy,
  .why-title,
  .mission,
  .strategy,
  .produce,
  .group,
  .north {
    padding-left: 22px;
    padding-right: 22px;
  }
  .produce-logos {
    flex-wrap: wrap;
    padding: 0;
  }
  .produce-logos img {
    max-width: 140px;
  }
  .hero h1 { font-size: 34px; }
  .hero-copy {
    padding-top: 92px;
    padding-bottom: 56px;
  }
  .hero-lead-break { display: block; }
  .hero-visual { min-height: 300px; }
  .mission {
    padding: calc(var(--section-pad) + 40px) 22px var(--section-pad);
  }
  .mission .section-side {
    grid-row: auto;
    text-align: left;
  }
  .mission-heading-break { display: block; }
  .kpis,
  .group-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .works-section { padding: var(--section-pad) 22px; }
  .contact-page { grid-template-columns: 1fr; min-height: auto; }
  .contact-page__left { padding: 40px 22px 28px; }
  .contact-page__right { padding: 24px 16px 48px; }
  .contact-form-card { padding: 28px 20px; border-radius: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .form-row__label-wrap { padding-top: 0; }
  .form-row__input { margin-top: 6px; }
  .privacy-page { padding: 44px 16px 64px; }
  .privacy-inner { padding: 36px 24px; border-radius: 12px; }
  .works__bg-text { font-size: 80px; left: -8px; }
  .why .section-label .why__bg-text {
    font-size: 80px;
    left: -8px;
  }
  .mission .section-label .mission__bg-text,
  .produce .section-label .produce__bg-text,
  .strategy .section-side .section-label .strategy__bg-text,
  .north .section-label .north__bg-text {
    font-size: 80px;
  }
  .group .section-label .group__bg-text { font-size: 80px; left: -8px; }
  .works__sub br { display: none; }
  .works__filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; gap: 6px; }
  .filter-btn { white-space: nowrap; flex-shrink: 0; }
  .works__carousel-wrap::after { width: 60px; }
  .carousel-btn { width: 34px; height: 34px; font-size: 18px; }
  .carousel-btn--prev { left: 0; }
  .carousel-btn--next { right: 4px; }
  .work-card { min-width: 76vw; max-width: 76vw; }
  .mission-lead,
  .kpis { grid-column: auto; }
  .mission-lead {
    margin: 56px 0 0;
    padding: 8px 18px;
  }
  .kpis {
    width: min(100%, 620px);
    gap: 18px;
  }
  .kpi {
    width: min(100%, 220px);
    grid-template-rows: 28px 68px 38px;
    padding: 24px;
  }
  .kpi span { font-size: 16px; }
  .kpi strong { font-size: 45px; }
  .kpi small { font-size: 15px; }
  .kpi em { width: 100px; font-size: 11px; }
  .contact { width: calc(100% - 32px); }
  .strategy {
    gap: 24px;
  }
  .produce {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .produce .section-side .produce-sub {
    margin-bottom: 18px;
  }
  .produce-card {
    min-height: auto;
    grid-template-columns: 112px minmax(0, 1fr);
    padding: 34px 30px 32px;
  }
  .produce-card > img {
    width: 96px;
  }
  .produce-card p {
    margin-top: 28px;
  }
  .strategy .section-side {
    text-align: center;
  }
  .strategy .section-side p:not(.section-label) {
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
  }
  .strategy-card {
    min-height: auto;
    padding: 0 0 34px;
  }
  .card-photo {
    height: 260px;
    flex-basis: 260px;
  }
  .strategy-card strong {
    margin: 26px 28px 10px;
    font-size: 52px;
  }
  .strategy-card h3 {
    margin: 0 28px 24px;
    font-size: 26px;
  }
  .why {
    padding: var(--section-pad) 22px;
  }
  .why-title {
    margin-bottom: 36px;
    padding-left: 0;
    padding-right: 0;
  }
  .why-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 8px;
  }
  .why-cards__icons {
    display: none;
  }
  .why-card {
    min-height: 238px;
    padding: 32px 28px 30px;
    border-left: 1px solid rgba(38, 123, 255, 0.35);
  }
  .why-card:nth-child(odd) {
    border-left: 0;
  }
  .why-card:nth-child(-n+2) {
    border-top: 0;
  }
  .why-card:nth-child(n+3) {
    border-top: 1px solid rgba(38, 123, 255, 0.35);
  }
  .why .why-card__icon {
    display: block;
    margin: 0 0 20px;
  }
  .why article p:not(.section-label) {
    font-size: 14px;
    line-height: 2.05;
  }
  .north {
    min-height: auto;
    gap: 30px;
    padding-top: 72px;
    padding-bottom: 72px;
    background-position: 62% center;
  }
  .north .section-side {
    max-width: 620px;
  }
  .north__copy span:first-child {
    white-space: normal;
  }
  .os-band {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 0;
  }
  .os-band__cards {
    grid-template-columns: repeat(2, minmax(0, 228px));
    justify-content: center;
    gap: 22px;
  }
  .os-card--decision {
    width: min(100%, 310px);
  }
}

@media (max-width: 540px) {
  .hero h1 { font-size: clamp(26px, 7.2vw, 34px); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .kpis,
  .group-list {
    grid-template-columns: 1fr;
  }
  .os-band {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
  }
  .north {
    padding-top: 64px;
    padding-bottom: 100px;
    background-position: 68% center;
  }
  .why .section-label .why__bg-text,
  .mission .section-label .mission__bg-text,
  .produce .section-label .produce__bg-text,
  .strategy .section-side .section-label .strategy__bg-text,
  .north .section-label .north__bg-text,
  .group .section-label .group__bg-text { font-size: 56px; }
  .os-band__cards {
    display: contents;
  }
  .os-band__cards .os-card {
    flex: 0 0 min(80vw, 320px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: auto;
  }
  .os-card--decision {
    flex: 0 0 min(75vw, 300px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    width: auto;
  }
  .work-card { min-width: 82vw; max-width: 82vw; }
  .why-cards {
    grid-template-columns: 1fr;
  }
  .why-card {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid rgba(38, 123, 255, 0.35);
  }
  .why-card:first-child {
    border-top: 0;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kpi {
    width: min(100%, 164px);
    grid-template-rows: 20px 40px 28px;
    gap: 2px;
    padding: 16px;
  }
  .kpi span { font-size: 13px; }
  .kpi strong {
    font-size: 32px;
  }
  .kpi small { font-size: 11px; }
  .kpi em { width: 75px; font-size: 8px; }
  .strategy-card {
    padding: 0 0 28px;
  }
  .card-photo {
    height: 220px;
    flex-basis: 220px;
  }
  .strategy-card h4 {
    font-size: 20px;
  }
  .strategy-card ul {
    font-size: 14px;
  }
  .produce {
    gap: 18px;
  }
  .produce-card {
    grid-template-columns: 82px minmax(0, 1fr);
    column-gap: 16px;
    padding: 28px 22px 26px;
  }
  .produce-card > img {
    width: 72px;
  }
  .produce-card h3 {
    margin-top: 12px;
    font-size: 24px;
  }
  .produce-card h4 {
    font-size: 18px;
  }
  .produce-card p {
    margin: 24px 0 22px;
    font-size: 14px;
  }
  .produce-card b {
    padding-top: 22px;
    font-size: 15px;
    word-spacing: 10px;
  }
}

@media (max-width: 540px) {
  :root {
    --section-pad: 68px;
    --h2-size: clamp(28px, 8.2vw, 34px);
    --label-size: 12px;
    --sp-side: 20px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  main,
  section,
  .hero-copy,
  .why-title,
  .why-cards,
  .why-card,
  .mission,
  .kpis,
  .kpi,
  .strategy,
  .strategy-card,
  .produce,
  .produce-card,
  .works-section,
  .works__carousel-wrap,
  .works__carousel-viewport,
  .works__carousel,
  .work-card,
  .group,
  .group-list,
  .north,
  .os-band,
  .contact-cta,
  .contact-cta-panel,
  .footer {
    min-width: 0;
    max-width: 100%;
  }

  img,
  svg,
  video {
    max-width: 100%;
    height: auto;
  }

  h1,
  h2,
  h3,
  h4,
  p,
  li,
  a,
  button {
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: 100svh;
    grid-template-columns: 1fr;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.68) 0%, rgba(255,255,255,0.58) 42%, rgba(255,255,255,0.2) 76%, rgba(255,255,255,0.06) 100%),
      url("../img/hero-section_background.png") 58% center / cover no-repeat;
  }
  .hero-copy {
    width: 100%;
    padding: 112px var(--sp-side) 54px;
  }
  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(21px, 6.4vw, 29px);
    line-height: 1.48;
  }
  .hero-lead {
    max-width: 20em;
    font-size: 14px;
    line-height: 1.65;
  }
  .hero-text {
    font-size: 12px;
    line-height: 1.9;
  }
  .hero-actions {
    margin-top: 30px;
  }
  .btn-primary {
    min-width: 0;
    max-width: 100%;
    height: 40px;
    padding: 0 26px;
  }
  .hero-visual {
    display: none;
  }

  .why,
  .mission,
  .strategy,
  .produce,
  .works-section,
  .group,
  .north,
  .contact-cta {
    padding-left: var(--sp-side);
    padding-right: var(--sp-side);
  }

  .why {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 82px var(--sp-side) 62px;
    background-position: center top;
  }
  .why-title {
    margin-bottom: 16px;
  }
  .why-cards {
    grid-template-columns: 1fr;
    margin: 28px 0 0;
    padding: 0;
    border-color: rgba(54, 126, 255, 0.56);
    background: linear-gradient(180deg, rgba(4, 21, 58, 0.86), rgba(4, 18, 50, 0.84));
  }
  .why-cards__icons {
    display: none;
  }
  .why-card {
    min-height: auto;
    padding: 24px 24px 24px;
    border-left: 0;
    border-top: 1px solid rgba(75, 139, 255, 0.36);
  }
  .why-card:first-of-type {
    border-top: 0;
  }
  .why-card:last-child {
    background: linear-gradient(135deg, rgba(9, 43, 125, 0.72), rgba(4, 20, 56, 0.5));
  }
  .why .why-card__icon {
    display: block;
    width: 36px;
    height: 36px;
    margin: 0 0 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
  }
  .why .why-card__icon::before,
  .why .why-card__icon::after {
    content: none;
  }
  .why-card__num {
    position: absolute;
    top: 16px;
    right: 16px;
    margin: 0;
    color: rgba(85, 163, 255, 0.4);
    font-size: 36px;
  }
  .why-card p {
    font-size: 12px;
    line-height: 1.5;
  }
  .why .section-label,
  .mission .section-label,
  .strategy .section-label,
  .produce .section-label,
  .group .section-label,
  .works-section .section-label,
  .north .section-label {
    margin-bottom: 34px;
  }
  .why .section-label .why__bg-text,
  .mission .section-label .mission__bg-text,
  .strategy .section-side .section-label .strategy__bg-text,
  .produce .section-label .produce__bg-text,
  .works__bg-text,
  .north .section-label .north__bg-text,
  .group .section-label .group__bg-text {
    left: 0;
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(44px, 17vw, 64px);
    letter-spacing: -2px;
  }
  .why .why-heading,
  .mission-heading,
  .strategy .section-side h2,
  .produce .section-side .produce-heading,
  .works__heading,
  .group .section-side .group-heading,
  .north .section-side h2 {
    margin-top: 40px;
    font-size: var(--h2-size);
    line-height: 1.45;
    letter-spacing: 0;
  }
  .why .why-title .why-sub,
  .mission .section-side .mission-sub,
  .strategy .section-side p:not(.section-label),
  .produce .section-side .produce-sub,
  .works__sub,
  .group .section-side .group-sub,
  .north .section-side > p:not(.section-label) {
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.85;
  }
  .why-card {
    min-height: auto;
    padding: 26px 22px 24px;
  }
  .icon {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    transform: scale(0.78);
    transform-origin: left top;
  }
  .why h3 {
    font-size: 20px;
  }
  .why article p:not(.section-label) {
    font-size: 12.5px;
    line-height: 1.8;
  }

  .mission {
    padding-top: 96px;
    padding-bottom: 72px;
  }
  .mission-heading {
    position: static;
  }
  .mission .section-side .mission-sub {
    margin-top: 24px;
  }
  .kpis {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
  }
  .kpi {
    width: 100%;
    max-width: none;
    grid-template-rows: 22px 44px 30px;
    gap: 4px;
    padding: 16px 10px;
  }
  .kpi span {
    font-size: 12px;
  }
  .kpi strong {
    font-size: 34px;
  }
  .kpi em {
    width: auto;
    max-width: 95px;
    font-size: 8px;
  }
  .mission-lead[data-anim] {
    margin-top: 34px;
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.65;
  }

  .strategy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 74px;
    padding-bottom: 76px;
  }
  .strategy .section-side {
    text-align: left;
  }
  .strategy .section-side p:not(.section-label) {
    margin-left: 0;
    margin-right: 0;
  }
  .strategy-card {
    width: 100%;
    padding-bottom: 26px;
    border-radius: 8px;
  }
  .card-photo {
    height: 178px;
    flex-basis: 178px;
  }
  .strategy-card strong {
    margin: 20px 22px 10px;
    font-size: 42px;
  }
  .strategy-card h3 {
    min-height: auto;
    margin: 0 22px 18px;
    font-size: 21px;
  }
  .strategy-card h4 {
    margin: 0 22px 16px;
    font-size: 17px;
  }
  .strategy-card ul {
    margin: 0 22px;
    font-size: 13px;
    line-height: 1.85;
  }

  .produce {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 74px;
    padding-bottom: 76px;
  }
  .produce .section-side {
    width: 100%;
  }
  .produce-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 12px;
    min-height: auto;
    padding: 24px 20px;
  }
  .produce-card > img {
    width: 56px;
  }
  .produce-card h3 {
    margin: 10px 0 6px;
    font-size: 22px;
  }
  .produce-card h4 {
    font-size: 16px;
  }
  .produce-card p {
    margin: 20px 0 18px;
    font-size: 13px;
    line-height: 1.85;
  }
  .produce-logos {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px 20px;
    margin-top: 16px;
    padding: 0;
  }
  .produce-logos img {
    height: 50px;
    min-width: 0;
    max-width: 140px;
  }
  .produce-logos img[alt="untokoshow"] {
    height: 55px;
    max-width: 160px;
  }
  .produce-logos img[alt="JRCE"] {
    height: 55px;
    max-width: 160px;
  }
  .produce-logos img[alt="NISSHINBO"] {
    height: 38px;
    max-width: 100px;
  }
  .produce-card:nth-child(4) .produce-logos {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .works-section {
    gap: 24px;
    padding-top: 74px;
    padding-bottom: 76px;
  }
  .works__sub br {
    display: none;
  }
  .works__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-right: 0;
    padding: 0 0 4px;
    overflow: visible;
    scrollbar-width: none;
  }
  .works__filters::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex: 0 0 auto;
    padding: 8px 14px;
  }
  .works__carousel-viewport {
    margin-right: 0;
    padding-left: 0;
    overflow: visible;
  }
  .works__carousel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    transform: none !important;
    width: 100%;
  }
  .work-card {
    min-width: 100%;
    max-width: 100%;
  }
  .works__carousel-wrap::after {
    display: none;
  }
  .carousel-btn {
    display: none;
  }
  .carousel-btn--prev {
    left: 6px;
  }
  .carousel-btn--next {
    right: 6px;
  }

  .group {
    padding-top: 74px;
    padding-bottom: 76px;
  }
  .group-list {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 34px;
  }
  .group-list div,
  .group-list a {
    min-height: 142px;
    grid-template-rows: 58px auto;
    padding: 22px 18px;
  }
  .group-list img {
    max-height: 70px;
  }
  .group-list small {
    font-size: 13px;
  }

  .north {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 74px;
    padding-bottom: 76px;
    background-position: 63% center;
  }
  .os-band {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .os-band__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    justify-items: center;
    width: min(100%, 382px);
    margin-right: auto;
    margin-left: auto;
  }
  .os-band__cards .os-card {
    width: min(100%, 176px);
  }
  .os-card--decision {
    width: min(100%, 230px);
    max-width: 230px;
  }
  .os-card__text h3 {
    font-size: 12px;
    font-weight: 400;
  }
  .os-card__text p {
    font-size: 10px;
  }
  .os-card img {
    width: 70%;
  }
  .os-band__cards .os-card img {
    width: 86%;
  }

  .contact-cta {
    padding-top: 64px;
    padding-bottom: 56px;
  }
  .contact-cta-panel {
    min-height: 310px;
    border-radius: 12px;
  }
  .contact-cta-content {
    width: 100%;
    padding: 42px 20px;
  }
  .contact-cta h2 {
    font-size: 34px;
  }
  .contact-cta .contact-description {
    font-size: 12px;
  }
  .contact-cta .button {
    min-width: 0;
    max-width: 100%;
    height: 44px;
    padding: 0 24px;
  }
}

/* ===== WORKS SP調整（hp_codex: hp_update/hp_codex/hp/design のスマホ仕様を再現） ===== */
@media (max-width: 900px) {
  .works-section {
    padding: 52px 24px 72px;
  }
  .works__bg-text {
    display: none;
  }
  .works__heading {
    margin-top: 70px;
    font-size: 32px;
    line-height: 1.45;
  }
  .works__sub {
    margin-top: 28px;
    font-size: 15px;
    line-height: 1.9;
  }
  .work-card {
    min-width: 76vw;
    max-width: 76vw;
  }
}

@media (max-width: 540px) {
  .news-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 16px;
    align-items: center;
    padding: 16px 0;
  }
  .news-item-main {
    flex-direction: column;
    gap: 6px;
    grid-column: 1 / -1;
  }
  .news-date {
    font-size: 12px;
  }
  .news-title {
    font-size: 14px;
    line-height: 1.5;
  }
  .news-category {
    font-size: 10px;
    padding: 6px 12px;
  }

  .works-section {
    padding-left: var(--sp-side);
    padding-right: var(--sp-side);
  }
  .works__filters,
  .works__carousel-wrap,
  .works__carousel-viewport {
    width: 100%;
    max-width: 100%;
  }
  .works__filters,
  .works__carousel-viewport {
    margin-left: 0;
    margin-right: 0;
  }
  .work-card {
    min-width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 390px) {
  *,
  *::before,
  *::after {
    max-width: 100%;
  }
  .site-header,
  main,
  section,
  .footer {
    width: 100%;
    max-width: 100%;
  }
  .hero-copy,
  .why,
  .mission,
  .strategy,
  .produce,
  .works-section,
  .group,
  .north,
  .contact-cta {
    padding-left: var(--sp-side);
    padding-right: var(--sp-side);
  }
  .why-cards,
  .strategy-card,
  .produce-card,
  .group-list,
  .contact-cta-panel {
    width: 100%;
  }
  .works__carousel {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    transform: none !important;
  }
  .works__carousel-viewport {
    overflow: visible;
  }
  .works__carousel-wrap::after,
  .carousel-btn {
    display: none;
  }
  .carousel-btn--prev {
    left: 8px;
  }
  .carousel-btn--next {
    right: 8px;
  }
}

/* ===== SCROLL ANIMATION (skills/design/hp-build/references/animation.md) ===== */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-anim].is-visible { opacity: 1; transform: none; }
[data-anim][data-delay="1"] { transition-delay: .15s; }
[data-anim][data-delay="2"] { transition-delay: .30s; }
[data-anim][data-delay="3"] { transition-delay: .45s; }

/* カードグリッドの左→右 stagger */
.strategy-card:nth-of-type(2) { transition-delay: .12s; }
.strategy-card:nth-of-type(3) { transition-delay: .24s; }
.produce-card:nth-of-type(2) { transition-delay: .12s; }
.produce-card:nth-of-type(3) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1; transform: none; transition: none; }
}
