/* --- 全体の基本設定 --- */
:root {
    --bg-color: #f9fafb;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
    --accent-color: #d97706; /* からあげの色 */
}

/* ダークモード時の色設定 */
[data-theme="dark"] {
    --bg-color: #111827;
    --text-color: #f9fafb;
    --text-muted: #9ca3af;
    --card-bg: #1f2937;
    --border-color: #374151;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

/* --- ヘッダー --- */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo {
    font-size: 1.2rem;
    font-weight: 700;
}
.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}
.icon-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-color);
}

/* --- レイアウトとカード --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.section-spacing {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--accent-color);
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
/* --- アイコン画像 --- */
.header-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.hero-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- ボタン類 --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn:hover {
    background-color: #b46205; /* 少し濃いオレンジ */
}

.discord-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #5865F2; /* Discordのブランドカラー */
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
}
.discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(88, 101, 242, 0.4);
}

/* --- コンテンツの装飾 --- */
.highlight-text {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.6;
    color: var(--accent-color);
}

.server-overview ul {
    list-style-type: none;
    margin-bottom: 15px;
}
.server-overview li {
    margin-bottom: 12px;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}
.server-overview li::before {
    content: "🍗";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9rem;
}
.target-text {
    font-weight: bold;
    text-align: center;
    padding: 10px;
    background-color: rgba(217, 119, 6, 0.1);
    border-radius: 8px;
}

.editing-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #eab308; /* 注意を引く黄色系 */
    margin-bottom: 10px;
}
.text-center {
    text-align: center;
}
.full-width {
    grid-column: 1 / -1; /* 横幅いっぱいに広げる */
}

/* --- データ表示エリア（APIから取得したデータを入れる場所） --- */
.data-container {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    max-height: 300px;
    overflow-y: auto; /* 長くなったらスクロール */
}
.data-item {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border-color);
}
.data-item h4 {
    margin-bottom: 5px;
    color: var(--accent-color);
}
.data-item small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- フォーム入力欄 --- */
.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-color);
    color: var(--text-color);
}
