/**
 * 静的ページ用スタイル
 */

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    background: #f5f5f5;
}

/* ヘッダー */
.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo a {
    color: #667eea;
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #667eea;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

/* メインコンテンツ */
.main-content {
    min-height: calc(100vh - 70px - 250px);
}

/* ボタン */
.button {
    display: inline-block;
    padding: 10px 20px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.button:hover {
    background: #e0e0e0;
}

.button-primary {
    background: #667eea;
    color: white;
}

.button-primary:hover {
    background: #5568d3;
}

.button-secondary {
    background: #2ecc71;
    color: white;
}

.button-secondary:hover {
    background: #27ae60;
}

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

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #667eea;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.page-header p {
    font-size: 1.1rem;
    color: #666;
}

.page-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-content h2 {
    font-size: 1.8rem;
    margin: 30px 0 15px 0;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.page-content h3 {
    font-size: 1.4rem;
    margin: 25px 0 10px 0;
    color: #444;
}

.page-content p {
    margin: 15px 0;
    line-height: 1.8;
}

.page-content ul,
.page-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.page-content li {
    margin: 10px 0;
}

.page-content a {
    color: #667eea;
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

/* フラッシュメッセージ */
.message {
    max-width: 1200px;
    margin: 20px auto;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* フッター */
.footer {
    background: #2c3e50;
    color: white;
    margin-top: 60px;
}

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

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    background: #1a252f;
    text-align: center;
    padding: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #999;
    font-size: 0.9rem;
}

/* FAQ用スタイル */
.faq-item {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #667eea;
    border-radius: 4px;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.faq-answer {
    color: #555;
    line-height: 1.8;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 20px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
        gap: 15px;
        justify-content: center;
    }

    .auth-buttons {
        flex-wrap: wrap;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-content {
        padding: 20px;
    }

    .page-content h2 {
        font-size: 1.5rem;
    }
}
