@charset 'UTF-8';

/*
フッターのスタイル
================================================ */
.site-footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    z-index: 2;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-right: 40px;
}

.footer-left h3 {
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 15px;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-left h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2));
}

.footer-left p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-bg {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--duration-base) ease;
    border: 1px solid transparent;
}

.link-bg:hover {
    background-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(42, 93, 31, 0.1);
}

.link-bg img {
    width: 20px;
    height: 20px;
    opacity: 0.8;
    transition: all var(--duration-base) ease;
}

.link-bg:hover img {
    opacity: 1;
    transform: scale(1.1);
}

.link-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: transform var(--duration-base) ease;
}

.link-text span:first-child {
    font-size: 0.95rem;
    color: var(--color-primary);
    opacity: 0.9;
    transition: opacity var(--duration-base) ease;
}

.link-text span:last-child {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: color var(--duration-base) ease;
}

.link-bg:hover .link-text span:first-child {
    opacity: 1;
}

.link-bg:hover .link-text span:last-child {
    color: #1a4a15;
}

.footer-center {
    padding-top: 10px;
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-nav-section {
    margin-bottom: 20px;
}

.footer-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.footer-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.footer-image:hover img {
    transform: scale(1.05);
}

.footer-center h4 {
    font-size: 1.4rem;
    font-weight: normal;
    color: var(--color-white);
    margin-bottom: 25px;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-center h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2));
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
}

.footer-menu li {
    margin-bottom: 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--duration-base) ease;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    position: relative;
}

.footer-menu a::before {
    content: '';
    width: 6px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.6);
    margin-right: 10px;
    transition: all var(--duration-base) ease;
}

.footer-menu a:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.footer-menu a:hover::before {
    width: 12px;
    background-color: var(--color-white);
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .site-footer {
        padding: 60px 0 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .footer-left {
        padding-right: 0;
    }

    .footer-center {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 40px;
        text-align: center;
        align-items: center;
        gap: 30px;
    }

    .footer-nav-section {
        margin-bottom: 0;
        width: 100%;
    }

    .footer-image {
        max-width: 240px;
    }

    .footer-center h4 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .footer-center h4::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
    }

    .footer-menu {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-menu a {
        justify-content: center;
        padding: 6px 0;
    }

    .footer-menu a::before {
        display: none;
    }
}
