/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-navy: #1a2642;
    --secondary-navy: #2c3e5c;
    --accent-blue: #4a90e2;
    --dark-bg: #0f1823;
    --light-gray: #f5f7fa;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border-color: #e1e8ed;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    background: var(--white);
    overflow-x: hidden;
}

/* タイポグラフィ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクション共通 */
section {
    padding: 100px 0;
}

/* ヘッダー */
header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-accent {
    color: var(--accent-blue);
}

.header-cta {
    background: var(--accent-blue);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-blue);
}

.header-cta:hover {
    background: transparent;
    color: var(--accent-blue);
}

/* ヒーローセクション */
.hero {
    background: url('../img/main.jpg') center center / cover no-repeat;
    color: var(--white);
    padding: 150px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 24, 35, 0.6);
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    opacity: 0.95;
    font-weight: 500;
}

.hero-service-name {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-blue);
    margin-bottom: 50px;
    letter-spacing: 0.1em;
}

.hero-cta {
    display: inline-block;
    background: var(--accent-blue);
    color: var(--white);
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    margin-top: 20px;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
}

.hero-note {
    margin-top: 30px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 課題提起セクション */
.problem {
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 60px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 60px;
    line-height: 2;
}

.problem-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.problem-item {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--accent-blue);
    transition: all 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.problem-item h3 {
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.problem-conclusion {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--white);
    border-radius: 8px;
    border: 2px solid var(--accent-blue);
}

.problem-conclusion strong {
    color: var(--accent-blue);
    font-size: 1.2rem;
}

/* 解決策セクション */
.solution {
    background: var(--white);
}

.comparison-table {
    max-width: 1000px;
    margin: 60px auto;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: var(--primary-navy);
    color: var(--white);
    padding: 30px;
    font-size: 1.3rem;
    font-weight: 700;
}

.comparison-table td {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    background: var(--light-gray);
}

.comparison-table strong {
    color: var(--accent-blue);
    font-weight: 700;
}

/* メリットセクション */
.benefit {
    background: var(--light-gray);
}

.benefit-main-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 80px;
    line-height: 1.6;
}

.benefit-section {
    margin-bottom: 80px;
}

.benefit-section:last-child {
    margin-bottom: 0;
}

.benefit-section-title {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--accent-blue);
}

.benefit-subtitle {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-weight: 700;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--accent-blue);
}

.benefit-item h4 {
    color: var(--primary-navy);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* 実績セクション */
.evidence {
    background: var(--primary-navy);
    color: var(--white);
}

.evidence .section-title {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-blue);
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.stat-description {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.8;
}

.stat-quote {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-style: italic;
    font-size: 0.9rem;
}

/* 開発体制セクション */
.quality {
    background: var(--white);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.quality-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.quality-item:hover {
    background: var(--accent-blue);
    color: var(--white);
    transform: translateY(-5px);
}

.quality-item h3 {
    margin-bottom: 20px;
    color: var(--primary-navy);
}

.quality-item:hover h3 {
    color: var(--white);
}

/* 選ばれる理由セクション */
.why-us {
    background: var(--light-gray);
}

.reason-list {
    display: grid;
    gap: 40px;
    margin-top: 60px;
}

.reason-item {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    align-items: start;
}

.reason-number {
    width: 80px;
    height: 80px;
    background: var(--accent-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    flex-shrink: 0;
}

.reason-content h3 {
    color: var(--primary-navy);
    margin-bottom: 20px;
}

/* 料金プランセクション */
.pricing {
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--accent-blue);
    border-width: 3px;
    position: relative;
}

.pricing-card.featured::before {
    content: '推奨';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.plan-price-unit {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.plan-target {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 30px 0;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin: 30px 0;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: '✓';
    color: var(--accent-blue);
    font-weight: 700;
    margin-right: 10px;
}

/* 導入フローセクション */
.flow {
    background: var(--light-gray);
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.flow-step {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-weight: 700;
}

/* お問い合わせセクション */
.contact {
    background: var(--dark-bg);
    color: var(--white);
    text-align: center;
}

.contact .section-title {
    color: var(--white);
}

.contact-info {
    max-width: 600px;
    margin: 60px auto 0;
    padding: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(74, 144, 226, 0.3);
}

.contact-item {
    margin: 30px 0;
    font-size: 1.1rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 10px;
    color: var(--accent-blue);
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 2px solid var(--accent-blue);
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-blue);
}

.company-info {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 固定CTAボタン */
.fixed-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.fixed-cta-button {
    background: var(--accent-blue);
    color: var(--white);
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
}

.fixed-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.5);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-service-name {
        font-size: 1.5rem;
    }

    .problem-list,
    .benefit-grid,
    .stats-grid,
    .quality-grid,
    .pricing-grid,
    .flow-steps {
        grid-template-columns: 1fr;
    }

    .reason-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px;
    }

    .reason-number {
        margin: 0 auto;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 15px;
        font-size: 0.9rem;
    }

    .fixed-cta {
        bottom: 20px;
        right: 20px;
    }

    .fixed-cta-button {
        padding: 15px 25px;
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .plan-price {
        font-size: 2.5rem;
    }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}
