/* ベース設定 */
:root {
    --brand-green: #3a533a;
    --wall-white: #ffffff;
    --concrete: #f4f2ee;
    --text: #333333;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヒーローセクション */
.hero-section {
    position: relative;
    background-color: var(--brand-green);
    color: var(--wall-white);
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center 20%;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(58, 83, 58, 0.5), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

/* ボタン */
.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 32px;
    border-radius: 9999px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #c8c2b4;
    color: var(--brand-green);
}

.btn-primary:hover {
    background-color: #a39e92;
}

.btn-secondary {
    background-color: var(--wall-white);
    color: var(--brand-green);
}

.btn-secondary:hover {
    background-color: #f0f0f0;
}

/* アバウトセクション */
.about-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, white, var(--concrete));
    text-align: center;
}

.main-description {
    font-size: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* AIツールセクション */
.ai-tools {
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.tool-category {
    margin-bottom: 30px;
    text-align: center;
}

.tool-category h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--text);
}

.tool-category h4 i {
    color: var(--brand-green);
    font-size: 20px;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0 auto;
    max-width: 800px;
    padding: 0 20px;
}

.tag {
    background-color: var(--brand-green);
    color: white;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.tag:hover {
    background-color: #2a3f2a;
}

/* カテゴリーセクション */
.category-section {
    padding: 80px 0;
    background-color: #f9fafb;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(350px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.card-content {
    padding: 24px;
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}

.card-header i {
    font-size: 32px;
    color: var(--brand-green);
}

.header-text {
    text-align: center;
}

.header-text h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.header-text p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #374151;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    background-color: var(--brand-green);
    border-radius: 50%;
}

.more-link {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background-color: var(--brand-green);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-link::after {
    content: '>';
    margin-left: 8px;
    font-size: 14px;
}

.more-link:hover {
    background-color: #2a3f2a;
}

/* コミュニティセクション */
.community-section {
    padding: 80px 0;
    background-color: var(--concrete);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.community-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.community-card i {
    font-size: 36px;
    color: var(--brand-green);
    margin-bottom: 20px;
}

.community-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* 参加方法セクション */
.join-section {
    padding: 80px 0;
    background-color: var(--brand-green);
    color: white;
    text-align: center;
}

.join-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.join-section p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .button-group {
        flex-direction: column;
    }

    .category-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .tool-category h4 {
        font-size: 18px;
    }

    .tag {
        font-size: 12px;
    }

    .community-card {
        padding: 20px;
    }

    .community-card h3 {
        font-size: 20px;
    }
}