/* =========================================================
   GSクリエイト｜制作サンプル一覧
   デザイントークンは公式HP（gscreate-official/public/index.html）に合わせる
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-2: #f4f7f5;
  --surface: #ffffff;
  --line: rgba(17,20,24,.08);
  --line-strong: rgba(17,20,24,.16);
  --text: #111418;
  --muted: #5b6670;
  --muted-2: #8a95a0;
  --green: #2ad674;
  --green-hover: #22c968;
  --green-ink: #159a4f;       /* 白地に置く文字用のグリーン（公式HPの kicker と同じ） */
  --green-soft: rgba(42,214,116,.14);
  --on-green: #0b1a10;
  --deep: #1f5c40;            /* GS Deep Green（ロゴ色） */
  --gold: #b48a32;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow: 0 16px 34px -18px rgba(17,20,24,.22);
  --shadow-lg: 0 30px 60px -28px rgba(17,20,24,.35);
  --d-bg: #15191d;
  --d-surface: #1e2328;
  --d-line: rgba(255,255,255,.08);
  --d-line-strong: rgba(255,255,255,.16);
  --d-text: #ffffff;
  --d-muted: #b3bcc5;
  --d-muted-2: #8a949e;
  --ease: 180ms ease;
  --hd-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 84px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16.5px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.nowrap { white-space: nowrap; }
.pc-br { display: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-size: 14px; }
.skip:focus { top: 12px; }

/* ---------- 共通パーツ（公式HP準拠） ---------- */
.kicker { display: block; font-size: 12.5px; letter-spacing: .18em; font-weight: 700; color: var(--green-ink); text-transform: uppercase; margin-bottom: 12px; }
h2 { font-size: clamp(24px, 3.4vw, 38px); line-height: 1.4; font-weight: 800; letter-spacing: .005em; }
h3 { font-size: 19px; font-weight: 800; line-height: 1.5; }
.lead { color: var(--muted); font-size: 16.5px; margin-top: 14px; }
.sec-head { max-width: 760px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.5;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform var(--ease), background-color var(--ease), border-color var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: var(--on-green); }
.btn-secondary { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-deep { background: var(--deep); border-color: var(--deep); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14.5px; }
.btn-lg { padding: 17px 30px; font-size: 16.5px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

section { padding: 84px 0; }

/* ---------- ヘッダー ---------- */
.hd {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hd-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.hd-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.hd-logo img { height: 24px; width: auto; }
.hd-tag { font-size: 12.5px; font-weight: 700; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line-strong); line-height: 1.4; white-space: nowrap; }
.hd-nav { display: none; gap: 28px; font-size: 14.5px; }
.hd-nav a, .hd-subnav a { color: var(--muted); text-decoration: none; transition: color var(--ease); }
.hd-cta { display: none; }
.hd-subnav { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hd-subnav a { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: 13px; font-weight: 700; color: var(--text); text-align: center; line-height: 1.35; padding: 0 4px; }
.hd-subnav a + a { border-left: 1px solid var(--line); }

/* ---------- ファーストビュー ---------- */
.hero { position: relative; overflow: hidden; padding: 52px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); }
.hero::before {
  content: ""; position: absolute; right: -18%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42,214,116,.16), rgba(42,214,116,0)); pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 44px; align-items: center; }
.hero h1 { font-weight: 800; }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--text);
  border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 6px 15px; margin-bottom: 22px; letter-spacing: .04em; line-height: 1.6;
}
.hero-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero-catch { display: block; font-size: clamp(30px, 5.4vw, 56px); line-height: 1.32; letter-spacing: .005em; }
.hero-catch em { font-style: normal; color: var(--deep); background: linear-gradient(transparent 68%, rgba(42,214,116,.32) 68%, rgba(42,214,116,.32) 92%, transparent 92%); padding: 0 .04em; }
.hero .lead { margin-top: 20px; font-size: 16px; }
.hero .cta-row { margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted-2); line-height: 1.75; }

