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

body {
    font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
.nav {
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 97, 164, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0061A4;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #0061A4;
}

/* Hero Section */
.hero {
    padding-top: 100px;
    background: linear-gradient(135deg, #e8f4fd 0%, #d1e9f6 100%);
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

.hero-content {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 500px;
    height: 500px;
    background-image: url('assets/bg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: 0;
    pointer-events: none;
}

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

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.logo-badge {
    margin-bottom: 2rem;
}

.app-icon {
    background: #0061A4;
    color: white;
    padding: 1rem 2rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(0, 97, 164, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-screenshot {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-screenshot:hover {
    transform: scale(1.02);
}

.phone-mockup {
    width: 250px;
    height: 500px;
    background: #333;
    border-radius: 30px;
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.map-interface {
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(0, 97, 164, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(0, 97, 164, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 50% 80%, rgba(0, 97, 164, 0.1) 1px, transparent 1px);
    position: relative;
}

.pin {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pin.red {
    background: #ff4757;
    top: 20%;
    left: 30%;
}

.pin.blue {
    background: #0061A4;
    top: 40%;
    right: 25%;
}

.pin.green {
    background: #2ed573;
    bottom: 30%;
    left: 40%;
}

.pin.yellow {
    background: #ffa502;
    top: 60%;
    left: 20%;
}

.character-illustration {
    position: absolute;
    right: -50px;
    bottom: 0;
    font-size: 4rem;
    opacity: 0.8;
}

.download-section {
    text-align: center;
    padding: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 60px;
    min-width: 180px;
}

.download-btn.android {
    background: #000;
    color: white;
}

.download-btn.ios {
    background: #000;
    color: white;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.download-btn-content {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    width: 100%;
    height: 100%;
}

.download-icon-wrapper {
    margin-right: 12px;
}

.google-play-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, #34a853 0%, #4285f4 25%, #ea4335 50%, #fbbc05 75%);
    border-radius: 4px;
    position: relative;
}

.google-play-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 6px solid white;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.apple-icon {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apple-icon::before {
    content: '';
    width: 16px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 28"><path fill="%23000" d="M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.download-text-wrapper {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.download-store-label {
    font-size: 10px;
    font-weight: normal;
    opacity: 0.8;
    line-height: 1;
    margin-bottom: 2px;
}

.download-store-name {
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: #0061A4;
    margin-bottom: 3rem;
    font-weight: bold;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.feature-image-wrapper {
    width: 100%;
    max-width: 250px;
    margin-bottom: 1rem;
}

.feature-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon.spot {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.feature-icon.report {
    background: linear-gradient(135deg, #4ecdc4, #6bcf7f);
}

.feature-icon.items {
    background: linear-gradient(135deg, #45b7d1, #67c3e8);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #0061A4;
    margin-bottom: 1rem;
    font-weight: bold;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.gallery-image.mountain {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gallery-image.beach {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gallery-image.forest {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gallery-image.city {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.gallery-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #0061A4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.gallery-item p {
    padding: 1.5rem;
    text-align: center;
    font-weight: 500;
    color: #333;
}

/* How To Section */
.how-to {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

.step {
    text-align: center;
}

.step-number {
    background: #0061A4;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.step-content h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: bold;
}

.step-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
    font-size: 2.5rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.contact-link-wrapper {
    margin-top: 2rem;
}

.contact-link {
    display: inline-block;
    background: #0061A4;
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 97, 164, 0.3);
}

.contact-link:hover {
    background: #004d85;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 97, 164, 0.4);
}

/* Final Download Section */
.final-download {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0061A4 0%, #004d85 100%);
    text-align: center;
}

.download-title {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    line-height: 1.3;
}

.final-download-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .hero-screenshot {
        max-height: 400px;
        margin: 2rem 0;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
        margin: 2rem 0;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .final-download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .final-download-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}