@charset "UTF-8";

/*
 * サイトマップ (Sitemap) 用スタイル
 * ベースデザインは about/member に準拠
 */

.sitemap-content {
    background-color: #fff;
    padding: 30px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    line-height: 1.8;
    color: #333;
    max-width: 900px;
}

.sitemap-content h2 {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: #2c3e50;
    font-weight: bold;
}

.sitemap-content h2:first-child {
    margin-top: 0;
}

.sitemap-content h3 {
    font-size: 1.15rem;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #444;
    border-left: 4px solid #ddd;
    padding-left: 10px;
}

.sitemap-content p {
    margin-bottom: 15px;
}

/* セクション区切り */
.sitemap-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.sitemap-section:last-child {
    border-bottom: none;
}

/* リンク一覧 */
.sitemap-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.sitemap-links li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.sitemap-links li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

.sitemap-links a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s;
}

.sitemap-links a:hover {
    color: #004499;
    text-decoration: underline;
}

/* ランキングセレクタ */
.ranking-selector {
    background-color: #f8f9fa;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    border: 1px solid #eee;
}

.ranking-selector h4 {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
    color: #555;
}

.selector-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ranking-select {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s;
}

.ranking-select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.ranking-select optgroup {
    font-weight: bold;
    color: #2c3e50;
}

.ranking-select option {
    font-weight: normal;
    color: #333;
    padding: 5px;
}

.selector-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: bold;
    color: #fff;
    background-color: #0066cc;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.selector-btn:hover {
    background-color: #004499;
}

.selector-btn:active {
    background-color: #003366;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .sitemap-content {
        padding: 15px;
        margin: 10px 0;
        border-radius: 0;
        box-shadow: none;
    }

    .sitemap-content h2 {
        font-size: 1.2rem;
        margin-top: 30px;
    }

    .sitemap-content h3 {
        font-size: 1.05rem;
    }

    .ranking-selector {
        padding: 15px;
    }

    .selector-group {
        flex-direction: column;
        align-items: stretch;
    }

    .ranking-select {
        width: 100%;
    }

    .selector-btn {
        width: 100%;
        padding: 12px 24px;
    }
}
