/* ==========================================================
   Goofy ITコンサルティング LP（2026-11-13 v2）
   コーポレート（goofy-inc.com）・Growth LP とトーンを統一
   淡い青グレー × 英字見出し（Jost）× 丸型ボタン
   ========================================================== */
:root {
  --ink: #3F4F68;        /* 見出し */
  --blue: #5A81A2;       /* メイン（コーポレート主色） */
  --blue-deep: #45577A;  /* hover・濃い面 */
  --blue-soft: #A7B4CB;
  --pale: #E7EEF2;       /* 薄い面 */
  --mist: #EEF1F6;
  --line: #CFDBE3;
  --text: #4E5A6E;       /* 本文 */
  --muted: #6F7B8E;
  --white: #FFFFFF;
  --container: 1120px;
  --en: "Jost", "Noto Sans JP", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text); background: var(--white);
  font-size: 16px; line-height: 1.9; letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.sp-only { display: none; }
.nw { display: inline-block; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 16px; background: #fff; border: 2px solid var(--ink); }
.skip-link:focus { transform: none; }

/* ---------- ボタン（Growth LP と同じ） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 36px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .08em;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn-primary { background: var(--blue); color: var(--white); border: 1px solid var(--blue); }
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-ghost { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn-ghost:hover { background: var(--blue); color: var(--white); }
.btn-sm { padding: 8px 22px; font-size: 13px; }
.btn-lg { padding: 18px 56px; font-size: 16px; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.logo { font: 500 26px/1 var(--en); color: var(--blue); text-decoration: none; letter-spacing: .02em; }
.header-nav { display: flex; gap: 28px; margin-left: auto; }
.header-nav a { font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; }
.header-nav a:hover { opacity: .65; }

/* ---------- 見出し（英字＋日本語） ---------- */
.en-title { display: block; font-family: var(--en); font-weight: 400; color: var(--blue); font-size: 56px; line-height: 1.1; letter-spacing: .02em; }
.section-head { margin-bottom: 48px; }
.section-head .ja { display: block; margin-top: 10px; font-size: 15px; font-weight: 500; color: var(--muted); }

/* ---------- ファーストビュー ---------- */
.hero { background: linear-gradient(135deg, #F7F9FB 50%, var(--pale)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 56px; padding-block: 96px 104px; }
.eyebrow { font: 500 13px/1.6 var(--en); letter-spacing: .2em; color: var(--blue); }
.eyebrow span { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--blue-soft); font-family: "Noto Sans JP", sans-serif; letter-spacing: .08em; color: var(--muted); }
.hero-title { margin: 22px 0 24px; font-size: clamp(30px, 3vw, 38px); line-height: 1.55; font-weight: 700; color: var(--ink); letter-spacing: .03em; }
.hero-lead { max-width: 32em; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
/* 背景の図形（Growth LP の丸に対して、こちらは四角＋グリッド） */
.hero { position: relative; }
.hero-art { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(90,129,162,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(90,129,162,.07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 75%); mask-image: linear-gradient(90deg, transparent 30%, #000 75%); }
.hero-art span { position: absolute; mix-blend-mode: multiply; }
.hero-art .s1 { width: 360px; height: 360px; right: -170px; top: -170px; background: #9FB0CB; opacity: .28; transform: rotate(12deg); }
.hero-art .s2 { width: 300px; height: 300px; right: 260px; bottom: -190px; background: #B7C7C0; opacity: .4; transform: rotate(-8deg); }
.hero-art .s3 { width: 150px; height: 150px; right: 40px; bottom: 60px; background: #CFDBE3; opacity: .7; transform: rotate(20deg); }
.hero-grid { position: relative; }

/* 構想 ⇄ 現場 をつなぐ図 */
.hero-visual { display: flex; flex-direction: column; }
.hv-layer { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 14px; padding: 22px 28px; background: rgba(255,255,255,.92); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(63,79,104,.08); }
.hv-top { border-top: 3px solid var(--blue); }
.hv-bottom { border-bottom: 3px solid var(--blue); }
.hv-en { font: 500 12px/1 var(--en); letter-spacing: .2em; color: var(--blue); }
.hv-ja { font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1; }
.hv-desc { justify-self: end; font-size: 14px; color: var(--muted); }
.hv-bridge { list-style: none; margin: 0; padding: 0 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hv-bridge li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 52px 0; }
.hv-bridge li::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--blue), var(--blue-soft)); }
.hv-bridge li > * { position: relative; }
.hv-bridge li::after { content: ""; position: absolute; left: 50%; top: 50%; width: 100%; max-width: 108px; height: 84px; transform: translate(-50%, -50%); background: var(--white); border: 1px solid var(--line); }
.hv-num { font: 300 20px/1 var(--en); color: var(--blue-soft); z-index: 1; }
.hv-bridge b { margin-top: 4px; font: 500 17px/1.2 var(--en); color: var(--ink); letter-spacing: .02em; z-index: 1; }
.hv-bridge small { margin-top: 3px; font-size: 11px; color: var(--muted); z-index: 1; }

/* ---------- 実績（コーポレートと同じ丸枠） ---------- */
.trust { padding: 72px 0 8px; }
.trust-inner { display: flex; justify-content: center; gap: 28px; }
.trust-item { width: 184px; height: 184px; border-radius: 50%; border: 1px solid var(--blue); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--blue); font-weight: 700; line-height: 1.6; }
.trust-item small { font-size: 13px; font-weight: 500; }
.trust-item b { font-size: 20px; }

/* ---------- 共通セクション ---------- */
.section { padding: 112px 0; }
.section.alt { background: var(--mist); }
.card-grid { display: grid; gap: 20px; }
.card { min-width: 0; padding: 32px 28px; background: var(--white); border: 1px solid var(--line); }
.card h3 { font-size: 18px; line-height: 1.6; color: var(--ink); }
.card p { font-size: 15px; line-height: 1.85; }

/* お悩み */
.issues-grid { grid-template-columns: repeat(3, 1fr); }
.card-tag { display: inline-block; margin-bottom: 16px; padding: 3px 12px; background: var(--pale); color: var(--blue); font: 500 12px/1.6 var(--en); letter-spacing: .12em; }
.issue-card h3 { margin-bottom: 12px; }
.bridge { margin-top: 56px; text-align: center; font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: .06em; }
.bridge::before { content: ""; display: block; width: 1px; height: 48px; margin: 0 auto 24px; background: var(--blue-soft); }

/* サービス */
.service-grid { grid-template-columns: repeat(4, 1fr); }
.service-card { display: flex; flex-direction: column; border-top: 3px solid var(--blue); }
.num { display: block; font: 300 40px/1 var(--en); color: var(--blue-soft); letter-spacing: .02em; }
.service-card h3 { margin: 18px 0 10px; }
.service-card ul { margin-top: auto; padding: 16px 0 0 1.2em; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; line-height: 1.9; }
.service-card p { margin-bottom: 20px; }

/* 選ばれる理由 */
.section.dark { background: var(--blue-deep); color: var(--white); }
.dark .en-title { color: rgba(255,255,255,.4); }
.dark .section-head .ja { color: rgba(255,255,255,.85); }
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.18); }
.reason { padding: 36px 32px; background: var(--blue-deep); }
.reason .num { color: rgba(255,255,255,.35); }
.reason h3 { margin: 20px 0 12px; font-size: 18px; line-height: 1.6; color: var(--white); }
.reason p { font-size: 15px; line-height: 1.85; color: rgba(255,255,255,.88); }

/* お問い合わせ */
.cta { padding: 104px 0; background: var(--pale); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta .en-title { font-size: 52px; font-weight: 500; }
.cta h2 { margin: 18px 0 10px; font-size: 26px; line-height: 1.6; color: var(--ink); }

/* フッター */
.site-footer { background: var(--blue); color: rgba(255,255,255,.85); padding: 28px 0; font: 13px var(--en); letter-spacing: .06em; }
.site-footer .container { display: flex; justify-content: space-between; }
.sticky-cta { display: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 72px 80px; }
  .hero-visual { max-width: 620px; }
  .hero-art .s2 { right: -60px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .header-nav { display: none; }
  .header-inner .btn { margin-left: auto; }
  .en-title { font-size: 46px; }
}
@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .sp-only { display: inline; }
  .hero-grid { padding-block: 48px 56px; gap: 36px; }
  .eyebrow span { display: block; margin: 4px 0 0; padding: 0; border: 0; }
  .hero-title { font-size: 28px; }
  .hero-cta .btn { width: 100%; }
  .hero-art .s1 { width: 260px; height: 260px; right: -120px; top: -90px; }
  .hero-art .s3 { display: none; }
  .hv-layer { padding: 16px 18px; gap: 10px; }
  .hv-ja { font-size: 18px; }
  .hv-desc { font-size: 12px; }
  .hv-bridge { padding: 0 6px; gap: 6px; }
  .hv-bridge li { padding: 26px 0; }
  .hv-bridge li::after { height: 66px; }
  .hv-bridge b { font-size: 14px; }
  .hv-bridge small { font-size: 10px; }
  .trust { padding: 48px 0 0; }
  .trust-inner { gap: 8px; }
  .trust-item { width: 108px; height: 108px; font-size: 12px; line-height: 1.5; }
  .trust-item b { font-size: 15px; }
  .trust-item small { font-size: 10px; }
  .section { padding: 72px 0; }
  .en-title, .cta .en-title { font-size: 38px; }
  .section-head { margin-bottom: 32px; }
  .issues-grid, .service-grid, .reasons-grid { grid-template-columns: 1fr; }
  .bridge { font-size: 18px; margin-top: 40px; }
  .cta { padding: 72px 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta h2 { font-size: 21px; }
  .cta-actions, .btn-lg { width: 100%; }
  .site-footer { padding-bottom: 96px; }
  .site-footer .container { flex-direction: column; gap: 4px; }
  .sticky-cta { display: flex; position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 14px; min-height: 52px; align-items: center; justify-content: center; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; letter-spacing: .08em; text-decoration: none; box-shadow: 0 8px 24px rgba(63,79,104,.25); transition: opacity .25s, transform .25s; }
  .sticky-cta.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
