.pc {
    display: block;
}

.sp {
    display: none;
}

@media (max-width: 767px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block;
    }
}

/* ヘッダー */
header {
    width: 100%;
    padding: 15px 0;
}

.header_wrapper {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_wrapper h1 {
    width: auto;
    display: flex;
    align-items: center;
    position: relative;
}

.header_wrapper h1 a {
    display: block;
    color: #333;
    text-decoration: none;
}

.header_wrapper h1 img {
    width: 260px;
    vertical-align: middle;
}

.header_right,
.sp-btn {
    display: none;
}

.pc-btn {
    display: flex;
    align-items: flex-end;
    padding: 0 5px;
    position: relative;
}

.pc-btn div {
    width: 50%;
    margin-left: 5px;
    position: relative;
}

.pc-btn div img {
    width: 300px;
    vertical-align: middle;
}

@media (max-width: 767px) {
    header {
        position: fixed;
        top: 0;
        z-index: 100;
        padding: 0;
        background-color: #fff;
    }

    .header_wrapper {
        padding: 5px 0;
    }

    .header_wrapper h1 {
        padding-left: 5px;
        position: relative;
        top: 0;
    }

    .header_wrapper h1 img {
        width: 150px;
        vertical-align: middle;
    }
}

/* ナビゲーション */
.gnav {
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
}

.gnav_wrapper {
    max-width: 1200px;
    margin: auto;
    display: flex;
}

.gnav_wrapper li {
    border-left: #cccccc 1px solid;
    text-align: center;
    width: calc(100%/4);
    transition: all 0.3s ease;
}

.gnav_wrapper li:last-of-type {
    border-right: #cccccc 1px solid;
}

.gnav_wrapper li:hover {
    background-color: #faf9e4;
}

.gnav_wrapper li a {
    display: block;
    padding: 1.3em 0;
    color: #27272a;
    text-decoration: none;
}

@media (max-width: 767px) {
    .header_right {
        display: flex;
    }

    .pc-btn {
        display: none;
    }

    .sp-btn {
        display: block;
    }

    .sp-btn div {
        text-align: center;
        margin: 15px auto;
    }

    .sp-btn div img {
        width: 100%;
        max-width: 300px;
    }

    .gnav_wrapper {
        position: fixed;
        display: table;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #ffffff;
        visibility: hidden;
        opacity: 0;
        padding-top: 20%;
    }

    .gnav_wrapper li {
        max-width: 400px;
        margin: 0 auto;
        text-align: center;
        width: 100%;
        border-bottom: #888 1px solid;
        border-left: none;
    }

    .gnav_wrapper li:last-child {
        border-right: none;
    }
    
    .menu-btn {
        color: #fff;
        cursor: pointer;
        z-index: 100;
        background-color: #333;
        max-width: 56px;
        width: 56px;
    }

    .tel-btn {
        color: #fff;
        cursor: pointer;
        z-index: 100;
        background-color: #1ca480;
        max-width: 56px;
        width: 56px;
    }

    .menu-btn i,
    .tel-btn i {
        display: block;
        font-size: 20px;
        text-align: center;
        padding-top: 10px;
    }

    .menu-btn span,
    .tel-btn span {
        display: block;
        padding: 0 0 10px 0;
        font-size: 10px;
        text-align: center;
    }

    .open {
        transition: all .5s;
        visibility: visible;
        opacity: 1;
        z-index: 10;
    }

    .menu-btn span::after,
    .tel-btn span::after {
        content: attr(data-txt-menu);
    }

    .open span::after {
        content: attr(data-txt-close);
    }

}