/* =========================================================
   NEWLIFE株式会社 — Corporate Site
   Theme: Black base × Lime accent × White
   ========================================================= */

:root {
  --bg:          #0f1211;   /* near-black base */
  --bg-2:        #141817;   /* slightly lighter dark */
  --bg-3:        #1b201e;   /* card on dark */
  --ink:         #15181a;   /* dark text on light */
  --ink-soft:    #5a615f;   /* muted dark text */
  --paper:       #ffffff;   /* white sections */
  --paper-2:     #f4f6f4;   /* off-white */
  --line:        #e3e7e4;   /* light borders */
  --line-dark:   rgba(255,255,255,.12);
  --lime:        #c2f03a;   /* brand lime (見本どおりの鮮やかなライム／塗り・暗背景の文字に使用) */
  --lime-bright: #d4ff5c;   /* hover */
  --lime-deep:   #5a7d00;   /* 明背景の小さな文字用（白地でAA: 4.8:1） */
  --white-soft:  rgba(255,255,255,.72);
  --white-mute:  rgba(255,255,255,.55);

  --maxw: 1160px;
  --header-h: 76px;
  --radius: 6px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-en: "Montserrat", "Noto Sans JP", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, dt { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.pc-only { display: inline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font-weight: 700; font-size: 15px; letter-spacing: .04em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 8px 24px rgba(194,240,58,.25); }
.btn-lime:hover { background: var(--lime-bright); box-shadow: 0 12px 30px rgba(194,240,58,.4); }
.btn-ghost { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-block { width: 100%; }

/* ---------- Section labels & titles ---------- */
.section-label {
  font-family: var(--font-en);
  color: var(--lime-deep);
  font-weight: 700; font-size: 13px; letter-spacing: .22em;
  margin-bottom: 14px;
}
.message .section-label,
.recruit .section-label { color: var(--lime); }
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900; letter-spacing: .04em; line-height: 1.3;
  color: var(--ink);
}
.section-title.light { color: #fff; }
.section-lead { margin-top: 18px; color: var(--ink-soft); font-size: 15px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(15,18,17,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { height: 34px; width: auto; }
.brand-name {
  font-family: var(--font-en);
  font-weight: 700; font-size: 21px; letter-spacing: .12em; color: #fff;
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  position: relative;
  padding: 10px 16px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.85);
  transition: color .2s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #fff; }
.nav-cta {
  margin-left: 8px;
  padding: 11px 22px; font-size: 15px; font-weight: 700; color: var(--ink);
  background: var(--lime); border-radius: var(--radius);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.nav-cta:hover { background: var(--lime-bright); transform: translateY(-2px); }

.nav-toggle {
  display: none; width: 44px; height: 44px; background: none; border: 0; position: relative;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  /* メイン写真。assets/hero.jpg を差し替えるだけで反映。未配置でも下のveilで成立 */
  background: var(--bg) url('../assets/hero.jpg') center / cover no-repeat;
  color: #fff; overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  /* 半透明のveil：左を濃く（テキスト可読）、右へ写真を透かす */
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(194,240,58,.12), transparent 55%),
    linear-gradient(96deg, rgba(10,12,11,.93) 0%, rgba(10,12,11,.70) 44%, rgba(10,12,11,.34) 72%, rgba(10,12,11,.62) 100%);
}
/* subtle "city skyline" silhouette built with gradients (placeholder for a photo) */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(transparent 62%, rgba(0,0,0,.55) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 60px);
  opacity: .9;
  -webkit-mask-image: linear-gradient(180deg, transparent 38%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 38%, #000 100%);
}

.hero-watermark {
  position: absolute; z-index: 1; right: 4%; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  opacity: .14; pointer-events: none; user-select: none;
}
.hero-watermark img { width: clamp(120px, 16vw, 230px); }
.hero-watermark span {
  font-family: var(--font-en); font-weight: 700; letter-spacing: .14em;
  font-size: clamp(34px, 5vw, 70px); color: #fff;
}

.hero-inner { position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(36px, 6.5vw, 72px);
  font-weight: 900; line-height: 1.22; letter-spacing: .03em;
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.hero-lead {
  margin-top: 28px; max-width: 640px;
  color: var(--white-soft); font-size: clamp(14px, 1.6vw, 16px); line-height: 2.1;
}
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }

/* =========================================================
   SERVICE
   ========================================================= */
.service { background: var(--paper); }
.service-head { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.service-head-left { position: sticky; top: calc(var(--header-h) + 30px); }
.service-head-left .btn { margin-top: 28px; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.s-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.s-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,18,17,.12); border-color: transparent; }
.s-card-media {
  height: 150px; display: flex; align-items: center; justify-content: center; color: #fff;
  position: relative; background-size: cover; background-position: center;
}
.s-card-media .s-icon { width: 44px; height: 44px; opacity: .95; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
/* 各カードの写真。assets/service-0X.jpg を差し替えるだけで反映。暗いオーバーレイで番号・アイコンを可読化 */
.s-media-1 { background-image: linear-gradient(160deg, rgba(8,10,9,.34), rgba(8,10,9,.64)), url('../assets/service-01.jpg'); background-color: #1c211e; }
.s-media-2 { background-image: linear-gradient(160deg, rgba(8,10,9,.34), rgba(8,10,9,.64)), url('../assets/service-02.jpg'); background-color: #1d211a; }
.s-media-3 { background-image: linear-gradient(160deg, rgba(8,10,9,.34), rgba(8,10,9,.64)), url('../assets/service-03.jpg'); background-color: #1d211f; }
.s-media-4 { background-image: linear-gradient(160deg, rgba(8,10,9,.34), rgba(8,10,9,.64)), url('../assets/service-04.jpg'); background-color: #17231f; }
.s-card-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--lime);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.s-card:hover .s-card-media::after { transform: scaleX(1); }
.s-num {
  font-family: var(--font-en); font-weight: 700; font-size: 28px; color: var(--lime-deep);
  padding: 18px 20px 0; line-height: 1;
}
.s-title { padding: 8px 20px 0; font-size: 17px; font-weight: 700; }
.s-desc { padding: 10px 20px 24px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }

/* =========================================================
   MESSAGE
   ========================================================= */
.message { background: var(--bg); color: #fff; position: relative; overflow: hidden; }
.message::before {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(194,240,58,.08), transparent 70%);
}
.message-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; z-index: 1;
}
.message-body { margin-top: 26px; color: var(--white-soft); line-height: 2.2; font-size: 15.5px; }
.message-sign { margin-top: 34px; font-size: 22px; font-weight: 700; letter-spacing: .06em; }
.message-sign span { font-size: 13px; color: var(--white-mute); margin-right: 14px; font-weight: 500; letter-spacing: .12em; }
.message-visual { display: flex; justify-content: center; }
/* 代表メッセージのブランドビジュアル（顔写真の代わり：白ロゴ＋グリーンアクセント） */
.brand-panel {
  width: 100%; max-width: 380px; aspect-ratio: 5 / 4;
  display: grid; place-items: center; padding: 28px;
  background:
    radial-gradient(120% 100% at 50% 35%, rgba(194,240,58, .12), transparent 62%),
    linear-gradient(160deg, #14181a, #0c0f0e);
  border: 1px solid var(--line-dark); border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.brand-panel-logo { width: min(60%, 220px); height: auto; }

/* =========================================================
   COMPANY
   ========================================================= */
.company { background: var(--paper-2); }
.company .section-title { margin-bottom: 40px; }
.company-table dl { border-top: 1px solid var(--line); }
.company-table .row {
  display: grid; grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--line);
}
.company-table dt {
  padding: 22px 16px; font-weight: 700; background: rgba(0,0,0,.015);
  font-size: 15px;
}
.company-table dd { padding: 22px 16px; color: #2c322f; font-size: 15px; }

/* =========================================================
   NEWS
   ========================================================= */
.news { background: var(--paper); }
.news .section-title { margin-bottom: 36px; }
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 130px 120px 1fr; align-items: center; gap: 16px;
  padding: 22px 8px; border-bottom: 1px solid var(--line);
  transition: background .2s var(--ease);
}
.news-item:hover { background: var(--paper-2); }
.news-date { font-family: var(--font-en); font-weight: 600; color: var(--ink-soft); font-size: 14px; }
.news-cat {
  justify-self: start; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--ink); background: var(--lime); padding: 4px 14px; border-radius: 999px;
}
/* 詳細ページ未作成のため span。リンク化する際は a.news-title に hover を追加。 */
.news-title { font-size: 15px; color: var(--ink); }

/* =========================================================
   RECRUIT
   ========================================================= */
.recruit { background: var(--bg-2); color: #fff; }
.recruit-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.recruit-body { margin-top: 24px; color: var(--white-soft); line-height: 2.1; }
.recruit-copy .btn { margin-top: 32px; }
.recruit-tags { display: flex; flex-wrap: wrap; gap: 14px; align-content: center; }
.recruit-tags li {
  border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 12px 24px; font-weight: 600; font-size: 14px;
  background: rgba(255,255,255,.03);
}
.recruit-tags li::before { content: "・"; color: var(--lime); margin-right: 4px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--paper); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.contact-lead { margin-top: 22px; color: var(--ink-soft); }
.contact-list { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; align-items: center; gap: 16px; font-size: 16px; }
.ci-icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  background: var(--lime);
}
.ci-icon svg { width: 22px; height: 22px; }
.contact-list a:hover { color: var(--lime-deep); }

.contact-form-wrap {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px;
  padding: clamp(26px, 4vw, 42px);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.req { font-size: 11px; color: #fff; background: var(--lime-deep); padding: 2px 8px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; font-family: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--lime-deep); box-shadow: 0 0 0 3px rgba(194,240,58,.25);
}
.field textarea { resize: vertical; }
.form-note { min-height: 22px; font-size: 13.5px; margin-bottom: 8px; }
.form-note.ok { color: var(--lime-deep); font-weight: 700; }
.form-note.err { color: #d9534f; font-weight: 700; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--bg); color: #fff; padding: 56px 0 28px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px;
  padding-bottom: 32px; border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand-mark { height: 30px; }
.footer-brand .brand-name { font-size: 19px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { font-size: 14px; color: var(--white-soft); transition: color .2s var(--ease); }
.footer-nav a:hover { color: var(--lime); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--white-mute); transition: color .2s var(--ease); }
.footer-legal a:hover { color: var(--lime); text-decoration: underline; }
.copyright {
  margin-top: 24px; text-align: center; font-family: var(--font-en);
  font-size: 12px; letter-spacing: .08em; color: var(--white-mute);
}

/* =========================================================
   MODALS
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-overlay { position: absolute; inset: 0; background: rgba(8,10,9,.7); backdrop-filter: blur(3px); }
.modal-box {
  position: relative; width: 100%; max-width: 640px; max-height: 84vh; overflow-y: auto;
  background: #fff; border-radius: 12px; padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  animation: modal-in .35s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 14px; right: 16px; width: 40px; height: 40px;
  font-size: 28px; line-height: 1; background: none; border: 0; color: var(--ink-soft);
  border-radius: 50%; transition: background .2s var(--ease);
}
.modal-close:hover { background: var(--paper-2); }
.modal-title { font-size: 22px; font-weight: 900; margin-bottom: 20px; padding-right: 30px; }
.modal-body { font-size: 14.5px; color: #333; line-height: 1.9; }
.modal-body h3 { font-size: 15px; font-weight: 700; margin: 22px 0 6px; color: var(--ink); }
.legal-dl { display: grid; grid-template-columns: 140px 1fr; row-gap: 4px; }
.legal-dl dt { font-weight: 700; padding: 10px 0; border-bottom: 1px solid var(--line); }
.legal-dl dd { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* =========================================================
   TO-TOP
   ========================================================= */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); background: var(--lime);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--lime-bright); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .service-head { grid-template-columns: 1fr; gap: 36px; }
  .service-head-left { position: static; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .message-inner { gap: 40px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .pc-only { display: none; }

  /* スマホではヘッダーに backdrop-filter を使わない。
     backdrop-filter は内部の position:fixed 要素の基準枠を作ってしまい、
     メニューパネルがヘッダー高さに切り詰められる（白本文が透ける）ため。 */
  .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(13,16,15,.97); }

  /* Mobile nav */
  .nav-toggle { display: block; z-index: 110; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); height: 100dvh;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    background: #0f1211;
    padding: calc(var(--header-h) + 20px) 24px 40px;
    transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.5);
    overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav-link { padding: 16px 8px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-link::after { display: none; }
  .nav-cta { margin: 22px 8px 0; text-align: center; padding: 15px; }

  .message-inner { grid-template-columns: 1fr; }
  .message-visual { order: -1; }

  .recruit-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }

  .company-table .row { grid-template-columns: 110px 1fr; }
  .company-table dt { padding: 16px 12px; font-size: 14px; }
  .company-table dd { padding: 16px 12px; font-size: 14px; }

  .news-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 6px; }
  .news-cat { margin: 2px 0; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { padding: 0 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-watermark { right: 50%; transform: translate(50%, -50%); }
  .legal-dl { grid-template-columns: 1fr; }
  .legal-dl dt { border-bottom: 0; padding-bottom: 0; }
  .legal-dl dd { padding-top: 2px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .s-card:hover, .nav-cta:hover { transform: none; }
}

/* =========================================================
   ADD-ON COMPONENTS (引き継ぎブリーフ反映分)
   既存クラスと重複しない新規分のみ追記
   ========================================================= */

/* --- ABOUT --- */
.about { background: var(--bg); color: #fff; position: relative; overflow: hidden; border-top: 1px solid var(--line-dark); }
.about-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(90% 70% at 88% 12%, rgba(194,240,58, .10), transparent 60%),
    linear-gradient(180deg, #141817 0%, #0f1211 100%);
}
.about-inner { position: relative; z-index: 1; max-width: 880px; }
.about-lead {
  margin-top: 22px; font-size: clamp(17px, 2.3vw, 22px); font-weight: 700;
  line-height: 1.9; color: #fff; max-width: 40ch;
}
.about-body { margin-top: 20px; color: var(--white-soft); line-height: 2.05; max-width: 62ch; font-size: 15.5px; }

/* --- RECRUIT: persona list + 小見出し --- */
.recruit-persona { align-self: center; }
.subhead { color: var(--lime); font-weight: 700; font-size: 14px; letter-spacing: .08em; margin-bottom: 10px; }
.persona li { position: relative; padding-left: 22px; margin-top: 14px; color: var(--white-soft); font-size: 15px; }
.persona li:first-child { margin-top: 0; }
.persona li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--lime); }

/* --- [要確認] プレースホルダー --- */
.tbc { color: var(--ink-soft); font-size: .92em; }            /* 明背景（会社概要）用 */
.recruit .tbc, .message .tbc { color: var(--white-mute); }    /* 暗背景用 */

/* --- アクセシビリティ：キーボードfocusの可視化 --- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 3px;
}
.field input:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

@media (max-width: 860px) {
  .recruit-persona { align-self: start; }
}

/* =========================================================
   SERVICE CARD「詳しく見る」＋ 事業詳細ページ
   ========================================================= */
.s-more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 20px 22px; font-size: 13px; font-weight: 700; color: var(--lime-deep);
}
.s-card:hover .s-more { gap: 10px; }
.s-more svg { transition: transform .25s var(--ease); }
.s-card:hover .s-more svg { transform: translateX(3px); }

/* --- 詳細ページ ヒーロー（暗いバナー） --- */
.detail-hero {
  position: relative; overflow: hidden; background: var(--bg); color: #fff;
  padding: calc(var(--header-h) + 64px) 0 64px;
  border-bottom: 1px solid var(--line-dark);
}
.detail-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 120% at 92% 0%, rgba(194,240,58,.12), transparent 60%);
}
.detail-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--white-mute); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--lime); }
.detail-title { font-size: clamp(28px, 5vw, 46px); font-weight: 900; letter-spacing: .04em; margin-top: 6px; line-height: 1.25; }
.detail-lead { margin-top: 18px; color: var(--white-soft); max-width: 60ch; line-height: 1.95; }

/* --- 詳細ページ 本文 --- */
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.detail-main p { color: #2c322f; line-height: 2.05; }
.detail-main p + p { margin-top: 1.1rem; }
.detail-main .subhead { color: var(--lime-deep); font-size: 16px; margin: 40px 0 16px; }
.detail-main .persona li,
.detail-main .cases li { color: #2c322f; font-size: 15.5px; }
.detail-main .persona li::before { background: var(--lime-deep); }
.cases li { position: relative; padding-left: 26px; margin-top: 12px; line-height: 1.8; }
.cases li::before {
  content: "“"; position: absolute; left: 0; top: .25em; font-size: 1.4em;
  font-weight: 700; color: var(--lime-deep); line-height: 1;
}

.detail-side { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.detail-cta { background: var(--bg); color: #fff; border-radius: 14px; padding: 26px; }
.detail-cta p { font-size: 14px; line-height: 1.8; color: var(--white-soft); margin-bottom: 16px; }
.detail-cta .btn { width: 100%; }
.detail-other { border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; }
.detail-other p { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 8px; }
.detail-other a { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.detail-other a:last-child { border-bottom: 0; }
.detail-other a span { font-family: var(--font-en); color: var(--lime-deep); font-size: 12px; }
.detail-other a:hover { color: var(--lime-deep); }

@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .detail-side { position: static; }
}
