/* ------------------------------------------------
FOOTER
------------------------------------------------ */
.footer {
    background: linear-gradient(180deg, #f7a80c 0%, #FE8704 70%);
    line-height: var(--lineHeight-160);
    /* 予約＋200＋鳥の高さ */
    margin-top: clamp(207px, 17.6vw, 253px);
}

.footer::before {
    content: "";
    background: url("../../img/common/illust_bird.png") no-repeat center / contain;
    position: absolute;
    top: 0;
    right: 20.5%;
    width: clamp(100px,27.2vw,272px);
    aspect-ratio: 272 / 53;
    translate: 0 -99%;
    z-index: 10;
}


/* ロゴを右下に配置 */
.footer__logo {
    display: block;
    position: absolute;
    bottom: clamp(20px, 3.6vw, 56px);
    right: clamp(20px, 3.6vw, 56px);
    --space-min: 0;
    --space-max: 253;
    width: var(--space);
    aspect-ratio: 1;
    border: 4px solid #fff;

    img {
        width: 100%;
        height: 100%
    }
}

.footer__columns {
    display: flex;
    justify-content: flex-start;
    gap: clamp(40px, 7.15vw, 103px);
}


.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-weight: var(--wght-medium);
    color: #fff;
}

.footer-info ul {
    display: flex;
    flex-direction: column;
    gap: 3em;
    margin-bottom: 1.8em;
}

/* ライセンス */
.footer__license {
    font-size: 16px;
    margin-bottom: 1em;
}

.footer__name {
    --font-min: 28;
    --font-max: 32;
    font-size: var(--font-size);
    font-weight: var(--wght-bold);
    margin-bottom: 0.5em;
}

.footer__address {
    display: block;
    font-size: 20px;
    margin-bottom: 1em;
}

.footer__tel,
.footer__fax {
    --font-min: 34;
    --font-max: 48;
    font-size: var(--font-size);
    font-weight: var(--wght-bold);
    font-family: var(--fontFamily-en);
    line-height: 1.2;

    span {
        --font-min: 24;
        --font-max: 28;
        font-size: var(--font-size);
        font-weight: var(--wght-bold);
        font-family: var(--fontFamily-base);
        display: inline-block;
        width: 2.1em;
    }
}

.footer-nav {
    margin-top: 1.8em;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.9em;
    margin-bottom: 1.4em;
}

/* 賃貸/絞り込み検索のメニュー */
.footer-nav li:first-child {
    display: flex;
    align-items: center;
    gap: 25px 3em;
}

/* 絞り込み検索ボタン */
.footer-nav li:first-child a:nth-child(2) {
    font-size: 24px;
    border: 2px solid #fff;
    padding: 0.25em 1.4em;
    width: fit-content;
    border-radius: 999px;
}

.footer-nav__link {
    --font-min: 24;
    --font-max: 36;
    font-size: var(--font-size);
    font-weight: var(--wght-regular);
    color: #fff;

}

@media (hover: hover) and (pointer: fine) {
    .footer-nav__link:hover {
        color: var(--color-base);
        transition: all 0.3s ease;
    }
}

/* 問い合わせボタン */
.footer-btn {
    width: 100%;
}

.footer-btn__link {
    --font-min: 28;
    --font-max: 30;
    font-size: var(--font-size);
    font-weight: var(--wght-bold);
    padding: 0.5em 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border-radius: 999px;
    transition: all 0.3s ease;
}

/* テキスト部分にグラデーション */
.footer-btn__text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    /* フォールバック用 */
    transition: all 0.3s ease;
}

/* HOVER */
@media (hover: hover) and (pointer: fine) {
.footer-nav li:first-child a:nth-child(2):hover {
        background: #fff;
        color: var(--color-main);
        transition: all 0.3s ease;
    }

    .footer-btn__link:hover {
        background: var(--color-base);
        color: #fff;
        transition: all 0.3s ease;
    }

    .footer-btn__link:hover .footer-btn__text {
        background: unset;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: unset;
        background-clip: unset;
        color: unset;
        /* フォールバック用 */
        transition: all 0.3s ease;
    }
}

.footer__policy {
    --font-min: 14;
    --font-max: 24;
    font-size: var(--font-size);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (hover: hover) and (pointer: fine) {
    .footer__policy a:hover {
        color: var(--color-base);
        transition: all 0.3s ease;
    }
}

/* LINE BANNER */
.footer__line {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 1.1em 1.6em;
    border-radius: 1.5em;
    gap: 1em;
    width: clamp(200px, 100%, 441px);
}

.footer__line p {
    font-size: 18px;
    font-weight: var(--wght-bold);
    color: var(--color-main);
}

/* COPYRIGHT */
.footer__copyright {
    --font-min: 10;
    --font-max: 14;
    font-size: var(--font-size);
    color: #fff;
    font-weight: var(--wght-bold);
    margin-top: 3em;

}

.footer-nav__warp {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* フッターのモバイル対応 */
@media (width < 1000px) {

    .footer{
        padding-top: clamp(66px, 18vw, 200px) !important;
        /* ロゴ分確保 */
        padding-bottom: calc(clamp(100px, 33vw, 200px) + 62px) !important;
    }

    /* ロゴを右下に配置 */
    .footer::after {
        bottom: 51px;
        right: 38px;
        width: 125px;
        height: 125px;
    }

    .footer__logo {
        width: clamp(100px, 37vw, 200px);
        bottom: clamp(50px, 13.6vw, 56px);
        right: clamp(42px, 11.6vw, 56px);
    }

    /* 1000px以下で縦並び */
    .footer__columns {
        flex-direction: column-reverse;
        margin-inline: auto;
        gap: 4.3em;
    }

    .footer-info {
        align-items: center;
    }

    .footer-info ul {
        gap: 4.5em;
    }

    /* 岩本不動産本店、福山店 */
    .footer__name {
        margin-bottom: 0.7em;
    }

    /* 住所 */
    .footer__address {
        margin-bottom: 1.5em;
    }

    /* LINE */

    .footer__line {
        padding: 1.3em 1.6em;
    }

    .footer-nav li:first-child {
        flex-direction: column-reverse;
        align-items: center;
    }

    .footer-nav li:first-child a:nth-child(2) {
        box-shadow: 0 4px 6px 0 #542e0930;
    }

    /* 鳥のイラストを配置 */
    .footer::before {
        right: 7%;
    }

    .footer-nav__columns {
        justify-content: center;
        align-items: center;
    }

    /* ナビゲーションを中央揃え */
    .footer-nav ul {
        align-items: center;
        gap: 1.15em;
        margin-bottom: 2em;
    }

    /* ポリシーを中央揃え */
    .footer__policy {
        align-items: center;
        text-align: center;
        margin-top: 2.5em;
        gap: 1.2em;
    }

    /* お問い合わせボタン */
    .footer-btn a {
        text-shadow: 0 1px 2px #00000025;
        box-shadow: 0 4px 6px 0 #542e0930;
        padding: 0.6em 1em;
        width: min(400px, 100%);
        margin-inline: auto;
    }

    /* コピーライト */
    .footer__copyright {
        display: block;
        margin-inline: auto;
        margin-top: 62px;
        padding-bottom: 62px;
    }
}