@charset "utf-8";

html {
    font-family: "Noto Serif JP", sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.footer {
    width: 100%;
    background: #1a1a1a;
    padding: 2rem 0 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-sns {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.sns-link {
    color: #f1f1f1;
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0.75;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.sns-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #d4af37;
    transition: width 0.3s ease;
}

.sns-link:hover {
    opacity: 1;
    color: #d4af37;
}

.sns-link:hover::after {
    width: 100%;
}

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.2rem;
}

.footer-copy p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.footer-copy strong {
    color: #bbb;
    font-weight: 500;
    display: block;
    margin-bottom: 0.3rem;
}

.footer-privacy {
    margin-bottom: 0.8rem !important;
}

.footer-privacy a {
    color: #888;
    font-size: 0.8rem;
    text-decoration: none;
}

.footer-privacy a:hover {
    color: #d4af37;
}

.all-rights {
    font-size: 0.75rem !important;
}

.footer-logo {
    margin-bottom: 1.2rem;
}

.footer-logo img {
    width: 52px;
    height: auto;
}

@media (max-width: 768px) {
    .footer-sns {
        gap: 1.4rem;
        flex-wrap: wrap;
    }

    .sns-link {
        font-size: 1.3rem;
    }
}

.pagetop {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 190;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    transform: translateY(20px);
}

.pagetop.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pagetop_link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;

    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    transform: rotate(22.5deg);
}

.pagetop_link::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: #000;
    z-index: -1;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    transition: all 0.3s ease;
}

.pagetop_link i {
    transform: rotate(-22.5deg);
    color: #d4af37;
    font-size: 1rem;
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .pagetop_link:hover {
        background: #000;
        transform: rotate(22.5deg) scale(1.05);
    }

    .pagetop_link:hover::before {
        background: #d4af37;
    }

    .pagetop_link:hover i {
        color: #000;
    }
}

@media (max-width: 768px) {
    .pagetop {
        right: 20px;
        bottom: 20px;
    }

    .pagetop_link {
        width: 45px;
        height: 45px;
    }
}