/* ビジュアル・モーション層。style.css の後に読み込む。配色は確定値（青紫 #5040D8 / #6655EA、エイリアングリーン #B9F94C、白）のみ。 */

html { scroll-padding-top: 84px; }
.service-overview article { scroll-margin-top: 90px; }

/* ---------- ヘッダー（スクロールで固定・縮小） ---------- */
.top { position: sticky; top: 0; z-index: 30; transition: background-color .3s, box-shadow .3s; }
.top .nav { transition: min-height .3s; }
.top.scrolled { background: #5040d8eb; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 24px #30276540; }
.top.scrolled .nav { min-height: 64px; }

/* ---------- ボタン ---------- */
.button { transition: transform .25s, box-shadow .25s, background-color .25s, border-color .25s, color .25s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 26px #b9f94c55; }
.button.ghost:hover { box-shadow: 0 10px 26px #ffffff40; }

/* ---------- トップのヒーロー ---------- */
.home-hero .hero-art, .hero-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-art svg { width: 100%; height: 100%; display: block; transform: translate3d(calc(var(--px, 0) * -16px), calc(var(--py, 0) * -9px), 0) scale(1.04); transition: transform .5s ease-out; will-change: transform; }
.hero-art path, .page-art path { vector-effect: non-scaling-stroke; }
.home-hero .hero-inner { position: relative; z-index: 2; }
.home-hero { min-height: 0; }
.hero-feature { position: relative; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid #ffffff55; border-radius: 6px; box-shadow: 0 20px 60px #30276555, inset 0 1px 0 #ffffff55; transform: translate3d(calc(var(--px, 0) * 8px), calc(var(--py, 0) * 6px), 0); transition: transform .5s ease-out; }
.hero-feature-brand { background: linear-gradient(100deg, #b9f94c 30%, #f2ffd8 50%, #b9f94c 70%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; animation: shine 5.5s ease-in-out infinite; }
@keyframes shine { 0%, 20% { background-position: 120% 0; } 80%, 100% { background-position: -120% 0; } }
.orbits { position: absolute; z-index: -1; left: 50%; top: 50%; width: 170%; aspect-ratio: 1; transform: translate(-50%, -50%) rotateZ(-16deg) rotateX(70deg); pointer-events: none; }
.orbits i { position: absolute; border: 1px solid #ffffff3d; border-radius: 50%; animation: spin 30s linear infinite; }
.orbits i::after { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px 3px #b9f94c99; }
.orbits i:nth-child(1) { inset: 22%; animation-duration: 18s; }
.orbits i:nth-child(2) { inset: 11%; animation-duration: 28s; animation-direction: reverse; border-style: dashed; border-color: #ffffff2a; }
.orbits i:nth-child(2)::after { background: #fff; box-shadow: 0 0 12px 3px #ffffff80; width: 7px; height: 7px; top: -3.5px; margin-left: -3.5px; }
.orbits i:nth-child(3) { inset: 0; animation-duration: 44s; }
.orbits i:nth-child(3)::after { width: 8px; height: 8px; top: -4px; margin-left: -4px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 読み込み時の入場 */
.js .home-hero .hero-inner > div:first-child > * { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
.js .home-hero .hero-inner > div:first-child > :nth-child(2) { animation-delay: .12s; }
.js .home-hero .hero-inner > div:first-child > :nth-child(3) { animation-delay: .26s; }
.js .home-hero .hero-inner > div:first-child > :nth-child(4) { animation-delay: .4s; }
.js .home-hero .hero-feature { animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) .35s both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- 数字の帯＋成長曲線 ---------- */
.stats-band { position: relative; overflow: hidden; background: linear-gradient(#fff, var(--surface)); padding-block: 70px 120px; }
.growth-line { position: absolute; left: 0; bottom: 0; width: 100%; height: 42%; pointer-events: none; }
.growth-stroke { vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s cubic-bezier(.3, .6, .2, 1) .2s; }
.growth-area { opacity: 0; transition: opacity 1.6s ease 1.2s; }
.stats-band.in .growth-stroke { stroke-dashoffset: 0; }
.stats-band.in .growth-area { opacity: 1; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.stat { border-left: 3px solid var(--brand); padding: 4px 0 4px 22px; }
.stat b { display: flex; align-items: baseline; gap: 6px; font: 800 clamp(3.4rem, 7.5vw, 5.6rem)/1 Arial, sans-serif; letter-spacing: -.06em; color: var(--brand); }
.stat b small { font: 800 clamp(1.05rem, 2vw, 1.5rem)/1 "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; letter-spacing: 0; color: var(--ink); }
.stat p { margin: 12px 0 0; font-size: .95rem; color: var(--ink); font-weight: 600; max-width: 18em; }

/* ---------- スクロール連動の出現 ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 110ms), transform .9s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 110ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- アイコン ---------- */
.icon { width: 44px; height: 44px; flex: none; }
.service-directory article > .icon { width: 52px; height: 52px; color: var(--brand); margin-bottom: 20px; padding: 10px; border-radius: 14px; background: var(--surface); box-sizing: content-box; transition: transform .4s; }
.service-directory .feature-service > .icon { color: var(--mint); background: #ffffff1f; }
.service-directory article { position: relative; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.service-directory article:hover { transform: translateY(-8px); box-shadow: 0 24px 50px #5040d833; border-color: #a69af5; }
.service-directory article:hover > .icon { transform: rotate(-6deg) scale(1.08); }
.service-directory .feature-service { background-size: 220% 220%; animation: flow 12s ease-in-out infinite; }
.service-directory .feature-service:hover { box-shadow: 0 24px 54px #5040d866; }
@keyframes flow { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 100%; } }

.industry-links a { grid-template-columns: 56px 105px minmax(190px, 1fr) minmax(250px, 1.25fr) 40px; position: relative; transition: background-color .3s, padding .3s; }
.industry-icon { --icon-bg: var(--surface); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--surface); color: var(--brand); transition: background-color .3s, color .3s, transform .35s; }
.industry-icon .icon { width: 32px; height: 32px; }
.industry-links a:hover { padding-left: 16px; }
.industry-links a:hover .industry-icon { --icon-bg: var(--brand); background: var(--brand); color: var(--mint); transform: rotate(-5deg) scale(1.06); }
.industry-links .link-mark { transition: transform .3s; }
.industry-links a:hover .link-mark { transform: translateX(6px); }

.hero-icon { --icon-bg: var(--brand); display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 20px; border-radius: 20px; background: var(--brand); color: var(--mint); box-shadow: 0 14px 34px #5040d855; }
.hero-icon .icon { width: 42px; height: 42px; }

/* ---------- GRAVI（重力）セクション ---------- */
.gravi-story { position: relative; overflow: hidden; isolation: isolate; }
.gravi-story::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(2px 2px at 8% 22%, #fff, transparent), radial-gradient(2px 2px at 21% 78%, #fff, transparent), radial-gradient(1.5px 1.5px at 33% 12%, #fff, transparent),
  radial-gradient(2px 2px at 47% 64%, #fff, transparent), radial-gradient(1.5px 1.5px at 58% 28%, #fff, transparent), radial-gradient(2px 2px at 71% 86%, #fff, transparent),
  radial-gradient(1.5px 1.5px at 83% 15%, #fff, transparent), radial-gradient(2px 2px at 93% 58%, #fff, transparent), radial-gradient(1.5px 1.5px at 15% 50%, #fff, transparent),
  radial-gradient(1.5px 1.5px at 64% 52%, #fff, transparent); opacity: .7; animation: twinkle 5s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .25; } to { opacity: .8; } }
.gravi-story > .wrap { position: relative; z-index: 1; }
.gravi-art { position: absolute; z-index: -1; right: -440px; top: 50%; width: 820px; aspect-ratio: 1; transform: translateY(-50%); opacity: .95; pointer-events: none; }
.gravi-art svg { width: 100%; height: 100%; overflow: visible; }
.ring { transform-box: view-box; transform-origin: 50% 50%; animation: spin linear infinite; }
.ring-2, .ring-4 { animation-direction: reverse; }
.core { animation: pulse 4s ease-in-out infinite; transform-box: view-box; transform-origin: 50% 50%; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.25); opacity: 1; } }
.cycle-strip { counter-reset: cy; }
.gravi-story .cycle-strip > div { position: relative; overflow: hidden; counter-increment: cy; padding-top: 20px; }
.cycle-strip > div::before { content: counter(cy, decimal-leading-zero); display: block; font: 800 .95rem/1 Arial, sans-serif; letter-spacing: .08em; color: #fff; opacity: .8; margin-bottom: 8px; }
.cycle-strip > div::after { content: ''; position: absolute; top: 0; left: 0; width: 45%; height: 2px; background: linear-gradient(90deg, transparent, #fff, transparent); animation: sweep 3.6s ease-in-out infinite; }
.cycle-strip > div:nth-child(2)::after { animation-delay: 1.2s; }
.cycle-strip > div:nth-child(3)::after { animation-delay: 2.4s; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(240%); } }

/* ---------- 下層ページの見出し帯・お問い合わせ帯 ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; }
.page-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9; }
.page-art svg { width: 100%; height: 100%; display: block; }
.contact-panel { position: relative; overflow: hidden; isolation: isolate; }
.contact-panel::before { content: ''; position: absolute; inset: -10%; z-index: -1; background: url('/images/contact.webp') no-repeat center / cover; opacity: .7; mix-blend-mode: screen; animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.05) translateX(-3%); } to { transform: scale(1.14) translateX(3%); } }

/* ---------- 写真素材 ---------- */
/* 見出し帯：右側に写真を溶かし込む */
.page-hero.has-photo { background: linear-gradient(110deg, #f3f1ff 30%, #e4e0fb); }
.page-photo { position: absolute; z-index: -2; top: 0; right: 0; bottom: 0; width: 62%; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 55%); mask-image: linear-gradient(to right, transparent 0, #000 55%); }
.page-photo img { position: absolute; left: 0; top: -40px; width: 100%; height: calc(100% + 80px); object-fit: cover; transform: translate3d(0, var(--ty, 0px), 0); will-change: transform; }
.page-hero.has-photo .page-art { z-index: -1; }

/* 本文横の写真パネル（原点） */
.editorial > * { min-width: 0; }
.photo-panel { position: relative; width: calc(100% - 14px); margin: 32px 0 0; aspect-ratio: 4 / 3; border-radius: 6px; }
.photo-panel::before { content: ''; position: absolute; inset: 0; transform: translate(14px, 14px); border: 2px solid var(--brand-light); border-radius: 6px; opacity: .55; }
.photo-panel img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; box-shadow: 0 24px 54px #30276547; }

/* 全幅の写真背景セクション（理念・企業情報） */
.photo-section { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); }
.photo-section > .bg { position: absolute; left: 0; top: -60px; z-index: -2; width: 100%; height: calc(100% + 120px); object-fit: cover; transform: translate3d(0, var(--ty, 0px), 0); will-change: transform; }
.photo-section::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, #302765ee 10%, #3a2fa0aa 55%, #5040d855); }
.photo-section.dark, .photo-section.dark h2, .photo-section.dark p { color: #fff; }
.photo-section.dark .eyebrow, .photo-section.dark .text-link, .photo-section.dark .text-link span { color: var(--mint); }
.photo-section.dark .text-link { border-color: #b9f94c99; }
.photo-section.dark .text-link:hover { color: #fff; border-color: #fff; }
.photo-section.dark .editorial-copy p { color: #f1efff; }
.photo-section.teaser .section { padding-block: 90px; }
.photo-section:not(.teaser) .section { padding-block: 110px; }
.photo-section .mission-slogan { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.3; font-weight: 800; }
.photo-section .mission-slogan span { text-shadow: 0 4px 30px #30276599; }

/* GRAVI背面の星空写真 */
.gravi-story > .bg-photo { position: absolute; left: 0; top: -60px; z-index: -2; width: 100%; height: calc(100% + 120px); object-fit: cover; opacity: .5; mix-blend-mode: screen; transform: translate3d(0, var(--ty, 0px), 0); will-change: transform; }

/* ---------- 小さい画面 ---------- */
@media (max-width: 850px) { .industry-links a { grid-template-columns: 56px 1fr 1.1fr 40px; } .industry-links a > .industry-icon { grid-row: span 1; } .industry-links a > .industry-name { display: none; } }
@media (max-width: 680px) {
  .stats-grid { grid-template-columns: 1fr; gap: 22px; }
  .stats-band { padding-block: 48px 60px; }
  .stat { padding-left: 16px; }
  .growth-line { height: 34%; }
  .orbits { width: 150%; }
  .home-hero .hero-art { opacity: .5; }
  .gravi-art { right: -420px; top: 30%; width: 640px; opacity: .6; }
  .industry-links a { grid-template-columns: 52px 1fr 36px; gap: 4px 14px; }
  .industry-links a > .industry-name { display: block; grid-column: 2; }
  .industry-links a > .industry-icon { grid-column: 1; grid-row: 1 / span 3; width: 52px; height: 52px; }
  .industry-links a > .industry-headline, .industry-links a > .industry-summary { grid-column: 2; }
  .industry-links .link-mark { grid-column: 3; grid-row: 2; }
  .industry-links a:hover { padding-left: 4px; }
  .hero-icon { width: 62px; height: 62px; border-radius: 16px; }
  .page-photo { width: 100%; opacity: .28; -webkit-mask-image: none; mask-image: none; }
  .photo-panel { margin-top: 20px; }
  .photo-section:not(.teaser) .section { padding-block: 64px; }
  .photo-section.teaser .section { padding-block: 56px; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .growth-stroke { stroke-dashoffset: 0; }
  .growth-area { opacity: 1; }
}

/* ======== 全セクションの背景グラフィック／本文ブロックのカード化 ======== */

/* 全幅の帯：曲線アートと光のにじみ（奇数・偶数で左右を反転） */
.band { position: relative; overflow: hidden; isolation: isolate; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('/art-ribbon-light.svg') no-repeat right -120px center / min(980px, 82%) auto,
    radial-gradient(520px 340px at 92% 6%, #6655ea26, transparent 70%),
    radial-gradient(460px 320px at 4% 96%, #b9f94c33, transparent 70%);
  animation: bandDrift 18s ease-in-out infinite alternate; }
.band:nth-of-type(even)::before { background-position: left -120px center, 8% 6%, 96% 96%; transform: scaleX(-1); }
@keyframes bandDrift { from { opacity: .75; } to { opacity: 1; } }

/* 本文ブロックのカード：ガラス調の面、上辺のアクセント線、角の光 */
.editorial-copy, .narrative-body, .message-body, .editorial > div:nth-child(2), .company-teaser > div:nth-child(2) {
  position: relative; padding: 34px 38px; border: 1px solid #dedaf0; border-radius: 10px; overflow: hidden;
  background: linear-gradient(145deg, #ffffffeb, #ffffffb8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 22px 54px #5040d81c; }
.editorial-copy::before, .narrative-body::before, .message-body::before, .editorial > div:nth-child(2)::before, .company-teaser > div:nth-child(2)::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-light) 55%, var(--mint)); }
.editorial-copy::after, .narrative-body::after, .message-body::after, .editorial > div:nth-child(2)::after, .company-teaser > div:nth-child(2)::after {
  content: ''; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #b9f94c40, transparent 68%); }
.editorial-copy > *, .narrative-body > *, .message-body > *, .editorial > div:nth-child(2) > *, .company-teaser > div:nth-child(2) > * { position: relative; z-index: 1; }
.editorial > div:nth-child(2) p:last-child, .editorial-copy p:last-child { margin-bottom: 0; }
/* 表（会社概要など）の外枠にも同じ面を使う場合は、上のカードをそのまま継承しないよう除外 */
.editorial > div:nth-child(2).photo-panel { all: unset; }

/* 写真背景の上では、すりガラス（暗） */
.photo-section.dark .editorial-copy, .photo-section.dark .editorial > div:nth-child(2), .photo-section.dark .company-teaser > div:nth-child(2), .photo-section.dark .editorial > div:nth-child(2) {
  background: linear-gradient(145deg, #ffffff24, #ffffff0f); border-color: #ffffff4d; box-shadow: 0 22px 60px #1a1245aa; }
.photo-section.dark .editorial-copy::before, .photo-section.dark .editorial > div:nth-child(2)::before, .photo-section.dark .company-teaser > div:nth-child(2)::before { background: linear-gradient(90deg, var(--mint), #ffffff00); }

/* 薄色セクションに写真を敷く（左を白く抜く） */
.photo-section.light { background: var(--surface); }
.photo-section.light::after { background: linear-gradient(100deg, #f5f4fcf7 22%, #f5f4fce0 58%, #f5f4fc99); }
.photo-section.light > .bg { opacity: .9; }

/* サービスカードの写真ヘッダー */
.card-photo { position: relative; align-self: stretch; height: 138px; margin: -28px -23px 22px; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.card-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, #3027651f); }
.service-directory article:hover .card-photo img { transform: scale(1.08); }
.service-directory article > .icon { margin-top: -50px; position: relative; z-index: 1; box-shadow: 0 10px 24px #30276533; }
.service-directory .feature-service > .icon { background: #5040d8; }

/* 業界リストの写真サムネイル */
.industry-links a { grid-template-columns: 148px 105px minmax(190px, 1fr) minmax(250px, 1.25fr) 40px; }
.industry-icon { position: relative; width: 148px; height: 92px; border-radius: 10px; overflow: hidden; background: var(--ink); box-shadow: 0 10px 26px #5040d826; }
.industry-icon > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.industry-icon > .icon { position: absolute; left: 8px; bottom: 8px; width: 34px; height: 34px; padding: 6px; border-radius: 9px; background: var(--brand); color: var(--mint); box-sizing: border-box; }
.industry-links a:hover .industry-icon { background: var(--ink); transform: none; }
.industry-links a:hover .industry-icon > img { transform: scale(1.1); }

@media (max-width: 850px) { .industry-links a { grid-template-columns: 112px 1fr 1.1fr 40px; } .industry-icon { width: 112px; height: 74px; } }
@media (max-width: 680px) {
  .editorial-copy, .narrative-body, .message-body, .editorial > div:nth-child(2), .company-teaser > div:nth-child(2) { padding: 24px 22px; }
  .band::before { background-size: 160% auto, auto, auto; background-position: right -40% bottom, 92% 6%, 4% 96%; }
  .industry-links a { grid-template-columns: 96px 1fr 36px; }
  .industry-links a > .industry-icon { width: 96px; height: 68px; grid-row: 1 / span 3; }
  .card-photo { height: 112px; margin: -23px -22px 18px; }
}
@media (prefers-reduced-motion: reduce) { .band::before { animation: none !important; } }

/* 周期の帯：GRAVI以外（薄色背景）でも番号と光の走査が見えるように */
.cycle-strip > div { counter-increment: cy; position: relative; overflow: hidden; }
.cycle-strip > div::before { color: var(--brand); opacity: 1; }
.cycle-strip > div::after { background: linear-gradient(90deg, transparent, var(--brand-light), transparent); }
.gravi-story .cycle-strip > div::before { color: #fff; opacity: .8; }
.gravi-story .cycle-strip > div::after { background: linear-gradient(90deg, transparent, #fff, transparent); }

/* ======== GRAVI下部：ステップ帯と余白にもグラフィックを ======== */
.gravi-story > .bg-photo { opacity: .8; }
.gravi-story > .bg-photo2 { position: absolute; z-index: -2; right: 0; bottom: 0; width: 70%; height: 78%; object-fit: cover; opacity: .75; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 85% 90%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 80% 90% at 85% 90%, #000 25%, transparent 78%);
  transform: translate3d(0, var(--ty, 0px), 0); will-change: transform; }
.gravi-art { top: 62%; }

/* 3ステップ：ガラスのカード、大きな透かし番号、流れる光 */
.gravi-story .cycle-strip { gap: 18px; }
.gravi-story .cycle-strip > div { padding: 26px 24px 24px; border: 1px solid #ffffff47; border-top: 2px solid var(--mint); border-radius: 10px;
  background: linear-gradient(150deg, #ffffff26, #ffffff0d); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 44px #1a124566; transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s, box-shadow .35s; }
.gravi-story .cycle-strip > div:hover { transform: translateY(-6px); border-color: #ffffff80; box-shadow: 0 26px 56px #1a124599; }
.gravi-story .cycle-strip > div::before { position: absolute; right: 14px; top: 2px; margin: 0; font-size: 5.2rem; letter-spacing: -.04em; line-height: 1; opacity: .14; color: #fff; }
.gravi-story .cycle-strip > div > * { position: relative; z-index: 1; }
.gravi-story .cycle-strip > div::after { top: -2px; }
.gravi-story .story-cycle-note { display: inline-block; margin-top: 30px; padding: 16px 22px 16px 20px; border-left: 3px solid var(--mint); border-radius: 0 8px 8px 0; background: linear-gradient(90deg, #ffffff22, #ffffff00); }
@media (max-width: 680px) { .gravi-story > .bg-photo2 { width: 100%; height: 55%; } .gravi-story .cycle-strip > div::before { font-size: 4rem; } .gravi-art { top: 70%; } }

/* ======== タイポグラフィ：強弱・リズム・表示書体 ======== */
:root { --jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; --display: "Space Grotesk", "Noto Sans JP", Arial, sans-serif; }
body { font-family: var(--jp); font-weight: 400; font-feature-settings: "palt"; letter-spacing: .02em; line-height: 2; font-size: 16px; }
p { color: #3f3a5e; }
strong, b { font-weight: 700; }

/* 見出し：太く、詰め、行間を締める。最後の行を強調色に */
h1, h2, h3 { font-weight: 900; letter-spacing: -.015em; line-height: 1.28; color: var(--ink); }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); margin-bottom: 26px; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-weight: 800; letter-spacing: -.005em; }
.hl { font-style: normal; background: linear-gradient(100deg, var(--brand) 10%, var(--brand-light) 55%, #7cc01f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.photo-section.dark .hl, .gravi-story .hl, .contact-panel .hl { background: none; -webkit-text-fill-color: var(--mint); color: var(--mint); }
.page-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.3rem); line-height: 1.2; margin-bottom: 26px; letter-spacing: -.02em; }
.page-lead { font-size: 1.12rem; font-weight: 500; line-height: 1.95; color: #4a4570; max-width: 40em; }
.home-hero h1 { font-size: clamp(3rem, 6.6vw, 5.7rem); font-weight: 900; line-height: 1.16; letter-spacing: -.03em; }
.hero-lead { font-size: 1.14rem; font-weight: 500; line-height: 1.95; }

/* アイブロウ：細い線＋広い字間の小見出し */
.eyebrow { display: flex; align-items: center; gap: 14px; font-family: var(--display), var(--jp); font-size: .82rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--brand); margin-bottom: 22px; }
.eyebrow::before { content: ''; flex: none; width: 34px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--mint)); }
.home-hero .eyebrow, .gravi-story .eyebrow, .photo-section.dark .eyebrow { color: var(--mint); }
.home-hero .eyebrow::before, .gravi-story .eyebrow::before, .photo-section.dark .eyebrow::before { background: var(--mint); }
.page-hero .eyebrow, .section-intro .eyebrow { margin-bottom: 18px; }

/* 本文：先頭の段落をリード文として大きく。ほかは読みやすさ優先で控えめに */
.editorial-copy p, .editorial > div:nth-child(2) p, .narrative-body p, .message-body p { font-size: .98rem; line-height: 2.05; }
.editorial-copy > p:first-child, .editorial > div:nth-child(2) > p:first-child, .narrative-body > p:not(.story-lead):first-child { font-size: 1.16rem; font-weight: 700; line-height: 1.9; color: var(--ink); }
.story-lead { font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 900; line-height: 1.6; letter-spacing: -.01em; }
.story-emphasis { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 900; line-height: 1.75; color: var(--ink); background: linear-gradient(transparent 68%, #b9f94c99 0); display: inline; padding: 0 .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.message-body .message-emphasis { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; letter-spacing: -.01em; border-left-width: 4px; border-image: linear-gradient(var(--brand), var(--mint)) 1; }
.muted { font-size: .82rem; letter-spacing: .03em; }
.photo-section.dark .editorial-copy > p:first-child, .photo-section.dark .editorial > div:nth-child(2) > p:first-child { color: #fff; }

/* 数字・ロゴ・電話などの表示書体 */
.logo, .hero-feature-brand, .experience, .phone, .process li::before, .stat b, .investment-grid strong, .service-directory .feature-service h3, .cycle-strip > div::before { font-family: var(--display); }
.stat b { font-weight: 700; letter-spacing: -.05em; font-size: clamp(4rem, 9vw, 7rem); }
.stat b small { font-weight: 900; font-size: clamp(1.1rem, 2vw, 1.6rem); }
.stat p { font-weight: 700; font-size: .92rem; line-height: 1.75; }
.investment-grid strong { font-weight: 700; letter-spacing: -.03em; }
.process li::before { font-size: 2.6rem; font-weight: 700; letter-spacing: -.04em; background: linear-gradient(135deg, var(--brand), #7cc01f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.experience { font-weight: 700; }

/* カード・一覧の文字階層 */
.service-directory article h3 { font-size: 1.6rem; font-weight: 900; }
.service-directory article p { font-size: .93rem; line-height: 1.95; }
.industry-headline { font-size: 1.18rem; font-weight: 900; letter-spacing: -.01em; }
.industry-name { font-family: var(--jp); font-weight: 700; letter-spacing: .12em; font-size: .8rem; }
.value-list article h3 { font-size: 1.35rem; font-weight: 900; }
.cycle-strip strong { font-size: 1.3rem; font-weight: 900; letter-spacing: -.005em; }
.philosophy h3, .philosophy article h2 { font-weight: 900; }
.company-directory article h2 { font-weight: 900; }
.text-link { font-weight: 700; letter-spacing: .04em; }
.button { font-weight: 700; letter-spacing: .06em; }
.desktop-nav { font-weight: 500; letter-spacing: .06em; }
.breadcrumb { letter-spacing: .06em; }
.section-intro p { font-size: 1.04rem; line-height: 2; }

/* 理念スローガン：さらに大きく、字詰め */
.photo-section .mission-slogan { font-size: clamp(2.6rem, 6.4vw, 5.2rem); letter-spacing: -.03em; font-weight: 900; line-height: 1.22; }
.contact-inner h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 900; letter-spacing: -.015em; }

@media (max-width: 680px) {
  body { line-height: 1.95; }
  h2 { font-size: clamp(1.75rem, 7.4vw, 2.4rem); }
  .home-hero h1 { font-size: clamp(2.6rem, 11vw, 3.9rem); }
  .page-hero h1 { font-size: clamp(2rem, 8.6vw, 3rem); }
  .eyebrow { letter-spacing: .16em; font-size: .76rem; }
  .eyebrow::before { width: 24px; }
  .editorial-copy > p:first-child, .editorial > div:nth-child(2) > p:first-child { font-size: 1.06rem; }
  .stat b { font-size: clamp(3.6rem, 18vw, 5rem); }
}

/* 濃色面の見出しは白（共通の見出し色に上書きされないように） */
.home-hero h1, .home-hero h2, .contact-panel h2, .contact-panel h3, .service-directory .feature-service h3, .footer h2, .gravi-story h2, .gravi-story h3, .photo-section.dark h2, .photo-section.dark h3 { color: #fff; }

/* 巨大な英字の背景タイポ（セクションの主題を示す。装飾のみ） */
.bg-word { position: absolute; z-index: -1; right: -1.5%; bottom: -.1em; pointer-events: none; user-select: none; white-space: nowrap;
  font: 700 clamp(5rem, 17vw, 16rem)/.82 var(--display); letter-spacing: -.055em; color: transparent; -webkit-text-stroke: 1.5px #5040d82e; }
.gravi-story .bg-word, .photo-section.dark .bg-word { -webkit-text-stroke-color: #ffffff3d; }
.page-hero .bg-word { z-index: -1; bottom: -.14em; right: auto; left: 3%; -webkit-text-stroke-color: #5040d833; font-size: clamp(4.5rem, 14vw, 13rem); }
.surface.band, .photo-section, .gravi-story, .page-hero { position: relative; }
.wrap.section > .bg-word { z-index: -1; }

/* ヒーロー直下のティッカー：大きな字がゆっくり流れる */
.ticker { overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); padding-block: 22px 18px; }
.ticker-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: ticker 46s linear infinite; }
.ticker span { font: 700 clamp(2.4rem, 5.4vw, 4.4rem)/1 var(--display); letter-spacing: -.04em; color: var(--ink); white-space: nowrap; }
.ticker span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--brand); }
.ticker i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px #b9f94c40; }
@keyframes ticker { to { transform: translateX(-25%); } }
@media (max-width: 680px) { .ticker-track { gap: 22px; } .ticker { padding-block: 16px 12px; } }

/* 日本語の改行：文節単位で折り返し、行長をそろえる */
h1, h2, h3, .story-lead, .story-emphasis, .message-emphasis { word-break: auto-phrase; line-break: strict; text-wrap: balance; }
p, li { line-break: strict; text-wrap: pretty; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.05rem); }
.editorial > div:first-child h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
.photo-section .mission-slogan { font-size: clamp(2.3rem, 4.4vw, 4rem); }
.photo-section .mission-slogan > span { display: block; white-space: nowrap; }
.photo-section .mission-slogan > br { display: none; }
@media (max-width: 680px) { h2 { font-size: clamp(1.7rem, 7vw, 2.3rem); } .editorial > div:first-child h2 { font-size: clamp(1.7rem, 7vw, 2.3rem); } }

/* ======== 写真主体へ：業界リストのサムネは罫線から罫線まで全高、ステップ帯も写真付き ======== */
.industry-links a { grid-template-columns: 260px 105px minmax(190px, 1fr) minmax(250px, 1.25fr) 40px; gap: 0 28px; padding: 0 12px 0 0; align-items: stretch; min-height: 132px; }
.industry-links a > .industry-name, .industry-links a > .industry-headline, .industry-links a > .industry-summary, .industry-links a > .link-mark { align-self: center; }
.industry-icon { width: 260px; height: auto; min-height: 132px; margin: 0; border-radius: 0; box-shadow: none; }
.industry-links a:hover { padding-left: 0; }
.industry-icon::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #ffffff30); pointer-events: none; }

.gravi-story .cycle-strip > div { padding: 0 0 24px; }
.gravi-story .cycle-strip > div > strong, .gravi-story .cycle-strip > div > p { margin-inline: 24px; }
.step-photo { position: relative; height: 150px; margin-bottom: 20px; overflow: hidden; border-radius: 10px 10px 0 0; }
.step-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.step-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 45%, #3a2fa0cc); }
.gravi-story .cycle-strip > div:hover .step-photo img { transform: scale(1.08); }
.gravi-story .cycle-strip > div::before { z-index: 2; top: 10px; opacity: .55; font-size: 3.6rem; }

@media (max-width: 850px) { .industry-links a { grid-template-columns: 170px 1fr 1.1fr 40px; } .industry-icon { width: 170px; } .industry-links a > .industry-name { display: none; } }
@media (max-width: 680px) {
  .industry-links a { grid-template-columns: 112px 1fr 36px; gap: 4px 14px; padding: 0 6px 0 0; min-height: 118px; }
  .industry-links a > .industry-icon { width: 112px; height: auto; min-height: 118px; grid-row: 1 / span 3; }
  .industry-links a > .industry-name { display: block; align-self: end; }
  .industry-links a > .industry-summary { align-self: start; }
  .step-photo { height: 120px; }
}
.industry-headline, .industry-summary, .stat p, .page-lead, .hero-lead { word-break: auto-phrase; line-break: strict; text-wrap: pretty; }
.industry-links a { grid-template-columns: 260px 96px minmax(250px, 1.1fr) minmax(220px, 1fr) 40px; }

/* ======== お問い合わせ帯：ページの締めとして中央に据える ======== */
.contact-panel .contact-inner { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 36px; min-height: 0; padding-block: clamp(84px, 11vw, 140px); }
.contact-panel .contact-inner > div { display: flex; flex-direction: column; align-items: center; }
.contact-panel h2 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); line-height: 1.24; letter-spacing: -.02em; margin-bottom: 26px; text-wrap: balance; }
.contact-panel p { max-width: 32em; font-size: 1.08rem; font-weight: 500; line-height: 2; margin-inline: auto; }
.contact-panel .button { min-width: 300px; min-height: 64px; padding-inline: 2.2rem; font-size: 1.08rem; border-radius: 999px; box-shadow: 0 16px 44px #1a124566; }
.contact-panel .button::after { content: '→'; margin-left: .8em; transition: transform .3s; }
.contact-panel .button:hover::after { transform: translateX(6px); }
.contact-panel::after { content: ''; position: absolute; left: 50%; top: 50%; width: min(760px, 90vw); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #ffffff26 0, #ffffff00 62%); }
.contact-panel .contact-inner > * { opacity: 1; }
@media (max-width: 680px) { .contact-panel .contact-inner { align-items: center; gap: 28px; } .contact-panel .button { min-width: 0; width: 100%; } }

/* ======== 下層ページの再構成（中央配置・交互パネル・写真カード） ======== */

/* --- 中央配置ブロック共通 --- */
.wrap.section.center { text-align: center; display: flex; flex-direction: column; align-items: center; max-width: 980px; }
.center .eyebrow { justify-content: center; }
.center h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18em; }
.center-copy { max-width: 40em; text-align: left; margin-top: 18px; padding: 34px 38px; border: 1px solid #dedaf0; border-radius: 10px; background: linear-gradient(145deg, #ffffffeb, #ffffffb8); box-shadow: 0 22px 54px #5040d81c; position: relative; overflow: hidden; }
.center-copy::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-light) 55%, var(--mint)); }
.center-copy p:first-child { font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.center-copy .story-emphasis { display: inline; }
.photo-section.dark .center-copy { background: linear-gradient(145deg, #ffffff24, #ffffff0f); border-color: #ffffff4d; }

/* --- 事業・サービス：交互の大型パネル --- */
.service-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; background: #fff; }
.service-panel.tint { background: var(--surface); }
.service-panel.dark { background: var(--ink); color: #fff; }
.service-panel .sp-photo { position: relative; overflow: hidden; min-height: 320px; }
.service-panel .sp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.service-panel:hover .sp-photo img { transform: scale(1.06); }
.service-panel .sp-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, #ffffff3d); }
.service-panel.rev .sp-photo { order: 2; }
.service-panel.rev .sp-photo::after { background: linear-gradient(270deg, transparent 55%, #ffffff3d); }
.service-panel .sp-copy { align-self: center; padding: clamp(48px, 7vw, 110px) clamp(28px, 6vw, 96px); max-width: 700px; }
.service-panel.rev .sp-copy { justify-self: end; }
.service-panel .sp-copy h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 24px; }
.service-panel .sp-copy p:not(.eyebrow) { font-size: 1.04rem; line-height: 2.05; }
.service-panel.dark h2, .service-panel.dark p { color: #fff; }
.service-panel.dark .eyebrow, .service-panel.dark .text-link { color: var(--mint); }
.service-panel.dark .eyebrow::before { background: var(--mint); }
.service-panel.dark .text-link { border-color: #b9f94c99; }
.service-panel.dark .bg-word { -webkit-text-stroke-color: #ffffff2e; }
.service-panel .bg-word { z-index: -1; right: 2%; }
.service-panel.rev .bg-word { right: auto; left: 2%; }
.service-panel .sp-copy .text-link { margin-top: 12px; }

/* --- 企業理念 --- */
.page-hero.center { background: var(--ink); color: #fff; text-align: center; }
.page-hero.center .page-photo { width: 100%; opacity: .75; -webkit-mask-image: none; mask-image: none; }
.page-hero.center::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 50%, #30276555, #302765d9 75%); }
.page-hero.center .page-art { opacity: .6; }
.page-hero.center .wrap { padding-block: clamp(90px, 12vw, 170px); display: flex; flex-direction: column; align-items: center; }
.page-hero.center .eyebrow { color: var(--mint); justify-content: center; }
.page-hero.center .eyebrow::before { background: var(--mint); }
.page-hero.center h1 { color: #fff; font-size: clamp(2.8rem, 8vw, 6.4rem); max-width: none; text-shadow: 0 6px 40px #1a124599; }
.page-hero.center .page-lead { color: #efecff; margin-inline: auto; text-align: center; }
.page-hero.center .bg-word { left: 50%; transform: translateX(-50%); -webkit-text-stroke-color: #ffffff30; }
.page-hero.center .breadcrumb { color: #fff; }

.label { font-size: .95rem !important; font-weight: 700; letter-spacing: .18em; margin-bottom: 20px !important; color: var(--muted); }
.photo-section.dark .label { color: #d8d2ff; }
.statement { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; line-height: 1.2; letter-spacing: -.03em; margin-bottom: 36px; }
.statement.md { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
.statement.display { font-family: var(--display); font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: -.04em; }
.mission-block .section { padding-block: clamp(100px, 13vw, 190px); }
.mission-block .lead-p { max-width: 36em; font-size: 1.12rem; line-height: 2.2; font-weight: 500; color: #f1efff; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-photo { position: relative; margin: 0; aspect-ratio: 5 / 4; border-radius: 8px; }
.split-photo::before { content: ''; position: absolute; inset: 0; transform: translate(16px, 16px); border: 2px solid var(--brand-light); border-radius: 8px; opacity: .5; }
.split-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; box-shadow: 0 26px 60px #30276555; }
.split-copy p:not(.eyebrow) { font-size: 1.04rem; line-height: 2.05; }

.values-block .section { text-align: center; display: flex; flex-direction: column; align-items: center; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; width: 100%; margin: 28px 0 34px; }
.values-grid article { position: relative; overflow: hidden; text-align: left; border-radius: 10px; background: #fff; border: 1px solid #dedaf0; box-shadow: 0 22px 50px #5040d81f; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.values-grid article:hover { transform: translateY(-8px); box-shadow: 0 30px 64px #5040d838; }
.values-grid .step-photo { height: 190px; margin: 0; border-radius: 0; }
.values-grid .vnum { position: absolute; right: 18px; top: 10px; font: 700 3.6rem/1 var(--display); letter-spacing: -.04em; color: #fff; opacity: .7; }
.values-grid h3 { margin: 0; padding: 22px 24px 26px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 900; letter-spacing: -.01em; }
.values-note { max-width: 40em; font-size: 1.04rem; line-height: 2.05; text-align: left; }
.origin-copy { max-width: 40em; text-align: center; }
.origin-copy p { font-size: 1.08rem; line-height: 2.1; }
.origin-block .section { padding-block: clamp(84px, 11vw, 150px); }

/* --- 関連リンクのカード --- */
.related-cards { text-align: center; }
.related-wrap { margin-top: 56px; }
.related-cards h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 26px; }
.rc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.rc { position: relative; display: flex; align-items: flex-end; min-height: 190px; padding: 22px 24px; border-radius: 10px; overflow: hidden; isolation: isolate; color: #fff; text-align: left; font-weight: 900; font-size: 1.2rem; letter-spacing: -.005em; box-shadow: 0 18px 44px #30276540; }
.rc img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.rc::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, #302765e6 8%, #30276540 70%); }
.rc::after { content: '→'; position: absolute; right: 22px; bottom: 22px; color: var(--mint); font-weight: 700; transition: transform .3s; }
.rc:hover img { transform: scale(1.1); }
.rc:hover::after { transform: translateX(6px); }

/* --- 企業情報：写真カード --- */
.company-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.company-card { position: relative; display: flex; align-items: flex-end; min-height: 520px; padding: 34px 30px; border-radius: 12px; overflow: hidden; isolation: isolate; color: #fff; box-shadow: 0 26px 60px #30276545; }
.company-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.company-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, #1e1650f2 12%, #30276599 52%, #30276526); }
.company-card:hover > img { transform: scale(1.1); }
.company-card .cc-num { display: block; font: 700 clamp(4rem, 7vw, 6rem)/1 var(--display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px #ffffffb0; margin-bottom: 18px; }
.company-card h2 { color: #fff; font-size: clamp(1.8rem, 2.8vw, 2.4rem); margin-bottom: 12px; }
.company-card p { color: #efecff; font-size: .98rem; }
.company-card .cc-more { display: inline-block; margin-top: 18px; color: var(--mint); font-weight: 700; letter-spacing: .06em; border-bottom: 1px solid #b9f94c99; padding-bottom: 4px; }
.company-card .cc-more::after { content: ' →'; }

/* --- 会社概要 --- */
.profile-section { max-width: none; }
.profile-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: stretch; margin-bottom: 20px; }
.profile-main .profile-table { margin-bottom: 0; }
.profile-table dt { font-size: .82rem; letter-spacing: .14em; color: var(--brand); }
.profile-table dd { font-size: 1.06rem; font-weight: 500; }
.profile-table div:nth-child(2) dd { font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1.3 var(--display); letter-spacing: -.03em; color: var(--ink); }
.profile-visual { position: relative; min-height: 420px; border-radius: 12px; overflow: hidden; isolation: isolate; box-shadow: 0 26px 60px #30276545; }
.profile-visual img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.profile-visual::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, #1e1650ee 6%, #30276533 62%); }
.pv-word { position: absolute; left: 24px; bottom: 22px; font: 700 clamp(2.6rem, 5vw, 4.4rem)/.95 var(--display); letter-spacing: -.05em; color: #fff; }

/* --- お問い合わせ --- */
.contact-lead h2 { max-width: 16em; }
.contact-options { grid-template-columns: 1.15fr .85fr; gap: 22px; }
.contact-options > div { padding: clamp(28px, 4vw, 48px); border-radius: 12px; position: relative; overflow: hidden; }
.contact-options > div:first-child { background: linear-gradient(135deg, var(--brand), var(--brand-light)); border: 0; color: #fff; box-shadow: 0 26px 60px #5040d855; }
.contact-options > div:first-child h2, .contact-options > div:first-child p { color: #fff; }
.contact-options > div:first-child .button { min-height: 62px; font-size: 1.05rem; border-radius: 999px; padding-inline: 2rem; margin-top: 8px; }
.contact-options > div:first-child .button::after { content: '→'; margin-left: .8em; }
.contact-options > div:last-child { background: #fff; }
.contact-options .phone { display: block; font: 700 clamp(2.2rem, 4.4vw, 3.6rem)/1.15 var(--display); letter-spacing: -.04em; margin: 16px 0 12px; }

/* --- 業界ページ：着手領域・指標・関連 --- */
.value-list.compact { grid-template-columns: repeat(3, 1fr); gap: 20px; border: 0; counter-reset: vl; margin-top: 8px; }
.value-list.compact article { display: block; counter-increment: vl; position: relative; padding: 34px 26px 30px; border: 1px solid #dedaf0; border-radius: 10px; background: #fff; box-shadow: 0 18px 44px #5040d81a; transition: transform .35s, box-shadow .35s; }
.value-list.compact article:hover { transform: translateY(-6px); box-shadow: 0 26px 56px #5040d833; }
.value-list.compact article::before { content: counter(vl, decimal-leading-zero); display: block; font: 700 3.4rem/1 var(--display); letter-spacing: -.05em; background: linear-gradient(135deg, var(--brand), #7cc01f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 14px; }
.value-list.compact article h3 { margin-bottom: 10px; font-size: 1.3rem; }
.measure { position: relative; overflow: hidden; border: 0; border-radius: 12px; padding: clamp(30px, 4vw, 52px); background: linear-gradient(120deg, var(--ink), #4938c5); color: #fff; box-shadow: 0 26px 60px #30276555; }
.measure::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, #b9f94c59, transparent 66%); }
.measure h3 { color: var(--mint); font-size: .95rem; letter-spacing: .16em; margin-bottom: 14px; }
.measure p { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 900; line-height: 1.6; letter-spacing: -.01em; position: relative; z-index: 1; }

/* --- 代表メッセージ：章見出し --- */
.message-body h2 { text-align: center; margin: 64px 0 36px; font-size: clamp(1.9rem, 3.8vw, 2.9rem); position: relative; padding-top: 30px; }
.message-body h2::before { content: ''; position: absolute; left: 50%; top: 0; width: 56px; height: 3px; transform: translateX(-50%); background: linear-gradient(90deg, var(--brand), var(--mint)); }
.message-aside { position: sticky; top: 110px; align-self: start; }
.signature { font-size: 1.1rem; }

@media (max-width: 850px) {
  .service-panel, .split, .profile-grid, .contact-options { grid-template-columns: 1fr; }
  .service-panel.rev .sp-photo { order: 0; }
  .service-panel .sp-photo { min-height: 260px; }
  .service-panel.rev .sp-copy { justify-self: start; }
  .values-grid, .company-cards, .value-list.compact { grid-template-columns: 1fr; }
  .company-card { min-height: 380px; }
}
@media (max-width: 680px) {
  .center-copy { padding: 24px 22px; }
  .statement { font-size: clamp(2.1rem, 9vw, 3.2rem); }
  .page-hero.center h1 { font-size: clamp(2.3rem, 10vw, 3.6rem); }
  .message-aside { position: static; }
  .profile-visual { min-height: 280px; }
}

/* ======== 強調色は単色に（青紫→黄緑のグラデは中間が濁るため廃止） ======== */
.hl { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: var(--brand); color: var(--brand); padding-right: 0; }
.photo-section.dark .hl, .gravi-story .hl, .contact-panel .hl, .page-hero.center .hl { -webkit-text-fill-color: var(--mint); color: var(--mint); }
.process li::before, .value-list.compact article::before { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: var(--brand); color: var(--brand); }

/* ページ上部の読み進みバー */
.read-progress { position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--mint), #fff); pointer-events: none; }

/* 中央配置の小見出し：線を左右に置いて対称にする */
.center .eyebrow, .page-hero.center .eyebrow, .values-block .eyebrow { justify-content: center; }
.center .eyebrow::after, .page-hero.center .eyebrow::after, .values-block .eyebrow::after { content: ''; flex: none; width: 34px; height: 2px; background: linear-gradient(270deg, var(--brand), var(--mint)); }
.page-hero.center .eyebrow::after, .photo-section.dark .center .eyebrow::after, .gravi-story .center .eyebrow::after { background: var(--mint); }
@media (max-width: 680px) { .center .eyebrow::after, .page-hero.center .eyebrow::after, .values-block .eyebrow::after { width: 24px; } }

/* ======== GRAVI誕生秘話 ======== */
.contrast-band .section { padding-block: clamp(56px, 8vw, 110px); }
.story-contrast { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(14px, 2.4vw, 32px); align-items: stretch; }
.sc-side { position: relative; padding: clamp(28px, 4vw, 52px); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; }
.sc-count { background: linear-gradient(160deg, #e9e8f1, #d8d6e6); color: #5d5878; }
.sc-gravi { background: linear-gradient(150deg, var(--ink), #4938c5 70%, #6655ea); color: #fff; box-shadow: 0 30px 70px #5040d855; }
.sc-label { font-weight: 900; font-size: 1.15rem; letter-spacing: .04em; margin-bottom: 26px; color: inherit; }
.sc-sub { margin: 26px 0 0; font-weight: 700; letter-spacing: .06em; color: inherit; }
.sc-sub span { padding: 2px 10px; border-radius: 999px; background: #ffffff59; }
.sc-gravi .sc-sub span { background: #ffffff26; }
.sc-vs { align-self: center; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--mint); font: 700 1.1rem var(--display); letter-spacing: .05em; box-shadow: 0 12px 30px #30276555; }

/* 人型（顔なし）：頭と肩のシルエット */
.fg { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; }
.fg::before { content: ''; position: absolute; left: 50%; top: 4%; width: 36%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: currentColor; }
.fg::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 72%; height: 52%; transform: translateX(-50%); border-radius: 50% 50% 8px 8px / 70% 70% 8px 8px; background: currentColor; }
.sc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px 12px; width: min(100%, 360px); }
.sc-grid .fg { color: #8b87a6; opacity: 0; animation: crowd 5.4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes crowd { 0%, 6% { opacity: 0; transform: translateY(8px) scale(.9); } 16%, 80% { opacity: .85; transform: none; } 100% { opacity: 0; } }

.sc-hero { position: relative; width: min(100%, 300px); aspect-ratio: 1; display: grid; place-items: center; }
.sc-hero .fg.big { width: 34%; color: #fff; filter: drop-shadow(0 0 22px #b9f94c) drop-shadow(0 0 60px #b9f94c88); animation: bob 3.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.sc-hero .orb { position: absolute; border: 1px solid #ffffff55; border-radius: 50%; animation: spin linear infinite; }
.sc-hero .o1 { inset: 12%; animation-duration: 16s; }
.sc-hero .o2 { inset: 0; border-style: dashed; border-color: #ffffff33; animation-duration: 30s; animation-direction: reverse; }
.sc-hero .orb::after { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px 3px #b9f94c99; }
.sc-hero .spark { position: absolute; width: 8px; height: 8px; background: var(--mint); transform: rotate(45deg); animation: twinkle 2.4s ease-in-out infinite alternate; }
.sc-hero .s1 { left: 14%; top: 22%; } .sc-hero .s2 { right: 12%; top: 30%; animation-delay: .8s; } .sc-hero .s3 { right: 24%; bottom: 14%; animation-delay: 1.5s; }
.story-note { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 22px; }

/* 架空の例の引用 */
.fiction { position: relative; margin: 30px 0 0; padding: 30px 28px 22px; border-radius: 10px; border: 1px dashed #ffffff80; background: #ffffff14; font-size: 1.25rem; font-weight: 900; line-height: 1.7; color: #fff; text-align: left; }
.fiction-tag { position: absolute; left: 22px; top: -13px; padding: 3px 12px; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: .74rem; font-weight: 900; letter-spacing: .12em; }
.fiction cite { display: block; margin-top: 14px; font-size: .8rem; font-style: normal; font-weight: 500; color: #e7e3ff; line-height: 1.8; }

.story-checks { text-align: left; width: 100%; margin-top: 28px; }
.story-checks article h3 { font-size: 1.12rem; line-height: 1.55; }
.story-turn .section, .story-answer .section { padding-block: clamp(90px, 11vw, 150px); }
.story-actions { margin-top: 30px; justify-content: center; }
.story-answer .text-link { font-size: 1.05rem; }

@media (max-width: 850px) {
  .story-contrast { grid-template-columns: 1fr; }
  .sc-vs { justify-self: center; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .sc-grid .fg { opacity: .85; } }
.sc-count .sc-grid { margin-block: auto; }
.sc-grid .fg { width: 100%; }
.photo-section.dark .center-copy p, .photo-section.dark .center-copy p:first-child { color: #fff; }

/* 架空のやり取り：会話のテイスト */
.fiction { padding: 34px 28px 22px; font-size: 1rem; font-weight: 500; }
.fx-who { display: inline-block; margin-bottom: 12px; padding: 3px 12px; border-radius: 999px; background: #ffffff26; font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: #e7e3ff; }
.fiction .fx-line { position: relative; margin: 0 0 18px; padding: 18px 22px; border-radius: 4px 18px 18px 18px; background: #ffffff1f; border: 1px solid #ffffff40; font-size: 1.18rem; font-weight: 900; line-height: 1.85; color: #fff; }
.fiction .fx-point { margin: 0; font-size: 1.04rem; font-weight: 700; line-height: 1.95; color: #fff; }
.fiction mark { padding: 0 .18em; border-radius: 3px; background: linear-gradient(transparent 55%, #b9f94c99 0); color: #fff; font-weight: 900; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ======== 誕生秘話：写真による対比（人物が写らない俯瞰のデスク群 vs 笑顔のチーム） ======== */
.story-contrast .sc-side { margin: 0; padding: 0; display: block; min-height: clamp(380px, 46vw, 560px); isolation: isolate; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px #30276540; }
.sc-side > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.sc-side:hover > img { transform: scale(1.06); }
.sc-side::before { content: ''; position: absolute; inset: 0; z-index: -1; }
.sc-count::before { background: linear-gradient(to top, #2a2740f0 6%, #2a274066 55%, #2a274022); }
.sc-gravi::before { background: linear-gradient(to top, #302765f0 6%, #4938c566 55%, #5040d822); }
.sc-count > img { filter: grayscale(1) contrast(1.05); }
.sc-side figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 38px); text-align: left; }
.sc-count, .sc-gravi { background: none; color: #fff; }
.sc-side .sc-label { font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -.005em; margin: 0 0 12px; color: #fff; }
.sc-side .sc-sub { margin: 0; color: #fff; }
.sc-count .sc-sub span { background: #ffffff33; }
.sc-gravi .sc-sub span { background: #b9f94c; color: var(--ink); }
.sc-vs { z-index: 2; }
@media (max-width: 850px) { .story-contrast .sc-side { min-height: 340px; } }

/* ======== GRAVI誕生秘話（再構成）：お金の行き先の図 ======== */
.pull-quote { margin: 4px 0 18px; padding: 20px 24px; border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; background: linear-gradient(90deg, #5040d81a, #5040d805); font-size: 1.14rem; font-weight: 900; line-height: 1.85; color: var(--ink); }
.story-turn .center-copy { text-align: left; }
.money-band .section { text-align: center; display: flex; flex-direction: column; align-items: center; }
.money-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 900; margin-bottom: 40px; }
.money-flow { width: 100%; display: grid; gap: 26px; text-align: left; }
.mf-row { display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center; }
.mf-label { margin: 0; font-weight: 900; font-size: 1.02rem; color: var(--ink); line-height: 1.5; }
.mf-label small { display: block; font-weight: 700; font-size: .78rem; letter-spacing: .06em; color: var(--muted); }
.mf-bar { display: flex; gap: 3px; height: 92px; }
.seg { display: grid; place-items: center; width: calc(var(--w) * 1%); min-width: 0; padding: 6px 8px; border-radius: 8px; text-align: center; overflow: hidden; transition: width 1.5s cubic-bezier(.3, .6, .2, 1); }
.seg b { font-weight: 900; font-size: .92rem; line-height: 1.5; }
.seg.mgmt { background: #d9d6e8; color: #5d5878; }
.seg.dev { background: var(--brand); color: #fff; }
.seg.gain { background: var(--mint); color: var(--ink); box-shadow: 0 0 0 3px #b9f94c55; }
.mf-row.gravi .seg.mgmt { background: #e7e5f1; }
.mf-row.gravi .seg.dev.big { background: linear-gradient(100deg, var(--brand), var(--brand-light)); box-shadow: 0 14px 34px #5040d855; }
.mf-row.gravi .mf-label { color: var(--brand); }
.js .money-flow:not(.in) .seg { width: 0; padding-inline: 0; }
.money-band .story-note { margin-top: 26px; }
.story-answer .split { align-items: center; }
.story-answer .split-photo { aspect-ratio: 5 / 6; }
.story-answer .split-copy h2 { color: #fff; }
.story-answer .split-copy p:not(.eyebrow) { color: #fff; }
.story-answer .split-copy p:not(.eyebrow) + p { margin-top: 16px; }
.story-answer .story-actions { justify-content: flex-start; }
@media (max-width: 850px) {
  .mf-row { grid-template-columns: 1fr; gap: 8px; }
  .mf-bar { height: 108px; }
  .seg b { font-size: .74rem; }
  .story-answer .split-photo { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .js .money-flow .seg { width: calc(var(--w) * 1%) !important; padding-inline: 8px !important; } }
.pull-quote { line-height: 2; }

/* お金の行き先の図：3段を1段ずつ、時間をずらして伸ばす（構成・配分・文言は変更しない） */
.seg { transition-duration: 1.3s; }
.mf-label { transition: opacity .6s ease, transform .6s ease; }
.js .money-flow:not(.in) .mf-label { opacity: 0; transform: translateX(-10px); }
.money-flow .mf-row:nth-child(1) .seg, .money-flow .mf-row:nth-child(1) .mf-label { transition-delay: .2s; }
.money-flow .mf-row:nth-child(2) .seg, .money-flow .mf-row:nth-child(2) .mf-label { transition-delay: 1.7s; }
.money-flow .mf-row:nth-child(3) .seg, .money-flow .mf-row:nth-child(3) .mf-label { transition-delay: 3.2s; }
/* 帯が伸び切る頃に文字を出す（伸びている最中の縦折り返しを見せない） */
.seg b { transition: opacity .5s ease; }
.js .money-flow:not(.in) .seg b { opacity: 0; }
.money-flow .mf-row:nth-child(1) .seg b { transition-delay: 1.1s; }
.money-flow .mf-row:nth-child(2) .seg b { transition-delay: 2.6s; }
.money-flow .mf-row:nth-child(3) .seg b { transition-delay: 4.1s; }
@media (prefers-reduced-motion: reduce) { .js .money-flow .seg b { opacity: 1 !important; } }
/* 待機中の段に細い帯が見えないよう、余白も幅と同じタイミングで動かす */
.seg { transition-property: width, padding-inline; }

/* 確認点は手順ではないので番号を付けない。2つを並べる */
.story-checks { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
.story-checks article::before { display: none; }
@media (max-width: 850px) { .story-checks { grid-template-columns: 1fr; } }
.value-list.compact.story-checks { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; }
.value-list.compact.story-checks article::before { display: none; }
@media (max-width: 850px) { .value-list.compact.story-checks { grid-template-columns: 1fr; } }

/* 代表メッセージの署名：会社名・役職は2行、お名前は毛筆体の大きなサイン風 */
.signature { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-top: 44px; padding-top: 0; text-align: right; }
.signature .sig-co { display: block; font-size: .98rem; font-weight: 700; letter-spacing: .1em; line-height: 1.8; color: var(--muted); }
.signature .sig-name { display: block; font-family: "Yuji Syuku", "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 400; font-size: clamp(3rem, 7vw, 5rem); line-height: 1.1; letter-spacing: .08em; color: var(--ink); transform: rotate(-3deg); transform-origin: right center; text-shadow: 1px 1px 0 #30276522; margin-right: -4px; }
.signature .sig-name::after { content: ''; display: block; height: 3px; margin: 6px 0 0 auto; width: 86%; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--brand)); transform: rotate(1.5deg); opacity: .6; }
@media (max-width: 680px) { .signature { align-items: flex-end; } }

/* 署名（調整）：傾き・線を外し、別の毛筆体で、大きさは約半分 */
.signature .sig-name { font-family: "Yuji Boku", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(1.6rem, 3.5vw, 2.5rem); transform: none; text-shadow: none; margin-right: 0; letter-spacing: .1em; }
.signature .sig-name::after { display: none; }
.signature .sig-name { font-family: "Yuji Mai", "Hiragino Mincho ProN", "Yu Mincho", serif; }

/* ======== 写真が元の色になったため、見出し帯の文字を写真に被せない ======== */
.page-photo { width: 56%; -webkit-mask-image: linear-gradient(to right, transparent 0, #00000026 18%, #000 70%); mask-image: linear-gradient(to right, transparent 0, #00000026 18%, #000 70%); }
@media (min-width: 851px) {
  .page-hero.has-photo:not(.center) h1, .page-hero.has-photo:not(.center) .page-lead { max-width: min(36em, 54%); }
}

/* ======== 業界別ページ：見出し部分のスライダー ======== */
.hero-slider { position: relative; overflow: hidden; }
.hs-track { display: grid; overflow: hidden; }
.hs-slide { grid-area: 1 / 1; min-width: 0; display: flex; will-change: transform; }
.hs-slide > .page-hero { flex: 1 1 auto; width: 100%; }
.hs-slide .page-hero h2 { font-size: clamp(2.3rem, 5.6vw, 4.3rem); line-height: 1.2; margin-bottom: 26px; letter-spacing: -.02em; color: var(--ink); }
.hs-slide .page-hero .wrap { width: min(1180px, calc(100% - 128px)); }
.slide-link { margin-top: 18px; }
@media (min-width: 851px) { .hs-slide .page-hero h2 { max-width: min(36em, 54%); } }

.hs-arrow { position: absolute; top: 50%; z-index: 6; width: 48px; height: 48px; margin-top: -24px; padding: 0; display: grid; place-items: center; border: 1px solid #ffffff80; border-radius: 50%; background: #302765b3; color: #fff; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 10px 28px #30276555; transition: background-color .25s, color .25s, transform .25s; }
.hs-arrow svg { width: 22px; height: 22px; }
.hs-prev { left: 16px; }
.hs-next { right: 16px; }
.hs-arrow:hover { background: var(--mint); color: var(--ink); transform: scale(1.08); }
.hs-arrow:focus-visible, .hs-dot:focus-visible, 
.hs-dots { position: absolute; left: 50%; bottom: 14px; z-index: 6; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #ffffffb8; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hs-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #5040d84d; cursor: pointer; transition: width .3s, background-color .3s; }
.hs-dot.on { width: 26px; border-radius: 6px; background: var(--brand); }

@media (max-width: 850px) {
  .hs-slide .page-hero .wrap { width: calc(100% - 112px); }
  .hs-arrow { width: 40px; height: 40px; margin-top: -20px; }
  .hs-prev { left: 8px; }
  .hs-next { right: 8px; }
  .hs-dots { bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .hs-slide { transition: none !important; } }

/* スライド全体を、その業界ページへのリンクにする（開いているページ自身のスライドは対象外） */
.hs-slide .slide-link { position: static; margin-top: 22px; }
.hs-slide .slide-link::after { content: ''; position: absolute; inset: 0; z-index: 3; }
.hs-slide.is-link { cursor: pointer; }
.hs-slide.is-link .page-photo img { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.hs-slide.is-link:hover .page-photo img { transform: scale(1.05); }
.hs-slide.is-link:hover .slide-link { background: #d2ff85; border-color: #d2ff85; box-shadow: 0 10px 26px #b9f94c55; transform: translateY(-2px); }
.hs-slide .slide-link:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
/* ボタンを動かすと、全面リンクの範囲がボタンの大きさに縮むため、動きは付けない（色と影だけ変える） */
.hs-slide .slide-link, .hs-slide .slide-link:hover, .hs-slide.is-link:hover .slide-link { transform: none; }

/* ======== 業界別ページ：「経営の課題」の右側の文章ブロックを、業界ごとの色にする ======== */
.editorial[class*="ctx-"] > div:nth-child(2) { background: linear-gradient(145deg, var(--ctx-a), var(--ctx-b)); border-color: var(--ctx-line); box-shadow: 0 22px 54px var(--ctx-shadow); }
.editorial[class*="ctx-"] > div:nth-child(2)::before { background: linear-gradient(90deg, var(--ctx-bar1), var(--ctx-bar2)); height: 5px; }
.editorial[class*="ctx-"] > div:nth-child(2)::after { background: radial-gradient(circle, var(--ctx-glow), transparent 68%); }
.editorial[class*="ctx-"] > div:first-child .hl { color: var(--ctx-text); -webkit-text-fill-color: var(--ctx-text); }
.editorial[class*="ctx-"] .eyebrow { color: var(--ctx-text); }
.editorial[class*="ctx-"] .eyebrow::before { background: linear-gradient(90deg, var(--ctx-bar1), var(--ctx-bar2)); }

.ctx-manufacturing { --ctx-a: #e6f5ff; --ctx-b: #c7e6fb; --ctx-line: #9fd0ee; --ctx-shadow: #0b7fb838; --ctx-bar1: #0aa1e6; --ctx-bar2: #0b6fb8; --ctx-glow: #3fb6f066; --ctx-text: #0b6fa8; }
.ctx-medical { --ctx-a: #e3f8f1; --ctx-b: #c4eddf; --ctx-line: #94d9c2; --ctx-shadow: #0f8f7738; --ctx-bar1: #19c2a2; --ctx-bar2: #0f8f77; --ctx-glow: #3ed9b866; --ctx-text: #0c7d68; }
.ctx-logistics { --ctx-a: #fff1de; --ctx-b: #ffdfb2; --ctx-line: #f1c07a; --ctx-shadow: #c46a0038; --ctx-bar1: #fbab1a; --ctx-bar2: #e8650a; --ctx-glow: #ffb24a66; --ctx-text: #b45a00; }
.ctx-legal { --ctx-a: #e9eaf8; --ctx-b: #cfd3ee; --ctx-line: #aab0de; --ctx-shadow: #2a3a8c38; --ctx-bar1: #3a4fb8; --ctx-bar2: #1f2a6e; --ctx-glow: #6f7fe066; --ctx-text: #3a4fc4; }
.ctx-tax { --ctx-a: #f0e9ff; --ctx-b: #ddcffd; --ctx-line: #c2aaf3; --ctx-shadow: #6a3fd638; --ctx-bar1: #9b6cff; --ctx-bar2: #5b34c9; --ctx-glow: #b58cff66; --ctx-text: #5b34c9; }


/* ======== スライダー内の文字を、業界の色（「経営の課題」のブロックと同じ系統）にそろえる ======== */
.hs-slide .page-hero h1, .hs-slide .page-hero h2 { color: var(--hs-strong); }
.hs-slide .page-hero .eyebrow { color: var(--hs-mid); }
.hs-slide .page-hero .eyebrow::before { background: linear-gradient(90deg, var(--hs-mid), var(--hs-line)); }
.hs-slide .page-hero .page-lead { color: var(--hs-lead); }
.hs-slide[data-slug="manufacturing"] { --hs-strong: #0a4f80; --hs-mid: #0b6fa8; --hs-line: #0b8fd0a6; --hs-fill: #0aa1e61f; --hs-lead: #1d5d86; }
.hs-slide[data-slug="medical"] { --hs-strong: #0a6455; --hs-mid: #0c7d68; --hs-line: #16a98da6; --hs-fill: #19c2a21f; --hs-lead: #1f6f61; }
.hs-slide[data-slug="logistics"] { --hs-strong: #8f4700; --hs-mid: #b45a00; --hs-line: #e08a0aa6; --hs-fill: #fbab1a24; --hs-lead: #85521b; }
.hs-slide[data-slug="legal"] { --hs-strong: #1f2a78; --hs-mid: #3a4fc4; --hs-line: #3a4fc4a6; --hs-fill: #3a4fb81f; --hs-lead: #3a4388; }
.hs-slide[data-slug="tax"] { --hs-strong: #4a27a8; --hs-mid: #5b34c9; --hs-line: #7c4dffa6; --hs-fill: #9b6cff1f; --hs-lead: #53348f; }
