/* 白と青ベースのクリーンなカラーパレット */
:root {
    --primary-blue: #0056b3;
    --primary-light: #e8f0fe;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-white: #ffffff;
    --bg-light: #f4f7f6;
    --border-color: #dddddd;
    --accent-color: #ff9800;
    --discord-color: #5865F2;
}

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

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

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

/* ナビゲーション */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--bg-white);
    padding: 15px 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-main);
}

.nav-logo {
    height: 35px;
    border-radius: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    margin-left: 25px;
    font-size: 0.95rem;
    font-weight: 500;
}

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

/* ハンバーガーボタン（PC時は非表示） */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* セクション共通 */
.section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--bg-light);
    max-width: 100%;
    padding: 80px calc((100% - 1100px) / 2 + 20px);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* ヒーローセクション（最上部） */
.hero {
    padding: 140px 20px 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-white) 100%);
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-main);
}

.text-blue {
    color: var(--primary-blue);
}

.service-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.badge {
    display: inline-block;
    background-color: #fff;
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    border: 1px solid var(--primary-blue);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
    display: none;
}

@media (min-width: 768px) {
    .hero-image { display: block; }
}

.floating-img {
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

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

/* お知らせバナー */
.news-banner {
    background-color: #fff3e0;
    border-bottom: 1px solid #ffe0b2;
    padding: 12px 20px;
    text-align: center;
    font-size: 0.95rem;
}

.news-label {
    background-color: var(--accent-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 10px;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-light);
}

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

.btn-discord:hover {
    background-color: #4752c4;
}

/* Botカード */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: relative;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: var(--primary-blue);
}

.bot-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 2px solid var(--border-color);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    min-height: 50px;
}

.card-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--primary-blue);
    color: white;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.card-badge.update {
    background-color: #28a745;
}

/* 運営チーム */
.team-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.team-member {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 20px 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 260px;
}

.role-icon {
    background-color: var(--primary-light);
    color: var(--primary-blue);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
}

.leader h4 {
    color: var(--primary-blue);
}

.recruit-box {
    text-align: center;
    background-color: var(--primary-light);
    padding: 20px;
    border-radius: 8px;
    color: var(--primary-blue);
}

/* FAQ */
.faq-item {
    background-color: var(--bg-white);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-main);
    text-align: left;
    padding: 20px;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-item.active .faq-question::after {
    content: '-';
}

/* お問い合わせ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
}

.contact-box h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.email-copy-area {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 5px 5px 5px 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.email-copy-area code {
    font-size: 1.1rem;
    margin-right: 15px;
    color: var(--text-main);
}

.btn-outline-small {
    background-color: white;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-outline-small:hover {
    background-color: var(--bg-light);
}

.disclaimer {
    font-size: 0.85rem;
    color: #dc3545 !important;
    margin-top: 15px;
}

/* フッター */
.site-footer {
    background-color: #2b3035;
    color: white;
    padding: 50px 20px 20px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #495057;
    padding-bottom: 30px;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

.footer-links a {
    color: #adb5bd;
    margin-left: 20px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #6c757d;
}

/* =========================================
   スマホ対応 (レスポンシブ) ＆ ハンバーガー
========================================= */
@media (max-width: 768px) {
    /* ハンバーガーボタンを表示 */
    .hamburger {
        display: flex;
    }

    /* メニューをドロップダウン化 */
    .nav-links {
        display: none; /* 初期状態は非表示 */
        position: absolute;
        top: 65px; /* ヘッダーのすぐ下 */
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
    }

    /* JSで .active が付いた時に表示 */
    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 15px 0;
        font-size: 1.1rem;
    }

    /* ハンバーガーが「×」になるアニメーション */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* その他スマホ用レイアウト調整 */
    .hero { padding: 120px 20px 60px; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 300px; }
    .contact-grid, .footer-container {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .footer-links a { display: block; margin: 10px 0; }
}

/* 採用情報セクションのリデザイン */
.recruit-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: var(--bg-white);
    border: 2px solid var(--primary-light);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    text-align: center;
}

.recruit-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.recruit-badge {
    background-color: var(--primary-blue);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.recruit-header h3 {
    font-size: 1.4rem;
    color: var(--text-main);
}

.recruit-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.recruit-roles {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.role-tag {
    background-color: var(--primary-light);
    color: var(--primary-blue);
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
}

.recruit-footer .btn-outline {
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: bold;
    background: transparent;
    display: inline-block;
}

.recruit-footer .btn-outline:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
}