    body {font-family: Roboto,Helvetica,Arial,sans-serif;}    
.l-header {
    background: #ffffff;
    width: 100%;
}

.l-inner {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 92.1875%;
    max-width: 1180px;
}

.l-header__inner {
    display: flex;
    align-items: center;
    height: 100px;
    position: relative;
}

.c-logo {
    display: flex;
    font-weight: 700;
}

.l-header__logo {
    margin-left: 10px;
    margin-right: 30px;
    margin-bottom: 0;
}

.c-logo a {
    text-align: center;
}

.l-header__logo a {
    display: flex;
    align-items: center;
    line-height: 1;
    overflow: hidden;
    word-wrap: break-word;
}

.c-logo img {
    vertical-align: middle;
}

.l-header__desc {
    color: #000000;
    font-size: 16px;
    flex: 1;
}

.l-header__form {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.l-header__form.is-active{
	display:block;
}

.l-main {
    overflow: hidden;
    position: relative;
}

.l-header__form-input {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 17.5px;
    box-shadow: none;
    margin-right: 5px;
    padding: 0 15px;
    width: 210px;
    height: 35px;
}

button, html [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
}

.p-close-btn {
    background: transparent;
    border: 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    font-size: 14px;
    height: 50px;
    line-height: 50px;
    padding: 0;
}

.l-header__form-close {
    display: none;
}


.admin-bar .p-menu-btn {
    top: 0;
}

.l-header .p-menu-btn {
    color: #474747;
}

.p-global-nav>li>a, .p-menu-btn {
    color: #ffffff;
}

.p-menu-btn {
    background: transparent;
    border: 0;
    cursor: pointer;
    line-height: 60px;
    width: 60px;
    height: 60px;
}

.c-menu-btn {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
}

/* navbar */

.l-header__nav {
    background: #474747;
}

@media only screen and (min-width: 1200px) {
    .l-header__nav {
        display: block !important;
    }
}

.p-global-nav {
    display: flex;
    font-size: 14px;
    line-height: 60px;
    margin-bottom: 0;
    text-align: center;
}

/* .l-inner {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 92.1875%;
    max-width: 1180px;
} */

ol, ul {
    padding-left: 0;
}

.p-global-nav .menu-item-has-children {
    position: relative;
}

.p-global-nav>li {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    flex: 1;
    margin-left: -1px;
}

.p-global-nav li {
    list-style-type: none;
}

.p-global-nav>li>a, .p-menu-btn {
    color: #ffffff;
}

.p-global-nav>li>a {
    padding: 0 21px;
    position: relative;
}

.p-global-nav a {
    display: block;
}

.p-global-nav>li>a, .p-menu-btn {
    color: #ffffff;
}

.p-global-nav>li>.sub-menu {
    z-index: 5;
    top: 100%;
    left: 0;
}

.p-global-nav .sub-menu {
    display: block;
    line-height: 1.2;
    text-align: left;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 100%;
    transition: 0.2s;
    visibility: hidden;
    z-index: 2;
}

.p-global-nav li {
    list-style-type: none;
}

.p-global-nav {
    display: flex;
    font-size: 14px;
    line-height: 60px;
    margin-bottom: 0;
    text-align: center;
}

.p-global-nav li {
    list-style-type: none;
}

.p-global-nav a {
    display: block;
}

.p-global-nav [data-megamenu]+.sub-menu {
    display: none !important;
}

.p-global-nav>li {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    flex: 1;
    margin-left: -1px;
}

.p-global-nav>li.menu-item-has-children:hover>.sub-menu {
    left: 0;
}

.p-global-nav>li>a {
    padding: 0 21px;
    position: relative;
}

.p-global-nav>li>.sub-menu {
    top: 100%;
    left: 0;
}

.p-global-nav .menu-item-has-children {
    position: relative;
}

/* .p-global-nav .menu-item-has-children:hover>.sub-menu {
    opacity: 1;
    left: 100%;
    visibility: visible;
} */

.p-global-nav .sub-menu {
    display: block;
    line-height: 1.2;
    text-align: left;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 100%;
    transition: 0.2s;
    visibility: hidden;
    z-index: 2;
}

.p-global-nav .sub-menu a {
    padding: 17px 39px 17px 25px;
    width: 240px;
    transition: padding-left 0.2s ease;
}

.p-global-nav .sub-menu a:hover {
    padding: 17px 39px;
}

.p-global-nav .sub-menu .menu-item-has-children>a {
    position: relative;
}

.p-global-nav .sub-menu .menu-item-has-children>a::after {
    /* content: "\E910"; */
    /* font-family: "design_plus"; */
    position: absolute;
    top: 0;
    bottom: 0;
    right: 16px;
    margin: auto;
    width: 14px;
    height: 14px;
}

#js-menu-btn {
    /* background: url('http://localhost/promega_co_jp2/wp-content/uploads/menu-e1622122644983.jpg'); */
    width: 16px;
    height: 16px;
    margin: 5px 25px;
}

.p-global-nav .sub-menu a {
    background: #fdb913;
    color: #474747;
}

.p-global-nav .menu-item a:hover {
    color: #474747;
    background: #ffcb4d;
}

/* 検索ボタン */

