/* Misskeyサポートセンター スタイルシート */
:root {
    --primary-color: #d8f3dc; /* 黄緑 */
    --secondary-color: #ffc2d1; /* ピンク */
    --text-color: #333;
    --link-color: #c9184a;
    --bg-color: #fefae0;
    --header-bg: #bde0fe;
    --border-color: #ccc;
    --card-bg: #ffffff;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body {
    font-family: var(--font-family);
    line-height: 1.6;
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
}
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color);
    border-bottom: 5px solid var(--header-bg);
}
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    font-size: 0.9em;
    color: #555;
    border-top: 1px solid var(--border-color);
}
a { color: var(--link-color); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 検索ボックス */
.search-box { margin: 30px 0; text-align: center; }
.search-box input[type="search"] { width: 80%; padding: 12px; font-size: 1.1em; border: 2px solid var(--border-color); border-radius: 25px; transition: all 0.3s ease; }
.search-box input[type="search"]:focus { outline: none; border-color: var(--secondary-color); box-shadow: 0 0 10px rgba(255, 194, 209, 0.5); }
.search-box button { padding: 12px 20px; font-size: 1.1em; border: none; background-color: var(--link-color); color: white; border-radius: 25px; cursor: pointer; margin-left: 10px; }

/* 記事一覧 */
.article-list h2.page-title { border-bottom: 3px solid var(--primary-color); padding-bottom: 10px; }
.article-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-left: 5px solid var(--primary-color); padding: 20px; margin-bottom: 20px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-left-color: var(--secondary-color); }
.article-card h3 { margin-top: 0; }
.article-card h3 a { color: var(--text-color); text-decoration: none; }
.article-meta { font-size: 0.9em; color: #666; margin-bottom: 10px; }
.article-meta .category a { background-color: var(--primary-color); color: var(--text-color); padding: 3px 8px; border-radius: 5px; font-weight: bold; }
.article-meta .tags a { background-color: #eee; color: #555; padding: 2px 6px; border-radius: 5px; margin-right: 5px; font-size: 0.85em; }

/* 記事ページ */
.article-content { background-color: var(--card-bg); padding: 30px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.article-content h1, .article-content h2, .article-content h3 { border-bottom: 2px solid #eee; padding-bottom: 5px; }
.article-content pre { background-color: #f4f4f4; padding: 15px; border-radius: 5px; overflow-x: auto; }
.article-content code { background-color: #f4f4f4; padding: 2px 4px; border-radius: 3px; font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; }
.article-content pre code { padding: 0; background-color: transparent; }
.article-content blockquote { border-left: 5px solid var(--primary-color); padding-left: 15px; color: #666; margin-left: 0; }
.article-content img { max-width: 100%; height: auto; border-radius: 5px; }

/* --- ヘッダーナビゲーションのスタイル --- */
header { padding: 0; }
.header-content { display: flex; align-items: center; justify-content: space-between; max-width: 900px; margin: 0 auto; padding: 1rem; }
.logo-link { display: flex; align-items: center; gap: 15px; text-decoration: none; color: var(--text-color); }
.header-logo { width: 50px; height: 50px; }
header h1 { font-size: 1.8em; margin: 0; }
header nav a { background-color: var(--link-color); color: white; padding: 10px 15px; border-radius: 8px; text-decoration: none; font-weight: bold; transition: background-color 0.2s; }
header nav a:hover { background-color: #a1143c; }

/* --- お問い合わせフォームのスタイル --- */
.contact-container { background-color: var(--card-bg); padding: 30px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
.form-group input[type="text"], .form-group input[type="email"], .form-group select, .form-group textarea { width: 100%; padding: 10px; border: 1px solid var(--border-color); border-radius: 5px; font-size: 1em; box-sizing: border-box; }
.form-group textarea:disabled { background-color: #f0f0f0; cursor: not-allowed; }
.form-group button { width: 100%; padding: 12px; font-size: 1.1em; border: none; background-color: var(--link-color); color: white; border-radius: 8px; cursor: pointer; transition: background-color 0.2s; }
.form-group button:hover { background-color: #a1143c; }

/* --- メッセージ表示用スタイル --- */
.message { padding: 15px; margin-bottom: 20px; border-radius: 5px; border: 1px solid; }
.message.success { background-color: #e8f5e9; border-color: #4caf50; color: #2e7d32; }
.message.error { background-color: #ffebee; border-color: #f44336; color: #c62828; }
.message.warning { background-color: #fff3e0; border-color: #ff9800; color: #e65100; }
