/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic';
    line-height: 1.6;
    color: #333;
}

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

/* ヘッダー */
.header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

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

.logo-image {
    height: 40px;
    width: auto;
}

.btn-contact {
    background-color: #214b80;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-contact:hover {
    background-color: #1a3a5f;
}

/* ヒーロー */
.hero {
    background: linear-gradient(135deg, #214b80 0%, #2d5fa3 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.main-catchcopy {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.8;
}

.sub-catchcopy {
    font-size: 20px;
    opacity: 0.95;
    line-height: 1.8;
}

/* 問題セクション */
.problems {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.problems h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #1a1a1a;
}

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

.problem-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #214b80;
}

.problem-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.solution-message {
    text-align: center;
    background: linear-gradient(135deg, #214b80 0%, #2d5fa3 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    font-size: 18px;
}

/* 事例セクション */
.cases {
    padding: 80px 0;
}

.cases h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.cases-note {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 14px;
}

.case-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.case-item:nth-child(even) .case-content {
    order: 2;
}

.case-item:nth-child(even) .case-image {
    order: 1;
}

.case-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-weight: 700;
}

.case-subtitle {
    font-size: 15px;
    color: #214b80;
    font-weight: 600;
    margin-bottom: 25px;
}

.case-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.detail-box h4 {
    font-size: 13px;
    color: #214b80;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-box p {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

.case-image {
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 350px;
}

.case-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.case-image-small {
    min-height: 250px;
}

.case-image-small img {
    width: 70%;
    max-width: 300px;
}

.badge-developing {
    background-color: #214b80;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 10px;
}

/* 理由セクション */
.reasons {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.reasons h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #1a1a1a;
}

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

.reason-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.reason-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #214b80 0%, #2d5fa3 100%);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.reason-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.reason-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* ステップセクション */
.steps {
    padding: 80px 0;
}

.steps h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #1a1a1a;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step-card {
    background: linear-gradient(135deg, #214b80 0%, #2d5fa3 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(33, 75, 128, 0.3);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.step-card p {
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.7;
}

/* フッター */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 20px 0 20px;
}

.footer-content {
    text-align: center;
    margin-bottom: 20px;
}

.footer-content h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.btn-contact-footer {
    display: inline-block;
    background-color: #214b80;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-contact-footer:hover {
    background-color: #1a3a5f;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 12px;
    color: #999;
}

/* レスポンシブ */
@media (max-width: 768px) {

    .sub-catchcopy {
        font-size: 15px;
    }

    .main-catchcopy {
        font-size: 18px;
    }

    .hero-content h2 {
        font-size: 30px;
    }

    .case-item {
        grid-template-columns: 1fr;
    }

    .case-item:nth-child(even) .case-content {
        order: 1;
    }

    .case-item:nth-child(even) .case-image {
        order: 2;
    }

    .case-content {
        padding: 30px;
    }

    .case-image {
        min-height: 280px;
    }

    .problems-grid,
    .reasons-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 50px 0;
    }

    .problems,
    .cases,
    .reasons,
    .steps {
        padding: 50px 0;
    }
}