/* フッター */
footer {
    margin-top: auto;
    width: 100%;
    background-color: #f8f8f8;
    padding: 40px 0 20px;
    border-top: 1px solid #eaeaea;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    flex-shrink: 0;
}

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

.footer-main {
    margin-bottom: 40px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column ul {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: #000;
}

.chevron-down {
    display: none;
}

.payment-icons {
    display: flex;
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.payment-icons img {
    width: 48px;
    height: 32px;
    object-fit: contain;
    background-color: white;
    padding: 2px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.payment-icons img:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.footer-button button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.footer-button button:hover {
    background-color: #333;
}

.footer-button button a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.footer-bottom small {
    color: #999;
    font-size: 12px;
}

/* モバイル対応 */
@media ((max-width: 960px)) {
    footer {
        padding: 30px 0 15px;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-column h3 {
        margin-bottom: 15px;
    }

    .payment-icons {
        justify-content: center;
        gap: 10px;
    }

    .payment-icons img {
        width: 44px;
        height: 30px;
    }
}

@media (max-width: 570px) {
    .footer-top {
        flex-direction: row;
        padding: 10px;
        flex-wrap: wrap;
    }
    @media (max-width: 340px) {
        .footer-top {
            justify-content: center;
        }
    }
    .footer-main {
        margin-bottom: 10px;
    }
    .footer-links {
        gap: 0px;
    }
    .footer-content {
        padding: 0;
    }
    .footer-column {
        display: flex;
        flex-direction: column;
        border-top: #eee 2px solid;
        padding: 10px;
        cursor: pointer;
    }   
    .media-570px-style {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    } 
    .footer-column:hover {
        background-color: #ededed;
    }
    .footer-column h3 {
        text-align: left;
        margin-bottom: 0;
    }
    .footer-column ul {
        display: none;
    }
    .chevron-down {
        display: block;
        font-size: 20px;
        color: #000000;
    }
    .chevron-down img {
        vertical-align:top;
    }
    .payment-icons {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: center;
    }
}