.hero-visual { position: relative; }
.hero-device {
  position: relative; display: block; width: 100%; padding: 0 9% 34px 0; border: 0; background: none; cursor: pointer; text-align: left;
}
.hv-browser {
  display: block; background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transition: transform 260ms ease, box-shadow 260ms ease;
}
.hv-bar { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 12px; background: #f1f3f2; border-bottom: 1px solid var(--line); }
.hv-bar i, .mk-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d5dad7; display: block; }
.hv-phone {
  position: absolute; right: 0; bottom: 0; width: 24%; aspect-ratio: 390 / 844;
  background: #14181b; border-radius: 22px; padding: 5px; box-shadow: 0 24px 40px -18px rgba(17,20,24,.45);
  transition: transform 260ms ease;
}
.hv-phone-screen { display: block; width: 100%; height: 100%; border-radius: 17px; overflow: hidden; background: #faf7f0; }
.hv-phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hv-caption {
  position: absolute; left: 14px; bottom: 0; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; box-shadow: var(--shadow); line-height: 1.5;
}
.hv-caption b { font-size: 13.5px; }
.hv-caption span { font-size: 12px; color: var(--muted); }

/* ---------- 制作サンプル一覧 ---------- */
.works { background: #fff; }
.works-grid { display: grid; gap: 22px; margin-top: 44px; }

.wcard {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.wc-thumb { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: linear-gradient(160deg, #eef3ef 0%, #e2ebe5 100%); }
.wc-pc {
  position: absolute; left: 7%; top: 11%; width: 80%;
  background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 18px 34px -18px rgba(17,20,24,.4);
  transition: transform 260ms ease;
}
.wc-pc .hv-bar { height: 16px; padding: 0 8px; gap: 4px; }
.wc-pc .hv-bar i { width: 5px; height: 5px; }
.wc-sp {
  position: absolute; right: 6%; bottom: 7%; width: 19%; aspect-ratio: 390 / 844;
  background: #14181b; border-radius: 14px; padding: 3px; box-shadow: 0 16px 26px -12px rgba(17,20,24,.45);
  transition: transform 260ms ease;
}
.wc-sp span { display: block; width: 100%; height: 100%; border-radius: 11px; overflow: hidden; }
.wc-sp img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wc-badge {
  position: absolute; left: 12px; top: 12px; z-index: 1; font-size: 11.5px; font-weight: 700; line-height: 1.6;
  background: rgba(255,255,255,.94); color: var(--text); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 10px;
}
.wc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.wc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; line-height: 1.6; }
.wc-industry { font-weight: 700; color: var(--green-ink); background: var(--green-soft); border-radius: 999px; padding: 3px 11px; }
.wc-type { color: var(--muted); font-weight: 700; }
.wc-body h3 { margin-top: 12px; font-size: 20px; letter-spacing: .01em; }
.wc-desc { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.wc-note { margin-top: 10px; font-size: 12px; color: var(--muted-2); line-height: 1.7; }
.wc-action { margin-top: auto; padding-top: 20px; }
.wc-open { width: 100%; }
.wc-open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* カード全体をクリック可能に */
.wc-open:focus-visible { outline: none; }
.wcard:has(.wc-open:focus-visible) { outline: 2px solid var(--green); outline-offset: 3px; }

.noscript { margin-top: 24px; color: var(--muted); }

/* ---------- 無料デザイン依頼 ---------- */
.request { padding-top: 24px; }
.request-box {
  position: relative; overflow: hidden; border-radius: 24px; padding: 48px 26px;
  background: var(--d-bg); color: var(--d-text); display: grid; gap: 30px; align-items: center;
}
.request-box::before {
  content: ""; position: absolute; left: -10%; bottom: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42,214,116,.16), rgba(42,214,116,0)); pointer-events: none;
}
.request-copy { position: relative; }
.request .kicker { color: var(--green); }
.request h2 { color: var(--d-text); }
.request .lead { color: var(--d-muted); }
.request-art { position: relative; height: 220px; display: none; }
.ra-card { position: absolute; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 14px; background: var(--d-surface); border: 1px solid var(--d-line-strong); }
.ra-card i { display: block; height: 9px; border-radius: 6px; background: rgba(255,255,255,.12); }
.ra-a { left: 4%; top: 6%; width: 64%; height: 150px; }
.ra-a i:nth-child(1) { width: 46%; background: var(--green); }
.ra-a i:nth-child(2) { width: 88%; }
.ra-a i:nth-child(3) { width: 70%; }
.ra-b { right: 4%; bottom: 4%; width: 46%; height: 120px; background: #262c32; }
.ra-b i:nth-child(1) { width: 70%; }
.ra-b i:nth-child(2) { width: 50%; background: var(--gold); }
.ra-dot { position: absolute; right: 18%; top: 6%; width: 46px; height: 46px; border-radius: 50%; background: var(--deep); box-shadow: 0 0 0 8px rgba(31,92,64,.25); }

/* ---------- フッター ---------- */
.ft { margin-top: 84px; background: var(--d-bg); color: var(--d-muted); padding: 52px 0 calc(30px + env(safe-area-inset-bottom)); font-size: 14.5px; }
.ft-grid { display: grid; gap: 26px; }
.ft-logo { display: inline-flex; }
.ft-logo img { height: 30px; width: auto; }
.ft-brand p { margin-top: 12px; color: var(--d-muted-2); font-size: 14px; }
.ft-nav { display: flex; flex-direction: column; gap: 10px; }
.ft-nav a { color: var(--d-muted); text-decoration: none; }
.ft-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--d-line); font-size: 12.5px; line-height: 1.85; color: var(--d-muted-2); max-width: 60em; }
.ft-copy { margin-top: 14px; font-size: 13px; color: var(--d-muted-2); }

/* =========================================================
   モックアップ（dialog）
   ========================================================= */
.mk {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); overflow: hidden;
}
.mk[open] { display: flex; align-items: center; justify-content: center; }
.mk::backdrop { background: rgba(11,14,17,.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mk-panel {
  display: flex; flex-direction: column; width: 100%; height: 100%; background: #fff; overflow: hidden;
  animation: mk-in 220ms ease;
}
@keyframes mk-in { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }

.mk-head {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title close" "switch switch";
  align-items: center; gap: 10px 12px; padding: calc(10px + env(safe-area-inset-top)) 14px 10px 18px; border-bottom: 1px solid var(--line);
}
.mk-title { grid-area: title; min-width: 0; line-height: 1.4; }
.mk-meta { display: block; font-size: 11.5px; font-weight: 700; color: var(--green-ink); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-title h2 { font-size: 16.5px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-switch { grid-area: switch; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.mk-switch button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 18px;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background-color var(--ease), color var(--ease), box-shadow var(--ease);
}
.mk-switch svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mk-switch button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: 0 2px 8px -3px rgba(17,20,24,.25); }
.mk-close {
  grid-area: close; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; cursor: pointer; transition: background-color var(--ease);
}
.mk-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.mk-stage {
  position: relative; flex: 1; min-height: 0; display: flex; justify-content: center; align-items: stretch;
  padding: 16px 12px; background: linear-gradient(160deg, #eef3ef 0%, #e3ebe6 100%);
}
.mk-view { flex: 1; min-width: 0; display: flex; justify-content: center; align-items: stretch; }
.mk-view[hidden] { display: none; }

.mk-screen {
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: #f4f2ec; touch-action: pan-y;
}
.mk-screen img { width: 100%; height: auto; display: block; background: #f1efe9; }
.mk-screen:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; border-radius: 0; }

/* PC：ブラウザ風の枠 */
.mk-browser {
  width: 100%; max-width: 1240px; display: flex; flex-direction: column; background: #fff;
  border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(17,20,24,.1);
}
.mk-browser-bar { flex: none; display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; background: #f1f3f2; border-bottom: 1px solid var(--line); }
.mk-dots { display: flex; gap: 6px; flex: none; }
.mk-dots i:nth-child(1) { background: #f26d5f; }
.mk-dots i:nth-child(2) { background: #f5bd4f; }
.mk-dots i:nth-child(3) { background: #61c454; }
.mk-url {
  flex: 1; min-width: 0; max-width: 460px; margin: 0 auto; height: 24px; display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 10px;
}
.mk-url::before { content: ""; flex: none; width: 9px; height: 10px; border: 1.6px solid var(--muted-2); border-radius: 2px; border-top-width: 4px; }
.mk-browser .mk-screen { flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: rgba(17,20,24,.35) transparent; }

/* スマホ：スマートフォン風の枠 */
.mk-phone {
  position: relative; flex: none; height: 100%; max-height: 860px; aspect-ratio: 414 / 868;
  max-width: 100%; background: #14181b; border-radius: 46px; padding: 12px;
  box-shadow: 0 0 0 2px #2b3136 inset, var(--shadow-lg);
}
.mk-island { position: absolute; z-index: 2; top: 22px; left: 50%; width: 30%; height: 24px; transform: translateX(-50%); background: #0b0d0f; border-radius: 999px; pointer-events: none; }
.mk-phone .mk-screen { height: 100%; border-radius: 35px; scrollbar-width: none; padding-top: 44px; background: #faf7f0; }
.mk-phone .mk-screen::-webkit-scrollbar { display: none; }

/* スクロール案内（最初のスクロールで消える） */
.mk-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); pointer-events: none;
  transition: opacity 400ms ease, transform 400ms ease;
}
.mk-hint span {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12.5px; font-weight: 700; color: #fff;
  background: rgba(17,20,24,.78); border-radius: 999px; padding: 7px 14px; line-height: 1.5;
}
.mk-hint span::before { content: ""; width: 7px; height: 11px; border: 1.6px solid #fff; border-radius: 4px; flex: none; }
.mk-stage.is-scrolled .mk-hint { opacity: 0; transform: translate(-50%, 6px); }

.mk-foot {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px;
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff;
}
.mk-note { font-size: 11.5px; color: var(--muted); line-height: 1.6; text-align: center; }
.mk-foot .btn { width: 100%; }

/* 背景スクロールの固定（JSで body に付与） */
body.is-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 380px) {
  .hero-catch { font-size: 28px; }
  .hd-tag { font-size: 11.5px; padding-left: 10px; }
  .hd-logo { gap: 10px; }
  .hd-subnav a { font-size: 12.5px; }
}
@media (max-width: 599px) {
  .sp-br { display: inline; }
  .hero .cta-row .btn { width: 100%; }
  .request .cta-row .btn { width: 100%; }
  .mk-switch button { padding: 0 10px; }
}
@media (min-width: 600px) {
  .sp-br { display: none; }
  .pc-br { display: inline; }
}
@media (min-width: 640px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .request-box { padding: 60px 48px; }
}
@media (min-width: 760px) {
  /* タブレット以上：モーダルはパネル型 */
  .mk-panel { width: calc(100% - 48px); height: calc(100% - 48px); max-width: 1320px; border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
  .mk-head { grid-template-columns: 1fr auto 1fr; grid-template-areas: "title switch close"; padding: 12px 14px 12px 22px; }
  .mk-close { justify-self: end; }
  .mk-switch { min-width: 250px; }
  .mk-stage { padding: 22px 24px; }
  .mk-foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 16px 12px 22px; }
  .mk-note { text-align: left; font-size: 12.5px; }
  .mk-foot .btn { width: auto; }
}
@media (min-width: 900px) {
  section { padding: 104px 0; }
  .hd-bar { height: var(--hd-h); }
  .hd-logo img { height: 26px; }
  .hd-nav { display: flex; }
  .hd-cta { display: inline-flex; }
  .hd-subnav { display: none; }
  .hero { padding: 88px 0 104px; }
  .hero-grid { grid-template-columns: 1fr 1.08fr; gap: 56px; }
  .hero .lead { font-size: 17px; }
  .request { padding-top: 24px; }
  .request-box { grid-template-columns: 1.4fr 1fr; padding: 68px 64px; gap: 40px; }
  .request-art { display: block; }
  .ft-grid { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .ft { margin-top: 104px; }
}
@media (min-width: 1000px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
}
@media (min-width: 1400px) {
  .wrap { max-width: 1240px; }
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--green-hover); }
  .btn-secondary:hover { background: rgba(17,20,24,.05); }
  .btn-deep:hover { background: #18503a; }
  .hd-nav a:hover { color: var(--text); }
  .ft-nav a:hover { color: #fff; }
  .hero-device:hover .hv-browser { transform: translateY(-4px); box-shadow: 0 36px 70px -30px rgba(17,20,24,.42); }
  .hero-device:hover .hv-phone { transform: translateY(-8px); }
  .wcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
  .wcard:hover .wc-pc { transform: translateY(-4px); }
  .wcard:hover .wc-sp { transform: translateY(-7px); }
  .mk-close:hover { background: var(--bg-2); }
  .mk-switch button:not([aria-selected="true"]):hover { color: var(--text); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 調整（文節で改行・余白・スマホのモックアップ） ---------- */
.ib { display: inline-block; }
.request { padding-bottom: 0; }
.request h2 { font-size: clamp(23px, 3.2vw, 36px); }
@media (max-width: 759px) {
  /* スマホ閲覧時はスマホ枠を画面いっぱいに（枠の縦横比より、画面の見やすさを優先。中の画像の比率は維持） */
  .mk-stage { padding: 12px 10px; }
  .mk-phone { aspect-ratio: auto; width: min(100%, 360px); height: 100%; max-height: none; padding: 7px; border-radius: 34px; }
  .mk-phone .mk-screen { border-radius: 28px; padding-top: 30px; }
  .mk-island { top: 14px; height: 20px; width: 28%; }
  .mk-hint { bottom: 18px; }
  .mk-hint span { font-size: 12px; }
  .mk-cta-long { display: none; }
  .mk-foot { gap: 6px; padding-top: 8px; }
  .mk-note { font-size: 11px; }
  .mk-foot .btn { padding: 12px 18px; }
}
.hero-grid > * { min-width: 0; }
.hero-catch { font-size: clamp(25px, 7.2vw, 56px); }
@media (max-width: 380px) { .hero-catch { font-size: clamp(24px, 7.2vw, 28px); } }

/* =========================================================
   公開前ブラッシュアップ（2026-10-11）
   ========================================================= */
/* 作品番号：10作品並んだときの「作品集」らしさ。主役はブランド名ではなく番号＋業種 */
.wc-no { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--muted-2); margin-right: 2px; }
.wc-desc { font-size: 15px; }
.wc-note { font-size: 12.5px; }
.hero-note { font-size: 13px; }
.hv-caption b { font-size: 13px; letter-spacing: .04em; }

/* FV：主役は GSクリエイトのコピー。作品ビジュアルは一回り控えめに */
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero-device { padding-right: 8%; }
}

/* 無料デザイン依頼：遷移先の案内 */
.request-note { margin-top: 14px; font-size: 13px; color: var(--d-muted-2); line-height: 1.75; }

/* フッター：公式HPと同じく CTA と コピーライト行（プライバシーポリシー） */
.ft-cta { margin-top: 30px; }
.ft-copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 18px; margin-top: 26px; border-top: 1px solid var(--d-line); }
.ft-copy a { color: inherit; text-decoration: none; }
.ft-note { border-top: 0; padding-top: 0; margin-top: 28px; }
@media (hover: hover) and (pointer: fine) { .ft-copy a:hover { color: #fff; } }

/* スマホ最優先 */
@media (max-width: 599px) {
  .hero { padding: 36px 0 56px; }
  .hero-label { margin-bottom: 16px; }
  .hero .cta-row { margin-top: 24px; }
  .hero-visual { margin-top: -6px; }
  section { padding: 68px 0; }
  .works-grid { margin-top: 32px; }
  .wc-body { padding: 20px 20px 22px; }
  .wc-open { min-height: 52px; }
    .request { padding-top: 8px; }
  .request-box { padding: 40px 22px; }
  .ft { margin-top: 68px; }
}
@media (max-width: 759px) {
  /* モックアップ：ヘッダーと下部を詰めて、スマホ枠をできるだけ大きく */
  .mk-head { padding: calc(8px + env(safe-area-inset-top)) 10px 8px 16px; gap: 8px 10px; }
  .mk-meta { font-size: 11.5px; }
  .mk-title h2 { font-size: 15.5px; }
  .mk-switch button { min-height: 42px; font-size: 14.5px; }
  .mk-foot { flex-direction: row; align-items: center; gap: 12px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) 14px; }
  .mk-note { flex: 1; min-width: 0; text-align: left; font-size: 11.5px; line-height: 1.55; }
  .mk-foot .btn { width: auto; flex: none; padding: 12px 16px; font-size: 14px; min-height: 46px; }
}
.mk-note-short { display: none; }
@media (max-width: 759px) {
  .mk-note-short { display: inline; }
  .mk-note-long { display: none; }
  .mk-note { font-size: 12px; }
}
.hd-logo { min-height: 44px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero-catch { font-size: clamp(36px, 3.7vw, 52px); }
}

/* =========================================================
   公開前の最終デザイン修正（2026-10-11）
   ========================================================= */
/* 作品数に応じた並べ方：1件は横長カードで主役に、2件は2列、3件以上は3列 */
.works-grid[data-count="1"] { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .works-grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .works-grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 760px) {
  .works-grid[data-count="1"] .wcard { flex-direction: row; align-items: stretch; }
  .works-grid[data-count="1"] .wc-thumb { flex: 0 0 56%; aspect-ratio: 16 / 10.5; }
  .works-grid[data-count="1"] .wc-body { justify-content: center; padding: 32px 34px; }
  .works-grid[data-count="1"] .wc-body h3 { font-size: clamp(21px, 2.2vw, 26px); }
  .works-grid[data-count="1"] .wc-desc { font-size: 15.5px; }
  .works-grid[data-count="1"] .wc-action { margin-top: 0; padding-top: 24px; }
  .works-grid[data-count="1"] .wc-open { width: auto; min-width: 220px; }
}
@media (min-width: 1000px) {
  .works-grid[data-count="1"] .wc-thumb { flex-basis: 60%; }
  .works-grid[data-count="1"] .wc-body { padding: 40px 44px; }
}

/* 対応できる業種（制作実績とは別：画像なし・タグのみ） */
.industries {
  margin-top: 28px; display: grid; gap: 22px; align-items: center;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 22px;
}
.industries .kicker { margin-bottom: 8px; }
.industries h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.5; }
.ind-copy p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.ind-caption { font-size: 12.5px; font-weight: 700; color: var(--muted-2); letter-spacing: .04em; }
.ind-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ind-list li { font-size: 13.5px; font-weight: 700; color: var(--text); background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 13px; line-height: 1.6; }
.ind-cta { margin-top: 22px; }
@media (max-width: 599px) {
  .industries { padding: 26px 20px; margin-top: 20px; }
  .ind-list { gap: 6px; }
  .ind-list li { font-size: 13px; padding: 4px 11px; }
  .ind-cta { width: 100%; margin-top: 20px; }
}
@media (min-width: 900px) {
  .industries { grid-template-columns: 1fr 1fr; gap: 48px; padding: 40px 44px; }
}

/* スクロール案内：モックアップ枠の外（下の余白）に出して、作品に重ねない */
.mk-stage { padding-bottom: 42px; }
.mk-hint { bottom: 10px; }
.mk-hint span { background: transparent; color: var(--muted); padding: 0; font-size: 12.5px; }
.mk-hint span::before { border-color: var(--muted); }
@media (max-width: 759px) {
  .mk-stage { padding-bottom: 34px; }
  .mk-hint { bottom: 7px; }
  .mk-hint span { font-size: 12px; }
}
/* 公式LINE への相談CTAの補足（友だち追加だけで依頼完了と誤認させない） */
.ind-note { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.7; }
@media (max-width: 420px) {
  /* CTA文言が長くなったため、狭い画面では注意書き（1行）とボタン（全幅）を縦に並べる */
  .mk-foot { flex-direction: column; align-items: stretch; gap: 6px; }
  .mk-note { text-align: center; }
  .mk-foot .btn { width: 100%; }
}
