/* ヘッダー ----------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    z-index: 100;
}

.header .hd_top_link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 100px 12px 120px;
    box-sizing: border-box;
}

/* PC版ではハンバーガーメニューを非表示 */
.hamburger,
.modal-menu {
    display: none;
}
.header .hd_top_link {
    height: 80px;
}
.header .hd_top_link .hd_logo {
    max-width: 216px;
}
.header .hd_top_link .hd_logo img {
    width: 100%;
    margin-top: 6px;
}

.header .hd_top_link .pc {
    max-width: 390px;
    width: 100%;
}
.header .hd_top_link .hd_link_btn {
    max-width: 390px;
    width: 100%;
    /* height: 42px; */
    height: 80px;
    display: flex!important;
    justify-content: space-between;
    position: relative;
    align-items: center;
}
.header .hd_top_link .hd_link_btn .hd_login_btn,
.header .hd_top_link .hd_link_btn .hd_logout_btn {
    max-width: 182px;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 1.2px;
    color: #AA8320;
    border: solid 1px #AA8320;
    text-align: center;
}
.header .hd_top_link .hd_link_btn .hd_login_btn:hover,
.header .hd_top_link .hd_link_btn .hd_logout_btn:hover {
    background: #AA8320;
    color: white;
    cursor: pointer;
}
.header .hd_top_link .hd_link_btn .hd_mypage_btn {
    display: block;
}
.header .hd_top_link .hd_link_btn .hd_account_opening_btn,
.header .hd_top_link .hd_link_btn .hd_mypage_btn {
    max-width: 182px;
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 1.2px;
    color: white;
    border: solid 1px #AA8320;
    background: #AA8320;
    text-align: center;
}
.header .hd_top_link .hd_link_btn .hd_account_opening_btn:hover {
    background: white;
    color: #AA8320;
    cursor: pointer;
}

/* マイページドロップダウン */
.mypage_wrapper {
    position: relative;
    max-width: 184px;
    width: 100%;
}
.header .hd_top_link .hd_link_btn .hd_mypage_btn:hover,
.mypage_wrapper:hover .hd_mypage_btn,
.hd_link_btn .mypage_wrapper .active {
    background: white!important;
    color: #AA8320!important;
}
.header .hd_top_link .hd_link_btn .hd_mypage_btn:hover {
    cursor: pointer;
}
.mypage_dropdown_overlay {
    position: fixed;
    left: 0;
    width: 100vw;
    padding-top: 19px;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
    z-index: 99;
}
.mypage_wrapper:hover .mypage_dropdown_overlay,
.mypage_dropdown_overlay:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.mypage_dropdown_content {
    background: #FFFFFF;
    margin: 0 auto;
    border: solid 1px #AA8320;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.mypage_dropdown {
    max-width: 1083px;
    width: 100%;
    padding: 50px;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}
.mypage_content {
    max-width: 270px;
    width: 100%;
    border-right: solid 1px #C2C2C2;
/*     padding: 0 40px; */
    padding: 0 30px;
    box-sizing: border-box;
}
/* .mypage_content:first-child {
    padding-left: 0;
} */
.mypage_content:last-child {
    border-right: none;
}
.mypage_content .dp_title {
/*     font-size: 1.8rem;
    font-weight: 500; */
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.05px;
    line-height: 36px;
    margin-bottom: 13px;
}
.mypage_content .dp_link {
/*     font-size: 1.6rem;
    font-weight: 400; */
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.05px;
    line-height: 36px;
    margin-bottom: 5px;
}
.mypage_content .dp_link:last-child {
    margin-bottom: 0;
}
.mypage_content .dp_link:hover {
    opacity: 0.3;
    cursor: pointer;
}

