:root {
    --main-color: #4BA1FF;
    --text-color: #333333;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

.nav-logo {
    font-weight: bold;
    color: var(--main-color);
    text-decoration: none;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px; 
    object-fit: cover;
}

.menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--main-color);
    padding: 5px;
    transition: transform 0.2s;
}

.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    padding: 60px 30px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.nav-links.active { right: 0; }

.nav-links a {
    color: #555;
    text-decoration: none;
    margin-bottom: 25px;
    font-size: 1.05em;
    font-weight: 500;
}

.main-header {
    position: relative;
    width: 100%;
    aspect-ratio: 1500 / 500;
    text-align: center;
    background-color: var(--light-bg);
    background-image: url('img/banner.PNG');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.container { max-width: 800px; margin: auto; padding: 60px 20px; }
h2 { border-left: 5px solid var(--main-color); padding-left: 15px; margin-bottom: 30px; }

.action-area {
    text-align: center;
    padding: 40px 0;
}

.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-invite, .btn-support, .btn-X, .btn-github{
    display: inline-block;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 240px;
    box-sizing: border-box;
}

.btn-invite {
    background: var(--main-color);
    color: white;
    box-shadow: 0 4px 15px rgba(75, 161, 255, 0.4);
}

.btn-support {
    background: #5865F2;
    color: white;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.btn-X {
    background: #000000;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-github {
    background: #238636;
    color: white;
    box-shadow: 0 4px 15px rgba(35, 134, 54, 0.4);
}

.btn-invite:hover, .btn-support:hover, .btn-X:hover, .btn-github:hover {
    transform: translateY(-3px);
    opacity: 0.95;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

footer { text-align: center; padding: 60px 20px; color: #999; border-top: 1px solid #eee; background: var(--light-bg); }
/* メニュー内の招待リンクを確実にメインカラーにする */
.nav-invite-link {
    color: #4BA1FF !important; /* 直接色を指定して、最優先にする */
    font-weight: bold;
}
.copy-code {
    display: inline-block;
    background: #f4f4f4;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer; /* 指マークにする */
    transition: all 0.2s;
    border: 1px solid #ddd;
    font-weight: bold;
    color: #5865F2; /* Discordっぽい青 */
}

.copy-code:hover {
    background: #eef0ff;
    border-color: #5865F2;
    transform: scale(1.05); /* 少し大きくして反応を出す */
}

.copy-code::after {
    content: " 📋"; /* アイコンを添えて直感的に */
    font-size: 0.8em;
}
