@charset "UTF-8";

:root {
    --color-bg: #030303;
    --color-text: #ffffff;
    /* アクセントカラーを赤(#ff003c)に戻す */
    --color-cyber: #ff003c;
    /* グロー効果のRGBA値を赤(255, 0, 60)に戻す */
    --glow-cyber: 0 0 10px rgba(255, 0, 60, 0.8), 0 0 20px rgba(255, 0, 60, 0.4);
    --color-line: rgba(255, 255, 255, 0.15);
    --color-line-dark: rgba(255, 255, 255, 0.4);
    
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Montserrat', sans-serif;
    --ease: cubic-bezier(0.25, 1, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 14px; scroll-behavior: smooth; }
body {
    background-color: var(--color-bg); color: var(--color-text);
    font-family: var(--font-jp); line-height: 2.2; letter-spacing: 0.05em; 
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

a { text-decoration: none; color: inherit; }
.en-font { font-family: var(--font-en); }
.cyber-accent { color: var(--color-cyber); text-shadow: var(--glow-cyber); font-weight: 700; }

.w-full { width: 100%; }
.mt-1 { margin-top: 1.5rem; } .mt-2 { margin-top: 2.5rem; } .mt-3 { margin-top: 3.5rem; } .mt-4 { margin-top: 4.5rem; }
.mb-1 { margin-bottom: 1.5rem; } .mb-2 { margin-bottom: 2.5rem; } .mb-4 { margin-bottom: 4.5rem; }
.text-center { text-align: center; } .text-right { text-align: right; }
.text-sm { font-size: 0.75rem; }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader { position: fixed; inset: 0; background: #000; z-index: 10000; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s var(--ease); }
.loader.is-hidden { opacity: 0; pointer-events: none; }
.loader-content { text-align: center; width: 80%; max-width: 400px; }
.loader-typo { font-size: 3rem; letter-spacing: 0.5em; overflow: hidden; margin-bottom: 2rem; display: flex; justify-content: center;}
.loader-typo .char { display: inline-block; transform: translateY(100%); opacity: 0; animation: typoReveal 0.5s forwards var(--ease); }
.loader-typo .char:nth-child(1) { animation-delay: 0.1s; } .loader-typo .char:nth-child(2) { animation-delay: 0.2s; } .loader-typo .char:nth-child(3) { animation-delay: 0.3s; }
.loader-typo .char:nth-child(4) { animation-delay: 0.4s; } .loader-typo .char:nth-child(5) { animation-delay: 0.5s; } .loader-typo .char:nth-child(6) { animation-delay: 0.6s; }
@keyframes typoReveal { to { transform: translateY(0); opacity: 1; text-shadow: var(--glow-cyber); color: var(--color-cyber); } }
.loader-progress { width: 100%; height: 1px; background: #333; position: relative; overflow: hidden; margin-bottom: 1rem; }
.progress-bar { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--color-cyber); box-shadow: var(--glow-cyber); transition: width 0.2s; }
.loader-text { font-size: 0.7rem; letter-spacing: 0.3em; animation: pulse 1s infinite alternate; }
@keyframes pulse { from { opacity: 0.5; } to { opacity: 1; } }

/* ==========================================================================
   Top Navigation
   ========================================================================== */
.top-nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 2000; padding: 2rem 4.8vw; background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%); transition: transform 0.4s var(--ease); }
.top-nav.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 2rem; }
.top-nav-upper { flex-shrink: 0; position: relative; z-index: 2002; }
.top-nav-upper .logo { font-size: 1.8rem; letter-spacing: 0.2em; font-weight: 700; color: #fff; display: inline-block; }

.nav-wrapper { display: flex; flex-grow: 1; justify-content: flex-end; align-items: center; gap: 2rem; }
.top-nav-lower nav { display: flex; gap: 0.5rem; align-items: center; }

/* メニューのフォントサイズ統一(0.9rem) */
.nav-link { 
    position: relative; display: inline-flex; align-items: center; justify-content: center; 
    padding: 0.5rem 1rem; color: #fff; text-decoration: none; overflow: hidden; 
    border-radius: 2px; font-weight: 600; font-size: 0.9rem;
}
.nav-link::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--color-cyber); z-index: 0; transform: translateX(-105%);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-link span { position: relative; z-index: 1; transition: color 0.4s; }
.nav-link:hover::before { transform: translateX(0); }
.nav-link:hover span { color: #fff; text-shadow: none; }

.nav-link.current-page::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 0; 
    border-left: 5px solid transparent; border-right: 5px solid transparent; 
    border-bottom: 5px solid var(--color-cyber);
    z-index: 2;
}

