:root {
    --main-bg-color: #ffffff;
    --content-bg-color: #fff;
    --text-color: #333;
    --border-color: #ddd;
}

body {
    font-family: "Times New Roman", Times, "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 1200px;
    margin: 0 auto;
    padding: 2px 25px;
    background-color: var(--main-bg-color);
}

.ad_container{
    width: 100%;
}
.ad{
    display: flex;
    justify-content: center;
    padding-left: 2%;
    padding-right: 2%;
    line-height: 1;
    border-bottom: 1px solid #e0e0e0;
}
.ad-image{
    flex: 1;
    padding: 0 2%;
}
.ad-image img {
    /* Add specific image styling */
    width: 95%;
}

.site-footer {
    background-color: #f8f9fa;
    padding: 0 0;
    border-top: 1px solid #e9ecef;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 150px;
    margin-bottom: 20px;
}

.footer-section h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto 0;
    padding: 20px 20px 0;
    /* border-top: 1px solid #e9ecef; */
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 12px;
    margin: 0 10px 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-links a {
        margin: 5px 0;
    }
}