.header .hd_main_link {
    background-color: #080404;
}
.header .hd_main_link .hd_main_link_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 982.5px;
    width: 100%;
    margin: 0 auto;
    height: 63px;
}
.header .hd_main_link .hd_link {
    font-size: 1.8rem;
    font-weight: 500;
    color: white;
}
.header .hd_main_link .hd_link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* ログインユーザー表示部分 */
.header .hd_top_link .hd_link_btn .account {
    position: absolute;
    right: 100%;
    margin-right: 38px;
    white-space: nowrap;
    font-size: 1.6rem;
    font-weight: 500;
    color: #AA8320;
    height: 42px;
    display: flex;
    align-items: center;
}

@media (max-width: 1100px) {
    .mypage_dropdown {
        padding: 50px 20px;
    }
    .mypage_content {
        max-width: 230px;
        padding: 0 20px;
    }
}

@media (max-width: 1040px) {
    .header .hd_top_link {
        padding-right: 30px;
        padding-left: 30px;
    }
    .header .hd_top_link .pc {
        max-width: 350px;
    }
    .header .hd_top_link .hd_link_btn {
        max-width: 350px;
    }
    .header .hd_top_link .hd_link_btn .hd_login_btn,
    .header .hd_top_link .hd_link_btn .hd_account_opening_btn,
    .header .hd_top_link .hd_link_btn .hd_logout_btn,
    .header .hd_top_link .hd_link_btn .hd_mypage_btn {
        max-width: 162px;
        font-size: 1.4rem;
    }
    .header .hd_main_link .hd_main_link_inner {
        max-width: 90%;
    }
    .header .hd_main_link .hd_link {
        font-size: 1.6rem;
    }
    .header .hd_top_link .hd_logo img {
        width: 70%;
    }
}

