/* site.css - サイトマップ専用スタイル */

/* メインコンテンツ */
.main-content {
    min-height: calc(100vh - 200px);
    background: linear-gradient(180deg, #FFF8E1 0%, #fff 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* パンくずナビ */
.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #E4405F;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ページヘッダー */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 3px solid #E4405F;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #FFD54F, #FF6C87);
}

.page-title {
    font-size: 2.5rem;
    color: #E4405F;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* サイトマップコンテナ */
.sitemap-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.sitemap-section {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sitemap-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.section-title {
    font-size: 1.3rem;
    color: #E4405F;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #FFD54F;
    font-weight: 600;
    position: relative;
}

.section-title::before {
    content: '◆';
    color: #FFD54F;
    margin-right: 0.5rem;
    font-size: 0.8em;
}

/* サイトマップリスト */
.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.sitemap-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #FFD54F;
    font-size: 0.9rem;
    top: 0.1rem;
}

.sitemap-list a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sitemap-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(228, 64, 95, 0.1), transparent);
    transition: left 0.5s ease;
}

.sitemap-list a:hover::before {
    left: 100%;
}

.sitemap-list a:hover {
    background-color: #FFF8E1;
    color: #E4405F;
    padding-left: 1.2rem;
    box-shadow: 0 2px 8px rgba(228, 64, 95, 0.1);
}

/* メインメニューの特別スタイル */
.main-menu a {
    font-weight: 500;
    font-size: 1rem;
    font-family: inherit;
}

.main-menu a:hover {
    background: linear-gradient(135deg, #FFF8E1, #fff);
}

/* サイトマップフッター */
.sitemap-footer {
    text-align: center;
    padding: 2rem;
    background: #FFF8E1;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.sitemap-footer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.sitemap-footer a {
    color: #E4405F;
    text-decoration: none;
    font-weight: 500;
}

.sitemap-footer a:hover {
    text-decoration: underline;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .header-nav ul {
        gap: 1rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .sitemap-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sitemap-section {
        padding: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1rem;
    }
    
    .header-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sitemap-section {
    animation: fadeInUp 0.6s ease-out;
}

.sitemap-section:nth-child(even) {
    animation-delay: 0.1s;
}

.sitemap-section:nth-child(3n) {
    animation-delay: 0.2s;
}

/* フォーカススタイル */
a:focus {
    outline: 2px solid #FFD54F;
    outline-offset: 2px;
}

/* 印刷用スタイル */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .main-content {
        background: #fff;
    }
    
    .sitemap-section {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}