/* ======================================= */
/* 1. リセット & 基本設定 */
/* ======================================= */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, p, ul, ol {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #636363;
    min-height: 100vh;
    margin: 0;
    background-color: #EEEDE6;
}

section {
    padding: 80px 0;
    text-align: left;
}

section, 
[id] {
    scroll-margin-top: 100px; /* ← ヘッダーの高さ（例: 100px）を指定 */
}

.inner {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

.highlight-gold {
    color: #9D8C56;
}

.highlight-navy {
    color: #1D3D5E;
}

.js-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.js-fade.is-active {
    opacity: 1;
    transform: translateY(0);
}

.about-factoring-bg-navy {
    position: absolute;
    top: 0;
    left: 0;
    width: 68%;
    height: 600px;
    background-color: #1D3D5E;
    border-radius: 0 30px 0 0;
    z-index: 1;

    transform: translateX(-100%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.about-factoring-bg-navy.is-active {
    transform: translateX(0);
}

.about-factoring-media {
    position: absolute;
    top: 60px;
    right: 0;
    width: 900px;
    height: auto;
    z-index: 2;
    border-radius: 20px 0 0 20px;
    overflow: hidden;

    transform: translateX(100%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.about-factoring-media.is-active {
    transform: translateX(0);
}

@media screen and (min-width: 769px) {
    .pc-none {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    .sp-none {
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    section {
        padding: 40px 0;
    }
}

/* ======================================= */
/* 共通見出し (Common Section Title) */
/* ======================================= */

.section-heading {
    text-align: center;
    margin-bottom: 80px;
}

.section-title-en {
    font-size: 6.4rem;
    font-weight: bold;
    color: #1D3D5E;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.section-title-ja {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: bold;
    color: #636363;
    margin-top: 8px;
    position: relative;
    padding-bottom: 12px;
}

.section-title-ja::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #9D8C56;
}

.ja-long {
    margin-top: 25px;
}

.more-btn {
    width: 250px;
    height: 60px;
    background-color: #1D3D5E;
    color: #ffffff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #9D8C56;
    transition: width 0.4s ease;
    z-index: -1;
}

.more-btn span {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.more-btn:hover::before {
    width: 100%;
}

.more-btn:hover .arrow {
    transform: translateX(5px);
}

.more-btn.gold {
    background-color: #9D8C56;
}

.more-btn.gold::before {
    background-color: #1D3D5E;
}

@media screen and (max-width: 480px) {
    .section-heading {
        margin-bottom: 60px;
    }
    .section-title-en {
        font-size: 4.2rem;
    }
}

/* ======================================= */
/* 2. ヘッダー (Header) */
/* ======================================= */
.header {
    width: 100%;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding-top: 30px;
    pointer-events: none;
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.header > * {
    pointer-events: auto;
}

.header.is-scrolled {
    padding-top: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header.is-scrolled .header-inner {
    width: 100%;
    box-shadow: none;
}

.header.is-scrolled .header-contact {
    border-radius: 0;
}

.header.is-scrolled .header-nav-item {
    padding: 0 35px;
}

.header-inner {
    width: 1200px;
    height: 70px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.header-logo {
    padding-left: 30px;
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 28px;
    display: block;
}

.header-nav {
    margin-left: auto;
}

.header-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
}

.header-nav-item {
    position: relative;
    padding: 0 24px;
}

.header-nav-item + .header-nav-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: #636363;
}

.header-nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-nav-item .ja {
    font-size: 1.6rem;
    color: #333333;
    font-weight: 500;
    line-height: 1.2;
}

.header-nav-item .en {
    font-size: 1.4rem;
    color: #636363;
    line-height: 1.2;
    margin-top: 2px;
}

.header-nav-item .ja:hover,
.header-nav-item .en:hover {
    color: #1D3D5E;
}

.header-contact {
    width: 180px;
    height: 100%;
    background-color: #1D3D5E;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    transition: opacity 0.3s;
    border-radius: 0 10px 10px 0;
}

.header-contact:hover {
    opacity: 0.9;
}

.header-contact-icon {
    width: 20px;
    height: auto;
}

.header-contact-text {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.header-contact-text .ja {
    font-size: 1.6rem;
    color: #ffffff;
    font-weight: bold;
    line-height: 1.2;
}

.header-contact-text .en {
    font-size: 1.4rem;
    color: #E0CFB5;
    line-height: 1.2;
}

.header-nav-item.has-sub {
    position: relative;
}

.header-nav-item .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 160px;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1010;
}

.header-nav-item.has-sub:hover .sub-menu,
.header-nav-item.has-sub:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.header-nav-item .sub-menu li {
    width: 100%;
}

.header-nav-item .sub-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 1.4rem;
    color: #333333;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-nav-item .sub-menu a:hover {
    background-color: #EEEDE6;
    color: #1D3D5E;
    font-weight: bold;
}

.header-hamburger,
.header-nav-contact {
    display: none;
}

@media screen and (max-width: 1024px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }

    .header {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding-top: 0 !important;
        box-sizing: border-box !important;
        pointer-events: auto !important;
    }

    .header-inner {
        width: 100% !important;
        max-width: 100% !important;
        height: 60px !important;
        padding: 0 20px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-radius: 0 !important;
        pointer-events: auto !important;
    }

    .header-logo {
        padding-left: 0px !important;
    }

    .header-contact {
        display: none !important;
    }

    .header-hamburger {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 28px !important;
        height: 20px !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        z-index: 2000 !important;
        pointer-events: auto !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }

    .header-hamburger span {
        display: block !important;
        width: 100% !important;
        height: 2px !important;
        background-color: #1D3D5E !important;
        transition: transform 0.3s, opacity 0.3s, background-color 0.3s !important;
    }

    .header-hamburger.is-active span {
        background-color: #ffffff !important;
    }

    .header-hamburger.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg) !important;
    }

    .header-hamburger.is-active span:nth-child(2) {
        opacity: 0 !important;
    }

    .header-hamburger.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg) !important;
    }

    .header-nav {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: #1D3D5E !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 70px 24px 30px !important;
        z-index: 1003 !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.4s ease, visibility 0.4s ease !important;
        pointer-events: auto !important;
    }

    .header-nav.is-active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .header-nav-list {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        box-sizing: border-box !important;
    }

    .header-nav-item {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-sizing: border-box !important;
    }

    .header-nav-item::before,
    .header-nav-item::after,
    .header-nav-item + .header-nav-item::before {
        display: none !important;
        content: none !important;
    }

    .header-nav-item a {
        display: block !important;
        width: 100% !important;
        padding: 12px 0 !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }

    .header-nav-item .ja,
    .header-nav-item .en {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        writing-mode: horizontal-tb !important;
        pointer-events: none !important;
    }

    .header-nav-item .ja {
        color: #ffffff !important;
        font-size: 1.5rem !important;
        font-weight: bold !important;
        letter-spacing: 0.05em !important;
    }

    .header-nav-item .en {
        color: #9D8C56 !important;
        font-size: 1.0rem !important;
        margin-top: 2px !important;
    }

    .header-nav-item .sub-menu {
        display: none !important;
        position: static !important;
        background-color: rgba(255, 255, 255, 0.05) !important;
        padding: 0 0 10px 20px !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    .header-nav-item.is-open .sub-menu {
        display: block !important;
    }

    .header-nav-item .sub-menu li a {
        display: block !important;
        padding: 10px 0 !important;
        font-size: 1.3rem !important;
        color: #EEEDE6 !important;
        text-align: left !important;
    }

    .header-nav-contact {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        height: 48px !important;
        background-color: #9D8C56 !important;
        border-radius: 6px !important;
        margin-top: 16px !important;
        text-decoration: none !important;
        pointer-events: auto !important;
    }

    .header-nav-contact .header-contact-icon {
        width: 18px !important;
        height: auto !important;
    }

    .header-nav-contact .header-contact-text {
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        gap: 8px !important;
    }

    .header-nav-contact .ja {
        color: #ffffff !important;
        font-size: 1.4rem !important;
        font-weight: bold !important;
    }

    .header-nav-contact .en {
        color: #EEEDE6 !important;
        font-size: 1.0rem !important;
    }
}

/* ==========================================
   事例
   ========================================== */
.cases-list {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.case-card {
    width: calc((100% - 60px) / 3);
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.case-card-thumb {
    position: relative;
    width: 100%;
    height: 200px;
}

.case-card-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(29, 61, 94, 0.5);
    z-index: 1;
}

.case-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-badge {
    position: absolute;
    top: 15px;
    left: -5px;
    min-width: 120px;
    text-align: center;
    background-color: #9D8C56;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: bold;
    padding: 5px 20px;
    z-index: 2;
}

.case-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.case-card-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1D3D5E;
    margin-bottom: 15px;
    min-height: 80px; 
}

.case-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.case-info-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.case-label {
    background-color: #1D3D5E;
    color: #ffffff;
    font-size: 1.2rem;
    padding: 2px 15px;
    border-radius: 35px;
    min-width: 70px;
    text-align: center;
}

.case-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333333;
}

.case-link {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: bold;
    color: #636363;
    position: relative;
    padding-bottom: 5px;
    margin-top: auto;
    width: fit-content;
    transition: color 0.3s;
}

.case-link::before {
    content: "→";
    margin-right: 6px;
}

.case-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 1.5px;
    background-color: #636363;
    transition: background-color 0.3s;
}

.case-link:hover {
    color: #1D3D5E;
}

.case-link:hover::after {
    background-color: #1D3D5E;
}

.cases-btn-wrapper {
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 1024px) {
    .cases-list {
        gap: 30px;
    }
}

@media screen and (max-width: 820px) {
    .cases {
        padding: 100px 0 60px;
    }

    .cases-list {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
    }

    .case-card {
        width: 80%;
        margin: auto;
    }

    .case-badge {
        min-width: 180px;
        font-size: 1.8rem;
    }

    .case-card-thumb {
        height: 300px;
    }

    .case-card-body {
        padding: 20px 40px;
    }

    .case-card-title {
        min-height: auto;
        margin-bottom: 40px;
    }

    .case-link {
        font-size: 1.6rem;
        margin-top: 30px;
    }
}

@media screen and (max-width: 480px) {
    .cases {
        padding: 80px 0 50px;
    }

    .cases-bg-circle {
        top: -20px;
        left: -350px;
    }

    .case-card {
        width: 100%;
    }

    .case-card-thumb {
        height: 180px;
    }

    .case-badge {
        font-size: 1.6rem;
        min-width: 150px;
        padding: 4px 12px;
    }

    .case-card-body {
        padding: 16px;
    }

    .case-card-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .case-info {
        gap: 10px;
        margin-bottom: 16px;
    }

    .case-label {
        font-size: 1.4rem;
        padding: 2px 10px;
        min-width: 65px;
    }

    .case-value {
        font-size: 1.4rem;
    }

    .case-link {
        font-size: 1.6rem;
    }

    .case-link::after {
        width: 120%;
    }
}
/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    position: relative;
    background: linear-gradient(rgba(29, 61, 94, 0.6), rgba(29, 61, 94, 0.6)),
                url('../img/cta-bg-building.jpg') center center / cover no-repeat;
    color: #fff;
    padding: 140px 0;
    margin-top: 80px;
}