@media (max-width: 900px) {
    .mypage_content .dp_title {
        font-size: 1.6rem;
        line-height: 28px;
        margin-bottom: 10px;
    }
    .mypage_content .dp_link {
        font-size: 1.4rem;
        line-height: 28px;
        margin-bottom: 5px;
    }
    .header .hd_main_link .hd_link {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header .hd_top_link {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 45px;
        border-bottom: #AA8320 solid 1px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 9px 14px 8px 14px;
        box-sizing: border-box;
        background: #FFFFFF;
        z-index: 60;
    }
    .header .hd_top_link .hd_logo {
        max-width: 121px;
        display: inline-block;
    }
    .header .hd_top_link .hd_logo img {
        width: 100%;
        margin-top: 0;
    }

    /* ハンバーガーメニュー */
    .hamburger {
        background: #AA8320;
        width: 63px;
        height: 45px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 70;
        display: none;
    }
    .hamburger span {
        display: block;
        width: 24px;
        height: 1px;
        background: #FFFFFF;
        border-radius: 1px;
        transition: all 0.3s;
    }
    .hamburger span:not(:last-child) {
        margin-bottom: 6px;
    }
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .hamburger.sp {
        display: flex!important;
        position: fixed;
        top: 0;
        right: 0;
    }
    .modal-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(112, 112, 112, 0.9);
        z-index: 40;
        align-items: center;
        flex-direction: column;
        animation: fadeIn 0.3s;
    }
    .modal-menu.active {
        display: flex;
    }
    .modal-menu .modal-nav {
        background: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15.2px;
        width: 100%;
        height: 100vh;
        padding: 45px 0 100px;
        box-sizing: border-box;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .modal-menu .modal-nav .hd_link_btn {
        width: 100%;
        /* min-height: 155px; */
        /* background: #F2F2EF; */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 5px;
        padding-top: 20px;
        flex-shrink: 0;
        margin-bottom: 25px;
    }
    .modal-menu .modal-nav .hd_link_btn .hd_login_btn,
    .modal-menu .modal-nav .hd_link_btn .hd_logout_btn {
        max-width: 285px;
        width: 285px;
        height: 45px;
        line-height: 45px;
        font-size: 1.6rem;
        font-weight: bold;
        letter-spacing: 1.2px;
        color: #AA8320;
        border: solid 1px #AA8320;
        background: white;
        text-align: center;
    }
    .modal-menu .modal-nav .hd_link_btn .hd_account_opening_btn,
    .modal-menu .modal-nav .hd_link_btn .hd_mypage_btn {
        max-width: 285px;
        width: 285px;
        height: 45px;
        line-height: 45px;
        font-size: 1.6rem;
        font-weight: bold;
        letter-spacing: 1.2px;
        color: white;
        border: solid 1px #AA8320;
        background: #AA8320;
        text-align: center;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mypage_account {
        font-size: 1.6rem;
        font-weight: bold;
        letter-spacing: 0.12px;
        color: #AA8320;
        margin-bottom: 8px;
    }

    /* SP版マイページボタンのプラス/マイナスアイコン */
    .modal-menu .modal-nav .hd_link_btn .hd_mypage_btn .toggle-icon {
        position: absolute;
        right: 20px;
        font-size: 2.4rem;
        font-weight: 300;
        line-height: 1;
        transition: transform 0.3s;
    }
    .modal-menu .modal-nav .hd_link_btn .mypage_wrapper_sp {
        max-width: 285px;
        width: 285px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* SP版プルダウンメニュー */
    .mypage_dropdown_sp {
        width: 285px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        margin-top: 0;
    }
    .mypage_dropdown_sp.active {
        max-height: 1500px;
        transition: max-height 0.5s ease-in;
    }
    .mypage_dropdown_sp_content {
        background: #F2F2EF;
        padding-bottom: 15px;
    }
    .mypage_dropdown_sp .sp_section {
        max-width: 220px;
        width: 100%;
        margin: 0 auto;
        padding: 25px 0 10px;
        position: relative;
    }
    .mypage_dropdown_sp .sp_section::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 220px;
        height: 1px;
        background: #C2C2C2;
    }
    .mypage_dropdown_sp .sp_section:last-child::after {
        display: none;
    }
    .mypage_dropdown_sp .sp_title {
/*      font-size: 1.6rem;
        font-weight: bold;
        line-height: 16px; */
        margin-bottom: 17px;
		font-size: 1.2rem;
        line-height: 16px;
    }
    .mypage_dropdown_sp .sp_link {
        display: block;
/*      font-size: 1.2rem;
        line-height: 16px; */
        margin-bottom: 10px;
        padding: 6px 0;
        font-size: 1.6rem;
        font-weight: bold;
        line-height: 16px;
     }
    .mypage_dropdown_sp .sp_link:hover {
        opacity: 0.7;
    }
    .modal-menu .modal-nav .modal-link_box {
        /* max-width: 335px; */
        max-width: 287px;
        width: 100%;
        margin: 0 auto;
    }
    .modal-menu .modal-nav .modal-link_box .modal-link {
        font-size: 1.6rem;
        color: #AA8320!important;
        font-weight: 500;
        letter-spacing: 0.8px;
        line-height: 30px;
    }
    .modal-menu .modal-nav .modal-link_box .modal-link_underline {
        width: 100%;
        height: 1px;
        background: #AA8320;
        margin-top: 11px;
    }
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}
/* ヘッダー ここまで --------------------------------------------------------------- */

/* フッター ----------------------------------------------------------------------- */
.footer {
    background: #F2F2EF;
    padding: 12.5px 0 50px;
    color: #080404;
}
.footer .content_width {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.footer .content_width .top_btn {
    display: block;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
}
.footer .content_width .top_btn:hover {
    opacity: 0.3;
}
.footer .content_width .top_btn img {
    max-width: 74px;
    margin: 0 auto;
}
.footer .content_width .top_btn .top_txt {
    font-family: "Oswald", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 15px;
}

.footer .content_width .ft_box {
    display: flex;
    justify-content: space-between;
    margin-top: 23.5px;
}

/* 各種書類 */
.footer .content_width .ft_box .ft_left_box {
    max-width: 250px;
    width: 100%;
    margin-right: 20px;
}
.footer .content_width .ft_box .ft_left_box .ft_documents_title {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 1px;
    opacity: 0.5;
    display: flex!important;
}
.footer .content_width .ft_box .ft_left_box .ft_documents_title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #323232;
    margin-left: 23px; /* タイトルと線の間隔 */
}

.footer .content_width .ft_box .ft_left_box .ft_doc_link_box {
    margin-top: 18px;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
}
.footer .content_width .ft_box .ft_left_box .ft_doc_link_box .ft_doc_link {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    line-height: 30px;
    display: inline-block;
    align-self: flex-start;
}
.footer .content_width .ft_box .ft_left_box .ft_doc_link_box .ft_doc_link:hover {
    opacity: 0.3;
}

/* 運営会社 */
.footer .content_width .ft_box .ft_right_box {
    /* max-width: 780px; */
    max-width: 870px;
    width: 100%;
}
.footer .content_width .ft_box .ft_right_box .ft_company_title {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 1px;
    opacity: 0.5;
    display: flex!important;
}
.footer .content_width .ft_box .ft_right_box .ft_company_title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #323232;
    margin-left: 23px; /* タイトルと線の間隔 */
}
.footer .content_width .ft_box .ft_right_box .ft_company_name {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    line-height: 30px;
    margin-top: 18px;
}
.footer .content_width .ft_box .ft_right_box .ft_company_group {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.8px;
    line-height: 22px;
    margin: 6px 0;
}
.footer .content_width .ft_box .ft_right_box .ft_company_group .ft_holding_link {
    color: #AA8320;
    text-decoration: underline;
    text-underline-offset: 1px;
}
.footer .content_width .ft_box .ft_right_box .ft_company_group .ft_holding_link:hover {
    opacity: 0.3;
}
.footer .content_width .ft_box .ft_right_box .ft_registration_info {
    display: flex;
    justify-content: space-between;
}
/* .footer .content_width .ft_box .ft_right_box .ft_registration_info .ft_financial_section {
    margin-top: 22px;
} */
.footer .content_width .ft_box .ft_right_box .ft_registration_info .ft_financial_section .ft_registration_item,
.footer .content_width .ft_box .ft_right_box .ft_registration_info .ft_lending_section .ft_registration_item {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.8px;
    line-height: 22px;
}
.footer .content_width .ft_box .ft_right_box .ft_registration_info .ft_financial_section .ft_registration_item a,
.footer .content_width .ft_box .ft_right_box .ft_registration_info .ft_lending_section .ft_registration_item a {
    text-decoration: underline;
}
.footer .content_width .ft_box .ft_right_box .ft_registration_info .ft_financial_section .ft_registration_item a:hover,
.footer .content_width .ft_box .ft_right_box .ft_registration_info .ft_lending_section .ft_registration_item a:hover {
    opacity: 0.3;
}

.footer .content_width .ft_bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 59px;
}
.footer .content_width .ft_bottom .ft_policy_links {
    display: flex;
    justify-content: space-between;
    max-width: 893px;
    width: 100%;
}
.footer .content_width .ft_bottom .ft_policy_links .ft_policy_link {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.8px;
    line-height: 28px;
    padding-top: 35px;
    box-sizing: border-box;
}
.footer .content_width .ft_bottom .ft_policy_links .ft_policy_link:hover {
    opacity: 0.3;
}

