/* ============================================
   zaiko.css — GASHA-PRO 在庫管理ページ
   ============================================ */

/* ── HERO ── */
.gp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    color: #fff;
}

.gp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gp-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.gp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(4, 10, 30, 0.92) 0%,
        rgba(6, 16, 46, 0.85) 60%,
        rgba(4, 10, 30, 0.90) 100%
    );
}

/* 縦積みコンテナ */
.gp-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 8rem;
    padding-bottom: 4rem;
    width: 100%;
}

.gp-hero-body {
    width: 100%;
    max-width: 680px;
    text-align: center;
    margin-bottom: 3rem;
}

.gp-hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7ab4ff;
    border: 1px solid rgba(100, 160, 255, 0.4);
    padding: 0.3em 0.85em;
    border-radius: 2px;
    margin-bottom: 1.2rem;
    background: rgba(68, 136, 255, 0.1);
}

.gp-hero-title {
    font-size: clamp(3.2rem, 9vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0 0 0.3em;
    background: linear-gradient(135deg, #ffffff 30%, #7ab4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gp-hero-title-sep {
    opacity: 0.5;
}

.gp-hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    color: rgba(200, 220, 255, 0.9);
    margin: 0 0 1rem;
    letter-spacing: 0.04em;
}

.gp-hero-desc {
    font-size: clamp(0.88rem, 1.8vw, 1rem);
    color: rgba(180, 205, 255, 0.75);
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 2.5rem;
}

.gp-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.gp-hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.gp-hero-scroll-hint span {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(100,160,255,0.8), transparent);
    margin: 0 auto;
}

/* ── HERO タブレット2枚 横長・左右対称 ── */
.gp-hero-tablets {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
    perspective: 1000px;
    padding-bottom: 1rem;
}

.gp-tablet {
    flex: 0 0 auto;
    width: clamp(240px, 30vw, 420px);
}

/* 左タブレット: 右に少し傾く */
.gp-tablet--left {
    transform: rotateY(-18deg) rotateX(3deg);
}

/* 右タブレット: 左に少し傾く（左右対称） */
.gp-tablet--right {
    transform: rotateY(18deg) rotateX(3deg);
}

.gp-tablet-frame {
    background: #1a1f2e;
    border-radius: 14px;
    border: 2px solid rgba(100, 140, 220, 0.35);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 4px 12px rgba(68, 136, 255, 0.18);
    padding: 8px 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

/* 横長なのでカメラは左寄せの小さい点 */
.gp-tablet-camera {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(100, 140, 220, 0.4);
    align-self: center;
    flex-shrink: 0;
}

.gp-tablet-screen {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #0a1020;
}

.gp-tablet-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
}

/* 横長タブレットのホームバー（下部横線） */
.gp-tablet-home {
    width: 50px;
    height: 3px;
    border-radius: 2px;
    background: rgba(100, 140, 220, 0.22);
    flex-shrink: 0;
}

/* ── スクリーンショット2枚（削除・HEROに統合） ── */
.gp-screens-section {
    display: none;
}

.gp-screens-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(100, 150, 255, 0.6);
    text-align: center;
    margin-bottom: 1.5rem;
}

.gp-screens-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.gp-screen-frame {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(68, 136, 255, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16 / 10;
}

.gp-screen-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    filter: brightness(0.85);
}

/* ── キャッチ数字 ── */
.gp-catch-section {
    background: linear-gradient(90deg, #050d20 0%, #0a1840 50%, #050d20 100%);
    border-top: 1px solid rgba(68, 136, 255, 0.12);
    border-bottom: 1px solid rgba(68, 136, 255, 0.12);
    padding: clamp(2rem, 4vw, 3rem) 0;
}

.gp-catch-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.gp-catch-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.gp-catch-icon {
    width: 48px;
    height: 48px;
    color: #4488ff;
}

.gp-catch-icon svg {
    width: 100%;
    height: 100%;
}

.gp-catch-num {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    background: linear-gradient(135deg, #4488ff 0%, #6ab0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1;
}

.gp-catch-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e8f0ff;
    letter-spacing: 0.04em;
}

.gp-catch-sub {
    font-size: 0.75rem;
    color: rgba(180, 205, 255, 0.6);
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.gp-catch-divider {
    width: 1px;
    height: 48px;
    background: rgba(68, 136, 255, 0.2);
    flex-shrink: 0;
}

/* ── 共通セクションヘッダー ── */
.gp-section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.gp-section-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #4488ff;
    margin-bottom: 0.8rem;
}

.gp-section-eyebrow--dark {
    color: #2a66ee;
}

.gp-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #e8f0ff;
    line-height: 1.3;
    margin: 0 0 1rem;
}

