footer { background: #111; color: #aaa; padding: 0; font-size: 0.9rem; }
.footer-dark { background: #111; padding: 35px 0 0px; }
.footer-top { display: flex; justify-content: space-between; margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.footer-top p { color: #fff; font-size: 0.9rem; line-height: 1.8; opacity: 0.82; }
.footer-logo { color: #fff; font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; }
.footer-right-nav { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.footer-menu { display: flex; gap: 30px; flex-wrap: wrap; justify-content: flex-end; }
.footer-menu a { color: #fff; white-space: nowrap; }
.footer-business-box { position: relative; display: inline-flex; flex-direction: column; align-items: flex-end;margin-top: 10px; }
.footer-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border: 1px solid #d9dbe2;
    background: #fff;
    color: #222;
    font: inherit;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
.footer-menu-toggle::after {
    content: '▼';
    font-size: 11px;
    line-height: 1;
}
.footer-submenu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 156px;
    padding: 6px 0;
    border: 1px solid #d9dbe2;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 30;
}
.footer-business-box:hover .footer-submenu,
.footer-business-box:focus-within .footer-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.footer-submenu a {
    display: block;
    padding: 9px 14px;
    color: #222;
    font-size: 13px;
    font-weight: 600;
}
.footer-submenu a:hover {
    background: #f5f6fa;
}
.footer-notice { background: #fff; color: #222; margin-top: 15px;}
.footer-notice .container { padding-top: 38px; padding-bottom: 30px; }
.footer-notice-text { max-width: 1240px; margin: 0 auto; text-align: center; }
.footer-notice-text p { margin: 0; color: #222; font-size: 15px; font-weight: 700; line-height: 1.95; letter-spacing: -0.02em; word-break: keep-all; }
.footer-notice-text p + p { margin-top: 4px; }
.copyright { margin-top: 26px; padding-top: 16px; border-top: 1px solid #d9d9d9; text-align: center; color: #666; font-size: 0.95rem; font-weight: 500; }

@media (max-width: 1200px) {
.footer-dark { padding: 56px 0 38px; }
.footer-right-nav { align-items: center; }
.footer-menu { gap: 20px; justify-content: center; }
.footer-submenu { left: 50%; right: auto; transform: translate(-50%, 6px); }
.footer-business-box:hover .footer-submenu,
.footer-business-box:focus-within .footer-submenu { transform: translate(-50%, 0); }
.footer-notice .container { padding-top: 32px; padding-bottom: 26px; }
.footer-notice-text p { font-size: 14px; line-height: 1.85; }
}

@media (max-width: 768px) {
.footer-dark { padding: 40px 0 30px; }
.footer-top { flex-direction: column; gap: 30px; text-align: center; }
.footer-right-nav { align-items: center; }
.footer-menu { justify-content: center; }
.footer-top p { font-size: 0.84rem; }
.footer-notice .container { padding-top: 26px; padding-bottom: 22px; }
.footer-notice-text p { font-size: 13px; line-height: 1.75; }
.copyright { margin-top: 20px; padding-top: 14px; font-size: 0.85rem; }
}
