/* ================================================================
   PanHouse Corporate — Design System v2 "AURA"
   Art direction: mi-6.co.jp inspired
   - Light gray canvas, floating pill header
   - Ultra-thin oversized EN display type
   - Royal blue accent / iridescent pastel gradients
   - 40px rounded section containers, circular buttons
   - Black rounded footer
   Fonts: Jost (EN display) + Noto Sans JP (body)
   ================================================================ */

:root {
  /* PanHouse Design System v0.3.0 — Blue / Navy / Teal / Orange */
  --blue: #007bb7;             /* brand blue */
  --blue-deep: #00629a;
  --blue-soft: #62bace;        /* teal */
  --blue-pale: #e3f0f7;
  --navy: #003f66;
  --teal: #62bace;
  --orange: #f08527;
  --orange-pale: #fdeadb;
  --display: #8fa9bd;          /* muted navy-gray for giant EN titles */
  --ink: #2e3138;
  --ink-soft: #545b66;
  --ink-mute: #8f96a3;
  --bg: #f2f5f7;
  --surface: #ffffff;
  --black: #062940;            /* footer: brand navy-black */
  --line: #e2e7ec;
  --line-blue: #c3dcec;

  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Montserrat", "Inter", "Noto Sans JP", sans-serif;
  --font-num: "Inter", "Noto Sans JP", sans-serif;

  /* DS: 角丸 8〜16px（カード）/ 4px（小）。セクションは大きめの24pxまで */
  --r-section: 24px;
  --r-card: 16px;
  --r-sm: 8px;

  --shadow-card: 0 2px 6px rgba(23, 23, 28, .04), 0 12px 32px rgba(23, 23, 28, .06);
  --shadow-float: 0 24px 64px rgba(23, 23, 28, .16);

  --container: 1280px;
  --pad: max(24px, 2.5vw);
  --edge: clamp(12px, 1.5vw, 26px);   /* outer margin of rounded blocks (mi-6準拠) */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ================= Header (floating pill) ================= */
.site-header {
  position: absolute; top: var(--edge); right: var(--edge); left: auto; z-index: 100;
  display: flex; align-items: center; gap: 14px;
}
/* トップページ: 白ボックスの外・左上に置く企業ロゴ */
.hero-logo {
  position: absolute; top: var(--edge); left: var(--edge); z-index: 100;
  height: 76px; display: flex; align-items: center; padding: 0 10px;
}
.hero-logo .logo-img { height: 60px; }
.btn-pill.header-contact {
  height: 76px; border-radius: var(--r-section);
  padding: 0 16px 0 32px; font-size: 14.5px;
  box-shadow: none;
  flex: none;
  min-width: 0; border: 0; color: #fff;
  background: var(--orange);                 /* DS Orange #f08527 */
  transition: background .25s;
}
.btn-pill.header-contact .circle-btn::after { border-color: var(--orange); }
.btn-pill.header-contact:hover { background: var(--blue); }  /* hover: DS Blue #007bb7 */
.btn-pill.header-contact:hover .circle-btn::after { border-color: var(--blue); }

/* トップページ以外: 左上ヘッダーと切り欠きは出さない (右上の追従ヘッダーを常時表示) */
.no-hero-header .site-header,
.no-hero-header .hero-notch-tl { display: none; }

/* トップページ以外: 左端固定で追従する会社ロゴ (白ボックスの外) */
.sticky-logo {
  position: fixed; top: var(--edge); left: var(--edge); z-index: 110;
  height: 76px; display: flex; align-items: center; padding: 0 10px;
  transform: translateY(-160%);
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.sticky-logo.is-visible { transform: translateY(0); }

/* スクロール後に右上へ出現する追従ヘッダー (HEROのヘッダーと同一デザイン・同一サイズ) */
.sticky-header {
  position: fixed; top: var(--edge); right: var(--edge); left: auto; z-index: 110;
  width: max-content;
  display: flex; align-items: center; gap: 14px;
  transform: translateY(-160%);
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
.sticky-header .gnav > li > a, .sticky-header .logo b { white-space: nowrap; }
.sticky-header.is-visible { transform: translateY(0); pointer-events: auto; }
.header-pill {
  background: #fff; border-radius: var(--r-section);
  box-shadow: none;
  height: 76px; padding: 0 36px 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  width: fit-content; gap: 60px;
}

/* ヒーロー左上の切り欠き (ヘッダー用 — 右下バナーと同じ構造のミラー) */
.hero-notch-tl {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: var(--bg);
  border-radius: 0 0 var(--r-section) 0;
  pointer-events: none;
}
.hero-notch-tl::before, .hero-notch-tl::after {
  content: ""; position: absolute; width: 24px; height: 24px;
  background: radial-gradient(circle 24px at 100% 100%, rgba(255,255,255,0) 0 23.4px, var(--bg) 23.6px);
}
.hero-notch-tl::before { right: -24px; top: 0; }
.hero-notch-tl::after { left: 0; bottom: -24px; }

/* ヒーロー右上の切り欠き (ナビ+お問い合わせ用 — 左上のミラー) */
.hero-notch-tr {
  position: absolute; top: 0; right: 0; z-index: 2;
  background: var(--bg);
  border-radius: 0 0 0 var(--r-section);
  pointer-events: none;
}
.hero-notch-tr::before, .hero-notch-tr::after {
  content: ""; position: absolute; width: 24px; height: 24px;
  background: radial-gradient(circle 24px at 0% 100%, rgba(255,255,255,0) 0 23.4px, var(--bg) 23.6px);
}
.hero-notch-tr::before { left: -24px; top: 0; }
.hero-notch-tr::after { right: 0; bottom: -24px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-weight: 700; font-size: 22px;
  letter-spacing: .01em; color: var(--ink);
}
.logo .logo-mark { height: 22px; width: auto; flex: none; }
.logo b { font-weight: 700; }
.logo .logo-img { height: 46px; width: auto; display: block; }
.footer-brand .logo .logo-img, .f-brand .logo .logo-img { height: 84px; }
.gnav { display: flex; align-items: center; gap: 2px; }
.gnav > li { position: relative; }
.gnav > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 15px; font-size: 13.5px; font-weight: 500; color: var(--ink);
  border-radius: 999px; transition: color .2s;
}
.gnav > li > a:hover { color: var(--blue); }
.gnav .caret { color: var(--blue); font-size: 8px; transform: translateY(1px); }
.gnav .ext { color: var(--blue); font-size: 10px; }

.dropdown {
  visibility: hidden; opacity: 0; transform: translateY(8px);
  transition: .25s cubic-bezier(.4,0,.2,1);
  position: absolute; top: calc(100% + 14px); left: 50%; margin-left: -130px;
  background: #fff; border-radius: 20px;
  box-shadow: var(--shadow-float); padding: 14px; width: 260px;
}
.gnav li:hover .dropdown { visibility: visible; opacity: 1; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 500;
}
.dropdown a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; }
.dropdown a:hover { background: var(--blue-pale); color: var(--blue); }
.dropdown .sub { padding-left: 30px; font-weight: 400; color: var(--ink-soft); }
.dropdown .sub::before { width: 10px; height: 1.5px; border-radius: 0; background: var(--line-blue); }

.header-cta .btn-pill { height: 48px; padding: 0 8px 0 24px; }

.hamburger {
  display: grid; place-items: center; gap: 0;
  width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; margin-left: 4px;
}
.hamburger span { display: block; width: 26px; height: 2.5px; border-radius: 2px; background: var(--blue); margin: 3.5px 0; }

/* ================= Buttons ================= */
.circle-btn {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--blue); position: relative;
  display: inline-block; transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.circle-btn::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2.5px solid #fff;
}
.circle-btn.sm { width: 34px; height: 34px; }
.circle-btn.sm::after { width: 8px; height: 8px; border-width: 2px; }
.circle-btn.on-blue { background: #fff; }
.circle-btn.on-blue::after { border-color: var(--blue); }

/* ---- 標準ボタン (intloop風): 枠線ピル + 右側4pxドット
       ホバーで左端の円が液体のように広がって塗りつぶし、文字が白反転 ---- */
.btn-pill {
  position: relative; z-index: 1; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  min-width: 210px; height: 56px;
  background: transparent; color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 999px; padding: 0 25px 0 32px;
  font-size: 14px; font-weight: 600; letter-spacing: .05em; cursor: pointer;
  transition: color .3s;
}
.btn-pill::after {
  /* 右側のドット位置を中心に反転色が広がる (intloop準拠) */
  content: ""; position: absolute; z-index: -1;
  top: 50%; right: 27px; width: 480px; height: 480px;
  border-radius: 50%; background: var(--blue);
  transform: translate(50%, -50%) scale(0);
  transition: transform .35s;
  pointer-events: none;
}
.btn-pill:hover { color: #fff; }
.btn-pill:hover::after { transform: translate(50%, -50%) scale(1); }
/* 中の circle-btn は4pxのドットとして描画 */
.btn-pill .circle-btn, .btn-pill .circle-btn.sm {
  width: 4px; height: 4px; background: var(--blue); transition: background .3s;
}
.btn-pill .circle-btn::after { display: none; }
.btn-pill:hover .circle-btn { background: #fff; transform: none; }
a:hover > .circle-btn, .card-link:hover .circle-btn { transform: scale(1.12); }

.btn-pill.ghost { background: transparent; border-color: var(--blue); color: var(--blue); }

/* 濃色背景用: 白枠線・白文字、ホバーで白塗り+青文字 */
.btn-pill.on-dark { border-color: #fff; color: #fff; }
.btn-pill.on-dark::after { background: #fff; }
.btn-pill.on-dark .circle-btn { background: #fff; }
.btn-pill.on-dark:hover { color: var(--blue); }
.btn-pill.on-dark:hover .circle-btn { background: var(--blue); }

.btn-pill.orange { border-color: var(--orange); color: var(--orange); }
.btn-pill.orange::after { background: var(--orange); }
.btn-pill.orange .circle-btn { background: var(--orange); }
.btn-pill.orange:hover { color: #fff; }
.btn-pill.orange:hover .circle-btn { background: #fff; }

/* ---- 例外1: ヘッダーのお問い合わせ (従来のオレンジ塗りデザインを維持) ---- */
.btn-pill.header-contact::after { display: none; }
.btn-pill.header-contact .circle-btn,
.btn-pill.header-contact .circle-btn.sm { width: 34px; height: 34px; background: #fff; }
.btn-pill.header-contact .circle-btn::after {
  display: block; width: 8px; height: 8px; border-width: 2px; border-color: var(--orange);
}
.btn-pill.header-contact:hover .circle-btn { background: #fff; }
.btn-pill.header-contact:hover .circle-btn::after { border-color: var(--blue); }

/* ---- 例外2: フッターの大型お問い合わせCTA (白塗り+紙飛行機デザインを維持) ---- */
.btn-pill.on-dark.f-contact { background: #fff; border: 0; color: var(--ink); min-width: 0; height: auto; }
.btn-pill.on-dark.f-contact::after { display: none; }
.btn-pill.on-dark.f-contact:hover { color: var(--ink); }

.text-btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 14px; font-weight: 600; color: var(--ink);
}

/* ================= Display typography ================= */
.display {
  font-family: var(--font-en); font-weight: 600;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1; letter-spacing: .005em;
  color: var(--ink);
  white-space: nowrap;
}
.display.md { font-size: clamp(48px, 5.6vw, 78px); }
.display.blue { color: var(--blue); }
.sec-sub {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 10px;
}
.sec-sub::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

/* ================= Sections ================= */
.section { padding: 110px 0; position: relative; }
.rounded-block {
  border-radius: var(--r-section);
  margin: 0 var(--edge);
  position: relative; overflow: hidden;
}
.sec-head { margin-bottom: 56px; position: relative; z-index: 2; }
.sec-foot { display: flex; justify-content: flex-end; margin-top: 48px; position: relative; z-index: 2; }

/* Brand gradient (hero / News backgrounds) — deep dreamy Blue / Teal / Orange */
.aurora {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
  background: linear-gradient(155deg, #b6d9ef 0%, #8fc2e4 26%, #74b2dc 48%, #9ccbe0 68%, #bfdcec 86%, #d3e7f2 100%);
}
.aurora i {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(56px); opacity: .9; will-change: transform;
}
.aurora .a1 { width: 58vw; height: 58vw; left: -14%; top: -22%; background: radial-gradient(circle, #6fc5d8, transparent 66%); }
.aurora .a2 { width: 50vw; height: 50vw; right: -12%; top: -6%;  background: radial-gradient(circle, #2f96cf, transparent 66%); }
.aurora .a3 { width: 46vw; height: 46vw; left: 18%; bottom: -28%; background: radial-gradient(circle, #1a6ea8, transparent 66%); }
.aurora .a4 { width: 38vw; height: 38vw; right: 8%; bottom: -14%; background: radial-gradient(circle, #f7c691, transparent 64%); }
/* index hero uses real .orb elements instead of pseudo spheres */
.aurora.plain::before, .aurora.plain::after { display: none; }

/* three.js morphing blob (index hero) */
.blob-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none; display: block;
}

/* GSAP-driven glass orbs (index hero) */
.orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; will-change: transform; filter: blur(1.2px); }
.orb.o1 {
  width: 26vw; height: 26vw; right: 5%; top: 10%;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(174,216,240,.65) 34%, rgba(0,123,183,.42) 68%, rgba(0,63,102,.18) 86%, transparent 88%);
}
.orb.o2 {
  width: 13vw; height: 13vw; left: 33%; bottom: 5%;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.92), rgba(188,231,238,.6) 36%, rgba(98,186,206,.48) 70%, rgba(0,82,127,.16) 86%, transparent 88%);
}
.orb.o3 {
  width: 7vw; height: 7vw; left: 11%; top: 22%;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(205,232,246,.6) 38%, rgba(0,123,183,.32) 72%, transparent 88%);
}
.orb.o4 {
  width: 5.2vw; height: 5.2vw; right: 34%; bottom: 46%;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.95), rgba(250,214,178,.72) 36%, rgba(240,133,39,.55) 70%, rgba(190,90,10,.18) 86%, transparent 88%);
}

/* glassy spheres */
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(1.5px);
}
.aurora::before {
  width: 24vw; height: 24vw; right: 6%; top: 12%;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(174,216,240,.65) 34%, rgba(0,123,183,.42) 68%, rgba(0,63,102,.18) 86%, transparent 88%);
}
.aurora::after {
  width: 13vw; height: 13vw; left: 34%; bottom: 8%;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.9), rgba(188,231,238,.6) 36%, rgba(98,186,206,.45) 70%, rgba(0,82,127,.15) 86%, transparent 88%);
}

/* ================= Hero (TOP) ================= */
.hero { padding: var(--edge) var(--edge) 0; }
.hero-block {
  border-radius: var(--r-section); position: relative; overflow: hidden;
  /* 左下・右下角は切り欠き(hero-notch-bl / hero-notch)で覆われるため角丸を外す (縁のにじみ防止) */
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  min-height: max(680px, 94vh); padding: 190px 4vw 130px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-content { width: 100%; }
/* Vanta WAVES 背景 (index hero) */
.vanta-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(150deg, #003f66, #00527f); /* 読み込み前/WebGL不可時のフォールバック */
}
.vanta-bg canvas { position: absolute; inset: 0; }

.hero-title {
  position: relative; z-index: 2;
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(46px, 9vw, 142px);
  line-height: .99; letter-spacing: -.01em;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 2px 24px rgba(0, 40, 70, .25);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; }
/* z-indexは付けない: スタッキングコンテキストを作ると .q の mix-blend-mode が背景に届かなくなる */
.hero-lead { position: relative; margin-top: 52px; font-size: clamp(15px, 1.4vw, 19px); font-weight: 700; line-height: 2.1; color: #fff; }
/* 強調部は背景色を反転させて常に読めるようにする */
.hero-lead .q { color: #fff; mix-blend-mode: difference; }
.hero-actions { margin-top: 48px; display: flex; align-items: center; gap: 28px; }

/* ---- Hero notch (mi-6 .mv__cardWrapper structure) ---- */
.hero-notch {
  position: absolute; right: 0; bottom: 0; z-index: 3;
  background: var(--bg);
  border-radius: var(--r-section) 0 0 0;
  padding: 20px 0 0 20px;
}
.hero-notch::before, .hero-notch::after {
  content: ""; position: absolute; width: 24px; height: 24px;
  background: radial-gradient(circle 24px at 0 0, rgba(255,255,255,0) 0 23.4px, var(--bg) 23.6px);
}
.hero-notch::before { top: -24px; right: 0; }
.hero-notch::after { left: -24px; bottom: 0; }

/* 左下の切り欠き — スクロールダウンサイン (ヘッダー/ウェビナー枠と同構造) */
.hero-notch-bl {
  position: absolute; left: 0; bottom: 0; z-index: 3;
  background: var(--bg);
  border-radius: 0 var(--r-section) 0 0;
  padding: 16px 30px 6px 6px;
}
.hero-notch-bl::before, .hero-notch-bl::after {
  content: ""; position: absolute; width: 24px; height: 24px;
  background: radial-gradient(circle 24px at 100% 0, rgba(255,255,255,0) 0 23.4px, var(--bg) 23.6px);
}
.hero-notch-bl::before { top: -24px; left: 0; }
.hero-notch-bl::after { right: -24px; bottom: 0; }
.hero-scroll {
  display: flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 4px;
  font-family: var(--font-en); font-weight: 500; font-size: 13px;
  letter-spacing: .05em; color: var(--ink);
}
.hero-scroll .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); flex: none; }
.hero-scroll { perspective: 220px; }
.hero-scroll .ch { display: inline-block; transform-style: preserve-3d; will-change: transform; }
.hero-scroll svg { width: 14px; height: 14px; animation: scrollBob 1.6s ease-in-out infinite; }
@keyframes scrollBob {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}

.hero-event {
  width: 380px; background: #fff;
  border-radius: var(--r-section);
  padding: 14px 14px 16px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
/* ホバー: グラデーションの線が縁を描くように走るアニメーション */
.hero-event .ev-ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; overflow: visible;
}
.hero-event .ev-ring rect {
  x: 1px; y: 1px; width: calc(100% - 2px); height: calc(100% - 2px); rx: 23px;
  fill: none; stroke: url(#evGradStroke); stroke-width: 2;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  opacity: 0;
  transition: stroke-dashoffset .9s cubic-bezier(.22, 1, .36, 1), opacity .15s;
}
.hero-event:hover .ev-ring rect { stroke-dashoffset: 0; opacity: 1; }
/* 上部いっぱいのカバー画像 */
.hero-event .ev-cover {
  width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(240,133,39,.45), transparent 40%),
    linear-gradient(135deg, var(--navy), var(--blue) 70%, #2b9cd8);
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .18em;
}
/* カバー下: 受付中 + 日付・時刻 */
.hero-event .ev-meta {
  display: flex; align-items: baseline; justify-content: flex-start;
  gap: 14px; padding: 2px 8px 0;
}
.hero-event .ev-when { display: flex; align-items: baseline; gap: 12px; }
.hero-event .date { font-family: var(--font-num); font-weight: 500; color: var(--blue); font-size: 21px; line-height: 1.15; letter-spacing: .02em; }
.hero-event .time { font-family: var(--font-num); font-weight: 500; color: var(--blue); font-size: 12.5px; letter-spacing: .04em; }
.hero-event .t { padding: 0 8px; }
.hero-event .ev-foot { padding: 0 8px; }
.hero-event .t { font-size: 15px; font-weight: 700; line-height: 1.7; padding-right: 8px; margin-top: -6px; }
.hero-event .ev-foot { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.hero-event .ev-foot .arrow-circle { width: 54px; height: 54px; }
.hero-event .ev-status { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .04em; }

/* "パンハウスについて" — text + white circle on the gradient */
.hero-about {
  position: absolute; z-index: 3; bottom: 48px; right: 540px;
  display: inline-flex; align-items: center; gap: 20px;
  font-size: 14px; font-weight: 700; color: #fff;
}
.hero-about .about-circle {
  width: 68px; height: 68px; border-radius: 50%; background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 28px rgba(0,63,102,.14);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.hero-about:hover .about-circle { transform: scale(1.1); }
.hero-about .about-circle svg { width: 22px; height: 18px; }

.pill-badge {
  display: inline-block; background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 12px;
}
.pill-badge.outline { background: #fff; color: var(--blue); border: 1px solid var(--line-blue); }
.pill-badge.done { background: #b9bdcc; }

/* ================= Intro (HERO直下) ================= */
/* イントロ+数値実績で HERO 1個分くらいの高さになるよう上下余白を大きく取る */
.intro-section { padding-top: clamp(110px, 15vh, 170px); padding-bottom: 80px; }
.stats-section { padding-top: 0; padding-bottom: clamp(100px, 14vh, 160px); }
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px 88px; align-items: center; }
.intro-left .intro-body { margin-top: 30px; }
.intro-cta { margin-top: 38px; }
.intro-title {
  font-size: clamp(34px, 4vw, 56px); font-weight: 700; line-height: 1.55; letter-spacing: .03em;
  /* 青→オレンジのグラデーション文字 (常時ゆっくり流れる) */
  background: linear-gradient(100deg, var(--navy), var(--blue) 30%, var(--teal) 52%, var(--orange) 78%, #ffb066);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: introGrad 5s ease-in-out infinite alternate;
}
@keyframes introGrad {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}
.intro-body { font-size: 15px; line-height: 2.35; color: var(--ink-soft); }
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .stats-row { grid-template-columns: 1fr; }
}

/* ================= Stats (イントロ右の2x2) ================= */
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.stat-card {
  background: none; border-radius: 0; padding: 38px 28px;
  box-shadow: none; text-align: left;
}
.stat-card .label { font-size: 13px; font-weight: 700; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.stat-card .label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.stat-card .num {
  /* DIN系の太字 (mac: DIN Alternate / win: Bahnschrift にフォールバック) */
  font-family: "DIN Alternate", "D-DIN", "Bahnschrift", var(--font-num);
  font-weight: 700; font-size: clamp(60px, 5.4vw, 82px); line-height: 1.1;
  margin-top: 10px; letter-spacing: .01em;
  /* ネイビー→ブルー→ティール→オレンジのグラデーション文字 (イントロ見出しと同じく常時流れる) */
  background: linear-gradient(100deg, var(--navy), var(--blue) 30%, var(--teal) 52%, var(--orange) 78%, #ffb066);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: introGrad 5s ease-in-out infinite alternate;
}
.stat-card .num .unit { font-size: 30px; margin-left: 6px; -webkit-text-fill-color: var(--ink-soft); color: var(--ink-soft); background: none; }
.stat-card .note { font-size: 10px; color: var(--ink-mute); }

/* ================= Client logos (無限マーキー) ================= */
.client-logos {
  margin-top: 0; overflow: hidden; position: relative;
}
.client-logos::before, .client-logos::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none;
}
.client-logos::before { left: 0; background: linear-gradient(90deg, var(--bg), rgba(242,245,247,0)); }
.client-logos::after { right: 0; background: linear-gradient(270deg, var(--bg), rgba(242,245,247,0)); }
.cl-track { display: flex; width: max-content; animation: clMarquee 36s linear infinite; }
.cl-set { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
/* 各ロゴは透明な16:9ボックスに収めてサイズ感を揃える */
.cl-item {
  width: 128px; aspect-ratio: 16 / 9; flex: none;
  display: grid; place-items: center;
}
.cl-item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
@keyframes clMarquee { to { transform: translateX(-50%); } }

/* ================= News (gradient block + horizontal scroll) ================= */
.news-block { padding: 0 0 90px; }
.news-display { padding: 0 0 8px 4vw; position: relative; z-index: 2; transform: translateY(.18em); }
.news-inner { position: relative; z-index: 1; border-radius: var(--r-section); overflow: hidden; padding: 100px 0 90px; }
.news-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding-left: max(32px, 4vw); }
.news-cats { display: grid; gap: 4px; align-content: start; padding-top: 8px; }
.news-cats a {
  font-size: 13.5px; font-weight: 600; color: rgba(23,23,28,.55);
  padding: 8px 18px; border-radius: 999px; width: fit-content; transition: .2s;
}
.news-cats a:hover { color: var(--ink); }
.news-cats a.active { background: var(--blue); color: #fff; }

.hscroll-wrap { overflow: hidden; }
.hscroll { display: flex; gap: 24px; will-change: transform; padding-right: 40vw; }
.news-card {
  flex: 0 0 360px; background: #fff; border-radius: var(--r-card);
  padding: 30px 30px 26px; min-height: 290px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-card);
  transition: transform .3s;
}
.news-card:hover { transform: translateY(-4px); }
.news-card .meta { display: flex; align-items: center; gap: 12px; }
.news-card .date { font-family: var(--font-num); font-weight: 500; font-size: 17px; color: var(--blue); }
.news-card .t { margin-top: 26px; font-size: 15px; font-weight: 700; line-height: 1.8; }
.news-card .foot { margin-top: auto; display: flex; justify-content: flex-end; }

/* ================= Service (royal blue block) ================= */
.service-block { color: #fff; width: min(1280px, calc(100% - var(--edge) * 2)); margin-left: auto; margin-right: auto; }
.service-bg { position: absolute; inset: 0; background: linear-gradient(150deg, var(--navy), #00527f); z-index: 0; }
.service-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.09) 0 1px, transparent 1px) ,
    linear-gradient(90deg, transparent 0, transparent 100%);
  background-size: 25% 100%;
  mask-image: linear-gradient(180deg, transparent, #000 30%);
}
.service-inner { position: relative; z-index: 2; padding: 100px var(--pad); }
.service-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 70px; }
.service-head .display { color: rgba(255,255,255,.92); }
.service-head .sec-sub { color: #fff; }
.service-head .sec-sub::before { background: #fff; }
.service-head p { color: rgba(255,255,255,.85); font-size: 14px; }

.value-circles { display: flex; justify-content: center; gap: 0; margin: 0 auto 80px; max-width: 1080px; }
.vc {
  width: 25%; aspect-ratio: 1/1; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.85); position: relative;
  display: grid; place-items: center;
  font-size: clamp(14px, 1.5vw, 19px); font-weight: 700; color: #fff;
  background: linear-gradient(180deg, transparent 40%, rgba(255,255,255,.16));
}
.vc + .vc { margin-left: -1px; }
.vc::after {
  content: ""; position: absolute; right: -5px; top: 50%; transform: translate(50%,-50%);
  width: 8px; height: 8px; border-radius: 50%; background: #fff; z-index: 2;
}
.vc:last-child::after { display: none; }

.svc-acc {
  background: #fff; border-radius: 20px; color: var(--ink);
  margin-bottom: 18px; overflow: hidden;
}
.svc-acc .acc-head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 26px 26px 34px; cursor: pointer; user-select: none;
}
.svc-acc .acc-head h3 { font-family: var(--font-en); font-weight: 500; font-size: 24px; color: var(--blue); letter-spacing: .01em; display: flex; align-items: baseline; gap: 16px; }
.svc-acc .acc-head h3 small { font-family: var(--font-jp); font-size: 13px; font-weight: 700; color: var(--ink); }
.acc-toggle {
  width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--blue);
  color: #fff; display: grid; place-items: center; cursor: pointer; flex: none;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.acc-toggle svg { width: 14px; height: 14px; }
.svc-acc.open .acc-toggle { transform: rotate(180deg); }
.acc-body { height: 0; overflow: hidden; }
.acc-body-in { padding: 0 34px 36px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; }
.acc-graphic {
  border-radius: 16px; aspect-ratio: 4/3;
  background:
    radial-gradient(circle at 65% 30%, rgba(59,94,223,.35), transparent 55%),
    linear-gradient(150deg, var(--blue-pale), #f3f5fd);
  display: grid; place-items: center;
}
.acc-graphic .geo { width: 46%; aspect-ratio: 1/1; border-radius: 26%; border: 1.5px dashed var(--blue-soft); display: grid; place-items: center; transform: rotate(12deg); }
.acc-graphic .geo i { width: 55%; aspect-ratio: 1/1; border-radius: 50%; background: linear-gradient(140deg, var(--blue), var(--blue-soft)); }
.acc-body h4 { font-size: 17px; font-weight: 700; line-height: 1.8; }
.acc-body p { margin-top: 14px; font-size: 13.5px; color: var(--ink-soft); }
.acc-body .acc-cta { margin-top: 26px; }
.acc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.acc-tags span { font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-pale); border-radius: 999px; padding: 4px 14px; }

.service-note {
  position: relative; z-index: 2; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25); color: #fff;
  border-radius: 16px; padding: 18px 28px; font-size: 13px;
  max-width: 1080px; margin: 40px auto 0;
}

/* ================= Voice (Customer Stories) ================= */
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.voice-col:nth-child(2) { padding-top: 110px; }
.voice-card {
  background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card);
  padding: 18px 18px 26px; margin-bottom: 40px; display: block;
  transition: transform .3s;
}
.voice-card:hover { transform: translateY(-4px); }
.voice-card .photo { border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; }
.voice-card .t { padding: 22px 12px 0; font-size: 16.5px; font-weight: 700; line-height: 1.8; }
.voice-meta { padding: 18px 12px 0; display: grid; gap: 8px; }
.voice-meta .row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.voice-meta .k { border: 1px solid var(--line-blue); color: var(--blue); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 12px; flex: none; }
.voice-foot { display: flex; justify-content: space-between; align-items: flex-end; padding: 20px 12px 0; }
.voice-tags { display: flex; gap: 14px; flex-wrap: wrap; }
.voice-tags span { font-size: 12px; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.voice-tags span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ================= Works ================= */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card {
  background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card);
  padding: 30px; display: flex; flex-direction: column; min-height: 300px;
  transition: transform .3s;
}
.work-card:hover { transform: translateY(-4px); }
.work-card .num { font-family: var(--font-num); font-weight: 300; font-size: 40px; color: var(--blue); line-height: 1; }
.work-card .num small { font-size: 15px; }
.work-card .t { margin-top: 18px; font-size: 14.5px; font-weight: 700; line-height: 1.85; }
.work-card .foot { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; }

/* ================= Download / WP ================= */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dl-card {
  background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card);
  padding: 26px; display: flex; flex-direction: column; gap: 22px;
  transition: transform .3s;
}
.dl-card:hover { transform: translateY(-4px); }
.dl-illust {
  border-radius: 16px; aspect-ratio: 16/10; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #eef1fb, #e3e9fa);
  display: grid; place-items: center;
}
.dl-illust .cube {
  width: 34%; aspect-ratio: 1/1; transform: rotate(18deg);
  border: 1.5px dashed var(--blue-soft); border-radius: 18%;
  display: grid; place-items: center;
}
.dl-illust .cube::after { content: ""; width: 58%; aspect-ratio: 1/1; border-radius: 50%; background: linear-gradient(150deg, var(--blue), var(--blue-soft)); }
.dl-illust.v2 .cube { border-radius: 50%; transform: rotate(0); }
.dl-illust.v2 .cube::after { border-radius: 22%; transform: rotate(30deg); }
.dl-illust.v3 .cube { border-style: solid; transform: rotate(-14deg); }
.dl-card .row { display: flex; justify-content: space-between; align-items: center; }
.dl-card .t { font-size: 15px; font-weight: 700; }

/* ================= Contact banner ================= */
.contact-banner { border-radius: var(--r-section); background: var(--blue); position: relative; overflow: hidden; max-width: 1280px; margin-left: auto; margin-right: auto; }
.contact-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(98,186,206,.4), transparent 45%),
              radial-gradient(circle at 8% 110%, rgba(0,63,102,.92), transparent 55%),
              radial-gradient(circle at 96% 96%, rgba(240,133,39,.3), transparent 30%);
}
.contact-banner-in {
  position: relative; z-index: 1; padding: 90px var(--pad);
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; color: #fff;
}
.contact-banner .display { color: rgba(255,255,255,.95); }
.contact-banner p { margin-top: 20px; font-size: 15px; color: rgba(255,255,255,.85); font-weight: 500; }

/* ================= Footer (black rounded) ================= */
.to-top {
  display: flex; align-items: center; gap: 12px;
  background: var(--black); color: #fff; border-radius: 14px;
  margin: 90px var(--edge) 10px; padding: 16px 28px;
  font-family: var(--font-en); font-size: 13px; letter-spacing: .1em; font-weight: 500;
}
.to-top:hover .circle-btn { transform: scale(1.12); }
.site-footer {
  background: var(--black); color: #fff;
  border-radius: var(--r-section);
  margin: 0 var(--edge) var(--edge); padding: 80px var(--pad) 40px;
}
/* toyo-e 風レイアウト: 左=ロゴ/住所+左下巨大キャッチ, 右=縦罫線+ナビ2列+CTA+リーガル */
.f-grid {
  display: grid; grid-template-columns: 1fr 460px; gap: 64px;
  max-width: 1280px; margin: 0 auto; min-height: 480px;
}
.f-left { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.f-brand .logo { display: inline-block; }
.f-brand .addr { margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.65); line-height: 2; }
.f-catch {
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(40px, 4.6vw, 74px); line-height: 1.02; letter-spacing: .01em;
  color: #fff;
}
.f-right {
  border-left: 1px solid rgba(255,255,255,.18); padding-left: 56px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.f-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; width: 100%; }
.f-nav li { margin-bottom: 14px; }
.f-nav li.sub a { font-size: 12.5px; color: rgba(255,255,255,.55); padding-left: 14px; }
.f-nav a { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.85); transition: color .2s; }
.f-nav a:hover { color: #fff; }
/* ナビ上部の大きめ角丸ボックスCTA */
.f-contact {
  width: 100%; margin: 0 0 44px;
  justify-content: space-between;
  border-radius: 16px;
  padding: 22px 18px 22px 30px;
  font-size: 15.5px;
}
/* 紙飛行機アイコン: ホバーで右上に飛んで左下から再入場 */
.plane-btn {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue);
  display: grid; place-items: center; flex: none; color: #fff;
}
.plane-btn .pw { position: relative; width: 20px; height: 20px; overflow: hidden; display: block; }
.plane-btn .pw svg {
  position: absolute; inset: 0; width: 20px; height: 20px; display: block;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}
.plane-btn .pw .p2 { transform: translate(-150%, 150%); }
.f-contact:hover .plane-btn .p1 { transform: translate(160%, -160%); }
.f-contact:hover .plane-btn .p2 { transform: translate(0, 0); }
.f-legal {
  margin-top: auto; padding-top: 40px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
  font-size: 11.5px; color: rgba(255,255,255,.5);
}
.f-legal a { color: rgba(255,255,255,.5); transition: color .2s; }
.f-legal a:hover { color: #fff; }
.f-legal .c { margin-left: auto; }
@media (max-width: 1000px) {
  .f-grid { grid-template-columns: 1fr; min-height: 0; }
  .f-right { border-left: 0; padding-left: 0; }
}

.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; max-width: 1280px; margin: 0 auto; }
.footer-brand .logo { color: #fff; font-size: 28px; }
.footer-brand .addr { margin-top: 24px; font-size: 13px; color: rgba(255,255,255,.65); line-height: 2; }
.footer-brand .mission { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.4); font-weight: 600; letter-spacing: .06em; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.72); display: inline-flex; align-items: center; gap: 10px; transition: color .2s; }
.footer-col a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-soft); }
.footer-col a:hover { color: #fff; }
.footer-col a.plain::before { display: none; }
.footer-bottom {
  max-width: 1280px; margin: 64px auto 0; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: rgba(255,255,255,.5);
}
.footer-legal { display: flex; gap: 28px; }
.footer-legal a:hover { color: #fff; }

/* ================= Page hero (sub pages) ================= */
.page-hero { padding: var(--edge) var(--edge) 0; }
.page-hero-block {
  border-radius: var(--r-section); position: relative; overflow: hidden;
  padding: 190px var(--pad) 80px;
}
.page-hero-block .display { color: var(--blue); position: relative; z-index: 2; }
.page-hero-block .sec-sub { position: relative; z-index: 2; }
.page-hero-block .lead { position: relative; z-index: 2; margin-top: 26px; max-width: 640px; font-size: 15px; font-weight: 500; }

/* ================= Feature / pains / etc (training) ================= */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pain-card {
  background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card);
  padding: 30px 32px; display: flex; gap: 18px; align-items: flex-start;
}
.pain-card .dot { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-pale); color: var(--blue); display: grid; place-items: center; font-family: var(--font-en); font-weight: 500; flex: none; }
.pain-card b { font-size: 15.5px; display: block; }
.pain-card p { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }

.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feat-card { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 40px 36px; position: relative; }
.feat-card .no { font-family: var(--font-en); font-weight: 200; font-size: 56px; color: var(--blue); line-height: 1; }
.feat-card h3 { margin-top: 18px; font-size: 17.5px; font-weight: 700; line-height: 1.7; }
.feat-card p { margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); }

.flow-list { counter-reset: flow; display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.flow-item {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-card);
  display: grid; grid-template-columns: 90px 180px 1fr; gap: 20px; align-items: center;
  padding: 24px 32px;
}
.flow-item .no { font-family: var(--font-en); font-weight: 300; font-size: 26px; color: var(--blue); }
.flow-item .t { font-weight: 700; font-size: 15.5px; }
.flow-item p { font-size: 13px; color: var(--ink-soft); }

.faq details { background: #fff; border-radius: 18px; box-shadow: var(--shadow-card); margin-bottom: 14px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 24px 30px; font-weight: 700; font-size: 15px; display: flex; gap: 16px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { color: var(--blue); font-family: var(--font-en); font-weight: 500; }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--font-en); font-weight: 300; color: var(--blue); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 30px 24px 62px; color: var(--ink-soft); font-size: 14px; }

/* ================= About ================= */
.mvv-list { display: grid; gap: 20px; max-width: 900px; margin: 0 auto; }
.mvv-item {
  background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card);
  display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 44px 48px; align-items: center;
}
.mvv-item .k { font-family: var(--font-en); font-weight: 400; font-size: 15px; letter-spacing: .18em; color: var(--blue); }
.mvv-item h3 { font-size: 21px; font-weight: 700; }
.mvv-item p { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }

/* 3つの強み */
.str-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.str-card { background: #fff; border-radius: var(--r-card); padding: 40px 34px; }
.str-card .no {
  font-family: var(--font-en); font-weight: 700; font-size: 44px; line-height: 1;
  background: linear-gradient(120deg, var(--navy), var(--blue) 55%, var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.str-card h3 { margin-top: 18px; font-size: 16.5px; font-weight: 700; line-height: 1.7; }
.str-card p { margin-top: 12px; font-size: 13px; color: var(--ink-soft); line-height: 2; }
@media (max-width: 900px) { .str-grid { grid-template-columns: 1fr; } }

/* 沿革・背景 (松尾研ストーリー) */
.hist-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.hist-title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.7; }
.hist-body { margin-top: 22px; font-size: 14px; line-height: 2.2; color: var(--ink-soft); }
.hist-ach { background: #fff; border-radius: var(--r-card); padding: 34px 34px 26px; }
.hist-ach-label { font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: .04em; }
.hist-ach dl > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.hist-ach dl > div:last-child { border-bottom: 0; }
.hist-ach dt { font-size: 15.5px; font-weight: 700; }
.hist-ach dd { margin-top: 6px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.9; }
@media (max-width: 900px) { .hist-grid { grid-template-columns: 1fr; gap: 28px; } }

/* メンバー写真 */
.member-card .ph-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px; display: block; }
.member-card h3 small { display: block; font-family: var(--font-en); font-size: 11px; font-weight: 600; color: var(--ink-mute); letter-spacing: .06em; margin-top: 3px; }

.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member-card { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 18px 18px 24px; cursor: pointer; transition: transform .3s; }
.member-card:hover { transform: translateY(-4px); }
.member-card .photo { border-radius: 16px; overflow: hidden; aspect-ratio: 1/1; }
.member-card h3 { padding: 18px 10px 0; font-size: 16.5px; font-weight: 700; }
.member-card .role { padding: 2px 10px 0; font-size: 12px; color: var(--blue); font-weight: 700; }
.member-card p { padding: 10px 10px 0; font-size: 12.5px; color: var(--ink-soft); }

.def-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); }
.def-table th, .def-table td { padding: 22px 28px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.def-table tr:last-child th, .def-table tr:last-child td { border-bottom: 0; }
.def-table th { width: 220px; color: var(--blue); font-family: var(--font-en); font-weight: 500; letter-spacing: .06em; }

/* ================= Contact page ================= */
.contact-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.form-card { background: #fff; border-radius: var(--r-section); padding: 56px 52px; }
.form-grid { display: grid; gap: 28px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form-row label { font-weight: 700; font-size: 13.5px; display: block; margin-bottom: 10px; }
.req { display: inline-block; background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; border-radius: 999px; padding: 2px 10px; margin-left: 10px; vertical-align: 2px; }
.opt { display: inline-block; background: var(--line); color: var(--ink-soft); font-size: 10px; font-weight: 700; border-radius: 999px; padding: 2px 10px; margin-left: 10px; vertical-align: 2px; }
.input, .textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px;
  padding: 15px 18px; font-size: 14.5px; font-family: var(--font-jp); background: var(--bg);
  transition: .2s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(59,94,223,.12); }
.textarea { min-height: 170px; resize: vertical; }
.type-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.type-pill input { position: absolute; opacity: 0; }
.type-pill span {
  display: inline-block; padding: 10px 24px; border-radius: 999px;
  border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; cursor: pointer;
  background: #fff; transition: .2s;
}
.type-pill input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); }
.consent input { margin-top: 5px; width: 17px; height: 17px; accent-color: var(--blue); }
.consent a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.side-card { background: #fff; border-radius: var(--r-card); padding: 28px; margin-bottom: 20px; }
.side-card h3 { font-size: 14px; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.side-card h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.side-card p { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }
.side-card .tel { font-family: var(--font-num); font-weight: 400; font-size: 26px; color: var(--ink); margin-top: 6px; }

/* ================= Custom cursor (GSAP 2層) ================= */
@media (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
}
/* body直下のfixed要素として配置(親ラッパーがあるとblendが遮断されるため) */
.cursor__big, .cursor__dot {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  display: grid; place-items: center; will-change: transform;
  /* 白 + difference: 背面の色に応じて自動で色が反転し、どこでも視認できる */
  color: #fff; mix-blend-mode: difference;
}
.cursor__big svg circle { transition: fill .25s; fill: rgba(255,255,255,0); }
html.cursor-hover .cursor__big svg circle { fill: rgba(255,255,255,.28); }

/* ================= Reveal helper (JS adds .js-anim / .is-in) ================= */
.js-anim [data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--d, 0s);
}
.js-anim [data-reveal].is-in { opacity: 1; transform: none; }
.js-anim .display[data-slide] {
  opacity: 0; transform: translateX(80px);
  transition: opacity 1.2s cubic-bezier(.22,.61,.36,1), transform 1.2s cubic-bezier(.22,.61,.36,1);
}
.js-anim .display[data-slide].is-in { opacity: 1; transform: none; }
.js-anim .vc {
  opacity: 0; transform: scale(.6);
  transition: opacity .8s cubic-bezier(.34,1.56,.64,1), transform .8s cubic-bezier(.34,1.56,.64,1);
  transition-delay: var(--d, 0s);
}
.js-anim .vc.is-in { opacity: 1; transform: none; }

/* ================= News archive (2カラム: 左タイトル+フィルタ / 右リスト行) ================= */
.news-archive { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.na-side { position: sticky; top: 110px; }
.na-side .display {
  font-size: clamp(52px, 5.6vw, 78px); white-space: normal;
  color: var(--ink); font-weight: 600;
}
.na-side .side-sub { margin-top: 4px; color: var(--blue); font-size: 14px; font-weight: 600; letter-spacing: .04em; }

/* ================= 下層ページ共通のプレーン見出し (旧page-heroの置き換え) ================= */
.page-head { padding: 175px var(--edge) 0; }
.page-head .display {
  font-size: clamp(48px, 5.2vw, 72px); white-space: normal;
  color: var(--ink); font-weight: 600;
}
.page-head .side-sub { margin-top: 4px; color: var(--blue); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.page-head .lead { margin-top: 26px; font-size: 15px; line-height: 2.1; color: var(--ink-soft); max-width: 680px; }
.page-head .crumbs { margin-bottom: 20px; }
/* アーカイブ: クリックで白ボックスが下に伸びて年別リンクが中に出る */
.na-arch { margin-top: 40px; background: #fff; border-radius: 10px; overflow: hidden; }
.na-arch-toggle {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  border: 0; background: none;
  padding: 12px 13px 12px 18px; font-size: 13.5px; font-weight: 600; color: var(--ink);
  cursor: pointer;
}
.na-arch-toggle .ic {
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue);
  display: grid; place-items: center; color: #fff;
  transition: transform .35s cubic-bezier(.43, .05, .17, 1);
}
.na-arch-toggle .ic svg { width: 12px; height: 12px; display: block; }
.na-arch-toggle.open .ic { transform: rotate(180deg); }
.na-filter.na-years {
  margin-top: 0; overflow: hidden;
  max-height: 0; opacity: 0;
  transition: max-height .45s cubic-bezier(.43, .05, .17, 1), opacity .35s;
}
.na-filter.na-years.open { max-height: 400px; opacity: 1; }
/* 白ボックス内の年リンク (区切り線なし・ゆったりパディング) */
.na-filter.na-years a { padding: 14px 26px; border-bottom: 0; border-top: 0; font-size: 14px; }
.na-filter.na-years a::before { left: 26px; }
.na-filter.na-years a:hover, .na-filter.na-years a.active { padding-left: 44px; border-bottom: 0; }
.na-filter.na-years { padding-bottom: 8px; }
.na-arch-toggle:focus { outline: none; }
/* カテゴリリスト (参考: r-media 左サイド)
   通常行: 1pxグレー下線 / ホバー: 文字が右へスライド + 下線が青に / アクティブ: 青ドット + 青下線 */
.na-filter { margin-top: 46px; display: block; }
.na-filter a {
  position: relative; display: flex; align-items: center;
  padding: 15px 0; font-size: 15px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid #e1e3e9;
  transition: padding-left .3s cubic-bezier(.43, .05, .17, 1), border-color .3s cubic-bezier(.43, .05, .17, 1);
}
.na-filter a::before {
  content: ""; position: absolute; left: 2px; top: 50%;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue);
  transform: translateY(-50%) scale(0);
  transition: transform .3s cubic-bezier(.43, .05, .17, 1);
}
.na-filter a:hover { padding-left: 22px; border-bottom-color: var(--blue); }
.na-filter a.active { padding-left: 22px; border-bottom-color: var(--blue); }
.na-filter a.active::before { transform: translateY(-50%) scale(1); }
/* 行カード (参考: neoAI ニュース一覧 — 小さめサムネのコンパクトなカード型) */
.na-list { display: grid; gap: 14px; }
.na-row {
  display: grid; grid-template-columns: 150px 1fr 60px; gap: 26px; align-items: center;
  padding: 18px 22px; background: #fff;
  border: 0; border-radius: 12px;
  transition: background .3s;
}
.na-row:hover { background: #eef1f4; }
.na-row .thumb {
  aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; display: block; position: relative;
}
.na-row .thumb i {
  position: absolute; inset: 0;
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-en); font-size: 10px; letter-spacing: .14em; font-style: normal;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.na-row:hover .thumb i { transform: scale(1.06); }
.na-row .meta { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.na-row .date { font-family: var(--font-num); font-weight: 500; font-size: 13.5px; color: var(--ink-mute); }
.na-row .meta .pill-badge.outline {
  background: rgba(0, 123, 183, .10); border: 0; color: var(--blue);
  font-size: 11.5px; font-weight: 600; padding: 4px 12px;
}
.na-row .t { font-size: 15px; font-weight: 600; line-height: 1.85; }
.na-row .arrow-circle { width: 54px; height: 54px; }

/* 矢印サークル: ホバーで矢印が右に抜けて左から再入場 + 円周がブルーで描画される */
.arrow-circle {
  width: 66px; height: 66px; border-radius: 50%;
  border: 1px solid var(--line-blue); background: transparent;
  position: relative; display: grid; place-items: center; color: var(--blue);
}
.arrow-circle .aw { position: relative; width: 20px; height: 20px; overflow: hidden; display: block; }
.arrow-circle .aw svg { width: 20px; height: 20px; display: block; transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.arrow-circle .aw .a2 { position: absolute; inset: 0; transform: translateX(-160%); }
.na-row:hover .arrow-circle .aw .a1, a:hover > .arrow-circle .aw .a1, a.card-link:hover .arrow-circle .aw .a1 { transform: translateX(160%); }
.na-row:hover .arrow-circle .aw .a2, a:hover > .arrow-circle .aw .a2, a.card-link:hover .arrow-circle .aw .a2 { transform: translateX(0); }
.arrow-circle .ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.arrow-circle .ring circle {
  fill: none; stroke: var(--blue); stroke-width: 1.5;
  stroke-dasharray: 210; stroke-dashoffset: 210;
  transition: stroke-dashoffset .6s cubic-bezier(.22, 1, .36, 1);
}
.na-row:hover .arrow-circle .ring circle, a:hover > .arrow-circle .ring circle, a.card-link:hover .arrow-circle .ring circle { stroke-dashoffset: 0; }
@media (max-width: 1024px) {
  .news-archive { grid-template-columns: 1fr; gap: 32px; }
  /* トップNews: View moreはカード群の下・右寄せ (JSがDOM移動) */
  #news .home-news-more { display: flex; justify-content: flex-end; margin-top: 24px; }
  .na-side { position: static; }
  .na-filter { display: flex; flex-wrap: wrap; gap: 0 28px; }
  .na-filter a { border-bottom-color: transparent; }
  .na-filter a { border-left: 0; border-radius: 999px; padding: 8px 18px; }
  .na-filter a.active { background: var(--blue); color: #fff; }
}
@media (max-width: 720px) {
  /* News行カード: 左に小サムネ・右に日付/タイトルの横型コンパクトカード */
  .na-row { grid-template-columns: 104px 1fr; gap: 14px; padding: 12px 14px; }
  .na-row .circle-btn, .na-row .arrow-circle { display: none; }
  .na-row .meta { margin-bottom: 4px; gap: 8px; }
  .na-row .date { font-size: 12px; }
  .na-row .meta .pill-badge.outline { font-size: 10px; padding: 2px 9px; }
  .na-row .t { font-size: 12.5px; line-height: 1.65; }
}

/* ================= Archive / Article / Legal / 404 ================= */
.crumbs { position: relative; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--ink-mute); margin-bottom: 18px; }
.crumbs a:hover { color: var(--blue); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip {
  padding: 9px 22px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line);
  font-size: 13px; font-weight: 600; transition: .2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.archive-grid .news-card { flex: none; min-height: 250px; }
.arch-thumb {
  border-radius: 12px; aspect-ratio: 16/9; margin-bottom: 18px; overflow: hidden;
  display: grid; place-items: center; color: #fff; font-family: var(--font-en); font-size: 10px; letter-spacing: .14em;
}
/* ページネーション: 円形・右寄せ・省略記号(Canary準拠) */
.pagination { display: flex; gap: 14px; justify-content: flex-end; align-items: center; margin-top: 44px; }
.page-num {
  flex: none; width: 54px; height: 54px; line-height: 1;
  border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-num); font-weight: 500; font-size: 15px; color: var(--blue);
  transition: border-color .25s, background .25s, color .25s;
}
.page-num:hover { border-color: var(--blue); }
.page-num.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-ellipsis { color: var(--ink-mute); font-family: var(--font-num); font-size: 14px; padding: 0 2px; }

.article {
  max-width: 860px; margin: 0 auto; background: #fff; border-radius: var(--r-section);
  box-shadow: var(--shadow-card); padding: clamp(28px, 5vw, 64px);
}
.article-head .cat-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.article-head .date { font-family: var(--font-num); font-weight: 500; color: var(--ink-mute); font-size: 14px; }
.article-head h1 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.7; }
.article-hero {
  border-radius: 16px; aspect-ratio: 16/9; margin: 28px 0 8px; overflow: hidden;
  display: grid; place-items: center; color: #fff; font-family: var(--font-en); font-size: 12px; letter-spacing: .14em;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.prose h2 { font-size: 21px; font-weight: 700; margin: 44px 0 16px; padding-left: 14px; border-left: 4px solid var(--blue); }
.prose h3 { font-size: 17px; font-weight: 700; margin: 30px 0 10px; }
.prose p { margin: 14px 0; font-size: 15px; line-height: 2.1; color: var(--ink-soft); }
.prose ul { margin: 16px 0; display: grid; gap: 8px; }
.prose ul li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; }
.prose ul li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-top: 11px; flex: none; }
.prose .qa-q { font-weight: 700; color: var(--ink); display: flex; gap: 10px; margin-top: 32px; }
.prose .qa-q::before { content: "Q."; color: var(--blue); font-family: var(--font-en); font-weight: 700; }
.share { display: flex; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.share a { padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 12.5px; font-weight: 600; background: #fff; }
.share a:hover { border-color: var(--blue); color: var(--blue); }

.result-box {
  background: var(--blue-pale); border-radius: var(--r-card); padding: 28px 32px; margin: 28px 0;
}
.result-box h3 { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.result-box p { font-size: 14px; color: var(--ink-soft); margin: 0; }

.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; max-width: 1180px; margin: 0 auto; }
.detail-layout .article { max-width: none; margin: 0; }
.detail-side { position: sticky; top: 100px; display: grid; gap: 20px; }

/* 規約系共通テンプレ */
.legal-wrap { max-width: 860px; margin: 0 auto; background: #fff; border-radius: var(--r-section); box-shadow: var(--shadow-card); padding: clamp(28px, 5vw, 64px); }
.legal-updated { font-size: 12.5px; color: var(--ink-mute); margin-bottom: 28px; }
.legal-toc { background: var(--bg); border-radius: var(--r-card); padding: 24px 28px; margin-bottom: 36px; display: grid; gap: 8px; }
.legal-toc a { font-size: 13.5px; font-weight: 600; color: var(--blue); }
.legal-wrap h2 { font-size: 18px; font-weight: 700; margin: 38px 0 12px; padding-left: 14px; border-left: 4px solid var(--blue); }
.legal-wrap p, .legal-wrap li { font-size: 14px; line-height: 2; color: var(--ink-soft); }
.legal-wrap table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; }
.legal-wrap th, .legal-wrap td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.legal-wrap th { background: var(--bg); font-weight: 700; color: var(--ink); }

/* 404 */
.err-display { font-family: var(--font-en); font-weight: 700; font-size: clamp(120px, 22vw, 300px); line-height: 1; color: var(--blue); position: relative; z-index: 2; }

/* thanks */
.thanks-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

@media (max-width: 1024px) { .archive-grid { grid-template-columns: 1fr 1fr; } .detail-layout { grid-template-columns: 1fr; } .detail-side { position: static; } }
@media (max-width: 720px) { .archive-grid { grid-template-columns: 1fr; } }

/* ================= Service v2 (shift-ai/corp 風 2カラム) ================= */
.svc2 { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: start; }
.svc2-side { position: sticky; top: 110px; }
/* ピン留め演出時: 左見出しは常に画面センター軸に (パララックスによるズレ防止) */
.svc2:has(.svc2-list.is-stack) .svc2-side { position: static; align-self: center; }
.svc2-lead { margin-top: 34px; font-size: 14.5px; line-height: 2.15; color: var(--ink-soft); }
.svc2-cta { margin-top: 32px; }
.svc2-list {
  display: grid; gap: 120px;
}
/* ピン留め演出時: 全項目を同一セルに重ねてクロスフェード (JSが付与) */
.svc2-list.is-stack { gap: 0; }
/* 各事業は左見出しと同じ縦センター軸に揃える */
.svc2-list.is-stack > .svc2-item { grid-area: 1 / 1; align-self: center; will-change: transform, opacity; }
.svc2-num { display: none; }
.svc2-title { font-size: clamp(26px, 2.5vw, 34px); font-weight: 700; line-height: 1.5; }
.svc2-sub { margin-top: 8px; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.svc2-body { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; margin-top: 32px; align-items: start; }
.svc2-media {
  border-radius: 14px; aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  color: rgba(255,255,255,.9); font-family: var(--font-en); font-weight: 600;
  font-size: 12px; letter-spacing: .2em;
}
.svc2-media.g1 { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.svc2-media.g2 { background: linear-gradient(135deg, var(--blue), var(--teal)); }
.svc2-media.g3 { background: linear-gradient(135deg, #c96a1a, #ffb066); }
.svc2-media.white { background: #fff; }
.svc2-media .svc2-logo { max-width: 62%; max-height: 46%; width: auto; height: auto; object-fit: contain; }
.svc2-desc p { font-size: 14.5px; line-height: 2.15; color: var(--ink-soft); }
.svc2-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 26px; padding: 0 2px 14px;
  border-bottom: 1px solid var(--ink);
  font-size: 14.5px; font-weight: 700; color: var(--ink);
  transition: color .25s, border-color .25s;
}
.svc2-link:hover { color: var(--blue); border-color: var(--blue); }
.svc2-link .arrow-circle { width: 38px; height: 38px; flex: none; }
.svc2-link .arrow-circle .aw, .svc2-link .arrow-circle .aw svg { width: 15px; height: 15px; }
.svc2-info {
  display: flex; gap: 18px; align-items: baseline;
  margin-top: 34px; font-size: 13.5px; color: var(--ink-soft);
}
.svc2-info .k { font-weight: 700; color: var(--ink); flex: none; padding-right: 18px; border-right: 1px solid var(--line); }
.svc2-strong { margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--ink); }

/* ================= Insight 記事カード (Service内 オウンドメディア項目で使用) ================= */
/* OGP(1200x630)を上寄せ配置し、下の余りは画像下端と同色のブルーで塗り足して
   16:10比率でも見切れゼロにする (画像下端は全幅 #007bb7 のベタ塗りを確認済み) */
.svc2-shot { overflow: hidden; padding: 0; display: block; background: #007bb7; }
.svc2-shot img { width: 100%; height: auto; display: block; transition: transform .55s cubic-bezier(.22, 1, .36, 1); }
.svc2-shot:hover img { transform: scale(1.04); }
.svc2-articles-label {
  margin-top: 40px; font-size: 13.5px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.svc2-articles-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.svc2-articles { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc2-articles .ins-card { padding: 10px 10px 18px; gap: 10px; }
.svc2-articles .ins-title { font-size: 13px; line-height: 1.75; }
.ins-card {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border-radius: var(--r-card);
  padding: 14px 14px 24px;
  transition: background .25s;
}
.ins-card:hover { background: #eaf3f8; }
.ins-thumb { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.ins-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.22, 1, .36, 1); }
.ins-card:hover .ins-thumb img { transform: scale(1.06); }
.ins-meta { display: flex; align-items: center; gap: 10px; padding: 2px 8px 0; }
.ins-meta .date { font-family: var(--font-num); font-weight: 500; font-size: 13px; color: var(--ink-mute); }
.ins-meta .new { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--orange); border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; }
.ins-title { padding: 0 8px; font-size: 14.5px; font-weight: 700; line-height: 1.85; color: var(--ink); }
.ins-tags { margin-top: auto; padding: 4px 8px 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; font-weight: 600; color: var(--blue); }

/* ================= Training LP ================= */
.lp-hero { padding: 195px var(--edge) 80px; }
.lp-hero-in { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.lp-kicker { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .05em; display: flex; align-items: center; gap: 10px; }
.lp-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.lp-catch { margin-top: 18px; font-size: clamp(32px, 4.4vw, 60px); font-weight: 700; line-height: 1.5; letter-spacing: .02em; }
.lp-sub { margin-top: 20px; font-size: 15px; font-weight: 600; line-height: 2; color: var(--ink-soft); }
.lp-cta-row { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
/* 助成金バンド */
.subsidy-banner {
  margin-top: 56px;
  display: flex; align-items: center; justify-content: center; gap: 8px 22px; flex-wrap: wrap;
  background: linear-gradient(100deg, var(--orange), #ffb066);
  color: #fff; border-radius: 18px; padding: 22px 30px;
  font-size: 16px; font-weight: 700;
}
.subsidy-banner .head { background: #fff; color: var(--orange); border-radius: 999px; padding: 6px 18px; font-size: 13px; flex: none; }
.subsidy-banner .big {
  font-family: "DIN Alternate", "D-DIN", "Bahnschrift", var(--font-num);
  font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: .01em;
}
.subsidy-banner .big small { font-size: 18px; }
.lp-hero .stats-row { grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
.lp-stats-note { font-size: 11px; color: var(--ink-mute); margin-top: 4px; }
/* お悩み→解決ブリッジ */
.pain-bridge { text-align: center; margin-top: 56px; }
.pain-bridge .arrow-down { width: 34px; height: 34px; margin: 0 auto 18px; color: var(--blue); }
.pain-bridge h3 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; line-height: 1.7; }
.pain-bridge h3 em { font-style: normal; color: var(--blue); }
.pain-bridge p { margin-top: 16px; font-size: 14.5px; line-height: 2.15; color: var(--ink-soft); max-width: 720px; margin-left: auto; margin-right: auto; }
/* 料金プラン */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-card); padding: 40px 30px 30px;
  border: 1px solid transparent;
}
.plan-card.reco { border: 2px solid var(--blue); }
.plan-tag {
  position: absolute; top: -15px; left: 26px;
  background: var(--ink); color: #fff; border-radius: 999px;
  font-size: 12px; font-weight: 700; padding: 5px 16px;
}
.plan-card.reco .plan-tag { background: var(--blue); }
.plan-name { font-size: 19px; font-weight: 700; }
.plan-price-old { margin-top: 20px; font-size: 13px; color: var(--ink-mute); }
.plan-price-old s { margin-left: 6px; }
.plan-off { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--orange); }
.plan-price {
  margin-top: 4px;
  font-family: "DIN Alternate", "D-DIN", "Bahnschrift", var(--font-num);
  font-weight: 700; font-size: clamp(38px, 3.4vw, 48px); line-height: 1.15; color: var(--ink);
}
.plan-price .u { font-size: 15px; font-family: var(--font-jp, inherit); font-weight: 600; color: var(--ink-soft); margin-left: 4px; }
.plan-lead { margin-top: 14px; font-size: 13px; font-weight: 600; line-height: 1.9; color: var(--ink-soft); }
.plan-list { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.plan-list li { display: flex; gap: 9px; font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
.plan-list li::before { content: "✓"; color: var(--blue); font-weight: 700; flex: none; }
.plan-note { margin-top: 14px; font-size: 11px; color: var(--ink-mute); }
.plan-cta { margin-top: auto; padding-top: 24px; }
.plan-cta .btn-pill { width: 100%; }
@media (max-width: 1080px) { .plan-grid { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 720px) {
  .lp-hero { padding: 150px var(--edge) 56px; }
  .subsidy-banner { padding: 18px 20px; font-size: 14px; }
  .subsidy-banner .big { font-size: 34px; }
  .lp-hero .stats-row { grid-template-columns: 1fr; }
}

/* ================= Mobile menu (ハンバーガー) ================= */
.m-burger {
  display: none;
  position: fixed; top: 16px; right: 16px; z-index: 210;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); border: 0; cursor: pointer;
  box-shadow: 0 6px 24px rgba(10, 30, 60, .16);
  place-items: center; place-content: center; gap: 6px;
  transition: background .35s;
}
.m-burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, background .35s; }
html.menu-open .m-burger { background: #fff; }
html.menu-open .m-burger span { background: var(--blue); }
html.menu-open .m-burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
html.menu-open .m-burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
/* メニュー: ボタン位置からDSブルーの円が広がって出現 (clip-path circle) */
.m-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--blue);
  padding: 96px 28px 48px; overflow: auto;
  visibility: hidden;
  clip-path: circle(0px at calc(100% - 44px) 44px);
  transition: clip-path .6s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .6s;
}
html.menu-open { overflow: hidden; }
html.menu-open .m-menu {
  visibility: visible;
  clip-path: circle(150% at calc(100% - 44px) 44px);
  transition: clip-path .6s cubic-bezier(.65, 0, .35, 1);
}
/* 中身は円が広がったあと少し遅れてフェードイン */
.m-menu-list, .m-menu-cta { opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .3s; }
html.menu-open .m-menu-list, html.menu-open .m-menu-cta {
  opacity: 1; transform: none;
  transition: opacity .45s ease .25s, transform .45s ease .25s;
}
.m-menu-list > li { border-bottom: 1px solid rgba(255, 255, 255, .25); }
.m-menu-list > li > a { display: block; padding: 18px 4px; font-size: 16px; font-weight: 700; color: #fff; }
.m-menu-list ul { padding: 0 4px 16px; }
.m-menu-list ul a {
  display: block; padding: 8px 0 8px 18px; font-size: 13.5px; font-weight: 500;
  color: rgba(255, 255, 255, .8); position: relative;
}
.m-menu-list ul a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 7px; height: 2px; background: rgba(255, 255, 255, .7); }
.m-menu-cta { margin-top: 32px; width: 100%; }
/* 青背景上のCTAは白枠線バリアント */
.m-menu-cta.btn-pill { border-color: #fff; color: #fff; }
.m-menu-cta.btn-pill::after { background: #fff; }
.m-menu-cta.btn-pill:hover { color: var(--blue); }
.m-menu-cta.btn-pill .circle-btn { background: #fff; }
.m-menu-cta.btn-pill:hover .circle-btn { background: var(--blue); }

/* ================= Responsive ================= */
@media (max-width: 1080px) {
  .display { white-space: normal; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .news-cats { display: flex; flex-wrap: wrap; }
  .service-head { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .voice-col:nth-child(2) { padding-top: 0; }
  .works-grid, .dl-grid, .member-grid { grid-template-columns: 1fr 1fr; }
  .contact-banner-in { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  /* ナビはハンバーガーメニューへ集約 (空の白ピルを残さない)
     右上ノッチは残してJSでハンバーガーのサイズに追従させる */
  .site-header, .sticky-header { display: none; }
  .m-burger { display: grid; }
  .hero-logo { height: 60px; padding: 0 6px; }
  .hero-logo .logo-img { height: 46px; }
  /* 下層ページの追従ロゴ: コンテンツと重なるため白ピル背景を敷く */
  .sticky-logo {
    height: 56px; padding: 0 20px;
    background: rgba(255, 255, 255, .92);
    border-radius: 999px;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }
  .sticky-logo .logo-img { height: 38px; }
  /* イントロ / インサイト / フッター */
  .intro-grid { grid-template-columns: 1fr; gap: 56px; }
  .svc2 { grid-template-columns: 1fr; gap: 48px; }
  .svc2-side { position: static; }
  .svc2-list { gap: 88px; }
  .f-grid { grid-template-columns: 1fr; gap: 56px; min-height: 0; }
  .f-right { border-left: 0; padding-left: 0; }
  .f-left { gap: 48px; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .display { font-size: clamp(40px, 12vw, 56px); }
  .display.md { font-size: clamp(34px, 9.5vw, 48px); }
  .hero-title { white-space: normal; font-size: clamp(24px, 8.4vw, 46px); }
  /* モバイルではウェビナーバナーは非表示 / ロゴ・メニューのノッチはPC同様に表示 */
  .hero-notch { display: none; }
  .hero-notch-bl { display: none; }
  .hero-about { position: static; margin-top: 32px; }
  .hero-block {
    padding: 120px 24px 56px;
    /* SP各端末でHEROが全画面に映るように (svh=モバイルUIバー考慮) */
    min-height: calc(100vh - var(--edge) * 2);
    min-height: calc(100svh - var(--edge) * 2);
    /* 下部ノッチ非表示のため角丸を復元 */
    border-bottom-left-radius: var(--r-section); border-bottom-right-radius: var(--r-section);
  }
  .hero-lead br { display: none; }
  .pain-grid, .feat-grid, .works-grid, .dl-grid, .member-grid { grid-template-columns: 1fr; }
  .value-circles { flex-wrap: wrap; justify-content: flex-start; }
  .vc { width: 50%; }
  .acc-body-in { grid-template-columns: 1fr; }
  .mvv-item { grid-template-columns: 1fr; gap: 10px; }
  .flow-item { grid-template-columns: 60px 1fr; }
  .flow-item p { grid-column: 1 / 3; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 36px 20px; border-radius: 24px; }
  .form-2col { grid-template-columns: 1fr; }
  /* イントロ・実績・ロゴ */
  .intro-title { font-size: clamp(30px, 8.6vw, 42px); }
  .stat-card { padding: 24px 8px; }
  .stat-card .num { font-size: clamp(42px, 12vw, 58px); }
  .stat-card .num .unit { font-size: 20px; }
  .cl-item { width: 92px; }
  /* インサイト新着記事: 左に小サムネ・右に日付/タイトルの横型コンパクトカード */
  .svc2-articles { grid-template-columns: 1fr; gap: 10px; }
  .svc2-articles .ins-card {
    display: grid; grid-template-columns: 104px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 12px; align-items: start; align-content: center;
    padding: 10px 12px;
  }
  .svc2-articles .ins-thumb { grid-row: 1 / 3; align-self: center; width: 104px; }
  .svc2-articles .ins-meta { padding: 0; }
  .svc2-articles .ins-meta .date { font-size: 12px; }
  .svc2-articles .ins-meta .new { font-size: 9px; padding: 1px 8px; }
  .svc2-articles .ins-title { padding: 0; font-size: 12px; line-height: 1.6; }
  .svc2-body { grid-template-columns: 1fr; gap: 24px; }
  .svc2-list { gap: 72px; }
  .svc2-info { flex-direction: column; gap: 8px; }
  .svc2-info .k { border-right: 0; padding-right: 0; }
  .cl-set { gap: 36px; padding-right: 36px; }
  .client-logos::before, .client-logos::after { width: 60px; }
  /* Service */
  .service-inner { padding: 60px 22px; }
  .value-circles { margin-bottom: 48px; }
  /* News / ページ見出し / バナー */
  .page-head { padding-top: 120px; }
  .home-news-more { margin-top: 40px; }
  .contact-banner-in { padding: 56px 28px; gap: 28px; }
  .btn-pill { min-width: 0; }
  /* フッター */
  .site-footer { padding: 56px 24px 32px; }
  .f-catch { font-size: clamp(28px, 8.6vw, 40px); }
  .f-brand .logo .logo-img { height: 64px; }
  .f-nav { gap: 4px 20px; }
  .f-legal { flex-wrap: wrap; gap: 10px 18px; }
  .f-contact { padding: 18px 14px 18px 22px; font-size: 14px; }
  /* 記事・アーカイブ */
  .article { border-radius: 24px; }
  .pagination { justify-content: center; }
  .page-num { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* JS描画されるnews行のフェードイン */
@keyframes naIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.na-row.na-in { animation: naIn .5s cubic-bezier(.22,.61,.36,1) both; }
.na-row .thumb img, .arch-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-hero { overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prose figure.art-img { margin: 28px 0; }
.prose figure.art-img img { width: 100%; border-radius: 14px; display: block; }
.prose p img { max-width: 100%; border-radius: 14px; display: block; margin: 20px 0; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose h4 { font-size: 15.5px; font-weight: 700; margin: 24px 0 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.prose table th, .prose table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; line-height: 1.8; color: var(--ink-soft); }
.prose table th { background: var(--bg); color: var(--ink); }
.prose ul li > span { display: block; }

#news .na-side { position: static; }
.home-news-more { margin-top: 72px; }

.na-pagination { border-top: 0; grid-column: 2; margin-top: 0; }
@media (max-width: 1000px) { .na-pagination { grid-column: 1; } }
