/* ═══════════════════════════════════════════════
   一般社団法人脈ラボ — 公式サイト
   出所: Claude Design「脈ラボ 公式サイト」A案（site/site-a.css）
   改変: 2026-08-05
     - 補助アクセントをブランド正本のティール #00A98D へ（ロゴと合わせる）
     - Tweaks パネル（開発ツール）関連を削除
   ブランド正本: business/ventures/myaku-lab/08_ブランド/
   ═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Shippori+Mincho:wght@500;600;700&display=swap');

:root {
  --navy: #1b3a5c;
  --navy2: #12293f;
  --navy-ink: #14181A;      /* ブランド「インク」 */
  --teal: #00A98D;          /* ブランド メインティール */
  --accent: var(--navy);
  --accent-ink: var(--teal);
  --bg: #f4f6f8;
  --line: #dde3e9;
  --ink: #1a2333;
  --ink2: #46505e;
  --ink3: #6b7684;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-head: 'Shippori Mincho', serif;
  --sp: 96px;
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
a:hover { color: var(--accent-ink); }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.sec { padding: var(--sp) 0; }

/* ── スクロールフェードイン ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── 固定ヘッダー ── */
.head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px; background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.head.scrolled { padding: 10px 48px; box-shadow: 0 2px 20px rgba(20,41,63,0.08); border-bottom-color: var(--line); }
.head::before { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.head.scrolled::before { transform: scaleX(1); }

/* ロゴは「シンボル＋HTML テキスト」で構成する。
   横組みロゴ SVG はワードマークが小さく、ヘッダー高さに収めると法人名が読めなくなるため。 */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 46px; width: auto; transition: height .3s ease; }
