/* =============================================
   Gain Knowledge - Top Page CSS
   対象: page-top.php
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=Noto+Sans+JP:wght@300;400;700&display=swap');

/* -----------------------------------------------
   リセット & ベース
----------------------------------------------- */
.gk-page *,
.gk-page *::before,
.gk-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.gk-page {
    font-family: 'Noto Sans JP', sans-serif;
    background: #050d1a;
    color: #e8f0fe;
    overflow-x: hidden;
    line-height: 1;
}

/* Astraテーマのデフォルトスタイルを上書き */
.gk-page a {
    text-decoration: none;
    color: inherit;
}

/* -----------------------------------------------
   ナビゲーション
----------------------------------------------- */
.gk-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 60px;
    border-bottom: 1px solid rgba(100, 160, 255, 0.1);
    background: rgba(5, 13, 26, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.gk-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.gk-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, #4fa3ff 0%, #0040cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    letter-spacing: -1px;
    flex-shrink: 0;
}

.gk-logo-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #e8f0fe;
    display: block;
}

.gk-logo-sub {
    font-size: 9px;
    color: #4fa3ff;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: block;
    margin-top: -1px;
}

.gk-nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.gk-nav-links a {
    font-size: 12px;
    color: #ffffff;
    letter-spacing: 0.07em;
    transition: color 0.2s;
}

.gk-nav-links a:hover {
    color: #4fa3ff;
}

.gk-nav-cta {
    background: linear-gradient(90deg, #1a6aff, #0040cc);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.gk-nav-cta:hover {
    opacity: 0.85;
}

/* ハンバーガー（スマホ用） */
.gk-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.gk-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #e8f0fe;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.gk-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gk-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.gk-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -----------------------------------------------
   ヒーローセクション
----------------------------------------------- */
.gk-hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 60px 100px;
    gap: 48px;
    overflow: hidden;
    min-height: 560px;
}

/* 回路基板アニメーション背景 */
.gk-circuit-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.gk-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 70% at 25% 50%, rgba(26, 106, 255, 0.15) 0%, transparent 65%),
        radial-gradient(ellipse 35% 45% at 80% 80%, rgba(79, 163, 255, 0.06) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.gk-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 163, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 163, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.gk-hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
}

/* タイピングアニメーション カーソル */
.gk-typing-cursor {
    display: inline-block;
    color: #4fa3ff;
    font-weight: 300;
    animation: gk-cursor-blink 0.7s step-end infinite;
    margin-left: 2px;
}

.gk-typing-cursor.is-done {
    animation: none;
    opacity: 0;
}

@keyframes gk-cursor-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.gk-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(79, 163, 255, 0.1);
    border: 1px solid rgba(79, 163, 255, 0.28);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 10px;
    color: #4fa3ff;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.gk-badge-dot {
    width: 6px;
    height: 6px;
    background: #4fa3ff;
    border-radius: 50%;
    animation: gk-badge-pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes gk-badge-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.3; transform: scale(0.55); }
}

.gk-hero-h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(36px, 4.5vw, 54px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.5px;
    color: #e8f0fe;
    margin-bottom: 22px;
}