.cta-arch-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.cta-arch-top svg {
    width: 100%;
    height: 100%;
}

.cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-section .section-title-en {
    color: #fff;
}

.cta-section .section-title-ja {
    color: #fff;
}

.cta-card-wrapper {
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    overflow: hidden;
    padding: 30px 20px;
}

.cta-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 30px;
    position: relative;
    color: #333;
}

.cta-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #e0e0e0;
}

.cta-card-icon {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.cta-card-icon img {
    max-height: 100%;
    width: auto;
}

.cta-card-title {
    font-size: 2.4rem;
    font-weight: bold;;
    margin-bottom: 15px;
}

.cta-card-desc {
    font-size: 1.6rem;
    color: #636363;
    margin-bottom: 25px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    min-height: 70px;
    padding: 10px 20px;
    border-radius: 35px;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    margin-top: auto;
}

.cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.cta-btn-mail {
    background-color: #D95D39;
}

.cta-btn-line {
    background-color: #06C755;
}

.cta-btn-line .line-icon {
    margin-right: 5px;
    width: 40px;
    height: 40px;
}

.cta-tel-num {
    font-size: 3.2rem;
    font-weight: bold;
    color: #1D3D5E;
    text-decoration: none;
    margin-bottom: 30px;
}

.cta-tel-time {
    font-size: 1.6rem;
    color: #636363;
}

@media screen and (max-width: 1024px) {
    .cta-card-wrapper {
        max-width: 1000px;
        margin: auto;
    }
}

@media screen and (max-width: 820px) {
    .cta-section {
        padding: 100px 20px 60px;
        margin-top: 60px;
    }

    .cta-arch-top {
        height: 80px;
    }

    .cta-card-wrapper {
        flex-direction: column;
        padding: 20px 0;
    }

    .cta-card {
        padding: 30px 20px;
    }

    /* 横線を縦線（ボーダー）に変更 */
    .cta-card:not(:last-child)::after {
        right: 10%;
        top: auto;
        bottom: 0;
        width: 80%;
        height: 1px;
    }

    .cta-card-icon {
        height: 90px;
        margin-bottom: 15px;
    }

    .cta-card-title {
        font-size: 2.2rem;
    }

    .cta-card-desc {
        font-size: 1.5rem;
    }

    .cta-btn {
        max-width: 80%;
        min-height: 60px;
        font-size: 1.6rem;
    }

    .cta-tel-num {
        font-size: 3.6rem;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 480px) {
    .cta-section {
        padding: 80px 15px 40px;
        margin-top: 40px;
    }

    .cta-arch-top {
        height: 50px;
    }

    .cta-card {
        padding: 24px 15px;
    }

    .cta-card-icon {
        height: 70px;
        margin-bottom: 10px;
    }

    .cta-card-title {
        font-size: 1.9rem;
        margin-bottom: 10px;
    }

    .cta-card-desc {
        font-size: 1.35rem;
        margin-bottom: 20px;
    }

    /* 改行（<br>）の自然な挙動のためスマホでは解除 */
    .cta-card-desc br {
        display: inline;
    }

    .cta-btn {
        min-height: 54px;
        font-size: 1.5rem;
        border-radius: 27px;
    }

    .cta-btn-line .line-icon {
        width: 30px;
        height: 30px;
    }

    .cta-tel-num {
        font-size: 2.8rem;
        margin-bottom: 10px;
    }

    .cta-tel-time {
        font-size: 1.35rem;
    }
}
/* ==========================================
   Footer Section
   ========================================== */
.footer {
    background-color: #333333;
    color: #ffffff;
    padding: 60px 20px 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 80px;
}

.footer-info {
    max-width: 320px;
}

.footer-logo {
    width: 200px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-address {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.footer-contact {
    font-size: 1.6rem;
    color: #ffffff;
}

.footer-contact a {
    color: #ffffff;
}

.footer-nav {
    display: flex;
    gap: 50px;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
}

.footer-nav-title {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-sub-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-sub-nav li {
    margin-bottom: 10px;
}

.footer-sub-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.4rem;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-sub-nav a:hover,
.footer-nav-title:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #fff;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.copyright {
    margin: 0;
}

.footer-privacy {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.footer-pagetop {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

@media screen and (max-width: 1024px) {
    .footer {
        padding: 50px 20px 30px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
        padding-bottom: 50px;
    }

    .footer-info {
        max-width: 100%;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 30px 40px;
        width: 100%;
    }

    .footer-nav-col {
        min-width: 140px;
    }

    .footer-nav-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 40px 16px 20px;
    }

    .footer-top {
        gap: 32px;
        padding-bottom: 40px;
    }

    .footer-logo {
        width: 160px;
        margin-bottom: 16px;
    }

    .footer-address,
    .footer-contact {
        font-size: 1.4rem;
        line-height: 1.6;
    }

    .footer-address {
        margin-bottom: 12px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }

    .footer-nav-col {
        width: 100%;
    }

    .footer-nav-title {
        margin-bottom: 8px;
    }

    .footer-sub-nav li {
        margin-bottom: 8px;
    }

    .footer-sub-nav a {
        font-size: 1.3rem;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 20px;
        padding-top: 24px;
    }

    .footer-bottom-left {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }

    .footer-bottom-right {
        align-self: flex-end;
    }

    .copyright {
        font-size: 1.1rem;
        opacity: 0.8;
    }

    .footer-privacy,
    .footer-pagetop {
        font-size: 1.2rem;
    }
}