/* このへん 〜ちょうどいい集合場所〜 ウェブサイト - モダン・グラデーションデザイン */

/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #00C853;
    --primary-green-light: #00E676;
    --primary-green-dark: #00A043;
    --accent-teal: #00BFA5;
    --text-primary: #212121;
    --text-secondary: #757575;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --border-color: #E0E0E0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ヘッダー */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 200, 83, 0.1);
    padding: 20px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.6s ease-out;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links a:hover::after {
    width: 100%;
}

/* メインコンテンツ */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ヒーローセクション */
.hero {
    text-align: center;
    padding: 80px 20px;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

.app-icon {
    width: 140px;
    height: 140px;
    border-radius: 32px;
    margin-bottom: 32px;
    box-shadow: 0 10px 40px rgba(0, 200, 83, 0.3);
    animation: float 4s ease-in-out infinite;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    color: white;
    padding: 18px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(0, 200, 83, 0.4);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 200, 83, 0.5);
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:active {
    transform: translateY(-1px);
}

/* 機能セクション */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.03) 0%, rgba(0, 191, 165, 0.03) 100%);
    margin: 60px -20px;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
}

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

.features h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 64px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.feature-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 200, 83, 0.1);
    animation: fadeInUp 0.8s ease-out both;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }
.feature-item:nth-child(6) { animation-delay: 0.6s; }

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(0, 200, 83, 0.2);
    border-color: var(--primary-green);
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* コンテンツセクション */
.content-section {
    margin-bottom: 64px;
    animation: fadeInUp 0.8s ease-out both;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 16px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light));
    border-radius: 2px;
}

.content-section h3 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 600;
}

.content-section h4 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.content-section p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.content-section ul,
.content-section ol {
    margin-bottom: 20px;
    padding-left: 32px;
    color: var(--text-secondary);
}

.content-section li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.content-section a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.content-section a:hover {
    color: var(--primary-green-dark);
}

/* フッター */
footer {
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.05) 0%, rgba(0, 191, 165, 0.05) 100%);
    padding: 60px 20px;
    margin-top: 80px;
    border-top: 1px solid rgba(0, 200, 83, 0.2);
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light));
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 16px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .features {
        padding: 60px 0;
        margin: 40px -20px;
    }

    .features h2 {
        font-size: 32px;
        margin-bottom: 48px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-item {
        padding: 32px;
    }

    .content-section h2 {
        font-size: 28px;
    }

    .content-section h3 {
        font-size: 22px;
    }

    .download-btn {
        padding: 16px 40px;
        font-size: 16px;
    }
}

/* スクロールバーのカスタマイズ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
}