.gk-hero-h1 .gk-accent {
    background: linear-gradient(90deg, #4fa3ff, #1a6aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gk-hero-desc {
    font-size: 14px;
    line-height: 1.9;
    color: #ffffff;
    font-weight: 300;
    margin-bottom: 34px;
    max-width: 360px;
}

.gk-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.gk-btn-primary {
    background: linear-gradient(90deg, #1a6aff, #0040cc);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 7px;
    letter-spacing: 0.04em;
    transition: opacity 0.2s, transform 0.2s;
    display: inline-block;
    font-family: 'Noto Sans JP', sans-serif;
}

.gk-btn-primary:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    color: #fff;
}

.gk-btn-outline {
    background: transparent;
    color: #4fa3ff;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 7px;
    border: 1px solid rgba(79, 163, 255, 0.38);
    letter-spacing: 0.04em;
    transition: border-color 0.2s, transform 0.2s;
    display: inline-block;
    font-family: 'Noto Sans JP', sans-serif;
}

.gk-btn-outline:hover {
    border-color: #4fa3ff;
    transform: translateY(-1px);
    color: #4fa3ff;
}

/* -----------------------------------------------
   ヒーロー デモハブ（5タブ切り替え）
----------------------------------------------- */
.gk-hero-demo {
    position: relative;
    z-index: 2;
    width: 420px;
    flex-shrink: 0;
}

.gk-demo-hub {
    background: #050d1a;
    border: 1px solid rgba(79, 163, 255, 0.18);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* タブバー */
.gk-demo-tabbar {
    display: flex;
    border-bottom: 1px solid rgba(79, 163, 255, 0.12);
    background: rgba(8, 18, 38, 0.9);
    flex-shrink: 0;
}

.gk-demo-tab {
    flex: 1;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: transparent;
    color: rgba(232, 240, 254, 0.55);
    transition: color 0.2s, background 0.2s;
    border-right: 1px solid rgba(79, 163, 255, 0.08);
    position: relative;
}

.gk-demo-tab:last-child { border-right: none; }
.gk-demo-tab:hover { color: rgba(232, 240, 254, 0.6); background: rgba(79, 163, 255, 0.04); }
.gk-demo-tab.active { color: #4fa3ff; background: rgba(26, 106, 255, 0.1); }

.gk-demo-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1a6aff, #4fa3ff);
}

/* パネル共通 */
.gk-demo-panel {
    display: none;
    height: 280px;
    position: relative;
    overflow: hidden;
    flex-direction: column;
}

.gk-demo-panel.active { display: flex; }

/* ① パーティクルパネル */
#gkPanelParticle {
    background: #050d1a;
    cursor: none;
}

#gkPanelParticle canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

.gk-demo-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(79, 163, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 163, 255, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.gk-demo-cursor {
    position: absolute;
    width: 16px; height: 16px;
    border: 1.5px solid #4fa3ff;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: width 0.15s, height 0.15s;
}

.gk-demo-cursor-dot {
    position: absolute;
    width: 4px; height: 4px;
    background: #4fa3ff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 11;
}

.gk-demo-livecard {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(10, 20, 45, 0.93);
    border: 1px solid rgba(79, 163, 255, 0.2);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 9px;
    line-height: 1.85;
    z-index: 6;
}

.gk-demo-livecard .dlb { display: flex; gap: 4px; margin-bottom: 8px; }
.gk-demo-livecard .ld  { width: 7px; height: 7px; border-radius: 50%; }

.c-comment { color: #3a5480; }
.c-prop    { color: #4fa3ff; }
.c-num     { color: #c3e88d; }
.c-live    { color: #ffcb6b; }

.gk-blink {
    display: inline-block;
    width: 5px; height: 9px;
    background: #4fa3ff;
    vertical-align: middle;
    margin-left: 2px;
    animation: gk-blink 1s step-end infinite;
}

@keyframes gk-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.gk-demo-hint {
    position: absolute;
    bottom: 10px; left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    color: #ffffff;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 5;
    font-family: sans-serif;
}

/* ② レスポンシブパネル */
#gkPanelResponsive {
    background: #050d1a;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
}

.gk-rv-device-tabs {
    display: flex; gap: 5px;
    background: rgba(15, 28, 55, 0.8);
    border: 1px solid rgba(79, 163, 255, 0.14);
    border-radius: 8px; padding: 4px;
    flex-shrink: 0;
}

.gk-rv-dtab {
    display: flex; align-items: center; gap: 5px;
    padding: 6px 10px; border-radius: 5px;
    font-size: 10px; font-weight: 700;
    color: rgba(232, 240, 254, 0.65);
    cursor: pointer; border: 1px solid transparent;
    background: transparent;
    transition: all 0.2s; letter-spacing: 0.04em;
    font-family: 'Noto Sans JP', sans-serif;
}

.gk-rv-dtab.active {
    background: rgba(26, 106, 255, 0.2);
    color: #4fa3ff;
    border-color: rgba(79, 163, 255, 0.28);
}

.gk-rv-stage {
    position: relative; display: flex;
    align-items: center; justify-content: center;
    flex: 1; width: 100%;
}

.gk-rv-frame {
    position: relative; overflow: hidden;
    background: #0a1630;
    transition:
        width  0.5s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        border-radius 0.4s;
}

.gk-rv-frame.pc     { width: 320px; height: 185px; border-radius: 6px;  border: 2px solid rgba(79,163,255,0.35); box-shadow: 0 0 0 7px rgba(15,28,55,0.9), 0 0 0 8px rgba(79,163,255,0.1); }
.gk-rv-frame.tablet { width: 160px; height: 200px; border-radius: 12px; border: 3px solid rgba(79,163,255,0.35); box-shadow: 0 0 0 6px rgba(15,28,55,0.9), 0 0 0 7px rgba(79,163,255,0.1); }
.gk-rv-frame.mobile { width: 105px; height: 210px; border-radius: 16px; border: 3px solid rgba(79,163,255,0.35); box-shadow: 0 0 0 5px rgba(15,28,55,0.9), 0 0 0 6px rgba(79,163,255,0.1); }

.gk-rv-site {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    overflow: hidden;
    animation: gk-fade-site 0.35s 0.25s both;
}

@keyframes gk-fade-site {
    from { opacity: 0; transform: scale(0.97); }
    to   { opacity: 1; transform: scale(1); }
}

.gk-rv-sizelabel {
    font-size: 10px;
    color: rgba(79, 163, 255, 0.9);
    letter-spacing: 0.08em;
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
}

/* ③ タイピングパネル */
#gkPanelTyping {
    background: #050d1a;
    padding: 20px;
    gap: 12px;
    justify-content: center;
}

.gk-ty-label {
    font-size: 10px;
    color: rgba(79, 163, 255, 0.95);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gk-ty-input {
    width: 100%;
    background: rgba(15, 28, 55, 0.9);
    border: 1px solid rgba(79, 163, 255, 0.25);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #e8f0fe;
    outline: none;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.2s;
}

.gk-ty-input:focus { border-color: rgba(79, 163, 255, 0.6); }

.gk-ty-preview {
    flex: 1;
    background: rgba(10, 20, 45, 0.7);
    border: 1px solid rgba(79, 163, 255, 0.12);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gk-ty-output {
    font-family: 'Georgia', serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, #4fa3ff, #1a6aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    line-height: 1.2;
    word-break: break-all;
    transition: font-size 0.2s;
}

.gk-ty-cursor-char {
    display: inline-block;
    width: 2px; height: 1em;
    background: #4fa3ff;
    vertical-align: middle; margin-left: 2px;
    animation: gk-blink 1s step-end infinite;
}

.gk-ty-placeholder {
    font-size: 12px;
    color: #ffffff;
    letter-spacing: 0.06em;
    -webkit-text-fill-color: #ffffff;
}

/* ④ カラーパネル */
#gkPanelColor {
    background: #050d1a;
    padding: 16px;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.gk-cl-label {
    font-size: 10px;
    color: #ffffff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gk-cl-swatches { display: flex; gap: 8px; }

.gk-cl-swatch {
    width: 28px; height: 28px;
    border-radius: 50%; cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.gk-cl-swatch.active { border-color: #fff; transform: scale(1.15); }

.gk-cl-preview {
    width: 100%; flex: 1;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: background 0.4s;
}

.gk-cl-pnav {
    height: 26px;
    display: flex; align-items: center;
    padding: 0 10px; justify-content: space-between;
    flex-shrink: 0; transition: background 0.4s;
}

.gk-cl-pnav-logo  { width: 32px; height: 7px; border-radius: 2px; transition: background 0.4s; }
.gk-cl-pnav-links { display: flex; gap: 5px; }
.gk-cl-pnav-link  { width: 20px; height: 4px; border-radius: 1px; background: rgba(255,255,255,0.18); }
.gk-cl-pnav-cta   { width: 26px; height: 7px; border-radius: 2px; transition: background 0.4s; }

.gk-cl-pbody {
    flex: 1; display: flex;
    align-items: center; justify-content: center;
    flex-direction: column; gap: 5px; padding: 10px;
}

.gk-cl-ph1  { height: 7px; border-radius: 3px; transition: background 0.4s; margin-bottom: 2px; }
.gk-cl-ph2  { height: 5px; border-radius: 3px; transition: background 0.4s; }
.gk-cl-ph3  { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.12); }
.gk-cl-pbtn { height: 16px; border-radius: 4px; transition: background 0.4s; margin-top: 4px; }

.gk-cl-theme-name {
    font-size: 12px; font-weight: 700;
    color: #e8f0fe; letter-spacing: 0.04em;
    transition: color 0.3s;
    flex-shrink: 0;
}

/* ⑤ モーフィングパネル */
#gkPanelMorph {
    background: #050d1a;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
}

#gkMorphCanvas { display: block; width: 420px; height: 220px; }

/* デモハブヘッダー（見出し） */
.gk-demo-hub-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-bottom: 1px solid rgba(79, 163, 255, 0.15);
    background: rgba(8, 18, 38, 0.95);
    flex-shrink: 0;
    position: relative;
}

/* 左端のアクセントライン */
.gk-demo-hub-header::before {
    content: '';
    display: block;
    width: 3px;
    height: 14px;
    background: linear-gradient(180deg, #4fa3ff, #1a6aff);
    border-radius: 2px;
    flex-shrink: 0;
}

.gk-demo-hub-title {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #e8f0fe;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gk-demo-hub-desc {
    font-size: 10px;
    color: #ffffff;
    letter-spacing: 0.06em;
    margin-left: auto;
}

/* デモフッター */
.gk-demo-hub-footer {
    padding: 7px 14px;
    border-top: 1px solid rgba(79, 163, 255, 0.08);
    font-size: 9px;
    color: rgba(232, 240, 254, 0.2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    background: rgba(8, 18, 38, 0.7);
    flex-shrink: 0;
}

.gk-demo-hub-footer span { color: #4fa3ff; }

/* スクロールインジケーター */
.gk-scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    z-index: 2;
}

.gk-scroll-text {
    font-size: 9px;
    letter-spacing: 0.16em;
    color: rgba(232, 240, 254, 0.22);
    text-transform: uppercase;
}

.gk-scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, rgba(79, 163, 255, 0.45), transparent);
    animation: gk-scroll-pulse 2s ease-in-out infinite;
}

@keyframes gk-scroll-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

/* -----------------------------------------------
   実績バー
----------------------------------------------- */
.gk-bar {
    display: flex;
    border-top: 1px solid rgba(79, 163, 255, 0.09);
    border-bottom: 1px solid rgba(79, 163, 255, 0.09);
    background: rgba(5, 13, 26, 0.7);
}

.gk-bar-item {
    flex: 1;
    padding: 26px 0;
    text-align: center;
    border-right: 1px solid rgba(79, 163, 255, 0.09);
}

.gk-bar-item:last-child {
    border-right: none;
}

.gk-bar-num {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #4fa3ff;
    display: block;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.gk-bar-label {
    font-size: 10px;
    color: rgba(232, 240, 254, 0.9);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
}

/* -----------------------------------------------
   技術マーキー
----------------------------------------------- */
.gk-tech-bar {
    border-top: 1px solid rgba(79, 163, 255, 0.07);
    border-bottom: 1px solid rgba(79, 163, 255, 0.07);
    padding: 15px 0;
    overflow: hidden;
    background: rgba(5, 13, 26, 0.55);
}

.gk-marquee-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: gk-marquee 22s linear infinite;
}

@keyframes gk-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.gk-tech-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 11px;
    color: rgba(232, 240, 254, 0.28);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gk-tech-dot {
    width: 3px;
    height: 3px;
    background: rgba(79, 163, 255, 0.4);
    border-radius: 50%;
    flex-shrink: 0;
}

/* -----------------------------------------------
   セクション共通
----------------------------------------------- */
.gk-section {
    padding: 80px 60px;
}

.gk-section-alt {
    background: rgba(10, 20, 45, 0.45);
}

.gk-section-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #4fa3ff;
    margin-bottom: 10px;
    display: block;
    font-family: 'Syne', sans-serif;
}

.gk-section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    color: #e8f0fe;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.gk-section-desc {
    font-size: 14px;
    color: #ffffff;
    font-weight: 300;
    line-height: 1.85;
    max-width: 460px;
    margin-bottom: 44px;
}

/* -----------------------------------------------
   サービスカード
----------------------------------------------- */
.gk-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gk-service-card {
    background: rgba(15, 28, 55, 0.8);
    border: 1px solid rgba(79, 163, 255, 0.11);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    transition: border-color 0.25s, transform 0.2s;
    display: block;
    color: inherit;
}

.gk-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1a6aff, #4fa3ff);
    opacity: 0;
    transition: opacity 0.25s;
}

.gk-service-card:hover {
    border-color: rgba(79, 163, 255, 0.42);
    transform: translateY(-4px);
    color: inherit;
}

.gk-service-card:hover::before {
    opacity: 1;
}

.gk-service-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0a1630;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gk-service-img svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gk-service-body {
    padding: 20px 22px 24px;
}

.gk-service-title {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #e8f0fe;
    margin-bottom: 10px;
}

.gk-service-desc {
    font-size: 12px;
    line-height: 1.9;
    color: #ffffff;
    font-weight: 300;
    margin-bottom: 16px;
}

.gk-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gk-service-tag {
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(79, 163, 255, 0.09);
    color: #4fa3ff;
    letter-spacing: 0.05em;
    border: 1px solid rgba(79, 163, 255, 0.18);
}

.gk-service-arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    font-size: 16px;
    color: rgba(79, 163, 255, 0.28);
    transition: color 0.2s, transform 0.2s;
}

.gk-service-card:hover .gk-service-arrow {
    color: #4fa3ff;
    transform: translate(3px, -3px);
}

/* -----------------------------------------------
   強みセクション
----------------------------------------------- */
.gk-strength-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.gk-strength-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 26px;
    background: rgba(15, 28, 55, 0.55);
    border: 1px solid rgba(79, 163, 255, 0.08);
    border-radius: 12px;
    transition: border-color 0.2s;
}

.gk-strength-item:hover {
    border-color: rgba(79, 163, 255, 0.22);
}

.gk-strength-num {
    font-family: 'Syne', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: rgba(79, 163, 255, 0.13);
    line-height: 1;
    min-width: 42px;
    flex-shrink: 0;
}

.gk-strength-title {
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #e8f0fe;
    margin-bottom: 9px;
}

.gk-strength-desc {
    font-size: 12px;
    color: #ffffff;
    line-height: 1.9;
    font-weight: 300;
}

/* -----------------------------------------------
   CTAセクション
----------------------------------------------- */
.gk-cta {
    padding: 90px 60px;
    text-align: center;
    background: rgba(10, 20, 45, 0.4);
    position: relative;
    overflow: hidden;
}

.gk-cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 70% at 50% 100%, rgba(26, 106, 255, 0.14) 0%, transparent 65%);
    pointer-events: none;
}

