/* ===== Sitemap Page ===== */

body {
    background-color: #f6dc9f;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

.sitemap_main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sitemap_container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dab584;
    overflow: hidden;
}

.sitemap_ellipse {
    position: absolute;
    width: 700px;
    height: 250px;
    background-color: #f6dc9f;
    border-radius: 50%;
    transform: rotate(135deg);
    filter: blur(60px);
    opacity: 0.7;
}

.sitemap_content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    width: 100%;
    max-width: 960px;
    animation: sitemapFadeInUp 1s ease both;
}

@keyframes sitemapFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sitemap_label {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300;
    font-size: 13px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(26, 18, 7, 0.45);
    margin-bottom: 12px;
}

.sitemap_title {
    font-family: "Zen Old Mincho", serif;
    font-weight: 900;
    font-size: 40px;
    color: #1a1207;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.sitemap_divider {
    width: 40px;
    height: 2px;
    background: rgba(0, 0, 0, 0.2);
    margin: 24px 0;
}

/* ===== Sitemap Grid ===== */

.sitemap_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 48px;
    width: 100%;
    text-align: left;
    padding: 8px 0;
}

.sitemap_group {
    padding: 0;
}

.sitemap_group_title {
    font-family: "Zen Old Mincho", serif;
    font-weight: 700;
    font-size: 17px;
    color: #1a1207;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.15);
}

.sitemap_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sitemap_list li {
    position: relative;
    padding-left: 16px;
}

.sitemap_list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8b6914;
    opacity: 0.6;
}

.sitemap_list a {
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.sitemap_list a:hover {
    color: #8b6914;
}

.sitemap_list a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #8b6914;
    transition: width 0.3s ease;
}

.sitemap_list a:hover::after {
    width: 100%;
}

/* ===== Back button ===== */

.sitemap_back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 28px;
    font-family: "Shippori Mincho", serif;
    font-weight: 600;
    font-size: 15px;
    color: #1a1207;
    text-decoration: none;
    border: 1.5px solid rgba(0, 0, 0, 0.25);
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.sitemap_back:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.back_arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.sitemap_back:hover .back_arrow {
    transform: translateX(-3px);
}

.sitemap_kujira {
    position: absolute;
    right: -5%;
    bottom: 0;
    width: 45%;
    max-width: 500px;
    object-fit: contain;
    opacity: 0.08;
    pointer-events: none;
}

/* ===== Responsive: PC ===== */

@media screen and (min-width: 1024px) {
    .sitemap_ellipse {
        width: 1200px;
        height: 500px;
        filter: blur(80px);
    }

    .sitemap_title {
        font-size: 52px;
    }

    .sitemap_grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px 56px;
    }

    .sitemap_kujira {
        width: 35%;
        opacity: 0.06;
    }
}

/* ===== Responsive: Tablet ===== */

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .sitemap_ellipse {
        width: 900px;
        height: 400px;
    }

    .sitemap_title {
        font-size: 46px;
    }

    .sitemap_grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 48px;
    }

    .sitemap_kujira {
        width: 40%;
        opacity: 0.08;
    }
}

/* ===== Responsive: Small mobile ===== */

@media screen and (max-width: 400px) {
    .sitemap_title {
        font-size: 32px;
    }

    .sitemap_grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sitemap_group_title {
        font-size: 15px;
    }

    .sitemap_list a {
        font-size: 14px;
    }

    .sitemap_back {
        font-size: 13px;
        padding: 10px 22px;
    }

    .sitemap_content {
        padding: 100px 20px 60px;
    }
}
