/* 全体のスタイル設定 */
:root {
    --primary-color: #7c4dff;
    --secondary-color: #2196f3;
    --accent-color: #00c853;
    --dark-color: #212121;
    --light-color: #fafafa;
    --text-color: #333333;
    --light-text: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

h3 {
    font-size: 1.4rem;
    margin-top: 10px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

section {
    padding: 70px 0;
}

/* ヘッダーとナビゲーション */
header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

.logo-svg {
    width: 180px;
    height: 45px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 500;
    color: var(--dark-color);
    padding: 5px 0;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(120deg, #7c4dff, #2196f3);
    color: var(--light-text);
    text-align: center;
    padding: 100px 0;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 30px;
}

.hero h1 {
    color: var(--light-text);
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero h2 {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1.7rem;
    margin-bottom: 25px;
}

.hero h2::after {
    background: var(--light-text);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #00b34a;
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.6);
    transform: translateY(-3px);
    color: var(--light-text);
}

/* 特徴セクション */
.features {
    background-color: #fff;
    padding-bottom: 90px;
}

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

.feature-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary-color);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-color);
}

/* 使い方セクション */
.how-it-works {
    background-color: #f5f7fa;
    position: relative;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
}

.step {
    flex-basis: 30%;
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15%;
    width: 30%;
    height: 2px;
    background: #e0e0e0;
    z-index: -1;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
}

/* テクノロジーセクション */
.technology {
    background-color: #fff;
}

.tech-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.tech-info {
    flex: 1;
    min-width: 300px;
}

.tech-info h3 {
    color: var(--secondary-color);
    margin-top: 20px;
}

.tech-info h3:first-child {
    margin-top: 0;
}

.tech-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

/* スタートセクション */
.get-started {
    background: linear-gradient(135deg, #2196f3, #7c4dff);
    color: var(--light-text);
    text-align: center;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    padding-top: 120px;
}

.get-started h2 {
    color: var(--light-text);
}

.get-started h2::after {
    background: var(--light-text);
}

.get-started p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

/* フッター */
footer {
    background-color: #212121;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-logo p {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-links h4, .footer-disclaimer h4 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-links h4::after, .footer-disclaimer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-disclaimer {
    flex: 2;
    min-width: 300px;
}

.footer-disclaimer p {
    opacity: 0.7;
    line-height: 1.8;
}

.footer-icon {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .step {
        flex-basis: 100%;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .tech-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }
    
    .hero {
        padding: 70px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