.gk-cta-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: #e8f0fe;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

.gk-cta-title .gk-accent {
    background: linear-gradient(90deg, #4fa3ff, #1a6aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gk-cta-desc {
    font-size: 14px;
    color: #ffffff;
    font-weight: 300;
    margin-bottom: 34px;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.gk-cta-btn {
    display: inline-block;
    background: linear-gradient(90deg, #1a6aff, #0040cc);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 16px 42px;
    border-radius: 8px;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
    transition: opacity 0.2s, transform 0.2s;
    font-family: 'Noto Sans JP', sans-serif;
}

.gk-cta-btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    color: #fff;
}

/* -----------------------------------------------
   フッター
----------------------------------------------- */
.gk-footer {
    padding: 28px 60px;
    border-top: 1px solid rgba(79, 163, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.gk-footer-copy {
    font-size: 11px;
    color: #ffffff;
}

.gk-footer-links {
    display: flex;
    gap: 22px;
}

.gk-footer-links a {
    font-size: 11px;
    color: #ffffff;
    transition: color 0.2s;
}

.gk-footer-links a:hover {
    color: #4fa3ff;
}

/* -----------------------------------------------
   スクロールアニメーション
----------------------------------------------- */
.gk-fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.gk-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.gk-fade-in-delay-1 { transition-delay: 0.1s; }
.gk-fade-in-delay-2 { transition-delay: 0.2s; }
.gk-fade-in-delay-3 { transition-delay: 0.3s; }

/* -----------------------------------------------
   レスポンシブ
----------------------------------------------- */

/* タブレット */
@media (max-width: 1024px) {
    .gk-nav { padding: 14px 32px; }
    .gk-hero { padding: 60px 32px 80px; gap: 32px; }
    .gk-hero-demo { width: 320px; }
    .gk-demo-box { height: 220px; }
    .gk-section { padding: 60px 32px; }
    .gk-cta { padding: 70px 32px; }
    .gk-footer { padding: 24px 32px; }

    .gk-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* スマホ */
@media (max-width: 768px) {
    .gk-nav {
        padding: 14px 20px;
        position: relative;
    }

    .gk-nav-links,
    .gk-nav-cta {
        display: none;
    }

    .gk-nav-links.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(5, 13, 26, 0.97);
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(79, 163, 255, 0.12);
        z-index: 99;
    }

    .gk-nav-links.is-open + .gk-nav-cta {
        display: block;
        margin: 0 24px 16px;
        text-align: center;
    }

    .gk-nav-toggle { display: flex; }

    .gk-hero {
        flex-direction: column;
        padding: 40px 20px 60px;
        text-align: center;
        min-height: auto;
    }

    .gk-hero-content { max-width: 100%; }
    .gk-hero-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
    .gk-hero-btns { justify-content: center; }
    .gk-hero-demo { width: 100%; }
    .gk-demo-box { height: 200px; }

    .gk-bar { flex-wrap: wrap; }
    .gk-bar-item {
        flex: 1 1 50%;
        border-right: none;
        border-bottom: 1px solid rgba(79, 163, 255, 0.09);
    }

    .gk-section { padding: 50px 20px; }
    .gk-section-desc { max-width: 100%; }

    .gk-service-grid { grid-template-columns: 1fr; }
    .gk-strength-grid { grid-template-columns: 1fr; }

    .gk-cta { padding: 60px 20px; }

    .gk-footer {
        padding: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .gk-scroll-indicator { display: none; }

    /* スマホ：回路を右側に絶対配置で薄く重ねる */
    .gk-circuit-canvas {
        position: absolute;
        top: 0;
        right: 0;
        left: auto;
        width: 55%;
        height: 100%;
        opacity: 0.5;
    }

    /* テキストを左寄せに */
    .gk-hero {
        text-align: left;
    }
    .gk-hero-btns {
        justify-content: flex-start;
    }
    .gk-hero-desc {
        margin-left: 0;
        margin-right: 0;
    }
}
