/* フッター */
#footer-wrapper {
    max-width: none!important;
    padding: 0!important;
    text-align: initial!important;
}

.custom-footer {
    width: 100%!important;
    max-width: none!important;
    background: #F2F2F2;
    padding: 30px 0;
    text-align: center;
}

.custom-footer .inner {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

.custom-footer p {
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .custom-footer {
        padding: 30px 0;
    }
    
    .custom-footer .inner {
        padding: 0 20px;
    }
    
    .custom-footer p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .custom-footer {
        padding: 25px 0;
    }
    
    .custom-footer .inner {
        padding: 0 16px;
    }
    
    .custom-footer p {
        font-size: 12px;
    }
}

.footer-empty {
    background: #FDF5F6;
    padding: 50px 0;
}

/* 背景なしで余白のみのプロモセクション */
.footer-plain {
    padding: 50px 0;
}

.footer-promo-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10%;
}

.footer-promo-right {
    flex: 1 1 50%;
}

.footer-promo-subtitle {
    margin: 0 0 10px 20px;
}

.footer-promo-title {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-link:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.footer-social-link img { width: 26px; height: 26px; display: block; }

.footer-banners {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
}

.footer-banner-card {
    display: block;
    text-decoration: none;
    background: transparent;
    border: none;
}

.footer-banner-image { width: 100%; aspect-ratio: 21/9; background: transparent; display: grid; place-items: center; border-radius: 8px; overflow: hidden; }
.footer-banner-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.footer-banner-card--placeholder .footer-banner-image {
    background: #ffffff;
    border: 1px dashed #cccccc;
    border-radius: 8px;
}
.footer-banner-text {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    color: #7D7D7D;
    font-weight: 700;
}

/* 有効バナー（リンク）のホバーアニメーション：プレースホルダーには適用しない */
.footer-banners a.footer-banner-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.footer-banners a.footer-banner-card .footer-banner-image { transition: box-shadow 0.2s ease; }
.footer-banners a.footer-banner-card .footer-banner-image img { transition: transform 0.25s ease; }
.footer-banners a.footer-banner-card:hover { transform: translateY(-2px); }
.footer-banners a.footer-banner-card:hover .footer-banner-image { box-shadow: 0 10px 24px rgba(0,0,0,0.14); }

@media (max-width: 1024px) {
    .footer-promo-title { font-size: 22px; }
    .footer-promo-container { flex-direction: column; gap: 20px; align-items: stretch; }
    .footer-promo-left, .footer-promo-right { width: 100%; }
    .footer-banners { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .footer-info-container { padding: 0 20px; flex-direction: column; gap: 24px; }
    .footer-left {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #eeeeee;
        padding-bottom: 16px;
    }
    .footer-right { gap: 32px; flex-wrap: wrap; margin-top: 16px; }
    .footer-right::before { display: none; }
    .footer-nav-section { flex: 1 1 180px; }
}

@media (max-width: 768px) {
    .footer-empty { padding: 40px 0; }
    .footer-promo-container { flex-direction: column; gap: 20px; }
    .footer-promo-left, .footer-promo-right { flex-basis: auto; width: 100%; }
    .footer-banners { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (min-width: 1024px) {
    .footer-banners { grid-template-columns: repeat(3, 1fr); gap: 25px; }
}

.footer-info {
    background: #ffffff;
    padding: 40px 0;
}

.footer-info-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    align-items: flex-start;
    justify-content: start;
    gap: 10%;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 280px;
}

.footer-logo img {
    height: 40px;
    display: block;
}

.footer-company-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.footer-address {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 住所リンクのスタイル（Googleマップ） */
.footer-address a {
    color: inherit; /* 親の色を継承 */
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-address a:hover,
.footer-address a:focus-visible {
    color: #DE3545;
    text-decoration: underline;
}

.footer-right {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    position: relative;
}

.footer-right::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -10%;
    width: 1px;
    background: #eeeeee;
}

.footer-nav-section { min-width: 140px; }

.footer-nav-title {
    font-size: 12px;
    letter-spacing: 2px;
    color: #7D7D7D;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-nav-list li a:hover {
    color: #DE3545;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-info { padding: 30px 0; }
    .footer-info-container { flex-direction: column; gap: 24px; }
    .footer-right { gap: 40px; }
    .footer-left {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #eeeeee;
        padding-bottom: 16px;
    }
    .footer-right::before { display: none; }
}

@media (max-width: 480px) {
    .footer-logo img { height: 32px; }
    .footer-company-name { font-size: 13px; }
    .footer-address { font-size: 12px; }
    .footer-right { flex-direction: column; gap: 16px; }
}