.footer .content_width .ft_bottom .ft_copyright_box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.footer .content_width .ft_bottom .ft_copyright_box .ft_logo {
    max-width: 152px;
}
.footer .content_width .ft_bottom .ft_copyright_box .ft_copyright {
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #323232;
    letter-spacing: 0.8px;
    margin-top: 10px;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .footer {
        padding: 12.5px 20px 50px;
    }
}

@media (max-width: 1070px) {
    .footer .content_width .ft_box .ft_right_box .ft_registration_info {
        display: block;
    }
    .footer .content_width .ft_box .ft_right_box .ft_registration_info .ft_lending_section {
        margin-top: 15px;
    }

    .footer .content_width .ft_bottom {
        display: block;
        margin-top: 20px;
    }
    .footer .content_width .ft_bottom .ft_policy_links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }
    .footer .content_width .ft_bottom .ft_policy_links .ft_policy_link {
        flex: 0 0 auto;
        padding: 0 10px;
        position: relative;
    }
    .footer .content_width .ft_bottom .ft_policy_links .ft_policy_link::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 16px;
        background: #323232;
    }
    .footer .content_width .ft_bottom .ft_policy_links .ft_policy_link:nth-child(2)::after,
    .footer .content_width .ft_bottom .ft_policy_links .ft_policy_link:last-child::after {
        display: none;
    }

    .footer .content_width .ft_bottom .ft_copyright_box {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 29.5px;
    }
    .footer .content_width .ft_bottom .ft_copyright_box .ft_logo {
        max-width: 121px;
    }
    .footer .content_width .ft_bottom .ft_copyright_box .ft_copyright {
        font-size: 0.7rem;
        line-height: 12px;
        margin-top: 7.5px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 19px 0 30px;
    }
    .footer .content_width {
        max-width: initial;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .footer .content_width .ft_box {
        display: block;
        margin-top: 23.5px;
    }

    /* 各種書類 */
    .footer .content_width .ft_box .ft_left_box {
        max-width: initial;
    }
    .footer .content_width .ft_box .ft_left_box .ft_documents_title.pc {
        display: none !important;
    }
    .footer .content_width .ft_box .ft_left_box .ft_documents_underline {
        width: 100%;
        height: 1px;
        background: #AA8320;
    }
    .footer .content_width .ft_box .ft_left_box .ft_doc_link_box {
        margin: 10px 0;
        padding-left: 18px;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }
    .footer .content_width .ft_box .ft_left_box .ft_doc_link_box .ft_doc_link {
        letter-spacing: 0.2px;
        line-height: 28px;
        color: #AA8320;
    }

    /* 運営会社 */
    .footer .content_width .ft_box .ft_right_box {
        max-width: initial;
        padding: 0 12.5px;
        box-sizing: border-box;
    }
    .footer .content_width .ft_box .ft_right_box .ft_company_title {
        margin-top: 25px;
    }
    /* .footer .content_width .ft_box .ft_right_box .ft_company_title::after {
        display: none;
    } */
    .footer .content_width .ft_box .ft_right_box .ft_company_name {
        font-weight: 500;
        letter-spacing: 0;
        line-height: 25px;
        margin-top: 10px;
    }
    .footer .content_width .ft_box .ft_right_box .ft_company_group {
        letter-spacing: 0;
        line-height: 20px;
        margin: 8px 0;
    }
    .footer .content_width .ft_box .ft_right_box .ft_registration_info {
        display: block;
    }
    .footer .content_width .ft_box .ft_right_box .ft_registration_info .ft_financial_section {
        margin-top: 13px;
    }
    .footer .content_width .ft_box .ft_right_box .ft_registration_info .ft_lending_section {
        margin-top: 15px;
    }
    .footer .content_width .ft_box .ft_right_box .ft_registration_info .ft_financial_section .ft_registration_item,
    .footer .content_width .ft_box .ft_right_box .ft_registration_info .ft_lending_section .ft_registration_item {
        letter-spacing: 0;
        line-height: 20px;
    }


    .footer .content_width .ft_bottom .ft_policy_links {
        max-width: 350px;
    }
    .footer .content_width .ft_bottom .ft_policy_links .ft_policy_link {
        flex: 0 0 auto;
        font-size: 1rem;
        letter-spacing: 0;
        padding: 0 10px;
        position: relative;
    }
}
/* フッター ここまで --------------------------------------------------------------- */