.header__margin {
    margin-top: 15.4rem;
}

.header_outer_flex,
.header_main_box,
.header_box_left,
.header_box_right,
.header_outer_link_list_box,
.box_left_layout,
.header_nav_layout_flex {
    display: flex;
}

.color_white{
    position: fixed;
    z-index: 9999;
    width: 100%;
    top: 0;
}

.color_white.active{
    height: 100%;
}

.color_white a{
    pointer-events: all;
}

.header_nav_layout_flex {
    width: 100%;
    justify-content: space-between;
}

.header_sp_background {
    width: 100%;
    background-color: #FFFFFF;
}

/* ラッパー */
.header_wrapper {
    width: 100%;
    max-width: 118rem;
    padding: 3rem 0 3rem;
    margin: 0 auto;
}

.header_wrapper a{
    position: relative;
    z-index:5 inherit;
}

/* レイアウト */

.header_pc_none {
    display: none;
}

.header_sp_none {
    display: block;
}

.header_outer_flex {
    gap: 1.6rem;
}

.header_main_box {
    justify-content: space-between;
    width: 100%;
}

.header_box_left {
    gap: 5.2rem;
}

.header_outer_link_list_box {
    gap: 3.7rem;
}

.header_left_item {
    display: block;
    text-align: center;
}

.link_contact_font,
.link_information_font {
    padding: 1rem 2.8rem 1rem 2.8rem;
    border: #000000 0.1rem solid;
    border-radius: 2.5rem;
    background-color: #FFFFFF;
    display: block;
    transition-duration: 0.2s;
}

.menu_1 {
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: #00000057;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: 0.3s ease;
}

.menu_box {
    position: relative;
    top: 0;
    left: -0.1rem;
    width: 35.5rem;
    margin: 8rem auto 0;
    border-radius: 2.1rem;
    background-color: #FFFFFF;
}

.header_box_right {
    height: fit-content;
    gap: 4rem;
    align-items: center;
}

.relative {
    position: relative;
}

.menu_line_pc {
    width: 2.4rem;
    height: 2.4rem;
    transform: rotate(45deg);
    border-right: #000000 0.1rem solid;
    border-bottom: #000000 0.1rem solid;
    top: -0.3rem;
    transition-duration: 0.2s;
}

.button_font,
.menu_line_pc {
    position: relative;
    z-index: 9998;
}

.page_link {
    position: relative;
    z-index: 9999;
}

.button_layout {
    display: flex !important;
    gap: 1.3rem;
}

.active.button_layout div div {
    transform: rotate(56deg) skew(22deg, 0deg);
    height: 2rem;
    width: 2.2rem;
}

.middle_link_list_box_ {
    padding: 1.5rem 2.5rem;

}

/* JS */


body.active {
    overflow: hidden;
}

.active.menu_line_pc {
    transform: rotate(56deg) skew(20deg, 0deg) !important;
}

.active.menu_1 {
    visibility: visible;
    opacity: 1;
}

.js_nav.active.menu {
    display: block !important;
    width: 100%;
    background-color: #00000033;
}

/* バツ印に変化するスタイル */
.hamburger_button span:nth-child(1),
.hamburger_button span:nth-child(2),
.hamburger_button span:nth-child(3) {
    display: none;
}

.hamburger_button span:nth-child(1),
.hamburger_button span:nth-child(2),
.hamburger_button span:nth-child(3),
.hamburger_button {
    transition: 0.4s;

}

.hamburger_button.active {
    background-color: #FFFFFF;
}

.hamburger_button.active span:nth-child(1) {
    transform: rotate(28deg) translate(0.4rem, 0.6rem);
    background-color: #FE8800;
    width: 2.5rem;
}

.hamburger_button.active span:nth-child(2) {
    opacity: 0;
}

.hamburger_button.active span:nth-child(3) {
    transform: rotate(-28deg) translate(0.4rem, -0.6rem);
    background-color: #FE8800;
    width: 2.5rem;
}

/* 画像 */

.header_logo,
.header_logo_img {
    width: 16.8rem;
    height: 5rem;
    display: block;
}

.header_insta_img {
    width: 5rem;
    height: 4.9rem;
}

.header_information_img {
    width: 5rem;
    height: 5rem;
}


/* テキスト */

.button_font,
.link_contact_font,
.link_information_font,
.header_insta_text,
.header_information_text,
.menu_title,
.link_item a {
    font-family: "Noto Serif JP", sans-serif;
}

.header_insta_text,
.header_information_text {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 1.8;
    color: #000000;
}

.button_font,
.link_contact_font,
.link_information_font,
.menu_title {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.45;
}

.menu_title {
    padding: 1.3rem 2.5rem;
    color: #FFFFFF;
    border-radius: 2.1rem 2.1rem 0 0;
    background-color: #FF8900;
}

