.header {
    width: 100%;
    max-width: 1504px;
    position: fixed;
    z-index: 9999;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
}
.header_inner.black {
    transform: translateY(-150px);
}
.header_inner.black.active {
    transform: translateY(0);
}
.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding:  0 40px;
    transition: .3s;
}
.header_text {
    color: #fff;
    font-size: 12px;
    line-height: calc(17/12);
    letter-spacing: 0.03em;
    margin-bottom: 15px;
    transition: .3s;
}
.header_logo path {
    transition: .3s;
}
.header_logo {
    width: 268px;
}
.header_logo_sp {
    display: none;
    width: 98px;
}
.header_inner.black .header_text {
    color: #1C1C1C;
}
.header_inner.black .header_logo path {
    fill: #1C1C1C;
}
.header_right {
    display: flex;
    align-items: center;
    column-gap: 25px;
    white-space: nowrap;
}
.header_list {
    padding: 0 50px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    column-gap: 40px;
    position: relative;
    z-index: 3;
}
.header_list:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*    background-color: rgb(255 255 255 / .65);*/
    border-radius: 11px;
    box-shadow: 0 4px 4px rgb(0 0 0 / .15);
backdrop-filter: blur(8px);
    background-color: #eff1f480;
}
.header_list_item {
   font-size: 17px;
}
.header_list_item:hover {
    cursor: pointer;
}
.header_list_item_link {
    font-weight: bold;
    line-height: 2;
    letter-spacing: 0.02em;
    color: #1C1C1C;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 12px;
    padding: 20px 0;
}
.header_list_item_link_plus {
    width: 20px;
    display: inline-block;
}
.header_service_menu {
    padding-top: 10px;
    position: absolute;
    z-index: 5000;
    top: 72px;
    left: 0;
    width: 870px;
    pointer-events: none;
    opacity: 0;
    transition: .3s;
}
.header_list_item.active .header_service_menu {
    opacity: 1;
    pointer-events: auto;
}
.header_service_menu_overlay {
    position: fixed;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(28 28 28 / .4);
    width: 100vw;
    height: 130vh;
    z-index: -1;
    pointer-events: none;
}
.header_service_menu_inner {
    background-color: #fff;
    padding:30px;
    border-radius: 20px;
}
.header .service_box {
    background-color: inherit;
    padding: 0;
    white-space: normal;
}
.header .service_search_title {
    border-bottom: 2px solid #ccc;
    padding-bottom: 8px;
    margin-bottom: 20px;
}
.header .service_box_item_pc .service_box_item_image {
    width: 150px;
}
.header .service_box_item_pc_flex {
    align-items: flex-start;
}
.header .service_box_item_link_ranking {
    padding-left: 13px;
    padding-right: 13px;
}
.header .service_box_item_link_ranking_icon {
    width: 13px;
}
.header .service_box_item_link_ranking_text {
    font-size: 12px;
}
.header .service_box_item_pc .service_box_item_title {
    font-size: 32px;
}
.header .service_box_item_pc .service_box_item_title_small {
    font-size: 20px;
}
.header .service_box_item_pc_right_flex {
    width: 100%;
}
.header .service_box_item_btn {
    max-width: 160px;
    height: 48px;
    padding: 16px;
}
.header .service_box_item_btn_text {
    font-size: 13px;
}
.header .btn_arrow_box {
    width: 20px;
    height: 20px;
}
.header .service_box_item_pc .service_box_item_detail {
        padding-top: 8px;
    margin-top: 15px;
}
.header .service_box_item_pc .service_box_item_detail_text {
    font-size: 14px;
}
.header .service_box_item .service_box_item_detail_text {
    font-size: 14px;
}
.header .service_box_item_title {
    color: var(--maincolor);
}
.header .service_box_item_detail {
    border: 1px solid #D9D9D9;
    border-radius: 11px;
    padding: 8px 28px;
}
.header .service_box_item_top {
    column-gap: 15px;
    align-items: center;
}
.header .service_box_item_image {
    width: 65px;
}
.header .service_box_item_pc_flex {
    column-gap: 25px;
}
.header .service_box {
    grid-gap: 25px 40px;
}
.header .service_box_item_top_right {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header .service_box_item_title {
    font-size: 24px;
    margin-bottom: 0;
}
.header .service_box_item_title_small {
    font-size: 16px;
}
.header_btn_box {
    display: flex;
    column-gap: 15px;
}
.header_btn {
    border-radius: 999px;
    background: linear-gradient(70deg, #F7B300 0%, #EC6C00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    box-shadow: 0 4px 4px rgb(0 0 0 / .15);
}
.header_btn_text {
    font-weight: bold;
    color: #fff;
    line-height: 2;
    letter-spacing: 0.05em;
}
.header_btn_mail {
    width: 17px;
    margin-right: 7px;
}
.header.open .header_inner:before {
    display: none;
}
.header.open .header_logo_sp path {
    fill: #fff;
}
.header.open .header_btn_box {
    display: none;
}
@media (max-width: 1450px) {
    .header_btn:nth-of-type(2) {
        display: none;
    }
}
@media (max-width: 1250px) {
    .header {
        top: 20px;
        padding: 0 20px;
    }
    .header_inner {
        position: relative;
        z-index: 3;
        padding: 10px 15px;
        align-items: center;
        transform: translateY(0) !important;
    }
    .header_inner:before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
/*        background-color: rgb(255 255 255 / .65);*/
        border-radius: 11px;
        box-shadow: 0 4px 4px rgb(0 0 0 / .15);
/*        -webkit-filter: blur(1px);*/
/*        filter: blur(1px);*/
	backdrop-filter: blur(8px);
    	background-color: #eff1f480;
    }
    .header_text {
        display: none;
    }
    .header_logo {
        display: none;
    }
    .header_logo_sp {
        display: block;
    }
    .header_right {
        column-gap: 15px;
    }
    .header_list {
        display: none;
    }
    .header_btn {
        padding: 7px 22px;
    }
    .header_btn_text {
        font-size: 13px;
    }
}
@media (max-width: 767px) {
    .main_image_contact_box {
        display: none;
    }
   }
@media (max-width: 350px) {
    .header_btn_box {
        display: none;
    }
}