/* ===============================================
   サイトマップページ専用スタイル
   - モダンで視覚的に魅力的なサイトマップ
   - Google Material Design Icons使用
   - レスポンシブ対応
   - アニメーション効果
   - ダークモード対応
   =============================================== */

/* Material Icons のスタイル調整 */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
    vertical-align: middle;
}

/* ベースレイアウト */
.sitemap-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
}

/* ヒーローセクション */
.sitemap-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-icon {
    font-size: clamp(2.5rem, 4vw, 3.5rem) !important;
    animation: bounce 2s infinite;
    color: #ffd700;
    text-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.text-gradient {
    background: linear-gradient(135deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* 検索機能 */
.sitemap-search {
    margin-bottom: 2rem;
}

.search-container {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    overflow: hidden;
}

#sitemap-search {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    outline: none;
}

#sitemap-search::placeholder {
    color: #666;
}

.search-btn {
    padding: 1rem 1.5rem;
    border: none;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: linear-gradient(135deg, #ffed4e, #fff59d);
    transform: scale(1.05);
}

.search-btn .material-icons {
    font-size: 1.3rem;
}

/* フローティングシェイプ */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

/* メインコンテンツ */
.sitemap-content {
    position: relative;
    z-index: 2;
    background: #f8f9fa;
    margin-top: -100px;
    border-radius: 30px 30px 0 0;
    padding: 100px 0 50px;
    min-height: 60vh;
}

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

/* 統計セクション */
.sitemap-stats {
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    font-size: 2.5rem !important;
    margin-bottom: 1rem;
    display: block;
    color: #667eea;
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
}

/* サイトマップグリッド */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.sitemap-category {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sitemap-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.category-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.category-icon {
    font-size: 2.5rem !important;
    z-index: 1;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    z-index: 1;
}

.category-content {
    padding: 2rem;
}

.page-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.page-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: left 0.3s ease;
    z-index: 0;
}

.page-link:hover::before {
    left: 0;
}

.page-link:hover {
    color: white;
    transform: translateX(10px);
    border-color: #667eea;
}

.page-link > * {
    position: relative;
    z-index: 1;
}

.link-icon {
    font-size: 1.5rem !important;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
    color: #667eea;
    transition: color 0.3s ease;
}

.page-link:hover .link-icon {
    color: #ffd700;
}

.link-text {
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
}

.link-arrow {
    font-size: 1.2rem !important;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.page-link:hover .link-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* クイックアクセス */
.quick-access {
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.quick-access-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.title-icon {
    font-size: clamp(1.8rem, 3vw, 2rem) !important;
    color: #ffd700;
    animation: pulse 2s infinite;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #666;
    line-height: 1.6;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.quick-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-link:hover::before {
    opacity: 1;
}

.quick-link.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.quick-link.secondary {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    color: #333;
}

.quick-link.tertiary {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #333;
}

.quick-link.quaternary {
    background: linear-gradient(135deg, #d299c2, #fef9d7);
    color: #333;
}

.quick-link:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.quick-icon {
    font-size: 2.5rem !important;
    width: 60px;
    text-align: center;
    flex-shrink: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quick-text {
    flex: 1;
}

.quick-text strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.quick-text span {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* CTAセクション */
.sitemap-cta {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin: 0 1rem 4rem;
    position: relative;
    overflow: hidden;
}

.sitemap-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn > * {
    position: relative;
    z-index: 1;
}

.btn .material-icons {
    font-size: 1.2rem !important;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
}

.btn-outline {
    border-color: white;
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: white;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

/* アニメーション */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-30px) rotate(-5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* ベースレイアウト */
.sitemap-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
}

/* ヒーローセクション */
.sitemap-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-icon {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    animation: bounce 2s infinite;
}

.text-gradient {
    background: linear-gradient(135deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* 検索機能 */
.sitemap-search {
    margin-bottom: 2rem;
}

.search-container {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    overflow: hidden;
}

#sitemap-search {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    outline: none;
}

#sitemap-search::placeholder {
    color: #666;
}

.search-btn {
    padding: 1rem 1.5rem;
    border: none;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.search-btn:hover {
    background: linear-gradient(135deg, #ffed4e, #fff59d);
    transform: scale(1.05);
}

/* フローティングシェイプ */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

/* メインコンテンツ */
.sitemap-content {
    position: relative;
    z-index: 2;
    background: #f8f9fa;
    margin-top: -100px;
    border-radius: 30px 30px 0 0;
    padding: 100px 0 50px;
    min-height: 60vh;
}

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

/* 統計セクション */
.sitemap-stats {
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
}

/* サイトマップグリッド */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.sitemap-category {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sitemap-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.category-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.category-icon {
    font-size: 2.5rem;
    z-index: 1;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    z-index: 1;
}

.category-content {
    padding: 2rem;
}

.page-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.page-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: left 0.3s ease;
    z-index: 0;
}

.page-link:hover::before {
    left: 0;
}

.page-link:hover {
    color: white;
    transform: translateX(10px);
    border-color: #667eea;
}

.page-link > * {
    position: relative;
    z-index: 1;
}

.link-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.link-text {
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
}

.link-arrow {
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.page-link:hover .link-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* クイックアクセス */
.quick-access {
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.quick-access-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.title-icon {
    font-size: clamp(1.8rem, 3vw, 2rem);
    color: #ffd700;
    animation: pulse 2s infinite;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #666;
    line-height: 1.6;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.quick-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-link:hover::before {
    opacity: 1;
}

.quick-link.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.quick-link.secondary {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    color: #333;
}

.quick-link.tertiary {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #333;
}

.quick-link.quaternary {
    background: linear-gradient(135deg, #d299c2, #fef9d7);
    color: #333;
}

.quick-link:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.quick-icon {
    font-size: 2.5rem;
    width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.quick-text {
    flex: 1;
}

.quick-text strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.quick-text span {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* CTAセクション */
.sitemap-cta {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin: 0 1rem 4rem;
    position: relative;
    overflow: hidden;
}

.sitemap-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn > * {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
}

.btn-outline {
    border-color: white;
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: white;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

/* アニメーション */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-30px) rotate(-5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* フェードイン効果 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .sitemap-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .quick-access-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-title {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .quick-access-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .search-container {
        flex-direction: column;
        max-width: 300px;
        border-radius: 25px;
    }
    
    #sitemap-search,
    .search-btn {
        border-radius: 25px;
    }
    
    .search-btn {
        margin-top: 1rem;
    }
    
    .category-header {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .category-content {
        padding: 1.5rem;
    }
    
    .page-link {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .quick-link {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .sitemap-cta {
        padding: 3rem 1.5rem;
        margin: 0 0.5rem 3rem;
        border-radius: 20px;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .page-link {
        font-size: 0.9rem;
    }
    
    .link-icon {
        font-size: 1.3rem;
        width: 35px;
    }
    
    .quick-icon {
        font-size: 2rem;
    }
    
    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 1.1rem 2rem;
        font-size: 1.1rem;
    }
    
    .search-container {
        max-width: 280px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
}

@media (max-width: 360px) {
    .sitemap-grid {
        gap: 1.5rem;
    }
    
    .category-header {
        padding: 1rem;
    }
    
    .category-content {
        padding: 1rem;
    }
    
    .quick-link {
        padding: 1rem;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .sitemap-content {
        background: #1a1a1a;
    }
    
    .stat-card,
    .sitemap-category {
        background: #2d2d2d;
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .stat-card:hover,
    .sitemap-category:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }
    
    .page-link {
        background: #3a3a3a;
        color: #e0e0e0;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .page-link:hover {
        color: white;
    }
    
    .section-title {
        color: #e0e0e0;
    }
    
    .section-subtitle {
        color: #b0b0b0;
    }
    
    .stat-label {
        color: #b0b0b0;
    }
    
    .stat-number {
        color: #8b9dc3;
    }
    
    #sitemap-search {
        background: rgba(45, 45, 45, 0.95);
        color: #e0e0e0;
    }
    
    #sitemap-search::placeholder {
        color: #888;
    }
    
    .quick-link.secondary {
        background: linear-gradient(135deg, #4a4a4a, #5a5a5a);
        color: #e0e0e0;
    }
    
    .quick-link.tertiary {
        background: linear-gradient(135deg, #3a4a5a, #4a3a5a);
        color: #e0e0e0;
    }
    
    .quick-link.quaternary {
        background: linear-gradient(135deg, #5a4a3a, #4a5a3a);
        color: #e0e0e0;
    }
}

/* 高コントラストモード */
@media (prefers-contrast: high) {
    .page-link {
        border: 2px solid #333;
    }
    
    .page-link:hover {
        border-color: #667eea;
        background: #667eea !important;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .stat-card,
    .sitemap-category {
        border: 2px solid #ddd;
    }
}

/* 印刷スタイル */
@media print {
    .sitemap-wrapper {
        background: white;
    }
    
    .sitemap-hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .floating-shapes,
    .hero-bg-overlay {
        display: none;
    }
    
    .sitemap-content {
        background: white;
        margin-top: 0;
        border-radius: 0;
    }
    
    .page-link:hover::before {
        display: none;
    }
    
    .cta-buttons {
        display: none;
    }
    
    .search-container {
        display: none;
    }
    
    .page-link {
        background: white;
        border: 1px solid #ddd;
    }
    
    .category-header {
        background: #f0f0f0 !important;
        color: #333 !important;
    }
}

/* 縦画面モード（モバイル） */
@media (orientation: portrait) and (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .sitemap-hero {
        min-height: 70vh;
    }
}

/* 横画面モード（モバイル） */
@media (orientation: landscape) and (max-height: 500px) {
    .sitemap-hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 2rem;
    }
}

/* アクセシビリティ改善 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .shape {
        animation: none;
    }
    
    .hero-icon {
        animation: none;
    }
    
    .title-icon {
        animation: none;
    }
}

/* フォーカス管理 */
.page-link:focus,
.quick-link:focus,
.btn:focus,
#sitemap-search:focus,
.search-btn:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* 選択テキストスタイル */
::selection {
    background: #667eea;
    color: white;
}

::-moz-selection {
    background: #667eea;
    color: white;
}

/* カスタムスクロールバー */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}

/* ローディング状態 */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* エラー状態 */
.error {
    border-color: #e74c3c !important;
    background-color: #fdf2f2 !important;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message::before {
    content: '⚠️';
}

/* 成功状態 */
.success {
    border-color: #27ae60 !important;
    background-color: #f2f9f2 !important;
}

.success-message {
    color: #27ae60;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-message::before {
    content: '✅';
}
