:root {
  --black: #000;
  --navy: #121d2a;
  --blue: #12519c;
  --blue-light: #1556a5;
  --gray-100: #f0f0f0;
  --gray-200: #e6e6e6;
  --gray-300: #d9d9d9;
  --white: #fff;
  --font-en: "Marcellus", "Prata", serif;
  --font-jp: "Noto Sans JP", sans-serif;
  --max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-jp);
  color: var(--white);
  background: var(--black);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .9em 2em; border-radius: 999px;
  font-family: var(--font-en); font-size: 1.1rem;
  transition: opacity .3s, transform .3s;
}
.btn:hover { transform: translateY(-2px); opacity: .9; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-round {
  width: 90px; height: 90px; justify-content: center;
  background: var(--white); font-size: 2rem; padding: 0;
}

.section-head { margin-bottom: 3rem; }
.section-head.inline { display: flex; align-items: baseline; gap: 1rem; }
.section-en {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400; letter-spacing: .02em;
}
.section-jp { color: var(--blue); font-weight: 700; font-size: .95rem; }
.section-jp::before { content: "• "; }
.light { color: var(--white); }
.center { text-align: center; margin-top: 3rem; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2.5rem; mix-blend-mode: difference;
}
.logo { font-family: var(--font-en); font-size: 1.6rem; display: flex; align-items: center; gap: .5rem; color: var(--white); }
.logo-sub { font-size: .6rem; line-height: 1; opacity: .8; }
.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.header-cta {
  font-family: var(--font-jp); font-size: .85rem; font-weight: 700; letter-spacing: .02em;
  color: #fff; border: 1px solid rgba(255,255,255,.55); border-radius: 999px;
  padding: .6em 1.45em; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.header-cta:hover { background: #fff; color: #161616; border-color: #fff; }
.nav-toggle { width: 40px; height: 28px; display: flex; flex-direction: column; justify-content: space-between; background: none; border: none; cursor: pointer; }
.nav-toggle span { height: 2px; background: var(--white); display: block; }
.nav-toggle span:last-child { width: 70%; align-self: flex-end; }

.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 2.5rem 6rem; overflow: hidden;
  background: url("img/satellite.webp") center/cover no-repeat;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
/* 全画面固定の単一の月（app.jsがtransform/opacityをスクロール連動で更新） */
.planet {
  --d: min(80vh, 90vw); /* キャンバス枠。カメラ引きで球は枠の約8割に収まる（縦vh/横vwの小さい方） */
  position: fixed; top: 50%; left: 50%;
  width: var(--d); height: var(--d);
  margin: calc(var(--d) * -0.5) 0 0 calc(var(--d) * -0.5);
  z-index: 1; pointer-events: none;
  will-change: transform, opacity;
}
.planet canvas { width: 100% !important; height: 100% !important; }
.planet--hidden { opacity: 0 !important; visibility: hidden; }

/* 月の上に重なる白文字の可読性を担保する微シャドウ */
.hero-inner, .message-block { text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.hero-inner { position: relative; z-index: 2; }
.hero-title { font-family: var(--font-en); font-weight: 400; font-size: clamp(3.5rem, 13vw, 11rem); line-height: 1; letter-spacing: .01em; }
.hero-lead { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; margin-top: 1.5rem; }
.hero-text { margin-top: 1rem; font-size: 1.1rem; }
.hero-news {
  position: absolute; left: 2.5rem; right: 2.5rem; bottom: 2rem; z-index: 2;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.2rem 2rem; background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px); border-radius: 8px; font-size: .95rem;
}
.hero-news time { font-family: var(--font-en); letter-spacing: .05em; }

.message {
  position: relative; min-height: 200vh; padding: 10vh 2.5rem;
  /* ※ background-attachment:fixed はiOS Safariでは無視され通常スクロールにフォールバックする点に留意 */
  background: url("img/dark-bg.webp") center/cover fixed no-repeat;
}
.message-block { position: relative; z-index: 2; max-width: 480px; }
.message-left { margin-top: 12vh; }
.message-left h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; line-height: 1.6; }
.message-right { margin-left: auto; margin-top: 62vh; }
.message-right p { font-weight: 700; margin-bottom: 2rem; }
.message-right .btn { margin-top: 1rem; }

.news { background: var(--white); color: var(--black); padding: 8rem 2.5rem; max-width: var(--max); margin-inline: auto; }
.news-list { list-style: none; }
.news-list li { border-bottom: 1px solid var(--gray-200); padding: 2rem 0; }
.news-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.news-meta time { font-family: var(--font-en); }
.tag { font-size: .75rem; color: var(--blue); border: 1px solid var(--blue); border-radius: 999px; padding: .15em 1em; }
.news-list a { font-weight: 500; transition: color .2s; }
.news-list a:hover { color: var(--blue); }
.news .center .btn { color: var(--white); }

.service { background: var(--white); color: var(--black); padding: 6rem 2.5rem 8rem; }
.service > *, .service-banner, .service-body { max-width: var(--max); margin-inline: auto; }
.service-banner { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 7; }
.service-banner img { width: 100%; height: 100%; object-fit: cover; }
.service-catch { position: absolute; left: 2.5rem; bottom: 2rem; color: var(--white); font-family: var(--font-en); font-size: clamp(1.5rem, 3.5vw, 2.8rem); font-weight: 400; line-height: 1.4; }
.service-body { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; max-width: 560px; margin-top: 3rem; }
.service-body .btn { color: var(--white); }

.culture { background: var(--gray-100); color: var(--black); padding: 8rem 2.5rem; }
.culture > *, .culture-body { max-width: var(--max); margin-inline: auto; }
.culture-catch { font-family: var(--font-en); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 400; line-height: 1.4; margin: 2rem 0; }
.culture-body .btn { color: var(--white); margin-top: 1.5rem; }

.recruit { position: relative; overflow: hidden; }
.recruit-bg { background: url("img/satellite-blue.webp") center/cover no-repeat; padding: 6rem 0; overflow: hidden; white-space: nowrap; }
.marquee { display: inline-block; font-family: var(--font-en); font-size: clamp(3rem, 9vw, 8rem); color: var(--white); animation: scroll-x 20s linear infinite; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.recruit-body { background: var(--white); color: var(--black); padding: 6rem 2.5rem; max-width: var(--max); margin-inline: auto; }
.recruit-catch { font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.6; margin: 2rem 0; }
.recruit-body .btn { color: var(--white); }

.cards { background: var(--gray-100); padding: 4rem 2.5rem; display: grid; gap: 1.5rem; max-width: var(--max); margin-inline: auto; }
.card { display: flex; align-items: center; justify-content: space-between; background: var(--white); color: var(--black); border-radius: 16px; padding: 2.5rem 3rem; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.card-blue { background: var(--blue); color: var(--white); }
.card-en { font-family: var(--font-en); font-weight: 400; font-size: clamp(1.8rem, 4vw, 3rem); }
.card-jp { font-size: .85rem; font-weight: 700; }
.card-blue .card-jp { color: rgba(255,255,255,.85); }
.card:not(.card-blue) .card-jp { color: var(--blue); }
.card-jp::before { content: "• "; }
.card-arrow { width: 64px; height: 64px; border-radius: 50%; background: var(--white); color: var(--blue); display: grid; place-items: center; font-size: 1.4rem; }

/* 会社概要テーブル */
.company-table { max-width: var(--max); margin-inline: auto; margin-top: 1rem; }
.company-row { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; padding: 1.6rem .5rem; border-bottom: 1px solid var(--gray-300); }
.company-row:first-child { border-top: 1px solid var(--gray-300); }
.company-table dt { font-weight: 700; font-size: .95rem; color: #161616; }
.company-table dd { font-size: .95rem; color: #333; line-height: 1.9; }
.company-biz { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.company-biz li { position: relative; padding-left: 1.2em; }
.company-biz li::before { content: "—"; position: absolute; left: 0; color: #9aa0a7; }

/* WORKS（これまでの取り組み） */
.works { background: #fff; color: #161616; padding: 96px 2.5rem; }
.works > * { max-width: var(--max); margin-inline: auto; }
.works-lead { font-weight: 700; font-size: 1.05rem; color: #161616; margin: .5rem 0 .8rem; }
.works-note { font-size: .92rem; color: #555; line-height: 1.95; margin-bottom: 2.4rem; max-width: 720px; }
.works-note b { color: #161616; }
.works-note a { color: var(--blue); text-decoration: underline; }
.works-scroll { display: inline-block; margin-top: .8rem; font-size: .8rem; font-weight: 700; color: #9aa0a7; letter-spacing: .03em; }

/* 横スクロールの小さめカード */
.works-list { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x proximity; padding: 1rem .25rem 1.5rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--gray-300) transparent; }
.works-list::-webkit-scrollbar { height: 8px; }
.works-list::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 999px; }
.works-list::-webkit-scrollbar-track { background: transparent; }
.work-card { flex: 0 0 340px; scroll-snap-align: start; display: flex; flex-direction: column; border: 1px solid var(--gray-200); border-radius: 18px; padding: 2rem; transition: box-shadow .3s, transform .3s; }
.work-card:hover { box-shadow: 0 14px 34px rgba(0,0,0,.08); transform: translateY(-3px); }
.work-tag { align-self: flex-start; font-size: .7rem; font-weight: 700; color: var(--blue); border: 1px solid var(--blue); border-radius: 999px; padding: .3em 1em; }
.work-title { font-size: clamp(1.15rem, 2.6vw, 1.45rem); font-weight: 700; margin-top: .9rem; line-height: 1.45; }
.work-client { color: #888; font-size: .85rem; margin-top: .35rem; }
.work-body { color: #333; font-size: .9rem; line-height: 1.85; margin-top: 1.1rem; }
.work-members { display: flex; flex-direction: column; gap: .55rem; margin-top: auto; padding-top: 1.3rem; border-top: 1px solid var(--gray-200); }
.work-member { font-size: .82rem; color: #444; }
.work-member b { color: var(--blue); font-weight: 700; font-size: .7rem; margin-right: .4em; letter-spacing: .03em; }

@media (max-width: 768px) {
  .work-card { flex-basis: 80vw; padding: 1.75rem; }
}

.contact { background: var(--blue); padding: 8rem 2.5rem; }
.contact-inner { max-width: var(--max); margin-inline: auto; position: relative; }
.contact .section-en { font-size: clamp(3rem, 10vw, 8rem); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: start; }
.contact-lead .sec-ghost { margin-bottom: 2rem; }
.contact-catch { font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.6; }
.contact-sub { margin-top: 1.6rem; color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.9; }
.contact-mail { display: inline-block; margin-top: 1.8rem; font-family: var(--font-en); font-size: 1.25rem; letter-spacing: .02em; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: .2rem; transition: opacity .2s; }
.contact-mail:hover { opacity: .7; }

.contact-form { background: var(--white); color: var(--black); border-radius: 20px; padding: 2.5rem; box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.cf-fields { display: flex; flex-direction: column; gap: 1.2rem; }
.cf-fields[hidden] { display: none; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.cf-field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.cf-label { font-size: .8rem; font-weight: 700; color: #2a2a2a; }
.cf-label em { color: var(--blue); font-style: normal; margin-left: .15em; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: inherit; font-size: .95rem; color: var(--black); width: 100%;
  border: 1px solid var(--gray-200); border-radius: 10px; padding: .8em 1em; background: #fafafa;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(18,81,156,.12);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.cf-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .82rem; color: #555; line-height: 1.6; }
.cf-consent a { color: var(--blue); text-decoration: underline; }
.cf-consent input { width: auto; margin-top: .25rem; accent-color: var(--blue); }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-submit { background: var(--blue); color: var(--white); justify-content: center; margin-top: .4rem; cursor: pointer; border: none; width: 100%; }
.cf-submit:disabled { opacity: .55; cursor: default; transform: none; }
.cf-status { font-size: .9rem; min-height: 1.1em; margin: 0; }
.cf-status.is-err { color: #c0392b; }
.cf-done { text-align: center; padding: 2rem 1rem; }
.cf-done-icon { font-size: 2.6rem; line-height: 1; }
.cf-done-title { font-weight: 700; font-size: 1.15rem; margin-top: 1rem; color: var(--black); }
.cf-done-text { color: #555; font-size: .92rem; margin-top: .6rem; line-height: 1.8; }

.site-footer { background: var(--navy); padding: 6rem 2.5rem 3rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2rem; max-width: var(--max); margin: 0 auto 5rem; }
.footer-nav a { display: flex; flex-direction: column; gap: .4rem; transition: opacity .2s; }
.footer-nav a:hover { opacity: .7; }
.footer-nav .en { font-family: var(--font-en); font-size: 1.8rem; }
.footer-nav .jp { font-size: .8rem; color: var(--gray-300); }
.footer-logo { font-family: var(--font-en); font-size: 3rem; max-width: var(--max); margin: 0 auto 3rem; }
.footer-bottom { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); padding-top: 2rem; font-size: .85rem; }
.footer-links { display: flex; gap: 2rem; align-items: center; }

/* --- スクロールインアニメーション --- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal--in { opacity: 1; transform: none; }

/* --- オーバーレイメニュー --- */
.site-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7, 11, 18, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity .45s ease, visibility .45s ease;
}
body.menu-open { overflow: hidden; }
body.menu-open .site-menu { opacity: 1; visibility: visible; }
.site-menu ul { list-style: none; display: flex; flex-direction: column; gap: 1.3rem; padding: 2rem; }
.site-menu li { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
body.menu-open .site-menu li { opacity: 1; transform: none; }
.site-menu li:nth-child(1) { transition-delay: .08s; }
.site-menu li:nth-child(2) { transition-delay: .13s; }
.site-menu li:nth-child(3) { transition-delay: .18s; }
.site-menu li:nth-child(4) { transition-delay: .23s; }
.site-menu li:nth-child(5) { transition-delay: .28s; }
.site-menu li:nth-child(6) { transition-delay: .33s; }
.site-menu li:nth-child(7) { transition-delay: .38s; }
.site-menu a { display: flex; align-items: baseline; gap: 1.2rem; color: var(--white); transition: opacity .2s; }
.site-menu a:hover { opacity: .55; }
.site-menu .en { font-family: var(--font-en); font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.1; }
.site-menu .jp { font-size: .8rem; color: var(--gray-300); }

/* ハンバーガー -> X */
.nav-toggle span { transition: transform .3s ease, opacity .3s ease, width .3s ease; transform-origin: center; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(13px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { width: 100%; transform: translateY(-13px) rotate(-45deg); }

/* キーボードフォーカス（a11y） */
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }

@media (max-width: 768px) {
  .hero-news { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .message-left { margin-top: 8vh; }
  .message-right { margin-top: 48vh; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .header-actions { gap: .9rem; }
  .header-cta { font-size: .78rem; padding: .5em 1.05em; }
  .contact { padding: 5rem 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-form { padding: 1.75rem 1.5rem; }
  .cf-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================================================================
   SERVICE — Field Insight（2部構成：導入 ＋ 図/Point）
   名前空間 .fi-* で既存スタイルと衝突させない
   =================================================================== */
.fi { background: #edeef0; color: #161616; padding: 96px 40px 110px; }

/* ---- PART 1: 導入 ---- */
.fi-intro { max-width: 1180px; margin: 0 auto 88px; }
.fi-ghost { font-family: var(--font-jp); font-weight: 600; font-size: clamp(72px, 16vw, 230px); line-height: 0.95; letter-spacing: .01em; color: transparent; -webkit-text-stroke: 1.5px #c6cacf; margin-bottom: 18px; }
.fi-intro-row { display: grid; grid-template-columns: 0.9fr 1.15fr; gap: 56px; align-items: start; }
.fi-headline { font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1.5; letter-spacing: .01em; color: #161616; }
.fi-intro-text { padding-top: 6px; }
.fi-jp { font-size: 16px; line-height: 1.95; color: #2b3036; margin-bottom: 22px; }
.fi-en { font-size: 13px; line-height: 1.85; color: #a7adb3; margin-bottom: 12px; }
.fi-jp + .fi-en { margin-top: 30px; }

/* ---- PART 2: 図 ＋ Point ---- */
.fi-main { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.82fr; align-items: start; }
.fi-diagram { display: flex; flex-direction: column; padding-right: 56px; }
.fi-points { padding-left: 56px; border-left: 1px solid #d9dde1; }

/* 図: TOP 黒ブロック */
.fi-top { background: #141414; border-radius: 26px; padding: 28px 24px 22px; }
.fi-bubbles { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.fi-bubble { position: relative; background: #fff; color: #161616; border-radius: 16px; padding: 14px 18px; font-size: 13px; font-weight: 500; line-height: 1.5; text-align: center; }
.fi-bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 9px solid #fff; }
.fi-crowd { margin-top: 14px; }
.fi-crowd svg { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; }
.fi-top-label { text-align: center; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .02em; margin-top: 14px; }

/* 矢印（下向き） */
.fi-arrows { display: flex; justify-content: space-between; padding: 8px 24%; }
.fi-arr { width: 18px; height: 24px; fill: #161616; }

/* 図: 共通ブロック */
.fi-block { background: #f7f8f9; border: 1px solid #e4e7ea; border-radius: 20px; }
.fi-mid { padding: 24px 22px 22px; }
.fi-block-title { text-align: center; font-size: 15px; font-weight: 700; color: #161616; margin-bottom: 18px; }
.fi-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fi-field { background: #fff; border: 1px solid #e6e9ec; border-radius: 12px; padding: 16px 6px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.fi-ic { margin-bottom: 10px; line-height: 0; }
.fi-ic svg { width: 32px; height: 32px; }
.fi-field p { font-size: 12.5px; font-weight: 500; color: #20252b; line-height: 1.35; }
.fi-more { text-align: center; font-size: 12px; color: #9aa0a7; letter-spacing: .05em; margin-top: 16px; }

/* 図: BASE 2ブロック */
.fi-base { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fi-cap { padding: 22px 20px 24px; text-align: center; }
.fi-cap-title { font-size: 15px; font-weight: 700; color: #161616; margin-bottom: 16px; }
.fi-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fi-pills span { background: #fff; border: 1px solid #cfd4d9; color: #1a1a1a; font-size: 12px; font-weight: 500; border-radius: 20px; padding: 6px 14px; line-height: 1.2; }

/* Point */
.fi-points-h { font-size: clamp(25px, 2.8vw, 33px); font-weight: 700; line-height: 1.5; color: #161616; }
.fi-points-en { font-size: 12.5px; line-height: 1.8; color: #9aa0a7; margin: 16px 0 28px; }
.fi-point { display: flex; gap: 18px; align-items: flex-start; background: #f1f2f4; border-radius: 14px; padding: 22px; margin-bottom: 16px; }
.fi-point-ic { flex: none; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid #d2d7dc; display: flex; align-items: center; justify-content: center; }
.fi-point-ic svg { width: 28px; height: 28px; }
.fi-point-num { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: #9aa0a7; margin-bottom: 5px; }
.fi-point-t { font-size: 17px; font-weight: 700; color: #161616; margin-bottom: 7px; }
.fi-point-d { font-size: 13px; line-height: 1.75; color: #6d737b; }

@media (max-width: 900px) {
  .fi-main { grid-template-columns: 1fr; gap: 40px; }
  .fi-diagram { padding-right: 0; }
  .fi-points { padding-left: 0; border-left: none; border-top: 1px solid #d9dde1; padding-top: 36px; }
}
@media (max-width: 768px) {
  .fi { padding: 60px 20px 76px; }
  .fi-intro { margin-bottom: 56px; }
  .fi-ghost { font-size: clamp(56px, 19vw, 96px); -webkit-text-stroke-width: 1px; }
  .fi-intro-row { grid-template-columns: 1fr; gap: 24px; }
  .fi-headline { font-size: clamp(30px, 8vw, 40px); }
  .fi-bubbles { flex-direction: column; gap: 9px; }
  .fi-bubble { width: 100%; }
  .fi-bubble::after { display: none; }
  .fi-arrows { padding: 6px 40%; }
  .fi-fields { grid-template-columns: 1fr 1fr; }
  .fi-base { grid-template-columns: 1fr; }
}

/* ===================================================================
   各セクションのタイトル/形式を Service に統一（モノクロ）
   =================================================================== */
.sec-ghost { font-family: var(--font-jp); font-weight: 600; font-size: clamp(52px, 10vw, 150px); line-height: 0.95; letter-spacing: .01em; color: transparent; -webkit-text-stroke: 1.5px #c6cacf; margin: 0 0 36px; }

/* ボタンを黒基調に（ダークな Message だけ白ボタン） */
.btn-primary { background: #161616; color: #fff; }
.message .btn-primary { background: #fff; color: #161616; }

/* Culture */
.culture { background: #edeef0; }
.culture-catch { font-family: var(--font-jp); }

/* Company（cards） */
.cards { background: #edeef0; max-width: none; margin: 0; padding: 96px 2.5rem; display: block; }
.cards > * { max-width: var(--max); margin-inline: auto; }
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card-blue { background: #161616; color: #fff; }
.card-arrow { background: #eceef1; color: #161616; }
.card-blue .card-arrow { background: #fff; color: #161616; }
.card:not(.card-blue) .card-jp { color: #9aa0a7; }
.card-blue .card-jp { color: rgba(255, 255, 255, .72); }

/* Contact */
.contact { background: #edeef0; }
.contact-inner { color: #161616; }
.contact-catch { color: #161616; }
.contact-sub { color: #555; }
.contact-mail { color: #161616; border-bottom-color: rgba(0,0,0,.28); }
.cf-submit { background: #161616; }

@media (max-width: 768px) {
  .sec-ghost { font-size: clamp(44px, 16vw, 84px); -webkit-text-stroke-width: 1px; }
  .cards-grid { grid-template-columns: 1fr; }
  .company-row { grid-template-columns: 1fr; gap: .4rem; padding: 1.3rem .2rem; }
  .company-table dt { font-size: .82rem; color: var(--blue); }
}

/* ===================================================================
   ロゴ（画像）＋ ヘッダーの明暗切替（背景に合わせて白/黒ロゴ）
   =================================================================== */
.site-header { mix-blend-mode: normal; }
.logo { gap: 0; }
.logo-img { display: block; height: 46px; width: auto; }
.logo-on-light { display: none; }                 /* 既定（暗い背景）は白ロゴを表示 */
.site-header.is-light .logo-on-dark { display: none; }
.site-header.is-light .logo-on-light { display: block; }
.site-header.is-light .nav-toggle span { background: #161616; }
/* CTAボタンも背景の明暗に追従 */
.site-header.is-light .header-cta { color: #161616; border-color: rgba(0,0,0,.45); }
.site-header.is-light .header-cta:hover { background: #161616; color: #fff; border-color: #161616; }
/* メニュー展開中は暗いオーバーレイ上なので白で固定 */
body.menu-open .logo-on-light { display: none; }
body.menu-open .logo-on-dark { display: block; }
body.menu-open .nav-toggle span { background: #fff; }
body.menu-open .header-cta { color: #fff; border-color: rgba(255,255,255,.55); }
/* フッター（紺背景）は白ロゴ */
.footer-logo-img { display: block; height: 56px; width: auto; }

@media (max-width: 768px) {
  .logo-img { height: 36px; }
}

/* ===================================================================
   法務ページ（プライバシーポリシー等）
   =================================================================== */
body.legal-page { background: #fff; color: #161616; }
.legal-header { position: fixed; top: 0; left: 0; right: 0; padding: 1.1rem 2.5rem; background: #fff; border-bottom: 1px solid var(--gray-200); z-index: 100; }
.legal-header .logo-img { height: 38px; }
.legal { max-width: 820px; margin: 0 auto; padding: 8.5rem 1.5rem 5rem; }
.legal h1 { font-family: var(--font-en); font-size: clamp(2rem, 5vw, 3rem); font-weight: 400; letter-spacing: .02em; }
.legal-sub { color: #999; font-size: .85rem; margin: .4rem 0 3.5rem; font-family: var(--font-en); letter-spacing: .08em; }
.legal h2 { font-size: 1.08rem; font-weight: 700; margin: 2.8rem 0 .9rem; padding-left: .7rem; border-left: 3px solid #161616; }
.legal p { font-size: .95rem; line-height: 1.95; color: #333; margin-bottom: .6rem; }
.legal ul, .legal ol { margin: .6rem 0 .6rem 1.4rem; }
.legal li { font-size: .95rem; line-height: 1.9; color: #333; margin-bottom: .35rem; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal-meta { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); font-size: .9rem; color: #555; line-height: 2; }
.legal-back { display: inline-block; margin-top: 3rem; font-family: var(--font-en); letter-spacing: .03em; border-bottom: 1px solid #161616; padding-bottom: .15rem; transition: opacity .2s; }
.legal-back:hover { opacity: .6; }
.legal-footer { background: var(--navy); color: rgba(255,255,255,.75); text-align: center; padding: 2.5rem 1.5rem; font-size: .8rem; }

@media (max-width: 768px) {
  .legal-header { padding: 1rem 1.5rem; }
  .legal { padding: 7rem 1.3rem 4rem; }
}
