/* フィールドワード本体サイト — ブランド共通ベース（形=メルレス準拠）＋コーポレート一閃グラデ
   トークン正本: ceo/strategy/fieldward-brand-design-language-2026-07-01.md
   レイアウト: Claude Design案（2026-07-03オーナー承認）を静的移植＝インク・サンドイッチ構成 */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --ink: #0B0B0C;
  --text: #26262A;
  --muted: #5C5B57;
  --faint: #8C8B86;
  --border: #E5E3DD;
  --num: #E7E4DC;
  --neutral-fill: #F1EFE9;
  --ivory: #F6F4EF;
  --on-dark: #C9C8D4;
  --grad: linear-gradient(135deg, #4F46E5, #7C3AED, #EC6A5E);
  --grad-h: linear-gradient(90deg, #4F46E5, #7C3AED, #EC6A5E);
  --merures: #1f8f6f;
  --byoume: #2563EB;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 15, 20, 0.04), 0 10px 28px rgba(15, 15, 20, 0.05);
  --shadow-lift: 0 2px 4px rgba(15, 15, 20, 0.05), 0 18px 44px rgba(15, 15, 20, 0.09);
}
html { scroll-behavior: smooth; }
body {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: #E4E1FB; color: var(--ink); }
a:focus-visible, .btn:focus-visible { outline: 2px solid #7C3AED; outline-offset: 3px; border-radius: 4px; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

@keyframes fwRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fwBeam { from { background-position: 0% 0; } to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1, .hero .lead, .hero .cta-row { animation: none !important; }
  .hero .beam { animation: none !important; background: var(--grad-h); }
}

/* ロゴマーク（仮ロゴv2: インク角丸＋FW＋一閃アンダーバー） */
.mark {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  background: var(--ink); border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative; display: flex; align-items: center; justify-content: center;
}
.mark::before { content: "FW"; color: #fff; font-weight: 900; font-size: 12px; letter-spacing: -0.05em; line-height: 1; margin-top: -3px; }
.mark::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 5px; height: 2.5px; border-radius: 999px; background: var(--grad-h); }

/* header（インク） */
header {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-weight: 900; font-size: 16px; letter-spacing: .05em; color: #fff; }
.brand-name small { font-size: 10px; color: rgba(201, 200, 212, 0.55); font-weight: 700; margin-left: 8px; letter-spacing: .18em; }
nav { display: flex; gap: 26px; align-items: center; }
nav a { color: var(--on-dark); text-decoration: none; font-size: 13.5px; font-weight: 700; transition: color .15s ease; }
nav a:hover { color: #fff; }

/* hero（インク・サンドイッチの天） */
.hero { background: var(--ink); position: relative; overflow: hidden; }
.hero .container { position: relative; padding-top: 120px; padding-bottom: 108px; }
.hero .watermark {
  position: absolute; right: -12px; bottom: -48px;
  font-size: min(21vw, 240px); font-weight: 900; letter-spacing: .01em;
  color: #151518; line-height: 1; user-select: none; pointer-events: none;
}
.hero .eyebrow { position: relative; font-size: 12px; font-weight: 700; letter-spacing: .26em; color: var(--faint); margin-bottom: 28px; animation: fwRise .6s ease .05s both; }
.hero h1 { position: relative; font-size: clamp(44px, 6.6vw, 76px); font-weight: 900; line-height: 1.24; letter-spacing: .01em; color: #fff; animation: fwRise .6s ease .15s both; }
.hero .beam {
  position: relative; width: 320px; max-width: 60%; height: 6px; border-radius: 999px; margin: 40px 0;
  background: linear-gradient(90deg, #4F46E5, #7C3AED, #EC6A5E, #4F46E5);
  background-size: 200% 100%;
  animation: fwBeam 6s linear infinite;
}
.hero .lead { position: relative; font-size: 17.5px; color: var(--on-dark); max-width: 600px; animation: fwRise .6s ease .25s both; }
.hero .cta-row { position: relative; display: flex; gap: 14px; margin-top: 42px; flex-wrap: wrap; animation: fwRise .6s ease .35s both; }

/* buttons（ピル型=メルレス準拠） */
.btn {
  display: inline-block; text-align: center; text-decoration: none;
  padding: 11px 24px; border-radius: 999px; font-size: 14px; font-weight: 700;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.hero-primary { padding: 13px 30px; background: #fff; color: var(--ink); }
.btn.hero-primary:hover { box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15); }
.btn.hero-ghost { padding: 13px 30px; border: 1px solid rgba(255, 255, 255, 0.25); color: var(--on-dark); }
.btn.hero-ghost:hover { border-color: rgba(255, 255, 255, 0.6); color: #fff; transform: none; }
.btn.solid-merures { background: var(--merures); color: #fff; }
.btn.solid-merures:hover { background: #17795d; box-shadow: 0 6px 16px rgba(31, 143, 111, 0.25); }
.btn.solid-byoume { background: var(--byoume); color: #fff; }
.btn.solid-byoume:hover { background: #1d4ed8; box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25); }
.btn.solid-navi { background: #EA580C; color: #fff; }
.btn.solid-navi:hover { background: #c2410c; box-shadow: 0 6px 16px rgba(234, 88, 12, 0.25); }
.btn.ghost { border: 1px solid var(--border); color: var(--muted); background: var(--surface); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn.disabled { background: #d7d3ca; color: #fff; pointer-events: none; }

/* sections（紙・帯） */
section { padding: 84px 0 88px; scroll-margin-top: 64px; }
.shead { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.sec-label { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--faint); margin-bottom: 6px; }
.shead h2 { font-size: clamp(24px, 3.2vw, 30px); font-weight: 900; color: var(--ink); letter-spacing: .03em; }
.sec-num { font-size: 72px; font-weight: 900; color: var(--num); line-height: 1; user-select: none; flex: none; }
.sec-lead { font-size: 15px; color: var(--muted); max-width: 680px; margin-top: 16px; }

/* 01 WHY WE EXIST — タイムライン */
.timeline { display: grid; grid-template-columns: 32px 1fr; gap: 0 24px; margin-top: 48px; max-width: 720px; }
.tl-rail { grid-row: 1 / 5; display: flex; flex-direction: column; align-items: center; }
.tl-rail .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); flex: none; }
.tl-rail .dot.first { margin-top: 8px; }
.tl-rail .dot.open { border: 2px solid var(--ink); background: var(--bg); }
.tl-rail .line { width: 2px; flex: 1; background: #D9D6CD; }
.tl-item { padding-bottom: 32px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .tl-label { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--faint); }
.tl-item h3 { font-size: 18px; font-weight: 900; color: var(--ink); margin-top: 2px; }
.tl-item p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* 02 プロダクト（アイボリー帯） */
#products { background: var(--ivory); border-top: 1px solid var(--border); }
#products .sec-num { color: #E4E1D8; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 34px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: #d9d6cd; }
.card.soon { background: transparent; border: 1px dashed #D9D6CD; box-shadow: none; }
.card.soon:hover { transform: none; box-shadow: none; border-color: #D9D6CD; }
.card.soon h3, .card.soon p, .card.soon .price { color: var(--faint); }
.card .tag { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.tag.merures { background: #e7f4ee; color: var(--merures); }
.tag.byoume { background: #e8effc; color: var(--byoume); }
.tag.navi { background: #fdeee2; color: #EA580C; }
.tag.soon { background: var(--neutral-fill); color: var(--faint); }
.card h3 { font-size: 24px; font-weight: 900; color: var(--ink); letter-spacing: .02em; }
.card p { font-size: 14px; color: var(--muted); margin-top: 8px; flex: 1; }
.card .price { font-size: 13px; color: var(--text); font-weight: 700; margin: 18px 0; }
.card .btn { display: block; padding: 12px 24px; }
.card .pill-static { display: block; text-align: center; padding: 12px 24px; border-radius: 999px; border: 1px solid #D9D6CD; color: var(--faint); font-size: 14px; font-weight: 700; }

/* 03 事業概要＋フッター（インク・サンドイッチの底） */
.ink-block { background: var(--ink); color: var(--on-dark); scroll-margin-top: 64px; }
.ink-block section.company { padding: 76px 0 64px; border-bottom: none; }
.ink-block .company .container { border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 64px; }
.company-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }
.company-grid .sec-label { margin-bottom: 14px; }
.company-grid h2 { font-size: 24px; font-weight: 900; color: #fff; letter-spacing: .03em; }
.company-grid .company-note { font-size: 13.5px; color: rgba(201, 200, 212, 0.7); margin-top: 12px; max-width: 400px; }
.company-table { display: grid; grid-template-columns: 110px 1fr; gap: 8px 18px; font-size: 13.5px; }
.company-table dt { color: var(--faint); font-weight: 700; }
.company-table dd { color: #fff; margin: 0; }

/* footer（共通・インク地） */
footer { position: relative; padding: 52px 0 60px; margin-top: 56px; background: var(--ink); color: var(--on-dark); }
footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-h); }
.ink-block footer { margin-top: 0; padding: 40px 0 48px; }
.ink-block footer::before { display: none; }
footer .foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
footer .foot-brand .mark { width: 26px; height: 26px; border-radius: 7px; }
footer .foot-brand .mark::before { font-size: 9.5px; margin-top: -2px; }
footer .foot-brand .mark::after { left: 5px; right: 5px; bottom: 4px; height: 2px; }
footer .foot-brand .brand-name { font-size: 14px; }
footer .links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-bottom: 18px; }
footer a { color: var(--on-dark); text-decoration: none; font-size: 12.5px; transition: color .15s ease; }
footer a:hover { color: #fff; }
footer .copy { color: rgba(201, 200, 212, 0.5); font-size: 11.5px; letter-spacing: .04em; }

/* 製品ページ（フォーム秒埋め等・紙ベース） */
h2 { position: relative; font-size: 26px; font-weight: 800; letter-spacing: .04em; color: var(--ink); margin-bottom: 32px; }
h2 small { display: block; font-size: 12px; color: var(--faint); font-weight: 600; letter-spacing: .18em; margin-bottom: 6px; }
h2 .num {
  position: absolute; right: 0; top: -14px;
  font-size: 72px; font-weight: 800; color: var(--num);
  line-height: 1; letter-spacing: .02em; user-select: none; pointer-events: none;
}
.shead h2 { margin-bottom: 0; }
.prod-hero { padding: 84px 0 44px; }
.prod-hero .icon { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 24px; box-shadow: var(--shadow); }
.prod-hero h1 { font-size: clamp(30px, 4.6vw, 40px); font-weight: 800; line-height: 1.45; letter-spacing: .015em; color: var(--ink); }
.prod-hero p.lead { font-size: 17.5px; color: var(--muted); margin-top: 16px; max-width: 620px; }
.prod-hero .cta-row { display: flex; gap: 14px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.badge-review { font-size: 12px; color: #b4560f; background: #fdf6ee; border: 1px solid #f0c9a8; padding: 6px 14px; border-radius: 999px; font-weight: 700; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.shots img { width: 100%; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); display: block; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.feature h3 { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.feature p { font-size: 13.5px; color: var(--muted); }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; max-width: 640px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.plan .name { font-weight: 800; color: var(--ink); }
.plan .amount { font-size: 30px; font-weight: 800; color: var(--ink); margin: 8px 0; letter-spacing: .01em; }
.plan .amount small { font-size: 13px; color: var(--faint); font-weight: 600; }
.plan ul { list-style: none; margin-top: 10px; }
.plan li { font-size: 13.5px; color: var(--muted); padding: 4px 0; }
.plan li::before { content: "✓ "; color: var(--byoume); font-weight: 700; }

/* 旧・会社概要テーブル（紙面用・サブページ互換） */
.about-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-table th, .about-table td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--border); font-size: 14px; }
.about-table tr:last-child th, .about-table tr:last-child td { border-bottom: none; }
.about-table th { width: 160px; color: var(--muted); font-weight: 600; background: var(--neutral-fill); }

@media (max-width: 640px) {
  .container { padding: 0 24px; }
  .hero .container { padding-top: 76px; padding-bottom: 72px; }
  .hero h1 { font-size: 38px; }
  .hero .watermark { font-size: 120px; bottom: -24px; }
  .sec-num { font-size: 48px; }
  h2 .num { font-size: 52px; top: -8px; }
  .prod-hero h1 { font-size: 28px; }
  .shots { grid-template-columns: 1fr; }
  .brand-name small { display: none; }
  nav { gap: 12px; }
  nav a { font-size: 12px; white-space: nowrap; }
  .company-table { grid-template-columns: 96px 1fr; }
}