.button_font,
.link_contact_font,
.link_information_font,
.link_item a {
    color: #000000;
}

.link_contact_font:hover,
.link_information_font:hover {
    background-color: #000000;
    color: #FFFFFF;
}

.link_item {
    margin-top: 1.6rem;
}

.link_item a {
    position: relative;
    display: block;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
    padding-left: 2.5rem;
    transition-duration: 0.4s;
}

.link_item a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto 0;
    width: 1.5rem;
    height: 0.1rem;
    background-color: #000000;
}

.link_item:first-child {
    margin-top: 0.2rem;
}

.link_item a:hover::before {
    background-color: #FF8900;
}

.link_item a:hover {
    color: #FF8900;
}

.hamburger_line_1,
.hamburger_line_2,
.hamburger_line_3 {
    display: block;
    width: 2.2rem;
    height: 0.1rem;
    background-color: #FFFFFF;
}

.hamburger_line_2 {
    margin: 0.6rem auto;
}

.hamburger_line_1,
.hamburger_line_3 {
    margin: 0 auto;
}

.nav_style {
    width: 100%;
}

@media screen and (max-width:699.98px) {


    .header__margin {
        margin-top:8.4rem;
    }

    /* バツ印に変化するスタイル */
    .hamburger_button span:nth-child(1),
    .hamburger_button span:nth-child(2),
    .hamburger_button span:nth-child(3) {
        display: block;
    }

    .header_nav_layout_flex {
        flex-flow: column;
        height: fit-content;
    }

    .nav_style {
        width: 0;
        height: 100%;
    }

    .header_pc_none {
        display: block;
    }

    .header_sp_none {
        display: none !important;
    }

    .hamburger_button {
        width: 5rem;
        height: 5rem;
        background-color: #FE8800;
        border-radius: 5rem;
        position: relative;
        z-index: 9999;
        margin-right: -0.04rem;
    }

    .hamburger_button.js-hamburger.active {
        display: block;
    }

    .hamburger_button.active {
        color: #000;
    }

    .header_outer_link_list_box {
        gap: 0rem;
        justify-content: space-between;
        width: 100%;
    }

    .header_wrapper {
        max-width: 35.5rem;
        width: 100%;
        padding: 1.5rem 0 1.5rem;
    }

    .header_outer_flex {
        justify-content: space-between;
    }

    .header_sp_background.active {
        background-color: #FF8900;
        transition: 0.1s;
    }

    .header_box_left {
        order: 1;
    }

    .menu_1 {
        order: 2;
        background-color: #00000000;
        transition: 0.1s ease;
    }

    .header_box_right {
        gap: 0;
        order: 3;
    }

    .menu_box,
    .menu_1 {
        position: static;
    }

    .menu_box {
        margin: 4.8rem auto 0;
    }

    .header_main_box {
        position: relative;
        z-index: 9999;
        width: 100%;
        background-color: #FFFFFF;
        visibility: visible;
        opacity: 0;
        position: absolute;
        top: 8.3rem;
        left: 0;
        padding: 2.2rem 2.1rem;
        transition: 0.1s;
        overflow-x: hidden;
    }

    .header_main_box.active {
        display: flex;
        flex-flow: column;
        visibility: visible;
        opacity: 1;
        overflow: hidden;
        height: 100vh;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .menu_title {
        padding: 0;
        color: #000000;
        border-radius: 0;
        background-color: #FFFFFF;
        font-size: 1.8rem;
    }

    .link_item a {
        font-size: 1.6rem;
        font-weight: 500;
        letter-spacing: 0;
        line-height: 1.45;
    }


    .header_logo_img {
        width: 15rem;
        height: 4.5rem;
    }

    .header_logo {
        margin-top: 0.4rem;
    }

    .header_box_left {
        gap: 3.3rem;
    }

    .link_item {
        margin-top: 3rem;
    }

    .link_item a {
        padding-left: 2.7rem;
    }

    .link_item a::before {
        top: -0.1rem;
        left: 0.5rem;
        width: 1.4rem;
    }

    .link_contact_font {
        position: relative;
        left: 0.1rem;
    }

    .header_insta_img {
        position: relative;
        left: -0.2rem;
    }

    .header_information_img {
        position: relative;
        left: 0.2rem;
    }

    .header_left_item {
        width: 15rem;
        padding: 1.8rem 1.4rem 1rem;
        background-color: #F2F2F2;
        box-shadow: 0 0.1rem 0.1rem rgba(0, 0, 0, 0.168);
        border-radius: 2.7rem;
    }

    .nav_style div ul li a {
        pointer-events: none;
        transition: 0.1s;
    }

    .active.nav_style div ul li a {
        pointer-events: auto;
    }

    .middle_link_list_box_ {
        padding: 2.3rem 2.5rem 4.1rem 0;
    }

}