/* =========================================================
   LGV Lab. ポートフォリオ  デザインシステム
   基調: 濃紺(ダークギャラリー) × ティール
   トークンは ui-ux-design-pro のスケールに準拠
   ========================================================= */
:root {
  /* スペーシング 4/8系 */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px; --s8:64px; --s9:96px;
  /* タイポ */
  --t-sm:14px; --t-base:16px; --t-lg:20px; --t-xl:24px; --t-2xl:32px; --t-3xl:44px;
  /* 角丸・影 */
  --r-sm:4px; --r-md:8px; --r-lg:12px; --r-pill:999px;
  --sh-md:0 4px 20px rgb(0 0 0 / .35);
  --sh-lg:0 12px 40px rgb(0 0 0 / .45);
  /* 色 */
  --bg:      #0d121e;   /* ベース60% 濃紺 */
  --bg-2:    #141b2b;   /* カード面 */
  --bg-3:    #1c2740;   /* 一段明るい面 */
  --line:    #2a3652;
  --text:    #eef2f8;   /* 本文 */
  --text-2:  #a7b2c6;   /* 副次テキスト */
  --text-3:  #6f7d97;   /* 補足 */
  --accent:  #6fdcdc;   /* アクセント10% ティール */
  --accent-2:#3fb6c4;
  --accent-ink:#06222a; /* アクセント上の文字 */
  --maxw: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: var(--t-base);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3 { line-height: 1.3; font-weight: 700; margin: 0 0 var(--s4); letter-spacing: .02em; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); }
p { margin: 0 0 var(--s4); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s5); }
.section { padding-block: var(--s9); }
.section--tight { padding-block: var(--s8); }
.eyebrow { color: var(--accent); font-size: var(--t-sm); letter-spacing: .18em; font-weight: 700; text-transform: uppercase; margin: 0 0 var(--s3); }
.lead { color: var(--text-2); font-size: var(--t-lg); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.muted { color: var(--text-3); font-size: var(--t-sm); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(13 18 30 / .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: var(--s5); height: 64px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: var(--s5); margin-left: auto; align-items: center; }
.nav__links a { color: var(--text-2); font-size: var(--t-sm); font-weight: 600; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav__cta { margin-left: var(--s3); }
.nav__toggle { display: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  padding: 12px 22px; border-radius: var(--r-pill); font-weight: 700; font-size: var(--t-sm);
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s;
  min-height: 44px;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #8ee9e9; text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 18px rgb(111 220 220 / .28); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn--lg { padding: 15px 30px; font-size: var(--t-base); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; min-height: 88vh; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; overflow: hidden; }
.hero__inner { min-width: 0; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, rgb(13 18 30 / .92) 0%, rgb(13 18 30 / .72) 45%, rgb(13 18 30 / .35) 100%); }
.hero__inner { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(28px, 6vw, 56px); line-height: 1.2; margin-bottom: var(--s4); }
.hero .lead { font-size: clamp(15px, 2.4vw, 20px); margin-bottom: var(--s6); }
.hero__badges { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.badge { font-size: var(--t-sm); color: var(--text-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 14px; background: rgb(28 39 64 / .5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ---------- 信頼の帯 ---------- */
.trustbar { background: var(--bg-2); border-block: 1px solid var(--line); }
.trustbar .container { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s7); align-items: center; justify-content: center; padding-block: var(--s5); }
.trustbar .stat b { color: var(--accent); font-size: var(--t-xl); font-weight: 700; }
.trustbar .stat span { color: var(--text-2); font-size: var(--t-sm); margin-left: var(--s2); }

/* ---------- サービスカード ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.svc { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); aspect-ratio: 4/5; display: flex; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .4s ease, opacity .3s; }
.svc::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 35%, rgb(13 18 30 / .92) 100%); }
.svc:hover img { transform: scale(1.05); opacity: 1; }
.svc__body { position: relative; z-index: 1; margin-top: auto; padding: var(--s5); width: 100%; }
.svc__body h3 { margin-bottom: var(--s1); }
.svc__body p { color: var(--text-2); font-size: var(--t-sm); margin: 0; }
.svc--feature { grid-row: span 1; }
.svc__tag { position: absolute; top: var(--s3); left: var(--s3); z-index: 2; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); }

/* ---------- ギャラリー(メーソンリー風) ---------- */
.gallery { columns: 3; column-gap: var(--s4); }
.gallery .shot { break-inside: avoid; margin-bottom: var(--s4); border-radius: var(--r-md); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); cursor: zoom-in; position: relative; }
.gallery .shot img { width: 100%; transition: transform .4s ease; }
.gallery .shot:hover img { transform: scale(1.04); }
.gallery .shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s4) var(--s3) var(--s3); font-size: 12px; color: var(--text); background: linear-gradient(transparent, rgb(13 18 30 / .9)); opacity: 0; transition: opacity .25s; }
.gallery .shot:hover figcaption { opacity: 1; }

/* カテゴリタブ */
.tabs { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; margin-bottom: var(--s6); }
.tab { border: 1px solid var(--line); color: var(--text-2); background: transparent; border-radius: var(--r-pill); padding: 7px 16px; font-size: var(--t-sm); font-weight: 600; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- 実績カード ---------- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
.case { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.case__media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.case__media img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.case__body { padding: var(--s5); }
.case__body h3 { margin-bottom: var(--s2); }
.case__client { color: var(--accent); font-size: var(--t-sm); font-weight: 700; }

/* ---------- 特徴3点 ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.feature { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6); }
.feature .ico { width: 44px; height: 44px; border-radius: var(--r-md); background: rgb(111 220 220 / .12); color: var(--accent); display: grid; place-items: center; margin-bottom: var(--s4); font-size: 22px; }
.feature h3 { margin-bottom: var(--s2); }
.feature p { color: var(--text-2); font-size: var(--t-sm); margin: 0; }

/* ---------- 動画(縦型ショート) ---------- */
.shorts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.short { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 9/16; }
.short iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 料金 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); align-items: start; }
.plan { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); padding: var(--s6); }
.plan--feature { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; position: relative; }
.plan--feature .plan__flag { position: absolute; top: -12px; left: var(--s6); background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: var(--r-pill); }
.plan h3 { margin-bottom: var(--s3); }
.plan .amount { font-size: var(--t-2xl); font-weight: 700; color: var(--text); }
.plan .amount small { font-size: var(--t-sm); color: var(--text-2); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: var(--s4) 0 0; }
.plan li { padding: var(--s2) 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: var(--t-sm); }
.plan li::before { content: "―"; color: var(--accent); margin-right: var(--s2); }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); padding: var(--s4) var(--s5); margin-bottom: var(--s3); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: var(--s3); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; color: var(--accent); }
.faq details[open] summary::after { content: "－"; }
.faq details p { margin: var(--s3) 0 0; color: var(--text-2); font-size: var(--t-sm); }

