/* =========================================================
   GXデータ合同会社 ホームページ CSS
   色を変更する場合は :root の変数を編集してください
   ========================================================= */

:root {
    /* ---- メインカラー ---- */
    --navy: #0A1F3D;           /* 濃紺（ヘッダー文字・フッター背景・見出し） */
    --navy-deep: #061428;      /* より深い紺（必要時） */
    --blue: #0077C8;           /* メインブルー（アクセント・リンクホバー） */
    --blue-bright: #00A0E3;    /* 明るいブルー */
    --cyan: #00B4D8;           /* シアン（グラデーション用） */

    /* ---- グリーン系 ---- */
    --green: #7AC943;          /* メイングリーン（CTAボタン・強調） */
    --green-dark: #5A9E2E;     /* 濃いグリーン（ホバー） */
    --green-light: #A8E063;    /* 明るいグリーン */

    /* ---- テキスト・背景 ---- */
    --text: #1a2332;           /* 本文テキスト */
    --text-light: #5a6a7e;     /* サブテキスト */
    --bg: #ffffff;             /* 全体背景（白） */
    --white: #ffffff;
    --gray-bg: #f7f9fc;        /* セクション背景グレー */

    /* ---- その他 ---- */
    --border: #e8eef5;         /* ボーダー */
    --shadow: rgba(10, 31, 61, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.8;
    color: var(--text);
    background: var(--bg);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Header ========== */
header {
    background: var(--white);
    color: var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 8px var(--shadow);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    gap: 16px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark {
    height: 48px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.logo-text span {
    color: var(--green);
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 26px;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy);
    transition: color 0.2s;
}

nav a:hover {
    color: var(--blue);
}

.cta-btn {
    background: var(--green);
    color: var(--navy);
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}

.cta-btn:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

/* ========== Hero ========== */
.hero {
    background: var(--white);
    color: var(--navy);
    padding: 70px 0 60px;
    text-align: center;
    border-bottom: 1px solid #eef2f7;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.hero-logo-mark {
    max-width: 220px;
    width: 55%;
    height: auto;
    display: block;
}

.hero-company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.04em;
}

.hero-company-name span {
    color: var(--green);
}

.hero h1 {
    font-size: 2.0rem;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.4;
    color: var(--navy);
}

.hero h1 span {
    color: var(--blue);
}

.hero .lead {
    font-size: 1.08rem;
    max-width: 700px;
    margin: 0 auto 32px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--green);
    color: var(--navy);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    border: 2px solid var(--blue);
    color: var(--blue);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background: var(--blue);
    color: #fff;
}

/* ========== Section common ========== */
section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--navy);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 46px;
    font-size: 1.05rem;
}

/* ========== GX Meaning ========== */
.gx-meaning {
    background: var(--gray-bg);
}

.gx-box {
    background: var(--white);
    border: 1px solid #dce8f5;
    border-left: 5px solid var(--blue);
    border-radius: 12px;
    padding: 40px;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(10, 31, 61, 0.04);
}

.gx-box h3 {
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.gx-box p {
    color: #334155;
    font-size: 1.05rem;
}

.gx-box .highlight {
    font-weight: 700;
    color: var(--blue);
}

.gx-box .green-hl {
    font-weight: 700;
    color: var(--green-dark);
}

/* ========== Services ========== */
.services {
    background: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 26px;
    box-shadow: 0 2px 10px rgba(10, 31, 61, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border);
    border-top: 4px solid var(--blue);
}

.service-card:nth-child(even) {
    border-top-color: var(--green);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(10, 31, 61, 0.1);
}

.service-card .icon {
    font-size: 2.1rem;
    margin-bottom: 14px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--navy);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-card ul {
    margin-top: 12px;
    padding-left: 18px;
    color: #475569;
    font-size: 0.92rem;
}

.service-card li {
    margin-bottom: 5px;
}

/* ========== Flow ========== */
.flow {
    background: var(--gray-bg);
}

.flow-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-step {
    flex: 1 1 170px;
    text-align: center;
}

.flow-step .num {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0 auto 12px;
}

.flow-step:nth-child(even) .num {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
}

.flow-step h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--navy);
}

.flow-step p {
    font-size: 0.88rem;
    color: var(--text-light);
}

/* ========== Strength ========== */
.strength {
    background: var(--navy);
    color: #e2eaf2;
}

.strength .section-title {
    color: #fff;
}

.strength .section-subtitle {
    color: #8ba3bc;
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.strength-item {
    background: rgba(255,255,255,0.06);
    padding: 26px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.strength-item h4 {
    color: var(--green);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.strength-item p {
    font-size: 0.95rem;
    color: #c5d4e4;
}

/* ========== Access / Map ========== */
.access {
    background: var(--white);
}

.access-info {
    text-align: center;
    margin-bottom: 28px;
}

.access-info p {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 6px;
}

.access-info .address {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
}

.map-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(10, 31, 61, 0.1);
    border: 1px solid #e0e8f0;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

/* ========== Contact ========== */
.contact {
    background: var(--gray-bg);
    text-align: center;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(10, 31, 61, 0.06);
    border-top: 4px solid var(--blue);
}

.contact-box p {
    margin-bottom: 24px;
    color: #475569;
}

/* ========== Footer ========== */
footer {
    background: var(--navy);
    color: #8ba3bc;
    padding: 36px 0 28px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    height: 42px;
    width: auto;
}

.footer-company-name {
    font-size: 1rem;
    font-weight: 600;
    color: #e2eaf2;
}

.footer-company-name span {
    color: var(--green);
}

footer p {
    margin-bottom: 4px;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 12px;
    }
    nav ul {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .logo-mark {
        height: 40px;
    }
    .logo-text {
        font-size: 1rem;
    }
    .hero h1 {
        font-size: 1.55rem;
    }
    .hero {
        padding: 50px 0 45px;
    }
    .hero-logo-mark {
        max-width: 160px;
        width: 45%;
    }
    .hero-company-name {
        font-size: 1.4rem;
    }
    section {
        padding: 50px 0;
    }
    .gx-box {
        padding: 26px 18px;
    }
    .map-wrapper iframe {
        height: 320px;
    }
}
