:root {
    --primary-color: #99cc00; /* 黄緑色 */
    --primary-dark: #7aa300;
    --secondary-color: #333;
    --bg-light: #f9fbf2;
    --white: #ffffff;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
}

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

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

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 80px 0;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .highlight {
    color: var(--primary-color);
    font-size: 1.2em;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-btns .btn {
    margin-right: 15px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Features */
#features {
    background-color: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 40px;
    border-radius: 15px;
    background-color: var(--bg-light);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Plans */
#plans {
    background-color: #f4f4f4;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: flex-start;
}

.plan-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    position: relative;
}

.plan-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.plan-header {
    padding: 30px;
    text-align: center;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.plan-header .price {
    font-size: 1.2rem;
    font-weight: bold;
}

.plan-header .price span {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.plan-body {
    padding: 30px;
}

.plan-desc {
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.plan-body ul {
    list-style: none;
}

.plan-body ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.plan-body ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Flow Section */
#flow {
    background-color: var(--bg-light);
}

.flow-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 60px;
    width: 2px;
    height: calc(100% - 20px);
    background-color: var(--primary-color);
    opacity: 0.3;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 30px;
    z-index: 1;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.step-content p {
    color: var(--text-light);
}

/* Contact */
#contact {
    background-color: var(--white);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        position: relative; /* 固定を解除 */
    }

    header .container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    nav {
        display: none;
    }

    .header-cta {
        margin: 0;
    }
    
    .hero-flex {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-btns .btn {
        margin: 10px;
    }
    
    .plan-card.featured {
        transform: scale(1);
    }

    .flow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .flow-step:not(:last-child)::after {
        display: none;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    /* モバイル専用の調整が必要な場合はここに記述 */
}