.l-header__form {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.l-header__form {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.l-header__form.is-active {
    opacity: 1;
    visibility: visible;
}


.l-header__search {
    /* background: url('http://localhost/promega_co_jp2/wp-content/uploads/lense3.jpg'); */
    border: 0;
    cursor: pointer;
    height: 28px;
    width: 28px;
    transition: color 0.2s ease;
    background-repeat: no-repeat;
    /* margin-top: 20px; */
    border: 0;
    cursor: pointer;
    transition: color 0.2s ease;
    margin-left: 5px;
}

.l-header__search:hover {
    color: #999;
}

.l-header__form-close {
    display: none;
}

.l-header__nav-close {
    display: none;
}

.show {
    display: block !important;
}

.l-footer {
    position: relative;
}

.p-pagetop {
    background-color: #000;
    margin: auto;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 12px;
    border: 0;
    color: #fff;
    cursor: pointer;
    outline: none;
    z-index: 99;
    opacity: 0;
    width: 60px;
    height: 60px;
}

.p-pagetop::after {
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    font-size: 12px;
    width: 12px;
    height: 12px;
}

.close-icon-black,.close-icon-white{
    margin-bottom: 18px;
    margin-right: 12px;
    width: 12px;
    height: 12px;
}

.page-up{
    width: 12px;
    margin-top: 28px;
    margin-left: -5px;
}

#js-pagetop > a{
    padding: 25px;
}
#js-pagetop:hover{
    background:#fdb913 !important;
}
/* .p-pagetop:hover{
    background:#fdb913 !important;
} */

/* header menu link*/
.header_gs_link {
    color: #2980b9;
    font-size: 0.9em;
}

.fa-search {
	margin-top: 10px;
}

@media only screen and (max-width: 1199px) {
    .l-header {
        height: 60px;
        line-height: 60px;
        position: relative;
        z-index: 99;
    }
    .l-header__desc {
        display: none;
    }
    .c-menu-btn {
        display: block;
    }
    .l-header .l-header__inner {
        position: static;
    }
    .l-header__nav {
        background: #f4f4f4;
        display: none;
        position: absolute;
        top: 60px;
        z-index: 99;
        width: 100%;
    }
    .p-global-nav>li {
        border: 0;
        flex: 0 1 auto;
        margin: 0 0 12px 0;
        width: calc((50% - 6px));
    }
    .p-global-nav>li>a, .p-global-nav>li>a:hover {
        background: #474747;
        color: #ffffff;
    }
    .p-global-nav {
        flex-wrap: wrap;
        justify-content: space-between;
        height: auto;
        margin: 30px auto 18px;
        width: 92.1875%;
    }
    .l-header__nav {
        background: #474747;
        display: none;
        position: absolute;
        top: 100px;
        z-index: 99;
        width: 100%;
    }
    .l-header__nav-close.is-active {
        display: block;
    }
    .l-header__nav-close {
        width: 100%;
        color: #ffffff;
    }
    .l-header__search {
        padding: 0;
        position: absolute;
        top: 0;
        right: 60px;
        z-index: 1;
        width: 28px;
        height: 28px;
        margin-top:20px;
    }
    .l-header__form-input {
        top: 17px;
        bottom: 0;
        right: 120px;
        margin: auto;
        z-index: 1;
        /* *** */
        position: absolute;
        /* *** */
    }
    .p-social-nav__item--rss a::before {
        content: none !important;
    }
    .header_gs_link {
        display: none;
    }
    .l-header__nav-close { width: 100%; color : #ffffff; }
	.l-header__nav-close.is-active { display: block; }
}

@media only screen and (min-width: 1200px) { 
	.l-header__form-input { 
		position: unset;
	}	
}

@media screen and (min-width: 900px) {
    .p-global-nav .menu-item-has-children:hover>.sub-menu {
        opacity: 1;
        left: 100%;
        visibility: visible;
    }
}
@media screen and (max-width: 782px) {
    .admin-bar .p-menu-btn {
        top: 0;
    }
    .l-header__nav {
        background: #474747 !important;
    }
}

@media only screen and (max-width: 767px) {
    .l-header__form {
        background: #f4f4f4;
        padding: 0;
        position: absolute;
        top: 100px;
        z-index: 2;
        width: 100%;
        /* margin: 0 -20px; */
    }
    .l-header__desc {
        display: none;
    }
    .l-inner {
        /* padding: 0 20px; */
        width: 100% !important;
    }
    .l-header__form.is-active .l-header__form-close {
        display: block;
    }
    .l-header__form-close {
        /* margin: 0 -20px; */
        /* width: calc(100% + 40px); */
        width: 100%;
    }
    .l-header__form-input {
        opacity: 1;
        background: #fff;
        border-radius: 0;
        /* position: static; */
        width: calc(100% - 60px);
        height: 46px;
        margin: 20px;
        padding: 10px;
        /* *** */
        top: 17px;
		position: unset;
        /* *** */
    }
    .p-pagetop {
        width: 50px;
        height: 50px;
    }
    .h_sp_disp { display: block;} 
	.h_pc_disp { display: none; } 
}



@media only screen and (min-width: 768px) {
    .h_sp_disp { display: none; } 
	.h_pc_disp { display: block; } 
	.l-header__form { opacity: 1; visibility: visible; transition: opacity 0.2s ease; display:flex;}
}


