/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8f9fa;
}

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

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3b6bb3 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

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

.hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-title .highlight {
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.product-name {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px 40px;
    margin: 30px auto;
    max-width: 600px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.product-name h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* ボタン */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* セクションタイトル */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1e3c72;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    border-radius: 2px;
}

/* ターゲットユーザーセクション */
.users-section {
    padding: 80px 0;
    background: white;
}

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

.user-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.user-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.15);
    border-color: #2a5298;
}

.user-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.user-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1e3c72;
}

.user-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.feature-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 主要機能セクション */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.15);
    border-left-color: #ff6b35;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1e3c72;
    font-weight: 700;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* お問い合わせセクション */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-message {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2rem;
    color: #1e3c72;
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    font-size: 1.1rem;
    color: #1e3c72;
    margin-bottom: 10px;
}

.contact-item p {
    margin: 0;
}

.contact-item a {
    color: #ff6b35;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ff8c42;
}

/* フッター */
.footer {
    background: #1e3c72;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 0.95rem;
}

/* トップへ戻るボタン */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.6);
}

/* アニメーション */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .product-name h2 {
        font-size: 1.5rem;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .users-section,
    .features-section,
    .contact-section {
        padding: 60px 0;
    }

    .users-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1.1rem;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .product-name {
        padding: 20px 25px;
    }

    .product-name h2 {
        font-size: 1.3rem;
    }

    .user-card,
    .feature-card {
        padding: 30px 20px;
    }

    .contact-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin-top: 0;
    }
}