/* ---------- CTA帯 ---------- */
.cta-band { background: linear-gradient(120deg, var(--bg-3), var(--bg-2)); border-block: 1px solid var(--line); text-align: center; }
.cta-band h2 { margin-bottom: var(--s3); }
.cta-band p { color: var(--text-2); margin-bottom: var(--s6); }

/* ---------- フォーム ---------- */
.form { max-width: 560px; margin-inline: auto; display: grid; gap: var(--s5); }
.field { display: grid; gap: var(--s2); }
.field label { font-size: var(--t-sm); font-weight: 600; }
.field .req { color: var(--accent); margin-left: var(--s1); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-md); color: var(--text); font: inherit; font-size: var(--t-base); min-height: 44px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgb(111 220 220 / .18); }

/* ---------- プロフィール ---------- */
.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: var(--s8); align-items: start; }
.profile-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); padding: var(--s6); text-align: center; }
.profile-card img { width: 140px; height: 140px; border-radius: var(--r-pill); object-fit: contain; background: var(--bg-3); margin: 0 auto var(--s4); padding: var(--s3); }
.spec-list { display: grid; gap: var(--s2); }
.spec-list div { display: flex; gap: var(--s4); padding: var(--s3) 0; border-top: 1px solid var(--line); }
.spec-list dt { color: var(--text-3); font-size: var(--t-sm); min-width: 88px; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { font-size: 12px; color: var(--text-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px 12px; }

/* ---------- 注記 ---------- */
.note { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-md); padding: var(--s4) var(--s5); color: var(--text-2); font-size: var(--t-sm); }

/* ---------- フッター ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: var(--s8) var(--s6); margin-top: var(--s7); }
.footer-grid { display: flex; flex-wrap: wrap; gap: var(--s7); justify-content: space-between; }
.footer-grid img { height: 40px; margin-bottom: var(--s3); }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--s5); }
.footer-nav a { color: var(--text-2); font-size: var(--t-sm); }
.social { display: flex; gap: var(--s3); margin-top: var(--s3); }
.social a { color: var(--text-2); font-size: var(--t-sm); }
.copyright { color: var(--text-3); font-size: 12px; margin-top: var(--s6); }

/* ---------- ライトボックス ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgb(6 9 16 / .94); display: none; align-items: center; justify-content: center; padding: var(--s5); }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 86vh; border-radius: var(--r-md); box-shadow: var(--sh-lg); }
.lb__close { position: absolute; top: var(--s5); right: var(--s5); background: none; border: 0; color: #fff; font-size: 32px; cursor: pointer; line-height: 1; }
.lb__cap { position: absolute; bottom: var(--s5); left: 0; right: 0; text-align: center; color: var(--text-2); font-size: var(--t-sm); padding-inline: var(--s5); }

/* ---------- 追従CTA(モバイル) ---------- */
.sticky-cta { display: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .svc-grid, .features, .price-grid, .cases { grid-template-columns: 1fr; }
  .shorts { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
  .profile-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .section { padding-block: var(--s8); }
  .nav__links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: var(--s4) var(--s5); gap: var(--s3);
    transform: translateY(-120%); transition: transform .25s ease; }
  .nav__links.open { transform: translateY(0); }
  .nav__cta { margin-left: 0; }
  .nav__toggle { display: inline-flex; margin-left: auto; background: none; border: 1px solid var(--line);
    color: var(--text); border-radius: var(--r-md); width: 44px; height: 40px; font-size: 18px; cursor: pointer; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgb(13 18 30 / .92); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: var(--s3) var(--s4); }
  .sticky-cta .btn { width: 100%; }
  body { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .gallery { columns: 1; }
  .shorts { grid-template-columns: 1fr; }
  .container { padding-inline: var(--s4); }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
