/* ホームページ専用スタイル（薬の検索サイト風カラー） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1f2937;
    background: #f8fafc;
    line-height: 1.6;
}

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

/* ヒーローセクション */
.hero-section {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 500px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    line-height: 1.2;
}

.hero-icon {
    font-size: 56px;
    color: #fbbf24;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    font-weight: 500;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* 検索メニュー */
.search-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-option {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.search-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.option-icon {
    width: 60px;
    height: 60px;
    background: #fbbf24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-icon .material-icons {
    font-size: 28px;
    color: #1e293b;
}

.option-content {
    flex: 1;
}

.option-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.option-description {
    font-size: 14px;
    opacity: 0.8;
}

/* ヒーロー画像 */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-map-preview {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.map-icon {
    font-size: 80px;
    opacity: 0.7;
}

.map-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fbbf24;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.dot-1 { top: 30%; left: 25%; animation-delay: 0s; }
.dot-2 { top: 45%; right: 30%; animation-delay: 0.5s; }
.dot-3 { bottom: 35%; left: 35%; animation-delay: 1s; }
.dot-4 { bottom: 25%; right: 25%; animation-delay: 1.5s; }

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* 機能紹介セクション */
.features-section {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1f2937;
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8fafc;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #2563eb;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon .material-icons {
    font-size: 36px;
    color: white;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1f2937;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* 使い方セクション */
.howto-section {
    padding: 100px 0;
    background: #f8fafc;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    flex: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.step-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.step-arrow {
    color: #2563eb;
    font-size: 24px;
}

.step-arrow .material-icons {
    font-size: 32px;
}

/* 最近の検索セクション */
.recent-section {
    padding: 80px 0;
    background: white;
}

.recent-searches {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    color: #059669;
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid #bbf7d0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.recent-item:hover {
    background: #dcfce7;
    transform: translateY(-1px);
}

.recent-item .material-icons {
    font-size: 18px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
        justify-content: center;
    }
    
    .hero-icon {
        font-size: 42px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-map-preview {
        width: 250px;
        height: 250px;
    }
    
    .map-icon {
        font-size: 60px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .hero-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .features-section,
    .howto-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .search-option {
        padding: 16px;
    }
    
    .option-icon {
        width: 50px;
        height: 50px;
    }
    
    .option-icon .material-icons {
        font-size: 24px;
    }
    
    .option-title {
        font-size: 18px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .hero-map-preview {
        width: 200px;
        height: 200px;
    }
}