/*---------------------------------
ヘッダー
---------------------------------*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    opacity: 1;
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
    will-change: transform, opacity;
    background: var(--main-color);
    height: 60px;
    padding: 8px 20px;
}


.header_inner {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}


.header_logo-box {
    width: 92px;
}

.header_logo {
    display: block;
    max-width: 92px;
    height: 44px;
}

.header_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mobile_menu_btn {
    width: 32px;
    height: 32px;
}

/* メニュー */

.pop-up_menu.menu-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .45s ease, visibility 0s;
}

.pop-up_menu {
    position: fixed;
    background: #362216;
    width: 100%;
    height: 100svh;
    top: 0;
    right: 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .45s ease, visibility 0s linear .45s;
    overflow-y: auto;
    padding: 14px 18px;
}

.pop-up_menu__wrapper {
    width: 100%;
}

.sp-nav__list {
    display: block;
    margin: 20px 2px 55px;
}

.sp-nav__logo {
    width: 92px;
    margin: 0 auto 40px;
}

.sp-nav__logo a {
    display: block;
}

.sp-nav__logo img {
    height: auto;
    display: block;
}

/* 行の共通デザイン */

.sp-nav__item:not(:last-child) {
    margin-bottom: 40px;
}

.sp-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 8px;
    border-bottom: 1px solid #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    line-height: calc(28 / 16);
    color: #fff;
}

.sp-nav_arrow_icon {
    display: block;
    background-image: url("./images/common/arrow_icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    max-width: 22px;
    width: 100%;
    height: 22px;
    margin-right: 20px;
}

.header_contact_btn {
    max-width: 100%;
    width: 270px;
    height: 60px;
    background: var(--sub-color);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 0 auto;
}

.header_contact_btn_text {
    font-size: 16px;
    font-weight: bold;
    color: var(--main-color);
    line-height: calc(27 / 16);
}

.header_contact_btn_icon {
    max-width: 100%;
    width: 23px;
    height: 23px;
    background: url("./images/common/header_contact_icon.png") center / cover no-repeat;
}

.close-button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: fit-content;
    margin-left: auto;
}

.close-button img {
    width: 100%;
    max-width: 32px;
}

.close_button_text {
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    line-height: calc(12 / 12);
}

.header_nav-layout {
    display: none;
}

@media (min-width:768px) {

    .mobile_menu_btn {
        display: none;
    }

    header {
        height: 80px;
        padding: 10px 20px;
    }

    .header_inner {
        max-width: 1214px;
        margin: 0 auto;
        gap: clamp(20px, calc(40px + 50vw - 570px), 40px);
    }

    .header_logo-box {
        width: 110px;
    }

    .header_logo {
        display: block;
        max-width: 110px;
        height: 52px;
    }

    .header_nav-layout {
        display: flex;
        align-items: center;
        gap: clamp(30px, calc(60px + 5vw - 60px), 60px);
    }

    .header_nav-list {
        display: flex;
        align-items: center;
        gap: clamp(30px, calc(40px + 50vw - 570px), 40px);
        margin-left: auto;
    }

    .nav-item_link {
        font-size: clamp(14px, 1.33vw, 16px);
        font-weight: bold;
        line-height: calc(28 / 16);
        color: var(--point-color);
        position: relative;
        display: inline-block;
    }

    /* 上に出すバナナ */
    .nav-item_link::after {
        content: "";
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%) translateY(4px);
        width: 18px;
        height: 18px;
        background: url("./images/common/nav-item_link_on_icon.png") center / contain no-repeat;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
    }

    /* ホバー */

    .nav-item_link:hover {
        color: var(--sub-color);
    }

    .nav-item_link:hover::after {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    .header_contact_btn {
        width: clamp(170px, calc(230px + 50vw - 600px), 230px);
    }

    .header_contact_btn:hover {
        background: #fff;
    }
}

@media (max-width: 1000px) {
    .header_contact_btn {
        width: 140px
    }

    .header_contact_btn_icon {
        display: none
    }
}

@media (max-width: 920px) {
    .header_contact_btn {
        width: 60px;
        border-radius: 50%;
    }

    .header_contact_btn_icon {
        display: block
    }

    .header_contact_btn_text {
        display: none;
    }
}


/*---------------------------------
フッター
---------------------------------*/

footer {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
    background: var(--main-color);
    padding: 0 20px;
}

.footer_inner {
    padding: 30px 30px 15px;
}

.footer_company_info {
    margin-bottom: 35px;
}

.footer_logo {
    display: block;
    max-width: 100px;
    height: 100px;
    margin: 0 auto;
}

.footer_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer_address_text {
    font-size: 14px;
    line-height: calc(20 / 14);
    text-align: center;
}

.footer_nav {
    margin-bottom: 55px;
}

.footer_nav-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 20px;
}

.footer_nav-item a {
    font-size: 14px;
    font-weight: bold;
    line-height: calc(26 / 14);
    color: #fff;
}

.copyright_text {
    font-size: 13px;
    line-height: calc(13 / 13);
    text-align: center;
}

@media (min-width:768px) {

    .footer_inner {
        max-width: 776px;
        margin: 0 auto;
        padding: 60px 0 10px;
    }

    .footer_company_info {
        margin-bottom: 50px;
    }

    .footer_nav-list {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .footer_nav-item a {
        font-size: 16px;
        line-height: calc(28 / 16);
    }

}


/* フロートバナー */

.float_bnr_cont {
    position: fixed;
    bottom: 40px;
    right: 8px;
    z-index: 3;
    display: none;
}

.float_bnr_item {
    max-width: 100%;
    width: 42px;
    height: 42px;
}

.float_bnr_item:not(:last-child) {
    margin-bottom: 10px;
}

@media (min-width:768px) {

    .float_bnr_cont {
        right: 30px;
    }

    .float_bnr_item {
        width: 50px;
        height: 50px;
    }

}