.gp-section-title--dark {
    color: #0a1530;
}

.gp-section-desc {
    font-size: clamp(0.88rem, 1.6vw, 1rem);
    color: rgba(180, 205, 255, 0.7);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── 機能カード ── */
.gp-features-section {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: #060d22;
    overflow: hidden;
}

/* 背景装飾 */
.gp-features-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.gp-features-geo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.gp-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.gp-feature-card {
    background: #ffffff;
    border: 1px solid rgba(42, 102, 238, 0.15);
    border-radius: 12px;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    position: relative;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(30, 60, 140, 0.08);
}

.gp-feature-card:hover {
    border-color: rgba(42, 102, 238, 0.3);
    box-shadow: 0 8px 24px rgba(30, 60, 140, 0.15);
}

.gp-feature-card--accent {
    border-color: rgba(42, 102, 238, 0.25);
    background: #f8faff;
}

.gp-feature-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.gp-feature-icon {
    width: 48px;
    height: 48px;
    color: #2a66ee;
    flex-shrink: 0;
}

.gp-feature-icon svg {
    width: 100%;
    height: 100%;
}

.gp-feature-num {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(42, 102, 238, 0.28);
    line-height: 1;
    letter-spacing: -0.02em;
    pointer-events: none;
}

.gp-feature-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2a66ee 0%, #4488ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.gp-feature-text {
    font-size: 0.9rem;
    color: #4a5a7a;
    line-height: 1.75;
    margin: 0 0 1.25rem;
}

.gp-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.gp-feature-list li {
    font-size: 0.82rem;
    color: #5a6a8a;
    padding-left: 1.1rem;
    position: relative;
}

.gp-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2a66ee;
}

/* ── ハンディ ステップフロー ── */
.gp-handy-section {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: #040b1c;
    overflow: hidden;
}

/* 背景装飾: IT幾何学 */
.gp-handy-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.gp-handy-geo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* ── カード全体 ── */
.gp-handy-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* 各カード: 仕切り線 + コンテンツ */
.gp-handy-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── 仕切り線 ── */
.gp-handy-card-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

.gp-handy-card:first-child .gp-handy-card-divider {
    margin-top: 0;
}

.gp-handy-card-step {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #4488ff;
    white-space: nowrap;
    flex-shrink: 0;
}

.gp-handy-card-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(68,136,255,0.4), transparent);
}

/* ── カード内コンテンツ（スマホ＋テキスト） ── */
.gp-handy-card-inner {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 0 0.5rem 0;
}

.gp-handy-card--rev .gp-handy-card-inner {
    grid-template-columns: 1fr 160px;
}

.gp-handy-card--rev .gp-handy-card-phone {
    order: 2;
}

.gp-handy-card--rev .gp-handy-card-body {
    order: 1;
}

.gp-handy-card-phone {
    display: flex;
    justify-content: center;
}

.gp-handy-phone-frame {
    background: transparent;
    border-radius: 20px;
    border: 2px solid rgba(0, 0, 0, 0.5);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 140px;
    overflow: hidden;
    box-shadow: 0 0 24px rgba(68, 136, 255, 0.4), 0 0 12px rgba(100, 180, 255, 0.3);
}

.gp-handy-phone-notch {
    display: none;
}

.gp-handy-phone-screen {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
    flex-shrink: 0;
}

.gp-handy-phone-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.gp-handy-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.gp-handy-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #e8f0ff;
    margin: 0;
}

.gp-handy-card-body p {
    font-size: 0.9rem;
    color: rgba(180,205,255,0.7);
    line-height: 1.75;
    margin: 0;
}

/* ── 価格プラン ── */
.gp-price-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.gp-price-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(42, 102, 238, 0.04) 0%, transparent 55%);
    pointer-events: none;
}

.gp-price-inner {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.gp-price-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #2a66ee;
    margin-bottom: 0.75rem;
}

.gp-price-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #0a1530;
    margin: 0 0 2rem;
    letter-spacing: -0.02em;
}