.header-actions { display: flex; gap: 1rem; flex-shrink: 0; }
.header-actions .btn-cyber { padding: 0.6rem 1.5rem; font-size: 0.8rem; }

.hamburger { display: none; }

/* ==========================================================================
   Right Nav
   ========================================================================== */
.side-nav-r { position: fixed; right: 2vw; top: 50%; transform: translateY(-50%); z-index: 1000; display: flex; flex-direction: column; align-items: flex-end; }
.side-nav-axis { position: absolute; right: 40px; top: 0; bottom: 0; width: 1px; background: var(--color-line); z-index: 1; }

.side-nav-r ul { list-style: none; position: relative; z-index: 2; }
.side-nav-r li { margin: 2rem 0; }
.side-nav-r a { display: flex; align-items: center; justify-content: flex-end; color: #666; transition: all 0.3s; position: relative; }
.side-nav-r .tick { display: block; width: 12px; height: 1px; background: #666; margin-right: 15px; transition: all 0.3s; }
.side-nav-r .text { font-size: 0.65rem; letter-spacing: 0.15em; transition: all 0.3s; width: 110px; text-align: left; font-weight: 600; }
.side-nav-r a.active { color: #fff; text-shadow: var(--glow-cyber); }
.side-nav-r a.active .tick, .side-nav-r a:hover .tick { background: var(--color-cyber); width: 25px; box-shadow: var(--glow-cyber); }
.side-nav-r a:hover { color: var(--color-cyber); }

/* ==========================================================================
   Scroll Status & Bottom Wave
   ========================================================================== */
.scroll-status { 
    position: fixed; right: 3vw; bottom: 3vw; 
    display: flex; flex-direction: column; align-items: flex-end; gap: 10px; 
    z-index: 1000; pointer-events: none; 
    transform: scale(0.8); transform-origin: bottom right; 
}
.scroll-status-inner { display: flex; align-items: center; gap: 15px; }
.scroll-status-text { font-size: 0.85rem; letter-spacing: 0.15em; color: #ccc; font-weight: 600;}
.scroll-status-icon { width: 50px; height: 30px; border: 1px solid #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; }

.bottom-wave {
    width: 50px; height: 30px; 
    display: flex; align-items: flex-end; justify-content: space-between; gap: 3px;
}
.bottom-wave span {
    display: block; width: 2px; height: 15%; background-color: rgba(255, 255, 255, 0.8); 
    border-radius: 2px; transition: height 0.05s linear;
}

/* ==========================================================================
   Layouts: Split (Left/Right)
   ========================================================================== */
.sticky-bg-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; }
.bg-media { width: 100%; height: 100%; object-fit: cover; }
.overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none;}
.overlay.medium { background: rgba(0, 0, 0, 0.4); } 

.transparent-section, .split-section { position: relative; z-index: 3; width: 100vw; min-height: 100vh; display: flex; }

.bg-overlay-dark { background: rgba(0, 0, 0, 0.8); }
.bg-darker { background: #050505; }
.pt-5vh { padding-top: 5vh; }

.split-left { width: calc(30% - 30px); padding: 0 2vw 0 4.8vw; position: relative; border-right: none; }
.split-right { width: calc(70% + 30px); padding: 15vh 12vw 15vh 0; display: flex; flex-direction: column; justify-content: center; }

.sticky-content { position: sticky; top: 35vh; margin-bottom: 20vh; will-change: transform; }
.flex-center { align-items: center; justify-content: center; }

/* ==========================================================================
   4 Grid Video Section
   ========================================================================== */
.grid-video-section { position: relative; z-index: 3; width: 100vw; height: 100vh; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; background: #000; overflow: hidden; }
.grid-video-item { position: relative; overflow: hidden; background: #000; }
.grid-video-item video { width: 100%; height: 100%; object-fit: cover; }
.grid-video-section::before { content: ''; position: absolute; top: calc(50% - 2px); left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, transparent 0%, var(--color-cyber) 50%, transparent 100%); background-size: 200% 100%; animation: pulseScanH 3s infinite linear; z-index: 5; pointer-events: none; box-shadow: 0 0 10px var(--color-cyber); }
.grid-video-section::after { content: ''; position: absolute; top: 0; left: calc(50% - 2px); width: 4px; height: 100%; background: linear-gradient(180deg, transparent 0%, var(--color-cyber) 50%, transparent 100%); background-size: 100% 200%; animation: pulseScanV 3s infinite linear; z-index: 5; pointer-events: none; box-shadow: 0 0 10px var(--color-cyber); }
@keyframes pulseScanH { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes pulseScanV { 0% { background-position: 0 200%; } 100% { background-position: 0 -200%; } }

/* ==========================================================================
   Typography
   ========================================================================== */
.letter-space { letter-spacing: 0.3em; }
.sub-title { font-size: 0.8rem; margin-bottom: 2rem; font-weight: 600;}
.section-label { font-size: 0.8rem; letter-spacing: 0.2em; margin-bottom: 1rem; display: block; font-weight: 600;}
.sub-heading { font-size: 2.2rem; font-weight: 700; line-height: 1.5; }
.body-text { font-size: 1rem; color: #ddd; }
.small-text { font-size: 0.85rem; color: #fff; line-height: 1.8; }
.item-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.text-shadow-strong { text-shadow: 0 2px 10px rgba(0,0,0,0.9); }

/* Hero Typography */
.hero-typo-block { text-align: center; padding-left: 0; }
.main-title { font-size: clamp(1.25rem, 2.5vw, 2.25rem); font-weight: 700; line-height: 1.5; letter-spacing: 0.1em; }
.fv-fade-in { opacity: 0; transition: opacity 1.5s ease; }
.fv-fade-in.is-inview { opacity: 1; }

/* ==========================================================================
   Modules
   ========================================================================== */
.concept-dummy-box { width: 90%; max-width: none; aspect-ratio: 16 / 9.72; background-color: #000; border-radius: 4px; box-shadow: 0 0 10px 2px rgba(255, 0, 60, 0.4); animation: pulseGlow 3s infinite alternate ease-in-out; }
@keyframes pulseGlow { from { box-shadow: 0 0 5px 1px rgba(255, 0, 60, 0.2); } to { box-shadow: 0 0 15px 5px rgba(255, 0, 60, 0.6); } }

/* PAIN カード (パディングを1remに変更) */
.pain-grid { display: flex; gap: 1.5vw; width: 100%; align-items: stretch; }
.pain-card { 
    flex: 1; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(8px); 
    border: 1px solid rgba(255, 255, 255, 0.1); padding: 1rem; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-left: 4px solid var(--color-cyber);
    display: flex; flex-direction: column; justify-content: flex-start;
}
.pain-card .item-title { font-size: 1.1rem; font-weight: 700; line-height: 1.5; margin-bottom: 0.5rem; }
.pain-card .small-text { font-size: 0.8rem; line-height: 1.8; color: #ddd; flex-grow: 1; }
.pain-img-box { width: 100%; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; margin-top: 1.5rem; }
.pain-img-box img { width: 100%; height: 100%; object-fit: cover; }

/* Service Diagram (アニメーション図・真っ白) */
.service-diagram {
    width: 100%;
    max-width: 300px;
    margin: 2rem auto;
}
.diagram-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}
.base-line {
    fill: rgba(0, 0, 0, 0.4);
    stroke: #ffffff;
    stroke-width: 1px;
}
.active-line {
    fill: none;
    stroke: var(--color-cyber);
    stroke-width: 3px;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
    filter: drop-shadow(0 0 5px rgba(255, 0, 60, 0.6));
}
.diagram-text {
    fill: #ffffff;
    font-size: 14px;
    font-family: var(--font-jp);
    font-weight: 700;
    pointer-events: none;
    transition: text-shadow 0.3s;
}
.diagram-text.is-active {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* サービスリスト */
.glass-card-service { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px); padding: 1rem 4rem; border: 1px solid var(--color-line); width: 100%; max-width: 1000px; }
.service-row { 
    position: relative; padding: 4rem 35% 4rem 2.5vw; border-color: var(--color-line); border-style: solid; border-width: 0; margin: 1rem 0; display: block; 
}
.service-row-content { display: flex; flex-direction: column; justify-content: center; }
.service-row-thumb { 
    position: absolute; top: 30px; bottom: 10px; right: 0;
    width: 30%; max-width: 300px; overflow: hidden; 
    border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; box-shadow: 0 0 10px rgba(0,0,0,0.5); 
}
.service-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-row.border-top { border-top-width: 1px; padding-top: 4rem; margin-top: 1rem; }
.service-row:first-child { border-top: none; }
.service-row:last-child { border-bottom: none; }
.service-line-bg { position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: rgba(255,255,255,0.05); }
.service-line-active { position: absolute; left: 0; top: 0; width: 4px; height: 0%; background: var(--color-cyber); box-shadow: var(--glow-cyber); will-change: height; transition: height 0.1s linear; }

/* ==========================================================================
   Horizontal Scroll (USE CASE / FLOW)
   ========================================================================== */
.hz-scroll-wrapper { height: 400vh; position: relative; }
.hz-sticky-container { position: sticky; top: 0; width: 100vw; height: 100vh; overflow: hidden; display: block; }
.hz-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: 1; }

.usecase-viewport { position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; display: flex; align-items: center; }
.usecase-viewport .hz-track { display: flex; gap: 3vw; padding: 0 10vw 0 calc(32vw - 30px); will-change: transform; width: max-content; }

.usecase-left { position: absolute; top: 0; left: 0; height: 100vh; pointer-events: none; z-index: 10; width: calc(30% - 30px); }
.usecase-left .sticky-content { pointer-events: auto; }

.glass-card { background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.1); padding: 3rem; width: 38vw; flex-shrink: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

.case-video-wrapper { width: 100%; aspect-ratio: 16/9; overflow: hidden; border: 1px solid rgba(255,255,255,0.2); margin-top: 1.5rem; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.case-video-wrapper video { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }

.scroll-indicator-hz span { display: block; width: 60px; height: 2px; background: rgba(255, 0, 60, 0.3); position: relative; overflow: hidden; }
.scroll-indicator-hz span::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--color-cyber); box-shadow: var(--glow-cyber); animation: hzLine 2s infinite; }
@keyframes hzLine { to { left: 100%; } }

/* FLOW用の矢印 (赤色・不透明度アップ) */
.flow-arrow {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 3vw;
}
.flow-arrow svg {
    width: 30px; height: 30px; fill: var(--color-cyber); opacity: 0.8;
}

/* ==========================================================================
   STRENGTH
   ========================================================================== */
.strength-grid { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; gap: 2vw; }
.strength-box { position: relative; padding: 3rem; background: rgba(0,0,0,0.5); border: 1px solid var(--color-line); display: flex; flex-direction: column; min-height: 450px; overflow: hidden; cursor: pointer; }
.strength-box::before { content: ''; position: absolute; inset: 0; border: 0px solid var(--color-cyber); transition: all 0.3s cubic-bezier(0.25, 1, 0.25, 1); pointer-events: none; z-index: 10; }
.strength-box:hover::before { border-width: 6px; }
.strength-box:hover { background: rgba(255, 0, 60, 0.05); }

.strength-content { position: relative; z-index: 2; flex-grow: 1; display: flex; flex-direction: column; }
.strength-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.strength-desc { font-size: 0.9rem; color: #ccc; line-height: 1.8; margin-bottom: 2rem; }
.strength-img-box { margin-top: auto; width: 100%; aspect-ratio: 16/9; overflow: hidden; border: 1px solid #333; }
.strength-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.strength-box:hover .strength-img-box img { transform: scale(1.05); }
.strength-num { position: absolute; top: 1rem; right: 1.5rem; font-size: 3rem; font-weight: 900; line-height: 1; opacity: 0.2; transition: opacity 0.3s; z-index: 1; }
.strength-box:hover .strength-num { opacity: 1; text-shadow: var(--glow-cyber); }

/* ==========================================================================
   Plans Table
   ========================================================================== */
.plans-grid { display: flex; gap: 2vw; width: 100%; justify-content: space-between; align-items: stretch; }
.plan-card { 
    flex: 1; background-color: #0e0e0e; border: 1px solid var(--color-line); border-radius: 8px; 
    padding: 3rem 2rem; display: flex; flex-direction: column; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.plan-header { border-bottom: 1px solid var(--color-line); padding-bottom: 2rem; margin-bottom: 2rem; text-align: center; }
.plan-name { font-size: 1.8rem; font-weight: 700; line-height: 1.2; }
.plan-sub { display: block; font-size: 0.9rem; color: var(--color-cyber); text-shadow: var(--glow-cyber); margin-top: 0.5rem; font-weight: 600; }

.plan-body { flex-grow: 1; display: flex; flex-direction: column; }
.plan-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.feature-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; line-height: 1.6; min-height: 3.5rem; }
.feature-category { font-size: 0.8rem; color: #aaa; font-weight: 700; border-bottom: 1px solid var(--color-line-dark); padding-bottom: 0.3rem; margin-top: 1rem; margin-bottom: 0.2rem; width: 100%; display: block; }

.check-icon { width: 20px; height: 20px; color: #fff; flex-shrink: 0; margin-top: 3px; }
.check-icon.disabled { color: #555; }
.check-icon.highlight { color: var(--color-cyber); filter: drop-shadow(0 0 5px var(--color-cyber)); }
.check-icon-placeholder { width: 20px; height: 20px; flex-shrink: 0; }
.disabled-text { color: #555; }
.highlight-text { color: var(--color-cyber); font-weight: 600; }

/* ==========================================================================
   Contact Area
   ========================================================================== */
.contact-section {
    position: relative;
    z-index: 3;
    width: 100vw;
    padding: 15vh 0;
    background: #030303;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--color-line);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-cyber { 
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--color-cyber); background-color: #000;
    padding: 1rem 3rem; font-size: 0.9rem; letter-spacing: 0.1em; 
    position: relative; overflow: hidden; text-decoration: none; 
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.2); transition: box-shadow 0.3s;
    border-radius: 2px;
}
.btn-cyber::before { 
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: var(--color-cyber); z-index: 0; transform: translateX(-105%); 
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1); 
}
.btn-cyber span { 
    position: relative; z-index: 1; font-weight: 600; color: var(--color-text);
    transition: color 0.5s cubic-bezier(0.65, 0, 0.35, 1), text-shadow 0.5s; 
}
.btn-cyber:hover::before { transform: translateX(0); }
.btn-cyber:hover span { color: #fff; text-shadow: none; }
.btn-cyber:hover { box-shadow: 0 0 15px rgba(255, 0, 60, 0.5); }

.btn-cyber.btn-white { border-color: #fff; box-shadow: none; }
.btn-cyber.btn-white::before { background: #fff; }
.btn-cyber.btn-white span { color: #fff; text-shadow: none; }
.btn-cyber.btn-white:hover span { color: #000; }
.btn-cyber.btn-white:hover { box-shadow: 0 0 15px rgba(255,255,255,0.4); }

.btn-cyber.w-full { width: 100%; }

/* ==========================================================================
   New Footer
   ========================================================================== */
.footer-new { background-color: #0e0e0e; padding: 6rem 4.8vw 4rem; color: #fff; position: relative; z-index: 5; border-top: 1px solid var(--color-line); }

.footer-middle { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6rem; }
.footer-main-nav { display: flex; flex-wrap: wrap; gap: 3rem; font-size: 1rem; }
.footer-main-nav a { color: #fff; text-decoration: none; transition: color 0.3s; padding: 0.5rem 0; font-weight: 500;}
.footer-main-nav a:hover { color: var(--color-cyber); }

.footer-bottom { margin-bottom: 5rem; }
.footer-sub-nav { display: flex; flex-wrap: wrap; gap: 2rem; font-size: 0.9rem; color: #bbb; }
.footer-sub-nav a { color: #bbb; text-decoration: none; transition: color 0.3s; padding: 0.5rem 0; }
.footer-sub-nav a:hover { color: #fff; }

.footer-copy-area { display: flex; justify-content: flex-start; }
.footer-copy { display: flex; flex-direction: column; gap: 1rem; text-align: left; font-size: 0.75rem; color: #bbb; }
.footer-copy-logo { font-size: 1.2rem; font-weight: 700; color: #fff; letter-spacing: 0.1em; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(40px); transition: all 1s var(--ease); }
.fade-up.is-inview { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   SP ハンバーガーメニュー対応 (max-width: 900px)
   ========================================================================== */
@media (max-width: 1100px) {
    .plans-grid { flex-direction: column; }
    .header-actions { display: none; } 
}

@media (max-width: 900px) {
    .split-section { flex-direction: column; }
    .split-left, .split-right { width: 100%; margin-left: 0; padding: 4vw; border: none; }
    
    .pain-grid { flex-direction: column; }

    .hero-typo-block { padding-left: 0; text-align: center; }
    .sticky-content { position: relative; top: 0; margin-bottom: 3rem; }
    .hz-viewport, .usecase-viewport { padding: 4vw 0; width: 100%; position: relative; }
    .hz-track, .usecase-viewport .hz-track { padding: 0 4vw; }
    .usecase-left { position: relative; height: auto; padding: 4vw; width: 100%; }
    .glass-card { width: 85vw; }
    .strength-grid { grid-template-columns: 1fr; }
    .service-row { padding-right: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
    .service-row-thumb { position: relative; width: 100%; aspect-ratio: 16/9; max-width: none; top: 0; bottom: 0; }
    .side-nav-r, .scroll-status { display: none; }
    .footer-middle, .footer-bottom { flex-direction: column; align-items: flex-start; }
    
    .flow-arrow { display: none; }

    /* Hamburger Styles */
    .top-nav { padding: 1.5rem 4vw; }
    .hamburger { display: block; width: 30px; height: 20px; position: relative; z-index: 2001; background: transparent; border: none; cursor: pointer; }
    .hamburger span { display: block; width: 100%; height: 2px; background: #fff; position: absolute; left: 0; transition: all 0.3s ease; }
    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 9px; }
    .hamburger span:nth-child(3) { top: 18px; }
    
    .hamburger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.is-open span:nth-child(2) { opacity: 0; }
    .hamburger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .nav-wrapper { 
        position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; 
        background: rgba(0, 0, 0, 0.95); display: flex; flex-direction: column; 
        justify-content: center; align-items: center; gap: 3rem; 
        opacity: 0; pointer-events: none; transition: opacity 0.4s ease; z-index: 2000; 
    }
    .nav-wrapper.is-open { opacity: 1; pointer-events: auto; }
    
    .top-nav-lower nav { flex-direction: column; text-align: center; gap: 2rem; }
    .nav-link { font-size: 1.5rem; }
    .header-actions { display: flex; flex-direction: column; align-items: center; width: 80%; }
    .header-actions .btn-cyber { width: 100%; }
}