header {
    position: fixed;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 100;
    background-color: #fff;
    transition: transform 0.3s ease;
}

header.is-hidden {
    transform: translateY(-100%);
}

.header_box {
    width: auto;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
}

.header_logo {
    display: block;
}

.header_logo:hover {
    opacity: 0.7;
}

.header_logo h1 {
    display: flex;
    width: 200px;
    height: auto;
}

.header_right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header_btn_area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header_btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.header_btn:hover {
    opacity: 0.8;
}

.header_btn--green {
    background-color: #5aad6e;
}

.header_btn--blue {
    background-color: #3a85c7;
}

.header_tel_area {
    display: flex;
    align-items: center;
}

.header_tel_img {
    width: 180px;
    height: auto;
    display: block;
}

#hamburger {
    position: relative;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 10;
}

.inner_line {
    display: block;
    position: absolute;
    left: 50%;
    width: 26px;
    height: 2px;
    background-color: #111;
    transition: 0.3s;
    border-radius: 4px;
    transform: translate(-50%, 0%);
}

.line1 {
    top: 17px;
}

.line2 {
    top: 28px;
}

.line3 {
    top: 39px;
}

.in {
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
}

.line_open_1 {

    transform: rotate(-225deg);
    top: 26px;
    left: 0%;
}

.line_open_2 {
    opacity: 0;
}

.line_open_3 {

    transform: rotate(225deg);
    top: 26px;
    left: 0%;
}

#sp_glonav {
    position: fixed;
    top: 0;
    left: 100%;
    background: rgba(255, 255, 255, 0.9);
    transition: .3s;
    z-index: 5;
    display: block;
    overflow-y: scroll;
    padding-top: 30px;
}

.sp_glonav_box {
    width: 100vw;
    height: calc(100vh - 80px);
    margin-top: 80px;
}

.menu_img {
    width: 130px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.gnav_list {
    margin-top: 20px;
}

.gnav_item a {
    display: block;
    width: 200px;
    height: auto;
    font-size: 20px;
    font-weight: bold;
    color: #000;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid #000;
}

.gnav_item:last-child a {
    border-bottom: 1px solid #000;
}

.gnav_sm_link_box {
    text-align: center;
    margin-top: 30px;
}

.gnav_sm_link {
    color: #000;
    margin-right: 20px;
}

.gnav_sm_link:last-child {
    margin-right: 0px;
}

@media only screen and (max-width: 768px) {
    .header_box {
        padding: 0 15px;
    }

    #hamburger {
        width: 30px;
    }

    .header_btn_area,
    .header_tel_area {
        display: none;
    }
}

@media only screen and (max-width: 425px) {
    .menu_img {
        width: 100px;
    }

    .gnav_item a {
        width: 150px;
        font-size: 16px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .gnav_sm_link_box {
        margin-top: 20px;
    }

    .gnav_sm_link {
        font-size: 12px;
    }
}

.sp_bottom_nav {
    display: none;

}

@media only screen and (max-width: 768px) {
    .sp_bottom_nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 64px;
        z-index: 200;
        box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.15);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .sp_bottom_nav__item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #fff;
        text-decoration: none;
        transition: opacity 0.15s;
    }

    .sp_bottom_nav__item:active {
        opacity: 0.75;
    }


    .sp_bottom_nav__item--tel {
        background-color: #1ea8e6;
    }


    .sp_bottom_nav__item--mail {
        background-color: #e84c1e;
    }


    .sp_bottom_nav__item--doc {
        background-color: #27a844;
    }

    .sp_bottom_nav__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .sp_bottom_nav__svg {
        width: 28px;
        height: 28px;
        display: block;
    }

    .sp_bottom_nav__label {
        font-size: 12px;
        font-weight: bold;
        letter-spacing: 0.04em;
        line-height: 1;
    }

    .sp_bottom_nav.is-hidden {
        opacity: 0;
        transform: translateY(20px);
        pointer-events: none;
    }

    .sp_bottom_nav.is-visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }


    body {
        padding-bottom: 64px;
    }
}