.gp-price-card {
    background: #fafbff;
    border: 1px solid rgba(42, 102, 238, 0.12);
    border-radius: 16px;
    padding: clamp(2rem, 4vw, 2.75rem);
    box-shadow: 0 4px 24px rgba(42, 102, 238, 0.06);
}

.gp-price-main {
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(42, 102, 238, 0.1);
    margin-bottom: 1.75rem;
}

.gp-price-unit {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a5a7a;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.gp-price-amount {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    color: #0a1530;
    margin: 0 0 0.35em;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gp-price-yen {
    color: #2a66ee;
}

.gp-price-from {
    font-size: 0.6em;
    font-weight: 600;
    color: #5a6a8a;
}

.gp-price-per {
    font-size: 0.45em;
    font-weight: 600;
    color: #5a6a8a;
}

.gp-price-min {
    font-size: 0.85rem;
    color: #5a6a8a;
    margin: 0;
}

.gp-price-features-head {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0a1530;
    margin: 0 0 1rem;
    text-align: left;
}

.gp-price-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.gp-price-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: #4a5a7a;
    line-height: 2;
}

.gp-price-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2a66ee;
}

.gp-price-cta {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-top: clamp(2rem, 4vw, 2.75rem);
    border-top: 1px solid rgba(42, 102, 238, 0.1);
    text-align: center;
}

.gp-price-cta-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #0a1530;
    line-height: 1.3;
    margin: 0 0 1rem;
}

.gp-price-cta-sub {
    font-size: 1rem;
    color: #4a5a7a;
    margin: 0 0 1.75rem;
}

.gp-price-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.gp-price-cta-actions .btn-cta-primary {
    padding: 1rem 2.4rem;
    background: #2a66ee;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.gp-price-cta-actions .btn-cta-primary:hover {
    background: #1a56dd;
    transform: translateY(-2px);
}

/* ── 技術説明 ── */
.gp-tech-section {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: #f0f4ff;
}

.gp-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gp-tech-card {
    background: #fff;
    border-radius: 12px;
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: 0 2px 16px rgba(30, 60, 140, 0.08);
    border: 1px solid rgba(68, 136, 255, 0.1);
}

.gp-tech-card-icon {
    width: 36px;
    height: 36px;
    color: #2a66ee;
    margin-bottom: 1rem;
}

.gp-tech-card-icon svg {
    width: 100%;
    height: 100%;
}

.gp-tech-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0a1530;
    margin: 0 0 0.75rem;
}

.gp-tech-card p {
    font-size: 0.875rem;
    color: #4a5a7a;
    line-height: 1.75;
    margin: 0;
}

/* ── レスポンシブ ── */
@media (max-width: 1100px) {
    .gp-hero-tablets {
        width: 46%;
        right: -4%;
    }
}

@media (max-width: 900px) {
    .gp-tech-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gp-hero-tablets {
        position: static;
        width: 100%;
        height: auto;
        transform: none;
        perspective: none;
        display: flex;
        justify-content: center;
        gap: 2rem;
        padding: 2rem 1rem 1rem;
        margin-top: -1rem;
    }

    .gp-tablet {
        position: static;
        width: 42%;
        transform: none !important;
        animation: none !important;
    }

    .gp-tablet--left {
        transform: rotateY(12deg) !important;
    }

    .gp-tablet--right {
        transform: rotateY(-12deg) !important;
    }
}

@media (max-width: 640px) {
    .gp-features-grid {
        grid-template-columns: 1fr;
    }

    .gp-catch-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .gp-catch-divider {
        width: 48px;
        height: 1px;
    }

    .gp-tech-grid {
        grid-template-columns: 1fr;
    }

    /* ハンディカード スマホ縦積み */
    .gp-handy-card-inner,
    .gp-handy-card--rev .gp-handy-card-inner {
        grid-template-columns: 1fr;
    }

    .gp-handy-card--rev .gp-handy-card-phone,
    .gp-handy-card--rev .gp-handy-card-body {
        order: unset;
    }

    .gp-handy-card-phone {
        justify-content: center;
    }

    .gp-handy-phone-frame {
        width: 120px;
    }

    /* タブレット スマホでは小さく */
    .gp-hero-tablets {
        gap: 1rem;
        padding: 0.5rem 0.5rem 1.5rem;
    }

    .gp-tablet {
        width: 46%;
    }

    .gp-tablet--left {
        transform: rotateY(-10deg) rotateX(2deg);
    }

    .gp-tablet--right {
        transform: rotateY(10deg) rotateX(2deg);
    }
}