.head.scrolled .brand-mark { height: 38px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand-txt .en { font-size: 10.5px; letter-spacing: 0.2em; color: var(--ink3); font-weight: 500; }
.brand-txt .ja { font-size: 18px; font-weight: 700; letter-spacing: 0.05em; color: var(--ink); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 14.5px; font-weight: 500; color: #3c4757; white-space: nowrap; }
.nav .cta { background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 700; padding: 11px 22px; border-radius: 4px; }
.nav .cta:hover { color: #fff; filter: brightness(1.15); }
.navtoggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.navtoggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ── ヒーロー ── */
.hero { padding-top: 84px; background: linear-gradient(180deg, #f8fafb, #eef2f5); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; padding: 88px 0 80px; }
.hero h1 { font-family: var(--font-head); font-size: 44px; font-weight: 600; line-height: 1.65; letter-spacing: 0.04em; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero p { margin-top: 26px; font-size: 15.5px; line-height: 2.1; color: var(--ink2); max-width: 580px; }
.hero-tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); border: 1px solid var(--accent); padding: 6px 16px; border-radius: 3px; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 14px; margin-top: 38px; }
.btn-p { background: var(--accent); color: #fff; font-size: 14.5px; font-weight: 700; padding: 15px 34px; border-radius: 4px; }
.btn-p:hover { color: #fff; filter: brightness(1.15); }
.btn-o { border: 1px solid #c3ccd5; background: #fff; color: #35454d; font-size: 14.5px; font-weight: 700; padding: 14px 30px; border-radius: 4px; }
.btn-o:hover { border-color: var(--teal); color: var(--teal); }
.hero-visual { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 34px 30px; box-shadow: 0 8px 30px rgba(27,58,92,0.07); }
.hero-visual .cap { font-size: 12px; font-weight: 700; color: var(--ink3); letter-spacing: 0.1em; margin-bottom: 6px; }
/* 数値とラベルは縦積み。ラベルの長さがまちまちでも数値が折り返さない。 */
.stat { display: block; padding: 15px 0; border-top: 1px solid var(--line); }
.stat:first-of-type { border-top: none; }
.stat .n { display: block; font-family: var(--font-head); font-size: 31px; font-weight: 700; color: var(--accent); line-height: 1.25; white-space: nowrap; }
.stat .u { display: block; font-size: 12.5px; color: var(--ink3); font-weight: 500; line-height: 1.6; margin-top: 3px; }
.hero-visual .src { font-size: 11px; color: var(--ink3); line-height: 1.6; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }

/* ── セクション見出し ── */
.sec-h { display: flex; align-items: baseline; gap: 18px; margin-bottom: 52px; }
.sec-h .en { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; color: var(--accent-ink); }
.sec-h h2 { font-family: var(--font-head); font-size: 30px; font-weight: 600; letter-spacing: 0.06em; }

/* ── 事業 ── */
.biz { background: #fff; }
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.biz-card { background: #fff; padding: 38px 36px; transition: background .3s; }
.biz-card:hover { background: #fafcfd; }
.biz-card .no { font-family: var(--font-head); font-size: 14.5px; color: var(--accent-ink); font-weight: 700; letter-spacing: 0.1em; }
.biz-card h3 { font-size: 18px; font-weight: 700; margin: 13px 0 11px; line-height: 1.6; }
.biz-card p { font-size: 14px; line-height: 1.95; color: var(--ink2); }
.biz-card .ref { display: block; margin-top: 12px; font-size: 11.5px; color: var(--ink3); letter-spacing: 0.02em; }
.biz-note { margin-top: 24px; font-size: 13px; color: var(--ink3); line-height: 1.9; }

/* ── お知らせ ── */
.news { background: var(--bg); }
.news-list { border-top: 1px solid #c9d1d9; }
.news-row { display: flex; gap: 32px; align-items: baseline; padding: 22px 8px; border-bottom: 1px solid #c9d1d9; font-size: 14.5px; }
.news-row time { font-weight: 500; color: var(--ink3); flex-shrink: 0; font-size: 13.5px; min-width: 92px; }
.news-row .tag { flex-shrink: 0; font-size: 11.5px; font-weight: 700; color: var(--accent); border: 1px solid var(--accent); padding: 3px 12px; border-radius: 3px; }
.news-empty { padding: 28px 8px; font-size: 14px; color: var(--ink3); border-bottom: 1px solid #c9d1d9; }

/* ── 法人概要 ── */
.about table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.about th, .about td { text-align: left; padding: 20px 14px; border-bottom: 1px solid var(--line); line-height: 1.85; }
.about th { width: 190px; font-weight: 700; color: var(--accent); vertical-align: top; }
.about td .sub { display: block; font-size: 13px; color: var(--ink3); margin-top: 4px; }

/* ── 問い合わせ ── */
.contact { background: var(--navy2); color: #fff; }
.contact .sec-h h2 { color: #fff; }
.contact .sec-h .en { color: #7fd4cb; }
.contact-in { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.contact-lead h2 { font-family: var(--font-head); font-size: 28px; font-weight: 600; letter-spacing: 0.06em; line-height: 1.7; }
.contact-lead p { margin-top: 20px; font-size: 14px; line-height: 2; color: #b8c5d1; }
.contact-info { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.contact-info .row { display: flex; gap: 12px; align-items: center; font-size: 13.5px; color: #cdd8e2; }
.contact-info .row svg { flex-shrink: 0; }
.form { background: #fff; border-radius: 8px; padding: 40px 40px 34px; }
.form-row { margin-bottom: 20px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.form label .req { color: #c0392b; font-size: 11px; margin-left: 6px; font-weight: 700; }
.form input, .form select, .form textarea {
  width: 100%; font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfd6dd; border-radius: 5px; background: #fbfcfd;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,169,141,0.14); }
.form textarea { resize: vertical; min-height: 120px; }
.form .check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink2); line-height: 1.7; font-weight: 400; }
.form .check input { width: auto; margin-top: 3px; }
.form-submit { width: 100%; background: var(--accent); color: #fff; border: none; font-family: var(--font-body); font-size: 15px; font-weight: 700; padding: 16px; border-radius: 5px; cursor: pointer; margin-top: 8px; transition: filter .2s; }
.form-submit:hover { filter: brightness(1.15); }
.form-note { font-size: 11.5px; color: var(--ink3); text-align: center; margin-top: 14px; line-height: 1.7; }
.form-note a { color: var(--teal); text-decoration: underline; }
/* ── 法的文書ページ（プライバシーポリシー等） ── */
.legal { padding: calc(var(--sp) + 20px) 0 var(--sp); background: #fff; }
.legal-in { max-width: 800px; }
.legal-head { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.legal-head .en { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--teal); }
.legal-head h1 { font-family: var(--font-head); font-size: 32px; font-weight: 600; letter-spacing: 0.06em; color: var(--ink); margin-top: 14px; }
.legal-head .lead { font-size: 14.5px; line-height: 2; color: var(--ink2); margin-top: 24px; }
.legal-note { margin-top: 28px; padding: 18px 22px; background: #f4f6f8; border-left: 3px solid var(--teal); border-radius: 3px; font-size: 13px; line-height: 1.9; color: var(--ink2); }
.legal-body { list-style: none; counter-reset: legal; margin-top: 12px; }
.legal-body > li { counter-increment: legal; padding-top: 40px; }
.legal-body > li h2 { position: relative; font-size: 17px; font-weight: 700; color: var(--ink); padding-left: 34px; line-height: 1.6; }
.legal-body > li h2::before { content: counter(legal) "."; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700; }
.legal-body > li > p { font-size: 14px; line-height: 2; color: var(--ink2); margin-top: 14px; padding-left: 34px; }
.legal-body > li > ul { margin-top: 12px; padding-left: 34px; list-style: none; }
.legal-body > li > ul > li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.95; color: var(--ink2); }
.legal-body > li > ul > li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 5px; height: 5px; border-radius: 999px; background: #b6c2cc; }
.legal-tbl { width: 100%; margin: 16px 0 0 34px; max-width: calc(100% - 34px); border-top: 1px solid var(--line); }
.legal-tbl th, .legal-tbl td { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.8; text-align: left; vertical-align: top; }
.legal-tbl th { width: 120px; font-weight: 700; color: var(--ink); }
.legal-tbl td { color: var(--ink2); }
.legal-tbl a { color: var(--teal); text-decoration: underline; }
.legal-date { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink3); text-align: right; }
.legal-back { margin-top: 40px; text-align: center; }
.legal-back .btn-o { display: inline-block; text-decoration: none; }

/* 問い合わせ CTA（Google フォームへの導線） */
.form-cta { text-align: center; }
.form-cta .ic { width: 60px; height: 60px; border-radius: 999px; background: #e6f7f4; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.form-cta h3 { font-size: 20px; font-weight: 700; color: var(--ink); }
.form-cta > p { font-size: 14px; color: var(--ink2); margin-top: 12px; line-height: 1.9; }
.form-cta a.form-submit { display: block; text-decoration: none; text-align: center; margin-top: 26px; }
.form-cta a.form-submit:hover { color: #fff; }
.form-cta-items { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); text-align: left; }
.form-cta-items .ttl { display: block; font-size: 12px; font-weight: 700; color: var(--ink3); letter-spacing: 0.04em; margin-bottom: 12px; }
.form-cta-items ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.form-cta-items li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--ink2); line-height: 1.7; }
.form-cta-items li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 6px; height: 6px; border-radius: 999px; background: var(--teal); }

.form-ok { text-align: center; padding: 40px 20px; }
.form-ok .ic { width: 60px; height: 60px; border-radius: 999px; background: #e6f7f4; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.form-ok h3 { font-size: 20px; font-weight: 700; color: var(--ink); }
.form-ok p { font-size: 14px; color: var(--ink2); margin-top: 12px; line-height: 1.9; }

/* ── フッター ── */
.foot { background: var(--navy-ink); color: #8fa0b1; }
.foot-in { max-width: var(--maxw); margin: 0 auto; padding: 56px 40px 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-mark { height: 54px; width: auto; }
.foot-name { color: #fff; font-weight: 700; font-size: 18px; letter-spacing: 0.05em; line-height: 1.3; }
.foot-name .en { display: block; font-size: 10.5px; letter-spacing: 0.2em; color: #6f8195; font-weight: 500; margin-top: 5px; }
.foot-nav { display: flex; gap: 44px; }
.foot-nav .col h4 { font-size: 12px; color: #6f8195; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 14px; }
.foot-nav .col a { display: block; font-size: 13.5px; color: #b6c3ce; margin-bottom: 10px; }
.foot-nav .col a:hover { color: #fff; }
.foot-bottom { padding-top: 28px; font-size: 12px; color: #6f8195; }

/* ═══════════════ レスポンシブ ═══════════════ */
@media (max-width: 920px) {
  .wrap { padding: 0 24px; }
  :root { --sp: 64px; }
  .head { padding: 12px 20px; }
  .head.scrolled { padding: 10px 20px; }
  .brand { gap: 9px; }
  .brand-mark, .head.scrolled .brand-mark { height: 36px; }
  .brand-txt .en { font-size: 9px; letter-spacing: 0.16em; }
  .brand-txt .ja { font-size: 15px; }
  .foot-mark { height: 46px; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; background: #fff; padding: 88px 28px 28px; box-shadow: -8px 0 40px rgba(0,0,0,0.15); transform: translateX(100%); transition: transform .3s ease; }
  .nav.open { transform: none; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav .cta { text-align: center; margin-top: 18px; padding: 14px; border-radius: 4px; }
  .navtoggle { display: block; z-index: 101; }
  .navtoggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navtoggle.open span:nth-child(2) { opacity: 0; }
  .navtoggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-in { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }
  .hero h1 { font-size: 32px; line-height: 1.6; }
  .hero p { font-size: 15px; }
  .biz-grid { grid-template-columns: 1fr; }
  .biz-card { padding: 32px 26px; }
  .sec-h { flex-direction: column; gap: 6px; margin-bottom: 36px; }
  .sec-h h2 { font-size: 25px; }
  .contact-in { grid-template-columns: 1fr; gap: 36px; }
  .form { padding: 30px 24px 26px; }
  .foot-top { flex-direction: column; gap: 32px; }
  .foot-nav { gap: 32px; flex-wrap: wrap; }
  .news-row { flex-wrap: wrap; gap: 10px 16px; }
  .about th, .about td { display: block; width: 100%; padding: 8px 0; border: none; }
  .about th { padding-top: 18px; }
  .about td { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .legal-head h1 { font-size: 25px; }
  .legal-body > li h2 { font-size: 16px; padding-left: 28px; }
  .legal-body > li > p, .legal-body > li > ul { padding-left: 0; }
  .legal-tbl { margin-left: 0; max-width: 100%; }
  .legal-tbl th { width: 92px; }
  .hero h1 { font-size: 27px; }
  .hero-btns { flex-direction: column; }
  .btn-p, .btn-o { text-align: center; }
  .form-row.two { grid-template-columns: 1fr; }
}
